DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-ops-console

D

dsh-ops-console

Manifest valid★ 3

Because restarting the official web version is quite cumbersome, this plugin offers a lazy way to do it.

UI (client)hasBundlePatch

DSH 更新与重启控制台

GitHub release License GitHub stars Last commit

A DSH WebUI plugin: one-click update check, apply updates during restart, and a reliable restart button — all from the Settings page.

DSH WebUI 插件:在「设置」页一键检查更新、更新并自动重启、重启 DSH。

给不想麻烦去使用带重启的桌面版的开发者使用,在纯dsh web上也可以点击重启 无外部依赖、无需构建,与 DSH 版本无关(rc.6 / rc.7 / rc.8 均可)。


✨ 功能

按钮说明
检查更新对比核心包(@deepseek-ai/dsh、dsh-web-app、dsh-base)与已装插件的已安装/最新版本,自动识别预发布标签(如 (next))
一键更新生成更新计划并自动重启;更新命令(npm install -g + pnpm)在旧进程退出后执行——不会在服务运行时替换文件,页面不会被弄挂
重启 DSH按原始启动命令(含 --port 等参数)精确重放并重新拉起,页面自动重连
停止 DSH终止进程且不自动重启;如需恢复,手动运行 dsh web

可配置项(在 profile 的 cordis.patch.yml 中通过 config 覆盖):profile(目标 profile 名,默认从启动命令自动推导)、registries(检查更新使用的 npm registry 列表)。

📋 要求

  • 已安装 DSH WebUI(dsh web 能启动)
  • dsh、pnpm 在 PATH 中(通过 npm 全局安装 dsh 时默认满足)

🚀 安装

方式一:GitHub 安装(推荐)

dsh plugin --profile web add github:DonnieTangzhili/dsh-ops-console

然后完全退出 DSH 并重新运行 dsh web,打开 WebUI → 左下角 设置 → 侧边出现 「更新与重启」。

方式二:下载 ZIP 双击安装

  1. 从 Releases 下载 zip 并解压
  2. 先退出 DSH
  3. 双击 install.cmd
  4. 重新运行 dsh web

方式三:手动安装

# 1. 把 dsh-ops-console 文件夹放到 ~/.dsh/plugins/ 下
# 2. 注册到 profile
dsh plugin --profile web add "link:%USERPROFILE%\.dsh\plugins\dsh-ops-console"
# 3. 重启 DSH

🔧 使用

打开 WebUI → 左下角 设置 → 「更新与重启」 页面:

  1. 点 检查更新 查看所有相关包的版本对比
  2. 有更新时点 一键更新——页面提示已安排,随后自动重启,更新在重启过程中完成,页面自动重连
  3. 任何时候点 重启 DSH 快速重启

🗑️ 卸载

dsh plugin --profile web remove dsh-ops-console

🔍 故障排查

现象处理
安装后设置里没有「更新与重启」确认已重启 DSH;或到 设置 → 插件 检查 dsh-ops-console 是否加载
一键更新 / 重启后页面没回来查看 %TEMP%\dsh-ops-restart-*.log
按钮失效的兜底终端运行 node tools\dsh-restart-now.js(杀掉 8899 端口的 DSH 并用 dsh web 重新拉起)

🔄 更新插件本身

dsh plugin --profile web update dsh-ops-console

(GitHub 安装会拉到仓库最新提交,重启 DSH 生效。)

🛠️ 开发

  • 无构建步骤:lib/index.js(Host)+ client/client.js(Client bundle)都是纯 JS
  • 修改后 git push,使用者 dsh plugin --profile web update dsh-ops-console 即可
  • 详情见 CHANGELOG.md

📄 License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.2.1-rc.3: failedDSH 0.1.7-rc.2: failed

Versions

Latest versionPublishedSize
0.6.2——
0.7.1——

Comments

Loading…

Similar plugins

dsh-app-controls

by dingdong2333333-lab

DSH 官方客户端没有的两个按钮:重启和刷新。一个很小的独立插件。

Manifest valid

★ 0

Unlicense

JavaScript

Oct 21, 2026

dsh plugin --profile web add dsh-app-controls

by Biobuilder-ai

deepseek-harness的插件,可以在web页面直接开关插件,轻量方便

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-plugin-ui-toggle

by zhouchengke2046

Independent one-click restart for DeepSeek Harness web (Settings page). · 独立的 DSH Web 一键重启插件。

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-restart

by woyeshishen

为 DeepSeek Harness Web 页面左下角添加“重启后端”按钮,一键重启 dsh 后端进程。

Manifest valid

★ 0

Apache-2.0

PowerShell

Aug 16, 2026

dsh plugin --profile web add @woyeshishen/dsh-restart-backend

by dujar

Restart dsh web from Settings → Restart, enable/disable installed plugins with one toggle, and jump to the Community plugins tab to install more. Bilingual (English/中文) UI. 在 设置 → 重启 中一键重启 dsh web、开关已安装插件,并跳转社区插件页安装更多。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 25, 2026

dsh plugin --profile web add dsh-restart

by SMWHff

DSH Web 重启体验插件:页内遮罩 + 分离式重启 + 重启完成自动报告(Esc/✕ 随时退出)

Manifest valid

★ 0

MIT

JavaScript

Aug 15, 2026

dsh plugin --profile web add dsh-restart-progress