KLRSL/dsh-memory-layer ↗★ 6

dsh-memory-layer

基于本地 SQLite 的跨会话记忆层插件 适合需要跨会话长期记忆、触发式召回及本地数据隐私保护的用户。

套件
dsh-memory-layer
相容性
待驗證
Harness 依賴範圍
>=0.1.1-rc.2
Cordis 依賴範圍
^4.0.2
版本
0.10.0
授權
MIT
最近更新
2026年10月5日

安裝

$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查询返回上限