HuanLinOTO/dsh-plugin-sleep ↗★ 9
@huanlin/dsh-plugin-sleep
DSH plugin exposing a single `sleep` tool that lets the model pause for a configurable number of milliseconds, honoring cancellation. 适合需要让模型在执行任务过程中进行延时等待或控制执行节奏的场景。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-sleepREADME
Read the full README ↗配置
在 DSH GUI 设置页或 cordis.patch.yml 中配置:
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
maxDurationMs | number | 60000 | 单次 sleep 上限毫秒数。超过会被 clamp 到此值,并在返回中标 clamped: true。 |
defaultDurationMs | number | 0 | 当模型省略 duration_ms 时的回退值。 |