Claude Code v2.1.335 ·
Plugin command errors are tagged as validation or network failures
Plugin command errors now carry pluginCommandErrorCategory set to validation or network, and hooks files go through a normaliser
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.335,
Internal ChangesSection of the release
Unclear What the extra step applied to hooks.json and settings.json changes about how those files are read is not known.
What
Plugins add commands and features to Claude Code. When a plugin command fails, the error now says what kind of failure it was.
- A failed plugin install now carries
pluginCommandErrorCategory: "validation". Before, a plain error was thrown.
- An error that matches a network pattern now carries
pluginCommandErrorCategory: "network".
hooks.json and settings.json are now passed through a new transform before they are read.
Why
Network problems can now be told apart from invalid plugins when a plugin command fails.
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 doubtWhat the extra step applied to hooks.json and settings.json changes about how those files are read is not known.
Anthropic's release notes agreeFixed /terminal-setup refusing to update a VS Code settings.json that has trailing commas
See this entry in the whole of v2.1.335 →