OptionalbaseAPI origin (no trailing slash): the Cavell backend or a conforming proxy. Empty = same-origin.
OptionalcapabilitiesCavell-profile feature gates; defaults derive from the targeting mode (ADR 0006 D4).
OptionalcontextDeclarative EHR context — sent in full on every run (ADR 0004 §7).
OptionaldefaultSnapshot throttle for agent subscriptions (CopilotKit-shaped; kit default 66ms).
OptionaldisableSkip auto-resume of a recent conversation (the history list still loads).
OptionalfrontendFrontend tools registered at mount (CopilotKit-shaped). Prefer the useFrontendTool hook for anything dynamic — keep this array stable.
OptionalheadersHeaders for the AG-UI runs AND the REST side channels (object or thunk) — CopilotKit-shaped,
and the ONLY auth channel: headers={() => ({ Authorization: Bearer ${token} })}. A thunk
re-resolves at every run/request boundary, which is how rotation reaches the transport.
OptionalhumanHITL tools registered at mount (CopilotKit parity). Same caveat as CopilotKit: only the
useHumanInTheLoop HOOK wires an interactive respond; this installs a placeholder.
OptionallocaleHost-declared locale. When ABSENT it is not sent, so the backend resolves the caregiver locale (ADR 0004 locale chain) and the kit chrome adopts it from the conversation state.
OptionalonThe backend refused a run with RUN_ERROR client_outdated: this kit build is below the backend's min_supported floor (ADR 0007 D3) — ship a host update. Sticky per mount.
OptionalonCopilotKit-shaped error surface (same event shape/codes as CopilotKitProvider.onError).
OptionalonOptionalpromptOne-shot prompt: boot skips auto-resume, opens a new conversation and sends it.
OptionalpropertiesExtra forwardedProps merged into every run.
OptionalrenderExtra CopilotKit tool-call renderers (the kit renders reserved HITL natively).
OptionalrunFull run-endpoint override — point at ANY AG-UI-compliant agent. Wins over baseUrl+agentId for the agent transport; Cavell-profile capabilities default OFF when set (ADR 0006 D3/D4).
OptionalthreadOpen a specific existing conversation instead of running the boot policy.
OptionaltimezoneOptionaltoolTool-call callbacks: auto (fires when a live call completes) or user-triggered card actions
like "Send to EHR" (ADR 0006 D6); label names the action button.
LOGICAL agent id — the
{agent_id}segment of the run endpoint. Resolution to a concrete upstream may happen server-side (a routing proxy — ADR 0006 D3/D5).