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.
Files changed (84) hide show
  1. package/README.en.md +15 -21
  2. package/README.md +15 -21
  3. package/client/client.js +412 -382
  4. package/client/client.js.map +1 -1
  5. package/lib/http/catalog.js +4 -4
  6. package/lib/http/diagnostics.js +4 -4
  7. package/lib/http/install.js +21 -10
  8. package/lib/http/npm-release-age.js +9 -3
  9. package/lib/http/shared.js +1 -1
  10. package/lib/services/host-version.js +2 -2
  11. package/lib/services/install/dsh-compat.js +1 -1
  12. package/lib/services/install/npm-resolve.js +1 -1
  13. package/lib/services/install/operation-log.js +3 -3
  14. package/lib/services/install/preflight.js +1 -1
  15. package/lib/services/install/registry-fallback.js +3 -3
  16. package/lib/services/install/release-target.js +2 -2
  17. package/lib/services/install/task-queue.js +35 -20
  18. package/lib/services/loader.js +8 -8
  19. package/lib/services/npm-release-age.js +46 -9
  20. package/lib/services/probe.js +12 -12
  21. package/lib/services/profile/installed-versions.js +2 -2
  22. package/lib/services/profile/profile.js +2 -2
  23. package/lib/types/services/host-version.d.ts +1 -1
  24. package/lib/types/services/install/install-types.d.ts +5 -5
  25. package/lib/types/services/install/operation-log.d.ts +1 -1
  26. package/lib/types/services/install/preflight.d.ts +1 -1
  27. package/lib/types/services/install/registry-fallback.d.ts +1 -1
  28. package/lib/types/services/install/release-target.d.ts +1 -1
  29. package/lib/types/services/install/task-queue.d.ts +10 -7
  30. package/lib/types/services/loader.d.ts +5 -5
  31. package/lib/types/services/npm-release-age.d.ts +14 -2
  32. package/lib/types/services/probe.d.ts +4 -4
  33. package/package.json +1 -1
  34. package/src/client/components/PluginHubSection.tsx +59 -28
  35. package/src/client/components/catalog/CatalogList.tsx +1 -1
  36. package/src/client/components/catalog/PluginCard.tsx +3 -3
  37. package/src/client/components/modals/AboutModal.tsx +2 -2
  38. package/src/client/components/modals/ConfirmDialog.tsx +2 -2
  39. package/src/client/components/modals/HubUpdateModal.tsx +3 -3
  40. package/src/client/components/modals/InstalledDetailModal.tsx +1 -1
  41. package/src/client/components/modals/LogsPathModal.tsx +1 -1
  42. package/src/client/components/modals/NotificationsModal.tsx +2 -2
  43. package/src/client/components/modals/modals.tsx +13 -11
  44. package/src/client/components/views/CustomInstallView.tsx +2 -2
  45. package/src/client/components/views/InstalledView.tsx +2 -2
  46. package/src/client/components/views/SettingsView.tsx +3 -3
  47. package/src/client/data/catalog.ts +1 -1
  48. package/src/client/data/host.ts +3 -1
  49. package/src/client/data/hub.ts +3 -3
  50. package/src/client/hooks/useCatalog.ts +14 -14
  51. package/src/client/hooks/useSettings.ts +2 -2
  52. package/src/client/hooks/useTaskQueue.ts +31 -24
  53. package/src/client/locales.ts +21 -21
  54. package/src/client/logic/constants.ts +1 -1
  55. package/src/client/logic/ensure-plugin-css.ts +2 -2
  56. package/src/client/logic/failures.ts +9 -9
  57. package/src/client/logic/install-command.ts +5 -3
  58. package/src/client/logic/installed.ts +1 -1
  59. package/src/client/logic/release-age.ts +10 -10
  60. package/src/client/logic/urls.ts +3 -3
  61. package/src/client/styles/Header.module.css +1 -1
  62. package/src/client/styles/Modal.module.css +2 -2
  63. package/src/client/styles/SectionTabs.module.css +1 -1
  64. package/src/client/styles/tokens.module.css +1 -1
  65. package/src/client/types.ts +4 -4
  66. package/src/server/http/catalog.ts +4 -4
  67. package/src/server/http/diagnostics.ts +4 -4
  68. package/src/server/http/install.ts +20 -10
  69. package/src/server/http/npm-release-age.ts +9 -3
  70. package/src/server/http/shared.ts +1 -1
  71. package/src/server/services/host-version.ts +2 -2
  72. package/src/server/services/install/dsh-compat.ts +1 -1
  73. package/src/server/services/install/install-types.ts +5 -5
  74. package/src/server/services/install/npm-resolve.ts +1 -1
  75. package/src/server/services/install/operation-log.ts +3 -3
  76. package/src/server/services/install/preflight.ts +1 -1
  77. package/src/server/services/install/registry-fallback.ts +3 -3
  78. package/src/server/services/install/release-target.ts +2 -2
  79. package/src/server/services/install/task-queue.ts +40 -26
  80. package/src/server/services/loader.ts +10 -10
  81. package/src/server/services/npm-release-age.ts +50 -10
  82. package/src/server/services/probe.ts +12 -12
  83. package/src/server/services/profile/installed-versions.ts +2 -2
  84. 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
- **5,686 DeepSeek Harness (DSH) plugins indexed, all hand-verified, in one community hub, updated daily. Browse, search, download and install by category — free, human-verified, traceable.**
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](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
12
12
  [![npm](https://img.shields.io/npm/v/dsh-plugin.svg?style=flat-square)](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-2-5/dsh-plugin-hub-market-en.png?v=2.2.5" alt="DSH Plugin Hub plugin market UI" width="840">
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 **5,686** community plugins, all hand-verified, curated and released every day by [dsh-plugin.org](https://dsh-plugin.org)
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-2-5/dsh-plugin-hub-installed-en.png?v=2.2.5" alt="Installed plugins" width="400">
72
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-custom-install-en.png?v=2.2.5" alt="Custom install" width="400">
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 any plugin outside the catalog via an npm package, GitHub source or a DSH command
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-2-5/dsh-plugin-hub-settings-en.png?v=2.2.5" alt="Settings" width="400">
81
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-system-logs-en.png?v=2.2.5" alt="System logs" width="400">
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-2-5/dsh-plugin-hub-install-confirm-en.png?v=2.2.5" alt="Confirm install" width="400">
90
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-uninstall-confirm-en.png?v=2.2.5" alt="Confirm uninstall" width="400">
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-2-5/dsh-plugin-hub-update-confirm-en.png?v=2.2.5" alt="Confirm update" width="400">
99
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-notifications-en.png?v=2.2.5" alt="Notifications" width="400">
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 indexes **5,686** DeepSeek Harness plugins (DSH), all hand-verified — updated daily, browse, search, download and install for free by category, fully sourced.
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 (recommended):
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
- Install from GitHub:
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)插件市场与插件大全,收录 5,686 个插件、全部人工精选验证、每日更新,免费浏览、搜索并按分类发现、下载与安装 DSH 插件,人工验证、来源可溯。**
9
+ **DeepSeek Harness Plugin(DSH)插件市场与插件大全:主站收录 20,000+ 个插件,其中 5,000+ 个已发布 NPM 包、可在插件市场一键安装(均已人工精选验证)。每日更新,免费浏览、搜索并按分类发现、下载与安装 DSH 插件,来源可溯。**
10
10
 
11
11
  [![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)
12
12
  [![npm](https://img.shields.io/npm/v/dsh-plugin.svg?style=flat-square)](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-2-5/dsh-plugin-hub-market-zh.png?v=2.2.5" alt="DSH Plugin Hub 插件市场界面" width="840">
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
- - 收录 **5,686** 个社区插件,全部已人工精选验证,由 [dsh-plugin.org](https://dsh-plugin.org) 每日收录、人工审核并发布
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-2-5/dsh-plugin-hub-installed-zh.png?v=2.2.5" alt="已安装插件列表" width="400">
72
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-custom-install-zh.png?v=2.2.5" alt="自定义安装" width="400">
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 中显示」 · 手动安装目录外的任意插件,支持 NPM 包、GitHub 源码与 DSH 命令行三种通道
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-2-5/dsh-plugin-hub-settings-zh.png?v=2.2.5" alt="设置" width="400">
81
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-system-logs-zh.png?v=2.2.5" alt="系统日志" width="400">
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-2-5/dsh-plugin-hub-install-confirm-zh.png?v=2.2.5" alt="确认安装" width="400">
90
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-uninstall-confirm-zh.png?v=2.2.5" alt="确认卸载" width="400">
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-2-5/dsh-plugin-hub-update-confirm-zh.png?v=2.2.5" alt="确认更新" width="400">
99
- <img src="https://api.dsh-plugin.org/images/releases/2-2-5/dsh-plugin-hub-notifications-zh.png?v=2.2.5" alt="通知中心" width="400">
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,686** 个 DeepSeek Harness Plugin(DSH)插件,全部已人工精选验证,每日更新,免费按分类浏览、搜索、下载与安装,来源可溯。
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
- 从 GitHub 安装:
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