Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

Session resume now carries SessionStart hooks through, including partial-history resume

Resuming a session now properly forwards its SessionStart hooks, and can resume from just part of the transcript

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaSessionswhat it touches
KindInternal Changesin v2.1.268,
Group of 3 Under the hood

Resuming a session now properly forwards its SessionStart hooks, and can resume from just part of the transcript

What

  • Session resume/fork no longer passes hookMessages/hooksPromise directly to the startup path; instead it returns a sessionStartHooks promise wired through a new abortable "tail" queue. Resume also gained a precedingRows option, letting a caller resume from a subset of prior transcript rows instead of the full session.
  • When resuming a session from the picker, the session's recorded sessionStartHooks are captured and threaded through as pendingHookMessages into the resumed UI state.
  • Resumed sessions now propagate this sessionStartHooks field into pendingHookMessages when reconstructing state, alongside the existing sessionHooks field, which was previously missing from the restored-session object.

Why This ensures SessionStart hooks that fired for a session are correctly carried over when that session is resumed, so hook-driven setup isn't silently lost, and it also enables resuming from a partial transcript.

See this entry in the whole of v2.1.268 →

Feedback