dsh-plugin 1.3.5 → 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.
- package/README.en.md +30 -1
- package/README.md +30 -1
- package/client/client.js +409 -393
- package/client/client.js.map +1 -1
- package/lib/http/routes.js +6 -4
- package/lib/services/install/npm-resolve.js +3 -1
- package/lib/services/settings.js +1 -1
- package/lib/types/services/install/npm-resolve.d.ts +3 -1
- package/lib/types/services/settings.d.ts +2 -2
- package/package.json +1 -1
- package/src/client/components/PluginHubSection.tsx +11 -7
- package/src/client/components/modals/NotificationsModal.tsx +9 -3
- package/src/client/components/views/DiagnosticsView.tsx +7 -3
- package/src/client/components/views/SettingsView.tsx +20 -33
- package/src/client/hooks/useSettings.ts +3 -3
- package/src/client/hooks/useTaskQueue.ts +12 -6
- package/src/client/locales.ts +23 -9
- package/src/client/logic/failures.ts +3 -0
- package/src/client/logic/urls.ts +12 -1
- package/src/client/styles/Dropdown.module.css +10 -0
- package/src/client/styles/Modal.module.css +11 -0
- package/src/server/http/routes.ts +6 -3
- package/src/server/services/install/npm-resolve.ts +3 -1
- 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.
|
|
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
|
|
@@ -131,6 +131,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
|
131
131
|
|
|
132
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.
|
|
133
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
|
+
|
|
134
163
|
## Getting Started: browse & install in DeepSeek Harness
|
|
135
164
|
|
|
136
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.
|
|
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
|
## 插件中心特性
|
|
@@ -131,6 +131,35 @@ dsh plugin --profile web add git+https://github.com/dshplugin/dsh-plugin-hub.git
|
|
|
131
131
|
|
|
132
132
|
> **提示**:插件已内置浏览器端 bundle,从 GitHub 安装无需任何构建与授权;装完重启 `dsh web`,在「设置 → 插件中心」即可使用。
|
|
133
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
|
+
|
|
134
163
|
## 快速开始:在 DeepSeek Harness 中使用
|
|
135
164
|
|
|
136
165
|
安装完成后重启 `dsh web`,打开 **设置 → 插件中心**,即可浏览并安装插件。插件市场与 [dsh-plugin.org](https://dsh-plugin.org) 官网数据同源、实时同步。
|