Skip to content

Subagents get the orchestrator/worker visuals: nested under the thread in the sidebar #542

Closed

Description

@currentbits

Request

Orchestrator → worker threads get two connected visuals:

  1. Sidebar: worker cards nest under the orchestrator card with an indent + elbow connector (data-nested, attachForks).
  2. Agents panel: a Team section lists the roster with role chips and status pills.

In-session subagents (Agent/Task tool, issue #21) already appear in the Agents panel "Subagents" section and feed the "Waiting on N" line, but the sidebar shows nothing connected to the thread.

Plan

  • Sidebar: render compact subagent rows nested under the parent thread card, reusing the nested indent + elbow visual. Rows show a live status dot + description; clicking selects the parent thread (subagents are not threads, nothing to navigate to).
  • Scope: running subagents only in the sidebar — the sidebar is the live overview (mirrors buildWaitStates, which also counts running only). Finished/failed rows stay visible in the Agents panel roster; keeping done rows in the sidebar forever would clutter it (runner keeps up to SUBAGENT_ROWS_MAX = 20 rows per thread).
  • Agents panel: no change needed; the Subagents section already reuses the TeamRow visuals.
  • Tests: sidebar renders nested rows for running subagents, hides done/failed, click selects the parent thread.

Activity

  1. added
    enhancement
    plan:doing
    plan:done
    and removed
    plan:doing
    on Aug 18, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Done on branch of thread 2b447347: Sidebar SubagentRows nest running subagents under the parent thread card with the worker elbow visual; Agents panel already had the Subagents roster. Typecheck clean, renderer suite 1147/1147.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions