SiriusWJ/dsh-lite-memory

插件Plugin 原生Native ⭐ 2 BSD-3-Clause cat_label.deepseek-harnesscat_label.deepseek-harness

DSH 简化版记忆插件:SQLite 条目化记忆(标题/重要程度/来源/内容,增删改查)+ 日历与到点提醒(月视图+时间轴+待执行/已完成双tab),对话面板记忆 tab 与设置二级菜单,中英双语自动跟随。

项目介绍Project Overview

dsh-lite-memory 是 DSH 轻量记忆插件,用 SQLite 条目化存储标题、内容、重要度、来源与时间,提供 memory_recall、memory_entry 检索和增删改查,并支持日历事项、到点提醒投递到会话,附带记忆面板与日历设置页。适合需要持久记录和提醒时使用;旧版 MEMORY.md、calendar.json 不再读写。

dsh-lite-memory is a lightweight DSH memory plugin. It stores titled memory entries in SQLite with content, importance, source, and timestamps, and provides tools for keyword recall plus entry create, update, query, and delete. It also adds calendar events and timed reminders delivered to registered sessions, with memory and calendar UI panels. Use it for persistent notes and reminders; legacy MEMORY.md and calendar.json files are no longer read or written.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add github:SiriusWJ/dsh-lite-memory

SiriusWJ/dsh-lite-memory 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-lite-memory — DSH 简化版记忆插件

参考 dsh-auto-memory 裁剪的轻量记忆插件:

  • 条目化记忆(SQLite ~/.dsh/memory/memory.db):每条记忆含标题 / 内容 / 重要程度(高·中·低)/ 来源(工作区-会话)/ 创建更新时间,按条目增删改查
  • 记忆工具memory_recall(关键词检索条目)/ memory_entry(条目增删改查)
  • 日历与提醒calendar_add / calendar_list / calendar_done / calendar_remove;到点后通过 agent.followup 把提醒投递到注册会话(会话被移除则新建会话投递)
  • 对话面板「记忆」tab:条目化记忆面板(卡片列表 + 新增/编辑/删除,重要程度色标、来源角标)
  • 设置页「记忆」分区:二级菜单(记忆 / 日历)——日历为月视图 + 当天 07:00-22:00 时间轴 + 浮层编辑,面板下方「待执行」「已完成」双 tab 纵向列表
  • 中英双语:跟随 DSH 设置的语言,无手动外观设置、默认字号

安装

cd ~/.dsh/profiles/web
pnpm add dsh-lite-memory
# 或 npm install dsh-lite-memory

然后在 package.jsondsh.profile.bundles 数组追加 "dsh-lite-memory",重启 dsh web 生效。

存储

数据 位置
记忆条目 ~/.dsh/memory/memory.db(表 entries
日历事项 ~/.dsh/memory/memory.db(表 calendar

旧版 MEMORY.md / calendar.json 数据不再读写。

License

BSD-3-Clause

上一个 Prev dsh-plugin-midscene 下一个 Next dsh-feishu-bridge