Files
kochetkov-ma__claude-brewcode/brewcode/hooks/hooks.json
T
kochetkov-ma ffda2b66e1 v3.4.9: sync creator agents with reference docs, permission-guard Bash support
- hook-creator: 25 events, version history, lifecycle diagrams, channel matrix
- agent-creator: 5 new fields, 10 bugs, version history, debugging section
- skill-creator: 10 bugs, effort max, CLAUDE_SKILL_DIR fix, limitations
- permission-guard: Bash tool matcher, network blocklist, .claude/tmp/ + /tmp/
2026-03-31 12:38:48 +01:00

104 lines
2.2 KiB
JSON

{
"hooks": {
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/forced-eval.mjs\"",
"timeout": 1000
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/session-start.mjs\"",
"timeout": 3000
}
]
},
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/grepai-session.mjs\"",
"timeout": 5000
}
]
}
],
"PreToolUse": [
{
"matcher": "Task",
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/pre-task.mjs\"",
"timeout": 5000
}
]
},
{
"matcher": "Glob|Grep",
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/grepai-reminder.mjs\"",
"timeout": 1000
}
]
}
],
"PostToolUse": [
{
"matcher": "Task",
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/post-task.mjs\"",
"timeout": 5000
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.mjs\"",
"timeout": 60000
}
]
}
],
"PermissionRequest": [
{
"matcher": "Edit|Write|MultiEdit|Bash",
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/permission-guard.sh\"",
"timeout": 1000
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/stop.mjs\"",
"timeout": 5000
}
]
}
]
}
}