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(derivatives): drop the hardcoded dash glyph so empty cells match the shared formatters
ni3aeab501a82163
diff --git a/scripts/build-standalone-skill-repos.mjs b/scripts/build-standalone-skill-repos.mjsindex 0d1f4183e..f8723c35f 100644--- a/scripts/build-standalone-skill-repos.mjs+++ b/scripts/build-standalone-skill-repos.mjs@@ -95,7 +95,7 @@ let failed = false;for (const spec of specs) {const skills = allSkills.filter(spec.select).sort((a, b) => a.name.localeCompare(b.name));if (!skills.length) {- console.error(`${spec.repo}: selects no skills — the predicate no longer matches the pack`);+ console.error(`${spec.repo}: selects no skills: the predicate no longer matches the pack`);failed = true;continue;}diff --git a/src/derivative-page.js b/src/derivative-page.jsindex 4c31608c9..311131b39 100644--- a/src/derivative-page.js+++ b/src/derivative-page.js@@ -24,7 +24,10 @@ import { upstreamLogoURL, swapFailedLogos } from './shared/upstream-logo.js';import { VENUE_ID_RE, SYMBOL_SLUG_RE, symbolFromSlug, derivativePath } from './shared/derivative-slug.js';const $ = (id) => document.getElementById(id);-const DASH = '—';+// The shared formatters render a missing value as an em dash. The fields this+// page formats itself reuse exactly that glyph rather than hardcoding one, so+// no two cells in the same row can disagree about what "no data" looks like.+const DASH = formatPercent(null);// Venue funding is settled every 8h on almost every venue, and CoinGecko does// not publish the schedule. Every annualized figure on this page says so.@@ -826,6 +829,8 @@ function clearSections() {function renderNotFound(target) {document.title = 'Contract not found · three.ws';+ $('dc-crumb-venue').textContent = target.venue;+ $('dc-crumb-venue').href = `/exchange/${encodeURIComponent(target.venue)}`;$('dc-crumb-symbol').textContent = 'Not found';$('dc-hero').innerHTML = `<h1 class="cv-h1">Contract not found</h1>diff --git a/src/derivatives.js b/src/derivatives.jsindex ae29abfb0..02d957d10 100644--- a/src/derivatives.js+++ b/src/derivatives.js@@ -8,6 +8,10 @@ import { formatUsd, formatPrice, formatPercent, escapeHtml as esc } from './sharimport { derivativePath } from './shared/derivative-slug.js';const $ = (id) => document.getElementById(id);+// The shared formatters render a missing value as an em dash. Cells this+// file formats itself reuse that same glyph rather than hardcoding one, so+// no two cells in a row can disagree about what "no data" looks like.+const DASH = formatPercent(null);async function getJson(url) {const res = await fetch(url, { headers: { accept: 'application/json' } });@@ -179,13 +183,13 @@ function marketRow(t) {const nameCell = href? `<a class="dv-link" href="${esc(href)}">${label}</a>`: `<span class="nm">${label}</span>`;- const symbol = esc(t.symbol || '—');+ const symbol = esc(t.symbol || DASH);const symbolCell = href ? `<a class="dv-link" href="${esc(href)}">${symbol}</a>` : symbol;return `<tr${href ? ` data-href="${esc(href)}"` : ''}><td class="left name-cell">${nameCell}</td><td class="left dim hide-sm cv-mono">${symbolCell}</td>- <td class="left">${t.index_id ? `<span class="dv-index">${esc(t.index_id)}</span>` : '<span class="dim">—</span>'}</td>+ <td class="left">${t.index_id ? `<span class="dv-index">${esc(t.index_id)}</span>` : `<span class="dim">${DASH}</span>`}</td><td class="price">${esc(formatPrice(t.price))}</td>${pctCell(t.change_24h)}${fundingCell(t.funding_rate)}