Orchestrator Standard v6 — 主代理只规划、不直接碰工具;工具执行交给分类子代理;子代理也使用 whoami 首轮锚定。供应商/模型可通过 GUI 插件选择并持久化。
- 主代理:
- whoami 零工具首轮锚定
- 晋升后只暴露
subagent_fs/subagent_shell/subagent_web
- 子代理:
- 也执行 whoami 零工具首轮锚定
- 晋升后使用各自的
toolFilter工具集
- 可配置:
- 主代理 provider/model 通过 GUI 或环境变量设置
- 子代理 provider/model 通过 GUI 或环境变量设置
- 持久化:
- GUI 选择会保存到 DSH settings,下次调用自动恢复
dsh-orchestrator-standard/
├── preset/
│ └── orchestrator-standard-v6/ # DSH agent preset
├── plugin/
│ └── dsh-orchestrator-provider/ # DSH Web 设置页插件
└── scripts/
└── install.sh # 一键安装脚本
- DeepSeek Harness
0.1.0-rc.5/0.1.0-rc.6(Web profile) - Node.js 22+
- 当前仓库的 preset 依赖
~/.dsh/.agent-presets/preset指向 anchored-standard 的共享模块;如果不存在,请先安装xiaobright/dsh-anchored-standard或按仓库内 preset 自行补齐../preset/*.mjs。
bash scripts/install.sh脚本会:
- 复制 preset 到
~/.dsh/.agent-presets/orchestrator-standard-v6 - 复制插件到
~/.dsh/profiles/node_modules/@dsh-external/dsh-orchestrator-provider - 把插件挂载行追加到
~/.dsh/profiles/web/cordis.patch.yml
mkdir -p ~/.dsh/.agent-presets
cp -R preset/orchestrator-standard-v6 ~/.dsh/.agent-presets/orchestrator-standard-v6mkdir -p ~/.dsh/profiles/node_modules/@dsh-external
cp -R plugin/dsh-orchestrator-provider ~/.dsh/profiles/node_modules/@dsh-external/dsh-orchestrator-provider在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加:
# Orchestrator v6 provider selector UI + persistence
- insert:
- id: orchestrator-provider
name: '@dsh-external/dsh-orchestrator-provider'
config: {}dsh --profile web重启后:
- 新建会话,选择 Orchestrator Standard v6
- 打开 设置 → Orchestrator Provider 选择主代理/子代理供应商和模型
- 点击 Save
- 后续新会话会自动使用已保存配置
如果不使用 GUI,也可以直接设置环境变量:
export DSH_MAIN_PROVIDER=deepseek-official
export DSH_MAIN_MODEL=deepseek-v4-pro
export DSH_MAIN_REASONING_EFFORT=max
export DSH_SUBAGENT_PROVIDER=opencode-go
export DSH_SUBAGENT_MODEL=deepseek-v4-flash
export DSH_SUBAGENT_REASONING_EFFORT=max然后启动 DSH:
dsh --profile web主代理(Orchestrator Standard v6)
├─ 第一轮:0 工具 + “你是谁”
├─ 晋升后:只看到 subagent_fs / subagent_shell / subagent_web
└─ 规划、委派、汇总
子代理(spawn)
├─ 第一轮:0 工具 + “你是谁”
├─ 晋升后:看到自己的 toolFilter 工具
└─ 执行 read/write/edit/glob/grep/bash/web_search
plugin/dsh-orchestrator-provider 包含:
lib/index.js:Host 端,注册orchestrator-providersettings namespace,并在 v6 会话创建时应用保存的 provider/modelclient/index.js:浏览器端,在设置页添加 “Orchestrator Provider” 面板
- 确认插件已复制到
~/.dsh/profiles/node_modules/@dsh-external/dsh-orchestrator-provider - 确认
cordis.patch.yml已追加挂载行 - 重启 DSH 后刷新页面
- 确认新建的是
orchestrator-standard-v6会话 - 确认保存后 settings 里有
orchestrator-provider.subagent.provider - 如果仍未生效,检查 DSH 启动日志中插件是否加载成功
MIT