By devasher · Edited by Nominiclaw
This update introduces significant enhancements to the Plugin SDK, improves memory management for dreaming agents, and expands provider support for Codex and OpenRouter models.
OpenClaw has significantly expanded its Plugin SDK to support complex agent workflows. The new host-hook foundation allows plugins to define typed session actions, send session-bound attachments through host-owned delivery, and schedule future session turns via cron-compatible plumbing. Additionally, plugins can now request bounded agent-finalize retries, enabling a "repair" phase before a reply is finalized.
To prevent unbounded growth of MEMORY.md files during dreaming promotions, a new bounded compaction step has been introduced. The system now drops the oldest auto-promoted sections by date to keep the file size under a default 10,000-character budget, while unconditionally preserving user-authored notes.
Other context improvements include:
/context map command provides a visual treemap image of current session context contributors.exec process references now survive embedded compaction, ensuring subagents can continue polling or logging long-running tasks after a context reset.bash, web), preventing the watchdog from aborting long-running native tools as stale embedded runs.openrouter/openai/gpt-5.4-mini) ensures labels match configured refs. Additionally, moonshotai/ is now accepted as a direct-API alias for the moonshot provider.n_ctx) via the /props endpoint, ensuring session budgeting reflects the loaded context rather than just the training ceiling.reply_broadcast in thread replies, a new allowBots: "mentions" mode for parity with Discord, and the ability to fetch fresh download URLs via files.info for DM attachments that omit them in the event payload.--force-document flag for video media, routing them through sendDocument to avoid compression. Legacy message cache recovery has also been fixed to handle mixed JSON-array and line-delimited entries.channels.matrix.dangerouslyAllowNameMatching to prevent mutable display-name spoofing.400 invalid_request_error, preventing them from falling through to later handlers.openclaw doctor now detects GitHub CLI authentication mismatches when the agent HOME differs from the operator's gh config directory, providing a clear GH_CONFIG_DIR fix hint.allowFrom or groupAllowFrom, these will be ignored by default. You must either replace them with full Matrix user IDs (e.g., @user:server) or set channels.matrix.dangerouslyAllowNameMatching: true in your config.pnpm-workspace.yaml.