pzh-xsj/dsh-memory-with-soul ↗★ 0

dsh-memory-with-soul

Long-term memory library for DeepSeek Harness: injects <memory-context> at session start, records which memory files were read, and reminds you to extract conclusions. Markdown + git, role cards, settings UI. Requires Python 3.10+.

Package
dsh-memory-with-soul
Compatibility
Unverified
Version
0.7.0
License
MIT
Last updated
Oct 28, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pzh-xsj/dsh-memory-with-soul

配置

装完后在 profile 的 cordis.patch.yml 里覆盖 memory-inject 那一行的 config(整行覆盖,不深合并):

键默认作用
enabledtruefalse 关掉插件
python["python","python3","py"]候选解释器,按顺序试;含路径分隔符的按绝对路径检查
renderer空渲染器路径,留空自动找 core/render.py
harnessdsh环境变量 MEMORY_HARNESS 的值,只影响日志与注入头
agentName空直接指定 agent id,留空按 config.defaultAgent
timeoutMs10000渲染器超时(毫秒)
injectSubagentsfalse子 agent 也注入(每份记忆都是实付 token,默认省)
trackAccesstrue记录读过哪些记忆文件
digesttrue回合结束判断要不要提醒提炼
installSkillstrue加载时把 skills/ 复制进 ~/.dsh/skills/
webUitrue挂内置设置页(/api/memory/ui)
cwd包根渲染器工作目录,只影响相对路径解析