dsh-double
DSH 自我管理与自我演进插件:提供健康快照、配置预检、带自动回滚的蓝绿演进以及按需备用守护进程。
AI 分析
核心用途是实现 DSH 系统的自我维护与升级。适合希望通过对话或 API 让 DSH 自动检查自身配置、安全应用变更并在失败时自动回滚的高级用户。必要条件是需在宿主安装配套的 Python 脚本。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Junkrat9527/dsh-double说明文档
阅读完整 README ↗Usage
Ask the agent, or call the API/tools directly:
"先跑 double_check 预检我的配置,然后 double_evolve 应用我准备好的变更目录,
成功后 double_status 确认主实例健康、备用身已休眠。"
Or via HTTP:
curl http://127.0.0.1:3080/double/status
curl -X POST http://127.0.0.1:3080/double/evolve -H 'content-type: application/json' \
-d '{"change_dir": "/path/to/change-set"}'