forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
Show a live panel of running subagents/tasks with their current status.
Target UX (realistic based on available data)
├── explore: running · started 15s ago
├── developer: running · started 8s ago
└── adversarial: completed · 23s
Available Data
Session.listBackgroundTasks()→ pending task IDs + completed resultsBackgroundTaskResult→ id, status (running/completed/failed), time.started, time.completed, metadata.agent_type, metadata.descriptionSession.BackgroundTaskEvent.Completed/Failed→ Bus events when tasks finish
NOT Available (cannot show)
- ❌ Real-time tool use count for running tasks
- ❌ Real-time token count for running tasks
- ❌ 'Thinking/Deciphering' status text for running tasks
- These would require new Bus events from subagent sessions
Requirements
- Tree-style display with connectors
- Show agent type + status + elapsed time
- Update when tasks complete/fail (via Bus events)
- Toggle visibility with
ctrl+t
Files
packages/opencode/src/cli/lite/index.ts— renderingpackages/opencode/src/session/index.ts— task data
Metadata
Metadata
Assignees
Labels
No labels