mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-24 16:02:55 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user