import { Static, Type } from "typebox"; import { Context } from "@deepseek-ai/cordis"; //#region src/schemas/fablePlan.d.ts export declare const FABLE_PLAN_REQUESTER: '@agimon-ai/doompi-plan'; export declare const FABLE_PLAN_RUNTIME: 'claude'; export declare const FABLE_PLAN_MODEL: 'fable'; export declare const FABLE_PLAN_PROFILE: 'claude/fable-plan-v1'; export declare const DOOM_FABLE_PLAN_SERVICE = "doom/fable-plan"; export declare const FablePlanFindingSchema: Type.TObject<{ path: Type.TString; finding: Type.TString; }>; export type FablePlanFinding = Static; export 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; }>; export type FablePlanPacket = Static; export declare const FablePlanStageSchema: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">, Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; export type FablePlanStage = Static; export declare const FablePlanStatusSchema: Type.TUnion<[Type.TLiteral<"completed">, Type.TLiteral<"failed">, Type.TLiteral<"timed_out">, Type.TLiteral<"cancelled">, Type.TLiteral<"interrupted">]>; export type FablePlanStatus = Static; export 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; }>; }>; export type FablePlanStartPayload = Static; export declare const FablePlanStartedSchema: Type.TObject<{ operationId: Type.TString; runId: Type.TString; stage: Type.TUnion<[Type.TLiteral<"draft">, Type.TLiteral<"review">]>; }>; export type FablePlanStartedPayload = Static; export 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; }>; export type FablePlanProgressPayload = Static; export 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; }>; export type FablePlanResultPayload = Static; export declare const FablePlanCancelSchema: Type.TObject<{ requester: Type.TLiteral<"@agimon-ai/doompi-plan">; operationId: Type.TString; reason: Type.TString; }>; export type FablePlanCancelPayload = Static; export 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; } } export declare function readDoomFablePlanService(ctx: Context): DoomFablePlanService | undefined; //#endregion //# sourceMappingURL=fablePlan.d.cts.map