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
AI Analysis
核心用途是通过命令行对 DSH 插件生态进行一键健康检查、故障定位和依赖治理。适合需要保障系统启动稳定性、排查插件冲突的开发者或运维人员。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full 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