Changes
PR #1870 by ksylvan: Web UI: upgrade pdfjs and add SSR-safe dynamic PDF worker init
- Upgrade
pdfjs-distto v5 with new engine requirement - Dynamically import PDF.js to avoid SSR import-time crashes
- Configure PDF worker via CDN using runtime PDF.js version
- Update PDF conversion pipeline to use lazy initialization
- Guard chat message localStorage persistence behind browser checks