@moon16u/dsh-plugin-mcp-console 0.3.3 → 0.3.4
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 +1 -9
- package/README.zh-CN.md +1 -8
- package/cordis.patch.yml +1 -2
- package/lib/client.js +2 -3
- package/lib/index.js +1 -1
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -15,9 +15,6 @@ belong to the official `@deepseek-ai/dsh-mcp-client`; this plugin is only
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
# Recommended: the whole pouch bundle (this plugin ships inside it)
|
|
19
|
-
dsh plugin --profile web add @moon16u/dsh-pouch
|
|
20
|
-
# Or standalone:
|
|
21
18
|
dsh plugin --profile web add @moon16u/dsh-plugin-mcp-console
|
|
22
19
|
```
|
|
23
20
|
|
|
@@ -63,12 +60,7 @@ Then open DSH Web → bottom-left Settings → **"MCP servers"**.
|
|
|
63
60
|
## Development
|
|
64
61
|
|
|
65
62
|
```bash
|
|
66
|
-
pnpm --filter @moon16u/dsh-plugin-mcp-console test
|
|
67
|
-
node scripts/sync-root-client.mjs # after editing lib/client.js, sync into the pouch root bundle
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
The marked section inside `lib/client.js` is kept identical to the dsh-pouch
|
|
71
|
-
root `lib/client.js` by the sync script; tests pin it against drift.
|
|
63
|
+
pnpm --filter @moon16u/dsh-plugin-mcp-console test
|
|
72
64
|
|
|
73
65
|
## License
|
|
74
66
|
[MIT](../../LICENSE)
|
package/README.zh-CN.md
CHANGED
|
@@ -9,9 +9,6 @@ DSH(DeepSeek Harness)Web GUI 的 **MCP 服务器管理控制台**:在设
|
|
|
9
9
|
## 安装
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
# dsh-pouch 已装则跳过(本包随 pouch bundle 分发)
|
|
13
|
-
dsh plugin --profile web add @moon16u/dsh-pouch
|
|
14
|
-
# 独立安装(发布后):
|
|
15
12
|
dsh plugin --profile web add @moon16u/dsh-plugin-mcp-console
|
|
16
13
|
```
|
|
17
14
|
|
|
@@ -56,8 +53,4 @@ dsh plugin --profile web add @moon16u/dsh-plugin-mcp-console
|
|
|
56
53
|
## 开发
|
|
57
54
|
|
|
58
55
|
```bash
|
|
59
|
-
pnpm --filter @moon16u/dsh-plugin-mcp-console test
|
|
60
|
-
node scripts/sync-root-client.mjs # 改 lib/client.js 后同步进 dsh-pouch 根 bundle
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
包内 `lib/client.js` 与 dsh-pouch 根 `lib/client.js` 中的标记段由同步脚本保持一致,测试锁定防漂移。
|
|
56
|
+
pnpm --filter @moon16u/dsh-plugin-mcp-console test
|
package/cordis.patch.yml
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# dsh-mcp-console bundle patch: inserts the console into the loader tree when
|
|
2
|
-
# this package is installed as
|
|
3
|
-
# the root pouch patch already loads it; this file is inert there).
|
|
2
|
+
# this package is installed as its own DSH bundle.
|
|
4
3
|
- insert:
|
|
5
4
|
- id: ui-mcp-console
|
|
6
5
|
name: '@moon16u/dsh-plugin-mcp-console'
|
package/lib/client.js
CHANGED
|
@@ -6,7 +6,7 @@ window.__ModuleLoader__.load({
|
|
|
6
6
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
7
7
|
var React = require("react");
|
|
8
8
|
|
|
9
|
-
// ==== mcp-console client body
|
|
9
|
+
// ==== mcp-console client body ====
|
|
10
10
|
|
|
11
11
|
var McpIcons = require("@deepseek-ai/dsh-client-ui-primitives");
|
|
12
12
|
var IconRefresh = McpIcons.IconRefreshOutlineRegular || McpIcons.IconRefreshOutline16;
|
|
@@ -19,8 +19,7 @@ window.__ModuleLoader__.load({
|
|
|
19
19
|
|
|
20
20
|
// ---------------------------------------------------------------------------
|
|
21
21
|
// mcp-console client: an "MCP" settings section (mcp-manager-gui-spec.md)
|
|
22
|
-
// over /api/dsh-mcp-console/*. All identifiers carry an Mcp/mcp prefix
|
|
23
|
-
// this body can be pasted verbatim into the dsh-pouch root client bundle.
|
|
22
|
+
// over /api/dsh-mcp-console/*. All identifiers carry an Mcp/mcp prefix.
|
|
24
23
|
// ---------------------------------------------------------------------------
|
|
25
24
|
|
|
26
25
|
var McpNS = "mcp-console";
|
package/lib/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* Surface wiring uses dynamic `ctx.inject(...)` scopes rather than a static
|
|
13
13
|
* `inject` export: on a host without the web profile (no webServer) the
|
|
14
|
-
* plugin stays dormant instead of blocking the
|
|
14
|
+
* plugin stays dormant instead of blocking the host. The
|
|
15
15
|
* same mechanism powers the settings-GUI master switches (borrowed from
|
|
16
16
|
* dsh-skills-mcp-manager): `enabled` tears the composition (routes + MCP
|
|
17
17
|
* fibers) up and down live, `announceToAgent` toggles the model-facing
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moon16u/dsh-plugin-mcp-console",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Web GUI console for MCP servers: manages the official @deepseek-ai/dsh-mcp-client at runtime — add/edit/enable/disable/reconnect/delete servers, live status, mcpServers JSON import. No MCP protocol code: connection and tool registration are 100% the official client, resolved from the running DSH profile.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -61,10 +61,14 @@
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
|
-
"test": "node --test test/*.test.mjs"
|
|
65
|
-
"sync-root-client": "node scripts/sync-root-client.mjs"
|
|
64
|
+
"test": "node --test test/*.test.mjs"
|
|
66
65
|
},
|
|
67
66
|
"license": "MIT",
|
|
67
|
+
"repository": {
|
|
68
|
+
"type": "git",
|
|
69
|
+
"url": "git+https://github.com/moon16u/dsh-pouch.git",
|
|
70
|
+
"directory": "packages/dsh-plugin-mcp-console"
|
|
71
|
+
},
|
|
68
72
|
"publishConfig": {
|
|
69
73
|
"access": "public",
|
|
70
74
|
"registry": "https://registry.npmjs.org/"
|