deepseek-harness-retry
Run the following command in DeepSeek Harness:
dsh plugin install syncended/deepseek-harness-retry
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness by running dsh plugin install syncended/deepseek-harness-retry; source code is available at https://github.com/syncended/deepseek-harness-retry .
About this plugin
When a DeepSeek Harness model request fails due to a transient issue, overload, or interruption, blindly retrying can become unsafe. deepseek-harness-retry addresses this by joining the Host request-error waterfall, applying bounded exponential backoff after built-in recovery policies, and supporting provider-neutral error codes, exact route allowlists and denylists, Retry-After awareness, and abort-aware waits.
Beyond ordinary retries, it handles interrupted-session recovery after a DSH restart. If a retry did not finish, a model step lacks an assistant message, or a durable tool boundary is closed before the next model step, the plugin can continue only provably unfinished work. It never removes, reorders, or replaces an existing durable inbox item, and it keeps retry evidence in session events rather than model-visible history.
This plugin suits developers running DeepSeek Harness across provider routes and wanting fewer lost failed requests with clear diagnostics. It extends built-in recovery without requiring browser steps or plugin-specific environment variables, making it a practical resilience layer for long-lived Harness deployments.
Use Cases
- Model API intermittently returns PI_AI_ERROR or UNKNOWN causing request failure
- Overload scenarios require a longer retry window and delay
- Safely resuming unfinished model steps after a DSH crash or restart
Best For
- Production or development environments running DeepSeek Harness long-term
- Developers managing retry policies across provider routes
- Teams wanting fewer lost failed requests with clear observability
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.