/** * Main entry point for the coding agent CLI. * * This file handles CLI argument parsing and translates them into * createAgentSession() options. The SDK does the heavy lifting. */ import { type AgentSessionRuntime } from "./core/agent-session-runtime.ts"; import type { ExtensionFactory } from "./core/extensions/types.ts"; export declare function disposeRuntimeAndExit(runtime: Pick, exitCode: number, exit?: (code: number) => void): Promise; /** Prompt user for yes/no confirmation. Non-interactive callers fail closed instead of waiting on stdin. */ export declare function promptConfirm(message: string): Promise; export interface MainOptions { extensionFactories?: ExtensionFactory[]; } export declare function main(args: string[], options?: MainOptions): Promise; //# sourceMappingURL=main.d.ts.map