@brainervirus/opencode-commandcode 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.10.3] - 2026-09-29
11
+
10
12
  ## [0.10.2] - 2026-09-29
11
13
 
12
14
  ## [0.10.1] - 2026-09-29
package/README.md CHANGED
@@ -25,7 +25,7 @@ This package is based on **[FanFan4204/opencode-commandcode-provider](https://gi
25
25
  - 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.
26
26
  - Reasoning effort **variants** on models that declare `reasoningEfforts`.
27
27
  - 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. When a model advertises Messages, it uses Anthropic Messages; otherwise Chat Completions is preferred when available, and Responses is used when it is the only advertised route. This avoids malformed annotation events seen on the provider's Responses stream while preserving Responses-only models. V1 maps Responses to `@ai-sdk/openai`; V2 maps it to `aisdk:@ai-sdk/openai`. Claude Sonnet 4.6 returned `MODEL_NOT_IN_PLAN` with the message “available in Pro and above plans or extra on-demand usage”; 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.
28
+ - The provider's `supported_endpoints` metadata chooses each model's API route. Messages is preferred when advertised; otherwise Chat Completions is preferred, and Responses is used only when it is the sole advertised route. This avoids the malformed Responses function-call start event observed on DeepSeek V4.1 Flash `#max` in OpenCode V2.0.18: `response.output_item.added` contained a `function_call` item without its required `arguments` string. That exact tool-call flow now passes through Chat Completions on V1 and V2. Responses mappings remain available for response-only models, but the current catalog has none. Claude Sonnet 4.6 returned `MODEL_NOT_IN_PLAN` with the message “available in Pro and above plans or extra on-demand usage”; 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.
29
29
  - Quiet OpenCode startup (diagnostics go to `startup.json`, not stdout).
30
30
 
31
31
  ## How it works
package/_version.txt CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.69.0
package/manifest.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-09-29T00:01:39.017Z",
4
- "pluginVersion": "0.10.2",
5
- "commandCodeVersion": "1.68.0",
6
- "commandCodeTarball": "https://registry.npmjs.org/command-code/-/command-code-1.68.0.tgz",
3
+ "generatedAt": "2026-09-29T06:01:06.703Z",
4
+ "pluginVersion": "0.10.3",
5
+ "commandCodeVersion": "1.69.0",
6
+ "commandCodeTarball": "https://registry.npmjs.org/command-code/-/command-code-1.69.0.tgz",
7
7
  "modelCount": 84,
8
8
  "reasoningModelCount": 71,
9
9
  "extraction": {
package/models.json CHANGED
@@ -1854,9 +1854,25 @@
1854
1854
  ],
1855
1855
  "tool_call": true,
1856
1856
  "cost": {
1857
- "input": 1.2,
1858
- "output": 3.6,
1859
- "cache_read": 0.3
1857
+ "input": 2,
1858
+ "output": 6,
1859
+ "cache_read": 0.5,
1860
+ "tiers": [
1861
+ {
1862
+ "input": 4,
1863
+ "output": 12,
1864
+ "cache_read": 1,
1865
+ "tier": {
1866
+ "type": "context",
1867
+ "size": 200000
1868
+ }
1869
+ }
1870
+ ],
1871
+ "context_over_200k": {
1872
+ "input": 4,
1873
+ "output": 12,
1874
+ "cache_read": 1
1875
+ }
1860
1876
  },
1861
1877
  "limit": {
1862
1878
  "context": 500000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/opencode-commandcode",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Command Code API provider for opencode — use Claude, GPT, Gemini, DeepSeek, Qwen, Kimi, GLM, MiniMax, and Step models via Command Code",
5
5
  "keywords": [
6
6
  "ai",