@khalilgharbaoui/opencode-claude-code-plugin 0.56.0 → 0.57.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.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "Claude Code CLI provider plugin for opencode",
5
5
  "homepage": "https://opencode-claude-code-plugin.dev/",
6
6
  "funding": {
@@ -425,10 +425,13 @@ at 2026-10-17 18:00.
425
425
  to pick a model from. No form after a served turn.
426
426
  - The CLI reports only when its view changes, so a reused process can be silent for
427
427
  several turns; the last reading stands until a newer one or its reset.
428
- - Where to look: the TUI sidebar's `Accounts` lines (`work · 5h 76% · resets 18:00`,
429
- `ok` for a reading without a number, `limited` for a refusal) and the doctor's
428
+ - Where to look: the TUI sidebar's `Accounts` lines, one per configured account from
429
+ the first draw (`work · 5h 76% · resets 18:00`, `work · 5h 76% · 2026-10-18 01:20`
430
+ for a reset on another day, `ok` for a reading without a number, `limited` for a
431
+ refusal, `home · Max 20x · no reading yet` before an account's first turn reports,
432
+ the reset time in its own colour apart from the level) and the doctor's
430
433
  `Account usage` table, which also shows which thresholds were already noted. "No
431
- reading yet" there with a recent turn usually means the interactive transport.
434
+ reading yet" with a recent turn usually means the interactive transport.
432
435
 
433
436
  ### When an account runs out of usage
434
437
 
@@ -979,6 +982,20 @@ the theme's warning colour, faded on a finished row). That line is what
979
982
  the plugin really spawned, read from `$XDG_STATE_HOME/opencode-claude-code-plugin/session-spawns.json`,
980
983
  so `forceModel`, an agent's `reasoningEffort`, a dispatch-form answer, the fallback chain
981
984
  and a failover all show there, while opencode's own footer shows the model it asked for.
985
+ The model line ends with the subagent's spend so far (`· $0.42`, opencode's own session cost,
986
+ kept after it finishes; on a tight line the dot goes before the number does), and a running
987
+ row gets a third line: the same progress line the viewed session gets above the section
988
+ under a `Main Progress` heading while its turn runs (and 15 s after). That line is a ten-cell
989
+ `▰▱` bar, two spaces, then the todo list's completed fraction with `2/4` when the session has
990
+ one (opencode 1 only; opencode 2 exposes no todo list to a TUI plugin), else the turn's
991
+ elapsed over its estimated total (`1m02s/~2m30s`: the weighted median of what remained of
992
+ this agent and model's recorded turns that lasted longer than this one so far, weighted
993
+ toward turns with a prompt of about this length at this effort, read from
994
+ `$XDG_STATE_HOME/opencode-claude-code-plugin/turn-history.json`, which the plugin writes at
995
+ every served result; full in the warning colour once past every recorded turn), else no bar
996
+ until three turns of that agent and model are on record; plus the call count (when neither
997
+ is shown) and the running tool. No model call, no option, nothing read from the prompt but
998
+ its length.
982
999
  Clicking a row opens the subagent's session; `up` returns to the parent. More than two
983
1000
  rows fold behind a `▼` heading. Setup: nothing on opencode 2; on opencode 1 the
984
1001
  `tui.json` line under Minimum install. If the section never appears on 1.x, that line is