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 now record whether a mod wrote the first message

When a SessionStart hook runs, Claude Code now notes whether a mod wrote the session's first user message

Under the hood Internal Changes
JSON All of v2.1.334
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.334,
Internal ChangesSection of the release
What

A hook is a script or command that runs at a set moment. A SessionStart hook runs when a session begins or resumes. When one runs, Claude Code now notes whether a mod wrote the first user message of the session. A mod is an add-on run by Claude Code's plugin system.

Why

This is part of Claude Code's runtime for plugin mods. It records who wrote the opening message, so a session started by a mod can be told apart from one you started yourself.

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