🔥 remove: 整体移除 LSP 子系统 - #456
Merged
Merged
Conversation
- 删 packages/sdk/src/lsp(client/registry/writethrough/adapters/lspmux)与 LSP/LSPApply 工具 - Write/Edit/NotebookEdit 摘除写穿透管线,恢复纯文件写入语义 - engine 摘除延迟诊断注入链路(pendingLspDiagnostics/internal_context) - sidecar 摘除 lsp 配置解析、预热、工具注册、事件双路与 coding 报告诊断聚合 - shared 摘除 LumeConfigLspSection、lsp.diagnostics.updated 等类型 - web 摘除 code-intelligence 工具组、lsp 元数据与事件适配分支 - 插件 manifest 摘除 lspServers 声明与权限哈希字段 typecheck 6/6 绿;受影响测试全绿(sdk/shared/web/sidecar 共 206 用例) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
将代码库恢复到无 LSP 阶段:完整摘除 LSP 加载与相关代码逻辑,共 60 个文件,+18 / −5424 行。
删除内容
SDK(packages/sdk)
src/lsp/整目录:client.ts(JSON-RPC stdio 客户端)、registry.ts(内置 server 注册表)、writethrough.ts(写穿透管线)、adapters.ts(swiftlint 适配)、lspmux.tstools/lsp-tool.ts与LSP/LSPApply两个工具及其注册、CORE_TOOL_NAMES 条目、别名prepareLspWritethrough调用与_meta.lsp输出,恢复纯文件写入语义renderLspDiagnosticsForModel、pendingLspDiagnostics、<internal_context type="lsp_diagnostics">注入、emitEvent 门控分支SDKLspDiagnosticsMessage/LspDiagnosticBatch/LspWritethroughResult及联合成员lspServers声明、lspServersConfigPathcapability 与权限哈希字段;lsp_config_invalid诊断码Sidecar(apps/sidecar)
services/agent-runtime/lsp/(四源配置合并)resolveRuntimeLspConfig、setLspIdleTimeout、warmupLspClients预热、toolConfig 注入publishLspDiagnosticsToBus总线第二入口、run-item-events 旧路投影分支clearLspWritethroughState、进程退出shutdownLspClientsShared / Web
LumeLspServerConfig/LumeConfigLspSection、LspDiagnosticsUpdatedRuntimeEvent、LspDiagnosticsDetailcode-intelligence工具组、lsp元数据、lifecycle-event-adapter 映射分支及对应测试保留
验证
bun run typecheck6/6 包全绿🤖 Generated with Claude Code