Agent Client Protocol - v1.8.0
    Preparing search index...

    Type Alias SessionMessageExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    An upsert for an inter-session message.

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

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

    senderSessionId?: SessionId | null

    Optional sending session identity; omission or null retains a known value.

    recipientSessionId?: SessionId | null

    Optional receiving session identity; omission or null retains a known value.

    content?: ContentBlock[] | null

    Omitted leaves content unchanged; null or [] clears it. A non-empty array replaces all content.

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

    Omitted leaves metadata unchanged; null removes it.

    Implementations MUST NOT make assumptions about values in _meta.