diff --git a/plugins/llm-security/hooks/hooks.json b/plugins/llm-security/hooks/hooks.json index df4fedc..68aacaa 100644 --- a/plugins/llm-security/hooks/hooks.json +++ b/plugins/llm-security/hooks/hooks.json @@ -77,6 +77,17 @@ } ] } + ], + "PreCompact": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre-compact-scan.mjs" + } + ] + } ] } }