diff --git a/src/renderer/src/workspace/dispatch/DispatchLayout.tsx b/src/renderer/src/workspace/dispatch/DispatchLayout.tsx index 10a9e1c56..4c9375dc4 100644 --- a/src/renderer/src/workspace/dispatch/DispatchLayout.tsx +++ b/src/renderer/src/workspace/dispatch/DispatchLayout.tsx @@ -207,6 +207,14 @@ const DispatchAgentListRow = memo(function DispatchAgentListRow({ workContext: current?.workContext, workActivity: current?.workActivity, entries: current?.entries, + unreadSince: current?.unreadSince, + unreadKind: current?.unreadKind, + pendingApproval: current?.pendingApproval, + pendingTrustDialog: current?.pendingTrustDialog, + pendingResumePrompt: current?.pendingResumePrompt, + pendingPermissionPrompt: current?.pendingPermissionPrompt, + pendingCompaction: current?.pendingCompaction, + processError: current?.processError, } })) const onSelect = useCallback(() => { @@ -218,6 +226,12 @@ const DispatchAgentListRow = memo(function DispatchAgentListRow({ const title = runtime.entries ? cachedLatestPromptTitle(runtime.entries, row.kind) ?? row.title : row.title + const attentionLabel = dispatchAttentionLabel(runtime) + const unreadKind = attentionLabel + ? 'attention' + : runtime.unreadKind === 'attention' + ? 'output' + : runtime.unreadKind return (