@xuanling-rs/xuanling-dsh-tools 0.2.9 → 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 +8 -4
- package/README.md +10 -4
- package/cordis.patch.yml +8 -6
- package/package.json +3 -3
package/README-ZH.md
CHANGED
|
@@ -6,15 +6,19 @@
|
|
|
6
6
|
原生工具,并以 `mcp__xuanling__` 前缀增加 XuanLing 工具。
|
|
7
7
|
|
|
8
8
|
```sh
|
|
9
|
-
dsh plugin --profile web add @xuanling-rs/xuanling-dsh-tools@0.
|
|
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.
|
|
16
|
-
启动;不需要也不会使用全局 npm package
|
|
17
|
-
|
|
15
|
+
精确版本的 `@xuanling-rs/xuanling-mcp@0.3.0` runtime 会安装在 profile 内,并通过带校验的 JS launcher
|
|
16
|
+
启动;不需要也不会使用全局 npm package。启动 DSH 前必须把 `XUANLING_WORKSPACE_ROOT` 设置为
|
|
17
|
+
已确认的绝对 workspace;缺失时 bundle 会启动失败,DSH 进程工作目录不会被当成用户授权。
|
|
18
|
+
|
|
19
|
+
Bridge 会缓存 MCP 分页中的全部定义,但起初只暴露 `mcp_catalog__xuanling`。应按名称或描述检索并
|
|
20
|
+
激活精确 raw name;选中的定义会在下一次模型请求中作为 `mcp__xuanling__*` 工具出现。不要预先
|
|
21
|
+
激活完整目录。
|
|
18
22
|
|
|
19
23
|
该 bundle 的 result adapter 会保留完整 Native 文本投影,只删除与 `structuredContent` 完全重复的
|
|
20
24
|
意外文本块。
|
package/README.md
CHANGED
|
@@ -7,17 +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.
|
|
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.
|
|
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`
|
|
20
|
-
|
|
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.
|
|
22
|
+
|
|
23
|
+
The bridge caches every paginated MCP definition but initially exposes only
|
|
24
|
+
`mcp_catalog__xuanling`. Search by name or description and activate exact raw
|
|
25
|
+
names; the selected definitions appear as `mcp__xuanling__*` tools on the next
|
|
26
|
+
model request. Do not activate the complete catalog speculatively.
|
|
21
27
|
|
|
22
28
|
The bundle's result adapter preserves the complete Native text projection and
|
|
23
29
|
removes only accidental duplicate text blocks that exactly repeat
|
package/cordis.patch.yml
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
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.
|
|
5
|
-
#
|
|
6
|
-
#
|
|
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
|
|
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
|
|
14
|
-
#
|
|
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.
|
|
@@ -21,6 +22,7 @@
|
|
|
21
22
|
name: '@deepseek-ai/dsh-mcp-client'
|
|
22
23
|
config:
|
|
23
24
|
serverName: xuanling
|
|
25
|
+
toolExposure: lazy
|
|
24
26
|
transport: stdio
|
|
25
27
|
command: !!js process.execPath
|
|
26
28
|
args:
|
|
@@ -30,5 +32,5 @@
|
|
|
30
32
|
- '--'
|
|
31
33
|
- !!js process.getBuiltinModule('node:module').createRequire(baseUrl).resolve('@xuanling-rs/xuanling-mcp/bin/xuanling-mcp.js')
|
|
32
34
|
- '--workspace-root'
|
|
33
|
-
- !!js process.env.XUANLING_WORKSPACE_ROOT
|
|
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 })()
|
|
34
36
|
toolCallTimeoutMs: 120000
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xuanling-rs/xuanling-dsh-tools",
|
|
3
|
-
"version": "0.
|
|
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.
|
|
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": "
|
|
41
|
+
"sourceCommit": "1b45521e279eebc78230d2a93774bc83fe0159a4"
|
|
42
42
|
}
|
|
43
43
|
}
|