Alexis-ray/dsh-memory-lite ↗★ 0

dsh-memory-lite

工作区范围的本地Markdown持久化记忆 适合需要纯本地、无网络请求且不依赖模型自动调用的轻量记忆功能。

套件
dsh-memory-lite
相容性
待驗證
Harness 依賴範圍
0.2.1-rc.2
Cordis 依賴範圍
^4.0.5
版本
0.1.0
授權
MIT
最近更新
2026年10月21日

同名套件的其他儲存庫

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Alexis-ray/dsh-memory-lite

Configuration

KeyDefaultMeaning
vaultPath/memory-vault (or %USERPROFILE%\.dsh\memory-vault when DSH_HOME is unset)Root directory of the vault
injectStandingtrueInject the standing title index into the system prompt
standingMaxItems8Max entries in the standing section (min 1)
standingBudgetChars1200Character budget for the standing section (min 200)
allowGlobalScopetrueAllow scope: global in memory_save
redactSecretstrueReject writes whose body matches credential patterns (api_key, secret, password, token, private key blocks)
maxFileBytes65536Max size of a single memory file (min 1024)
autoSavePolicyoffWhether 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.