MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / setTodoListForTask

Function setTodoListForTask

src/core/tools/UpdateTodoListTool.ts:148–151  ·  view source on GitHub ↗
(cline?: Task, todos?: TodoItem[])

Source from the content-addressed store, hash-verified

146}
147
148export async function setTodoListForTask(cline?: Task, todos?: TodoItem[]) {
149 if (cline === undefined) return
150 cline.todoList = Array.isArray(todos) ? todos : []
151}
152
153export function restoreTodoListForTask(cline: Task, todoList?: TodoItem[]) {
154 if (todoList) {

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected