DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Memory Rollout — DSH Plugin for DeepSeek Harness
← Plugins
M

dsh-memory_rollout

Memory Rollout

Codex-style per-session memory for DeepSeek Harness: qualified sessions auto-distill into per-session drafts (rollout_summaries); manual add/change/forget runs only on explicit user request; layered disclosure (summary + registry); idempotent integration watermark. / 一会话一草稿记忆插件:合格会话自动提炼草稿;手动增/改/忘仅在显

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:Bionic-forest/dsh-memory_rollout#b96feb9342b3f4dc7c99bd773c25388ea9038e16
READMECompatibilityVersions

Description

Codex-style per-session memory for DeepSeek Harness: qualified sessions auto-distill into per-session drafts (rollout_summaries); manual add/change/forget runs only on explicit user request; layered disclosure (summary + registry); idempotent integration watermark. / 一会话一草稿记忆插件:合格会话自动提炼草稿;手动增/改/忘仅在显式请求时执行;分层披露(总纲+注册表);幂等整合水印。

Compatibility and provenance

Memory Rollout is published as dsh-memory_rollout and currently resolves to version 0.1.19. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
9/15/2026

Versions

0.1.19stable
9/15/2026
0.1.16stable
9/14/2026
0.1.14stable
9/14/2026
Show 4 more versionsCollapse versions
0.1.12stable
9/13/2026
0.1.10stable
9/12/2026
0.1.9stable
9/11/2026
0.1.6stable
9/1/2026

Related plugins

Loading related plugins…

Latest
0.1.19
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 2
Weekly downloads
0
Last push
9/15/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in memory-context.

Memsearch Dsh@zilliz/memsearch-dshMemSearch plugin for DeepSeek Harness: shared markdown memory across agents, with capture, pre-step context injection, memory-recall skill, and a skill-candidate review panel.Reme@agentscope-ai/remeReMe client and memory integrations for TypeScript agentsStratagate Dshstratagate-dshRecent conversations stay vivid. Older ones fade into summaries, not oblivion. StrataGate gives DeepSeek Harness six-layer, time-decaying memory, while lasting events and relationships settle into a knowledge graph. Bring your memories from other AIs withMeow Memorymeow-memoryCross-session project memory for DeepSeek Harness: seven-layer SQLite memory, first-turn snapshot injection, per-message keyword hits, memory_remember/search/project tools, automatic reflection with reflection-fold UI, and idle-triggered dream consolidati

README

dsh-memory_rollout

为 DeepSeek Harness (DSH) 提供的 Codex 式会话持久记忆。 English README

早期版本(0.1.x),51/51 测试通过、已进入候选观察期,欢迎反馈。

解决什么问题

DSH 的每个会话都从零开始。你开一个新会话,Agent 不知道上一轮定了什么、你偏好什么、踩过哪些坑。dsh-memory_rollout 给 Agent 一份有组织、只在必要时才写的持久记忆:事实、偏好、决策、项目笔记能跨会话活下来,并在需要时被想起、给出来源。

项目功能

  • 一会话一草稿 — 每个符合资格的会话由 Stage 1 生成或追加证据草稿(rollout_summaries/<sessionId>.md,类似子 AGENTS.md);Agent 也可在压缩前显式保存关键要点。
  • 分层披露 — memory_summary.md(注入提示)→ MEMORY.md(可搜索注册表)→ 少量相关草稿 / 笔记。grep 友好,不做全量扫描。
  • 克制被动 — 自动生成只处理符合资格的会话;手动新增、修改或遗忘长期记忆,仅在用户显式请求时执行;快速记忆通道(≤4–6 步)决定何时查记忆,不淹没上下文。
  • 幂等整合 — 指纹 + 水印,无变化则不重复整合(不浪费 token)。
  • 6 个用户工具 — memory_remember / memory_recall / memory_forget / memory_note / memory_integrate / memory_precompact,另有 2 个 memory__* 内部调度工具。
  • 浏览器管理页 — 「记忆库 / Memory」页浏览摘要、注册表、草稿、笔记,可改配置、导入导出记忆。

管线基本描述

会话结束/闲置 → 持久入队 (Stage 1)
  → 提炼候选记忆 + append-only 证据(草稿 + source_ref)
  → Phase 2 全局整合 + 版本化发布(current 原子切换 / 旧版可回退)
  → 分层读取(总纲 → 注册表 → 少量草稿/证据)
  → remember / forget / supersede 进入统一变更流,再整合成权威版本

约束:无信号会话不产出脏记忆;失败不伪装成成功;秘密在入口 / 模型 / 落盘三处脱敏;引用指向真实内容,否则诚实 unverified;当前用户指令与 AGENTS.md 高于记忆。

安装

版本 0.1.9。npm registry 尚未正式发布(dsh plugin add dsh-memory_rollout 需要包先被发布到 registry),因此「可兑现」的安装路径是 GitHub 仓库 / 本地 tgz。

方式 A:GitHub / 本地 tgz(已兑现,推荐)

# 直接从仓库装(开发/自用)
git clone git@github.com:Bionic-forest/dsh-memory_rollout.git
pnpm add ./dsh-memory_rollout

# 或用 `npm pack` 生成的 tgz 装
pnpm add ./dsh-memory_rollout-0.1.9.tgz

方式 B:npm registry(未发布,暂不可用)

# 需先把包发布到 npm registry 后此命令才可兑现
dsh plugin --profile web add dsh-memory_rollout
pnpm add dsh-memory_rollout

dsh.bundle manifest 会自动把本插件挂进 profile。手动安装(任一种方式之后)在 profile 的 cordis.yml(或 cordis.patch.yml)加一行:

- id: dsh-memory_rollout
  name: dsh-memory_rollout

要求 DSH 基座 0.1.1-rc.2 或更新(peerDependencies 声明 ^0.1.1-rc.2)。插件把 sessionQuery 声明为必需服务(由 DSH 基座提供)——基座未挂载它则加载失败、自动记忆(Stage 1 来源读取)被禁用。

使用

让 Agent 记住事情,或自己写:

memory_remember(content="用户偏好…", tags=["pref"])   # → 长期记忆(带来源 sessionId)
memory_note(slug="fix-x", content="…")               # → 临时 note(用户显式要求时)
memory_integrate()                                    # → 幂等整合 summary/MEMORY.md
memory_precompact(content="要留的关键要点")          # → 压缩前防丢信息(草稿 + 持久队列)

当涉及先前会话时,Agent 跑一次快速记忆通道:扫注入总纲 → 搜 MEMORY.md → 打开 1–2 个相关草稿 → 无命中即停。memory_recall(query="…") 是显式搜索入口。

配置

插件暴露一个 schemastery 配置 schema。完整参数表:

KeyTypeDefaultMeaning
recallLimitint10memory_recall 最多返回条目数
summaryTokensint4000注入 memory_summary.md 的 token 预算
maxQuickStepsint5快速记忆通道搜索步数预算
memoryRootstring''覆盖记忆根;空 = <ds_home>/memories
generateMemoriesbooleantrue会话是否贡献未来记忆(自动 Stage 1);false = 不自动入队
useMemoriesbooleantrue是否给模型记忆(注入 + 召回)
maxModelAttemptsPerDaynumber24每日 Stage 1 模型尝试上限;失败也算
extractProvider / extractModel / extractReasoningEffort / maxExtractTokensStage 1 提取的 LLM 路由 / 模型 / 推理档位 / 输入 token 上限
consolidationProvider / consolidationModel / consolidationReasoningEffortPhase 2 整合的 LLM 路由 / 模型 / 推理档位

设置页可在运行时编辑,改动持久化到 <ds_home>/dsh-memory_rollout.settings.json,下次启动重新应用(优先于 cordis.patch.yml)。memoryRoot 只读。

参考

本插件的记忆模型与 LLM 提炼提示词改编自 openai/codex 的记忆系统(Apache License 2.0)——面向 DeepSeek Harness 的独立重实现,未逐字分发其源码。同时改编自 flymysql/dsh-memory(MIT),即本插件脱胎的原始「跨会话记忆库」。详见 NOTICE 的署名。

协议

MIT(见 LICENSE)。