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/interfaces/test.ContractMatrixOptions.md.
  • English
  • Interface: ContractMatrixOptions

    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).

    Extends

    Properties

    apps?

    readonly optional apps?: ContractAppCoverage

    Accepted for parity with the other entry points; apps are never registered here.


    context?

    readonly optional context?: RenderRouteContext

    Inherited from

    InMemoryMcpSessionOptions.context


    fixtures

    readonly fixtures: Readonly<Record<string, ContractRouteFixture>>

    Route id -> fixture. Every compiled tool, prompt, and resource route on the server must be covered. App routes are not registered at mcp-in-memory; entries for them are accepted and ignored.


    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').

    Inherited from

    InMemoryMcpSessionOptions.lineage


    lineageHost?

    readonly optional lineageHost?: LineageHost

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

    Inherited from

    InMemoryMcpSessionOptions.lineageHost


    manifest?

    readonly optional manifest?: AgentBundleTestManifest

    Overrides

    InMemoryMcpSessionOptions.manifest


    restart?

    readonly optional restart?: () => Promise<ContractMatrixRestartSession>

    Reopens the same durable store after the matrix closes its initial in-memory session.

    Returns

    Promise<ContractMatrixRestartSession>


    server?

    readonly optional server?: string

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

    Overrides

    InMemoryMcpSessionOptions.server


    state?

    readonly optional state?: object

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

    definition

    readonly definition: AgentStateDefinition<unknown, Readonly<Record<string, ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>>>>

    driver

    readonly driver: AgentStateDriver

    Inherited from

    InMemoryMcpSessionOptions.state