diff --git a/src/renderer/src/components/NativeChatResumeOnRestartGroups.tsx b/src/renderer/src/components/NativeChatResumeOnRestartGroups.tsx index f33c1a730f5..6aa64946a02 100644 --- a/src/renderer/src/components/NativeChatResumeOnRestartGroups.tsx +++ b/src/renderer/src/components/NativeChatResumeOnRestartGroups.tsx @@ -3,7 +3,7 @@ import { Button } from './ui/button' import { RepoIconGlyph } from '@/components/repo/repo-icon' import { CompactAgentExpansion } from '@/components/sidebar/worktree-card-compact-agents' import { AgentIcon } from '@/lib/agent-catalog' -import { agentTypeToIconAgent } from '@/lib/agent-status' +import { agentTypeToIconAgent, formatAgentTypeLabel } from '@/lib/agent-status' import { formatShortTimeAgo } from '@/lib/short-time-ago' import { translate } from '@/i18n/i18n' import { useAppStore } from '../store' @@ -69,9 +69,14 @@ function ResumeCandidateRow({ busy: boolean onReconnect: () => void }): React.JSX.Element { + const agentLabel = formatAgentTypeLabel(candidate.agent) return (
{candidate.latestPrompt.trim() || @@ -82,7 +87,20 @@ function ResumeCandidateRow({ {formatShortTimeAgo(candidate.recordedAt, listedAt)} -