Skip to content

Agents list: show interactive sessions apart from background workers and subagents #1369

Closed

Description

@vibewriter-hand

Problem

The Agents list puts every live agent of every PC in one list. On a PC where an orchestrator starts background workers and subagents, the few sessions a person talks to are lost among them.

Measured on v0.4.12 (herdr 0.9.5, one PC): 94 agents in herdr agent list. 84 of them are background workers that run one task and exit; 10 are sessions a person talks to. The 10 sit between the workers, and their order changes as the workers change state.

In v0.4.12 the list has one split only: pinned rows first, then the rest (src/components/AgentSidebar.tsx:90-95, splitPinnedRows). A pin is keyed by pane id (sidebarPinKey), so it does not follow a session into a new pane, and it cannot keep the next new worker out of the main list.

Proposal

Show the Agents list in two parts: sessions a person drives, and background agents (workers, subagents). The background part starts folded and shows its count, as the section toggle already does for the whole list (AgentSidebar.tsx:180-184).

Take the split from herdr, not from a guess. herdr already lets a launcher tag a pane: herdr pane report-metadata <pane_id> --source <id> --token <name>=<value>, and since #1209 (97a4803 on main) the bridge reads pane tokens into the snapshot (shared/pane-tokens.ts). One documented token, for example role=background, set by whatever starts the worker, would put that pane in the background part. Panes without the token stay where they are today, so nothing changes for users who do not set it.

Pinned rows keep their card above both parts. A background agent that is blocked could still show in the main part until it is answered, so a question is never hidden in a folded group.

Where

Sidebar and navigation

Where it exists today

Workarounds and alternatives

Activity

  1. added a commit that references this issue on Nov 5, 2026
  2. added a commit that references this issue on Nov 5, 2026
    8111e94
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions