DeepSeek Harness plugin

dsh-model-retry

DSH rc.8 Web settings row for active providers' model-request retry budget

Jump to install

Source facts

Repository
502399493zjw-lgtm/dsh-model-retry
Latest update
Aug 20, 2026
Category
Usage & Billing
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/502399493zjw-lgtm/dsh-model-retry
Plugin: dsh-model-retry
Author: 502399493zjw-lgtm

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

@zhongjingwei/dsh-model-retry

![CI](https://github.com/502399493zjw-lgtm/dsh-model-retry/actions/workflows/ci.yml)

English | 中文

DeepSeek Harness Web plugin for configuring active providers' model-request retry budget from Settings → General.

> Compatibility: pinned to stock DSH 0.1.0-rc.8. rc.8 moved retry ownership into provider profiles, so this version writes each active normal provider's retryPolicy.maxRetries through the published settings API.

Demo

!Set the retry budget to 5, show retries 1/5 through 5/5, and recover when the sixth model request succeeds

The demo uses stock DSH 0.1.0-rc.8 and a plugin tarball packed from this source, all under an isolated DSH_HOME. It changes the retry budget from 2 to 5, then uses DSH's deterministic local LLM mock to return retryable server errors on attempts 1–5 and succeed on attempt 6. Session-title generation is disabled so those six mock requests belong only to the demonstrated model request. DSH executes and reports the retries; the plugin owns the shared retry-budget setting.

Install

For stock rc.8:

dsh plugin --profile web add @zhongjingwei/dsh-model-retry@0.1.0-rc.9

Restart Web after installation. Remove the plugin with:

dsh plugin --profile web remove @zhongjingwei/dsh-model-retry

Behavior

  • Adds one numeric retry-count row to Settings → General and shows its provider scope.
  • Accepts finite, non-negative integers, including 0.
  • Discovers active configurable providers through llm.providers and uses revision-fenced settings.mutate calls.
  • Writes retryPolicy.maxRetries for normal/default policies while preserving existing backoff and retryable-code fields.
  • Leaves always policies unlimited and leaves retry execution/backoff behavior owned by DSH.

Development

pnpm install
pnpm test
pnpm run build
pnpm run verify:package
pnpm pack

The package is an external Cordis plugin and does not patch DSH core.

License

MIT