xalor888/dsh-unlimited-retry ↗★ 3
dsh-unlimited-retry
Unbounded model-request retry for the DeepSeek Harness agent loop, with a live Settings panel. 适合需要应对网络波动、自动重试失败模型请求的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xalor888/dsh-unlimited-retryREADME
Read the full README ↗Configuration
Edit the config block on the unlimited-retry row, or use the panel. An
override anywhere above the bundle patch replaces the whole config, so a
layer that overrides this row must restate every field it wants to keep.
The plugin also exports a Config schema, so its fields appear in
Config.listConfigs and are validated by the Loader.
| Field | Type | Default | Purpose |
|---|---|---|---|
autoRetry | boolean | true | Turn off to leave every failure to the loop |
maxAttempts | number | null | null | Cap per step; null/empty means no limit |
initialDelayMs | number | 1000 | First backoff delay; clamped by the ceiling |
maxDelayMs | number | 60000 | Single-delay ceiling; wins any conflict |
jitterRatio | number | 0.2 | Randomization per delay (0–1) |
retryWithoutProviderPolicy | boolean | true | Also retry when the adapter published no policy |
excludeCodes | string[] | [] | Terminal codes (case/whitespace-insensitive) |
recordSessionEvents | boolean | true | Append llm/retry / llm/retry-started |
log | boolean | true | Write retry decisions to the DSH log |
markerFile | string | null | null | Optional mount-probe path (diagnostics) |