dsh-folderwatch: Wake Agent on Directory Changes with Diff and Self-Write Filtering

dsh-folderwatch is a DeepSeek Harness workflow plugin that performs snapshot diffing on directories. Upon detecting tree changes, it delivers creation, modification, deletion, and file size events to the agent while suppressing echo loops caused by writes from tools within the current session. It supports two delivery modes: wake (followup) and queue (inject), and provides the folderwatch_add/list/check/fire/remove functions alongside the /watch slash command. To install, use "dsh plugin add <repository URL>". Configuration options such as quietMs, echoWindowMs, and watches can be set in cordis.patch.yml. This plugin is suitable for mid-session monitoring scenarios, such as building reports or monitoring shared directories. It runs with the permissions of the DSH process, so please review the MIT-licensed source code before installation.

Read More