AstroLiao/dsh-memory-core

DeepSeek Harness cross-session long-term memory + user profile plugin: the AI remembers who you are, your projects and preferences across sessions. Pure Markdown, zero-config, fully local. (monorepo: dsh-memory-core + dsh-memory-ui)

Project Overview项目介绍

dsh-memory-core is a plugin monorepo for DeepSeek Harness, containing the core package @dsh-external/dsh-memory-core and the management panel @dsh-external/dsh-memory-ui. It delivers long-term memory, short-term notes, and user profiles across sessions via seven tools and automatic context injection, letting the AI recall user identity, projects, and preferences. Use it when you need the AI to maintain continuity across sessions. Storage is plain local Markdown with zero configuration and no external dependencies. Note: it targets DSH only, and recall ranks by topic relevance rather than semantic search.

dsh-memory-core 是 DeepSeek Harness 的记忆插件 monorepo,包含核心包 @dsh-external/dsh-memory-core 与管理面板 @dsh-external/dsh-memory-ui。它提供跨会话长期记忆、短期笔记与用户画像三合一能力,通过 7 个工具和自动上下文注入,让 AI 记住用户身份、项目与偏好。适用于希望 AI 跨会话延续上下文的场景,纯 Markdown 本地存储,零配置、零外部依赖。需注意:仅限 DSH 环境使用,记忆按话题相关性排序而非语义检索。

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

CLI Install命令行安装

dsh plugin --profile web add github:AstroLiao/dsh-memory-core

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

READMEREADME

dsh-memory-core

让 DeepSeek Harness 拥有跨会话长期记忆 + 用户画像 —— AI 自动记住你是谁、你的项目和偏好,新会话直接带上背景。纯 Markdown 本地存储,零配置、零外部依赖、数据完全留在本机。

Long-term memory & user profile for DeepSeek Harness: the AI remembers who you are, your projects and preferences across sessions — zero-config, fully local, human-readable Markdown.

这是什么

一个 DeepSeek Harness (DSH) 的 monorepo,包含两个插件:

说明 平台
@dsh-external/dsh-memory-core 跨会话长期记忆 + 用户画像核心:7 个工具 + 自动上下文注入 Host
@dsh-external/dsh-memory-ui 设置页"记忆"管理面板:浏览 / 编辑记忆、画像、会话笔记 Host + Client

特性

  • 🧠 长期记忆 + 短期笔记 + 用户画像,三合一,跨会话无感
  • 零配置、零外部依赖,装进 DSH 即可用,不连向量库、不连外部服务
  • 📝 纯 Markdown 存储,数据人类可读、可审计、可手动编辑
  • 🔌 自动上下文注入:每个会话 / agent preset / 子代理自动带上"记忆与画像"块,按话题相关性排序
  • 🔒 隐私优先:数据完全留在本机,不上传云端

快速开始

仓库结构

dsh-memory-core/
├── core/                 # @dsh-external/dsh-memory-core(核心)
│   ├── lib/index.js      # 7 个工具 + 画像 + 自动注入
│   ├── cordis.patch.yml  # bundle patch
│   └── README.md
└── ui/                   # @dsh-external/dsh-memory-ui(管理面板)
    ├── lib/index.js      # host 半区:webServer JSON API
    ├── lib/client.js     # client 半区:设置页 React 面板
    └── README.md

License

MIT

上一个 Prev dsh-plugin-effort-declare 下一个 Next dsh-qr-share