The Client API carrier's `agentPresets` member was the one member of its class without an `IApiClient[...]` annotation. Inferring it inlined `AgentPresetEntry` into the emitted declaration by the specifier TS picks — the host `index.ts` — dragging the whole gateway, and with it the host `Context` merges, into every Client program importing the carrier. Annotated like its siblings. `ApiRemoteAgentOptions.setup` now takes the inspected session rather than its header alone: this layer resolves a resumed session's preset from the LOG, because a session that switched while blank ran its turns under the newer composition and the header is written once at creation. Conflicts: apps/web/tests/snapshots/*/*.expected.md packages/client/ui-conversation/src/client/skeleton/InputBar.tsx packages/host/apiproxy/src/api-proxy.ts scripts/doc-budgets.manifest.json |
||
|---|---|---|
| .. | ||
| fixtures | ||
| args.spec.ts | ||
| built-bin.e2e.ts | ||
| headless-shutdown.e2e.ts | ||
| install-script.spec.ts | ||
| lazy-search-startup.compat.spec.ts | ||
| memory-mcp-configs.spec.ts | ||
| process-shutdown.spec.ts | ||
| source-launch.compat.spec.ts | ||
| telemetry-switch.spec.ts | ||
| trusted-hosts.spec.ts | ||
| web-agent-presets.e2e.ts | ||