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

@dsh-cc/memory-consolidation

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

パッケージ
@dsh-cc/memory-consolidation
互換性
未検証
Harness ピア範囲
>=0.1.5-rc.1
Cordis ピア範囲
>=0.1.5-rc.1
バージョン
0.7.1
ライセンス
Apache-2.0
最終更新
2026/09/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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 })