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.

Setting Restart — DSH Plugin for DeepSeek Harness
← Plugins

dsh-setting-restart

Setting Restart

One-click restart of the DSH service from Settings > General (通用设置 · 一键重启)

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-setting-restart@1.0.0
READMECompatibilityVersions

Compatibility and provenance

Setting Restart is published as dsh-setting-restart and currently resolves to version 1.0.0. 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/16/2026

Versions

1.0.0stable
8/18/2026

Related plugins

Loading related plugins…

Latest
1.0.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
26.3 kB
Files
9
Surface
web
License
MIT
Source
npm
Weekly downloads
241
Security scan
✓ v1.0.0 scan passed
View source ↗Project homepage ↗
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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

README

dsh-setting-restart

One-click restart of the DSH service, from Settings → General. The "一键重启" row is pinned at the very bottom of the General settings page — no matter how many rows are added above it later, it always stays the last one. After the restart the page reconnects automatically and the row confirms it with a green "Connected" state, so you always know the service is back.

Features

  • A one-click restart row at the bottom of Settings → General (below "繁忙时 Enter 键行为" / whatever comes last).
  • The row is pinned with the maximum slot order, so it always renders at the bottom of the page.
  • Restart is a real process restart: the host spawns a detached helper, exits, and the helper re-spawns the exact same dsh command (same executable, arguments, cwd and environment). The browser tab reconnects automatically once the new instance binds the same port.
  • Bilingual UI copy (简体中文 / English), following the DSH client conventions.
  • Fully typed host invocation through the DSH Typert RPC registry (settingRestart/restart).

Requirements

  • DeepSeek Harness dsh ≥ 0.1.0-rc.6 (the web profile).
  • Node.js ≥ 20.

Installation

  1. Install the package into the web profile (this runs pnpm add inside the profile directory):

    dsh plugin --profile web add dsh-setting-restart
    
  2. Mount it as a loader entry by appending an insert patch to the profile's user patch layer — $DSH_HOME/profiles/web/cordis.patch.yml ($DSH_HOME defaults to ~/.dsh):

    # $DSH_HOME/profiles/web/cordis.patch.yml
    - insert:
        - id: setting-restart
          name: dsh-setting-restart
    
  3. Start (or restart) the service:

    dsh web
    
  4. Open Settings → General — the "一键重启" row is at the very bottom. Click 重启 to restart the service; the page reconnects automatically.

The same patch can be added to the home-level $DSH_HOME/cordis.patch.yml to enable the plugin for every profile.

Configuration

The loader entry accepts an optional config block:

- insert:
    - id: setting-restart
      name: dsh-setting-restart
      config:
        exitDelayMs: 1500    # delay between the click response and process exit (default 1200)
        waitForExitMs: 30000 # how long the helper waits for the old process to exit (default 30000)
        respawn: true        # set false when a supervisor (systemd/pm2) already restarts the service

How it works

browser row (client.js)
  └─ connection.rpc.call("/api", "settingRestart/restart", { args: {} })
       └─ api-gateway dispatches the strict typert invocation
            └─ SettingRestartService.restart() (index.js)
                 ├─ spawns relaunch.js detached  ── waits for pid to die ── re-spawns the same command
                 └─ process.exit(0) after exitDelayMs
  • client.js — the browser bundle (dsh.client / exports["./client"]) that registers the settings row.
  • typert.host.js — the TYPERT host manifest (exports["./typert"]) declaring the strict settingRestart/restart invocation.
  • index.js — the host plugin (SettingRestartService) that performs the restart.
  • relaunch.js — the detached helper that re-spawns the command after the old process exits.

Publishing

This package is published to npm and hosted on GitHub under the dsh-plugin topic:

npm publish
# then, on the GitHub repository page:
# Settings → Manage topics → add "dsh-plugin"

License

MIT

Related plugins

More verified plugins in developer-tools.

Web App@deepseek-ai/dsh-web-appThe dsh browser-surface bundle: the web patch layer over dsh-base plus the runtime glue plugin (frontend dist serving, web-surface prompt, bash runtime variables, URL line)Sdk App@deepseek-ai/dsh-sdk-appThe dsh SDK profile bundle: stdio JSON-RPC serving and process lifecycle over dsh-baseExperimental Inspector@deepseek-ai/dsh-experimental-inspectorExperimental cross-realm CDP hub for Host debugging and Client Runtime inspectionExperimental Inspector Profile@deepseek-ai/dsh-experimental-inspector-profileOptional Web bundle for raw Session logs and Chat node inspection