MCPcopy Index your code
hub / github.com/codeaashu/claude-code / markAgentsNotified

Function markAgentsNotified

src/tasks/LocalAgentTask/LocalAgentTask.tsx:322–332  ·  view source on GitHub ↗
(taskId: string, setAppState: SetAppState)

Source from the content-addressed store, hash-verified

320 * when a single aggregate message is sent instead.
321 */
322export function markAgentsNotified(taskId: string, setAppState: SetAppState): void {
323 updateTaskState<LocalAgentTaskState>(taskId, setAppState, task => {
324 if (task.notified) {
325 return task;
326 }
327 return {
328 ...task,
329 notified: true
330 };
331 });
332}
333
334/**
335 * Update progress for an agent task.

Callers 1

CancelRequestHandlerFunction · 0.85

Calls 1

updateTaskStateFunction · 0.50

Tested by

no test coverage detected