Back to plugins
notify-hooks
Desktop sound notifications when ECA finishes responding or needs tool call approval
Notify Hooks
Desktop sound notifications for ECA events — never miss when ECA finishes or needs your approval.
What it provides
Two hooks that play system sounds:
notify-hooks.finished— Plays a completion sound when ECA finishes responding (postRequest).notify-hooks.approval— Plays a notification sound when ECA needs your approval for a tool call, or asks you a question (preToolCall).
Platform support
- Linux — Uses
canberra-gtk-play(install vialibcanberra-gtk3package) - macOS — Falls back to
afplaywith built-in system sounds
Requirements
- Linux:
sudo apt install libcanberra-gtk3-module(Debian/Ubuntu) or equivalent - macOS: No additional setup needed
jq, for the approval sound only: it reads whether the tool call needs approval. The completion sound works without it.
Credits: Based on the config shared by @ericdallo.
{
"notify-hooks.finished": {
"type": "postRequest",
"description": "Plays a sound when ECA finishes responding",
"visible": false,
"actions": [
{
"type": "shell",
"shell": "cat > /dev/null; canberra-gtk-play -i complete 2>/dev/null || afplay /System/Library/Sounds/Glass.aiff 2>/dev/null || true"
}
]
},
"notify-hooks.approval": {
"type": "preToolCall",
"description": "Plays a sound when ECA needs your approval or asks you a question",
"visible": false,
"actions": [
{
"type": "shell",
"shell": "jq -e '.approval == \"ask\"' > /dev/null && (canberra-gtk-play -i message 2>/dev/null || afplay /System/Library/Sounds/Ping.aiff 2>/dev/null || true)"
}
]
}
}