@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Interface TestControllerStoreFactory

    Factory shape for per-request stores. scenarios answers list_scenarios without invoking createStore, so session-backed factories never run on capability-discovery pings. createStore runs once per non-list_scenarios request and returns a store bound to the current session.

    interface TestControllerStoreFactory {
        scenarios: readonly ControllerScenario[];
        createStore(
            input: Record<string, unknown>,
        ): TestControllerStore | Promise<TestControllerStore>;
    }
    Index

    Properties

    Methods

    Properties

    scenarios: readonly ControllerScenario[]

    Static list of scenarios this factory's stores support. The SDK returns this verbatim for list_scenarios — your createStore is skipped on capability probes, so you don't have to load a session just to answer.

    Methods