Claude Code v2.1.288 ·
Package manifests can now list optional peer dependencies
Claude Code now reads an optionalPeers field when it reads a package manifest
Under the hood
No documentation found Internal Changes
JSON
All of v2.1.288
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.288,
Internal ChangesSection of the release
What
When Claude Code reads a package manifest, the file that describes a package and what it depends on, it now also reads a field named optionalPeers.
Why
This gives Claude Code one more piece of information about a package's dependencies, the other packages it needs.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich installer reads this field, and whether it is the plugin installer, is not known.
See this entry in the whole of v2.1.288 →