DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

seinan27 /

seinan27/dsh-reply-suite

已验证

Reply quality suite for DeepSeek Harness: turn observation, wordlist lookup, stream loop guard | 回复质量套件:回合观测、鱼八股手查、流重复观察

★ 1 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub项目主页
README来源: main@7548fdd2

dsh-reply-suite[回复质量套件]

English | 简体中文

One package, three plugin rows, two settings pages.

Row Entry What it does
reply-quality lib/index.js Turn observation, panel API, /loop-repair manual history repair
yubagu-panel lib/yubagu.js Manual wordlist hit check in settings; never touches the model conversation
loop-guard lib/loop-guard.js Observes llm/stream for repetition, stop reason and reasoning/answer length; writes ~/.dsh/loop-guard-observation.log; records only, never truncates

Two settings pages: "Reply Quality" and "Yubagu Lookup". All data lives in this package's data/: turns.jsonl (observation), ledger.json (lookup ledger), wordlist.json (wordlist).

How to read the reply-quality numbers

  • Completed but empty: real user input, turn/end=completed, no final assistant text. Aborts, errors and budget stops are counted separately.
  • Reasoning repetition, reasoning-only normal stop, long stall: deduplicated per turn; the denominator is signals.assessedTurns. Rows written by older versions cannot be recomputed and are marked as the legacy basis; — means there was no measurable sample.
  • Reader feedback: when the other party explicitly says a reply read "like a human / unlike a human", that records ±1. Only direction, score and turn number are stored; behaviour is not changed.
  • Style: four template patterns (requirement confirmation, template steps, fixed summary, universal help). Documents, unknown genres and empty answers produce no chat reference score; real technical documents are almost never flagged, so do not use this to judge documents.
  • Observation and scoring only count. No prompts are injected, nothing is truncated, nothing is retried.

/loop-repair

Run it in an idle native Flash session; it only previews first. It picks the safe interval in the whole valid history that covers the most repetition (same route, tool pairs intact) and shows coverage, tokens and the rough trade-off. Only after a confirmation code does it compress old turns ahead of the next human message. It does not truncate output, change reasoning effort or sampling, or re-run tools. The summary uses the same route, costs quota and is lossy; the original stays in the log. /loop-repair cancel drops a pending reservation, status shows the outcome.

Full bundle or a single row

Same package, four cordis.patch.yml variants:

zip Rows enabled Settings page
dsh-reply-suite-1.0.0-full.zip all three Reply Quality + Yubagu Lookup
dsh-reply-suite-1.0.0-observer.zip reply-quality only Reply Quality
dsh-reply-suite-1.0.0-yubagu.zip yubagu-panel only Yubagu Lookup
dsh-reply-suite-1.0.0-loop-guard.zip loop-guard only none (log only)

The three rows never import each other, so installing one does not affect whether the others work. To pause a row temporarily after installing: disable it in the plugin manager, or set disabled: true on that row. wordlist.json is a sample wordlist; edit it to match your own speech. Data goes under the package's data/.

Install

Either way works:

  1. In the app: Settings → Plugins → Add plugin, then pick this folder.
  2. Command line: install.cmd on Windows (it detects the install directory, or pass the DSH install directory as the first argument); on macOS / Linux use ./install.sh <dsh path>.

Or install straight from GitHub, pinned to the tag so it does not drift with main:

dsh plugin --profile <profile> add 'github:seinan27/dsh-reply-suite#v1.0.0'

Reload or restart after installing, then enable dsh-reply-suite on the plugins page. The full bundle enables all three rows; for just one, use the matching single-row zip or disable the other two.

Data and API

  • GET /api/reply-quality/status?limit=30: summaryVersion=2, including storage health (snapshot, invalidRows, failures, lastFailure). A read failure returns 503 log-unavailable instead of pretending there are zero records.
  • GET /api/yubagu/status: panel data for manual lookup; POST /collide performs the lookup.
  • Log append failures, rotation failures and bad rows are all visible; bad rows are kept and rotation is deferred, the original text is never deleted.
  • npm test (or node --test bench/*.test.mjs test/*.test.mjs): observation, feedback, log failure, history selection, lookup contract. No network access.

Merged from three older packages

Merged on 2026-12-02 from dsh-reply-quality, dsh-yubagu and dsh-loop-guard. Sources and data are kept in a local backup directory; the old package directories were not deleted. The loop-guard log path is unchanged, so older logs remain readable.

—/ 5

暂无评分

已验证 DSH bundle

Commit 7548fdd2ff81

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于