Automate actions with hooks changedhooks-guide
Nearest release: v2.1.234, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+1added
Lines−1removed
From line
666
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits45to this page, all time
The whole hunk
from line 666, old and new numbered
/
from line 666
666666| `PreToolUse`, `PostToolUse`, `PostToolUseFailure`, `PermissionRequest`, `PermissionDenied` | tool name | `Bash`, `Edit\|Write`, `mcp__.*` |
667667| `SessionStart` | how the session started | `startup`, `resume`, `clear`, `compact`, `fork` |
668668| `Setup` | which CLI flag triggered setup | `init`, `maintenance` |
669| `SessionEnd` | why the session ended | `clear`, `resume`, `logout`, `prompt_input_exit`, `bypass_permissions_disabled`, `other` |
669| `SessionEnd` | why the session ended | `clear`, `resume`, `logout`, `prompt_input_exit`, `other` |
670670| `Notification` | notification type | `permission_prompt`, `idle_prompt`, `auth_success`, `elicitation_dialog`, `elicitation_url_dialog`, `elicitation_complete`, `elicitation_response`, `agent_needs_input`, `agent_completed` |
671671| `SubagentStart` | agent type | `general-purpose`, `Explore`, `Plan`, or custom agent names |
672672| `PreCompact`, `PostCompact` | what triggered compaction | `manual`, `auto` |
No line in this hunk matches that.