Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Session-load hooks now get the same origin check as prompt-submit hooks

Hooks for the session.load event now go through the same early step as prompt.submit hooks when Claude Code checks where a hook came from

Under the hood Internal Changes
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.333,
Internal ChangesSection of the release

Unclear It is not clear what this changes in practice for hooks that run on these events.

What

A hook is a command that runs automatically when a set event happens in Claude Code. Claude Code checks where each hook came from, for example whether it is built in or was added by a plugin.

In that check, the session.load event now takes the same early step that the prompt.submit event already took. The check that decides whether prompt hooks are not built in now also depends on one more condition.

Why

Hooks from plugins may behave a little differently at these two events.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear what this changes in practice for hooks that run on these events.
Anthropic's release notes agreeAdded a session.load event for /resume, /clear, /branch and /rewind that a mod can veto; hooks on or session. now hear it

See this entry in the whole of v2.1.333 →

Feedback