{"version":"2.1.330","anchor":"bridge-session-env-var-set-via-env-helper","canonical_anchor":"bridge-session-env-var-set-via-env-helper","heading":"Remote Control session ID variable is now set a different way","tier":"internal","area":"Remote Control","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/bridge-session-env-var-set-via-env-helper","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Remote Control session ID variable is now set a different way\n\n`CLAUDE_CODE_BRIDGE_SESSION_ID` is now set and removed through Claude Code's own environment handling, taking its value from a different place\n\n**Unclear.** It is not clear whether the ID that commands and hooks see is actually different now.\n\n**What**\n\n`CLAUDE_CODE_BRIDGE_SESSION_ID` is an environment variable, a named value passed to programs Claude Code starts, that holds the session's ID during a Remote Control connection. Claude Code now sets and removes it through its own internal environment handling instead of writing it straight into its process environment. The value now comes from a different internal copy of the Remote Control session ID.\n\n**Why**\n\nThis may correct a wrong session ID being passed to commands and hooks, which matters if your scripts use this variable to link back to the session.\n\n- Area: Remote Control\n- Names: `CLAUDE_CODE_BRIDGE_SESSION_ID`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}