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.

Service Watchdog — DSH Plugin for DeepSeek Harness
← Plugins

dsh-service-watchdog

Service Watchdog

DeepSeek Harness plugin: restart the DSH web service from the main UI with a second confirmation when agent sessions are active, a live running/stopped status, a detached self-healing watchdog, and optional login autostart

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

npx -y @deepseek-ai/dsh plugin --profile web add dsh-service-watchdog@0.2.1
READMECompatibilityVersions

Compatibility and provenance

Service Watchdog is published as dsh-service-watchdog and currently resolves to version 0.2.1. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
8/24/2026

Versions

0.2.1stable
8/24/2026
0.2.0stable
8/24/2026

Related plugins

Loading related plugins…

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

README

dsh-service-watchdog

DeepSeek Harness 主界面服务控制插件:重启 / 状态 / 看门狗 / 开机自启。

功能

  • 状态显示:侧边栏实时显示服务运行中 / 已停止 / 启动中,以及服务已运行时长(3s 轮询)。
  • 快速重启:一键重启 DSH web。重启前检测进行中的会话 / 排队消息 / 后台任务,若有则弹二次确认(显示数量)再杀,无则直接重启;重启后显示成功/失败结果反馈。
  • 看门狗自愈:DSH 启动时派生一个独立常驻进程(几 MB),服务崩溃后自动拉起(可关);服务关闭后按钮仍能再次启动。
  • 看门狗代码自更新:host 每 15s 探测看门狗,若磁盘上的看门狗代码已变化则自动重启它加载新代码——改看门狗无需手动杀进程或重启电脑。
  • 开机自启:写 HKCU Run 键,登录后自动拉起看门狗与服务(可关)。
  • 无残余进程:重启用 taskkill /T /F 杀整棵进程树,确认端口释放后再拉起。

工作原理

  • 看门狗监听 127.0.0.1:<watchdogPort>(默认 3199),浏览器直连它下发 start / restart,服务死了按钮依然可用。
  • 看门狗暴露 loopback-only HTTP 接口:/health(含 codeHash/uptime)、/status、/reload、/restart、/start、/stop、/shutdown。
  • 启动命令在插件安装时从当前进程自举(node 路径 / argv / cwd / 完整环境变量)并持久化到 %LOCALAPPDATA%\DeepSeekHarnessApp\watchdog.json,重启电脑后无需运行中的进程即可拉起。
  • 日志:%LOCALAPPDATA%\DeepSeekHarnessApp\watchdog.log。

安装

dsh plugin --profile web add <本目录路径>

配置项(Settings → Plugins → Service control)

键默认说明
watchdogPort3199看门狗控制端口(仅本机监听);运行时改端口会自动清掉旧看门狗
autostarttrue开机自启
crashRestarttrue崩溃自动重启(改动即时生效)

安全

  • 看门狗只绑 127.0.0.1;仅接受 loopback Host,且跨站 Origin 一律 403(防 CSRF / DNS-rebinding)。
  • 杀进程前校验目标 PID 的映像是 node.exe,避免误杀占用同端口的其他程序。
  • watchdog.json 持久化启动命令时过滤 token/key/secret/credential/CODEX_ 等密钥环境变量。

验证

node --test test/*.mjs

Related plugins

More verified plugins in ui-customization.

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)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsClient 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.Pet@linxin666/dsh-petMulti-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score