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(home-voice): keep each latency leg's label with its own number
nirholasc3b738f33c90
diff --git a/public/home-voice.css b/public/home-voice.cssindex 76fdf60be..c5e46abe3 100644--- a/public/home-voice.css+++ b/public/home-voice.css@@ -342,18 +342,24 @@.hv-latency {display: grid;grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));- gap: var(--space-xs) var(--space-md);+ gap: var(--space-sm) var(--space-md);margin: 0;font-size: var(--text-sm);}.hv-latency:empty {display: none;}+.hv-leg {+ display: flex;+ flex-direction: column;+ gap: var(--space-3xs);+ min-width: 0;+}.hv-latency dt {color: var(--ink-dim);}.hv-latency dd {- margin: 0 0 var(--space-sm);+ margin: 0;font-family: var(--font-mono);color: var(--success);}diff --git a/src/voice/home-voice-ui.js b/src/voice/home-voice-ui.jsindex e6dd907c5..73ba504e3 100644--- a/src/voice/home-voice-ui.js+++ b/src/voice/home-voice-ui.js@@ -404,13 +404,22 @@ export class HomeVoicePanel {};this.el.latency.replaceChildren();for (const [leg, stats] of Object.entries(summary)) {+ // Each pair is wrapped so the label and its number stay together when the+ // grid wraps. A bare dt/dd sequence in an auto-fit grid splits them across+ // rows, which reads as the wrong number against the wrong leg.+ const pair = document.createElement('div');+ pair.className = 'hv-leg';const dt = document.createElement('dt');dt.textContent = labels[leg] || leg;const dd = document.createElement('dd');dd.textContent = `${stats.median} ms`;const budget = budgets[leg];- if (budget) dd.dataset.over = String(stats.median > budget);- this.el.latency.append(dt, dd);+ if (budget) {+ dd.dataset.over = String(stats.median > budget);+ dd.title = `Budget ${budget} ms, worst ${stats.worst} ms over ${stats.count}`;+ }+ pair.append(dt, dd);+ this.el.latency.appendChild(pair);}}}