feat(settings): enable auto permission mode by default

Switch defaultMode from "default" to "auto" so Claude Code uses the
classifier-driven auto mode instead of prompting on each tool call.
Drop disableAutoMode: "disable" which would otherwise reject the new
defaultMode at startup.

Auto mode requires Claude Code v2.1.83+, a Max/Team/Enterprise/API
plan, a compatible Sonnet 4.6 / Opus 4.6 / Opus 4.7 model, and the
Anthropic API provider. If any prerequisite is missing, Claude Code
reports auto mode as unavailable on session start.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
bastien 2026-04-27 13:16:39 +02:00
parent dd701f4bf5
commit d3c79f02a0

View File

@ -182,9 +182,8 @@
"Bash(git stash drop*)",
"Bash(git stash clear)"
],
"defaultMode": "default",
"defaultMode": "auto",
"disableBypassPermissionsMode": "disable",
"disableAutoMode": "disable",
"additionalDirectories": []
},
"hooks": {