DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Plugin Hindsight Advanced — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-plugin-hindsight-advanced

Plugin Hindsight Advanced

DeepSeek Harness agents 的长期记忆:每轮自动回忆、retain/recall/reflect 工具、持久规则,以及可将可见范围限定为整个记忆库、预设或会话。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:paulalesius/dsh-hindsight-advanced#4741252f8a2bebb522ce8c902f7e563db5b886a1
README兼容性版本

兼容性与来源证明

Plugin Hindsight Advanced 以 dsh-plugin-hindsight-advanced 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/8/23

版本

0.1.0stable
2026/8/23

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/20
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。Memory@furongjun1999/dsh-memory灵枢(Lingshu·líng shū)DeepSeek Harness 插件:完整大脑——长期记忆/知识飞轮/自我认知/递归反思接入 DSH,对话自动沉淀进 md_cg 认知图(md 文档)Rewind Plugindsh-rewind-plugin同窗口内对话回退并恢复工作区文件Meow Memorymeow-memoryDeepSeek Harness 的跨会话项目记忆:七层 SQLite 记忆、首轮快照注入、每条消息的关键词命中、memory_remember/search/project 工具、带 reflection-fold UI 的自动反思,以及由空闲触发的梦境整合

README

dsh-plugin-hindsight-advanced

dsh-plugin-hindsight-advanced banner

Long-term memory for your DeepSeek Harness (dsh) agent. An agent's conversation ends when the session does — this plugin gives the agent memory that doesn't: it stores what is worth remembering, and brings the right things back at the right time.

What your agent gets:

  • a hindsight tool — it stores what is worth remembering (retain), finds it again when it is needed (recall), and can ask the memory a question and get an answer grounded in it (reflect);
  • automatic recall — at the start of every turn, the memories that matter to the current conversation are placed in front of the agent, so nothing relevant is ever asked for twice;
  • standing rules — "always do this" and "never do that" rules that are applied on every turn until you change them, even when nothing else in the memory matches;
  • visibility you choose per memory — every memory is visible to everything in the bank (global), to one agent preset (preset), or to a single session (session); a memory never appears outside its scope.

The memories live in your own Hindsight server, not in the plugin. Uninstalling the plugin never touches them.

Installation

You need a running Hindsight server (hindsight-api — any local port works; the config below points at it) and a DeepSeek Harness checkout.

1. Install the plugin. One command does both halves — it links the plugin into your profile and registers the mounting row for it:

dsh plugin --profile web add /path/to/dsh-hindsight-advanced

(Use a plain path, not a file: URL — a plain path links the source, so edits are picked up without reinstalling. Without the dsh binary on your PATH, run node --import tsx/esm apps/cli/src/bin.ts plugin … from inside the DSH checkout.)

If you checked this repo out fresh, recreate the one machine-local link the source needs first: ln -s /path/to/deepseek-harness/apps/cli/node_modules node_modules inside this repo.

2. Restart dsh web once.

3. Tell it which bank and server to use — one small block in your own config, below. Then restart dsh web again, and the agent remembers.

The install ships switched off on purpose: until you add that block, the agent gets nothing. What you enable, and where, is your call.

To uninstall later: dsh plugin --profile web remove dsh-plugin-hindsight-advanced, remove your config block, restart dsh web. Your memories stay on the Hindsight server.

Configuration

The configuration is one hindsight row in your own DSH config — never an edit to the plugin's files. You place it in one of two spots (pick one, never both):

Every session. In your profile's patch layer (~/.dsh/profiles/web/cordis.patch.yml, append to your existing file):

- id: hindsight
  disabled: false
  config:
    bank: my-bank
    baseUrl: http://127.0.0.1:9177
    apiKeyRef: HINDSIGHT_API_KEY

One preset only. In that preset's own file (~/.dsh/.agent-presets/<preset>/agent.cordis.yml, append):

- id: hindsight
  name: dsh-plugin-hindsight-advanced
  config:
    bank: my-bank
    baseUrl: http://127.0.0.1:9177
    apiKeyRef: HINDSIGHT_API_KEY

Presets that point at the same bank don't need separate banks — the preset scope already keeps each preset's memories apart.

Two things to know about the row:

  • the config block replaces the plugin's defaults wholesale — list every key you want; only bank is strictly required, the rest fall back to the defaults in the table below (but baseUrl and apiKeyRef are worth repeating, since their defaults point at port 8888 and carry no key);
  • to switch the plugin off again, set disabled: true on the row (or remove the preset row) and restart.

The configuration keys

keydefaultwhat it does
bank—Required. The name of the Hindsight bank to use (the server creates it on first use).
baseUrlhttp://127.0.0.1:8888Your Hindsight server's address.
apiKeyRef—The way to give the plugin its key — a name for the secret, not the secret itself. The value is looked up on every call (environment → ~/.dsh/.credentials.yaml → .env files), so rotating the key needs no restart and the key never sits in a config file. See below.
apiKey—A plain key in the config, instead of a reference. Prefer apiKeyRef.
autoContexttrueSet false to turn off the automatic per-turn recall (the hindsight tool stays).
retainScopepresetWhere a stored memory lands when the agent doesn't say: global (everything in the bank), preset (this agent preset), or session (this session only).
maxRecallTokens1024How much memory to bring back per recall.
autoContextTimeoutMs2500How long a turn may wait on the memory server before moving on without it. A slow or stopped server never blocks the agent.
retainAsyncfalsefalse (the default): storing waits until the bank has processed the memory, so the next turn already sees it. true: store acknowledges fast and the bank processes it in the background.
bankConfig—Optional instructions for the server's own memory extraction — for example retain_mission: "Focus on decisions and durable project facts." tells the Hindsight server what to pull out of what the agent stores.

Giving the plugin its key

apiKeyRef: HINDSIGHT_API_KEY is only a name — the plugin looks up the value by that name on every call, in this order: the environment, then ~/.dsh/.credentials.yaml, then .env files. The usual way is one line in ~/.dsh/.credentials.yaml, added alongside your existing entries (like the LLM key — don't replace them):

version: 1
refs:
  HINDSIGHT_API_KEY: <the Hindsight server's token>

(Or export HINDSIGHT_API_KEY in the environment that starts dsh web.) Because the lookup happens on every call, editing the file — or rotating the token in place — takes effect immediately, with no restart.