dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Record every step the agent took, and walk through it forwards and backwards to find where it went wrong.
dsh plugin --profile web add dsh-step-trace
Or from source:
dsh plugin --profile web add github:hj01857655/dsh-step-trace
.replay/<session-id>.jsonl (append-only, one file per session).dsh-step-trace list # list recorded sessions
dsh-step-trace trace <id> # show all steps in a session
dsh-step-trace step <id> <n> # inspect step N
dsh-step-trace diverge <a> <b> # find where two sessions diverge
A Step trace page inside Settings. The host registers GET /api/step-trace.panel and
rebuilds the payload from the replay files on every request. A headless host simply
skips the route.
The panel shows:
| Path | Role |
|---|---|
src/index.ts | Host half — apply(ctx), exposes the stepTrace service |
src/replay.ts | Core replay logic — record, list, step-through, diverge |
src/store.ts | Append-only .replay/<session>.jsonl files |
src/cli.ts / src/bin.ts | Command-line entry, usable without dsh |
src/routes.ts | Panel route on the host's web connection |
src/client/view.tsx | Browser half — pure rendering |
src/client/index.tsx | Browser half — fetch and settings registration |
src/client/locales.ts | zh / en dictionaries |
npm ci
npm run typecheck
npm run build
npm test
MIT