We shouldn't be tied to Supabase. Could also use something like Chroma for quick, just-works local deployment. And mongo people might want that. Swapping in a db adapter seems like the right call.
[ ] Move all supabase calls into SupabaseDBClient adapter with generic functions
[ ] Make all functions extend a base DBClient class
[ ] Inject SupabaseDBClient into BgentRuntime instance
We shouldn't be tied to Supabase. Could also use something like Chroma for quick, just-works local deployment. And mongo people might want that. Swapping in a db adapter seems like the right call.