Skip to content

Commit 7521d49

Browse files
authored
feat: update provider model catalog (#143)
## Summary - Updates Anthropic catalog to Claude Sonnet 5 and Claude Opus 5. - Updates OpenAI catalog to GPT-5.6 Sol and GPT-5.6 Terra. - Keeps DeepSeek V4 Pro, promotes Sonnet 5 as default, and uses Terra as fallback. - Updates product self-knowledge so the agent-visible catalog matches the UI. ## Decisions - Preserve DeepSeek V4 Pro unchanged because it is already implemented and live-validated. - Keep provider-prefixed logical IDs as the single source of truth. - Reconcile active old model selections to Sonnet 5 while preserving historical run provenance. ## Test Plan - [x] Skill bundle - [x] Typecheck - [x] Lint - [x] Full production build - [x] Worker dry-runs - [x] Local model picker verification - [x] Local DeepSeek V4 Pro end-to-end UI run and routing-log verification - [ ] Production model picker verification - [ ] Production Anthropic/OpenAI keyed inference
1 parent f1a7bdf commit 7521d49

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

packages/types/src/models.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,56 +19,56 @@ function logicalModelId<const Value extends string>(value: Value): Value & Logic
1919
}
2020

2121
const RAW_CATALOG_MODEL_IDS = {
22-
claudeOpus: "anthropic/claude-opus-4-8",
23-
claudeSonnet: "anthropic/claude-sonnet-4-6",
22+
claudeOpus: "anthropic/claude-opus-5",
23+
claudeSonnet: "anthropic/claude-sonnet-5",
2424
deepseekPro: "deepseek/deepseek-v4-pro",
25-
gptMini: "openai/gpt-5.4-mini",
26-
gptThinking: "openai/gpt-5.4-thinking",
25+
gptSol: "openai/gpt-5.6-sol",
26+
gptTerra: "openai/gpt-5.6-terra",
2727
} as const;
2828

2929
const RAW_CATALOG_MODEL_ID_VALUES = [
3030
RAW_CATALOG_MODEL_IDS.claudeSonnet,
3131
RAW_CATALOG_MODEL_IDS.claudeOpus,
32-
RAW_CATALOG_MODEL_IDS.gptThinking,
33-
RAW_CATALOG_MODEL_IDS.gptMini,
32+
RAW_CATALOG_MODEL_IDS.gptSol,
33+
RAW_CATALOG_MODEL_IDS.gptTerra,
3434
RAW_CATALOG_MODEL_IDS.deepseekPro,
3535
] as const;
3636

3737
/**
3838
* The single source of truth for the agent model catalog shown in the picker.
3939
*
40-
* Curated to the live Models list: Claude Sonnet 4.6, Claude Opus 4.8,
41-
* GPT-5.4 Thinking, GPT-5.4 Mini, and the included DeepSeek V4 Pro model. The standalone
40+
* Curated to the live Models list: Claude Sonnet 5, Claude Opus 5,
41+
* GPT-5.6 Sol, GPT-5.6 Terra, and the included DeepSeek V4 Pro model. The standalone
4242
* OpenRouter-Auto row stays reachable as a provider-prefixed request id but is not
4343
* drawn in the picker. Google AI keys are tool-only and never select the chat model.
4444
*
4545
* Catalog order doubles as the resolution priority: the production default is first,
46-
* and Opus 4.8 is preferred over the GPT-5.4 entries when that default is disabled.
46+
* and Opus 5 is preferred over the GPT-5.6 entries when that default is disabled.
4747
*/
4848
export const AGENT_MODEL_CATALOG = [
4949
{
5050
id: logicalModelId(RAW_CATALOG_MODEL_IDS.claudeSonnet),
51-
label: "Claude Sonnet 4.6",
51+
label: "Claude Sonnet 5",
5252
provider: "anthropic",
5353
description: "Default code-building model for app and sandbox work.",
5454
},
5555
{
5656
id: logicalModelId(RAW_CATALOG_MODEL_IDS.claudeOpus),
57-
label: "Claude Opus 4.8",
57+
label: "Claude Opus 5",
5858
provider: "anthropic",
5959
description: "Highest-capability Anthropic model for complex planning and analysis.",
6060
},
6161
{
62-
id: logicalModelId(RAW_CATALOG_MODEL_IDS.gptThinking),
63-
label: "GPT-5.4 Thinking",
62+
id: logicalModelId(RAW_CATALOG_MODEL_IDS.gptSol),
63+
label: "GPT-5.6 Sol",
6464
provider: "openai",
65-
description: "Reasoning-heavy model for planning, research, and analysis.",
65+
description: "Highest-capability OpenAI model for agentic work and complex reasoning.",
6666
},
6767
{
68-
id: logicalModelId(RAW_CATALOG_MODEL_IDS.gptMini),
69-
label: "GPT-5.4 Mini",
68+
id: logicalModelId(RAW_CATALOG_MODEL_IDS.gptTerra),
69+
label: "GPT-5.6 Terra",
7070
provider: "openai",
71-
description: "Fast fallback model for lower-cost utility runs.",
71+
description: "Balanced OpenAI fallback for fast, efficient utility runs.",
7272
},
7373
{
7474
id: logicalModelId(RAW_CATALOG_MODEL_IDS.deepseekPro),
@@ -84,7 +84,7 @@ export const PRODUCTION_DEFAULT_MODEL_ID = logicalModelId(
8484
RAW_CATALOG_MODEL_IDS.claudeSonnet,
8585
) satisfies CatalogModelId;
8686
export const FALLBACK_MODEL_ID = logicalModelId(
87-
RAW_CATALOG_MODEL_IDS.gptMini,
87+
RAW_CATALOG_MODEL_IDS.gptTerra,
8888
) satisfies CatalogModelId;
8989

9090
/**

skills/product-self-knowledge/SKILL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ The visible model catalog is:
4343
| Model | Provider | Notes |
4444
|---|---|---|
4545
| Auto | Cheatcode routing | Resolves to the actual model selected for the run |
46-
| Claude Sonnet 4.6 | Anthropic | Default app and sandbox model |
47-
| Claude Opus 4.8 | Anthropic | Highest-capability Anthropic option |
48-
| GPT-5.4 Thinking | OpenAI | Reasoning-focused option |
49-
| GPT-5.4 Mini | OpenAI | Fast utility option |
46+
| Claude Sonnet 5 | Anthropic | Default app and sandbox model |
47+
| Claude Opus 5 | Anthropic | Highest-capability Anthropic option |
48+
| GPT-5.6 Sol | OpenAI | Highest-capability OpenAI option |
49+
| GPT-5.6 Terra | OpenAI | Balanced fast utility option and fallback |
5050
| DeepSeek V4 Pro | DeepSeek | Included platform route |
5151

5252
Cheatcode accepts provider-prefixed OpenRouter model IDs even though OpenRouter is not shown as a separate catalog row. Google AI keys are tool-only credentials for image/video generation and browser automation; agent runs reject `google/<model-id>` selections. BYOK keys are configured in Models and decrypted only for the active request or tool invocation. Supported provider key families are Anthropic, OpenAI, Google AI, OpenRouter, DeepSeek, Exa, and Firecrawl. BYOK key counts are not limited by subscription-plan slots.

0 commit comments

Comments
 (0)