Skip to content

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.

mixed: feature ansem-with-animation + Boss Vernington, hero diag script

oversteppinge841524a1377
diff --git a/migrations/20260523000000_feature_ansem_vernington.sql b/migrations/20260523000000_feature_ansem_vernington.sql
new file mode 100644
index 000000000..aa13b0b77
--- /dev/null
+++ b/migrations/20260523000000_feature_ansem_vernington.sql
@@ -0,0 +1,13 @@
+-- Feature "ansem-with-animation" and "Boss Vernington" community avatars.
+-- The hero carousel (src/marketplace.js loadFeatured) reads avatars ordered
+-- by featured DESC, created_at DESC and renders the GLB via <model-viewer>,
+-- so no thumbnail upload is required for them to surface.
+
+UPDATE avatars
+SET featured = true
+WHERE deleted_at IS NULL
+ AND visibility = 'public'
+ AND (
+ name ILIKE 'ansem-with-animation'
+ OR name ILIKE 'Boss Vernington'
+ );
diff --git a/scripts/diag-hero-load.mjs b/scripts/diag-hero-load.mjs
new file mode 100644
index 000000000..d403e4740
--- /dev/null
+++ b/scripts/diag-hero-load.mjs
@@ -0,0 +1,34 @@
+import { chromium } from 'playwright';
+
+const url = process.argv[2] || 'http://localhost:3000/marketplace';
+const browser = await chromium.launch();
+const ctx = await browser.newContext({ bypassCSP: false });
+const page = await ctx.newPage();
+
+page.on('console', (msg) => {
+ const t = msg.type();
+ if (t === 'error' || t === 'warning') console.log('[' + t + ']', msg.text());
+});
+page.on('pageerror', (err) => console.log('[pageerror]', err.message));
+page.on('requestfailed', (req) => console.log('[reqfail]', req.url(), req.failure()?.errorText));
+
+console.log('Navigating to', url);
+await page.goto(url, { waitUntil: 'networkidle', timeout: 45000 });
+await page.waitForTimeout(10000);
+
+const summary = await page.evaluate(() => {
+ const slides = [...document.querySelectorAll('.market-hero-slide')];
+ return slides.map((s) => {
+ const mv = s.querySelector('model-viewer');
+ return {
+ slot: s.dataset.slot,
+ slideClasses: s.className,
+ mvSrc: mv?.getAttribute('src') || mv?.getAttribute('data-src'),
+ mvLoaded: mv?.loaded,
+ mvModelIsVisible: mv?.modelIsVisible,
+ };
+ });
+});
+console.log(JSON.stringify(summary, null, 2));
+
+await browser.close();