Vendor-specific adapters for @codectyl/agnostic-core.
The package provides:
SupabaseAuthAdapter, which verifies access tokens with Supabase Auth.SupabaseStorageAdapter, which implements file operations against one configured Supabase Storage bucket.
Keep all Supabase SDK imports and persistence details in this package; core remains vendor-neutral.
import { SupabaseAuthAdapter, SupabaseStorageAdapter } from "agnostic-adapter-supabase";
const auth = new SupabaseAuthAdapter(supabaseUrl, supabaseKey);
const storage = new SupabaseStorageAdapter(supabaseUrl, supabaseKey, "files");The storage bucket is explicit configuration. The adapter does not assume a bucket name or storage category.