lostforest7/dsh-apirevise

Snapshots your API responses, reruns them after the agent edits, and makes you accept each field-level change by hand.

Answers the gap left after an agent edits backend code: whether endpoint behaviour actually changed. It records a baseline per registered endpoint — status, headers, JSON or text body — into .dsh-apirevise/, sends the change goal and the monitored endpoint list into the current DSH session through the normal prompt queue, then reruns and shows structured field-level diffs for per-item acceptance, with feedback on a needs work item travelling into the next request. Reports are Markdown plus a single-file HTML report with embedded diffs, XSS-escaped and served under a strict CSP. The README is careful about what it is not: no traffic-capture proxy, not the frontend tool (that is a separate plugin), not a test-framework runner — and it never claims an API is fine, only that it differs or does not.

Coding & Development ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-apirevise

The npm line for the published 0.1.0 pre-release; the README also documents a source-checkout path (git clone, stop DSH, then dsh plugin --profile web add /absolute/path/to/dsh-apirevise) and notes that lib/ is committed so no package build is needed. Add .dsh-apirevise/ to your project's .gitignore before the first baseline — that directory is where snapshots land. If the panel is missing, the README's troubleshooting step is to confirm DSH Web 0.2.0-rc.2 or newer.

Compatibility

Stated plainly in the README, so it is repeated here rather than discovered later: the UI and the reports are Chinese, the build is a 0.1.0 pre-release verified against DSH Web 0.2.0-rc.2 on Windows with Node 24, and it needs Node 22.19+ or 24. Endpoints are registered by hand — method, URL, optional headers and body — so there is no traffic capture, which the README puts in the v2 direction. Comparisons go stale if the source changed after a rerun, so a delta from an older checkout is not a verdict about the current one.

Details

Alternatives

left0ver/dsh-file-review · YiHarvest/dsh-failure-capsule · realguan/dsh-mermaid-preview

More plugins in Coding & Development

Browse more in Coding & Development

Guides for Coding & Development plugins