+
+
+ {status ? `${status.total} hook${status.total === 1 ? "" : "s"} loaded` : "…"}
+
+ {status && (
+ <>
+ PreToolUse · {status.pre_tool_use}
+ PostToolUse · {status.post_tool_use}
+ UserPromptSubmit · {status.user_prompt_submit}
+ Stop · {status.stop}
+ >
+ )}
+
+ {status?.error && (
+
+ hooks.json on disk has an error (the last valid config is still active): {status.error}
+
+ )}
+ {!enabled && (
+
+ Hooks are disabled — no hook commands run, regardless of what's configured below.
+
+ )}
+
+
+