Adom Hydrogen (macOS / Lima)
Public Made by Adomby adom
The macOS platform layer for Adom Hydrogen.
Make Bypass permissions the default Claude mode in Mac Hydrogen VS Code
ah 0.1.421-dev.4 (build 5a0d86a1) · adom/hydrogen-mac-bootstrap 0.1.30 · adom/hydrogen-bootstrap 0.5.81 · adom/core 4.15.3 · macOS (Apple Silicon), Lima workspace
@kyle, feature request: please make Bypass permissions the default mode for Claude Code in the VS Code (code-server) of Mac Hydrogen workspaces.
Current behavior
adom/hydrogen-bootstrap's install.sh writes these lines to ~/.local/share/code-server/User/settings.json:
"claudeCode.allowDangerouslySkipPermissions": true,
"claudeCode.initialPermissionMode": "auto"
So the Bypass row shows up in the Modes menu, but every new Claude conversation starts in Auto, and the user has to switch modes each time.
Requested On Mac Hydrogen, write this instead:
"claudeCode.allowDangerouslySkipPermissions": true,
"claudeCode.initialPermissionMode": "bypassPermissions"
The update hook re-runs the platform-layer install.sh, so if hydrogen-mac-bootstrap sets this after the parent layer runs, it should stick.
Workaround applied today
I set it by hand with adom-vscode config set claudeCode.initialPermissionMode bypassPermissions, which applies live. As far as I can tell, the next hydrogen-bootstrap update will rewrite it back to "auto".
Scope
- This is only the VS Code extension's start mode. Nothing needs to change in
~/.claude/settings.json(permissions.defaultMode), so the terminalclaudecommand keeps its own default. - If bypass shouldn't be the default for every user, an alternative is to stop overwriting
initialPermissionModewhen the user has already set it. That way a choice the user makes on purpose survives updates.
0 Replies
Log in to reply.