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 — Desktop: Sidebar subsessions support by dbpolito · Pull Request #6368 · anomalyco/opencode

Conversation

@dbpolito

@dbpolito dbpolito commented Dec 29, 2025

Copy link
Copy Markdown
Contributor

Adding support for showing subsessions on sidebar, collapsing similar to project:

image image

Right now i kept a similar behavior from project, clicking the row expand / collapse and navigate to it.

Sorry, something went wrong.

Uh oh!

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

vian21 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dbpolito
Desktop: Sidebar subsessions support
48d4b41
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 29, 2025
@shuv1337
Local test merge of PR anomalyco#6368: Desktop: Sidebar subsessions s…
ae18423
…upport
shuv1337 added a commit to shuv1337/shuvcode that referenced this pull request Dec 29, 2025
@shuv1337
docs: add PRs anomalyco#6360, anomalyco#6368, anomalyco#6372 to merge…
f4095ca
…d PRs table
@shuv1337 shuv1337 mentioned this pull request Dec 29, 2025
Merge shuvcode-dev: upstream v1.0.207-1 → v1.0.209 + fork improvements shuv1337/shuvcode#217
Merged
@adamdotdevin

adamdotdevin commented Dec 29, 2025

Copy link
Copy Markdown
Member

So, I used to show child sessions in the sidebar, but tbh, I don't think they belong there. I would accept a PR for making the Task tool description a link to the child session, though. That was my plan, just hadn't gotten to it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dbpolito

dbpolito commented Dec 29, 2025

Copy link
Copy Markdown
Contributor Author

@adamdotdevin hmm, i think the general ux of navigating between subsessions aren't great on both desktop and tui...

I opened #4564 a while back, there is also #4865 that brings them to the sidebar...

Let's think about some other options:

  1. Separate the expand / collapse behavior so you really need to click on the icon to open / view sub sessions, that way people can easily ignore sub sessions?
  2. Maybe add a button on the new status bar? x subsessions? you click, we open a modal with a list of sessions? similar to my PR on TUI? that would be somehow consistent, we could even have the same /subagent-sessions command to open the dialog (or maybe just the command is enough)

I think clicking the task tool description is fine but then you would navigate to it, how you would return to the parent session? You would need to find it back on the sidebar? Feel a bit weird

diogosalazar reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@diogosalazar

diogosalazar commented Dec 30, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

@adamdotdevin this would be good UX to be able to see at a glance how many sub sessions are active or can be resumed. Useful in workflows involving multiple specialist sub agents

vian21 and telnet2 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

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

@longsman

longsman commented Jan 7, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

@adamdotdevin hmm, i think the general ux of navigating between subsessions aren't great on both desktop and tui...

I opened #4564 a while back, there is also #4865 that brings them to the sidebar...

Let's think about some other options:

  1. Separate the expand / collapse behavior so you really need to click on the icon to open / view sub sessions, that way people can easily ignore sub sessions?
  2. Maybe add a button on the new status bar? x subsessions? you click, we open a modal with a list of sessions? similar to my PR on TUI? that would be somehow consistent, we could even have the same /subagent-sessions command to open the dialog (or maybe just the command is enough)

I think clicking the task tool description is fine but then you would navigate to it, how you would return to the parent session? You would need to find it back on the sidebar? Feel a bit weird

So as of now, there's a link in the task tool description, that takes you to the subagent session, and I found the small left-arrow button at the breadcrumb part at the top, hovering over it says 'go back to parent session'.

My default reaction is that I do wish I could see it in the sidebar, but like OP, I agree with seeing if there's some sort of compromise. I agree with @dbpolito maybe theres a way to 'reveal' it for those fully intent on revealing it, even if it's somewhat hidden, I think I'd accept that cost.

Lets say we accept sub-sessions dont belong in the sidebar, ok thats fine. can we otherwise get somewhere else that shows <-- ,whether that's the breadcrumb or even a hidden command that'll reveal all sub-sessions?

I suppose I need to help by giving more color to the purpose of subagent session visibility. Perhaps it helps to say that seeing the 'shape' of subagent usage and the history of subagents in a session mainly comes into play when reviewing the overall workflow that just happened, instead of it being relevant to the specific task(s) of the project itself. I dont really agree with amp's approach with doing some crazy flowchart, but here's an example of how i'd currently experience OC desktop if I want to review a workflow to assess the quality of subagents and task delegation:

  1. I'm thinking of making adjustments, change models or system prompts for a subagent. Let me go to yesterday's session to see how my planning agent behaves.
  2. open opencode desktop for more casual, relaxed, clickable browsing and reviewing.
  3. click on project, click on specific session
  4. ok i gotta look for the subagent...
    4a. its not in sidebar, let me double check this session actually used subagents
    4b. scroll up/skipp through timeline
    4c. ok the timeline chapter description seems like it shows a task
    4d. ok I gotta click on show steps to reveal task
  5. there it is. click.
  6. read it, review it, ok how do i go back?
  7. Theres and arrow, whats that? hover, ok this goes back to parent.
  8. need to look at other subagent I know I used. (repeat step 4)
  9. I wonder what other tasks got delegated...

sorry for verbose I know this has been debated for quite a while but I never did a good job explaining what I'd like sub-session list visibility for.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dbpolito

dbpolito commented Jan 7, 2026

Copy link
Copy Markdown
Contributor Author

So a couple of more options we could go:

image

Currently on the breadcrumb we can see other session, tbh i never used that, but if we add another layer, a new breadcrumb path, clickable that we could change between parent / child sessions there?

Another option is, i introduced this new concept or more things on the right panel, maybe we could have something there too: #7223

All reactions

Sorry, something went wrong.

Uh oh!

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

@longsman

longsman commented Jan 7, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Yeah I think something up at the breadcrumb might just at least serve as some visual cue, like:
opencode / parent-session-title / Sub-Sessions
and of course sub-sessions is clickable to reveal a list of children sessions, or sub-sessions wouldnt even show up if there are none. My hope is that this addition would be very non-invasive unless there are other plans for the entire idea of breadcrumb up there seems like people dont notice it or use it.

I dont mind more stuff in that right panel as suggested in that pr either, in fact, maybe being encouraged to see parent + child session side by side would really make things more interesting.

telnet2 reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@fwang
fwang requested a review from adamdotdevin as a code owner January 9, 2026 06:32
@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 Mar 2, 2026
feat(tui): add Subagents section to session sidebar #15738
Closed
3 of 6 tasks
@github-actions

github-actions Bot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

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 Mar 9, 2026
@dezren39 dezren39 mentioned this pull request Nov 5, 2026
Tool-call support across custom providers — audit + tracking (2026-11-05) developing-today-forks/opencode#1708
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin

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.

4 participants

@dbpolito @adamdotdevin @diogosalazar @longsman
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.