From f08cc6bbeb8c7739cfe658323a28b2f4ff16635a Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 13 May 2026 18:32:36 -0500 Subject: [PATCH] fix(desktop): drop numbered step pill on subagent rows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pill was getting clipped at the overlay edge anyway. Just use the status glyph (●/✓/✗/■/○) — the delegation header already conveys "3 workers, 3 active", and order in the list implies which step you're looking at. --- apps/desktop/src/app/agents/index.tsx | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/apps/desktop/src/app/agents/index.tsx b/apps/desktop/src/app/agents/index.tsx index c9e063c344a..2fcf4a9273d 100644 --- a/apps/desktop/src/app/agents/index.tsx +++ b/apps/desktop/src/app/agents/index.tsx @@ -304,14 +304,6 @@ function StreamLine({ active, entry }: { active: boolean; entry: SubagentStreamE ) } -function indicatorTone(status: SubagentStatus, running: boolean): string { - if (running) return 'bg-primary/15 text-primary ring-2 ring-primary/30' - if (status === 'failed' || status === 'interrupted') return 'bg-destructive/15 text-destructive' - if (status === 'completed') return 'bg-emerald-500/15 text-emerald-600 dark:text-emerald-400' - - return 'bg-muted text-muted-foreground/85' -} - function SubagentRow({ node, depth = 0, nowMs }: { node: SubagentNode; depth?: number; nowMs: number }) { const running = node.status === 'running' || node.status === 'queued' const elapsed = useElapsedSeconds(running, `subagent:${node.id}`) @@ -325,7 +317,6 @@ function SubagentRow({ node, depth = 0, nowMs }: { node: SubagentNode; depth?: n const visibleRows = open ? node.stream.slice(-10) : node.stream.slice(-2) const fileLines = [...node.filesWritten.map(p => `+ ${p}`), ...node.filesRead.map(p => `· ${p}`)] - const step = node.taskCount > 1 ? `${node.taskIndex + 1}` : '' const subtitle = [ node.model, @@ -345,16 +336,20 @@ function SubagentRow({ node, depth = 0, nowMs }: { node: SubagentNode; depth?: n > - {step ? ( - step - ) : running ? ( + {running ? ( ) : ( - {STATUS_GLYPH[node.status]} + STATUS_GLYPH[node.status] )}