Files
world/VERSION
zeekayandHanzo Dev 545007310d fix(world 2.4.8): unwrap ai casibase envelope in router-stats proxy
/v1/world/cloud/router-stats raw-passed ai's {status,data:{…}} envelope, but the
Enso Live Training panel (and this proxy's own unavailable fallback) expect the
BARE RouterStats — so live data would never render (the panel sat on
"connecting…" because stats.window was undefined). Unwrap `data` on success;
a missing/null data or non-ok status degrades to the honest unavailable payload
(never 5xx). Test now feeds the enveloped upstream and asserts the unwrap.

Co-authored-by: Hanzo Dev <[email protected]>
2026-07-16 09:16:46 -07:00

2 lines
6 B
Plaintext