import { HarnessOptions } from "../composition/types/harness.mjs"; import { HarnessFailureReporter } from "@agimon-ai/doompi-core/runtime-log-sink-telemetry"; //#region src/cli/harnessOptions.d.ts export interface ResolveHarnessOptionsInput { /** Raw launcher arguments, as the binary received them. */ args: readonly string[]; environment?: NodeJS.ProcessEnv; cwd?: string; /** Reports a malformed inherited harness state without failing the run. */ report?: HarnessFailureReporter; } /** * Settles the configuration root and the full option matrix for one run. * * Two passes are required: the first reads --cwd without touching repository * configuration, which keeps a run resolvable even when modes.yaml is * malformed, and the second applies the defaults that root supplies. An * inherited root wins, which is how a nested run stays pinned to the outer * repository rather than re-deriving one from its own cwd. When no configured * repository exists, the selected working directory is the configuration root. */ export declare function resolveHarnessOptions(input: ResolveHarnessOptionsInput): HarnessOptions; //#endregion //# sourceMappingURL=harnessOptions.d.mts.map