You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Streamlined Agent Permission Management with an Interactive TUI #3261
Problem: Currently, managing AI model permissions requires direct modification of the opencode.json file. This process is cumbersome, error-prone, and inefficient for developers who need to make frequent adjustments. The current workflow interrupts the development process, requiring developers to switch contexts and manually edit a configuration file, which can lead to syntax errors and invalid configurations.
Proposed Solution: To address these challenges, I propose the development of a Terminal-based User Interface (TUI) for on-the-fly management of AI model permissions. This interactive pop up would provide developers with a streamlined and intuitive way to view, add, and revoke permissions without ever leaving the command line.
Developer Benefits:
I believe this will improve efficiency, ux, visibility, and reduced error as the users wont have to worry about syntax.
This issue might be a duplicate of existing issues. Please check:
Unifying tools and permissions #1961: Unifying tools and permissions - discusses the need to unify permissions and tools management in agent configuration
Absolutely, we have discussed this internally as well. Totally in agreement
Not 100% sure how we will surface it, because it may be like claude code where you can just toggle on and off all permissions at once, but prolly makes sense to have a more advanced configuration option too
Reacted by Rui Ferrão, Rick Ross, Adam Spiers and Abdullah Al Zawad
% sure how we will surface it, because it may be like claude code where you can ju
I have something like when you press ctrl + x and then press , and that opens the settings menu where u can add new models, change the permissions and other stuff can be added later. shouldn't be that hard because the backend for all of those are already implemented im pretty sure.
My feeling is that the "accept always" choice when agents ask for permission is already going in this direction. It's just that you can't "undo" the accept always choice unless you start a new session (which would lose context). I was therefore thinking that a list of the current permissions could be in the new (?) side panel that also shows todo and modified files and so on. That would already be a benefit, because it would help keep an overview of the permissions. Maybe then there could be an interface to revoke those again.
For the config-file permissions, I feel that they are fine. I often keep my config file open and adjust the permissions while I work with open code. For the current session that adjustment can usually be done using accept always, but not necessarily for later sessions or if I want to refine things.
Coming from Claude Code, this is something I seem to be missing in the opencode TUI. Is there any way I can help with implementation?
I can try improvising something, but I figured I'd check in on whether you'd accept contributions on this
Activity
github-actions commentedon Oct 18, 2025
This issue might be a duplicate of existing issues. Please check:
Additionally, these related issues discuss permission and configuration management:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Oct 18, 2025
Absolutely, we have discussed this internally as well. Totally in agreement
Not 100% sure how we will surface it, because it may be like claude code where you can just toggle on and off all permissions at once, but prolly makes sense to have a more advanced configuration option too
Iweisc commentedon Oct 18, 2025
I have something like when you press ctrl + x and then press , and that opens the settings menu where u can add new models, change the permissions and other stuff can be added later. shouldn't be that hard because the backend for all of those are already implemented im pretty sure.
igordertigor commentedon Dec 17, 2025
My feeling is that the "accept always" choice when agents ask for permission is already going in this direction. It's just that you can't "undo" the accept always choice unless you start a new session (which would lose context). I was therefore thinking that a list of the current permissions could be in the new (?) side panel that also shows todo and modified files and so on. That would already be a benefit, because it would help keep an overview of the permissions. Maybe then there could be an interface to revoke those again.
For the config-file permissions, I feel that they are fine. I often keep my config file open and adjust the permissions while I work with open code. For the current session that adjustment can usually be done using accept always, but not necessarily for later sessions or if I want to refine things.
BackSlasher commentedon Jan 15, 2026
Coming from Claude Code, this is something I seem to be missing in the opencode TUI. Is there any way I can help with implementation?
I can try improvising something, but I figured I'd check in on whether you'd accept contributions on this
EDIT: Trying something in #8859
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.