{"agent":"claude","input":"Add cursor pagination to the article list and feed in this NestJS + TypeORM API. Read package.json, jest.json, ormconfig.json.example, src/main.ts, src/app.module.ts, src/article/article.service.ts, src/article/article.controller.ts, src/article/article.entity.ts, src/article/article.interface.ts, src/user/user.entity.ts, src/profile/follows.entity.ts and src/tag/tag.controller.spec.ts first. The created column is a MySQL timestamp with whole seconds, so use a keyset on (created, id) ordered created DESC, id DESC. Write src/article/cursor.ts that encodes and decodes a base64url cursor of created and id and throws BadRequestException on anything else. In findAll and findFeed, when an after query parameter is present add the keyset where clause, use take instead of limit and offset because findAll joins author and eager-loads comments, ask for limit plus one rows, and return the extra row as nextCursor beside articles and articlesCount. Parse limit with a default of 20 and a cap of 100. Keep offset working for one release when no after is sent, and compute articlesCount only on the first page. Note the favorited filter's unloaded favorites relation in the pull request without changing it. Add src/article/cursor.spec.ts and src/article/article.service.spec.ts on the pattern of the tag spec. Install MariaDB in your sandbox, create the nestjsrealworld database, copy the example config files, run npm install and npm test, start the app, create three articles quickly, walk /api/articles?limit=2 by following nextCursor, and paste the walk and the test output into the pull request. Change nothing in create, update, delete, comments or favorites.","resources":[{"url":"https://github.com/your-org/your-app"}]}