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

    Type Alias AuthStatusResponseExperimental

    UNSTABLE

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

    Response to the auth/status method.

    type AuthStatusResponse = {
        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