BangBang-03/dsh-memory ↗★ 0

dsh-memory

DSH 工作区长期记忆:会话开始注入记忆摘要、memory 工具按需读写、轮次结束自动提炼,设置面板里可查看与管理。 适合需要跨会话保持项目背景、让模型记住长期设定和知识的用户。

패키지
dsh-memory
호환성
미검증
Harness peer 범위
*
Cordis peer 범위
^4.0.4
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 10.

같은 패키지 이름의 다른 저장소

설치

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

配置

面板里能改的都落在 ~/.dsh/storages/dsh-memory/settings.json;cordis.patch.yml 里的 config 只是初值。

键默认说明
enabledtrue总开关
directory""数据库位置,空 = ~/.dsh/storages/dsh-memory
mirrortrue在工作区写 .dsh-memory/MEMORY.md
briefingtrue会话开始注入摘要
briefingLimit12注入条数上限(1–50)
briefingMaxChars2000注入字数上限(200–20000)
sectionOrder550注入段落在系统提示里的位置
autoCapturefalse轮次结束自动提炼
autoCaptureMinChars600太短的轮次不提炼
captureCooldownMs60000两次提炼的最小间隔
minConfidence0.4提炼结果的最低置信度
maxPerTurn5每次最多落库条数
maxTranscriptChars6000送给模型的对白摘录上限
dedupetrue保存时合并相似记忆