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.0.42 Home All releases olderv2.0.41 v2.0.43newer
Claude Code v2.0.42

LSP Request Handler Support

What: LSP servers can now send requests back to Claude Code and receive responses, enabling full bidirectional communication required by the LSP protocol.

How it works: The LSP client now supports onRequest() to handle incoming requests from language servers, complementing the existing onNotification() for one-way messages. This enables proper LSP protocol compliance.

Details:

  • Added onRequest() method to LSP client wrapper at y$Q() at line 283672
  • Implemented request handler queueing system (variable X = [] at line 283555) for handlers registered before connection establishment
  • Exposed onRequest in high-level LSP server API at x$Q() at line 283868
  • Immediately utilized to handle workspace/configuration requests at line 286293, returning null for all configuration items (safe default)
  • Evidence: y$Q() at line 283547-283803 (new LSP client), x$Q() at line 283893 (exposed API)

Why it matters: Many LSP servers (TypeScript, Python, etc.) require clients to respond to workspace/configuration requests during initialization. Without this, some language servers may fail to initialize properly or operate with reduced functionality.

See this entry in the whole of v2.0.42 →