Description
Child sessions created directly with session.create(parentID) are not shown in the parent session UI. The session exists and can stream events, but the TUI only discovers subagents from native task tool metadata, so plugin-created child sessions look invisible from the parent.
Plugins
Plugin-created child sessions using the session API.
OpenCode version
Current dev branch.
Steps to reproduce
- Create a parent session.
- Create a child session with
parentID via the session API, without a native task tool part.
- Observe the parent session UI.
Expected: the child appears as a subagent/child session entry.
Actual: no subagent entry is shown.
Screenshot and/or share link
Not available.
Operating System
macOS
Terminal
Terminal TUI
Description
Child sessions created directly with
session.create(parentID)are not shown in the parent session UI. The session exists and can stream events, but the TUI only discovers subagents from nativetasktool metadata, so plugin-created child sessions look invisible from the parent.Plugins
Plugin-created child sessions using the session API.
OpenCode version
Current dev branch.
Steps to reproduce
parentIDvia the session API, without a nativetasktool part.Expected: the child appears as a subagent/child session entry.
Actual: no subagent entry is shown.
Screenshot and/or share link
Not available.
Operating System
macOS
Terminal
Terminal TUI