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

Function getAllTasks

src/tasks.ts:22–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 * Note: Returns array inline to avoid circular dependency issues with top-level const
21 */
22export function getAllTasks(): Task[] {
23 const tasks: Task[] = [
24 LocalShellTask,
25 LocalAgentTask,
26 RemoteAgentTask,
27 DreamTask,
28 ]
29 if (LocalWorkflowTask) tasks.push(LocalWorkflowTask)
30 if (MonitorMcpTask) tasks.push(MonitorMcpTask)
31 return tasks
32}
33
34/**
35 * Get a task by its type.

Callers 1

getTaskByTypeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected