Culeot/dsh-agent-memory4

dsh-agent-memory

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

AI 分析

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

包名
dsh-agent-memory
版本
0.8.0
许可证
MIT
最近更新
2026年8月16日

安装

此插件尚未提供可验证的 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.