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: update avatar bubble positioning and styles for improved visibility
nirholasfdef5744fa3d
diff --git a/chat/src/App.svelte b/chat/src/App.svelteindex d86af08c5..1611103b6 100644--- a/chat/src/App.svelte+++ b/chat/src/App.svelte@@ -2454,13 +2454,14 @@<!-- Inline avatar pinned right under the latest response -->{#if (effectiveAgentId || $talkingHeadEnabled) && agentVisible}<li- class="avatar-inline mx-auto mt-2 flex flex-col items-center gap-2 select-none list-none"+ class="avatar-inline mx-auto mt-2 select-none list-none"class:avatar-walking={generating || tokensFlowing}+ style="position: relative;">- <!-- Thought bubble (reasoning models) -->+ <!-- Bubble floats above the avatar's head -->{#if thinkingMessage}<div- class="thought-bubble"+ class="thought-bubble avatar-head-bubble"class:thought-bubble-collapsed={!thoughtBubbleActive}role="status"aria-live="polite"@@ -2484,8 +2485,7 @@<span class="thought-bubble-tail thought-bubble-tail-2" /></div>{:else if generating && convo.messages[convo.messages.length - 1]?.role === 'assistant' && convo.messages[convo.messages.length - 1]?.content}- <!-- Chat bubble showing streaming response text -->- <div class="chat-bubble" role="status" aria-live="polite">+ <div class="chat-bubble avatar-head-bubble" role="status" aria-live="polite"><p class="chat-bubble-text">{convo.messages[convo.messages.length - 1].content}</p><span class="thought-bubble-tail thought-bubble-tail-1" /><span class="thought-bubble-tail thought-bubble-tail-2" />@@ -2758,6 +2758,15 @@100% { transform: translateY(0) rotate(0); opacity: 1; }}+ .avatar-head-bubble {+ position: absolute;+ top: 0;+ left: 50%;+ transform: translateX(-50%);+ z-index: 10;+ margin-bottom: 0;+ }+.chat-bubble {position: relative;width: 280px;diff --git a/public/chat/index.html b/public/chat/index.htmlindex 630112a90..7e922a28b 100644--- a/public/chat/index.html+++ b/public/chat/index.html@@ -43,8 +43,8 @@}}</script>- <script type="module" crossorigin src="/chat/assets/index-OeHB3EHr.js"></script>- <link rel="stylesheet" crossorigin href="/chat/assets/index-xbyZymy9.css">+ <script type="module" crossorigin src="/chat/assets/index-DCOfwoOV.js"></script>+ <link rel="stylesheet" crossorigin href="/chat/assets/index-Dcgl0FKC.css"></head><body><div id="app"></div>