How does authentication work?
Every request checks the session token before accessing a protected route.
Can you add rate limiting?
I'll add a shared limiter to the API routes and verify the changes with tests.
Code, chat, terminals, and agents. The tools you already use, together in one workspace.
How does authentication work?
Every request checks the session token before accessing a protected route.
Can you add rate limiting?
I'll add a shared limiter to the API routes and verify the changes with tests.
Reviewing changes...
› read_file src/api/routes.ts
› edit shared rate limiter done
› run npm test
✓ auth.test.ts 8 passed
✓ limits.test.ts 10 passed
✓ routes.test.ts 6 passed
24 tests passed. Ready for review.
Reviewing changes...
› read_file src/api/routes.ts
› edit shared rate limiter done
› run npm test
✓ auth.test.ts 8 passed
✓ limits.test.ts 10 passed
✓ routes.test.ts 6 passed
24 tests passed. Ready for review.
Can you take care of the tests for me?
I’ll check every change, run the tests, and report anything that needs your attention.
Created task Review & test

Add rate limiting to the upload endpoint.
✓ Read src/lib/redis.ts
✓ Edit rate-limit.ts
❯ npm test
✓ All tests passed
Ready for your review.