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(play): stop the boot watchdog treating a flaky WebSocket reconnect as a fatal load failure
nirholascc57d63a69d8
diff --git a/pages/play.html b/pages/play.htmlindex f2746ae10..a5485fac0 100644--- a/pages/play.html+++ b/pages/play.html@@ -240,15 +240,16 @@resource error on a SCRIPT tag, which used to fail instantly eventhough the game modules were downloading normally. Only asame-origin, non-optional script or stylesheet counts now.- 2. Flaky wifi makes a background request reject. Every fetch boundary- in the app handles its own failure, so a rejected request is not a- boot failure. Network-shaped rejections are ignored outright, and- anything else gets a grace long enough for a slow but healthy boot- to finish and disarm it (bootPending). */+ 2. Flaky wifi makes a background request reject, or the multiplayer+ socket fails to open. Every fetch boundary in the app handles its+ own failure and community-net reconnects with backoff, so neither+ is a boot failure. Network-shaped rejections are ignored outright,+ and anything else gets a grace long enough for a slow but healthy+ boot to finish and disarm it (bootPending). */var OPTIONAL_SCRIPTS = /\/(brand|i18n|theme-switcher)\.js(\?|$)/;function isNetworkNoise(v) {var s = (v && (v.message || v.name)) || String(v || '');- return /Failed to fetch|NetworkError|Load failed|ERR_BLOCKED|ERR_FAILED|AbortError|network error/i.test(s);+ return /Failed to fetch|NetworkError|Load failed|ERR_BLOCKED|ERR_FAILED|AbortError|network error|WebSocket/i.test(s);}function failSoon(title, body) {setTimeout(function () { fail(title, body); }, 20000);