Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently, when using subagents in OpenCode, there is no visual indication in the TUI prompt footer about how many subagents are active or exist in total. Users have to manually navigate to the subagent view to check this information.
Proposed enhancement:
Add a subagent status indicator to the prompt footer (bottom-right area next to the "commands" hint) that:
- Shows nothing when there are no subagents
- Displays
active/total sub agents when subagents exist
- Shows a ⚡ lightning icon next to the active count when there are active subagents, using
theme.warning color to draw attention
- Uses muted color when no subagents are active
This provides at-a-glance awareness of background subagent activity without leaving the main prompt view.
Implementation approach:
- Compute recursive descendant count (including nested subagents) from
sync.data.session using BFS traversal
- Check
session_status for "busy" or "retry" states to determine active count
- Conditionally render in the prompt footer using SolidJS
<Show>
Screenshots:
With active subagent (⚡ icon + warning color):
Without active subagent (muted color):

Feature hasn't been suggested before.
Describe the enhancement you want to request
Currently, when using subagents in OpenCode, there is no visual indication in the TUI prompt footer about how many subagents are active or exist in total. Users have to manually navigate to the subagent view to check this information.
Proposed enhancement:
Add a subagent status indicator to the prompt footer (bottom-right area next to the "commands" hint) that:
active/total sub agentswhen subagents existtheme.warningcolor to draw attentionThis provides at-a-glance awareness of background subagent activity without leaving the main prompt view.
Implementation approach:
sync.data.sessionusing BFS traversalsession_statusfor "busy" or "retry" states to determine active count<Show>Screenshots:
With active subagent (⚡ icon + warning color):
Without active subagent (muted color):