- Add Vite define for __APP_VERSION__ from package.json - Use dynamic version in gateway connect handshake and userAgent - Show version number in sidebar footer - Add globals.d.ts type declaration
Split the single 713kB JS bundle into separate chunks: - react-vendor: React core (~192kB) - markdown: react-markdown + remark/rehype + highlight.js (~476kB) - icons: lucide-react (~6kB) - ui: Radix UI components - index: app code (~37kB) Improves caching (vendor chunks change less often) and eliminates the Vite chunk size warning.