Skip to content

Commit fcc2cd7

Browse files
committed
docs: record Claude plan-gated probe
1 parent 1e85371 commit fcc2cd7

2 files changed

Lines changed: 17 additions & 11 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This package is based on **[FanFan4204/opencode-commandcode-provider](https://gi
2525
- Vision vs text-only comes from the Command Code CLI catalog (`inputModalities` on every SKU). [models.dev](https://models.dev) only adds extra inputs (video/audio/pdf) when it matches.
2626
- Reasoning effort **variants** on models that declare `reasoningEfforts`.
2727
- Release date, family, input limits, model status, vendor context limits, and matched context-price tiers flow through the bundled catalog. V2 gets native release, family, input, status, and tier fields; V1 keeps its supported fields and base prices, with `context_over_200k` where representable.
28-
- The provider's `supported_endpoints` metadata chooses each model's API route. Responses-capable models use `@ai-sdk/openai` on V1 and `aisdk:@ai-sdk/openai` on V2; Claude falls back to Anthropic Messages when endpoint metadata is absent. The V1 and V2 Responses mappings passed official Docker checks against a local mock stream; an entitled Claude live account is not available for verification. If a model fails on an account entitled to use it, please [open an issue](https://github.com/BrainerVirus/opencode-commandcode/issues) with the model ID and OpenCode version, or submit a PR with a reproducible fix.
28+
- The provider's `supported_endpoints` metadata chooses each model's API route. Responses-capable models use `@ai-sdk/openai` on V1 and `aisdk:@ai-sdk/openai` on V2; Claude falls back to Anthropic Messages when endpoint metadata is absent. The V1 and V2 Responses mappings passed official Docker checks against a local mock stream, and a GOAT-key DeepSeek control request succeeded in OpenCode V2. Claude Sonnet 4.6 returned `MODEL_NOT_IN_PLAN` with the message “available in Pro and above plans or extra on-demand usage”; this confirms the account restriction, not successful Anthropic routing. Entitled Claude access has not been live-verified. If a model fails on an account entitled to use it, please [open an issue](https://github.com/BrainerVirus/opencode-commandcode/issues) with the model ID and OpenCode version, or submit a PR with a reproducible fix.
2929
- Quiet OpenCode startup (diagnostics go to `startup.json`, not stdout).
3030

3131
## How it works

‎docs/specs/2026-09-28-v2-parity.md‎

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,17 @@ package route; its newer native `@opencode/ai` package is not present in that
4444
tested image. If an older catalog lacks route metadata, Claude retains the
4545
Messages fallback and other models retain Chat Completions.
4646

47-
The isolated GOAT probes for Claude Sonnet and Haiku returned
48-
`MODEL_NOT_IN_PLAN`. They did not establish whether Anthropic requests succeed
49-
for an account entitled to those models. No higher-plan credential was used.
50-
Mapping tests cover all current Claude catalog IDs on V1 and V2. If a user with
51-
access sees an endpoint or request-shape problem, report the model ID and
52-
OpenCode version in an [issue](https://github.com/BrainerVirus/opencode-commandcode/issues)
53-
or submit a PR with a reproducible test.
47+
The isolated GOAT-key probes for Claude Sonnet and Haiku returned
48+
`MODEL_NOT_IN_PLAN`. Claude Sonnet 4.6 reported that it is available on Pro and
49+
above plans or with extra on-demand usage. The V2 DeepSeek control request
50+
returned `OK`, so the Claude result is an account-entitlement denial rather
51+
than a general credential failure. It does not establish whether Anthropic
52+
requests succeed for an account entitled to Claude. No higher-plan credential
53+
was used. Mapping tests cover all current Claude catalog IDs on V1 and V2. If a
54+
user with access sees an endpoint or request-shape problem, report the model ID
55+
and OpenCode version in an
56+
[issue](https://github.com/BrainerVirus/opencode-commandcode/issues) or submit
57+
a PR with a reproducible test.
5458

5559
The route list is refreshed by the six-hour catalog job, including when the
5660
Command Code CLI version has not changed. A missing field preserves the prior
@@ -120,9 +124,11 @@ links here for current V2 auth and metadata behavior.
120124
- `bun run build` passed and produced `dist/plugin.js` (0.73 MB).
121125
- `bun run verify:release-candidate` passed: the 0.9.1 package dry-run
122126
contained 50 files and did not publish.
123-
- Official OpenCode Docker images `ghcr.io/anomalyco/opencode:1.18.30` and
124-
`ghcr.io/anomalyco/opencode:2.0.18` each returned `OK` for the GOAT-eligible
125-
DeepSeek V4.1 Flash smoke prompt using isolated temporary homes/configs.
127+
- With isolated local-checkout pins, official OpenCode Docker V1.18.30 listed
128+
82 Command Code models, and V2.0.18's `/api/model` listed the same 82 and
129+
`/api/integration` exposed the `key` and `env` methods. Both images returned
130+
`OK` for a GOAT-eligible DeepSeek V4.1 Flash smoke prompt; the current V2
131+
local pin also returned `OK` for DeepSeek V4 Flash.
126132
- Responses routing passed both official Docker images against a temporary
127133
local Responses stream: V1 sent `POST /provider/v1/responses` via
128134
`@ai-sdk/openai`; V2 sent the same route via `aisdk:@ai-sdk/openai`.

0 commit comments

Comments
 (0)