import { _ as ToolId, a as InspectResult, g as SwitchOptions, h as SettingsResult, i as EditOptions, o as LaunchCommandSpec, p as SettingsListData, u as Scope } from "./types-KR94Pl4P.js"; //#region src/domain/interfaces.d.ts /** * Settings adapter contract (all adapters must honor it per LSP) */ interface SettingsAdapter { /** * Tool identifier */ readonly toolId: ToolId; /** * List all configuration entries for a scope */ list(scope: Scope): Promise; /** * Switch profiles (optional, Codex only) */ switchProfile?(scope: Scope, profile: string, options?: SwitchOptions): Promise; /** * Open the configuration file for editing (optional) */ edit?(scope: Scope, options: EditOptions): Promise; /** * Inspect the configuration file */ inspect?(scope: Scope, name?: string): Promise; /** * Resolve the configuration file path */ resolvePath(scope: Scope): string; /** * Validate that the scope is supported */ validateScope(scope: Scope): boolean; } /** * Launch adapter interface (separate from settings adapters per ISP) */ interface LaunchAdapter { /** * Tool identifier */ readonly toolId: ToolId; /** * Executable name */ readonly executable: string; /** * Build the launch command specification * @param payload Launch request payload */ buildCommandSpec(payload: { yolo?: boolean; resume?: boolean; continue?: boolean; settings?: string; }): LaunchCommandSpec; /** * Verify that the tool is available on PATH */ validateAvailability(): Promise; /** * Optional: fetch the tool version */ getVersion?(): Promise; } //#endregion export { SettingsAdapter as n, LaunchAdapter as t };