@boundless-oss/atlas
Version:
Atlas - MCP Server for comprehensive startup project management
21 lines • 944 B
TypeScript
import { EventEmitter } from 'events';
import { ProcessDefinition, ProcessExecution } from './types.js';
import { ProcessStore } from './process-store.js';
export declare class ProcessEngine extends EventEmitter {
private executions;
private activityExecutor;
private variableResolver;
private store;
constructor(store: ProcessStore, agentOrchestrator?: any);
executeProcess(process: ProcessDefinition, triggerId?: string, initialVariables?: Record<string, any>): Promise<ProcessExecution>;
private executeActivity;
private handleActivityError;
pauseExecution(executionId: string): Promise<void>;
resumeExecution(executionId: string): Promise<void>;
cancelExecution(executionId: string): Promise<void>;
getExecution(executionId: string): ProcessExecution | undefined;
private log;
private createProcessError;
private generateExecutionId;
}
//# sourceMappingURL=process-engine.d.ts.map