What
A remote session is Claude Code running on another machine while you watch or steer it from here. Several things about how it reports problems changed:
- Messages from Claude that match a session-failure notice are now marked
sessionFailureNotice: true, and their text is passed through a cleanup step before it is shown. - The tail of the runner's error output (stderr, where a program writes its errors) now goes through a helper before it is put into failure messages. This appears to redact it.
- When you cancel, the published state now records
lastTurnStopTime, the time the turn stopped. - Before connecting, startup now waits for a step that uses the session's SDK address (
sdkUrl). - A message already marked
isApiErrorMessagenow counts as an API error, as well as one markedis_api_error_message.
The forwarding of plugins and hooks to remote sessions is unchanged.
Why
Failure messages from remote sessions can now be shown as failure notices instead of ordinary replies, and with less raw error output in them.