Is there no /approval equivalent in the TUI? #4689

Open
opened 2026-02-16 17:45:02 -05:00 by yindo · 5 comments
Owner

Originally created by @jamneutrino on GitHub (Jan 10, 2026).

Originally assigned to: @rekram1-node on GitHub.

Question

Having trouble finding this in the TUI settings

Originally created by @jamneutrino on GitHub (Jan 10, 2026). Originally assigned to: @rekram1-node on GitHub. ### Question Having trouble finding this in the TUI settings
yindo added the opentui label 2026-02-16 17:45:02 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 10, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6901: TUI buffer not scrollable when permission is prompted
  • #6895: TUI scroll position resets to session start after approving commands that exceed terminal height
  • #5820: Autocomplete dropdown conflicts with permission dialog - visual overlap and keyboard event capture
  • #239: Implement permissions in TUI
  • #3261: Feature Request: Streamlined Agent Permission Management with an Interactive TUI

These issues discuss approval/permission functionality and related TUI UX challenges. Feel free to ignore if your specific case differs.

@github-actions[bot] commented on GitHub (Jan 10, 2026): This issue might be a duplicate of existing issues. Please check: - #6901: TUI buffer not scrollable when permission is prompted - #6895: TUI scroll position resets to session start after approving commands that exceed terminal height - #5820: Autocomplete dropdown conflicts with permission dialog - visual overlap and keyboard event capture - #239: Implement permissions in TUI - #3261: Feature Request: Streamlined Agent Permission Management with an Interactive TUI These issues discuss approval/permission functionality and related TUI UX challenges. Feel free to ignore if your specific case differs.
Author
Owner

@rubin55 commented on GitHub (Jan 13, 2026):

I would like to second this question; is it correct that opencode always runs commands without approval? I was just doing an experiment, and opencode called curl, ran into a bad certificate on an https:// address, then added -k to the command and ran it again, all within 5 seconds; I didn't expect opencode to invoke executables without confirmation.

@rubin55 commented on GitHub (Jan 13, 2026): I would like to second this question; is it correct that opencode always runs commands without approval? I was just doing an experiment, and opencode called curl, ran into a bad certificate on an https:// address, then added -k to the command and ran it again, all within 5 seconds; I didn't expect opencode to invoke executables without confirmation.
Author
Owner

@rekram1-node commented on GitHub (Jan 13, 2026):

refer here: https://opencode.ai/docs/config/#permissions

@rekram1-node commented on GitHub (Jan 13, 2026): refer here: https://opencode.ai/docs/config/#permissions
Author
Owner

@rekram1-node commented on GitHub (Jan 13, 2026):

What is /approval?

@rekram1-node commented on GitHub (Jan 13, 2026): What is /approval?
Author
Owner

@rubin55 commented on GitHub (Jan 13, 2026):

@rekram1-node In the doc you linked, it shows an example set of permissions, for bash and edit; which others are there?

Update: nevermind, found it, great docs btw!

@rubin55 commented on GitHub (Jan 13, 2026): @rekram1-node In the doc you linked, it shows an example set of permissions, for `bash` and `edit`; which others are there? Update: nevermind, found it, great docs btw!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4689