weopenfire-git/hme-plugin ↗★ 1
@yinging/dsh-hme
Harness-Memory-Evolution (HME): cross-session long-term memory for DeepSeek Harness — bounded core memory plus a searchable archive overflow layer.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗HME — 给 DeepSeek 装上大脑
DeepSeek Harness 很强,但有个硬伤:会话结束,记忆清零 ,下次从头再来。
HME(Harness-Memory-Evolution)就是来治这个的。
鲸宝的三重记忆
- 你是谁 —— 你的身份、偏好、习惯,跨项目记住你这个人。
- 这个项目是什么 —— 每个项目不可替代的技术栈、约定、核心要点。
- 你踩过的所有坑 —— 优秀经验、核心方法论,只要真有用,就往里记。
但它不臃肿。核心记忆用有界上限锁死、只留精华;海量经验沉进档案层,按需检索、满时提醒清理——就像 CPU 的多级缓存:小而快的常驻,大而全的按需取。
借鉴 Codex、Claude Code、OpenClaw、Hermes Agent 等成熟记忆系统的优点,让鲸宝不会失忆,也不会被杂事烦扰。
和别家比,赢在哪
| 维度 | Codex CLI | Claude Code | OpenClaw | HME |
|---|---|---|---|---|
| 记忆结构 | MEMORY + USER 两文件 | CLAUDE.md + skills | 分层记忆 | USER + MEMORY + archive 三层 |
| 防膨胀 | 硬上限(拒绝式) | 无上限 | 向量库 | 有界 core + 扩容 archive |
| 检索 | 无(全量注入) | skills 按需 | 向量检索 | recall 关键词检索 |
| 经验进去 | 模型主动写 | 人类手写 | 自动 | 模型主动写 + 4 条蒸馏判据 |
| 可审计 | 纯文本 | 纯文本 | 结构化/黑盒 | 纯文本 § 分隔 |
30 秒装上
从 GitHub 装(推荐,立即可用):
dsh plugin --profile web add github:weopenfire-git/hme-plugin
或从 npm 装(发布后可用):
dsh plugin --profile web add @ymw/dsh-hme
然后补一行加载配置
打开 profile 的 `cordis.patch.yml`,加一条 host 行:
- insert:
- id: hme-plugin
name: '@ymw/dsh-hme' # npm 装用包名;GitHub 装改为 github:weopenfire-git/hme-plugin
config:
memoryCharLimit: 2584
userCharLimit: 1597
给你的 DeepSeek 装上大脑。
hme-plugin — Harness-Memory-Evolution
Give your DeepSeek a mind of its own.
DeepSeek Harness is formidable — yet it harbors one flaw: Preferences, conventions, hard-won lessons all evaporate, and the next session starts from blank.