Skip to content

Direct child sessions are hidden in parent session UI #29175

@ChamHerry

Description

@ChamHerry

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

  1. Create a parent session.
  2. Create a child session with parentID via the session API, without a native task tool part.
  3. 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions