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/interfaces/test.InMemoryMcpSessionOptionsBase.md.
  • 简体中文
  • Interface: InMemoryMcpSessionOptionsBase<TState, TEvents>

    Type Parameters

    TState

    TState = unknown

    TEvents

    TEvents extends AgentStateEventSchemas = AgentStateEventSchemas

    Properties

    lineage?

    readonly optional lineage?: AgentLineageRegistry

    A lineage registry the generated server resolves tool calls through, exactly as the artifact does; omitted sessions observe request.lineage as unavailable('not-provided').


    lineageHost?

    readonly optional lineageHost?: LineageHost

    The host vocabulary the registry applies when the in-memory client name maps to none.


    manifest?

    readonly optional manifest?: AgentBundleTestManifest


    server?

    readonly optional server?: string

    MCP server name. Optional when the project compiled exactly one server.


    state?

    readonly optional state?: object

    Optional state owner input for parity with a generated Flight worker.

    definition

    readonly definition: AgentStateDefinition<TState, TEvents>

    driver

    readonly driver: AgentStateDriver