fix: add Authorization header to all Edge Function calls + fix Vision Analysis

- All fetch calls to Supabase Edge Functions now include
  Authorization: Bearer <anon_key> (was missing → 401 errors)
- Fix Firecrawl screenshot API: remove invalid screenshotOptions,
  use "screenshot@fullPage" format (v2 API compatibility)
- Fix screenshot response handling: v2 returns URL not base64,
  now downloads and converts to base64 for Gemini Vision
- Add about page to Vision Analysis capture targets
- Add retry utility, channel error tracking, pipeline resume,
  enrichment retry, EmptyState improvements (Sprint 2-3)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Haewon KamandClaude Opus 4.6 committed 2026-04-05 10:08:03 +09:00
1 parent 2f2aa5a5b6
commit 79950925a1
12 files changed
+961 -214

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ createRoot(document.getElementById('root')!).render(
<Route element={<App />}>
<Route index element={<LandingPage />} />
<Route path="report/loading" element={<AnalysisLoadingPage />} />
<Route path="report/loading/:reportId" element={<AnalysisLoadingPage />} />
<Route path="report/:id" element={<ReportPage />} />
<Route path="plan/:id" element={<MarketingPlanPage />} />
<Route path="studio/:id" element={<ContentStudioPage />} />