@xuanling-rs/xuanling-dsh-tools 0.2.8 → 0.2.10

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-ZH.md CHANGED
@@ -6,16 +6,20 @@
6
6
  原生工具,并以 `mcp__xuanling__` 前缀增加 XuanLing 工具。
7
7
 
8
8
  ```sh
9
- dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.2.8
9
+ dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.2.10
10
10
  ```
11
11
 
12
12
  该命令会扩展 DSH 内置的 Web profile。内置 Headless profile 应使用 `--profile headless`。
13
13
  未知 profile 名称只包含 base bundle,本身不会提供可运行的 Web 或 Headless 应用。
14
14
 
15
- 精确版本的 `@xuanling-rs/xuanling-mcp@0.2.8` runtime 会安装在 profile 内,并通过带校验的 JS launcher
15
+ 精确版本的 `@xuanling-rs/xuanling-mcp@0.2.10` runtime 会安装在 profile 内,并通过带校验的 JS launcher
16
16
  启动;不需要也不会使用全局 npm package。只有文件系统 capability root 与 DSH 工作目录不同时,
17
17
  才需要设置 `XUANLING_WORKSPACE_ROOT`。
18
18
 
19
+ Bridge 会缓存 MCP 分页中的全部定义,但起初只暴露 `mcp_catalog__xuanling`。应按名称或描述检索并
20
+ 激活精确 raw name;选中的定义会在下一次模型请求中作为 `mcp__xuanling__*` 工具出现。不要预先
21
+ 激活完整目录。
22
+
19
23
  该 bundle 的 result adapter 会保留完整 Native 文本投影,只删除与 `structuredContent` 完全重复的
20
24
  意外文本块。
21
25
 
package/README.md CHANGED
@@ -7,18 +7,23 @@ keeps all Harness-native tools enabled and adds XuanLing tools under the
7
7
  `mcp__xuanling__` prefix.
8
8
 
9
9
  ```sh
10
- dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.2.8
10
+ dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.2.10
11
11
  ```
12
12
 
13
13
  This command augments DSH's shipped Web profile. Use `--profile headless` for
14
14
  the shipped Headless profile. Unknown profile names start with the base bundle
15
15
  only and do not provide a runnable Web or Headless application by themselves.
16
16
 
17
- The exact `@xuanling-rs/xuanling-mcp@0.2.8` runtime is installed in the profile and started
17
+ The exact `@xuanling-rs/xuanling-mcp@0.2.10` runtime is installed in the profile and started
18
18
  through its verified JS launcher. A global npm package is neither required nor
19
19
  used. Set `XUANLING_WORKSPACE_ROOT` only when the filesystem capability root
20
20
  must differ from the DSH working directory.
21
21
 
22
+ The bridge caches every paginated MCP definition but initially exposes only
23
+ `mcp_catalog__xuanling`. Search by name or description and activate exact raw
24
+ names; the selected definitions appear as `mcp__xuanling__*` tools on the next
25
+ model request. Do not activate the complete catalog speculatively.
26
+
22
27
  The bundle's result adapter preserves the complete Native text projection and
23
28
  removes only accidental duplicate text blocks that exactly repeat
24
29
  `structuredContent`.
package/cordis.patch.yml CHANGED
@@ -1,9 +1,9 @@
1
1
  # XuanLing tools for DeepSeek Harness — additive variant.
2
2
  #
3
3
  # Mounts the xuanling-mcp binary through the local result adapter and the
4
- # official @deepseek-ai/dsh-mcp-client bridge. Every XuanLing tool becomes a native
5
- # harness tool named mcp__xuanling__<raw> (for example mcp__xuanling__fs_read_text);
6
- # the bridge owns reconnect, re-sync, and generation rollback. Built-in tools
4
+ # official @deepseek-ai/dsh-mcp-client bridge. The bridge caches every XuanLing
5
+ # definition and exposes mcp_catalog__xuanling first; exact activations become
6
+ # native mcp__xuanling__<raw> tools. It owns reconnect, re-sync, and generation rollback. Built-in tools
7
7
  # (read/write/edit/glob/grep/bash/…) stay registered — this variant only ADDS.
8
8
  #
9
9
  # The bundle resolves its exact result adapter and xuanling-mcp dependency from
@@ -21,6 +21,7 @@
21
21
  name: '@deepseek-ai/dsh-mcp-client'
22
22
  config:
23
23
  serverName: xuanling
24
+ toolExposure: lazy
24
25
  transport: stdio
25
26
  command: !!js process.execPath
26
27
  args:
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@xuanling-rs/xuanling-dsh-tools",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "DeepSeek Harness bundle: mount the XuanLing MCP server (xuanling-mcp binary) as native mcp__xuanling__* tools through the official @deepseek-ai/dsh-mcp-client bridge. Additive variant: built-in tools stay enabled.",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "dependencies": {
8
8
  "@deepseek-ai/dsh-mcp-client": "^0.1.0-rc.5",
9
- "@xuanling-rs/xuanling-mcp": "0.2.8"
9
+ "@xuanling-rs/xuanling-mcp": "0.2.10"
10
10
  },
11
11
  "files": [
12
12
  "LICENSE",
@@ -38,6 +38,6 @@
38
38
  "registry": "https://registry.npmjs.org"
39
39
  },
40
40
  "xuanlingRelease": {
41
- "sourceCommit": "c0d9b5a7c0b63966fd65ce864189c559c833c106"
41
+ "sourceCommit": "8f87bec7959a708109c3b10dee3539e0946c7282"
42
42
  }
43
43
  }