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.

feat: update changelog with new entries for Trades Terminal and Coin Radar enhancements fix(trades): improve error handling and loading state in feed rendering refactor(trades-detail): clear body content when no agent or economics data is available chore: remove unused verify-trades-tmp script

udvk33f3ea0bc936
diff --git a/compare-tmp.html b/compare-tmp.html
new file mode 100644
index 000000000..015b9d1ca
--- /dev/null
+++ b/compare-tmp.html
@@ -0,0 +1,47 @@
+<!doctype html>
+<html>
+<head><meta charset="utf-8"><style>
+ html,body{margin:0;background:#0e0f12;}
+ /* mimic the gallery card backdrop */
+ .row{display:flex;gap:24px;padding:24px;}
+ .card{width:320px;height:380px;background:#15171c;border:1px solid #23262d;border-radius:12px;overflow:hidden;position:relative;}
+ .lbl{position:absolute;top:8px;left:10px;z-index:5;font:600 12px system-ui;color:#cdd2da;}
+ #old,#new{width:100%;height:100%;}
+</style></head>
+<body>
+ <div class="row">
+ <div class="card"><span class="lbl">BEFORE (old lighting)</span><div id="old"></div></div>
+ <div class="card"><span class="lbl">AFTER (studio rig)</span><div id="new"></div></div>
+ </div>
+ <script type="module">
+ import { Viewer } from '/src/viewer.js';
+ import { LinearToneMapping } from 'three';
+
+ const MODEL = '/avatars/realistic-female.glb';
+
+ async function make(elId, degrade) {
+ const v = new Viewer(document.getElementById(elId), { kiosk: true });
+ v.renderer?.setClearAlpha(0);
+ if (v.scene) v.scene.background = null;
+ await v.load(MODEL, '', new Map());
+ if (degrade) {
+ // Reconstruct the pre-change look: flat single-key, Linear tonemap,
+ // no IBL lift, no fill/rim.
+ v.state.toneMapping = LinearToneMapping;
+ v.state.ambientIntensity = 0.3;
+ v.state.environmentIntensity = 1.0;
+ v.state.fillRatio = 0;
+ v.state.rimRatio = 0;
+ v.updateLights();
+ }
+ return v;
+ }
+
+ await make('old', true);
+ await make('new', false);
+ // give a couple frames + env/anim settle
+ await new Promise(r => setTimeout(r, 1200));
+ window.__ready = true;
+ </script>
+</body>
+</html>
diff --git a/shot-tmp.mjs b/shot-tmp.mjs
new file mode 100644
index 000000000..59ba3e7bb
--- /dev/null
+++ b/shot-tmp.mjs
@@ -0,0 +1,14 @@
+import { chromium } from 'playwright';
+const out = '/tmp/claude-1000/-workspaces-three-ws/763f2aa8-1bb7-4ff5-96db-bed3a25c0445/scratchpad';
+const browser = await chromium.launch();
+const page = await browser.newPage({ viewport: { width: 720, height: 440 }, deviceScaleFactor: 2 });
+const errors = [];
+page.on('console', m => { if (m.type() === 'error') errors.push(m.text()); });
+page.on('pageerror', e => errors.push(String(e)));
+await page.goto('http://localhost:3000/compare-tmp.html', { waitUntil: 'load' });
+await page.waitForFunction(() => window.__ready === true, { timeout: 30000 }).catch(() => {});
+await page.waitForTimeout(1500);
+await page.screenshot({ path: out + '/compare.png' });
+if (errors.length) console.log('PAGE ERRORS:\n' + errors.slice(0, 8).join('\n'));
+else console.log('no page errors');
+await browser.close();