dsh-agent-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. 适合需要Agent跨会话记住用户偏好、纠错经验和长期知识的用户。
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). |
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. |