dsh-cc/dsh-cc--packages-memory-memory-consolidation ↗★ 1
@dsh-cc/memory-consolidation
Background memory consolidation: turn-end extraction and three-gate dream rewrite 适合希望长期积累会话记忆的用户;可配置抽取、重写与触发间隔。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Usage
Load the plugin with @dsh-cc/memory-consolidation. Configuration:
| Key | Default | Meaning |
|---|---|---|
memoryHome | harness home memory/ | memory home root; extraction/dream write into the turning agent's repository projects// under it |
extractEnabled | true | run turn-end extraction |
dreamEnabled | true | run the three-gate dream |
minHours | 24 | minimum hours between consolidations |
minSessions | 5 | minimum new transcripts to consolidate |
lockStaleMs | 3_600_000 | lock holder stale window |
subagentProviderName | fork | one-shot provider for the forks |
import consolidation from '@dsh-cc/memory-consolidation'
await ctx.plugin(consolidation, { minHours: 24, minSessions: 5 })