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

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,15 +6,15 @@
6
6
  原生工具,并以 `mcp__xuanling__` 前缀增加 XuanLing 工具。
7
7
 
8
8
  ```sh
9
- dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.2.10
9
+ dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.3.0
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.10` runtime 会安装在 profile 内,并通过带校验的 JS launcher
16
- 启动;不需要也不会使用全局 npm package。只有文件系统 capability root 与 DSH 工作目录不同时,
17
- 才需要设置 `XUANLING_WORKSPACE_ROOT`。
15
+ 精确版本的 `@xuanling-rs/xuanling-mcp@0.3.0` runtime 会安装在 profile 内,并通过带校验的 JS launcher
16
+ 启动;不需要也不会使用全局 npm package。启动 DSH 前必须把 `XUANLING_WORKSPACE_ROOT` 设置为
17
+ 已确认的绝对 workspace;缺失时 bundle 会启动失败,DSH 进程工作目录不会被当成用户授权。
18
18
 
19
19
  Bridge 会缓存 MCP 分页中的全部定义,但起初只暴露 `mcp_catalog__xuanling`。应按名称或描述检索并
20
20
  激活精确 raw name;选中的定义会在下一次模型请求中作为 `mcp__xuanling__*` 工具出现。不要预先
package/README.md CHANGED
@@ -7,17 +7,18 @@ 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.10
10
+ dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.3.0
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.10` runtime is installed in the profile and started
17
+ The exact `@xuanling-rs/xuanling-mcp@0.3.0` runtime is installed in the profile and started
18
18
  through its verified JS launcher. A global npm package is neither required nor
19
- used. Set `XUANLING_WORKSPACE_ROOT` only when the filesystem capability root
20
- must differ from the DSH working directory.
19
+ used. Set `XUANLING_WORKSPACE_ROOT` to the confirmed absolute workspace before
20
+ starting DSH; the bundle fails startup when it is absent and never treats the
21
+ DSH process working directory as user authorization.
21
22
 
22
23
  The bridge caches every paginated MCP definition but initially exposes only
23
24
  `mcp_catalog__xuanling`. Search by name or description and activate exact raw
package/cordis.patch.yml CHANGED
@@ -10,8 +10,9 @@
10
10
  # the DSH profile. The JS launcher then selects and verifies the matching native
11
11
  # package; the adapter preserves one complete text projection and structured value.
12
12
  #
13
- # The filesystem capability root defaults to the directory dsh was started
14
- # from; override with XUANLING_WORKSPACE_ROOT. Memory uses the shared default
13
+ # The filesystem capability root is explicit. XUANLING_WORKSPACE_ROOT must
14
+ # name the confirmed absolute workspace; missing configuration fails startup.
15
+ # Memory uses the shared default
15
16
  # database (~/.xuanling/memory.db) exactly like the ZCode plugin deployment.
16
17
  # The ZCode-only object-parameter compat shim stays OFF everywhere in this
17
18
  # integration: DeepSeek forwards model arguments as verbatim JSON.
@@ -31,5 +32,5 @@
31
32
  - '--'
32
33
  - !!js process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@xuanling-rs/xuanling-mcp/bin/xuanling-mcp.js')
33
34
  - '--workspace-root'
34
- - !!js process.env.XUANLING_WORKSPACE_ROOT ?? process.cwd()
35
+ - !!js (() => { const root = process.env.XUANLING_WORKSPACE_ROOT; if (!root) throw new Error('XUANLING_WORKSPACE_ROOT is required for the XuanLing full-tools bundle'); return root })()
35
36
  toolCallTimeoutMs: 120000
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@xuanling-rs/xuanling-dsh-tools",
3
- "version": "0.2.10",
3
+ "version": "0.3.0",
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.10"
9
+ "@xuanling-rs/xuanling-mcp": "0.3.0"
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": "8f87bec7959a708109c3b10dee3539e0946c7282"
41
+ "sourceCommit": "1b45521e279eebc78230d2a93774bc83fe0159a4"
42
42
  }
43
43
  }