feat(frontend): mikeApi.ts - Bearer JWT for API/AgentCore, Amplify Storage for S3

↗ view on GitHub · Jason Lee · 2026-05-06 · a13a5f4d

Replace NEXT_PUBLIC_API_BASE_URL with API_URL from aws/config. Switch
apiRequest and all multipart uploads to Bearer JWT (Supabase token).
Route streamChat / streamProjectChat directly to AGENTCORE_URL with
Bearer JWT - AgentCore JWT inbound authorizer validates the token.
Tabular streaming also uses Bearer JWT to API Gateway.

Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents bd92d5b1
Stats 1 file changed , +58 , -52
Part of Frontend AWS transport wiring (Amplify, AwsContext, mikeApi)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-a13a5f4d.md from inside the repo you want the change in.

⬇ Download capture-commit-a13a5f4d.md