What
A plugin's manifest is the file that describes it. Manifests can now list optionalDependencies next to dependencies. These are other plugins that are installed and enabled with the plugin by default.
- You can disable or uninstall an optional dependency, and one that cannot be installed is skipped
- Claude Code keeps a
declinedPluginslist in a settings-like file. When automatic dependency cleanup disables a plugin, it is written to that list so it is not installed again. If that save may have failed, Claude Code warns "Could not save as declined" - Manifest checks now report an
optionalDependenciesvalue that is not a list ("'optionalDependencies' must be a list of plugin names"), a malformed entry, a name also listed independencies, and a version range that will be ignored - The field is open to all plugin authors, with no switch controlling it
Separately, the system message format in stream-json output, where each event is written as a line of JSON for another program, gains an optional agent_note field. It carries a note a plugin left for an agent about another agent's work.
Why
Plugin authors can offer helpful companion plugins without forcing them on you, and turning one off should stay turned off. Programs that read stream-json output may see the new agent_note field.