Defined in ./hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_STOP:-random/orb}",
"timeout": 10
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_WEB:-}",
"timeout": 10
}
],
"matcher": "WebFetch|WebSearch"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_SESSION_END:-}",
"timeout": 10
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_WRITE:-}",
"timeout": 10
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_BASH:-}",
"timeout": 10
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_TASK:-}",
"timeout": 10
}
],
"matcher": "Task"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_NOTIFICATION:-}",
"timeout": 10
}
],
"matcher": "*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_SESSION_START:-}",
"timeout": 10
}
],
"matcher": "*"
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "nix run github:andrewgazelka/mcsound -- play ${MCSOUND_SUBAGENT_STOP:-}",
"timeout": 10
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 9
},
"eventStats": {
"Stop": 1,
"PreToolUse": 1,
"SessionEnd": 1,
"PostToolUse": 3,
"Notification": 1,
"SessionStart": 1,
"SubagentStop": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}