Back to home@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)

Stars
1
Language
JavaScript
Created
Sep 1, 2026
Updated
Sep 1, 2026
GitHub repo

Introduction

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