docs: fix hooks format in CLAUDE.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUv 2025-12-30 17:24:34 +00:00
parent 1ed0bc0787
commit 944ff76b6b

View file

@ -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" }] }]
}
}
```