// Integration helpers for appshell-sdk. NEXT_PUBLIC_* vars are inlined at build // time, so this reflects deploy-time configuration. /** * True when the Shell (Supabase → BFF) is configured. When false, the app falls * back to the existing mock portal / static user so the demo keeps working before * the backend is deployed. Gate real-vs-mock auth on this. */ export function isShellConfigured(): boolean { return Boolean(process.env.NEXT_PUBLIC_SUPABASE_URL); }