/** * Session bootstrap: resolve driver + strategy + assembly knobs into a frozen * profile. The model never chooses these — they come from explicit options, * then env, then defaults, all read ONCE here (spawn-frozen). */ import type { GuiDriver } from "../platform/driver.ts"; import type { ContextPolicy, GuiToolSpec, Strategy } from "../platform/types.ts"; export interface Profile { driver: GuiDriver; strategy: Strategy; tools: GuiToolSpec[]; /** The FULLY assembled system prompt (identity/rules/grounding/skills slots — * agent/prompt.ts). Both runtimes consume this one string; nothing else may * re-assemble the prompt. */ systemPrompt: string; contextPolicy: ContextPolicy; } export declare function resolveProfile(opts?: { driver?: string; strategy?: string; cdpUrl?: string; }): Profile;