CoAgent8 - Source API
    Preparing search index...

    Interface ClaudeStreamCollectorOptions

    interface ClaudeStreamCollectorOptions {
        allowedTools: readonly string[];
        expectedSessionId: string;
        maxMessages?: number;
        maxTotalMessageBytes?: number;
        onEvent?: (event: AdapterEvent) => void;
    }
    Index
    allowedTools: readonly string[]

    Built-in tools the run may expose; system/init must not report any other tool.

    expectedSessionId: string

    Session ID passed as --session-id or --resume; system/init must report the same ID.

    maxMessages?: number
    maxTotalMessageBytes?: number
    onEvent?: (event: AdapterEvent) => void