MCPcopy Create free account
hub / github.com/WJX20/claude-code / isLocalAgentTask

Function isLocalAgentTask

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

Source from the content-addressed store, hash-verified

148 evictAfter?: number;
149};
150export function isLocalAgentTask(task: unknown): task is LocalAgentTaskState {
151 return typeof task === 'object' && task !== null && 'type' in task && task.type === 'local_agent';
152}
153
154/**
155 * 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