MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / buildTaskStateMessage

Function buildTaskStateMessage

src/utils/taskStateMessage.ts:63–73  ·  view source on GitHub ↗
(
  taskListId: string,
  tasks: Task[],
)

Source from the content-addressed store, hash-verified

61}
62
63export function buildTaskStateMessage(
64 taskListId: string,
65 tasks: Task[],
66): TaskStateMessage {
67 const snapshot = buildTaskStateSnapshot(taskListId, tasks)
68 return {
69 type: 'task_state',
70 uuid: randomUUID(),
71 ...snapshot,
72 }
73}

Callers 2

publishTaskStateFunction · 0.85

Calls 1

buildTaskStateSnapshotFunction · 0.85

Tested by

no test coverage detected