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.

Plugin Easy2restart — DSH Plugin for DeepSeek Harness
← Plugins
P

dsh-plugin-easy2restart

Plugin Easy2restart

DSH plugin: double-click the sidebar restart button to fully relaunch DeepSeek Harness; it is greyed out while an agent session is running. (中文:DSH 重启插件:双击侧边栏重启按钮即可整体重启 DeepSeek Harness,会话运行时按钮置灰禁用。)

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

npx -y @deepseek-ai/dsh plugin --profile web add github:SMPcosy/dsh-plugin-easy2restart#7096e935a80b7e275d5a2cd90c1ae50a0ee0abee
READMECompatibilityVersions
dsh-pluin-restart-02dsh-pluin-restart-01

Compatibility and provenance

Plugin Easy2restart is published as dsh-plugin-easy2restart and currently resolves to version 0.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/17/2026

Versions

0.1.0stable
10/17/2026

Related plugins

Loading related plugins…

Latest
0.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/17/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
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in ui-customization.

Whale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinClient Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH skill center: browse loaded skills by source (bundled / project / user / custom / runtime), enable or disable, create and delete, in a web GUI panel.Remote Web Ui@linxin666/dsh-remote-web-uiScan-to-pair remote access for the dsh web GUI that shares one official interface: a QR beside the settings button pairs phones and PCs into the same Web GUI (a portrait-touch adaptation layer for phones, full desktop on PCs) through one-time tokens and rClient 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.

README

dsh-plugin-easy2restart

DSH 重启插件:双击侧边栏重启按钮即可整体重启 DeepSeek Harness,会话运行时按钮置灰禁用。 DSH plugin: double-click the sidebar restart button to fully relaunch DeepSeek Harness; it is greyed out while an agent session is running.

DeepSeek Harness 重启插件:在左侧边栏账号头像/设置上方放一个「⟳ 重启 DSH」按钮,双击即可整进程重启 DeepSeek Harness;当有 Agent 会话正在运行时,按钮自动置灰禁用,避免打断进行中的工作。

功能

  • 侧边栏 sidebar.footer.action 位置注入重启按钮(账号头像/设置上方)。
  • 双击按钮 → 宿主用 Windows 计划任务拉起一个脱离 DSH 进程树的 PowerShell 脚本,taskkill /T 强杀整个 DSH 进程树,随后重新启动 DeepSeek Harness.exe。
  • 有 Agent 会话运行中时按钮置灰禁用(依据 DSH 会话状态 running)。
  • 无会话运行时按钮可点;宿主管理保存一个「重启待办」,便于后续扩展「重启后回到原会话」等流程。
dsh-pluin-restart-02 dsh-pluin-restart-01

依赖

  • DeepSeek Harness 桌面版(0.2.0-rc 以上)
  • Node.js ≥ 22

安装

前提:dsh 命令在 PATH 中(DeepSeek Harness 自带)。

# 用 link 方式装本地副本(推荐,便于维护/调试)
git clone https://github.com/SMPcosy/dsh-plugin-easy2restart
dsh plugin --profile desktop add link:<克隆或本目录的绝对路径>

若发布到 registry:

dsh plugin --profile desktop add dsh-plugin-easy2restart

装完重启 DeepSeek Harness,侧边栏底部账号头像上方即出现「⟳」按钮。

使用

  • 双击「⟳」按钮即可重启 DSH。
  • 当有会话正在运行时按钮为灰色(不可点),会话空闲时可正常重启。
  • 重启由计划任务拉起,与 DSH 自身退出无关,即使 DSH 被强杀也能自动重新启动。

卸载

dsh plugin --profile desktop remove dsh-plugin-easy2restart

然后重启 DSH 使改动生效。

工作原理(简述)

  • lib/index.js(宿主/Cordis 插件):注册 /api/dsh-plugin-easy2restart/* HTTP 路由;/restart 记录待办并调用 scheduleRestart,该函数用 schtasks 创建一个立即运行的重启任务,由计划任务服务启动(脱离 DSH 进程树),执行 restart/restart.ps1。
  • restart/restart.ps1:taskkill /PID <主进程> /T /F 结束整个 DSH 进程树,等待退出后重新 Start-Process DeepSeek Harness.exe。
  • lib/client.js(Web 客户端):注入 sidebar.footer.action 渲染按钮;用 useSessionStatus 判断是否有会话在运行以决定是否禁用。

目录结构

dsh-plugin-easy2restart/
├─ package.json         # 插件清单(dsh.client / dsh.bundle 声明)
├─ cordis.patch.yml     # bundle 挂载声明
├─ lib/
│  ├─ index.js          # 宿主端:HTTP 路由 + 重启调度
│  └─ client.js         # 客户端端:侧边栏按钮
└─ restart/
   └─ restart.ps1       # 重启脚本(杀进程树 + 重启 exe)

备注

  • 这是改安装版主程序之外的一种插件方式:直接以本地 bundle 加入 profile,不修改 app.asar。
  • 若希望「重启完成后自动回到原会话并填入『重启完成』」,可在 /restart 的待办(~/.dsh/storages/dsh-plugin-easy2restart/pending.json)基础上扩展(当前版本不自动填写输入框)。

License

MIT