KLRSL/dsh-memory-layer ↗★ 6

dsh-memory-layer

cross-session memory for DeepSeek Harness v0.10.0:记忆层(触发式召回 · 类型优先级 · 五条清理规则 · 工作流链 · 纯本地单文件 SQLite)。 适合需要跨会话长期记忆、触发式召回及本地数据隐私保护的用户。

Package
dsh-memory-layer
Compatibility
Unverified
Harness peer range
>=0.1.1-rc.2
Cordis peer range
^4.0.2
Version
0.10.0
License
MIT
Last updated
Oct 5, 2026

Install

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

配置

~/.dsh/biomemory/biomemory.config.json(或 bundle config)可覆盖:

键默认说明
nearDuplicateThreshold0.7写入去重的相似度阈值(0=关闭)
nearDuplicateActionmerge命中近重复时合并 / skip 只提示
approvalFallbackdeny审批不可用时拒绝 / auto 自动保存
decayThreshold3状态页"低权重待处理"的阈值
hotTokenLimit5000冻结快照注入的 token 上限
maxQueryResults20查询返回上限