feat(shared): add Claude Opus 5 and GPT-5.6 Terra/Luna across model catalogs
Summary
- Add Claude Opus 5 (
claude-opus-5) to every catalog that lists versioned Claude models: the Superset chat catalog, the claude CLI picker, the cursor-agent and opencode pickers, the Slack integration picker, and the desktop dev-chat mirror. - Add the GPT-5.6 Codex models (
sol/terra/luna) to the Superset chat catalog and the cursor-agent/opencode pickers (the codex CLI picker already had them). - Remove opencode's stale
openai/gpt-5entry (no longer listed byopencode models— it was a dead picker option) and annotategpt-5.4entries with their Codex retirement date (2026-08-31).
Why / Context
GPT-5.4 / GPT-5.4-mini retire from Codex on 2026-08-31 and the GPT-5.6 family replaces them; Claude Opus 5 is Anthropic's latest Opus. The catalogs in packages/shared/src/agent-models.ts are hand-maintained and expected to drift with CLI releases — this PR brings them current.
How It Works
All pickers (desktop chat panes, mobile model picker, workspace-create dropdowns, tRPC chat.getModels) derive from the canonical catalogs in packages/shared/src/agent-models.ts, so the changes are data-only plus mirrored constants in dev-chat (dev mode) and the Slack integration.
Manual QA / Verification
Each new or changed id was verified against the live CLI on 2026-08-05:
-
claude --model claude-opus-5 -p→ real API round-trip returned "ok" -
codex exec -m gpt-5.6-sol|terra|luna→ each returned "ok";gpt-5.4still accepted (kept until retirement) -
cursor-agent --list-models→ all existing entries still valid; new ids (claude-opus-5-high,gpt-5.6-terra-medium,gpt-5.6-luna-medium) taken verbatim from the live list -
opencode models→ confirmsopenai/gpt-5.6-sol/terra/lunaand confirms oldopenai/gpt-5is gone
Not verified (documented, unchanged):
- copilot — GitHub API rate-limited during testing; catalog left untouched
- gemini / vibe — CLIs not authed / no enumeration command; catalogs left untouched (gemini's 2.5-only list is likely stale — Gemini 3.x exists per the API listing — but ids weren't verifiable)
- opencode
anthropic/claude-opus-5— anthropic provider not authed locally so it doesn't appear inopencode models; id follows the same models.dev convention as the existing anthropic entries and matches the API id the claude CLI accepted
Testing
bun run typecheck(37/37 tasks)bun run lint(exit 0)bun testinpackages/shared(725 pass) — new assertions pin Opus 5 + GPT-5.6 entries in the chat catalog and the claude/cursor-agent/opencode pickers
Known Limitations
- Slack picker default stays Sonnet 4.6; chat/mobile default becomes Opus 5 (first catalog entry).
gpt-5.4entries are kept until the 2026-08-31 Codex retirement; a follow-up should remove them after that date.
Summary by cubic
Adds Claude Opus 5 and GPT-5.6 Sol/Terra/Luna to the shared model catalogs and pickers to match current CLI offerings. Also updates the mobile default to Opus 5 and adds Opus 5 to the Slack picker.
-
New Features
- Add
claude-opus-5to the Superset chat catalog,claudeCLI picker,cursor-agent/opencodepickers, Slack picker, and desktop dev-chat. - Add
gpt-5.6-sol,gpt-5.6-terra,gpt-5.6-lunato the Superset chat catalog andcursor-agent/opencodepickers. - Set the mobile new-chat default model to
anthropic/claude-opus-5.
- Add
-
Refactors
- Remove stale
openai/gpt-5from theopencodepicker. - Annotate
gpt-5.4entries with the Codex retirement date (2026-08-31).
- Remove stale
Summary by CodeRabbit
- New Features
- Added Claude Opus 5 to available chat and integration model options.
- Added OpenAI GPT-5.6 Sol, Terra, and Luna models across supported experiences.
- Updated Cursor Agent and OpenCode model selections with the latest options.
- New chats now default to Claude Opus 5.
- Changes
- Marked GPT-5.5 as retired where applicable.