Type Alias: RenderRouteContext
RenderRouteContext =
Omit<AgentRequestInit,"invocation"|"progress"|"providers"|"signal"> &object
Request-scoped overrides for one rendered route, over the runtime's own
request contract. host, session, actor, workspace, and
capabilities are the identity-injection seam for context-dependent route
tests; construct observed values with available or unavailable from
@agent-bundle/runtime. providers is the opt-out for conventional
provider discovery: when present it is mounted verbatim; when absent the
harness executes the project's src/providers/* exactly as the generated
request scopes do. It stays optional even once the generated
.agent-bundle/routes.d.ts augmentation declares provider keys — omitting
it runs the real providers, which is the artifact's behavior — while an
explicit map must still carry every declared key, so a fixture cannot leave
a promised value undefined.
Type Declaration
invocation?
readonlyoptionalinvocation?:Omit<AgentInvocationInput,"kind">
progress?
readonlyoptionalprogress?:AgentProgressReporter
providers?
readonlyoptionalproviders?:AgentProviderValues