GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(tui): show subagent status in sidebar by yuki-kanemaru · Pull Request #36042 · anomalyco/opencode

Conversation

@yuki-kanemaru

@yuki-kanemaru yuki-kanemaru commented Jul 9, 2026

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yuki-kanemaru
feat(tui): show subagent status in sidebar
eafd1ee
@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:

  • feat(tui): show subagent cost rollup in sidebar and task history #25712 - feat(tui): show subagent cost rollup in sidebar and task history - The PR description explicitly mentions this is separate from feat(tui): show subagent cost rollup in sidebar and task history #25712, which focuses on subagent cost rollups. This is a closely related but distinct feature in the same area.

Also Related:

  • feat: add subagents sidebar with clickable navigation and parent keybind #4865 - Referenced in the PR description as related to subagent navigation (though not found in search results, it was mentioned as context)
  • fix(tui): restore subagent navigation #35762 - fix(tui): restore subagent navigation - Related to subagent display in TUI
  • feat(opencode): add agent teams and nested subagent delegation #33144 - feat(opencode): add agent teams and nested subagent delegation - Related to subagent/nested agent functionality
  • feat: add team TUI integration — sidebar, header, sync, and team dialog #12732 - feat: add team TUI integration — sidebar, header, sync, and team dialog - Related to TUI sidebar work

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).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yuki-kanemaru
fix(tui): load sidebar subagents directly
5242c58
This was referenced Jul 10, 2026
📊 AI CLI 工具社区动态日报 2026-07-10 96loveslife/big_model_radar#135
Open
📊 AI CLI 工具社区动态日报 2026-07-10 litang9/big_model_radar#184
Open
@CreatorGhost CreatorGhost mentioned this pull request Jul 11, 2026
feat(tui): show subagent status in sidebar CreatorGhost/TheCode#38
Merged
CreatorGhost added a commit to CreatorGhost/TheCode that referenced this pull request Jul 12, 2026
@CreatorGhost
feat(tui): show subagent status in sidebar
3607adc
Ported from upstream anomalyco#36042.
CreatorGhost added a commit to CreatorGhost/TheCode that referenced this pull request Jul 12, 2026
@CreatorGhost
feat(tui): show subagent status in sidebar (#38)
37bd1e9
* feat(tui): show subagent status in sidebar

Ported from upstream anomalyco#36042.

* fix(tui): show nested subagents in sidebar via collectSubtree

Addresses Opus review of PR #38: the sidebar only listed direct children, so
nested subagents never appeared. Derive the full subagent subtree reactively
from the store via the shared collectSubtree helper, dropping the redundant
createResource and manual session.updated/deleted subscriptions (which also
removes a stale-snapshot window).
@YanxiChen-gh YanxiChen-gh mentioned this pull request Aug 5, 2026
Track upstream support for OpenCode subagents in Herdr YanxiChen-gh/Dotfiles#59
Open
@giovannicala4321 giovannicala4321 mentioned this pull request Aug 8, 2026
[FEATURE]: Live Subagents sidebar section in the TUI #41248
Closed
1 task done
@giovannic96 giovannic96 mentioned this pull request Aug 8, 2026
[FEATURE]: Live Subagents sidebar section in the TUI #41249
Closed
1 task done
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Aug 9, 2026
@github-actions github-actions Bot added the automated-pr-cleanup label Aug 9, 2026
@germoran1-debug germoran1-debug mentioned this pull request Oct 19, 2026
[FEATURE]: Bring subagents back to the session sidebar (port of #14043 / #4865 / #46109) #57097
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

automated-pr-cleanup

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@yuki-kanemaru
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.