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 ·

Resumed sessions can report "startup" to SessionStart hooks

With a new option set, SessionStart hooks in a resumed session receive the source "startup" instead of "resume"

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

Unclear It is not clear what turns on the option that makes resumed sessions report "startup".

What

A SessionStart hook is a command you set up to run when a session begins or resumes. It receives a source value saying how the session started. For a resumed session that value was always "resume" or "fork".

When a new option is set, Claude Code now gives these hooks the source "startup" instead.

Why

A hook that checks the source value may see "startup" for a session that was actually resumed.

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
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 turns on the option that makes resumed sessions report "startup".
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