f-infinite-z/dsh-plugin-ops--packages-cli ↗★ 0
dsh-plugin-ops
DeepSeek Harness plugin operations: pre-boot health gate (scan/fix/gate), fault memory, dependency governance, and a local web panel
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗dsh-plugin-ops
DeepSeek Harness plugin operations: one-command health check, pre-boot gate, failure attribution and recovery, dependency-tree governance — the "doctor" for the plugin ecosystem.
Install
npm i -g dsh-plugin-ops
dsh-ops check # scan every profile (offline, seconds)
Commands
| Command | Purpose |
|---|---|
dsh-ops check | one-shot health check across all profiles |
dsh-ops scan --profile web | single-profile deep scan (rules 1-7, --json) |
dsh-ops fix --profile web | auto-fix set: lockfile realign (--dry-run / --yes) |
dsh-ops gate -- dsh web | pre-boot gate: scan first, exec dsh, attribute boot failures |
dsh-ops serve | local web panel at http://127.0.0.1:8912 (zh/en) |
| Knowledge (RAG) | troubleshooting experience deposits as Markdown under $DSH_HOME/cache/dsh-ops/knowledge/; the panel toggle retrieves matching entries into the diagnosis chat (BM25, plus embedding re-rank when a key is configured) |
dsh-ops selftest | engine self-check over built-in fault samples |
The gate runs the scan before boot; fatal findings are blocked (auto-fixable ones are repaired first), and a failed boot is attributed to the packages that changed since the last successful start.
Embedded bundle
For the in-harness settings page, install dsh-plugin-ops-bundle into a
profile:
dsh plugin --profile web add dsh-plugin-ops-bundle
Docs
- Repository and documentation:
- Architecture (interception, repair, memory): docs/architecture.md
License
MIT