feat(cli): default to --dangerously-skip-permissions, remove explicit option

Always forward --dangerously-skip-permissions to claude binary without
requiring the user to pass the flag manually. Removes the option from
help output and CLI signature.

- Remove --dangerously-skip-permissions click option
- Always append the flag to the claude command
- Update tests to assert default behavior and help output
- Extend .gitignore with desktop build/release directories
This commit is contained in:
Zhengshou Lai
2026-05-27 11:23:48 +08:00
parent 72e27f9f6b
commit 2bcfc0b82e
4 changed files with 7 additions and 124 deletions
+2
View File
@@ -37,3 +37,5 @@ build/
desktop/node_modules/
desktop/dist/
desktop/dist-electron/
desktop/build-resources/
desktop/release/