/** * The choices `aidlc autopilot setup` offers (autopilot-on-demand/AC-10..AC-13, * autopilot-stop-controls/AC-7). * * The agent preset is the one that matters: it decides what an unattended agent * may do on this machine. Every option is visible text the user picks, and the * full-access option says so in its label. Nothing is chosen silently. * * @module */ export interface AgentPreset { id: string; label: string; hint: string; platform: string; command: string[]; } export declare const AGENT_PRESETS: readonly AgentPreset[]; /** The command to run for a saved one: its replacement when it is retired, else itself. */ export declare function currentCommand(command: string[]): string[]; export declare const PARALLEL_CHOICES: readonly [{ readonly value: "2"; readonly label: "Two items at once (recommended)"; readonly hint: "still one release at a time"; }, { readonly value: "1"; readonly label: "One item at a time"; readonly hint: "slower, simpler to watch"; }]; /** * The cap in tokens, because on a subscription the dollars are never charged * (cost-in-tokens/AC-9). 40M sits near the old $15: this repo's median is about * 2.35M tokens per API dollar. A value is whole tokens, so a pick and `--token-cap` * parse the same way. */ export declare const COST_CAP_CHOICES: readonly [{ readonly value: "40000000"; readonly label: "40M tokens per item (recommended)"; }, { readonly value: "15000000"; readonly label: "15M tokens per item"; }, { readonly value: "80000000"; readonly label: "80M tokens per item"; }, { readonly value: "none"; readonly label: "No cap"; readonly hint: "an item is never stopped for cost"; }]; /** * Where an item waits for a person (autopilot-stop-controls/AC-7). The recommended * answers are the defaults the roadmap item asked for: nothing reaches main unread. * A value is the `--pause-after` flag text, so a flag and a pick parse the same way. */ export declare const PAUSE_CHOICES: readonly [{ readonly value: "requirements,design"; readonly label: "After requirements and after design (recommended)"; readonly hint: "you read each and run `aidlc autopilot approve `"; }, { readonly value: "design"; readonly label: "After design only"; }, { readonly value: "none"; readonly label: "No pauses"; readonly hint: "the agent builds straight through to the pull request"; }]; export declare const STOP_AT_CHOICES: readonly [{ readonly value: "pr"; readonly label: "Open the pull request and wait for you to merge it (recommended)"; readonly hint: "autopilot never merges or releases"; }, { readonly value: "merge"; readonly label: "Merge when CI passes — no release"; readonly hint: "you release when you choose"; }, { readonly value: "release"; readonly label: "Merge and run the release step below"; readonly hint: "no review at any point"; }]; export interface ReleasePreset { id: string; label: string; hint: string; command: string[] | null; } /** This project's own release script, when it has one (autopilot-on-demand/AC-13). */ export declare const REPO_RELEASE_SCRIPT = "scripts/autopilot-release.sh"; export declare function releasePresets(projectRoot: string): ReleasePreset[]; export declare function agentPreset(id: string): AgentPreset | undefined; /** * The platform a custom agent command runs: Codex when its executable is `codex`, * bare or by path, otherwise Claude Code. A wrapper (`npx codex`, a script) is not * guessed at: a wrong guess would set `AIDLC_AGENT` for a command nobody tested * (stop-asking-answered-questions/AC-21, AC-22). */ export declare function platformForCommand(command: readonly string[]): string; //# sourceMappingURL=presets.d.ts.map