{"version":"2.1.323","anchor":"plugin-agent-setting-deprecation-warning-and-version-list","canonical_anchor":"plugin-agent-setting-deprecation-warning-and-version-list","heading":"Plugins that set your default agent now get a deprecation warning","tier":"notice","area":"Plugins","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/plugin-agent-setting-deprecation-warning-and-version-list","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Plugins that set your default agent now get a deprecation warning\n\nA plugin's `agent` setting now shows a warning that it will stop applying; set `agent` yourself or pass `--agent` instead\n\n**What**\n\nA plugin is an add-on package for Claude Code. Some plugins set which agent (a configured assistant with its own instructions) a session uses by default. When your default agent comes from a plugin like this, Claude Code now shows a high-priority notice at startup saying that a plugin's `agent` setting is deprecated and will stop applying in a future release. To keep that agent as your default, set `agent` in your own settings or pass `--agent` when you start Claude Code.\n\nPlugin diagnostics also gained new hints for:\n\n- A plugin that sets the default agent, as above.\n\n- An invalid range for the Claude Code versions a plugin supports, with an example such as `\">=2.1.0\"`.\n\n- An `enabledPlugins` entry written as a list of versions. That does not turn the plugin on; only the value `true` enables a marketplace plugin.\n\n**Why**\n\nIf you rely on a plugin to choose your agent, this warns you ahead of time that it will stop working, so you can move the choice into your own settings.\n\n- Area: Plugins\n- Names: `agent`, `--agent`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}