[{"data":1,"prerenderedAt":937},["ShallowReactive",2],{"docs-page-cn-\u002Fcn\u002Fopenclaw\u002Fchanges":3,"surround-cn-\u002Fcn\u002Fopenclaw\u002Fchanges":24,"mdc-hammji-key":41,"mdc-ys33bl-key":63,"mdc--wpcp60-key":88,"mdc-12h8pz-key":105,"mdc--k9x05-key":130,"mdc--dc11y-key":147,"mdc-6ah2bs-key":163,"mdc-v22u4i-key":172,"mdc-jn2e53-key":187,"mdc--c3cyhq-key":196,"mdc--botjep-key":218,"mdc-sqfima-key":240,"mdc-bjp526-key":277,"mdc--3hfyug-key":370,"mdc-2j2eqq-key":448,"mdc--ln3itl-key":470,"mdc--8kyszc-key":499,"mdc--oqx4y6-key":521,"mdc-svx6r9-key":535,"mdc-2jccp-key":573,"mdc--awdsud-key":603,"mdc-tt5zvq-key":625,"mdc-qea51b-key":634,"mdc--42rzx1-key":664,"mdc--t7zfty-key":685,"mdc-z2jlzs-key":731,"mdc--lk3ek1-key":745,"mdc-2o086-key":759,"mdc--wg3nhh-key":773,"mdc--35afu1-key":787,"mdc-meuaab-key":801,"mdc--wttjee-key":815,"mdc--28lor6-key":829,"mdc--folvl6-key":838,"mdc-7thzkw-key":847,"mdc--y343hm-key":856,"mdc-lxsu52-key":865,"mdc-1v1f5u-key":874,"mdc-2r4mb-key":883,"mdc--m42010-key":892,"mdc--dnuw3d-key":901,"mdc-cxcvkp-key":910,"mdc--cpeihi-key":919,"mdc--vbq1h4-key":928},{"id":4,"title":5,"avatar":6,"banner":6,"body":7,"category":6,"desc":6,"description":15,"extension":18,"links":6,"meta":19,"navigation":6,"path":20,"seo":21,"stem":22,"__hash__":23},"docs\u002Fcn\u002Fopenclaw\u002Fchanges.md","OpenClaw 插件更新日志",null,{"type":8,"value":9,"toc":14},"minimark",[10],[11,12],"openclaw-release-timeline",{":releases":13},"[{\"date\":\"2026-05-21\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.16\",\"sections\":[{\"title\":\"新功能\",\"items\":[\"**Recall Hook 兼容新版 OpenClaw**：当宿主版本 ≥ `2026.5.7` 时，召回逻辑自动迁移至新的阶段化 Hook `before_prompt_build`，旧版宿主则向下兼容至 `before_agent_start`。\",\"**系统事件自动跳过**：召回（recall）与写入（agent_end）阶段将自动识别并跳过以下系统事件，保持记忆数据纯净：\\n- 心跳探测（`Read HEARTBEAT.md if it exists`、`[OpenClaw heartbeat poll]`）\\n- 系统命令（`\u002Fnew`、`\u002Freset`、`\u002Fstop`、`\u002Fstatus`、`\u002Fhelp`、`\u002Fdock_*`、`\u002Fundock`）\\n\",\"**工具记忆（Tool Memory）全链路支持**：\\n- 召回阶段：新增 `\u003Ctool_memories>` 区块，将工具记忆数据规范化渲染至 prompt 注入块。\\n- 写入阶段：支持 `assistant.tool_calls` 与 `toolResult` 消息转换，序列化为 MemOS `\u002Fadd\u002Fmessage` 标准结构（`role:\\\"tool\\\"` 配合 `tool_call_id`）。\\n- 数据结构统一：工具结果中的图片\u002F文件仅保留可检索的 URL 文本；base64\u002Fdata URI 简化为元数据描述，不再内联输出大体积二进制数据。\\n\",\"**System Note 前缀自动剥离**：自动剔除前置的 `Note: The previous agent run was aborted by the user.` 提示词，提升召回查询与入库数据的准确性。\"]},{\"title\":\"优化\",\"items\":[\"**重构系统事件检测**：提取 `isHeartbeatPrompt` 与 `isSystemCommandPrompt` 验证逻辑，并将心跳正则锚定于字符串首部，避免误判包含相关特征词的正常用户消息。\",\"**精简记忆过滤逻辑**：整合 `buildMemorySections` 函数中重复的相关度阈值判断逻辑。\"]},{\"title\":\"测试\",\"items\":[\"新增 `test\u002Frecall-hook-registration.test.mjs` 测试用例，验证新旧 OpenClaw 宿主版本中 Hook 注册的兼容性。\"]},{\"title\":\"文档\",\"items\":[\"更新 `README.md` 与 `README_ZH.md` 中的「How it Works」章节，说明不同 OpenClaw 版本间的 Hook 适配策略。\"]}]}]},{\"date\":\"2026-05-08\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.15\",\"sections\":[{\"title\":\"新增\",\"items\":[\"为 OpenClaw \u002F Moltbot \u002F ClawDBot 插件清单新增 `activation.onCapabilities: [\\\"hook\\\"]` 能力声明。\",\"适配 OpenClaw 5.3 及其之后版本的插件加载机制：OpenClaw 会在插件注册前基于能力声明判断插件是否应被加载。该声明确保本插件作为 lifecycle hook 插件能够被正确识别和加载，从而继续注册 `before_agent_start`、`agent_end` 等 hook。\"]},{\"title\":\"改进\",\"items\":[\"调整 `hooks.allowConversationAccess: true` 的自动补充时机，在 gateway 就绪后再写入宿主配置，使宿主配置更新能够触发 gateway 自动重启并应用所需的 hook 权限。\"]}]}]},{\"date\":\"2026-04-29\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.14\",\"summary\":\"适配 OpenClaw 2026.4.23 及其之后版本对 agent_end 的权限限制：插件会在启动 gateway 时自动检查配置，并为插件补充 `hooks.allowConversationAccess: true`，帮助用户避免因缺少该配置导致记忆写入相关 hook 无法正常工作。\"}]},{\"date\":\"2026-04-16\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.13\",\"summary\":\"全面支持多 Agent 模式下的共享知识库访问与协同处理。\",\"sections\":[{\"title\":\"共享知识库支持（多 Agent 场景）\",\"items\":[\"**多 Agent 知识库支持**：全面支持了多 Agent 对知识库的协同访问与处理。允许不同的 Agent 节点共享、检索和调用同一个知识库中的数据，提升了复杂任务下多智能体协作时的知识获取效率与上下文一致性。\"]}]}]},{\"date\":\"2026-04-03\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.12\",\"summary\":\"推出本地可视化配置界面，深度重构配置解析架构并适配 OpenClaw 插件安全审查。\",\"sections\":[{\"title\":\"可视化配置 UI (Config UI)\",\"items\":[\"**本地配置服务**：内置 HTTP 服务提供插件管理后台，支持在浏览器中可视化查看与修改配置，并实现配置变更的实时同步（默认访问地址为 `http:\u002F\u002F127.0.0.1:38463`）。\",\"**启动稳定性保障**：服务启动流程中引入了网关就绪检测 (`waitForGatewayReady`)，确保服务状态稳定。\",\"**界面体验优化**：新增响应式布局与可折叠悬浮导航工具，并补充了全新的 SVG 图标。\"]},{\"title\":\"架构优化与安全合规\",\"items\":[\"**适配插件安全审查（移除子进程）**：为了符合严格的插件沙箱与安全合规要求，完全移除了 `child_process` 的 `spawn`\u002F`exec` 调用。插件自更新机制由原来的“后台静默下载并强制更新”改为了“仅检测版本并在日志中打印手动更新命令提示”，避免后台进程逃逸风险。\",\"**适配插件安全审查（移除默认越权）**：移除了 `plugin.json` 声明文件中的所有 `default` 默认值设定，确保插件在无显式配置时不会触发越权或非预期调用。\",\"**配置 Schema 集中管理**：重构配置解析逻辑 (`getConfigResolution`)，集中管理环境变量、用户配置与默认值的优先级策略，提升了代码的安全性和健壮性。\"]}]}]},{\"date\":\"2026-03-30\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.11\",\"summary\":\"强化多 Agent 场景的细粒度控制，增强动态用户标识提取能力。\",\"sections\":[{\"title\":\"会话与用户身份管理\",\"items\":[\"**Direct Session User ID 支持**：新增 `useDirectSessionUserId` 配置，开启后可直接从 `sessionKey` 中解析并提取真实会话的用户 ID，满足复杂代理场景下的数据隔离需求。\"]},{\"title\":\"多 Agent 配置增强\",\"items\":[\"**Agent 运行白名单**：新增 `allowedAgents` 配置项，允许在多 Agent 模式下仅对特定的 Agent 触发记忆召回和记录，避免全局拦截带来的冗余消耗。\",\"**差异化覆盖机制 (Agent Overrides)**：引入 `agentOverrides` 配置对象，支持针对不同的 Agent 单独覆盖如知识库 ID (`knowledgebaseIds`)、召回条数 (`memoryLimitNumber`)、功能开关 (`recallEnabled`) 等核心参数。\"]}]}]},{\"date\":\"2026-03-24\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.10\",\"sections\":[{\"items\":[\"**消息入库质量提升**：新增并强化对 OpenClaw 入站元数据、时间戳包裹、飞书尾部系统提示的清洗，减少无效噪音写入记忆。\",\"**多渠道消息前缀清洗优化**：扩展并统一处理 WebChat、WhatsApp、Telegram、Slack、Discord、Zalo 等 channel 的消息 envelope\u002F前缀，降低平台包装信息对记忆写入与召回质量的干扰。\",\"**召回展示更准确**：召回结果时间展示优先使用更新时间，提升时间语义一致性。\",\"**Recall Filter 更稳健**：默认参数与运行时回退值（超时、重试）保持对齐，提升本地模型场景稳定性。\",\"**超时与资源管理优化**：修复定时器清理问题，避免异常路径下的资源泄漏。\",\"**配置能力补全**：插件 schema 补齐 Recall Filter 相关字段，配置更完整、可控性更强。\",\"**可观测性增强**：增加过滤前后数量日志，便于排查召回质量与过滤效果。\"]}]}]},{\"date\":\"2026-03-13\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.9\",\"summary\":\"无感升级与记忆召回优化。本次更新主要包含以下改进，旨在提升插件的易用性与 Token 利用率：\",\"sections\":[{\"title\":\"插件无感自检测升级\",\"items\":[\"新增插件版本自检测机制，后台定期检查 NPM 仓库最新版本。\",\"检测到新版本后自动触发静默升级流程，用户无需手动操作即可持续获取最新能力与修复。\"]},{\"title\":\"支持用户配置模型进行 Memory Recall\",\"items\":[\"引入基于 LLM 的记忆二次筛选能力。\",\"新增 recallFilterModel、recallFilterBaseUrl 等配置项，可指定独立模型进行相关性评审。\",\"可有效剔除干扰项，仅保留对当前对话真正有用的记忆片段。\"]},{\"title\":\"对话注入瘦身（System Prompt 优化）\",\"items\":[\"重构记忆注入逻辑，将静态协议与指令移动到 appendSystemContext。\",\"prependContext 仅保留动态检索得到的 memory-list 数据。\",\"显著降低重复提示词带来的 Token 消耗，并提升模型对核心记忆的聚焦。\"]}]}]},{\"date\":\"2026-03-09\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.8\",\"summary\":\"支持用户开启多Agent模式，实现从上下文中识别agent进行记忆隔离，同时做了开关，兼容旧版本。\"}]},{\"date\":\"2026-03-05\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"v0.1.7\",\"summary\":\"支持用户自定义searchMemory接口的relativity字段。\"}]},{\"date\":\"2026-02-26\",\"plugins\":[{\"title\":\"云插件\",\"version\":\"其他历史版本（基础功能）\",\"summary\":\"支持 before_agent_start 事件中 searchMemory、在 agent_end 事件中进行 addMessage。\"}]}]",{"title":15,"searchDepth":16,"depth":16,"links":17},"",2,[],"md",{},"\u002Fcn\u002Fopenclaw\u002Fchanges",{"title":5,"description":15},"cn\u002Fopenclaw\u002Fchanges","G0j5OJ6rPHR7RUpsulcvZgroDTUIovtxIaqbIE3cwII",[25,34],{"title":26,"path":27,"stem":28,"icon":29,"framework":6,"module":6,"class":30,"target":-1,"active":31,"defaultOpen":32,"children":-1,"description":33},"云插件 vs 本地插件","\u002Fcn\u002Fopenclaw\u002Fplugin_compare","openclaw\u002Fplugin_compare","i-ri-book-open-line",[],false,true,"云插件面向快速接入 MemOS Cloud，本地插件面向 OpenClaw 与 Hermes 的本机长期记忆和自进化能力。本文将帮你快速理解两者差异，选择最适合自己的方案。",{"title":35,"path":36,"stem":37,"icon":38,"framework":6,"module":6,"class":39,"target":-1,"active":31,"defaultOpen":31,"children":-1,"description":40},"OpenClaw 云插件","\u002Fcn\u002Fopenclaw\u002Fguide","openclaw\u002Fguide","i-ri-cloud-line",[],"增强 OpenClaw 的记忆能力并减少 72% 的 Token 消耗：MemOS OpenClaw 插件现已上线！",{"data":42,"body":43},{},{"type":44,"children":45},"root",[46],{"type":47,"tag":48,"props":49,"children":50},"element","p",{},[51,54,61],{"type":52,"value":53},"text","新增 ",{"type":47,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":52,"value":60},"test\u002Frecall-hook-registration.test.mjs",{"type":52,"value":62}," 测试用例，验证新旧 OpenClaw 宿主版本中 Hook 注册的兼容性。",{"data":64,"body":65},{},{"type":44,"children":66},[67],{"type":47,"tag":48,"props":68,"children":69},{},[70,72,78,80,86],{"type":52,"value":71},"更新 ",{"type":47,"tag":55,"props":73,"children":75},{"className":74},[],[76],{"type":52,"value":77},"README.md",{"type":52,"value":79}," 与 ",{"type":47,"tag":55,"props":81,"children":83},{"className":82},[],[84],{"type":52,"value":85},"README_ZH.md",{"type":52,"value":87}," 中的「How it Works」章节，说明不同 OpenClaw 版本间的 Hook 适配策略。",{"data":89,"body":90},{},{"type":44,"children":91},[92],{"type":47,"tag":48,"props":93,"children":94},{},[95,97,103],{"type":52,"value":96},"为 OpenClaw \u002F Moltbot \u002F ClawDBot 插件清单新增 ",{"type":47,"tag":55,"props":98,"children":100},{"className":99},[],[101],{"type":52,"value":102},"activation.onCapabilities: [\"hook\"]",{"type":52,"value":104}," 能力声明。",{"data":106,"body":107},{},{"type":44,"children":108},[109],{"type":47,"tag":48,"props":110,"children":111},{},[112,114,120,122,128],{"type":52,"value":113},"适配 OpenClaw 5.3 及其之后版本的插件加载机制：OpenClaw 会在插件注册前基于能力声明判断插件是否应被加载。该声明确保本插件作为 lifecycle hook 插件能够被正确识别和加载，从而继续注册 ",{"type":47,"tag":55,"props":115,"children":117},{"className":116},[],[118],{"type":52,"value":119},"before_agent_start",{"type":52,"value":121},"、",{"type":47,"tag":55,"props":123,"children":125},{"className":124},[],[126],{"type":52,"value":127},"agent_end",{"type":52,"value":129}," 等 hook。",{"data":131,"body":132},{},{"type":44,"children":133},[134],{"type":47,"tag":48,"props":135,"children":136},{},[137,139,145],{"type":52,"value":138},"调整 ",{"type":47,"tag":55,"props":140,"children":142},{"className":141},[],[143],{"type":52,"value":144},"hooks.allowConversationAccess: true",{"type":52,"value":146}," 的自动补充时机，在 gateway 就绪后再写入宿主配置，使宿主配置更新能够触发 gateway 自动重启并应用所需的 hook 权限。",{"data":148,"body":149},{},{"type":44,"children":150},[151],{"type":47,"tag":48,"props":152,"children":153},{},[154,156,161],{"type":52,"value":155},"适配 OpenClaw 2026.4.23 及其之后版本对 agent_end 的权限限制：插件会在启动 gateway 时自动检查配置，并为插件补充 ",{"type":47,"tag":55,"props":157,"children":159},{"className":158},[],[160],{"type":52,"value":144},{"type":52,"value":162},"，帮助用户避免因缺少该配置导致记忆写入相关 hook 无法正常工作。",{"data":164,"body":165},{},{"type":44,"children":166},[167],{"type":47,"tag":48,"props":168,"children":169},{},[170],{"type":52,"value":171},"全面支持多 Agent 模式下的共享知识库访问与协同处理。",{"data":173,"body":174},{},{"type":44,"children":175},[176],{"type":47,"tag":48,"props":177,"children":178},{},[179,185],{"type":47,"tag":180,"props":181,"children":182},"strong",{},[183],{"type":52,"value":184},"多 Agent 知识库支持",{"type":52,"value":186},"：全面支持了多 Agent 对知识库的协同访问与处理。允许不同的 Agent 节点共享、检索和调用同一个知识库中的数据，提升了复杂任务下多智能体协作时的知识获取效率与上下文一致性。",{"data":188,"body":189},{},{"type":44,"children":190},[191],{"type":47,"tag":48,"props":192,"children":193},{},[194],{"type":52,"value":195},"推出本地可视化配置界面，深度重构配置解析架构并适配 OpenClaw 插件安全审查。",{"data":197,"body":198},{},{"type":44,"children":199},[200],{"type":47,"tag":48,"props":201,"children":202},{},[203,208,210,216],{"type":47,"tag":180,"props":204,"children":205},{},[206],{"type":52,"value":207},"本地配置服务",{"type":52,"value":209},"：内置 HTTP 服务提供插件管理后台，支持在浏览器中可视化查看与修改配置，并实现配置变更的实时同步（默认访问地址为 ",{"type":47,"tag":55,"props":211,"children":213},{"className":212},[],[214],{"type":52,"value":215},"http:\u002F\u002F127.0.0.1:38463",{"type":52,"value":217},"）。",{"data":219,"body":220},{},{"type":44,"children":221},[222],{"type":47,"tag":48,"props":223,"children":224},{},[225,230,232,238],{"type":47,"tag":180,"props":226,"children":227},{},[228],{"type":52,"value":229},"启动稳定性保障",{"type":52,"value":231},"：服务启动流程中引入了网关就绪检测 (",{"type":47,"tag":55,"props":233,"children":235},{"className":234},[],[236],{"type":52,"value":237},"waitForGatewayReady",{"type":52,"value":239},")，确保服务状态稳定。",{"data":241,"body":242},{},{"type":44,"children":243},[244],{"type":47,"tag":48,"props":245,"children":246},{},[247,252,254,260,262,268,270,275],{"type":47,"tag":180,"props":248,"children":249},{},[250],{"type":52,"value":251},"Recall Hook 兼容新版 OpenClaw",{"type":52,"value":253},"：当宿主版本 ≥ ",{"type":47,"tag":55,"props":255,"children":257},{"className":256},[],[258],{"type":52,"value":259},"2026.5.7",{"type":52,"value":261}," 时，召回逻辑自动迁移至新的阶段化 Hook ",{"type":47,"tag":55,"props":263,"children":265},{"className":264},[],[266],{"type":52,"value":267},"before_prompt_build",{"type":52,"value":269},"，旧版宿主则向下兼容至 ",{"type":47,"tag":55,"props":271,"children":273},{"className":272},[],[274],{"type":52,"value":119},{"type":52,"value":276},"。",{"data":278,"body":279},{},{"type":44,"children":280},[281,291],{"type":47,"tag":48,"props":282,"children":283},{},[284,289],{"type":47,"tag":180,"props":285,"children":286},{},[287],{"type":52,"value":288},"系统事件自动跳过",{"type":52,"value":290},"：召回（recall）与写入（agent_end）阶段将自动识别并跳过以下系统事件，保持记忆数据纯净：",{"type":47,"tag":292,"props":293,"children":294},"ul",{},[295,316],{"type":47,"tag":296,"props":297,"children":298},"li",{},[299,301,307,308,314],{"type":52,"value":300},"心跳探测（",{"type":47,"tag":55,"props":302,"children":304},{"className":303},[],[305],{"type":52,"value":306},"Read HEARTBEAT.md if it exists",{"type":52,"value":121},{"type":47,"tag":55,"props":309,"children":311},{"className":310},[],[312],{"type":52,"value":313},"[OpenClaw heartbeat poll]",{"type":52,"value":315},"）",{"type":47,"tag":296,"props":317,"children":318},{},[319,321,327,328,334,335,341,342,348,349,355,356,362,363,369],{"type":52,"value":320},"系统命令（",{"type":47,"tag":55,"props":322,"children":324},{"className":323},[],[325],{"type":52,"value":326},"\u002Fnew",{"type":52,"value":121},{"type":47,"tag":55,"props":329,"children":331},{"className":330},[],[332],{"type":52,"value":333},"\u002Freset",{"type":52,"value":121},{"type":47,"tag":55,"props":336,"children":338},{"className":337},[],[339],{"type":52,"value":340},"\u002Fstop",{"type":52,"value":121},{"type":47,"tag":55,"props":343,"children":345},{"className":344},[],[346],{"type":52,"value":347},"\u002Fstatus",{"type":52,"value":121},{"type":47,"tag":55,"props":350,"children":352},{"className":351},[],[353],{"type":52,"value":354},"\u002Fhelp",{"type":52,"value":121},{"type":47,"tag":55,"props":357,"children":359},{"className":358},[],[360],{"type":52,"value":361},"\u002Fdock_*",{"type":52,"value":121},{"type":47,"tag":55,"props":364,"children":366},{"className":365},[],[367],{"type":52,"value":368},"\u002Fundock",{"type":52,"value":315},{"data":371,"body":372},{},{"type":44,"children":373},[374,384],{"type":47,"tag":48,"props":375,"children":376},{},[377,382],{"type":47,"tag":180,"props":378,"children":379},{},[380],{"type":52,"value":381},"工具记忆（Tool Memory）全链路支持",{"type":52,"value":383},"：",{"type":47,"tag":292,"props":385,"children":386},{},[387,400,443],{"type":47,"tag":296,"props":388,"children":389},{},[390,392,398],{"type":52,"value":391},"召回阶段：新增 ",{"type":47,"tag":55,"props":393,"children":395},{"className":394},[],[396],{"type":52,"value":397},"\u003Ctool_memories>",{"type":52,"value":399}," 区块，将工具记忆数据规范化渲染至 prompt 注入块。",{"type":47,"tag":296,"props":401,"children":402},{},[403,405,411,412,418,420,426,428,434,436,442],{"type":52,"value":404},"写入阶段：支持 ",{"type":47,"tag":55,"props":406,"children":408},{"className":407},[],[409],{"type":52,"value":410},"assistant.tool_calls",{"type":52,"value":79},{"type":47,"tag":55,"props":413,"children":415},{"className":414},[],[416],{"type":52,"value":417},"toolResult",{"type":52,"value":419}," 消息转换，序列化为 MemOS ",{"type":47,"tag":55,"props":421,"children":423},{"className":422},[],[424],{"type":52,"value":425},"\u002Fadd\u002Fmessage",{"type":52,"value":427}," 标准结构（",{"type":47,"tag":55,"props":429,"children":431},{"className":430},[],[432],{"type":52,"value":433},"role:\"tool\"",{"type":52,"value":435}," 配合 ",{"type":47,"tag":55,"props":437,"children":439},{"className":438},[],[440],{"type":52,"value":441},"tool_call_id",{"type":52,"value":217},{"type":47,"tag":296,"props":444,"children":445},{},[446],{"type":52,"value":447},"数据结构统一：工具结果中的图片\u002F文件仅保留可检索的 URL 文本；base64\u002Fdata URI 简化为元数据描述，不再内联输出大体积二进制数据。",{"data":449,"body":450},{},{"type":44,"children":451},[452],{"type":47,"tag":48,"props":453,"children":454},{},[455,460,462,468],{"type":47,"tag":180,"props":456,"children":457},{},[458],{"type":52,"value":459},"System Note 前缀自动剥离",{"type":52,"value":461},"：自动剔除前置的 ",{"type":47,"tag":55,"props":463,"children":465},{"className":464},[],[466],{"type":52,"value":467},"Note: The previous agent run was aborted by the user.",{"type":52,"value":469}," 提示词，提升召回查询与入库数据的准确性。",{"data":471,"body":472},{},{"type":44,"children":473},[474],{"type":47,"tag":48,"props":475,"children":476},{},[477,482,484,490,491,497],{"type":47,"tag":180,"props":478,"children":479},{},[480],{"type":52,"value":481},"重构系统事件检测",{"type":52,"value":483},"：提取 ",{"type":47,"tag":55,"props":485,"children":487},{"className":486},[],[488],{"type":52,"value":489},"isHeartbeatPrompt",{"type":52,"value":79},{"type":47,"tag":55,"props":492,"children":494},{"className":493},[],[495],{"type":52,"value":496},"isSystemCommandPrompt",{"type":52,"value":498}," 验证逻辑，并将心跳正则锚定于字符串首部，避免误判包含相关特征词的正常用户消息。",{"data":500,"body":501},{},{"type":44,"children":502},[503],{"type":47,"tag":48,"props":504,"children":505},{},[506,511,513,519],{"type":47,"tag":180,"props":507,"children":508},{},[509],{"type":52,"value":510},"精简记忆过滤逻辑",{"type":52,"value":512},"：整合 ",{"type":47,"tag":55,"props":514,"children":516},{"className":515},[],[517],{"type":52,"value":518},"buildMemorySections",{"type":52,"value":520}," 函数中重复的相关度阈值判断逻辑。",{"data":522,"body":523},{},{"type":44,"children":524},[525],{"type":47,"tag":48,"props":526,"children":527},{},[528,533],{"type":47,"tag":180,"props":529,"children":530},{},[531],{"type":52,"value":532},"界面体验优化",{"type":52,"value":534},"：新增响应式布局与可折叠悬浮导航工具，并补充了全新的 SVG 图标。",{"data":536,"body":537},{},{"type":44,"children":538},[539],{"type":47,"tag":48,"props":540,"children":541},{},[542,547,549,555,557,563,565,571],{"type":47,"tag":180,"props":543,"children":544},{},[545],{"type":52,"value":546},"适配插件安全审查（移除子进程）",{"type":52,"value":548},"：为了符合严格的插件沙箱与安全合规要求，完全移除了 ",{"type":47,"tag":55,"props":550,"children":552},{"className":551},[],[553],{"type":52,"value":554},"child_process",{"type":52,"value":556}," 的 ",{"type":47,"tag":55,"props":558,"children":560},{"className":559},[],[561],{"type":52,"value":562},"spawn",{"type":52,"value":564},"\u002F",{"type":47,"tag":55,"props":566,"children":568},{"className":567},[],[569],{"type":52,"value":570},"exec",{"type":52,"value":572}," 调用。插件自更新机制由原来的“后台静默下载并强制更新”改为了“仅检测版本并在日志中打印手动更新命令提示”，避免后台进程逃逸风险。",{"data":574,"body":575},{},{"type":44,"children":576},[577],{"type":47,"tag":48,"props":578,"children":579},{},[580,585,587,593,595,601],{"type":47,"tag":180,"props":581,"children":582},{},[583],{"type":52,"value":584},"适配插件安全审查（移除默认越权）",{"type":52,"value":586},"：移除了 ",{"type":47,"tag":55,"props":588,"children":590},{"className":589},[],[591],{"type":52,"value":592},"plugin.json",{"type":52,"value":594}," 声明文件中的所有 ",{"type":47,"tag":55,"props":596,"children":598},{"className":597},[],[599],{"type":52,"value":600},"default",{"type":52,"value":602}," 默认值设定，确保插件在无显式配置时不会触发越权或非预期调用。",{"data":604,"body":605},{},{"type":44,"children":606},[607],{"type":47,"tag":48,"props":608,"children":609},{},[610,615,617,623],{"type":47,"tag":180,"props":611,"children":612},{},[613],{"type":52,"value":614},"配置 Schema 集中管理",{"type":52,"value":616},"：重构配置解析逻辑 (",{"type":47,"tag":55,"props":618,"children":620},{"className":619},[],[621],{"type":52,"value":622},"getConfigResolution",{"type":52,"value":624},")，集中管理环境变量、用户配置与默认值的优先级策略，提升了代码的安全性和健壮性。",{"data":626,"body":627},{},{"type":44,"children":628},[629],{"type":47,"tag":48,"props":630,"children":631},{},[632],{"type":52,"value":633},"强化多 Agent 场景的细粒度控制，增强动态用户标识提取能力。",{"data":635,"body":636},{},{"type":44,"children":637},[638],{"type":47,"tag":48,"props":639,"children":640},{},[641,646,648,654,656,662],{"type":47,"tag":180,"props":642,"children":643},{},[644],{"type":52,"value":645},"Direct Session User ID 支持",{"type":52,"value":647},"：新增 ",{"type":47,"tag":55,"props":649,"children":651},{"className":650},[],[652],{"type":52,"value":653},"useDirectSessionUserId",{"type":52,"value":655}," 配置，开启后可直接从 ",{"type":47,"tag":55,"props":657,"children":659},{"className":658},[],[660],{"type":52,"value":661},"sessionKey",{"type":52,"value":663}," 中解析并提取真实会话的用户 ID，满足复杂代理场景下的数据隔离需求。",{"data":665,"body":666},{},{"type":44,"children":667},[668],{"type":47,"tag":48,"props":669,"children":670},{},[671,676,677,683],{"type":47,"tag":180,"props":672,"children":673},{},[674],{"type":52,"value":675},"Agent 运行白名单",{"type":52,"value":647},{"type":47,"tag":55,"props":678,"children":680},{"className":679},[],[681],{"type":52,"value":682},"allowedAgents",{"type":52,"value":684}," 配置项，允许在多 Agent 模式下仅对特定的 Agent 触发记忆召回和记录，避免全局拦截带来的冗余消耗。",{"data":686,"body":687},{},{"type":44,"children":688},[689],{"type":47,"tag":48,"props":690,"children":691},{},[692,697,699,705,707,713,715,721,723,729],{"type":47,"tag":180,"props":693,"children":694},{},[695],{"type":52,"value":696},"差异化覆盖机制 (Agent Overrides)",{"type":52,"value":698},"：引入 ",{"type":47,"tag":55,"props":700,"children":702},{"className":701},[],[703],{"type":52,"value":704},"agentOverrides",{"type":52,"value":706}," 配置对象，支持针对不同的 Agent 单独覆盖如知识库 ID (",{"type":47,"tag":55,"props":708,"children":710},{"className":709},[],[711],{"type":52,"value":712},"knowledgebaseIds",{"type":52,"value":714},")、召回条数 (",{"type":47,"tag":55,"props":716,"children":718},{"className":717},[],[719],{"type":52,"value":720},"memoryLimitNumber",{"type":52,"value":722},")、功能开关 (",{"type":47,"tag":55,"props":724,"children":726},{"className":725},[],[727],{"type":52,"value":728},"recallEnabled",{"type":52,"value":730},") 等核心参数。",{"data":732,"body":733},{},{"type":44,"children":734},[735],{"type":47,"tag":48,"props":736,"children":737},{},[738,743],{"type":47,"tag":180,"props":739,"children":740},{},[741],{"type":52,"value":742},"消息入库质量提升",{"type":52,"value":744},"：新增并强化对 OpenClaw 入站元数据、时间戳包裹、飞书尾部系统提示的清洗，减少无效噪音写入记忆。",{"data":746,"body":747},{},{"type":44,"children":748},[749],{"type":47,"tag":48,"props":750,"children":751},{},[752,757],{"type":47,"tag":180,"props":753,"children":754},{},[755],{"type":52,"value":756},"多渠道消息前缀清洗优化",{"type":52,"value":758},"：扩展并统一处理 WebChat、WhatsApp、Telegram、Slack、Discord、Zalo 等 channel 的消息 envelope\u002F前缀，降低平台包装信息对记忆写入与召回质量的干扰。",{"data":760,"body":761},{},{"type":44,"children":762},[763],{"type":47,"tag":48,"props":764,"children":765},{},[766,771],{"type":47,"tag":180,"props":767,"children":768},{},[769],{"type":52,"value":770},"召回展示更准确",{"type":52,"value":772},"：召回结果时间展示优先使用更新时间，提升时间语义一致性。",{"data":774,"body":775},{},{"type":44,"children":776},[777],{"type":47,"tag":48,"props":778,"children":779},{},[780,785],{"type":47,"tag":180,"props":781,"children":782},{},[783],{"type":52,"value":784},"Recall Filter 更稳健",{"type":52,"value":786},"：默认参数与运行时回退值（超时、重试）保持对齐，提升本地模型场景稳定性。",{"data":788,"body":789},{},{"type":44,"children":790},[791],{"type":47,"tag":48,"props":792,"children":793},{},[794,799],{"type":47,"tag":180,"props":795,"children":796},{},[797],{"type":52,"value":798},"超时与资源管理优化",{"type":52,"value":800},"：修复定时器清理问题，避免异常路径下的资源泄漏。",{"data":802,"body":803},{},{"type":44,"children":804},[805],{"type":47,"tag":48,"props":806,"children":807},{},[808,813],{"type":47,"tag":180,"props":809,"children":810},{},[811],{"type":52,"value":812},"配置能力补全",{"type":52,"value":814},"：插件 schema 补齐 Recall Filter 相关字段，配置更完整、可控性更强。",{"data":816,"body":817},{},{"type":44,"children":818},[819],{"type":47,"tag":48,"props":820,"children":821},{},[822,827],{"type":47,"tag":180,"props":823,"children":824},{},[825],{"type":52,"value":826},"可观测性增强",{"type":52,"value":828},"：增加过滤前后数量日志，便于排查召回质量与过滤效果。",{"data":830,"body":831},{},{"type":44,"children":832},[833],{"type":47,"tag":48,"props":834,"children":835},{},[836],{"type":52,"value":837},"无感升级与记忆召回优化。本次更新主要包含以下改进，旨在提升插件的易用性与 Token 利用率：",{"data":839,"body":840},{},{"type":44,"children":841},[842],{"type":47,"tag":48,"props":843,"children":844},{},[845],{"type":52,"value":846},"新增插件版本自检测机制，后台定期检查 NPM 仓库最新版本。",{"data":848,"body":849},{},{"type":44,"children":850},[851],{"type":47,"tag":48,"props":852,"children":853},{},[854],{"type":52,"value":855},"检测到新版本后自动触发静默升级流程，用户无需手动操作即可持续获取最新能力与修复。",{"data":857,"body":858},{},{"type":44,"children":859},[860],{"type":47,"tag":48,"props":861,"children":862},{},[863],{"type":52,"value":864},"引入基于 LLM 的记忆二次筛选能力。",{"data":866,"body":867},{},{"type":44,"children":868},[869],{"type":47,"tag":48,"props":870,"children":871},{},[872],{"type":52,"value":873},"新增 recallFilterModel、recallFilterBaseUrl 等配置项，可指定独立模型进行相关性评审。",{"data":875,"body":876},{},{"type":44,"children":877},[878],{"type":47,"tag":48,"props":879,"children":880},{},[881],{"type":52,"value":882},"可有效剔除干扰项，仅保留对当前对话真正有用的记忆片段。",{"data":884,"body":885},{},{"type":44,"children":886},[887],{"type":47,"tag":48,"props":888,"children":889},{},[890],{"type":52,"value":891},"重构记忆注入逻辑，将静态协议与指令移动到 appendSystemContext。",{"data":893,"body":894},{},{"type":44,"children":895},[896],{"type":47,"tag":48,"props":897,"children":898},{},[899],{"type":52,"value":900},"prependContext 仅保留动态检索得到的 memory-list 数据。",{"data":902,"body":903},{},{"type":44,"children":904},[905],{"type":47,"tag":48,"props":906,"children":907},{},[908],{"type":52,"value":909},"显著降低重复提示词带来的 Token 消耗，并提升模型对核心记忆的聚焦。",{"data":911,"body":912},{},{"type":44,"children":913},[914],{"type":47,"tag":48,"props":915,"children":916},{},[917],{"type":52,"value":918},"支持用户开启多Agent模式，实现从上下文中识别agent进行记忆隔离，同时做了开关，兼容旧版本。",{"data":920,"body":921},{},{"type":44,"children":922},[923],{"type":47,"tag":48,"props":924,"children":925},{},[926],{"type":52,"value":927},"支持用户自定义searchMemory接口的relativity字段。",{"data":929,"body":930},{},{"type":44,"children":931},[932],{"type":47,"tag":48,"props":933,"children":934},{},[935],{"type":52,"value":936},"支持 before_agent_start 事件中 searchMemory、在 agent_end 事件中进行 addMessage。",1781767990485]