dsh-plugin-dev-kb 1.8.0 → 1.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/CHANGELOG.md +186 -178
  2. package/README.en.md +172 -172
  3. package/README.md +183 -183
  4. package/kb/INDEX.md +236 -234
  5. package/kb/README.md +88 -88
  6. package/kb/extra/AGENTS.md +77 -77
  7. package/kb/extra/deepseek-llm-api-wire-extensions.md +162 -162
  8. package/kb/extra/deepseek-llm-api-wire-extensions.zh.md +162 -162
  9. package/kb/extra/defensive-patterns/package-surface.md +233 -232
  10. package/kb/extra/defensive-patterns/package-surface.zh.md +233 -232
  11. package/kb/extra/defensive-patterns/remote-and-api.md +117 -117
  12. package/kb/extra/defensive-patterns/remote-and-api.zh.md +117 -117
  13. package/kb/extra/development.md +221 -221
  14. package/kb/extra/development.zh.md +228 -228
  15. package/kb/extra/event-producer-consumer.md +133 -123
  16. package/kb/extra/event-producer-consumer.zh.md +135 -125
  17. package/kb/extra/module-graph.md +1961 -1888
  18. package/kb/extra/module-graph.zh.md +1963 -1890
  19. package/kb/extra/persistence-changes/2026-11-05-timeline-priority-notice.md +60 -0
  20. package/kb/extra/persistence-changes/2026-11-05-timeline-priority-notice.zh.md +60 -0
  21. package/kb/extra/persistence-changes/README.md +92 -92
  22. package/kb/extra/persistence-changes/README.zh.md +92 -92
  23. package/kb/extra/persistence-changes/historical-formats/README.md +75 -75
  24. package/kb/extra/persistence-changes/historical-formats/README.zh.md +75 -75
  25. package/kb/extra/persistence-changes/releases/README.md +103 -103
  26. package/kb/extra/persistence-changes/releases/README.zh.md +103 -103
  27. package/kb/extra/rescope.md +55 -55
  28. package/kb/extra/rescope.zh.md +55 -55
  29. package/kb/extra/subsystems/boot.md +631 -621
  30. package/kb/extra/subsystems/boot.zh.md +631 -621
  31. package/kb/extra/subsystems/computer-use.md +179 -137
  32. package/kb/extra/subsystems/computer-use.zh.md +179 -137
  33. package/kb/extra/subsystems/extensions.md +387 -384
  34. package/kb/extra/subsystems/extensions.zh.md +387 -384
  35. package/kb/extra/subsystems/feedback.md +418 -400
  36. package/kb/extra/subsystems/feedback.zh.md +418 -400
  37. package/kb/extra/subsystems/forge.md +2169 -1226
  38. package/kb/extra/subsystems/forge.zh.md +2171 -1226
  39. package/kb/extra/subsystems/liveshare.md +167 -158
  40. package/kb/extra/subsystems/liveshare.zh.md +167 -158
  41. package/kb/extra/subsystems/mcp.md +237 -234
  42. package/kb/extra/subsystems/mcp.zh.md +237 -234
  43. package/kb/extra/subsystems/office-kit.md +122 -0
  44. package/kb/extra/subsystems/office-kit.zh.md +122 -0
  45. package/kb/extra/subsystems/working-directory.md +95 -64
  46. package/kb/extra/subsystems/working-directory.zh.md +95 -64
  47. package/kb/extra/subsystems/worktrees.md +187 -127
  48. package/kb/extra/subsystems/worktrees.zh.md +187 -127
  49. package/kb/extra/upgrade-guide/v0.2.1-alpha.1/python-ptc-sandbox/guide.md +21 -21
  50. package/kb/extra/upgrade-guide/v0.2.1-alpha.1/python-ptc-sandbox/guide.zh.md +21 -21
  51. package/kb/extra/upgrade-guide/v0.2.1-rc.4/sandbox-unsupported-policy-error/guide.md +18 -0
  52. package/kb/extra/upgrade-guide/v0.2.1-rc.4/sandbox-unsupported-policy-error/guide.zh.md +18 -0
  53. package/kb/extra/upgrade-guide/v0.2.2-alpha.2/llm-error-builtin-codes/guide.md +18 -0
  54. package/kb/extra/upgrade-guide/v0.2.2-alpha.2/llm-error-builtin-codes/guide.zh.md +18 -0
  55. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-kit-package/guide.md +34 -0
  56. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-kit-package/guide.zh.md +34 -0
  57. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-operation-tools/guide.md +49 -0
  58. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-operation-tools/guide.zh.md +49 -0
  59. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-skill-resources/guide.md +36 -0
  60. package/kb/extra/upgrade-guide/v0.2.2-alpha.3/office-skill-resources/guide.zh.md +36 -0
  61. package/kb/extra/upgrade-guide/v0.2.2-rc.1/account-notification-fields/guide.md +26 -0
  62. package/kb/extra/upgrade-guide/v0.2.2-rc.1/account-notification-fields/guide.zh.md +26 -0
  63. package/kb/extra/upgrade-guide/v0.2.2-rc.1/account-remote-provider/guide.md +22 -0
  64. package/kb/extra/upgrade-guide/v0.2.2-rc.1/account-remote-provider/guide.zh.md +22 -0
  65. package/kb/extra/upgrade-guide/v0.2.2-rc.1/archive-worktrees/guide.md +21 -0
  66. package/kb/extra/upgrade-guide/v0.2.2-rc.1/archive-worktrees/guide.zh.md +21 -0
  67. package/kb/extra/upgrade-guide/v0.2.2-rc.1/attachment-error-codes/guide.md +23 -0
  68. package/kb/extra/upgrade-guide/v0.2.2-rc.1/attachment-error-codes/guide.zh.md +23 -0
  69. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-ax-read-limits/guide.md +20 -0
  70. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-ax-read-limits/guide.zh.md +20 -0
  71. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-hover-ax-only/guide.md +18 -0
  72. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-hover-ax-only/guide.zh.md +18 -0
  73. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-native-platform/guide.md +23 -0
  74. package/kb/extra/upgrade-guide/v0.2.2-rc.1/cua-native-platform/guide.zh.md +23 -0
  75. package/kb/extra/upgrade-guide/v0.2.2-rc.1/dsh-doc-skill/guide.md +35 -0
  76. package/kb/extra/upgrade-guide/v0.2.2-rc.1/dsh-doc-skill/guide.zh.md +35 -0
  77. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-change-request-overview/guide.md +26 -0
  78. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-change-request-overview/guide.zh.md +26 -0
  79. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-pinned-diff/guide.md +26 -0
  80. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-pinned-diff/guide.zh.md +26 -0
  81. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-review-reads/guide.md +19 -0
  82. package/kb/extra/upgrade-guide/v0.2.2-rc.1/forge-review-reads/guide.zh.md +19 -0
  83. package/kb/extra/upgrade-guide/v0.2.2-rc.1/package-export-cleanup/guide.md +26 -0
  84. package/kb/extra/upgrade-guide/v0.2.2-rc.1/package-export-cleanup/guide.zh.md +26 -0
  85. package/kb/extra/upgrade-guide/v0.2.2-rc.1/plugin-update-method/guide.md +22 -0
  86. package/kb/extra/upgrade-guide/v0.2.2-rc.1/plugin-update-method/guide.zh.md +22 -0
  87. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-bootstrap-protocol/guide.md +25 -0
  88. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-bootstrap-protocol/guide.zh.md +25 -0
  89. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-inspect-output/guide.md +48 -0
  90. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-inspect-output/guide.zh.md +48 -0
  91. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-scoped-repl-default/guide.md +45 -0
  92. package/kb/extra/upgrade-guide/v0.2.2-rc.1/ptc-scoped-repl-default/guide.zh.md +45 -0
  93. package/kb/extra/upgrade-guide/v0.2.2-rc.1/runtime-context-reminders/guide.md +19 -0
  94. package/kb/extra/upgrade-guide/v0.2.2-rc.1/runtime-context-reminders/guide.zh.md +19 -0
  95. package/kb/extra/upgrade-guide/v0.2.2-rc.1/session-append-overloads/guide.md +17 -0
  96. package/kb/extra/upgrade-guide/v0.2.2-rc.1/session-append-overloads/guide.zh.md +17 -0
  97. package/kb/extra/upgrade-guide/v0.2.2-rc.1/subagent-interrupt-default/guide.md +27 -0
  98. package/kb/extra/upgrade-guide/v0.2.2-rc.1/subagent-interrupt-default/guide.zh.md +27 -0
  99. package/kb/extra/upgrade-guide/v0.2.2-rc.1/terminal-backend-cleanup-error/guide.md +20 -0
  100. package/kb/extra/upgrade-guide/v0.2.2-rc.1/terminal-backend-cleanup-error/guide.zh.md +20 -0
  101. package/kb/extra/upgrade-guide/v0.2.2-rc.1/terminal-bundle-sidebar-backend/guide.md +19 -0
  102. package/kb/extra/upgrade-guide/v0.2.2-rc.1/terminal-bundle-sidebar-backend/guide.zh.md +19 -0
  103. package/kb/extra/upgrade-guide/v0.2.2-rc.1/web-fetch-transport-error-codes/guide.md +18 -0
  104. package/kb/extra/upgrade-guide/v0.2.2-rc.1/web-fetch-transport-error-codes/guide.zh.md +18 -0
  105. package/kb/extra/upgrade-guide/v0.2.2-rc.1/web-search-billing/guide.md +41 -0
  106. package/kb/extra/upgrade-guide/v0.2.2-rc.1/web-search-billing/guide.zh.md +41 -0
  107. package/kb/extra/upgrade-guide/v0.2.2-rc.1/window-drag-regions/guide.md +21 -0
  108. package/kb/extra/upgrade-guide/v0.2.2-rc.1/window-drag-regions/guide.zh.md +21 -0
  109. package/kb/extra/upgrade-guide/v0.2.2-rc.2/client-module-metadata/guide.md +29 -0
  110. package/kb/extra/upgrade-guide/v0.2.2-rc.2/client-module-metadata/guide.zh.md +29 -0
  111. package/kb/extra/upgrade-guide/v0.2.2-rc.2/connection-page-peer/guide.md +25 -0
  112. package/kb/extra/upgrade-guide/v0.2.2-rc.2/connection-page-peer/guide.zh.md +25 -0
  113. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cordis-root-and-intercept-metadata/guide.md +31 -0
  114. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cordis-root-and-intercept-metadata/guide.zh.md +31 -0
  115. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-agents-without-preset/guide.md +24 -0
  116. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-agents-without-preset/guide.zh.md +24 -0
  117. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-macos-provider/guide.md +24 -0
  118. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-macos-provider/guide.zh.md +24 -0
  119. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-partial-observations/guide.md +19 -0
  120. package/kb/extra/upgrade-guide/v0.2.2-rc.2/cua-partial-observations/guide.zh.md +19 -0
  121. package/kb/extra/upgrade-guide/v0.2.2-rc.2/deepseek-files-timeout/guide.md +15 -0
  122. package/kb/extra/upgrade-guide/v0.2.2-rc.2/deepseek-files-timeout/guide.zh.md +15 -0
  123. package/kb/extra/upgrade-guide/v0.2.2-rc.2/experimental-tool-error-codes/guide.md +28 -0
  124. package/kb/extra/upgrade-guide/v0.2.2-rc.2/experimental-tool-error-codes/guide.zh.md +28 -0
  125. package/kb/extra/upgrade-guide/v0.2.2-rc.2/package-export-cleanup/guide.md +36 -0
  126. package/kb/extra/upgrade-guide/v0.2.2-rc.2/package-export-cleanup/guide.zh.md +36 -0
  127. package/kb/extra/upgrade-guide/v0.2.2-rc.2/python-ptc-removal/guide.md +22 -0
  128. package/kb/extra/upgrade-guide/v0.2.2-rc.2/python-ptc-removal/guide.zh.md +22 -0
  129. package/kb/extra/upgrade-guide/v0.2.2-rc.2/session-status-package/guide.md +31 -0
  130. package/kb/extra/upgrade-guide/v0.2.2-rc.2/session-status-package/guide.zh.md +31 -0
  131. package/kb/extra/upgrade-guide/v0.2.2-rc.2/shared-search-filter/guide.md +18 -0
  132. package/kb/extra/upgrade-guide/v0.2.2-rc.2/shared-search-filter/guide.zh.md +18 -0
  133. package/kb/extra/upgrade-guide/v0.2.2-rc.2/shell-fs-tool-error-codes/guide.md +30 -0
  134. package/kb/extra/upgrade-guide/v0.2.2-rc.2/shell-fs-tool-error-codes/guide.zh.md +30 -0
  135. package/kb/extra/web-styling.md +57 -57
  136. package/kb/extra/web-styling.zh.md +57 -57
  137. package/kb/meta/search-index.json +4508 -3980
  138. package/kb/meta/source.json +18 -18
  139. package/kb/site/develop/practice/llm-adapter.md +192 -192
  140. package/kb/site/en/develop/practice/llm-adapter.md +192 -192
  141. package/kb/site/en/guide/desktop-uninstall-cleanup.md +63 -0
  142. package/kb/site/en/guide/plugin-market.md +153 -151
  143. package/kb/site/en/guide/providers.md +234 -234
  144. package/kb/site/en/guide/quickstart.md +35 -34
  145. package/kb/site/en/reference/capability-seams.md +789 -767
  146. package/kb/site/en/reference/config-catalog.md +5432 -5128
  147. package/kb/site/en/reference/cookbook/adding-a-package.md +175 -175
  148. package/kb/site/en/reference/cookbook/adding-a-tool.md +105 -104
  149. package/kb/site/en/reference/cookbook/extension-cookbook.md +178 -135
  150. package/kb/site/en/reference/cordis-api/context.md +373 -369
  151. package/kb/site/en/reference/cordis-api/fiber.md +457 -433
  152. package/kb/site/en/reference/cordis-api/inherited.md +44 -44
  153. package/kb/site/en/reference/cordis-api/service.md +118 -107
  154. package/kb/site/en/reference/experimental-persistence-catalog.md +36 -23
  155. package/kb/site/en/reference/index.md +174 -174
  156. package/kb/site/en/reference/persistence-catalog.md +9453 -9432
  157. package/kb/site/en/reference/subsystems/compaction.md +288 -288
  158. package/kb/site/en/reference/subsystems/core.md +1172 -1171
  159. package/kb/site/en/reference/subsystems/credentials.md +526 -497
  160. package/kb/site/en/reference/subsystems/filesystem.md +708 -708
  161. package/kb/site/en/reference/subsystems/index.md +82 -82
  162. package/kb/site/en/reference/subsystems/llm-streaming.md +1290 -1288
  163. package/kb/site/en/reference/subsystems/lsp.md +230 -206
  164. package/kb/site/en/reference/subsystems/persistence.md +451 -432
  165. package/kb/site/en/reference/subsystems/plan.md +91 -91
  166. package/kb/site/en/reference/subsystems/ptc-runtime.md +295 -261
  167. package/kb/site/en/reference/subsystems/sandbox.md +250 -232
  168. package/kb/site/en/reference/subsystems/session-query.md +525 -515
  169. package/kb/site/en/reference/subsystems/session-reference.md +231 -229
  170. package/kb/site/en/reference/subsystems/session.md +1478 -1431
  171. package/kb/site/en/reference/subsystems/sidebar-right.md +165 -165
  172. package/kb/site/en/reference/subsystems/skills.md +356 -356
  173. package/kb/site/en/reference/subsystems/slots.md +235 -231
  174. package/kb/site/en/reference/subsystems/terminal.md +188 -188
  175. package/kb/site/en/reference/subsystems/tools.md +902 -891
  176. package/kb/site/en/reference/subsystems/user-questions.md +330 -327
  177. package/kb/site/en/reference/subsystems/web-client.md +161 -104
  178. package/kb/site/en/reference/subsystems/web-server.md +434 -351
  179. package/kb/site/en/reference/subsystems/web.md +268 -268
  180. package/kb/site/en/reference/subsystems/workflow.md +287 -282
  181. package/kb/site/en/reference/subsystems/workspace.md +743 -651
  182. package/kb/site/en/reference/tool-catalog.md +2867 -2704
  183. package/kb/site/guide/desktop-uninstall-cleanup.md +63 -0
  184. package/kb/site/guide/plugin-market.md +153 -151
  185. package/kb/site/guide/providers.md +234 -234
  186. package/kb/site/guide/quickstart.md +35 -34
  187. package/kb/site/reference/capability-seams.md +789 -767
  188. package/kb/site/reference/config-catalog.md +5432 -5128
  189. package/kb/site/reference/cookbook/adding-a-package.md +175 -175
  190. package/kb/site/reference/cookbook/adding-a-tool.md +107 -106
  191. package/kb/site/reference/cookbook/extension-cookbook.md +182 -139
  192. package/kb/site/reference/cordis-api/context.md +373 -369
  193. package/kb/site/reference/cordis-api/fiber.md +459 -435
  194. package/kb/site/reference/cordis-api/inherited.md +44 -44
  195. package/kb/site/reference/cordis-api/service.md +118 -107
  196. package/kb/site/reference/experimental-persistence-catalog.md +36 -23
  197. package/kb/site/reference/index.md +178 -178
  198. package/kb/site/reference/persistence-catalog.md +9453 -9432
  199. package/kb/site/reference/subsystems/compaction.md +288 -288
  200. package/kb/site/reference/subsystems/core.md +1184 -1183
  201. package/kb/site/reference/subsystems/credentials.md +526 -497
  202. package/kb/site/reference/subsystems/filesystem.md +708 -708
  203. package/kb/site/reference/subsystems/index.md +82 -82
  204. package/kb/site/reference/subsystems/llm-streaming.md +1296 -1294
  205. package/kb/site/reference/subsystems/lsp.md +230 -206
  206. package/kb/site/reference/subsystems/persistence.md +451 -432
  207. package/kb/site/reference/subsystems/plan.md +91 -91
  208. package/kb/site/reference/subsystems/ptc-runtime.md +295 -261
  209. package/kb/site/reference/subsystems/sandbox.md +250 -232
  210. package/kb/site/reference/subsystems/session-query.md +525 -515
  211. package/kb/site/reference/subsystems/session-reference.md +231 -229
  212. package/kb/site/reference/subsystems/session.md +1482 -1435
  213. package/kb/site/reference/subsystems/sidebar-right.md +165 -165
  214. package/kb/site/reference/subsystems/skills.md +356 -356
  215. package/kb/site/reference/subsystems/slots.md +239 -235
  216. package/kb/site/reference/subsystems/terminal.md +188 -188
  217. package/kb/site/reference/subsystems/tools.md +902 -891
  218. package/kb/site/reference/subsystems/user-questions.md +330 -327
  219. package/kb/site/reference/subsystems/web-client.md +161 -104
  220. package/kb/site/reference/subsystems/web-server.md +434 -351
  221. package/kb/site/reference/subsystems/web.md +268 -268
  222. package/kb/site/reference/subsystems/workflow.md +287 -282
  223. package/kb/site/reference/subsystems/workspace.md +743 -651
  224. package/kb/site/reference/tool-catalog.md +2872 -2709
  225. package/lib/index.js +359 -359
  226. package/package.json +68 -68
  227. package/skills/dsh-plugin-dev-kb.md +71 -70
  228. package/kb/extra/subsystems/office-to-pdf.md +0 -87
  229. package/kb/extra/subsystems/office-to-pdf.zh.md +0 -87
@@ -1,206 +1,230 @@
1
- ---
2
- editSource: "docs/subsystems/lsp.zh.md"
3
- rawMarkdownPath: "reference/subsystems/lsp.md"
4
- outline: [2,3]
5
- ---
6
-
7
- # LSP 导航
8
-
9
- LSP seam 是一个[能力 seam](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/glossary.zh.md#capability-seam):它在单一 `ctx.lsp` 服务上公开语义代码导航,并拆分到多个包:Service Definition([dsh-lsp](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/lsp),`ctx.lsp` + 提供方注册表)、通用 Service Provider([dsh-lsp-stdio](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/lsp-stdio),经过配置的 stdio 语言服务器宿主)和 Consumer([dsh-tool-lsp](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/tool-lsp),即 `lsp` 工具 schema)。LSP 是**一项可选能力**,不属于 agent loop(智能体循环)主干,因此其词汇定义在此而非 [core.md](./core.md) 中。更换提供方不会改变模型请求导航的方式。
10
-
11
- 源文件:[`packages/lsp/lsp/src/types.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/lsp/lsp/src/types.ts)
12
-
13
- ## 操作与坐标
14
-
15
- seam 与模型恰好公开 4 项语义查询;该联合是闭合的,因此新增一项查询会通过编译强制要求同步修改 seam、提供方和工具。位置与范围采用从零开始的 UTF-16 坐标,与协议一致;面向模型的工具采用从 1 开始的光标约定,并在输入和输出时进行转换。
16
-
17
- ```ts type-equiv
18
- /**
19
- * The four semantic queries the seam and model expose. A closed union: adding an operation is a
20
- * compile-enforced change across the seam, providers, and the tool. Symbols and call hierarchy are
21
- * not operations here; they need different schemas.
22
- */
23
- type LspOperation = 'goToDefinition' | 'findReferences' | 'goToImplementation' | 'hover'
24
- ```
25
-
26
- ```ts type-equiv
27
- /** A zero-based UTF-16 cursor coordinate, matching the LSP wire convention. */
28
- interface LspPosition {
29
- /** Zero-based line. */
30
- readonly line: number
31
- /** Zero-based UTF-16 code-unit offset within the line. */
32
- readonly character: number
33
- }
34
- ```
35
-
36
- ```ts type-equiv
37
- /** A zero-based UTF-16 half-open range `[start, end)`. */
38
- interface LspRange {
39
- readonly start: LspPosition
40
- readonly end: LspPosition
41
- }
42
- ```
43
-
44
- ## 请求
45
-
46
- 每个字段都是必填项:`workspaceRoot` 由调用方提供,`languageId` 来自提供方注册而非请求,超时与结果上限由消费方决定。因此没有字段需要由实现提供默认值,也不存在 `resolve()` 步骤。提供方收到调用方请求和派生的 `languageId`;后者只用于同步瞬态文档,从不参与选择。
47
-
48
- ```ts type-equiv
49
- /**
50
- * A caller's normalized query. Every field is required: `workspaceRoot` is caller-supplied,
51
- * `languageId` comes from the provider registration (not here), and consumers own timeouts and
52
- * result limits — so no field needs implementation defaulting and there is no `resolve()` step.
53
- */
54
- interface LspQueryRequest {
55
- /** Which semantic query to run. */
56
- readonly operation: LspOperation
57
- /** The source file to query (relative to `workspaceRoot` or absolute; the provider canonicalizes). */
58
- readonly filePath: string
59
- /** The zero-based UTF-16 cursor position to query at. */
60
- readonly position: LspPosition
61
- /** The workspace root the provider resolves against and indexes; required, never defaulted. */
62
- readonly workspaceRoot: string
63
- }
64
- ```
65
-
66
- ```ts type-equiv
67
- /**
68
- * A request as a provider receives it: the caller's {@link LspQueryRequest} plus the `languageId`
69
- * the seam derived from the provider's extension mapping. The language id only synchronizes the
70
- * transient document; it does not participate in selection.
71
- */
72
- interface LspProviderQuery extends LspQueryRequest {
73
- /** The LSP language id for `filePath`, from this provider's extension mapping. */
74
- readonly languageId: string
75
- }
76
- ```
77
-
78
- ## 结果
79
-
80
- 这是一个闭合的可辨识联合:导航操作规范化为 `locations`,`hover` 规范化为内容或 `null`。消费方使用 `switch` 对 `kind` 做穷尽处理,因此新增分支会使编译失败,直到完成处理。`findReferences` 始终包含声明;提供方在内部强制保证这一点,因此调用方没有对应 flag。`locations` 变体携带 `resolvedWorkspaceUri`,即提供方的规范工作区 `file:` URI。调用方相对化位置 URI 时应使用这一坐标,而不是对可能经过符号链接的请求根目录应用宿主平台路径规则。
81
-
82
- ```ts type-equiv
83
- /** One resolved location: a document URI and the range within it. */
84
- interface LspLocation {
85
- /** The target document URI (`file:` or otherwise), verbatim from the server. */
86
- readonly uri: string
87
- /** The range within the target document. */
88
- readonly range: LspRange
89
- }
90
- ```
91
-
92
- ```ts type-equiv
93
- /** Normalized hover content, or `null` for no hover at the position. */
94
- interface LspHover {
95
- /** The normalized hover text (markdown or plaintext, provider-joined). */
96
- readonly contents: string
97
- /** The range the hover applies to, when the server supplied one. */
98
- readonly range?: LspRange
99
- }
100
- ```
101
-
102
- ```ts type-equiv
103
- /**
104
- * The closed result union. Navigation operations (`goToDefinition`, `findReferences`,
105
- * `goToImplementation`) normalize to `locations`; `hover` normalizes to content or `null`.
106
- * Consumers `switch` on `kind` to exhaustiveness so a new arm breaks compilation until handled.
107
- *
108
- * The `locations` variant carries `resolvedWorkspaceUri`: the provider's canonical `file:` URI for
109
- * the request's workspace root. A caller that relativizes location URIs MUST use this, not parse the
110
- * request's possibly symlinked process path with host-platform rules; the execution platform may
111
- * differ from the caller's.
112
- */
113
- type LspQueryResult =
114
- | { readonly kind: 'locations'; readonly locations: readonly LspLocation[]; readonly resolvedWorkspaceUri: string }
115
- | { readonly kind: 'hover'; readonly hover: LspHover | null }
116
- ```
117
-
118
- ## 提供方与服务
119
-
120
- 每个提供方拥有一个稳定的品牌化 `id`,以及一份互斥的、小写且以点开头的扩展名映射。`registerProvider` 会原子预留 id 和每个扩展名:注册无效或冲突时不发布任何内容;其 disposer 会释放所有保留项。每次查询独立选择提供方,且选择与顺序无关;没有匹配项时抛出 `LspError` `LSP_UNAVAILABLE`。该 seam 不公开协议类型、进程或文档控制,也不提供通用 JSON-RPC 逃生口。
121
-
122
- ```ts type-equiv
123
- /**
124
- * A language-server backend registered on `ctx.lsp`. Each provider owns a stable {@link
125
- * LspProviderId} and an extension-to-language-id map (lowercase, leading-dot keys).
126
- * `findReferences` always includes declarations — the provider enforces this internally; callers
127
- * get no flag.
128
- */
129
- interface LspProvider {
130
- /** Stable provider identity, reserved atomically with the extension mappings. */
131
- readonly id: LspProviderId
132
- /** Lowercase leading-dot extension → LSP language id (e.g. `{ '.ts': 'typescript' }`). */
133
- readonly extensionToLanguage: Readonly<Record<string, string>>
134
- /**
135
- * Run one query. The seam has already selected this provider and derived `languageId`.
136
- * @param request - the resolved provider query (caller request + derived language id).
137
- * @param signal - optional cancellation; the provider stops its own work when it aborts.
138
- * @returns the normalized, closed-union result.
139
- */
140
- query(request: LspProviderQuery, signal?: AbortSignal): Promise<LspQueryResult>
141
- }
142
- ```
143
-
144
- ```ts type-equiv
145
- /**
146
- * The LSP capability seam (`ctx.lsp`). Owns provider registration/selection and normalized query
147
- * execution; exposes exactly the four operations and no protocol escape hatch.
148
- */
149
- interface LspService {
150
- /**
151
- * Register a provider, atomically reserving its id and every normalized extension. Any conflict
152
- * or invalid input publishes nothing and throws `LspError`; the returned disposer releases all
153
- * reservations. Disposed with the calling fiber.
154
- * @param provider - the backend to register.
155
- * @returns a synchronous disposer releasing the id and all extension reservations.
156
- */
157
- registerProvider(provider: LspProvider): () => void
158
- /**
159
- * Select a provider by the file's extension and run one query. Selection is per-query and
160
- * order-independent; no match throws `LspError` `LSP_UNAVAILABLE`.
161
- * @param request - the normalized query.
162
- * @param signal - optional cancellation forwarded to the selected provider.
163
- * @returns the normalized, closed-union result.
164
- */
165
- query(request: LspQueryRequest, signal?: AbortSignal): Promise<LspQueryResult>
166
- }
167
- ```
168
-
169
- `LspProviderId` 是该 seam 的品牌化 id(来自 [dsh-brand](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/util/brand) 的 `Branded<'LspProviderId'>`);`LspError` 扩展 `HarnessError`,提供 `LSP_INVALID_PROVIDER`、`LSP_CONFLICT`、`LSP_UNAVAILABLE`、`LSP_DISPOSED`、`LSP_UNSUPPORTED_OPERATION` 和 `LSP_MALFORMED_RESPONSE` 等稳定错误码,调用方应按错误码路由,而不是解析 `message`。
170
-
171
- <!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
172
-
173
- <a id="cordis-surface"></a>
174
-
175
- ## Cordis API
176
-
177
- Generated from source by `scripts/gen-cordis-catalog.ts` (verified fresh by `pnpm run verify-cordis-catalog` in doc-sync; regenerate with `pnpm run gen-cordis-catalog`) — the language sides differ only in locale-specific paired document paths. Signature blocks use a `ts cordis-catalog` fence and keep the original source JSDoc; dispatch modes are defined in the [primer](../cordis-primer.md#dispatch-modes), and the framework-inherited `ctx` API lives in [cordis-api/inherited.md](../cordis-api/inherited.md).
178
-
179
- <a id="ctxlsp--lspservice"></a>
180
-
181
- ### `ctx.lsp` — `LspService`
182
-
183
- The LSP capability seam (`ctx.lsp`). Owns provider registration/selection and normalized query execution; exposes exactly the four operations and no protocol escape hatch.
184
-
185
- ```ts cordis-catalog
186
- /**
187
- * Register a provider, atomically reserving its id and every normalized extension. Any conflict
188
- * or invalid input publishes nothing and throws `LspError`; the returned disposer releases all
189
- * reservations. Disposed with the calling fiber.
190
- * @param provider - the backend to register.
191
- * @returns a synchronous disposer releasing the id and all extension reservations.
192
- */
193
- registerProvider(provider: LspProvider): () => void
194
-
195
- /**
196
- * Select a provider by the file's extension and run one query. Selection is per-query and
197
- * order-independent; no match throws `LspError` `LSP_UNAVAILABLE`.
198
- * @param request - the normalized query.
199
- * @param signal - optional cancellation forwarded to the selected provider.
200
- * @returns the normalized, closed-union result.
201
- */
202
- query(request: LspQueryRequest, signal?: AbortSignal): Promise<LspQueryResult>
203
- ```
204
-
205
- Source: [`packages/lsp/lsp/src/types.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/lsp/lsp/src/types.ts)
206
- <!-- END GENERATED cordis-surface -->
1
+ ---
2
+ editSource: "docs/subsystems/lsp.zh.md"
3
+ rawMarkdownPath: "reference/subsystems/lsp.md"
4
+ outline: [2,3]
5
+ ---
6
+
7
+ # LSP 导航
8
+
9
+ LSP seam 是一个[能力 seam](https://github.com/deepseek-ai/deepseek-harness/blob/master/docs/glossary.zh.md#capability-seam):它在单一 `ctx.lsp` 服务上公开语义代码导航,并拆分到多个包:Service Definition([dsh-lsp](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/lsp),`ctx.lsp` + 提供方注册表)、通用 Service Provider([dsh-lsp-stdio](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/lsp-stdio),经过配置的 stdio 语言服务器宿主)和 Consumer([dsh-tool-lsp](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/lsp/tool-lsp),即 `lsp` 工具 schema)。LSP 是**一项可选能力**,不属于 agent loop(智能体循环)主干,因此其词汇定义在此而非 [core.md](./core.md) 中。更换提供方不会改变模型请求导航的方式。
10
+
11
+ 源文件:[`packages/lsp/lsp/src/types.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/lsp/lsp/src/types.ts)
12
+
13
+ ## 操作与坐标
14
+
15
+ seam 与模型恰好公开 4 项语义查询;该联合是闭合的,因此新增一项查询会通过编译强制要求同步修改 seam、提供方和工具。位置与范围采用从零开始的 UTF-16 坐标,与协议一致;面向模型的工具采用从 1 开始的光标约定,并在输入和输出时进行转换。
16
+
17
+ ```ts type-equiv
18
+ /**
19
+ * The four semantic queries the seam and model expose. A closed union: adding an operation is a
20
+ * compile-enforced change across the seam, providers, and the tool. Symbols and call hierarchy are
21
+ * not operations here; they need different schemas.
22
+ */
23
+ type LspOperation = 'goToDefinition' | 'findReferences' | 'goToImplementation' | 'hover'
24
+ ```
25
+
26
+ ```ts type-equiv
27
+ /** A zero-based UTF-16 cursor coordinate, matching the LSP wire convention. */
28
+ interface LspPosition {
29
+ /** Zero-based line. */
30
+ readonly line: number
31
+ /** Zero-based UTF-16 code-unit offset within the line. */
32
+ readonly character: number
33
+ }
34
+ ```
35
+
36
+ ```ts type-equiv
37
+ /** A zero-based UTF-16 half-open range `[start, end)`. */
38
+ interface LspRange {
39
+ readonly start: LspPosition
40
+ readonly end: LspPosition
41
+ }
42
+ ```
43
+
44
+ ## 请求
45
+
46
+ 每个字段都是必填项:`workspaceRoot` 由调用方提供,`languageId` 来自提供方注册而非请求,超时与结果上限由消费方决定。因此没有字段需要由实现提供默认值,也不存在 `resolve()` 步骤。提供方收到调用方请求和派生的 `languageId`;后者只用于同步瞬态文档,从不参与选择。
47
+
48
+ ```ts type-equiv
49
+ /**
50
+ * A caller's normalized query. Every field is required: `workspaceRoot` is caller-supplied,
51
+ * `languageId` comes from the provider registration (not here), and consumers own timeouts and
52
+ * result limits — so no field needs implementation defaulting and there is no `resolve()` step.
53
+ */
54
+ interface LspQueryRequest {
55
+ /** Which semantic query to run. */
56
+ readonly operation: LspOperation
57
+ /** The source file to query (relative to `workspaceRoot` or absolute; the provider canonicalizes). */
58
+ readonly filePath: string
59
+ /** The zero-based UTF-16 cursor position to query at. */
60
+ readonly position: LspPosition
61
+ /** The workspace root the provider resolves against and indexes; required, never defaulted. */
62
+ readonly workspaceRoot: string
63
+ }
64
+ ```
65
+
66
+ ```ts type-equiv
67
+ /**
68
+ * A request as a provider receives it: the caller's {@link LspQueryRequest} plus the `languageId`
69
+ * the seam derived from the provider's extension mapping. The language id only synchronizes the
70
+ * transient document; it does not participate in selection.
71
+ */
72
+ interface LspProviderQuery extends LspQueryRequest {
73
+ /** The LSP language id for `filePath`, from this provider's extension mapping. */
74
+ readonly languageId: string
75
+ }
76
+ ```
77
+
78
+ ## 结果
79
+
80
+ 这是一个闭合的可辨识联合:导航操作规范化为 `locations`,`hover` 规范化为内容或 `null`。消费方使用 `switch` 对 `kind` 做穷尽处理,因此新增分支会使编译失败,直到完成处理。`findReferences` 始终包含声明;提供方在内部强制保证这一点,因此调用方没有对应 flag。`locations` 变体携带 `resolvedWorkspaceUri`,即提供方的规范工作区 `file:` URI。调用方相对化位置 URI 时应使用这一坐标,而不是对可能经过符号链接的请求根目录应用宿主平台路径规则。
81
+
82
+ ```ts type-equiv
83
+ /** One resolved location: a document URI and the range within it. */
84
+ interface LspLocation {
85
+ /** The target document URI (`file:` or otherwise), verbatim from the server. */
86
+ readonly uri: string
87
+ /** The range within the target document. */
88
+ readonly range: LspRange
89
+ }
90
+ ```
91
+
92
+ ```ts type-equiv
93
+ /** Normalized hover content, or `null` for no hover at the position. */
94
+ interface LspHover {
95
+ /** The normalized hover text (markdown or plaintext, provider-joined). */
96
+ readonly contents: string
97
+ /** The range the hover applies to, when the server supplied one. */
98
+ readonly range?: LspRange
99
+ }
100
+ ```
101
+
102
+ ```ts type-equiv
103
+ /**
104
+ * The closed result union. Navigation operations (`goToDefinition`, `findReferences`,
105
+ * `goToImplementation`) normalize to `locations`; `hover` normalizes to content or `null`.
106
+ * Consumers `switch` on `kind` to exhaustiveness so a new arm breaks compilation until handled.
107
+ *
108
+ * The `locations` variant carries `resolvedWorkspaceUri`: the provider's canonical `file:` URI for
109
+ * the request's workspace root. A caller that relativizes location URIs MUST use this, not parse the
110
+ * request's possibly symlinked process path with host-platform rules; the execution platform may
111
+ * differ from the caller's.
112
+ */
113
+ type LspQueryResult =
114
+ | { readonly kind: 'locations'; readonly locations: readonly LspLocation[]; readonly resolvedWorkspaceUri: string }
115
+ | { readonly kind: 'hover'; readonly hover: LspHover | null }
116
+ ```
117
+
118
+ ## 提供方与服务
119
+
120
+ 每个提供方拥有一个稳定的品牌化 `id`,以及一份互斥的、小写且以点开头的扩展名映射。`registerProvider` 会原子预留 id 和每个扩展名:注册无效或冲突时不发布任何内容;其 disposer 会释放所有保留项。每次查询独立选择提供方,且选择与顺序无关;没有匹配项时抛出 `LspError` `LSP_UNAVAILABLE`。该 seam 不公开协议类型、进程或文档控制,也不提供通用 JSON-RPC 逃生口。
121
+
122
+ ```ts type-equiv
123
+ /**
124
+ * A language-server backend registered on `ctx.lsp`. Each provider owns a stable {@link
125
+ * LspProviderId} and an extension-to-language-id map (lowercase, leading-dot keys).
126
+ * `findReferences` always includes declarations — the provider enforces this internally; callers
127
+ * get no flag.
128
+ */
129
+ interface LspProvider {
130
+ /** Stable provider identity, reserved atomically with the extension mappings. */
131
+ readonly id: LspProviderId
132
+ /** Lowercase leading-dot extension → LSP language id (e.g. `{ '.ts': 'typescript' }`). */
133
+ readonly extensionToLanguage: Readonly<Record<string, string>>
134
+ /**
135
+ * Run one query. The seam has already selected this provider and derived `languageId`.
136
+ * @param request - the resolved provider query (caller request + derived language id).
137
+ * @param signal - optional cancellation; the provider stops its own work when it aborts.
138
+ * @returns the normalized, closed-union result.
139
+ */
140
+ query(request: LspProviderQuery, signal?: AbortSignal): Promise<LspQueryResult>
141
+ }
142
+ ```
143
+
144
+ ```ts type-equiv
145
+ /**
146
+ * The LSP capability seam (`ctx.lsp`). Owns provider registration/selection and normalized query
147
+ * execution; exposes exactly the four operations and no protocol escape hatch.
148
+ */
149
+ interface LspService {
150
+ /**
151
+ * Register a provider, atomically reserving its id and every normalized extension. Any conflict
152
+ * or invalid input publishes nothing and throws `LspError`; the returned disposer releases all
153
+ * reservations. Disposed with the calling fiber.
154
+ * @param provider - the backend to register.
155
+ * @returns a synchronous disposer releasing the id and all extension reservations.
156
+ */
157
+ registerProvider(provider: LspProvider): () => void
158
+ /**
159
+ * Select a provider by the file's extension and run one query. Selection is per-query and
160
+ * order-independent; no match throws `LspError` `LSP_UNAVAILABLE`.
161
+ * @param request - the normalized query.
162
+ * @param signal - optional cancellation forwarded to the selected provider.
163
+ * @returns the normalized, closed-union result.
164
+ */
165
+ query(request: LspQueryRequest, signal?: AbortSignal): Promise<LspQueryResult>
166
+ }
167
+ ```
168
+
169
+ `LspProviderId` 是该 seam 的品牌化 id(来自 [dsh-brand](https://github.com/deepseek-ai/deepseek-harness/tree/master/packages/util/brand) 的 `Branded<'LspProviderId'>`);`LspError` 扩展 `HarnessError`,提供[失败](#failures)一节列出的稳定错误码,调用方应按错误码路由,而不是解析 `message`。
170
+
171
+ <a id="failures"></a>
172
+ ## 失败
173
+
174
+ `lsp` 工具调用的每个预期失败都是 `HarnessError`,工具结果会把它的 `name` 和 `code` 保留在 `error.info` 中。`LspError` 把 `name` 设为 `LspError`;由于提供方和消费方会添加错误码,它的 `code` 保持开放,消费方须容忍未知错误码。无效的工具参数以 `ToolArgsError` `INVALID_ARGS` 失败,调用方取消以 `AbortError` 失败。工作区与源文件读取保留文件系统提供方的 `FsError` 错误码,例如 `FS_NOT_FOUND`、`FS_NOT_REGULAR_FILE` 或 `FS_NOT_TEXT`,并在其消息前加上 LSP 操作对象;stdio 提供方对非目录工作区使用 `FS_NOT_DIRECTORY`,对超过 `maxDocumentBytes` 的源文件使用 `FS_TOO_LARGE`。如果带错误码的查询失败后服务器拆除也失败,错误保留查询失败的 `name` 和 `code`,并把拆除失败追加到消息中;不带错误码的查询失败(例如取消)与拆除失败一起以 `AggregateError` 呈现,不带 `error.info`。
175
+
176
+ | 错误码 | 抛出方 | 含义 | 消费方操作 |
177
+ |---|---|---|---|
178
+ | `LSP_INVALID_PROVIDER` | Seam | 注册的 id 或语言 id 为空、没有扩展名,或扩展名无效 | 修正注册 |
179
+ | `LSP_CONFLICT` | Seam | 提供方 id 或某个扩展名已被注册 | 移除重复注册 |
180
+ | `LSP_UNAVAILABLE` | Seam | 没有提供方处理该文件扩展名 | 查询受支持的文件,或添加提供方 |
181
+ | `LSP_WORKSPACE_REQUIRED` | `lsp` 工具 | 调用没有 Agent Session 工作区 | 从 Agent Session 调用该工具 |
182
+ | `LSP_DISPOSED` | 提供方 | 提供方或其服务器实例已被释放 | 在提供方重新挂载后重试 |
183
+ | `LSP_UNSUPPORTED_OPERATION` | 提供方 | 服务器不支持该操作或临时打开/关闭同步 | 选择其他操作或服务器 |
184
+ | `LSP_MALFORMED_RESPONSE` | 提供方 | 服务器的 `initialize` 或查询结果违反协议 | 报告服务器缺陷 |
185
+ | `LSP_FILE_OUTSIDE_WORKSPACE` | stdio 提供方 | 源文件解析到规范工作区之外 | 查询工作区内的文件 |
186
+ | `LSP_UNSUPPORTED_ENCODING` | stdio 提供方 | 服务器协商了 UTF-16 以外的位置编码 | 使用支持 UTF-16 的服务器 |
187
+ | `LSP_SPAWN_FAILED` | stdio 提供方 | 子进程提供方未能启动或运行服务器;提供方的 `HarnessError` 则保留其自身的 `name` 和 `code` | 修正服务器命令或安装 |
188
+ | `LSP_SERVER_EXITED` | stdio 提供方 | 服务器已退出或关闭了 stdin;进程退出时消息携带保留的 stderr 尾部 | 稍后重试;反复出现时检查 stderr 尾部 |
189
+ | `LSP_PROTOCOL_ERROR` | stdio 提供方 | 服务器输出破坏了基础协议分帧或 JSON | 报告服务器缺陷 |
190
+ | `LSP_MESSAGE_TOO_LARGE` | stdio 提供方 | 某条服务器消息超过 `maxMessageBytes` | 缩小查询范围或调大 `maxMessageBytes` |
191
+ | `LSP_SERVER_ERROR` | stdio 提供方 | 服务器以 JSON-RPC 错误应答;消息携带其数字错误码与文本 | 按服务器消息处理 |
192
+
193
+ 传输失败(`LSP_SPAWN_FAILED`、`LSP_SERVER_EXITED`、`LSP_PROTOCOL_ERROR` 或 `LSP_MESSAGE_TOO_LARGE`)后,如果失败的进程干净地完成拆除,stdio 提供方会在新进程上把只读查询重试一次。
194
+
195
+ <!-- BEGIN GENERATED cordis-surface (gen-cordis-catalog.ts) — do not edit between markers -->
196
+
197
+ <a id="cordis-surface"></a>
198
+
199
+ ## Cordis API
200
+
201
+ Generated from source by `scripts/gen-cordis-catalog.ts` (verified fresh by `pnpm run verify-cordis-catalog` in doc-sync; regenerate with `pnpm run gen-cordis-catalog`) — the language sides differ only in locale-specific paired document paths. Signature blocks use a `ts cordis-catalog` fence and keep the original source JSDoc; dispatch modes are defined in the [primer](../cordis-primer.md#dispatch-modes), and the framework-inherited `ctx` API lives in [cordis-api/inherited.md](../cordis-api/inherited.md).
202
+
203
+ <a id="ctxlsp--lspservice"></a>
204
+
205
+ ### `ctx.lsp` — `LspService`
206
+
207
+ The LSP capability seam (`ctx.lsp`). Owns provider registration/selection and normalized query execution; exposes exactly the four operations and no protocol escape hatch.
208
+
209
+ ```ts cordis-catalog
210
+ /**
211
+ * Register a provider, atomically reserving its id and every normalized extension. Any conflict
212
+ * or invalid input publishes nothing and throws `LspError`; the returned disposer releases all
213
+ * reservations. Disposed with the calling fiber.
214
+ * @param provider - the backend to register.
215
+ * @returns a synchronous disposer releasing the id and all extension reservations.
216
+ */
217
+ registerProvider(provider: LspProvider): () => void
218
+
219
+ /**
220
+ * Select a provider by the file's extension and run one query. Selection is per-query and
221
+ * order-independent; no match throws `LspError` `LSP_UNAVAILABLE`.
222
+ * @param request - the normalized query.
223
+ * @param signal - optional cancellation forwarded to the selected provider.
224
+ * @returns the normalized, closed-union result.
225
+ */
226
+ query(request: LspQueryRequest, signal?: AbortSignal): Promise<LspQueryResult>
227
+ ```
228
+
229
+ Source: [`packages/lsp/lsp/src/types.ts`](https://github.com/deepseek-ai/deepseek-harness/blob/master/packages/lsp/lsp/src/types.ts)
230
+ <!-- END GENERATED cordis-surface -->