You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sidebar: "Agents" section above role sections, collapse all, working icon in role summaries #753
The owner asked on 2026-11-28 for agent role sections to sit under one "Agents" section that matches Tasks, with an easy way to collapse them all.
Decided (owner, 2026-11-28)
Agents section. Each orchestrator gets one Agents row, the same level and style as the project's Tasks row (apps/web/src/components/sidebar/SidebarProjectTasks.tsx): a chevron, "Agents", a count and a state summary. The orchestrator's role sections (Implementors, Reviewers, …) sit beneath it and stay individually collapsible.
Role sections for agents with no orchestrator parent go under a project-level Agents row beside Tasks.
Agents and Tasks both expand and collapse, and their state persists the way role sections do today.
Collapse all.
Alt-click (Option-click) any Agents, Tasks or role-section chevron to collapse or expand every such section in the sidebar.
Add a "Collapse all agent and task sections" action (with its expand counterpart) to the sidebar menu and the command palette.
Working icon. Role-section and Agents summaries drop the "N working" text. They show the same blue working icon a working thread row shows (LoaderCircleIcon, text-info-foreground, TopStatusIcon in SidebarThreadRow.tsx) followed by the count. "Waiting" and "failed" stay as text.
Shared formatting lives in formatSidebarAgentStates in packages/client-runtime/src/state/sidebarFamilies.ts.
Surfaces
Web and desktop sidebar.
Mobile thread list (apps/mobile/src/features/threads/thread-list-v2-items.tsx) gets the same Agents grouping and working icon. Alt-click and the command palette are web-only; the mobile collapse-all equivalent is the worker's call.
New copy is translated in web and mobile (vp run i18n:generate).
Done when
Agents rows render in the correct places on web and mobile.
Collapse all works by alt-click and by the menu or palette action.
Summaries show the working icon in place of "N working".
Tests cover the grouping and the collapse-all state.
Activity
feat(sidebar): group agents and add global section toggles (#753) (#754)