UNPKG

agentic-qe

Version:

Agentic Quality Engineering Fleet System - AI-driven quality management platform

55 lines 1.46 kB
/** * Workflow Cancel Command * * Cancels running or paused workflows with cleanup and resource management * Integrates with workflow execution handlers and memory * * @version 1.0.0 */ export interface CancelWorkflowOptions { workflowId: string; graceful?: boolean; force?: boolean; confirm?: boolean; reason?: string; cleanup?: boolean; preserveResults?: boolean; cleanMemory?: boolean; retryOnFailure?: boolean; } export interface CancelWorkflowResult { success: boolean; workflowId: string; status: string; cancellationMode: 'graceful' | 'forced'; workflow: { id: string; name: string; status: string; cancelledAt: string; cancelReason?: string; finalState: { completedSteps: string[]; failedSteps: string[]; progress: number; context: any; }; partialResults?: any; }; stoppedAgents: string[]; cleanedResources: string[]; notifiedWorkflows: string[]; checkpointId: string; cleanupPerformed: boolean; retryAttempts?: number; cleanupErrors?: string[]; } /** * Cancel a workflow */ export declare function cancelWorkflow(options: CancelWorkflowOptions): Promise<CancelWorkflowResult>; /** * Display cancel result in console */ export declare function displayCancelResult(result: CancelWorkflowResult): void; //# sourceMappingURL=cancel.d.ts.map