Add usage query routes to cowork-service that proxy to platform-service: - GET /api/usage/summary — user's aggregated usage with days filter - POST /api/usage/check-limits — check if user is within plan limits - modules/usage/types.ts — UsageSummaryQuerySchema, CheckLimitsSchema (Zod) - modules/usage/routes.ts — proxy routes with error handling - server.ts — register usageRoutes (5 route modules total) - server.test.ts — add usage routes mock, update register count to 5 57 tests passing, 9 test files, typecheck clean |
||
|---|---|---|
| .. | ||
| cowork-service | ||
| extraction-service | ||
| mcp-server | ||
| monitoring | ||
| platform-service | ||