universal-plugin-hub 1.5.5 → 1.6.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 +2 -0
- package/README.zh.md +2 -0
- package/assets/icon.svg +20 -20
- package/client/client.js +1502 -616
- package/package.json +5 -10
- package/scripts/postinstall.js +3 -3
- package/src/hooks.js +1644 -0
- package/src/index.js +93 -9
- package/src/install.js +520 -146
- package/src/local.js +208 -24
- package/src/parser.js +119 -25
- package/src/routes.js +197 -50
- package/src/store.js +31 -3
- package/assets/Add-plugin-source.png +0 -0
- package/assets/MCP.png +0 -0
- package/assets/Plugin-management.png +0 -0
- package/assets/Plugins-official.png +0 -0
- package/assets/Skills.png +0 -0
- package/screenshots.json +0 -7
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"title": "Universal Plugin Hub",
|
|
4
4
|
"displayName": "Universal Plugin Hub",
|
|
5
5
|
"description": "在 DSH 中使用 Claude Code、Codex 等软件生态的插件,一站式管理插件、Skills 与 MCP。支持添加 Git 插件源和 marketplace、上传插件和 Skills、添加 MCP 服务器,自动扫描并开关本地 Skills,接入插件提供的子代理、MCP、Hooks 与 LSP。",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.6.0",
|
|
7
7
|
"icon": "./assets/icon.svg",
|
|
8
8
|
"engines": {
|
|
9
9
|
"dsh": ">=0.1.5-rc.1"
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
38
38
|
"js-yaml": "^5.3.0",
|
|
39
|
-
"pngjs": "7.0.0"
|
|
39
|
+
"pngjs": "7.0.0",
|
|
40
|
+
"semver": "^7.8.6"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
43
|
"@deepseek-ai/cordis": ">=4.0.1 <5.0.0"
|
|
@@ -73,19 +74,13 @@
|
|
|
73
74
|
"client",
|
|
74
75
|
"scripts/postinstall.js",
|
|
75
76
|
"cordis.patch.yml",
|
|
76
|
-
"screenshots.json",
|
|
77
77
|
"assets/icon.svg",
|
|
78
|
-
"assets/Plugins-official.png",
|
|
79
|
-
"assets/Skills.png",
|
|
80
|
-
"assets/MCP.png",
|
|
81
|
-
"assets/Plugin-management.png",
|
|
82
|
-
"assets/Add-plugin-source.png",
|
|
83
78
|
"assets/licenses/fluent-emoji.txt",
|
|
84
79
|
"assets/fluent-3d"
|
|
85
80
|
],
|
|
86
81
|
"devDependencies": {
|
|
82
|
+
"acorn": "^8.18.0",
|
|
87
83
|
"react": "^19.2.0",
|
|
88
|
-
"react-test-renderer": "^19.2.0"
|
|
89
|
-
"acorn": "^8.18.0"
|
|
84
|
+
"react-test-renderer": "^19.2.0"
|
|
90
85
|
}
|
|
91
86
|
}
|
package/scripts/postinstall.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/**
|
|
3
3
|
* Hub postinstall: pre-provision host packages that DSH's LSP provider
|
|
4
|
-
*
|
|
4
|
+
* needs at runtime, into DSH's node_modules tree.
|
|
5
5
|
* Non-fatal: if provisioning is skipped or fails, warn and exit 0 so hub
|
|
6
6
|
* installation always succeeds.
|
|
7
7
|
*/
|
|
8
|
-
import { installProfilePackages, LSP_HOST_PACKAGES
|
|
8
|
+
import { installProfilePackages, LSP_HOST_PACKAGES } from '../src/install.js'
|
|
9
9
|
|
|
10
|
-
const ALL_HOST_PACKAGES = [...LSP_HOST_PACKAGES
|
|
10
|
+
const ALL_HOST_PACKAGES = [...LSP_HOST_PACKAGES]
|
|
11
11
|
|
|
12
12
|
try {
|
|
13
13
|
const result = await installProfilePackages(ALL_HOST_PACKAGES)
|