huchunlinnk/deepseek-desk-rsi
用于DeepSeek Harness的递归自我改进引擎 — DSH维护DSH:受限的感知→整合→验证→对等→修复→提议循环,强制执行1:1的上游特性对等
Project Overview项目介绍
This is a native DeepSeek Harness (DSH) plugin that automates upstream sync for downstream DSH-based applications. The core idea is “AI maintains AI”: DSH itself handles every step of the sync workflow except for the final manual merge of the pull request. It addresses a common pain point for developers building on top of DSH, which is currently in a 0.1.x-rc pre-release stage with frequent breaking changes. Instead of requiring developers to manually track and update their integrations every few days, it turns this work into a hands-off automated loop.
The sync workflow follows a strict fixed pipeline: perceive upstream changes, apply the changes to the integration glue, run build and test verification, check the plugin parity contract, perform bounded repair if any check fails, then propose a pull request for manual review. It includes six purpose-built tools to enforce the workflow, and a system prompt segment that prevents the agent from skipping any required step. All changes are checkpointed before integration, allowing the agent to roll back changes if verification or parity checks fail.
The plugin can be installed directly via the DSH CLI command dsh plugin add github:huchunlinnk/deepseek-desk-rsi#main with no extra build steps required. It is written in pure ESM JavaScript with no build scripts, and requires DSH-provided peer dependencies @deepseek-ai/dsh-tools and @deepseek-ai/cordis to work. You will also need a working installation of GitHub CLI to allow the plugin to open pull requests after a successful sync. It ships with a starting headless profile that you can copy to your DSH profile directory to get up and running quickly.
这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是让 DSH 自动同步下游基于 DSH 开发的应用与上游 DSH 的变更,实现了「AI 维护 AI」的全自动化流程,除了最终合并 PR 需要人工操作外,其余所有步骤都由 DSH 自主完成。它解决了预发布版本 DSH 频繁发布破坏性变更导致下游集成快速过时的问题,把手动追更的工作转成自动化闭环。
它定义了一套固定的同步环路:感知上游变更、集成变更、验证构建、校验插件对等契约、有界修复出错、最后提出 PR。它内置了多个专用工具,比如 rsi_perceive 对比差异、rsi_checkpoint/rsi_rollback 做检查点回滚、rsi_parity 校验插件匹配,严格遵循环路纪律,不会跳过步骤。它要求上游所有插件都必须精确匹配名称,不匹配就直接报错,保证同步的准确性。
插件遵循零构建即装原则,纯 ESM 编写,没有额外的构建脚本,直接通过 DSH 的插件命令就能安装使用。它是 MIT 许可开源,依赖 DSH 提供的 peer 依赖 @deepseek-ai/dsh-tools 和 @deepseek-ai/cordis,需要提前配置好 GitHub CLI 来创建 PR。用户可以使用内置的无头起始配置文件快速搭建同步环境。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:deepseek-desk-rsi(huchunlinnk/deepseek-desk-rsi)
仓库:https://github.com/huchunlinnk/deepseek-desk-rsi
本站详情页:https://www.yhbd.top/plugins/huchunlinnk-deepseek-desk-rsi/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-18 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile rsi add github:huchunlinnk/deepseek-desk-rsi#main
把 huchunlinnk/deepseek-desk-rsi 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
deepseek-desk-rsi
English | 中文
一个 DeepSeek Harness(DSH)插件,让下游应用与高速演进的上游 harness 保持同步——工人就是 DSH 自己。
AI for AI:DSH 维护 DSH。
为什么做这个
DeepSeek Harness 目前是 0.1.x-rc,频繁出破坏性变更。一个锁死版本的桌面壳(或任何下游应用)几天就会腐坏。手工追上游是一份全职工作。这个 bundle 把这份工作交给 agent——并且给它硬的、可自动化的成功信号,让这个环不会跑偏。
为什么 —— 最大的优势
- 真正的 AI for AI。 工人就是 DeepSeek Harness 自己:它对比上游 diff、改集成胶水、构建、测试、回滚、开 PR——除了最后 merge 那一下,全程无人。
- "一模一样"是机器校验的,不是口头承诺。
rsi_parity强制一个 128 插件契约(parity.json,从官方dsh-base+dsh-web-app两个 bundle 生成)。上游任何增删改名都会变成硬失败——精确名字匹配,不是子串。 - 不会失控的进化。 有界修复(最多 3 轮)、Memento 检查点(
rsi_checkpoint/rsi_rollback)、PR 闸门——环只提议,人来 merge。 - 零构建即装。 纯 ESM + JSDoc,无
prepare脚本:dsh plugin add github:huchunlinnk/deepseek-desk-rsi#main直接可用。
环路
perceive → integrate → verify → parity → repair(有界)→ propose
| 阶段 | 谁 | 怎么做 |
|---|---|---|
| perceive | 工具 rsi_perceive |
fetch 上游,对比上次同步以来的 commit log + stat |
| integrate | agent(现有工具) | 用 bash / edit / subagent / workflow 把相关 harness 变更应用进应用的胶水 |
| verify | 工具 rsi_verify |
硬适应度函数:cargo build && cargo test && bash scripts/smoke-web.sh,退出码 0 才算过 |
| parity | 工具 rsi_parity |
同面门:parity.json 里的每个必需插件都还在 |
| repair | agent + rsi_checkpoint / rsi_rollback |
改动前先 checkpoint(Memento),verify/parity 失败后回滚重试 |
| propose | 工具 rsi_propose |
commit、推分支、用 gh 开 PR——人审闸门 |
环路纪律由一个 bundle 注入的 system-prompt 段(rsi:loop)强制执行,agent 无法偷偷跳过某个阶段。
工具
| 工具 | 作用 | 设计模式 |
|---|---|---|
rsi_perceive |
对比上游相对某个 base ref 的差异 | — |
rsi_checkpoint |
提交一个带标签的快照 | Memento(捕获) |
rsi_rollback |
git reset --hard 回到某个检查点 |
Memento(恢复) |
rsi_verify |
跑构建/测试/服务冒烟适应度命令 | — |
rsi_parity |
用 --dump-config 精确匹配校验 parity.json |
— |
rsi_propose |
用 gh 开 PR |
Command(人审闸门) |
五个阶段是一条 Pipeline;整个环是有界递归(最多 3 轮修复)。
安装
dsh plugin --profile rsi add github:huchunlinnk/deepseek-desk-rsi#main
dsh --profile rsi "Run the daily upstream sync: perceive, integrate, verify, parity, repair if needed, then propose a PR."
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
jigjoy-ai/baro
PlutoKeating/dsh-lark-bot
zimzaza4/dsh-bash-win
AI-Galaxy-GPU/dsh-sound
HuanLinOTO/dsh-plugin-sleep