KikaiLastest/dsh-memory-core ↗★ 0

dsh-memory-core

Memory recall + affect state for DeepSeek Harness: BM25-lite recall with source markers, consolidation to structured memory, and a two-scalar affect state. 适合需要基于BM25算法进行记忆召回,并记录Agent情感状态的开发者。

Package
dsh-memory-core
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Oct 19, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KikaiLastest/dsh-memory-core

配置

cordis.patch.yml(整行替换,没写的字段走默认):

- insert:
    - id: dsh-memory-core
      name: dsh-memory-core
      config:
        memoryRoot: "D:\\path\\to\\memory"     # 档案根(身份/日记/生长/记忆)
        dialogueFile: "D:\\path\\对话记录.md"  # 逐轮对话日志
        logFile: "D:\\path\\recall.log"        # 召回日志
        stateFile: "D:\\path\\affect\\state.json"
        topK: 3
        timeoutMs: 150
        minCoverage: 0.2
        minRatio: 0.3
        enableStable: true