ac-tool/backend
Vadym Samoilenko f85d6a6b51 fix: repair brief upload and real-time job progress
Three bugs fixed:

1. api/jobs.ts: remove manual Content-Type header on FormData upload.
   Setting it without the multipart boundary caused Quart to reject the
   request body — the root cause of brief upload failures.

2. progress.py: include full job.to_dict() in job.progress / job.completed
   / job.failed WebSocket messages. Frontend checks msg.job to call
   updateJob() — without it, job cards never updated in real-time.

3. AppShell: move useWebSocket() here from BriefUploadPage so the WS
   connection persists across all pages, not just the upload page.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 15:05:23 +00:00
..
core Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
data Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
prompts Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
server fix: repair brief upload and real-time job progress 2026-03-23 15:05:23 +00:00
.gitignore Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
hypercorn.toml Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
requirements.txt Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
run_server.py Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00