dsh-mcp-ops 0.1.5 → 0.2.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.md +6 -6
- package/lib/client.js +214 -19930
- package/lib/service.js +6 -1
- package/lib/tool-control.js +186 -26
- package/package.json +17 -17
package/README.md
CHANGED
|
@@ -25,16 +25,16 @@ DeepSeek Harness(dsh)插件:在设置页管理 MCP 服务。
|
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
27
|
# 已发布到 npm 仓库(固定版本;不写 @<版本> 则装 latest)
|
|
28
|
-
dsh plugin --profile web add dsh-mcp-ops@0.
|
|
28
|
+
dsh plugin --profile web add dsh-mcp-ops@0.2.0
|
|
29
29
|
|
|
30
30
|
# 或本地 tarball(pnpm pack 的产物)
|
|
31
|
-
dsh plugin --profile web add /path/to/dsh-mcp-ops-0.
|
|
31
|
+
dsh plugin --profile web add /path/to/dsh-mcp-ops-0.2.0.tgz
|
|
32
32
|
|
|
33
33
|
# 卸载
|
|
34
34
|
dsh plugin --profile web remove dsh-mcp-ops
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
**支持的 dsh 版本**:`0.2.
|
|
37
|
+
**支持的 dsh 版本**:`0.2.2-rc.1` 及以后的 `0.2.x`(`engines.dsh: ^0.2.2-rc.1`、`engines.node: >=24.9.0`)。**不再支持 `0.2.1` 及更早**:旧闭包里 `system-prompt/assemble` 仍可改 `tools`、`tools.restrict()` 不作用于执行侧,本插件的可见性实现依赖"三面对齐",在旧闭包上会静默退化,因此宁可拒绝加载。
|
|
38
38
|
|
|
39
39
|
本包声明了 `dsh.bundle`,官方流程会自动把依赖写进 profile 的 `package.json` 并登记进
|
|
40
40
|
`dsh.profile.bundles`,包内的 `cordis.patch.yml` 作为 bundle 层自动应用 —— 不需要手工编辑任何
|
|
@@ -70,7 +70,7 @@ docs/ 详细设计与官方依赖落点
|
|
|
70
70
|
|
|
71
71
|
```sh
|
|
72
72
|
pnpm run --config.verify-deps-before-run=false build && pnpm pack --pack-destination docker &&
|
|
73
|
-
docker build --progress=plain -t founder/dsh-mcp-ops:0.
|
|
73
|
+
docker build --progress=plain -t founder/dsh-mcp-ops:0.2.0 -f docker/Dockerfile docker/ &&
|
|
74
74
|
HOME=/home/ubuntu docker compose -f docker/docker-compose.yaml --project-directory docker up -d --force-recreate
|
|
75
75
|
|
|
76
76
|
node docker/verify.mjs # 容器端到端(装配终态 / 启动日志 / 服务侧 sync / locale 元数据 / 客户端产物)
|
|
@@ -99,8 +99,8 @@ npm publish --dry-run --registry=https://registry.npmjs.org/
|
|
|
99
99
|
npm publish --registry=https://registry.npmjs.org/ --access public
|
|
100
100
|
|
|
101
101
|
# 4) 发布后核对并打 tag
|
|
102
|
-
npm view dsh-mcp-ops@0.
|
|
103
|
-
git tag -a v0.
|
|
102
|
+
npm view dsh-mcp-ops@0.2.0 --registry=https://registry.npmjs.org/
|
|
103
|
+
git tag -a v0.2.0 -m "dsh-mcp-ops 0.2.0" && git push origin v0.2.0
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
72 小时内可 `npm unpublish dsh-mcp-ops@<版本>` 撤回;超时只能 `npm deprecate`。
|