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 drop the worker-socket path and shut down when refused

The remote-session worker loses its worker-socket path, gains a gated cut for refused uploads, and now exits cleanly when the server refuses the session

Group of 4 You'll notice Improvements
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.334,
ImprovementsSection of the release

What

Remote sessions (CCR) and Remote Control send their events through a background worker that talks to the server. That worker changed in several ways:

  • The workerSocket stream opener is gone. In the previous build it was chosen from CLAUDE_CODE_CCR_WORKER_SOCKET or a hosted workerSocketVersions list. The streamOpener, workerSocket and keepsRequestId options were removed, along with renewStream, and the heartbeat and POST handoff no longer go through the worker socket.
  • cutsRefusedUploads is a new option controlled by the tengu_snuggly_mist gate, whose built-in fallback is off. Event uploads reset a count of refusals in a row when they succeed and cut refused uploads when refused. For tengu_snuggly_mist, the flag server returned off for this site's account and for the anonymous baseline, and no reading has been taken under this release yet.
  • sessionRefused is a new state for when the server refuses the session. It stops state and turn reports, and further requests return early.
  • refusedSessionExit is a new exit hook the runner registers at startup. When the session is refused, it is called with exit code 1, stops the session with a shutdown reason, and reports the error as session_not_active.

The other related gates for heartbeats, reconnects, stream events and the upload hold marker are still read, and all fall back to off. The reader capabilities now include an entry for hosted sessions.

Why

A remote or SDK session the server refuses now shuts down with an error instead of lingering and sending reports. The opt-in socket route set by CLAUDE_CODE_CCR_WORKER_SOCKET no longer exists.

See this entry in the whole of v2.1.334 →

Feedback