dshworks/dsh-watch ↗★ 2

@dshworks/dsh-watch

提供后台流监听器与智能体唤醒功能 适合需要监控文件或命令变化并自动唤醒智能体的用户。

包名
@dshworks/dsh-watch
兼容性
待验证
Harness 依赖范围
^0.1.7-alpha.1 || ^0.2.0-rc.1
Cordis 依赖范围
^4.0.1
版本
0.2.3
许可证
MIT
最近更新
2026年10月5日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dshworks/dsh-watch

Configuration

Every bound is a validated Config field, not a constant.

FieldDefaultMeaning
pollIntervalMs300Poll cadence, and therefore the batch window
maxNoticeBytes4096UTF-8 byte cap for one complete notice, header included
maxConsecutiveWakes3Wake-credit burst capacity per owner
wakeRefillMs60000Milliseconds per restored credit; 0 disables time refill
defaultMaxEvents50Notice budget per watch; 0 means unbounded
maxListenersPerOwner8Armed-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).