[BUG] "Notification" hook doesn't work in VS Code extension "native UI" mode
Open 💬 13 comments Opened Oct 5, 2025 by jsh9
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code version 2.0.8, in VS Code extension's "Native UI" mode.
The "Notification" hook doesn't work any more: when Claude Code pauses to ask for my intervention, the hook doesn't work, because I set up a hook to play a sound at that moment. I can't hear that sound any more.
But in the CLI mode (version 2.0.8), I could hear that sound.
What Should Happen?
"Notification" hook should be engaged.
Error Messages/Logs
Steps to Reproduce
Put the following into ~/.claude/settings.json:
{
"hooks": {
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "afplay -v 3 /System/Library/Sounds/Blow.aiff"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "afplay -v 3 /System/Library/Sounds/Bottle.aiff"
}
]
}
]
}
}
And do something that would make Claude Code ask for human intervention.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.8
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Other
Additional Information
It happened in the new "native UI" of the VS Code extension.
This issue has 13 comments on GitHub. Read the full discussion on GitHub ↗