For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/types/test.RenderRouteContext.md.
  • English
  • 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?

    readonly optional invocation?: Omit<AgentInvocationInput, "kind">

    progress?

    readonly optional progress?: AgentProgressReporter

    providers?

    readonly optional providers?: AgentProviderValues