ACP v2 (Preview) TypeScript SDK — EXPERIMENTAL - v2.12.1
    Preparing search index...

    Type Alias SessionMessageChunkExperimental

    A streamed content block of an inter-session message.

    A chunk carries only content. The message's participants and references come from session_message upserts, which can arrive before, between, or after its chunks.

    type SessionMessageChunk = {
        messageId: MessageId;
        content: ContentBlock;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    messageId: MessageId

    Identifier of this message within the enclosing session's transcript.

    content: ContentBlock

    A single content block appended to the message.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata to their interactions. Omitted and null are equivalent and mean no metadata. Implementations MUST NOT assign meaning to keys they do not recognize. This metadata is scoped to the chunk and does not patch stored metadata.

    See protocol docs: Extensibility