rouse-context/core
Jason Monk ba27cfee0e Add expired auth cleanup, rate limiting, and MCP error response tests
- AuthorizationCodeManager: lazily clean up expired requests on
  createRequest() and getStatus() calls to prevent unbounded growth
- DeviceCodeManager: same pattern, cleanup on authorize() calls
- RateLimiter: new class for global per-endpoint rate limiting with
  configurable window and max requests
- McpRouting: wire rate limiter into /register, /authorize, /token
  endpoints (optional, null = no limiting)
- Tests for all three features: cleanup behavior, JSON-RPC error
  responses (-32700 parse error, -32603 internal error), and rate
  limiter unit + integration tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 17:33:54 -04:00
..
bridge Extract core:bridge module for TLS accept + MCP session bridging 2026-04-06 14:22:37 -04:00
mcp Add expired auth cleanup, rate limiting, and MCP error response tests 2026-04-06 17:33:54 -04:00
tunnel Send FCM token to relay after WebSocket connect for push wakeups 2026-04-06 17:30:09 -04:00