Unclear When whole files are held back from remote viewers is not stated.
What
In remote (CCR) sessions, Claude Code runs as a worker that sends its events to a remote service. A keep-alive is a small message that keeps the connection open. Keep-alives already required the CLAUDE_CODE_REMOTE_SEND_KEEPALIVES environment variable and a remote flag. What is new:
- Keep-alive on its own: through
noteEventsPostFailed,keepAlivesGoAloneandsendKeepAliveAlone, the worker now sends a keep_alive by itself to /worker/events when uploads have been failing recently. This only happens when the failures were not rate limiting (code 429) and nothing is being withheld. The first failure only triggers this whenCLAUDE_CODE_REMOTE_SEND_KEEPALIVESis set. Keep_alive rows from the normal write path also go this way. The failure state resets after an upload succeeds. Before, a keep-alive was only sent while a whole turn was held across model calls. - Heartbeat: the random variation in the heartbeat timing now has a minimum, and the timer has a maximum.
- Goodbye: the goodbye message is now skipped while a session is being resumed (resume_load). Before, it was only skipped in the middle of a turn.
- Flush timing: new uploader settings
streamEventWindowRunsFromLastFlushandheldBunchFlushMs, set throughsetStreamEventWindowRunsFromLastFlushandsetHeldBunchFlushMs, control how quickly streamed output is sent. - Withholding: a new
withholdsWholeFilespath can withhold whole files. Tool results for virtual user rows are no longer trimmed. The first row that makes a request is marked ephemeral, meaning temporary. Before, the only trimming was blanking tool results and MCP images. - New records: new events are recorded for headless sessions holding a message during an interrupt, for a follow-up message ending that hold, for the lone keep-alive, and for subagent progress summaries being off.
Why
A remote session can now stay connected while the events service is failing, instead of dropping. Remote viewers may also see changes in how quickly output arrives and in what is withheld from them.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
When whole files are held back from remote viewers is not stated.