DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-reviewer-bot

c

dsh-reviewer-bot

Manifest valid★ 13

Native DeepSeek Harness plugin-form code review bot: cross-code platform, pluggable rules, local replay.

DSH Reviewer Bot

原生 DeepSeek Harness 插件形态的代码评审机器人。跨代码平台,规则可插拔,可本地重放。

CI License: MIT Node 22.19+ | 24+ TypeScript 5.9.2 pnpm 11.7.0 dshfind

为什么不是又一个 CI Action

现有方案把 DSH 当成一个黑盒 Docker worker 来调用——拿不到插件生态、每次事件冷启动、规则写死在 prompt 里、调 prompt 只能推 PR 等 CI。

我们直接长在 Cordis 扩展点上:

现有方案DSH Reviewer Bot
与 DSH 的关系外部进程调用原生插件,共享 ctx
平台支持仅 GitHubGitHub / GitLab / Gitea / 本地
评审规则prompt 内写死规则包可独立发布安装
本地迭代推 PR 等 CIdshrb review --local / dshrb replay
运行形态一次性 ActionAction / Daemon / DSH profile / CLI
Docker写模式硬依赖可选隔离后端

设计文档

完整设计在 docs/,含 mermaid 图:

三种安装方式

按场景选一种接入:

方式接入入口适合
DSH 生态用户dsh plugin --profile <name> add @dshrb/bundle装进既有 profile,与其他插件共享 ctx
GitHub Actionworkflow 里 uses: dshrb/reviewer-action@v0.1.1尝鲜、小仓库
Daemon常驻 webhook 服务大仓库、多仓库、私有部署
# DSH 生态用户:装进既有 profile,与其他插件共享 ctx
dsh plugin --profile web add @dshrb/bundle   # --profile 换成你的 profile 名

# GitHub Action:见 examples/review.yml
# Daemon:见 docs/08-deployment-modes.md

本地迭代命令 dshrb review --local / dshrb replay <run-id> 不构成独立安装方式,见 部署形态。

命令

评审者在 PR 评论首行触发(非首行不触发,避免引用他人评论误触):

命令作用最低信任
@dsr review重新评审untrusted
@dsr explain <path>解释某文件改动untrusted
@dsr diagnose读失败 CI 定位原因trusted-read
@dsr fix改代码并跑校验trusted-write + allow-write
@dsr rules打印生效规则untrusted

@dsr fix 本身不授予任何写权限:需要 actor 权限与仓库配置同时成立。

开发

pnpm install
pnpm run typecheck
pnpm run check     # typecheck + lint + test

Node 22.19+ / 24+ / 26,pnpm 11.x,对齐上游 DSH 的 engine floor。

想参与开发?先读 贡献指南。

仓库结构

docs/                    设计文档(mermaid)
packages/core/           领域类型与评审内核
  review-core            领域类型(零依赖、零 I/O,公共词汇表)
  forge                  ForgeGateway 接口 + provider 注册表
  trust-policy           四级信任判定 + 工具执行门禁
  rule-registry          规则包注册表(glob 匹配)
  review-runtime         八阶段评审管线编排
  progress               sticky 进度评论生命周期
  runtime-bootstrap      Cordis 容器 + 插件链 + agent loop 装配入口
packages/forge/          provider 实现(github / gitlab / local)
packages/tools/          模型可见评审工具(注册在 ctx.tools)
packages/rules/          评审规则包(baseline)
packages/drivers/        Action / Webhook / CLI 三种外壳
packages/probe/          上游签名探针(仅开发期验证契约)
bundle/                  dsh.bundle 声明,供 dsh plugin --profile <name> add
examples/                workflow 模板
scripts/                 包清单生成(gen-package-manifests.mjs 单一事实来源)

安全

  • 凭据(forge token、DeepSeek API Key)在任何信任等级下都不进入 Agent 工作区
  • 仓库内容、diff、评论、CI 日志、模型输出全部视为不可信数据
  • 校验命令是 JSON argv 数组,不过 shell
  • .github/**、package.json 的 scripts、二进制文件为 ctx.tools.guard() 永久红线,后续 listener 无法翻案
  • 完整威胁清单见 信任模型

发现安全问题请私下报告,勿开公开 issue。

Star 历史

Star History Chart

许可

MIT。非 DeepSeek 官方项目。

Compatibility

DSH 0.1.7-rc.1: failedDSH 0.1.5-rc.2: failedDSH 0.2.0-rc.2: failed

Versions

Latest versionPublishedSize
0.1.0——
0.1.1——
0.1.2——
0.1.3——
0.1.4——
0.1.5——

Comments

Loading…

Similar plugins

dsh-review-squad

by luomeii

DeepSeek Harness 并行多角色代码评审插件:/review 派出安全/正确性/测试/风格四名只读评审员子代理(可各自指定模型与思考强度),汇总为结构化报告。

Workflow & AutomationDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

↓ 72/wk

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add dsh-review-squad

by Xinlong-Wu

adds an auto-review permission preset to DeepSeek Harness. Same Codex auto review

Manifest valid

★ 0

MIT

TypeScript

Aug 24, 2026

dsh plugin --profile web add dsh-auto-review-plugin

DeepSeek Harness plugin for Open Code Review: deterministic review scope, rule resolution, and line-level findings for DSH agents.

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

dsh plugin --profile web add @ashllll/dsh-open-code-review

by Alm-Allen

dsh 插件:把 DeepSeek Harness 的原生「标准模式」完整汉化——覆盖 preset-standard,不新增预设条目。

Manifest valid

★ 0

JavaScript

Oct 21, 2026

dsh plugin --profile web add @alm-allen/dsh-yayan-preset

by xinyangGL

代码评审插件(DeepSeek Harness × 阿里 OpenCodeReview):默认不打扰,回合尾部一个按钮或一句「跑一次评审」即可;结果逐条落到文件:行 [severity] 问题。也能做自动评审与独立评审 agent。

Manifest valid

★ 0

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-open-code-review

Adds /review and /end-review code-review commands to DeepSeek Harness

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add @apcamargo/dsh-review