moonquake2004/dsh-doctor
moonquake2004★ 0JavaScript最后同步: 2026-08-15
—
README 摘要
dsh-doctor 中文版 README · English Offline diagnostic for DeepSeek Harness — run it before boot or before installing plugins, and it tells you which of the failure classes this community has been reporting will bite. Zero npm dependencies. One file. Runs anywhere node exists ( zstd needed only for .zstd session logs; E1 checks for it). Why dsh's plugin tree is "fragile by install": a dangling reference, a broken file: link, a duplicate entry id, or a corrupted session log can brick the profile at boot or stall the whole web server — and --dump-config never mounts the loader, so it passes on broken setups. This class of failure was consolidated in dsh discussion 1496 (Advisory: plugin-install path needs guardrails). dsh-doctor is the offline check that advisory calls for — 20 built-in checks mapped to 18 community reports, each verified with synthetic negative fixtures, plus a self-updating remote catalog of declarative pattern checks (v0.2.0). Usage Exit codes (default mode): 0 = all pass · 1 = problems found (built-in checks + catalog severity: error ) · warn-level catalog failures don't flip the exit code. With --envelope (doctor-contract mode): 0 = all pass · 1 = any WARN · 2 = any…
在 GitHub 查看完整 README →