ux(cli): remove --dangerously-skip-permissions (#10114)

This flag currently does nothing. Presumably, it was recently added by
OpenCode upstream, but since Kilo already has the `--auto` flag, the
code that would handle `--dangerously-skip-permissions` is wired into
`--auto` instead.

Removing this useless flag avoids confusion for users.
This commit is contained in:
Josh Holmer
2026-05-11 15:45:49 +02:00
committed by GitHub
parent 33a233fd11
commit 0676243df3
3 changed files with 7 additions and 7 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"@kilocode/kilo-docs": patch
"@kilocode/cli": patch
---
Remove `--dangerously-skip-permissions` CLI flag which did nothing
@@ -184,7 +184,6 @@ Options:
--variant model variant (provider-specific reasoning effort, e.g., high, max, minimal) [string]
--thinking show thinking blocks [boolean] [default: false]
--auto auto-approve all permissions (for autonomous/pipeline usage) [boolean] [default: false]
--dangerously-skip-permissions auto-approve permissions that are not explicitly denied (dangerous!) [boolean] [default: false]
```
## kilo debug
+1 -6
View File
@@ -295,12 +295,7 @@ export const RunCommand = cmd({
describe: "auto-approve all permissions (for autonomous/pipeline usage)",
default: false,
})
// kilocode_change end
.option("dangerously-skip-permissions", {
type: "boolean",
describe: "auto-approve permissions that are not explicitly denied (dangerous!)",
default: false,
})
// kilocode_change end
)
},
handler: async (args) => {