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
feat: Add changelog entry for homepage live preview fix and improve avatar fetching logic
udvk70a41908419d
diff --git a/data/changelog.json b/data/changelog.jsonindex 5d92b7e16..2319730ac 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,12 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-25",+ "title": "Homepage live preview always renders a real agent",+ "summary": "The hero stage on the homepage no longer shows a \"live preview couldn't load\" card when a single avatar endpoint is unavailable. It now falls back through the live explore feed — which returns ready-to-render models directly — and finally to a bundled avatar, so the 3D agent on the landing page renders every time.",+ "tags": ["fix"]+ },{"date": "2026-06-25","title": "Self-hosted GPU lanes are now the resilient default for 3D generation",diff --git a/pages/home.html b/pages/home.htmlindex 9d20fb923..88d9cb194 100644--- a/pages/home.html+++ b/pages/home.html@@ -4987,14 +4987,26 @@// DB row hasn't been seeded yet) — fall back to a real featured avatar so// the stage is never just an error card.async function resolveFeaturedGlb() {- const r = await fetch(`${location.origin}/api/avatars/featured?limit=12`);- if (!r.ok) throw new Error('HTTP ' + r.status);- const d = await r.json();- const list = Array.isArray(d.avatars) ? d.avatars : [];- for (const a of list) {- try { return await fetchAvatarGlb(a.id); } catch (_) { /* try next */ }- }- throw new Error('no featured avatar with a model');+ // Preferred: a curated featured avatar via the detail endpoint (richest+ // metadata). Wrapped so a flaky/unavailable detail route never strands+ // the hero — we drop to the explore pool below instead.+ try {+ const r = await fetch(`${location.origin}/api/avatars/featured?limit=12`);+ if (r.ok) {+ const d = await r.json();+ const list = Array.isArray(d.avatars) ? d.avatars : [];+ for (const a of list) {+ try { return await fetchAvatarGlb(a.id); } catch (_) { /* try next */ }+ }+ }+ } catch (_) { /* fall through to the explore pool */ }+ // Fallback: the explore feed returns ready-to-render GLB URLs directly+ // (and getAvatarPool degrades to bundled /avatars/*.glb), so the stage+ // renders a real avatar even if the per-avatar detail endpoint is down.+ const pool = await getAvatarPool();+ const glb = pool.find(Boolean);+ if (!glb) throw new Error('no renderable avatar found');+ return glb;}async function bootHeroAvatar() {const heroInner = document.getElementById('hero-stage-inner');