modcomms/backend/app
michael c1030ee292 Add PDF rasterization support for reliable preview and analysis
PDFs are now converted to PNG images at 200 DPI before being sent to
Gemini for analysis. This fixes the unreliable iframe-based PDF preview
and ensures all pages are properly analyzed.

- Add PyMuPDF dependency for PDF rasterization
- Create pdf_service.py with rasterize() and get_page_count()
- Update agent interfaces to accept list of images for multi-page support
- Add analyze_with_images() to Gemini service for multi-image analysis
- Return rasterized PDF pages via WebSocket for frontend display
- Add page navigation UI for multi-page PDFs in preview components

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 09:36:56 -06:00
..
agents Add PDF rasterization support for reliable preview and analysis 2026-01-24 09:36:56 -06:00
api Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
dependencies Add MSAL debug logging to frontend and backend 2025-12-18 13:11:30 -06:00
models Fix proof types not loading for sub-channels in dropdown hierarchy 2026-01-23 13:01:39 -06:00
repositories Add debugging for proof types not showing in dropdown 2026-01-23 13:09:25 -06:00
services Add PDF rasterization support for reliable preview and analysis 2026-01-24 09:36:56 -06:00
websocket Add PDF rasterization support for reliable preview and analysis 2026-01-24 09:36:56 -06:00
__init__.py permissions changes 2025-12-18 16:51:27 +00:00
config.py Add support email functionality via Mailgun 2026-01-24 07:03:11 -06:00
main.py Filter health check logs from uvicorn access log 2025-12-19 06:37:56 -06:00