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 v1.0.77 Home All releases olderv1.0.76 v1.0.78newer
Claude Code v1.0.77

WebSocket Transport for SDK Communication

What: Added support for persistent WebSocket connections as an alternative to stdin/stdout communication How to use:

# Connect to Claude's SDK server with WebSocket
export CLAUDE_CODE_SESSION_ACCESS_TOKEN="your-token-here"
claude --sdk-url=wss://api.claude.ai/sdk/v1/connect \
       --input-format=stream-json \
       --output-format=stream-json

Details:

  • Automatic reconnection with exponential backoff (up to 5 attempts)
  • Message buffering during disconnections (1000 message capacity)
  • Request replay on reconnection to prevent message loss
  • Support for both ws:// and wss:// protocols with Bearer token authentication
  • Enables real-time bidirectional communication for streaming responses

See this entry in the whole of v1.0.77 →