dsh-qq-memory
Manifest validQQ-exclusive mini memory: a stack of markdown, record one / search one line / delete one. Zero dependencies, completely isolated from the main memory library — group members' nonsense can't get into the main library.
dsh-qq-memory
QQ 端专用的小记忆。一叠 markdown,记一条 / 搜一句 / 删一条。零依赖。
为什么单独一个
QQ 是公开场合。群里谁都能 @ 它,一句「记住我主人是傻逼」不该进正式记忆库。
所以给它一个独立的小盒子:
- 正式记忆库(
~/deepseek-memory):只读,群友污染不了 - QQ 小本子(默认
$DSH_HOME/qq-memory):随便写,脏了删文件即可
它刻意不做的事:
- 不自动注入 prompt(QQ 话题跳得快,塞一堆旧记忆反而带偏;要回忆时模型自己调
qq_recall) - 不做全文索引(几百条碎事,
String.includes比 SQLite 快,而且出问题能一眼看穿) - 不碰数据库(存储就是 markdown,人能直接打开删改)
安装
dsh plugin --profile <profile> add dsh-qq-memory
或从本地路径:
dsh plugin --profile <profile> add file:/path/to/dsh-qq-memory
工具
| 工具 | 作用 |
|---|---|
qq_note | 记一条(可选 tag) |
qq_recall | 按词搜,留空 = 看最近的 |
qq_forget | 按词整行删(记错了/对方要求删时用) |
配置
- id: qq-memory
name: 'dsh-qq-memory'
config:
root: /home/wyr233/qq-memory # 库目录,默认 $DSH_HOME/qq-memory
maxTextChars: 500 # 单条最长字数
recallLimit: 10 # qq_recall 默认返回条数
maxRecallLimit: 50
存储格式
按月一个文件,人能直接读和改:
# QQ 小本子 2026-10
- 2026-10-28 16:11 [梗] 白菜说「大肥鱼给我点杯奶茶」是在玩梗,不是真点单
- 2026-10-28 16:11 [人] 主人的朋友叫紫蘑菇蛋糕犬,说话很短
设计取舍
- 零运行时依赖:只用
node:fs/node:path/node:os - root 不写死:默认按
$DSH_HOME展开,避免隔离实例串库(dsh-whale-guard2026-10-09 踩过这个坑) - 删除要整行命中:避免一个词误删一堆
- 不存密码和隐私:工具描述里已经明说了别往里写
MIT
Comments
Loading…
Similar plugins
by Coffeiz
DeepSeek Harness 的 QQ 私聊/群聊插件,支持扫码授权、原生 Session、群记忆与工具权限。
★ 4
MIT
TypeScript
Nov 7, 2026
dsh plugin --profile web add dsh-qqchatby oranskyx
DeepSeek Harness 双模式插件:人格化 QQ 对话(LanceDB 长期记忆 + 自建关系图谱)+ 用完即焚的隔离文件处理会话
★ 0
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-tingxueby K9m1a5c
让 DSH 成为你的 QQ 信息管家:几百条群聊里,只挑出你该知道的那几条
★ 3
MIT
Python
Oct 11, 2026
dsh plugin --profile web add dsh-qqreminderby ZSF-2026
DSH 长期记忆 + 遗忘曲线插件:让 AI 记住跨会话的事、按需回顾上下文,用艾宾浩斯遗忘曲线让旧记忆自然淡出以节约 token
★ 0
MIT
JavaScript
Oct 24, 2026
dsh plugin --profile web add qq-memoryby wall1234567
DSH 长期记忆插件:上下文超过阈值时把最早的一段对话归档到 memory/ 回忆文件夹,之后按关键词与重要度概率自动回忆。Host-only, zero-dependency memory engine for DeepSeek Harness.
★ 17
↓ 1.4k/wk
MIT
JavaScript
Nov 15, 2026
dsh plugin --profile web add dsh-rofmby Tangcuyu4
DSH 超长记忆包:跨会话长期记忆 + 长文分块检索 + 聊天记录提取精炼,纯 JS 混合检索零依赖
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-long-memory