autoagent-cli
Version:
Run autonomous AI agents using Claude or Gemini for task execution
22 lines (21 loc) • 568 B
TypeScript
export interface RunReflectionOptions {
specFile: string;
provider: string;
workingDir: string;
maxIterations?: number;
improvementThreshold?: number;
backupOriginal?: boolean;
}
export interface RunReflectionResult {
success: boolean;
provider: string;
iterations?: number;
finalScore?: number;
improvements?: Array<{
iteration: number;
score: number;
changes: number;
}>;
error?: string;
}
export declare function runReflection(options: RunReflectionOptions): Promise<RunReflectionResult>;