claude-flow-tbowman01
Version:
Enterprise-grade AI agent orchestration with ruv-swarm integration (Alpha Release)
23 lines • 920 B
TypeScript
/**
* Enhanced Task Executor v2.0 with improved environment handling
*/
import { TaskDefinition, AgentState } from './types.js';
export interface ClaudeExecutionOptionsV2 extends ClaudeExecutionOptions {
nonInteractive?: boolean;
autoApprove?: boolean;
promptDefaults?: Record<string, any>;
environmentOverride?: Record<string, string>;
retryOnInteractiveError?: boolean;
}
export declare class TaskExecutorV2 extends TaskExecutor {
private environment;
constructor(config?: Partial<ExecutionConfig>);
executeClaudeTask(task: TaskDefinition, agent: AgentState, claudeOptions?: ClaudeExecutionOptionsV2): Promise<ExecutionResult>;
private executeClaudeWithTimeoutV2;
private buildClaudeCommandV2;
private isInteractiveError;
private isInteractiveErrorMessage;
private getDefaultResourceUsage;
}
export default TaskExecutorV2;
//# sourceMappingURL=executor-v2.d.ts.map