{"agent":"claude","input":"Add magic link sign-in to this Supabase app. Read the Supabase client wrapper, the login page, the OAuth buttons, the auth callback route, the middleware and supabase/config.toml first. Add a method that calls signInWithOtp with emailRedirectTo pointing at the existing callback route, and a toggle on the login page that switches from password to magic link, submits the email, and shows a check-your-email state with a resend cooldown matching auth.email.max_frequency. Do not change the password login or the MFA handling. Run the build and lint before you push, install Docker (sudo apt-get install -y docker.io, start dockerd), run supabase start, request a link locally and follow it through the callback. Open a pull request that lists what the hosted project needs: redirect URLs, site URL and SMTP.","resources":[{"url":"https://github.com/your-org/your-app"}]}