{"agent":"claude","input":"Add offline support to this React app using TanStack Query. Read apps/react-vite/package.json, src/app/provider.tsx, src/app/router.tsx, src/lib/react-query.ts, src/lib/api-client.ts, src/lib/auth.tsx, src/config/env.ts, src/features/discussions/api/get-discussions.ts, src/features/discussions/api/create-discussion.ts, src/components/layouts, src/components/ui/notifications/notifications-store.ts, src/testing/test-utils.tsx, src/testing/setup-tests.ts, src/testing/mocks and .github/workflows/react-vite-ci.yml first. Add @tanstack/react-query-persist-client and @tanstack/query-sync-storage-persister at the core package's version, replace QueryClientProvider with PersistQueryClientProvider and a localStorage persister, raise gcTime to a day, set a buster from the app version, and exclude the auth user query from dehydration. Set mutation networkMode to offlineFirst, register setMutationDefaults with each mutation's mutationFn so paused mutations resume after reload, and stop the Axios interceptor from raising a toast for a network error. Add an offline banner driven by onlineManager in ContentLayout. Write Vitest tests with the existing renderApp and MSW setup for a paused mutation that completes on reconnect and for a list rendered from the persisted cache without a network. Run yarn test, yarn lint, yarn check-types and yarn build, and open a pull request with the output.","resources":[{"url":"https://github.com/your-org/your-app"}]}