dsh-plugin 2.3.1 → 2.3.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/README.en.md +15 -21
- package/README.md +15 -21
- package/client/client.js +412 -382
- package/client/client.js.map +1 -1
- package/lib/http/catalog.js +4 -4
- package/lib/http/diagnostics.js +4 -4
- package/lib/http/install.js +21 -10
- package/lib/http/npm-release-age.js +9 -3
- package/lib/http/shared.js +1 -1
- package/lib/services/host-version.js +2 -2
- package/lib/services/install/dsh-compat.js +1 -1
- package/lib/services/install/npm-resolve.js +1 -1
- package/lib/services/install/operation-log.js +3 -3
- package/lib/services/install/preflight.js +1 -1
- package/lib/services/install/registry-fallback.js +3 -3
- package/lib/services/install/release-target.js +2 -2
- package/lib/services/install/task-queue.js +35 -20
- package/lib/services/loader.js +8 -8
- package/lib/services/npm-release-age.js +46 -9
- package/lib/services/probe.js +12 -12
- package/lib/services/profile/installed-versions.js +2 -2
- package/lib/services/profile/profile.js +2 -2
- package/lib/types/services/host-version.d.ts +1 -1
- package/lib/types/services/install/install-types.d.ts +5 -5
- package/lib/types/services/install/operation-log.d.ts +1 -1
- package/lib/types/services/install/preflight.d.ts +1 -1
- package/lib/types/services/install/registry-fallback.d.ts +1 -1
- package/lib/types/services/install/release-target.d.ts +1 -1
- package/lib/types/services/install/task-queue.d.ts +10 -7
- package/lib/types/services/loader.d.ts +5 -5
- package/lib/types/services/npm-release-age.d.ts +14 -2
- package/lib/types/services/probe.d.ts +4 -4
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +59 -28
- package/src/client/components/catalog/CatalogList.tsx +1 -1
- package/src/client/components/catalog/PluginCard.tsx +3 -3
- package/src/client/components/modals/AboutModal.tsx +2 -2
- package/src/client/components/modals/ConfirmDialog.tsx +2 -2
- package/src/client/components/modals/HubUpdateModal.tsx +3 -3
- package/src/client/components/modals/InstalledDetailModal.tsx +1 -1
- package/src/client/components/modals/LogsPathModal.tsx +1 -1
- package/src/client/components/modals/NotificationsModal.tsx +2 -2
- package/src/client/components/modals/modals.tsx +13 -11
- package/src/client/components/views/CustomInstallView.tsx +2 -2
- package/src/client/components/views/InstalledView.tsx +2 -2
- package/src/client/components/views/SettingsView.tsx +3 -3
- package/src/client/data/catalog.ts +1 -1
- package/src/client/data/host.ts +3 -1
- package/src/client/data/hub.ts +3 -3
- package/src/client/hooks/useCatalog.ts +14 -14
- package/src/client/hooks/useSettings.ts +2 -2
- package/src/client/hooks/useTaskQueue.ts +31 -24
- package/src/client/locales.ts +21 -21
- package/src/client/logic/constants.ts +1 -1
- package/src/client/logic/ensure-plugin-css.ts +2 -2
- package/src/client/logic/failures.ts +9 -9
- package/src/client/logic/install-command.ts +5 -3
- package/src/client/logic/installed.ts +1 -1
- package/src/client/logic/release-age.ts +10 -10
- package/src/client/logic/urls.ts +3 -3
- package/src/client/styles/Header.module.css +1 -1
- package/src/client/styles/Modal.module.css +2 -2
- package/src/client/styles/SectionTabs.module.css +1 -1
- package/src/client/styles/tokens.module.css +1 -1
- package/src/client/types.ts +4 -4
- package/src/server/http/catalog.ts +4 -4
- package/src/server/http/diagnostics.ts +4 -4
- package/src/server/http/install.ts +20 -10
- package/src/server/http/npm-release-age.ts +9 -3
- package/src/server/http/shared.ts +1 -1
- package/src/server/services/host-version.ts +2 -2
- package/src/server/services/install/dsh-compat.ts +1 -1
- package/src/server/services/install/install-types.ts +5 -5
- package/src/server/services/install/npm-resolve.ts +1 -1
- package/src/server/services/install/operation-log.ts +3 -3
- package/src/server/services/install/preflight.ts +1 -1
- package/src/server/services/install/registry-fallback.ts +3 -3
- package/src/server/services/install/release-target.ts +2 -2
- package/src/server/services/install/task-queue.ts +40 -26
- package/src/server/services/loader.ts +10 -10
- package/src/server/services/npm-release-age.ts +50 -10
- package/src/server/services/probe.ts +12 -12
- package/src/server/services/profile/installed-versions.ts +2 -2
- package/src/server/services/profile/profile.ts +2 -2
package/README.en.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# DSH Plugin Hub - Download & Install DeepSeek Harness Plugins
|
|
8
8
|
|
|
9
|
-
**
|
|
9
|
+
**The community hub and directory for DeepSeek Harness (DSH) plugins: 20,000+ plugins indexed on the site, including 5,000+ published to npm that install in one click from the Plugin Hub (all hand-verified). Updated daily — browse, search, download and install by category, free and fully sourced.**
|
|
10
10
|
|
|
11
11
|
[](LICENSE)
|
|
12
12
|
[](https://www.npmjs.com/package/dsh-plugin)
|
|
@@ -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="https://api.dsh-plugin.org/images/releases/2-
|
|
32
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-market-en.png?v=2.3.1" alt="DSH Plugin Hub plugin market UI" width="840">
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
## Plugin Hub Features
|
|
@@ -48,7 +48,7 @@ DSH Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
|
|
|
48
48
|
|
|
49
49
|
**Rich catalog · human-curated**
|
|
50
50
|
|
|
51
|
-
- Indexes **
|
|
51
|
+
- Indexes **20,000+** community plugins on the site, **5,000+** of which ship an npm package and install in one click from the Plugin Hub; curated daily by [dsh-plugin.org](https://dsh-plugin.org), with every installable entry hand-verified
|
|
52
52
|
- Covers UI & experience, sessions & messages, memory & context, tooling and more — browse by category or search straight to it
|
|
53
53
|
- Every plugin shows its verification status (verified), star / fork ratings, version and last-update time — fully sourced
|
|
54
54
|
|
|
@@ -68,17 +68,17 @@ DSH Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
|
|
|
68
68
|
**Installed plugins · Custom install**
|
|
69
69
|
|
|
70
70
|
<p align="center">
|
|
71
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
72
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
71
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-installed-en.png?v=2.3.1" alt="Installed plugins" width="400">
|
|
72
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-custom-install-en.png?v=2.3.1" alt="Custom install" width="400">
|
|
73
73
|
</p>
|
|
74
74
|
|
|
75
|
-
Manages every installed plugin with search, source filters and sorting, plus update / uninstall and reveal-in-Finder per row · Installs
|
|
75
|
+
Manages every installed plugin with search, source filters and sorting, plus update / uninstall and reveal-in-Finder per row · Installs a plugin outside the catalog by npm package name or an npm / pnpm install command; GitHub-source and git installs are no longer offered
|
|
76
76
|
|
|
77
77
|
**Settings · System logs**
|
|
78
78
|
|
|
79
79
|
<p align="center">
|
|
80
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
81
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
80
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-settings-en.png?v=2.3.1" alt="Settings" width="400">
|
|
81
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-system-logs-en.png?v=2.3.1" alt="System logs" width="400">
|
|
82
82
|
</p>
|
|
83
83
|
|
|
84
84
|
Centralizes update checks, npm mirror, proxy channel, trust toggles, diagnostics and log location · Records install / uninstall / settings / diagnostics trails, filterable by category and level, with a built-in viewer
|
|
@@ -86,8 +86,8 @@ Centralizes update checks, npm mirror, proxy channel, trust toggles, diagnostics
|
|
|
86
86
|
**Confirm install · Confirm uninstall**
|
|
87
87
|
|
|
88
88
|
<p align="center">
|
|
89
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
90
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
89
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-install-confirm-en.png?v=2.3.1" alt="Confirm install" width="400">
|
|
90
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-uninstall-confirm-en.png?v=2.3.1" alt="Confirm uninstall" width="400">
|
|
91
91
|
</p>
|
|
92
92
|
|
|
93
93
|
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
|
|
@@ -95,8 +95,8 @@ Shows the plugin, its source repo and the command before anything runs; the inst
|
|
|
95
95
|
**Confirm update · Notifications**
|
|
96
96
|
|
|
97
97
|
<p align="center">
|
|
98
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
99
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
98
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-update-confirm-en.png?v=2.3.1" alt="Confirm update" width="400">
|
|
99
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-notifications-en.png?v=2.3.1" alt="Notifications" width="400">
|
|
100
100
|
</p>
|
|
101
101
|
|
|
102
102
|
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
|
|
@@ -116,7 +116,7 @@ Same data source as the hub — human-verified, updated daily · Browse every in
|
|
|
116
116
|
|
|
117
117
|
## Why DSH Plugin Hub
|
|
118
118
|
|
|
119
|
-
The DSH Plugin Hub
|
|
119
|
+
The DSH Plugin Hub lists **5,000+** npm-installable DeepSeek Harness plugins (out of **20,000+** indexed on the site), all hand-verified — updated daily, browse, search, download and install for free by category, fully sourced.
|
|
120
120
|
|
|
121
121
|
### Always Fresh
|
|
122
122
|
|
|
@@ -132,7 +132,7 @@ Every DSH plugin links back to its GitHub source repository with stars, forks an
|
|
|
132
132
|
|
|
133
133
|
## Install DSH Plugin Hub
|
|
134
134
|
|
|
135
|
-
Install from npm
|
|
135
|
+
Install from npm:
|
|
136
136
|
|
|
137
137
|
```bash
|
|
138
138
|
dsh plugin --profile web add dsh-plugin
|
|
@@ -140,13 +140,7 @@ dsh plugin --profile web add dsh-plugin
|
|
|
140
140
|
|
|
141
141
|
The plugin is published to the npm registry as `dsh-plugin` — one command installs and it just works, no build step required.
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
> **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.
|
|
143
|
+
> **npm installs only**: source and git installs depend on each repository's own build scripts, which are written inconsistently and fail often (git packages are routinely rejected by pnpm's build gate), and the resulting behaviour varies — so they are no longer offered. The browser bundle ships with the package, so an npm install needs no build step; restart `dsh web` and open Settings → Plugin Hub.
|
|
150
144
|
|
|
151
145
|
## Update DSH Plugin Hub
|
|
152
146
|
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# DSH Plugin 插件市场 - DeepSeek Harness Plugin (DSH) 下载与安装 · 插件大全
|
|
8
8
|
|
|
9
|
-
**DeepSeek Harness Plugin(DSH
|
|
9
|
+
**DeepSeek Harness Plugin(DSH)插件市场与插件大全:主站收录 20,000+ 个插件,其中 5,000+ 个已发布 NPM 包、可在插件市场一键安装(均已人工精选验证)。每日更新,免费浏览、搜索并按分类发现、下载与安装 DSH 插件,来源可溯。**
|
|
10
10
|
|
|
11
11
|
[](LICENSE)
|
|
12
12
|
[](https://www.npmjs.com/package/dsh-plugin)
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方插件开发规范构建的开源插件,安装进「设置 → 插件市场」后,无需离开应用即可浏览、搜索并一键安装社区插件。本项目为独立社区项目,与 DeepSeek Harness 官方无隶属关系。
|
|
30
30
|
|
|
31
31
|
<p align="center">
|
|
32
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
32
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-market-zh.png?v=2.3.1" alt="DSH Plugin Hub 插件市场界面" width="840">
|
|
33
33
|
</p>
|
|
34
34
|
|
|
35
35
|
## 插件市场特性
|
|
@@ -48,7 +48,7 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
48
48
|
|
|
49
49
|
**资源丰富 · 人工精选**
|
|
50
50
|
|
|
51
|
-
-
|
|
51
|
+
- 主站收录 **20,000+** 个社区插件,其中 **5,000+** 个已发布 NPM 包、可在插件市场一键安装;目录由 [dsh-plugin.org](https://dsh-plugin.org) 每日收录,可安装条目均经人工审核
|
|
52
52
|
- 涵盖界面与体验、会话与消息、记忆与上下文、工具能力等分类,按分类浏览、搜索直达
|
|
53
53
|
- 每个插件标注人工验证状态(verified)、Star / Fork 评分、版本号与最近更新时间,来源可溯
|
|
54
54
|
|
|
@@ -68,17 +68,17 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
68
68
|
**已安装插件列表 · 自定义安装**
|
|
69
69
|
|
|
70
70
|
<p align="center">
|
|
71
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
72
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
71
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-installed-zh.png?v=2.3.1" alt="已安装插件列表" width="400">
|
|
72
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-custom-install-zh.png?v=2.3.1" alt="自定义安装" width="400">
|
|
73
73
|
</p>
|
|
74
74
|
|
|
75
|
-
集中管理当前环境已装的全部插件,支持搜索、来源筛选与排序,行尾提供更新、卸载与「在 Finder 中显示」 ·
|
|
75
|
+
集中管理当前环境已装的全部插件,支持搜索、来源筛选与排序,行尾提供更新、卸载与「在 Finder 中显示」 · 手动安装目录外的插件:只接受 NPM 包名或 npm / pnpm 安装命令,不再提供 GitHub 源码与 git 安装
|
|
76
76
|
|
|
77
77
|
**设置 · 系统日志**
|
|
78
78
|
|
|
79
79
|
<p align="center">
|
|
80
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
81
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
80
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-settings-zh.png?v=2.3.1" alt="设置" width="400">
|
|
81
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-system-logs-zh.png?v=2.3.1" alt="系统日志" width="400">
|
|
82
82
|
</p>
|
|
83
83
|
|
|
84
84
|
集中配置更新检查、NPM 镜像源、代理通道、安全信任、系统诊断与日志存放位置 · 记录安装、卸载、设置变更与诊断轨迹,按分类与级别筛选,内置日志查看器
|
|
@@ -86,8 +86,8 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
86
86
|
**确认安装 · 确认卸载**
|
|
87
87
|
|
|
88
88
|
<p align="center">
|
|
89
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
90
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
89
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-install-confirm-zh.png?v=2.3.1" alt="确认安装" width="400">
|
|
90
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-uninstall-confirm-zh.png?v=2.3.1" alt="确认卸载" width="400">
|
|
91
91
|
</p>
|
|
92
92
|
|
|
93
93
|
安装前展示插件名称、来源仓库与执行命令,确认后才开始安装 · 卸载前展示待移除的插件,确认后才从环境移除,避免误删
|
|
@@ -95,8 +95,8 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
95
95
|
**确认更新 · 通知中心**
|
|
96
96
|
|
|
97
97
|
<p align="center">
|
|
98
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
99
|
-
<img src="https://api.dsh-plugin.org/images/releases/2-
|
|
98
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-update-confirm-zh.png?v=2.3.1" alt="确认更新" width="400">
|
|
99
|
+
<img src="https://api.dsh-plugin.org/images/releases/2-3-1/dsh-plugin-hub-notifications-zh.png?v=2.3.1" alt="通知中心" width="400">
|
|
100
100
|
</p>
|
|
101
101
|
|
|
102
102
|
检测到新版本时弹出,确认后原位覆盖安装到最新版 · 集中管理安装、卸载、更新的历史记录、实时进度与待重启提醒
|
|
@@ -116,7 +116,7 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
|
|
|
116
116
|
|
|
117
117
|
## 为什么选择 DSH Plugin Hub
|
|
118
118
|
|
|
119
|
-
DSH Plugin 插件市场收录 **5,
|
|
119
|
+
DSH Plugin 插件市场收录 **5,000+** 个可一键安装的 NPM 插件(主站共收录 **20,000+** 个 DSH 插件),均已人工精选验证,每日更新,免费按分类浏览、搜索、下载与安装,来源可溯。
|
|
120
120
|
|
|
121
121
|
### 及时更新
|
|
122
122
|
|
|
@@ -132,7 +132,7 @@ DSH Plugin 插件市场收录 **5,686** 个 DeepSeek Harness Plugin(DSH)插
|
|
|
132
132
|
|
|
133
133
|
## 安装 DSH Plugin Hub
|
|
134
134
|
|
|
135
|
-
从 npm
|
|
135
|
+
从 npm 安装:
|
|
136
136
|
|
|
137
137
|
```bash
|
|
138
138
|
dsh plugin --profile web add dsh-plugin
|
|
@@ -140,13 +140,7 @@ dsh plugin --profile web add dsh-plugin
|
|
|
140
140
|
|
|
141
141
|
插件已发布到 npm registry(包名 `dsh-plugin`),一条命令即可安装使用,无需任何构建。
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
> **提示**:插件已内置浏览器端 bundle,从 GitHub 安装无需任何构建与授权;装完重启 `dsh web`,在「设置 → 插件市场」即可使用。
|
|
143
|
+
> **只提供 npm 安装**:源码 / git 安装要依赖各仓库自己的构建脚本,写法不统一、失败率高(git 包常被 pnpm 的构建脚本限制直接拦下),装出来的行为也不一致,因此不再提供。插件已内置浏览器端 bundle,npm 安装无需构建;装完重启 `dsh web`,在「设置 → 插件市场」即可使用。
|
|
150
144
|
|
|
151
145
|
## 更新 DSH Plugin Hub
|
|
152
146
|
|