import type { CliAdapter, CliId } from './types.js'; import { createClaudeCodeAdapter } from './claude-code.js'; import { createSeedAdapter } from './seed.js'; import { createRelayAdapter } from './relay.js'; import { createAidenAdapter } from './aiden.js'; import { createCocoAdapter } from './coco.js'; import { createCodexAdapter } from './codex.js'; import { createCodexAppAdapter } from './codex-app.js'; import { createCursorAdapter } from './cursor.js'; import { createGeminiAdapter } from './gemini.js'; import { createGeniusAdapter } from './genius.js'; import { createOpenCodeAdapter } from './opencode.js'; import { createOpenCode2Adapter } from './opencode2.js'; import { createAntigravityAdapter } from './antigravity.js'; import { createMtrAdapter } from './mtr.js'; import { createHermesAdapter } from './hermes.js'; import { createMiraAdapter } from './mira.js'; import { createMirAdapter } from './mir.js'; import { createTraexAdapter } from './traex.js'; import { createPiAdapter } from './pi.js'; import { createCopilotAdapter } from './copilot.js'; import { createOhMyPiAdapter } from './oh-my-pi.js'; import { createKimiAdapter } from './kimi.js'; import { createGrokAdapter } from './grok.js'; import { createKiroCliAdapter } from './kiro-cli.js'; import { createRiffAdapter } from './riff.js'; import { createReasonixAdapter } from './reasonix.js'; import { createDshAdapter } from './dsh.js'; import { createDshTuiAdapter } from './dsh-tui.js'; import { createMojoAdapter } from './mojo.js'; /** * Every known CLI id, derived from the closed `Record` above rather * than re-typed by hand. * * A hand-maintained duplicate of this list in dashboard.ts silently went stale * twice (it was missing both `reasonix` and `mojo`), because a plain * `CliId[]` literal is only checked for *bad* members — never for missing ones. * Deriving it means adding a CLI to RAW_CLI_EXECUTABLES (which tsc forces) is * enough, and no consumer can drift again. */ export declare const ALL_CLI_IDS: readonly CliId[]; /** Return the unresolved command without constructing an adapter or spawning a * shell. This is deliberately safe for synchronous UI option enumeration. */ export declare function rawCliExecutable(id: CliId, pathOverride?: string): string | undefined; /** macOS desktop apps bundle a standalone Codex binary even when `codex` is * not installed on PATH. ChatGPT is the current app name; keep the legacy * Codex.app locations so existing installations continue to work. */ export declare function macOSBundledCodexCandidates(userHome?: string): string[]; /** Resolve a command name to its absolute path via a login/interactive shell. * Tries login shell first (-lc), then interactive shell (-ic) for tools * whose installers add PATH entries to .bashrc/.zshrc only. The command is * passed as positional argv ($1), never interpolated into the shell program: * spaces and shell metacharacters therefore remain one literal filename. */ export declare function resolveCommand(cmd: string): string; /** * Locate an executable the way `execvp` will at spawn time: an absolute path is * checked directly, a bare name is searched across the current process's PATH. * Returns the resolved absolute path, or null when nothing runnable is found. * * Used by the worker as a pre-flight before spawning the CLI, so a missing * binary becomes one clear, reproducible message to the user instead of a * silent crash-loop. Cheap and shell-free (no rc side effects). */ export declare function locateOnPath(cmd: string): string | null; /** Async adapter factory (uses dynamic import for lazy loading in daemon process). */ export declare function createCliAdapter(id: CliId, pathOverride?: string): Promise; export { createClaudeCodeAdapter, createSeedAdapter, createRelayAdapter, createAidenAdapter, createCocoAdapter, createCodexAdapter, createCodexAppAdapter, createCursorAdapter, createGeminiAdapter, createGeniusAdapter, createOpenCodeAdapter, createOpenCode2Adapter, createAntigravityAdapter, createMtrAdapter, createHermesAdapter, createMiraAdapter, createMirAdapter, createTraexAdapter, createPiAdapter, createCopilotAdapter, createOhMyPiAdapter, createKimiAdapter, createGrokAdapter, createKiroCliAdapter, createRiffAdapter, createReasonixAdapter, createDshAdapter, createDshTuiAdapter, createMojoAdapter }; /** Synchronous version for use in worker process. */ export declare function createCliAdapterSync(id: CliId, pathOverride?: string): CliAdapter; //# sourceMappingURL=registry.d.ts.map