MCPcopy Index your code
hub / github.com/Noumena-Network/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 9

isPanelAgentTaskFunction · 0.70
drainPendingMessagesFunction · 0.70
registerAgentForegroundFunction · 0.70
backgroundAgentTaskFunction · 0.70
clearConversationFunction · 0.50
REPLFunction · 0.50
hasForegroundTasksFunction · 0.50
backgroundAllFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected