agent-dashboard: tool call durations, formatted inputs, subagent progress cards #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "muon/agent-subagent-progress"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Tool calls now show how long they've been running, with a clock that ticks while they run and stays on the final duration afterwards. Subagents (opencode's
tasktool) get their own card showing the brief, live progress and the result. Tool and permission inputs are shown as labelled fields instead of a JSON dump. This follows what Claude Code, T3 Code and Zed do. I checked the opencode ACP source for v1.19.0 (installed) and for main (v2).Server (
sessions.ts):Limitation: opencode 1.19 doesn't send child-session events over ACP. On 1.19 the subagent card only shows the brief, the clock and the result. Live child progress needs opencode ≥ 2, which sends it once the client advertises the capability above. Details are in
docs/AGENT_DASHBOARD.md.Evidence
taskcalls showed as a plain tool row with a JSON input.After:
bun testpasses 29 tests, 0 failures;tsc --noEmitandbun build.tssucceed. New tests intest/stats.test.ts:I didn't take screenshots: this environment has no browser.
Merge Danger
Door: two-way
The new fields are optional, so old transcripts load fine. They just show no durations.
Blast Radius: dashboard-transcript
Only the session transcript rendering and the ACP update handling change. The only change on the opencode side is one more
_metaflag ininitialize, which 1.19 ignores.