dsh-cc/dsh-cc--packages-memory-memory-consolidation ↗★ 1

@dsh-cc/memory-consolidation

Background memory consolidation: turn-end extraction and three-gate dream rewrite 适合希望长期积累会话记忆的用户;可配置抽取、重写与触发间隔。

Package
@dsh-cc/memory-consolidation
Compatibility
Unverified
Harness peer range
>=0.1.5-rc.1
Cordis peer range
>=0.1.5-rc.1
Version
0.7.1
License
Apache-2.0
Last updated
Sep 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Usage

Load the plugin with @dsh-cc/memory-consolidation. Configuration:

KeyDefaultMeaning
memoryHomeharness home memory/memory home root; extraction/dream write into the turning agent's repository projects// under it
extractEnabledtruerun turn-end extraction
dreamEnabledtruerun the three-gate dream
minHours24minimum hours between consolidations
minSessions5minimum new transcripts to consolidate
lockStaleMs3_600_000lock holder stale window
subagentProviderNameforkone-shot provider for the forks
import consolidation from '@dsh-cc/memory-consolidation'
await ctx.plugin(consolidation, { minHours: 24, minSessions: 5 })