Skip to content

PermissionMode has no constant for four modes CLI 2.1.291 accepts #7

Closed

Description

@mariuszs

claude --help (2.1.291) lists --permission-mode choices acceptEdits, auto, bypassPermissions, manual, dontAsk, plan; PermissionMode had no MANUAL, AUTO, DONT_ASK or PLAN.

Fixed on branch add-cli-permission-modes (afc5284, 2b1761e), shipped in 1.7.0-mariuszs.1, proposed upstream as markpollack#3.

Activity

  1. mariuszs commented on Oct 7, 2026

    @mariuszs
    OwnerAuthor

    Python SDK @23bb015: differs: adds MANUAL, which Python's PermissionMode lacks, because CLI 2.1.291 lists manual among the --permission-mode choices and set_permission_mode accepts it (reported back as default, checked on CLI 2.1.292). AUTO, DONT_ASK and PLAN match Python's values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions