Skip to content
Plugin

dsh-rofm

wall1234567131Updated yesterday

Open on GitHub

DSH 长期记忆插件:上下文超过阈值时把最早的一段对话归档到 memory/ 回忆文件夹,之后按关键词与重要度概率自动回忆。Host-only, zero-dependency memory engine for DeepSeek Harness.

Practical score

81 / 100

Setup

Ready to use

License

MIT

Language

JavaScript

Install

Quick start

Copy the command, or hand the whole task to your harness agent.

git clone https://github.com/wall1234567/dsh-rofm.git
Install with your agent

Please install the DeepSeek Harness plugin "dsh-rofm" for me. - GitHub repository: wall1234567/dsh-rofm (https://github.com/wall1234567/dsh-rofm) - Type: a Cordis plugin (installed into a DSH profile) - It should work out of the box with no extra configuration…

From the README

A cleaned excerpt from the project's own documentation.

dsh-rofm · DSH 长期记忆 / 记忆回忆插件 给 DeepSeek Harness 加一套 长期记忆 : 上下文超过阈值时,把最早的一段对话 纯确定性 地归档成 memory/ 下的多个“回忆文件夹”; 之后用户开口时,按关键词命中 + 确定性优先级 α + 公平车道(FAIR-DRI) 把相关回忆加回上下文。 α、β 与关键词由 当前会话模型结合当前语境 调用 memory judge 工具给出(归档本身不调用模型); 未评分的记忆不会参与回忆。注入的回忆块带 β 使用规则,重启后按 v3 快照 恢复。 回忆块注入在 系统提示词区块 里(v1.1 形态;v1.2 曾试验“最早历史消息”,已按用户要求 回退 )。 v1.2 另增 memory recall (模型主动按关键词回忆)与 memory image (按关键词/记忆 id/文件名找归档图片文件)。 v1.4.2 再增 memory group recall : QQ 私聊主人 可只读查询 群聊 历史记忆(私聊→群聊允许、群聊→任何禁止,见 §3.2.10)。 v1.4.3 修复了 QQ 渠道下「记忆评分任务」摘要显示原始 JSON 而不是对话正文、导致模型普遍打低 α 的缺陷 (新增模型可读渲染层,原地渲染、无需迁移,见下方 v1.4.3 说明)。 v1.4.4 修复了评分摘要/复核原文等模型可见文本按 UTF-16 码元截断可能切断 emoji 代理对 → 请求体出现孤立代理项转义 → DeepSeek Messages 接口 400、会话永久卡死的缺陷 (所有截断改为代理对安全 + 系统提示词/工具结果边界 U+FFFD 清洗;无需迁移,见下方 v1.4.4 说明)。 归档中的图片存入每会话的 images/ ;回忆时块里显示图片的 文件路径 (不重新上传附件), 模型用 read image 读取。 v1.2 把单次归档上限提高到 500 个文件夹、“记忆评分任务”每轮最多列 100 条待评分 + 100 条待复核 ; 文件夹标题优先取用户消息并在同一次归档内自动去重;多次归档的 checkpoint 注记合并为一条 (N = 累计归档段数),归档不再把宿主会重新注入的 pinned 上下文写进注记;新增 tools/selfcheck.mjs 独立自检工具(见 §7)。 v1.4.4(补丁:…

Open on GitHub

Project details

by
wall1234567
License
MIT
stars
13
Forks
1
Updated
Nov 10, 2026
Created
Oct 25, 2026
Language
JavaScript
Indexed from
topic
Visit homepage

Related entries

Similar tools from the same corner of the ecosystem.

View all
Plugin

dsh-hermes-memory

isheng-eqi

Hermes-style persistent memory (MEMORY.md / USER.md) for DeepSeek Harness (DSH) — a faithful port of hermes-agent MemoryStore: bounded, file-backed, model-curated, frozen-snapshot injection.

agent-memoryai-agentcordis
14Ready to use
80/100
Plugin

dsh-flymemory

aujurd22

Structural long-term memory for DeepSeek Harness: supersede/decay/entity-state store, 15 MCP memory tools, automatic recall, bounded context band

agent-memorydeepseek-harnessdsh
3Ready to use
79/100
Plugin

dsh-fish-memory

Yuuyuko-uu

🐋 DSH 鱼的记忆:给会话一份会淡忘的长期记忆,每条都带时间。名字里的「鱼」来自 DeepSeek 的鲸鱼。

ai-companiondeepseek-harnessdsh-plugin
510Ready to use
88/100