Skip to content

Update the Claude Code and Codex CLIs, add Claude Fable 5.2 as the canonical fable model, and add GPT-6.1 Terra. #3486

Closed

Description

@propr-dev

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 npm latest tag. The repo has always followed latest. The npm stable tag 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, root package.json / package-lock.json, THIRD_PARTY_LICENSES.md, docs/docs/features/agents-and-models.md, docs/docs/features/pr-commands.md, the docs/operations/* pages that mention CLI versions, and CHANGELOG.md.
  • Bumping the root package-lock.json may 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-2 with shortAlias fable52, label llm-claude-fable52 and minAgentVersion: '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 is anthropic/claude-fable-5.2.
  • Point the canonical fable and claude-fable aliases at Fable 5.2 in packages/core/src/config/modelAliases.ts. Keep explicit fable51 / claude-fable-5-1 aliases 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.ts and add it to the native-1M set in reviewContextBudget.ts.
  • Change fable51 to fable52 in the recommended plan-generation and PR-review lists (modelSelectionHelpers.ts) and in the CLI help example in packages/cli/src/commands/agentCommands.ts.

GPT-6.1 Terra (Codex)

  • Add gpt-6.1-terra with minAgentVersion: '0.165.0'. Codex gives it a 500K default context; on OpenRouter it is openai/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-5 after 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

  1. propr-dev commented on Nov 12, 2026

    @propr-dev
    ContributorAuthor

    🤖 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:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09
    • Base Branch: main
    • Worktree: issue-3486-20261112-1235-claude-opus-5-5-l09

    🔍 Track Task Execution

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions