{"version":"2.1.333","anchor":"claude-code-side-chat-env-var-changes-how-a-print-resume-t","canonical_anchor":"claude-code-side-chat-env-var-changes-how-a-print-resume-t","heading":"New CLAUDE_CODE_SIDE_CHAT variable changes how resumed print-mode sessions load","tier":"use","area":"Print Mode","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/claude-code-side-chat-env-var-changes-how-a-print-resume-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### New CLAUDE_CODE_SIDE_CHAT variable changes how resumed print-mode sessions load\n\nSetting `CLAUDE_CODE_SIDE_CHAT` makes Claude Code rewrite the loaded messages when it resumes a session with `--print`\n\n**Unclear.** It is not clear how the loaded messages are rewritten or what the further check requires.\n\n**What**\n\n`CLAUDE_CODE_SIDE_CHAT` is a new environment variable. An environment variable is a named setting a program reads when it starts. `--print` runs Claude Code without its interactive screen and prints the answer.\n\nWhen Claude Code resumes a session in `--print` mode, it now rewrites the loaded messages before it continues if either of these holds and a further internal check passes:\n\n- the session is a fork, meaning a copy branched off another session\n\n- `CLAUDE_CODE_SIDE_CHAT` is set\n\n**Why**\n\nThe variable looks like the start of a side-chat feature. Nothing in the interface uses it yet.\n\n- Area: Print Mode\n- Names: `CLAUDE_CODE_SIDE_CHAT`, `--print`\n- Tier: Use it now\n- Useful: 5\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}