Repository navigation
v0.3.0
Adds an optional live dashboard for current-process usage and key routing, without storing prompts, responses or reasoning.
- Chinese desktop/mobile UI at
/dashboard/, protected by a separate administration credential. - LLM/Jev and per-key request, token, reported cost and latency statistics; actual retry attribution and independent breaker previews.
- On-demand account balances, subscriptions, billing-period usage and quota windows, following the Command Code CLI's organization and billing-period queries.
- Bounded request ring, model dimensions and billing concurrency. Statistics reset on restart; no database or persistent request history.
- Bounded Prometheus model labels and explicit distinction between zero and unavailable gateway cost.
Enable with DASHBOARD_ENABLED=true, set DASHBOARD_API_KEY, and optionally set DASHBOARD_RECENT_REQUESTS (default 100, range 1–1000). The dashboard is disabled by default; existing API authentication and upstream key rotation remain in place.
Each Kubernetes replica has its own counters. Account billing can include other clients' usage; local reported costs do not represent a complete account invoice.
Validation: Go 1.24 full race suite, go vet, golangci-lint v2.1.6, desktop/mobile browser flows, and read-only upstream billing/usage queries.
Images: ghcr.io/rc-chn/command-code-reverse/commandcode-proxy:0.3.0 and :latest (linux/amd64, linux/arm64).
Binary archives cover Linux amd64/arm64, macOS amd64/arm64 and Windows amd64, with checksums.txt.