keyiadiannao/dsh-delay-tools ↗★ 0
dsh-delay-tools
Delayed wake-up for DeepSeek Harness: schedule a reminder N minutes out and the agent wakes in the SAME conversation to reply — unlike cron schedulers that spawn fresh sessions. Also provides a wait (timed gate) tool that blocks the current turn and is interruptible via the stop button. Host-level timer + official agent.followup() wake channel.
AI 分析
核心用途是允许在同一会话中调度定时提醒,或让 Agent 在当前轮次中进行可中断的等待。适合需要定时提醒任务或需要控制执行节奏的会话场景。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:keyiadiannao/dsh-delay-toolsドキュメント
README 全文を読む ↗Usage
Tell the agent:
Call the
schedule_remindertool and remind me in 30 seconds to drink water.
The agent calls the tool and returns the expected trigger time; when the delay
elapses it wakes up and delivers the reminder in the same conversation. No
matter how many other turns happen in between (including new messages you send),
the reminder arrives on time. Multiple reminders per conversation are
supported — each has its own reminder_id.
Durability note: reminders live in process memory. They survive agent turns (and plugin reloads cancel them cleanly), but restarting the DSH host cancels all pending reminders. Durable persistence is on the roadmap.
Tool parameters
| Param | Type | Required | Description |
|---|---|---|---|
delay_ms | number | no | Delay in ms, default 60000; clamped to minDelayMs..maxDelayMs |
message | string | yes | The text the agent delivers to you when the delay elapses |
Return value
scheduled / due_at / delay_ms / pending (how many reminders are still
pending for this agent).
Configuration
- id: dsh-delay-tools
config:
defaultDelayMs: 60000 # default delay when delay_ms is omitted
maxDelayMs: 3600000 # upper bound for a single delay
minDelayMs: 1000 # lower bound, guards against instant re-entry