DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@yishuiliufang/dsh-relaunch

Relaunch

Restart DeepSeek Harness from its sidebar. Relaunches the desktop application without a console window or a confirmation dialog, and survives application updates.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @yishuiliufang/dsh-relaunch@1.0.3
READMECompatibilityVersions

Compatibility and provenance

Relaunch is published as @yishuiliufang/dsh-relaunch and currently resolves to version 1.0.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
10/26/2026

Versions

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

Related plugins

Loading related plugins…

Latest
1.0.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
75 kB
Files
17
Surface
web
License
MIT
Source
npm
GitHub
★ 0
Weekly downloads
0
Last push
10/26/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.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