/** * Agent Runner -- Programmatic API for the af-agent CLI. * * Provides stop, chat, status, and reconnect commands for managing running * agent sessions. Works by updating Redis state directly — workers poll for * status changes and pending prompts every 5 seconds. */ export type AgentCommand = 'stop' | 'chat' | 'status' | 'reconnect' | 'list'; export interface AgentRunnerConfig { /** Command to execute */ command: AgentCommand; /** Issue identifier (e.g., SUP-674) or partial session ID — not required for 'list' */ issueId?: string; /** Message text for 'chat' command */ message?: string; /** Show all sessions including completed/failed (for 'list' command) */ all?: boolean; } export declare const C: { readonly reset: "\u001B[0m"; readonly red: "\u001B[31m"; readonly green: "\u001B[32m"; readonly yellow: "\u001B[33m"; readonly cyan: "\u001B[36m"; readonly gray: "\u001B[90m"; }; export declare function runAgent(config: AgentRunnerConfig): Promise; //# sourceMappingURL=agent-runner.d.ts.map