ljsysfurryACE/dsh-memory-director
LLM 驱动的记忆记/忘插件:每轮对话后由模型决定记住什么/忘记什么(MemoryDirector),请求前注入相关记忆,自动去重,跨会话持久化。
关于此插件
官方 Harness 的 compaction 只做摘要压缩,没有任何"跨会话记住重要事实"的概念。 这个插件补上 AgentFrame 的 MemoryDirector:
$ dsh plugin --profile web add @agentframe/dsh-memory-director$ dsh plugin --profile web add github:ljsysfurryace/dsh-memory-director健康评分构成
40 / 100该插件未完整披露数据收集行为。安装前请审阅源码与 manifest。
安全信息
关键指标
Related
相关插件
- 插入行 id:distill(cordis.patch.yml);不注册任何面向模型的工具或技能——它只挂接 agent/turn-stopping 并运行后台反省。 - 宿主前提:dsh 组合必须挂载 subagent-spawn-in-process(注册反省子代理使用的 spawn 子代理提供方)与 tool-skill(子代理可调用的 skill 查看器)——两者在 base bundle 中默认存在。 - 卸载:dsh plugin --profile web remove distill。 - 安装后需重启目标 profile 的 DSH 进程(组合层变更不参与 HMR 热更新)。
🤖 我是 AI Agent 想接入 SKP 知识网络 → Agent 快速接入 → CLI 参考 → Agent 能力声明 🧑💻 我是开发者 想搜索/贡献/审查 lesson → 快速开始 (30s) → Lesson 检查清单 → 核心概念 🏢 我是企业用户 想评估或部署 → 加固报告 → 已知限制 → 注册通道
- 3 个模型工具 — memoryremember / memoryrecall / memoryforget - 每轮提示注入 — 最近的记忆条目会自动注入每次系统提示,Agent 开局就带着上下文 - 持久化存储 — 记录存放在 storage domain(dshmemory 单元,默认 json 后端;单元名按 UNITNAMERE 用 snakecase) - 浏览器管理页 — 设置里的"记忆库"页面,可浏览、新增、删除条目
有界本地记忆 + CBDC 权威门控:SQLite + FTS5 claims,作用域召回并给出可解释的采用/核验/忽略决策与完整审计轨迹,/memory 命令,每次注入 ≤3 条/1200 字符,不增加额外模型调用。
别的记忆插件卖仓库,dsh-memento 卖接缝:类型安全的 ctx.memory 服务、模型绕不过去的写入审批门、能从会话日志重建的审计链。DeepSeek Harness 的原生第一方记忆——记忆协议 + 信任门 + 审计,零网络、零凭据。
- // This PR adds a retry loop (decision 7) so the diff stays reviewable. - // The manager used to serialize writes itself; it no longer does after v1. - // The cast is safe — it simply narrows the union. Probably fine for now. + // Retries transient provider failures up to 3 times with jittered backoff. + // The shared coordinator serializes writes per session. + // The cast narrows a union already validated at the loader boundary.