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.280,
Internal ChangesSection of the release
Unclear The finding does not say what values these getters actually return or how hook authors are meant to use them.
What
The object that hooks (scripts Claude Code runs automatically at certain points) can query for context now exposes two new pieces of information: hookOrigin and hookCaller, alongside the existing agentContext and agentWorktree values.
Why
This gives hook authors more information about where and by what a hook was triggered, which can help a hook behave differently depending on its origin or caller.