DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@yishuiliufang/dsh-relaunch

Relaunch

从侧边栏重启 DeepSeek Harness。重新启动桌面应用,不显示控制台窗口或确认对话框,并且在应用更新后仍然有效。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @yishuiliufang/dsh-relaunch@1.0.3
README兼容性版本

兼容性与来源证明

Relaunch 以 @yishuiliufang/dsh-relaunch 发布,当前版本为 1.0.3。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/10/26

版本

1.0.3stable
2026/10/26
1.0.2stable
2026/10/25

相关插件

正在加载相关插件…

最新版
1.0.3
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
75 kB
文件数
17
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/10/26
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

dsh-relaunch

English | 中文

Restart DeepSeek Harness from its own sidebar.

🎯 The app has no restart command. This adds one — and unlike editing the application's own files, it survives application updates.

Windows only. The relaunch is implemented with Windows facilities (wscript.exe for a windowless launch, taskkill to terminate). On macOS and Linux the rail entry still appears, but pressing it fails cleanly rather than doing something unexpected.

Why

DeepSeek Harness ships no UI for restarting itself. The top bar has an Applications menu, and a restart item exists in the source — but it sits behind a development flag that production builds never satisfy, so it is not reachable.

The obvious workaround is to patch the application's app.asar. That works until the first update: the updater replaces the archive wholesale, your patch disappears, and the button is gone again. Editing another program's installed files is also the kind of thing you have to redo forever.

So this does it from the outside. A plugin lives in your DSH profile, which updates do not touch. It adds a rail entry to the sidebar; pressing the button in the panel behind it closes Harness and starts it again.

Features

⚡ One clickA rail entry beside the shipped panels
🚫 No console flashThe worker is launched windowless, so nothing blinks on screen
🚫 No confirmation dialogRestart asks nothing; the panel's button is the confirmation
🔁 Survives updatesInstalled as a profile plugin, not carved into the app
🔒 ExplicitThe restart never fires on its own — it needs the button
🌐 LocalizedEnglish and Chinese, following the app's language setting

What it looks like

The rail entry sits with the shipped panels:

The relaunch entry in the DSH sidebar

Selecting it opens the panel, whose single button performs the restart:

The relaunch panel: a title, one line of explanation, and one button

Both images are captures of the running application, not mock-ups.

Install

npm install @yishuiliufang/dsh-relaunch

Then add it to your profile's package.json:

{
  "dsh": {
    "profile": {
      "bundles": ["...", "@yishuiliufang/dsh-relaunch"]
    }
  }
}

The bundle ships its own cordis.patch.yml, which inserts the plugin row process-wide. A profile restart is required — the loader reads its composition at startup, and the sidebar does not gain the entry until then.

Use

Click the circular-arrow icon in the left rail. The panel has one button.

Pressing it:

  1. Sends a request to the plugin's own Host route.
  2. Waits a moment so the response can reach the browser first.
  3. Terminates the running Harness processes.
  4. Starts the application again, verifies it stayed up, and records each step.

Everything running is interrupted. That is what a restart is — DSH checkpoints sessions as it goes, so your conversation history survives, but a task executing at that moment does not.

How it works

The restart cannot be done from inside the plugin, because the plugin runs inside the process being restarted. Leaving it to an in-process call would mean the process kills itself mid-response, and any child it started would die with it. So the work goes to a detached worker:

rail button
  └─ POST /dsh-relaunch/restart          (Host half, authenticated route)
       └─ wscript.exe launch-hidden.vbs  (GUI subsystem: no console allocated)
            └─ DeepSeek Harness.exe      (ELECTRON_RUN_AS_NODE=1: Node, windowless)
                 └─ restart-harness.mjs  (terminate → wait → start → verify)

Two details are load-bearing:

  • The launcher is wscript.exe, not powershell.exe. PowerShell is a console-subsystem program: starting it allocates a console window that flashes on screen, and the WMI route used to detach it cannot ask for CREATE_NO_WINDOW. The Harness executable is a GUI-subsystem binary, so running it in Node mode produces no window at all.
  • The worker strips ELECTRON_RUN_AS_NODE before restarting the app. That variable is what makes the worker run as Node instead of as the desktop app. It is process-scoped, so it is inherited — and an Electron binary that inherits it starts as a bare Node runtime with no application logic and exits within a second, leaving nothing running. test/host.mjs pins this.

Requirements

  • Windows.
  • DSH desktop >= 0.1.7-rc.2 (engines.dsh).

The plugin declares no @deepseek-ai/* peer dependency and imports none of their values. That is deliberate: at startup DSH runs a compatibility check over every profile bundle, and if even one peer range fails to cover the running version, the whole bundle is skipped — cordis.patch.yml never takes effect and it looks like "installed but nothing happens". With no peer range to check, that failure cannot occur here.

Configuration

None. The plugin has no options; the route and the delay are fixed.

Known limitations

  • Windows only, as noted above. The rail entry appears elsewhere but the restart fails there.
  • Running tasks are interrupted. Not a bug, but worth repeating.
  • The plugin needs a profile restart to appear. Installing it while Harness runs links the package, but the sidebar picks up the entry only after the app restarts.
  • Only one restart should be in flight at a time. The button disables itself while a restart is running, but nothing prevents a second window from pressing it too.

Project layout

dsh-relaunch
├── index.js            # Host half: registers the restart route
├── client.js           # Client half: the rail entry and its panel
├── restart-harness.mjs # The detached worker: terminate, wait, relaunch, verify
├── launch-hidden.vbs   # Windowless launcher (wscript → Node mode)
├── restart-harness.ps1 # Transition shim; see CHANGELOG for why it remains
├── locale/             # Plugin-list metadata (en, zh)
├── icon.svg            # Plugin-list icon
├── test/
│   ├── manifest.mjs    # Package/manifest wiring (16 checks)
│   ├── host.mjs        # Route contract and the relaunch environment (11 checks)
│   └── client.mjs      # Client mount, localization, panel states (17 checks)
├── cordis.patch.yml    # Bundle layer: inserts the plugin row
├── dsh-plugin.json     # Plugin manifest
├── CHANGELOG.md        # Release notes
└── package.json

Tests

npm test

No DSH host and no dependencies are needed — the suites import only Node builtins. host.mjs covers the environment leak described above, which is the one bug in this project that produced a worse outcome than having no plugin at all.

Changelog

See CHANGELOG.md for what changed in each release.

License

MIT