Culeot/dsh-agent-memory4

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.

AI Analysis

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

Package
dsh-agent-memory
Version
0.8.0
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.