HuanLinOTO/dsh-plugin-sleep2

@huanlin/dsh-plugin-sleep

DSH plugin exposing a single `sleep` tool that lets the model pause for a configurable number of milliseconds, honoring cancellation.

AI 分析

在自动化工作流中引入延迟。适合需要 Agent 在执行某些异步操作(如等待部署、轮询状态)时主动暂停,避免频繁请求浪费 Token 的场景。

パッケージ
@huanlin/dsh-plugin-sleep
バージョン
0.1.0
ライセンス
NOASSERTION
最終更新
2026/08/13

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-sleep

ドキュメント

README 全文を読む ↗

配置

在 DSH GUI 设置页或 cordis.patch.yml 中配置:

字段类型默认值说明
maxDurationMsnumber60000单次 sleep 上限毫秒数。超过会被 clamp 到此值,并在返回中标 clamped: true
defaultDurationMsnumber0当模型省略 duration_ms 时的回退值。