klarkxy/dsh-plugin-autoevo ↗★ 0
dsh-plugin-autoevo
DSH capability reuse and safe evolution layer. Evolution continues.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:klarkxy/dsh-plugin-autoevo说明文档
阅读完整 README ↗AutoEvo
进化永不停歇。
dsh-plugin-autoevo 是 DeepSeek Harness(DSH)里的能力复用与安全演进层。Agent 需要新能力时,先核对本地工具与技能,再搜索、审查、试用和改进已有 DSH 插件。
Local Resolve → GitHub Search → Review → Approved Trial → Verify → Reuse / Improve
Reuse before build. Improve before replace.
维护状态
当前维护线是 0.1.0。已验证运行基线:DSH 0.1.0-rc.6、Cordis 4.0.1、Node.js >=22.19.0 || >=24。包管理、Git 协作和代码修改继续走 DSH、pnpm、git、gh 与当前 Agent。
工作方式
- 先看当前 Agent 可见的 tools、model-invocable skills,以及已有
tool_search桥能到达的工具。 - 本地能力不够时,用已认证的
ghCLI 做有界 GitHub 搜索,再由 Agent rerank。 - 审查精确 commit 上的 manifest、README 和必要源码,只输出路径、派生事实、风险代码与内容 hash。系统提示只含本插件固定策略。
- 安装门槛:
full + use、风险low或medium、兼容性compatible或unknown、manifest 精确声明dsh.bundle.patch。 - 安装前按审查材料再核对一遍;commit、blob 或 manifest 变化会使凭据过期。
- 安装和移除都走 DSH 一次性批准
allowed-once。 - 临时试用落在插件自有的隔离 DSH home/profile。验证看真实
tool/call、匹配的成功tool/result和任务结果。 partial候选先在 workspace 里最小修改、跑上游测试,再本地重审为full。批准后复制为 owned snapshot,用npm pack --ignore-scripts打成固定 tgz 再安装。- 通用修改在任务完成后给出贡献建议。fork、push 与 PR 由现有 Git /
gh能力在用户再次批准后执行。
前置条件
node --version
pnpm --version
gh auth status
GitHub 搜索与审查需要可用的 gh 认证。本仓库把 @deepseek-ai/dsh@0.1.0-rc.6 钉在 devDependency 里,用 pnpm exec dsh 即可。
安装本插件
dsh plugin --profile
add github:klarkxy/dsh-plugin-autoevo
本仓库开发安装:
pnpm install
pnpm build
pnpm exec dsh plugin --profile
add --save-exact link:E:/absolute/path/dsh-plugin-autoevo
link: 只用于本仓库这份可信 checkout。第三方候选一律物化为 owned file:...tgz。
DSH 在进程启动时确定 bundle 集合。常驻 Profile 装好后,新进程加载新 bundle;当前进程会收到 restartRequired: true。临时验证由插件拉起隔离子进程。
Agent 工具
| 工具 | 作用 | 环境 |
|---|---|---|