MengXinSu/dsh-viya-memory ↗★ 1
viya-memory
本地长期记忆 for DeepSeek Harness:卡片以 Markdown 存在你自己的 Obsidian vault 里,提供 save/search/read/update/link/forget/stats 七个工具 · Local long-term memory as plain Markdown cards in your own Obsidian vault. 适合需要将AI记忆以Markdown卡片形式保存在本地知识库的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MengXinSu/dsh-viya-memoryREADME
Read the full README ↗配置
在 profile 的 cordis.patch.yml 里:
- id: viya-memory
name: viya-memory
config:
# 必填:你的 Obsidian vault 绝对路径
library: '/home/you/Obsidian/MyVault' # Windows: 'D:\Obsidian\MyVault'
| 键 | 默认 | 说明 |
|---|---|---|
library | (必填) | vault 绝对路径 |
userFile | /user.md | 常驻 system prompt 的那份文件 |
softLimit | 1000 | 正文软限(字),超了只提示、不拦 |
hardLimit | 4000 | 正文硬限(字),超了报错 |
searchBudget | 2000 | 检索结果总字符预算,超出的条目降级为截短摘要 |
sensitiveScan | true | 写入前扫描密钥特征 |