Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface StreamAssembly

    The complete, frozen record of one provider stream.

    This is the shape a durable writer signs from. blocks is authoritative and total; anything narrower is a projection of it.

    interface StreamAssembly {
        abortCause: string | null;
        blocks: readonly AssembledBlock[];
        finishReason: FinishReason | null;
        termination: StreamTermination;
        usage: StreamTokenUsage | null;
    }
    Index
    abortCause: string | null

    Why the consumer abandoned the stream; null unless termination is "abort".

    blocks: readonly AssembledBlock[]

    Every opened block, in first-seen order. Nothing is filtered out.

    finishReason: FinishReason | null

    The terminal finish reason; null when the consumer aborted before one arrived.

    termination: StreamTermination
    usage: StreamTokenUsage | null

    Token accounting, or null when the provider reported none.

    Null is only reachable on a failed finish or an abort: the grammar refuses a successful finish that was not preceded by usage.