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

    Type Alias UpdateSessionNotification

    Notification containing a session update from the Agent.

    Agents can send session updates at any point while the session exists.

    See protocol docs: Agent Reports Output

    type UpdateSessionNotification = {
        sessionId: SessionId;
        update: SessionUpdate;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    sessionId: SessionId

    The ID of the session this update pertains to.

    update: SessionUpdate

    The actual update content.

    _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