diff options
Diffstat (limited to 'plugins/code-modernization/hooks')
| -rw-r--r-- | plugins/code-modernization/hooks/hooks.json | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/plugins/code-modernization/hooks/hooks.json b/plugins/code-modernization/hooks/hooks.json index 7e99b4e0..6ac35230 100644 --- a/plugins/code-modernization/hooks/hooks.json +++ b/plugins/code-modernization/hooks/hooks.json @@ -1,4 +1,32 @@ { - "description": "The modernization pane and estate map, x-ray reads, the rule review deck, the sign-off dialog and the fleet view", - "modules": ["./register.ts"] + "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 + } + ] + } + ] + }, + "modules": [ + "./register.ts" + ] } |
