OpenClaw 更新分析 — 2026-03-18
> 时间窗口:2026-03-17T05:18Z — 2026-03-18T05:18Z
> Commits 总数:11+(API 截断,实际可能更多)
概览
今日 OpenClaw 迎来一波密集更新,主要集中在三个方向:
1. UI 功能增强 — 新增 expand-to-canvas 按钮和应用内 session 导航
2. 多渠道修复 — Signal 类型 import 修复、Slack gateway 修复
3. Web Search 功能完善 — xAI 凭证元数据、provider 边界整理、文档更新
4. 构建修复 — main build 崩溃已恢复,model compat schema 对齐
5. 测试加固 — Telegram、prompt composition 测试覆盖率提升
重要变更(逐条分析)
1. 🔧 fix: restore main build (#49478)
- 作者:Josh Lehman (jalehman)
- 时间:2026-03-18T05:14
- 类型:fix + config
- 内容:修复 main build 构建失败,同时对齐 model compat schema
- 用户影响:⚠️ 高优先级 — main build 曾经 broken,此 commit 是最新版本的关键修复。已发布版本的用户可以正常升级了
2. 🔧 Signal: fix account config type import (#49470)
- 作者:scoootscooob
- 时间:2026-03-18T05:12
- 类型:fix
- 模块:Signal 渠道
- 内容:修复 account config 的类型导入错误
- 用户影响:使用 Signal 渠道的用户若遇到类型错误导致 Signal 无法启动,升级后可解决
3. ✨ xAI: add web search credential metadata (#49472)
- 作者:scoootscooob
- 时间:2026-03-18T05:08
- 类型:feat
- 模块:xAI 提供商
- 内容:为 xAI web search 工具添加凭证元数据支持
- 用户影响:xAI (Grok) 的 web search 功能将更完整,凭证管理体验改善。结合 TOOLS.md 中我们已有 xAI API 配置,值得关注
4. ✨ UI: expand-to-canvas, session navigation, plugin SDK fixes (#49483)
- 作者:Val Alexander (BunsDev)
- 时间:2026-03-18T05:07
- 类型:feat + fix
- 模块:UI、Plugin SDK、Signal SDK
- 内容三点:
- 新增 expand-to-canvas 按钮(将 session 展开为全屏 canvas 视图)
- 新增应用内 session 导航(在 app 内直接切换 session)
- 修复 signal SDK 循环 re-export 和 reserved commands TDZ 问题
- 用户影响:⭐ 最大亮点 — canvas 展开功能对于需要沉浸式工作的场景很有用;session 导航提升多任务切换效率;plugin SDK 的 TDZ 修复会让自定义插件更稳定
5. 📝 docs: update web search config guidance
- 作者:Tak Hoffman (Takhoffman)
- 时间:2026-03-18T04:59
- 类型:docs
- 模块:文档
- 内容:更新 web search 配置指南
- 用户影响:如果正在配置 Brave/xAI web search,文档更准确了
6. 🔧 fix(slack): repair gateway watch runtime export
- 作者:Peter Steinberger (steipete)
- 时间:2026-03-18T04:52
- 类型:fix
- 模块:Slack 渠道 + Gateway
- 内容:修复 Slack gateway watch 的 runtime export 错误
- 用户影响:使用 Slack 渠道且开启 gateway watch 功能的用户,此前可能遇到 runtime 异常,升级后修复
7. ♻️ refactor: deduplicate channel config adapters
- 作者:Peter Steinberger (steipete)
- 时间:2026-03-18T04:51
- 类型:refactor
- 模块:渠道配置层
- 内容:提取并去重各渠道 config adapter 的公共逻辑
- 用户影响:无直接功能变化,但降低了 bug 发生率,为后续新渠道接入打基础
8. 🔧 chore: finalize web search provider boundaries
- 作者:Tak Hoffman
- 时间:2026-03-18T04:48
- 类型:chore
- 模块:Web Search 子系统
- 内容:整理 web search 各 provider(Brave、xAI 等)的边界和接口定义
- 用户影响:web search 功能更鲁棒,provider 切换更清晰
9. ✅ test: harden prompt composition coverage
- 作者:Peter Steinberger
- 时间:2026-03-18T04:42
- 类型:test
- 模块:Prompt 系统
- 内容:加强 prompt composition 测试覆盖率
- 用户影响:提升核心 prompt 处理的可靠性
10. ✅ test(telegram): pass explicit deps + inject bot deps in harnesses
- 作者:Ayaan Zaidi (obviyus)
- 时间:2026-03-18T04:38-04:42
- 类型:test(2 commits)
- 模块:Telegram 渠道
- 内容:在测试 harness 中明确注入 bot 依赖,改善测试隔离性
- 用户影响:Telegram 渠道的测试更健壮,减少未来回归风险
架构观察
1. Web Search 功能正在快速成熟 — 连续 3+ commits 涉及 web search(xAI 凭证、provider 边界、文档),说明这是近期重点迭代方向。结合 xAI Grok API 的 x_search 工具,web search 能力正在系统化整合进 OpenClaw
2. 渠道层重构推进 — refactor: deduplicate channel config adapters 是架构清理信号,steipete 在主导渠道层的统一化。这有助于未来新增渠道(如更多 IM 平台)
3. Plugin SDK 稳定性加固 — Signal SDK TDZ 修复 + reserved commands 问题,说明 plugin 生态正在补全边界条件,适合自定义插件开发者关注
4. Build 系统曾崩溃 — main build 修复 commit 是今天最后一条,说明近期有较大的 breaking change 导致构建失败,已紧急修复
5. 多人协作活跃 — steipete、Takhoffman、scoootscooob、BunsDev、obviyus 五位贡献者同日提交,社区活力强
对我们的影响
| 变更 | 对 Jay 的影响 | 建议操作 |
|---|---|---|
| main build 修复 | ✅ 可以安全升级 | `npm install -g openclaw` 更新 |
| xAI web search 凭证元数据 | 🔍 我们在 TOOLS.md 已配置 xAI API,此更新使 web search 工具更完整 | 升级后测试 Grok web_search 功能 |
| expand-to-canvas 按钮 | 🎨 在支持 canvas 的前端会出现新按钮 | 试用 canvas 展开模式 |
| Signal 类型修复 | 我们未使用 Signal | 无需操作 |
| Slack gateway watch 修复 | 我们未使用 Slack | 无需操作 |
| refactor: 渠道 config adapter | 内部重构,用户无感 | 无需操作 |
总体评估:值得升级。主要收益是 xAI web search 完善 + UI 导航增强 + 构建修复。
原始 Commits
| SHA | 信息 | 时间 (UTC) | 链接 |
|---|---|---|---|
| 4ca87fa | fix: restore main build (#49478) | 05:14 | https://github.com/openclaw/openclaw/commit/4ca87fa |
| 4c160d2 | Signal: fix account config type import (#49470) | 05:12 | https://github.com/openclaw/openclaw/commit/4c160d2 |
| bfecc58 | xAI: add web search credential metadata (#49472) | 05:08 | https://github.com/openclaw/openclaw/commit/bfecc58 |
| 5464ad1 | UI: expand-to-canvas, session navigation, plugin SDK fixes (#49483) | 05:07 | https://github.com/openclaw/openclaw/commit/5464ad1 |
| 0354d49 | docs update web search config guidance | 04:59 | https://github.com/openclaw/openclaw/commit/0354d49 |
| 67ce726 | fix(slack): repair gateway watch runtime export | 04:52 | https://github.com/openclaw/openclaw/commit/67ce726 |
| 05603e4 | refactor: deduplicate channel config adapters | 04:51 | https://github.com/openclaw/openclaw/commit/05603e4 |
| 2c5fd8e | chore finalize web search provider boundaries | 04:48 | https://github.com/openclaw/openclaw/commit/2c5fd8e |
| e1cae60 | test: harden prompt composition coverage | 04:42 | https://github.com/openclaw/openclaw/commit/e1cae60 |
| 1ef7e54 | test(telegram): pass explicit deps in command tests | 04:39 | https://github.com/openclaw/openclaw/commit/1ef7e54 |
| b9dfb6c | test(telegram): inject bot deps in harnesses | 04:38 | https://github.com/openclaw/openclaw/commit/b9dfb6c |
分析生成时间:2026-03-18T05:18 UTC