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

Function normalizeStatus

src/core/tools/UpdateTodoListTool.ts:172–176  ·  view source on GitHub ↗
(status: string | undefined)

Source from the content-addressed store, hash-verified

170}
171
172function normalizeStatus(status: string | undefined): TodoStatus {
173 if (status === "completed") return "completed"
174 if (status === "in_progress") return "in_progress"
175 return "pending"
176}
177
178export function parseMarkdownChecklist(md: string): TodoItem[] {
179 if (typeof md !== "string") return []

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected