Skip to content

OpenCode 2: add Claude models the host catalogue is missing - #688

Merged
ualtinok merged 2 commits into
mainfrom
feat/oc2-missing-models
Nov 9, 2026
Merged

ualtinok merged 2 commits into
mainfrom
feat/oc2-missing-models

Conversation

@antauth-alfonso

@antauth-alfonso antauth-alfonso Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

OpenCode 2: add Claude models the host catalogue is missing. Worker delivery rebased onto main; see the commit messages.


Summary by cubic

On OpenCode 2, Claude models the plugin supports but OpenCode's own catalogue doesn't yet list (e.g. Claude Fable 5.2) now appear in the model picker, matching OpenCode 1.

Adds a provider transform that inserts missing catalogue rows with limits, prices, and adaptive-effort variants, while preserving exact host rows and leaving other providers untouched. Request routing and credentials are unchanged.

Written for commit bbad1c3. Summary will update on new commits.

View guided diff Turn on auto-fix

Install a synchronous Anthropic provider transform before effort variants. Synthesize only capability rows with catalogue facts, retaining exact host IDs and their rows unchanged. Match OC2's models.dev conversion for chat metadata, modalities, per-million prices, five-minute cache writes and release timestamps.

Per scope clarification, catalogue metadata is ungated like existing model variants: stock request credentials remain owned by OpenCode's transport. Include limited Mythos rows as OC1 does; OC1 adds no limited flag to its native model rows. Request-hook ownership is unchanged.

Verified failing-first catalogue tests, 117 filtered OC2/setup/snapshot tests, and the fast gate including Core/OpenCode/Pi typechecks.
@ualtinok
ualtinok merged commit bbad1c3 into main Nov 9, 2026
16 checks passed
@ualtinok
ualtinok deleted the feat/oc2-missing-models branch November 9, 2026 20:29
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.

1 participant