{"agent":"claude","input":"Add optimistic updates for favourite and follow to this Vue app and open a pull request. Read package.json, playwright.config.ts, src/common/api.service.js, src/common/config.js, src/store/article.js, src/store/home.js, src/store/profile.js, src/components/ArticleMeta.vue, src/components/ArticleActions.vue, src/views/Profile.vue and .github/workflows/playwright.yml first. In src/store/article.js make addFavorite and removeFavorite update favorited and favoritesCount on the article and on the home list through updateArticleInList before calling FavoriteService, replace the guess with the server's article on success, and restore the previous values and rethrow on failure; ignore a second call for the same slug while one is pending. In src/store/profile.js do the same for follow and unfollow on profile.following. Do not change the component templates. Run bun install, bun run lint, bun run format:check, bunx playwright install --with-deps chromium and bun run test:e2e. Then start bun run serve, open an article in the browser with network throttling, click the favourite button and record that the count changes before the request finishes, then block the favourite request and record the rollback. Paste the lint and Playwright output and describe both browser checks in the pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}