Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.118 Home All releases olderv2.1.117 v2.1.119newer
Claude Code v2.1.118

Sessions V2 Client (SSE Transport) [In Development]

What

A complete replacement for the WebSocket-based SessionsWebSocket client, using Server-Sent Events (SSE) over HTTP.

Status

Infrastructure added. The new SessionsV2Client coexists with the old WebSocket client.

Details
  • Uses /events/stream SSE endpoint for receiving events (replacing WebSocket)
  • Uses POST /events for sending events (replacing WebSocket send)
  • Includes reconnection budget tracking with backoff
  • Supports from_sequence_num for event replay on reconnect
  • Liveness timeout detection with automatic reconnection
  • Force reconnect capability
  • Full control request/response protocol over HTTP
Evidence

New client class (search for "SessionsV2Client") with log prefixes like "[SessionsV2Client] Connecting to", "[SessionsV2Client] Connected", etc.

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

See this entry in the whole of v2.1.118 →