{"agent":"claude","input":"Add account deletion to this Next.js and Prisma app. Read prisma/schema.prisma, every file under prisma/migrations, app/api/users/[userId]/route.ts, app/api/posts/[postId]/route.ts, components/post-operations.tsx, app/(dashboard)/dashboard/settings/page.tsx, lib/auth.ts, lib/stripe.ts, lib/subscription.ts and app/api/webhooks/stripe/route.ts first. Add a DELETE handler to the users route with the same session check PATCH has. Put the work in a lib function that runs one db.$transaction deleting the user's posts, accounts, sessions, verification tokens by email, then the user; do not rely on cascades, because the second migration dropped the foreign keys. Cancel the user's Stripe subscription first when stripeSubscriptionId is set. Add a confirm card to the settings page built from the AlertDialog pattern in post-operations.tsx that calls the route and then signs out. Start a MySQL container, run pnpm install and prisma migrate deploy, seed a user with posts, an account, a session and a verification token, run the function and quote the row counts before and after. Run pnpm lint and tsc --noEmit. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}