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

Function parsePlanJson

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

Source from the content-addressed store, hash-verified

540}
541
542export function parsePlanJson(text: string, source: string): Plan {
543 return parseJsonWithSchema({
544 schema: PlanSchema,
545 text,
546 source,
547 recoveryHint: "Fix the offending fields before running orchestrate again.",
548 rejectDeletedTrackerFields: true,
549 });
550}
551
552export function parsePlanValue(value: unknown, source: string): Plan {
553 return parseUnknownWithSchema({

Callers 7

loadMethod · 0.90
loadAndonTargetOrBailFunction · 0.90
loadKickoffRefOrBailFunction · 0.90
schemas.test.tsFile · 0.90

Calls 1

parseJsonWithSchemaFunction · 0.85

Tested by

no test coverage detected