forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature
Implement a subagent output panel in oclite, similar to the opencode TUI's task panel:
- Buffer output from the last 5 subagent runs
- Navigate between subagent views with Ctrl+X + ←/→ arrows
- Ctrl+X + ↑ returns to main screen
- Show subagent name, status, and elapsed time in panel header
UX Design
Main view: project-manager ❯ █
[Ctrl+X →] to view subagent: @developer (running, 12s)
Panel view: ┌ @developer: Implement feature ──────────────┐
│ Reading file... │
│ ✓ bash git status │
│ Writing implementation... │
│ │
│ [Ctrl+X ←/→] prev/next [Ctrl+X ↑] back │
└──────────────────────────────────────────────┘
Implementation Approach
- Research the opencode TUI's panel implementation first
- Buffer subagent session output as streaming chunks arrive
- Ring buffer of 5 most recent subagents
- Full-screen panel takeover on navigation (not a split pane)
- Subscribe to subagent session events via Bus
Related
- [Architecture] oclite: Live Block rendering with log-update for tools, tasks, and todos #82 (Live Block — shows subagent status inline)
- [UX] oclite: Live subagent status panel #68 (live subagent status — enabled by this)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request