HuanLinOTO/dsh-plugin-sleep
Exposes a sleep tool that pauses for specified ms then returns, with support for cancellation/clamp | Exposes a sleep tool that pauses for specified ms then returns, with
Exposes a single sleep tool to the DeepSeek Harness agent: calling it pauses execution for a configurable number of milliseconds before returning. This is useful for rate-limit backoff, pacing between repeated API calls, or adding deliberate pauses in multi-step automation pipelines without requiring the agent to spin-wait or guess timing.
Install
dsh plugin --profile web add @huanlin/dsh-plugin-sleepdsh plugin --profile web add @huanlin/dsh-plugin-sleep (npm @huanlin/dsh-plugin-sleep 0.1.0, verified npm 2026-08-30). Note: the npm name dsh-sleep is a squatted placeholder (first release, name reserved) — install from the scoped package only.
Compatibility
DSH web profile; single sleep tool with configurable millisecond duration; MIT.
Details
- Repo: HuanLinOTO/dsh-plugin-sleep
- Category: Agent Capabilities
- Stars: 9
- Version: npm @huanlin/dsh-plugin-sleep 0.1.0
- Last push: 2026-09-11
- First seen: 2026-08-10
Recent updates
Single sleep(ms) tool; configurable duration; use for rate-limit backoff or pacing in multi-step pipelines.
FAQ
- What is the maximum sleep duration?
- The duration is configurable in milliseconds; the maximum is set by the plugin's config (typically capped at a sensible upper bound like 60 000 ms to avoid indefinite hangs).
- Why use a sleep tool instead of the agent just waiting?
- Language models cannot reliably pause execution on their own; the sleep tool gives the agent a deterministic, interruptible pause that shows up in the tool call transcript.
- Does sleep block the whole DSH process?
- No — the sleep is implemented as an async delay on the Node event loop, so other requests and DSH internals remain responsive during the pause.
Alternatives
reina4xa/dsh-plugin-reload · arrow949/dsh-turn-approval · HuanLinOTO/dsh-plugin-interpreters