013|OpenClaw v2026.5.7 发布:发布系统加固、安全权限重构与跨平台稳定性全面提升

“从 2026.5.6 到 2026.5.7,OpenClaw 用一次维护版本带来了发布系统加固、OpenAI 模型灵活切换、Cron 状态可视化、Channels CLI 重构、安全权限重构、上下文引擎修复,以及 Discord/WhatsApp 跨平台稳定性全面提升。”
一、版本概览
|
|
|
|---|---|
| 版本号 |
|
| 发布日期 |
|
| 更新类型 |
|
| 上一版本 |
|
| 核心亮点 |
|
二、核心更新详解
1. 🔧 发布/插件系统加固——让发布更可靠

问题背景:插件发布时依赖安装失败、预览单元格不稳定导致部分插件无法发布,维护发布难以恢复。
修复内容:
-
• 重试瞬态 ClawHub CLI 依赖安装失败:自动重试因网络波动导致的依赖安装失败 -
• 保持预览通过的插件可发布:即使某个预览单元格不稳定,已通过预览的插件仍可发布 -
• 验证每个预期的 ClawHub 包版本:发布前验证所有包版本,防止部分发布隐藏问题
用户价值:维护发布更快恢复,减少部分插件发布隐藏问题,提升发布可靠性。
2. 🤖 OpenAI 模型灵活切换——无需更改默认模型
新增功能:openai/chat-latest 作为显式直接 API Key 模型覆盖
使用场景:
# 无需更改稳定默认模型,即可尝试 ChatGPT Instant API 别名openclaw models set openai/chat-latest
价值:灵活测试新模型,不影响生产环境稳定性。
3. ⏰ Cron 状态可视化——外部工具可直接读取
新增功能:cron list --json 和 cron show --json 输出计算状态
输出状态包括:
-
• disabled– 已禁用 -
• running– 运行中 -
• ok– 正常 -
• error– 错误 -
• skipped– 跳过 -
• idle– 空闲
用户价值:外部工具可直接读取 Cron 状态,无需重新实现状态推导逻辑。
PR: #78701[1]\ 贡献者: @aweiker[2]
4. 📺 Channels CLI 重构——命令职责更清晰
变更内容:
|
|
|
|---|---|
openclaw channels list |
--all 显示捆绑和目录频道) |
openclaw models auth list |
|
openclaw models list |
|
价值:命令职责更清晰,信息查找更直观,减少信息过载。
PR: #78456[3]\ 贡献者: @sliverp[4]
5. 🔒 安全权限重构——多层防护加固

修复项汇总:
|
|
|
|
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
贡献者: @pgondhi987[9], @VACInc[10]
6. 🧠 上下文引擎修复——防止历史重复使用
问题:源历史缩减或组装失败时,缓存的组装上下文视图未失效,导致重置前历史被重复使用。
修复:使缓存的组装上下文视图失效。
解决 Issue: #77968[11]
贡献者: @brokemac79[12], @ChrisBot2026[13]
7. 💬 Discord 稳定性提升——语音和控制更可靠

修复项:
-
• 语音频道权限审计:auto-join 目标前检查 Connect/Speak/Read Message History 权限 -
• 语音捕获优化:默认静音后延至 2.5s,减少卡顿 -
• 心跳 ACK 超时测量修复:防止误触发重连 -
• 纯文本控制命令路由修复:/steer 等命令不再被静默丢弃
价值:Discord 语音和控制更稳定,减少意外断连和命令丢失。
8. 📱 WhatsApp 改进——消息路由更可靠
修复项:
-
• LID 地址映射路由:解决 LID 地址联系人接收不到消息的问题(#67378[14]) -
• 带标题 MEDIA 指令优化:自动回复只发送一次,避免空媒体消息
贡献者: @edenfunf[15], @ai-hpc[16]
9. 🔐 Codex 审批模式优化——审批流程更顺畅
变更内容:
-
• 默认不安装 pre-guardian native PermissionRequest hook -
• Codex reviewer 可在 OpenClaw 审批前批准安全命令 -
• 相同 Codex native PermissionRequest 负载在活跃会话窗口内记住 allow-always 决策 -
• 插件审批请求验证/渲染实际允许的决策
价值:Codex 审批流程更顺畅,减少重复审批,提升开发效率。
贡献者: @shakkernerd[17]
10. 🏥 Doctor 修复——配置恢复更可靠
修复项:
-
• Cron doctor:修复持久化 Cron 作业的 payload.model 存储问题(”default”/”null”/blank/JSON null) -
• Doctor/Codex OAuth:保留有效的 openai-codex/* PI 路由,恢复 2026.5.5 重写的 openai/* GPT-5 路由 -
• Doctor/status:警告 OPENCLAW_GATEWAY_TOKEN 阴影问题
恢复文档: https://docs.openclaw.ai/providers/openai#check-and-recover-codex-oauth-routing
三、其他重要修复
Gateway/会话
-
• /new和sessions.reset时清除缓存的 Skill 快照 -
• 每日 Gateway-agent 会话滚动时持久化新生成的 transcript 文件 -
• 取消延迟的 post-ready 维护,抑制快速重启后的维护/Cron 启动
Telegram
-
• 轮询 watchdog 绑定 getUpdates 活性 -
• 成功同聊天消息工具出站发送视为已交付 -
• 解析包含点的 provider ID(如 hf.co)
Matrix
-
• 审批交付重试 3 次(解决瞬态发送失败)
控制 UI
-
• 压缩计数显示为紧凑 N Checkpoint(s) -
• 聊天和频道标签在慢负载时保持响应 -
• /new命令仅在显式 Control UI 会话创建时触发
插件
-
• 托管插件安装使用绝对 POSIX npm 生命周期 shell -
• 源-only TypeScript 包警告可执行 -
• 官方 npm 和 ClawHub 插件在主机更新时同步
四、升级建议

推荐操作
# 1. 备份配置cp ~/.openclaw/openclaw.json ~/.openclaw/openclaw.json.bak# 2. 更新 OpenClawopenclaw update# 3. 运行 doctor 检查openclaw doctor --fix# 4. 验证 Cron 状态openclaw cron list --json# 5. 验证模型路由openclaw models list
注意事项
-
1. Cron 用户: 运行 openclaw doctor --fix修复可能损坏的 Cron 配置 -
2. Codex OAuth 用户: 如 2026.5.5 更改了默认模型,运行: openclaw models set openai-codex/gpt-5.5openclaw config validate -
3. Discord 语音用户: 检查语音频道权限(Connect/Speak/Read Message History)
五、贡献者感谢

感谢以下社区贡献者:
@aweiker[2] @sliverp[4]@pgondhi987[9]@Evizero[18]@VACInc[10]@vincentkoc[19]@brokemac79[12]@ChrisBot2026[13]@adzendo[20]@RajvardhanPatil07[21]@bizzle12368239[22]@manugc[23]@joeyfrasier[24]@sallyom[25]@nailujac[26]@zerone0x[27]@shakkernerd[17]@ai-hpc[16]@arniesaha[28]@openperf[29]@neeravmakwana[30]@Patrick-Erichsen[31]@bryce-d-greybeard[32]@NikolaFC[33]@ramitrkar-hash[34]@BunsDev[35]@Alex-Alaniz[36]@MilleniumGenAI[37]@draix[38]@googlerest[39]@yelog[40]@joeyzenghuan[41]@edenfunf[15] @obviyus[42]
六、总结
v2026.5.7 是一个稳定性维护版本,包含 30+ 项修复,重点:
-
1. 发布系统更可靠 – 插件发布和依赖安装更稳定 -
2. 安全加固 – 权限控制、审批流程、凭证解析修复 -
3. Discord/WhatsApp 改进 – 语音、消息路由、LID 映射 -
4. Cron/Doctor 修复 – 状态显示、配置修复 -
5. 上下文引擎优化 – 防止历史重复使用
建议所有用户升级,特别是使用 Cron、Codex、Discord、WhatsApp 的用户。
📌 行动清单
-
• [ ] 备份配置并升级 OpenClaw -
• [ ] 运行 openclaw doctor --fix -
• [ ] 验证 Cron 状态 openclaw cron list --json -
• [ ] 检查模型路由 openclaw models list -
• [ ] 测试关键功能(Discord 语音、WhatsApp 消息)
👇 互动话题你升级 v2026.5.7 了吗?遇到什么问题?评论区聊聊~
如果这篇文章对你有帮助,欢迎「在看」+「转发」给需要的朋友
引用链接
[1] #78701:https://github.com/openclaw/openclaw/pull/78701[2]@aweiker:https://github.com/aweiker[3]#78456:https://github.com/openclaw/openclaw/pull/78456[4]@sliverp:https://github.com/sliverp[5]#78864:https://github.com/openclaw/openclaw/pull/78864[6]#78863:https://github.com/openclaw/openclaw/pull/78863[7]#78517:https://github.com/openclaw/openclaw/pull/78517[8]#78610:https://github.com/openclaw/openclaw/pull/78610[9]@pgondhi987:https://github.com/pgondhi987[10]@VACInc:https://github.com/VACInc[11]#77968:https://github.com/openclaw/openclaw/issues/77968[12]@brokemac79:https://github.com/brokemac79[13]@ChrisBot2026:https://github.com/ChrisBot2026[14]#67378:https://github.com/openclaw/openclaw/issues/67378[15]@edenfunf:https://github.com/edenfunf[16]@ai-hpc:https://github.com/ai-hpc[17]@shakkernerd:https://github.com/shakkernerd[18]@Evizero:https://github.com/Evizero[19]@vincentkoc:https://github.com/vincentkoc[20]@adzendo:https://github.com/adzendo[21]@RajvardhanPatil07:https://github.com/RajvardhanPatil07[22]@bizzle12368239:https://github.com/bizzle12368239[23]@manugc:https://github.com/manugc[24]@joeyfrasier:https://github.com/joeyfrasier[25]@sallyom:https://github.com/sallyom[26]@nailujac:https://github.com/nailujac[27]@zerone0x:https://github.com/zerone0x[28]@arniesaha:https://github.com/arniesaha[29]@openperf:https://github.com/openperf[30]@neeravmakwana:https://github.com/neeravmakwana[31]@Patrick-Erichsen:https://github.com/Patrick-Erichsen[32]@bryce-d-greybeard:https://github.com/bryce-d-greybeard[33]@NikolaFC:https://github.com/NikolaFC[34]@ramitrkar-hash:https://github.com/ramitrkar-hash[35]@BunsDev:https://github.com/BunsDev[36]@Alex-Alaniz:https://github.com/Alex-Alaniz[37]@MilleniumGenAI:https://github.com/MilleniumGenAI[38]@draix:https://github.com/draix[39]@googlerest:https://github.com/googlerest[40]@yelog:https://github.com/yelog[41]@joeyzenghuan:https://github.com/joeyzenghuan[42]@obviyus: https://github.com/obviyus
夜雨聆风