@deepseek-ai/dsh-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/lsp/README.md
5
- README.md: 4342bf1ad02fb312a5d6617d279ed583f6209a48
6
- README.zh.md: 83d662f06ef1287726f8d48a50b098a545e4a67e
5
+ README.md: 2dcd3c39ab4b82403794aaaf4b4ed6a79e7658f0
6
+ README.zh.md: 7247427172d0f63d702af2d84037f8f79a9d98b3
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-lsp` provides the harness's language-server code navigation: an agent can go to a symbol's definition, find its references, jump to its implementations, or read hover documentation, and the code-navigation service (`ctx.lsp`) routes each query to the language-server provider that owns the file's extension. Providers register by branded id and file extension, so a provider swap never changes how navigation is requested or what the model sees. The service exposes exactly four read-only operations and no generic JSON-RPC escape hatch, and it contributes no prompt or tool schema itself the model-facing `lsp` tool lives in `dsh-tool-lsp`. Compose it with a provider such as `dsh-lsp-stdio` and the tool to give agents precise navigation; this package does nothing on its own.
12
+ Use `dsh-lsp` to give agents language-server navigation for definitions, references, implementations, and hover documentation. Queries select the configured provider by file extension and return normalized results with structured failures, so backend changes do not alter the navigation request or model-visible response. Navigation is read-only and deliberately excludes generic JSON-RPC access, rename, formatting, diagnostics, and symbol lists. This package must be combined with a provider such as `dsh-lsp-stdio` and the model-facing `dsh-tool-lsp`; alone it provides no navigation.
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-lsp` 为 harness 提供语言服务器代码导航:agent 可以转到符号的定义、查找其引用、跳转到其实现或阅读悬停文档,代码导航服务(`ctx.lsp`)会把每个查询路由到拥有该文件扩展名的语言服务器提供方。提供方按品牌化 id 与文件扩展名注册,因此更换提供方绝不会改变请求导航的方式,也不会改变模型看到的内容。该服务恰好暴露四种只读操作,没有通用 JSON-RPC 逃生口;它自身不贡献提示词或工具 schema——面向模型的 `lsp` 工具位于 `dsh-tool-lsp`。与 `dsh-lsp-stdio` 之类的提供方及该工具组合,即可为 agent 提供精确导航;本包单独加载时什么也不做。
12
+ 使用 `dsh-lsp` 为 agent 提供语言服务器导航,包括定义、引用、实现与悬停文档。查询按文件扩展名选择已配置的提供方,并返回规范化结果与结构化错误,因此更换后端不会改变导航请求或模型可见的响应。导航只读,并刻意排除通用 JSON-RPC 访问、重命名、格式化、诊断与符号列表。本包必须与 `dsh-lsp-stdio` 等提供方及面向模型的 `dsh-tool-lsp` 组合;单独使用时不提供导航。
13
13
 
14
14
  ## 目录
15
15
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-lsp",
3
3
  "description": "Abstract LSP capability seam (ctx.lsp) for the DeepSeek Harness — language-server provider registry keyed by branded id and extension mapping, order-independent per-query selection, normalized definition/references/implementation/hover requests and results, and the LspError taxonomy",
4
- "version": "0.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,13 +27,13 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
30
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.2",
31
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
32
32
  "@deepseek-ai/cordis": "^4.0.2"
33
33
  },
34
34
  "devDependencies": {
35
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
36
- "@deepseek-ai/dsh-brand": "^0.1.3-alpha.2",
35
+ "@deepseek-ai/dsh-brand": "^0.1.5-alpha.2",
36
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.2",
37
37
  "@deepseek-ai/cordis": "^4.0.2"
38
38
  }
39
39
  }