Repository navigation
v3.0.0 - Binary Content Support & Topic Threading
π¨ Breaking Changes
- Configuration:
.envnow uses standardizedSMTP_*variable names instead ofGMAIL_*prefixesGMAIL_SMTP_USERβSMTP_USERNAMEGMAIL_APP_PASSWORDβSMTP_PASSWORDGMAIL_SMTP_HOSTβSMTP_HOSTGMAIL_SMTP_PORTβSMTP_PORT- Added:
SMTP_FROM_EMAIL,ALERT_DIGEST_EMAIL - Action required: Update your
.envfile to use new variable names
π Bug Fixes
Binary Content Handling
- Root cause: PDF and EPUB files were downloaded as binary and sent to LM Studio as malformed text, causing HTTP 400 errors
- Fix: Added Content-Type detection and URL transformation logic
- PDF files: Strip
.pdfextension to fetch HTML version - EPUB files: Strip
/epubsuffix to fetch HTML version - Fall back to Markdown extraction for remaining binaries
- PDF files: Strip
- Evidence:
- PDF (cureus.com): 2.3MB binary β 236KB HTML β
- EPUB (frontiersin.org): 1.8MB binary β 427KB HTML β
LM Studio Error Diagnostics
- Log prompt size (chars + estimated tokens) before each request
- Capture first 200 chars of HTTP error response body
- Include detailed error context in exception messages
β¨ Features
Topic Threading
- Alert topic now flows through complete pipeline: AppleScript β CLI β Email
- Added
--topicCLI parameter - Email subject now includes topic: "Google Alert Intelligence: {topic} β {date}"
- Digest titles (HTML/text) display topic
Emoji Tags
- Tactical Win tags now have emoji indicators (matching Market Signal style):
[π SHIP NOW]- Quick win available immediately[πΊοΈ ROADMAP]- Requires planning/multi-step effort[π WATCH]- Early signal, no action yet
Tag Normalization
- Added automatic tag formatting with case-insensitive regex
- Handles variations:
[Urgent]β[π΄ URGENT],[ship now]β[π SHIP NOW] - Ensures consistent emoji formatting in all summaries
π Documentation
- Updated
.env.templatewith standardized SMTP variables - Added clear guidance for
ALERT_DIGEST_EMAILconfiguration - Documented LM Studio as primary backend with optional Ollama fallback
π§ Changes Since v2.3.1
Full changelog (7 commits):
- Binary content detection and HTML fallback
- Topic threading through complete pipeline
- Emoji indicators for Tactical Win tags
- Tag normalization for consistent formatting
- SMTP email delivery (replaced UI automation)
- Ollama health detection and auto-recovery
- Debug logging improvements
Files changed: 10 files, +442 insertions, -76 deletions