Compare commits

...
Author SHA1 Message Date
t3-code[bot]andUtkarsh Patil dfb884e5d4 test(web): remove subagent style contract test
Co-authored-by: Utkarsh Patil <[email protected]>
2026-08-12 20:52:58 +00:00
t3-code[bot] 1bb371e860 Merge remote-tracking branch 'origin/main' into fix/subagent-bar-left-radius 2026-08-12 18:48:49 +00:00
t3-code[bot]andUtkarsh Patil 48adadcc55 style(web): remove redundant subagent chevron
Co-authored-by: Utkarsh Patil <[email protected]>
2026-08-12 17:50:57 +00:00
t3-code[bot]andUtkarsh Patil 6bd7bdb99c fix(web): label compact agents action
Co-authored-by: Utkarsh Patil <[email protected]>
2026-08-12 16:40:34 +00:00
t3-code[bot]andUtkarsh Patil 4cd17fdf84 style(web): match subagent card to diff bar
Co-authored-by: Utkarsh Patil <[email protected]>
2026-08-12 16:32:17 +00:00
t3-code[bot]andWout Stiens fa8d81fb00 fix(web): align subagent bar corners
Co-authored-by: Wout Stiens <[email protected]>
2026-08-12 15:33:09 +00:00
@@ -2188,26 +2188,43 @@ const AgentSpawnCtaRow = memo(function AgentSpawnCtaRow(props: { workEntry: Time
? `${failed} failed`
: "✓ completed";
const actionLabel = live ? "Open agents" : "View agents";
return (
<button
type="button"
onClick={onOpenAgents}
className="-mx-1 flex w-full items-center gap-2 rounded-md border border-border/60 bg-card/50 px-2.5 py-1.5 text-left text-[13px] transition hover:bg-accent/50"
>
<span aria-hidden className={cn("size-1.5 shrink-0 rounded-full", dotClass)} />
<WorkEntryIconSvg name="bot" className="size-3.5 shrink-0 text-muted-foreground" />
<span className="min-w-0 truncate">
<span className="font-medium">{lead}</span>
{workflowName ? <span className="text-muted-foreground"> · {workflowName}</span> : null}
</span>
<span className="ml-auto flex shrink-0 items-center gap-2 font-mono text-[.7rem] text-muted-foreground">
<span>{status}</span>
{totalTokens > 0 ? (
<span className="tabular-nums">Σ {formatSubagentTokenCount(totalTokens)}</span>
) : null}
<span className="text-info-foreground">{live ? "Open Agents ▸" : "View ▸"}</span>
</span>
</button>
<div className="@container/agent-spawn rounded-2xl border border-border/70 bg-secondary p-2 dark:border-transparent dark:bg-input/32">
<div className="flex items-center justify-between gap-2 rounded-xl px-1">
<button
type="button"
onClick={onOpenAgents}
className="group flex min-w-0 flex-1 items-center gap-1.5 overflow-hidden rounded-lg px-1 py-1.5 text-left transition-colors hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<span className="flex min-w-0 shrink-0 items-center gap-1.5 whitespace-nowrap font-medium text-foreground text-xs leading-4">
<span aria-hidden className={cn("size-1.5 shrink-0 rounded-full", dotClass)} />
<WorkEntryIconSvg name="bot" className="size-3.5 shrink-0 text-muted-foreground" />
<span className="truncate">{lead}</span>
</span>
{workflowName ? (
<span className="ml-1 hidden min-w-0 flex-1 truncate text-[11px] text-muted-foreground group-hover:text-foreground/80 @[24rem]/agent-spawn:inline">
{workflowName}
</span>
) : null}
<span className="ml-1 hidden min-w-0 flex-1 truncate text-[11px] text-muted-foreground group-hover:text-foreground/80 @[24rem]/agent-spawn:inline">
{status}
{totalTokens > 0 ? ` · Σ ${formatSubagentTokenCount(totalTokens)}` : ""}
</span>
</button>
<Button
type="button"
size="xs"
variant="outline"
aria-label={actionLabel}
onClick={onOpenAgents}
>
<BotIcon className="size-3" />
<span className="hidden @[24rem]/agent-spawn:inline">{actionLabel}</span>
</Button>
</div>
</div>
);
});