GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — feat(cli): expose --dangerously-skip-permissions as a top-level flag by YumaKakuya · Pull Request #22047 · anomalyco/opencode Conversation
|
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: PR #7137: feat: add --dangerously-skip-permissions flag This appears to be an older PR that introduced the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Much-awaited merge! This would be super helpful for folks who want the full TUI experience while running in trusted/YOLO workflows. Please consider landing this when you get a chance. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Extends #21266 (which added the flag to `opencode run` only) by making the flag available across all subcommands including TUI, serve, and attach. Sets OPENCODE_DANGEROUSLY_SKIP_PERMISSIONS=1 in the top-level middleware; Permission.ask reads it via the existing Flag getter. Bypass is placed AFTER the deny/allow rule loop (and after `if (!needsAsk) return`), so user-configured `deny` rules still throw DeniedError. Only the interactive prompt for `ask` rules is skipped — matching the behavior of #21266 and #7137. Minimal alternative to #7137 — env-var pattern (consistent with --pure), no TUI UI changes, defers to maintainer choice between this minimal version and #7137's broader integration.
|
Would love to see this land. Desktop users currently have no way to use --dangerously-skip-permissions\ at all — the flag only works in \opencode run. This 3-file PR is the minimal fix. Any chance of a review? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.