插件介绍
Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import.
项目详情摘要
dsh-plugin-cc English | 简体中文 Claude Code plugin that runs **DeepSeek Harness** (`dsh`) from slash commands: review, critique, one-shot tasks, and resumable multi-turn sessions. Pin: `@deepseek-ai/[email protected]`. After upgrading the plugin, rerun `/dsh:setup`. Re-verify docs/dsh-compat.md on every dsh upgrade. Agent modes 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: this run: `/dsh:run --mode minimal …` or `--mode anchored-standard` this shell: `DSH_CC_MODE=minimal` this machine: `/dsh:setup --mode minimal` A broker (`--session` / `--resume` / `/dsh:import`) keeps the mode it started with. Mismatch → `/dsh:stop --broker`. Quick start Needs Node >= 20 and a `DEEPSEEK_API_KEY`. `/dsh:setup` also needs Node >= 22.19, `npm`, and `pnpm` (`corepack enable`). Already have a built deepseek-harness checkout? `/dsh:setup --harness `. Already have a `dsh` binary? set `DSH_BINARY`. Uninstall: remove the plugin, the plugin data dir, and `~/.dsh/profiles/cc`. Commands 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 (`--write`, `--session`, `--resume`, `--mode`, `--background`) | `/dsh:delegate ` |
摘自项目公开 README,可能随上游仓库更新。安装方法
建议先在测试 Profile 中安装,并检查权限、安装脚本和依赖。
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:cpj-dev/dsh-plugin-cc
使用前检查
- 确认项目符合 DSH bundle 规范,而不只是相关仓库。
- 阅读许可证和安装脚本,检查网络、文件及执行权限。
- 备份配置,并确保插件能够安全卸载或回滚。