What
Hooks are commands that run automatically at set points, such as SessionStart, which fires when a session begins or resumes. When a hook comes from a plugin, the usage data Claude Code records about it now also says which kind of plugin it was:
official_pluginbuilt_inother_plugin
Why
This adds one more detail to the usage data Claude Code sends about hooks. It does not change how hooks run.
Names in the bundleSessionStart
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up SessionStart, on Claude Code changelog.
* Fixed environment variables written by a SessionStart hook being lost with `claude -p --continue`changelog see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up SessionStart, on Claude Code changelog.