Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Remote ControlArea: what it touches
Internal ChangesKind: in v2.1.330,
Internal ChangesSection of the release
Unclear It is not clear whether the ID that commands and hooks see is actually different now.
What
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.
Why
This 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.