{"agent":"claude","input":"Upgrade Pinia in this Vue 3 app to the latest stable major. Read package.json, yarn.lock (the resolved pinia, vue, vite, typescript and vue-tsc versions), vite.config.ts, both tsconfig files, src/main.ts, src/App.vue, src/layouts/default.vue, both stores under src/stores, cypress.config.mjs, cypress/e2e/main.cy.js and .github/workflows/test.yml first. Before changing anything run yarn install, yarn build, yarn type-check and the Cypress test (yarn build, yarn start in the background, then yarn test), and record which pass; a check that fails before the upgrade is reported as pre-existing, not fixed here. Read the breaking changes for every Pinia major between the locked version and latest from its changelog, and the peer dependencies of the version you install from npm. Upgrade pinia, and vue and @vue/devtools-api as its peer ranges require, and keep @vue/compiler-sfc on the same version as vue. Rewrite every defineStore({ id: ... }) call to defineStore('id', { ... }) without changing state, getters or actions, and search src for PiniaStorePlugin and CommonJS requires of pinia. A passing build is not proof: run the Cypress test after the change and paste its result. Do not convert stores to setup syntax and do not upgrade unrelated packages. Open a pull request with a before and after table of versions and checks, the breaking changes with a verdict for each, and anything you found and left alone.","resources":[{"url":"https://github.com/your-org/your-app"}]}