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

    Type Alias CursorMessageAnchorExperimental

    UNSTABLE

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

    A session cursor anchor to a message. The anchor's type names the kind of message.

    type CursorMessageAnchor = {
        messageId: MessageId;
        position: CursorAnchorPosition;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    messageId: MessageId

    The ID of the anchored message.

    On which side of the message the cursor is.

    _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.

    See protocol docs: Extensibility