DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-plugin-restart

I

dsh-plugin-restart

Manifest valid★ 2

DeepSeek Harness restart button in the DSH desktop window title bar

UI (client)hasBundlePatch

dsh-plugin-restart 2.0.0

DeepSeek Harness 桌面应用的重启按钮:窗口标题栏一个按钮,点一下就把整个应用关掉再拉起来。2.0.0 的运行时就是最初的 v0.1.0(逐字节一致),仓库里另外附带一个工具,把**「重启 DeepSeek Harness」放进托盘的右键菜单**。

两件东西,一次下载都有

是什么怎么用
插件(运行时)标题栏按钮:杀壳 → 拉起应用 → 抬窗两次。没有设置页、没有锁——想连点就连点作为 DSH 插件安装即可
tools/patch-shell-tray.mjs给壳的托盘菜单加一项「重启 DeepSeek Harness」,走壳自己的 app.relaunch() + quitWithoutConfirmation()(托盘图标由 Electron 自己移除,不留幽灵图标)见下

为什么托盘那一项不能由插件提供:托盘在桌面壳的主进程里(new Tray / setContextMenu)。插件只有两个落脚点——宿主机(纯 Node,没有 Electron API)和页面(preload 只暴露固定的 dshDesktop)——都无法向托盘菜单添加任何一项。所以它是一个本地、可回退的壳补丁工具,长期解法见 docs/dsh-restart-api-request.zh.md(精确到行号)。

托盘工具

node tools/patch-shell-tray.mjs status   # 已安装的 asar 是否带这块补丁
node tools/patch-shell-tray.mjs build    # 从原始备份生成暂存包并逐文件校验
node tools/patch-shell-tray.mjs detach   # 45 秒后由 WMI 创建的独立进程完成切换(推荐)
node tools/patch-shell-tray.mjs swap     # 立即切换
node tools/patch-shell-tray.mjs revert   # 还原原始 asar 并重启

自动探测安装位置(--install= / --asar= → 运行中进程的路径 → 默认位置);原文件备份为 app.asar.orig;若新包起不来,40 秒内自动还原并重启。这是对厂商打包应用的本地补丁,应用更新或重装会覆盖 app.asar,重跑 build + detach 即可。

如实说明

  • 2.0.0 不含 1.0.x 那条线的东西(设置页、重启方式二选一、见证者、残留清理、稳定锁)——按需求回退到 v0.1.0 的行为;那些版本仍保留在各自 tag(v1.0.0–v1.0.4)。
  • 标题栏按钮是杀进程式重启,可能留下幽灵托盘图标(Windows 对被强杀进程的行为);托盘那一项不会。
  • 只在 Windows 上验证过。

Versions

Latest versionPublishedSize
0.0.0-stage——
1.0.1——
1.0.2——

Comments

Loading…

From the same category

awesome-dsh-plugin

by awesome-dsh-plugin

A curated list of plugins for DeepSeek Harness (dsh) · DeepSeek Harness 插件精选列表

Development & Infrastructure

★ 18.3k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by 0xsline

DeepSeek Harness (DSH) ecosystem: curated plugins, tools, and infrastructure from dsh-external/hub and the public dsh-plugin topic.

Development & Infrastructure

★ 1.2k

CC0-1.0

Python

Oct 10, 2026

Index only — not installable

by pax-beehive

Open-source CLI, schemas, resolver, and DSH agent tools for DSH Plugin Hub

Development & Infrastructure

★ 450

MIT

TypeScript

Oct 6, 2026

Index only — not installable

by xiajiajun516

DeepSeek Harness (DSH) backup & restore plugin — export, import, migrate and sync your complete DSH configuration, plugins, MCP servers, skills and workspace. One-click migration to another machine.

Development & InfrastructureManifest valid

★ 176

MIT

TypeScript

Oct 8, 2026

dsh plugin --profile web add dsh-config-manager

by yjh051108

推荐组件(非必须):DeepSeek Harness 运行时注入器;已随 dsh-routing-suite 单仓库化保留,本仓库继续维护/发布。

Development & InfrastructureManifest valid

★ 164

TypeScript

Sep 18, 2026

dsh plugin --profile web add @dsh-external/dsh-super-injector

by jigjoy-ai

A CLI that turns a goal into a pull request - and a sandbox for testing concurrent AI coding agents on the Mozaik runtime.

Development & Infrastructure

★ 124

MIT

TypeScript

Oct 2, 2026

Index only — not installable