{"agent":"claude","input":"Add Vitest to this Shopify app and write tests for its server code. Read package.json, vite.config.ts, tsconfig.json, app/shopify.server.ts, app/db.server.ts, app/routes.ts, every file under app/routes, prisma/schema.prisma, shopify.app.toml and .github/workflows/ci.yml first. Add vitest as a dev dependency with its own vitest.config.ts (tsconfigPaths only, node environment; do not reuse vite.config.ts, which loads the React Router plugin). Mock the shopify.server and db.server modules with vi.mock and test the three webhook routes (the uninstalled handler deletes the shop's sessions only when a session is returned, the scopes_update handler stores payload.current on the session, the products update handler answers 200) and the app._index action (productCreate then productVariantsBulkUpdate with the first variant's id and price 100.00, both results returned). Add a test script that runs vitest run and a CI step after ESLint inside the existing matrix. Run the Prisma generate step, typecheck, lint and the tests in your sandbox until they pass, and open a pull request with the Vitest output. Change no route, the Prisma schema or shopify.app.toml.","resources":[{"url":"https://github.com/your-org/your-app"}]}