mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-06-01 06:10:31 +00:00
feat: Update intelligence patterns and trajectories for improved command handling
- Adjusted command-failed metrics in patterns.json for better accuracy. - Added new trajectories for failed commands and successful edits in trajectories.json. - Refined hooks configuration in settings.json to streamline command execution. - Enhanced documentation in CLAUDE.md and ruvector/README.md for self-learning hooks integration. - Updated ruvector version to 0.1.38 and added publish script for ruvector-cli.
This commit is contained in:
parent
394c3e4d4e
commit
3f65afda7e
1 changed files with 32 additions and 6 deletions
|
|
@ -49,13 +49,19 @@
|
|||
{
|
||||
"matcher": "Edit|Write|MultiEdit",
|
||||
"hooks": [
|
||||
"ruvector hooks pre-edit \"$TOOL_INPUT_file_path\""
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks pre-edit \"$TOOL_INPUT_file_path\""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
"ruvector hooks pre-command \"$TOOL_INPUT_command\""
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks pre-command \"$TOOL_INPUT_command\""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
@ -63,21 +69,41 @@
|
|||
{
|
||||
"matcher": "Edit|Write|MultiEdit",
|
||||
"hooks": [
|
||||
"ruvector hooks post-edit \"$TOOL_INPUT_file_path\""
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks post-edit \"$TOOL_INPUT_file_path\""
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
"ruvector hooks post-command \"$TOOL_INPUT_command\""
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks post-command \"$TOOL_INPUT_command\""
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
"ruvector hooks session-start"
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks session-start"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
"ruvector hooks session-end"
|
||||
{
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "ruvector hooks session-end"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreCompact": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue