mili1360/dsh-proactive ↗★ 1

dsh-proactive

DSH「守夜人」:长任务(下载/安装/等待)在 agent 回合结束后跑完时,把消息塞回会话、叫醒 agent 主动汇报。机制同 dsh-subagent 回报父代理(agent.steer + createUserMessage)。 适合需要提交下载、安装等耗时任务并期望AI在完成后主动通知的用户。

パッケージ
dsh-proactive
互換性
未検証
バージョン
0.2.1
ライセンス
MIT
最終更新
2026/10/13

同名パッケージの別リポジトリ

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mili1360/dsh-proactive

ドキュメント

README 全文を読む ↗

Configuration

Set through the bundle patch (cordis.patch.yml) or the profile's own plugin config:

KeyDefaultMeaning
enabledtruefalse skips loading entirely — no timer is even created
intervalMs15000How often watch.json is re-read and evaluated. Floored at 3000.
stableRounds3Default rounds for file-stable
maxRetries5Failed wake-ups tolerated before the entry is abandoned
sourceKind'plugin'Default source kind for injected messages
watchFile`
/watch.json`Override the watch list path (used by the test suite for isolation)
logFile`
/boot.log`Override the log path (same)

There is no built-in default watch, no default path and no bundled reminder: with an empty watches array the plugin does nothing at all. watch.example.json is a template with every type filled in — copy it to watch.json and edit.

Watch lists are read from disk on every tick, so editing watch.json takes effect within one interval. No restart. When the plugin writes the file back it preserves every other top-level key, so your own _note / _README comment keys survive.