JuwanXu/dsh-continue ↗★ 1

dsh-continue

提供网络故障自愈、推荐选项与无人值守 适合需要提高 DSH 任务执行容错率和自动化连续执行的用户。

包名
dsh-continue
兼容性
待验证
Harness 依赖范围
*
Cordis 依赖范围
*
版本
0.2.2
许可证
MIT
最近更新
2026年9月14日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:JuwanXu/dsh-continue

Configuration and task injection

Precedence is always:

task session override > plugin global defaults > built-in values

Set global defaults in the plugin row of cordis.patch.yml:

- id: continue
  config:
    defaults:
      network:
        enabled: true
        mode: bounded
        maxRetries: 5
      recommended:
        enabled: true
      continuation:
        enabled: false

A launcher, preset, or another plugin can inject an isolated policy for one task:

ctx.continue.setTaskConfig(agent, {
  network: { enabled: true },
  recommended: { enabled: true },
})

The patch is copied and written as a version-1 continue/config event. It survives resume and is inherited by a fork. null resets an override. Legacy version-1 config and control events remain replayable.

All input is schema- and runtime-validated. Unknown fields, invalid bounded retry policies, unsafe counts, oversized local timer delays, a multiplier below 1, and overlapping affirmative/negative labels are rejected.