dshworks/dsh-watch2

@dshworks/dsh-watch

DeepSeek Harness 后台流监听与唤醒智能体插件

AI 分析

通过监听文件或命令输出,在产生新行时自动唤醒 Agent。适合需要无人值守、后台监控任务的用户。

包名
@dshworks/dsh-watch
版本
0.2.0
许可证
MIT
最近更新
2026年8月15日

安装

$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
backlogBytes65536Retained-bytes budget for a watch's job_output
autoArm[]Standing watches armed for the root session at boot

The daemon's own config is brief (required), flushIntervalMs (300000), and journal (true).