dsh-memory
Cross-session long-term memory for DeepSeek Harness: a schema-validated memory domain over ctx.storage plus model-facing remember/recall/index/forget tools and a memory protocol prompt section. 核心用途是让 AI 记住用户的长期偏好和纠错经验。适合需要跨会话保持上下文一致性的用户。需要存储相关基础插件支持。
Other repositories with this package name
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full 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). |
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. |