dsh-open-code-review

DSH PLUGIN浏览器与联网

仓库 ashllll/dsh-open-code-review

浏览器与联网 L3 · 安装规范通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

为 DeepSeek Harness 引入阿里 Open Code Review 的确定性审查引擎:由插件锁定审查范围与规则,再由你自己的 DSH 模型完成评判,无需 API key 或第二家模型提供商。

一句话选型结论

按资料字段整理

dsh-open-code-review 是浏览器与联网类的 DSH 可安装插件,验证等级 L3 · 安装规范通过,安全审查为低风险,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类浏览器与联网 收录类型可安装插件 验证等级L3 · 安装规范通过 安全审查低风险
验证等级 L3 L3 · 安装规范通过
GitHub 星标 0 复刻 0 · 未关闭 issue 未标注
最近更新 2026-10-01 创建于 2026-10-01
README 9.2 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:ashllll/dsh-open-code-review
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-open-code-review:为 DeepSeek Harness 提供确定性代码评审范围与规则

  • 确定性解析可审查文件范围
  • 按路径解析适用的审查规则
  • 自带 ocr 二进制,免额外安装
  • 内置 open-code-review 技能工作流
  • ocr_health 检查可执行文件状态

适用场景

代码评审

上游标签

ai-code-reviewcode-reviewcode-review-toolcordis-plugindeepseek-harnessdshdsh-pluginopen-code-review

验证等级与安全审查

L3 · 安装规范通过
自动化流程结论,不是人工审核
验证等级L3 · 安装规范通过安装命令可解析、DSH 版本已声明,未做实际安装
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

风险详情

  • 审查结论 通过
  • 结论说明 vet 静态分析未发现可疑行为,判定为干净(clean)。
  • 风险计数 严重 0 / 高 0 / 中 0
  • 风险详情 未发现严重或警告级问题。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L3:安装命令能解析、兼容版本已声明,至少不会一装就报格式错。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在浏览器与联网场景里给 DSH 补能力的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-open-code-review当前 L3 · 安装规范通过 低风险 0 未标注 有
dsh-our-free-model L3 · 安装规范通过 低风险 8,796 未标注 有
dsh-web L3 · 安装规范通过 低风险 8,549 未标注 无
BrowserSkill L4 · 沙盒安装通过 低风险 8,456 未标注 有
dsh-pocket L5 · 运行验证通过 低风险 1,656 0.2.0-rc.2 等 12 个 有
Browser4 L4 · 沙盒安装通过 中风险 1,152 未标注 有

仓库档案

浏览器与联网
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方ashllll仓库 dsh-open-code-review · 默认分支 未标注
分类浏览器与联网network
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 未标注收录时的数值,非实时
创建 / 更新2026-10-01 · 2026-10-01最后推送 未标注
本站收录2026-10-02首次进入本站目录的时间

README 全文

9.2 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-open-code-review

A DeepSeek Harness plugin that
brings Alibaba Open Code Review's
deterministic review engine to DSH agents.

Open Code Review (OCR) is built on a deliberate split: engineering hard-constrains
what must not go wrong — which files are in scope, which rules apply to each —
and a model does the judging. This plugin keeps that split and puts your DSH
model
on the judging side. OCR's own LLM is never called, so there is no second
provider to configure and no API key.

ocr_review_scope  →  which changed files are reviewable (deterministic)
ocr_review_rules  →  which review rules apply to those files (deterministic)
you        →  read the diffs, judge, report with coverage

Requirements

ocr 1.9.0 or later — --format json landed in 1.9.0. Verified against 1.12.11 on Windows x64. Installed with the plugin; no separate setup step.
git 2.41 or later (OCR reads diffs through git).
DSH Any build with plugin support. Verified on DSH Desktop 0.1.7-rc.2.

Install

dsh plugin --profile web add github:ashllll/dsh-open-code-review

A local checkout works too — dsh plugin --profile web add.
Note that pnpm resolves a relative tarball path against the current directory,
not the profile, so pass an absolute path.

The unscoped npm name dsh-open-code-review belongs to an unrelated project, so
this package is scoped: once published, it installs as
dsh plugin --profile web add @ashllll/dsh-open-code-review.

Refresh the page and the tools appear as ocr_review_scope, ocr_review_rules
and ocr_health, and the open-code-review skill joins the skill catalog. That
is the whole install: the ocr binary arrives with the plugin.

Where ocr comes from

The plugin declares @alibaba-group/open-code-review as an
optionalDependency, so your package manager fetches the native binary as part
of installing the plugin. Upstream ships it in six os/cpu-gated platform
packages with preferUnplugged, which means the right one lands as a real file
on disk, and the launcher's postinstall — a download fallback — is never
needed. That matters because the plugin market blocks build scripts by default.

The binary is resolved in this order, and ocr_health reports which one won:

Order Source When it is used
1 ocrPath You set it explicitly.
2 vendorDir A plugin-managed install at /open-code-review.
3 bundled dependency The default: whatever your package manager installed with the plugin.
4 PATH A machine-wide npm install -g @alibaba-group/open-code-review, including by following npm's ocr.cmd shim to the native binary beside it.

Override with ocrPath if you want a specific build, or install into vendorDir
if you would rather the binary sit outside the profile:

npm install --prefix "/open-code-review" @alibaba-group/open-code-review

` is the harness data root ($env:DSH_HOME;~/.dshby default, and%APPDATA%\dsh-desktop\harness` for DSH Desktop).

What it adds

Tools

Tool Purpose
ocr_review_scope Which changed files are reviewable, plus the mode and refs needed to fetch diffs. commit, or from+to, or nothing for workspace changes.
ocr_review_rules The review rules OCR resolves for specific paths, grouped so files sharing a rule appear once. Use the rule text as the review checklist.
ocr_health Which ocr executable was resolved, from where, its version, and whether it is new enough. Also prints the install command when nothing is found.

Skill

open-code-review carries the full workflow — resolve scope, resolve rules, read
diffs with git, review every file in scope, report with line-level references and
a coverage count. It loads on demand, so the always-present prompt contribution
stays to a few lines.

A note on the port

Upstream ships this same contract for four other hosts: an
opencode plugin,
Claude Code and Kimi Code slash commands, and two portable skills. This package is
the DSH-shaped member of that set. Nothing about the OCR engine was reimplemented —
the plugin drives the real ocr binary.

Configuration

The plugin mounts with one patch row and declares three settings:

- id: open-code-review
name: '@ashllll/dsh-open-code-review'
config:
vendorDir: !!js dshHomePath('open-code-review')   # default
ocrPath: ''                                       # explicit binary or install dir; wins over everything
timeoutMs: 180000                                 # per-invocation ceiling

Write overrides into your profile's own cordis.patch.yml
(/profiles//cordis.patch.yml). Note that DSH replaces config
wholesale rather than merging, so repeat any field you want to keep. To disable
the plugin without uninstalling it:

- id: open-code-review
disabled: true

Scope

Deliberately not ported:

  • ocr review and ocr scan — the LLM-driven pipeline. It needs its own provider
    and API key, which is precisely what delegation exists to avoid. If you want it,
    configure OCR's LLM (ocr config provider, ocr config model) and call the CLI
    through the pwsh tool.
  • ocr viewer, ocr session *, ocr config * — interactive or stateful surfaces
    with no useful tool-shaped contract.

Custom rules are still fully available: put a .opencodereview/rule.json in the
repository and ocr_review_rules resolves it automatically, reporting
source: project. See
OCR's rule documentation.

Listing in the Plugin Market

The market browses a curated registry —
awesome-dsh-plugin —
so being listed is one YAML file in a PR against that repository, not a change
here. The entry is prepared and ready to submit:

data/plugins/ashllll__dsh-open-code-review.yml

url: https://github.com/ashllll/dsh-open-code-review
name: ashllll/dsh-open-code-review
category: git
description:
en: 'Review code with Open Code Review: deterministic scope and rule resolution, judged by your own DSH model, no API key.'
zh: '用 Open Code Review 评审代码:确定性的范围与规则解析,由你自己的 DSH 模型判断,无需 API Key。'

git is the registry's "Git & Code Review" category. The description is quoted
because it contains :, which YAML would otherwise parse as a nested key.

The PR is open — #6343.
The registry enforces a 24-hour minimum repository age, and this repository was
created on 2026-10-01, so the only failing check is that one. It re-runs by
itself and clears without a resubmission; running the registry's own
scripts/check-submission.mjs against this entry reports that single problem and
nothing else. The remaining gates — dsh.bundle declared, repo present and not
archived, not DSH itself — pass, and both locales are present.

Security

  • No network access at call time. The plugin itself never makes a request.
    The ocr binary is fetched by your package manager as part of installing the
    plugin (about 55 MB), not by the plugin while a tool runs. If it is missing,
    the tool fails with the exact command to restore it.
  • No shell. ocr is spawned with shell: false from a resolved native
    executable, so model-supplied refs and paths are never interpolated into a
    command line. npm's .cmd shim is treated as a signpost to the native binary
    rather than executed, which also skips the launcher's background update check.
  • Delegation is read-only. ocr delegate writes no session files; it prints a
    JSON document to stdout and exits.
  • Sandbox boundary. The plugin spawns ocr as a child process directly, so
    this call does not pass through DSH's shell sandbox or its approval gate the way
    pwsh does. It reads the target git repository — file names, statuses, and the
    resolved rule text, never file contents. Point repo at something you are
    willing to have inspected, and disable the plugin on profiles where that is not
    acceptable.
  • Bounded. A 10 MiB output ceiling, a wall-clock timeout, and process-tree
    termination (including taskkill /T on Windows) on timeout or cancellation.

Development

node test/smoke.mjs

32 checks covering argument building, binary resolution across the npm layouts
(bundled dependency, npm shims, vendor directory, PATH), delegation JSON
parsing, and frontmatter handling. When an ocr binary is
resolvable, it also runs the real thing: ocr version, a delegate preview
against a throwaway git repository, and a delegate rule resolving the Python
ruleset. With no ocr present those three are reported as skipped rather than
failing.

License

Apache-2.0. Derived in part from
alibaba/open-code-review; see
NOTICE for exactly what was reused and what changed. Not affiliated with
or endorsed by Alibaba Group.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
dsh-open-code-review 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:ashllll/dsh-open-code-review` 即可。

dsh-open-code-review 的验证等级是什么意思?

L3 · 安装规范通过。安装命令可解析、DSH 版本已声明,未做实际安装

dsh-open-code-review 安全吗?

低风险。vet 静态分析未发现可疑行为,判定为干净(clean)。

dsh-open-code-review 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-open-code-review 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

dsh-open-code-review 有哪些功能?

确定性解析可审查文件范围、按路径解析适用的审查规则、自带 ocr 二进制,免额外安装、内置 open-code-review 技能工作流、ocr_health 检查可执行文件状态。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

2 条
不同作者的仓库分开列,请确认你要装的是哪一个
浏览器与联网
按星标排序,可作替代方案

dsh-our-free-model

dsh-our-free-model

在 DeepSeek Harness 中装上这个 DSH plugin,无需登录、注册或填 API Key,即可直接调用 DeepSeek

L3 · 安装规范通过 8,796 星

dsh-web

dsh-web

侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。

L3 · 安装规范通过 8,549 星

BrowserSkill

BrowserSkill

BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edg

L4 · 沙盒安装通过 8,456 星

dsh-pocket

dsh-pocket

DSH Pocket 让 DeepSeek Harness 装进口袋:电脑跑 dsh web,手机扫码即实时同步访问(局域网+公网),人在外

L5 · 运行验证通过 1,656 星

Browser4

Browser4

L4 · 沙盒安装通过 1,152 星

agentrq

agentrq

L4 · 沙盒安装通过 1,140 星

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。