Documentation
¶
Overview ¶
Demo UI server — substrate multiplex visualization.
Tiny stdlib HTTP server. Reads worker + actor state from the substrate ateapi gRPC service, reads pod logs from the k8s API via client-go, exposes JSON endpoints, and serves index.html that polls them.
No kubectl shellouts — all data flows go through:
- ateapi gRPC (workers / actors / actor names) — mirrors the pattern in demos/sandbox/client/main.go.
- client-go corev1 typed client (pod logs) — uses the operator's kubeconfig when running outside the cluster; in-cluster service account credentials otherwise.
Prereq when running outside the cluster:
kubectl port-forward svc/ateapi 8080:8080 -n ate-system & PORT=8090 ATEAPI_ADDR=localhost:8080 DEMO_NAMESPACE=claude-multiplex-demo go run ./server.go
(Pick a UI PORT that doesn't collide with the port-forward.)
Click to show internal directories.
Click to hide internal directories.