SMPcosy/dsh-memnexus ↗★ 0

dsh-memnexus

统一长期记忆中枢:本地持久记忆 + L0~L3 分层蒸馏 + 上下文压缩结构化摘要 + Hindsight 桥接 + 可视化记忆管理面板。 · Unified long-term memory for DeepSeek Harness.

패키지
dsh-memnexus
호환성
미검증
버전
0.0.4
라이선스
MIT
최근 업데이트
2026. 11. 1.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SMPcosy/dsh-memnexus

配置项(面板「设置」或 config.json)

键默认说明
autoCapturetrue每轮结束写 L0 摘要
autoRecalltrue每步前注入相关记忆
autoDistilltrue自动跑 L0→L3 蒸馏
captureMinChars60一轮内容太短不沉淀
distillEvery8攒够多少条 L0 触发蒸馏
distillDepth2蒸馏层数 1/2/3:1=只到 L1 事实,2=再加 L2 场景,3=再加 L3 画像
llmTimeoutMs120000单次蒸馏调用的超时(本地 27B 上 L1 一次可能要 5 分钟)
recallLimit / recallMaxChars8 / 1400召回条数与字符预算
modelProvider / modelId空指定蒸馏模型,空=跟随默认模型
hindsight.enabledfalse启用 Hindsight 桥接
hindsight.apiUrl / apiToken / bank空Hindsight 服务地址 / token / bank(bank 留空自动识别)
hindsight.pullOnStartfalse启动时自动拉取