Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.251 ·

SessionStart hooks can see the resumed conversation

SessionStart hooks can now see the messages carried over from a resumed session.

Use it now Notable New Features
JSON All of v2.1.251
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
HooksArea: what it touches
New FeaturesKind: in v2.1.251,
What probably matters to youSection of the release
What

SessionStart hooks now receive the messages carried over from a resumed session, not just the bare start event, so a hook can inspect prior conversation content.

Details
  • The messages are passed in as resumedMessages and transformed before hooks run.
  • No flag controls this; the field is present whenever the resume supplies messages.
Evidence

resumedMessages: v

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

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.

Added since A small documentation edit on Hooks reference touched a line naming SessionStart after this was published. The same wait applies at launch, including a resumed session: a prompt you send while SessionStart hooks are still running doesn't reach Claude until they finish. hooks see the edit
Confirmed since Anthropic's documentation has since written up SessionStart, on Claude Code changelog. * Improved `--continue` / `--resume`: the conversation appears immediately instead of waiting for SessionStart hooks, and the first message no longer re-reads the whole transcript changelog see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up SessionStart, on Claude Code changelog.
Anthropic's release notes agreeAdded PreModelSwitch and PostModelSwitch hook events (block, confirm, or annotate a model switch); SessionStart resume hooks now receive…

See this entry in the whole of v2.1.251 →

Feedback