{"agent":"claude","input":"Add connection pool settings to this Next.js and Prisma app for a serverless deploy. Read lib/db.ts, prisma/schema.prisma, .env.example, env.mjs, README.md and every file that imports db from @/lib/db first. Put connection_limit and pool_timeout on DATABASE_URL in .env.example, starting from Prisma's serverless guidance of connection_limit=1, and raise it only for a call site that sends queries in parallel; list the call sites you checked. Make lib/db.ts reuse one PrismaClient in every environment. Install MySQL in the sandbox, run pnpm install and prisma migrate deploy, then run twenty concurrent queries while polling SHOW STATUS LIKE 'Threads_connected' and quote the readings with and without the limit, and show the P2024 error a too-small pool_timeout produces. Run pnpm lint and tsc --noEmit. Do not add an external pooler; name it as an open decision. Open a pull request whose description gives the exact DATABASE_URL to set in the deploy target.","resources":[{"url":"https://github.com/your-org/your-app"}]}