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跨会话记住用户偏好、纠错经验和长期知识的用户。
同名パッケージの別リポジトリ
インストール
検証済み 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. |