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

Function parsePlanTaskValue

orchestrate/skills/orchestrate/scripts/schemas.ts:571–578  ·  view source on GitHub ↗
(value: unknown, source: string)

Source from the content-addressed store, hash-verified

569}
570
571export function parsePlanTaskValue(value: unknown, source: string): PlanTask {
572 return parseUnknownWithSchema({
573 schema: PlanTaskSchema,
574 value,
575 source,
576 recoveryHint: "Fix the task definition before spawning.",
577 });
578}
579
580export function parseStateJson(text: string, source: string): State {
581 return parseJsonWithSchema({

Callers 1

registerTaskCommandsFunction · 0.90

Calls 1

parseUnknownWithSchemaFunction · 0.85

Tested by

no test coverage detected