{"version":"2.1.280","anchor":"claude-code-repl-environment-variable-now-preservedrestored","canonical_anchor":"claude-code-repl-environment-variable-now-preservedrestored","heading":"CLAUDE_CODE_REPL environment variable now preserved\/restored across settings changes","tier":"internal","area":"Settings","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280\/e\/claude-code-repl-environment-variable-now-preservedrestored","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.280","markdown":"### CLAUDE_CODE_REPL environment variable now preserved\/restored across settings changes\n\nCLAUDE_CODE_REPL environment variable is now preserved across settings changes\n\n**What**\n\nWhen Claude Code reconciles settings after the environment changes, it now explicitly reads the `CLAUDE_CODE_REPL` environment variable beforehand and restores it (either re-setting or unsetting it) after clearing authentication caches. Previously this step only cleared the caches without preserving this variable's value.\n\n**Why**\n\nThis prevents `CLAUDE_CODE_REPL` from being lost or reset unintentionally when settings are reconciled, keeping REPL-related behavior consistent across such changes.\n\n- Area: Settings\n- Names: `CLAUDE_CODE_REPL`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}