Culeot/dsh-memory0

dsh-memory

DSH 跨会话长期记忆插件:基于 ctx.storage 提供模式验证的记忆域,包含记录、召回、索引、遗忘工具及记忆注入协议。

AI 分析

核心用途是让 AI 记住用户的长期偏好和纠错经验。适合需要跨会话保持上下文一致性的用户。需要存储相关基础插件支持。

套件
dsh-memory
版本
0.1.0
授權
MIT
最近更新
2026年8月14日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

All options are optional:

OptionDefaultMeaning
maxRecords400Capacity cap; lowest-value records evicted first.
maxContentChars2000Max content length per record.
injectEnabledtruePer-step injection of relevant memories (via agent/pre-step).
injectCount3Max memories injected per step (0 disables).
injectMaxChars120Max chars per injected memory summary.
lessonizeEnabledtrueAuto-nudge to solidify repeated errors as lessons.
lessonizeAfter2Same error fingerprint occurrences before nudging.
recencyHalfLifeDays90Freshness half-life.
mergeSimilarity0.7Near-duplicate merge threshold.
protocolSectiontrueInject the memory protocol prompt section.