Expand description
HTTP/WebSocket server for the Coordinator.
Endpoints:
GET /health— liveness checkGET /workers— list active workers with capabilitiesGET /summary— cluster summary (total CPUs, GPUs, RAM)POST /register— worker self-registration (JSON body)POST /submit— client submits a SerializedPlan for executionPOST /heartbeat— worker heartbeat with load metrics
All mutating endpoints require ?token=sk-xxx when a token is configured.
Functions§
- coordinator_
router - Build the coordinator router.
- serve_
coordinator - Start the coordinator server.