What
Claude Code can run commands on attached remote machines. The messages Claude, the model, receives when one of those machines stops answering have been reworked.
host_asleepis a new result for a tool call (an action Claude takes) on a machine that reported it went to sleep. The message tells a withdrawn request apart from a paused command.host_unresponsivenow takes areturnNotedflag. When the flag is set, Claude is told not to call the machine again until a later attached-machines note says it is reachable, or until the user says it is back.- The note about unreachable machines now comes in three versions:
return_noted,recheckedandcall_only. - The
return_notedversion tells Claude it need not check, because a later copy of the note will say when the machine reconnects. - The
recheckedversion says the session will recheck a few times over the next five minutes.
Before, the note was a single fixed text. It said a call takes up to 10 seconds to fail and is the only way to learn whether the machine is back. host_unresponsive always told Claude to check again only when the user says the machine is back.
Why
This changes how Claude behaves after a remote machine goes to sleep or drops offline. It should spend fewer attempts on a machine that cannot answer yet.