@xxxyz/dsh-mcp-manager 2.0.2 → 2.0.3
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/cordis.patch.yml +7 -0
- package/lib/client.js +10 -5
- package/package.json +5 -1
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Bundle patch layer for `dsh plugin add` installs: pnpm installs the scoped
|
|
2
|
+
# package as @xxxyz/dsh-mcp-manager, so the insert row names the scoped
|
|
3
|
+
# package. The loader-entry installer (install.mjs) mounts the same plugin
|
|
4
|
+
# under `dsh-mcp-manager` — both names are registered by the client bundle.
|
|
5
|
+
- insert:
|
|
6
|
+
- id: dsh-mcp-manager
|
|
7
|
+
name: '@xxxyz/dsh-mcp-manager'
|
package/lib/client.js
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
// Registers the "MCP 管理" settings page. Talks to the host half through the
|
|
3
3
|
// exact-path HTTP route /dsh-mcp-manager/api (same origin) instead of the
|
|
4
4
|
// dynamic-only host.call channel.
|
|
5
|
-
|
|
6
|
-
id: 'dsh-mcp-manager',
|
|
7
|
-
factory: (require) => {
|
|
5
|
+
const factory = (require) => {
|
|
8
6
|
var module = { exports: {} }
|
|
9
7
|
var exports = module.exports
|
|
10
8
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' })
|
|
@@ -299,5 +297,12 @@ window.__ModuleLoader__.load({
|
|
|
299
297
|
},
|
|
300
298
|
}
|
|
301
299
|
return module.exports
|
|
302
|
-
}
|
|
303
|
-
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
// Register the client bundle under both names: the loader-entry install
|
|
303
|
+
// (install.mjs) mounts it as `dsh-mcp-manager`, while `dsh plugin add`
|
|
304
|
+
// (via the dsh.bundle patch) installs the scoped npm package and mounts it
|
|
305
|
+
// as `@xxxyz/dsh-mcp-manager`. The boot graph row id must match the id the
|
|
306
|
+
// bundle registers, so both are registered — the unused one is inert.
|
|
307
|
+
window.__ModuleLoader__.load({ id: 'dsh-mcp-manager', factory })
|
|
308
|
+
window.__ModuleLoader__.load({ id: '@xxxyz/dsh-mcp-manager', factory })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xxxyz/dsh-mcp-manager",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "DSH-standard MCP manager plugin: Settings UI + HTTP API + model-facing mcp_manager_* tools. Composed as a loader entry, survives restarts. Install via npx, PowerShell, bash or node.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"files": [
|
|
17
17
|
"lib",
|
|
18
|
+
"cordis.patch.yml",
|
|
18
19
|
"install.mjs",
|
|
19
20
|
"uninstall.mjs",
|
|
20
21
|
"install.ps1",
|
|
@@ -54,6 +55,9 @@
|
|
|
54
55
|
"url": "https://github.com/xxxyz/DeepSeekHarness-MCP-Manager/issues"
|
|
55
56
|
},
|
|
56
57
|
"dsh": {
|
|
58
|
+
"bundle": {
|
|
59
|
+
"patch": "./cordis.patch.yml"
|
|
60
|
+
},
|
|
57
61
|
"client": {
|
|
58
62
|
"platform": "web",
|
|
59
63
|
"inject": [
|