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

    Type Alias AuthStatusUpdateNotificationExperimental

    UNSTABLE

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

    Notification sent by the Agent when its authentication status changes.

    Carries the same fields as the auth/status response. Agents that advertise the auth.status capability MAY send it at any time after initialize, and SHOULD only send it when the reported status differs from the last one sent on the connection.

    type AuthStatusUpdateNotification = {
        state: AuthState;
        accounts?: AuthAccount[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    state: AuthState

    Whether the Agent can start sessions without the user signing in first.

    Clients use this field to decide whether sign-in is needed. Clients MUST treat values they do not recognize as unknown.

    accounts?: AuthAccount[]

    The accounts the Agent has configured, for display.

    Optional. Omitted and empty are equivalent and mean no accounts are reported. Agents that hold credentials for several providers or accounts SHOULD list each of them and mark the ones in effect with active.

    _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