mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-22 19:56:25 +00:00
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:
parent
1ed0bc0787
commit
944ff76b6b
1 changed files with 6 additions and 6 deletions
12
CLAUDE.md
12
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" }] }]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue