cpj-dev/dsh-plugin-cc

插件Plugin ⭐ 56 MIT 编程Coding生态Ecosystem

Claude Code plugin that runs DeepSeek Harness (dsh) from slash commands: review, critique, one-shot tasks, and resumable multi-turn sessions.

catalog 简介 / catalog descriptioncatalog description:Bridge Deepseek-harness into Claude Code for review, critique, delegation, and session import.

项目介绍Project Overview

dsh-plugin-cc 是面向 Claude Code 的 DeepSeek Harness 集成插件,通过斜杠命令在 IDE 内驱动 dsh 完成代码审查、对抗性评审、一次性任务以及可恢复的多轮会话,核心能力为标准、极简与 anchored-standard 三种工具集模式与本地代理协调,并支持后台委派与历史回放。适用于需要把 dsh 评审或长任务无缝接入 Claude Code 工作流的开发者。需注意:权限在启动前决定、运行中不可中止,且仅支持 POSIX 系统,每次升级后应重跑 /dsh:setup 并复核 dsh 兼容性文档。

dsh-plugin-cc is a Claude Code plugin that drives DeepSeek Harness from slash commands to run code review, adversarial critique, one-shot tasks, and resumable multi-turn sessions. Its core capability is bridging dsh via a local broker with three toolset modes (standard, minimal, anchored-standard), plus session import, replay, and background delegation. Use it when you need dsh reviews or long-running tasks inside Claude Code. Caveat: permissions are decided before launch, mid-run cancel is unsupported, POSIX only, and /dsh:setup plus docs/dsh-compat.md must be re-verified after every dsh upgrade.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:cpj-dev/dsh-plugin-cc

cpj-dev/dsh-plugin-cc 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugin-cc

English | 简体中文

test license: MIT GitHub stars

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.7. 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).

/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.

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> 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.

For agents

Read in this order; stop when you can act.

  1. This README (modes + commands)
  2. docs/commands.md — flags
  3. plugins/dsh/skills/dsh-delegate-runtime/SKILL.md — how to invoke the bridge
  4. docs/dsh-compat.md — DSH pin; re-verify on upgrade
  5. NOTICE — third-party licenses (do not restate)

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.

Known limitations (v1)

  • No mid-run approvals. Permissions are decided before launch (--write or not).
  • Fresh one-shot runs are not resumable. Only --session / --resume / /dsh:import record session ids, and those live only as long as the broker process.
  • Stop = kill. The SDK wire has no per-turn cancel; stopping a mid-turn broker run discards in-memory sessions.
  • /dsh:import is a compressed text digest, not native history replay.
  • POSIX only. Windows is out of scope.

Community and support

Acknowledgements

Third-party copyrights, licenses, and design provenance live in NOTICE. In short:

This project is not affiliated with or endorsed by those authors or organizations.

License

MIT — see LICENSE. Redistributors must keep LICENSE and NOTICE.

上一个 Prev codex-guard 下一个 Next SpecFusion