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

    Type Alias PermissionOptionExperimental

    An option presented to the user when requesting permission.

    type PermissionOption = {
        optionId: PermissionOptionId;
        name: string;
        kind: PermissionOptionKind;
        _meta?: { [key: string]: unknown } | null;
    }
    Index

    Identifier for this permission option. MUST be unique within the request.

    name: string

    Human-readable label for this choice, shown to the user as plain text.

    What selecting this option means. Clients can also use it to choose how to display the option.

    _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