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: add subagents sidebar with clickable navigation and parent keybind by franlol · Pull Request #4865 · anomalyco/opencode

Conversation

@franlol

@franlol franlol commented Nov 28, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Add Subagents in the sidebar

  • Show Subagents in the sidebar
  • Click on them to navigate to the subagent session
  • Return to parent session with <leader>+Up
  • Collapsable Sub-Agents menu when > 2 (Like other lists in the Sidebar)
sidebar

Sorry, something went wrong.

Uh oh!

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

strayge reacted with thumbs up emoji arsham, gc-victor, spoons-and-mirrors, hkay-dev, shuv1337, Tarquinen, chrisolszewski, iamhenry, airtonix, ariane-emory, and 28 more reacted with heart emoji dbpolito, thoroc, theblazehen, phlucas96, zoispag, itsrainingmani, jpaju, and lrq3000 reacted with rocket emoji
All reactions
  • 👍 1 reaction
  • ❤️ 38 reactions
  • 🚀 8 reactions
@franlol
feat: add subagents sidebar with clickable navigation and parent keybind
e768f4c
@franlol
franlol force-pushed the subagents-in-the-sidebar branch from c6ff036 to e768f4c Compare November 28, 2025 13:42
franlol added 4 commits November 28, 2025 17:08
@franlol
Merge branch 'dev' into subagents-in-the-sidebar
f49b8dd
@franlol
fix: fix sdk
ef95381
@franlol
Merge branch 'dev' into subagents-in-the-sidebar
ff7a3b5
@franlol
fix: navigation click propagation
62e6469
@franlol franlol mentioned this pull request Nov 29, 2025
Subagent Switching - Buggy #4727
Closed
@Tarquinen

Tarquinen commented Dec 1, 2025

Copy link
Copy Markdown
Member

This is very nice!

All reactions

Sorry, something went wrong.

Uh oh!

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

shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 1, 2025
@shuv1337
docs: add PR anomalyco#4865 to merged PRs table
a07bc1b
@shuv1337 shuv1337 mentioned this pull request Dec 1, 2025
Merge PR #4865: Subagents sidebar with clickable navigation shuv1337/shuvcode#66
Merged
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 1, 2025
@shuv1337
Merge pull request #66 from kcrommett/add-subagent-sidebar
b4cf0bc
Merge PR anomalyco#4865: Subagents sidebar with clickable navigation
@iamhenry

iamhenry commented Dec 1, 2025

Copy link
Copy Markdown

Can't wait for this! Plz add to oc soon 🙏🏽

All reactions

Sorry, something went wrong.

Uh oh!

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

@shuv1337

shuv1337 commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

@rekram1-node - please review! not my PR but i've been testing in my fork and this one has been very useful.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dbpolito

dbpolito commented Dec 2, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

There is this other PR #4564 which is related, but i think this one is even better.

All reactions

Sorry, something went wrong.

Uh oh!

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

@rekram1-node

rekram1-node commented Dec 2, 2025

Copy link
Copy Markdown
Member

Yeah our designer had some opinions on this, I will try to get this in once we have UX thought out, prolly will update this directly

mm-fran, dbpolito, thoroc, Mumbolian, wienans, jensenojs, and lrq3000 reacted with thumbs up emoji
All reactions
  • 👍 7 reactions

Sorry, something went wrong.

Uh oh!

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

@Mumbolian

Mumbolian commented Dec 4, 2025

Copy link
Copy Markdown

Absolutely love this

All reactions

Sorry, something went wrong.

Uh oh!

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

@rekram1-node
rekram1-node force-pushed the dev branch from 398b39a to 5013d64 Compare December 5, 2025 05:13
@ariane-emory

ariane-emory commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Been using this for the past week and a half, can't live without it.

lrq3000 reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

@shuv1337 shuv1337 mentioned this pull request Dec 11, 2025
[Upstream Sync] Merge conflict with v1.0.150 shuv1337/shuvcode#126
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 11, 2025
@opencode-agent
sync: merge upstream v1.0.150 into integration
9e6a137
Resolved conflicts:
- packages/opencode/package.json: Updated version to 1.0.150
- packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx: Accepted upstream changes, restored double Ctrl+C exit feature (PR anomalyco#4900)
- packages/opencode/src/config/config.ts: Accepted upstream changes with super keybinds, preserved header_toggle and session_parent keybinds
- script/publish.ts: Preserved fork-specific comment
- .github/workflows/publish.yml: Removed (deleted in fork)
- packages/ui/src/components/input.css: Removed (deleted upstream)
- packages/ui/src/components/input.tsx: Removed (deleted upstream)
- bun.lock: Regenerated
- All package.json files: Accepted upstream version bumps
- Desktop, console, enterprise files: Accepted upstream

Preserved fork features:
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4865: session_parent keybind
- Fork feature: header_toggle keybind
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 11, 2025
@opencode-agent
sync: merge upstream v1.0.150 into integration
344d59e
Resolved conflicts:
- packages/opencode/package.json: Updated version to 1.0.150
- packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx: Accepted upstream changes, restored double Ctrl+C exit feature (PR anomalyco#4900)
- packages/opencode/src/config/config.ts: Accepted upstream changes with super keybinds, preserved header_toggle and session_parent keybinds
- script/publish.ts: Preserved fork-specific comment
- .github/workflows/publish.yml: Removed (deleted in fork)
- packages/ui/src/components/input.css: Removed (deleted upstream)
- packages/ui/src/components/input.tsx: Removed (deleted upstream)
- packages/desktop/src/context/layout.tsx: Restored fork's font/theme support
- packages/desktop/src/components/font-picker.tsx: Updated to use new items function signature
- packages/desktop/src/components/theme-picker.tsx: Updated to use new items function signature
- bun.lock: Regenerated
- All package.json files: Accepted upstream version bumps
- Desktop, console, enterprise files: Accepted upstream

Preserved fork features:
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4865: session_parent keybind
- Fork feature: header_toggle keybind
- Fork feature: Desktop font and theme pickers
@shuv1337 shuv1337 mentioned this pull request Dec 11, 2025
sync: merge upstream v1.0.150 shuv1337/shuvcode#127
Merged
@opencode-agent opencode-agent Bot mentioned this pull request Dec 11, 2025
Merged upstream v1.0.150, 37 conflicts shuv1337/shuvcode#128
Closed
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 11, 2025
@shuv1337 @claude
Merge dev branch into integration
1d4d2f6
This merge brings upstream changes while preserving fork-specific features:

Preserved fork features:
- PR anomalyco#4898: Search in messages (Ctrl+F)
- PR anomalyco#4791: Bash output with ANSI colors
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar with clickable navigation
- PR anomalyco#4515: Show plugins in /status
- Fork-only: Toggle session header visibility

Resolved conflicts:
- Package versions updated to upstream v1.0.149
- Keybind type changes (cmd -> super)
- Desktop context files updated with defensive API checks
- UI components updated for new items prop signature
- input.css/tsx renamed to text-field.css/tsx

Validation:
- All typechecks pass (12/12 packages)
- All tests pass (281 passed, 1 skipped)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 11, 2025
@shuv1337 @claude
feat: add go-to-parent session navigation command
acb7517
Add goToParent() function and command palette entry for navigating
to parent sessions. This completes the session_parent keybind
implementation from PR anomalyco#4865 (subagents sidebar feature).

Also document critical code markers in fork-features.json for
preserving this feature during upstream syncs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@joshua-singer

joshua-singer commented Dec 13, 2025

Copy link
Copy Markdown

This would be super useful. ++

All reactions

Sorry, something went wrong.

Uh oh!

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

@shuv1337 shuv1337 mentioned this pull request Dec 18, 2025
[Upstream Sync] Merge conflict with v1.0.167 shuv1337/shuvcode#142
Closed
opencode-agent Bot added a commit to shuv1337/shuvcode that referenced this pull request Dec 18, 2025
@opencode-agent
sync: merge upstream v1.0.167 into integration
d267e1b
Resolved conflicts:
- bun.lock: Regenerated from scratch
- packages/*/package.json: Accept upstream version (1.0.167)
- packages/extensions/zed/extension.toml: Accept upstream version

Upstream changes include:
- Version bump to 1.0.167
- Terminal title toggle feature added to config
- MCP authentication improvements
- Legal pages (privacy policy, terms of service)
- Tauri package updates

Fork features preserved:
- PR anomalyco#4898: Search in messages (Ctrl+F)
- PR anomalyco#4791: ANSI bash output support
- PR anomalyco#4900: Double Ctrl+C to exit
- PR anomalyco#4709: Live token usage during streaming
- PR anomalyco#4865: Subagents sidebar navigation
- PR anomalyco#4515: Show plugins in /status
- PR anomalyco#5508: Cache management commands
- PR #ariane-emory: Granular file permissions
- PR #fork-140: Toggle transparent background
- Desktop features: slash commands, shell mode, themes, branding
@shuv1337 shuv1337 mentioned this pull request Dec 18, 2025
sync: merge upstream v1.0.167 shuv1337/shuvcode#143
Merged
@joseehilton147

joseehilton147 commented Jan 20, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

@rekram1-node any news on this?

zoispag, BrianAguilarWasco, telnet2, jturmel, and lrq3000 reacted with thumbs up emoji
All reactions
  • 👍 5 reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot mentioned this pull request Jan 24, 2026
feat(app): back button in subagent sessions #10439
Merged
@thdxr
thdxr force-pushed the dev branch from cbab81f to 2d3c7a0 Compare January 30, 2026 04:50
@opencode-agent
opencode-agent Bot force-pushed the dev branch from 00637c0 to 71e0ba2 Compare January 30, 2026 14:32
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions github-actions Bot mentioned this pull request Feb 10, 2026
feat: add subagent sidebar with hover navigation and project rename #12963
Closed
@github-actions github-actions Bot mentioned this pull request Feb 17, 2026
feat(web): Show subagents under parent session, allow intuitive navigation between. #14043
Closed
@Eric-GoodBoy-Tech Eric-GoodBoy-Tech mentioned this pull request Feb 27, 2026
[FEATURE]:TUI Bottom Bar Auto-Discovery of Sub-Sessions with Auto-Switch Management #15363
Closed
1 task done
@github-actions github-actions Bot mentioned this pull request Mar 2, 2026
feat(tui): add Subagents section to session sidebar #15738
Closed
3 of 6 tasks
@lrq3000

lrq3000 commented Mar 20, 2026

Copy link
Copy Markdown

This needs to be set as a top priority feature, it is super useful to be able to get an overview of all the spawned subagents and switch between them, especially for those using orchestrators such as Oh My Opencode ! And with the Claude Agents Teams feature that will certainly spawn similar opensource implementations, it will become even more necessary.

All reactions

Sorry, something went wrong.

Uh oh!

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

@opencode-agent
opencode-agent Bot force-pushed the dev branch from 2f2ed11 to 9f201d6 Compare April 16, 2026 21:55
@github-actions github-actions Bot mentioned this pull request May 12, 2026
feat: implement Agent Teams (Experimental) feature #27053
Closed
2 of 5 tasks
@github-actions github-actions Bot mentioned this pull request Jun 20, 2026
feat(opencode): add agent teams and nested subagent delegation #33144
Closed
4 of 6 tasks
@yuki-kanemaru yuki-kanemaru mentioned this pull request Jul 9, 2026
feat(tui): show subagent status in sidebar #36042
Closed
3 of 6 tasks
@iceteaSA iceteaSA mentioned this pull request Aug 29, 2026
feat(tui): list active and recent subagents in the sidebar #46109
Closed
3 tasks done
@iceteaSA

iceteaSA commented Aug 29, 2026

Copy link
Copy Markdown

Heads up — I opened #46109, which builds on your feature here, rebased onto current dev. The idea and original implementation are yours; credit's in the PR.

One difference worth flagging back to you: on a long orchestration session we ended up with hundreds of subagent sessions, and listing all of them made the sidebar unusable. So #46109 lists only active subagents and dedupes by child session id (so a resumed task doesn't double-render). If you revisit this PR, that filter is probably the useful bit to lift — please take it with credit to you, no ownership claimed on my side.

Not trying to jump ahead of your PR; opened mine because our fork needed it on current dev. If yours lands, I'll close mine.

lrq3000 reacted with hooray emoji lrq3000 reacted with rocket emoji
All reactions
  • 🎉 1 reaction
  • 🚀 1 reaction

Sorry, something went wrong.

Uh oh!

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

@iceteaSA iceteaSA mentioned this pull request Aug 29, 2026
[FEATURE]: List active subagents in the sidebar #46110
Closed
iceteaSA added a commit to iceteaSA/opencode that referenced this pull request Sep 23, 2026
@iceteaSA @giovannic96
feat(tui): list session subagents in the sidebar
8ed7bfc
Upstream PR anomalyco#4865 by @franlol, reimplemented against the current TUI. That PR targeted packages/opencode/src/cli/cmd/tui/routes/session/, which no longer exists.

Its navigation and parent keybind have since landed upstream independently, so this adds only the missing sidebar section. It diverges from that PR deliberately: instead of every historical subagent, it shows the in-flight ones (pending and running) and, in a separate "Recent subagents" section, the last 10 finished ones, most recently active first. Real sessions accumulate hundreds of dispatched subagents, and a complete list is unusable.

Background dispatches complete the parent tool part immediately, so liveness comes from child-session status. History is ordered by the child's latest activity: the newest of its session update time, its newest message completion, and the parent task part's time, since a session's update time only marks when its last prompt started.

Active rows show what the subagent is doing now, from its newest message: the running or queued tool, a retry count, or nothing once it starts a new turn or writes after a tool. The active list collapses when it holds more than one row. Both follow @giovannic96's opencode-subagents-view plugin.

Co-authored-by: Giovanni Calà <[email protected]>
iceteaSA added a commit to iceteaSA/opencode that referenced this pull request Sep 26, 2026
@iceteaSA @giovannic96
feat(tui): list session subagents in the sidebar
ae6d7dc
Upstream PR anomalyco#4865 by @franlol, reimplemented against the current TUI. That PR targeted packages/opencode/src/cli/cmd/tui/routes/session/, which no longer exists.

Its navigation and parent keybind have since landed upstream independently, so this adds only the missing sidebar section. It diverges from that PR deliberately: instead of every historical subagent, it shows the in-flight ones (pending and running) and, in a separate "Recent subagents" section, the last 10 finished ones, most recently active first. Real sessions accumulate hundreds of dispatched subagents, and a complete list is unusable.

Background dispatches complete the parent tool part immediately, so liveness comes from child-session status. History is ordered by the child's latest activity: the newest of its session update time, its newest message completion, and the parent task part's time, since a session's update time only marks when its last prompt started.

Active rows show what the subagent is doing now, from its newest message: the running or queued tool, a retry count, or nothing once it starts a new turn or writes after a tool. The active list collapses when it holds more than one row, and the recent list when it holds more than two; both remember their collapsed state across sessions and restarts. Activity and collapsing follow @giovannic96's opencode-subagents-view plugin.

Co-authored-by: Giovanni Calà <[email protected]>
@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

All reactions

Sorry, something went wrong.

Uh oh!

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

@thdxr thdxr closed this Oct 10, 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
@opencode-agent opencode-agent Bot mentioned this pull request Oct 24, 2026
OpenCode v2 UI/UX is full of slop #58624
Closed
@KpihX KpihX mentioned this pull request Nov 26, 2026
web/tui: no UI to browse and inspect completed background subagent transcripts #66589
Closed
1 task done
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

None yet

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.

14 participants

@franlol @Tarquinen @iamhenry @shuv1337 @dbpolito @rekram1-node @Mumbolian @ariane-emory @joshua-singer @zenyr @joseehilton147 @lrq3000 @iceteaSA @thdxr
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.