Qinling-Melon-Farmers/dsh-memoir ↗★ 31

dsh-memoir

DeepSeek Harness (DSH) local-first cross-session project memory: bounded cache-friendly Hot Memory, BM25 recall/cache, provenance, lifecycle and bilingual Web GUI; no embeddings, external service or bundled runtime dependencies. 适合需要无嵌入、无外部依赖的轻量化项目记忆,并自动提炼关键事实的用户。

Package
dsh-memoir
Compatibility
Unverified
Harness peer range
>=0.2.0-rc.1 <0.3.0-0
Version
0.9.1
License
Apache-2.0
Last updated
Sep 30, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Qinling-Melon-Farmers/dsh-memoir

配置

以下字段都可写在 cordis.patch.yml 的 memoir config 中;除 enabled 外,也可从记忆面板或 Settings 设置卡即时修改并持久化。

字段默认值作用
enabledtrue工具、路由和 prompt 注入总开关
languagezhAgent 文案语言;0.8.2 为 zh / en,0.9.0 新增 de / ru;与 GUI 语言独立
announceToAgenttrue向 Agent 公告记忆工具与规则
autoDistilltrue启用顶层有效回合收尾提醒
autoDistillEvery1每 N 个 worked turn 最多提醒一次
autoDistillCooldownMin0两次成功提醒的最短分钟间隔
autoDistillMinTools1触发回合所需的最少工具调用数
hotMemoryTokens900Hot Memory 常规目标预算
hotMemoryMaxTokens1200任何会话都不能超过的硬上限
readDefaultLimit8memoir_read 默认结果数
readMaxLimit30单次召回实时上限
sessionSnapshotMax128内存快照 LRU 容量,不删除磁盘快照
queryCacheSize128BM25 查询 LRU 容量

缩小缓存容量会立即淘汰最旧项;已冻结会话不会因预算修改而重写,以维持 prompt 前缀稳定。“恢复启动配置”会删除 Web 覆盖并回到 profile 的启动值。