
Saktawdi/ha-orchestrator
30最近提交 2026年8月15日
ha-orchestrator DSH 插件
HA Orchestrator 是一个 DSH 插件,提供模型高可用故障切换和编排工具,可将任务拆分为子代理并行执行(扇出)、按阶段执行(管道)或带审核的并行执行(监督)。设置页面支持自定义子代理和 AI 生成子代理定义。
如何安装 ha-orchestrator DSH 插件
dsh plugin --profile web add dsh-ha-orchestrator复制不会执行命令。安装 ha-orchestrator DSH 插件前请核对仓库和版本。
ha-orchestrator DSH 插件数据来源
ha-orchestrator DSH 插件快照日期:2026年8月16日
discovered
ha-orchestrator DSH 插件能做什么
- 模型故障切换:模型调用失败时按顺序重试备用模型,支持冷却期和重试预算。
- 自动编排:模型可自动调用编排工具进行扇出、管道或监督模式的任务拆分。
- 自定义子代理:在设置中定义可复用的子代理,包括名称、提供商和系统提示词。
- AI 生成子代理:输入一句话需求,由当前模型填充完整的子代理定义。
- 斜杠命令:/ha 和 /orchestrate 命令用于查看和管理 HA 状态及编排运行记录。
- 持久化:HA 运行时状态和编排运行日志持久化到磁盘,启动时恢复。
ha-orchestrator DSH 插件适合哪些场景
- 并行研究多个开源项目,对比许可证和社区活跃度。
- 阅读大型项目,按模块扇出并汇总架构和进展。
- 执行多阶段工作流:需求分析 → 设计文档 → 实现计划。
- 生成竞争分析报告,并让高级审核员通过监督模式复核。
- 在长时间运行的任务中自动从模型故障中恢复,无需手动干预。
ha-orchestrator DSH 插件适合谁
- 依赖 DeepSeek Harness 进行复杂多步骤 AI 任务的用户。
- 需要容错模型执行和自动任务拆分的开发者或研究人员。
ha-orchestrator DSH 插件的限制
- 需要 DeepSeek Harness 且使用 web profile(无需构建步骤,无运行时依赖)。
- 斜杠命令依赖于 DSH 的 commands 服务;若该服务不可用,插件仍正常工作但命令不暴露。
- 自动触发编排功能可能受某些 persona preset(如 minimal/minimal-v3)影响,这些 preset 会丢弃插件系统提示词部分。
- 插件处于早期阶段(v0.2.1),功能可能变动或稳定性有限。
- 配置写入第一个可写位置,恢复行为依赖于文件系统持久化。
ha-orchestrator DSH 插件的仓库 README 摘录
以下文字摘自 ha-orchestrator DSH 插件的上游仓库 Saktawdi/ha-orchestrator 的 README,版权归原作者,仅作引用。
HA Orchestrator is a plugin for [DeepSeek Harness](https://github.com/deepseek-ai/dsh) (dsh): - When a model call fails mid-run, it retries on a backup model and the run continues. - It adds an `orchestrate` tool that the model calls on its own when a task suits it, splitting work across subagents in parallel (`fanout`), in stages (`pipeline`), or with a review pass (`supervisor`). The settings page also lets you define custom subagents (or generate one with AI), and the UI and prompt copy are available in Chinese and English, following your DSH language. [简体中文](README.zh-CN.md) ## What it does ### Failover when a model fails - When a model request errors, it is retried on the next backup model. Backups are tried in order. - The failed model is temporarily skipped and cools down; it comes back on its own when the cooldown expires. - Each failure episode has a retry budget. Once it is spent, the plugin stops retrying instead of looping forever. - If a model error interrupts the run, the plugin restarts the task once so the work is not lost. Backup models, cooldown, failure threshold, and error-code filter are configurable in Settings → "HA 与编排". ### Orchestration, triggered
阅读完整 README仓库许可: MIT
ha-orchestrator DSH 插件常见问题
如何安装 HA Orchestrator?
在终端中运行 `dsh plugin --profile web add dsh-ha-orchestrator`。插件会通过 npm 安装并自动注入到你的 DSH 配置中。无需重启,刷新浏览器页面即可看到设置界面。
HA Orchestrator 是否兼容所有 DSH 角色预设?
兼容大多数预设,但像 `minimal` 或 `minimal-v3` 这种使用了 `complete: true` 的预设会丢弃插件的系统提示词部分。此时自动触发编排仅依赖工具描述。如果未触发,只需在提示词中说“使用编排”即可。
如何定义自定义子代理?
前往设置 → "HA 与编排" → 自定义子代理。你可以手动添加子代理,填写名称、提供商/模型、描述和系统提示词。或者点击“AI 生成”,用一句话描述需求,当前模型会自动生成完整的定义。
长时间运行的任务中模型失败会怎样?
插件会按顺序将失败的调用重试到下一个备用模型。失败的模型会暂时隔离并进入冷却期。如果重试预算耗尽,插件会停止重试以避免无限循环。任务会重新启动一次以保留进度。
如何关闭自动编排功能?
在设置 → "HA 与编排" → 系统卡片中,关闭“上下文注入”开关。之后模型只会在你明确要求时进行编排,例如说“使用 dsh-ha-orchestrator 插件”或“使用编排”。