One-click health check for the DSH Web GUI: a sidebar button runs the ops kit's check-health.ps1 through a plain HTTP route (independent of the tool registry) and renders a structured report card; colors follow the active theme, Windows/PowerShell.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:MiraculousGarfield/dsh-ops-health
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
DeepSeek Harness 一键健康检查插件:侧边栏「🩺 健康检查」按钮 → 纯 HTTP 路由
/ops/health → 隐藏窗口跑 check-health.ps1(8 项体检)→ 结构化报告卡片。
- 按钮配色跟随主题(
--dsw-alias-brand-primary,皮肤覆盖时跟随皮肤) - 路由直接注册在 webServer 上,不经过工具注册表:agent 工具调用崩了按钮仍可用; 进程级故障时按钮同样不可用,兜底仍是独立脚本(见 dsh-ops 工具箱)
- 体检逻辑是 PowerShell,仅支持 Windows;其他平台按钮会显示"通道不可用"提示
安装
dsh plugin --profile web add github:MiraculousGarfield/dsh-ops-health
# 重启 dsh 服务(bundles 是启动期组合的),刷新页面即可看到按钮
卸载
dsh plugin --profile web remove dsh-ops-health
# 重启 dsh 服务生效
结构
| 文件 | 说明 |
|---|---|
lib/index.js |
host 面:注册 /ops/health 路由,spawn PowerShell(隐藏窗口、60s 超时) |
lib/client.js |
浏览器面:侧边栏按钮(流内插入设置区上方)+ 报告卡片,可逆清理 |
scripts/check-health.ps1 |
体检脚本副本(自包含;源在 dsh-ops 仓库根 scripts/) |
cordis.patch.yml |
bundle patch:一行 insert 挂载插件行 |
注意
- 官方
dsh plugin add在 Windows 下路径含空格会炸(cmd 按空格拆参数): 用 git URL 无此问题;本地路径安装需用 8.3 短路径(形如C:\Users\SHORTNA~1\...) - 卸载后 node_modules 可能留死目录(pnpm 惰性清理),不影响运行
MIT License
Links
More in this category
strukto-ai/mirage#dsh★ 3466
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 214
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Jayden-X-L/forkprobe★ 66
Compare multiple skills on the same task and pick the winner.
vlln/plugin-registry★ 50
Ecosystem infrastructure: a thin browser console for managing official repository plugins (zero patches) plus a make-dsh-plugin skill for guided plugin development.
forrestchang/dsh-multica-runtime★ 39
Run the dsh runtime on Multica.
omdsh-dev/dsh-plugin-check★ 22
Plugin health checks: manifest protocol / patch format / build traps, zero-dependency and read-only.