Alexis-ray/dsh-memory-lite ↗★ 0
dsh-memory-lite
工作区范围的本地Markdown持久化记忆 适合需要纯本地、无网络请求且不依赖模型自动调用的轻量记忆功能。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alexis-ray/dsh-memory-lite说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
vaultPath | /memory-vault (or %USERPROFILE%\.dsh\memory-vault when DSH_HOME is unset) | Root directory of the vault |
injectStanding | true | Inject the standing title index into the system prompt |
standingMaxItems | 8 | Max entries in the standing section (min 1) |
standingBudgetChars | 1200 | Character budget for the standing section (min 200) |
allowGlobalScope | true | Allow scope: global in memory_save |
redactSecrets | true | Reject writes whose body matches credential patterns (api_key, secret, password, token, private key blocks) |
maxFileBytes | 65536 | Max size of a single memory file (min 1024) |
autoSavePolicy | off | Whether to register a "write policy" system prompt section that nudges the agent to save notable facts proactively. hint enables the section; off registers nothing. |
Values are set through the plugin's config in cordis.patch.yml (either the file shipped with the plugin, or an id-targeted patch appended to your profile's cordis.patch.yml). Keys that are not written fall back to the schema defaults above.