Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Remote Control session ID variable is now set a different way

CLAUDE_CODE_BRIDGE_SESSION_ID is now set and removed through Claude Code's own environment handling, taking its value from a different place

Under the hood Internal Changes
JSON All of v2.1.330
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.

Read from
What the documentation says
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear whether the ID that commands and hooks see is actually different now.

See this entry in the whole of v2.1.330 →

Feedback