dsh-plugin 1.3.5 → 1.3.7
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.en.md +72 -18
- package/README.md +72 -18
- package/client/client.js +582 -425
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +90 -9
- package/lib/services/install/npm-resolve.js +3 -1
- package/lib/services/probe.js +43 -0
- package/lib/services/settings.js +1 -1
- package/lib/types/services/install/npm-resolve.d.ts +3 -1
- package/lib/types/services/probe.d.ts +11 -0
- package/lib/types/services/settings.d.ts +2 -2
- package/package.json +3 -3
- package/src/client/components/PluginHubSection.tsx +42 -7
- package/src/client/components/modals/NotificationsModal.tsx +27 -5
- package/src/client/components/modals/modals.tsx +18 -3
- package/src/client/components/views/DiagnosticsView.tsx +21 -7
- package/src/client/components/views/SettingsView.tsx +94 -46
- package/src/client/hooks/useSettings.ts +3 -3
- package/src/client/hooks/useTaskQueue.ts +18 -8
- package/src/client/locales.ts +48 -11
- package/src/client/logic/failures.ts +41 -9
- package/src/client/logic/renderMarkdown.ts +2 -2
- package/src/client/logic/urls.ts +26 -8
- package/src/client/styles/Dropdown.module.css +10 -0
- package/src/client/styles/Modal.module.css +52 -0
- package/src/client/styles/SettingsView.module.css +24 -0
- package/src/server/http/routes.ts +87 -9
- package/src/server/services/install/npm-resolve.ts +3 -1
- package/src/server/services/probe.ts +43 -0
- package/src/server/services/settings.ts +3 -3
package/README.en.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
DSH Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an open-source plugin built to the official plugin development spec. Installed under **Settings → Plugin Hub**, it lets you browse, search and install community plugins without leaving the app. This is an independent community project, not affiliated with DeepSeek Harness.
|
|
30
30
|
|
|
31
31
|
<p align="center">
|
|
32
|
-
<img src="
|
|
32
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-market-en.png" alt="DSH Plugin Hub plugin market UI" width="840">
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
## Plugin Hub Features
|
|
@@ -68,34 +68,59 @@ DSH Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
|
|
|
68
68
|
Questions, feature ideas or just want to talk plugins? Scan the QR code to join the DSH Plugin Hub user group — report issues, share suggestions, and improve the hub with the community. The QR code is refreshed periodically; this one is valid until 2026-09-02.
|
|
69
69
|
|
|
70
70
|
<p align="center">
|
|
71
|
-
<img src="https://api.dsh-plugin.org/images/dsh-plugin-user-group-qr-2026-09-02.png" alt="DSH Plugin Hub user group QR code" width="250" height="250">
|
|
71
|
+
<img src="https://api.dsh-plugin.org/images/dsh-plugin-user-group-qr-2026-09-02.png?v=2" alt="DSH Plugin Hub user group QR code" width="250" height="250">
|
|
72
72
|
</p>
|
|
73
73
|
|
|
74
74
|
## Feature Highlights
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
| :---: | :---: |
|
|
78
|
-
| <img src="docs/screenshots/dsh-plugin-hub-install-en-v1.2.1.png" alt="One-click install with live progress" width="400" height="280"> | <img src="docs/screenshots/dsh-plugin-hub-uninstall-en-v1.2.1.png" alt="One-click uninstall with live progress" width="400" height="280"> |
|
|
79
|
-
| A serial background queue with live progress in the dialog, cancellable anytime | Fully visualized with live progress; changes take effect immediately |
|
|
76
|
+
**Installed plugins · Custom install**
|
|
80
77
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
<p align="center">
|
|
79
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-installed-en.png" alt="Installed plugins" width="400">
|
|
80
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-custom-install-en.png" alt="Custom install" width="400">
|
|
81
|
+
</p>
|
|
82
|
+
|
|
83
|
+
Manages every installed plugin with search, source filters and sorting, plus update / uninstall and reveal-in-Finder per row · Installs any plugin outside the catalog via three channels: npm package, GitHub source and DSH command
|
|
84
|
+
|
|
85
|
+
**Settings · System logs**
|
|
86
|
+
|
|
87
|
+
<p align="center">
|
|
88
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-settings-en.png" alt="Settings" width="400">
|
|
89
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-system-logs-en.png" alt="System logs" width="400">
|
|
90
|
+
</p>
|
|
91
|
+
|
|
92
|
+
Centralizes update checks, npm mirror, proxy channel, trust toggles and log location · Records install / uninstall / settings / diagnostics trails, filterable by category and level, with a built-in viewer
|
|
93
|
+
|
|
94
|
+
**Confirm install · Confirm uninstall**
|
|
95
|
+
|
|
96
|
+
<p align="center">
|
|
97
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-install-confirm-en.png" alt="Confirm install" width="400">
|
|
98
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-uninstall-confirm-en.png" alt="Confirm uninstall" width="400">
|
|
99
|
+
</p>
|
|
100
|
+
|
|
101
|
+
Shows the plugin, its source repo and the command before anything runs; the install starts only after confirmation · Shows what will be removed and its source; nothing is removed until the user confirms
|
|
102
|
+
|
|
103
|
+
**Confirm update · Notifications**
|
|
104
|
+
|
|
105
|
+
<p align="center">
|
|
106
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-update-confirm-en.png" alt="Confirm update" width="400">
|
|
107
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-notifications-en.png" alt="Notifications" width="400">
|
|
108
|
+
</p>
|
|
85
109
|
|
|
86
|
-
|
|
87
|
-
| :---: | :---: |
|
|
88
|
-
| <img src="docs/screenshots/dsh-plugin-hub-settings-en-v1.2.1.png" alt="Settings" width="400" height="280"> | <img src="docs/screenshots/dsh-plugin-hub-custom-install-en-v1.2.1.png" alt="Custom install" width="400" height="280"> |
|
|
89
|
-
| Update checks, npm mirror and proxy channel, command-line install toggles and log location — managed in one place | Install any npm package or GitHub source outside the catalog, or paste an official install command; finished installs are marked as custom |
|
|
110
|
+
Pops up when a newer version is found; confirming overwrite-installs in place to the latest release · Gathers install / remove / update history, live task progress and pending-restart reminders in one place
|
|
90
111
|
|
|
91
112
|
## Website Overview
|
|
92
113
|
|
|
93
114
|
The hub's catalog is curated and published by [dsh-plugin.org](https://dsh-plugin.org) and stays in sync with the site; on the website you can also see plugin details, ratings and links back to their GitHub sources.
|
|
94
115
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
116
|
+
**Homepage · Browse by category**
|
|
117
|
+
|
|
118
|
+
<p align="center">
|
|
119
|
+
<img src="docs/screenshots/dsh-plugin-hub-site-home.png" alt="DSH Plugin website homepage" width="400">
|
|
120
|
+
<img src="docs/screenshots/dsh-plugin-hub-site-categories.png" alt="DSH Plugin category browsing" width="400">
|
|
121
|
+
</p>
|
|
122
|
+
|
|
123
|
+
Same data source as the hub — human-verified, updated daily · Browse every indexed plugin by category, search straight to it
|
|
99
124
|
|
|
100
125
|
## Why DSH Plugin Hub
|
|
101
126
|
|
|
@@ -131,6 +156,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
|
131
156
|
|
|
132
157
|
> **Note**: the browser bundle ships with the package, so installing from GitHub needs no build step or authorization — just restart `dsh web` and open Settings → Plugin Hub.
|
|
133
158
|
|
|
159
|
+
## Update DSH Plugin Hub
|
|
160
|
+
|
|
161
|
+
The plugin hub notifies you when a new version is available; if an older build's in-panel updater cannot pull the latest release, upgrade from the command line:
|
|
162
|
+
|
|
163
|
+
**Option 1: update in place (recommended)**
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
dsh plugin --profile web update dsh-plugin
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**Option 2: force upgrade (when an older build cannot update)**
|
|
170
|
+
|
|
171
|
+
If the old build's updater cannot pull the latest version, force-reinstall the newest release with an explicit version:
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
dsh plugin --profile web add dsh-plugin@latest
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Option 3: reinstall the latest (most reliable)**
|
|
178
|
+
|
|
179
|
+
`add` does not overwrite an already-installed copy, so removing first and re-adding always fetches the newest version:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
dsh plugin --profile web remove dsh-plugin
|
|
183
|
+
dsh plugin --profile web add dsh-plugin
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
> Restart `dsh web` after updating for the changes to take effect.
|
|
187
|
+
|
|
134
188
|
## Getting Started: browse & install in DeepSeek Harness
|
|
135
189
|
|
|
136
190
|
Restart `dsh web` after installing, then open **Settings → Plugin Hub** to browse and install plugins. The catalog is same-source and in sync with [dsh-plugin.org](https://dsh-plugin.org).
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方插件开发规范构建的开源插件,安装进「设置 → 插件中心」后,无需离开应用即可浏览、搜索并一键安装社区插件。本项目为独立社区项目,与 DeepSeek Harness 官方无隶属关系。
|
|
30
30
|
|
|
31
31
|
<p align="center">
|
|
32
|
-
<img src="
|
|
32
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-market-zh.png" alt="DSH Plugin Hub 插件中心界面" width="840">
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
## 插件中心特性
|
|
@@ -68,34 +68,59 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
68
68
|
遇到使用问题、功能建议或想交流插件?扫码加入 DSH Plugin Hub 用户群,反馈问题、提交建议,与社区一起改进。群二维码定期更新,此码有效期至 2026-09-02。
|
|
69
69
|
|
|
70
70
|
<p align="center">
|
|
71
|
-
<img src="https://api.dsh-plugin.org/images/dsh-plugin-user-group-qr-2026-09-02.png" alt="DSH Plugin Hub 用户群二维码" width="250" height="250">
|
|
71
|
+
<img src="https://api.dsh-plugin.org/images/dsh-plugin-user-group-qr-2026-09-02.png?v=2" alt="DSH Plugin Hub 用户群二维码" width="250" height="250">
|
|
72
72
|
</p>
|
|
73
73
|
|
|
74
74
|
## 功能一览
|
|
75
75
|
|
|
76
|
-
|
|
77
|
-
| :---: | :---: |
|
|
78
|
-
| <img src="docs/screenshots/dsh-plugin-hub-install-zh-v1.2.1.png" alt="一键安装" width="400" height="280"> | <img src="docs/screenshots/dsh-plugin-hub-uninstall-zh-v1.2.1.png" alt="一键卸载" width="400" height="280"> |
|
|
79
|
-
| 后台队列串行执行,弹窗实时显示安装进度,可随时取消 | 卸载全程可视化,实时进度一目了然,成功即生效 |
|
|
76
|
+
**已安装插件列表 · 自定义安装**
|
|
80
77
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
<p align="center">
|
|
79
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-installed-zh.png" alt="已安装插件列表" width="400">
|
|
80
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-custom-install-zh.png" alt="自定义安装" width="400">
|
|
81
|
+
</p>
|
|
82
|
+
|
|
83
|
+
集中管理当前环境已装的全部插件,支持搜索、来源筛选与排序,行尾提供更新、卸载与「在 Finder 中显示」 · 手动安装目录外的任意插件,支持 NPM 包、GitHub 源码与 DSH 命令行三种通道
|
|
84
|
+
|
|
85
|
+
**设置 · 系统日志**
|
|
86
|
+
|
|
87
|
+
<p align="center">
|
|
88
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-settings-zh.png" alt="设置" width="400">
|
|
89
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-system-logs-zh.png" alt="系统日志" width="400">
|
|
90
|
+
</p>
|
|
91
|
+
|
|
92
|
+
集中配置更新检查、NPM 镜像源、代理通道、安全信任与日志存放位置 · 记录安装、卸载、设置变更与诊断轨迹,按分类与级别筛选,内置日志查看器
|
|
93
|
+
|
|
94
|
+
**确认安装 · 确认卸载**
|
|
95
|
+
|
|
96
|
+
<p align="center">
|
|
97
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-install-confirm-zh.png" alt="确认安装" width="400">
|
|
98
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-uninstall-confirm-zh.png" alt="确认卸载" width="400">
|
|
99
|
+
</p>
|
|
100
|
+
|
|
101
|
+
安装前展示插件名称、来源仓库与执行命令,确认后才开始安装 · 卸载前展示待移除的插件,确认后才从环境移除,避免误删
|
|
102
|
+
|
|
103
|
+
**确认更新 · 通知中心**
|
|
104
|
+
|
|
105
|
+
<p align="center">
|
|
106
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-update-confirm-zh.png" alt="确认更新" width="400">
|
|
107
|
+
<img src="https://api.dsh-plugin.org/images/releases/1-3-6/dsh-plugin-hub-notifications-zh.png" alt="通知中心" width="400">
|
|
108
|
+
</p>
|
|
85
109
|
|
|
86
|
-
|
|
87
|
-
| :---: | :---: |
|
|
88
|
-
| <img src="docs/screenshots/dsh-plugin-hub-settings-zh-v1.2.1.png" alt="设置" width="400" height="280"> | <img src="docs/screenshots/dsh-plugin-hub-custom-install-zh-v1.2.1.png" alt="自定义安装" width="400" height="280"> |
|
|
89
|
-
| 启动时检查更新、NPM 镜像源与代理通道、命令行安装安全开关与日志存放位置集中管理 | 手动安装目录外的 NPM 包或 GitHub 源码,粘贴官方安装命令即可装任意插件,装完标记「自定义安装」 |
|
|
110
|
+
检测到新版本时弹出,确认后原位覆盖安装到最新版 · 集中管理安装、卸载、更新的历史记录、实时进度与待重启提醒
|
|
90
111
|
|
|
91
112
|
## 官网一览
|
|
92
113
|
|
|
93
114
|
插件中心的数据由 [dsh-plugin.org](https://dsh-plugin.org) 整理发布,两侧实时同步;在官网还可以查看插件详情、评分与 GitHub 源码链接。
|
|
94
115
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
116
|
+
**官网首页 · 分类展示**
|
|
117
|
+
|
|
118
|
+
<p align="center">
|
|
119
|
+
<img src="docs/screenshots/dsh-plugin-hub-site-home.png" alt="DSH Plugin 官网首页" width="400">
|
|
120
|
+
<img src="docs/screenshots/dsh-plugin-hub-site-categories.png" alt="DSH Plugin 分类展示" width="400">
|
|
121
|
+
</p>
|
|
122
|
+
|
|
123
|
+
数据与插件中心同源,人工精选验证、每日更新 · 按分类浏览全部收录插件,支持搜索直达
|
|
99
124
|
|
|
100
125
|
## 为什么选择 DSH Plugin Hub
|
|
101
126
|
|
|
@@ -131,6 +156,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
|
131
156
|
|
|
132
157
|
> **提示**:插件已内置浏览器端 bundle,从 GitHub 安装无需任何构建与授权;装完重启 `dsh web`,在「设置 → 插件中心」即可使用。
|
|
133
158
|
|
|
159
|
+
## 更新 DSH Plugin Hub
|
|
160
|
+
|
|
161
|
+
插件中心检测到新版本时会提示一键更新;如果旧版本存在更新缺陷导致拉取不到最新版,请直接用命令行升级:
|
|
162
|
+
|
|
163
|
+
**方式一:直接更新到最新(推荐)**
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
dsh plugin --profile web update dsh-plugin
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
**方式二:强制升级(旧版更新不上时)**
|
|
170
|
+
|
|
171
|
+
`update` 若受旧版缺陷影响无法拉取最新版,用显式版本号强制重装最新版:
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
dsh plugin --profile web add dsh-plugin@latest
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**方式三:卸载重装到最新(最稳)**
|
|
178
|
+
|
|
179
|
+
`add` 对已安装的实例不覆盖版本,先卸载再安装必然拿到最新版:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
dsh plugin --profile web remove dsh-plugin
|
|
183
|
+
dsh plugin --profile web add dsh-plugin
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
> 更新后重启 `dsh web` 即可生效。
|
|
187
|
+
|
|
134
188
|
## 快速开始:在 DeepSeek Harness 中使用
|
|
135
189
|
|
|
136
190
|
安装完成后重启 `dsh web`,打开 **设置 → 插件中心**,即可浏览并安装插件。插件市场与 [dsh-plugin.org](https://dsh-plugin.org) 官网数据同源、实时同步。
|