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 09:45:49 -04:00
committed by GitHub
parent 33a233fd11
commit 0676243df3
3 changed files with 7 additions and 7 deletions
+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) => {