/** * Agent Detection for ralph-starter * Detects installed AI coding agents (Claude Code, OpenCode, Codex, Aider) */ export interface AgentInfo { id: string; name: string; command: string; versionFlag: string; description: string; } export interface AgentDetectionResult { id: string; name: string; available: boolean; version?: string; executablePath?: string; error?: string; } /** * List of supported AI agents */ export declare const SUPPORTED_AGENTS: AgentInfo[]; /** * Detect a single agent */ export declare function detectAgent(agent: AgentInfo): Promise; /** * Detect all supported agents */ export declare function detectAllAgents(): Promise; /** * Get the first available agent */ export declare function getFirstAvailableAgent(): Promise; /** * Check if Claude Code CLI is available */ export declare function isClaudeCodeAvailable(): Promise; /** * Quick test to verify Claude Code CLI is functional * Uses --version which is fast and doesn't require authentication */ export declare function testClaudeCodeConnection(): Promise<{ success: boolean; responseTime?: number; error?: string; }>; /** * Full test with actual LLM prompt (slower, requires auth) */ export declare function testClaudeCodeWithPrompt(): Promise<{ success: boolean; responseTime?: number; error?: string; }>; //# sourceMappingURL=agent-detector.d.ts.map