Repository navigation
Releases
v0.1.2 · More reliable auto-review / 自动审查稳定性改进
v0.1.2
Each attempt now has separate deadlines: 180 seconds total, 120 seconds for first meaningful content, and 30 seconds of idle time. Adjacent plain fragments can merge, with separate budgets for retained events, raw events, content, replay state, buffered events, and conservative memory accounting. Explicit older settings, including timeoutMs, still apply; there is no hard DSH version installation gate.
每次尝试分段等待:总期限 180 秒、首个有效内容 120 秒、内容开始后空闲 30 秒。相邻纯碎片可以合并,保留事件、原始事件、内容、重放状态、缓冲事件与保守内存计量分别受限。旧 timeoutMs 等显式配置仍生效,不设 DSH 版本硬安装门槛。
Definite failures end promptly with safe classifications and a short attempt history. Cancellation and unload stay responsive; per-read listener cleanup reduces retained waiting tasks, and close errors do not replace the primary failure. Valid denials are preserved and user cancellation is never retried. Resource-limit failures reduce the total attempt ceiling to two; other retryable failures allow at most three. If the first resource-limit failure occurs on attempt three, it ends there.
明确错误及时结束,保留安全分类和简短尝试历史。取消与卸载及时响应,每次读取后清理监听,减少等待任务积累;关闭过程的错误不覆盖主要原因。合法拒绝保留,用户取消不重试。资源超限将总尝试上限收为两次,其他可重试错误最多三次;若第三次才首次超限,直接结束。
JSON-fence removal preserves extra metadata on later fragments and removes stale signatures from modified text. Reasoning-whitespace-only fixes leave unchanged verdict fragments and their signatures intact.
移除结论的 JSON 围栏时,保留后续片段的额外元数据,并清除修改文字的旧签名;仅修正思考空白时,不合并无需修改的结论片段,也不改其签名。
Default budgets: maxBytes (retained serialized events) 256 KiB; maxChunks (raw events) 65536; maxContentBytes 256 KiB; maxReplayBytes 256 KiB; maxBufferedChunks 8192; maxMemoryBytes 4 MiB. Memory accounting is conservative, not an actual JavaScript heap ceiling.
默认预算:maxBytes(保留事件序列化体量)256 KiB;maxChunks(原始事件数)65536;maxContentBytes 256 KiB;maxReplayBytes 256 KiB;maxBufferedChunks 8192;maxMemoryBytes 4 MiB。内存采用保守计量,不是实际 JavaScript 堆内存上限。
The latest live checks through a third-party Gemini gateway produced 14 expected complete results and 3 first-content timeouts in 17 requests. Earlier 43-request success results describe only that earlier test set. The release source passed 163 offline tests and 16 isolated host checks. The release package passed 112 saved-response fragment replays and isolated installation/removal checks. See test scope and limits.
最新 third-party Gemini gateway 实测共 17 次请求:14 次完整结果符合预期,3 次首内容超时。此前 43 次正常仅描述当时测试集;发布源码通过 163 项离线测试和 16 项独立宿主检查;发布包通过 112 次保存返回的分片回放,以及隔离安装卸载检查。见测试范围与限制。
Install dsh-review-format-guard@0.1.2 through DSH's plugin manager, or use dsh-review-format-guard-0.1.2.tgz. dsh-review-format-guard-source-v0.1.2.zip is the source archive; compare downloads with SHA256SUMS.txt. English installation guide.
通过 DSH 插件管理器安装 dsh-review-format-guard@0.1.2,或使用 dsh-review-format-guard-0.1.2.tgz。dsh-review-format-guard-source-v0.1.2.zip 为源码附件,下载后与 SHA256SUMS.txt 核对。中文安装指南。
Formatting checks do not guarantee correct authorization judgments. Retries may add latency and cost; these test sets do not estimate an overall failure rate.
格式校验不保证授权判断正确。重试可能增加等待与费用;这些测试集不能用于估计总体故障率。
Initiated and maintained by MintMilk777, with development and testing assistance from OpenAI Codex.
由 MintMilk777 发起并维护,使用 OpenAI Codex 协助开发与测试。
v0.1.1 · DSH 0.2.2 compatibility / 适配 DSH 0.2.2
v0.1.1
Supports the native auto-review request format used by DSH 0.2.2-rc.1, while retaining the older protocol. The pending call stays last, source-labelled history remains intact, and valid denials still return immediately.
适配 DSH 0.2.2-rc.1 的原生审查请求格式,同时保留旧版协议。待审查动作仍在最后,历史记录及来源角色保持原样,合法拒绝直接返回。
Verification: 76 offline tests, 8 isolated host checks, 49 fictional cases across 11 live model routes, 15 injected-fault recovery cases, and isolated installation/removal checks passed. See test conditions and limits.
验证通过:76 项离线测试、8 项独立宿主检查、11 个真实模型入口的 49 个虚构样例、15 组故障注入恢复,以及独立安装卸载检查。见测试条件与限制。
Install the npm package dsh-review-format-guard@0.1.1 through DSH's plugin manager, or use the attached dsh-review-format-guard-0.1.1.tgz. English installation guide.
通过 DSH 插件管理器安装 npm 包 dsh-review-format-guard@0.1.1,或使用附件 dsh-review-format-guard-0.1.1.tgz。中文安装指南。
The source ZIP is for source review; SHA256SUMS.txt verifies both archives. Formatting checks do not guarantee correct model judgment, and retries cannot restore an unavailable service.
源码 ZIP 用于查看源码,SHA256SUMS.txt 可核对两个附件。格式校验不保证模型判断正确,重试也不能恢复持续不可用的服务。
Initiated and maintained by MintMilk777, with development and testing assistance from OpenAI Codex.
由 MintMilk777 发起并维护,使用 OpenAI Codex 协助开发与测试。
v0.1.0 · 首次公开发布 / Initial Public Release
v0.1.0
A DSH plugin for auto-review failures caused by malformed JSON responses, including responses from some third-party API gateways. It checks the complete result, removes limited formatting wrappers, and retries invalid responses. Valid denials return immediately; exhausted retries remain a failure.
用于改善 DSH 自动审查因返回格式不合格而报错的问题,包括部分中转服务未按要求返回严格 JSON 的情况。插件检查完整结论、清理有限格式包装,并对不合格返回有限重试;合法拒绝直接返回,重试耗尽仍报错。
Install / 安装
Install dsh-review-format-guard through DSH's plugin manager, or download dsh-review-format-guard-0.1.0.tgz below. Follow the English guide. The ZIP archives contain source code. Checksums are in SHA256SUMS.txt.
在 DSH 插件页面安装 npm 包 dsh-review-format-guard,或下载下方 dsh-review-format-guard-0.1.0.tgz。按中文指南安装。ZIP 文件为源码,校验值见 SHA256SUMS.txt。
Compatibility / 兼容性
RC5 follow-up (2026-10-30): All 7 isolated host integration checks passed with the installed Windows DSH 0.2.1-rc.5 components. Its complete auto-review source, and rc.4's, is identical to rc.3. Existing v0.1.0 works without code changes; live model tests were not repeated on rc.5.
RC5 补充核验(2026-10-30): 使用本机 Windows DSH 0.2.1-rc.5 的实际组件完成 7 项独立宿主接入检查,全部通过。rc.4、rc.5 的整个自动审查源码均与 rc.3 相同。现有 v0.1.0 无需改代码即可适用;未在 rc.5 上重跑真实模型测试。
Tested on Windows / DSH 0.2.1-rc.3. Versions 0.2.1-alpha.2, alpha.3, alpha.4, alpha.5, rc.1, and rc.2 share the same auto-review source and may also work; they have not each been installation-tested. No DSH version-range installation block is imposed. Unrecognized review policies and request structures pass through unchanged.
实测环境为 Windows / DSH 0.2.1-rc.3。0.2.1-alpha.2、alpha.3、alpha.4、alpha.5、rc.1、rc.2 的自动审查源码相同,理论上可能适用,尚未逐个安装验证。安装不按 DSH 版本号拦截;未知审查政策和请求结构原样转发。
Verification: 51 offline tests, 7 isolated host checks, and a recorded model test run of 67 fictional cases across 17 configured routes. See the test scope for conditions and limits.
验证包括 51 项离线测试、7 项独立宿主检查,以及 17 个模型入口、67 个虚构样例的模型测试记录。条件与限制见兼容说明。
Valid JSON does not guarantee correct model judgment. Retries may add latency and API charges. Report reproducible problems in Issues, with private content removed.
格式正确不代表模型判断正确,重试可能增加耗时与费用。反馈请到 Issues,并去掉私人内容。
Initiated and maintained by MintMilk777, with development and testing assistance from OpenAI Codex.
由 MintMilk777 发起并维护,使用 OpenAI Codex 协助开发与测试。