Skip to content

feat(tui): show subagent status in sidebar#36042

Open
shirafukayayoi wants to merge 2 commits into
anomalyco:devfrom
shirafukayayoi:feat/subagent-sidebar-status
Open

feat(tui): show subagent status in sidebar#36042
shirafukayayoi wants to merge 2 commits into
anomalyco:devfrom
shirafukayayoi:feat/subagent-sidebar-status

Conversation

@shirafukayayoi

Copy link
Copy Markdown

Issue for this PR

No issue. Related: #4865 and #25712.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

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 typecheck

I 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.ts parse 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 done and one line per child session.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant