Unclear What session.identity and prompt.media return or do is not stated.
What
Plugins (add-on packages that extend Claude Code) can register hooks, which are handlers Claude Code runs at certain moments. The set of methods these hook modules can call now includes:
session.identityprompt.media
A hook registration can also carry a withheld field. When a hook handler throws an error, Claude Code now passes the error on with the event and the data the handler received attached.
Why
This widens what plugins can do from their hooks, and the extra error details make a failing handler easier to diagnose.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What `session.identity` and `prompt.media` return or do is not stated.