forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
Show tool calls with meaningful context — what tool, what input summary, and a brief result — instead of just the tool name.
Target UX (from sketch)
● Teammate(send message to: views-builder: "Task #1 is complete! The foundation is ready at m...")
Message sent to views-builder's inbox
● Teammate(request shutdown: foundation-builder)
shutdown request sent to foundation-builder
Current behavior (after #63 fix)
bash ✓ rg ✓ task ✓
Compact but lacks context — user doesn't know what the tools did.
Requirements
- Show tool name with input summary (first ~80 chars)
- Show tool result below (indented, dimmed)
- Color-coded bullet: ◇ pending, ● completed, ✗ failed
- Collapsible for long outputs
- Different display for different tool types:
bash: show commandread/write: show file pathtask: show agent + descriptionrg/glob: show pattern
Data available
The tool_start and tool_end chunks already include tool, input, and output fields in session.ts.
Files
packages/opencode/src/cli/lite/index.ts— tool chunk renderingpackages/opencode/src/cli/lite/session.ts— chunk data
Metadata
Metadata
Assignees
Labels
No labels