iconsulting/packages/services/file-service/src
hailin e867ba5529 fix(files): replace MinIO presigned URLs with API proxy + base64 for Claude
MinIO presigned URLs use Docker-internal hostname (minio:9000), making
them inaccessible from both Claude API servers and user browsers.

Changes:
- file-service: add /files/:id/content and /files/:id/thumbnail proxy
  endpoints that stream file data from MinIO
- file-service: toResponseDto now returns API proxy paths instead of
  MinIO presigned URLs
- coordinator: buildAttachmentBlocks now downloads files via file-service
  internal API (http://file-service:3006) and converts to base64 for
  Claude API (images, PDFs) or embeds text content directly
- Configurable FILE_SERVICE_URL env var for service-to-service calls

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 04:49:39 -08:00
..
adapters fix(files): replace MinIO presigned URLs with API proxy + base64 for Claude 2026-02-07 04:49:39 -08:00
application fix(files): replace MinIO presigned URLs with API proxy + base64 for Claude 2026-02-07 04:49:39 -08:00
domain fix(file-service): sync tenantId in domain entity and add migration 2026-02-07 04:21:43 -08:00
file refactor(services): implement 4-layer Clean Architecture for all backend services 2026-01-24 22:18:22 -08:00
health feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
infrastructure/database/postgres/entities feat: add enterprise multi-tenancy infrastructure 2026-01-25 18:11:12 -08:00
app.module.ts fix(tenant): use TenantContextModule.forRoot() for global tenant context 2026-01-26 04:31:56 -08:00
main.ts feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00