Message your other Claude Code sessions changedcross-session-messaging
Nearest release: v2.1.328, published 7 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 18 Nov 2026 15:11 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 18 Nov 2026 15:37 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−4removed
From line
146
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 146, old and new numbered
/
from line 146
146146
147147A session inside a container and a session on the host can't reach each other. Two sessions inside the same container can still message each other, including on a [self-hosted runner](https://code.claude.com/docs/en/self-hosted-environments). A session inside WSL 2 and a native Windows session on the same computer can't reach each other either.
148148
149To require your approval before any message goes beyond this machine, set [`isolatePeerMachines`](#require-approval-for-cross-machine-messages).
149To require your approval before Claude's messages go beyond this machine, set [`isolatePeerMachines`](#require-approval-for-cross-machine-messages).
150150
151151#### Replies from other machines and cloud sessions
152152
153153A [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md), including one on a [self-hosted runner](https://code.claude.com/docs/en/self-hosted-environments), can't use `SendMessage` to answer a message from another machine, even when the message carries a [reply address](#what-a-message-looks-like). The message still arrives. Read the cloud session's response in its transcript at [claude.ai/code](https://claude.ai/code).
154154
155If this session isn't connected to Remote Control when Claude sends to a session beyond this machine, the message still goes through, but without a [reply address](#what-a-message-looks-like). The receiving Claude can't answer it.
155To receive a reply from a session on another of your machines, connect your session to Remote Control before Claude sends. Otherwise the message carries no [reply address](#what-a-message-looks-like), and the receiving Claude can't answer it.
156156
157157## How a session treats an incoming message
158158
from line 265
265265
266266## Restrict cross-session messaging
267267
268Beyond the per-message defaults, you can narrow messaging in two ways. Require your approval before any message leaves the machine, or turn messaging off for a session or an organization.
268Beyond the per-message defaults, you can narrow messaging in two ways. Require your approval before Claude's messages leave the machine, or turn messaging off for a session or an organization.
269269
270270### Require approval for cross-machine messages
271271
272Set [`isolatePeerMachines`](https://code.claude.com/docs/en/settings-reference#isolatepeermachines) to `true` to require your explicit approval before any `SendMessage` reaches a session beyond this machine:
272Set [`isolatePeerMachines`](https://code.claude.com/docs/en/settings-reference#isolatepeermachines) to `true` to require your explicit approval before Claude's `SendMessage` reaches a session beyond this machine:
273273
274274```json theme={null}
275275{
No line in this hunk matches that.