ACP v2 TypeScript SDK — UNSTABLE DRAFT - v2.0.0
    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. This allows clients to display dynamic session names and track session state changes.

    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. 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 make assumptions about values at these keys.

    See protocol docs: Metadata Patches