Sessions accept reply sockets in any standard socket directory, not just their own.
What's wrong with this entry?
Claude Code sessions on one machine talk over local sockets. A session now tells its peers it can handle a reply socket living in any of the standard socket directories, not only the exact directory its own socket sits in. On by default on macOS and Linux; never on Windows.
- The handshake advertises a third capability string,
reply_across_default_dirs, alongside the existing notify-idle and artifact-yield ones. - Accepted directories are matched by fixed patterns for
/tmp/cc-socks,/private/tmp/cc-socks,/run/user/<uid>/cc-socksand the Termux tmp path, and the uid component must match the listener's own uid list. - The receiving side accepts cross-directory replies when the peer process id was verified through peer credentials.
- No remote config flag: it is advertised whenever the platform is not Windows and the runtime exposes
Bun.ant.getPeerPid.
reply_across_default_dirs
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.234
Messages injected by a host are classified separately from peer messages
Both mention cross
-
v2.1.234
Cross-session control requests check ids more carefully
Both mention cross
-
v2.1.234
Notice acks now wait for the record to persist
Both mention cross