dsh-dream
DSH host plugin: scheduled background 'dream' (memory consolidation) passes that distill recent session work into long-term memory (memory/MEMORY.md) and a dream diary (memory/dreams.md), without manual triggering. Includes dream_status / dream_run agent tools.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
| Field | Default | Description |
|---|---|---|
intervalSeconds | 21600 | Check interval in seconds (min 300) |
minNewEvents | 3 | Minimum number of real user messages since the last dream before a dream is worth doing (plugin activity is excluded) |
maxMemoryBytes | 20000 | Archive & rebuild MEMORY.md when it exceeds this size (0 = disabled) |
memoryDir | see below | Memory directory. Recommended to set explicitly to /memory. When unset, resolution falls back to session meta.cwd → process.cwd(); when the web is launched by the logon scheduled task, process.cwd() defaults to C:\Windows\System32, which would write memory files into the system directory |
diagFile | off | Optional absolute path for a plugin diagnostic log (event stream); enable for troubleshooting |
mode | subagent | subagent = background subagent (nothing in the main chat); followup = legacy visible [DREAM] user message |
subagentProvider | spawn | Subagent provider: spawn (fresh context, low tokens) or fork (inherits the parent's full history — more context, more tokens) |
digestEvents | 40 | How many recent user/assistant messages to include in the dream child's digest |
digestChars | 8000 | Max digest length (older content is truncated) |