liangsheng999/dsh-dream ↗★ 0

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. 核心用途是利用后台闲时自动整理和巩固会话记忆。适合需要长期、无感记忆沉淀,且希望避免手动触发整理的用户。

패키지
dsh-dream
호환성
미검증
버전
0.2.1
라이선스
MIT
최근 업데이트
2026. 8. 26.

같은 패키지 이름의 다른 저장소

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

Configuration

FieldDefaultDescription
intervalSeconds21600Check interval in seconds (min 300)
minNewEvents3Minimum number of real user messages since the last dream before a dream is worth doing (plugin activity is excluded)
maxMemoryBytes20000Archive & rebuild MEMORY.md when it exceeds this size (0 = disabled)
memoryDirsee belowMemory 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
diagFileoffOptional absolute path for a plugin diagnostic log (event stream); enable for troubleshooting
modesubagentsubagent = background subagent (nothing in the main chat); followup = legacy visible [DREAM] user message
subagentProviderspawnSubagent provider: spawn (fresh context, low tokens) or fork (inherits the parent's full history — more context, more tokens)
digestEvents40How many recent user/assistant messages to include in the dream child's digest
digestChars8000Max digest length (older content is truncated)