anomalyco / anomalyco/opencode

Don't play permission sound if auto-approve is on

Open
#48,579 2 comments 0 reactions 1 assignee View on GitHub

@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
  1. Set a permission sound
  2. Enable "auto-approve" in TUI
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.