[BUG] OpenCode Desktop: Can't go back once you click on subagents #7331

Closed
opened 2026-02-16 18:06:51 -05:00 by yindo · 4 comments
Owner

Originally created by @deadcoder0904 on GitHub (Jan 23, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

There is no way to go back intuitively when you click on subagents just to check its output there should be a back button or a way to go back.

Plugins

OpenCode version

1.1.34

Steps to reproduce

  1. Create directory:
    mkdir -p .opencode/agents

  2. Put the following content into .opencode/agents/hello.md

    ---
    description: Prefixes input with "hello"
    mode: subagent
    ---
    Prepend the word "hello" to the user's input and return it.
    
  3. Put the following content into .opencode/agents/world.md

    ---
    description: Prefixes input with "world"
    mode: subagent
    ---
    Prepend the word "world" to the user's input and return it.
    
  4. Put the following content into .opencode/agents/greet.md

    ---
    description: Concatenates @hello and @world results.
    mode: subagent
    ---
    1. Pass the user's input to @hello and @world.
    2. Output their responses joined by a comma.
    

Then call it with @greet yo & then click on the sub-agent when it shows it like:

Image

There's no way to go back intuitively other than clicking on the conversation.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Ghostty

Originally created by @deadcoder0904 on GitHub (Jan 23, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description There is no way to go back intuitively when you click on subagents just to check its output there should be a back button or a way to go back. ### Plugins - ### OpenCode version 1.1.34 ### Steps to reproduce 1. Create directory: `mkdir -p .opencode/agents` 2. Put the following content into `.opencode/agents/hello.md` ```markdown --- description: Prefixes input with "hello" mode: subagent --- Prepend the word "hello" to the user's input and return it. ``` 3. Put the following content into `.opencode/agents/world.md` ```markdown --- description: Prefixes input with "world" mode: subagent --- Prepend the word "world" to the user's input and return it. ``` 4. Put the following content into `.opencode/agents/greet.md` ```markdown --- description: Concatenates @hello and @world results. mode: subagent --- 1. Pass the user's input to @hello and @world. 2. Output their responses joined by a comma. ``` Then call it with `@greet yo` & then click on the sub-agent when it shows it like: <img width="1290" height="1780" alt="Image" src="https://github.com/user-attachments/assets/184fc49e-faea-44ed-86c2-38161a2de361" /> There's no way to go back intuitively other than clicking on the conversation. ### Screenshot and/or share link _No response_ ### Operating System macOS ### Terminal Ghostty
yindo added the bugweb labels 2026-02-16 18:06:51 -05:00
yindo closed this issue 2026-02-16 18:06:51 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 23, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6491: Session does not automatically return to parent after subagent execution - addresses the same problem of getting stuck in subagent context and needing to manually navigate back
  • #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible - related issue about navigation and interaction within subagent views

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 23, 2026): This issue might be a duplicate of existing issues. Please check: - #6491: Session does not automatically return to parent after subagent execution - addresses the same problem of getting stuck in subagent context and needing to manually navigate back - #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible - related issue about navigation and interaction within subagent views Feel free to ignore if none of these address your specific case.
Author
Owner

@deadcoder0904 commented on GitHub (Jan 23, 2026):

#4422 looks like the same but I want this in OpenCode Desktop. Idk if there is a overlap between TUI or Desktop so if it gets fixed in one place, then another gets automatically fixed.

@deadcoder0904 commented on GitHub (Jan 23, 2026): #4422 looks like the same but I want this in OpenCode Desktop. Idk if there is a overlap between TUI or Desktop so if it gets fixed in one place, then another gets automatically fixed.
Author
Owner

@nukeop commented on GitHub (Jan 23, 2026):

I opened a ticket for this and then the bot showed me you already did, just a few hours earlier. You've got my support

@nukeop commented on GitHub (Jan 23, 2026): I opened a ticket for this and then the bot showed me you already did, just a few hours earlier. You've got my support
Author
Owner

@deadcoder0904 commented on GitHub (Jan 23, 2026):

Oh yeah, the bot is real good but the search isn't so it doesn't show up when you search early on. Wish I could cc github lol.

@deadcoder0904 commented on GitHub (Jan 23, 2026): Oh yeah, the bot is real good but the search isn't so it doesn't show up when you search early on. Wish I could cc github lol.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7331