MichengAI/dsh-code-review
DSH Code Review — 为 DeepSeek Harness 提供 Codex 风格代码审查、原生独立子 Agent、灵活范围选择和中英文报告 · Codex-style code review with native independent agents, flexible scope selection, and bilingual reports for DSH
Project Overview项目介绍
DSH Code Review is a community code review plugin for DeepSeek Harness, distributed as the npm package @michengai/dsh-code-review and targeted at DSH 0.1.6-alpha.2. The bundle loads through dsh.bundle.patch and depends on the native spawn provider, the userQuestions service, a host-platform question answerer, and a model that supports tool calls. Installation is performed via dsh plugin --profile web add @michengai/dsh-code-review, or from source by running npm ci --ignore-scripts and loading the local tarball with dsh plugin --profile web add .\michengai-dsh-code-review-0.1.3.tgz --ignore-scripts.
Once the user runs /review, the plugin presents a native scope selector for a base branch, uncommitted changes, a specific commit, or custom instructions, then spawns an independent reviewer subagent that reads Git history, relevant source files, callers, and tests without receiving a preloaded repository snapshot. Findings are returned to the main session as prioritized items with file paths and line numbers, in English or Chinese following the host locale, while the original English Codex rubric is preserved. Recovery and cancellation are exposed through /review-status, and the source modules split responsibilities cleanly across commands, selection, runtime, requests, i18n, and report rendering.
Prerequisites are a working DSH installation exposed in PowerShell, Node.js ≥ 22.19.0, npm, and Git, with the profile name adapted to whatever profile actually runs DSH instead of the example web profile. Reviews only return reports, yet the tool layer is not universally read-only: behavior depends on DSH permissions, the active sandbox, and the never approval policy, while corresponding web, image, and further-delegation tools are restricted and third-party aliases fall outside the verified mapping. The project is licensed under Apache-2.0, ships with the original Codex rubric, source.json, and NOTICE files, and references upstream task templates, review execution, scope selection, and branch resolution files from OpenAI Codex commit a592c38c16cdd7623dacc9168926ebccedfb67d3 for traceability.
DSH Code Review 是 DeepSeek Harness 的社区代码审查插件,以 npm 包 @michengai/dsh-code-review 形式分发。它针对 DSH 0.1.6-alpha.2,通过 dsh.bundle.patch 加载,依赖原生 spawn provider、userQuestions 服务以及宿主平台的问答组件,并要求模型支持工具调用。可通过 dsh plugin --profile web add @michengai/dsh-code-review 安装,也支持从源码 npm ci 后用本地 tarball 加载。
用户输入 /review 选择基线分支、未提交改动、某次提交或自定义指令后,插件会启动一个独立子代理,读取 Git 历史、相关源码与调用方及测试,再把带文件路径和行号的分级发现写回当前会话。它面向需要在 DSH 内做正式代码审查的开发者,过程中不会预先快照整个仓库,输出支持中英文切换,并提供 /review-status 恢复与取消。
运行需要 PowerShell 中可用的 dsh、Node.js ≥ 22.19.0、npm 与 Git,使用 web profile 或替换为宿主实际 profile。审查仅产出报告,但工具层并非全局只读,受 DSH 权限与沙箱以及 never 审批策略约束;第三方别名、Web/图像/再委派工具均未覆盖。代码、数据均以 Apache-2.0 开源,并附带来自 OpenAI Codex 的审查模板、源码与 NOTICE 文件。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-code-review(MichengAI/dsh-code-review)
仓库:https://github.com/MichengAI/dsh-code-review
本站详情页:https://www.yhbd.top/plugins/michengai-dsh-code-review/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 Apache-2.0 · ⭐ 5 · 最近提交 2026-09-30 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add @michengai/dsh-code-review@latest --registry=https://registry.npmjs.org/
把 MichengAI/dsh-code-review 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH Code Review
Start a review in your conversation. Let an independent agent inspect the code and bring back findings.
DSH Code Review is a community code review plugin for DeepSeek Harness, packaged as @michengai/dsh-code-review. Enter /review, choose a scope or describe your request, and a native independent subagent inspects Git, source files, callers, and tests before returning a report to the main conversation. No Codex installation is required.
Host compatibility
The current version supports these exact DSH release candidates: 0.1.2-rc.1, 0.1.5-rc.1, 0.1.5-rc.2, 0.1.5-rc.3, 0.1.7-rc.1, 0.1.7-rc.2, 0.2.0-rc.1, and 0.2.0-rc.2. Alpha builds, 0.0.1 release candidates, and any version not in that list are not supported. Peers name those exact versions with ||; they are not a semver range. It loads through dsh.bundle.patch and requires the native spawn provider, the userQuestions service, a question answerer for your platform, and a model that supports tool calls.
Install the package from npm or build from source. Offline host and package integration checks have passed; review quality, language adherence, and interaction across platforms still need live validation.
What you can do
- Choose a scope: compare against a base branch, review uncommitted changes, select a commit, or provide custom instructions.
- Let the reviewer gather evidence: an independent context reads Git, relevant code, and tests without receiving a preloaded repository snapshot.
- Read results in the main conversation: receive prioritized findings with file paths and line numbers. Plain-text model responses are preserved.
- Use English or Chinese reports: a separate language context follows the host preference while preserving the original English Codex rubric.
- Check status or cancel: recover the latest report or cancel scope selection and an active review.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Ikalus1988/MisakaNet
FeatherHunter/dsh-mattpocock-skills-deck
yoli-mi/dsh-client-ui-custom
omdsh-dev/dsh-toolkit
XieZongChen/dsh-md-notes
Kaiji-Z/dsh-plugin-lookatstudy