dsh-memory-layer
cross-session memory for DeepSeek Harness v0.10.0:记忆层(触发式召回 · 类型优先级 · 五条清理规则 · 工作流链 · 纯本地单文件 SQLite)。 适合需要跨会话长期记忆、触发式召回及本地数据隐私保护的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KLRSL/dsh-memory-layerドキュメント
README 全文を読む ↗配置
~/.dsh/biomemory/biomemory.config.json(或 bundle config)可覆盖:
| 键 | 默认 | 说明 |
|---|---|---|
nearDuplicateThreshold | 0.7 | 写入去重的相似度阈值(0=关闭) |
nearDuplicateAction | merge | 命中近重复时合并 / skip 只提示 |
approvalFallback | deny | 审批不可用时拒绝 / auto 自动保存 |
decayThreshold | 3 | 状态页"低权重待处理"的阈值 |
hotTokenLimit | 5000 | 冻结快照注入的 token 上限 |
maxQueryResults | 20 | 查询返回上限 |