{"agent":"claude","input":"Add rate limiting to this Cloudflare Worker. Read wrangler.jsonc, package.json, src/index.ts, src/types.ts, the routers under src/endpoints and tests/vitest.config.mts. Add a ratelimits binding to wrangler.jsonc (name, namespace_id as a string, simple.limit and simple.period of 10 or 60) with the limit and period given after this prompt or in the issue that follows it; do not choose the numbers yourself, and if none are given stop and say so. Run npm run cf-typegen so worker-configuration.d.ts includes the binding. In src/index.ts add a Hono middleware on /tasks/* and /dummy/* that keys on the cf-connecting-ip header, calls the binding's limit({ key }), and on failure answers 429 with the same { success: false, errors: [...] } shape the onError handler uses plus a Retry-After header; leave the OpenAPI document at / unlimited. Write tests/integration/rate-limit.test.ts using SELF.fetch that sends one request more than the limit with one address and expects 429 with that body and header, and that a second address still passes. Run npm run test (which starts with wrangler deploy --dry-run) and npm run schema. Open a pull request that quotes the test output and the binding block.","resources":[{"url":"https://github.com/your-org/your-app"}]}