Summary
Add a multi-line window showing subagent tool activity, similar to Claude Code:
⠋ task @explore: Research something (15s)
┌ Read src/session/system.ts
│ Grep patterns in codebase └ +12 more tools (ctrl+o to expand)
Current Behavior
⠋ task @explore: Research something (15s)
→ Read src/session/system.ts
Only shows current tool, no history.
Requirements
Display
- Show last 2-3 tools in a rolling window
- Show total tool count (
+N more tools) - Use box drawing characters (
┌│└) for visual grouping - Optional:
ctrl+o to expand for full history
Data Tracking
- Maintain rolling
childToolHistory array (last 2-3 items) - Track
childToolCount total
Implementation Notes
Complexity: Low — infrastructure exists:
log-update already in use for live rendering- Task/childTool tracking exists in liveblock.ts
- Bus subscription for real-time events exists
- Animation loop exists (80ms)
Changes Needed
File: src/cli/lite/liveblock.ts
- Extend Task interface:
childToolHistory: Array<{name: string;summary: string}>
childToolCount: numberIn setTaskChildTool():
- Push to
childToolHistory - Increment
childToolCount - Keep only last 2-3 tools
In render() for running tasks:
- Render multi-line box with tool history
- Show count of additional tools
Estimated: ~30-50 lines
Acceptance Criteria
Summary
Add a multi-line window showing subagent tool activity, similar to Claude Code:
Current Behavior
Only shows current tool, no history.
Requirements
Display
+N more tools)┌│└) for visual groupingctrl+o to expandfor full historyData Tracking
childToolHistoryarray (last 2-3 items)childToolCounttotalImplementation Notes
Complexity: Low — infrastructure exists:
log-updatealready in use for live renderingChanges Needed
File:
src/cli/lite/liveblock.tsIn
setTaskChildTool():childToolHistorychildToolCountIn
render()for running tasks:Estimated: ~30-50 lines
Acceptance Criteria