{"agent":"claude","input":"Add cursor pagination to every list route in this Sequelize + Express API. Read package.json, .npmrc, index.js, express/app.js, express/helpers.js, express/routes/users.js, express/routes/instruments.js, express/routes/orchestras.js, sequelize/index.js, sequelize/models/*.js, sequelize/extra-setup.js and sqlite-example-database/setup.js first. Write one helper module, express/pagination.js, that parses limit (default 20, max 100, 400 on anything else) and after (an opaque base64url cursor holding the last id), builds the Sequelize options with where id greater than the cursor, order by id ascending and limit plus one, and sets a Link header with rel next when there is another page. Keep the response body a plain array so existing clients keep working. Apply it to the users, instruments and orchestras getAll handlers, keeping the includeInstruments option on orchestras. Explain in the pull request why the cursor is on id and what a purchaseDate cursor would need. Add a test script on node:test that seeds a temporary SQLite file, starts the app on an ephemeral port, walks the instruments list in pages of 12 and asserts 30 distinct ascending ids, the 100 cap and a 400 on a bad cursor; raise engines.node to 18 and say why. Run npm install, the seed script, the tests and the server in your sandbox and paste a full paged walk into the pull request. Change nothing in the create, update or delete handlers.","resources":[{"url":"https://github.com/your-org/your-app"}]}