Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Remote session connections take a new option

Connections for remote sessions now pass a new option, onConnectNeedsRecord

Under the hood Internal Changes
JSON All of v2.1.311
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.311,
Internal ChangesSection of the release

Unclear What this option does when a remote session connects is not known.

What

When Claude Code sets up the connection for a remote session (one running somewhere other than your own terminal), it now passes a new option, onConnectNeedsRecord.

Why

It touches how remote sessions connect and reconnect.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat this option does when a remote session connects is not known.

See this entry in the whole of v2.1.311 →

Feedback