import type { RuntimePolicies } from "./types.js"; /** * Host-side migration helper: project a legacy flat settings bag (the * `agent_tool_*` / `agent_mcp_*` / `agent_compaction_*` keys) into the typed * `toolLimits` / `compaction` policy objects a host now passes on * RuntimeRunOptions. Pass the result's fields straight through to `run()`. * * This is the SUPPORTED replacement for handing the kernel `runOptions.settings` * (which the kernel still accepts as a deprecated per-group fallback, emitting a * `deprecated_settings_option` warning when consumed). Resolution reuses the * kernel's own clamp/mapper (`resolveAgentCompactionPolicy`) so explicitly * supplied values are identical to what the deprecated shim would have * resolved — only the transport (typed objects vs. the flat bag) differs. * Omitted compaction values remain omitted. The model-derived fields the mapper * computes (including adaptive budgets, contextWindow, and triggerTokens) are * intentionally NOT projected: they are re-derived at run time against the live * model, so the typed objects carry only the run-tunable INPUTS. * * Fields with no legacy settings equivalent — `toolLimits.bashTimeoutMs` and * `compaction.contextWindowOverride` — are omitted here; set them directly on the * typed objects if needed. */ export declare function resolveRuntimePolicies(settings?: Record): RuntimePolicies; //# sourceMappingURL=runtime-policies.d.ts.map