Skip to content

TUI V2 attention sounds are still played despite --auto flag #53525

Closed as duplicate

Description

@hci2

Description

The sounds are played when the agent has originally asked for permission despite the --auto flag when starting the harness.

Plugins

0

OpenCode version

2.0.24

Steps to reproduce

The following ~/.config/opencode/cli.json settings + starting opencode CLI via opencode --auto leads to this behavior.

cli.json:

{
  "$schema": "https://opencode.ai/v2/cli.json",
  "attention": {
    "sound": true,
    "notifications": true,
    "volume": 0.85,
    "sounds": {
      "default": "<ABSOLUTE_FILE_PATH>.mp3",
      "question": "<ABSOLUTE_FILE_PATH>.mp3",
      "permission": "<ABSOLUTE_FILE_PATH>.mp3",
      "error": "<ABSOLUTE_FILE_PATH>.mp3",
      "done": "<ABSOLUTE_FILE_PATH>.mp3",
      "subagent_done": "<ABSOLUTE_FILE_PATH>.mp3"
    }
  },
  "session": {
    "permissions": "prompt"
  }
}

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

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

    • #48579: Permission sound still plays when auto-approve is enabled in the TUI.
    • #52486: The V2 TUI still shows permission attention markers on session tabs in --auto mode.
    • #47545: Auto mode continues firing attention notifications for auto-approved permission requests.
  2. iitzkube commented on Oct 9, 2026

    @iitzkube

    Not sure if it's related but opencode v2.0.24 is also spamming iTerm2 notifications on auto mode for every tool call, in the session itself nothing is actually waiting for my permission/input

    Image
  3. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    Thanks for the report. We're tracking permission sounds playing despite auto-approval in #48579, so I'm closing this as a duplicate. Please follow that issue for updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions