fleet-memory/hindsight-integrations
Jerry Henley e99ee0f243
Add Supabase tenant extension as built-in (#267)
Move the Supabase tenant extension into the hindsight-api package so users
can enable it with just an environment variable — no file copying or Docker
image modifications needed.

Key improvements over the original submission:
- JWKS-based local JWT verification (no network call per request) with
  automatic fallback to /auth/v1/user for legacy HS256 projects
- Service key is now optional (only needed for HS256 or health checks)
- UUID validation on user IDs before schema name construction
- Schema prefix validation against Postgres identifier rules
- Key rotation handling with automatic JWKS cache refresh
- Proper logging via Python logging module
- Tenant extension lifecycle hooks (on_startup/on_shutdown) wired into
  the server lifespan
- Public tenant_extension property on MemoryEngine
- 54 unit tests covering both verification modes, cache behavior, error
  paths, and the extension loader
- README updated to reflect JWKS-first architecture

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-09 10:16:47 +01:00
..
ai-sdk docs: add AI SDK integration documentation (#304) 2026-02-05 17:05:18 +01:00
litellm Release v0.4.9 2026-02-04 20:27:05 +01:00
openclaw fix(openclaw): prevent memory wipe on every session (#323) 2026-02-09 10:13:19 +01:00
supabase Add Supabase tenant extension as built-in (#267) 2026-02-09 10:16:47 +01:00