Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Internal ChangesKind: in v2.1.246,
Internal ChangesSection of the release
What
The hook registry is now built fresh for each session, threaded through tool-use context, the submission-hook pass and assistant post-processing, and cleared on dispose along with read-file and tool state, rather than living as a module-wide global.
Details
A no-op registry ships for contexts where hooks are unavailable; its addFunctionHook returns the sentinel id function-hook-noop.
Evidence
function-hook-noop
Strings lifted out of the shipped bundle, so the claim above can be checked against them.