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
workerSocketstream opener is gone. In the previous build it was chosen fromCLAUDE_CODE_CCR_WORKER_SOCKETor a hostedworkerSocketVersionslist. ThestreamOpener,workerSocketandkeepsRequestIdoptions were removed, along withrenewStream, and the heartbeat and POST handoff no longer go through the worker socket. cutsRefusedUploadsis a new option controlled by thetengu_snuggly_mistgate, 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. Fortengu_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.sessionRefusedis a new state for when the server refuses the session. It stops state and turn reports, and further requests return early.refusedSessionExitis 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 assession_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.