import type { EpisodeSummary } from "../episodes/protocol.js"; import type { SlotName, ToolType } from "../slots/types.js"; export interface OrchestratorTask { id: string; prompt: string; toolType?: ToolType; targetSlot?: SlotName; systemPrompt?: string; history?: Array<{ role: "user" | "assistant"; content: string; }>; metadata?: Record; /** Episodes to inject as context for this dispatch (thread composition). */ inputEpisodes?: EpisodeSummary[]; } export interface WorkerResult { taskId: string; slot: SlotName; content: string; tokens: { input: number; output: number; }; duration: number; filesModified?: string[]; status: "success" | "failure" | "partial"; error?: string; } export declare function taskToEpisode(task: OrchestratorTask, result: WorkerResult): EpisodeSummary; //# sourceMappingURL=types.d.ts.map