Repository navigation
feat(app): show running subagents and shells in the session header - #53247
Merged
Merged
Conversation
Adds a running-work menu next to the session title. Rows open subagent sessions, reveal and expand background shell calls, and stop work with a hover X or Delete. Replaces the background tasks row in the session summary.
Inside a subagent, the running menu lists its parent's work, marks the current subagent, and switches to a sibling in one click. Session details now show for subagents too, without offering to move them to another worktree.
The route that opens the parent carries the call to reveal. The timeline reveals it from its existing activation, where it would otherwise scroll to the end, and the hash scroll leaves that entry alone.
Ichinose-Kazuki
pushed a commit
to Ichinose-Kazuki/opencode
that referenced
this pull request
Oct 7, 2026
3 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Running subagents and background shells are now one click away in the session header, instead of two clicks deep in the session summary.
N working…when only subagents run,N runningonce a background shell runs too. It shimmers while work runs.Inside a subagent
aria-current).flowchart LR B[blocking subagents] --> M[SessionRunningMenu] T[background tasks] --> M M -->|subagent row| N[navigateToSession] M -->|shell row| R["virtualizer.revealPart: open group + call, scroll"] M -->|X / Delete| S{type} S -->|subagent| I["api.session.interrupt({ sessionID })"] S -->|shell| K["api.shell.remove({ id, location })"]--v2-agent-<name>-solidtokens, so Explore and Build match the timeline cards; other agents stay neutral.DELETE /api/shell/:id.