LiuJunheng/DeepSeekHarnessGreen--plugins-dsh-memory ↗★ 16

dsh-memory

祖宗记忆库记忆插件: 自研 SQLite 引擎 + MCP stdio 桥 + 自动记忆钩子 + 记忆库管理卡片 UI。零外部 Python 依赖, 可插拔。 适合需要零Python依赖、本地安全存储和管理Agent对话记忆的用户。

Package
dsh-memory
Compatibility
Unverified
Harness peer range
0.1.7-rc.2
Cordis peer range
4.0.4
Version
0.1.0
License
Apache-2.0
Last updated
Sep 25, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LiuJunheng/DeepSeekHarnessGreen#a8187a37695b8648ffc6a841520f37245bc53539&path:plugins/dsh-memory

配置

配置项在 cordis.patch.yml 的 config 字段,全部可选,空字符串走自动探测:

- id: dsh-memory
  name: dsh-memory
  config:
    # python: ''           # 自动探测 runtime/python/python/python.exe
    # moduleArgs: []       # 自动用 
/engine/zuzong_memory.py
    # dbPath: ''           # 自动用 DSH_HOME/memory/zuzong.db
  identity: '祖宗记忆库'
  tools: ['remember','recall','search','timeline','service_info','list_all','delete']
         # 默认这 7 个; 也可填 'core' (12 个核心工具) 或 'all' (全部, 含大脑模式)
  memory:
    autoRemember: false      # v4 总开关: 自动记录对话事件 (默认关闭, WebUI 开关可改)
    autoRecall: false        # v4 总开关: 自动注入记忆 (默认关闭, WebUI 开关可改)
    crossSessionRecall: false  # v3.1: 跨会话加载 (true = 召回时也读全局记忆)
    userMessage: true        # 用户消息纳入自动记录
    assistantMessage: true   # 助手消息纳入自动记录
    toolResult: false        # 工具结果纳入自动记录
    importance: 0.6          # 默认重要性
    autoRecallLimit: 6       # 自动召回条数
    desensitize: true        # 写入前过滤 API 密钥/密码/手机号等敏感信息
    useSummarize: true       # 写入前摘要压缩