mirror of
https://github.com/kochetkov-ma/claude-brewcode.git
synced 2026-09-14 20:16:41 +08:00
46 lines
974 B
JSON
46 lines
974 B
JSON
{
|
|
"hooks": {
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node",
|
|
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/forced-eval.mjs"],
|
|
"timeout": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node",
|
|
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/session-start.mjs"],
|
|
"timeout": 3
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "compact",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node",
|
|
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/role-recall.mjs"],
|
|
"timeout": 2
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "node",
|
|
"args": ["${CLAUDE_PLUGIN_ROOT}/hooks/compact-recall.mjs"],
|
|
"timeout": 2
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|