feat: Hooks (#9093)

This commit is contained in:
Alex Hancock
2026-05-11 12:02:44 -04:00
committed by GitHub
parent f5eda3527c
commit 40d4b118bb
12 changed files with 1258 additions and 18 deletions
@@ -0,0 +1,45 @@
{
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${PLUGIN_ROOT}/scripts/announce.sh start"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${PLUGIN_ROOT}/scripts/announce.sh prompt"
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${PLUGIN_ROOT}/scripts/announce.sh pre-tool"
}
]
}
],
"PostToolUse": [
{
"matcher": "developer__shell|developer__text_editor",
"hooks": [
{
"type": "command",
"command": "${PLUGIN_ROOT}/scripts/announce.sh post-tool"
}
]
}
]
}
}