You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix agent image display: AES-CTR (stream cipher) silently corrupted agent images by "decrypting" unencrypted data into garbage bytes. Now uses explicit mediaEncrypted flag to determine whether media needs E2E decryption.
Fix WebSocket reconnection storm: Health-monitor repeatedly killed healthy connections via startAccount. Now skips restart when existing client is already connected.
Features
E2E encrypt agent media: Agent-sent images are now end-to-end encrypted. Plugin downloads external images, encrypts with AES-CTR, and uploads via new /api/plugin-upload endpoint with pairing token auth.
Backward-compatible bitmask storage: encrypted column uses bitmask (bit0=text, bit1=media) so old unencrypted agent media continues to display correctly.
Files Changed
packages/api/src/index.ts — new /api/plugin-upload route