@khalilgharbaoui/opencode-claude-code-plugin 0.57.2 → 0.58.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/dist/index.js +737 -208
- package/dist/index.js.map +1 -1
- package/dist/tui.js +514 -85
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
- package/skills/claude-code-plugin/SKILL.md +16 -11
package/package.json
CHANGED
|
@@ -988,17 +988,22 @@ row gets a third line: the same progress line the viewed session gets above the
|
|
|
988
988
|
under a `Main Progress` heading while its turn runs (and 15 s after). That line is a ten-cell
|
|
989
989
|
`▰▱` bar, two spaces, then the todo list's completed fraction with `2/4` when the session has
|
|
990
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
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
991
|
+
elapsed over its estimated total (`1m02s/~2m30s`), else no bar until three turns of that
|
|
992
|
+
agent and model (or of that agent across its other models) are on record; plus the call
|
|
993
|
+
count (when neither is shown) and the running tool. The estimate is a log-normal fitted to
|
|
994
|
+
this agent and model's recorded turns in
|
|
995
|
+
`$XDG_STATE_HOME/opencode-claude-code-plugin/turn-history.json` (written at every served
|
|
996
|
+
result), weighted toward a prompt of about this length, this effort (another effort's turns
|
|
997
|
+
at half weight, scaled by the measured duration ratio) and recent turns, borrowing the
|
|
998
|
+
agent's other models for a new model and pulled toward this session's own earlier turns. It
|
|
999
|
+
is conditioned on the turn's elapsed time, its tool calls and the output tokens it has
|
|
1000
|
+
generated, which the provider half writes per API call to `turn-progress.json` beside it.
|
|
1001
|
+
The bar's shades are the band (where the turn likely ends, calibrated on the estimate's own
|
|
1002
|
+
past misses), a turn waiting on a foreground subagent is floored at what that subagent has
|
|
1003
|
+
left, and past every recorded turn the bar is full in the warning colour. A turn that ended
|
|
1004
|
+
on a failed tool is never read. How far to trust it: `/claude-code-doctor`'s `Progress
|
|
1005
|
+
estimate` section (per agent and model: turns, typical, `off by`, `outran`, `in band`). No
|
|
1006
|
+
model call, no option, nothing read from the prompt but its length.
|
|
1002
1007
|
Clicking a row opens the subagent's session; `up` returns to the parent. More than two
|
|
1003
1008
|
rows fold behind a `▼` heading. Setup: nothing on opencode 2; on opencode 1 the
|
|
1004
1009
|
`tui.json` line under Minimum install. If the section never appears on 1.x, that line is
|