DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Rice Patrol — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
R

dsh-rice-patrol

Rice Patrol

Rice Patrol:DeepSeek Harness 的有界推理重复保护与干净恢复

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:LeeLizuoLiu/rice-patrol#4bde541876a3bb5cb2f7a4bd28712f5a853b4525
README兼容性版本

兼容性与来源证明

Rice Patrol 以 dsh-rice-patrol 发布,当前版本为 0.2.11-desktopcompat.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/10

版本

0.2.11-desktopcompat.1prerelease
2026/10/10
0.2.10stable
2026/10/1
0.2.9stable
2026/9/29
0.2.6stable
2026/9/28
查看其余 2 个版本收起版本
0.2.4stable
2026/9/28
0.2.3stable
2026/9/27
最新版
0.2.11-desktopcompat.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/17
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

Rice Patrol 🍚🐋

中文

Rice Patrol protects reasoning streams in DeepSeek Harness (DSH). When sustained short-line repetition is confirmed, it stops the current generation and resumes the unfinished task in the same conversation.

One automatic recovery flow

Enable the plugin; no response-mode selection is needed. Every confirmed loop follows the same stop-and-resume flow. There is no Stop / Observe / Recover selector, observation logger, or n-gram detector.

Legacy mode: stop, mode: observe, and mode: recover values no longer select behavior. They may be removed, but leaving them in an old profile does not prevent automatic recovery. Use DSH's plugin enable/disable control to turn off Rice Patrol entirely.

The Stop recovery button remains available during recovery. New user input also interrupts the current recovery. Unverifiable session or background-job state pauses recovery with an explanation.

Detection

The plugin reads reasoning text exposed by DSH, splits it into trimmed nonempty lines, and scores the last 50 lines. A median line length of at most 20 characters, with at least 70% of lines having an exact duplicate inside that window, produces a warning. After at least 50 additional nonempty lines, another matching window confirms the loop and stops generation.

A warning alone does not stop output. The rule is provider-independent and uses a fresh detector for each model request. An ordinary output-token limit is outside its scope. This update does not change detection thresholds.

Continuation

Rice Patrol waits for the stopped generation and stream cleanup, verifies host background jobs, excludes interrupted reasoning from model-visible history, and continues through the original Agent and session. Completed file edits and tool results remain available. The continuation asks the model to inspect workspace state before repeating side effects.

Each newly confirmed loop can recover; the same stop submits only one handoff. Failed or blocked old recoveries do not restart themselves. The resumed Agent follows normal DSH policies, without an extra summarization model request or plugin-imposed limits on later model/tool calls.

resumeTimeoutMs defaults to five minutes for handoff and the first resumed response, rather than the entire subsequent task. Minimal recovery status and deduplication records remain; there is no per-chunk observation log.

Enablement and configuration

The current package is 0.2.11-desktopcompat.1, with a desktop entry for DSH 0.2.0-rc.2. The source is available on GitHub; this update does not publish an npm package.

Enable Rice Patrol and its components on the Plugins page. The plugin page explains automatic recovery; recovery status appears near the conversation input. See config/recover.example.yml.

Provider/model filters, state directory, and recovery timeouts remain configurable. Response mode is not configurable. Use only one controller that cancels and resumes a given reasoning stream.

Restart DSH after updating installed files to load the new host code. Historical implementation notes are in docs/SINGLE_AGENT_RECOVERY.md. MIT license.