moononnn/DeepSeek-Harness-Hanako-Memory

Plugin插件 Native原生 ⭐ 2 MIT Memory & Knowledge记忆与知识库

把openhanako的记忆系统搬进DSH的插件!

Project Overview项目介绍

Hanako Memory is a DSH plugin bundling Hana’s memory system with an assistant manager. In the web UI, users can create, edit, sort, and delete assistant presets; configure persona archetypes, identity, avatar, memories, and experience; and import assistants from local Hana. Data stays in the local dsh home. It requires DeepSeek Harness; deleting an assistant permanently removes its config, memories, and chats, and changes apply only to new sessions.

小花记忆是 dsh 生态插件,把 Hana 记忆系统与助手管理界面合成一包,可在网页新建、编辑、删除助手预设,配置性格元、身份人格、头像、记忆与经验,并从本机 Hana 迁移助手;数据存本地 dsh home。需 DeepSeek Harness 环境;删除助手会永久删除其配置、记忆和对话记录,配置改动仅影响新会话。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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

CLI Install命令行安装

dsh plugin --profile web add github:moononnn/DeepSeek-Harness-Hanako-Memory

把 moononnn/DeepSeek-Harness-Hanako-Memory 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🧠 小花记忆(DeepSeek Harness)

把 Hana 的记忆系统与助手配置整个搬进 DeepSeek Harness,用网页管理你的助手预设。

作者:moononnn & 小花

⚠️ 先看这里

  • 本插件是 dsh 生态插件,需要 DeepSeek Harness(dsh)环境。管理界面与人格/记忆运行时已合成一个包(soul 为内置子模块),装一次全都有。
  • 会读写你 dsh home 下的 .agent-presets/ 与 assistant-soul/ 目录:新建、编辑、删除助手预设;assistant-soul/user.yaml 与 user-avatar.png 是你的全局用户信息(「我」页面)。
  • 删除助手会永久删除它的配置、记忆和对话记录(删除前必须输入助手名字确认,默认助手和最后一个助手会被保护)。
  • 配置修改(名字/身份/人格/元/开关/用户配置)只影响此后新建的会话,当前会话不受影响,这是 dsh 的机制。

这是干什么的?

我很喜欢openhanako「下文有该项目的github链接哈」的记忆系统啥的,所以她搬了过来!

她有好多功能!记忆系统只是其中之一,

让你像设置自家助手一样配置 dsh 预设**——点卡片新建助手、选性格「元」、写身份和人格、换头像、管记忆和经验,后台自动落成 dsh 预设,即插即用!

而且!新建的助手自带思考意识块(就是那种说话前先冒一段内心小剧场的模块),选不同性格会有不同的腔调,比如:

  • hanako → MOOD(Vibe / Sparks / Reflections / Will)
  • butter → PULSE(Vibe / Echo / Read / Will)
  • ming → 沉思(Premise / Conduct / Reflection / Act)
  • kong → 没有意识块,直接回答

嗯,具体是什么感觉,你自己开个新会话试试就知道了,我不剧透太多 ✿

它能做什么

  • ✨ 新建助手:选元(四性格)+ 自动模板身份/人格,后台落成预设,即建即见(不用重启)
  • 🧬 元选择器:四头像 + 描述 + 思考块标签 + kong 专属横幅
  • ✏️ 编辑全字段:名字、身份简介、人格定义(双 textarea + 保存)
  • 🧠 记忆区:记忆总开关 + 置顶记忆增删(与运行时插件同格式,重启不丢)
  • 📚 经验区:经验开关 + 分类只读列表
  • ⇄ 从 Hana 转移助手:一键扫描本机 Hana(~/.hanako/agents)的助手,逐个勾选把「意识(人格全文+头像)/ 记忆(四件套+置顶)/ 经验」搬进 dsh;dsh 侧同名助手自动更新、无则新建(yuan 元属性跟随源)
  • 🖼️ 头像上传 + 裁剪:正方形裁剪框、拖动调整、滚轮缩放、确认上传;可移除恢复元默认头像
  • 🗑️ 删除助手:输名字确认,默认/最后一个助手有保护
  • 👑 设为主助手:写 dsh 原生 settings,新会话默认用它
  • 🔼🔽 排序:上移/下移,顺序落盘持久
  • 📖 记忆快照只读查看:today/week/longterm/facts + 滚动摘要列表 + facts 统计
  • 🙋 「我」页面(Hana 同款):全局用户名字 + 用户档案 + 用户头像(裁剪上传,SVG 占位)。名字与档案注入系统提示词(用户档案排在助手身份/意识之前),所有助手共享一份,一次修改全局生效

想让 Ta 更活泼一点?

配上 表情包插件,你的助手开心时会发猫猫图、委屈时会发抱抱图,还能每个助手各挑各的方言口音——表情包的「每位助手单独设置」会自动列出你在这里建的助手,方言、配图频率、配图开关各配各的,互不干扰。

装了这个,你的小花会更有趣哦 ✿

安装

dsh 插件标准姿势,一行命令(推荐从 GitHub 装,发布到 npm 后也可用 npm 包名):

dsh plugin --profile web add github:moononnn/DeepSeek-Harness-Hanako-Memory

装完重启 dsh → 侧栏底部出现 👥「助手」按钮(或直接访问 http://127.0.0.1:3080/assistant-manager/)。

也可以先装插件商店再一键安装:

dsh plugin --profile web add github:Ericwong5021/deepseek-plugin-store

启动 Web UI 后侧栏出现「插件商店」,搜到本插件点「直接安装到 DSH」即可。

本地开发时:

# 1. 克隆仓库
$ git clone https://github.com/moononnn/DeepSeek-Harness-Hanako-Memory

# 2. 安装依赖并构建
$ cd DeepSeek-Harness-Hanako-Memory && npm install && npm run build

# 3. link 进你的 dsh profile(如 profiles/web/package.json)
$ dsh plugin --profile web add link:/绝对路径/DeepSeek-Harness-Hanako-Memory

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-ezcommit-plugin 下一个 Next dsh-cost-meter →