dsh-memory
Long-term memory for DeepSeek Harness agents: user preferences, project facts, session summaries, and knowledge entries, with auto-injection at session start.
AI 분석
为 Agent 提供用户偏好、项目事实、会话总结和知识条目的长期记忆存储与自动注入。适合需要 AI 保持跨会话上下文记忆的个性化任务。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yangyongzhen/dsh-memory配置
在 profile 的 cordis.patch.yml(或 --patch 覆盖)中配置:
- id: memory
config:
enabled: true
root: C:/Users//.dsh/memory # 可选;默认 $DSH_HOME/memory(支持 ~ 前缀)
maxBytes: 4000 # 注入预算(UTF-8 字节),默认 4000
maxEntryBytes: 512 # 注入时单条内容上限,默认 512
injectOnStart: true # 会话开始自动注入,默认 true
searchLimit: 20 # memory_search 默认返回上限,默认 20