[FEATURE] Allow audio when claude code is sandboxed

Resolved 💬 4 comments Opened Nov 11, 2025 by kouliavtsev Closed Jan 13, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The /sandbox is awesome!

However, when you enabled it disables the Notification hooks playing sounds.

{
  "permissions": {
    "allow": ["Bash(bash:*)"],
    "deny": [],
    "ask": [],
    "defaultMode": "acceptEdits"
  },
  "hooks": {
    "Notification": [
      {
        "matcher": "idle_prompt",
        "hooks": [
          {
            "type": "command",
            "command": "bash notify.sh"
          }
        ]
      },
      {
        "matcher": "permission_prompt",
        "hooks": [
          {
            "type": "command",
            "command": "bash notify.sh"
          }
        ]
      }
    ]
  },
  // When enabled: true the sound is blocked. 🫤
  "sandbox": {
    "enabled": true,
    "autoAllowBashIfSandboxed": true
  }
}

Proposed Solution

{
  "sandbox": {
    "enabled": true,
    "autoAllowBashIfSandboxed": true,
    "allowSound" true // 👈 Something like this would be amazing.
  }
}

Alternative Solutions

_No response_

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗