[Bug] Notification hooks not firing for permission_prompt in VS Code extension

Status Fixed / completed
Reported on v2.1.117
Maintainer reply None cached
Activity 2 comments · opened Apr 22, 2026 · closed Apr 22, 2026

Bug Description
Notification hook (permission_prompt) does not fire in the VS Code extension. Environment: - macOS Darwin 25.3.0 - Claude Code VS Code native extension - ~/.claude/settings.json has a Notification hook: afplay /System/Library/Sounds/Blow.aiff (async: true) Repro: 1. Ask Claude to run a command that requires approval (e.g. curl https://example.com) 2. Approval prompt appears Expected: Blow.aiff plays (same config works correctly in terminal Claude Code). Actual: No sound in VS Code extension. Hook does not seem to fire. afplay itself works. Identical settings.json works in the terminal CLI. Request: Please fire Notification hooks on permission_prompt in the VS Code extension as well.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.117
  • Feedback ID: 3f653a53-a48f-475a-9944-e7a61d607937

Errors

[]

View original on GitHub ↗

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