Commit graph

1 commit

Author SHA1 Message Date
Claude
35944327d3
feat(gateway): pairing protocol for LetheanGateway nodes
- POST /v1/gateway/pair — register with capabilities, region, endpoints
- POST /v1/gateway/heartbeat — report alive + load + bytes (60s interval)
- GET /v1/gateway/live — real-time paired gateway list
- POST /v1/gateway/dispatch — least-loaded gateway selection
- GatewayRegistry: TTL liveness, load-based selection
- Foundation for LetheanGateway binary using core/api + go-ratelimit

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 04:43:49 +01:00