defaultMode
A Claude Code settings key, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Setting defaultMode to bypassPermissions now works in VS Code when you have enabled the consent setting.
Not Anthropic's. This is the line from the earliest changelog entry here that named it, v2.1.225.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
-
v2.1.232IDE hosts can drive the auto-mode default nudge
Your editor can show and answer the prompt offering auto as your default permission mode.
named in this entry
-
v2.1.225The bypassPermissions consent flag reaches startup mode resolution
Setting defaultMode to bypassPermissions now works in VS Code when you have enabled the consent setting.
named in this entry
Documentation pages
- Set up Claude Code for your organization mentions it Claude Code CLI
- Agent SDK reference - TypeScript mentions it Claude Code CLI
- Orchestrate teams of Claude Code sessions mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- CLI reference mentions it Claude Code CLI
- Desktop application mentions it Claude Code CLI
- Hooks reference mentions it Claude Code CLI
- Automate actions with hooks mentions it Claude Code CLI
- Deploy managed settings mentions it Claude Code CLI
- Choose a permission mode mentions it Claude Code CLI
- Configure permissions mentions it Claude Code CLI
- Customize sessions in self-hosted environments mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the settings key does. All settings keys.