{"version":"2.1.328","anchor":"force-autoupdate-plugins-added-to-an-env-var-list","canonical_anchor":"force-autoupdate-plugins-added-to-an-env-var-list","heading":"FORCE_AUTOUPDATE_PLUGINS and two remote-session variables join Claude Code's variable lists","tier":"use","area":"Environment Variables","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/force-autoupdate-plugins-added-to-an-env-var-list","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### FORCE_AUTOUPDATE_PLUGINS and two remote-session variables join Claude Code's variable lists\n\nFORCE_AUTOUPDATE_PLUGINS, CLAUDE_CODE_CCR_AFFINITY_KEY and CLAUDE_CODE_HOST_CHECKED_FOLDER now appear in Claude Code's lists of environment variables\n\n**Unclear.** What setting FORCE_AUTOUPDATE_PLUGINS changes about plugin updates is not clear.\n\n**What**\n\nAn environment variable is a named setting a program reads when it starts. Several now appear in lists Claude Code keeps of such variables:\n\n- `FORCE_AUTOUPDATE_PLUGINS` sits with the other plugin variables, such as `CLAUDE_CODE_PLUGIN_DIRS`. When it is set, one check in Claude Code stops early and answers no.\n\n- `CLAUDE_CODE_CCR_AFFINITY_KEY` is new. When it is set, Claude Code adds a header named `x-ccr-affinity-key` with its value to its requests.\n\n- `CLAUDE_CODE_HOST_CHECKED_FOLDER` is new and sits with other variables an embedding host provides, next to `CLAUDE_CODE_HOST_WORKTREE`.\n\n**Why**\n\n`FORCE_AUTOUPDATE_PLUGINS` may be a new way to influence how plugins update themselves. The affinity key looks aimed at routing remote sessions.\n\n- Area: Environment Variables\n- Names: `FORCE_AUTOUPDATE_PLUGINS`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}