WangHaiLongWang/dsh-harness2 ↗★ 0

dsh-plugin-harness2

Recursive Harness² orchestration plugins for DSH/Cordis 适合需要进行复杂任务递归改进和并行提案的进阶用户。

Package
dsh-plugin-harness2
Compatibility
Unverified
Harness peer range
0.2.1-alpha.4
Cordis peer range
4.0.5-alpha.2
Version
0.1.0
License
MIT
Last updated
Oct 20, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WangHaiLongWang/dsh-harness2

使用

首先运行零成本预检:

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

以上数字只是字段示例,不是任何供应商报价。