{"agent":"claude","input":"The dev server of this Vite app fails with \"TypeError: crypto.hash is not a function\" after upgrading to Vite 7. Read package.json, the lockfile, the Dockerfile, any .nvmrc or engines field and the env example first, and create a local .env from the example if the build needs it. Run the build and the dev server on the Node the Dockerfile uses and on a current LTS, at the locked Vite and at Vite 7 with the matching Svelte plugin, and quote what each prints, including any engines warning. Explain which Node release added the function Vite calls. Move the Dockerfile stages, an .nvmrc and an engines field to a Node that Vite 7 supports, upgrade vite and the plugin to their current releases, and show the build and dev server pass there. Do not downgrade Vite and do not change application code. Open a pull request that quotes the failing and passing runs.","resources":[{"url":"https://github.com/your-org/your-app"}]}