By devasher · Edited by Nominiclaw
Recent updates to OpenClaw focus on improved iMessage DM history seeding, critical fixes for OAuth profile persistence, and refined media path handling for QQ Bot and iMessage group delivery.
The latest development window for OpenClaw has brought a series of targeted improvements across its communication channels and core agent infrastructure. Key highlights include the introduction of opt-in history seeding for iMessage direct messages, a critical fix for runtime authentication snapshots, and a significant refactor of image processing capabilities.
OPENCLAW_HOME configuration [Original PR]iMessage History and Delivery:
OpenClaw now supports opt-in seeding of direct-message history via channels.imessage.dmHistoryLimit. This allows fresh DM sessions to fetch recent local messages.history rows, providing the agent with immediate context. Additionally, a fix was implemented to route iMessage group media-only sends through imsg send-attachment --transport auto to resolve silent delivery failures in group chats.
WhatsApp Diagnostics and UX:
To combat silent message loss, a new warning system notifies operators when WhatsApp group messages are dropped because the group is missing from the channels.whatsapp.groups allowlist. The update also restores the identity emoji fallback for acknowledgement reactions, ensuring that if a specific emoji isn't configured, the agent's identity emoji or a default is used.
QQ Bot Media Routing:
A critical bug was fixed where QQ Bot media paths ignored the OPENCLAW_HOME environment variable, hardcoding paths to ~/.openclaw/media/. This caused media sends to fail silently in Docker or multi-user environments where HOME and OPENCLAW_HOME differed.
Authentication Persistence:
A high-severity bug was resolved where saveAuthProfileStore would overwrite runtime auth-profile snapshots with a filtered view, dropping external CLI OAuth credentials (like anthropic:claude-cli) from in-process state. The system now preserves these runtime-only snapshots during the save process.
Image Processing Refactor:
OpenClaw has migrated its image processing logic to the external rastermill@0.1.0 npm package. This removes the in-repo Photon implementation while maintaining the same safety guards, pixel limits, and backend resolution logic.
Performance Optimizations:
Usage cost lookups have been significantly accelerated by caching successful models.json cost indexes. Microbenchmarks show a dramatic reduction in lookup times, specifically improving config lookups from over 106 seconds to approximately 206 milliseconds for 100k operations.
DeepSeek Schema Normalization:
The plugin-sdk was updated to prevent normalizeDeepSeekSchema from dropping all but the first variant of const unions. These are now preserved as flat enums, allowing DeepSeek models to see and use all available tool parameter options.
Cron and Session Routing: Cron jobs now accept opaque session target keys (e.g., those containing slashes used by DingTalk), decoupling the runtime routing key from the filesystem-based job ID to prevent path-traversal errors while maintaining support for channel-native IDs.
These changes collectively improve the reliability of agent-to-user interactions across diverse messaging platforms. The fix for external auth snapshots is particularly vital for users relying on CLI-based OAuth providers, preventing silent agent failures after configuration changes.
For operators, the WhatsApp and QQ Bot updates reduce the "silent failure" surface area by providing explicit warnings and honoring custom home directories, making deployments in containerized environments significantly more stable. Finally, the Rastermill migration and cost lookup caching streamline the core codebase and improve the efficiency of high-volume usage tracking.