WangHaiLongWang/dsh-harness2 ↗★ 0
dsh-plugin-harness2
Recursive Harness² orchestration plugins for DSH/Cordis 适合需要进行复杂任务递归改进和并行提案的进阶用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WangHaiLongWang/dsh-harness2README
Read the full README ↗使用
首先运行零成本预检:
harness2_plan
mode: parallel
k: 1
确认预算后执行:
harness2_run
domain: office
mode: parallel
k: 1
task:
运维工具:
| 工具 | 作用 | 模型调用 |
|---|---|---|
harness2_plan | 预览调用拓扑和预算 | 无 |
harness2_run | 执行递归 Harness 改进 | 有 |
harness2_status | 查询活跃运行 | 无 |
harness2_cancel | 按精确 run ID 取消 | 无 |
配置
完整字段和风险说明见 配置参考。推荐起点:
- id: harness2
name: dsh-plugin-harness2
disabled: false
config:
mode: parallel
k: 1
timeoutMs: 3600000
maxParallelProposals: 2
maxParallelRollouts: 2
maxTotalTokens: 100000
libraryMode: off
enableScripts: false
tenant: default
project: default
dataDir: !!js dshHomePath('harness2')
设置货币预算时必须同时填写真实 provider 费率。插件不会猜测价格:
maxCost: 1.0
pricing:
inputPerMillion: 1.0
outputPerMillion: 4.0
cacheReadPerMillion: 0.2
cacheWritePerMillion: 1.0
以上数字只是字段示例,不是任何供应商报价。