For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/types/test.InMemoryMcpSessionOptions.md.
  • 简体中文
  • Type Alias: InMemoryMcpSessionOptions<TState, TEvents>

    InMemoryMcpSessionOptions<TState, TEvents> = InMemoryMcpSessionOptionsBase<TState, TEvents> & RenderRouteContextInit

    Session options; context holds the request-scoped overrides applied to every route render in this session; omitting it (or its providers) mounts the project's conventional providers exactly as the generated server does (see RenderRouteContextInit).

    Type Parameters

    TState

    TState = unknown

    TEvents

    TEvents extends AgentStateEventSchemas = AgentStateEventSchemas