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.