{"agent":"claude","input":"Upgrade Zod from 3 to the latest stable 4 in the Vite app under apps/react-vite. Read package.json, yarn.lock (resolved zod, @hookform/resolvers, react-hook-form, typescript and vitest versions), .env.example, vite.config.ts, src/config/env.ts, src/lib/auth.tsx, src/components/ui/form/form.tsx with its test and story, every file under src that imports zod, and .github/workflows/react-vite-ci.yml first. In that directory move .env.example to .env, then run yarn install, yarn build, yarn test --run, yarn lint and yarn check-types and record each result as the baseline. Upgrade zod by itself first and rerun all four: report exactly what fails, and note that a passing type check is not proof. Then read the peer dependencies of @hookform/resolvers from npm, install a release whose range includes Zod 4, raise react-hook-form if that release's peer range requires it, and rerun all four. Run the Playwright suite the workflow's e2e job runs. Parse a valid and an invalid value through loginInputSchema, both branches of registerInputSchema, and the env schema before and after the upgrade and compare the outputs and messages. Do not rewrite schemas to new Zod 4 APIs in this pull request: list each use that now carries a deprecation note in the installed typings, with file and line, and say why you left it. Do not upgrade unrelated packages. Open a pull request with a version table, the four checks before, after Zod alone, and after the resolver, the Playwright result, and the list of deprecated uses.","resources":[{"url":"https://github.com/your-org/your-app"}]}