记忆与上下文dsh-plugin

hme-plugin

HME(Harness-Memory-Evolution)是 DeepSeek Harness 的跨会话长期记忆插件。包含 USER、MEMORY 和 archive 三层结构,支持 recall 关键词检索、TTL 到期与价值分层,以及启动横幅和 hme-status 工具/命令。当前版本 v0.5.1;包名 @yinging/dsh-hme。

Stars
2
Forks
0
Open Issues
0
最近 Push
2026年8月17日
最新版本
—
24h Growth
+0
7d Growth
+0

安装

dsh plugin --profile web add github:weopenfire-git/hme-plugin

概览

HME(Harness-Memory-Evolution)是 DeepSeek Harness 的跨会话长期记忆插件。包含 USER、MEMORY 和 archive 三层结构,支持 recall 关键词检索、TTL 到期与价值分层,以及启动横幅和 hme-status 工具/命令。当前版本 v0.5.1;包名 @yinging/dsh-hme。

  • 跨会话长期记忆:让 DeepSeek Harness 的 Agent 记住身份、项目约定和踩过的坑。
  • 三层记忆结构:USER + MEMORY 核心层,加 archive 档案层。
  • 核心记忆有界,archive 扩容;archive 按主题分文件并支持标签覆盖。
  • recall 关键词检索档案记忆。
  • TTL 到期与价值分层:V1 永不过期,V2 默认 365d,V3 默认 90d,规则可自定义。
  • 启动横幅与状态仪表盘;hme-status 工具和 /hme-status 命令查看版本、记忆容量、档案统计与规则。
  • 写入带 [v:N] 价值标记;模型主动写经验,配合 4 条蒸馏判据。
  • 安装支持 dsh plugin add github:weopenfire-git/hme-plugin 或 npm @yinging/dsh-hme,并在 cordis.patch.yml 添加 host 配置。

相关插件