MCPcopy
hub / github.com/codeaashu/claude-code / isLocalAgentTask

Function isLocalAgentTask

src/tasks/LocalAgentTask/LocalAgentTask.tsx:149–151  ·  view source on GitHub ↗
(task: unknown)

Source from the content-addressed store, hash-verified

147 evictAfter?: number;
148};
149export function isLocalAgentTask(task: unknown): task is LocalAgentTaskState {
150 return typeof task === 'object' && task !== null && 'type' in task && task.type === 'local_agent';
151}
152
153/**
154 * A local_agent task that the CoordinatorTaskPanel manages (not main-session).

Callers 12

runAsyncAgentLifecycleFunction · 0.85
callFunction · 0.85
callFunction · 0.85
clearConversationFunction · 0.85
REPLFunction · 0.85
hasForegroundTasksFunction · 0.85
backgroundAllFunction · 0.85
isPanelAgentTaskFunction · 0.85
drainPendingMessagesFunction · 0.85
registerAgentForegroundFunction · 0.85
backgroundAgentTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected