Repository navigation
Releases
Releases · Lostforest7/dsh-apirevise
v0.1.0
v0.1.0 (pre-release) — API 回归验收台
改后端不靠猜:接口快照、回归对比、逐项验收。
API regression & acceptance workbench for DeepSeek Harness: snapshot endpoint responses before the agent edits your backend, rerun after the edit, review the structured field-level diffs side by side with the source diff, accept every difference item by item, and export a report.
Verified scope (read this first)
- Verified with DSH Web 0.2.0-rc.2 on Windows (Node 24.21.0). UI and reports are Chinese.
- Real-model closed loop passed on 2026-10-01: 3 registered endpoints → baseline 3/3 HTTP 200 → request sent to the live DSH session → real DeepSeek V4-Flash edited the backend (
299 → 29900, addedtier) → rerun produced$.price 值变化 299 → 29900(差值 29601)and$.tier 新增 "free"→ 3/3 per-item acceptance → report exported. Model steps were never mocked. Evidence: docs/real-model-validation.md - First version supports local http/https endpoints with an explicit port, JSON/text responses only. No traffic-capture proxy, no auth-state browser, no scheduled regression. Diffs present facts only — they never claim "the API is definitely fine".
Install
dsh plugin --profile web add dsh-apireviseOr from the source tarball attached below / from the repository:
dsh plugin --profile web add /absolute/path/to/dsh-apirevise-0.1.0.tgzAdd .dsh-apirevise/ to your backend project's .gitignore.
Checks
- 50 offline unit tests (
npm test), host + client type checks, esbuild builds for the host half, the DSH client half and the standalone preview page.