{"version":"2.1.331","anchor":"chrome-side-panel-env-var-passed-into-session-metadata","canonical_anchor":"chrome-side-panel-env-var-passed-into-session-metadata","heading":"New CLAUDE_CODE_CHROME_SIDE_PANEL variable recorded with session information","tier":"internal","area":"Chrome","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/chrome-side-panel-env-var-passed-into-session-metadata","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### New CLAUDE_CODE_CHROME_SIDE_PANEL variable recorded with session information\n\nClaude Code now reads CLAUDE_CODE_CHROME_SIDE_PANEL, records it as chromeSidePanel and passes it to programs it starts\n\n**What**\n\nClaude Code now uses a new environment variable, `CLAUDE_CODE_CHROME_SIDE_PANEL`. An environment variable is a named value handed from one program to the programs it starts.\n\n- It is read and stored as `chromeSidePanel` in the information Claude Code keeps about a session, the same place that holds `sessionCreatedAtMs`.\n\n- It is added to two lists of `CLAUDE_CODE_*` variables that are passed on to programs Claude Code starts, next to `CLAUDE_CODE_SESSION_ORIGIN` and `CLAUDE_CODE_SESSION_BEGAN_AS_COPY`.\n\nThe name did not appear in the previous build.\n\n**Why**\n\nA program that starts Claude Code can now tell it whether the session involves a Chrome side panel. That value is then kept with the session's information and passed on to any programs Claude Code starts.\n\n- Area: Chrome\n- Names: `CLAUDE_CODE_CHROME_SIDE_PANEL`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}