import { Static, Type } from "typebox"; import { Context } from "@deepseek-ai/cordis"; //#region src/schemas/fablePlanApi.d.ts declare const FABLE_PLAN_REQUESTER: '@agimon-ai/doompi-plan'; declare const FABLE_PLAN_RUNTIME: 'claude'; declare const FABLE_PLAN_MODEL: 'fable'; declare const FABLE_PLAN_PROFILE: 'claude/fable-plan-v1'; declare const DOOM_FABLE_PLAN_SERVICE = "doom/fable-plan"; declare const FablePlanFindingSchema: Type.TObject<{ path: Type.TString; finding: Type.TString; }>; type FablePlanFinding = Static; declare const FablePlanPacketSchema: Type.TObject<{ goal: Type.TArray; constraints: Type.TArray; decisions: Type.TArray; verifiedFindings: Type.TArray>; inferredFindings: Type.TArray; unresolvedQuestions: Type.TArray; currentPlan: Type.TOptional; }>; type FablePlanPacket = Static; declare const FablePlanStageSchema: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; type FablePlanStage = Static; declare const FablePlanStatusSchema: Type.TUnion<[Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"timed_out">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; type FablePlanStatus = Static; declare const FablePlanStartSchema: Type.TObject<{ requester: Type.TLiteral<"@agimon-ai/doompi-plan">; operationId: Type.TString; runtime: Type.TLiteral<"claude">; model: Type.TLiteral<"fable">; profile: Type.TLiteral<"claude/fable-plan-v1">; packet: Type.TObject<{ goal: Type.TArray; constraints: Type.TArray; decisions: Type.TArray; verifiedFindings: Type.TArray>; inferredFindings: Type.TArray; unresolvedQuestions: Type.TArray; currentPlan: Type.TOptional; }>; }>; type FablePlanStartPayload = Static; declare const FablePlanStartedSchema: Type.TObject<{ operationId: Type.TString; runId: Type.TString; stage: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">]>; }>; type FablePlanStartedPayload = Static; declare const FablePlanProgressSchema: Type.TObject<{ operationId: Type.TString; runId: Type.TString; stage: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">]>; status: Type.TString; durationMs: Type.TInteger; }>; type FablePlanProgressPayload = Static; declare const FablePlanResultSchema: Type.TObject<{ operationId: Type.TString; status: Type.TUnion<[Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"timed_out">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; stage: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; draft: Type.TOptional; review: Type.TOptional; draftRunId: Type.TOptional; reviewRunId: Type.TOptional; durationMs: Type.TInteger; errorCode: Type.TOptional; }>; type FablePlanResultPayload = Static; declare const FablePlanCancelSchema: Type.TObject<{ requester: Type.TLiteral<"@agimon-ai/doompi-plan">; operationId: Type.TString; reason: Type.TString; }>; type FablePlanCancelPayload = Static; interface DoomFablePlanService { readonly sessionId: string; readonly generation: string; start(request: FablePlanStartPayload, signal: AbortSignal): Promise; cancel(request: FablePlanCancelPayload): void; } declare module '@deepseek-ai/cordis' { interface Context { 'doom/fable-plan': DoomFablePlanService; } } declare function readDoomFablePlanService(ctx: Context): DoomFablePlanService | undefined; //#endregion export { FablePlanStatus as C, FablePlanStartedSchema as S, readDoomFablePlanService as T, FablePlanStage as _, FABLE_PLAN_REQUESTER as a, FablePlanStartSchema as b, FablePlanCancelSchema as c, FablePlanPacket as d, FablePlanPacketSchema as f, FablePlanResultSchema as g, FablePlanResultPayload as h, FABLE_PLAN_PROFILE as i, FablePlanFinding as l, FablePlanProgressSchema as m, DoomFablePlanService as n, FABLE_PLAN_RUNTIME as o, FablePlanProgressPayload as p, FABLE_PLAN_MODEL as r, FablePlanCancelPayload as s, DOOM_FABLE_PLAN_SERVICE as t, FablePlanFindingSchema as u, FablePlanStageSchema as v, FablePlanStatusSchema as w, FablePlanStartedPayload as x, FablePlanStartPayload as y }; //# sourceMappingURL=fablePlanApi-DmtPQBCc.d.mts.map