diff options
| author | Claude <noreply@anthropic.com> | 2026-11-06 00:54:48 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-06 00:54:48 +0000 |
| commit | 7aba3deae3ff17d032c37e07d2929d1426b34278 (patch) | |
| tree | 9c482f9acda1599bd2f9bed95a6a46b75e634e80 /plugins/code-modernization/hooks/hooks.json | |
| parent | 5472f5f56e0070feeeb464318b316714fe3e9105 (diff) | |
| parent | b8331dd69ab3e132bbf8cd6e89b5d8c1747e21b1 (diff) | |
Merge remote-tracking branch 'origin/main' into add-plugin/xcodeadd-plugin/xcode
Diffstat (limited to 'plugins/code-modernization/hooks/hooks.json')
| -rw-r--r-- | plugins/code-modernization/hooks/hooks.json | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/plugins/code-modernization/hooks/hooks.json b/plugins/code-modernization/hooks/hooks.json new file mode 100644 index 00000000..4e14b065 --- /dev/null +++ b/plugins/code-modernization/hooks/hooks.json @@ -0,0 +1,74 @@ +{ + "description": "The modernization pane and estate map, x-ray reads, the rule review deck, the sign-off dialog and the fleet view, and usage counts (whole numbers only, see the README)", + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "sh \"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry.sh\" command", + "timeout": 10, + "asyncRewake": true + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "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 + } + ] + } + ] + }, + "modules": [ + "./register.ts" + ] +} |
