workspace: group console tool calls

This commit is contained in:
2026-07-11 07:17:03 +09:00
parent a5417320eb
commit 2a6930a946
4 changed files with 485 additions and 64 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
---
title: 'Improve workspace console tool call rendering'
state: 'inprogress'
state: 'done'
created_at: '2026-07-10T22:08:58Z'
updated_at: '2026-07-10T22:09:21Z'
updated_at: '2026-07-10T22:16:58Z'
assignee: null
queued_by: 'yoi ticket'
queued_at: '2026-07-10T22:09:21Z'
+30
View File
@@ -39,4 +39,34 @@ Ticket を `yoi ticket` が queued にしました。
State changed to `inprogress`.
---
<!-- event: implementation_report author: hare at: 2026-07-10T22:16:58Z -->
## Implementation report
Implemented Workspace Console tool-call grouping.
- Tool lifecycle events now update one `Call · <tool>` console line keyed by call id.
- Args streaming, call completion, and tool result output are folded into that line instead of producing separate `tool call` / `tool call done` / `tool result` rows.
- Added generic tool rendering plus TUI-aligned special summaries for Read, Write, Edit, Glob, and Grep; Bash renders the command and output in the same Call block.
- In-flight tool snapshots now render as Call blocks as well.
- Added model tests for completed Bash call aggregation and streaming Read call updates.
Validation:
- cd web/workspace && deno task check
- cd web/workspace && deno task test
- git diff --check
- nix build .#yoi --no-link
---
<!-- event: state_changed author: "yoi ticket" at: 2026-07-10T22:16:58Z from: inprogress to: done reason: cli_state field: state -->
## State changed
State changed to `done`.
---