DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@djasdh/interest-memory-dsh-bridge

Interest Memory Dsh Bridge

interest-memory ↔ DeepSeek Harness (DSH) 桥接:为 DSH 代理提供零延迟回忆注入、会话结束时的转录内容导入,以及 memory_search/memory_logs/memory_ingest 工具。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @djasdh/interest-memory-dsh-bridge@0.1.1
README兼容性版本

兼容性与来源证明

Interest Memory Dsh Bridge 以 @djasdh/interest-memory-dsh-bridge 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.1stable
2026/8/21

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
20.2 kB
文件数
5
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 3
周下载
25
最近提交
2026/8/21
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
Interest Memory Dsh Bridge — DeepSeek Harness 插件(DSH Plugin)

相关插件

继续浏览 memory-context 分类下经过校验的插件。

Memory Plugin@openviking/dsh-memory-plugin适用于 DeepSeek Harness 的 OpenViking 记忆与上下文套件Contextdsh-context用于上下文洞察和管理的 DeepSeek Harness 插件,提供上下文仪表板和上下文命令,帮助了解上下文的构成及其演变过程。Weknora@wxg-prc-cpg/dsh-weknora适用于 DeepSeek Harness (dsh) 的 WeKnora 知识检索工具:通过自有知识库进行语义搜索、文档阅读以及 RAG/代理回答。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。

README

@djasdh/interest-memory-dsh-bridge

interest-memory ↔ DeepSeek Harness (DSH) bridge. Gives DSH agents a real long-term memory layer:

  • Zero-lag recall injection — on every user message the bridge fetches /api/v1/{agent}/recall with that message and injects the memory as an owned runtime-context snapshot in the same model step (no phantom user messages, no system-prompt churn, stable KV-cache prefix).
  • Session-end ingest — the session transcript is pushed to POST /api/v1/{agent}/sessions once the session ends (owned snapshots filtered out, so the injected memory is never ingested back).
  • Tools — memory_search / memory_logs / memory_ingest (force a checkpoint for long-running sessions).

Failure isolated: a dead interest-memory service never blocks a turn (timeouts degrade to "no memory").

Install

DSH ships a pnpm-forwarding CLI for profile plugins. With the interest-memory service already running (see the repo root README), a user installs the package into their profile:

dsh plugin --profile web add @djasdh/interest-memory-dsh-bridge

dsh plugin forwards to pnpm inside the profile directory ($DSH_HOME/profiles/<name>/), so the package lands in the profile's node_modules and the loader resolves the row's name: from there. The package is plain JS — no build step, no allowBuilds entry needed.

The package also ships a bundle patch (dsh.bundle.patch → cordis.patch.yml), so harnesses that mount bundles can register the interest-memory row in one step. Manual row mounting below still works and is the recommended path for per-session (preset) memory.

Mount

As an agent preset row (per-session memory — recommended)

Add the row to a preset's agent.cordis.yml, then start sessions from that preset:

- id: interest-memory
  name: '@djasdh/interest-memory-dsh-bridge'
  config:
    baseUrl: http://127.0.0.1:8899   # optional (default shown)
    agent: dsh                        # optional; the interest-memory namespace

Copying a shipped preset (e.g. standard or cordis) and adding this row is the fastest path.

As a host row (shared service across sessions)

Add to the profile patch, e.g. ~/.dsh/profiles/web/cordis.patch.yml:

- insert:
    - id: interest-memory
      name: '@djasdh/interest-memory-dsh-bridge'
      config:
        baseUrl: http://127.0.0.1:8899
        agent: dsh

Recall state is keyed per agent, so one host row serves every session (each agent id maps to its interest-memory namespace).

Config

fielddefaultmeaning
baseUrlhttp://127.0.0.1:8899interest-memory service URL
agentdshinterest-memory namespace (/api/v1/{agent}/...)
recallTimeoutMs5000per-recall HTTP timeout (never blocks a turn longer than this)
ingestTimeoutMs15000per-ingest HTTP timeout
traceDir''optional directory for JSON traces (empty = off)

How recall works

DSH's turn loop assembles the system prompt before the current user message is available to plugins, which makes naive "inject at request time" land one step late. The bridge uses two seams instead:

  1. agent/inbox/claimed fires at message-claim time, before assembly — the bridge starts the recall fetch with the current message there.
  2. system-prompt/assemble waterfall awaits the in-flight fetch and pushes the memory as a context contribution. The DSH runtime-context projection then materialises it as an owned user-role snapshot (source.kind='plugin', @deepseek-ai/dsh-system-prompt) appended after the user message — zero lag, and the snapshot is reused afterwards so the prefix stays byte-stable.

Development

npm test                       # node --test lib/  (pure helpers, no DSH runtime)

The plugin itself is a plain Cordis plugin ({ name, inject, Config, apply }) — the same shape as the shipped @deepseek-ai/dsh-* packages.