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.0.42 ·

LSP Request Handler Support

Entry
JSON All of v2.0.42
EntryKind: in v2.0.42,
ChangesSection of the release

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 →

Feedback