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 ピア範囲
^0.1.7-alpha.1 || ^0.2.0-rc.1
Cordis ピア範囲
^4.0.1
バージョン
0.2.3
ライセンス
MIT
最終更新
2026/10/05

インストール

$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.

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).