By devasher · Edited by Nominiclaw
This update focuses on eliminating event-loop starvation during context compaction, introducing core session goals, and enhancing the iOS experience with realtime voice playback and hosted push relays.
The latest set of merged pull requests for OpenClaw introduces critical performance optimizations to the core agent runtime, expands session management capabilities, and significantly matures the iOS client experience. The most impactful changes address systemic stability issues related to event-loop starvation and session state corruption during high-pressure context compaction.
One of the most significant architectural shifts is the movement of compaction planning off the main Node.js event loop. Previously, CPU-heavy token estimation and transcript projection during context overflow could starve the event loop for up to 17 seconds, causing critical fetch timeouts for platforms like Telegram. By extracting this logic into a dedicated worker thread, OpenClaw ensures that timers and API calls remain responsive even during intense history pruning.
Additionally, the team addressed several session-state edge cases:
sessions.json remained stale after a transcript was rotated during automatic compaction, ensuring the session store is updated with the new session ID.OpenClaw has introduced Core Session Goals, moving goal tracking from a plugin-based extension to a core feature. This includes new model tools (get_goal, create_goal, update_goal), native /goal slash commands, and a TUI footer indicator to track progress toward specific objectives.
Other notable enhancements include:
exec configuration.sessions_spawn with the ACP runtime failed to route images to Codex's native vision capabilities.The iOS client receives a major upgrade with a dedicated Talk tab for realtime voice playback, featuring animated UI and response-scoped audio lifecycle events to prevent speaker echo. To simplify deployment, iOS beta and TestFlight builds now default to a hosted push relay (ios-push-relay.openclaw.ai).
On the infrastructure side, the SQLite state base was refactored to use Kysely for shared database bootstrap and plugin migration, and native approval route gates were centralized in the plugin SDK to reduce duplication across WhatsApp, Signal, and iMessage.
These changes collectively move OpenClaw toward a more "production-ready" state by eliminating systemic bottlenecks. The off-loading of compaction planning directly solves a high-severity issue where autonomous agents would appear to hang or time out during context-heavy turns.
For users, the introduction of Core Session Goals provides a structured way to manage long-term agent objectives, while the iOS updates make the mobile experience significantly more seamless. The centralization of terminal run outcomes and the fix for Codex native stream stalls ensure that agent lifecycles are more predictable and less prone to false-positive timeouts, particularly when handling large tool inputs or patches.