export type PipelineEvent = { type: "info"; message: string; } | { type: "error"; message: string; } | { type: "dry-run"; message: string; } | { type: "committed"; message: string; } | { type: "cancelled"; reason: string; } | { type: "generating"; } | { type: "organised"; checkpointCount: number; commitCount: number; } | { type: "fallback"; message: string; } | { type: "stage-changed"; hasChanges?: boolean; }; export interface PipelineResult { events: PipelineEvent[]; /** true when the commit was actually executed */ committed: boolean; } /** * Optional callbacks for real-time progress during pipeline execution. * These fire synchronously within the pipeline so the caller can update * the UI *before* an async step completes (e.g. LLM generation). */ export interface PipelineCallbacks { onProgress?: (event: PipelineEvent) => void; } export interface OrganizerResult { events: PipelineEvent[]; organised: boolean; } //# sourceMappingURL=commit-events.d.ts.map