jiruidai/dsh-meta-orchestrator:在 DeepSeek Harness 中運行時合成任務工作流

前言

在 DSH 中做多步驟任務時,固定流水線或固定 agent 拓撲容易和具體請求不匹配。dsh-meta-orchestrator 的做法是讓模型在運行時根據請求選擇工作模式,把計劃記錄下來,然後繼續使用 DSH 原語執行。

這是什麼

jiruidai/dsh-meta-orchestrator 是一個 DeepSeek Harness 插件,由 jiruidai 維護,許可證爲 MIT。

它可定位爲“模型原生元代理插件”:在運行時合成任務專屬工作流,不依賴固定流水線、模板或硬編碼路由。

核心功能

  • 運行時根據請求合成任務專屬工作流,而不是硬編碼流水線或固定 agent 拓撲。
  • 支持五種模式:prompt-chaining、parallel-workers、router、supervisor、evaluation-loop。
  • 向 system prompt 添加約 330 詞指令塊。
  • 提供三個記錄工具:orchestrate、adapt_workflow、complete_workflow。
  • 將計劃保存爲持久化記錄,修訂版本化並記錄成功標準結果。
  • 不內置運行時,使用 DSH 原語執行:subagents、todos、workflow scripts、plan mode。

安裝與啓用

插件需要帶 storage stack 的 profile。標準 web profile(dsh-web-app bundle)提供該 stack;headless profile 不提供,因此應使用 web profile。

使用 npm 安裝:

dsh plugin --profile web add dsh-meta-orchestrator

從 git 安裝並固定版本:

dsh plugin --profile web add github:jiruidai/dsh-meta-orchestrator#v0.2.0

git 安裝需要允許 pnpm prepare 構建,配置項如下:

allowBuilds: { dsh-meta-orchestrator: true }

add 或 remove 後,需要重啓 dsh。

運行環境

  • Node:^22.19.0 || >=24.0.0
  • peerDependencies:@deepseek-ai/* ^0.1.0-rc.5;資料稱已對 0.1.0-rc.6 驗證
  • 只使用 public plugin surfaces:
systemPrompt, skills, tools, storageDomain, agent/pre-step

典型用法

安裝後,插件只記錄計劃,不執行計劃。典型流程是:

1、模型從五種模式中選擇一種。
2、調用 orchestrate 保存計劃。
3、使用 DSH 原語執行:subagents、todos、workflow scripts、plan mode。
4、計劃需要變化時,調用 adapt_workflow 保存修訂版本。
5、任務完成時,調用 complete_workflow 記錄成功標準結果。

適用場景與注意

適合在 DSH 中做多步驟任務,並希望計劃被記錄、版本化並持久化保存的場景。

插件不內置運行時,不提供獨立執行器;執行依賴 DSH 原語。

插件以當前 dsh 進程權限運行,安裝前應檢查源碼與許可證。當前資料列出的許可證爲 MIT。

鏈接

社區目錄頁:https://www.skillhub.cn/plugins/jiruidai/dsh-meta-orchestrator

GitHub:https://github.com/jiruidai/dsh-meta-orchestrator

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

小夜