@deepseek-ai/dsh-tool-lsp 0.1.5-rc.2 → 0.1.6-alpha.2

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.
package/README.i18n.yaml CHANGED
@@ -3,4 +3,4 @@
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/lsp/tool-lsp/README.md
5
5
  README.md: 2a5483aabe75bbbf9ff39fa8263d97a1488d70b4
6
- README.zh.md: d6f69953d3eb737f3c28283a9fb6b56ae312b7ea
6
+ README.zh.md: 8a5b91e049892e22480176790110aef3f253fa28
package/README.zh.md CHANGED
@@ -25,7 +25,7 @@ kind: "package-reference"
25
25
  <a id="use-this-package"></a>
26
26
  ## 使用本包
27
27
 
28
- 当文本匹配有歧义,或修改前需要精确的定义、实现或引用时,agent 使用 `lsp`;该工具的提示词指引会告诉它,普通导航应优先使用 `search`/`read`。
28
+ 当文本匹配有歧义,或修改前需要精确的定义、实现或引用时,agent(智能体)使用 `lsp`;该工具的提示词指引会告诉它,普通导航应优先使用 `search`/`read`。
29
29
 
30
30
  ### 工具
31
31
 
@@ -72,10 +72,10 @@ kind: "package-reference"
72
72
 
73
73
  | 文件 | 职责 |
74
74
  |---|---|
75
- | [`src/index.ts`](src/index.ts) | 插件入口:config schema、工具注册、系统提示词区段、执行 |
75
+ | [`src/index.ts`](src/index.ts) | 插件入口:配置 schema、工具注册、系统提示词区段、执行 |
76
76
  | [`src/render.ts`](src/render.ts) | 纯格式化、坐标转换、URI 解析、结果上限、UI 呈现 |
77
77
  | [`src/session-cwd.ts`](src/session-cwd.ts) | 从会话 `header.cwd` 取得工作区根目录 |
78
- | — | 不发布运行时不变式伴生入口;无状态适配器。 |
78
+ | — | 不发布运行时不变式伴生入口;该无状态适配器提供一个工具和一个提示词区段,而查询生命周期与结果关系仍由它所组合的工具 seam 和 LSP seam 负责。 |
79
79
 
80
80
  </details>
81
81
 
@@ -86,7 +86,7 @@ kind: "package-reference"
86
86
 
87
87
  当包级约定不够用时阅读以下页面。它们从面向模型的表层逐步进入 seam 与提供方。
88
88
 
89
- - [LSP 导航子系统](../../../docs/subsystems/lsp.zh.md)——操作、坐标、请求与结果,以及 `LspError` code。
89
+ - [LSP 导航子系统](../../../docs/subsystems/lsp.zh.md)——操作、坐标、请求与结果,以及 `LspError` 错误码。
90
90
  - [dsh-lsp](../lsp/README.zh.md)——本工具查询的 seam。
91
91
  - [dsh-lsp-stdio](../lsp-stdio/README.zh.md)——应答这些查询的 stdio 提供方。
92
92
  - [lsp 组地图](../README.zh.md)——三个包的家族及其相关文档。
@@ -114,7 +114,7 @@ Use search/read for ordinary navigation. Use lsp when textual matches are ambigu
114
114
 
115
115
  #### KV Cache 影响
116
116
 
117
- 只要插件 scope 与指引文本不变,前缀就保持稳定;激活或释放可能使从该区段起的复用失效。
117
+ 只要插件 scope 与指引文本不变,前缀就保持稳定;激活或 dispose(资源释放)可能使从该区段起的复用失效。
118
118
 
119
119
  ### 工具 schema
120
120
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-lsp",
3
3
  "description": "Model-facing lsp tool over the DeepSeek Harness LSP capability seam (ctx.lsp) — one read-only tool with goToDefinition/findReferences/goToImplementation/hover operations, one-based UTF-16 cursor coordinates, bounded location rendering, and hover normalization",
4
- "version": "0.1.5-rc.2",
4
+ "version": "0.1.6-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,28 +28,28 @@
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
30
  "@deepseek-ai/cordis": "^4.0.2",
31
- "@deepseek-ai/dsh-lsp": "^0.1.5-rc.2",
32
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
33
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
34
- "@deepseek-ai/dsh-timeout": "^0.1.5-rc.2",
35
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.2"
31
+ "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
32
+ "@deepseek-ai/dsh-lsp": "^0.1.6-alpha.2",
33
+ "@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.2",
34
+ "@deepseek-ai/dsh-timeout": "^0.1.6-alpha.2",
35
+ "@deepseek-ai/dsh-tools": "^0.1.6-alpha.2"
36
36
  },
37
37
  "dependencies": {
38
- "@deepseek-ai/dsh-util-values": "^0.1.5-rc.2",
38
+ "@deepseek-ai/dsh-util-values": "^0.1.6-alpha.2",
39
39
  "@deepseek-ai/schemastery": "^3.18.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@deepseek-ai/cordis": "^4.0.2",
43
- "@deepseek-ai/dsh-agent": "^0.1.5-rc.2",
44
- "@deepseek-ai/dsh-fs-local": "^0.1.5-rc.2",
45
- "@deepseek-ai/dsh-llm": "^0.1.5-rc.2",
46
- "@deepseek-ai/dsh-lsp": "^0.1.5-rc.2",
47
- "@deepseek-ai/dsh-lsp-stdio": "^0.1.5-rc.2",
48
- "@deepseek-ai/dsh-session": "^0.1.5-rc.2",
49
- "@deepseek-ai/dsh-subprocess-local": "^0.1.5-rc.2",
50
- "@deepseek-ai/dsh-system-prompt": "^0.1.5-rc.2",
51
- "@deepseek-ai/dsh-timeout": "^0.1.5-rc.2",
52
- "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.5-rc.2",
53
- "@deepseek-ai/dsh-tools": "^0.1.5-rc.2"
43
+ "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
44
+ "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
45
+ "@deepseek-ai/dsh-fs-local": "^0.1.6-alpha.2",
46
+ "@deepseek-ai/dsh-lsp": "^0.1.6-alpha.2",
47
+ "@deepseek-ai/dsh-lsp-stdio": "^0.1.6-alpha.2",
48
+ "@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
49
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.6-alpha.2",
50
+ "@deepseek-ai/dsh-timeout": "^0.1.6-alpha.2",
51
+ "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.6-alpha.2",
52
+ "@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.2",
53
+ "@deepseek-ai/dsh-tools": "^0.1.6-alpha.2"
54
54
  }
55
55
  }