{"agent":"claude","input":"Add CORS to this Koa repository. Read package.json, .eslintrc.yml, .travis.yml, Readme.md, csrf/app.js, csrf/test.js, errors/app.js and body-parsing/test.js first. Install @koa/cors and add a cors/ example with app.js and test.js in the same shape as csrf/: the app exports a Koa instance and listens only when run directly; cors() is mounted before koa-body and before the router; origin is a function that returns the request Origin only when it is in a CORS_ORIGINS comma-separated allowlist; credentials is true; allowHeaders covers Content-Type and Authorization; keepHeadersOnError is true. Write supertest tests for a preflight OPTIONS from a listed origin, a GET from a listed origin, a GET from an unlisted origin and a GET with no Origin header, asserting the Access-Control headers and Vary. Add the example to Readme.md. Do not change any other example. Run npm install, npm test and npm run lint, note the Node version @koa/cors requires against the engines field, and open a pull request with the test output.","resources":[{"url":"https://github.com/your-org/your-app"}]}