iconsulting/packages/web-client
hailin 470ec9a64e feat(web-client): add per-type file size validation on upload
Enforce Claude API file size limits at upload time with user-friendly
error messages:
- Images: max 5MB (Claude API hard limit)
- PDF: max 25MB (32MB request limit minus headroom)
- Other documents: max 50MB (general upload limit)

Replaced duplicate ALLOWED_TYPES/MAX_FILE_SIZE in InputArea with shared
validateFile() from fileService, showing alert() on rejection.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 04:57:54 -08:00
..
src feat(web-client): add per-type file size validation on upload 2026-02-07 04:57:54 -08:00
index.html Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
package.json feat(payment): P0 — 支付闭环,Agent 可创建真实订单并生成支付二维码 2026-02-07 01:17:14 -08:00
postcss.config.js Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
tailwind.config.js fix: 添加 border 颜色定义修复 Tailwind 构建错误 2026-01-09 07:06:32 -08:00
tsconfig.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
tsconfig.node.json Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00
vite.config.ts Initial commit: iConsulting 香港移民咨询智能客服系统 2026-01-09 00:01:12 -08:00