v1.5

WebSocket System Rework & General Improvements

March 30, 2026

v1.5 ships a deep WebSocket architecture rewrite with stronger routing and buffering primitives, lower initialization complexity, and multiple security and memory-leak fixes. It also includes model prompt optimization, upload-path robustness, and UI/installer quality improvements.

✨ New Features

  • Reworked WebSocket stack around new WsHandler and WsManager abstractions.
  • Added compact a0_small prompt set for small models to reduce startup token usage.
  • Added generated thumbnail support for onboarding plugin assets.

⚡ Improvements

  • Frontend WebSocket adapter now includes exponential backoff, envelope validation, and safer payload limits.
  • Enabled WebSocket and API caching parameters for better throughput.
  • Improved plugin installer popularity scoring with configurable minimum-star threshold.
  • Moved chat navigation controls into a cleaner floating overlay in the chat area.
  • Improved log sanitization for invalid Unicode handling in runtime and HTML logs.

🐛 Bug Fixes

  • Fixed a WebSocket security issue by moving SID snapshot creation inside lock boundaries.
  • Fixed WebSocket memory leaks related to stale SID retention and orphaned broadcast tasks.
  • Fixed 500 errors on non-ASCII filename uploads in /api/image_get paths.
  • Improved malformed tool-call resilience by enabling agent-side self-correction before hard failure.