{"agent":"claude","input":"Add read replica support to the Prisma client in this repository. Read package.json, pnpm-lock.yaml's prisma entries, prisma/schema.prisma, src/server/prisma.ts, src/server/env.ts, src/server/routers, next.config.ts, .env, vitest.config.mts and .github/workflows first. Install the version of @prisma/extension-read-replicas that matches the installed Prisma major (0.4.x for Prisma 6, 0.5.x for Prisma 7) and explain the choice. Add an optional DATABASE_REPLICA_URL to the env schema, accepting a comma-separated list, and extend the client with readReplicas only when it is set so a developer without a replica runs unchanged. Export the extended client type and fix imports. Review every read that follows a write in the routers and use $primary() where read-your-writes matters, explaining each. Set the replica URL to the primary in .env and in CI so the tests cover the extended path, add a unit test that calls $primary() and $replica(), install PostgreSQL in the sandbox, run prebuild, build, the unit and e2e tests and the type check, and open a pull request that quotes the test output and documents the new variable.","resources":[{"url":"https://github.com/your-org/your-app"}]}