Repository navigation
Description
Update the Claude Code and Codex CLIs, add Claude Fable 5.2 as the canonical fable model, and add GPT-6.1 Terra.
This comes from the "Update coding agents and models" agent report of 2026-11-12. Before changing anything, check each version and model ID below against the upstream source: npm registry, Anthropic models/deprecations docs, and the Codex bundled catalog codex-rs/models-manager/models.json.
CLI version bumps
@anthropic-ai/claude-code: 2.1.316 → 2.1.322, the npmlatesttag. The repo has always followedlatest. The npmstabletag points at the older 2.1.311, so don't use it. Fable 5.2 needs Claude Code 2.1.321 or later.@openai/codex: 0.166.0 → 0.167.2.- Earlier bumps (5727b2a, 28b35eb, 626c366) touched this set of files together. Use them as the touch list:
Dockerfile.agent,scripts/build-images.sh,scripts/integration-test-images.sh,packages/shared/src/modelDefinitions.ts(AGENT_DEFAULTS),packages/core/src/agents/version/types.ts, rootpackage.json/package-lock.json,THIRD_PARTY_LICENSES.md,docs/docs/features/agents-and-models.md,docs/docs/features/pr-commands.md, thedocs/operations/*pages that mention CLI versions, andCHANGELOG.md. - Bumping the root
package-lock.jsonmay require regenerating the routing/qualification contract checksums. Run the full checks so Validate Changes passes. - Re-run the runtime tool-policy test that pins the CLI version.
Claude Fable 5.2
- Add
claude-fable-5-2with shortAliasfable52, labelllm-claude-fable52andminAgentVersion: '2.1.321'. It has a 1M context window and costs $8 / $40 per million tokens, with cache reads at 2.5% of input. On OpenRouter it isanthropic/claude-fable-5.2. - Point the canonical
fableandclaude-fablealiases at Fable 5.2 inpackages/core/src/config/modelAliases.ts. Keep explicitfable51/claude-fable-5-1aliases working. - Mark Fable 5.1 as legacy, not removed, since it is still active until at least 2027-09-01. Move it down with the older entries.
- Add Fable 5.2 pricing in
pricingService.tsand add it to the native-1M set inreviewContextBudget.ts. - Change
fable51tofable52in the recommended plan-generation and PR-review lists (modelSelectionHelpers.ts) and in the CLI help example inpackages/cli/src/commands/agentCommands.ts.
GPT-6.1 Terra (Codex)
- Add
gpt-6.1-terrawithminAgentVersion: '0.165.0'. Codex gives it a 500K default context; on OpenRouter it isopenai/gpt-6.1-terra(1.05M context, $1 / $5). Follow the label and shortAlias conventions of the existing GPT-6.1 Sol entry. - It doesn't replace any model, so no canonical label targets change.
Claude Sonnet 4.5
- Anthropic retires it on 2026-11-30. Mark it deprecated/legacy and, if the catalog supports it, route saved Sonnet 4.5 selections to
claude-sonnet-5-5after retirement. Don't remove the entry before the retirement date. Opus 4.5 and Haiku 4.5 are still active, so leave them as they are.
Tests
Update test/modelDefinitions.test.ts, test/modelAliases.test.ts, test/pricingService.test.ts, test/configManagerAgents.test.ts, packages/core/test/nativeLogPolicy.test.ts, packages/core/test/versionService.test.ts and the runtime tool-policy test.
Note: test/modelAliases.test.ts has an after() hook that calls process.exit(0), which can hide failures. Check that it really passes, for example by running a copy without the exit.
Out of scope: Antigravity, Mistral Vibe, OpenCode, Agent Tank. Those are handled separately.
Submitted by @integry through ProPR.
Activity
propr-dev commentedon Nov 12, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09mainissue-3486-20261112-1235-claude-opus-5-5-l09🔍 Track Task Execution