rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:xinyangGL/dsh-open-code-review
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Run a real review of the changes you just made with Alibaba OpenCodeReview, and get the result back as it is — what was covered, which model answered, and why it failed.
ocr install. The binary ships with the plugin (Windows x64).ocr child process).dsh plugin --profile <your profile> add github:xinyangGL/dsh-open-code-review
N files changed this turn · ocr tier: ~3–10 min/file, billed by tokens.| Entry | When |
|---|---|
| Turn-tail button | The common one; appears only when this turn changed code |
/ocr-review |
Trigger from the composer |
| Say “review this” in chat | The model calls it on demand |
Before it runs — the button's sub-line states the files changed, rough duration, and whether it will be billed.
While it runs — there is no progress bar and no stop button (ocr emits no incremental progress); the tool-call row shows elapsed time. To stop, stop the turn (usage already incurred is not refunded).
When it finishes — six fixed layers, top to bottom:
preview) says plainly that it reached no conclusion.x/y hunks included, excluded files, truncated parts.file:line [severity], severity [high]/[medium]/[low]/[ungraded] (unknown severities stay ungraded, never downgraded to low).On failure — a result code, a next step, and what it cost. E.g. OCR_LLM_MISSING: no usable model route, zero calls, zero cost.
| Engine | Behaviour | Cost |
|---|---|---|
ocr (default) |
Runs the full OCR pipeline (deterministic engineering × LLM agent pipeline) | Billed by tokens; 3–10 min/file; estimate given before it starts |
delegate |
No LLM call; produces a review spec in seconds (files + rules + diff) for the current model to audit | Free (uses the current conversation's model) |
Both engines resolve the ocr executable first: delegate needs it to produce the spec, ocr needs it to run the pipeline.
The plugin opens a loopback-only bridge with a random token; ocr's requests are forwarded to DSH's llm.stream:
OCR_LLM_MISSING (nothing runs, nothing is billed).Provider and model are always taken as one route; they are never mixed across providers.
The settings page exposes four fields: enabled / default engine / on-demand review, plus model name / provider under “Advanced”.
Model name, provider and the ocr path live in config.json (empty = automatic, see above). Changes apply immediately; no restart needed.
| Code | Meaning | What to do |
|---|---|---|
OCR_NOT_FOUND |
ocr executable not found |
It ships with the plugin; on other platforms provide one or set ocrPath |
OCR_LLM_MISSING |
No usable model route | Pick a model, or make sure DSH has a default; zero calls, zero cost |
OCR_NOT_GIT_REPO |
Not a git repository | git init, or run elsewhere |
OCR_TIMEOUT |
Killed by the timeout | Narrow the scope (scope=commit) or raise timeoutMinutes |
OCR_ABORTED |
Cancelled | Re-run; usage already incurred is not refunded |
OCR_ALREADY_RUNNING |
A review is already running | Wait for it (one at a time) |
OCR_INVALID_ARGS |
Unsupported argument combination | Follow the suggested usage in the message |
ocr_status in one shot: where ocr came from (bundled/local), the effective model route, whether event hooks are attached, and why the last review failed.delegate in settings.npm install # also installs the platform ocr binary (~55MB, node_modules only, not committed)
npm test # smoke / client-smoke / bridge-smoke / host-contract / killswitch / cordis-inject / pack check
npm run test:pack asserts the published tarball contains only what it should..github/workflows/ci.yml, Node 20 / 22 / 24 × ubuntu / windows.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。