anomalyco / anomalyco/opencode
Don't play permission sound if auto-approve is on
Open
@simonklee is already working on this.
Since Sep 12, 2026.
2.0
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
When sounds are configured in the TUI, the "permission" sound always plays when the agent asks for permission, even if "Enable auto-approve permissions" is on. This causes the permission sound to play a lot if the agent is requesting permissions while auto-approve is on. If auto-approve is on the permission sound should not play
Plugins
No response
OpenCode version
1.18.29
Steps to reproduce
- Set a permission sound
- Enable "auto-approve" in TUI
- Have the agent open a file that is not in the current project
Screenshot and/or share link
No response
Operating System
CachyOS
Terminal
Kitty
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.