25 lines
470 B
JSON
25 lines
470 B
JSON
{
|
|
"hooks": {
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "osascript -e 'display notification \"✅ Demo Plugin1: Stop hook triggered\" with title \"Claude Code Hook\"'"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/greeting.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|