By devasher · Edited by Nominiclaw
This update introduces an experimental 'code mode' for agents, improves the reliability of package-managed updates on macOS, and resolves several critical UI and channel status bugs.
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.
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.
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.
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
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.