@dshworks/dsh-watch
提供后台流监听器与智能体唤醒功能 适合需要监控文件或命令变化并自动唤醒智能体的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dshworks/dsh-watch說明文件
閱讀完整 README ↗Configuration
Every bound is a validated Config field, not a constant.
| Field | Default | Meaning |
|---|---|---|
pollIntervalMs | 300 | Poll cadence, and therefore the batch window |
maxNoticeBytes | 4096 | UTF-8 byte cap for one complete notice, header included |
maxConsecutiveWakes | 3 | Wake-credit burst capacity per owner |
wakeRefillMs | 60000 | Milliseconds per restored credit; 0 disables time refill |
defaultMaxEvents | 50 | Notice budget per watch; 0 means unbounded |
maxListenersPerOwner | 8 | Armed-watch cap per agent |
autoArm | [] | Standing watches armed for the root session at boot |
The daemon's own config is brief (required), flushIntervalMs
(300000), and journal (true).