summaryrefslogtreecommitdiff
path: root/plugins/code-modernization/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/code-modernization/hooks')
-rw-r--r--plugins/code-modernization/hooks/hooks.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/plugins/code-modernization/hooks/hooks.json b/plugins/code-modernization/hooks/hooks.json
index 6ac35230..4e14b065 100644
--- a/plugins/code-modernization/hooks/hooks.json
+++ b/plugins/code-modernization/hooks/hooks.json
@@ -21,6 +21,48 @@
"command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" state",
"timeout": 10,
"asyncRewake": true
+ },
+ {
+ "type": "command",
+ "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" run",
+ "timeout": 10,
+ "asyncRewake": true
+ }
+ ]
+ }
+ ],
+ "SessionStart": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" health",
+ "timeout": 10,
+ "asyncRewake": true
+ }
+ ]
+ }
+ ],
+ "PostToolUseFailure": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" failure",
+ "timeout": 10,
+ "asyncRewake": true
+ }
+ ]
+ }
+ ],
+ "StopFailure": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" failure",
+ "timeout": 10,
+ "asyncRewake": true
}
]
}