Skip to content

fix(acp): mirror Claude Opus 5 models from software-agent-sdk - #320

Open
nicolasdmolina wants to merge 2 commits into
OpenHands:mainfrom
nicolasdmolina:fix/claude-opus-5-acp-model
Open

fix(acp): mirror Claude Opus 5 models from software-agent-sdk#320
nicolasdmolina wants to merge 2 commits into
OpenHands:mainfrom
nicolasdmolina:fix/claude-opus-5-acp-model

Conversation

@nicolasdmolina

@nicolasdmolina nicolasdmolina commented Aug 1, 2026

Copy link
Copy Markdown

Summary

Mirrors the final Claude Code ACP model registry from OpenHands/software-agent-sdk#4326, which is merged.

  • label the version-neutral aliases as:
    • opus[1m]Claude Opus (1M)
    • sonnetClaude Sonnet
    • haikuClaude Haiku
  • add the explicit claude-opus-5 pin → Claude Opus 5
  • keep default_model: opus[1m]

The short aliases are provider- and account-dependent, so version-neutral labels avoid going stale; the explicit claude-opus-5 entry remains available for users who want to pin Opus 5.

Agent Canvas reads this registry via @openhands/typescript-client, so this mirror keeps the model picker aligned with the merged SDK behavior.

Test plan

  • scripts/check-acp-drift.py matches merged SDK #4326 (merge commit abeb884c)
  • npm ci (includes the TypeScript build)
  • npx prettier --check src/models/acp-providers.json
  • npm test -- --runInBand src/__tests__/acp-providers.test.ts
  • After publish + Agent Canvas bump: the model dropdown shows the version-neutral aliases and explicit Claude Opus 5 pin

Relabel opus[1m] to Claude Opus 5 (1M), add claude-opus-5 pin, and refresh
the Sonnet alias label to Sonnet 5 so Agent Canvas matches the SDK registry.
@nicolasdmolina

Copy link
Copy Markdown
Author

@neubig The mirror now matches the final labels from merged OpenHands/software-agent-sdk#4326, and the ACP drift check plus focused client validation pass locally. Could you review and approve the fork workflow run when convenient?

@nicolasdmolina

Copy link
Copy Markdown
Author

Friendly nudge — this is ready for review when you have a moment.

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

Labels

type: fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant