ZyxQl-Ala/dsh-decay-memory ↗★ 0
dsh-decay-memory
Decay-based agent memory for DeepSeek Harness: entries gain weight when mentioned, fade and shrink when forgotten (200-day half-life by default), and pinned entries never decay. Ships with a settings panel inside DSH Settings.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZyxQl-Ala/dsh-decay-memory說明文件
閱讀完整 README ↗配置
{
"halfLifeDays": 200, // 半衰期(天);调小 = 忘得更快
"fadeBelow": 0.5, // 低于这个强度开始「渐淡」
"dropBelow": 0.06, // 低于这个强度真正删除
"maxEntries": 24, // 最多保留多少条(按最弱淘汰)
"promptMaxEntries": 12, // 每轮最多注入几条
"promptMaxChars": 2000, // 注入正文上限
"promptEnabled": true,
"stateFile": "" // 默认 $DSH_HOME/decay-memory/memory.json
}