dsh-plugin-ops
v0.21.3
Published
DeepSeek Harness plugin operations: pre-boot health gate (scan/fix/gate), fault memory, dependency governance, and a local web panel
Maintainers
Readme
dsh-plugin-ops
DeepSeek Harness plugin operations: pre-boot checks and a blocking gate, failure attribution and recovery, dependency governance, install adaptation, and publish-time verification for plugin authors — keeping the plugin ecosystem loadable.
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 (offline) |
| dsh-ops scan --profile web | single-profile deep scan (rules 1-9, --json, --version-view all\|latest) |
| 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 adapt <pkg> | adapt a plugin the official gate rejects (isolated canary + exact-version exemption) |
| dsh-ops verify <dir\|pkg> | publish-time checks for plugin authors; --runtime isolated boot, --desktop desktop sandbox, --strict for CI |
| dsh-ops sessions | session-container repair (--repair-paths / --quarantine) |
| dsh-ops dev <dir> | plugin-directory development watcher (--runtime boot smoke) |
| 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-bundleDocs
- Repository and documentation: https://github.com/f-infinite-z/dsh-plugin-ops
- Architecture (interception, repair, memory): docs/architecture.md
License
MIT
