Patch release with critical bug fixes for session management, config preservation, and Weibo media support.
Fixed
- Session visibility (
/list): historical Codex sessions disappeared after upgrade due toAgentSessionIDbeing cleared on/newor provider switch without preservation. AddedPastAgentSessionIDstracking with legacy data migration so existing sessions remain visible. - Session naming (
/new xxx): custom session names were not mapped to the agent session ID for agents where the ID is established asynchronously (Codex, Qoder, Kimi, etc.). Added name mapping to allEventResultandEventTexthandlers across interactive, relay, and drain paths. - Config comment preservation:
/provider switch,/model,/lang, display settings, and TTS changes now use surgical text-level editing instead of full TOML re-serialization, preserving all comments, unknown fields, and formatting. - Codex
codex_homepath: session listing, history, and deletion now consistently use the configuredcodex_homeinstead of hardcoded~/.codex. - Feishu card callback hint: log a reminder when interactive card mode is enabled but
card.action.triggermay not be subscribed.
Added
- Weibo image & file support: send and receive images and files in Weibo DMs via base64 encoding. Implements
ImageSenderandFileSenderinterfaces. - Comprehensive session tests: 12 new
SessionManagerunit tests + 9 newEngineintegration tests covering/listvisibility and session name mapping for all agent ID patterns. - Config preservation tests: 8 new tests verifying comment/field preservation for all surgical save functions.