/** * Runtime-v1 provider resolution for the seams that resolve provider/model outside the * workflow-execution bootstrap (issue #1136): the internal selector/assistant agents and the * non-workflow agents (task summarizer, sync conflict resolver, non-assistant interactive * personas). These seams cannot read the compiled bundle the bootstrap builds, so when an active * `runtime.yaml` provider section exists this module compiles that section through the same * `RuntimeProviderPolicyCompiler`. The internal-agent resolver returns the `internal_agents` * entry (falling back to the `defaults` profile per the order.md resolution ladder); the * non-workflow resolver returns the `defaults` profile directly (those agents are not covered by * `targets.internal_agents`). Both share the mixed-config gate and return `undefined` in legacy * mode (no active section) so callers keep their legacy config.yaml resolution. When runtime-v1 * mode is entered by an active `mcp` section alone (no `provider` section) the seams also return * `undefined`: the `mcp` assignment flows through the workflow bootstrap, and provider/model * resolution stays on the legacy config.yaml path (order.md:36, `mcp` is independent from * `provider`). */ import type { ProviderRoutingEntry } from '../../../core/models/config-types.js'; export type RuntimeInternalAgent = 'selector' | 'assistant'; /** * Resolve provider/model/options for an internal agent from an active runtime.yaml provider * section. Returns `undefined` when no active runtime-v1 section exists (legacy mode) or when * neither an explicit `internal_agents` target nor a fixed `defaults` profile is available. */ export declare function resolveRuntimeInternalAgentProvider(projectCwd: string, agent: RuntimeInternalAgent): ProviderRoutingEntry | undefined; /** * Resolve provider/model/options for the non-workflow agents (task summarizer, sync conflict * resolver, non-assistant interactive personas) from an active runtime.yaml provider section. * These agents are not the selector/assistant internal agents, so they resolve the `defaults` * profile directly. Returns `undefined` in legacy mode so callers keep resolving * provider/model/options from config.yaml. */ export declare function resolveRuntimeNonWorkflowProvider(projectCwd: string): ProviderRoutingEntry | undefined; //# sourceMappingURL=internal-agents.d.ts.map