dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Run the same prompt through every model you have, and see the difference without squinting.
dsh plugin --profile web add dsh-model-arena
Or from source:
dsh plugin --profile web add github:hj01857655/dsh-model-arena
dsh-model-arena list # list recent runs
dsh-model-arena compare <run> <modelA> <modelB> # diff two models in a run
dsh-model-arena rate <run> --model M --rating 4 # rate a model output
A Model arena page inside Settings. The host registers GET /api/model-arena.panel
and rebuilds the payload from the store on every request. A headless host simply skips
the route.
The panel shows:
| Path | Role |
|---|---|
src/index.ts | Host half — apply(ctx), exposes the modelArena service |
src/arena.ts | Core arena logic — run, compare, rate, leaderboard, regression |
src/scoring.ts | Auto-scorer and leaderboard builder |
src/diff.ts | Line-level diff algorithm |
src/store.ts | Durable .arena/ store |
src/arena-view.ts | Payload → view model, shared by host route and browser half |
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