@khalilgharbaoui/opencode-claude-code-plugin 0.48.0 → 0.49.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khalilgharbaoui/opencode-claude-code-plugin",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "Claude Code CLI provider plugin for opencode",
5
5
  "homepage": "https://opencode-claude-code-plugin.dev/",
6
6
  "funding": {
@@ -854,7 +854,7 @@ No manual skill copy/update is needed. Do not publish or release as part of conf
854
854
 
855
855
  ### Registered model ids
856
856
 
857
- Registered ids: `claude-haiku-4-5`, `claude-sonnet-4-5`, `claude-sonnet-4-6`,
857
+ Registered ids: `claude-haiku-4-5`, `claude-haiku-5-5`, `claude-sonnet-4-5`, `claude-sonnet-4-6`,
858
858
  `claude-sonnet-5`, `claude-sonnet-5-5`, `claude-opus-4-5`, `claude-opus-4-6`,
859
859
  `claude-opus-4-7`, `claude-opus-4-8`, `claude-opus-4-8-fast`, `claude-opus-5`,
860
860
  `claude-opus-5-fast`, `claude-opus-5-5`, `claude-opus-5-5-fast`, `claude-fable-5`,
@@ -862,10 +862,11 @@ Registered ids: `claude-haiku-4-5`, `claude-sonnet-4-5`, `claude-sonnet-4-6`,
862
862
 
863
863
  ### Variants and costs
864
864
 
865
- - Display names end in a `(N×)` list-price multiplier relative to Haiku: 1× haiku,
865
+ - Display names end in a `(N×)` list-price multiplier anchored on Haiku 4.5: 0.1× haiku 5.5,
866
+ 1× haiku 4.5,
866
867
  2× sonnet 5 and 5.5, 3× sonnet 4.5/4.6, 4× opus 5.5, 5× other opus, 8× fast-mode opus 5.5, 10× fable, mythos
867
868
  and fast-mode opus 5 / 4.8. It is display only.
868
- - Every model except Haiku has reasoning variants `low`, `medium`, `high`, `xhigh`,
869
+ - Every model except Haiku 4.5 has reasoning variants `low`, `medium`, `high`, `xhigh`,
869
870
  `max`, picked in opencode's model selector. A variant becomes
870
871
  `CLAUDE_CODE_EFFORT_LEVEL` on the spawned CLI unless an agent effort wins. For direct
871
872
  AI-SDK calls, `ClaudeCodeCallOptions.reasoningEffort` supports the same levels plus
@@ -882,6 +883,15 @@ Registered ids: `claude-haiku-4-5`, `claude-sonnet-4-5`, `claude-sonnet-4-6`,
882
883
  - `claude-sonnet-5-5` needs Claude Code 2.1.284+ to run on its real limits. An older CLI
883
884
  still serves it on fallback limits (200k context, an estimated cost), and the plugin
884
885
  logs a WARN naming the model and the floor: the fix is `claude update`.
886
+ - `claude-haiku-5-5` needs Claude Code 2.1.293+ for the same reason, the release that
887
+ added it and made it the default Haiku. It is a tenth of Haiku 4.5 ($0.10/$0.50), has
888
+ a 1M context, 128k output and adaptive thinking, so it carries reasoning variants
889
+ where Haiku 4.5 does not, and it has no `-fast` id (the CLI's catalog gives it no
890
+ fast-mode capability). It is the only model Anthropic prices by prompt length: over
891
+ **100,000 prompt tokens** (input plus cache read plus cache write) the whole call
892
+ bills at 5× ($0.50/$2.50). The registered cost is the base rate, because opencode's
893
+ only tier field is fixed at 200,000 tokens; the interactive transport's own per-turn
894
+ cost does apply the tier. Tell the user to budget for up to 5× on long prompts.
885
895
  - `claude-mythos-5` and `claude-mythos-5-1` are limited availability (Project Glasswing).
886
896
  Without access `claude --model` errors; use the corresponding `claude-fable-*`.
887
897
  - Ordinary calls can pass through unregistered ids; availability and opencode model
@@ -918,7 +928,7 @@ directory. MCP names are disk discovery, not proof of live connectivity. The sta
918
928
  when `interactive` was requested by either spelling; neither proves the PTY ran
919
929
  (`auto` stays headless until the CLI refuses `--print`). `/claude-code-doctor`'s
920
930
  live-process rows carry a per-process transport column, which is the proof; the
921
- spawn log line is the other. The PTY was measured on Claude Code 2.1.288: a newer
931
+ spawn log line is the other. The PTY was measured on Claude Code 2.1.293: a newer
922
932
  CLI logs one WARN per version ("has not been measured") and the doctor flags it,
923
933
  but nothing is refused.
924
934
 
@@ -940,6 +950,7 @@ that does not answer it disables every gated flag.
940
950
  | 2.1.263+ | `--permission-prompts none` (the second read-only layer) |
941
951
  | 2.1.280+ | `claude-opus-5-5`; the API rejects it from an older CLI with a 400 naming that floor |
942
952
  | 2.1.284+ | `claude-sonnet-5-5` on its real limits; an older CLI still runs it, on fallback limits, and the plugin warns |
953
+ | 2.1.293+ | `claude-haiku-5-5` on its real limits, same fallback and warning |
943
954
 
944
955
  Below a flag gate the plugin drops the flag rather than failing the spawn, and says so
945
956
  at WARN. `--plugin-dir` (the skill bridge) has no published version marker, so it is