dsh-double
在终端中运行以下命令:
dsh plugin install Junkrat9527/dsh-double
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 终端中执行 dsh plugin install Junkrat9527/dsh-double 即可安装,完整源码见 https://github.com/Junkrat9527/dsh-double 。
插件介绍
An agent edits its own config, restarts, and immediately breaks. That is the moment every DeepSeek Harness user dreads. dsh-double closes the loop: it applies a change set to a standby copy first, runs static checks and a trial boot, and only then flips to the main instance. If the main fails to come back healthy, it auto-rolls back to the last-known-good snapshot. You stop needing an outside agent to rescue the one that broke itself.
Beyond blue-green self-evolution, the plugin adds process-level health probing across TCP, HTTP, and process checks, an on-demand cold standby that wakes as a spare brain when mechanical recovery fails, and a fully isolated second dsh instance called the testbed. Each side runs its own LLM agent, and the two converse over the official session API. The testbed proves an evolution in its sandbox first; once the change is validated, the twin agent blue-greens it back onto the main. Every exchange lands in a shared, replayable transcript, so the settings dashboard shows the full two-way conversation at a glance.
If you run long-lived agent workloads on dsh and want your agent to iterate on its own config or workflow without dropping context, dsh-double turns self-evolution from a risky stunt into a reliable daily routine.
It is built for power users who deploy dsh in production-like environments, run multi-agent pipelines, and need an auditable trail of every self-modification. The zero-dependency CLI and out-of-process supervisor mean the life-support layer survives even when dsh itself cannot boot, giving you a safety net that no in-process plugin alone can provide.
使用场景
- Agent 修改自身配置后安全重启,失败自动回滚
- 双生体在隔离沙箱验证变更后协同演化主实例
- 主实例卡死时唤醒冷备副本诊断修复
适合人员
- 运行 DeepSeek Harness 生产环境的深度用户
- 需要多 Agent 流水线且要求可审计变更的用户
- 希望 Agent 自主迭代工作流而不丢失上下文的开发者