Initial commit
This commit is contained in:
14
hooks/hooks.json
Normal file
14
hooks/hooks.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"hooks": {
|
||||
"Stop": [
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-notification.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
13
hooks/stop-notification.sh
Executable file
13
hooks/stop-notification.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Stop hook: Display macOS modal notification when Claude finishes working
|
||||
# This hook runs when the main Claude Code agent has finished responding
|
||||
|
||||
# Read JSON input from stdin (not used for simple notification)
|
||||
# input_data=$(cat)
|
||||
|
||||
# Display native macOS modal dialog
|
||||
osascript -e 'display dialog "Claude가 작업을 완료했습니다" with title "Claude Code 작업 완료" buttons {"확인"} default button "확인" with icon note giving up after 3'
|
||||
|
||||
# Exit with success (non-blocking)
|
||||
exit 0
|
||||
Reference in New Issue
Block a user