chore: add AI tool configs and fix server.py indentation

This commit is contained in:
2026-05-22 12:16:21 +08:00
parent 58dcc38cc9
commit f6a801b1ac
32 changed files with 709 additions and 2 deletions
+28
View File
@@ -0,0 +1,28 @@
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|Bash",
"hooks": [
{
"type": "command",
"command": "git rev-parse --git-dir >/dev/null 2>&1 && code-review-graph update --skip-flows --repo \"/home/v6ole/PythonProject/NetBrain_MCP\" || true",
"timeout": 30
}
]
}
],
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "git rev-parse --git-dir >/dev/null 2>&1 && code-review-graph status --repo \"/home/v6ole/PythonProject/NetBrain_MCP\" || echo 'Not a git repo, skipping'",
"timeout": 10
}
]
}
]
}
}