MCPcopy Create free account
hub / github.com/cursor/plugins / parsePlanTaskJson

Function parsePlanTaskJson

orchestrate/skills/orchestrate/scripts/schemas.ts:562–569  ·  view source on GitHub ↗
(text: string, source: string)

Source from the content-addressed store, hash-verified

560}
561
562export function parsePlanTaskJson(text: string, source: string): PlanTask {
563 return parseJsonWithSchema({
564 schema: PlanTaskSchema,
565 text,
566 source,
567 recoveryHint: "Fix the task definition before spawning.",
568 });
569}
570
571export function parsePlanTaskValue(value: unknown, source: string): PlanTask {
572 return parseUnknownWithSchema({

Callers 1

registerTaskCommandsFunction · 0.90

Calls 1

parseJsonWithSchemaFunction · 0.85

Tested by

no test coverage detected