Deferred tool-call notifications now carry a traceparent so hook consumers can correlate them.
What's wrong with this entry?
When a PreToolUse hook defers a tool call, the notification sent out now includes a W3C traceparent value, so hook consumers can line the deferred call up with the surrounding trace.
- Sits alongside the existing
hookName,hookEvent: "PreToolUse"andpermissionModefields. - The value comes from the existing trace-context helper and the field is omitted entirely when there is no active trace.
hookEvent: "PreToolUse"
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