iconsulting/packages
hailin 5076e16cc7 feat: add document support for Claude + image thumbnail generation
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>
2026-02-07 04:31:53 -08:00
..
admin-client refactor(knowledge): separate file upload into independent entry point 2026-02-06 23:29:37 -08:00
services feat: add document support for Claude + image thumbnail generation 2026-02-07 04:31:53 -08:00
shared feat(agents): implement multi-agent collaboration architecture 2026-02-06 04:26:39 -08:00
web-client feat(payment): P2 — 订单管理增强,支持取消订单和订单详情查询 2026-02-07 01:23:28 -08:00