dsh-agent-memory
跨会话长期记忆与错题本工具 适合需要Agent跨会话记住用户偏好、纠错经验和长期知识的用户。
同名套件的其他儲存庫
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗Configuration
All options are optional:
| Option | Default | Meaning |
|---|---|---|
maxRecords | 400 | Capacity cap; lowest-value records evicted first. |
maxContentChars | 2000 | Max content length per record. |
injectEnabled | true | Per-step injection of relevant memories (via agent/pre-step). |
injectCount | 3 | Max memories injected per step (0 disables). |
injectMinScore | 1.0 | Minimum relevance score to inject (0 = no threshold, just rank). |
injectMaxChars | 120 | Max chars per injected memory summary. |
lessonizeEnabled | true | Auto-nudge to solidify repeated errors as lessons. |
lessonizeAfter | 2 | Same error fingerprint occurrences before nudging. |
recencyHalfLifeDays | 90 | Freshness half-life. |
mergeSimilarity | 0.7 | Near-duplicate merge threshold. |
protocolSection | true | Inject the memory protocol prompt section. |