dsh-workspace-memory

工作区级持久记忆,布局仿 Claude Code 的 auto-memory:一条记忆一个英文 slug 的 Markdown 文件,平铺在 MEMORY.md 索引旁,存放在 ~/.dsh/projects/ 下;检索是向量加关键词混合,三个触发点全自动(每轮注入索引、工具结果里按文件路径附提示、用户发消息时预取),低置信度的写入先进待确认队列,不会静默入库;跨项目偏好则按编号章节写进 ~/.dsh/AGENTS.md 并受字节预算约束。数据全部读写本地文件;可选的 leanvec 嵌入模型(约 85 MB,由随包脚本本地安装)负责语义召回,但只在进程内运行,插件本身不发起网络请求、不上报任何数据。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

插件介绍

工作区级持久记忆,布局仿 Claude Code 的 auto-memory:一条记忆一个英文 slug 的 Markdown 文件,平铺在 MEMORY.md 索引旁,存放在 ~/.dsh/projects/ 下;检索是向量加关键词混合,三个触发点全自动(每轮注入索引、工具结果里按文件路径附提示、用户发消息时预取),低置信度的写入先进待确认队列,不会静默入库;跨项目偏好则按编号章节写进 ~/.dsh/AGENTS.md 并受字节预算约束。数据全部读写本地文件;可选的 leanvec 嵌入模型(约 85 MB,由随包脚本本地安装)负责语义召回,但只在进程内运行,插件本身不发起网络请求、不上报任何数据。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装方式

通过 npm 安装

dsh plugin --profile web add @lovenndme/dsh-workspace-memory

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:Lovenndme/dsh-workspace-memory

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令