Plugin directory / Developer / dsh-model-retry
dsh-model-retry
Verified · install-tested on dsh 502399493zjw-lgtm
What it does
DeepSeek Harness plugin for configuring the global model-request retry budget
Works — verified, early-stage project
DeepSeek Harness plugin for configuring the global model-request retry budget It installs cleanly and boots without issues in our testing. It's early-stage but functional.
“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
@zhongjingwei/dsh-model-retry
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'sretryPolicy.maxRetriesthrough the published settings API.
Demo

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/[email protected]
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.providersand uses revision-fencedsettings.mutatecalls. - Writes
retryPolicy.maxRetriesfor normal/default policies while preserving existing backoff and retryable-code fields. - Leaves
alwayspolicies 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
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-model-retry for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:502399493zjw-lgtm/dsh-model-retry Headless (CLI) profile:
dsh plugin --profile headless add github:502399493zjw-lgtm/dsh-model-retry Test report
Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.