{"agent":"claude","input":"Add pagination to this Sequelize and Express API. Read package.json, .npmrc, express/app.js, every file in express/routes, express/helpers.js, sequelize/index.js, the models and the setup script first. Add a helper that parses page and limit with defaults, a cap and strict integer validation in the style of the existing id helper, switch every list route to findAndCountAll with a stable order and offset, use distinct when a route includes an association, and return rows with page, limit, total and totalPages plus an X-Total-Count header. Map helper TypeErrors to 400 with an error middleware. Make the database path overridable through an environment variable, add node:test tests with supertest against an in-memory SQLite covering a middle page, the cap, a bad page value, the distinct count with an include and the defaults, and add a test script. If node:test needs a newer Node than engines allows, raise engines and say so. Run the setup script, the tests and one curl against the running server and include the output. Document the parameters in the readme. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}