@deepseek-ai/dsh-tool-lsp 0.1.3-alpha.2 → 0.1.5-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
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
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
- README.md: dcba3b7d974cd30ac03eb8a87bc92c1788b09b27
6
- README.zh.md: f32bbf6f356815d83e45a617fa7bd85096e04bbc
5
+ README.md: 2a5483aabe75bbbf9ff39fa8263d97a1488d70b4
6
+ README.zh.md: d6f69953d3eb737f3c28283a9fb6b56ae312b7ea
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-tool-lsp` gives the model a single read-only `lsp` tool for precise code navigation over the LSP seam: go to a symbol's definition, find its references, jump to its implementations, or read hover documentation. The tool owns everything the model sees name, schema, prompt guidance, result formatting, and UI presentation and never depends on which language server backs a query. Positions are one-based UTF-16 cursor coordinates, which the tool converts to the seam's zero-based convention. Results are bounded location lists or normalized hover text with explicit no-result and truncation markers. Compose it with a provider such as `dsh-lsp-stdio` and the `dsh-lsp` seam to activate navigation.
12
+ `dsh-tool-lsp` lets a model navigate code through one read-only `lsp` tool: open a symbol's definition, find references and implementations, or read hover documentation. Requests use one-based UTF-16 line and character positions. Navigation results are bounded, grouped by file, and labeled when locations are omitted or text is truncated; hover results are normalized and distinguish missing information from errors. The package requires a configured LSP provider and a session workspace root. Choose it when textual search is ambiguous or a change needs precise symbol relationships; ordinary navigation should continue to use `search` and `read`.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-tool-lsp` 通过 LSP seam 为模型提供单一的只读 `lsp` 工具,用于精确代码导航:转到符号的定义、查找其引用、跳转到其实现,或阅读悬停文档。该工具拥有模型看到的一切——名称、schema、提示词指引、结果格式化与 UI 呈现——并且绝不依赖哪个语言服务器应答查询。位置是从 1 开始的 UTF-16 光标坐标,工具会将其转换为 seam 从零开始的约定。结果是有边界的位置列表或规范化悬停文本,带有明确的空结果与截断标记。与 `dsh-lsp-stdio` 之类的提供方及 `dsh-lsp` seam 组合,即可启用导航。
12
+ `dsh-tool-lsp` 让模型通过单个只读 `lsp` 工具导航代码:打开符号定义、查找引用与实现,或阅读悬停文档。请求使用从 1 开始的 UTF-16 行列位置。导航结果数量有上限、按文件分组,并在省略位置或截断文本时显示标记;悬停结果经过规范化,且会区分信息缺失与错误。该包要求配置 LSP 提供方,并要求会话具有工作区根目录。当文本搜索有歧义,或修改需要精确的符号关系时选择它;普通导航应继续使用 `search` `read`。
13
13
 
14
14
  ## 目录
15
15
 
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.3-alpha.2",
4
+ "version": "0.1.5-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-llm": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-lsp": "^0.1.3-alpha.2",
33
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
34
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
35
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2"
31
+ "@deepseek-ai/dsh-lsp": "^0.1.5-alpha.2",
32
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
33
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2",
34
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
35
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2"
36
36
  },
37
37
  "dependencies": {
38
- "@deepseek-ai/dsh-util-values": "^0.1.3-alpha.2",
39
- "@deepseek-ai/schemastery": "^3.18.2"
38
+ "@deepseek-ai/schemastery": "^3.18.2",
39
+ "@deepseek-ai/dsh-util-values": "^0.1.5-alpha.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@deepseek-ai/cordis": "^4.0.2",
43
- "@deepseek-ai/dsh-agent": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-fs-local": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
46
- "@deepseek-ai/dsh-lsp": "^0.1.3-alpha.2",
47
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
48
- "@deepseek-ai/dsh-subprocess-local": "^0.1.3-alpha.2",
49
- "@deepseek-ai/dsh-system-prompt": "^0.1.3-alpha.2",
50
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
51
- "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-tools": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-lsp-stdio": "^0.1.3-alpha.2"
43
+ "@deepseek-ai/dsh-agent": "^0.1.5-alpha.2",
44
+ "@deepseek-ai/dsh-fs-local": "^0.1.5-alpha.2",
45
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
46
+ "@deepseek-ai/dsh-lsp-stdio": "^0.1.5-alpha.2",
47
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.2",
48
+ "@deepseek-ai/dsh-subprocess-local": "^0.1.5-alpha.2",
49
+ "@deepseek-ai/dsh-system-prompt": "^0.1.5-alpha.2",
50
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.2",
51
+ "@deepseek-ai/dsh-tool-call-timeout-policy": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-tools": "^0.1.5-alpha.2",
53
+ "@deepseek-ai/dsh-lsp": "^0.1.5-alpha.2"
54
54
  }
55
55
  }