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

    Type Alias SessionInfoUpdate

    Update to session metadata. All fields are optional to support partial updates.

    Agents send this notification to update session information like title or custom metadata. Clients can use it to keep session titles and state current.

    Omitted fields leave the existing session info unchanged. null clears the corresponding value. A concrete _meta object patches the stored metadata by top-level key.

    type SessionInfoUpdate = {
        title?: string | null;
        updatedAt?: string | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    title?: string | null

    Human-readable title for the session, in plain text. Set to null to clear.

    updatedAt?: string | null

    RFC 3339 timestamp of last activity. Set to null to clear.

    _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 leaves the stored metadata unchanged. null clears it. An object patches the stored metadata by top-level key: keys it omits are unchanged, a key set to null is removed, and any other value replaces that key's stored value without merging nested objects. Beyond this patch rule, implementations MUST NOT assign meaning to keys they do not recognize.

    See protocol docs: Metadata Patches