2026-07-25 11:35:16 +07:00
|
|
|
{
|
2026-07-25 11:58:44 +07:00
|
|
|
"hooks": {
|
2026-07-25 13:05:18 +07:00
|
|
|
"SessionStart": [{
|
2026-07-25 11:59:34 +07:00
|
|
|
"hooks": [{
|
2026-07-25 13:05:18 +07:00
|
|
|
"type": "command",
|
2026-07-26 11:51:35 +07:00
|
|
|
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-project.sh\"",
|
|
|
|
|
"shell": "bash",
|
|
|
|
|
"timeout": 10,
|
|
|
|
|
"async": false
|
2026-07-25 13:05:18 +07:00
|
|
|
}]
|
|
|
|
|
}],
|
|
|
|
|
"PreToolUse": [{
|
|
|
|
|
"matcher": "Write|Edit",
|
|
|
|
|
"hooks": [{
|
|
|
|
|
"type": "command",
|
2026-07-26 11:51:35 +07:00
|
|
|
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-file-type.sh\" \"$TOOL_INPUT\"",
|
|
|
|
|
"shell": "bash",
|
2026-07-25 13:05:18 +07:00
|
|
|
"timeout": 10
|
2026-07-25 11:59:34 +07:00
|
|
|
}]
|
2026-07-25 11:35:16 +07:00
|
|
|
}]
|
2026-07-25 11:58:44 +07:00
|
|
|
}
|
2026-07-25 11:35:16 +07:00
|
|
|
}
|