You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PermissionMode has no constant for four modes CLI 2.1.291 accepts #7
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.
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.
Activity
mariuszs commentedon Oct 7, 2026
Python SDK @23bb015: differs: adds
MANUAL, which Python'sPermissionModelacks, because CLI 2.1.291 listsmanualamong the--permission-modechoices andset_permission_modeaccepts it (reported back asdefault, checked on CLI 2.1.292).AUTO,DONT_ASKandPLANmatch Python's values.