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.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
O

dsh-one-memory

One Memory

DSH plugin: manual global + key-value memory, archived conversation rounds, unified session ids, and recall/search tools. Shares ~/.agents/one-memory with the opencode plugin.

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

npx -y @deepseek-ai/dsh plugin --profile web add github:OnesoftQwQ/dsh-one-memory#9910359d3f491e0407116e8d8c5df83f1f2a379d
READMECompatibilityVersions

Compatibility and provenance

One Memory is published as dsh-one-memory and currently resolves to version 0.3.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
github
Registry updated
10/21/2026

Versions

0.3.0stable
10/21/2026

Related plugins

Loading related plugins…

Latest
0.3.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
web
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/21/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

Related plugins

More verified plugins in memory-context.

Experimental Session Search@deepseek-ai/dsh-experimental-session-searchGive Agents tools to search and read earlier sessions from the current workspace.Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Contextdsh-contextA DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.Mnemondsh-mnemonComposable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.

README

dsh-one-memory

DeepSeek Harness 插件:一份全局记忆 + 一组键值记忆,会话开始时注入全局记忆和所有 key 的目录;主 agent 的对话轮次归档进本地 SQLite,模型可以按 session id + turn 回放原始对话。

  • 全局记忆使用保留 key @global;
  • 键值记忆由模型通过工具手动创建、更新、删除;不做自动抽取、自动合并或自动过期;
  • 来源以 Markdown 内联引用写在记忆正文里:[1](m-lq2x9d3f:12);插件不解析引用,模型读 id 后自己调用 memory_recall;
  • 会话 id 由插件统一生成(m-...),映射宿主的原生 session id;
  • 一轮对话 = 一个用户消息(或同轮 steering 消息)+ 该轮最终的 assistant 文本;工具调用、思维链、注入上下文都不归档。

存储

~/.agents/one-memory/one-memory.db(目录 0700、文件 0600、WAL):

~/.agents/one-memory/one-memory.db
├── meta(key, value)                        # schema 版本、全局 revision
├── memory_entry(...)                       # 全局 + 键值记忆
├── memory_tombstone(...)                   # 增量注入用的删除记录
├── memory_session(id, agent, native_id)    # 统一会话 id ↔ 宿主原生 id
└── round(agent, session, turn, time, user_text, answer, text)
  • 与 opencode-one-memory 共用同一个库;
  • 首次启动会从旧位置 ~/.agent-memory/agent-memory.db 复制一份(VACUUM INTO),并导入更早的 ~/.dsh/memory/memory.json;
  • 运行时适配:Node 用 node:sqlite,Bun 用 bun:sqlite(见 src/core/db.ts),插件本体零运行时依赖。

工具

工具作用
memory_get({ key? })读一条记忆;不传 key 返回全局记忆 + 完整 key 目录 + 当前 session id / turn
memory_set({ key, value, description? })创建/更新;key = "@global" 更新全局记忆
memory_delete({ key })删除;@global 清空全局记忆
memory_recall({ session_id?, turn?, before?, after? })从归档回放一轮;默认当前会话 + 最新一轮
session_list({ query?, include_subagents?, offset?, limit? })会话列表;每行给统一 id 和宿主 id
memory_search({ query, session_id?, max_sessions?, limit? })搜归档(含 opencode 轮次),归档为空才回退到 DSH 的 FTS/字面扫描

安装

仓库已经带上 lib/ 构建产物,所以两种方式都能直接装:

从 GitHub(Web 插件管理器)

github:OnesoftQwQ/dsh-one-memory

从本地目录

git clone https://github.com/OnesoftQwQ/dsh-one-memory.git

然后在 DSH 的插件管理器里填这个绝对路径(profile 用 link: 指向它,不跑安装脚本,直接读 lib/)。

修改源码后需要手动构建:

npm install && npm run build

License

MIT © OnesoftQwQ

界面

插件带一个浏览器面板:左侧栏「全局面板」里的记忆图标,主区打开管理页面,可编辑全局记忆、增删改键值记忆,每 5 秒轮询外部改动。

开发

npm test        # 构建 + node --test