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.334 ·

SessionStart hooks can run late for plugins that load after startup

SessionStart hooks from plugins that load late can now run, and their output can arrive before the next request to the model

Group of 2 You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

What

A hook is a command you or a plugin set up to run automatically at a certain moment. SessionStart hooks run when a session begins or resumes. Plugins that finish loading after startup now get this moment too:

  • SessionStart now also loads plugin hooks and records which plugins were offered.
  • A new onStartupPluginsSettled / runLateSessionStartHooks callback reaches the interface once startup plugins have finished loading.
  • New awaitHooksAheadOfTurn and runLateSessionStartHooks methods let these late hooks finish before a request is sent to the model.
  • Reloading the hooks module can now report "was judged" or fail with "its judges with it".

Why

Plugins that load late now get their SessionStart hooks run. The output of those hooks may reach the model at a different point than before.

Read from
Names in the bundleSessionStart
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up SessionStart, on Hooks reference. When you start an interactive session, resume a conversation at launch with `--continue` or `--resume`, or run `/clear`, you can type while SessionStart hooks run. A conversation you resumed at launch appears without waiting for the hooks.… hooks see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up SessionStart, on Hooks reference.

See this entry in the whole of v2.1.334 →

Feedback