This commit is contained in:
zhu
2026-05-07 16:14:31 +08:00
parent 95e99ec802
commit c661f4a063
151 changed files with 22280 additions and 4717 deletions

30
.cursor/hooks.json Normal file
View File

@@ -0,0 +1,30 @@
{
"version": 1,
"hooks": {
"preToolUse": [
{
"command": "python .cursor/hooks/inject-subagent-context.py",
"matcher": "Task|Subagent",
"timeout": 30
}
],
"sessionStart": [
{
"command": "python .cursor/hooks/session-start.py",
"timeout": 10
}
],
"beforeSubmitPrompt": [
{
"command": "python .cursor/hooks/inject-workflow-state.py",
"timeout": 5
}
],
"beforeShellExecution": [
{
"command": "python .cursor/hooks/inject-shell-session-context.py",
"timeout": 5
}
]
}
}