Claude Code 2.1.331 Sets Plugin Defaults

On or after November 30, 2026, plugin marketplaces in managed extraKnownMarketplaces will auto-update by default, according to the Claude Code 2.1.331 changelog. That is the change to review first if your setup uses managed plugin marketplaces, because the opt-out is explicit: set autoUpdate to false on the marketplace entry.
| Question | Answer |
|---|---|
| Who must act | Admins who use managed extraKnownMarketplaces should review entries before the default changes. |
| What changes for them | Plugin marketplaces in managed extraKnownMarketplaces will auto-update by default on or after November 30, 2026. |
| Who can skip | Users without managed extraKnownMarketplaces have no action from this release note. |
Read the plugin line before the UI lines
Claude Code 2.1.331 has plenty of visible editor work: VS Code gets “Fix with Claude Code” on errors, warnings, and failed tests, plus “Add Cell to Chat” for notebook cells. Those are useful, but they do not change a managed default.
The plugin marketplace change does. A managed marketplace that used to require more deliberate update handling will move to auto-update unless its entry opts out. The release note gives the control point directly: autoUpdate: false.
This also fits a pattern from recent Claude Code releases: settings that affect shared behavior are becoming more explicit. The earlier managed configuration protection in Claude Code 2.1.327 Protects MCP Config is a good nearby example.
Rolling this out in your team?
We train engineering teams on their own codebase in two days. Claude Code setup, shared rules and review included.
Plugin dependencies get cleaner boundaries
The same release adds optionalDependencies to plugin manifests. A plugin can install with another plugin listed as optional, and that dependency can still be disabled or uninstalled on its own.
That matters because plugin bundles are where a lot of Claude Code workflow now gets packaged. A dependency should not become a hidden permanent fixture just because it arrived through another plugin.
The release also improves plugin update notices so they name plugins newly installed as dependencies separately from updated plugins. That gives a reviewer a better change record than a vague “plugins updated” message.
Terminal Code Mode expands to managed platforms
Claude Code 2.1.331 adds Code Mode support in terminal sessions on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, and Claude Platform on AWS. That makes terminal-based Code Mode more relevant in hosted and enterprise-style environments.
There is still a limit worth respecting. The release adds CLAUDE_CODE_DISABLE_RESPONSE_COMPRESSION for proxies that cut compressed model responses off, but the note says it is not advised yet for self-hosted runners or Remote Control.
That wording is useful. It gives a narrow workaround for a proxy failure mode, without pretending the environment variable is a general performance or reliability setting.
The diagnostic work is easier to prove
claude doctor now has an API connectivity section. It reports whether the API can be reached, includes the HTTP status or error, or says why the test was not run.
That is the kind of small diagnostic feature that saves time during support. A failed login, blocked proxy, or wrong endpoint can be separated from a model behavior issue before anyone starts changing prompts.
The release also adds trace span fields for LLM requests: gen_ai.usage.*, gen_ai.response.model, and gen_ai.operation.name. The note says gen_ai.usage.input_tokens includes prompt cache tokens, so cost and usage dashboards should read that field with that detail in mind.
What to try first in one repo
Use this release as a plugin inventory check in one repository before changing shared settings. Keep it small enough that the result can be reviewed in one sitting.
| Check | What to look for | Limit from the release |
|---|---|---|
| Managed marketplaces | Any managed extraKnownMarketplaces entry that should stay pinned |
Opt out by setting autoUpdate to false on that entry. |
| Plugin dependencies | Plugins that now arrive as optionalDependencies |
They can be disabled or uninstalled on their own. |
| API access | claude doctor output for API reachability |
It reports status, error, or why the test was not run. |
Safe first pass:
- Review managed plugin marketplace entries and mark any required opt-out with
autoUpdate: false. - Run
claude doctorin the repo environment and save the API connectivity result with the change note. - Open the plugin manager after the update and check whether any newly installed dependencies are listed separately.
This belongs in Review in our methodology: accept the automation only after the evidence says what changed. If your repo keeps shared AI coding rules under Team conventions, record the marketplace choice there so the next maintainer does not rediscover it from the changelog.
Further reading
Close the update deliberately
Before November 30, inspect the managed extraKnownMarketplaces entries you rely on and decide which ones should opt out of the new auto-update default.
Train your team on Claude Code
Two days on your team's own repository, onsite or remote, with a written proposal before you commit.
Book a callPrefer to measure first? Take the free team check.