- {translate(
- 'auto.components.ClaudeAgentViewIndicator.returnHint',
- 'Click the parent row to return. Esc stops this subagent. Enter sends your draft to this subagent.'
- )}
-
- )}
-
-
- )
-}
-
-export function ClaudeAgentSummaryViewIndicator({ agent }: { agent: DashboardAgentRow }) {
- const view = useClaudeAgentRowView(agent)
- return (
-
- )
-}
diff --git a/src/renderer/src/components/dashboard/DashboardAgentRow.tsx b/src/renderer/src/components/dashboard/DashboardAgentRow.tsx
index da76fb243d3..1710681883b 100644
--- a/src/renderer/src/components/dashboard/DashboardAgentRow.tsx
+++ b/src/renderer/src/components/dashboard/DashboardAgentRow.tsx
@@ -2,7 +2,6 @@ import React, { useState, useCallback } from 'react'
import { cn } from '@/lib/utils'
import { viewClaudeAgentFromRow } from '@/lib/claude-agent-row-view'
import { useClaudeAgentRowView } from './use-claude-agent-row-view'
-import { ClaudeAgentViewIndicator } from '@/components/ClaudeAgentViewIndicator'
import {
AgentStateDot,
agentStateLabel,
@@ -298,7 +297,6 @@ const DashboardAgentRow = React.memo(function DashboardAgentRow({
>
{displayLabel}
-
{model && (
(item.providerId ?? item.id) === view.agentId)
- const legacyChild = parent.subagents?.find((item) => item.id === view.agentId)
- const label =
- viewedChild?.name ||
- viewedChild?.description ||
- viewedChild?.agentType ||
- legacyChild?.description ||
- legacyChild?.agentType ||
- view.agentId
- return { current, agentId: view.agentId, child, label, focused }
+ const current =
+ agent.rowSource === 'subagent'
+ ? view.agentId === (agent.childRow?.providerId ?? agent.childRow?.id)
+ : !view.agentId
+ return { current, focused }
}
diff --git a/src/renderer/src/components/sidebar/worktree-card-compact-agent-row.tsx b/src/renderer/src/components/sidebar/worktree-card-compact-agent-row.tsx
index 2059a30ea01..aff304156ed 100644
--- a/src/renderer/src/components/sidebar/worktree-card-compact-agent-row.tsx
+++ b/src/renderer/src/components/sidebar/worktree-card-compact-agent-row.tsx
@@ -8,7 +8,6 @@ import { formatAgentTypeLabel } from '@/lib/agent-status'
import { cn } from '@/lib/utils'
import { viewClaudeAgentFromRow } from '@/lib/claude-agent-row-view'
import { useClaudeAgentRowView } from '@/components/dashboard/use-claude-agent-row-view'
-import { ClaudeAgentViewIndicator } from '@/components/ClaudeAgentViewIndicator'
import { getAgentDotState } from './worktree-card-agent-summary'
import { getAgentRowPrimaryText } from '../../../../shared/agent-row-primary-text'
import { formatAgentToolPreview } from '@/lib/agent-row-tool-preview'
@@ -249,7 +248,6 @@ export const CompactAgentRow = React.memo(function CompactAgentRow({
>
)}
-
{model && (
agent.paneKey === focusedPaneKey)
const summary = summarizeAgents(agents, subjectLabel)
const groups = buildSummaryAgentGroups(agents)
const visibleGroups = groups.slice(0, 3)
@@ -135,7 +131,6 @@ export function CompactAgentSummaryButton({
onPointerDown={stopPointerPropagation}
onDragStart={stopPointerPropagation}
>
- {!expanded && focusedAgent && }
{expanded ? (
{subjectLabel}
diff --git a/src/renderer/src/i18n/locales/en.json b/src/renderer/src/i18n/locales/en.json
index f8dc73a6d70..bfaf5dabfde 100644
--- a/src/renderer/src/i18n/locales/en.json
+++ b/src/renderer/src/i18n/locales/en.json
@@ -19209,11 +19209,6 @@
"cancelled": "This plain SSH terminal was closed before it started.",
"terminalUnavailable": "Orca couldn’t open a terminal here.",
"openHint": "Keeps you working on the host while Orca can’t set up there."
- },
- "ClaudeAgentViewIndicator": {
- "viewing": "Currently viewing",
- "viewingChild": "Viewing subagent {{name}}",
- "returnHint": "Click the parent row to return. Esc stops this subagent. Enter sends your draft to this subagent."
}
},
"i18n": {