8f6a6ec782
* feat: add session export with full and compressed modes Add export functionality that allows users to download session data as JSON or plain text, with optional LLM-based context compression for long conversations. Includes UI controls in chat panel, session list, and history view, plus i18n strings for all 8 locales. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * fix: close SQLite DB on shutdown to prevent lock conflicts on restart The shutdown handler did not close the SQLite connection, leaving the database locked when nodemon restarted the process. This caused the new process to fail DB init, trigger the recovery path (delete + recreate), and re-sync all sessions from Hermes on every dev restart. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>