/** * MCP install targets for `reconstruct install` (authenticated editor wiring). * Separate from `Assistant` / `init` so we can add Codex without changing init. */ export type McpInstallTargetId = "cursor" | "claude" | "copilot" | "codex" | "antigravity"; /** JSON file merge vs native assistant MCP CLIs (see Claude / Codex docs). */ export type McpInstallStrategy = "json-file" | "claude-cli" | "codex-cli" | "codex-plugin" | "plugin-copy"; export interface McpInstallTargetMeta { id: McpInstallTargetId; label: string; strategy: McpInstallStrategy; /** Doc / doctor hint: primary config location */ configPath: string; /** json-file only: mcpServers.reconstruct URL field */ urlJsonKey?: "url" | "serverUrl"; /** Legacy codex-cli only (unused by visible targets; Codex uses codex-plugin + config.toml). */ codexBearerEnvVar?: string; restartHint: string; /** One-line summary for prompts / docs */ installSummary: string; } export declare const RECONSTRUCT_MCP_SERVER_NAME = "reconstruct"; /** Env var holding raw `mcp_` token for Codex CLI (Bearer added by Codex). */ export declare const CODEX_CLI_BEARER_ENV = "RECONSTRUCT_CODEX_MCP_TOKEN"; /** * Targets offered by `reconstruct install` (checkbox, --all, --assistant). * Antigravity is implemented but hidden until we re-enable it. */ export declare const MCP_INSTALL_TARGET_IDS_VISIBLE: readonly McpInstallTargetId[]; export declare function getInstallTargetsVisible(): McpInstallTargetMeta[]; export declare const MCP_INSTALL_TARGETS: McpInstallTargetMeta[]; export declare function getInstallTargetMeta(id: McpInstallTargetId): McpInstallTargetMeta | undefined; /** Global npm install command shown in web onboarding and settings. */ export declare const GLOBAL_CLI_INSTALL_COMMAND = "npm install -g reconstruct-cli"; export declare function formatAssistantInstallCommand(id: McpInstallTargetId): string; /** Web-facing subset of install target metadata (no filesystem paths). */ export type WebInstallTargetMeta = { id: McpInstallTargetId; label: string; installSummary: string; restartHint: string; installCommand: string; }; export declare function toWebInstallTargetMeta(target: McpInstallTargetMeta): WebInstallTargetMeta; export declare function getWebInstallTargets(): WebInstallTargetMeta[]; //# sourceMappingURL=install-targets.d.ts.map