乐于分享
好东西不私藏

openclaw-weixin v2.1.7(2026-04-07)· 懒加载防重入与出站过滤

openclaw-weixin v2.1.7(2026-04-07)· 懒加载防重入与出站过滤

openclaw-weixin v2.1.7(2026-04-07)· 懒加载防重入与出站过滤

【DreamAI梦幻智能导读】

Tencent openclaw-weixin 是 OpenClaw 的微信渠道插件,面向需在网关侧接入微信、用扫码完成登录授权的开发者与运维使用者。

本版聚焦启动与消息链路中的模块加载顺序:channel.tsprocess-message.ts 通过懒加载避免插件注册与 loadOpenClawPlugins 重入;sendWeixinOutbound 对出站文本统一走 StreamingMarkdownFilter,与模型输出路径一致。payload 所给 GitHub Release 标签页当前返回 404,正文与附录以仓库 CHANGELOG.md 为准¹;细节见「完整更新日志」与参考资料。

版本概览

项目 信息
项目名称 openclaw-weixin(OpenClaw 微信渠道插件)
版本号 v2.1.7
发布日期 2026-04-07
项目地址 https://github.com/Tencent/openclaw-weixin[1]
Release 链接 https://github.com/Tencent/openclaw-weixin/releases/tag/v2.1.7[2]
Stars 164
Forks 33

完整更新日志

修复

插件/注册重入:在 channel.tsstartAccount 中对 monitorWeixinProvider 懒加载,避免在插件注册阶段就拉起 monitor → process-message → command-auth 链路,从而在账号尚未启动时重入插件/提供者注册表。

初始化副作用:在 process-message.ts 中对 resolveSenderCommandAuthorizationWithRuntimeresolveDirectDmAuthorizationOutcome 懒加载,避免模块初始化阶段触发 ensureContextWindowCacheLoaded,进而导致 loadOpenClawPlugins 重入。

变更

工具调用出站路径:sendWeixinOutbound 对出站文本应用 StreamingMarkdownFilter,与 process-message 中模型输出路径一致。

参考资料

  1. Tencent/openclaw-weixin CHANGELOG.md(版本 2.1.7 条目)¹:https://github.com/Tencent/openclaw-weixin/blob/main/CHANGELOG.md[3]  
  2. 同上文件 raw 视图(便于 diff/拉取):https://raw.githubusercontent.com/Tencent/openclaw-weixin/main/CHANGELOG.md[4]  
  3. 上游版本说明写作约定(Keep a Changelog):https://keepachangelog.com/en/1.1.0/[5]  
  4. npm 包 @tencent-weixin/openclaw-weixin 元数据与版本历史:https://www.npmjs.com/package/@tencent-weixin/openclaw-weixin[6]  
  5. 仓库主页与 README:https://github.com/Tencent/openclaw-weixin[7]

关于作者和DreamAI

https://docs.dingtalk.com/i/nodes/Amq4vjg890AlRbA6Td9ZvlpDJ3kdP0wQ[8]

关注微信公众号"AI发烧友",获取更多AI技术文档及IT开发运维实用工具与技巧

引用链接

[1]https://github.com/Tencent/openclaw-weixin

[2]https://github.com/Tencent/openclaw-weixin/releases/tag/v2.1.7

[3]https://github.com/Tencent/openclaw-weixin/blob/main/CHANGELOG.md

[4]https://raw.githubusercontent.com/Tencent/openclaw-weixin/main/CHANGELOG.md

[5]https://keepachangelog.com/en/1.1.0/

[6]https://www.npmjs.com/package/@tencent-weixin/openclaw-weixin

[7]https://github.com/Tencent/openclaw-weixin

[8]https://docs.dingtalk.com/i/nodes/Amq4vjg890AlRbA6Td9ZvlpDJ3kdP0wQ