ACP v2 TypeScript SDK — EXPERIMENTAL DRAFT - v1.3.0
    Preparing search index...

    Type Alias ClientCapabilitiesExperimental

    Capabilities supported by the client.

    Advertised during initialization to inform the agent about available features and methods.

    See protocol docs: Client Capabilities

    type ClientCapabilities = {
        auth?: AuthCapabilities | null;
        elicitation?: ElicitationCapabilities | null;
        nes?: ClientNesCapabilities | null;
        positionEncodings?: PositionEncodingKind[];
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    auth?: AuthCapabilities | null

    UNSTABLE

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

    Authentication capabilities supported by the client. Determines which authentication method types the agent may include in its InitializeResponse.

    Optional. Omitted or null both mean the client does not advertise any authentication-method extensions.

    elicitation?: ElicitationCapabilities | null

    UNSTABLE

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

    Elicitation capabilities supported by the client. Determines which elicitation modes the agent may use.

    Optional. Omitted or null both mean the client does not advertise elicitation support.

    UNSTABLE

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

    NES (Next Edit Suggestions) capabilities supported by the client.

    Optional. Omitted or null both mean the client does not advertise any NES suggestion-kind extensions.

    positionEncodings?: PositionEncodingKind[]

    UNSTABLE

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

    The position encodings supported by the client, in order of preference.

    _meta?: { [key: string]: unknown } | null

    The _meta property is reserved by ACP to allow clients and agents to attach additional metadata to their interactions. Implementations MUST NOT make assumptions about values at these keys.

    See protocol docs: Extensibility