{"version":"2.1.333","anchor":"headless-plugin-install-can-run-in-background","canonical_anchor":"headless-plugin-install-can-run-in-background","heading":"Plugin installs in headless sessions run in the background by default","tier":"notice","area":"Plugins","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/headless-plugin-install-can-run-in-background","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugin installs in headless sessions run in the background by default\n\nIn headless sessions plugin installs are now marked as background installs unless `CLAUDE_CODE_SYNC_PLUGIN_INSTALL` is set\n\n**Unclear.** It is not clear what marking the install as background changes about when plugins become usable in a headless session.\n\n**What**\n\nA headless session is one where Claude Code runs without its interactive screen, for example from a script. When such a session installs plugins (add-ons that give Claude Code extra features), the install is now marked as a background install. It is not marked that way if you set the environment variable `CLAUDE_CODE_SYNC_PLUGIN_INSTALL`, a named value set in your shell before starting Claude Code.\n\nTwo related changes:\n\n- When Claude Code refreshes the MCP servers that plugins provide (MCP servers connect Claude Code to outside tools and data), it now records which servers were denied by name and which were left out because of a lock.\n\n- After Claude Code finishes waiting for plugin installs, it records the plugins for the next start.\n\n**Why**\n\nThis changes when plugins get installed in headless sessions and how their MCP servers are reported. Set `CLAUDE_CODE_SYNC_PLUGIN_INSTALL` if you need the install not to run as a background install.\n\n- Flag `tengu_dapper_platypus`: Not enough to say (read for one account on one subscription tier against v2.1.333; this account: no value returned, anonymous baseline: no value returned, compiled default: off) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: Plugins\n- Names: `CLAUDE_CODE_SYNC_PLUGIN_INSTALL`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}