dsh-hindsight-memory
接入 Hindsight 长期记忆:每轮开始前自动注入相关记忆,回合结束后自动沉淀对话。
Hindsight long-term memory for DeepSeek Harness: injects relevant memories before each turn and retains finished turns to a Hindsight bank.
怎么安装
dsh plugin add github:jackyytche/dsh-hindsight-memory 简介
dsh-hindsight-memory 把 Hindsight 变成 DeepSeek Harness 的 **管线级长期记忆**:不暴露任何 agent 工具,模型调用前后自动完成记忆的注入与留存 (即 Hermes Agent 的 pre_llm_call / post_llm_call 钩子模式)。 工作原理 | 钩子 | DSH 事件 | 行为 | |---|---|---| | Auto-Recall | agent/pre-step(waterfall) | **每轮一次**(对齐 Hermes 的 prologue 语义):仅在 turn 的第一个 LLM 调用(step 1)前,取最新用户消息(≤800 字符)作 query 调 Hindsight recall,把相关记忆作为一条**插件来源的 user 消息**追加进步骤批次。后续 step 不再召回——turn 级 WeakMap 认领(防重放),工具循环内复用 step 1 已持久化的那一块。**琐碎输入跳过**(对齐 Hermes is_trivial_prompt):“好的/嗯/ok/谢谢/继续”等寒暄确认及 / 斜杠命令不发起召回。 | | Auto-Retain | session/event(observer) | 轮次结束(turn/end)后,从会话日志组装该轮 User/Assistant …
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-02
- 创建于
- 2026-09-01
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh, dsh-plugin, hindsight, memory
同类推荐
get-shit-done
gsd-build/get-shit-done
由 TÂCHES 开发的轻量且强大的元提示、上下文工程和规格驱动开发系统,适用于 Claude Code。
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
OpenViking
volcengine/OpenViking/tree/main/examples/dsh-memory-plugin
面向 DeepSeek Harness 的 OpenViking 记忆与上下文插件:pre-step 自动召回与画像注入、会话捕获、`viking://` URI 防护,以及对接 OpenViking 服务端的 recall/write 记忆工具。