Skip to content

Refresh model catalogs and effort ladders (Sol, ultra, ultracode) #738

Closed
5 of 5 issues completed
Closed

Description

@currentbits

Problem

Solenta's composer model picker and effort pill are driven by a hardcoded snapshot in electron/providers.js. The snapshot is already behind live CLIs and vendor docs. Users cannot pick GPT-5.6 Sol on Codex, cannot pick Codex ultra or Claude ultracode, and some advertised effort levels are rejected by the selected model.

Custom model ids still work (Custom... in src/modelPicker.ts), but they are a fallback. Effort is worse: ReasoningEffort is a closed union (low | medium | high | xhigh | max). setReasoningEffort and agent-profile validation reject anything else, including ultra. Unknown Claude --effort values are a silent warning plus default, so a typo here costs the user the setting with no error.

Verified sources (2026-08-28)

Harness Installed CLI Catalog source used today
Claude Code 2.1.219 Hardcoded
Codex 0.142.4 (repo snapshot comment cites 0.144.1) Hardcoded from ~/.codex/models_cache.json visibility=list
Grok 1.0.5 Hardcoded from grok models / ~/.grok/models_cache.json
OpenCode 1.17.12 Hardcoded from opencode models
Kimi Code 0.39.0 Hardcoded from ~/.kimi-code/config.toml
Cursor 2026.08.25-3e8eec8 Hardcoded from cursor-agent --list-models

Gap matrix

Codex (highest user-visible miss)

Catalog today: gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4-mini. No gpt-5.6-sol. Recommended is still GPT-5.5.

OpenAI (2026-07-09, updated 2026-08-21): GPT-5.6 family is Sol (flagship, gpt-5.6 alias), Terra (balanced), Luna (fast). Codex effort ladder includes ultra (parallel subagents) above max. Official API reasoning.effort for Sol: none, low, medium (default), high, xhigh, max. Codex coding clients treat ultra as a first-class model_reasoning_effort value (Codex SDK 0.19.0: Sol and Terra support ultra; Luna stops at max).

This machine's Codex 0.142.4 cache only lists gpt-5.5 and gpt-5.4-mini. The in-repo snapshot is from 0.144.1 and still omitted Sol (visibility=list only). Cursor already exposes the Sol family as model ids (gpt-5.6-sol-high, ...-max, etc.).

Codex efforts today: low, medium, high, xhigh, max. No ultra. Agent profiles explicitly reject reasoningEffort: "ultra".

Per-model: this machine's gpt-5.5 cache supports only low/medium/high/xhigh (no max, no ultra). Advertising max/ultra on every Codex model will send values some models reject.

Claude Code

Models today: claude-fable-5, claude-opus-5, claude-sonnet-5, claude-haiku-4-5. Matches the current family; do not add Mythos without a live /model listing.

Efforts today: low, medium, high, xhigh, max. No ultracode.

ultracode is a Claude Code session setting, not an API effort. Docs: it sends xhigh plus automatic Dynamic Workflows. CLI form is claude --effort ultracode (needs 2.1.203+). claude --help on 2.1.219 still only lists low/medium/high/xhigh/max. Live spawn on this machine died on org auth before the flag could be confirmed. Implementation must verify against a logged-in CLI: unknown values are silently ignored.

Haiku 4.5 is not effort-capable. Provider-wide efforts currently offer the ladder on Haiku anyway.

Grok

Models match live: grok-4.6 (default), grok-4.5.

Efforts today (provider-wide): low, medium, high, xhigh. Live cache: grok-4.6 has those four; grok-4.5 has only low/medium/high. No max, no ultra. Default is high.

OpenCode

Catalog today (8 Zen models): big-pickle, deepseek-v4-flash-free, laguna-s-2.1-free, ling-3.0-tiny-free, longcat-2.0-free, mimo-v2.5-free, nemotron-3-ultra-free, north-mini-code-free (recommended).

Live opencode models (1.17.12): big-pickle, deepseek-v4-flash-free, hy3-free, laguna-s-2.1-free, mimo-v2.5-free, nemotron-3-ultra-free, nemotron-3.5-lightning-free.

opencode run --help lists --variant (per-model reasoning effort). Verbose catalog has variants: deepseek low/medium/high/max, hy3 low/medium/high, big-pickle empty. Solenta leaves efforts: [] and never emits --variant.

Cursor

204 models, in sync with live cursor-agent --list-models (2026.08.25). Effort is baked into the model id (gpt-5.6-sol-max, gpt-5.6-sol-high-fast, ...). No separate effort pill (correct). No gpt-5.6-sol-ultra id. Leave Cursor alone unless a later live listing adds ids.

Kimi

Models match ~/.kimi-code/config.toml. Efforts low, high, max via config.toml (no CLI flag). k3 / k3-256k advertise support_efforts; kimi-for-coding aliases do not. Existing race: #181.

Recommended sequence

Do not advertise a level a model rejects. That is the existing contract (maybeEmitEffort, setReasoningEffort).

  1. Per-model effort lists (schema). Additive modelInfo[].efforts. Picker and setReasoningEffort use the selected model's list when present, else the provider list. Unblocks every later item.
  2. Codex: add gpt-5.6-sol (recommended) + ultra on Sol/Terra only. Extend ReasoningEffort with ultra. Wire -c model_reasoning_effort=ultra. Copy must say ultra is multi-agent, not just more thinking.
  3. Claude: add ultracode after a live CLI accept/reject check. Same effort pill, distinct label. Emit --effort ultracode. Do not persist it as if it were an API enum if the CLI treats it as session-only; match live behaviour.
  4. OpenCode: replace the Zen snapshot and emit --variant from per-model variants. Drop gone ids (tests currently pin opencode/north-mini-code-free).
  5. Catalog freshness. Keep snapshots as the offline default, but warn (doctor or providers.list) when a live CLI cache diverges. Optional later: merge live ids into the picker.

Grok 4.5 xhigh and Haiku effort fall out of (1) with no extra product work.

Out of scope

Code map

  • Catalog + argv: electron/providers.js
  • Type + IPC: src/shared/ipc.ts (ReasoningEffort, ModelInfo, ProviderInfo)
  • Store / profiles: electron/store.js (REASONING_EFFORTS)
  • Validation: electron/services.js setReasoningEffort
  • Picker labels: src/modelPicker.ts EFFORT_LABELS
  • Tests: electron/test/providers.test.js, electron/test/reasoning-effort.test.js, electron/test/agent-profiles.test.js (currently rejects "ultra")

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. added
    enhancement
    plan:todo
    on Aug 28, 2026
  2. currentbits commented on Aug 28, 2026

    @currentbits
    OwnerAuthor

    Child issues, in recommended ship order:

    1. Per-model effort lists so advertised levels match the selected model #739 Per-model effort lists (foundational)
    2. Codex: add gpt-5.6-sol and ultra reasoning effort #740 Codex: gpt-5.6-sol + ultra
    3. Claude: offer ultracode in the effort pill #741 Claude: ultracode
    4. OpenCode: refresh Zen catalog and send --variant #742 OpenCode: Zen catalog + --variant
    5. Warn when hardcoded model catalogs diverge from the installed CLI #743 Catalog freshness warning

    Cursor is in sync (204 models, effort baked into ids). Kimi models match; effort race remains #181.

  3. currentbits commented on Aug 28, 2026

    @currentbits
    OwnerAuthor

    Planboard tree (this thread, 2026-08-28):

    1. Per-model effort lists so advertised levels match the selected model #739 Per-model effort lists — do this first. Provider-wide ladders currently advertise levels the selected model rejects (grok-4.5 xhigh, Haiku any effort, Codex max on this machine's gpt-5.5, OpenCode max on everything but deepseek).
    2. Codex: add gpt-5.6-sol and ultra reasoning effort #740 Codex: add gpt-5.6-sol (recommended) and ultra on Sol/Terra only. Needs Per-model effort lists so advertised levels match the selected model #739 so Luna/5.5 do not grow an ultra segment.
    3. Claude: offer ultracode in the effort pill #741 Claude: offer ultracode after a live --effort ultracode accept on a logged-in 2.1.203+ CLI. Needs Per-model effort lists so advertised levels match the selected model #739 if Haiku stays in the same provider.
    4. OpenCode: refresh Zen catalog and emit --variant from per-model variants #744 OpenCode: replace the stale Zen snapshot (drop ling/longcat/north-mini; add hy3 + nemotron-3.5-lightning) and emit --variant from per-model variants. Needs Per-model effort lists so advertised levels match the selected model #739. Tests currently pin the dead opencode/north-mini-code-free recommended id.
    5. Warn when a live provider CLI catalog diverges from the snapshot #745 Doctor/providers.list warning when a local CLI cache diverges from the snapshot. After the snapshot updates. Do not auto-merge live ids.

    Contract reminder for whoever lands the catalogs: setProvider is not an allowlist. electron/test/providers-set.test.js ("accepts a custom model for every provider") and src/modelPicker.ts CUSTOM_MODEL_ID already accept any non-empty id up to 100 chars. The JSDoc on setProvider / normalizeModelForProvider / CoderApi.threads.setProvider previously claimed membership was required when models was non-empty; that comment is being corrected so a catalog PR does not re-close the list. Effort is the closed door (ReasoningEffort union + setReasoningEffort reject).

  4. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Aug 28, 2026
  5. currentbits commented on Aug 28, 2026

    @currentbits
    OwnerAuthor

    Children #739 #740 #741 #744 #745 shipped: per-model efforts, Codex Sol+ultra, Claude ultracode, OpenCode Zen + --variant, catalogNote on providers.list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions