an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
seo-engine: refresh claude-code-hooks-explained (review fixes)
chaitanyagiri397dd9caec16
diff --git a/blog/src/posts/claude-code-hooks-explained.md b/blog/src/posts/claude-code-hooks-explained.mdindex c19e6514..578fc9f0 100644--- a/blog/src/posts/claude-code-hooks-explained.md+++ b/blog/src/posts/claude-code-hooks-explained.md@@ -55,9 +55,9 @@ Claude Code 2.1.284 documents 33 hook events. These are the ones most people rea| `PreCompact` | Before context compaction | Yes | `manual`, `auto` || `SessionEnd` | Session terminates | No | Why it ended |-The rest cover slash command expansion, tool batches, tasks, teammates, worktrees, file changes, MCP elicitations and model switches.+The rest cover setup, instruction loading, slash command expansion, tool batches, permission denials, subagent starts, tasks, teammates, message display, API failures, config, directory and file changes, worktrees, compaction, MCP elicitations and model switches.-The [Claude Code changelog](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) records four new events in the last six months (dates are npm publish dates): `MessageDisplay` in 2.1.152 (26 May 2026), `DirectoryAdded` in 2.1.219 (24 Jul), and `PreModelSwitch` plus `PostModelSwitch` in 2.1.251 (28 Aug). In the same window, 2.1.139 added the `args` exec form and 2.1.143 capped runaway Stop hooks at eight blocks in a row. It records no renamed events.+The [Claude Code changelog](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) records five new events in the last six months (dates are npm publish dates): `PermissionDenied` in 2.1.89 (31 Mar 2026), `MessageDisplay` in 2.1.152 (26 May), `DirectoryAdded` in 2.1.219 (24 Jul), and `PreModelSwitch` plus `PostModelSwitch` in 2.1.251 (28 Aug). In the same window, 2.1.139 added the `args` exec form and 2.1.143 capped runaway Stop hooks at eight blocks in a row. It records no renamed events.{% img "note-1" %}