dsh-plugin-ops-bundle
dsh 插件树的启动前体检与修复——十条跟随启动器运行时解析的静态规则、启动失败后的故障归因、先在隔离实例复验再落地的白名单可逆修复、点名目标版本会跳过哪些插件的升级预演,以及带插件行管理面板与历次故障 RAG 知识库的设置界面。
安装
dsh plugin --profile web add dsh-plugin-ops-bundle
沙箱测试结果
| 阶段 | 结果 |
|---|---|
| 1 安装 | ✓ |
| 2 列装 | ✓ |
| 3 挂载 | ✓ |
| 4 启动 | — |
四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。
README
dsh-plugin-ops-bundle
The dsh-ops health panel, embedded in DeepSeek Harness. This package installs the
dsh-plugin-ops engine into a profile and adds a
dsh-ops section to Settings: health cards, findings with their fixes, plugin-row management, an
upgrade-preview card, a fault timeline, and a diagnosis chat.
The same engine is available as a terminal CLI — npm i -g dsh-plugin-ops gives you
dsh-ops check/preview/gate/serve(andverifyfor plugin authors).
Install
You are · Install
Desktop app · Settings → Plugins → install dsh-plugin-ops-bundle (or just ask DSH to install it)
Web / CLI profile · dsh plugin --profile web add dsh-plugin-ops-bundle
Restart the dsh process (desktop: reopen the app), then open Settings → dsh-ops.
What it shows
- Health — one card per profile: fatal / warn / info counts from the 10 static rules.
- Findings — each one with the fix it recommends; executable fixes write a backup first.
- Upgrade preview — pick a target dsh release and see which installed plugins it would skip, each fix as a copy-ready command.
- Plugin rows — health badges, severity filter, paging, official-row protection, enable/disable.
- Fault timeline — what changed since the last successful boot (the attribution baseline).
- Diagnosis chat — troubleshooting experience is deposited as Markdown and retrieved into the chat (BM25 + optional embedding re-rank), zh/en switch.
How it works
- Host half (
lib/index.js): a cordis plugin that waits for the optional
webServer service and serves the panel API under the /dsh-ops prefix,
reusing the shared engine (dsh-plugin-ops-core). The diagnosis chat prefers
the harness ctx.llm seam with the configured default model and falls back
to a direct OpenAI-compatible channel when the tree exposes no llm service.
- Browser half (
lib/client.js): registers asettings.sectionthrough
dsh.client and fetches the same-origin /dsh-ops/api/* routes.
- Profiles without a Web server are unaffected: the host half activates but
registers nothing.
License
MIT
以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:45,最后更新 2026-11-01