1. Coordinator now sends all attachment types to Claude: - Images → native image blocks (existing) - PDF → native document blocks (Claude PDF support) - Text files (txt, csv, json, md) → text blocks with filename Extracted common buildAttachmentBlocks() helper. 2. File-service generates thumbnails on image upload: - Uses sharp to resize to 400x400 max (inside fit, no upscale) - Output as WebP at 80% quality for smaller file size - Stored in MinIO under thumbnails/ prefix - Generated for both direct upload and presigned URL confirm - Non-blocking: thumbnail failure doesn't break upload Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| Dockerfile | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.json | ||