dsh-shutdown
Manifest valid❎Provide a shutdown button to quickly close tabs and the dsh process in the deepseek harness web interface
dsh-shutdown
为 DeepSeek Harness (dsh) 的 Web UI 添加右上角关闭按钮的插件:
- 在 Web 界面右上角新增一个关闭按钮(图标按钮,悬停显示「关闭 DSH」),任何会话状态下常驻
- 点击后弹出确认提示(可选择「不再显示」,之后点击按钮将直接关闭;可在通用设置中重新开启)
- 确认后安全结束整个 dsh 进程(走 dsh launcher 的优雅退出路径:插件树逆序清理、Web 服务关闭后进程退出),并尝试自动关闭浏览器标签页
- 若浏览器策略阻止脚本关闭标签页,页面会渲染「dsh 已安全关闭」的兜底画面,提醒你手动关闭标签页
安装
从 GitHub 安装(推荐)
dsh plugin --profile web add github:Lundly/dsh-shutdown
本仓库直接提交了构建产物(lib/)且不含任何安装时构建脚本,因此安装时无需授权构建,pnpm 不会弹出 allowBuilds 提示。
如需锁定版本,可以 pin 到具体提交:
dsh plugin --profile web add github:Lundly/dsh-shutdown#<commit-sha>
从本地目录安装
在本仓库的上级目录执行(首次会自动创建名为 web 的 profile,并把本插件作为 bundle 追加进去):
dsh plugin --profile web add ./dsh-shutdown
相对路径以执行命令时所在目录为锚点,也可以直接用绝对路径。
验证与移除
dsh plugin --profile web list
dsh plugin --profile web remove dsh-shutdown
bundle 成员变化需重启 profile 后生效。
启动 dsh 后浏览器打开 Web 界面,即可在右上角看到关闭按钮。
从源码构建
pnpm install
pnpm build # 产物:lib/index.js(Host 半,Node ESM)+ lib/client.js(浏览器半,ModuleLoader CJS 工厂)
pnpm typecheck
本插件不依赖 dsh 源码即可构建:宿主提供的包(@deepseek-ai/cordis、react 等)全部以 peer/external 方式声明,运行时分别由 dsh 宿主与浏览器端模块加载器注入,产物零第三方运行时代码。
License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.2.0 | — | — |
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by Aclguh
DSH Web 界面的半透明红色关闭按钮:SVG 图标、可拖动、记忆位置,二次确认后优雅关闭当前 DSH 进程并关闭本页
★ 0
MIT
JavaScript
Sep 14, 2026
dsh plugin --profile web add dsh-web-closeby Biobuilder-ai
deepseek-harness的插件,可以在web页面直接开关插件,轻量方便
★ 0
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-plugin-ui-toggleby Neptune810
A draggable one-press stop button for the DeepSeek Harness Web GUI. / DSH 一键结束服务按钮。
★ 0
MIT
JavaScript
Sep 23, 2026
dsh plugin --profile web add dsh-power-buttonby virggle
Shut down Windows automatically after DeepSeek Harness tasks complete — a floating arm button plus a cancellable countdown banner (shutdown /a), zero runtime dependencies.
★ 2
↓ 150/wk
MIT
JavaScript
Aug 28, 2026
dsh plugin --profile web add dsh-shutdown-after-taskby 13520rygvv
DSH desktop plugin: a one-click restart button in Settings, plus a customizable shortcut.
★ 1
JavaScript
Oct 27, 2026
dsh plugin --profile web add @local/dsh-restart-buttonby StarMoon-win
Sidebar restart button for DeepSeek Harness Desktop: one click fully quits and reopens the app.
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-restart