feat(tui): show subagent status in sidebar#36042
Open
shirafukayayoi wants to merge 2 commits into
Open
Conversation
Contributor
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, here are the related PRs that might be relevant to this feature: Most Related:
Also Related:
These are all related features in the subagent/TUI sidebar ecosystem, but #36042 appears to be the only PR implementing this specific feature (showing subagent status counts and titles in the sidebar). The PR is appropriately scoped as a minimal feature separate from the cost rollup work (#25712). |
This was referenced Jul 10, 2026
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.
Issue for this PR
No issue. Related: #4865 and #25712.
Type of change
What does this PR do?
Adds a small built-in TUI sidebar section for child sessions started by subagents.
The panel reads the existing synced session list and session status map, filters children by the current session ID, and shows a compact count plus up to five child session titles. Running children use the warning color and completed children use muted text.
This is intentionally smaller than #4865: it does not add navigation or keybindings. It is also separate from #25712, which focuses on subagent cost rollups.
How did you verify your code works?
bun run --cwd packages/tui typecheckI also tested the same sidebar behavior locally in a custom build before reducing this PR to the minimal upstream diff.
Note: the repository pre-push hook currently runs the full workspace typecheck, which failed on an existing
packages/app/src/custom-elements.d.tsparse error unrelated to this TUI change. The package-level TUI typecheck above passes.Screenshots / recordings
Not included. The panel renders only when the current session has child sessions, with text like
Subagents 2 running, 1 doneand one line per child session.Checklist