Keep collapsed sidebar agent cards steady when the child arrow appears (#29246)

* fix(sidebar): keep agent card height stable across child disclosure

* test(sidebar): update child row snapshots for stable disclosure height
This commit is contained in:
Neil
2026-10-15 18:55:18 -07:00
committed by GitHub
parent 9be9d1119f
commit 57125285fc
3 changed files with 15 additions and 13 deletions
@@ -76,8 +76,9 @@ export function DashboardAgentRowTrailingControls({
return (
<span
className={cn(
'relative ml-auto flex shrink-0 items-center justify-end',
hasChildDisclosure ? 'h-5 gap-1' : 'h-3.5 w-12'
// Reserve the disclosure height even when there are no children.
'relative ml-auto flex h-5 shrink-0 items-center justify-end',
hasChildDisclosure ? 'gap-1' : 'w-12'
)}
>
{(sendTargetStatus === 'eligible' || sendTargetStatus === 'sending') && (
@@ -316,8 +316,9 @@ const WorktreeCardAgentsBody = React.memo(function WorktreeCardAgentsBody({
: undefined
const descendantAncestorPaneKeys = new Set(ancestorPaneKeys)
descendantAncestorPaneKeys.add(agent.paneKey)
// Keep collapsed children from occupying a separate flex-gap slot.
return (
<React.Fragment key={agent.paneKey}>
<div key={agent.paneKey} className="min-w-0">
<CompactAgentRow
agent={agent}
now={now}
@@ -349,7 +350,7 @@ const WorktreeCardAgentsBody = React.memo(function WorktreeCardAgentsBody({
</div>
</CompactAgentExpansion>
) : null}
</React.Fragment>
</div>
)
}
@@ -28,19 +28,19 @@ exports[`sidebar child rows from a legacy subagents snapshot > render the compac
exports[`sidebar child rows from a legacy subagents snapshot > render the full rows exactly as before 1`] = `
[
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 10m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Review the parser">Review the parser</span><span class="max-w-24 shrink-0 truncate font-mono text-[10px] text-muted-foreground/70" title="claude-sonnet">claude-sonnet</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">10m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 8m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Explore">Explore</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">8m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 16m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Working">Working</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">16m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Waiting for input" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Waiting for input"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle-question-mark text-agent-question size-2.5" aria-hidden="true"><path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"></path><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><path d="M12 17h.01"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Approve edits">Approve edits</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Blocked" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Blocked"><span class="block rounded-full size-1.5 bg-red-500"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Rate limited">Rate limited</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Idle" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Idle"><span class="block rounded-full size-1.5 bg-neutral-500/40"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Teammate">Teammate</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Lost child">Lost child</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 10m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Review the parser">Review the parser</span><span class="max-w-24 shrink-0 truncate font-mono text-[10px] text-muted-foreground/70" title="claude-sonnet">claude-sonnet</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">10m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 8m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Explore">Explore</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">8m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 16m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Working" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Working"><span data-agent-spinner="" class="agent-working-spinner block rounded-full border-2 border-yellow-500 border-t-transparent motion-reduce:border-t-yellow-500 size-1.5"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Working">Working</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">16m ago</span></span></div><div data-agent-row-tool-slot="" class="mt-0.5 min-w-0 pl-5 text-[10px] leading-snug text-muted-foreground/70"><span data-agent-row-tool-placeholder="true" aria-hidden="true" class="block h-[1lh]"></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Waiting for input" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Waiting for input"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-message-circle-question-mark text-agent-question size-2.5" aria-hidden="true"><path d="M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719"></path><path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path><path d="M12 17h.01"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Approve edits">Approve edits</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Blocked" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Blocked"><span class="block rounded-full size-1.5 bg-red-500"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Rate limited">Rate limited</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="Idle" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="Idle"><span class="block rounded-full size-1.5 bg-neutral-500/40"></span></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Teammate">Teammate</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">6m ago</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 6m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Lost child">Lost child</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
]
`;
exports[`sidebar child rows from a legacy subagents snapshot > render the full rows exactly as before 2`] = `
[
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 10m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Review the parser">Review the parser</span><span class="max-w-24 shrink-0 truncate font-mono text-[10px] text-muted-foreground/70" title="claude-sonnet">claude-sonnet</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 8m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Explore">Explore</span><span class="relative ml-auto flex shrink-0 items-center justify-end h-3.5 w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 10m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Review the parser">Review the parser</span><span class="max-w-24 shrink-0 truncate font-mono text-[10px] text-muted-foreground/70" title="claude-sonnet">claude-sonnet</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
"<div class="agent-disclosure-row group/agent-row relative -ml-2 flex flex-col py-1 px-2 cursor-pointer rounded-sm worktree-agent-row-hover" title="No update in 5m • started 8m ago"><div class="flex items-center gap-1.5"><span class="inline-flex shrink-0 items-center justify-center" aria-label="No update in 5m" data-state="closed" data-slot="tooltip-trigger"><span class="inline-flex shrink-0 items-center justify-center h-2.5 w-2.5" aria-label="No recent update"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-circle-dashed text-amber-500 size-2.5" aria-hidden="true"><path d="M10.1 2.182a10 10 0 0 1 3.8 0"></path><path d="M13.9 21.818a10 10 0 0 1-3.8 0"></path><path d="M17.609 3.721a10 10 0 0 1 2.69 2.7"></path><path d="M2.182 13.9a10 10 0 0 1 0-3.8"></path><path d="M20.279 17.609a10 10 0 0 1-2.7 2.69"></path><path d="M21.818 10.1a10 10 0 0 1 0 3.8"></path><path d="M3.721 6.391a10 10 0 0 1 2.7-2.69"></path><path d="M6.391 20.279a10 10 0 0 1-2.69-2.7"></path></svg></span></span><span class="block min-w-0 flex-1 overflow-hidden text-[11px] leading-snug transition-[height] duration-200 ease-out [interpolate-size:allow-keywords] h-[1lh] truncate font-normal text-muted-foreground" title="Explore">Explore</span><span class="relative ml-auto flex h-5 shrink-0 items-center justify-end w-12"><span class="pointer-events-none shrink-0 text-[10px] leading-none text-muted-foreground/60" aria-hidden="true">No update in 5m</span></span></div><div class="mt-0.5 pl-5 text-[10px] leading-snug text-muted-foreground/70"> </div></div>",
]
`;