dsh-plugin 1.3.4 → 1.3.6

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 (34) hide show
  1. package/README.en.md +38 -1
  2. package/README.md +38 -1
  3. package/client/client.js +449 -410
  4. package/client/client.js.map +1 -1
  5. package/lib/http/routes.js +9 -5
  6. package/lib/services/install/npm-resolve.js +3 -1
  7. package/lib/services/install/task-queue.js +29 -15
  8. package/lib/services/profile/profile.js +4 -3
  9. package/lib/services/settings.js +1 -1
  10. package/lib/types/services/install/install-types.d.ts +2 -2
  11. package/lib/types/services/install/npm-resolve.d.ts +3 -1
  12. package/lib/types/services/install/task-queue.d.ts +3 -3
  13. package/lib/types/services/settings.d.ts +2 -2
  14. package/package.json +1 -1
  15. package/src/client/components/PluginHubSection.tsx +13 -7
  16. package/src/client/components/modals/NotificationsModal.tsx +9 -3
  17. package/src/client/components/views/CustomInstallView.tsx +35 -14
  18. package/src/client/components/views/DiagnosticsView.tsx +7 -3
  19. package/src/client/components/views/SettingsView.tsx +20 -33
  20. package/src/client/hooks/useSettings.ts +3 -3
  21. package/src/client/hooks/useTaskQueue.ts +12 -6
  22. package/src/client/locales.ts +31 -15
  23. package/src/client/logic/failures.ts +3 -0
  24. package/src/client/logic/renderMarkdown.ts +9 -5
  25. package/src/client/logic/urls.ts +12 -1
  26. package/src/client/styles/CustomInstallView.module.css +25 -0
  27. package/src/client/styles/Dropdown.module.css +10 -0
  28. package/src/client/styles/Modal.module.css +11 -0
  29. package/src/server/http/routes.ts +9 -4
  30. package/src/server/services/install/install-types.ts +2 -2
  31. package/src/server/services/install/npm-resolve.ts +3 -1
  32. package/src/server/services/install/task-queue.ts +36 -20
  33. package/src/server/services/profile/profile.ts +4 -3
  34. 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="docs/screenshots/dsh-plugin-hub-home-en-v1.2.1.png" alt="DSH Plugin Hub inside DeepSeek Harness" width="840">
32
+ <img src="docs/screenshots/dsh-plugin-hub-home-en-v1.3.5.png" alt="DSH Plugin Hub inside DeepSeek Harness" width="840">
33
33
  </p>
34
34
 
35
35
  ## Plugin Hub Features
@@ -63,6 +63,14 @@ DSH Plugin Hub is a **community plugin marketplace for DeepSeek Harness**: an op
63
63
  - Same data source as the website; the catalog updates automatically, no manual upgrade needed
64
64
  - Browser-side only, no host dependencies, no telemetry, no data collection
65
65
 
66
+ ## Join the User Group · Feedback
67
+
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
+
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">
72
+ </p>
73
+
66
74
  ## Feature Highlights
67
75
 
68
76
  | One-click install | One-click uninstall |
@@ -123,6 +131,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
123
131
 
124
132
  > **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.
125
133
 
134
+ ## Update DSH Plugin Hub
135
+
136
+ 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:
137
+
138
+ **Option 1: update in place (recommended)**
139
+
140
+ ```bash
141
+ dsh plugin --profile web update dsh-plugin
142
+ ```
143
+
144
+ **Option 2: force upgrade (when an older build cannot update)**
145
+
146
+ If the old build's updater cannot pull the latest version, force-reinstall the newest release with an explicit version:
147
+
148
+ ```bash
149
+ dsh plugin --profile web add dsh-plugin@latest
150
+ ```
151
+
152
+ **Option 3: reinstall the latest (most reliable)**
153
+
154
+ `add` does not overwrite an already-installed copy, so removing first and re-adding always fetches the newest version:
155
+
156
+ ```bash
157
+ dsh plugin --profile web remove dsh-plugin
158
+ dsh plugin --profile web add dsh-plugin
159
+ ```
160
+
161
+ > Restart `dsh web` after updating for the changes to take effect.
162
+
126
163
  ## Getting Started: browse & install in DeepSeek Harness
127
164
 
128
165
  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="docs/screenshots/dsh-plugin-hub-home-zh-v1.2.1.png" alt="DSH Plugin Hub in DeepSeek Harness" width="840">
32
+ <img src="docs/screenshots/dsh-plugin-hub-home-zh-v1.3.5.png" alt="DSH Plugin Hub in DeepSeek Harness" width="840">
33
33
  </p>
34
34
 
35
35
  ## 插件中心特性
@@ -63,6 +63,14 @@ DSH Plugin Hub 是 **DeepSeek Harness 社区插件市场**:一个遵循官方
63
63
  - 数据与官网同源,安装后自动获取最新目录,无需手动升级
64
64
  - 仅浏览器端注入,无宿主服务依赖,无遥测、无隐私采集
65
65
 
66
+ ## 加入用户群 · 反馈问题
67
+
68
+ 遇到使用问题、功能建议或想交流插件?扫码加入 DSH Plugin Hub 用户群,反馈问题、提交建议,与社区一起改进。群二维码定期更新,此码有效期至 2026-09-02。
69
+
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">
72
+ </p>
73
+
66
74
  ## 功能一览
67
75
 
68
76
  | 一键安装 | 一键卸载 |
@@ -123,6 +131,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
123
131
 
124
132
  > **提示**:插件已内置浏览器端 bundle,从 GitHub 安装无需任何构建与授权;装完重启 `dsh web`,在「设置 → 插件中心」即可使用。
125
133
 
134
+ ## 更新 DSH Plugin Hub
135
+
136
+ 插件中心检测到新版本时会提示一键更新;如果旧版本存在更新缺陷导致拉取不到最新版,请直接用命令行升级:
137
+
138
+ **方式一:直接更新到最新(推荐)**
139
+
140
+ ```bash
141
+ dsh plugin --profile web update dsh-plugin
142
+ ```
143
+
144
+ **方式二:强制升级(旧版更新不上时)**
145
+
146
+ `update` 若受旧版缺陷影响无法拉取最新版,用显式版本号强制重装最新版:
147
+
148
+ ```bash
149
+ dsh plugin --profile web add dsh-plugin@latest
150
+ ```
151
+
152
+ **方式三:卸载重装到最新(最稳)**
153
+
154
+ `add` 对已安装的实例不覆盖版本,先卸载再安装必然拿到最新版:
155
+
156
+ ```bash
157
+ dsh plugin --profile web remove dsh-plugin
158
+ dsh plugin --profile web add dsh-plugin
159
+ ```
160
+
161
+ > 更新后重启 `dsh web` 即可生效。
162
+
126
163
  ## 快速开始:在 DeepSeek Harness 中使用
127
164
 
128
165
  安装完成后重启 `dsh web`,打开 **设置 → 插件中心**,即可浏览并安装插件。插件市场与 [dsh-plugin.org](https://dsh-plugin.org) 官网数据同源、实时同步。