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

    Type Alias CommandPermissionSubjectExperimental

    Permission request details for a command.

    type CommandPermissionSubject = {
        command: string;
        cwd: AbsolutePath;
        toolCallId?: ToolCallId | null;
        terminalId?: TerminalId | null;
        _meta?: { [key: string]: unknown } | null;
    }
    Index
    command: string

    The command that would be run if permission is granted.

    The absolute working directory for the command.

    toolCallId?: ToolCallId | null

    The associated tool call, when known. Omitted and null are equivalent.

    terminalId?: TerminalId | null

    The associated terminal, when already known. Omitted and null are equivalent.

    _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. Omitted and null are equivalent and mean no subject metadata was provided.

    See protocol docs: Extensibility