agentic-qe
Version:
Agentic Quality Engineering Fleet System - AI-driven quality management platform
44 lines • 1.13 kB
TypeScript
/**
* Workflow Pause Command
*
* Pauses running workflows with graceful shutdown and state preservation
* Integrates with workflow execution handlers and memory
*
* @version 1.0.0
*/
export interface PauseWorkflowOptions {
workflowId: string;
graceful?: boolean;
immediate?: boolean;
reason?: string;
timeout?: number;
}
export interface PauseWorkflowResult {
success: boolean;
workflowId: string;
status: string;
pauseMode: 'graceful' | 'immediate';
workflow: {
id: string;
name: string;
status: string;
pausedAt: string;
pauseReason?: string;
savedState: {
completedSteps: string[];
currentStep?: string;
progress: number;
context: any;
};
};
notifiedAgents: string[];
}
/**
* Pause a running workflow
*/
export declare function pauseWorkflow(options: PauseWorkflowOptions): Promise<PauseWorkflowResult>;
/**
* Display pause result in console
*/
export declare function displayPauseResult(result: PauseWorkflowResult): void;
//# sourceMappingURL=pause.d.ts.map