/** * Builtin `builtin:codex` runtime config: schema type, defaults, and reader. * * Codex runtime config is owned by this package (the `builtin:codex` provider), * not by the Dreamux host config module. It depends only on the shared neutral * validation primitives (`@excitedjs/dreamux-utils`), never on * `@excitedjs/dreamux` core. The Dreamux host config module re-exports these so * the non-builtin callers (doctor, daemon, tests) keep their import paths. */ /** * Builtin Codex runtime settings under a named `agents[].config` entry (provider * `builtin:codex`), referenced by a dispatcher via `dispatchers[].agentRuntime`. * Every field carries a built-in default, so an agent that omits any config * field runs with these constants. There is no top-level `codex` block anymore; * runtime config lives in `agents[]`. * * `bin` is the dispatcher's Codex binary path; the `CODEX_HOST_CODEX_BIN` * environment variable is a host-level override that takes precedence over it * (resolved by the codex builtin's `resolveCodexBinPath`). * `initialize_timeout_ms` is that dispatcher's handshake timeout. */ export interface DispatcherCodexConfig { bin: string; sandbox_mode: string; extra_args: string[]; extra_env: Record; initialize_timeout_ms: number; } /** * Default `agents[].config.bin`. The Codex binary path is * dispatcher-local; `CODEX_HOST_CODEX_BIN` is a host-level override above it, * not the source. */ export declare const DEFAULT_CODEX_BIN = "codex"; /** Default `agents[].config.initialize_timeout_ms` (handshake timeout, ms). */ export declare const DEFAULT_INITIALIZE_TIMEOUT_MS = 10000; /** Default `agents[].config.sandbox_mode` when omitted. */ export declare const DEFAULT_SANDBOX_MODE = "workspace-write"; export declare const ALLOWED_SANDBOX_MODES: Set; export declare function defaultDispatcherCodexConfig(): DispatcherCodexConfig; export declare function readDispatcherCodexConfig(rawCodex: Record, file: string, prefix: string): DispatcherCodexConfig; //# sourceMappingURL=config.d.ts.map