From 944ff76b6b197791ed5d0fe233e888706d2e35ff Mon Sep 17 00:00:00 2001 From: rUv Date: Tue, 30 Dec 2025 17:24:34 +0000 Subject: [PATCH] docs: fix hooks format in CLAUDE.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index cdafa3406..b33326ea4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -301,15 +301,15 @@ This project uses **RuVector's self-learning intelligence hooks** configured in { "hooks": { "PreToolUse": [ - { "matcher": { "tools": ["Edit", "Write", "MultiEdit"] }, "hooks": [{ "type": "command", "command": "npx ruvector hooks pre-edit \"$TOOL_INPUT_file_path\"" }] }, - { "matcher": { "tools": ["Bash"] }, "hooks": [{ "type": "command", "command": "npx ruvector hooks pre-command \"$TOOL_INPUT_command\"" }] } + { "matcher": "Edit|Write|MultiEdit", "hooks": [{ "type": "command", "command": "npx ruvector hooks pre-edit \"$TOOL_INPUT_file_path\"" }] }, + { "matcher": "Bash", "hooks": [{ "type": "command", "command": "npx ruvector hooks pre-command \"$TOOL_INPUT_command\"" }] } ], "PostToolUse": [ - { "matcher": { "tools": ["Edit", "Write", "MultiEdit"] }, "hooks": [{ "type": "command", "command": "npx ruvector hooks post-edit \"$TOOL_INPUT_file_path\"" }] }, - { "matcher": { "tools": ["Bash"] }, "hooks": [{ "type": "command", "command": "npx ruvector hooks post-command \"$TOOL_INPUT_command\"" }] } + { "matcher": "Edit|Write|MultiEdit", "hooks": [{ "type": "command", "command": "npx ruvector hooks post-edit \"$TOOL_INPUT_file_path\"" }] }, + { "matcher": "Bash", "hooks": [{ "type": "command", "command": "npx ruvector hooks post-command \"$TOOL_INPUT_command\"" }] } ], - "SessionStart": [{ "type": "command", "command": "npx ruvector hooks session-start" }], - "Stop": [{ "type": "command", "command": "npx ruvector hooks session-end" }] + "SessionStart": [{ "hooks": [{ "type": "command", "command": "npx ruvector hooks session-start" }] }], + "Stop": [{ "hooks": [{ "type": "command", "command": "npx ruvector hooks session-end" }] }] } } ```