LSP surface in this snapshot
The LSP integration spans:src/tools/LSPTool/src/services/lsp/LSPClient.tssrc/services/lsp/LSPServerManager.tssrc/services/lsp/manager.tssrc/services/lsp/passiveFeedback.ts
ENABLE_LSP_TOOL is truthy.
What the LSP tool adds
The LSP path gives Claude Code a semantic code-query channel separate from grep and plain file reads. That means the agent can, in principle, ask for symbol-aware or language-server-backed context instead of relying only on text search.Why this matters architecturally
The codebase already has strong text tools. LSP exists to supplement them where lexical search is not enough. Typical value cases are implied by the module names:- symbol context
- diagnostics
- formatter helpers
- semantic navigation
src/tools/LSPTool/schemas.ts.