HuanLinOTO/dsh-plugin-sleep ↗★ 9

@huanlin/dsh-plugin-sleep

提供让模型暂停指定毫秒数的等待工具 适合需要让模型在执行任务过程中进行延时等待或控制执行节奏的场景。

套件
@huanlin/dsh-plugin-sleep
相容性
待驗證
Harness 依賴範圍
^0.1.7-rc.1
Cordis 依賴範圍
^4.0.1
版本
0.1.6
授權
NOASSERTION
最近更新
2026年9月24日

安裝

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

配置

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

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