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: Add "Save Permanently" option to permission prompts #10863
This is tedious and error-prone. The UI already knows the pattern (it shows it during "Always" confirmation) - it just needs to write it to the config file.
Use Case
User runs OpenCode with "permission": "ask"
Agent tries to run git status
User approves with "Permanent"
Pattern "git status *": "allow" is appended to opencode.json
Next session - no prompt needed for git status
Implementation Notes
The pattern is already computed (shown in the "Always" confirmation dialog)
Just needs to append to opencode.json under permission.bash (or relevant tool)
Should handle nested permission objects gracefully
Activity
github-actions commentedon Jan 27, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if this doesn't address your specific case.
github-actions commentedon Mar 30, 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.