dshworks/dsh-watch ↗★ 2

@dshworks/dsh-watch

Background stream listeners that wake the DeepSeek Harness agent — put a watch on a command or file and receive new lines as in-session notices. Ships a daemon host so a watcher can run unattended for weeks. 适合需要监控文件或命令变化并自动唤醒智能体的用户。

패키지
@dshworks/dsh-watch
호환성
미검증
Harness peer 범위
^0.1.7-alpha.1 || ^0.2.0-rc.1
Cordis peer 범위
^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).