feat(lsp): add LSP tools integration with workspace/configuration support
- Add 7 LSP tools: hover, goto_definition, find_references, document_symbols, workspace_symbols, diagnostics, servers - Support multiple LSP servers: typescript, gopls, pyrefly, basedpyright, ruff, rust-analyzer, clangd, sourcekit-lsp, ruby-lsp - Read LSP config from opencode.json with disabled server support - Handle server requests: workspace/configuration, client/registerCapability, window/workDoneProgress/create - Send workspace/didChangeConfiguration after initialized for basedpyright compatibility - Uint8Array-based buffer for reliable LSP message parsing
This commit is contained in:
6
src/tools/lsp/index.ts
Normal file
6
src/tools/lsp/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * from "./types"
|
||||
export * from "./constants"
|
||||
export * from "./config"
|
||||
export * from "./client"
|
||||
export * from "./utils"
|
||||
export * from "./tools"
|
||||
Reference in New Issue
Block a user