Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
fix(analytics): stop asking a non-admin dashboard for admin-only retention data
nirholasa5e3f82d5139
diff --git a/src/dashboard-next/pages/analytics.js b/src/dashboard-next/pages/analytics.jsindex 8421bd0c2..a646b95be 100644--- a/src/dashboard-next/pages/analytics.js+++ b/src/dashboard-next/pages/analytics.js@@ -63,9 +63,13 @@ async function loadAndRender(root) {safe(() => get('/api/billing/summary')),safe(() => get(`/api/monetization/revenue?period=${range.key}`)),// Platform-wide week-2 retention on minted agents. Admin-only upstream, so- // a non-admin gets a 403 that `safe` turns into null and the panel simply- // does not appear — no error, no empty shell.- safe(() => get('/api/analytics/retention?metric=week2_converse&weeks=12')),+ // only an admin session asks for it. Every other user would get a+ // guaranteed 403, which `safe` swallows but the browser still logs as a+ // failed request on every analytics load; skipping the call keeps a normal+ // user's network panel clean and the retention panel simply does not appear.+ me?.is_admin+ ? safe(() => get('/api/analytics/retention?metric=week2_converse&weeks=12'))+ : Promise.resolve(null),]);// Every primary surface (revenue, agents, widgets, summary) failing means the