/** * Agentic AI execution for plan comparisons. * * Uses {@link AIService} to run an AI CLI in agentic mode (with tools) * inside a worktree, capturing the plan output with full telemetry, * tracing, and retry support. * * @module */ import type { AIService } from '../ai/service.js'; import type { PlanRunResult } from './types.js'; /** * Options for executing a plan run. */ export interface ExecuteOptions { /** The task description */ task: string; /** Working directory (worktree path) */ cwd: string; /** Model to use */ model?: string; /** Debug mode */ debug?: boolean; /** AI service instance for subprocess management */ aiService: AIService; } /** * Execute an AI planning run in a worktree using the AI service in agentic mode. * * Invokes the AI with tools enabled (Read, Glob, Grep, Bash) so it can * explore the codebase and produce a thorough plan. All calls go through * {@link AIService} for retry logic, telemetry, and subprocess logging. * * @param options - Execution options * @returns Plan run result with metrics and token usage */ export declare function executePlanRun(options: ExecuteOptions): Promise; //# sourceMappingURL=executor.d.ts.map