Unclear Which kinds of plugins have their hooks run from the installed copy is not stated.
Plugins are add-on packages for Claude Code. Some come with hooks, which are commands that run automatically at certain points. For some kinds of plugins, those hook commands now run from an installed copy of the plugin rather than from the plugin's original folder.
For those hooks, the environment variable CLAUDE_PLUGIN_ROOT now points at the installed copy. An environment variable is a named value that commands can read. Before, it pointed at the original plugin folder.
A bug is also fixed: when the plugin path had to be filled in more than once in a hook command, the result went into the wrong place.
Hooks can keep working while a plugin is being updated or replaced. If your own hook scripts rely on CLAUDE_PLUGIN_ROOT, they may now see the installed copy's location.
Which kinds of plugins have their hooks run from the installed copy is not stated.