xalor888/dsh-unlimited-retry ↗★ 3

dsh-unlimited-retry

Unbounded model-request retry for the DeepSeek Harness agent loop, with a live Settings panel. 适合需要应对网络波动、自动重试失败模型请求的用户。

Package
dsh-unlimited-retry
Compatibility
Unverified
Version
2.4.0
License
MIT
Last updated
Oct 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xalor888/dsh-unlimited-retry

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.

FieldTypeDefaultPurpose
autoRetrybooleantrueTurn off to leave every failure to the loop
maxAttemptsnumber | nullnullCap per step; null/empty means no limit
initialDelayMsnumber1000First backoff delay; clamped by the ceiling
maxDelayMsnumber60000Single-delay ceiling; wins any conflict
jitterRationumber0.2Randomization per delay (0–1)
retryWithoutProviderPolicybooleantrueAlso retry when the adapter published no policy
excludeCodesstring[][]Terminal codes (case/whitespace-insensitive)
recordSessionEventsbooleantrueAppend llm/retry / llm/retry-started
logbooleantrueWrite retry decisions to the DSH log
markerFilestring | nullnullOptional mount-probe path (diagnostics)