Skip to content

feat: add Claude Opus 4.8 model mapping#99

Open
hongyilyu wants to merge 1 commit into
tickernelz:masterfrom
hongyilyu:feat/add-claude-opus-4-8
Open

feat: add Claude Opus 4.8 model mapping#99
hongyilyu wants to merge 1 commit into
tickernelz:masterfrom
hongyilyu:feat/add-claude-opus-4-8

Conversation

@hongyilyu
Copy link
Copy Markdown

Summary

  • Add claude-opus-4-8 and claude-opus-4-8-thinking to MODEL_MAPPING in src/constants.ts, mirroring the existing 4-7 entries.
  • Register the base claude-opus-4-8 model (1M context, 64K output) in the provider.models config hook in src/plugin.ts.
  • Document claude-opus-4-8 and claude-opus-4-8-thinking (with thinking variants) in README.md.

Per the Kiro changelog (May 29, 2026), Opus 4.8 ships with a 1M context window, 128K max output, and a 2.2x credit multiplier. The plugin's mapping previously stopped at 4-7, so requests for 4-8 were rejected by resolveKiroModel before reaching the backend.

The issue author confirmed the claude-opus-4-8 -> claude-opus-4.8 mapping works end to end against v1.11.0.

Closes #98

Test plan

  • bun test — 15/15 pass
  • bun run typecheck — clean
  • Manual verification: select claude-opus-4-8 in OpenCode and confirm requests succeed

Adds support for claude-opus-4-8 and claude-opus-4-8-thinking, mirroring
the existing 4-7 entries in MODEL_MAPPING and the provider model list.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Claude Opus 4.8 support (claude-opus-4-8)

1 participant