Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.334 ·

Remote sessions are detected through a new code-surface check

Claude Code now identifies remote (CCR) code sessions through a code-surface helper as well as CLAUDE_CODE_REMOTE and CLAUDE_CODE_ENTRYPOINT

Group of 3 Under the hood Internal Changes
JSON All of v2.1.334
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.334,
Internal ChangesSection of the release

What

A remote session is one running in the cloud rather than on your own machine, called CCR inside Claude Code. Claude Code has changed how it recognises these sessions:

  • The session's entrypoint, meaning where it was started from, now comes from a CCR code-surface helper when one applies. It falls back to CLAUDE_CODE_ENTRYPOINT only when CLAUDE_CODE_REMOTE is set. It used to require CLAUDE_CODE_REMOTE plus an CLAUDE_CODE_ENTRYPOINT value from a fixed set.
  • A new ccrCodeSurface value is added to the details Claude Code collects about the session.
  • A new check combines the code-surface value with other conditions to decide whether this is a cloud code session.
  • The check that looks for CLAUDE_CODE_SESSION_KIND set to bg, meaning a background or hosted session, now answers yes straight away when CLAUDE_CODE_REMOTE is set, before it looks at CLAUDE_CODE_ENTRYPOINT.

Why

Claude Code now has a second way to recognise a cloud code session besides environment variables. Anything that depends on that check may now behave the same way in every remote session, whatever its entrypoint.

Read from

See this entry in the whole of v2.1.334 →

Feedback