{"version":"2.1.292","anchor":"artifact-preview-env-var-can-now-force-preview-off-and-emul","canonical_anchor":"artifact-preview-env-var-can-now-force-preview-off-and-emul","heading":"CLAUDE_CODE_ARTIFACT_PREVIEW can now turn artifact preview off","tier":"use","area":"Artifacts","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/artifact-preview-env-var-can-now-force-preview-off-and-emul","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### `CLAUDE_CODE_ARTIFACT_PREVIEW` can now turn artifact preview off\n\nSetting CLAUDE_CODE_ARTIFACT_PREVIEW to false now switches artifact preview off, and emulator mode always gets preview\n\n**What**\n\nThe check that decides whether artifact preview is available now runs in this order:\n\n- `CLAUDE_CODE_ARTIFACT_PREVIEW` set to false: preview is off\n\n- Claude Code running in its \"emulator\" mode: preview is on\n\n- otherwise: the same checks as before decide\n\nBefore, the environment variable could only switch preview on. It now works as an opt-out as well.\n\n**Why**\n\nYou, or a program hosting Claude Code, can now disable artifact preview explicitly, and emulator hosts get it whatever the other checks say.\n\n- Area: Artifacts\n- Names: `CLAUDE_CODE_ARTIFACT_PREVIEW`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}