Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.224 ·

New environment variable CLAUDE_CODE_MESSAGING_SOCKET

Point CLAUDE_CODE_MESSAGING_SOCKET at a socket path to enable session-to-session messaging and stream-json message replay.

Use it now Notable New Features
JSON All of v2.1.224
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Cross-Session MessagingArea: what it touches
New FeaturesKind: in v2.1.224,
What probably matters to youSection of the release
What

Set CLAUDE_CODE_MESSAGING_SOCKET to a socket path and Claude Code records it with the session and, when the output format is stream-json, turns on replay of user messages without you asking for it. The variable is also carried through the set of CLAUDE_CODE_* variables Claude Code forwards to what it launches.

Details
  • The path is stored on the session registration record as messaging_socket_path.
  • Replay is only auto-enabled when it was not already on and the output format is stream-json; other output formats ignore the socket path for this purpose.
  • Neither the variable nor the session field existed in the previous build.
Evidence

CLAUDE_CODE_MESSAGING_SOCKET

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundleCLAUDE_CODE_MESSAGING_SOCKETstream-json
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_MESSAGING_SOCKET

See this entry in the whole of v2.1.224 →

Feedback