{ "version": 1, "hooks": { "sessionStart": [{ "command": "./hooks/session-start.sh" }], "sessionEnd": [{ "command": "./hooks/session-end.sh" }], "subagentStart": [{ "command": "./hooks/subagent-start.sh" }], "subagentStop": [{ "command": "./hooks/subagent-stop.sh" }], "beforeShellExecution": [{ "command": "./hooks/before-shell-execution.sh" }], "afterShellExecution": [{ "command": "./hooks/after-shell-execution.sh" }], "beforeReadFile": [{ "command": "./hooks/before-read-file.sh" }], "afterFileEdit": [{ "command": "./hooks/after-file-edit.sh" }], "stop": [{ "command": "./hooks/stop.sh" }], "postToolUseFailure": [{ "command": "./hooks/post-tool-use-failure.sh" }] } }