dsh-reconnect: Secure Retry and Gateway Recovery for DSH Model Requests

dsh-reconnect is a DeepSeek Harness model inference plugin maintained by mrbeandev. Operating on the agent/request-error waterfall, it performs exponential backoff retries on recoverable errors such as EMPTY_RESPONSE, RATE_LIMIT, and TIMEOUT after the Provider's built-in retries are exhausted. It supports Retry-After headers, session events, and a UI countdown. It can be installed via `dsh plugin --profile web add dsh-reconnect`, with options such as maxDelayMs, retryQuota, and retryUnknown configurable in the settings panel or YAML. It is suitable for long-running tasks and agent scenarios under the web profile.

Read More
dsh-reconnect: Secure Retry Plugin for DeepSeek Harness Model Requests

dsh-reconnect is a Host-side plugin for DeepSeek Harness (DSH) designed to automatically retry model requests when failures occur due to temporary network or service issues. It listens for the `agent/request-error` event and takes over after the built-in retry strategy fails. For recoverable issues such as rate limiting, timeouts, 5xx errors, and disconnections, it employs an exponential backoff algorithm to resend requests, thereby preventing the interruption of agent steps. The plugin supports configuring a local backoff cap (default 60s) and prioritizes respecting the Provider's `Retry-After` directive. For quota exhaustion (QUOTA), retrying is disabled by default; unknown errors retry infinitely by default (configurable limit), while unrecoverable errors such as authentication failures and invalid parameters terminate immediately. The plugin provides a unified settings card and YAML configuration.

Read More