SessionStart hooks can now see the messages carried over from a resumed session.
What's wrong with this entry?
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.
- The messages are passed in as
resumedMessagesand transformed before hooks run. - No flag controls this; the field is present whenever the resume supplies messages.
resumedMessages: v
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
SessionEnd hooks lose the
bypass_permissions_disabledreasonBoth mention hook
-
v2.1.236
Hooks and Ctrl-C go quiet once shutdown has started
Both mention hook
-
v2.1.236
Shutdown seals transcript writes and gives SessionEnd hooks more time
Both mention hook