@fonlan/dsh-gitmemo
基于 Git 的 DeepSeek Harness 长期记忆插件,提供自动管理的本地 .mem 仓库及搜索/读写工具。
AI 分析
核心用途是利用本地 Git 仓库为 Agent 提供无感知的长期记忆管理。适合需要跨会话保存项目上下文、支持版本回溯且无需手动干预记忆维护的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:fonlan/dsh-gitmemo说明文档
阅读完整 README ↗Configuration
The bundle patch ships with sensible defaults; override them in the profile's
cordis.patch.yml:
- id: dsh-gitmemo
config:
memDirName: .mem # memory repo directory name at the project root
searchLimit: 20 # max hits per mem_search call
branchAlign: true # .mem branch follows the project branch on write
recentContextLimit: 5 # recent memory titles injected into each new session's system prompt (0 disables)
projectRoot: null # optional explicit project root (defaults to the session cwd)