Skip to content

ResumeResultZ

const ResumeResultZ: ZodUnion<readonly [ZodObject<{ candidates: ZodOptional<ZodArray<ZodObject<{ activePhase: ZodNullable<ZodString>; fileName: ZodString; generatedAt: ZodNullable<ZodString>; label: ZodNullable<ZodString>; liveLoopPosition: ZodNullable<ZodString>; loopPosition: ZodNullable<ZodString>; path: ZodString; source: ZodEnum<{ local: "local"; sibling: "sibling"; }>; worktreeBranch: ZodNullable<ZodString>; worktreePath: ZodString; }, $strip>>>; found: ZodLiteral<false>; }, $strip>, ZodObject<{ candidates: ZodOptional<ZodArray<ZodObject<{ activePhase: ZodNullable<ZodString>; fileName: ZodString; generatedAt: ZodNullable<ZodString>; label: ZodNullable<ZodString>; liveLoopPosition: ZodNullable<ZodString>; loopPosition: ZodNullable<ZodString>; path: ZodString; source: ZodEnum<{ local: "local"; sibling: "sibling"; }>; worktreeBranch: ZodNullable<ZodString>; worktreePath: ZodString; }, $strip>>>; context: ZodNullable<ZodObject<{ assumptions: ZodArray<ZodObject<{ id: ZodString; recommendationId: ZodString; status: ZodLiteral<…>; text: ZodString; }, $strip>>; decisions: ZodArray<ZodObject<{ id: ZodString; rationale: ZodString; recommendationId: ZodOptional<…>; status: ZodLiteral<…>; title: ZodString; }, $strip>>; files: ZodArray<ZodObject<{ path: ZodString; why: ZodString; }, $strip>>; generatedAt: ZodString; loop: ZodObject<{ activeDraft: ZodOptional<ZodNullable<…>>; activePhase: ZodOptional<ZodNullable<…>>; activeSpec: ZodOptional<ZodNullable<…>>; loopPosition: ZodOptional<ZodString>; nextAction: ZodOptional<ZodString>; present: ZodBoolean; stateError: ZodOptional<ZodString>; tier: ZodOptional<ZodNullable<…>>; }, $strip>; needsAttention: ZodOptional<ZodArray<ZodObject<{ id: …; priority: …; readiness: …; score: …; status: …; suggestedBackendAction: …; title: …; }, $strip>>>; recommendations: ZodArray<ZodObject<{ id: ZodString; priority: ZodEnum<…>; readiness: ZodEnum<…>; score: ZodNumber; status: ZodEnum<…>; suggestedBackendAction: ZodOptional<…>; title: ZodString; }, $strip>>; schemaVersion: ZodLiteral<1>; scope: ZodEnum<{ agent: "agent"; handoff: "handoff"; phase: "phase"; review: "review"; }>; totals: ZodObject<{ assumptions: ZodNumber; decisions: ZodNumber; files: ZodNumber; recommendations: ZodNumber; recommendationsOmitted: ZodNumber; }, $strip>; }, $strip>>; danglingHandoffPointer: ZodOptional<ZodString>; doc: ZodString; drift: ZodNullable<ZodObject<{ docLoopPosition: ZodString; liveLoopPosition: ZodString; }, $strip>>; found: ZodLiteral<true>; generatedAt: ZodNullable<ZodString>; handoffPath: ZodString; mode: ZodEnum<{ brief: "brief"; full: "full"; }>; pickedSource: ZodOptional<ZodEnum<{ local: "local"; sibling: "sibling"; }>>; pickedWorktree: ZodOptional<ZodString>; remote: ZodOptional<ZodObject<{ ahead: ZodOptional<ZodNumber>; behind: ZodOptional<ZodNumber>; branch: ZodOptional<ZodString>; checked: ZodBoolean; reason: ZodOptional<ZodEnum<{ detached: "detached"; fetch-failed: "fetch-failed"; no-upstream: "no-upstream"; not-a-repo: "not-a-repo"; }>>; }, $strip>>; unfilled: ZodOptional<ZodArray<ZodString>>; }, $strip>]>

Defined in: types/src/handoff.ts:73

cadence resume --json payload.