OpenClaw Update: Code Mode, Managed Service Handoffs, and UI Refinements
Merged PRs
- fix(plugins): keep plugin metadata memo fresh Original PR
- fix(ui): keep PWA chat controls above iOS home indicator Original PR
- [Refactor] Split channel schema imports Original PR
- refactor: centralize live provider drift policy Original PR
- [Refactor] Lazy-load Canvas startup modules Original PR
- Refactor shared channel status read model Original PR
- fix(cron): treat attempt dispatch as execution start Original PR
- fix(config): rotate clobber snapshots at cap Original PR
- fix(whatsapp): mark text slash commands as command turns Original PR
- [codex] Harden Telegram HTML parse fallback Original PR
- Fix agent update.run managed-service handoff Original PR
- fix(channels): prefer runtime status in channel list Original PR
- fix(installer): handle noninteractive git installs Original PR
- [codex] Add generic OpenClaw code mode Original PR
- fix(ui): remove duplicate Usage heading Original PR
- fix(ui/src/ui/views/overview-cards.ts): incorrect data prioritization / misleading display text Original PR
- fix(codex): remove spurious migration warnings Original PR
- fix(codex): hide empty rate-limit buckets Original PR
Key Changes
New Features & Experimental Capabilities
OpenClaw Code Mode
An experimental tool-surface adapter for non-Codex models has been introduced. When enabled, the model's visible tool list is replaced by two control tools: exec and wait. This allows models to author JavaScript or TypeScript code that runs inside a QuickJS-WASI worker. From within this code, the model can search for and call other enabled OpenClaw tools via a hidden catalog bridge. This significantly reduces the prompt surface for agents with large tool catalogs while allowing complex compositions of tool calls and data transformations.
Critical Fixes & Reliability
Managed Service Update Handoff
Previously, agent-initiated updates (update.run) could attempt package swaps inside the live Gateway process, which often left macOS LaunchAgent installs unloaded or unreachable. The update process now hands off supervised global package updates to a detached helper that executes the standard CLI managed-service path. This ensures the service is properly stopped, swapped, and restarted with health verification before the update is marked as successful.
Cron Watchdog Improvements
A bug was fixed where isolated cron jobs reaching the attempt_dispatch phase were being killed by a 60-second pre-execution watchdog, even if the job was progressing. The attempt_dispatch phase is now correctly classified as the start of execution, clearing the watchdog and allowing the job to run until its configured timeout.
Config Recovery Forensics
To prevent the loss of critical diagnostic data, OpenClaw now rotates .clobbered.* config snapshots. Instead of silently stopping snapshots once the 32-file cap is reached, the system now deletes the oldest snapshot to make room for the newest, ensuring operators always have the most recent forensic evidence for config repairs.
Refactors & Performance
Startup Optimization Several refactors targeted gateway startup latency. The Canvas plugin now lazy-loads its startup modules (host, route, document, and tool implementations), reducing its registration time by approximately 74%. Additionally, channel schema imports were split to ensure that generic channel validation no longer requires loading provider-specific schema modules.
Channel Status Read Model
The system now prefers runtime status from the Gateway for openclaw channels list output. This resolves a regression where channels (such as Discord) appeared as "not configured" in the CLI despite being fully operational in the running Gateway.
UI & UX Enhancements
iOS PWA Fixes
A critical CSS fix ensures that PWA chat controls remain above the iOS home indicator. This addresses a regression in iOS 26.x where env(safe-area-inset-bottom) under-reported, leading to clipped controls in standalone mode.
General UI Cleanup
- Removed duplicate "Usage" headings in the Control UI.
- Improved session name prioritization in the Overview cards, ensuring human-readable labels are preferred over internal identifiers.
Impact
These changes collectively harden the operational stability of OpenClaw, particularly for users on macOS and iOS. The introduction of Code Mode provides a powerful new way for advanced users to scale agent toolsets without overwhelming the model's context window.
From a maintenance perspective, the shift toward lazy-loading and centralized drift policies reduces technical debt and improves the developer experience. Users experiencing issues with agent-initiated updates or cron job timeouts will find these versions significantly more reliable. For those using WhatsApp or Telegram, the improvements to slash command recognition and HTML parse fallbacks ensure a more seamless and professional communication experience.