dsh-plugin-marketplace 0.2.7 → 0.2.8
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 +5 -4
- package/README.zh.md +4 -3
- package/client.js +2 -2
- package/index.js +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -50,10 +50,11 @@ Manual mount in `$DSH_HOME/profiles/web/cordis.patch.yml`:
|
|
|
50
50
|
Then restart `dsh web` (new client plugins require a process restart to be
|
|
51
51
|
scanned into the browser roster) and open **Settings → Plugin Marketplace**.
|
|
52
52
|
|
|
53
|
-
DSH `0.1.
|
|
54
|
-
marketplace works without patching official files.
|
|
55
|
-
`
|
|
56
|
-
`dsh-
|
|
53
|
+
DSH `0.1.0-rc.7` and newer expose every registered settings namespace, so the
|
|
54
|
+
marketplace works without patching official files. Version 0.2.8 and newer
|
|
55
|
+
therefore require DSH `0.1.0-rc.7` or newer. DSH `0.1.0-rc.6` users must pin
|
|
56
|
+
`dsh-plugin-marketplace@0.2.6`, the last release carrying the legacy
|
|
57
|
+
settings-allowlist compatibility patch.
|
|
57
58
|
|
|
58
59
|
## How it works
|
|
59
60
|
|
package/README.zh.md
CHANGED
|
@@ -41,9 +41,10 @@ dsh plugin --profile web add dsh-plugin-marketplace
|
|
|
41
41
|
|
|
42
42
|
然后重启 `dsh web`(新客户端插件需要重启进程才会被扫描进浏览器清单),打开 **设置 → 插件市场**。
|
|
43
43
|
|
|
44
|
-
DSH `0.1.
|
|
45
|
-
|
|
46
|
-
`dsh-
|
|
44
|
+
DSH `0.1.0-rc.7` 起会公开全部已注册的 settings 命名空间,插件市场无需再修改官方文件。
|
|
45
|
+
因此从 `0.2.8` 起最低支持 DSH `0.1.0-rc.7`。仍使用 DSH `0.1.0-rc.6` 的用户
|
|
46
|
+
请锁定 `dsh-plugin-marketplace@0.2.6`;这是最后一个包含旧 settings 白名单兼容
|
|
47
|
+
补丁的版本。
|
|
47
48
|
|
|
48
49
|
## 实现方式
|
|
49
50
|
|
package/client.js
CHANGED
|
@@ -82,7 +82,7 @@ window.__ModuleLoader__.load({
|
|
|
82
82
|
aiExplain: "🤖 AI 解释",
|
|
83
83
|
aiExplaining: "AI 解释中,请稍候…",
|
|
84
84
|
aiExplainErr: "AI 解释失败:{msg}",
|
|
85
|
-
notExposed: "当前 DSH 版本没有公开插件市场的设置通道;请升级到 DSH 0.1.
|
|
85
|
+
notExposed: "当前 DSH 版本没有公开插件市场的设置通道;请升级到 DSH 0.1.0-rc.7 或更高版本并重启 dsh web。"
|
|
86
86
|
};
|
|
87
87
|
var en = {
|
|
88
88
|
nav: "Plugin Marketplace",
|
|
@@ -113,7 +113,7 @@ window.__ModuleLoader__.load({
|
|
|
113
113
|
aiExplain: "🤖 AI Explain",
|
|
114
114
|
aiExplaining: "AI is explaining…",
|
|
115
115
|
aiExplainErr: "AI explain failed: {msg}",
|
|
116
|
-
notExposed: "This DSH version does not expose the plugin-marketplace settings channel. Upgrade to DSH 0.1.
|
|
116
|
+
notExposed: "This DSH version does not expose the plugin-marketplace settings channel. Upgrade to DSH 0.1.0-rc.7 or newer and restart dsh web."
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
// ── GitHub API ────────────────────────────────────────────────────────
|
package/index.js
CHANGED
|
@@ -75,8 +75,8 @@ function apply(ctx, config) {
|
|
|
75
75
|
},
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
//
|
|
79
|
-
//
|
|
78
|
+
// DSH 0.1.0-rc.7+ exposes registered settings namespaces natively, allowing
|
|
79
|
+
// the browser client to write install requests without modifying host files.
|
|
80
80
|
/** Resolved current config (settings layer over the entry). */
|
|
81
81
|
function current() {
|
|
82
82
|
return sourceGetter ? sourceGetter() : config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-marketplace",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "DeepSeek Harness Web UI 内置插件市场:在设置页直接浏览 github.com/topics/dsh-plugin,支持搜索、按 Star 排序、查看安装方式。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"react": "^18.2.0",
|
|
50
|
-
"@deepseek-ai/dsh-settings": "^0.1.0-rc.
|
|
51
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.
|
|
50
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.1",
|
|
51
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.7 || ^0.1.1-rc.1"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@deepseek-ai/schemastery": "^3.18.1"
|