/** * Agent launch profile: everything ACP Kit needs to spawn an ACP-capable agent * and translate its stdout/stderr. The built-in constants below * ({@link GitHubCopilot}, {@link ClaudeCode}, ...) are the recommended way to * pick a known agent; for custom agents construct an `AgentProfile` literal. */ export interface AgentProfile { /** Stable identifier surfaced in errors and diagnostics. Free-form for custom agents. */ id: string; /** Human-readable name. */ displayName: string; /** Executable to spawn (e.g. `'npx'`). Resolved through `PATH`. */ command: string; /** Argument vector passed to {@link AgentProfile.command}. */ args: string[]; /** Slower fallback launch commands, tried when the primary command is not on PATH. */ fallbackCommands?: Array<{ command: string; args: string[]; }>; /** Extra environment variables merged on top of `process.env`. */ env?: Record; /** Override the startup timeout (initialize / newSession / loadSession). */ startupTimeoutMs?: number; /** * Optional per-line filter applied to the agent's stdout before JSON-RPC parsing. * Return `null` to drop a line (useful for agents that emit chatty banners on * the same channel as the protocol). */ filterStdoutLine?: (line: string) => string | null; } /** * GitHub Copilot in ACP mode. * * Launches `copilot-language-server --acp`. */ export declare const GitHubCopilot: AgentProfile; /** * Anthropic Claude Code via the Zed-maintained ACP wrapper. * * Launches `claude-code-acp`. */ export declare const ClaudeCode: AgentProfile; /** * OpenAI Codex CLI via the Zed-maintained ACP wrapper. * * Launches `codex-acp`. */ export declare const CodexCli: AgentProfile; /** * Google Gemini CLI in experimental ACP mode. * * Launches `gemini --experimental-acp`. */ export declare const GeminiCli: AgentProfile; /** * Alibaba Qwen Code in ACP mode. * * Launches `qwen --acp --experimental-skills`. */ export declare const QwenCode: AgentProfile; /** * OpenCode CLI in ACP mode. * * Launches `opencode acp`. */ export declare const OpenCode: AgentProfile;