dsh-doctor
asdf17128
Find what your DeepSeek Harness (dsh) patches silently broke — dead patches, config fields dropped by whole-config repla…
PROJECT TOPICS
PROJECT README
Claude Code plugin that runs DeepSeek Harness (dsh) from slash commands: review, critique, one-shot tasks, and resumable multi-turn sessions.
Pin: @deepseek-ai/dsh@0.1.0-rc.6. Re-verify docs/dsh-compat.md on every dsh upgrade.
Default is standard. minimal and anchored-standard are switches — they are not the default.
| Mode | Tools the model sees |
|---|---|
standard (default) |
Full dsh-base catalog from request #1 (search, skills, subagents, …). No overlay. |
minimal |
bash + str_replace_editor for the whole run. Extra tools cannot appear later. |
anchored-standard |
Those two tools first. After this session records a tool call or an assistant reply, the next assemble restores the full catalog. |
Switch:
/dsh:run --mode minimal … or --mode anchored-standardDSH_CC_MODE=minimal/dsh:setup --mode minimalA broker (--session / --resume / /dsh:import) keeps the mode it started with. Mismatch → /dsh:stop --broker.
Needs Node >= 20 and a DEEPSEEK_API_KEY. /dsh:setup also needs Node >= 22.19, npm, and pnpm (corepack enable).
/plugin marketplace add cpj-dev/dsh-plugin-cc
/plugin install dsh@deepseek-dsh
/dsh:setup
/dsh:review
Already have a built deepseek-harness checkout? /dsh:setup --harness <path>. Already have a dsh binary? set DSH_BINARY. Uninstall: remove the plugin, the plugin data dir, and ~/.dsh/profiles/cc.
| Command | What it does |
|---|---|
/dsh:check |
Readiness probe |
/dsh:setup |
Install pinned npm CLI (or --harness) and the multi-turn cc profile |
/dsh:review [focus] |
Read-only review of local changes |
/dsh:critique [focus] |
Structured adversarial critique |
/dsh:run <task> |
Task (--write, --session, --resume, --mode, --background) |
/dsh:delegate <task> |
Background handoff via the dsh-delegate subagent |
/dsh:import |
Weak-import this conversation into a resumable dsh session |
/dsh:runs / /dsh:show |
List runs / replay a stored result |
/dsh:stop / --broker |
Kill a run / the shared broker |
Flags and failure modes: docs/commands.md. Recovery: docs/troubleshooting.md.
Read in this order; stop when you can act.
Entry: plugins/dsh/scripts/dsh-bridge.mjs (one subcommand per capability; stdout is user-facing). DSH argv and overlays: plugins/dsh/scripts/lib/dsh.mjs. Broker: plugins/dsh/scripts/dsh-broker.mjs — started by the bridge; never start it by hand. Tests: npm test (fake dsh, no API key).
Layout: .claude-plugin/marketplace.json · plugins/dsh/commands/*.md · plugins/dsh/scripts/ · docs/. Index: docs/README.md. Chinese user docs: docs/zh-CN/README.md.
--write or not).--session / --resume / /dsh:import record session ids, and those live only as long as the broker process./dsh:import is a compressed text digest, not native history replay.Third-party copyrights, licenses, and design provenance live in NOTICE. In short:
--mode anchored-standard: assemble-filter / promotion protocol reimplemented from xiaobright/dsh-anchored-standard (MIT). Not a copy of that Web preset. First-request trigger evidence: xiaobright/modeltest (research citation; no LICENSE file at citation time).This project is not affiliated with or endorsed by those authors or organizations.
MIT — see LICENSE. Redistributors must keep LICENSE and NOTICE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。