LiuJunheng/DeepSeekHarnessGreen--plugins-dsh-memory16

dsh-memory

提供SQLite引擎和UI的记忆库管理插件

AI 分析

适合需要自动记忆对话上下文、管理记忆库的长期对话任务。

包名
dsh-memory
版本
0.1.0
许可证
Apache-2.0
最近更新
2026年9月12日

安装

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

配置

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

- 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']
  memory:
    userMessage: true       # 用户消息自动 remember
    autoRecall: true        # 模型请求前自动注入最近 4 条记忆
    desensitize: true       # 写入前过滤 API 密钥/密码/手机号等敏感信息
    importance: 0.6         # 默认重要性
    autoRecallLimit: 4      # 自动召回条数