feat(backend,frontend,infra): chat history from S3 snapshot; sessions bucket

↗ view on GitHub · Jason Lee · 2026-05-07 · 702b9381

Add GET /chat/:chatId/messages backend route that reads the Strands
snapshot_latest.json from S3 and transforms it into MikeMessage[].
Replace Supabase chat_messages hydration in useAssistantChat with a
call to this endpoint; remove frontend chat_messages writes. Add
sessionsBucket to StorageStack and wire SESSIONS_BUCKET_NAME env var
into ApiStack Lambda.
Repository dropthejase/louis
Author Jason Lee <12leeejk2@gmail.com>
Authored
Parents 619f3d1f
Stats 6 files changed , +355 , -49
Part of AgentCore conversation persistence via S3 (not SessionManager)

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-702b9381.md from inside the repo you want the change in.

⬇ Download capture-commit-702b9381.md