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(companion): link Companion from the nav and skeleton its feed while it loads
nirholas9884cc141e78
diff --git a/public/nav-data.js b/public/nav-data.jsindex aa36d7e96..2afaa7413 100644--- a/public/nav-data.js+++ b/public/nav-data.js@@ -69,6 +69,12 @@ export const NAV_GROUPS = [tier: 'advanced',desc: 'Author brain, memory, body, money & skills with a live avatar',},+ {+ title: 'Companion',+ href: '/companion',+ badge: 'New',+ desc: 'Your messages, calendar and phone, delivered in person by a 3D character',+ },],},{diff --git a/src/companion/page.js b/src/companion/page.jsindex f0069341c..17bc70b9a 100644--- a/src/companion/page.js+++ b/src/companion/page.js@@ -271,7 +271,23 @@ function openReplyBox(event, row) {});}+// First paint of the feed: the list is a network round trip away, and an empty+// box for half a second reads as "nothing here" rather than "loading". Rows are+// shaped like the real ones so nothing jumps when they arrive.+function renderFeedSkeleton() {+ el('feed-list').innerHTML = Array.from({ length: 4 }).map(() => `+ <div class="event">+ <div class="event-icon"><span class="skeleton" style="display:block;width:18px;height:18px;border-radius:50%"></span></div>+ <div class="event-main">+ <div class="skeleton" style="height:14px;width:62%"></div>+ <div class="event-sub"><span class="skeleton" style="height:11px;width:28%"></span></div>+ </div>+ </div>+ `).join('');+}+async function loadFeed({ append = false } = {}) {+ if (!append && !state.events.length) renderFeedSkeleton();const data = await companionApi.events({limit: FEED_PAGE,before: append ? state.feedCursor : null,