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+.
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:pzh-xsj/dsh-memory-with-soul說明文件
閱讀完整 README ↗配置
装完后在 profile 的 cordis.patch.yml 里覆盖 memory-inject 那一行的 config(整行覆盖,不深合并):
| 键 | 默认 | 作用 |
|---|---|---|
enabled | true | false 关掉插件 |
python | ["python","python3","py"] | 候选解释器,按顺序试;含路径分隔符的按绝对路径检查 |
renderer | 空 | 渲染器路径,留空自动找 core/render.py |
harness | dsh | 环境变量 MEMORY_HARNESS 的值,只影响日志与注入头 |
agentName | 空 | 直接指定 agent id,留空按 config.defaultAgent |
timeoutMs | 10000 | 渲染器超时(毫秒) |
injectSubagents | false | 子 agent 也注入(每份记忆都是实付 token,默认省) |
trackAccess | true | 记录读过哪些记忆文件 |
digest | true | 回合结束判断要不要提醒提炼 |
installSkills | true | 加载时把 skills/ 复制进 ~/.dsh/skills/ |
webUi | true | 挂内置设置页(/api/memory/ui) |
cwd | 包根 | 渲染器工作目录,只影响相对路径解析 |