MCPcopy
hub / github.com/kodu-ai/claude-coder / getTaskText

Method getTaskText

extension/src/api/api-handler.ts:425–429  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

423 }
424
425 private getTaskText(str: string) {
426 const [taskStartTag, taskEndTag] = ["<task>", "</task>"]
427 const [start, end] = [str.indexOf(taskStartTag), str.indexOf(taskEndTag)]
428 return str.slice(start + taskStartTag.length, end)
429 }
430
431 private log(status: "info" | "debug" | "error", message: string, ...args: any[]) {
432 console[status](`[API Manager] ${message}`, ...args)

Callers 1

executeRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected