rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ChiffonOwO/dsh-diff-review
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Codex-style change review for DeepSeek Harness. Whenever the agent edits files, a pill above the composer reports N files changed +M −K for that turn; hovering it floats the file list up, and the right sidebar shows each file's syntax-highlighted diff with a one-click revert.
English | 中文

N files changed +M −K — no separate "Review" or "Refresh" buttons. Hover opens the list, a file row opens the review page, and polling refreshes every 2 seconds.▴); moving away fades it out. Clicking the pill itself changes nothing. The list is absolutely positioned, so it never pushes the composer down; in a short window its max height shrinks to the space above and the rest scrolls.prefers-reduced-motion disables it).dart, cpp, py, js, mjs, …) and colors come from the client's own shiki highlighter and theme tokens; a not-yet-loaded grammar renders plain until it loads, then repaints.content-visibility: auto boxes, so off-screen groups skip layout and paint; highlighting and element construction are memoized per payload. A 2000-row diff scrolls at p50 16.7 ms / p95 17.7 ms per frame (containing every row individually instead degrades to p50 20.6 ms).edit / write tool results (recognized by result shape, so Code-Mode sub-dispatches count too); > redirection or sed -i inside bash is not tracked.The list that floats up on hover:

The review page: tabs on top, the whole diff below, colored by Dart grammar.

# from the prebuilt release tarball (no build step)
dsh plugin --profile web add https://github.com/ChiffonOwO/dsh-diff-review/releases/latest/download/dsh-diff-review.tgz
# or straight from source
dsh plugin --profile web add github:ChiffonOwO/dsh-diff-review
Restart the app afterwards (the plugin list is read at startup). In the desktop app, use your own profile name instead of web.
Just let the agent edit files. Once the pill appears during a turn:
To remove it again, delete dsh-diff-review from the dsh.profile.bundles list in your profile's package.json and restart.
All three routes are behind the browser session (the page calls them same-origin, so the cookie rides along):
| Method | Path | Purpose |
|---|---|---|
| GET | /api/diff-review.changes?sessionId= |
this turn's changed files + summed line counts |
| GET | /api/diff-review.diff?sessionId=&path= |
one file's diff rows + both full sides (for whole-file highlighting) |
| POST | /api/diff-review.revert |
{ sessionId, paths? }; omit paths for the whole turn |
index.js (Host): records before/after from a tools/post-execute listener, groups changes by turn from session/event turn/start, and serves the three routes above. The diff is computed in-house with an LCS walk, so it needs no git and works outside repositories.client.js (browser): the conversation.input.dock pill plus the sidebar.right.pane.tab review page, with a zh/en dictionary.test/host.test.mjs: Host-side unit tests — node --test test/host.test.mjs.BASE=… TOKEN=… pointing at an instance with the plugin loaded):test/review.mjs: review-page layout + syntax colors (stubbed data);test/popover.mjs: hover open, upward placement, fade in/out, caret direction, click does nothing, composer stays put;test/order.mjs: the pill sits above the native todo dock;test/shot.mjs: dock screenshots and the name→counter gap;test/width.mjs: the list hugs its content (ONE=1 single row, LONG=1 long path, WIN=760,800 narrow window);test/counter.mjs: counter right-alignment + the bump animation (getAnimations() proves it runs);test/multi-edit.mjs: three edits to one file in one turn — asserts cumulative counts and the full diff;test/perf.mjs: scroll frame times over a 2000-row diff (and the single-pill shape);test/dart.mjs / test/e2e.mjs: end-to-end runs with a real turn.edit/write, so they are not shown as changes.dsh.client changes (new slots, bundle shape) need an app restart; editing client.js content does not hot-reload an already-open page (client-hmr only covers runtime-rebuilt bundles; installed plugins need a restart).CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。