Yansera/dsh-living-memoir ↗★ 2

@yansera/dsh-living-memoir

Long-term memory for DeepSeek Harness: a short, categorized Markdown living document that gets rewritten instead of appended to, with a dedicated Web GUI page. 适合需要自动提炼、改写并持久化保存长期记忆的对话任务。

パッケージ
@yansera/dsh-living-memoir
互換性
未検証
Harness ピア範囲
>=0.2.0-rc.2 <0.3.0
Cordis ピア範囲
^4.0.1
バージョン
1.0.0
ライセンス
MIT
最終更新
2026/10/09

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Yansera/dsh-living-memoir

ドキュメント

README 全文を読む ↗

🔧 配置

部署级配置走 cordis.patch.yml:

- id: memoir
  name: '@yansera/dsh-living-memoir'
  config:
    memoryDir: ''              # 留空 = $DSH_HOME/memoir
    injectIndex: true          # 是否把记忆目录注入系统提示词
    maxInjectEntries: 12       # 最多注入几条
    autoDistill: true          # 每轮结束自动改写
    distillDebounceMs: 20000   # 改写前的安静等待(毫秒)
    distillMinChars: 400       # 少于这么多字符就跳过
    distillMaxItems: 60        # 整本条目上限
    distillMaxTokens: 8000     # 输出预算下限,会按记忆规模自动往上抬
    distillReasoningEffort: off # 改写不需要推理
    memoryLanguage: ''         # 记忆内容语言;留空 = 不限制
    pageEntryLimit: 12         # 单类超过这么多条触发强制整理
    bookEntryLimit: 40         # 整本超过这么多条触发强制整理

改完要重启,跟代码改动一样。