npx claudepluginhub openshift-eng/ai-helpers --plugin native-notificationsDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "if command -v osascript >/dev/null 2>&1; then osascript -e 'display notification \"Claude finished your task\" with title \"โ
Claude Code\"'; elif command -v notify-send >/dev/null 2>&1 && [ -n \"${DISPLAY:-}${WAYLAND_DISPLAY:-}\" ]; then notify-send 'โ
Claude Code' 'Claude finished your task'; else printf '\\a'; fi"
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "if command -v osascript >/dev/null 2>&1; then osascript -e 'display notification \"Claude needs your input\" with title \"๐ Claude Code\"'; elif command -v notify-send >/dev/null 2>&1 && [ -n \"${DISPLAY:-}${WAYLAND_DISPLAY:-}\" ]; then notify-send '๐ Claude Code' 'Claude needs your input'; else printf '\\a'; fi"
}
]
}
]
}"Executes claude-code-notify TypeScript script on Stop and Notification events for sending workflow notifications. No bash or file writes."