dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Manage user-installed DeepSeek Harness plugins from the DSH Web settings page
在 DeepSeek Harness (DSH) Web 设置中管理当前 profile 安装的插件。
dsh-plugin-manager 提供独立的「插件管理」页面,可以查看插件来源与版本、手动检查更新、更新单个或全部插件,以及删除不再需要的插件。
pnpm-lock.yaml 中的当前 commit 与远端 commit。dsh.profile.bundles。需要 dsh 0.1.5-alpha.1+、Node.js 22.19+ 和 pnpm。
dsh plugin --profile web add github:huahai0202/dsh-plugin-manager
安装完成后重启 dsh web,然后在「设置 → 插件管理」中使用。
0.4.0 起适配 dsh 0.1.5-alpha.1:客户端模块系统改为
dsh-client-modules(旧版dsh-client-runtime已移除),dsh-client-ui-slots由 Web 外壳内置提供。旧版 dsh 请使用 0.3.x。
link:、file: 等本地依赖只展示,不执行远端更新。dsh web,运行中的插件代码才会重新加载。dsh plugin --profile web add link:<path-to-this-checkout>
本地修改后重启 dsh web。提交前可运行:
node --check lib/index.js
node --check lib/client.js
npm pack --dry-run
所有接口均使用 POST:
| 路由 | 请求体 | 用途 |
|---|---|---|
/plugin-manager/api/list | { "refresh": false } | 读取本地插件状态 |
/plugin-manager/api/list | { "refresh": true } | 读取状态并检查 npm / GitHub 更新 |
/plugin-manager/api/update | { "name": "package-name" } | 更新单个插件 |
/plugin-manager/api/updateAll | {} | 更新全部插件 |
/plugin-manager/api/remove | { "name": "package-name" } | 删除单个插件 |
dsh-plugin-manager/
├── assets/
│ └── screenshot.png # README 截图
├── lib/
│ ├── index.js # DSH Host API 与 pnpm 操作
│ ├── pnpm.js # pnpm 子进程封装(超时 / 进程树终止)
│ └── client.js # 设置页面 UI
├── cordis.patch.yml # Host 挂载配置
├── package.json # 插件声明
└── README.md