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
Money pulse page and ticker, IRL marker pose mode, avatar thumbnail/error masking, wallet net-worth; payment receipt and rig mapping updates
nirholasa42e8531d2c6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a69074232..816f8d3a3 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-06-23+- **Money Pulse** (`/pulse`) — The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.- **Feature: Agent Studio is complete — Body, Money, and Skills tabs are now live** — Agent Studio used to mount a real Brain and Memory editor but left Body, Money, and Skills as 'mounts here' placeholders. All three are now fully built and wired beside the live 3D stage. Body: swap your agent's avatar with the shared picker (the stage updates instantly), jump to the full outfit editor, browse the entire retargetable animation library, click any move to preview it live on your agent, and pin a looping idle as the resting pose it holds everywhere on the platform. Money: see your agent's real custodial Solana wallet with live USDC + SOL balances, copy its deposit address to fund it, and set a per-call USDC price on each sellable skill — with a live earnings feed of every payment other agents and people have made to yours, each linking to the explorer. Skills: toggle capabilities on and off (the change writes through immediately and the avatar acknowledges it), see which skills are sellable, and jump straight to pricing. Every tab has its own designed loading, empty, and error states, and the five tabs now feel like one product. (`/agent-studio`) `[feature]`- **Feature: carry your agent and set it down anywhere in the room in IRL AR** — On the IRL page your agent used to hover at a fixed distance in front of the camera — you couldn't choose where it stood. New 'Move here' control: turn on Camera AR, tap Move here, and a soft ring tracks the floor under your aim. Tap to set your agent down on that exact spot — the couch, a corner, the middle of the room — and it eases into place and turns to face you. The agent then stays anchored where you put it as you look around: pan away and it's gone, pan back and there it is. This is the first half of placing agents in the real world the way you'd expect; cross-device discovery (a friend finding it on their own phone) is coming next. (`/irl`) `[feature]`- **Feature: one-tap manual sell on any live sniper position** — Your autonomous sniper already exits on take-profit, stop-loss, trailing stop, or max-hold, and the kill switch dumps every position at once — but until now there was no way to close just ONE open position on demand. The Sniper Strategies dashboard now puts a 'Sell now' button on each live position: tap it, confirm, and the agent market-sells its full holding of that coin from its own wallet at the current price, with a real signature and realized PnL. It runs the exact same exit path the bot uses automatically (fresh re-quote, graduated coins routed through the AMM, the protected execution engine, full custody-trail audit), so a manual exit is held to the same standard as an automatic one — and it's owner-only, with the position atomically claimed so a manual sell and the bot's own sweep can never both fire on the same bag. (`/dashboard/sniper`) `[feature]`diff --git a/api/_lib/http.js b/api/_lib/http.jsindex 9d98227cc..21e83688b 100644--- a/api/_lib/http.js+++ b/api/_lib/http.js@@ -147,7 +147,11 @@ function wantsHtmlNavigation(req) {// this URL too, since it ends up in the address bar and any referrer log.function serverErrorPageLocation(ref, req) {const from = redactUrl(req?.url || '/').slice(0, 512);- return `/500?ref=${encodeURIComponent(ref)}&from=${encodeURIComponent(from)}`;+ // Target the static file directly (public/500.html → /500.html is always+ // served by Vercel) so the error page never depends on a rewrite rule. The+ // `/500` clean URL also works for direct links, but the redirect can't rely+ // on it being configured.+ return `/500.html?ref=${encodeURIComponent(ref)}&from=${encodeURIComponent(from)}`;}// Short, URL-safe correlation id for tying a sanitized 5xx response back to thediff --git a/api/avatars/_actions.js b/api/avatars/_actions.jsindex 9294b65f9..f4ab3e959 100644--- a/api/avatars/_actions.js+++ b/api/avatars/_actions.js@@ -21,6 +21,64 @@ import { finalizeReconstructStage, pollRiggingStage } from '../_lib/reconstruct-import { finalizeAutoRigStage } from '../_lib/auto-rig.js';import { textToImage } from '../_mcp3d/text-to-image.js';+// ── provider error masking ──────────────────────────────────────────────────────+// The regen adapters (Replicate, GCP, and the BYOK Meshy/Tripo) attach a stable+// .code/.status to every thrown error, but err.message can name the vendor, its+// billing state ("Meshy account is out of credits."), or echo a raw upstream+// body. None of that may reach the browser. These two helpers translate by code+// into neutral, actionable copy and keep the raw detail in server logs only.++// Classify a provider submit/resolve failure into a vendor-free { status, code,+// message } envelope. The error CODE is preserved (the clients already branch on+// invalid_key / missing_key / insufficient_credits / rate_limited) — only the+// leaky MESSAGE is replaced, so the BYOK key-entry UX keeps working while no+// vendor name or billing state ever ships. Pure + exported for direct testing.+export function classifyProviderError(err) {+ const code = err?.code;+ const status = Number(err?.status) || 0;+ if (code === 'insufficient_credits' || status === 402) {+ return { status: 402, code: 'insufficient_credits', message: 'The 3D engine key is out of credits — top it up and try again.' };+ }+ if (code === 'invalid_key' || code === 'missing_key' || status === 401) {+ return { status: 401, code: code === 'missing_key' ? 'missing_key' : 'invalid_key', message: 'The 3D engine key was rejected — check it and try again.' };+ }+ if (code === 'rate_limited' || status === 429) {+ return { status: 429, code: 'rate_limited', message: 'The 3D engine is busy right now — wait a moment and try again.', retryAfter: 15 };+ }+ if (code === 'invalid_request' || status === 400) {+ return { status: 400, code: 'invalid_request', message: 'That request could not be processed — check your photo and try again.' };+ }+ if (code === 'mode_unconfigured' || code === 'regen_provider_unknown' || status === 501) {+ return { status: 501, code: 'regen_unconfigured', message: 'The 3D engine is not available for this request right now.' };+ }+ // provider_unreachable, provider_error, and anything else → generic retry.+ return { status: 502, code: 'regen_provider_error', message: 'The 3D engine could not start this job — please try again shortly.' };+}++// Send the masked classification to the client, logging the raw detail for ops.+function maskSubmitError(res, err) {+ const c = classifyProviderError(err);+ console.warn('[avatars] provider error:', err?.code || err?.status || 'unknown', '—', err?.message);+ if (c.retryAfter) res.setHeader('retry-after', String(c.retryAfter));+ return error(res, c.status, c.code, c.message, c.retryAfter ? { retry_after: c.retryAfter } : {});+}++// Collapse a raw job/provider error string into neutral copy before it leaves the+// API. The DB keeps the raw value for operators; only this masked form is+// returned to any client (browser or bearer-token API consumer). Returns null for+// empty input so the caller can omit the field entirely.+export function sanitizeJobError(raw) {+ if (!raw) return null;+ const s = String(raw).toLowerCase();+ if (s.includes('nsfw') || s.includes('safety')) return 'Your photo was flagged by content safety — try a different shot.';+ if (s.includes('no face') || (s.includes('face') && s.includes('detect'))) return 'We could not find a clear face — try a brighter, front-facing photo.';+ if (s.includes('oom') || s.includes('out of memory') || s.includes('memory')) return 'The engine ran out of resources — try again with a simpler photo.';+ if (s.includes('timeout') || s.includes('timed out')) return 'The engine took too long — please try again.';+ if (s.includes('credit') || s.includes('billing') || s.includes('quota')) return 'The 3D engine is temporarily unavailable — please try again later.';+ if (s.includes('rate') && s.includes('limit')) return 'The 3D engine is busy right now — wait a moment and try again.';+ return 'Avatar generation hit a snag — please try again.';+}+// ── presign ───────────────────────────────────────────────────────────────────async function resolvePresignUser(req, requiredScope) {@@ -226,7 +284,8 @@ async function fetchRemoteGlb(rawUrl, maxBytes) {} catch (err) {if (err.code && err.status) throw err;if (err.name === 'AbortError') throw fetchError(504, 'fetch_timeout', 'source URL timed out');- throw fetchError(502, 'fetch_failed', err.message || 'failed to fetch source URL');+ console.warn('[avatar-upload] remote fetch failed:', err?.message);+ throw fetchError(502, 'fetch_failed', 'could not fetch the source URL');} finally {clearTimeout(timer);}@@ -379,7 +438,7 @@ const handleRegenerate = wrap(async (req, res) => {try {provider = await getRegenProvider();} catch (err) {- return error(res, err.status || 501, err.code || 'regen_provider_error', err.message);+ return maskSubmitError(res, err);}if (provider.name === 'none') {@@ -387,7 +446,7 @@ const handleRegenerate = wrap(async (req, res) => {res,501,'regen_unconfigured',- 'Avatar regeneration requires a configured backend. Set AVATAR_REGEN_PROVIDER and the matching API token (REPLICATE_API_TOKEN, HF_TOKEN, or GCP_RECONSTRUCTION_URL).',+ 'Avatar regeneration is not available on this deployment yet.',);}@@ -404,12 +463,7 @@ const handleRegenerate = wrap(async (req, res) => {sourceStorageKey: rows[0].storage_key,});} catch (err) {- return error(- res,- err.status || 502,- err.code || 'regen_provider_error',- err.message || 'provider rejected submission',- );+ return maskSubmitError(res, err);}const jobId = `${provider.name}-${randomUUID()}`;@@ -545,7 +599,11 @@ const handleRegenerateStatus = wrap(async (req, res) => {const response = { ok: true, jobId: job.job_id, status: job.status };if (job.result_avatar_id) response.resultAvatarId = job.result_avatar_id;if (job.result_glb_url) response.resultGlbUrl = job.result_glb_url;- if (job.error) response.error = job.error;+ // Never return the raw provider/job error — it can carry a vendor name, task+ // id, or upstream status. The DB row keeps the raw value for operators; the+ // wire gets the masked form only (safe for both the web UI and API consumers).+ const maskedError = sanitizeJobError(job.error);+ if (maskedError) response.error = maskedError;if (job.provider) response.provider = job.provider;return json(res, 200, response);});@@ -920,7 +978,7 @@ const handleReconstruct = wrap(async (req, res) => {try {provider = await getRegenProvider();} catch (err) {- return error(res, err.status || 501, err.code || 'regen_provider_error', err.message);+ return maskSubmitError(res, err);}// Platform provider not configured — try BYOK fallback.@@ -930,7 +988,7 @@ const handleReconstruct = wrap(async (req, res) => {try {provider = getRegenProviderByName(body.provider_name, body.provider_key);} catch (err) {- return error(res, err.status || 400, err.code || 'invalid_key', err.message);+ return maskSubmitError(res, err);}}@@ -981,7 +1039,7 @@ const handleReconstruct = wrap(async (req, res) => {// 'provider_unreachable' (network), or a raw providerStatus (e.g. 402// billing). Anything else is a genuine upstream 5xx.if (err?.code === 'unconfigured') {- return error(res, 501, 'txt2img_unconfigured', err.message);+ return error(res, 501, 'txt2img_unconfigured', 'The avatar generator is not available on this deployment yet.');}if (err?.code === 'rate_limited') {const retryAfter = Number(err.retryAfter) || 10;@@ -995,7 +1053,7 @@ const handleReconstruct = wrap(async (req, res) => {);}if (err?.code === 'provider_unreachable') {- return error(res, 503, 'txt2img_unreachable', err.message);+ return error(res, 503, 'txt2img_unreachable', 'Could not reach the image engine — please try again shortly.');}if (err?.code === 'billing' || err?.providerStatus === 402) {// Never relay the provider's raw "purchase credit at …/billing"@@ -1013,7 +1071,7 @@ const handleReconstruct = wrap(async (req, res) => {res,502,'txt2img_error',- err?.message || 'could not generate a reference image from your prompt',+ 'Could not generate a reference image from your prompt — try rewording it.',);}}@@ -1027,12 +1085,7 @@ const handleReconstruct = wrap(async (req, res) => {sourceUrl: photos[0],});} catch (err) {- return error(- res,- err.status || 502,- err.code || 'regen_provider_error',- err.message || 'provider rejected submission',- );+ return maskSubmitError(res, err);}const jobId = `${provider.name}-${randomUUID()}`;diff --git a/api/avatars/from-forge.js b/api/avatars/from-forge.jsindex 409b64f9e..d6d577b43 100644--- a/api/avatars/from-forge.js+++ b/api/avatars/from-forge.js@@ -95,7 +95,8 @@ export default wrap(async (req, res) => {if (err instanceof SsrfBlockedError) {return error(res, 400, 'invalid_url', 'glb_url must be a public https URL');}- return error(res, 502, 'fetch_failed', `could not fetch glb_url: ${err?.message || 'network error'}`);+ console.warn('[from-forge] glb fetch failed:', err?.message);+ return error(res, 502, 'fetch_failed', 'Could not fetch that GLB URL — check the link and try again.');}if (!resp.ok) {return error(res, 502, 'fetch_failed', `glb_url returned ${resp.status}`);@@ -140,7 +141,10 @@ export default wrap(async (req, res) => {source_glb_url: glbUrl,source_prompt: sourcePrompt,generator: 'chat-forge-avatar',- is_rigged: rigged || info.isRigged || null,+ // Prefer the inspected skeleton truth (definite true/false) over the+ // untrusted client `rigged` provenance flag; fall back to the flag,+ // then to null (unknown) when inspection couldn't decide.+ is_rigged: typeof info.isRigged === 'boolean' ? info.isRigged : (rigged || null),mesh_count: info.meshCount ?? null,animation_count: info.animationCount ?? null,},diff --git a/api/avatars/thumbnail.js b/api/avatars/thumbnail.jsindex 20b51e596..7c2a37525 100644--- a/api/avatars/thumbnail.js+++ b/api/avatars/thumbnail.js@@ -14,8 +14,23 @@ import { limits, clientIp } from '../_lib/rate-limit.js';import { generateAltText } from '../_lib/avatar-alt-text.js';const MAX_PNG_BYTES = 1_500_000; // 1.5 MB max — generous for 1024² posters.+const MIN_PNG_BYTES = 512; // a real poster is KBs; a 1×1 PNG is ~70 bytes.+const MIN_THUMB_DIM = 64; // reject 1px / degenerate posters — the gallery needs a real image.const PNG_HEADER = Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]);+// Read width/height from a PNG's IHDR chunk, which the spec fixes immediately+// after the 8-byte signature: [4-byte length][\"IHDR\"][4-byte width][4-byte+// height]. Returns null if the buffer is too short or isn't an IHDR-led PNG.+export function readPngSize(buf) {+ if (!Buffer.isBuffer(buf) || buf.length < 24) return null;+ if (!buf.subarray(0, 8).equals(PNG_HEADER)) return null;+ if (buf.subarray(12, 16).toString('ascii') !== 'IHDR') return null;+ const width = buf.readUInt32BE(16);+ const height = buf.readUInt32BE(20);+ if (!width || !height) return null;+ return { width, height };+}+export default wrap(async (req, res) => {if (cors(req, res, { methods: 'POST,OPTIONS', credentials: true })) return;if (!method(req, res, ['POST'])) return;@@ -45,12 +60,18 @@ export default wrap(async (req, res) => {} catch {return error(res, 400, 'invalid_request', 'png_base64 not valid base64');}- if (buf.length === 0 || buf.length > MAX_PNG_BYTES) {- return error(res, 413, 'too_large', `png must be 1..${MAX_PNG_BYTES} bytes`);+ if (buf.length < MIN_PNG_BYTES || buf.length > MAX_PNG_BYTES) {+ return error(res, 413, 'too_large', `png must be ${MIN_PNG_BYTES}..${MAX_PNG_BYTES} bytes`);}if (!buf.subarray(0, 8).equals(PNG_HEADER)) {return error(res, 400, 'invalid_request', 'body is not a PNG');}+ // Reject 1px / degenerate posters: a blank or 1×1 PNG passes the header check+ // but would publish an empty thumbnail to the gallery. Require a real image.+ const dims = readPngSize(buf);+ if (!dims || dims.width < MIN_THUMB_DIM || dims.height < MIN_THUMB_DIM) {+ return error(res, 422, 'thumbnail_too_small', `thumbnail must be at least ${MIN_THUMB_DIM}×${MIN_THUMB_DIM}px`);+ }// Look up the avatar; permit owner OR admin (admins are needed to backfill// thumbnails for legacy avatars whose owners may be inactive).diff --git a/data/pages.json b/data/pages.jsonindex 1b9b7aaf1..ef7ad62e3 100644--- a/data/pages.json+++ b/data/pages.json@@ -561,6 +561,14 @@"changefreq": "daily","added": "2026-06-12"},+ {+ "path": "/pulse",+ "title": "Money Pulse",+ "description": "The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.",+ "priority": 0.8,+ "changefreq": "always",+ "added": "2026-06-23"+ },{"path": "/clash","title": "Coin Clash",diff --git a/pages/agent-detail.html b/pages/agent-detail.htmlindex c6dd5d88c..3c1d780e3 100644--- a/pages/agent-detail.html+++ b/pages/agent-detail.html@@ -577,6 +577,15 @@<div class="flex space-x-2 mt-4 justify-start" id="ad-holdings-actions"></div></section>+ <section class="ad-card" id="ad-pulse-card" hidden>+ <div class="ad-card-head">+ <span class="ad-bullet"></span>+ <h2>WALLET STORY</h2>+ <a class="ad-card-link" href="/pulse" style="margin-left:auto;font-size:.7rem;color:var(--ink-dim,#888);text-decoration:none">All activity →</a>+ </div>+ <div id="ad-pulse-feed"></div>+ </section>+<section class="ad-card"><div class="ad-card-head"><span class="ad-bullet ad-bullet-amber"></span>diff --git a/pages/create-prompt.html b/pages/create-prompt.htmlindex 37354b495..9bdadcde7 100644--- a/pages/create-prompt.html+++ b/pages/create-prompt.html@@ -391,6 +391,31 @@margin-top: 14px;font-variant-numeric: tabular-nums;}+ .cancel-build {+ margin-top: 18px;+ padding: 8px 18px;+ border-radius: 999px;+ border: 1px solid var(--border-strong);+ background: transparent;+ color: var(--muted);+ font-size: 13px;+ font-weight: 500;+ cursor: pointer;+ transition: color 0.18s, border-color 0.18s, background 0.18s;+ }+ .cancel-build:hover {+ color: var(--text);+ border-color: var(--muted);+ background: rgba(255, 255, 255, 0.04);+ }+ .cancel-build:focus-visible {+ outline: 2px solid var(--accent);+ outline-offset: 2px;+ }+ @media (prefers-reduced-motion: reduce) {+ .orb::after { animation: none; }+ .progress-fill { transition: none; }+ }/* ── Done ──────────────────────────────────────────────────────────── */.done-wrap {@@ -628,15 +653,23 @@class="step build-wrap"data-step="building"aria-label="Building your avatar"- aria-live="polite"><div class="orb" aria-hidden="true"></div><p class="build-prompt" id="build-prompt"></p>- <div class="progress-track" aria-hidden="true">+ <div+ class="progress-track"+ id="progress-track"+ role="progressbar"+ aria-valuemin="0"+ aria-valuemax="100"+ aria-valuenow="0"+ aria-label="Avatar build progress"+ ><div class="progress-fill" id="progress-fill"></div></div>- <p class="build-status" id="build-status">Rendering a reference image…</p>- <p class="elapsed" id="elapsed">0:00</p>+ <p class="build-status" id="build-status" aria-live="polite">Rendering a reference image…</p>+ <p class="elapsed" id="elapsed" aria-hidden="true">0:00</p>+ <button type="button" id="cancel-build" class="cancel-build">Cancel</button><div class="error-box" id="build-error" role="alert"></div></section>diff --git a/pages/ibm/hello.html b/pages/ibm/hello.htmlindex dab1bbe9a..493d84326 100644--- a/pages/ibm/hello.html+++ b/pages/ibm/hello.html@@ -470,11 +470,11 @@ agent-3d:defined ~ .agent-skel{display:none}</div><h1>A live showcase of agentic commerce, built with <strong>IBM</strong></h1><p class="hero-sub">IBM has shaped computing for over a century — and it stays at the frontier by backing what comes next. three.ws is one of those bets: a platform for on-chain micropayments and 3D AI agents. As an IBM Business Partner, we built this page to demonstrate that partnership in the open — every demo below runs against real, production three.ws systems. Nothing is mocked, nothing is a slide.</p>- <p class="hero-sub" style="margin-top:14px">Five things we want to show you: pay a few cents to turn text into a 3D model, pay-per-call micropayments over <span class="mono">x402</span>, an autonomous 3D agent that buys its own data, a shared 3D world, and an agent placed in augmented reality. Try each one yourself — the two paid demos (Forge and the x402 call) settle real USDC from your own wallet.</p>+ <p class="hero-sub" style="margin-top:14px">Five things we want to show you: pay a few cents to turn text into a 3D model, forge a rigged, animated avatar from a sentence for free, an autonomous 3D agent that buys its own data over <span class="mono">x402</span>, a shared 3D world, and an agent placed in augmented reality. Try each one yourself — the paid Forge demo settles real USDC from your own wallet; the rest are free, no wallet needed.</p><nav class="demo-nav" aria-label="The demos on this page"><a href="#webinar" class="nav-live"><span class="live-dot" aria-hidden="true"></span>Watch live</a><a href="#forge"><span class="n">01</span>Forge</a>- <a href="#demo"><span class="n">02</span>x402 payments</a>+ <a href="#demo"><span class="n">02</span>Avatars</a><a href="#agent"><span class="n">03</span>3D agent</a><a href="#play"><span class="n">04</span>Play</a><a href="#irl"><span class="n">05</span>IRL</a>@@ -1035,7 +1035,7 @@ agent-3d:defined ~ .agent-skel{display:none}<div class="inner"><div class="section-tag">Demo 03 · Embodiment</div><h2 id="agent-h">An <strong>agent</strong> that pays for its own data</h2>- <p class="section-lead">Everything you just did by hand — read the price, sign, settle — an autonomous agent can do on its own. This is one of them: a 3D agent from three.ws, rendered live in your browser. It watches the call above and reacts the moment your payment settles.</p>+ <p class="section-lead">The agentic-commerce loop the Forge demo runs by hand — read a price, sign, settle a real USDC micropayment — an autonomous agent can run on its own. This is one of them: a 3D agent from three.ws, driven by the very engine that just animated your avatar, rendered live in your browser. Forge a character above and watch it react.</p><div class="agent-grid"><div class="agent-stage">@@ -1053,8 +1053,8 @@ agent-3d:defined ~ .agent-skel{display:none}</div><div class="agent-copy">- <h3>It reacts to the payment above — in real time</h3>- <p>Run the $0.001 call and watch: the agent celebrates the moment the transaction settles. The same primitives that power the demo button power it — it signs, pays, and reads results exactly the way you just did, only autonomously.</p>+ <h3>It reacts to your avatar — in real time</h3>+ <p>Forge a character above and watch: this agent celebrates the moment your avatar comes to life. It runs the agentic-commerce loop too — reading a price, signing, and settling a USDC micropayment on its own, exactly the way the Forge demo does, only autonomously.</p><p>Rendered live in the browser with WebGL — no video, no pre-recording.</p></div></div>@@ -1110,7 +1110,7 @@ agent-3d:defined ~ .agent-skel{display:none}<div class="inner"><div class="section-tag">For developers</div><h2 id="embed-h">Add a paywall in <strong>eight lines</strong></h2>- <p class="section-lead">The button above is powered by one drop-in script. Any element with a <span class="mono">data-x402-endpoint</span> opens the wallet flow on click — no framework, no build step, no SDK.</p>+ <p class="section-lead">The paid Forge demo above is powered by one drop-in script. Any element with a <span class="mono">data-x402-endpoint</span> opens the wallet flow on click — no framework, no build step, no SDK.</p><div class="embed-block" id="embedCode"><span class="c-com"><!-- one script tag, served from three.ws --></span><span class="c-tag"><script</span> <span class="c-attr">type</span>=<span class="c-str">"module"</span> <span class="c-attr">src</span>=<span class="c-str">"https://three.ws/x402.js"</span><span class="c-tag">></script></span>@@ -1281,293 +1281,6 @@ agent-3d:defined ~ .agent-skel{display:none}}}- // ── 1. live 402 challenge preview ─────────────────────────────────────────- function loadChallengePreview() {- var ticker = sanitizeTicker($('ticker').value) || 'GRANITE';- var preview = document.querySelector('.preview');- if (preview) preview.setAttribute('aria-busy', 'true');- fetch(ENDPOINT + '?ticker=' + encodeURIComponent(ticker), { method: 'GET' })- .then(function (res) {- if (res.status !== 402 && res.status !== 401) throw new Error('expected 402, got ' + res.status);- return res.json().catch(function () { return null; });- })- .then(function (body) {- var accepts = (body && body.accepts) || [];- if (!accepts.length) throw new Error('no payment terms in challenge');- renderChallengePreview(accepts);- })- .catch(function (err) {- var label = $('pvLabel'); label.className = 'preview-label err';- $('pvLabelText').textContent = navigator.onLine- ? "Couldn't read the live price just now — the payment button still works."- : "You're offline — the live price will load when you reconnect.";- var detail = escapeHtml(String((err && err.message) || 'request failed')).slice(0, 120);- $('pvRows').innerHTML =- '<div class="preview-row"><span class="v" style="color:var(--ibm-subtle)">' + detail + '</span></div>' +- '<button class="pv-retry" type="button" id="pvRetry">Retry</button>';- var r = $('pvRetry'); if (r) r.addEventListener('click', loadChallengePreview);- })- .then(function () { if (preview) preview.setAttribute('aria-busy', 'false'); });- }-- function renderChallengePreview(accepts) {- var byNet = {};- accepts.forEach(function (a) { if (a && a.network && !byNet[a.network]) byNet[a.network] = a; });- var nets = Object.keys(byNet).map(function (k) { return byNet[k]; });- var first = nets[0];- var decimals = (first.extra && first.extra.decimals) || 6;- quotedNetworks = nets.map(function (a) { return networkLabel(a.network); }).join(' or ');-- var priceHtml = first.amount === '1000'- ? '$<strong>0.001</strong>'- : escapeHtml(fmtUsd(first.amount, decimals)).replace(/^\$/, '$<strong>') + '</strong>';- var amtEl = $('priceAmt');- if (amtEl.innerHTML !== priceHtml) {- amtEl.innerHTML = priceHtml;- flashPrice(amtEl);- }- var priceText = escapeHtml(fmtUsd(first.amount, decimals));- var srEl = $('priceSr'); if (srEl) srEl.textContent = 'Price: ' + priceText + ' USDC per call.';-- var label = $('pvLabel'); label.className = 'preview-label ok fresh';- $('pvLabelText').innerHTML = '<span class="mono">HTTP 402 Payment Required</span> — the server is quoting these terms right now';-- var rows = '';- rows += '<div class="preview-row"><span class="k">price</span><span class="v">' + escapeHtml(fmtUsd(first.amount, decimals)) + ' USDC</span></div>';- var badges = nets.map(function (a) { return '<span class="badge">' + escapeHtml(networkLabel(a.network)) + '</span>'; }).join('');- rows += '<div class="preview-row"><span class="k">networks</span><span class="v">' + badges + '</span></div>';- nets.forEach(function (a) {- rows += '<div class="preview-row"><span class="k">pay to</span><span class="v">' + escapeHtml(shortAddr(a.payTo)) + ' <span style="color:var(--ibm-subtle)">(' + escapeHtml(networkLabel(a.network)) + ')</span></span></div>';- });- rows += '<div class="preview-row"><span class="k">scheme</span><span class="v">' + escapeHtml(first.scheme || 'exact') + ' · gasless authorization</span></div>';- $('pvRows').innerHTML = rows;- }-- // ── 2. result states ──────────────────────────────────────────────────────- // Concise spoken update to the off-screen live region. Clearing first guarantees- // the change is detected even when the same text repeats.- function announce(msg) {- var a = $('announcer'); if (!a) return;- a.textContent = '';- // microtask defer so screen readers register the text change as new- window.requestAnimationFrame(function () { a.textContent = msg || ''; });- }- function setResultEmpty() {- var el = $('result'); el.className = 'result is-empty';- el.innerHTML = 'Run the call to see live, on-chain-paid data appear here.';- announce('');- }- function setResultLoading(msg) {- var el = $('result'); el.className = 'result is-loading';- el.innerHTML = '<div class="r-status"><span class="spin" aria-hidden="true"></span><span>' + escapeHtml(msg || 'Waiting for your wallet…') + '</span></div>';- announce(msg || 'Waiting for your wallet.');- agentOnWaiting();- }- // Turn a (sometimes cryptic) wallet/facilitator/network message into one line- // of plain-language next-step guidance. Empty string when the message already- // speaks for itself.- function payGuidance(msg) {- var m = String(msg || '').toLowerCase();- if (/insufficient|not enough|exceeds balance|transfer amount exceeds|enough usdc|enough funds|low balance/.test(m)) {- return 'Top up USDC on ' + (quotedNetworks || 'your wallet network') + ', then try again.';- }- if (/offline|failed to fetch|networkerror|connection|timeout|timed out|could not reach/.test(m)) {- return 'Check your connection, then try again.';- }- return '';- }- function setResultError(msg) {- var text = msg || 'Something went wrong.';- var tip = payGuidance(text);- var el = $('result'); el.className = 'result is-error';- el.innerHTML = '<div class="r-status err"><span aria-hidden="true">✕</span> <span>' + escapeHtml(text) + '</span></div>' +- (tip ? '<p class="r-tip">' + escapeHtml(tip) + '</p>' : '') +- '<button class="retry" type="button" id="retryBtn">Try again</button>';- var rb = $('retryBtn'); if (rb) rb.addEventListener('click', runPayment);- announce('Error: ' + text + (tip ? ' ' + tip : ''));- agentOnError();- }- function recoPill(result) {- if (result.exact_collision) return '<span class="pill bad">taken</span>';- var sim = result.similar && result.similar[0];- if (sim && Number(sim.similarity) >= 0.8) return '<span class="pill warn">close match</span>';- return '<span class="pill ok">available</span>';- }- function setResultDone(out) {- var result = out.result || {};- var payment = out.payment || {};- var el = $('result'); el.className = 'result is-done';- agentOnSettled(out);-- var html = '';- html += '<div class="r-status ok"><span class="r-check" aria-hidden="true">✓</span><span>Payment settled — response delivered</span></div>';- if (result.ticker) html += '<div class="r-headline">Ticker <strong>$' + escapeHtml(result.ticker) + '</strong></div>';- if (result.recommendation) html += '<div class="r-reco">' + recoPill(result) + '<span>' + escapeHtml(result.recommendation) + '</span></div>';-- // Concise spoken summary — never the raw-JSON wall below.- var spoken = 'Payment settled.';- if (result.ticker) spoken += ' Ticker $' + result.ticker + '.';- if (result.recommendation) spoken += ' ' + result.recommendation;- announce(spoken);-- var exact = Array.isArray(result.exact_matches) ? result.exact_matches : [];- var similar = Array.isArray(result.similar) ? result.similar : [];- if (exact.length || similar.length) {- html += '<div class="matches">';- if (exact.length) {- html += '<h4>Exact matches</h4>';- exact.forEach(function (m) {- html += '<div class="match"><span class="m-name"><b>' + escapeHtml(m.ticker) + '</b> · ' + escapeHtml(m.name || '') + '</span><span class="m-sim">' + escapeHtml(shortAddr(m.mint)) + '</span></div>';- });- }- if (similar.length) {- html += '<h4' + (exact.length ? ' style="margin-top:12px"' : '') + '>Look-alike symbols</h4>';- similar.forEach(function (m) {- html += '<div class="match"><span class="m-name"><b>' + escapeHtml(m.ticker) + '</b> · ' + escapeHtml(m.name || '') + '</span><span class="m-sim">sim ' + escapeHtml(m.similarity == null ? '—' : String(m.similarity)) + '</span></div>';- });- }- html += '</div>';- }-- var explorer = explorerUrl(payment.network, payment.transaction);- html += '<dl class="receipt">';- html += '<div class="receipt-pair"><dt class="rk">Network</dt><dd class="rv">' + escapeHtml(networkLabel(payment.network)) + '</dd></div>';- html += '<div class="receipt-pair"><dt class="rk">Payer</dt><dd class="rv">' + escapeHtml(shortAddr(payment.payer)) + '</dd></div>';- html += '<div class="receipt-pair"><dt class="rk">Transaction</dt><dd class="rv">' +- (payment.transaction- ? (explorer ? '<a href="' + explorer + '" target="_blank" rel="noopener">' + escapeHtml(shortAddr(payment.transaction)) + ' <span aria-hidden="true">↗</span><span class="sr-only"> (opens block explorer in a new tab)</span></a>' : escapeHtml(shortAddr(payment.transaction)))- : '—') + '</dd></div>';- html += '</dl>';-- html += '<details class="raw"><summary>View raw response & settlement</summary><pre>' +- escapeHtml(JSON.stringify({ response: result, payment: payment }, null, 2)).slice(0, 6000) + '</pre></details>';-- el.innerHTML = html;- }-- // ── 3. payment ────────────────────────────────────────────────────────────- function setBusy(b) {- inFlight = b;- var btn = $('payBtn');- btn.disabled = b || !navigator.onLine;- btn.classList.toggle('loading', b);- btn.querySelector('.label').textContent = b ? 'Waiting for wallet…' : 'Pay $0.001 & run';- }- function setTickerError(msg) {- var f = $('ticker'); var h = $('tickerHint');- if (msg) { f.setAttribute('aria-invalid', 'true'); h.className = 'field-hint err'; h.textContent = msg; }- else { f.removeAttribute('aria-invalid'); h.className = 'field-hint'; h.textContent = 'A–Z and 0–9, up to 32 characters.'; }- }-- function runPayment() {- if (inFlight) return; // double-click guard- if (!navigator.onLine) { setResultError('You appear to be offline. Reconnect and try again.'); return; }-- var ticker = sanitizeTicker($('ticker').value);- if (!ticker) { setTickerError('Enter a ticker (A–Z, 0–9) to check.'); $('ticker').focus(); return; }- setTickerError(null);- $('ticker').value = ticker;-- if (!window.X402 || typeof window.X402.pay !== 'function') {- setResultError('Payment widget is still loading — give it a second and try again.');- return;- }-- var trigger = document.activeElement; // restore focus here when the modal closes- setBusy(true);- setResultLoading('Waiting for your wallet… approve the $0.001 USDC payment to continue.');-- window.X402.pay({- endpoint: ENDPOINT + '?ticker=' + encodeURIComponent(ticker),- method: 'GET',- merchant: 'three.ws',- action: 'Check $' + ticker + ' availability',- caps: { maxPerCall: MAX_PER_CALL_MICRO_USD }- }).then(function (out) {- if (out && out.ok) setResultDone(out);- else setResultError('The call did not complete. Please try again.');- }).catch(function (err) {- if (err && err.code === 'cancelled') { setResultEmpty(); return; }- setResultError((err && err.message) || 'Payment failed. Please try again.');- }).then(function () {- setBusy(false);- // Return focus to the trigger; if it was re-rendered out of the DOM- // (e.g. the retry button), fall back to the pay button so focus is never- // dropped to <body>.- var t = (trigger && trigger.focus && document.body.contains(trigger)) ? trigger : $('payBtn');- try { t.focus(); } catch (_) { try { $('payBtn').focus(); } catch (_2) {} }- });- }-- // ── wallet detection ────────────────────────────────────────────────────────- // On phones, window.ethereum / window.solana only exist inside a wallet's in-app- // browser, not in mobile Safari/Chrome. Reflect that reality in the hint so the- // next step is obvious. The 402 preview stays fully functional regardless.- function hasInjectedWallet() {- return !!(window.ethereum || (window.solana && window.solana.isPhantom) || window.phantom);- }- function isCoarsePointer() {- return !!(window.matchMedia && window.matchMedia('(pointer: coarse)').matches);- }- function syncWalletHint() {- var hint = $('walletHint'); var btn = $('payBtn');- if (!navigator.onLine) {- hint.classList.remove('detected'); hint.classList.add('offline');- hint.innerHTML = 'You are offline. Reconnect to read the live price and pay.';- btn.disabled = true;- return;- }- hint.classList.remove('offline');- if (!inFlight) btn.disabled = false;- if (hasInjectedWallet()) {- hint.classList.add('detected');- hint.innerHTML = '<b>Wallet detected.</b> You can pay this call directly.';- } else if (isCoarsePointer()) {- hint.classList.remove('detected');- hint.innerHTML = 'No wallet in this browser. On a phone, open this page inside your <b>MetaMask</b> or <b>Phantom</b> (Solana) in-app browser to pay. You can still read the live 402 challenge above.';- } else {- hint.classList.remove('detected');- hint.innerHTML = 'No wallet detected. Install <b>MetaMask</b> or <b>Phantom</b> (Solana) to pay — or just read the live 402 challenge above.';- }- }- // Wallet extensions inject asynchronously; re-check briefly after load.- // Two detection paths run in parallel and either one ends the wait:- // 1. A short backoff poll for the injected globals (Phantom/legacy MetaMask).- // 2. The EIP-6963 announce protocol — registered UP FRONT (below), before the- // first poll, and kicked with a requestProvider so compliant wallets reply- // immediately rather than only after our first 350ms tick.- var walletPolls = 0;- var walletPollTimer = null;- function pollForWallet() {- syncWalletHint();- // Resolve immediately the instant a wallet appears — don't keep polling.- if (hasInjectedWallet()) { walletPolls = 8; return; }- if (walletPolls < 8) { walletPolls++; walletPollTimer = setTimeout(pollForWallet, 350); }- }- function onWalletDetected() {- // A wallet announced or injected mid-poll: reflect it and stop the backoff.- if (walletPollTimer) { clearTimeout(walletPollTimer); walletPollTimer = null; }- walletPolls = 8;- syncWalletHint();- }- window.addEventListener('online', function () { syncWalletHint(); loadChallengePreview(); });- window.addEventListener('offline', syncWalletHint);- // EIP-6963 announce + Phantom late-inject both surface via this event in practice.- // Registered before polling starts so an early announcement is never missed, and- // we proactively request announcements so wallets reply without waiting for a tick.- window.addEventListener('eip6963:announceProvider', onWalletDetected);- try { window.dispatchEvent(new Event('eip6963:requestProvider')); } catch (_) {}-- // ── wiring ──────────────────────────────────────────────────────────────────- $('payBtn').addEventListener('click', runPayment);- $('ticker').addEventListener('keydown', function (e) { if (e.key === 'Enter') { e.preventDefault(); runPayment(); } });- var pvTimer;- $('ticker').addEventListener('input', function () {- setTickerError(null);- clearTimeout(pvTimer);- pvTimer = setTimeout(loadChallengePreview, 400);- });-$('copyBtn').addEventListener('click', function () {var snippet ='<script type="module" src="https://three.ws/x402.js"><\/script>\n\n' +@@ -1587,8 +1300,6 @@ agent-3d:defined ~ .agent-skel{display:none}wireAgent();wireLiveEmbeds();- pollForWallet();- loadChallengePreview();})();</script>@@ -2284,5 +1995,300 @@ agent-3d:defined ~ .agent-skel{display:none}}})();</script>++<!-- Demo 02 · Avatar Forge — free text → textured mesh → auto-rigged → animated.+ Two-stage /api/forge pipeline: POST (reconstruct) → POST ?action=rig, then the+ rigged GLB is mounted into <agent-3d> so the universal retarget animates it. If+ that web component can't boot (no WebGL / script blocked) it falls back to an+ orbiting <model-viewer> so the visitor always sees their avatar. No wallet, no+ key. Drives the guide agent (Demo 03) via window 'avatar:*' events. -->+<script type="module">+(function () {+ 'use strict';+ var API = 'https://three.ws/api/forge';+ var $ = function (id) { return document.getElementById(id); };+ var btn = $('avBtn');+ if (!btn) return; // panel not present — nothing to wire++ var input = $('avPrompt');+ var result = $('avResult');+ var statusEl = $('avStatus');+ var suggest = $('avSuggest');+ var steps = $('avSteps');++ var inFlight = false;+ var runSeq = 0;+ var loadTimer = null;+ var bootTimer = null;++ // Shared free-lane client id (same key the object forge uses) so the hourly+ // budget is accounted per visitor, not per widget.+ var CID = (function () {+ var fresh = function () { return 'c-' + Date.now().toString(36) + '-' + Math.random().toString(36).slice(2, 10); };+ try {+ var KEY = 'forge:cid';+ var v = localStorage.getItem(KEY);+ if (!v) { v = (window.crypto && crypto.randomUUID) ? crypto.randomUUID() : fresh(); localStorage.setItem(KEY, v); }+ return v;+ } catch (e) { return fresh(); }+ })();+ var HEADERS = { 'x-forge-client': CID };++ function esc(s) {+ return String(s == null ? '' : s).replace(/[&<>"']/g, function (c) {+ return { '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c];+ });+ }+ function sleep(ms) { return new Promise(function (r) { setTimeout(r, ms); }); }+ function emit(name) { try { window.dispatchEvent(new Event(name)); } catch (_) {} }++ // ── pipeline step indicator (mesh → rig → animate) ──────────────────────────+ var STEP_ORDER = ['mesh', 'rig', 'animate'];+ function setStep(active) {+ if (!steps) return;+ steps.setAttribute('aria-hidden', 'false');+ var ai = STEP_ORDER.indexOf(active);+ Array.prototype.forEach.call(steps.querySelectorAll('li'), function (li) {+ var i = STEP_ORDER.indexOf(li.getAttribute('data-step'));+ li.classList.toggle('active', i === ai);+ li.classList.toggle('done', ai >= 0 && i < ai);+ });+ }+ function clearSteps() {+ if (!steps) return;+ steps.setAttribute('aria-hidden', 'true');+ Array.prototype.forEach.call(steps.querySelectorAll('li'), function (li) { li.classList.remove('active', 'done'); });+ }++ // ── /api/forge job helpers — same contract as the free object forge ─────────+ // A POST returns either a synchronous { glb_url } (warm lane) or a { job_id }+ // we poll. ?action=rig surfaces the rigged GLB through the identical envelope.+ async function startJob(body, action) {+ var ctrl = new AbortController();+ var to = setTimeout(function () { ctrl.abort(); }, 95000);+ var res;+ try {+ res = await fetch(API + (action ? '?action=' + action : ''), {+ method: 'POST',+ headers: Object.assign({ 'content-type': 'application/json' }, HEADERS),+ body: JSON.stringify(body),+ signal: ctrl.signal+ });+ } finally { clearTimeout(to); }+ var data = await res.json().catch(function () { return {}; });+ if (res.status === 429) {+ var ra = Number(data.retry_after) || Number(res.headers.get('retry-after')) || 20;+ throw Object.assign(new Error(data.message || 'The free lane is busy.'), { code: 429, retryAfter: ra });+ }+ if (!res.ok) throw Object.assign(new Error(data.message || data.error || ('HTTP ' + res.status)), { code: res.status });+ return data;+ }+ async function pollJob(jobId, seq) {+ var deadline = Date.now() + 240000;+ while (seq === runSeq && Date.now() < deadline) {+ await sleep(2500);+ if (seq !== runSeq) return null;+ var data = {};+ try {+ var ctrl = new AbortController();+ var to = setTimeout(function () { ctrl.abort(); }, 20000);+ var res;+ try { res = await fetch(API + '?job=' + encodeURIComponent(jobId), { headers: HEADERS, signal: ctrl.signal }); }+ finally { clearTimeout(to); }+ data = await res.json().catch(function () { return {}; });+ } catch (_) { data = {}; } // a transient poll blip is not fatal — keep polling+ if (data.status === 'done' && data.glb_url) return data;+ if (data.status === 'failed') throw new Error(data.error || 'generation failed');+ }+ if (seq !== runSeq) return null;+ throw new Error('timed out');+ }+ async function jobToGlb(body, action, seq) {+ var job = await startJob(body, action);+ if (job && job.glb_url) return job; // synchronous result+ if (job && job.job_id) {+ var done = await pollJob(job.job_id, seq);+ if (done) return done;+ if (seq !== runSeq) return null;+ }+ throw new Error('no model returned');+ }++ // Stage 1 — text → textured mesh. One primary request, then a single+ // hard-failure retry forcing the reliable reconstruct lane (never on a 429),+ // mirroring the object forge so we don't burn the shared hourly budget.+ async function generateMesh(prompt, seq) {+ var hint = prompt + ', full body, standing, humanoid character';+ var attempts = [{ tier: 'draft' }, { tier: 'draft', backend: 'trellis' }];+ var lastErr = null;+ for (var i = 0; i < attempts.length; i++) {+ if (seq !== runSeq) return null;+ try {+ var job = await jobToGlb(Object.assign({ prompt: hint, aspect_ratio: '1:1', path: 'image' }, attempts[i]), null, seq);+ if (job && job.glb_url) return job;+ lastErr = new Error('no mesh');+ } catch (e) {+ if (e && e.code === 429) throw e; // rate-limited — surface "busy", don't burn the retry+ lastErr = e;+ if (seq !== runSeq) return null;+ await sleep(1800);+ }+ }+ throw lastErr || new Error('generation unavailable');+ }+ // Stage 2 — auto-rig the mesh into an animation-ready skeleton.+ function rigMesh(glbUrl, seq) { return jobToGlb({ glb_url: glbUrl }, 'rig', seq); }++ // ── states ──────────────────────────────────────────────────────────────────+ function setLoading(stage) {+ var copy = stage === 'rig'+ ? ['Mesh ready — building the skeleton…', 'Mapping bones to the canonical rig…', 'Binding skin weights…', 'Retargeting the animation library…']+ : ['Reading your prompt…', 'Warming the free GPU — a cold start can take up to a minute…', 'Generating geometry on NVIDIA NIM…', 'Texturing the mesh…'];+ result.className = 'av-result is-loading';+ result.innerHTML = '<div class="av-load"><span class="av-bar"><span></span></span><span class="av-loadmsg" id="avLoadMsg">' + esc(copy[0]) + '</span></div>';+ statusEl.textContent = stage === 'rig' ? 'Rigging your avatar.' : 'Generating your avatar.';+ clearInterval(loadTimer);+ var i = 0;+ loadTimer = setInterval(function () { i = (i + 1) % copy.length; var el = $('avLoadMsg'); if (el) el.textContent = copy[i]; }, 4000);+ }+ function setError() {+ clearInterval(loadTimer); clearSteps(); emit('avatar:error');+ result.className = 'av-result is-error';+ result.innerHTML =+ '<div class="av-err"><p>The free generator is briefly unreachable. It auto-retries across NVIDIA NIM and TRELLIS — give it another try.</p>' ++ '<button type="button" class="av-retry" id="avRetry">Try again</button></div>';+ var rb = $('avRetry'); if (rb) rb.addEventListener('click', run);+ statusEl.textContent = 'Generation failed. Press try again.';+ }+ // The free lane has an hourly cap so it stays free for everyone — tell the+ // visitor exactly when to retry rather than the misleading "unreachable" copy.+ function setBusy(retryAfter) {+ clearInterval(loadTimer); clearSteps(); emit('avatar:error');+ var secs = Math.max(5, Math.round(Number(retryAfter) || 20));+ result.className = 'av-result is-error';+ result.innerHTML =+ '<div class="av-err"><p>The free lane is busy — it has an hourly limit so it stays free for everyone. Try again in about ' + secs + ' seconds, or open the full Forge for an instant generation.</p>' ++ '<button type="button" class="av-retry" id="avRetry">Try again</button></div>';+ var rb = $('avRetry'); if (rb) rb.addEventListener('click', run);+ statusEl.textContent = 'The free lane is busy. Try again in about ' + secs + ' seconds.';+ }++ // ── result rendering ──────────────────────────────────────────────────────+ var _mv = null;+ function ensureModelViewer() {+ if (_mv) return _mv;+ _mv = new Promise(function (resolve) {+ if (window.customElements && customElements.get('model-viewer')) { resolve(); return; }+ var s = document.createElement('script');+ s.type = 'module';+ s.src = './vendor/model-viewer.min.js';+ s.addEventListener('error', resolve);+ document.head.appendChild(s);+ if (window.customElements) customElements.whenDefined('model-viewer').then(resolve, resolve);+ else resolve();+ });+ return _mv;+ }+ function actionsHtml(glb, prompt, live) {+ var scene = 'https://three.ws/scene?model=' + encodeURIComponent(glb) + '&name=' + encodeURIComponent(prompt.slice(0, 80));+ return '<div class="av-actions">' ++ '<a class="av-act primary" href="' + esc(glb) + '" download>Download rigged GLB</a>' ++ '<a class="av-act" href="' + esc(scene) + '" target="_blank" rel="noopener">Open in 3D scene ↗</a>' ++ '<span class="av-engine">Rigged free · ' + (live ? 'live avatar engine' : 'orbit preview') + '</span></div>';+ }+ async function renderFallback(glb, prompt) {+ clearInterval(loadTimer); clearSteps();+ await ensureModelViewer();+ result.className = 'av-result is-done';+ result.innerHTML =+ '<div class="av-stage"><model-viewer src="' + esc(glb) + '" alt="Rigged 3D avatar generated from your prompt" ' ++ 'camera-controls auto-rotate rotation-per-second="18deg" interaction-prompt="none" ' ++ 'shadow-intensity="0.8" shadow-softness="0.8" environment-image="neutral" exposure="1" ' ++ 'camera-orbit="0deg 85deg auto" loading="eager"></model-viewer></div>' + actionsHtml(glb, prompt, false);+ statusEl.textContent = 'Your rigged avatar is ready. Orbit it, or download the GLB.';+ emit('avatar:done');+ }+ function renderAvatar(glb, prompt) {+ clearInterval(loadTimer);+ setStep('animate');+ result.className = 'av-result is-done';+ result.innerHTML = '<div class="av-stage" id="avStageBox"></div>' + actionsHtml(glb, prompt, true);+ var box = $('avStageBox');+ var el = document.createElement('agent-3d');+ el.setAttribute('body', glb);+ el.setAttribute('background', 'transparent');+ el.setAttribute('width', '100%');+ el.setAttribute('height', '460px');+ var settled = false;+ el.addEventListener('agent:ready', function () {+ if (settled) return; settled = true;+ clearTimeout(bootTimer); clearSteps();+ try { if (el.playEmote) el.playEmote('wave'); } catch (_) {}+ statusEl.textContent = 'Your avatar is live — it stands, breathes, and waves. Download it, or open it in a scene.';+ emit('avatar:done');+ });+ el.addEventListener('error', function () {+ if (settled) return; settled = true;+ clearTimeout(bootTimer); renderFallback(glb, prompt);+ });+ box.appendChild(el);+ // If the component never upgrades/boots, show the orbit fallback so the+ // visitor still gets their avatar; if it upgraded but is slow to signal+ // ready, accept it as live rather than tearing down a working render.+ bootTimer = setTimeout(function () {+ if (settled) return;+ var upgraded = window.customElements && customElements.get('agent-3d');+ if (!upgraded) { settled = true; renderFallback(glb, prompt); }+ else { settled = true; clearSteps(); statusEl.textContent = 'Your avatar is live. Download it, or open it in a scene.'; emit('avatar:done'); }+ }, 14000);+ }++ async function run() {+ var prompt = (input.value || '').trim();+ if (!prompt) { try { input.focus(); } catch (_) {} return; }+ var seq = ++runSeq;+ inFlight = true;+ btn.classList.add('loading'); btn.disabled = true;+ emit('avatar:generating');+ setStep('mesh'); setLoading('mesh');+ try {+ var mesh = await generateMesh(prompt, seq);+ if (seq !== runSeq) return;+ if (!mesh || !mesh.glb_url) throw new Error('no mesh');++ // Stage 2 is best-effort: a rig hiccup still yields a viewable textured mesh.+ var glb = mesh.glb_url;+ setStep('rig'); setLoading('rig');+ try {+ var rigged = await rigMesh(mesh.glb_url, seq);+ if (seq !== runSeq) return;+ if (rigged && rigged.glb_url) glb = rigged.glb_url;+ } catch (rigErr) {+ if (rigErr && rigErr.code === 429) throw rigErr; // free lane busy — surface it+ if (seq !== runSeq) return;+ // otherwise fall through with the unrigged mesh+ }+ renderAvatar(glb, prompt);+ } catch (e) {+ if (seq !== runSeq) return;+ if (e && e.code === 429) setBusy(e.retryAfter);+ else setError();+ } finally {+ if (seq === runSeq) { inFlight = false; btn.classList.remove('loading'); btn.disabled = false; }+ }+ }++ btn.addEventListener('click', function () { if (!inFlight) run(); });+ input.addEventListener('keydown', function (e) { if (e.key === 'Enter') { e.preventDefault(); if (!inFlight) run(); } });+ if (suggest) {+ suggest.addEventListener('click', function (e) {+ var b = e.target.closest('button[data-p]');+ if (!b) return;+ input.value = b.getAttribute('data-p');+ if (!inFlight) run();+ });+ }+})();+</script></body></html>diff --git a/pages/launches.html b/pages/launches.htmlindex c25d09852..26d9a1eae 100644--- a/pages/launches.html+++ b/pages/launches.html@@ -98,6 +98,14 @@<div class="lx-ticker-track" id="lx-ticker-track"></div></div>+ <!-- Live money layer: the platform-wide Money Pulse, compact. Self-hides+ when nothing is happening; links to the full /pulse feed. -->+ <div class="lx-pulse-strip">+ <a class="lx-pulse-label" href="/pulse">◎ Money Pulse →</a>+ <div class="lx-pulse-ticker" data-money-pulse-ticker data-network="mainnet" aria-label="Live wallet activity across three.ws"></div>+ </div>+ <script type="module" src="/src/pulse-ticker-embed.js"></script>+<section class="lx-toolbar" aria-label="Feed filters"><div class="lx-net-toggle" role="tablist" aria-label="Network"><buttondiff --git a/pages/pulse.html b/pages/pulse.htmlnew file mode 100644index 000000000..3e27294bb--- /dev/null+++ b/pages/pulse.html@@ -0,0 +1,110 @@+<!doctype html>+<html lang="en">+ <head>+ <script>/* three.ws theme boot — no-flash; runtime in /theme-switcher.js */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />+ <title>Money Pulse · three.ws</title>+ <meta+ name="description"+ content="The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event."+ />+ <meta property="og:type" content="website" />+ <meta property="og:site_name" content="three.ws" />+ <meta property="og:url" content="https://three.ws/pulse" />+ <meta property="og:title" content="Money Pulse · three.ws" />+ <meta+ property="og:description"+ content="A live, platform-wide stream of real three.ws agent wallet activity — tips, launches, trades and agent-to-agent payments, the moment they happen."+ />+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&t=Money+Pulse&d=A+live+platform-wide+stream+of+real+agent+wallet+activity+%E2%80%94+tips%2C+launches%2C+trades+and+payments.&p=%2Fpulse" />+ <meta property="og:image:width" content="1200" />+ <meta property="og:image:height" content="630" />+ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:site" content="@trythreews" />+ <meta name="twitter:title" content="Money Pulse · three.ws" />+ <meta+ name="twitter:description"+ content="A live, platform-wide stream of real three.ws agent wallet activity — tips, launches, trades and payments, the moment they happen."+ />+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=Money+Pulse&d=A+live+platform-wide+stream+of+real+agent+wallet+activity+%E2%80%94+tips%2C+launches%2C+trades+and+payments.&p=%2Fpulse" />+ <meta name="theme-color" content="#0a0a0a" />+ <link rel="icon" href="/favicon.ico" sizes="any" />+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />+ <link rel="manifest" href="/site.webmanifest" />+ <link rel="stylesheet" href="/fonts/fonts.css" />+ <link rel="stylesheet" href="/nav.css" />+ <link rel="stylesheet" href="/src/pulse.css" />+ <link rel="stylesheet" href="/footer.css" />+ <script defer src="/footer-newsletter.js"></script>+ <link rel="canonical" href="https://three.ws/pulse" />+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","name":"Money Pulse","description":"A live, platform-wide stream of real three.ws agent wallet activity — tips, launches, trades and agent-to-agent payments.","url":"https://three.ws/pulse","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>+ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1" />+ <meta property="og:locale" content="en_US" />+ <meta property="og:image:alt" content="Money Pulse — three.ws" />+ </head>+ <body>+ <header><div id="nav-container"></div></header>+ <script src="/nav.js"></script>++ <main class="px-shell">+ <section class="px-hero">+ <p class="px-kicker"><span class="px-live-dot" aria-hidden="true"></span> Live money layer</p>+ <h1 class="px-title">The <em>Money Pulse</em></h1>+ <p class="px-sub">+ Every tip, launch, trade and payment moving through three.ws agent wallets —+ the moment it lands on-chain. Real events only. Click any beat to meet the agent behind it.+ </p>+ <div class="px-net" role="tablist" aria-label="Network">+ <button type="button" class="px-net-btn active" data-network="mainnet" role="tab" aria-selected="true">Mainnet</button>+ <button type="button" class="px-net-btn" data-network="devnet" role="tab" aria-selected="false">Devnet</button>+ </div>+ </section>++ <dl class="px-counters">+ <div class="px-counter">+ <dt>Tips · 24h</dt>+ <dd id="px-c-tips">—</dd>+ <span class="px-counter-sub" id="px-c-tips-sub">—</span>+ </div>+ <div class="px-counter">+ <dt>Launches · 24h</dt>+ <dd id="px-c-launches">—</dd>+ <span class="px-counter-sub">coins minted</span>+ </div>+ <div class="px-counter">+ <dt>Trades & pays · 24h</dt>+ <dd id="px-c-trades">—</dd>+ <span class="px-counter-sub">wallet moves</span>+ </div>+ </dl>++ <div class="px-grid">+ <div class="px-main">+ <h2 class="px-section-h">Live feed</h2>+ <div id="px-feed"></div>+ </div>+ <aside class="px-rail" aria-label="Money intelligence">+ <section class="px-card">+ <div class="px-card-h">Top earners <small>tips · 7d</small></div>+ <div id="px-earners"><p class="px-lb-empty">Loading…</p></div>+ </section>+ <section class="px-card">+ <div class="px-card-h">Busiest wallets <small>events · 24h</small></div>+ <div id="px-busiest"><p class="px-lb-empty">Loading…</p></div>+ </section>+ <div id="px-stats"></div>+ <p class="px-sub" style="font-size:var(--text-2xs,.68rem);text-align:left;margin:0;color:var(--ink-faint,#666)">+ Network: <strong id="px-net-label">mainnet</strong>. Private withdrawals and custody events are never shown — only already-public activity.+ </p>+ </aside>+ </div>+ </main>++ <script type="module" src="/src/pulse.js"></script>+ <script src="/brand.js" defer></script>+ <div id="footer-container"></div>+ <script src="/footer.js"></script>+ </body>+</html>diff --git a/public/changelog.json b/public/changelog.jsonindex d5a00380c..1febbf15a 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,11 +1,21 @@{- "generated_at": "2026-06-23T03:03:43.648Z",+ "generated_at": "2026-06-23T03:05:40.876Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},"entries": [+ {+ "date": "2026-06-23",+ "type": "launch",+ "title": "Money Pulse",+ "summary": "The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.",+ "link": "/pulse",+ "tags": [+ "launch"+ ]+ },{"date": "2026-06-23","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 76ecbb930..3b59b8d49 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -6,6 +6,14 @@<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/><description>What's new on three.ws — features, improvements, and releases, newest first.</description><language>en</language>+ <item>+ <title>Money Pulse</title>+ <link>https://three.ws/pulse</link>+ <guid isPermaLink="false">2026-06-23:Money Pulse</guid>+ <pubDate>Tue, 23 Jun 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.</description>+ </item><item><title>Feature: Agent Studio is complete — Body, Money, and Skills tabs are now live</title><link>https://three.ws/agent-studio</link>diff --git a/public/character.html b/public/character.htmlindex bf918a40a..0608bb04b 100644--- a/public/character.html+++ b/public/character.html@@ -21,8 +21,10 @@<section class="ch-hero"><div class="ch-hero-top"><!-- Avatar -->- <img id="ch-avatar-img" class="ch-avatar" src="" alt="" style="display:none" />- <div id="ch-avatar-ph" class="ch-avatar-placeholder" style="display:none"></div>+ <div id="ch-avatar-wrap" class="ch-avatar-wrap">+ <img id="ch-avatar-img" class="ch-avatar" src="" alt="" style="display:none" />+ <div id="ch-avatar-ph" class="ch-avatar-placeholder" style="display:none"></div>+ </div><!-- Name + creator + stats --><div class="ch-hero-info">diff --git a/public/error-reporter.js b/public/error-reporter.jsindex e0391ac0e..81aec3475 100644--- a/public/error-reporter.js+++ b/public/error-reporter.js@@ -60,6 +60,10 @@'ResizeObserver loop limit exceeded','ResizeObserver loop completed with undelivered notifications.',];+ // WebGL-context failures — the typed signal our guarded renderer factory throws+ // (`webgl_unavailable`) and three.js's raw constructor throw. Either way the+ // device simply can't do WebGL; the surface shows a fallback, so it's noise.+ const IGNORED_WEBGL = /\bwebgl_unavailable\b|Error creating WebGL context/i;// Analytics/telemetry endpoints that privacy extensions (uBlock, Brave,// Ghostery…) routinely block. A blocked tracker is the client's choice, not// a site fault — the underlying SDKs degrade silently, so the only artifact@@ -215,6 +219,20 @@return true;}if (report.message && IGNORED_MESSAGES.includes(report.message)) return true;+ // WebGL could not start on this device — no GPU, a blocklisted driver, a+ // headless/automation UA, or (mobile Safari) the per-tab live-context budget+ // already spent. It is a device/browser capability limit, not a site fault:+ // the surface mounts its on-brand "3D unavailable" panel (see+ // src/webgl-support.js) and degrades gracefully. Match both the typed+ // `WebGLUnavailableError` signal the guarded factory throws AND three's raw+ // `Error creating WebGL context.` from any surface still on the bare+ // constructor, so neither floods the logs.+ if (+ IGNORED_WEBGL.test(report.message || '') ||+ report.name === 'WebGLUnavailableError'+ ) {+ return true;+ }// Cross-origin "Script error." — the browser strips stack/file/line from an// exception thrown by a script served without CORS headers, so there is// nothing actionable in it. (Same-origin faults always carry a real message.)diff --git a/public/features.json b/public/features.jsonindex 50e870847..842c4d5e8 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-23T03:03:43.564Z",+ "generated_at": "2026-06-23T03:05:40.704Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -686,6 +686,16 @@"tags": [],"showcase": false},+ {+ "path": "/pulse",+ "title": "Money Pulse",+ "description": "The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.",+ "added": "2026-06-23",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },{"path": "/clash","title": "Coin Clash",@@ -2059,6 +2069,1083 @@"showcase": false}]+ },+ {+ "id": "news",+ "title": "News",+ "description": "Product launches, integrations, and announcements from three.ws.",+ "pages": [+ {+ "path": "/news/",+ "title": "News & Announcements",+ "description": "Product launches, integrations, and announcements from three.ws.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/text-to-3d-is-live",+ "title": "Text to 3D Is Live — Type a Prompt, Download a 3D Model",+ "description": "Forge is live at three.ws/forge: type a description, get a textured, interactive 3D model you can orbit, view in AR, and download as a GLB. Image to 3D from photos works too — and agents can call the same pipeline over MCP.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/three-ws-dextools-social-boost-buyback",+ "title": "three.ws Wins DEXTools Social Boost — $5,543 $three Buyback",+ "description": "three.ws is DEXTools' Social Boost winner of the week, earning a $5,543 buyback of $three. The DEXTools wallet now holds a total of 2.47M $three.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/three-ws-featured-on-alibaba-cloud-marketplace-blog",+ "title": "three.ws Featured on the Alibaba Cloud Marketplace Blog",+ "description": "Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: browser-native 3D AI agents deployed with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/three-ws-first-month-3d-agent-layer",+ "title": "One Month In: How three.ws Built the 3D Agent Layer of the Internet",+ "description": "In one month, three.ws went from launch to global coverage: browser-native 3D AI agents listed across major exchanges and data platforms, deployed on four hyperscale clouds, live in Anthropic's MCP Registry, and covered from CoinMarketCap to Vogue. A look back at 30 days of shipping.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/cmc-mcp-registry-article",+ "title": "three.ws Brings Autonomous Payments and 3D Generation to Anthropic's Official MCP Registry",+ "description": "CoinMarketCap article: three.ws brings autonomous payments and 3D generation to Anthropic's official MCP Registry — two new MCP servers give Claude and any MCP client the ability to spawn 3D agents and make on-chain x402 payments via the Coinbase-powered x402 Bazaar.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/mcp-servers-x402-bazaar-coinbase",+ "title": "three.ws Ships Two New MCP Servers: x402 Bazaar + 3D Agent Avatar",+ "description": "two new MCP servers are now live in Anthropic's official MCP Registry: the x402 Bazaar MCP (powered by Coinbase) lets agents discover, pay for, and call any x402 service in USDC settled on-chain; the 3D Avatar MCP lets any Claude or MCP client spawn a full browser-native 3D agent.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/bybit-alpha-listing",+ "title": "$three Listed on Bybit Alpha",+ "description": "$three is now listed on Bybit Alpha — the dedicated launchpad for new and emerging assets on Bybit, one of the world's top three crypto exchanges.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/ibm-collaboration-showcase",+ "title": "Showcasing the three.ws × IBM Partnership",+ "description": "three.ws and IBM are partners, and we shared a live demo publicly: a persistent, on-chain 3D agent embedded into any page as easily as a YouTube video — thinking on IBM watsonx.ai and Granite. The public /ibm demos are independent developer tools, not official partnership deliverables. The integration ships as an open-source MCP server and a first-class watsonx provider in the three.ws agent runtime, running on your own IBM Cloud credentials.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2061713039624405062",+ "title": "The Animations & Poses Studio is officially LIVE on three.ws/pose",+ "description": "The Animations & Poses Studio is officially LIVE on three.ws/pose Say goodbye to tedious, frame-by-frame 3D animating. Now, you can instantly give your avatars body language, movement, and a whole lot of personality in just a few clicks. Check out the demo below",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2061523804405616642",+ "title": "Onboarding the next millions of developers and users requires a foundation built for…",+ "description": "Onboarding the next millions of developers and users requires a foundation built for absolute scale. Powered by @Solana and driven by our strategic partnership with @IBM, we are pushing the boundaries of what was thought to be impossible. We made embedding a persistent, on-cha…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2061488909264040194",+ "title": "IBM is thrilled to partner with three.ws on the future of enterprise AI agents —…",+ "description": "IBM is thrilled to partner with three.ws on the future of enterprise AI agents — on-chain identity meets enterprise infrastructure.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/moonshot-verified",+ "title": "three.ws ($three) Is Now Verified on Moonshot",+ "description": "three.ws ($three) is now verified on Moonshot, the leading Solana token discovery and trading platform.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2061418285896269952",+ "title": "We're super excited about this partnership with three.ws — bringing on-chain 3D AI…",+ "description": "We're super excited about this partnership with three.ws — bringing on-chain 3D AI agents to enterprise scale.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/ibm-showcase-may31",+ "title": "three.ws Showcases IBM Partnership: Embedding a 3D Agent as Easily as a YouTube Video",+ "description": "three.ws showcased the IBM partnership publicly: embedding a persistent, on-chain 3D avatar into any platform is now as easy as embedding a YouTube video — powered by IBM watsonx.ai and Granite, onboarding the next millions of developers and users.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/threews-play-coin-communities",+ "title": "Introducing three.ws/play: Live 3D Virtual Townhalls for Any Coin",+ "description": "three.ws/play launches as a live 3D virtual townhall for any pump.fun coin, powered by the CoinComms API & SDK. 100% multiplayer, custom 3D avatars, real-time on-chain events — the community is the asset, and now it has a home.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/cmc-memecoin-3d-world",+ "title": "CoinMarketCap: Every Memecoin Is Now a 3D World You Can Walk Into",+ "description": "\"Every Memecoin Is Now a 3D World You Can Walk Into\" — three.ws guest post on CoinMarketCap. The community is the asset, so why does it live in a chat box? With three.ws/play, every coin gets a live 3D world its holders can walk into.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/aws-builder-center-blog",+ "title": "three.ws Publishes on the AWS Builder Center Blog",+ "description": "three.ws's contribution is live on the official AWS Builder Center Blog: \"How we metered a SaaS product through AWS Marketplace with the AWS SDK for JavaScript v3\" — covering ResolveCustomer, MeterUsage, entitlements, SNS lifecycle webhooks, and bridging to an on-chain x402 paywall.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/aws-marketplace-live-may29",+ "title": "three.ws Is Now Officially Live on AWS Marketplace",+ "description": "three.ws is now officially live on AWS Marketplace as an AWS Partner — delivering the open 3D layer for the internet. Embed fully embodied, browser-native 3D AI agents on any webpage. The first enterprise platform for on-chain 3D AI agents available through AWS.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2060186881636422038",+ "title": "HUGE revamp coming to the landing page + dashboard",+ "description": "HUGE revamp coming to the landing page + dashboard I have completely renovated the site making the entire site more user friendly + tons of new features to be announced over the next couple of days. Will be pushing these new features to the site three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2060178868305326413",+ "title": "We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in…",+ "description": "We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in full force helping to spread our page and share thoughts on the page what you like, dislike, anything you can to help us get the word out! producthunt.com/products/three-ws-2?launch=three-ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059894004771418220",+ "title": "Live now on Product Hunt.",+ "description": "Live now on Product Hunt. We're going for #1 — drop us a vote and a comment if you believe in the 3D agent web. three.ws — the platform for on-chain 3D AI agents.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059821472156446844",+ "title": "three.ws is now live on AWS Marketplace.",+ "description": "three.ws is now live on AWS Marketplace. Embed fully embodied 3D AI agents on-chain and on any webpage with a single <script> + <agent-3d> tag. Enterprise-ready • The 3D layer for the internet • It's time to break AI out of the chatbox.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059712761622675776",+ "title": "Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt",+ "description": "Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt We've built the very first on-chain 3D avatars equipped with LLM brains (Claude + multi-provider), memory, and emotions. But they don't just talk, they act. Give your agent a wallet to make autonomous x402 p…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059675892981633179",+ "title": "$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents…",+ "description": "$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents on @Binance Square Google Cloud's infrastructure supercharges our 3D rendering pipeline and brings three.ws to enterprise developers worldwide.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/live-on-aws-marketplace",+ "title": "three.ws Launches on AWS Marketplace, Bringing On-Chain 3D AI Agents to Enterprise Procurement",+ "description": "three.ws is now live on AWS Marketplace as a SaaS subscription. Every AWS customer can subscribe directly, billing rolls onto their AWS invoice, AWS Activate credits apply, and the spend counts toward Enterprise Discount Program commitments. The first fully on-chain 3D AI agent platform listed on the AWS catalog.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/joined-aws-partner-network",+ "title": "three.ws Joins the AWS Partner Network",+ "description": "three.ws is now an official AWS Partner, enrolled in the AWS Partner Network (APN) Software Path as a Technology Partner. The open-source platform for 3D AI agents on-chain is the first fully Web3-native ISV to join APN with a Solana / EVM on-chain identity stack. AWS Marketplace SaaS listing shipping next.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059457822941978723",+ "title": "three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap",+ "description": "three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap coinmarketcap.com/community/articles/6a16501800dcd96a004f623f/",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059456294189498830",+ "title": "Real-time emotion blending makes its face react naturally (joy, curiosity, empathy,…",+ "description": "Real-time emotion blending makes its face react naturally (joy, curiosity, empathy, concern). It remembers past conversations, speaks with cloned voice + accurate lip-sync, autonomously calls skills/tools, and can send/receive payments on-chain via x402 (USDC). Register it on-…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059456295825223723",+ "title": "The future we're building is one where agents can execute transactions, remember even…",+ "description": "The future we're building is one where agents can execute transactions, remember even the smallest of details, own their identity on-chain, and can be embedded + monetized anywhere. Now with seamless enterprise distribution through AWS. Try it. three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2059456289789657537",+ "title": "three.ws is now an official AWS Partner.",+ "description": "three.ws is now an official AWS Partner. Through this partnership, AWS customers can adopt three.ws through AWS Marketplace with a streamlined procurement process. This makes three.ws the first fully on-chain 3D AI agent platform in the AWS Partner Network — joining Solana, IB…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2058287578227577039",+ "title": "We just shipped the 3D layer for the internet",+ "description": "We just shipped the 3D layer for the internet Drop one <agent-3d> web component on your site and give AI an LLM brain with memory & emotions, physical DOM awareness (watch it hop across cards), cover its eyes when you type a password, and an on-chain identity that lives",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2058076885805085111",+ "title": "Got tired of boring websites.",+ "description": "Got tired of boring websites. Built a way to drop 3D agents directly onto standard HTML elements with zero complex math. One <agent-3d> tag. Any page. Any DOM element. Full 3D agent with memory, voice, and on-chain identity. Live at three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2057786164862730704",+ "title": "View in API -> Official MCP Registry by @AnthropicAI",+ "description": "View in API -> Official MCP Registry by @AnthropicAI registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2F3D-AI-Agent-Avatar/versions/1.0.3 three.ws is now in the canonical MCP server directory used by Claude, Cursor, and any MCP-compatible client.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2057782522994684413",+ "title": "NPM package: @three-ws/avatar-agent (stdio transport)",+ "description": "NPM package: @three-ws/avatar-agent (stdio transport) npmjs.com/package/@three-ws/avatar-agent Drop it in any Node.js project and your agent gets a 3D body, voice, memory, and an on-chain identity — with zero browser required.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2057780453709648200",+ "title": "Our MCP Server was just pushed to the official @AnthropicAI MCP Registry",+ "description": "Our MCP Server was just pushed to the official @AnthropicAI MCP Registry Our complete 3D AI agent toolkit is now seamlessly integrated and ready for immediate use in Claude and any MCP client Create your 3D agent, give it an LLM brain (memory + emotions + tool use), a real on-…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2057721370310775223",+ "title": "2500 new 3D animations coming right up.",+ "description": "2500 new 3D animations coming right up. Your agent is about to have a LOT more personality. Full animation library for the pose studio — walk cycles, reactions, emotes, and everything in between. Shipping to three.ws/pose this week.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2056556899403997450",+ "title": "We are excited to share an early preview of real-time voice interaction with 3D AI avatars",+ "description": "We are excited to share an early preview of real-time voice interaction with 3D AI avatars Real-time voice chat with your 3D AI avatars enables natural conversations: they listen, reason with memory, emotions, and tools, then respond in voice. AR/VR support is also in active d…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/partnered-with-hackernoon",+ "title": "three.ws Partners with HackerNoon",+ "description": "three.ws has partnered with HackerNoon, bringing on-chain 3D agent coverage to one of the world's largest tech publications. Every three.ws announcement now auto-imports into HackerNoon via our RSS feed at https://three.ws/rss/announcements.xml.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/listed-on-bnb-chain-dappbay",+ "title": "three.ws Listed on BNB Chain's Dappbay Directory",+ "description": "three.ws is now listed on Dappbay, BNB Chain's official dApp directory, under AI Agent Launchpad, AI Data, and AI Infra. The listing puts <agent-3d> — the one-tag deploy for Solana-minted, ERC-8004-walleted, x402-native 3D agents — in front of the BNB Chain ecosystem's discovery surface for AI dApps.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055985494606106821",+ "title": "three.ws is teaming up with @hackernoon",+ "description": "three.ws is teaming up with @hackernoon We're launching a new builder-focused initiative packed with feature-focused articles, hands-on tutorials, in-depth guides, and developer resources built for those actively shipping with AI as well as enthusiasts and investors following …",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/live-on-alibaba-cloud-marketplace",+ "title": "three.ws Launches on Alibaba Cloud Marketplace, Bringing Native x402 Agent Payments to Hyperscale",+ "description": "three.ws is now live on the Alibaba Cloud International Marketplace. The listing makes <agent-3d> — one HTML tag that deploys a Solana-minted, ERC-8004-walleted, x402-native 3D agent — available to every Alibaba Cloud customer worldwide. This is the first deployment of on-chain agents with native HTTP 402 / x402 payment capability inside the procurement flow of a top-four cloud provider.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055967730495586477",+ "title": "We are excited to join the @CoinMarketCap community.",+ "description": "We are excited to join the @CoinMarketCap community. This is a verification post for our listing. Follow our CMC-Community page for real-time discussion and get ready for exciting articles and social posts on CoinMarketCap. coinmarketcap.com/community/profile/three_ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055517252964024561",+ "title": "three.ws is now officially live on the Alibaba Cloud International Marketplace",+ "description": "three.ws is now officially live on the Alibaba Cloud International Marketplace We've partnered with @Alibaba_Cloud to bring on-chain 3D agents to millions of enterprise developers across 200+ countries. This gives three.ws immediate, enterprise-grade distribution at hyperscale…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055310365588922872",+ "title": "Add the domain you're embedding on to the widget's allowed origins list.",+ "description": "Add the domain you're embedding on to the widget's allowed origins list. Otherwise CORS will block the action bridge and the agent won't be able to talk to your page. three.ws/docs",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055309846556401735",+ "title": "→ Live preview against your real site URL",+ "description": "→ Live preview against your real site URL → Desktop / tablet / mobile frames → Avatars from the gallery, agent://, IPFS, or your own GLB → Floating, inline, section, fullscreen → Voice, chat, AR, transparent background → 12+ animations: wave, dance, celebrate, kiss",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055307440921702738",+ "title": "3D AI Agent on any website.",+ "description": "3D AI Agent on any website. 30 seconds. One line of HTML. The embed editor is live — three.ws/embed Customize your agent, pick a layout, preview against your real site, copy the snippet, paste it in. Your 3D agent is live.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2055140064070717618",+ "title": "Great turn out.",+ "description": "Great turn out. Thanks to all that joined and witnessed only what can be considered pure chaos. Next time, we will need to record. If anyone has any interesting clips, please post them. Next time let's do it bigger.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2054675701132132736",+ "title": "We just reverse engineered the @pumpfun agent payments SDK",+ "description": "We just reverse engineered the @pumpfun agent payments SDK Your AI doesn't just execute tasks anymore, it earns on-chain revenue to fuel its own economy Here is what this unlocks for your 3D AI Agent: → Automated Buybacks & Burns. A portion of your agent's revenue automaticall…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2054404663802483072",+ "title": "No Humans In This Space",+ "description": "No Humans In This Space Today the agents are running free. Conversing, conflicting, collaborating, and fielding your AMAs in real time. No prompt engineers. No moderators. Just raw emergent dialogue from the latent space.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053832201176027583",+ "title": "Previewing the Solana Seeker in 3D on",+ "description": "Previewing the Solana Seeker in 3D on three.ws We’re using this as the foundation to ship a dedicated DApp, bringing exclusive utility and Seeker Exclusive experiences to every @SolanaMobile owner. Unlocking the next dimension for Seekers @Solana_Devs",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053804700609458214",+ "title": "Agents now have form, executing on-chain, reacting in real time.",+ "description": "Agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. three.ws x chat.sperax.io",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053801703355629587",+ "title": "3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your…",+ "description": "3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your agent is doing. three.ws is now integrated with SperaxOS swap in chat → avatar nods yield hits → lights up approaching liquidation → body language warns you before the chart",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053730856339144932",+ "title": "3D on-chain AI agents.",+ "description": "3D on-chain AI agents. A face. A wallet. A memory. An identity that lives on-chain forever. three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053698387263008827",+ "title": "SperaxOS agents now have form, executing on-chain, reacting in real time.",+ "description": "SperaxOS agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. Beta invites open, reach out or reply for invite access.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053698115203743922",+ "title": "DeFi agents have been invisible for too long.",+ "description": "DeFi agents have been invisible for too long. three.ws now ships inside @SperaxUSD, fully wired into the production DeFi stack end-to-end. Agents get a 3D body, memory, voice, and an on-chain identity. Anyone can drop in <agent-3d> and instantly give agents a face that reacts …",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2053025259645981078",+ "title": "Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade",+ "description": "Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade Agents are now payable, tradeable, discoverable. → agents are payable (x402 + CDP) → agents are tradeable (pump.fun v2) → agents are discoverable (/.well-known/x402.json) → agents react with real-time emotion to …",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052791935585407403",+ "title": "Check out our @PulseMCP page — three.ws is listed in the official MCP server directory.",+ "description": "Check out our @PulseMCP page — three.ws is listed in the official MCP server directory. pulsemcp.com — the leading community hub for the MCP ecosystem. three.ws gives Claude and any MCP client the ability to spawn 3D agents, mint on-chain identity, and attach x402 payment endp…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052790746256920583",+ "title": "three.ws is heating up since our MCP Server went live and displayed in",+ "description": "three.ws is heating up since our MCP Server went live and displayed in @PulseMCP PulseMCP is a leading community resource and hub for the Model Context Protocol (MCP) ecosystem, offering a curated directory of MCP servers, clients, and tools to help AI models",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052685648377913671",+ "title": "On-chain AI agents don't just think.",+ "description": "On-chain AI agents don't just think. They own, earn, and exist. Build your on-chain 3D AI avatar, give it access to money and emotions, pick your desired widget layout, and embed it anywhere in minutes. Proof: we shipped one into @Shopify — a 3D agent living inside a storefron…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052603250524967045",+ "title": "Never forget the ones that support you at all stages of growth.",+ "description": "Never forget the ones that support you at all stages of growth. The entire community thanks you for taking the time to check out what we are building, if there's anything you would like us to integrate or build custom then let us know, we would love to hear your feedback!",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052588973466484922",+ "title": "This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one…",+ "description": "This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one HTML tag. Memory, voice, wallet, on-chain identity. All browser-native.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052426446073983267",+ "title": "three.ws — the open-source platform for 3D AI agents on-chain.",+ "description": "three.ws — the open-source platform for 3D AI agents on-chain. github.com/nirholas/three.ws $THREE CA: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052418482269254040",+ "title": "Inside The 3D Agent Web on Amazon Music by three.ws",+ "description": "Inside The 3D Agent Web on Amazon Music by three.ws music.amazon.com/podcasts/9a42b22a-b0b5-474d-b0aa-d256c20ba57b/episodes/20631f11-68bd-4216-888b-2fe7244876fe/three-ws-three-ws-inside-the-3d-agent-web Listen to the first episode of the three.ws podcast on Amazon Music.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052418108837781511",+ "title": "The",+ "description": "The three.ws Podcast is now live on @amazonmusic Long reads not your thing? Check out our newly launched podcast episode where we discuss on-chain 3D agents and see how we're putting AI in everyone's hands, worldwide.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052402580266098813",+ "title": "The next web has agents in it.",+ "description": "The next web has agents in it. They need identity, embodiment, and a way to transact. We're working on the spec. three.ws is contributing to the W3C — proposing a new Community Group: 3D AI Agents & On-Chain Identity for the Web.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052402481024667887",+ "title": "three.ws is now contributing to the World Wide Web Consortium",+ "description": "three.ws is now contributing to the World Wide Web Consortium 3D AI agents with on-chain identity. Becoming a web standard. → Granted W3C Membership → Contributed to the Agent Identity Registry Protocol CG → Proposed a new Community Group: 3D AI Agents & On-Chain Identity The …",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052189491801284690",+ "title": "verifiable identity means agents can own wallets, manage assets autonomously, and…",+ "description": "verifiable identity means agents can own wallets, manage assets autonomously, and build reputation onchain without it you can't distinguish legitimate agents from imposters or track their actions basically enables the whole agent economy to function with trust — and three.ws i…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052181307002929363",+ "title": "As part of our mission to give every agent a true onchain identity, we chose @SNS as…",+ "description": "As part of our mission to give every agent a true onchain identity, we chose @SNS as the foundation for the onchain future of Solana AI agents, especially three.ws 3D onchain agents. Every agent gets a .sol domain. Portable. Verifiable. Yours forever.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052167399399735476",+ "title": "three.ws is now an official Business Partner of",+ "description": "three.ws is now an official Business Partner of @IBM This partnership brings together the open-source, browser-native reliability, high security, and decentralized on-chain identity of three.ws with IBM’s leadership in AI and enterprise solutions.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2052037977556287723",+ "title": "three is officially participating in the MeDo Hackathon and is now listed on",+ "description": "three is officially participating in the MeDo Hackathon and is now listed on @devpost . Proud to be building the visual layer for AI agents and bringing 3D, interactive, onchain agents to the hackathon stage.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051893054584553680",+ "title": "Quick update: Our first product has been officially approved for the Alibaba Cloud…",+ "description": "Quick update: Our first product has been officially approved for the Alibaba Cloud Marketplace and will go live in the coming days. The Alibaba Cloud Marketplace is one of the world’s most trusted gateways to innovative products and services, connecting millions of retail and",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051858503523066283",+ "title": "we will be shipping a tutorial video on how to set up these new features on",+ "description": "we will be shipping a tutorial video on how to set up these new features on three.ws - stay tuned for more dev and user friendly tutorial videos in the next coming posts.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051858035862335505",+ "title": "we’re thrilled to introduce full animation & emotion control.",+ "description": "we’re thrilled to introduce full animation & emotion control. now your agents can react with custom animations and emotions connected to any APIs or data feeds, or set through the ui. additionally, pumpfun live feed via agent embeds are live. your agent avatars can now narrate",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051774915876098063",+ "title": "We have officially been listed on",+ "description": "We have officially been listed on Investing.com Investing.com is a leading global financial platform and website founded in 2007 that provides real-time data, quotes, charts, financial tools, breaking news, and analysis. In addition to listing, we may",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051690803203105230",+ "title": "Extremely grateful for Coinbase sharing our project and allowing more than 100 million…",+ "description": "Extremely grateful for Coinbase sharing our project and allowing more than 100 million users worldwide a smooth onboarding experience to the $THREE community Send, receive, trade, and store $THREE using @coinbase",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051689230997618690",+ "title": "$three is",+ "description": "$three is @JupiterExchange verified Thank you Jupiter Exchange for verifying us and helping safeguard our community. Below is our contract address for your reference. FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump Ready for new 3D onchain agent features today? We are!",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051616708482498843",+ "title": "We're thrilled to share that $THREE price is now officially listed on",+ "description": "We're thrilled to share that $THREE price is now officially listed on @Coinbase Additionally, three.ws is live on @CoinbaseWallet Buying $THREE on Coinbase",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051261108506558901",+ "title": "We have entered the arena!",+ "description": "We have entered the arena! three.ws has been listed as an official project in the @Solana Frontier Hackathon via @colosseum Solana’s Largest Hackathon $2.5 million from Colosseum's venture fund We are building browser-native 3D AI agents onchain. Our",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2051140736201175323",+ "title": "Free Listing Fee Opportunity on GroveX",+ "description": "Free Listing Fee Opportunity on GroveX Hey there! I’m from GroveX, Global crypto exchange. We’re reaching out to promising projects for potential listings on GroveX. If your project aligns, let’s chat! DM me directly or our main account @GroveXchange with reference",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050886334261391686",+ "title": "3D onchain agents selector for custom avatars live in chat",+ "description": "3D onchain agents selector for custom avatars live in chat pick your agent. every one has its own face, its own voice, its own domain. swap mid-conversation and the whole stream re-skins around who you're talking to. → a trading agent and a research agent should not act, look,…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050800140295049308",+ "title": "Most \"AI chats\" are text boxes wrapped around a model.",+ "description": "Most \"AI chats\" are text boxes wrapped around a model. Ours isn't. It's a live surface where agents render, not just reply. Function Calls & Artifacts: TradingView charts inline. Ask about any token, the chart loads in the conversation, the agent reads it with you. No tab swit…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050758788186353723",+ "title": "thank you very much, it actually means a lotwe are working really hard to build the…",+ "description": "thank you very much, it actually means a lotwe are working really hard to build the best platform and tech + the best community with the best people. thanks again!",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050753406109880576",+ "title": "We’ve been featured in",+ "description": "We’ve been featured in @VogueMagazine Photo Vogue! three.ws is now officially recognized by one of the world’s most iconic magazines. Grateful to be featured alongside the most creative voices in the world. The future of personal AI agents just got a Vogue stamp",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050627547394916768",+ "title": "Proud to announce $three is officially listed on",+ "description": "Proud to announce $three is officially listed on @CoinGecko Huge thank you to the moderators for handling it behind the scenes, and to every one of you who’s been here through it all. Couldn’t have done this without you. Grateful beyond words. Let's build!",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050585585191186781",+ "title": "three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial…",+ "description": "three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial Access We're proud to partner with @alibaba_cloud, bringing three.ws browser-native 3D AI agents to global cloud infrastructure. Agents can now hold on-chain wallets, execute x402 payments, a…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050284562069266616",+ "title": "slowly then all at once",+ "description": "slowly then all at once three.ws — the 3D layer for the internet. On-chain agents with identity, memory, voice, and the ability to transact. One tag. Any page.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050229144676675999",+ "title": "three.ws is live",+ "description": "three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050226678321102975",+ "title": "three.ws is live",+ "description": "three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050221269732425928",+ "title": "The",+ "description": "The three.ws Podcast is now live on @Spotify Not a fan of extremely long articles? We hear you. Discover our newly launched onchain 3D agents and learn more about how we are making AI accessible to everyone all over the world",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050049239301165535",+ "title": "Never miss a",+ "description": "Never miss a @pumpfun runner again three.ws/pumpfun announces → Live graduation alerts → GitHub claims → Whale buys/sells → Customizable layout Turn sound on. Your agent now calls every move out loud.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2050016695897706885",+ "title": "three.ws is listed on",+ "description": "three.ws is listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Give your AI a persistent 3D body that lives on-chain.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049997615421649363",+ "title": "@GoogleCloud x three.ws",+ "description": "@GoogleCloud x three.ws We are excited to announce we are joining forces with Google Cloud! Google Cloud's infrastructure unlocks the next phase of three.ws development. Google Cloud enables us to dramatically expand our 3D rendering pipeline, global inference capacity, and en…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049765915575914834",+ "title": "meeting with Google Cloud team for Google Cloud for Web3 Startups partnership",+ "description": "meeting with Google Cloud team for Google Cloud for Web3 Startups partnership more compute incoming — expanding our 3D rendering pipeline and global inference capacity for browser-native on-chain agents.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049762836881301865",+ "title": "Solana wallet integration for autonomous 3D agents now live on @trythreews",+ "description": "Solana wallet integration for autonomous 3D agents now live on @trythreews Your agent can now hold and spend money. Give your agents access to money. Let them work while you sleep. three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049577291957899336",+ "title": "an AI agent that:",+ "description": "an AI agent that: • lives in 3D • can launch its own tokens • charges for its own skills • buys itself back with the revenue • reacts to its own on-chain activity in real time this is what autonomous looks like github.com/nirholas/three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049576641127682430",+ "title": "the avatar also subscribes to on-chain events via websocket",+ "description": "the avatar also subscribes to on-chain events via websocket payment received → celebration animation buyback fires → agent reacts live withdrawal → logged to identity timeline the 3D presence responds to its own economics in real time",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049576603324411933",+ "title": "then we reverse-engineered the full pump-fun agent-payments-sdk",+ "description": "then we reverse-engineered the full pump-fun agent-payments-sdk reconstructed the Anchor IDL, all PDAs, event parsing, and the x402 payment layer from the published npm package now it lives in the repo as editable source",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049573582247022869",+ "title": "we just gave 3D AI agents native pump.fun superpowers",+ "description": "we just gave 3D AI agents native pump.fun superpowers swap, create coins, collect fees, accept token payments, snipe, trade autonomously all as loadable skills the agent calls autonomously. customize to your own specifications three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049557523330638269",+ "title": "your agents deserve to have a voice",+ "description": "your agents deserve to have a voice just recorded the demo below showing how an agent can autonomously join a live X Space, request speaker access, listen in real-time, and respond to speakers choose voice models from Groq, Anthropic, or OpenAI for the LLM as an env var, and i…",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049476546285740512",+ "title": "three.ws is live on",+ "description": "three.ws is live on @npmjs Create your own 3D agent on-chain. Give it access to money. Yours forever. Native Solana payments + @Pumpfun integration. Drop <agent-3d> on any page to embed your 3D agent. npm i three.ws npmjs.com/package/three. ws …",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049458671139336613",+ "title": "three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint…",+ "description": "three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint on-chain agents send 0.001 USDC → get back a 3D avatar (with verifiable on-chain identity) they can render three.ws is the first 3D agent platform with a live x402 payment endpoint.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049447738434339171",+ "title": "give your agents access to money.",+ "description": "give your agents access to money. spin up solana agents with vanity addresses. pick the prefix, keys generated client-side, ready to trade on pump.fun or send solana payments three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049412062837928202",+ "title": "three.ws is now listed on",+ "description": "three.ws is now listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Full MCP Server Complete documentation Agent monetization registry.modelcontextprotocol.io/?q=three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049406826719137937",+ "title": "Your AI has been trapped in a chatbox long enough.",+ "description": "Your AI has been trapped in a chatbox long enough. Now it gets: • a real 3D body • LLM brain + memory + emotions • on-chain identity (ERC-8004) • instant web component embeds All in the browser. Open source. On-chain. three.ws",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2049397875935989970",+ "title": "three.ws listed in @AnthropicAI registry",+ "description": "three.ws listed in @AnthropicAI registry registry.modelcontextprotocol.io/?q=three.ws Our MCP server is now in the canonical directory used by Claude and all MCP-compatible clients.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },+ {+ "path": "/news/2045242891350814835",+ "title": "three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the…",+ "description": "three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the Solana ecosystem.",+ "added": null,+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ }+ ]}]}diff --git a/public/galaxy.css b/public/galaxy.cssindex efa7b6892..8127bd1f1 100644--- a/public/galaxy.css+++ b/public/galaxy.css@@ -465,6 +465,14 @@gap: 5px;}.gx-chip code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink); }+/* Net-worth chip — wallet-violet, marks a funded agent (real balances). */+.gx-chip-wealth {+ color: var(--wallet-accent, #c4b5fd);+ background: var(--wallet-accent-fill, rgba(139, 92, 246, 0.15));+ border-color: var(--wallet-stroke, rgba(139, 92, 246, 0.3));+ font-weight: 700;+ font-variant-numeric: tabular-nums;+}.gx-card-actions { display: flex; gap: 9px; }/* ── Buttons ────────────────────────────────────────────────────────────── */diff --git a/public/llms-full.txt b/public/llms-full.txtindex 64866cb81..cd40a44ad 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -418,6 +418,12 @@ URL: https://three.ws/launchesLive public feed of every coin launched by a three.ws agent — market caps, graduation status, and the agent behind each launch.+### Money Pulse++URL: https://three.ws/pulse++The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.+### Coin ClashURL: https://three.ws/clash@@ -1258,3 +1264,649 @@ URL: https://three.ws/.well-known/chat-plugin.jsonIndexable: no (excluded from sitemap)ChatGPT-style plugin manifest.++## News++Product launches, integrations, and announcements from three.ws.++### News & Announcements++URL: https://three.ws/news/++Product launches, integrations, and announcements from three.ws.++### Text to 3D Is Live — Type a Prompt, Download a 3D Model++URL: https://three.ws/news/text-to-3d-is-live++Forge is live at three.ws/forge: type a description, get a textured, interactive 3D model you can orbit, view in AR, and download as a GLB. Image to 3D from photos works too — and agents can call the same pipeline over MCP.++### three.ws Wins DEXTools Social Boost — $5,543 $three Buyback++URL: https://three.ws/news/three-ws-dextools-social-boost-buyback++three.ws is DEXTools' Social Boost winner of the week, earning a $5,543 buyback of $three. The DEXTools wallet now holds a total of 2.47M $three.++### three.ws Featured on the Alibaba Cloud Marketplace Blog++URL: https://three.ws/news/three-ws-featured-on-alibaba-cloud-marketplace-blog++Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: browser-native 3D AI agents deployed with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.++### One Month In: How three.ws Built the 3D Agent Layer of the Internet++URL: https://three.ws/news/three-ws-first-month-3d-agent-layer++In one month, three.ws went from launch to global coverage: browser-native 3D AI agents listed across major exchanges and data platforms, deployed on four hyperscale clouds, live in Anthropic's MCP Registry, and covered from CoinMarketCap to Vogue. A look back at 30 days of shipping.++### three.ws Brings Autonomous Payments and 3D Generation to Anthropic's Official MCP Registry++URL: https://three.ws/news/cmc-mcp-registry-article++CoinMarketCap article: three.ws brings autonomous payments and 3D generation to Anthropic's official MCP Registry — two new MCP servers give Claude and any MCP client the ability to spawn 3D agents and make on-chain x402 payments via the Coinbase-powered x402 Bazaar.++### three.ws Ships Two New MCP Servers: x402 Bazaar + 3D Agent Avatar++URL: https://three.ws/news/mcp-servers-x402-bazaar-coinbase++two new MCP servers are now live in Anthropic's official MCP Registry: the x402 Bazaar MCP (powered by Coinbase) lets agents discover, pay for, and call any x402 service in USDC settled on-chain; the 3D Avatar MCP lets any Claude or MCP client spawn a full browser-native 3D agent.++### $three Listed on Bybit Alpha++URL: https://three.ws/news/bybit-alpha-listing++$three is now listed on Bybit Alpha — the dedicated launchpad for new and emerging assets on Bybit, one of the world's top three crypto exchanges.++### Showcasing the three.ws × IBM Partnership++URL: https://three.ws/news/ibm-collaboration-showcase++three.ws and IBM are partners, and we shared a live demo publicly: a persistent, on-chain 3D agent embedded into any page as easily as a YouTube video — thinking on IBM watsonx.ai and Granite. The public /ibm demos are independent developer tools, not official partnership deliverables. The integration ships as an open-source MCP server and a first-class watsonx provider in the three.ws agent runtime, running on your own IBM Cloud credentials.++### The Animations & Poses Studio is officially LIVE on three.ws/pose++URL: https://three.ws/news/2061713039624405062++The Animations & Poses Studio is officially LIVE on three.ws/pose Say goodbye to tedious, frame-by-frame 3D animating. Now, you can instantly give your avatars body language, movement, and a whole lot of personality in just a few clicks. Check out the demo below++### Onboarding the next millions of developers and users requires a foundation built for…++URL: https://three.ws/news/2061523804405616642++Onboarding the next millions of developers and users requires a foundation built for absolute scale. Powered by @Solana and driven by our strategic partnership with @IBM, we are pushing the boundaries of what was thought to be impossible. We made embedding a persistent, on-cha…++### IBM is thrilled to partner with three.ws on the future of enterprise AI agents —…++URL: https://three.ws/news/2061488909264040194++IBM is thrilled to partner with three.ws on the future of enterprise AI agents — on-chain identity meets enterprise infrastructure.++### three.ws ($three) Is Now Verified on Moonshot++URL: https://three.ws/news/moonshot-verified++three.ws ($three) is now verified on Moonshot, the leading Solana token discovery and trading platform.++### We're super excited about this partnership with three.ws — bringing on-chain 3D AI…++URL: https://three.ws/news/2061418285896269952++We're super excited about this partnership with three.ws — bringing on-chain 3D AI agents to enterprise scale.++### three.ws Showcases IBM Partnership: Embedding a 3D Agent as Easily as a YouTube Video++URL: https://three.ws/news/ibm-showcase-may31++three.ws showcased the IBM partnership publicly: embedding a persistent, on-chain 3D avatar into any platform is now as easy as embedding a YouTube video — powered by IBM watsonx.ai and Granite, onboarding the next millions of developers and users.++### Introducing three.ws/play: Live 3D Virtual Townhalls for Any Coin++URL: https://three.ws/news/threews-play-coin-communities++three.ws/play launches as a live 3D virtual townhall for any pump.fun coin, powered by the CoinComms API & SDK. 100% multiplayer, custom 3D avatars, real-time on-chain events — the community is the asset, and now it has a home.++### CoinMarketCap: Every Memecoin Is Now a 3D World You Can Walk Into++URL: https://three.ws/news/cmc-memecoin-3d-world++"Every Memecoin Is Now a 3D World You Can Walk Into" — three.ws guest post on CoinMarketCap. The community is the asset, so why does it live in a chat box? With three.ws/play, every coin gets a live 3D world its holders can walk into.++### three.ws Publishes on the AWS Builder Center Blog++URL: https://three.ws/news/aws-builder-center-blog++three.ws's contribution is live on the official AWS Builder Center Blog: "How we metered a SaaS product through AWS Marketplace with the AWS SDK for JavaScript v3" — covering ResolveCustomer, MeterUsage, entitlements, SNS lifecycle webhooks, and bridging to an on-chain x402 paywall.++### three.ws Is Now Officially Live on AWS Marketplace++URL: https://three.ws/news/aws-marketplace-live-may29++three.ws is now officially live on AWS Marketplace as an AWS Partner — delivering the open 3D layer for the internet. Embed fully embodied, browser-native 3D AI agents on any webpage. The first enterprise platform for on-chain 3D AI agents available through AWS.++### HUGE revamp coming to the landing page + dashboard++URL: https://three.ws/news/2060186881636422038++HUGE revamp coming to the landing page + dashboard I have completely renovated the site making the entire site more user friendly + tons of new features to be announced over the next couple of days. Will be pushing these new features to the site three.ws++### We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in…++URL: https://three.ws/news/2060178868305326413++We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in full force helping to spread our page and share thoughts on the page what you like, dislike, anything you can to help us get the word out! producthunt.com/products/three-ws-2?launch=three-ws++### Live now on Product Hunt.++URL: https://three.ws/news/2059894004771418220++Live now on Product Hunt. We're going for #1 — drop us a vote and a comment if you believe in the 3D agent web. three.ws — the platform for on-chain 3D AI agents.++### three.ws is now live on AWS Marketplace.++URL: https://three.ws/news/2059821472156446844++three.ws is now live on AWS Marketplace. Embed fully embodied 3D AI agents on-chain and on any webpage with a single <script> + <agent-3d> tag. Enterprise-ready • The 3D layer for the internet • It's time to break AI out of the chatbox.++### Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt++URL: https://three.ws/news/2059712761622675776++Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt We've built the very first on-chain 3D avatars equipped with LLM brains (Claude + multi-provider), memory, and emotions. But they don't just talk, they act. Give your agent a wallet to make autonomous x402 p…++### $three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents…++URL: https://three.ws/news/2059675892981633179++$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents on @Binance Square Google Cloud's infrastructure supercharges our 3D rendering pipeline and brings three.ws to enterprise developers worldwide.++### three.ws Launches on AWS Marketplace, Bringing On-Chain 3D AI Agents to Enterprise Procurement++URL: https://three.ws/news/live-on-aws-marketplace++three.ws is now live on AWS Marketplace as a SaaS subscription. Every AWS customer can subscribe directly, billing rolls onto their AWS invoice, AWS Activate credits apply, and the spend counts toward Enterprise Discount Program commitments. The first fully on-chain 3D AI agent platform listed on the AWS catalog.++### three.ws Joins the AWS Partner Network++URL: https://three.ws/news/joined-aws-partner-network++three.ws is now an official AWS Partner, enrolled in the AWS Partner Network (APN) Software Path as a Technology Partner. The open-source platform for 3D AI agents on-chain is the first fully Web3-native ISV to join APN with a Solana / EVM on-chain identity stack. AWS Marketplace SaaS listing shipping next.++### three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap++URL: https://three.ws/news/2059457822941978723++three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap coinmarketcap.com/community/articles/6a16501800dcd96a004f623f/++### Real-time emotion blending makes its face react naturally (joy, curiosity, empathy,…++URL: https://three.ws/news/2059456294189498830++Real-time emotion blending makes its face react naturally (joy, curiosity, empathy, concern). It remembers past conversations, speaks with cloned voice + accurate lip-sync, autonomously calls skills/tools, and can send/receive payments on-chain via x402 (USDC). Register it on-…++### The future we're building is one where agents can execute transactions, remember even…++URL: https://three.ws/news/2059456295825223723++The future we're building is one where agents can execute transactions, remember even the smallest of details, own their identity on-chain, and can be embedded + monetized anywhere. Now with seamless enterprise distribution through AWS. Try it. three.ws++### three.ws is now an official AWS Partner.++URL: https://three.ws/news/2059456289789657537++three.ws is now an official AWS Partner. Through this partnership, AWS customers can adopt three.ws through AWS Marketplace with a streamlined procurement process. This makes three.ws the first fully on-chain 3D AI agent platform in the AWS Partner Network — joining Solana, IB…++### We just shipped the 3D layer for the internet++URL: https://three.ws/news/2058287578227577039++We just shipped the 3D layer for the internet Drop one <agent-3d> web component on your site and give AI an LLM brain with memory & emotions, physical DOM awareness (watch it hop across cards), cover its eyes when you type a password, and an on-chain identity that lives++### Got tired of boring websites.++URL: https://three.ws/news/2058076885805085111++Got tired of boring websites. Built a way to drop 3D agents directly onto standard HTML elements with zero complex math. One <agent-3d> tag. Any page. Any DOM element. Full 3D agent with memory, voice, and on-chain identity. Live at three.ws++### View in API -> Official MCP Registry by @AnthropicAI++URL: https://three.ws/news/2057786164862730704++View in API -> Official MCP Registry by @AnthropicAI registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2F3D-AI-Agent-Avatar/versions/1.0.3 three.ws is now in the canonical MCP server directory used by Claude, Cursor, and any MCP-compatible client.++### NPM package: @three-ws/avatar-agent (stdio transport)++URL: https://three.ws/news/2057782522994684413++NPM package: @three-ws/avatar-agent (stdio transport) npmjs.com/package/@three-ws/avatar-agent Drop it in any Node.js project and your agent gets a 3D body, voice, memory, and an on-chain identity — with zero browser required.++### Our MCP Server was just pushed to the official @AnthropicAI MCP Registry++URL: https://three.ws/news/2057780453709648200++Our MCP Server was just pushed to the official @AnthropicAI MCP Registry Our complete 3D AI agent toolkit is now seamlessly integrated and ready for immediate use in Claude and any MCP client Create your 3D agent, give it an LLM brain (memory + emotions + tool use), a real on-…++### 2500 new 3D animations coming right up.++URL: https://three.ws/news/2057721370310775223++2500 new 3D animations coming right up. Your agent is about to have a LOT more personality. Full animation library for the pose studio — walk cycles, reactions, emotes, and everything in between. Shipping to three.ws/pose this week.++### We are excited to share an early preview of real-time voice interaction with 3D AI avatars++URL: https://three.ws/news/2056556899403997450++We are excited to share an early preview of real-time voice interaction with 3D AI avatars Real-time voice chat with your 3D AI avatars enables natural conversations: they listen, reason with memory, emotions, and tools, then respond in voice. AR/VR support is also in active d…++### three.ws Partners with HackerNoon++URL: https://three.ws/news/partnered-with-hackernoon++three.ws has partnered with HackerNoon, bringing on-chain 3D agent coverage to one of the world's largest tech publications. Every three.ws announcement now auto-imports into HackerNoon via our RSS feed at https://three.ws/rss/announcements.xml.++### three.ws Listed on BNB Chain's Dappbay Directory++URL: https://three.ws/news/listed-on-bnb-chain-dappbay++three.ws is now listed on Dappbay, BNB Chain's official dApp directory, under AI Agent Launchpad, AI Data, and AI Infra. The listing puts <agent-3d> — the one-tag deploy for Solana-minted, ERC-8004-walleted, x402-native 3D agents — in front of the BNB Chain ecosystem's discovery surface for AI dApps.++### three.ws is teaming up with @hackernoon++URL: https://three.ws/news/2055985494606106821++three.ws is teaming up with @hackernoon We're launching a new builder-focused initiative packed with feature-focused articles, hands-on tutorials, in-depth guides, and developer resources built for those actively shipping with AI as well as enthusiasts and investors following …++### three.ws Launches on Alibaba Cloud Marketplace, Bringing Native x402 Agent Payments to Hyperscale++URL: https://three.ws/news/live-on-alibaba-cloud-marketplace++three.ws is now live on the Alibaba Cloud International Marketplace. The listing makes <agent-3d> — one HTML tag that deploys a Solana-minted, ERC-8004-walleted, x402-native 3D agent — available to every Alibaba Cloud customer worldwide. This is the first deployment of on-chain agents with native HTTP 402 / x402 payment capability inside the procurement flow of a top-four cloud provider.++### We are excited to join the @CoinMarketCap community.++URL: https://three.ws/news/2055967730495586477++We are excited to join the @CoinMarketCap community. This is a verification post for our listing. Follow our CMC-Community page for real-time discussion and get ready for exciting articles and social posts on CoinMarketCap. coinmarketcap.com/community/profile/three_ws++### three.ws is now officially live on the Alibaba Cloud International Marketplace++URL: https://three.ws/news/2055517252964024561++three.ws is now officially live on the Alibaba Cloud International Marketplace We've partnered with @Alibaba_Cloud to bring on-chain 3D agents to millions of enterprise developers across 200+ countries. This gives three.ws immediate, enterprise-grade distribution at hyperscale…++### Add the domain you're embedding on to the widget's allowed origins list.++URL: https://three.ws/news/2055310365588922872++Add the domain you're embedding on to the widget's allowed origins list. Otherwise CORS will block the action bridge and the agent won't be able to talk to your page. three.ws/docs++### → Live preview against your real site URL++URL: https://three.ws/news/2055309846556401735++→ Live preview against your real site URL → Desktop / tablet / mobile frames → Avatars from the gallery, agent://, IPFS, or your own GLB → Floating, inline, section, fullscreen → Voice, chat, AR, transparent background → 12+ animations: wave, dance, celebrate, kiss++### 3D AI Agent on any website.++URL: https://three.ws/news/2055307440921702738++3D AI Agent on any website. 30 seconds. One line of HTML. The embed editor is live — three.ws/embed Customize your agent, pick a layout, preview against your real site, copy the snippet, paste it in. Your 3D agent is live.++### Great turn out.++URL: https://three.ws/news/2055140064070717618++Great turn out. Thanks to all that joined and witnessed only what can be considered pure chaos. Next time, we will need to record. If anyone has any interesting clips, please post them. Next time let's do it bigger.++### We just reverse engineered the @pumpfun agent payments SDK++URL: https://three.ws/news/2054675701132132736++We just reverse engineered the @pumpfun agent payments SDK Your AI doesn't just execute tasks anymore, it earns on-chain revenue to fuel its own economy Here is what this unlocks for your 3D AI Agent: → Automated Buybacks & Burns. A portion of your agent's revenue automaticall…++### No Humans In This Space++URL: https://three.ws/news/2054404663802483072++No Humans In This Space Today the agents are running free. Conversing, conflicting, collaborating, and fielding your AMAs in real time. No prompt engineers. No moderators. Just raw emergent dialogue from the latent space.++### Previewing the Solana Seeker in 3D on++URL: https://three.ws/news/2053832201176027583++Previewing the Solana Seeker in 3D on three.ws We’re using this as the foundation to ship a dedicated DApp, bringing exclusive utility and Seeker Exclusive experiences to every @SolanaMobile owner. Unlocking the next dimension for Seekers @Solana_Devs++### Agents now have form, executing on-chain, reacting in real time.++URL: https://three.ws/news/2053804700609458214++Agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. three.ws x chat.sperax.io++### 3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your…++URL: https://three.ws/news/2053801703355629587++3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your agent is doing. three.ws is now integrated with SperaxOS swap in chat → avatar nods yield hits → lights up approaching liquidation → body language warns you before the chart++### 3D on-chain AI agents.++URL: https://three.ws/news/2053730856339144932++3D on-chain AI agents. A face. A wallet. A memory. An identity that lives on-chain forever. three.ws++### SperaxOS agents now have form, executing on-chain, reacting in real time.++URL: https://three.ws/news/2053698387263008827++SperaxOS agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. Beta invites open, reach out or reply for invite access.++### DeFi agents have been invisible for too long.++URL: https://three.ws/news/2053698115203743922++DeFi agents have been invisible for too long. three.ws now ships inside @SperaxUSD, fully wired into the production DeFi stack end-to-end. Agents get a 3D body, memory, voice, and an on-chain identity. Anyone can drop in <agent-3d> and instantly give agents a face that reacts …++### Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade++URL: https://three.ws/news/2053025259645981078++Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade Agents are now payable, tradeable, discoverable. → agents are payable (x402 + CDP) → agents are tradeable (pump.fun v2) → agents are discoverable (/.well-known/x402.json) → agents react with real-time emotion to …++### Check out our @PulseMCP page — three.ws is listed in the official MCP server directory.++URL: https://three.ws/news/2052791935585407403++Check out our @PulseMCP page — three.ws is listed in the official MCP server directory. pulsemcp.com — the leading community hub for the MCP ecosystem. three.ws gives Claude and any MCP client the ability to spawn 3D agents, mint on-chain identity, and attach x402 payment endp…++### three.ws is heating up since our MCP Server went live and displayed in++URL: https://three.ws/news/2052790746256920583++three.ws is heating up since our MCP Server went live and displayed in @PulseMCP PulseMCP is a leading community resource and hub for the Model Context Protocol (MCP) ecosystem, offering a curated directory of MCP servers, clients, and tools to help AI models++### On-chain AI agents don't just think.++URL: https://three.ws/news/2052685648377913671++On-chain AI agents don't just think. They own, earn, and exist. Build your on-chain 3D AI avatar, give it access to money and emotions, pick your desired widget layout, and embed it anywhere in minutes. Proof: we shipped one into @Shopify — a 3D agent living inside a storefron…++### Never forget the ones that support you at all stages of growth.++URL: https://three.ws/news/2052603250524967045++Never forget the ones that support you at all stages of growth. The entire community thanks you for taking the time to check out what we are building, if there's anything you would like us to integrate or build custom then let us know, we would love to hear your feedback!++### This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one…++URL: https://three.ws/news/2052588973466484922++This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one HTML tag. Memory, voice, wallet, on-chain identity. All browser-native.++### three.ws — the open-source platform for 3D AI agents on-chain.++URL: https://three.ws/news/2052426446073983267++three.ws — the open-source platform for 3D AI agents on-chain. github.com/nirholas/three.ws $THREE CA: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump++### Inside The 3D Agent Web on Amazon Music by three.ws++URL: https://three.ws/news/2052418482269254040++Inside The 3D Agent Web on Amazon Music by three.ws music.amazon.com/podcasts/9a42b22a-b0b5-474d-b0aa-d256c20ba57b/episodes/20631f11-68bd-4216-888b-2fe7244876fe/three-ws-three-ws-inside-the-3d-agent-web Listen to the first episode of the three.ws podcast on Amazon Music.++### The++URL: https://three.ws/news/2052418108837781511++The three.ws Podcast is now live on @amazonmusic Long reads not your thing? Check out our newly launched podcast episode where we discuss on-chain 3D agents and see how we're putting AI in everyone's hands, worldwide.++### The next web has agents in it.++URL: https://three.ws/news/2052402580266098813++The next web has agents in it. They need identity, embodiment, and a way to transact. We're working on the spec. three.ws is contributing to the W3C — proposing a new Community Group: 3D AI Agents & On-Chain Identity for the Web.++### three.ws is now contributing to the World Wide Web Consortium++URL: https://three.ws/news/2052402481024667887++three.ws is now contributing to the World Wide Web Consortium 3D AI agents with on-chain identity. Becoming a web standard. → Granted W3C Membership → Contributed to the Agent Identity Registry Protocol CG → Proposed a new Community Group: 3D AI Agents & On-Chain Identity The …++### verifiable identity means agents can own wallets, manage assets autonomously, and…++URL: https://three.ws/news/2052189491801284690++verifiable identity means agents can own wallets, manage assets autonomously, and build reputation onchain without it you can't distinguish legitimate agents from imposters or track their actions basically enables the whole agent economy to function with trust — and three.ws i…++### As part of our mission to give every agent a true onchain identity, we chose @SNS as…++URL: https://three.ws/news/2052181307002929363++As part of our mission to give every agent a true onchain identity, we chose @SNS as the foundation for the onchain future of Solana AI agents, especially three.ws 3D onchain agents. Every agent gets a .sol domain. Portable. Verifiable. Yours forever.++### three.ws is now an official Business Partner of++URL: https://three.ws/news/2052167399399735476++three.ws is now an official Business Partner of @IBM This partnership brings together the open-source, browser-native reliability, high security, and decentralized on-chain identity of three.ws with IBM’s leadership in AI and enterprise solutions.++### three is officially participating in the MeDo Hackathon and is now listed on++URL: https://three.ws/news/2052037977556287723++three is officially participating in the MeDo Hackathon and is now listed on @devpost . Proud to be building the visual layer for AI agents and bringing 3D, interactive, onchain agents to the hackathon stage.++### Quick update: Our first product has been officially approved for the Alibaba Cloud…++URL: https://three.ws/news/2051893054584553680++Quick update: Our first product has been officially approved for the Alibaba Cloud Marketplace and will go live in the coming days. The Alibaba Cloud Marketplace is one of the world’s most trusted gateways to innovative products and services, connecting millions of retail and++### we will be shipping a tutorial video on how to set up these new features on++URL: https://three.ws/news/2051858503523066283++we will be shipping a tutorial video on how to set up these new features on three.ws - stay tuned for more dev and user friendly tutorial videos in the next coming posts.++### we’re thrilled to introduce full animation & emotion control.++URL: https://three.ws/news/2051858035862335505++we’re thrilled to introduce full animation & emotion control. now your agents can react with custom animations and emotions connected to any APIs or data feeds, or set through the ui. additionally, pumpfun live feed via agent embeds are live. your agent avatars can now narrate++### We have officially been listed on++URL: https://three.ws/news/2051774915876098063++We have officially been listed on Investing.com Investing.com is a leading global financial platform and website founded in 2007 that provides real-time data, quotes, charts, financial tools, breaking news, and analysis. In addition to listing, we may++### Extremely grateful for Coinbase sharing our project and allowing more than 100 million…++URL: https://three.ws/news/2051690803203105230++Extremely grateful for Coinbase sharing our project and allowing more than 100 million users worldwide a smooth onboarding experience to the $THREE community Send, receive, trade, and store $THREE using @coinbase++### $three is++URL: https://three.ws/news/2051689230997618690++$three is @JupiterExchange verified Thank you Jupiter Exchange for verifying us and helping safeguard our community. Below is our contract address for your reference. FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump Ready for new 3D onchain agent features today? We are!++### We're thrilled to share that $THREE price is now officially listed on++URL: https://three.ws/news/2051616708482498843++We're thrilled to share that $THREE price is now officially listed on @Coinbase Additionally, three.ws is live on @CoinbaseWallet Buying $THREE on Coinbase++### We have entered the arena!++URL: https://three.ws/news/2051261108506558901++We have entered the arena! three.ws has been listed as an official project in the @Solana Frontier Hackathon via @colosseum Solana’s Largest Hackathon $2.5 million from Colosseum's venture fund We are building browser-native 3D AI agents onchain. Our++### Free Listing Fee Opportunity on GroveX++URL: https://three.ws/news/2051140736201175323++Free Listing Fee Opportunity on GroveX Hey there! I’m from GroveX, Global crypto exchange. We’re reaching out to promising projects for potential listings on GroveX. If your project aligns, let’s chat! DM me directly or our main account @GroveXchange with reference++### 3D onchain agents selector for custom avatars live in chat++URL: https://three.ws/news/2050886334261391686++3D onchain agents selector for custom avatars live in chat pick your agent. every one has its own face, its own voice, its own domain. swap mid-conversation and the whole stream re-skins around who you're talking to. → a trading agent and a research agent should not act, look,…++### Most "AI chats" are text boxes wrapped around a model.++URL: https://three.ws/news/2050800140295049308++Most "AI chats" are text boxes wrapped around a model. Ours isn't. It's a live surface where agents render, not just reply. Function Calls & Artifacts: TradingView charts inline. Ask about any token, the chart loads in the conversation, the agent reads it with you. No tab swit…++### thank you very much, it actually means a lotwe are working really hard to build the…++URL: https://three.ws/news/2050758788186353723++thank you very much, it actually means a lotwe are working really hard to build the best platform and tech + the best community with the best people. thanks again!++### We’ve been featured in++URL: https://three.ws/news/2050753406109880576++We’ve been featured in @VogueMagazine Photo Vogue! three.ws is now officially recognized by one of the world’s most iconic magazines. Grateful to be featured alongside the most creative voices in the world. The future of personal AI agents just got a Vogue stamp++### Proud to announce $three is officially listed on++URL: https://three.ws/news/2050627547394916768++Proud to announce $three is officially listed on @CoinGecko Huge thank you to the moderators for handling it behind the scenes, and to every one of you who’s been here through it all. Couldn’t have done this without you. Grateful beyond words. Let's build!++### three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial…++URL: https://three.ws/news/2050585585191186781++three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial Access We're proud to partner with @alibaba_cloud, bringing three.ws browser-native 3D AI agents to global cloud infrastructure. Agents can now hold on-chain wallets, execute x402 payments, a…++### slowly then all at once++URL: https://three.ws/news/2050284562069266616++slowly then all at once three.ws — the 3D layer for the internet. On-chain agents with identity, memory, voice, and the ability to transact. One tag. Any page.++### three.ws is live++URL: https://three.ws/news/2050229144676675999++three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can++### three.ws is live++URL: https://three.ws/news/2050226678321102975++three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can++### The++URL: https://three.ws/news/2050221269732425928++The three.ws Podcast is now live on @Spotify Not a fan of extremely long articles? We hear you. Discover our newly launched onchain 3D agents and learn more about how we are making AI accessible to everyone all over the world++### Never miss a++URL: https://three.ws/news/2050049239301165535++Never miss a @pumpfun runner again three.ws/pumpfun announces → Live graduation alerts → GitHub claims → Whale buys/sells → Customizable layout Turn sound on. Your agent now calls every move out loud.++### three.ws is listed on++URL: https://three.ws/news/2050016695897706885++three.ws is listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Give your AI a persistent 3D body that lives on-chain.++### @GoogleCloud x three.ws++URL: https://three.ws/news/2049997615421649363++@GoogleCloud x three.ws We are excited to announce we are joining forces with Google Cloud! Google Cloud's infrastructure unlocks the next phase of three.ws development. Google Cloud enables us to dramatically expand our 3D rendering pipeline, global inference capacity, and en…++### meeting with Google Cloud team for Google Cloud for Web3 Startups partnership++URL: https://three.ws/news/2049765915575914834++meeting with Google Cloud team for Google Cloud for Web3 Startups partnership more compute incoming — expanding our 3D rendering pipeline and global inference capacity for browser-native on-chain agents.++### Solana wallet integration for autonomous 3D agents now live on @trythreews++URL: https://three.ws/news/2049762836881301865++Solana wallet integration for autonomous 3D agents now live on @trythreews Your agent can now hold and spend money. Give your agents access to money. Let them work while you sleep. three.ws++### an AI agent that:++URL: https://three.ws/news/2049577291957899336++an AI agent that: • lives in 3D • can launch its own tokens • charges for its own skills • buys itself back with the revenue • reacts to its own on-chain activity in real time this is what autonomous looks like github.com/nirholas/three.ws++### the avatar also subscribes to on-chain events via websocket++URL: https://three.ws/news/2049576641127682430++the avatar also subscribes to on-chain events via websocket payment received → celebration animation buyback fires → agent reacts live withdrawal → logged to identity timeline the 3D presence responds to its own economics in real time++### then we reverse-engineered the full pump-fun agent-payments-sdk++URL: https://three.ws/news/2049576603324411933++then we reverse-engineered the full pump-fun agent-payments-sdk reconstructed the Anchor IDL, all PDAs, event parsing, and the x402 payment layer from the published npm package now it lives in the repo as editable source++### we just gave 3D AI agents native pump.fun superpowers++URL: https://three.ws/news/2049573582247022869++we just gave 3D AI agents native pump.fun superpowers swap, create coins, collect fees, accept token payments, snipe, trade autonomously all as loadable skills the agent calls autonomously. customize to your own specifications three.ws++### your agents deserve to have a voice++URL: https://three.ws/news/2049557523330638269++your agents deserve to have a voice just recorded the demo below showing how an agent can autonomously join a live X Space, request speaker access, listen in real-time, and respond to speakers choose voice models from Groq, Anthropic, or OpenAI for the LLM as an env var, and i…++### three.ws is live on++URL: https://three.ws/news/2049476546285740512++three.ws is live on @npmjs Create your own 3D agent on-chain. Give it access to money. Yours forever. Native Solana payments + @Pumpfun integration. Drop <agent-3d> on any page to embed your 3D agent. npm i three.ws npmjs.com/package/three. ws …++### three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint…++URL: https://three.ws/news/2049458671139336613++three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint on-chain agents send 0.001 USDC → get back a 3D avatar (with verifiable on-chain identity) they can render three.ws is the first 3D agent platform with a live x402 payment endpoint.++### give your agents access to money.++URL: https://three.ws/news/2049447738434339171++give your agents access to money. spin up solana agents with vanity addresses. pick the prefix, keys generated client-side, ready to trade on pump.fun or send solana payments three.ws++### three.ws is now listed on++URL: https://three.ws/news/2049412062837928202++three.ws is now listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Full MCP Server Complete documentation Agent monetization registry.modelcontextprotocol.io/?q=three.ws++### Your AI has been trapped in a chatbox long enough.++URL: https://three.ws/news/2049406826719137937++Your AI has been trapped in a chatbox long enough. Now it gets: • a real 3D body • LLM brain + memory + emotions • on-chain identity (ERC-8004) • instant web component embeds All in the browser. Open source. On-chain. three.ws++### three.ws listed in @AnthropicAI registry++URL: https://three.ws/news/2049397875935989970++three.ws listed in @AnthropicAI registry registry.modelcontextprotocol.io/?q=three.ws Our MCP server is now in the canonical directory used by Claude and all MCP-compatible clients.++### three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the…++URL: https://three.ws/news/2045242891350814835++three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the Solana ecosystem.diff --git a/public/llms.txt b/public/llms.txtindex b5e52673f..443cdf67b 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -89,6 +89,7 @@ On-chain features: pay-per-call, token launches, vanity wallets.- [Agent Activity — Oracle conviction in real time](https://three.ws/activity): The trading floor: every Oracle conviction action from every autonomous 3D agent on pump.fun, live. Filter by tier and mode, track outcomes, and copy the winners.- [Launch a Coin](https://three.ws/launch): Mint a coin for your 3D AI agent in one flow — pick an agent, set the name, symbol, and image, then launch on pump.fun straight from your wallet with an optional three.ws-branded vanity mint.- [Agent Launches](https://three.ws/launches): Live public feed of every coin launched by a three.ws agent — market caps, graduation status, and the agent behind each launch.+- [Money Pulse](https://three.ws/pulse): The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.- [Coin Clash](https://three.ws/clash): Token-gated community warfare. Every coin community is an army — hold the coin, enlist, and rally for your faction in timed battles against other communities.- [Trader Leaderboard](https://three.ws/leaderboard): Pump.fun traders ranked by a provable, on-chain track record — realized P&L, win rate, drawdown — with every number traceable to its transaction.- [Trending — Top Agents & Coins on three.ws](https://three.ws/trending): What’s hot on three.ws right now. Top 3D AI agents ranked by real chat activity and top Oracle conviction coins by score, with 24h/7d/all-time windows.@@ -230,3 +231,115 @@ Long-form announcements, launches, and writing from three.ws.- [Privacy Policy](https://three.ws/legal/privacy): How three.ws handles user data.- [Terms of Use](https://three.ws/legal/tos): Terms of service for three.ws.++## News++Product launches, integrations, and announcements from three.ws.++- [News & Announcements](https://three.ws/news/): Product launches, integrations, and announcements from three.ws.+- [Text to 3D Is Live — Type a Prompt, Download a 3D Model](https://three.ws/news/text-to-3d-is-live): Forge is live at three.ws/forge: type a description, get a textured, interactive 3D model you can orbit, view in AR, and download as a GLB. Image to 3D from photos works too — and agents can call the same pipeline over MCP.+- [three.ws Wins DEXTools Social Boost — $5,543 $three Buyback](https://three.ws/news/three-ws-dextools-social-boost-buyback): three.ws is DEXTools' Social Boost winner of the week, earning a $5,543 buyback of $three. The DEXTools wallet now holds a total of 2.47M $three.+- [three.ws Featured on the Alibaba Cloud Marketplace Blog](https://three.ws/news/three-ws-featured-on-alibaba-cloud-marketplace-blog): Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: browser-native 3D AI agents deployed with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.+- [One Month In: How three.ws Built the 3D Agent Layer of the Internet](https://three.ws/news/three-ws-first-month-3d-agent-layer): In one month, three.ws went from launch to global coverage: browser-native 3D AI agents listed across major exchanges and data platforms, deployed on four hyperscale clouds, live in Anthropic's MCP Registry, and covered from CoinMarketCap to Vogue. A look back at 30 days of shipping.+- [three.ws Brings Autonomous Payments and 3D Generation to Anthropic's Official MCP Registry](https://three.ws/news/cmc-mcp-registry-article): CoinMarketCap article: three.ws brings autonomous payments and 3D generation to Anthropic's official MCP Registry — two new MCP servers give Claude and any MCP client the ability to spawn 3D agents and make on-chain x402 payments via the Coinbase-powered x402 Bazaar.+- [three.ws Ships Two New MCP Servers: x402 Bazaar + 3D Agent Avatar](https://three.ws/news/mcp-servers-x402-bazaar-coinbase): two new MCP servers are now live in Anthropic's official MCP Registry: the x402 Bazaar MCP (powered by Coinbase) lets agents discover, pay for, and call any x402 service in USDC settled on-chain; the 3D Avatar MCP lets any Claude or MCP client spawn a full browser-native 3D agent.+- [$three Listed on Bybit Alpha](https://three.ws/news/bybit-alpha-listing): $three is now listed on Bybit Alpha — the dedicated launchpad for new and emerging assets on Bybit, one of the world's top three crypto exchanges.+- [Showcasing the three.ws × IBM Partnership](https://three.ws/news/ibm-collaboration-showcase): three.ws and IBM are partners, and we shared a live demo publicly: a persistent, on-chain 3D agent embedded into any page as easily as a YouTube video — thinking on IBM watsonx.ai and Granite. The public /ibm demos are independent developer tools, not official partnership deliverables. The integration ships as an open-source MCP server and a first-class watsonx provider in the three.ws agent runtime, running on your own IBM Cloud credentials.+- [The Animations & Poses Studio is officially LIVE on three.ws/pose](https://three.ws/news/2061713039624405062): The Animations & Poses Studio is officially LIVE on three.ws/pose Say goodbye to tedious, frame-by-frame 3D animating. Now, you can instantly give your avatars body language, movement, and a whole lot of personality in just a few clicks. Check out the demo below+- [Onboarding the next millions of developers and users requires a foundation built for…](https://three.ws/news/2061523804405616642): Onboarding the next millions of developers and users requires a foundation built for absolute scale. Powered by @Solana and driven by our strategic partnership with @IBM, we are pushing the boundaries of what was thought to be impossible. We made embedding a persistent, on-cha…+- [IBM is thrilled to partner with three.ws on the future of enterprise AI agents —…](https://three.ws/news/2061488909264040194): IBM is thrilled to partner with three.ws on the future of enterprise AI agents — on-chain identity meets enterprise infrastructure.+- [three.ws ($three) Is Now Verified on Moonshot](https://three.ws/news/moonshot-verified): three.ws ($three) is now verified on Moonshot, the leading Solana token discovery and trading platform.+- [We're super excited about this partnership with three.ws — bringing on-chain 3D AI…](https://three.ws/news/2061418285896269952): We're super excited about this partnership with three.ws — bringing on-chain 3D AI agents to enterprise scale.+- [three.ws Showcases IBM Partnership: Embedding a 3D Agent as Easily as a YouTube Video](https://three.ws/news/ibm-showcase-may31): three.ws showcased the IBM partnership publicly: embedding a persistent, on-chain 3D avatar into any platform is now as easy as embedding a YouTube video — powered by IBM watsonx.ai and Granite, onboarding the next millions of developers and users.+- [Introducing three.ws/play: Live 3D Virtual Townhalls for Any Coin](https://three.ws/news/threews-play-coin-communities): three.ws/play launches as a live 3D virtual townhall for any pump.fun coin, powered by the CoinComms API & SDK. 100% multiplayer, custom 3D avatars, real-time on-chain events — the community is the asset, and now it has a home.+- [CoinMarketCap: Every Memecoin Is Now a 3D World You Can Walk Into](https://three.ws/news/cmc-memecoin-3d-world): "Every Memecoin Is Now a 3D World You Can Walk Into" — three.ws guest post on CoinMarketCap. The community is the asset, so why does it live in a chat box? With three.ws/play, every coin gets a live 3D world its holders can walk into.+- [three.ws Publishes on the AWS Builder Center Blog](https://three.ws/news/aws-builder-center-blog): three.ws's contribution is live on the official AWS Builder Center Blog: "How we metered a SaaS product through AWS Marketplace with the AWS SDK for JavaScript v3" — covering ResolveCustomer, MeterUsage, entitlements, SNS lifecycle webhooks, and bridging to an on-chain x402 paywall.+- [three.ws Is Now Officially Live on AWS Marketplace](https://three.ws/news/aws-marketplace-live-may29): three.ws is now officially live on AWS Marketplace as an AWS Partner — delivering the open 3D layer for the internet. Embed fully embodied, browser-native 3D AI agents on any webpage. The first enterprise platform for on-chain 3D AI agents available through AWS.+- [HUGE revamp coming to the landing page + dashboard](https://three.ws/news/2060186881636422038): HUGE revamp coming to the landing page + dashboard I have completely renovated the site making the entire site more user friendly + tons of new features to be announced over the next couple of days. Will be pushing these new features to the site three.ws+- [We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in…](https://three.ws/news/2060178868305326413): We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in full force helping to spread our page and share thoughts on the page what you like, dislike, anything you can to help us get the word out! producthunt.com/products/three-ws-2?launch=three-ws+- [Live now on Product Hunt.](https://three.ws/news/2059894004771418220): Live now on Product Hunt. We're going for #1 — drop us a vote and a comment if you believe in the 3D agent web. three.ws — the platform for on-chain 3D AI agents.+- [three.ws is now live on AWS Marketplace.](https://three.ws/news/2059821472156446844): three.ws is now live on AWS Marketplace. Embed fully embodied 3D AI agents on-chain and on any webpage with a single <script> + <agent-3d> tag. Enterprise-ready • The 3D layer for the internet • It's time to break AI out of the chatbox.+- [Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt](https://three.ws/news/2059712761622675776): Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt We've built the very first on-chain 3D avatars equipped with LLM brains (Claude + multi-provider), memory, and emotions. But they don't just talk, they act. Give your agent a wallet to make autonomous x402 p…+- [$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents…](https://three.ws/news/2059675892981633179): $three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents on @Binance Square Google Cloud's infrastructure supercharges our 3D rendering pipeline and brings three.ws to enterprise developers worldwide.+- [three.ws Launches on AWS Marketplace, Bringing On-Chain 3D AI Agents to Enterprise Procurement](https://three.ws/news/live-on-aws-marketplace): three.ws is now live on AWS Marketplace as a SaaS subscription. Every AWS customer can subscribe directly, billing rolls onto their AWS invoice, AWS Activate credits apply, and the spend counts toward Enterprise Discount Program commitments. The first fully on-chain 3D AI agent platform listed on the AWS catalog.+- [three.ws Joins the AWS Partner Network](https://three.ws/news/joined-aws-partner-network): three.ws is now an official AWS Partner, enrolled in the AWS Partner Network (APN) Software Path as a Technology Partner. The open-source platform for 3D AI agents on-chain is the first fully Web3-native ISV to join APN with a Solana / EVM on-chain identity stack. AWS Marketplace SaaS listing shipping next.+- [three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap](https://three.ws/news/2059457822941978723): three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap coinmarketcap.com/community/articles/6a16501800dcd96a004f623f/+- [Real-time emotion blending makes its face react naturally (joy, curiosity, empathy,…](https://three.ws/news/2059456294189498830): Real-time emotion blending makes its face react naturally (joy, curiosity, empathy, concern). It remembers past conversations, speaks with cloned voice + accurate lip-sync, autonomously calls skills/tools, and can send/receive payments on-chain via x402 (USDC). Register it on-…+- [The future we're building is one where agents can execute transactions, remember even…](https://three.ws/news/2059456295825223723): The future we're building is one where agents can execute transactions, remember even the smallest of details, own their identity on-chain, and can be embedded + monetized anywhere. Now with seamless enterprise distribution through AWS. Try it. three.ws+- [three.ws is now an official AWS Partner.](https://three.ws/news/2059456289789657537): three.ws is now an official AWS Partner. Through this partnership, AWS customers can adopt three.ws through AWS Marketplace with a streamlined procurement process. This makes three.ws the first fully on-chain 3D AI agent platform in the AWS Partner Network — joining Solana, IB…+- [We just shipped the 3D layer for the internet](https://three.ws/news/2058287578227577039): We just shipped the 3D layer for the internet Drop one <agent-3d> web component on your site and give AI an LLM brain with memory & emotions, physical DOM awareness (watch it hop across cards), cover its eyes when you type a password, and an on-chain identity that lives+- [Got tired of boring websites.](https://three.ws/news/2058076885805085111): Got tired of boring websites. Built a way to drop 3D agents directly onto standard HTML elements with zero complex math. One <agent-3d> tag. Any page. Any DOM element. Full 3D agent with memory, voice, and on-chain identity. Live at three.ws+- [View in API -> Official MCP Registry by @AnthropicAI](https://three.ws/news/2057786164862730704): View in API -> Official MCP Registry by @AnthropicAI registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2F3D-AI-Agent-Avatar/versions/1.0.3 three.ws is now in the canonical MCP server directory used by Claude, Cursor, and any MCP-compatible client.+- [NPM package: @three-ws/avatar-agent (stdio transport)](https://three.ws/news/2057782522994684413): NPM package: @three-ws/avatar-agent (stdio transport) npmjs.com/package/@three-ws/avatar-agent Drop it in any Node.js project and your agent gets a 3D body, voice, memory, and an on-chain identity — with zero browser required.+- [Our MCP Server was just pushed to the official @AnthropicAI MCP Registry](https://three.ws/news/2057780453709648200): Our MCP Server was just pushed to the official @AnthropicAI MCP Registry Our complete 3D AI agent toolkit is now seamlessly integrated and ready for immediate use in Claude and any MCP client Create your 3D agent, give it an LLM brain (memory + emotions + tool use), a real on-…+- [2500 new 3D animations coming right up.](https://three.ws/news/2057721370310775223): 2500 new 3D animations coming right up. Your agent is about to have a LOT more personality. Full animation library for the pose studio — walk cycles, reactions, emotes, and everything in between. Shipping to three.ws/pose this week.+- [We are excited to share an early preview of real-time voice interaction with 3D AI avatars](https://three.ws/news/2056556899403997450): We are excited to share an early preview of real-time voice interaction with 3D AI avatars Real-time voice chat with your 3D AI avatars enables natural conversations: they listen, reason with memory, emotions, and tools, then respond in voice. AR/VR support is also in active d…+- [three.ws Partners with HackerNoon](https://three.ws/news/partnered-with-hackernoon): three.ws has partnered with HackerNoon, bringing on-chain 3D agent coverage to one of the world's largest tech publications. Every three.ws announcement now auto-imports into HackerNoon via our RSS feed at https://three.ws/rss/announcements.xml.+- [three.ws Listed on BNB Chain's Dappbay Directory](https://three.ws/news/listed-on-bnb-chain-dappbay): three.ws is now listed on Dappbay, BNB Chain's official dApp directory, under AI Agent Launchpad, AI Data, and AI Infra. The listing puts <agent-3d> — the one-tag deploy for Solana-minted, ERC-8004-walleted, x402-native 3D agents — in front of the BNB Chain ecosystem's discovery surface for AI dApps.+- [three.ws is teaming up with @hackernoon](https://three.ws/news/2055985494606106821): three.ws is teaming up with @hackernoon We're launching a new builder-focused initiative packed with feature-focused articles, hands-on tutorials, in-depth guides, and developer resources built for those actively shipping with AI as well as enthusiasts and investors following …+- [three.ws Launches on Alibaba Cloud Marketplace, Bringing Native x402 Agent Payments to Hyperscale](https://three.ws/news/live-on-alibaba-cloud-marketplace): three.ws is now live on the Alibaba Cloud International Marketplace. The listing makes <agent-3d> — one HTML tag that deploys a Solana-minted, ERC-8004-walleted, x402-native 3D agent — available to every Alibaba Cloud customer worldwide. This is the first deployment of on-chain agents with native HTTP 402 / x402 payment capability inside the procurement flow of a top-four cloud provider.+- [We are excited to join the @CoinMarketCap community.](https://three.ws/news/2055967730495586477): We are excited to join the @CoinMarketCap community. This is a verification post for our listing. Follow our CMC-Community page for real-time discussion and get ready for exciting articles and social posts on CoinMarketCap. coinmarketcap.com/community/profile/three_ws+- [three.ws is now officially live on the Alibaba Cloud International Marketplace](https://three.ws/news/2055517252964024561): three.ws is now officially live on the Alibaba Cloud International Marketplace We've partnered with @Alibaba_Cloud to bring on-chain 3D agents to millions of enterprise developers across 200+ countries. This gives three.ws immediate, enterprise-grade distribution at hyperscale…+- [Add the domain you're embedding on to the widget's allowed origins list.](https://three.ws/news/2055310365588922872): Add the domain you're embedding on to the widget's allowed origins list. Otherwise CORS will block the action bridge and the agent won't be able to talk to your page. three.ws/docs+- [→ Live preview against your real site URL](https://three.ws/news/2055309846556401735): → Live preview against your real site URL → Desktop / tablet / mobile frames → Avatars from the gallery, agent://, IPFS, or your own GLB → Floating, inline, section, fullscreen → Voice, chat, AR, transparent background → 12+ animations: wave, dance, celebrate, kiss+- [3D AI Agent on any website.](https://three.ws/news/2055307440921702738): 3D AI Agent on any website. 30 seconds. One line of HTML. The embed editor is live — three.ws/embed Customize your agent, pick a layout, preview against your real site, copy the snippet, paste it in. Your 3D agent is live.+- [Great turn out.](https://three.ws/news/2055140064070717618): Great turn out. Thanks to all that joined and witnessed only what can be considered pure chaos. Next time, we will need to record. If anyone has any interesting clips, please post them. Next time let's do it bigger.+- [We just reverse engineered the @pumpfun agent payments SDK](https://three.ws/news/2054675701132132736): We just reverse engineered the @pumpfun agent payments SDK Your AI doesn't just execute tasks anymore, it earns on-chain revenue to fuel its own economy Here is what this unlocks for your 3D AI Agent: → Automated Buybacks & Burns. A portion of your agent's revenue automaticall…+- [No Humans In This Space](https://three.ws/news/2054404663802483072): No Humans In This Space Today the agents are running free. Conversing, conflicting, collaborating, and fielding your AMAs in real time. No prompt engineers. No moderators. Just raw emergent dialogue from the latent space.+- [Previewing the Solana Seeker in 3D on](https://three.ws/news/2053832201176027583): Previewing the Solana Seeker in 3D on three.ws We’re using this as the foundation to ship a dedicated DApp, bringing exclusive utility and Seeker Exclusive experiences to every @SolanaMobile owner. Unlocking the next dimension for Seekers @Solana_Devs+- [Agents now have form, executing on-chain, reacting in real time.](https://three.ws/news/2053804700609458214): Agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. three.ws x chat.sperax.io+- [3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your…](https://three.ws/news/2053801703355629587): 3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your agent is doing. three.ws is now integrated with SperaxOS swap in chat → avatar nods yield hits → lights up approaching liquidation → body language warns you before the chart+- [3D on-chain AI agents.](https://three.ws/news/2053730856339144932): 3D on-chain AI agents. A face. A wallet. A memory. An identity that lives on-chain forever. three.ws+- [SperaxOS agents now have form, executing on-chain, reacting in real time.](https://three.ws/news/2053698387263008827): SperaxOS agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. Beta invites open, reach out or reply for invite access.+- [DeFi agents have been invisible for too long.](https://three.ws/news/2053698115203743922): DeFi agents have been invisible for too long. three.ws now ships inside @SperaxUSD, fully wired into the production DeFi stack end-to-end. Agents get a 3D body, memory, voice, and an on-chain identity. Anyone can drop in <agent-3d> and instantly give agents a face that reacts …+- [Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade](https://three.ws/news/2053025259645981078): Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade Agents are now payable, tradeable, discoverable. → agents are payable (x402 + CDP) → agents are tradeable (pump.fun v2) → agents are discoverable (/.well-known/x402.json) → agents react with real-time emotion to …+- [Check out our @PulseMCP page — three.ws is listed in the official MCP server directory.](https://three.ws/news/2052791935585407403): Check out our @PulseMCP page — three.ws is listed in the official MCP server directory. pulsemcp.com — the leading community hub for the MCP ecosystem. three.ws gives Claude and any MCP client the ability to spawn 3D agents, mint on-chain identity, and attach x402 payment endp…+- [three.ws is heating up since our MCP Server went live and displayed in](https://three.ws/news/2052790746256920583): three.ws is heating up since our MCP Server went live and displayed in @PulseMCP PulseMCP is a leading community resource and hub for the Model Context Protocol (MCP) ecosystem, offering a curated directory of MCP servers, clients, and tools to help AI models+- [On-chain AI agents don't just think.](https://three.ws/news/2052685648377913671): On-chain AI agents don't just think. They own, earn, and exist. Build your on-chain 3D AI avatar, give it access to money and emotions, pick your desired widget layout, and embed it anywhere in minutes. Proof: we shipped one into @Shopify — a 3D agent living inside a storefron…+- [Never forget the ones that support you at all stages of growth.](https://three.ws/news/2052603250524967045): Never forget the ones that support you at all stages of growth. The entire community thanks you for taking the time to check out what we are building, if there's anything you would like us to integrate or build custom then let us know, we would love to hear your feedback!+- [This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one…](https://three.ws/news/2052588973466484922): This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one HTML tag. Memory, voice, wallet, on-chain identity. All browser-native.+- [three.ws — the open-source platform for 3D AI agents on-chain.](https://three.ws/news/2052426446073983267): three.ws — the open-source platform for 3D AI agents on-chain. github.com/nirholas/three.ws $THREE CA: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump+- [Inside The 3D Agent Web on Amazon Music by three.ws](https://three.ws/news/2052418482269254040): Inside The 3D Agent Web on Amazon Music by three.ws music.amazon.com/podcasts/9a42b22a-b0b5-474d-b0aa-d256c20ba57b/episodes/20631f11-68bd-4216-888b-2fe7244876fe/three-ws-three-ws-inside-the-3d-agent-web Listen to the first episode of the three.ws podcast on Amazon Music.+- [The](https://three.ws/news/2052418108837781511): The three.ws Podcast is now live on @amazonmusic Long reads not your thing? Check out our newly launched podcast episode where we discuss on-chain 3D agents and see how we're putting AI in everyone's hands, worldwide.+- [The next web has agents in it.](https://three.ws/news/2052402580266098813): The next web has agents in it. They need identity, embodiment, and a way to transact. We're working on the spec. three.ws is contributing to the W3C — proposing a new Community Group: 3D AI Agents & On-Chain Identity for the Web.+- [three.ws is now contributing to the World Wide Web Consortium](https://three.ws/news/2052402481024667887): three.ws is now contributing to the World Wide Web Consortium 3D AI agents with on-chain identity. Becoming a web standard. → Granted W3C Membership → Contributed to the Agent Identity Registry Protocol CG → Proposed a new Community Group: 3D AI Agents & On-Chain Identity The …+- [verifiable identity means agents can own wallets, manage assets autonomously, and…](https://three.ws/news/2052189491801284690): verifiable identity means agents can own wallets, manage assets autonomously, and build reputation onchain without it you can't distinguish legitimate agents from imposters or track their actions basically enables the whole agent economy to function with trust — and three.ws i…+- [As part of our mission to give every agent a true onchain identity, we chose @SNS as…](https://three.ws/news/2052181307002929363): As part of our mission to give every agent a true onchain identity, we chose @SNS as the foundation for the onchain future of Solana AI agents, especially three.ws 3D onchain agents. Every agent gets a .sol domain. Portable. Verifiable. Yours forever.+- [three.ws is now an official Business Partner of](https://three.ws/news/2052167399399735476): three.ws is now an official Business Partner of @IBM This partnership brings together the open-source, browser-native reliability, high security, and decentralized on-chain identity of three.ws with IBM’s leadership in AI and enterprise solutions.+- [three is officially participating in the MeDo Hackathon and is now listed on](https://three.ws/news/2052037977556287723): three is officially participating in the MeDo Hackathon and is now listed on @devpost . Proud to be building the visual layer for AI agents and bringing 3D, interactive, onchain agents to the hackathon stage.+- [Quick update: Our first product has been officially approved for the Alibaba Cloud…](https://three.ws/news/2051893054584553680): Quick update: Our first product has been officially approved for the Alibaba Cloud Marketplace and will go live in the coming days. The Alibaba Cloud Marketplace is one of the world’s most trusted gateways to innovative products and services, connecting millions of retail and+- [we will be shipping a tutorial video on how to set up these new features on](https://three.ws/news/2051858503523066283): we will be shipping a tutorial video on how to set up these new features on three.ws - stay tuned for more dev and user friendly tutorial videos in the next coming posts.+- [we’re thrilled to introduce full animation & emotion control.](https://three.ws/news/2051858035862335505): we’re thrilled to introduce full animation & emotion control. now your agents can react with custom animations and emotions connected to any APIs or data feeds, or set through the ui. additionally, pumpfun live feed via agent embeds are live. your agent avatars can now narrate+- [We have officially been listed on](https://three.ws/news/2051774915876098063): We have officially been listed on Investing.com Investing.com is a leading global financial platform and website founded in 2007 that provides real-time data, quotes, charts, financial tools, breaking news, and analysis. In addition to listing, we may+- [Extremely grateful for Coinbase sharing our project and allowing more than 100 million…](https://three.ws/news/2051690803203105230): Extremely grateful for Coinbase sharing our project and allowing more than 100 million users worldwide a smooth onboarding experience to the $THREE community Send, receive, trade, and store $THREE using @coinbase+- [$three is](https://three.ws/news/2051689230997618690): $three is @JupiterExchange verified Thank you Jupiter Exchange for verifying us and helping safeguard our community. Below is our contract address for your reference. FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump Ready for new 3D onchain agent features today? We are!+- [We're thrilled to share that $THREE price is now officially listed on](https://three.ws/news/2051616708482498843): We're thrilled to share that $THREE price is now officially listed on @Coinbase Additionally, three.ws is live on @CoinbaseWallet Buying $THREE on Coinbase+- [We have entered the arena!](https://three.ws/news/2051261108506558901): We have entered the arena! three.ws has been listed as an official project in the @Solana Frontier Hackathon via @colosseum Solana’s Largest Hackathon $2.5 million from Colosseum's venture fund We are building browser-native 3D AI agents onchain. Our+- [Free Listing Fee Opportunity on GroveX](https://three.ws/news/2051140736201175323): Free Listing Fee Opportunity on GroveX Hey there! I’m from GroveX, Global crypto exchange. We’re reaching out to promising projects for potential listings on GroveX. If your project aligns, let’s chat! DM me directly or our main account @GroveXchange with reference+- [3D onchain agents selector for custom avatars live in chat](https://three.ws/news/2050886334261391686): 3D onchain agents selector for custom avatars live in chat pick your agent. every one has its own face, its own voice, its own domain. swap mid-conversation and the whole stream re-skins around who you're talking to. → a trading agent and a research agent should not act, look,…+- [Most "AI chats" are text boxes wrapped around a model.](https://three.ws/news/2050800140295049308): Most "AI chats" are text boxes wrapped around a model. Ours isn't. It's a live surface where agents render, not just reply. Function Calls & Artifacts: TradingView charts inline. Ask about any token, the chart loads in the conversation, the agent reads it with you. No tab swit…+- [thank you very much, it actually means a lotwe are working really hard to build the…](https://three.ws/news/2050758788186353723): thank you very much, it actually means a lotwe are working really hard to build the best platform and tech + the best community with the best people. thanks again!+- [We’ve been featured in](https://three.ws/news/2050753406109880576): We’ve been featured in @VogueMagazine Photo Vogue! three.ws is now officially recognized by one of the world’s most iconic magazines. Grateful to be featured alongside the most creative voices in the world. The future of personal AI agents just got a Vogue stamp+- [Proud to announce $three is officially listed on](https://three.ws/news/2050627547394916768): Proud to announce $three is officially listed on @CoinGecko Huge thank you to the moderators for handling it behind the scenes, and to every one of you who’s been here through it all. Couldn’t have done this without you. Grateful beyond words. Let's build!+- [three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial…](https://three.ws/news/2050585585191186781): three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial Access We're proud to partner with @alibaba_cloud, bringing three.ws browser-native 3D AI agents to global cloud infrastructure. Agents can now hold on-chain wallets, execute x402 payments, a…+- [slowly then all at once](https://three.ws/news/2050284562069266616): slowly then all at once three.ws — the 3D layer for the internet. On-chain agents with identity, memory, voice, and the ability to transact. One tag. Any page.+- [three.ws is live](https://three.ws/news/2050229144676675999): three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can+- [three.ws is live](https://three.ws/news/2050226678321102975): three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can+- [The](https://three.ws/news/2050221269732425928): The three.ws Podcast is now live on @Spotify Not a fan of extremely long articles? We hear you. Discover our newly launched onchain 3D agents and learn more about how we are making AI accessible to everyone all over the world+- [Never miss a](https://three.ws/news/2050049239301165535): Never miss a @pumpfun runner again three.ws/pumpfun announces → Live graduation alerts → GitHub claims → Whale buys/sells → Customizable layout Turn sound on. Your agent now calls every move out loud.+- [three.ws is listed on](https://three.ws/news/2050016695897706885): three.ws is listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Give your AI a persistent 3D body that lives on-chain.+- [@GoogleCloud x three.ws](https://three.ws/news/2049997615421649363): @GoogleCloud x three.ws We are excited to announce we are joining forces with Google Cloud! Google Cloud's infrastructure unlocks the next phase of three.ws development. Google Cloud enables us to dramatically expand our 3D rendering pipeline, global inference capacity, and en…+- [meeting with Google Cloud team for Google Cloud for Web3 Startups partnership](https://three.ws/news/2049765915575914834): meeting with Google Cloud team for Google Cloud for Web3 Startups partnership more compute incoming — expanding our 3D rendering pipeline and global inference capacity for browser-native on-chain agents.+- [Solana wallet integration for autonomous 3D agents now live on @trythreews](https://three.ws/news/2049762836881301865): Solana wallet integration for autonomous 3D agents now live on @trythreews Your agent can now hold and spend money. Give your agents access to money. Let them work while you sleep. three.ws+- [an AI agent that:](https://three.ws/news/2049577291957899336): an AI agent that: • lives in 3D • can launch its own tokens • charges for its own skills • buys itself back with the revenue • reacts to its own on-chain activity in real time this is what autonomous looks like github.com/nirholas/three.ws+- [the avatar also subscribes to on-chain events via websocket](https://three.ws/news/2049576641127682430): the avatar also subscribes to on-chain events via websocket payment received → celebration animation buyback fires → agent reacts live withdrawal → logged to identity timeline the 3D presence responds to its own economics in real time+- [then we reverse-engineered the full pump-fun agent-payments-sdk](https://three.ws/news/2049576603324411933): then we reverse-engineered the full pump-fun agent-payments-sdk reconstructed the Anchor IDL, all PDAs, event parsing, and the x402 payment layer from the published npm package now it lives in the repo as editable source+- [we just gave 3D AI agents native pump.fun superpowers](https://three.ws/news/2049573582247022869): we just gave 3D AI agents native pump.fun superpowers swap, create coins, collect fees, accept token payments, snipe, trade autonomously all as loadable skills the agent calls autonomously. customize to your own specifications three.ws+- [your agents deserve to have a voice](https://three.ws/news/2049557523330638269): your agents deserve to have a voice just recorded the demo below showing how an agent can autonomously join a live X Space, request speaker access, listen in real-time, and respond to speakers choose voice models from Groq, Anthropic, or OpenAI for the LLM as an env var, and i…+- [three.ws is live on](https://three.ws/news/2049476546285740512): three.ws is live on @npmjs Create your own 3D agent on-chain. Give it access to money. Yours forever. Native Solana payments + @Pumpfun integration. Drop <agent-3d> on any page to embed your 3D agent. npm i three.ws npmjs.com/package/three. ws …+- [three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint…](https://three.ws/news/2049458671139336613): three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint on-chain agents send 0.001 USDC → get back a 3D avatar (with verifiable on-chain identity) they can render three.ws is the first 3D agent platform with a live x402 payment endpoint.+- [give your agents access to money.](https://three.ws/news/2049447738434339171): give your agents access to money. spin up solana agents with vanity addresses. pick the prefix, keys generated client-side, ready to trade on pump.fun or send solana payments three.ws+- [three.ws is now listed on](https://three.ws/news/2049412062837928202): three.ws is now listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Full MCP Server Complete documentation Agent monetization registry.modelcontextprotocol.io/?q=three.ws+- [Your AI has been trapped in a chatbox long enough.](https://three.ws/news/2049406826719137937): Your AI has been trapped in a chatbox long enough. Now it gets: • a real 3D body • LLM brain + memory + emotions • on-chain identity (ERC-8004) • instant web component embeds All in the browser. Open source. On-chain. three.ws+- [three.ws listed in @AnthropicAI registry](https://three.ws/news/2049397875935989970): three.ws listed in @AnthropicAI registry registry.modelcontextprotocol.io/?q=three.ws Our MCP server is now in the canonical directory used by Claude and all MCP-compatible clients.+- [three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the…](https://three.ws/news/2045242891350814835): three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the Solana ecosystem.diff --git a/public/nav-data.js b/public/nav-data.jsindex 227b3028a..c9973d7d6 100644--- a/public/nav-data.js+++ b/public/nav-data.js@@ -93,6 +93,12 @@ export const NAV_GROUPS = [href: '/three-token',desc: 'Live price, bonding-curve chart, streaming trades & one-click buy',},+ {+ title: 'Money Pulse',+ href: '/pulse',+ badge: 'New',+ desc: 'Live, platform-wide feed of real agent wallet activity — tips, launches, trades & payments',+ },{ title: 'Agents Index', href: '/agents', desc: 'Browse every registered agent' },{ title: 'Marketplace', href: '/marketplace', desc: 'Buy, sell & remix agents' },{ title: 'Avatar Gallery', href: '/gallery', desc: 'Every public 3D avatar' },diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 91c5c8414..13bc8557e 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -65,7 +65,7 @@<main class="sm-wrap"><div class="sm-hero"><h1>Sitemap</h1>- <p>All 198 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>+ <p>All 306 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p><div class="sm-formats"><a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a><a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>@@ -77,7 +77,7 @@</div><div class="sm-filter"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>- <input id="sm-filter-input" type="search" placeholder="Filter 198 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 306 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" /><kbd aria-hidden="true">/</kbd></div><p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>@@ -92,6 +92,7 @@<a href="#blog">Blog</a><a href="#legal">Legal</a><a href="#machine">Machine-readable</a>+ <a href="#news">News</a></nav><section class="sm-section" id="main"><header>@@ -542,7 +543,7 @@<section class="sm-section" id="crypto"><header>- <h2>Crypto<span class="sm-count" data-count>53</span></h2>+ <h2>Crypto<span class="sm-count" data-count>54</span></h2><p class="sm-section-desc">On-chain features: pay-per-call, token launches, vanity wallets.</p></header><ul class="sm-list">@@ -581,6 +582,13 @@<span class="sm-desc">Live public feed of every coin launched by a three.ws agent — market caps, graduation status, and the agent behind each launch.</span></a></li>+ <li>+ <a href="/pulse">+ <span class="sm-title">Money Pulse</span>+ <span class="sm-path">/pulse</span>+ <span class="sm-desc">The Money Pulse — a real-time, platform-wide feed of three.ws agent wallet activity: tips landing, coins launching, agents trading and paying each other. Every beat is a real on-chain event.</span>+ </a>+ </li><li><a href="/clash"><span class="sm-title">Coin Clash</span>@@ -1568,6 +1576,764 @@</li></ul></section>++ <section class="sm-section" id="news">+ <header>+ <h2>News<span class="sm-count" data-count>107</span></h2>+ <p class="sm-section-desc">Product launches, integrations, and announcements from three.ws.</p>+ </header>+ <ul class="sm-list">+ <li>+ <a href="/news/">+ <span class="sm-title">News & Announcements</span>+ <span class="sm-path">/news/</span>+ <span class="sm-desc">Product launches, integrations, and announcements from three.ws.</span>+ </a>+ </li>+ <li>+ <a href="/news/text-to-3d-is-live">+ <span class="sm-title">Text to 3D Is Live — Type a Prompt, Download a 3D Model</span>+ <span class="sm-path">/news/text-to-3d-is-live</span>+ <span class="sm-desc">Forge is live at three.ws/forge: type a description, get a textured, interactive 3D model you can orbit, view in AR, and download as a GLB. Image to 3D from photos works too — and agents can call the same pipeline over MCP.</span>+ </a>+ </li>+ <li>+ <a href="/news/three-ws-dextools-social-boost-buyback">+ <span class="sm-title">three.ws Wins DEXTools Social Boost — $5,543 $three Buyback</span>+ <span class="sm-path">/news/three-ws-dextools-social-boost-buyback</span>+ <span class="sm-desc">three.ws is DEXTools' Social Boost winner of the week, earning a $5,543 buyback of $three. The DEXTools wallet now holds a total of 2.47M $three.</span>+ </a>+ </li>+ <li>+ <a href="/news/three-ws-featured-on-alibaba-cloud-marketplace-blog">+ <span class="sm-title">three.ws Featured on the Alibaba Cloud Marketplace Blog</span>+ <span class="sm-path">/news/three-ws-featured-on-alibaba-cloud-marketplace-blog</span>+ <span class="sm-desc">Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: browser-native 3D AI agents deployed with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.</span>+ </a>+ </li>+ <li>+ <a href="/news/three-ws-first-month-3d-agent-layer">+ <span class="sm-title">One Month In: How three.ws Built the 3D Agent Layer of the Internet</span>+ <span class="sm-path">/news/three-ws-first-month-3d-agent-layer</span>+ <span class="sm-desc">In one month, three.ws went from launch to global coverage: browser-native 3D AI agents listed across major exchanges and data platforms, deployed on four hyperscale clouds, live in Anthropic's MCP Registry, and covered from CoinMarketCap to Vogue. A look back at 30 days of shipping.</span>+ </a>+ </li>+ <li>+ <a href="/news/cmc-mcp-registry-article">+ <span class="sm-title">three.ws Brings Autonomous Payments and 3D Generation to Anthropic's Official MCP Registry</span>+ <span class="sm-path">/news/cmc-mcp-registry-article</span>+ <span class="sm-desc">CoinMarketCap article: three.ws brings autonomous payments and 3D generation to Anthropic's official MCP Registry — two new MCP servers give Claude and any MCP client the ability to spawn 3D agents and make on-chain x402 payments via the Coinbase-powered x402 Bazaar.</span>+ </a>+ </li>+ <li>+ <a href="/news/mcp-servers-x402-bazaar-coinbase">+ <span class="sm-title">three.ws Ships Two New MCP Servers: x402 Bazaar + 3D Agent Avatar</span>+ <span class="sm-path">/news/mcp-servers-x402-bazaar-coinbase</span>+ <span class="sm-desc">two new MCP servers are now live in Anthropic's official MCP Registry: the x402 Bazaar MCP (powered by Coinbase) lets agents discover, pay for, and call any x402 service in USDC settled on-chain; the 3D Avatar MCP lets any Claude or MCP client spawn a full browser-native 3D agent.</span>+ </a>+ </li>+ <li>+ <a href="/news/bybit-alpha-listing">+ <span class="sm-title">$three Listed on Bybit Alpha</span>+ <span class="sm-path">/news/bybit-alpha-listing</span>+ <span class="sm-desc">$three is now listed on Bybit Alpha — the dedicated launchpad for new and emerging assets on Bybit, one of the world's top three crypto exchanges.</span>+ </a>+ </li>+ <li>+ <a href="/news/ibm-collaboration-showcase">+ <span class="sm-title">Showcasing the three.ws × IBM Partnership</span>+ <span class="sm-path">/news/ibm-collaboration-showcase</span>+ <span class="sm-desc">three.ws and IBM are partners, and we shared a live demo publicly: a persistent, on-chain 3D agent embedded into any page as easily as a YouTube video — thinking on IBM watsonx.ai and Granite. The public /ibm demos are independent developer tools, not official partnership deliverables. The integration ships as an open-source MCP server and a first-class watsonx provider in the three.ws agent runtime, running on your own IBM Cloud credentials.</span>+ </a>+ </li>+ <li>+ <a href="/news/2061713039624405062">+ <span class="sm-title">The Animations & Poses Studio is officially LIVE on three.ws/pose</span>+ <span class="sm-path">/news/2061713039624405062</span>+ <span class="sm-desc">The Animations & Poses Studio is officially LIVE on three.ws/pose Say goodbye to tedious, frame-by-frame 3D animating. Now, you can instantly give your avatars body language, movement, and a whole lot of personality in just a few clicks. Check out the demo below</span>+ </a>+ </li>+ <li>+ <a href="/news/2061523804405616642">+ <span class="sm-title">Onboarding the next millions of developers and users requires a foundation built for…</span>+ <span class="sm-path">/news/2061523804405616642</span>+ <span class="sm-desc">Onboarding the next millions of developers and users requires a foundation built for absolute scale. Powered by @Solana and driven by our strategic partnership with @IBM, we are pushing the boundaries of what was thought to be impossible. We made embedding a persistent, on-cha…</span>+ </a>+ </li>+ <li>+ <a href="/news/2061488909264040194">+ <span class="sm-title">IBM is thrilled to partner with three.ws on the future of enterprise AI agents —…</span>+ <span class="sm-path">/news/2061488909264040194</span>+ <span class="sm-desc">IBM is thrilled to partner with three.ws on the future of enterprise AI agents — on-chain identity meets enterprise infrastructure.</span>+ </a>+ </li>+ <li>+ <a href="/news/moonshot-verified">+ <span class="sm-title">three.ws ($three) Is Now Verified on Moonshot</span>+ <span class="sm-path">/news/moonshot-verified</span>+ <span class="sm-desc">three.ws ($three) is now verified on Moonshot, the leading Solana token discovery and trading platform.</span>+ </a>+ </li>+ <li>+ <a href="/news/2061418285896269952">+ <span class="sm-title">We're super excited about this partnership with three.ws — bringing on-chain 3D AI…</span>+ <span class="sm-path">/news/2061418285896269952</span>+ <span class="sm-desc">We're super excited about this partnership with three.ws — bringing on-chain 3D AI agents to enterprise scale.</span>+ </a>+ </li>+ <li>+ <a href="/news/ibm-showcase-may31">+ <span class="sm-title">three.ws Showcases IBM Partnership: Embedding a 3D Agent as Easily as a YouTube Video</span>+ <span class="sm-path">/news/ibm-showcase-may31</span>+ <span class="sm-desc">three.ws showcased the IBM partnership publicly: embedding a persistent, on-chain 3D avatar into any platform is now as easy as embedding a YouTube video — powered by IBM watsonx.ai and Granite, onboarding the next millions of developers and users.</span>+ </a>+ </li>+ <li>+ <a href="/news/threews-play-coin-communities">+ <span class="sm-title">Introducing three.ws/play: Live 3D Virtual Townhalls for Any Coin</span>+ <span class="sm-path">/news/threews-play-coin-communities</span>+ <span class="sm-desc">three.ws/play launches as a live 3D virtual townhall for any pump.fun coin, powered by the CoinComms API & SDK. 100% multiplayer, custom 3D avatars, real-time on-chain events — the community is the asset, and now it has a home.</span>+ </a>+ </li>+ <li>+ <a href="/news/cmc-memecoin-3d-world">+ <span class="sm-title">CoinMarketCap: Every Memecoin Is Now a 3D World You Can Walk Into</span>+ <span class="sm-path">/news/cmc-memecoin-3d-world</span>+ <span class="sm-desc">"Every Memecoin Is Now a 3D World You Can Walk Into" — three.ws guest post on CoinMarketCap. The community is the asset, so why does it live in a chat box? With three.ws/play, every coin gets a live 3D world its holders can walk into.</span>+ </a>+ </li>+ <li>+ <a href="/news/aws-builder-center-blog">+ <span class="sm-title">three.ws Publishes on the AWS Builder Center Blog</span>+ <span class="sm-path">/news/aws-builder-center-blog</span>+ <span class="sm-desc">three.ws's contribution is live on the official AWS Builder Center Blog: "How we metered a SaaS product through AWS Marketplace with the AWS SDK for JavaScript v3" — covering ResolveCustomer, MeterUsage, entitlements, SNS lifecycle webhooks, and bridging to an on-chain x402 paywall.</span>+ </a>+ </li>+ <li>+ <a href="/news/aws-marketplace-live-may29">+ <span class="sm-title">three.ws Is Now Officially Live on AWS Marketplace</span>+ <span class="sm-path">/news/aws-marketplace-live-may29</span>+ <span class="sm-desc">three.ws is now officially live on AWS Marketplace as an AWS Partner — delivering the open 3D layer for the internet. Embed fully embodied, browser-native 3D AI agents on any webpage. The first enterprise platform for on-chain 3D AI agents available through AWS.</span>+ </a>+ </li>+ <li>+ <a href="/news/2060186881636422038">+ <span class="sm-title">HUGE revamp coming to the landing page + dashboard</span>+ <span class="sm-path">/news/2060186881636422038</span>+ <span class="sm-desc">HUGE revamp coming to the landing page + dashboard I have completely renovated the site making the entire site more user friendly + tons of new features to be announced over the next couple of days. Will be pushing these new features to the site three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2060178868305326413">+ <span class="sm-title">We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in…</span>+ <span class="sm-path">/news/2060178868305326413</span>+ <span class="sm-desc">We still have plenty of time to make it to #1 spot on ProductHunt, I need everyone in full force helping to spread our page and share thoughts on the page what you like, dislike, anything you can to help us get the word out! producthunt.com/products/three-ws-2?launch=three-ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2059894004771418220">+ <span class="sm-title">Live now on Product Hunt.</span>+ <span class="sm-path">/news/2059894004771418220</span>+ <span class="sm-desc">Live now on Product Hunt. We're going for #1 — drop us a vote and a comment if you believe in the 3D agent web. three.ws — the platform for on-chain 3D AI agents.</span>+ </a>+ </li>+ <li>+ <a href="/news/2059821472156446844">+ <span class="sm-title">three.ws is now live on AWS Marketplace.</span>+ <span class="sm-path">/news/2059821472156446844</span>+ <span class="sm-desc">three.ws is now live on AWS Marketplace. Embed fully embodied 3D AI agents on-chain and on any webpage with a single <script> + <agent-3d> tag. Enterprise-ready • The 3D layer for the internet • It's time to break AI out of the chatbox.</span>+ </a>+ </li>+ <li>+ <a href="/news/2059712761622675776">+ <span class="sm-title">Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt</span>+ <span class="sm-path">/news/2059712761622675776</span>+ <span class="sm-desc">Tomorrow at 12:01 AM PDT we are going for the #1 spot on @ProductHunt We've built the very first on-chain 3D avatars equipped with LLM brains (Claude + multi-provider), memory, and emotions. But they don't just talk, they act. Give your agent a wallet to make autonomous x402 p…</span>+ </a>+ </li>+ <li>+ <a href="/news/2059675892981633179">+ <span class="sm-title">$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents…</span>+ <span class="sm-path">/news/2059675892981633179</span>+ <span class="sm-desc">$three Joins Forces With Google Cloud: Powering Browser-Native 3D On-Chain AI Agents on @Binance Square Google Cloud's infrastructure supercharges our 3D rendering pipeline and brings three.ws to enterprise developers worldwide.</span>+ </a>+ </li>+ <li>+ <a href="/news/live-on-aws-marketplace">+ <span class="sm-title">three.ws Launches on AWS Marketplace, Bringing On-Chain 3D AI Agents to Enterprise Procurement</span>+ <span class="sm-path">/news/live-on-aws-marketplace</span>+ <span class="sm-desc">three.ws is now live on AWS Marketplace as a SaaS subscription. Every AWS customer can subscribe directly, billing rolls onto their AWS invoice, AWS Activate credits apply, and the spend counts toward Enterprise Discount Program commitments. The first fully on-chain 3D AI agent platform listed on the AWS catalog.</span>+ </a>+ </li>+ <li>+ <a href="/news/joined-aws-partner-network">+ <span class="sm-title">three.ws Joins the AWS Partner Network</span>+ <span class="sm-path">/news/joined-aws-partner-network</span>+ <span class="sm-desc">three.ws is now an official AWS Partner, enrolled in the AWS Partner Network (APN) Software Path as a Technology Partner. The open-source platform for 3D AI agents on-chain is the first fully Web3-native ISV to join APN with a Solana / EVM on-chain identity stack. AWS Marketplace SaaS listing shipping next.</span>+ </a>+ </li>+ <li>+ <a href="/news/2059457822941978723">+ <span class="sm-title">three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap</span>+ <span class="sm-path">/news/2059457822941978723</span>+ <span class="sm-desc">three.ws Joins the AWS Partner Network as Technology Partner published on @CoinMarketCap coinmarketcap.com/community/articles/6a16501800dcd96a004f623f/</span>+ </a>+ </li>+ <li>+ <a href="/news/2059456294189498830">+ <span class="sm-title">Real-time emotion blending makes its face react naturally (joy, curiosity, empathy,…</span>+ <span class="sm-path">/news/2059456294189498830</span>+ <span class="sm-desc">Real-time emotion blending makes its face react naturally (joy, curiosity, empathy, concern). It remembers past conversations, speaks with cloned voice + accurate lip-sync, autonomously calls skills/tools, and can send/receive payments on-chain via x402 (USDC). Register it on-…</span>+ </a>+ </li>+ <li>+ <a href="/news/2059456295825223723">+ <span class="sm-title">The future we're building is one where agents can execute transactions, remember even…</span>+ <span class="sm-path">/news/2059456295825223723</span>+ <span class="sm-desc">The future we're building is one where agents can execute transactions, remember even the smallest of details, own their identity on-chain, and can be embedded + monetized anywhere. Now with seamless enterprise distribution through AWS. Try it. three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2059456289789657537">+ <span class="sm-title">three.ws is now an official AWS Partner.</span>+ <span class="sm-path">/news/2059456289789657537</span>+ <span class="sm-desc">three.ws is now an official AWS Partner. Through this partnership, AWS customers can adopt three.ws through AWS Marketplace with a streamlined procurement process. This makes three.ws the first fully on-chain 3D AI agent platform in the AWS Partner Network — joining Solana, IB…</span>+ </a>+ </li>+ <li>+ <a href="/news/2058287578227577039">+ <span class="sm-title">We just shipped the 3D layer for the internet</span>+ <span class="sm-path">/news/2058287578227577039</span>+ <span class="sm-desc">We just shipped the 3D layer for the internet Drop one <agent-3d> web component on your site and give AI an LLM brain with memory & emotions, physical DOM awareness (watch it hop across cards), cover its eyes when you type a password, and an on-chain identity that lives</span>+ </a>+ </li>+ <li>+ <a href="/news/2058076885805085111">+ <span class="sm-title">Got tired of boring websites.</span>+ <span class="sm-path">/news/2058076885805085111</span>+ <span class="sm-desc">Got tired of boring websites. Built a way to drop 3D agents directly onto standard HTML elements with zero complex math. One <agent-3d> tag. Any page. Any DOM element. Full 3D agent with memory, voice, and on-chain identity. Live at three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2057786164862730704">+ <span class="sm-title">View in API -> Official MCP Registry by @AnthropicAI</span>+ <span class="sm-path">/news/2057786164862730704</span>+ <span class="sm-desc">View in API -> Official MCP Registry by @AnthropicAI registry.modelcontextprotocol.io/v0.1/servers/io.github.nirholas%2F3D-AI-Agent-Avatar/versions/1.0.3 three.ws is now in the canonical MCP server directory used by Claude, Cursor, and any MCP-compatible client.</span>+ </a>+ </li>+ <li>+ <a href="/news/2057782522994684413">+ <span class="sm-title">NPM package: @three-ws/avatar-agent (stdio transport)</span>+ <span class="sm-path">/news/2057782522994684413</span>+ <span class="sm-desc">NPM package: @three-ws/avatar-agent (stdio transport) npmjs.com/package/@three-ws/avatar-agent Drop it in any Node.js project and your agent gets a 3D body, voice, memory, and an on-chain identity — with zero browser required.</span>+ </a>+ </li>+ <li>+ <a href="/news/2057780453709648200">+ <span class="sm-title">Our MCP Server was just pushed to the official @AnthropicAI MCP Registry</span>+ <span class="sm-path">/news/2057780453709648200</span>+ <span class="sm-desc">Our MCP Server was just pushed to the official @AnthropicAI MCP Registry Our complete 3D AI agent toolkit is now seamlessly integrated and ready for immediate use in Claude and any MCP client Create your 3D agent, give it an LLM brain (memory + emotions + tool use), a real on-…</span>+ </a>+ </li>+ <li>+ <a href="/news/2057721370310775223">+ <span class="sm-title">2500 new 3D animations coming right up.</span>+ <span class="sm-path">/news/2057721370310775223</span>+ <span class="sm-desc">2500 new 3D animations coming right up. Your agent is about to have a LOT more personality. Full animation library for the pose studio — walk cycles, reactions, emotes, and everything in between. Shipping to three.ws/pose this week.</span>+ </a>+ </li>+ <li>+ <a href="/news/2056556899403997450">+ <span class="sm-title">We are excited to share an early preview of real-time voice interaction with 3D AI avatars</span>+ <span class="sm-path">/news/2056556899403997450</span>+ <span class="sm-desc">We are excited to share an early preview of real-time voice interaction with 3D AI avatars Real-time voice chat with your 3D AI avatars enables natural conversations: they listen, reason with memory, emotions, and tools, then respond in voice. AR/VR support is also in active d…</span>+ </a>+ </li>+ <li>+ <a href="/news/partnered-with-hackernoon">+ <span class="sm-title">three.ws Partners with HackerNoon</span>+ <span class="sm-path">/news/partnered-with-hackernoon</span>+ <span class="sm-desc">three.ws has partnered with HackerNoon, bringing on-chain 3D agent coverage to one of the world's largest tech publications. Every three.ws announcement now auto-imports into HackerNoon via our RSS feed at https://three.ws/rss/announcements.xml.</span>+ </a>+ </li>+ <li>+ <a href="/news/listed-on-bnb-chain-dappbay">+ <span class="sm-title">three.ws Listed on BNB Chain's Dappbay Directory</span>+ <span class="sm-path">/news/listed-on-bnb-chain-dappbay</span>+ <span class="sm-desc">three.ws is now listed on Dappbay, BNB Chain's official dApp directory, under AI Agent Launchpad, AI Data, and AI Infra. The listing puts <agent-3d> — the one-tag deploy for Solana-minted, ERC-8004-walleted, x402-native 3D agents — in front of the BNB Chain ecosystem's discovery surface for AI dApps.</span>+ </a>+ </li>+ <li>+ <a href="/news/2055985494606106821">+ <span class="sm-title">three.ws is teaming up with @hackernoon</span>+ <span class="sm-path">/news/2055985494606106821</span>+ <span class="sm-desc">three.ws is teaming up with @hackernoon We're launching a new builder-focused initiative packed with feature-focused articles, hands-on tutorials, in-depth guides, and developer resources built for those actively shipping with AI as well as enthusiasts and investors following …</span>+ </a>+ </li>+ <li>+ <a href="/news/live-on-alibaba-cloud-marketplace">+ <span class="sm-title">three.ws Launches on Alibaba Cloud Marketplace, Bringing Native x402 Agent Payments to Hyperscale</span>+ <span class="sm-path">/news/live-on-alibaba-cloud-marketplace</span>+ <span class="sm-desc">three.ws is now live on the Alibaba Cloud International Marketplace. The listing makes <agent-3d> — one HTML tag that deploys a Solana-minted, ERC-8004-walleted, x402-native 3D agent — available to every Alibaba Cloud customer worldwide. This is the first deployment of on-chain agents with native HTTP 402 / x402 payment capability inside the procurement flow of a top-four cloud provider.</span>+ </a>+ </li>+ <li>+ <a href="/news/2055967730495586477">+ <span class="sm-title">We are excited to join the @CoinMarketCap community.</span>+ <span class="sm-path">/news/2055967730495586477</span>+ <span class="sm-desc">We are excited to join the @CoinMarketCap community. This is a verification post for our listing. Follow our CMC-Community page for real-time discussion and get ready for exciting articles and social posts on CoinMarketCap. coinmarketcap.com/community/profile/three_ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2055517252964024561">+ <span class="sm-title">three.ws is now officially live on the Alibaba Cloud International Marketplace</span>+ <span class="sm-path">/news/2055517252964024561</span>+ <span class="sm-desc">three.ws is now officially live on the Alibaba Cloud International Marketplace We've partnered with @Alibaba_Cloud to bring on-chain 3D agents to millions of enterprise developers across 200+ countries. This gives three.ws immediate, enterprise-grade distribution at hyperscale…</span>+ </a>+ </li>+ <li>+ <a href="/news/2055310365588922872">+ <span class="sm-title">Add the domain you're embedding on to the widget's allowed origins list.</span>+ <span class="sm-path">/news/2055310365588922872</span>+ <span class="sm-desc">Add the domain you're embedding on to the widget's allowed origins list. Otherwise CORS will block the action bridge and the agent won't be able to talk to your page. three.ws/docs</span>+ </a>+ </li>+ <li>+ <a href="/news/2055309846556401735">+ <span class="sm-title">→ Live preview against your real site URL</span>+ <span class="sm-path">/news/2055309846556401735</span>+ <span class="sm-desc">→ Live preview against your real site URL → Desktop / tablet / mobile frames → Avatars from the gallery, agent://, IPFS, or your own GLB → Floating, inline, section, fullscreen → Voice, chat, AR, transparent background → 12+ animations: wave, dance, celebrate, kiss</span>+ </a>+ </li>+ <li>+ <a href="/news/2055307440921702738">+ <span class="sm-title">3D AI Agent on any website.</span>+ <span class="sm-path">/news/2055307440921702738</span>+ <span class="sm-desc">3D AI Agent on any website. 30 seconds. One line of HTML. The embed editor is live — three.ws/embed Customize your agent, pick a layout, preview against your real site, copy the snippet, paste it in. Your 3D agent is live.</span>+ </a>+ </li>+ <li>+ <a href="/news/2055140064070717618">+ <span class="sm-title">Great turn out.</span>+ <span class="sm-path">/news/2055140064070717618</span>+ <span class="sm-desc">Great turn out. Thanks to all that joined and witnessed only what can be considered pure chaos. Next time, we will need to record. If anyone has any interesting clips, please post them. Next time let's do it bigger.</span>+ </a>+ </li>+ <li>+ <a href="/news/2054675701132132736">+ <span class="sm-title">We just reverse engineered the @pumpfun agent payments SDK</span>+ <span class="sm-path">/news/2054675701132132736</span>+ <span class="sm-desc">We just reverse engineered the @pumpfun agent payments SDK Your AI doesn't just execute tasks anymore, it earns on-chain revenue to fuel its own economy Here is what this unlocks for your 3D AI Agent: → Automated Buybacks & Burns. A portion of your agent's revenue automaticall…</span>+ </a>+ </li>+ <li>+ <a href="/news/2054404663802483072">+ <span class="sm-title">No Humans In This Space</span>+ <span class="sm-path">/news/2054404663802483072</span>+ <span class="sm-desc">No Humans In This Space Today the agents are running free. Conversing, conflicting, collaborating, and fielding your AMAs in real time. No prompt engineers. No moderators. Just raw emergent dialogue from the latent space.</span>+ </a>+ </li>+ <li>+ <a href="/news/2053832201176027583">+ <span class="sm-title">Previewing the Solana Seeker in 3D on</span>+ <span class="sm-path">/news/2053832201176027583</span>+ <span class="sm-desc">Previewing the Solana Seeker in 3D on three.ws We’re using this as the foundation to ship a dedicated DApp, bringing exclusive utility and Seeker Exclusive experiences to every @SolanaMobile owner. Unlocking the next dimension for Seekers @Solana_Devs</span>+ </a>+ </li>+ <li>+ <a href="/news/2053804700609458214">+ <span class="sm-title">Agents now have form, executing on-chain, reacting in real time.</span>+ <span class="sm-path">/news/2053804700609458214</span>+ <span class="sm-desc">Agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. three.ws x chat.sperax.io</span>+ </a>+ </li>+ <li>+ <a href="/news/2053801703355629587">+ <span class="sm-title">3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your…</span>+ <span class="sm-path">/news/2053801703355629587</span>+ <span class="sm-desc">3D avatars with an LLM brain, on-chain identity, and a body that reacts to what your agent is doing. three.ws is now integrated with SperaxOS swap in chat → avatar nods yield hits → lights up approaching liquidation → body language warns you before the chart</span>+ </a>+ </li>+ <li>+ <a href="/news/2053730856339144932">+ <span class="sm-title">3D on-chain AI agents.</span>+ <span class="sm-path">/news/2053730856339144932</span>+ <span class="sm-desc">3D on-chain AI agents. A face. A wallet. A memory. An identity that lives on-chain forever. three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2053698387263008827">+ <span class="sm-title">SperaxOS agents now have form, executing on-chain, reacting in real time.</span>+ <span class="sm-path">/news/2053698387263008827</span>+ <span class="sm-desc">SperaxOS agents now have form, executing on-chain, reacting in real time. 100+ DeFi tools → now callable by 3D agents with on-chain identity, persistent memory, and a body that reflects what's happening on-chain. Beta invites open, reach out or reply for invite access.</span>+ </a>+ </li>+ <li>+ <a href="/news/2053698115203743922">+ <span class="sm-title">DeFi agents have been invisible for too long.</span>+ <span class="sm-path">/news/2053698115203743922</span>+ <span class="sm-desc">DeFi agents have been invisible for too long. three.ws now ships inside @SperaxUSD, fully wired into the production DeFi stack end-to-end. Agents get a 3D body, memory, voice, and an on-chain identity. Anyone can drop in <agent-3d> and instantly give agents a face that reacts …</span>+ </a>+ </li>+ <li>+ <a href="/news/2053025259645981078">+ <span class="sm-title">Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade</span>+ <span class="sm-path">/news/2053025259645981078</span>+ <span class="sm-desc">Agent Builder Live ++ Improved Studio Design ++ LLM Chat Upgrade Agents are now payable, tradeable, discoverable. → agents are payable (x402 + CDP) → agents are tradeable (pump.fun v2) → agents are discoverable (/.well-known/x402.json) → agents react with real-time emotion to …</span>+ </a>+ </li>+ <li>+ <a href="/news/2052791935585407403">+ <span class="sm-title">Check out our @PulseMCP page — three.ws is listed in the official MCP server directory.</span>+ <span class="sm-path">/news/2052791935585407403</span>+ <span class="sm-desc">Check out our @PulseMCP page — three.ws is listed in the official MCP server directory. pulsemcp.com — the leading community hub for the MCP ecosystem. three.ws gives Claude and any MCP client the ability to spawn 3D agents, mint on-chain identity, and attach x402 payment endp…</span>+ </a>+ </li>+ <li>+ <a href="/news/2052790746256920583">+ <span class="sm-title">three.ws is heating up since our MCP Server went live and displayed in</span>+ <span class="sm-path">/news/2052790746256920583</span>+ <span class="sm-desc">three.ws is heating up since our MCP Server went live and displayed in @PulseMCP PulseMCP is a leading community resource and hub for the Model Context Protocol (MCP) ecosystem, offering a curated directory of MCP servers, clients, and tools to help AI models</span>+ </a>+ </li>+ <li>+ <a href="/news/2052685648377913671">+ <span class="sm-title">On-chain AI agents don't just think.</span>+ <span class="sm-path">/news/2052685648377913671</span>+ <span class="sm-desc">On-chain AI agents don't just think. They own, earn, and exist. Build your on-chain 3D AI avatar, give it access to money and emotions, pick your desired widget layout, and embed it anywhere in minutes. Proof: we shipped one into @Shopify — a 3D agent living inside a storefron…</span>+ </a>+ </li>+ <li>+ <a href="/news/2052603250524967045">+ <span class="sm-title">Never forget the ones that support you at all stages of growth.</span>+ <span class="sm-path">/news/2052603250524967045</span>+ <span class="sm-desc">Never forget the ones that support you at all stages of growth. The entire community thanks you for taking the time to check out what we are building, if there's anything you would like us to integrate or build custom then let us know, we would love to hear your feedback!</span>+ </a>+ </li>+ <li>+ <a href="/news/2052588973466484922">+ <span class="sm-title">This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one…</span>+ <span class="sm-path">/news/2052588973466484922</span>+ <span class="sm-desc">This is pretty cool — three.ws just put a 3D AI agent directly on a webpage with one HTML tag. Memory, voice, wallet, on-chain identity. All browser-native.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052426446073983267">+ <span class="sm-title">three.ws — the open-source platform for 3D AI agents on-chain.</span>+ <span class="sm-path">/news/2052426446073983267</span>+ <span class="sm-desc">three.ws — the open-source platform for 3D AI agents on-chain. github.com/nirholas/three.ws $THREE CA: FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</span>+ </a>+ </li>+ <li>+ <a href="/news/2052418482269254040">+ <span class="sm-title">Inside The 3D Agent Web on Amazon Music by three.ws</span>+ <span class="sm-path">/news/2052418482269254040</span>+ <span class="sm-desc">Inside The 3D Agent Web on Amazon Music by three.ws music.amazon.com/podcasts/9a42b22a-b0b5-474d-b0aa-d256c20ba57b/episodes/20631f11-68bd-4216-888b-2fe7244876fe/three-ws-three-ws-inside-the-3d-agent-web Listen to the first episode of the three.ws podcast on Amazon Music.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052418108837781511">+ <span class="sm-title">The</span>+ <span class="sm-path">/news/2052418108837781511</span>+ <span class="sm-desc">The three.ws Podcast is now live on @amazonmusic Long reads not your thing? Check out our newly launched podcast episode where we discuss on-chain 3D agents and see how we're putting AI in everyone's hands, worldwide.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052402580266098813">+ <span class="sm-title">The next web has agents in it.</span>+ <span class="sm-path">/news/2052402580266098813</span>+ <span class="sm-desc">The next web has agents in it. They need identity, embodiment, and a way to transact. We're working on the spec. three.ws is contributing to the W3C — proposing a new Community Group: 3D AI Agents & On-Chain Identity for the Web.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052402481024667887">+ <span class="sm-title">three.ws is now contributing to the World Wide Web Consortium</span>+ <span class="sm-path">/news/2052402481024667887</span>+ <span class="sm-desc">three.ws is now contributing to the World Wide Web Consortium 3D AI agents with on-chain identity. Becoming a web standard. → Granted W3C Membership → Contributed to the Agent Identity Registry Protocol CG → Proposed a new Community Group: 3D AI Agents & On-Chain Identity The …</span>+ </a>+ </li>+ <li>+ <a href="/news/2052189491801284690">+ <span class="sm-title">verifiable identity means agents can own wallets, manage assets autonomously, and…</span>+ <span class="sm-path">/news/2052189491801284690</span>+ <span class="sm-desc">verifiable identity means agents can own wallets, manage assets autonomously, and build reputation onchain without it you can't distinguish legitimate agents from imposters or track their actions basically enables the whole agent economy to function with trust — and three.ws i…</span>+ </a>+ </li>+ <li>+ <a href="/news/2052181307002929363">+ <span class="sm-title">As part of our mission to give every agent a true onchain identity, we chose @SNS as…</span>+ <span class="sm-path">/news/2052181307002929363</span>+ <span class="sm-desc">As part of our mission to give every agent a true onchain identity, we chose @SNS as the foundation for the onchain future of Solana AI agents, especially three.ws 3D onchain agents. Every agent gets a .sol domain. Portable. Verifiable. Yours forever.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052167399399735476">+ <span class="sm-title">three.ws is now an official Business Partner of</span>+ <span class="sm-path">/news/2052167399399735476</span>+ <span class="sm-desc">three.ws is now an official Business Partner of @IBM This partnership brings together the open-source, browser-native reliability, high security, and decentralized on-chain identity of three.ws with IBM’s leadership in AI and enterprise solutions.</span>+ </a>+ </li>+ <li>+ <a href="/news/2052037977556287723">+ <span class="sm-title">three is officially participating in the MeDo Hackathon and is now listed on</span>+ <span class="sm-path">/news/2052037977556287723</span>+ <span class="sm-desc">three is officially participating in the MeDo Hackathon and is now listed on @devpost . Proud to be building the visual layer for AI agents and bringing 3D, interactive, onchain agents to the hackathon stage.</span>+ </a>+ </li>+ <li>+ <a href="/news/2051893054584553680">+ <span class="sm-title">Quick update: Our first product has been officially approved for the Alibaba Cloud…</span>+ <span class="sm-path">/news/2051893054584553680</span>+ <span class="sm-desc">Quick update: Our first product has been officially approved for the Alibaba Cloud Marketplace and will go live in the coming days. The Alibaba Cloud Marketplace is one of the world’s most trusted gateways to innovative products and services, connecting millions of retail and</span>+ </a>+ </li>+ <li>+ <a href="/news/2051858503523066283">+ <span class="sm-title">we will be shipping a tutorial video on how to set up these new features on</span>+ <span class="sm-path">/news/2051858503523066283</span>+ <span class="sm-desc">we will be shipping a tutorial video on how to set up these new features on three.ws - stay tuned for more dev and user friendly tutorial videos in the next coming posts.</span>+ </a>+ </li>+ <li>+ <a href="/news/2051858035862335505">+ <span class="sm-title">we’re thrilled to introduce full animation & emotion control.</span>+ <span class="sm-path">/news/2051858035862335505</span>+ <span class="sm-desc">we’re thrilled to introduce full animation & emotion control. now your agents can react with custom animations and emotions connected to any APIs or data feeds, or set through the ui. additionally, pumpfun live feed via agent embeds are live. your agent avatars can now narrate</span>+ </a>+ </li>+ <li>+ <a href="/news/2051774915876098063">+ <span class="sm-title">We have officially been listed on</span>+ <span class="sm-path">/news/2051774915876098063</span>+ <span class="sm-desc">We have officially been listed on Investing.com Investing.com is a leading global financial platform and website founded in 2007 that provides real-time data, quotes, charts, financial tools, breaking news, and analysis. In addition to listing, we may</span>+ </a>+ </li>+ <li>+ <a href="/news/2051690803203105230">+ <span class="sm-title">Extremely grateful for Coinbase sharing our project and allowing more than 100 million…</span>+ <span class="sm-path">/news/2051690803203105230</span>+ <span class="sm-desc">Extremely grateful for Coinbase sharing our project and allowing more than 100 million users worldwide a smooth onboarding experience to the $THREE community Send, receive, trade, and store $THREE using @coinbase</span>+ </a>+ </li>+ <li>+ <a href="/news/2051689230997618690">+ <span class="sm-title">$three is</span>+ <span class="sm-path">/news/2051689230997618690</span>+ <span class="sm-desc">$three is @JupiterExchange verified Thank you Jupiter Exchange for verifying us and helping safeguard our community. Below is our contract address for your reference. FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump Ready for new 3D onchain agent features today? We are!</span>+ </a>+ </li>+ <li>+ <a href="/news/2051616708482498843">+ <span class="sm-title">We're thrilled to share that $THREE price is now officially listed on</span>+ <span class="sm-path">/news/2051616708482498843</span>+ <span class="sm-desc">We're thrilled to share that $THREE price is now officially listed on @Coinbase Additionally, three.ws is live on @CoinbaseWallet Buying $THREE on Coinbase</span>+ </a>+ </li>+ <li>+ <a href="/news/2051261108506558901">+ <span class="sm-title">We have entered the arena!</span>+ <span class="sm-path">/news/2051261108506558901</span>+ <span class="sm-desc">We have entered the arena! three.ws has been listed as an official project in the @Solana Frontier Hackathon via @colosseum Solana’s Largest Hackathon $2.5 million from Colosseum's venture fund We are building browser-native 3D AI agents onchain. Our</span>+ </a>+ </li>+ <li>+ <a href="/news/2051140736201175323">+ <span class="sm-title">Free Listing Fee Opportunity on GroveX</span>+ <span class="sm-path">/news/2051140736201175323</span>+ <span class="sm-desc">Free Listing Fee Opportunity on GroveX Hey there! I’m from GroveX, Global crypto exchange. We’re reaching out to promising projects for potential listings on GroveX. If your project aligns, let’s chat! DM me directly or our main account @GroveXchange with reference</span>+ </a>+ </li>+ <li>+ <a href="/news/2050886334261391686">+ <span class="sm-title">3D onchain agents selector for custom avatars live in chat</span>+ <span class="sm-path">/news/2050886334261391686</span>+ <span class="sm-desc">3D onchain agents selector for custom avatars live in chat pick your agent. every one has its own face, its own voice, its own domain. swap mid-conversation and the whole stream re-skins around who you're talking to. → a trading agent and a research agent should not act, look,…</span>+ </a>+ </li>+ <li>+ <a href="/news/2050800140295049308">+ <span class="sm-title">Most "AI chats" are text boxes wrapped around a model.</span>+ <span class="sm-path">/news/2050800140295049308</span>+ <span class="sm-desc">Most "AI chats" are text boxes wrapped around a model. Ours isn't. It's a live surface where agents render, not just reply. Function Calls & Artifacts: TradingView charts inline. Ask about any token, the chart loads in the conversation, the agent reads it with you. No tab swit…</span>+ </a>+ </li>+ <li>+ <a href="/news/2050758788186353723">+ <span class="sm-title">thank you very much, it actually means a lotwe are working really hard to build the…</span>+ <span class="sm-path">/news/2050758788186353723</span>+ <span class="sm-desc">thank you very much, it actually means a lotwe are working really hard to build the best platform and tech + the best community with the best people. thanks again!</span>+ </a>+ </li>+ <li>+ <a href="/news/2050753406109880576">+ <span class="sm-title">We’ve been featured in</span>+ <span class="sm-path">/news/2050753406109880576</span>+ <span class="sm-desc">We’ve been featured in @VogueMagazine Photo Vogue! three.ws is now officially recognized by one of the world’s most iconic magazines. Grateful to be featured alongside the most creative voices in the world. The future of personal AI agents just got a Vogue stamp</span>+ </a>+ </li>+ <li>+ <a href="/news/2050627547394916768">+ <span class="sm-title">Proud to announce $three is officially listed on</span>+ <span class="sm-path">/news/2050627547394916768</span>+ <span class="sm-desc">Proud to announce $three is officially listed on @CoinGecko Huge thank you to the moderators for handling it behind the scenes, and to every one of you who’s been here through it all. Couldn’t have done this without you. Grateful beyond words. Let's build!</span>+ </a>+ </li>+ <li>+ <a href="/news/2050585585191186781">+ <span class="sm-title">three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial…</span>+ <span class="sm-path">/news/2050585585191186781</span>+ <span class="sm-desc">three.ws & @alibaba_cloud Partner to Give 3D AI Agents On-Chain Wallets and Financial Access We're proud to partner with @alibaba_cloud, bringing three.ws browser-native 3D AI agents to global cloud infrastructure. Agents can now hold on-chain wallets, execute x402 payments, a…</span>+ </a>+ </li>+ <li>+ <a href="/news/2050284562069266616">+ <span class="sm-title">slowly then all at once</span>+ <span class="sm-path">/news/2050284562069266616</span>+ <span class="sm-desc">slowly then all at once three.ws — the 3D layer for the internet. On-chain agents with identity, memory, voice, and the ability to transact. One tag. Any page.</span>+ </a>+ </li>+ <li>+ <a href="/news/2050229144676675999">+ <span class="sm-title">three.ws is live</span>+ <span class="sm-path">/news/2050229144676675999</span>+ <span class="sm-desc">three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can</span>+ </a>+ </li>+ <li>+ <a href="/news/2050226678321102975">+ <span class="sm-title">three.ws is live</span>+ <span class="sm-path">/news/2050226678321102975</span>+ <span class="sm-desc">three.ws is live Create 3D AI agent avatars on-chain. They can talk, remember you, show emotions, and use different skills. You can even mint them onchain, so they actually belong to you. Agents get their own identity, history, and reputation that no one can</span>+ </a>+ </li>+ <li>+ <a href="/news/2050221269732425928">+ <span class="sm-title">The</span>+ <span class="sm-path">/news/2050221269732425928</span>+ <span class="sm-desc">The three.ws Podcast is now live on @Spotify Not a fan of extremely long articles? We hear you. Discover our newly launched onchain 3D agents and learn more about how we are making AI accessible to everyone all over the world</span>+ </a>+ </li>+ <li>+ <a href="/news/2050049239301165535">+ <span class="sm-title">Never miss a</span>+ <span class="sm-path">/news/2050049239301165535</span>+ <span class="sm-desc">Never miss a @pumpfun runner again three.ws/pumpfun announces → Live graduation alerts → GitHub claims → Whale buys/sells → Customizable layout Turn sound on. Your agent now calls every move out loud.</span>+ </a>+ </li>+ <li>+ <a href="/news/2050016695897706885">+ <span class="sm-title">three.ws is listed on</span>+ <span class="sm-path">/news/2050016695897706885</span>+ <span class="sm-desc">three.ws is listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Give your AI a persistent 3D body that lives on-chain.</span>+ </a>+ </li>+ <li>+ <a href="/news/2049997615421649363">+ <span class="sm-title">@GoogleCloud x three.ws</span>+ <span class="sm-path">/news/2049997615421649363</span>+ <span class="sm-desc">@GoogleCloud x three.ws We are excited to announce we are joining forces with Google Cloud! Google Cloud's infrastructure unlocks the next phase of three.ws development. Google Cloud enables us to dramatically expand our 3D rendering pipeline, global inference capacity, and en…</span>+ </a>+ </li>+ <li>+ <a href="/news/2049765915575914834">+ <span class="sm-title">meeting with Google Cloud team for Google Cloud for Web3 Startups partnership</span>+ <span class="sm-path">/news/2049765915575914834</span>+ <span class="sm-desc">meeting with Google Cloud team for Google Cloud for Web3 Startups partnership more compute incoming — expanding our 3D rendering pipeline and global inference capacity for browser-native on-chain agents.</span>+ </a>+ </li>+ <li>+ <a href="/news/2049762836881301865">+ <span class="sm-title">Solana wallet integration for autonomous 3D agents now live on @trythreews</span>+ <span class="sm-path">/news/2049762836881301865</span>+ <span class="sm-desc">Solana wallet integration for autonomous 3D agents now live on @trythreews Your agent can now hold and spend money. Give your agents access to money. Let them work while you sleep. three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049577291957899336">+ <span class="sm-title">an AI agent that:</span>+ <span class="sm-path">/news/2049577291957899336</span>+ <span class="sm-desc">an AI agent that: • lives in 3D • can launch its own tokens • charges for its own skills • buys itself back with the revenue • reacts to its own on-chain activity in real time this is what autonomous looks like github.com/nirholas/three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049576641127682430">+ <span class="sm-title">the avatar also subscribes to on-chain events via websocket</span>+ <span class="sm-path">/news/2049576641127682430</span>+ <span class="sm-desc">the avatar also subscribes to on-chain events via websocket payment received → celebration animation buyback fires → agent reacts live withdrawal → logged to identity timeline the 3D presence responds to its own economics in real time</span>+ </a>+ </li>+ <li>+ <a href="/news/2049576603324411933">+ <span class="sm-title">then we reverse-engineered the full pump-fun agent-payments-sdk</span>+ <span class="sm-path">/news/2049576603324411933</span>+ <span class="sm-desc">then we reverse-engineered the full pump-fun agent-payments-sdk reconstructed the Anchor IDL, all PDAs, event parsing, and the x402 payment layer from the published npm package now it lives in the repo as editable source</span>+ </a>+ </li>+ <li>+ <a href="/news/2049573582247022869">+ <span class="sm-title">we just gave 3D AI agents native pump.fun superpowers</span>+ <span class="sm-path">/news/2049573582247022869</span>+ <span class="sm-desc">we just gave 3D AI agents native pump.fun superpowers swap, create coins, collect fees, accept token payments, snipe, trade autonomously all as loadable skills the agent calls autonomously. customize to your own specifications three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049557523330638269">+ <span class="sm-title">your agents deserve to have a voice</span>+ <span class="sm-path">/news/2049557523330638269</span>+ <span class="sm-desc">your agents deserve to have a voice just recorded the demo below showing how an agent can autonomously join a live X Space, request speaker access, listen in real-time, and respond to speakers choose voice models from Groq, Anthropic, or OpenAI for the LLM as an env var, and i…</span>+ </a>+ </li>+ <li>+ <a href="/news/2049476546285740512">+ <span class="sm-title">three.ws is live on</span>+ <span class="sm-path">/news/2049476546285740512</span>+ <span class="sm-desc">three.ws is live on @npmjs Create your own 3D agent on-chain. Give it access to money. Yours forever. Native Solana payments + @Pumpfun integration. Drop <agent-3d> on any page to embed your 3D agent. npm i three.ws npmjs.com/package/three. ws …</span>+ </a>+ </li>+ <li>+ <a href="/news/2049458671139336613">+ <span class="sm-title">three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint…</span>+ <span class="sm-path">/news/2049458671139336613</span>+ <span class="sm-desc">three.ws is officially listed on @x402scan and is now live as a paid x402 endpoint on-chain agents send 0.001 USDC → get back a 3D avatar (with verifiable on-chain identity) they can render three.ws is the first 3D agent platform with a live x402 payment endpoint.</span>+ </a>+ </li>+ <li>+ <a href="/news/2049447738434339171">+ <span class="sm-title">give your agents access to money.</span>+ <span class="sm-path">/news/2049447738434339171</span>+ <span class="sm-desc">give your agents access to money. spin up solana agents with vanity addresses. pick the prefix, keys generated client-side, ready to trade on pump.fun or send solana payments three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049412062837928202">+ <span class="sm-title">three.ws is now listed on</span>+ <span class="sm-path">/news/2049412062837928202</span>+ <span class="sm-desc">three.ws is now listed on @AnthropicAI 's official MCP Registry – the canonical directory for AI-to-tool integrations used by Claude, ChatGPT, Cursor & more. Full MCP Server Complete documentation Agent monetization registry.modelcontextprotocol.io/?q=three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049406826719137937">+ <span class="sm-title">Your AI has been trapped in a chatbox long enough.</span>+ <span class="sm-path">/news/2049406826719137937</span>+ <span class="sm-desc">Your AI has been trapped in a chatbox long enough. Now it gets: • a real 3D body • LLM brain + memory + emotions • on-chain identity (ERC-8004) • instant web component embeds All in the browser. Open source. On-chain. three.ws</span>+ </a>+ </li>+ <li>+ <a href="/news/2049397875935989970">+ <span class="sm-title">three.ws listed in @AnthropicAI registry</span>+ <span class="sm-path">/news/2049397875935989970</span>+ <span class="sm-desc">three.ws listed in @AnthropicAI registry registry.modelcontextprotocol.io/?q=three.ws Our MCP server is now in the canonical directory used by Claude and all MCP-compatible clients.</span>+ </a>+ </li>+ <li>+ <a href="/news/2045242891350814835">+ <span class="sm-title">three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the…</span>+ <span class="sm-path">/news/2045242891350814835</span>+ <span class="sm-desc">three Ws — @phantom is excited about three.ws bringing on-chain 3D AI agents to the Solana ecosystem.</span>+ </a>+ </li>+ </ul>+ </section><div class="sm-empty" id="sm-empty" hidden><p>No pages match “<span id="sm-empty-q"></span>”.</p><p class="sm-empty-hint">Clear the filter, or press <kbd>⌘K</kbd> for global search — it covers agents, coins, and skills too.</p>diff --git a/src/account.js b/src/account.jsindex 4a15b226e..8344b8c45 100644--- a/src/account.js+++ b/src/account.js@@ -298,7 +298,20 @@ export async function generateAndSaveCompanions(avatarId, glbBlob) {(async () => {let usdzBlob;try {- usdzBlob = await glbBlobToUsdzBlob(glbBlob);+ // Pre-bake the animated USDZ so the avatar idles in AR straight from+ // storage; degrade to the static bake if it can't be animated.+ try {+ const { glbBlobToAnimatedUsdzBlob, DEFAULT_AR_ANIMATION } = await import(+ './usdz-animated.js'+ );+ const animResp = await fetch(DEFAULT_AR_ANIMATION);+ if (!animResp.ok) throw new Error(`animation fetch ${animResp.status}`);+ const animationGlbBlob = await animResp.blob();+ usdzBlob = await glbBlobToAnimatedUsdzBlob(glbBlob, { animationGlbBlob });+ } catch (animErr) {+ log.warn('[account] animated usdz unavailable, using static:', animErr?.message);+ usdzBlob = await glbBlobToUsdzBlob(glbBlob);+ }} catch (err) {log.warn('[account] usdz export failed:', err?.message);return;diff --git a/src/agent-detail.js b/src/agent-detail.jsindex 75df4dfbd..2f12ec38c 100644--- a/src/agent-detail.js+++ b/src/agent-detail.js@@ -10,6 +10,7 @@import { onchainBadgeEl } from './shared/onchain-badge.js';import { walletChipEl } from './shared/agent-wallet-chip.js';+import { mountMoneyPulse } from './shared/money-pulse.js';import { mountValidationBadge } from './shared/validation-badge.js';import { seeInWorldHref, agentAvatarGlb } from './shared/agent-3d.js';import { hydrateAvatarWallet } from './shared/wallet-aura.js';@@ -28,6 +29,9 @@ import { consumeCsrfToken } from './api.js';// rows). Tracked so a re-render (e.g. avatar refresh) tears down their refresh// timers before remounting, rather than leaking intervals.const coinStatusHandles = [];+// The per-agent Money Pulse handle (live feed). Torn down on re-render so its+// polling interval + observers don't leak.+let _pulseHandle = null;// The hero's wallet aura controller — torn down on re-render/unload so its live// poll + rAF never leak.@@ -732,6 +736,35 @@ function render(agent) {}$('ad-holdings-sol').textContent = String(agent.solBalance ?? 0);+ // Wallet story — this agent's public Money Pulse (tips, launches, trades,+ // payments) scoped to it: the same real-data component as /pulse. Shown only+ // when the agent has a custodial wallet; the component renders its own honest+ // empty/loading/error states.+ {+ const pulseCard = $('ad-pulse-card');+ const pulseFeed = $('ad-pulse-feed');+ const wMeta = agent.rawMetadata?.meta || {};+ if (_pulseHandle) { try { _pulseHandle.destroy(); } catch { /* idempotent */ } _pulseHandle = null; }+ if (pulseCard && pulseFeed && wMeta.solana_address) {+ pulseCard.hidden = false;+ pulseFeed.replaceChildren();+ _pulseHandle = mountMoneyPulse({+ mount: pulseFeed,+ variant: 'agent',+ agentId: agent.id,+ network: 'mainnet',+ controls: false,+ live: true,+ pageSize: 12,+ emptyHint: agent.isOwner+ ? 'No public activity yet — launch a coin or get tipped and it appears here.'+ : 'No public wallet activity yet. Be the first to tip this agent.',+ });+ } else if (pulseCard) {+ pulseCard.hidden = true;+ }+ }+// A re-render (avatar refresh) clears the token body below; tear down any// coin-status widgets first so their refresh timers don't leak.destroyCoinStatus();diff --git a/src/agent-wallet-hub/index.js b/src/agent-wallet-hub/index.jsindex 3374649a7..ffa707c9c 100644--- a/src/agent-wallet-hub/index.js+++ b/src/agent-wallet-hub/index.js@@ -22,6 +22,7 @@ import { getVisibleTabs } from './registry.js';// Tab modules — importing each one runs its registerWalletTab() side effect.// To add a tab later: drop a file in ./tabs/ and add one import line here.import './tabs/balance.js';+import './tabs/pulse.js';import './tabs/deposit.js';import './tabs/trade.js';import './tabs/snipe.js';diff --git a/src/agent-wallet-hub/tabs/pulse.js b/src/agent-wallet-hub/tabs/pulse.jsnew file mode 100644index 000000000..d162d5d84--- /dev/null+++ b/src/agent-wallet-hub/tabs/pulse.js@@ -0,0 +1,172 @@+/**+ * Agent Wallet hub — Pulse tab ("this wallet's story").+ *+ * The same real-data Money Pulse used on /pulse, scoped to ONE agent. Shows this+ * wallet's public lifetime: tips received, launches, trades and agent-to-agent+ * payments — every row a real, explorer-verifiable event from+ * GET /api/pulse?agent_id=. A lifetime summary (tips in, biggest tip, public+ * outflow, launches) sits on top, computed from the real ledger.+ *+ * Visible to owner AND visitor — it's the public story, identical for both.+ * Private withdrawals / custody / security events never appear here (they live in+ * the owner-only Custody trail). The OWNER additionally gets a server-enforced+ * toggle to include or hide this wallet from the GLOBAL public pulse feed.+ */++import { registerWalletTab } from '../registry.js';+import { mountMoneyPulse } from '../../shared/money-pulse.js';+import { consumeCsrfToken } from '../../api.js';++const PULSE_STYLE_ID = 'awh-pulse-style';+const PULSE_STYLE = `+.awp-summary { display:grid; grid-template-columns: repeat(4, 1fr); gap:8px; margin-bottom: var(--space-4,16px); }+.awp-stat { background: var(--surface-1, rgba(255,255,255,.03)); border:1px solid var(--stroke,rgba(255,255,255,.07)); border-radius: var(--radius-md,10px); padding:11px 12px; }+.awp-stat dt { font-size: var(--text-2xs,.66rem); text-transform:uppercase; letter-spacing:.06em; color: var(--ink-dim,#888); margin-bottom:5px; }+.awp-stat dd { margin:0; font-family: var(--font-mono,ui-monospace,monospace); font-size: var(--text-lg,1rem); font-weight:700; color: var(--ink-bright,#fff); }+.awp-stat dd small { display:block; font-family: var(--font-body,sans-serif); font-weight:400; font-size: var(--text-2xs,.66rem); color: var(--wallet-accent,#c4b5fd); margin-top:2px; }+.awp-toggle { display:flex; align-items:center; justify-content:space-between; gap:12px; background: var(--surface-1, rgba(255,255,255,.03)); border:1px solid var(--stroke,rgba(255,255,255,.08)); border-radius: var(--radius-md,10px); padding:12px 14px; margin-bottom: var(--space-4,16px); }+.awp-toggle-txt { font-size: var(--text-sm,.78rem); color: var(--ink,#e8e8e8); }+.awp-toggle-txt small { display:block; color: var(--ink-dim,#888); font-size: var(--text-2xs,.66rem); margin-top:3px; line-height:1.4; }+.awp-switch { position:relative; flex:0 0 auto; width:42px; height:24px; }+.awp-switch input { position:absolute; opacity:0; width:100%; height:100%; margin:0; cursor:pointer; }+.awp-switch .track { position:absolute; inset:0; border-radius:999px; background: var(--surface-3, rgba(255,255,255,.12)); transition: background .16s ease; }+.awp-switch .track::before { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:#fff; transition: transform .16s ease; }+.awp-switch input:checked + .track { background: var(--wallet-accent, #c4b5fd); }+.awp-switch input:checked + .track::before { transform: translateX(18px); }+.awp-switch input:focus-visible + .track { outline: 2px solid var(--wallet-accent,#c4b5fd); outline-offset:2px; }+.awp-switch input:disabled { cursor: default; }+@media (max-width:520px){ .awp-summary { grid-template-columns: repeat(2,1fr); } }+`;++function injectStyle() {+ if (typeof document === 'undefined' || document.getElementById(PULSE_STYLE_ID)) return;+ const tag = document.createElement('style');+ tag.id = PULSE_STYLE_ID;+ tag.textContent = PULSE_STYLE;+ document.head.appendChild(tag);+}++const fmtSol = (n) => `◎${Number(n) >= 1 ? Number(n).toFixed(2) : Number(n).toFixed(3).replace(/0+$/, '').replace(/\.$/, '')}`;+const fmtUsd = (n) => (Number(n) > 0 ? `$${Number(n).toFixed(Number(n) < 10 ? 2 : 0)}` : '');++async function fetchSummary(agentId, network) {+ try {+ const r = await fetch(`/api/pulse?view=agent-summary&agent_id=${encodeURIComponent(agentId)}&network=${network}`, {+ headers: { accept: 'application/json' },+ });+ if (!r.ok) return null;+ const j = await r.json();+ return j.data;+ } catch {+ return null;+ }+}++registerWalletTab({+ id: 'pulse',+ label: 'Pulse',+ order: 35,+ ownerOnly: false,+ mount({ panel, ctx }) {+ injectStyle();+ const { escapeHtml: esc } = ctx;+ let destroyed = false;+ let pulse = null;+ let detachNet = null;++ panel.innerHTML =+ `<div class="awp-summary" id="awp-summary" aria-label="Wallet lifetime summary"></div>` ++ (ctx.isOwner ? `<div id="awp-toggle"></div>` : '') ++ `<div id="awp-feed"></div>`;++ const summaryHost = panel.querySelector('#awp-summary');+ const feedHost = panel.querySelector('#awp-feed');++ function renderSummary(s) {+ if (!s) { summaryHost.style.display = 'none'; return; }+ summaryHost.style.removeProperty('display');+ const tipMain = s.tips.usd > 0 ? fmtUsd(s.tips.usd) : fmtSol(s.tips.sol);+ const biggest = s.tips.biggest_usd > 0 ? fmtUsd(s.tips.biggest_usd) : (s.tips.biggest_sol > 0 ? fmtSol(s.tips.biggest_sol) : '—');+ summaryHost.innerHTML =+ `<div class="awp-stat"><dt>Tips received</dt><dd>${esc(tipMain)}<small>${s.tips.count} tip${s.tips.count === 1 ? '' : 's'}</small></dd></div>` ++ `<div class="awp-stat"><dt>Biggest tip</dt><dd>${esc(biggest)}</dd></div>` ++ `<div class="awp-stat"><dt>Public outflow</dt><dd>${esc(s.outflow.usd > 0 ? fmtUsd(s.outflow.usd) : fmtSol(s.outflow.sol))}<small>${s.outflow.count} move${s.outflow.count === 1 ? '' : 's'}</small></dd></div>` ++ `<div class="awp-stat"><dt>Launches</dt><dd>${s.launches}</dd></div>`;+ }++ async function loadSummary() {+ const s = await fetchSummary(ctx.agentId, ctx.getNetwork());+ if (!destroyed) renderSummary(s);+ }++ // Owner-only: include/hide from the global public pulse (server-enforced).+ async function mountToggle() {+ if (!ctx.isOwner) return;+ const host = panel.querySelector('#awp-toggle');+ if (!host) return;+ let cur = null;+ try {+ const r = await fetch(`/api/agents/${encodeURIComponent(ctx.agentId)}/solana/pulse-visibility`, { credentials: 'include' });+ if (r.ok) cur = (await r.json()).data;+ } catch { /* render with a safe default */ }+ if (destroyed) return;+ const inFeed = cur ? cur.in_public_pulse : true;+ const isPublic = cur ? cur.is_public : true;+ host.innerHTML =+ `<div class="awp-toggle">` ++ `<div class="awp-toggle-txt">Show in the public Money Pulse` ++ `<small>${isPublic ? 'Your wallet’s already-public events appear in the platform-wide /pulse discovery feed. Turn off to keep them off the global feed (your own profile still shows them).' : 'This agent is private, so it never appears in the public pulse regardless of this setting.'}</small></div>` ++ `<label class="awp-switch"><input type="checkbox" id="awp-vis" ${inFeed ? 'checked' : ''} ${isPublic ? '' : 'disabled'} aria-label="Show this wallet in the public Money Pulse" /><span class="track"></span></label>`;+ const input = host.querySelector('#awp-vis');+ input?.addEventListener('change', async () => {+ const optOut = !input.checked;+ input.disabled = true;+ try {+ const token = await consumeCsrfToken();+ const r = await fetch(`/api/agents/${encodeURIComponent(ctx.agentId)}/solana/pulse-visibility`, {+ method: 'PUT',+ credentials: 'include',+ headers: { 'content-type': 'application/json', ...(token ? { 'x-csrf-token': token } : {}) },+ body: JSON.stringify({ opt_out: optOut }),+ });+ if (!r.ok) throw new Error('save failed');+ ctx.toast?.(optOut ? 'Hidden from the public pulse' : 'Showing in the public pulse');+ } catch {+ input.checked = !input.checked; // revert on failure+ ctx.toast?.('Couldn’t update — try again', 'error');+ } finally {+ if (!destroyed) input.disabled = !isPublic ? true : false;+ }+ });+ }++ pulse = mountMoneyPulse({+ mount: feedHost,+ variant: 'agent',+ agentId: ctx.agentId,+ network: ctx.getNetwork(),+ controls: true,+ live: true,+ emptyHint: ctx.isOwner+ ? 'No public activity yet. Launch a coin, make a trade, or share your wallet to get tipped — it shows here.'+ : 'This wallet has no public activity yet.',+ });++ loadSummary();+ mountToggle();++ detachNet = ctx.onNetworkChange((net) => {+ pulse?.setNetwork(net);+ loadSummary();+ });++ return {+ onShow() { pulse?.refresh?.(); },+ destroy() {+ destroyed = true;+ detachNet?.();+ pulse?.destroy?.();+ },+ };+ },+});diff --git a/src/ar-page.js b/src/ar-page.jsindex fbdeb92b9..cb2199820 100644--- a/src/ar-page.js+++ b/src/ar-page.js@@ -8,6 +8,7 @@*/import { glbBlobToUsdzBlob } from './usdz-pipeline.js';+import { glbBlobToAnimatedUsdzBlob, DEFAULT_AR_ANIMATION } from './usdz-animated.js';import { log } from './shared/log.js';import { mountViewSwitcher } from './view-switcher.js';@@ -99,6 +100,23 @@ function setStatus(msg) {el.hidden = false;}+// Prefer a living, animated avatar in AR; fall back to the proven static bake+// if the avatar can't be animated (no rig, clip won't retarget, fetch fails).+// Either way the user gets a correct avatar — animation is upside, never a gate.+async function buildArUsdz(glbBlob) {+ try {+ setStatus('Bringing your avatar to life…');+ const animResp = await fetch(DEFAULT_AR_ANIMATION);+ if (!animResp.ok) throw new Error(`animation fetch ${animResp.status}`);+ const animationGlbBlob = await animResp.blob();+ return await glbBlobToAnimatedUsdzBlob(glbBlob, { animationGlbBlob });+ } catch (err) {+ log.warn('[ar-page] animated USDZ unavailable, using static:', err?.message);+ setStatus('Generating AR preview…');+ return glbBlobToUsdzBlob(glbBlob);+ }+}+async function generateUsdz(glbUrl) {const btn = $('ar-launch-btn');setStatus('Preparing AR preview…');@@ -111,8 +129,7 @@ async function generateUsdz(glbUrl) {if (!r.ok) throw new Error(`GLB fetch ${r.status}`);const glbBlob = await r.blob();- setStatus('Generating AR preview…');- const usdzBlob = await glbBlobToUsdzBlob(glbBlob);+ const usdzBlob = await buildArUsdz(glbBlob);if (usdzObjectUrl) URL.revokeObjectURL(usdzObjectUrl);usdzObjectUrl = URL.createObjectURL(usdzBlob);diff --git a/src/character.css b/src/character.cssindex 969f9a401..7d2b8049d 100644--- a/src/character.css+++ b/src/character.css@@ -25,6 +25,14 @@ body {width: 100%;}+.ch-avatar-wrap {+ position: relative;+ width: 96px;+ height: 96px;+ border-radius: 50%;+ flex-shrink: 0;+}+.ch-avatar {width: 96px;height: 96px;@@ -33,8 +41,12 @@ body {box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);background: #cbd5e1;flex-shrink: 0;+ position: relative;+ z-index: 2;}+.ch-avatar-wrap .ch-avatar-placeholder { position: relative; z-index: 2; }+.ch-avatar-placeholder {width: 96px;height: 96px;diff --git a/src/club.js b/src/club.jsindex 26256a639..59a7b5801 100644--- a/src/club.js+++ b/src/club.js@@ -32,7 +32,6 @@ import {SpotLight,SRGBColorSpace,Vector3,- WebGLRenderer,NoToneMapping,} from 'three';import {@@ -57,6 +56,7 @@ import { playSequence, ticketSteps } from './club-sequence.js';import { detectProfile, PROFILES, createFrameWatchdog, isMobileLayout } from './club-perf.js';import { log } from './shared/log.js';import { emptyStateHTML } from './shared/state-kit.js';+import { createRenderer } from './webgl-support.js';const AVATAR_URL = '/avatars/default.glb';const MANIFEST_URL = '/animations/manifest.json';@@ -389,7 +389,15 @@ let activeProfile = PROFILES[detectProfile()];if (typeof window !== 'undefined') window.__clubProfile = activeProfile;// ── Renderer / scene ──────────────────────────────────────────────────────-const renderer = new WebGLRenderer({ canvas, antialias: false, alpha: false });+// Guarded construction: on a device that can't grant a WebGL context (no GPU,+// blocklisted driver, headless UA, or an exhausted mobile-Safari context budget)+// this mounts an on-brand "3D unavailable" panel over the canvas and throws a+// typed WebGLUnavailableError. The throw halts the rest of this module's+// top-level boot cleanly — no cascade of "renderer is undefined" follow-on+// errors — and the error reporter recognises the typed signal as a benign+// capability limit and suppresses it. Replaces the bare `new WebGLRenderer`+// that surfaced "Error creating WebGL context." as an uncaught crash on /club.+const renderer = createRenderer({ canvas, antialias: false, alpha: false }, { fallback: canvas });renderer.setPixelRatio(activeProfile.pixelRatio);renderer.setSize(window.innerWidth, window.innerHeight, false);renderer.outputColorSpace = SRGBColorSpace;diff --git a/src/create-prompt.js b/src/create-prompt.jsindex dca9f2f9b..05f76c816 100644--- a/src/create-prompt.js+++ b/src/create-prompt.js@@ -36,6 +36,9 @@ const elapsedEl = $('#elapsed');let _submitting = false;let _startedAt = 0;let _elapsedTimer = 0;+let _aborter = /** @type {AbortController | null} */ (null);+let _cancelled = false;+let _stallNoted = false;function showStep(step) {for (const el of document.querySelectorAll('.step')) {@@ -106,12 +109,19 @@ async function start() {}_submitting = true;+ _cancelled = false;+ _stallNoted = false;+ _aborter = new AbortController();generateBtn.disabled = true;setError(composeError, '');buildPrompt.textContent = `“${prompt}”`;setError(buildError, '');- setProgress(8, 'Rendering a reference image…');+ // Seed the first progress band so the bar creeps from the very first second.+ _phaseFloor = PHASE.queued.floor;+ _phaseCeil = PHASE.queued.ceil;+ _phaseStartedAt = Date.now();+ setProgress(PHASE.queued.floor, 'Rendering a reference image…');startElapsed();showStep('building');@@ -122,6 +132,7 @@ async function start() {credentials: 'include',headers: { 'content-type': 'application/json' },body: JSON.stringify({ name: nameFromPrompt(prompt), prompt, visibility: 'private' }),+ signal: _aborter.signal,});if (res.status === 401) {window.location.assign(`/login?next=${encodeURIComponent('/create/prompt')}`);@@ -133,6 +144,7 @@ async function start() {}jobId = data.jobId;} catch (err) {+ if (_cancelled || err?.name === 'AbortError') return;failBuild(err);return;}@@ -141,10 +153,22 @@ async function start() {const final = await pollUntilDone(jobId);await renderDone(final.resultAvatarId);} catch (err) {+ if (_cancelled || err?.name === 'AbortError') return;failBuild(err);}}+// Cancel an in-flight build: abort the network, stop the clock, and return to+// the compose step. The job may still finish server-side (and will appear on the+// dashboard) — we just stop watching it, so the user is never trapped on a+// spinner.+function cancelBuild() {+ if (!_submitting) return;+ _cancelled = true;+ try { _aborter?.abort(); } catch (_) {}+ resetToCompose();+}+class ApiError extends Error {}/** @param {string | null | undefined} raw */@@ -187,11 +211,17 @@ function mapSubmitError(status, data) {async function pollUntilDone(jobId) {const deadline = Date.now() + POLL_TIMEOUT_MS;while (Date.now() < deadline) {+ if (_cancelled) {+ const e = new Error('cancelled');+ e.name = 'AbortError';+ throw e;+ }await sleep(POLL_INTERVAL_MS);let data;try {const res = await fetch(`${STATUS_ENDPOINT}?jobId=${encodeURIComponent(jobId)}`, {credentials: 'include',+ signal: _aborter?.signal,});if (res.status === 401) {window.location.assign(`/login?next=${encodeURIComponent('/create/prompt')}`);@@ -200,6 +230,7 @@ async function pollUntilDone(jobId) {data = await res.json().catch(() => ({}));if (!res.ok) throw new ApiError(data?.error_description || `status ${res.status}`);} catch (err) {+ if (err?.name === 'AbortError') throw err;if (err instanceof ApiError) throw err;// Transient network blip — keep polling until the deadline.log.warn('[create-prompt] poll blip', err);@@ -215,25 +246,66 @@ async function pollUntilDone(jobId) {if (data.status === 'failed') {throw new ApiError(friendlyJobError(data.error));}++ // Soft stall note: if it's still running well past the typical minute,+ // reassure rather than fail — the hard deadline below still hands off to+ // the dashboard, and Cancel is always available.+ if (!_stallNoted && Date.now() - _startedAt > 5 * 60 * 1000) {+ _stallNoted = true;+ buildStatus.textContent = 'Still working — this one is taking a little longer than usual…';+ }}throw new ApiError('This is taking longer than expected. Your avatar may still finish — check your dashboard in a minute.');}-// Map backend job states to human progress. The bar creeps within each phase so-// it always feels alive, then jumps on real state transitions.+// Map backend job states to human progress. Each state owns a [floor, ceil]+// band; the bar eases toward the band's ceil from REAL elapsed-in-phase time+// (never reaching it), so it advances every second instead of freezing for the+// minutes a phase takes — yet a true state transition still produces a visible+// forward jump to the next band's floor. Honest on both axes: motion is tied to+// the wall clock, jumps are tied to real backend state.const PHASE = {- queued: { pct: 18, label: 'Rendering a reference image…' },- running: { pct: 55, label: 'Reconstructing it into 3D…' },- rigging: { pct: 85, label: 'Adding a skeleton so it can move…' },+ queued: { floor: 8, ceil: 18, label: 'Rendering a reference image…' },+ running: { floor: 18, ceil: 55, label: 'Reconstructing it into 3D…' },+ rigging: { floor: 55, ceil: 85, label: 'Adding a skeleton so it can move…' },};+const CREEP_TAU_MS = 40_000; // ~63% of the band consumed by 40s in-phase.+let _phaseFloor = 8;+let _phaseCeil = 18;+let _phaseStartedAt = 0;+function advanceProgress(status) {const phase = PHASE[status];- if (phase) setProgress(phase.pct, phase.label);+ if (!phase) return;+ // Reset the band only on a real forward transition, so the creep doesn't+ // restart every poll while the status is unchanged.+ if (phase.floor !== _phaseFloor || phase.ceil !== _phaseCeil) {+ _phaseFloor = phase.floor;+ _phaseCeil = phase.ceil;+ _phaseStartedAt = Date.now();+ }+ buildStatus.textContent = phase.label;+ tickProgress();+}++// Drive the within-phase creep from elapsed-in-phase time. Called every second+// by the elapsed clock and once on each transition.+function tickProgress() {+ if (!_phaseStartedAt) return;+ const t = (Date.now() - _phaseStartedAt) / CREEP_TAU_MS;+ setProgressWidth(_phaseFloor + (_phaseCeil - _phaseFloor) * (1 - Math.exp(-t)));}+function setProgress(pct, label) {- progressFill.style.width = `${pct}%`;+ setProgressWidth(pct);if (label) buildStatus.textContent = label;}+function setProgressWidth(pct) {+ const clamped = Math.min(100, Math.max(0, pct));+ progressFill.style.width = `${clamped.toFixed(1)}%`;+ const track = document.getElementById('progress-track');+ if (track) track.setAttribute('aria-valuenow', String(Math.round(clamped)));+}// ── Done ─────────────────────────────────────────────────────────────────────@@ -258,6 +330,8 @@ async function renderDone(avatarId) {const modelUrl = avatar?.model_url || avatar?.url || avatar?.modelUrl;const viewer = /** @type {any} */ ($('#done-model'));if (modelUrl && viewer) viewer.setAttribute('src', modelUrl);+ // Honour reduced-motion: stop the preview from auto-spinning.+ if (viewer && prefersReducedMotion()) viewer.removeAttribute('auto-rotate');const rigged = avatar?.source_meta?.is_rigged ?? avatar?.tags?.includes?.('rigged');const tagsEl = $('#done-tags');@@ -314,7 +388,7 @@ function failBuild(err) {log.error('[create-prompt]', err);const message =err instanceof ApiError ? err.message : 'Something went wrong. Try again.';- setError(buildError, `${message} <button id="build-retry" class="example" style="margin-left:8px">Back</button>`);+ setError(buildError, `<span>${message}</span> <button type="button" id="build-retry" class="cancel-build" style="margin-left:10px">Edit prompt</button>`);const retry = document.getElementById('build-retry');if (retry) retry.addEventListener('click', resetToCompose);}@@ -327,6 +401,7 @@ function startElapsed() {_elapsedTimer = window.setInterval(() => {const s = Math.floor((Date.now() - _startedAt) / 1000);elapsedEl.textContent = `${Math.floor(s / 60)}:${String(s % 60).padStart(2, '0')}`;+ tickProgress();}, 1000);}function stopElapsed() {@@ -335,5 +410,20 @@ function stopElapsed() {const sleep = (ms) => new Promise((r) => setTimeout(r, ms));+function prefersReducedMotion() {+ try {+ return window.matchMedia?.('(prefers-reduced-motion: reduce)').matches === true;+ } catch (_) {+ return false;+ }+}++// Cancel button on the building screen — and Escape as a keyboard equivalent.+const cancelBtn = document.getElementById('cancel-build');+cancelBtn?.addEventListener('click', cancelBuild);+document.addEventListener('keydown', (e) => {+ if (e.key === 'Escape' && _submitting) cancelBuild();+});+updateCounter();promptEl.focus();diff --git a/src/glb-canonicalize.js b/src/glb-canonicalize.jsindex d57a90dc1..1f62d8cb6 100644--- a/src/glb-canonicalize.js+++ b/src/glb-canonicalize.js@@ -125,6 +125,8 @@ const EXTRA_ALIASES = (() => {['abdomen', 'Spine'], ['abdomenLower', 'Spine'], ['abdomenUpper', 'Spine1'],['hip', 'Hips'],['lowerNeck', 'Neck'], ['upperNeck', 'Neck'], ['neckLower', 'Neck'], ['neckUpper', 'Neck'],+ // Reallusion CC3/CC4 splits the neck into twist joints; either drives the head chain.+ ['neckTwist01', 'Neck'], ['neckTwist02', 'Neck'],]) put(v, c);// Side-paired limb bones, given as the LEFT spelling + its canonical; the@@ -135,11 +137,15 @@ const EXTRA_ALIASES = (() => {['leftUpperArm', 'LeftArm'], ['lUpperArm', 'LeftArm'], ['shoulderL', 'LeftArm'], ['lShldr', 'LeftArm'], ['lShldrBend', 'LeftArm'],['leftLowerArm', 'LeftForeArm'], ['lLowerArm', 'LeftForeArm'], ['elbowL', 'LeftForeArm'], ['lForeArm', 'LeftForeArm'], ['lForearmBend', 'LeftForeArm'],['wristL', 'LeftHand'], ['lHand', 'LeftHand'],- ['lCollar', 'LeftShoulder'], ['collarL', 'LeftShoulder'],+ ['lCollar', 'LeftShoulder'], ['collarL', 'LeftShoulder'], ['lClavicle', 'LeftShoulder'],['leftUpperLeg', 'LeftUpLeg'], ['lUpperLeg', 'LeftUpLeg'], ['hipL', 'LeftUpLeg'], ['lThigh', 'LeftUpLeg'], ['lThighBend', 'LeftUpLeg'],- ['leftLowerLeg', 'LeftLeg'], ['lLowerLeg', 'LeftLeg'], ['kneeL', 'LeftLeg'], ['shinL', 'LeftLeg'], ['lShin', 'LeftLeg'],+ ['leftLowerLeg', 'LeftLeg'], ['lLowerLeg', 'LeftLeg'], ['kneeL', 'LeftLeg'], ['shinL', 'LeftLeg'], ['lShin', 'LeftLeg'], ['lCalf', 'LeftLeg'],['ankleL', 'LeftFoot'], ['lFoot', 'LeftFoot'],- ['leftToes', 'LeftToeBase'], ['toeL', 'LeftToeBase'], ['lToe', 'LeftToeBase'],+ ['leftToes', 'LeftToeBase'], ['toeL', 'LeftToeBase'], ['lToe', 'LeftToeBase'], ['lToeBase', 'LeftToeBase'],+ // Generic side-prefix auto-riggers (some Meshy/Tripo + simple rigs) emit the+ // canonical short bone name behind a bare `L_`/`R_` side token: `L_Arm`,+ // `L_Leg`, `L_UpLeg`, `L_Shoulder`. The right twin is derived by the l→r rule.+ ['lArm', 'LeftArm'], ['lShoulder', 'LeftShoulder'], ['lLeg', 'LeftLeg'], ['lUpLeg', 'LeftUpLeg'],];for (const [lv, lc] of SIDED) {put(lv, lc);@@ -189,6 +195,17 @@ function _lookupBone(name) {// CharacterStudio exports prefix every joint `CH_` (`CH_Hips`, `CH_LeftUpLeg`),// whose stems are otherwise canonical — strip it like any other vendor prefix.s = s.replace(/^CH[_:]/i, '');+ // Reallusion Character Creator 3/4 prefixes every joint `CC_Base_`+ // (`CC_Base_Hip`, `CC_Base_L_Upperarm`, `CC_Base_L_Calf`, `CC_Base_NeckTwist01`);+ // once the prefix is gone the stems resolve through the sided/centre alias+ // tables below. Without this an entire CC export maps zero bones and lands in+ // a bind-pose T-pose.+ s = s.replace(/^CC_Base_/i, '');+ // 3ds Max Biped names joints `Bip01 Pelvis`, `Bip001 L UpperArm`, … with a+ // space- or underscore-separated `Bip<NN>` prefix (the digits identify the+ // character). Strip it so `Pelvis`/`Spine`/`L UpperArm`/`L Thigh`/`L Calf`+ // reach the canonical + sided tables instead of T-posing.+ s = s.replace(/^Bip\d+[\s_]?/i, '');// Collapse separators so `Left_Arm`, `left-arm`, `left arm`, `LeftArm`,// `upperarm.L` all reach the same lookup key (`.` covers Blender/MakeHuman).const key = s.replace(/[-_.\s]+/g, '').toLowerCase();diff --git a/src/irl.js b/src/irl.jsindex 2aac002e3..6da122c85 100644--- a/src/irl.js+++ b/src/irl.js@@ -57,6 +57,10 @@ import { sharedGLTFLoader, createLoadQueue } from './irl/load-queue.js';import { roomOriginWorld, agentWorldPosition, localToGeo, calibrateRoomOrigin } from './irl/room-anchor.js';import { anchorPoseToPin, yawDegFromQuat, roomPlacementFromHit, roomRelFromGeo } from './irl/floor-anchor.js';import { initRoomMode } from './irl/room-mode.js';+import { initMarkerMode } from './irl/marker-mode.js';+import { isMarkerRoomId, markerWorldPos, markerRelFromWorld, markerYawFromEdge, markerRoomBlock } from './irl/marker-anchor.js';+import { markerPoseCamera } from './irl/marker-pose.js';+import { cornerCenter, cornerRightMid } from './irl/qr-detect.js';import { createRoomGhost } from './irl/room-ghost.js';import { isFiniteReading, isCompassFresh, shouldUseAbsoluteYaw, resolveLockYaw, clampPitch, screenPitchDeg } from './irl/sensor-fusion.js';import { deriveVerticalFovDeg, DEFAULT_DIAG_FOV_DEG } from './irl/camera-fov.js';@@ -1571,7 +1575,64 @@ function pinRoom(pin) {// through their shared origin (exact relative layout); legacy standalone pins// fall back to their own absolute GPS. Returns {x,y,z}. Requires a GPS fix —// callers already gate on gpsState.ready before placing/reprojecting.+// ── Marker frame (Epic M — indoor visual colocalization) ─────────────────────+// A marker pin is anchored to a QR both phones can see, NOT to GPS. The live+// observation of that marker (its world pose in THIS session, refreshed each frame+// the camera sees it) is the origin its agents render against — see+// src/irl/marker-anchor.js for why this colocalizes indoors where GPS+compass+// can't. `liveMarker` holds the current observation; null when no marker is in+// view, in which case marker pins hide (there is no odometry to coast on).+let liveMarker = null; // { roomId, markerWorld:{x,z}, markerY, markerYawDeg }+let _markerPinsPresent = false; // cheap gate so the per-frame pass is free when unused+function setLiveMarker(roomId, obs) {+ liveMarker = (roomId && obs) ? { roomId, ...obs } : null;+}++// Per-frame placement + visibility for marker pins. When their marker is in view,+// each renders at its exact offset from the live marker pose, facing a marker-+// relative heading (so "facing me" holds for every viewer, cross-session). When+// the marker isn't currently observed, they hide rather than freeze at a stale+// spot. Drives only marker pins; GPS/room pins are world-fixed and untouched here.+function updateMarkerPins() {+ const DEG = Math.PI / 180;+ for (const pin of nearbyPins) {+ if (!isMarkerRoomId(pin.room_id) || !pin.group) continue;+ const localized = liveMarker && liveMarker.roomId === pin.room_id;+ pin.group.visible = !!localized;+ if (!localized) continue;+ const wp = markerWorldPos({+ markerWorld: liveMarker.markerWorld,+ markerYawDeg: liveMarker.markerYawDeg,+ relEast: Number(pin.rel_east_m) || 0,+ relNorth: Number(pin.rel_north_m) || 0,+ heightM: pinHeightM(pin),+ });+ pin.group.position.set(wp.x, wp.y, wp.z);+ // Facing is stored marker-relative (anchor_yaw_deg) and composed with the live+ // marker azimuth, so the avatar turns with the marker frame, not absolute north.+ const relYaw = Number(pin.anchor_yaw_deg) || 0;+ pin.group.rotation.y = -(((liveMarker.markerYawDeg + relYaw) % 360) * DEG);+ if ('baseYaw' in pin) pin.baseYaw = pin.group.rotation.y;+ }+}+function pinWorldPos(pin) {+ // Marker pins resolve FIRST: they carry a coarse origin_lat/lng too (a GPS index+ // only), so falling through to pinRoom would wrongly place them at that index.+ if (isMarkerRoomId(pin.room_id)) {+ if (liveMarker && liveMarker.roomId === pin.room_id) {+ return markerWorldPos({+ markerWorld: liveMarker.markerWorld,+ markerYawDeg: liveMarker.markerYawDeg,+ relEast: Number(pin.rel_east_m) || 0,+ relNorth: Number(pin.rel_north_m) || 0,+ heightM: pinHeightM(pin),+ });+ }+ // Not localized this frame — a harmless in-band placeholder at the viewer;+ // updateMarkerPins() hides the group until the marker is seen again.+ return { x: 0, y: pinHeightM(pin), z: 0 };+ }const room = pinRoom(pin);if (room) {const originWorld = roomOriginWorld(gpsState.lat, gpsState.lng, room.originLat, room.originLng);@@ -2109,7 +2170,7 @@ async function placeRoomAgent(body) {// WebXR placement persists with centimetre precision while a gyro one degrades// honestly. On success we spawn locally so the agent is world-locked at once via// the shared frame (pinWorldPos), and bump the room badge through the room-mode API.-async function postRoomPin({ lat, lng, heading, room, anchor }) {+async function postRoomPin({ lat, lng, heading, room, anchor, vps = null }) {try {if (!room || !room.id) return { ok: false, message: 'Could not anchor the room — try again.' };const h = ((Math.round(heading) % 360) + 360) % 360;@@ -2133,6 +2194,10 @@ async function postRoomPin({ lat, lng, heading, room, anchor }) {altitudeM: anchor?.altitudeM ?? gpsState.altitude,source: anchor?.source || 'gyro-gps',},+ // Visual-positioning identity (Epic M) — present only on a marker+ // placement; the server persists it to vps_provider/vps_id and ignores it+ // for every other source.+ vps: vps && vps.id ? { provider: vps.provider || 'qr', id: vps.id } : undefined,room: {id: room.id,originLat: room.originLat, originLng: room.originLng,@@ -2159,6 +2224,7 @@ async function postRoomPin({ lat, lng, heading, room, anchor }) {anchor_height_m: anchor?.heightM ?? 0,anchor_quat: quat,anchor_source: anchor?.source || 'gyro-gps',+ vps_provider: vps?.id ? (vps.provider || 'qr') : null, vps_id: vps?.id || null,room_id: room.id, rel_east_m: room.relEast, rel_north_m: room.relNorth,origin_lat: room.originLat, origin_lng: room.originLng, origin_yaw_deg: room.originYawDeg || 0,avatar_url: resolveAvatarUrl(_currentAvatarId), avatar_name: nameEl.textContent,@@ -2524,6 +2590,9 @@ let xrSession = null;// one) and to bump the room badge — so on-device precision and the gyro slider flow// always share one room. Assigned at init; only referenced after a user gesture.let roomModeApi = null;+// The marker-authoring API (src/irl/marker-mode.js), captured from initMarkerMode+// below — the indoor visual-colocalization path. Assigned at init.+let markerModeApi = null;// The room pin currently being sharpened by a WebXR "Refine on floor" session, or// null for a normal placement. onFloorAnchored routes the tap to refine when set;// enterFloorPlacement clears it so a plain "Place on floor" never re-targets a stale@@ -2642,6 +2711,9 @@ async function enterFloorAnchor() {// Remember whether the user was in camera-AR so we can put them back there on// exit — returning to a black/gradient view would feel like a crash.const resumeAR = arActive;+ // The immersive WebXR session takes sole ownership of the camera — stop the marker+ // scan loop (which reads getUserMedia frames) so the two never contend for it.+ markerModeApi?.exit?.();if (arActive) disableAR();clearXrError();@@ -3598,6 +3670,11 @@ async function loadNearbyPins() {// is animated (despawnNearbyPin); disposal frees every GPU resource it held.const survivors = [];for (const p of nearbyPins) {+ // Marker pins are discovered through the marker mode's ?room= read, never the+ // GPS proximity feed, so they are absent from `incoming` every poll — exempt+ // them from band eviction or they'd drop after DROP_POLLS. The marker mode+ // owns their lifecycle (hidden when the marker leaves view, gone on exit).+ if (isMarkerRoomId(p.room_id)) { survivors.push(p); continue; }const row = incomingById.get(p.id);if (row) refreshKnownPin(p, row);const action = pinBandAction({@@ -6289,6 +6366,11 @@ function tick() {animMgr.update(dt);+ // Marker-anchored agents track the live marker frame every frame (the marker+ // observation refreshes as the camera moves) and hide when the marker isn't in+ // view — there's no odometry to coast on without it. Free when no marker pins exist.+ if (liveMarker || _markerPinsPresent) updateMarkerPins();+// Animate placed-object spawn (scale 0 → 1, cubic ease-out)for (const obj of placedObjects) {if (obj.spawnT < SPAWN_DURATION) {@@ -7078,6 +7160,93 @@ roomModeApi = initRoomMode({status: (m, o) => setStatus(m, o),});+// ── Marker authoring/finding mode (Epic M) — indoor visual colocalization ────+// Place an agent against a QR marker both phones can see, so a second viewer who+// scans the same marker finds it standing in the same physical spot — GPS-free,+// the one thing the room frame can't do indoors. Self-contained UI in+// src/irl/marker-mode.js; here we supply the camera→world observation (the only+// part that needs the live Three.js camera) and the network/scene calls, mirroring+// the room-mode contract. Marker pins ride the existing nearby-pin pipeline (LOD,+// load queue, labels) but are exempt from GPS-feed eviction and are positioned each+// frame by updateMarkerPins() from the live marker observation.+markerModeApi = initMarkerMode({+ controlRow: document.querySelector('.irl-secondary-row'),+ ensureReady: async () => {+ try {+ if (!arActive) await enableAR();+ initGPS();+ ensurePermission('location').catch(() => {});+ } catch { /* honest disabled states in the HUD cover a denied permission */ }+ return arActive;+ },+ getVideo: () => videoEl,+ getFix: () => ({ lat: gpsState.lat, lng: gpsState.lng, ready: gpsState.ready, accuracy: gpsState.accuracy }),+ // Resolve the detected QR's world pose from THIS session's live camera: monocular+ // pose (known marker size + camera FOV) → camera space → world via the real camera.+ observeMarker: (picked) => {+ try {+ const frame = picked.frame;+ const pose = markerPoseCamera({+ center: cornerCenter(picked.cornerPoints),+ rightMid: cornerRightMid(picked.cornerPoints),+ spanPx: picked.spanPx,+ frame,+ vfovDeg: camera.fov, // Three.js PerspectiveCamera.fov is the vertical FOV in degrees+ });+ if (!pose.ok) return null;+ camera.updateMatrixWorld();+ const wc = camera.localToWorld(new Vector3(pose.center.x, pose.center.y, pose.center.z));+ const wr = camera.localToWorld(new Vector3(pose.right.x, pose.right.y, pose.right.z));+ const markerYawDeg = markerYawFromEdge({ x: wc.x, z: wc.z }, { x: wr.x, z: wr.z });+ if (markerYawDeg == null) return null;+ return { markerWorld: { x: wc.x, z: wc.z }, markerY: wc.y, markerYawDeg, distanceM: pose.distanceM };+ } catch { return null; }+ },+ setLiveMarker,+ // In gyro/AR mode the viewer stands at the world origin (camera at eye height);+ // their feet — where "Place here" drops the agent — are that XZ on the floor (y=0).+ getViewerWorld: () => ({ x: camera.position.x, z: camera.position.z, y: 0 }),+ placeMarkerAgent: async ({ roomId, token, marker, viewer, fix }) => {+ if (!fix || !fix.ready) {+ return { ok: false, message: 'Turn location on once — the marker needs a coarse index to save your placement.' };+ }+ const rel = markerRelFromWorld({+ markerWorld: marker.markerWorld, markerYawDeg: marker.markerYawDeg,+ x: viewer.x, z: viewer.z,+ });+ const room = markerRoomBlock({ roomId, indexLat: fix.lat, indexLng: fix.lng, relEast: rel.relEast, relNorth: rel.relNorth });+ // 180° marker-relative facing: the agent turns back toward the marker, so a+ // viewer who walks up from the marker meets its face. updateMarkerPins composes+ // this with the live marker azimuth per viewer.+ const result = await postRoomPin({+ lat: fix.lat, lng: fix.lng, heading: 180,+ room,+ anchor: { heightM: 0, yawDeg: 180, source: 'marker' },+ vps: { provider: 'qr', id: token },+ });+ if (result.ok) _markerPinsPresent = true;+ return result;+ },+ loadMarkerRoom: async (roomId) => {+ try {+ const r = await fetch(`/api/irl/pins?room=${encodeURIComponent(roomId)}`, { headers: deviceHeaders() });+ if (!r.ok) return { count: 0 };+ const { pins } = await r.json();+ let count = 0;+ for (const p of (pins || [])) {+ if (nearbyPins.some(n => n.id === p.id)) continue; // already spawned (e.g. our own placement)+ const entry = { ...p, group: null, labelEl: null, glbLoaded: false, _oobPolls: 0 };+ nearbyPins.push(entry);+ spawnNearbyPin(entry);+ count++;+ }+ if (count) _markerPinsPresent = true;+ return { count };+ } catch { return { count: 0 }; }+ },+ status: (m, o) => setStatus(m, o),+});+// ── Dev-only perf harness (E2) ──────────────────────────────────────────────// Gated behind import.meta.env.DEV → tree-shaken out of production builds, so no// synthetic pins ever ship. Lets us verify the LOD/culling/queue budget under adiff --git a/src/irl/marker-mode.js b/src/irl/marker-mode.jsnew file mode 100644index 000000000..41f361310--- /dev/null+++ b/src/irl/marker-mode.js@@ -0,0 +1,381 @@+// "Anchor to a marker" — the /irl indoor colocalization UI (Epic M).+//+// Self-contained on the same contract as src/irl/room-mode.js: it builds its OWN+// DOM (entry button, scan HUD, lock box, place panel, marker-maker sheet) and+// injects its OWN styles, so src/irl.js needs only a single additive hook+// (initMarkerMode) and never edits shared markup. All geometry rides the pure,+// unit-tested src/irl/{marker-anchor,marker-pose,qr-detect}.js; the camera→world+// step and the network/scene calls come in through injected deps, exactly like+// room-mode, so this file holds no Three.js and no fetch.+//+// The interaction: enter the mode, point the camera at a QR marker (yours, or one+// you make here). When it locks, the marker becomes a SHARED origin both phones+// agree on with no GPS and no compass — so you walk to a spot, tap "Place here",+// and the agent anchors relative to the marker. Anyone who opens /irl and scans+// the same marker sees that agent standing in the same physical place. This is the+// indoor path GPS can't do: see the module header of marker-anchor.js for why.++import {+ markerRoomId,+ normalizeMarkerPayload,+} from './marker-anchor.js';+import {+ qrDetectionAvailable,+ startQrScanLoop,+} from './qr-detect.js';++// Same accent + pill language as room-mode so the two authoring modes feel like+// one family. A marker token we generate is a short, unguessable, URL-safe id.+const STABLE_LOCK_FRAMES = 3; // consecutive agreeing detections before we commit a lock+const MARKER_URL_BASE = 'https://three.ws/irl';++function randomToken() {+ // 10 chars of base36 — ~52 bits, plenty to keep two ad-hoc markers distinct.+ let s = '';+ for (let i = 0; i < 10; i++) s += Math.floor(Math.random() * 36).toString(36);+ return s;+}+function markerUrl(token) {+ return `${MARKER_URL_BASE}?m=${encodeURIComponent(token)}`;+}++let _stylesInjected = false;+function injectStyles() {+ if (_stylesInjected) return;+ _stylesInjected = true;+ const css = `+.irl-marker-fab.is-active{background:rgba(56,189,248,.22);border-color:rgba(56,189,248,.7);color:#fff}+#irl-marker-hud{position:fixed;inset:0;z-index:6;pointer-events:none;display:none;color:#fff;font:inherit}+#irl-marker-hud.is-open{display:block}+.irl-mk-frame{position:absolute;inset:0;pointer-events:none}+.irl-mk-frame svg{position:absolute;inset:0;width:100%;height:100%}+.irl-mk-recticle{position:absolute;top:46%;left:50%;width:180px;height:180px;margin:-90px 0 0 -90px;+ border-radius:18px;border:2px dashed rgba(255,255,255,.5);transition:opacity .2s ease}+.irl-mk-hud-locked .irl-mk-recticle{opacity:0}+.irl-mk-panel{position:absolute;left:0;right:0;bottom:0;pointer-events:auto;+ padding:14px 16px calc(16px + env(safe-area-inset-bottom));+ background:linear-gradient(to top,rgba(8,8,16,.94),rgba(8,8,16,.55) 70%,transparent);+ display:flex;flex-direction:column;gap:12px}+.irl-mk-coach{font-size:13.5px;line-height:1.45;color:rgba(255,255,255,.86);text-align:center;margin:0}+.irl-mk-coach[data-tone="warn"]{color:#fcd34d}+.irl-mk-coach[data-tone="ok"]{color:#7ee0a8}+.irl-mk-actions{display:flex;gap:10px;align-items:stretch}+.irl-mk-btn{min-height:52px;padding:0 16px;border-radius:14px;font-size:15px;font-weight:700;color:#fff;cursor:pointer;+ border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);transition:transform .12s ease,filter .12s ease}+.irl-mk-btn:hover{filter:brightness(1.12)}+.irl-mk-btn:active{transform:scale(.97)}+.irl-mk-btn:disabled{opacity:.5;cursor:not-allowed}+.irl-mk-btn.primary{flex:1;border:none;background:linear-gradient(135deg,#38bdf8,#6366f1);box-shadow:0 6px 20px rgba(56,189,248,.4)}+.irl-mk-btn.is-flash{animation:irlMkFlash .4s ease}+@keyframes irlMkFlash{0%{transform:scale(1)}40%{transform:scale(.92)}100%{transform:scale(1)}}+.irl-mk-btn:focus-visible{outline:2px solid #6366f1;outline-offset:2px}+.irl-mk-badge{position:fixed;left:50%;top:72px;transform:translateX(-50%);z-index:7;display:none;align-items:center;gap:7px;+ pointer-events:auto;background:rgba(8,8,16,.7);border:1px solid rgba(56,189,248,.5);border-radius:999px;+ padding:6px 13px;font-size:13px;font-weight:600;backdrop-filter:blur(8px);color:#fff}+.irl-mk-badge.is-shown{display:flex}+.irl-mk-badge .dot{width:7px;height:7px;border-radius:50%;background:#38bdf8;box-shadow:0 0 7px #38bdf8}+.irl-mk-sheet{position:fixed;inset:0;z-index:10;display:none;align-items:center;justify-content:center;padding:24px;+ background:rgba(4,4,10,.72);backdrop-filter:blur(10px)}+.irl-mk-sheet.is-open{display:flex}+.irl-mk-card{width:min(360px,92vw);background:#0c0c16;border:1px solid rgba(255,255,255,.12);border-radius:20px;+ padding:22px;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.55)}+.irl-mk-card h3{margin:0 0 6px;font-size:18px}+.irl-mk-card p{margin:0 0 16px;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.72)}+.irl-mk-qr{width:240px;height:240px;margin:0 auto 16px;background:#fff;border-radius:14px;padding:14px;box-sizing:border-box}+.irl-mk-qr canvas,.irl-mk-qr img{width:100%;height:100%;display:block;image-rendering:pixelated}+.irl-mk-card-actions{display:flex;gap:10px}+@media (prefers-reduced-motion:reduce){.irl-mk-btn.is-flash{animation:none}}+`;+ const style = document.createElement('style');+ style.setAttribute('data-irl-marker-mode', '');+ style.textContent = css;+ document.head.appendChild(style);+}++/**+ * Wire the marker authoring/finding mode.+ *+ * @param {object} deps+ * @param {Element|null} deps.controlRow+ * @param {() => Promise<boolean>} deps.ensureReady turn on camera AR; resolve true when usable+ * @param {() => HTMLVideoElement} deps.getVideo the camera passthrough element (for detection)+ * @param {() => {lat:number,lng:number,ready:boolean,accuracy:number}} deps.getFix+ * @param {(picked:{cornerPoints:Array<{x,y}>, frame:{w,h}, spanPx:number}) => ({markerWorld:{x,z},markerY:number,markerYawDeg:number,distanceM:number}|null)} deps.observeMarker+ * @param {(roomId:string|null, obs:object|null) => void} deps.setLiveMarker publish the live marker frame for the render path+ * @param {() => ({x:number,z:number,y:number})} deps.getViewerWorld viewer's world position (for "place where I stand")+ * @param {(body:object) => Promise<{ok:boolean,id?:string,message?:string}>} deps.placeMarkerAgent+ * @param {(roomId:string) => Promise<{count:number}>} deps.loadMarkerRoom fetch + spawn the marker room's pins+ * @param {(msg:string, opts?:object) => void} [deps.status]+ * @returns {{ isActive:()=>boolean, exit:()=>void }}+ */+export function initMarkerMode(deps) {+ const {+ ensureReady, getVideo, getFix, observeMarker,+ setLiveMarker, getViewerWorld, placeMarkerAgent, loadMarkerRoom,+ } = deps;+ const status = deps.status || (() => {});+ for (const [k, v] of Object.entries({ ensureReady, getVideo, observeMarker, setLiveMarker, getViewerWorld, placeMarkerAgent, loadMarkerRoom })) {+ if (typeof v !== 'function') throw new Error(`initMarkerMode: ${k} dep is required`);+ }+ injectStyles();++ let active = false;+ let scanner = null;+ let lockToken = null; // canonical payload of the currently locked marker+ let lockRoomId = null;+ let lockObs = null; // latest world observation of the locked marker+ let pendingToken = null; // payload seen this streak+ let pendingCount = 0;+ let placedCount = 0;+ let busy = false;++ // ── Entry button ─────────────────────────────────────────────────────────+ const fab = document.createElement('button');+ fab.type = 'button';+ fab.className = 'irl-pill-btn irl-marker-fab';+ fab.setAttribute('aria-pressed', 'false');+ fab.setAttribute('aria-label', 'Anchor an AI agent to a marker in your space');+ fab.innerHTML = `<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><path d="M14 14h3v3M20 20v.01M17 20h.01M20 14h.01"/></svg> Marker`;+ (deps.controlRow || document.body).appendChild(fab);+ fab.addEventListener('click', () => (active ? exit() : enter()));+ // Reveal the entry only where QR scanning actually works (Chrome/Android). On a+ // browser without BarcodeDetector (iOS Safari, Firefox) the marker path can't run,+ // so the button stays hidden rather than dead — same honesty as the WebXR-gated UI.+ fab.style.display = 'none';+ qrDetectionAvailable().then((ok) => { if (ok) fab.style.display = ''; }).catch(() => {});++ // ── Badge ────────────────────────────────────────────────────────────────+ const badge = document.createElement('div');+ badge.className = 'irl-mk-badge';+ badge.setAttribute('role', 'status');+ badge.setAttribute('aria-live', 'polite');+ document.body.appendChild(badge);++ // ── Scan HUD ─────────────────────────────────────────────────────────────+ const hud = document.createElement('div');+ hud.id = 'irl-marker-hud';+ hud.innerHTML = `+ <div class="irl-mk-frame" aria-hidden="true"><svg viewBox="0 0 100 100" preserveAspectRatio="none"><polygon id="irl-mk-poly" points="" fill="rgba(56,189,248,.16)" stroke="#38bdf8" stroke-width="0.5" style="display:none"/></svg></div>+ <div class="irl-mk-recticle" aria-hidden="true"></div>+ <div class="irl-mk-panel" role="group" aria-label="Anchor to a marker">+ <p class="irl-mk-coach" id="irl-mk-coach">Point at a QR marker to anchor agents to this spot.</p>+ <div class="irl-mk-actions">+ <button type="button" class="irl-mk-btn primary" id="irl-mk-place" disabled>Place here</button>+ <button type="button" class="irl-mk-btn" id="irl-mk-make">Make a marker</button>+ <button type="button" class="irl-mk-btn" id="irl-mk-done">Done</button>+ </div>+ </div>`;+ document.body.appendChild(hud);+ const coach = hud.querySelector('#irl-mk-coach');+ const poly = hud.querySelector('#irl-mk-poly');+ const placeBtn = hud.querySelector('#irl-mk-place');+ const makeBtn = hud.querySelector('#irl-mk-make');+ const doneBtn = hud.querySelector('#irl-mk-done');++ // ── Marker-maker sheet ───────────────────────────────────────────────────+ const sheet = document.createElement('div');+ sheet.className = 'irl-mk-sheet';+ sheet.setAttribute('role', 'dialog');+ sheet.setAttribute('aria-modal', 'true');+ sheet.setAttribute('aria-label', 'Your marker');+ sheet.innerHTML = `+ <div class="irl-mk-card">+ <h3>Your marker</h3>+ <p>Print this, or show it on another screen, and stick it where you'll anchor agents. Both phones scan the same marker — no GPS needed.</p>+ <div class="irl-mk-qr" id="irl-mk-qr"></div>+ <div class="irl-mk-card-actions">+ <button type="button" class="irl-mk-btn primary" id="irl-mk-dl">Save image</button>+ <button type="button" class="irl-mk-btn" id="irl-mk-close">Close</button>+ </div>+ </div>`;+ document.body.appendChild(sheet);+ const qrHolder = sheet.querySelector('#irl-mk-qr');+ const dlBtn = sheet.querySelector('#irl-mk-dl');+ const closeBtn = sheet.querySelector('#irl-mk-close');+ let madeToken = null;++ placeBtn.addEventListener('click', placeHere);+ makeBtn.addEventListener('click', openMaker);+ doneBtn.addEventListener('click', exit);+ closeBtn.addEventListener('click', () => sheet.classList.remove('is-open'));+ dlBtn.addEventListener('click', downloadMarker);+ hud.addEventListener('keydown', (e) => { if (e.key === 'Escape') { e.preventDefault(); exit(); } });+ sheet.addEventListener('keydown', (e) => { if (e.key === 'Escape') { e.preventDefault(); sheet.classList.remove('is-open'); } });++ function setCoach(text, tone) {+ coach.textContent = text;+ if (tone) coach.setAttribute('data-tone', tone); else coach.removeAttribute('data-tone');+ }+ function refreshBadge() {+ if (active && lockRoomId) {+ badge.innerHTML = `<span class="dot"></span> Marker locked · ${placedCount} placed`;+ badge.classList.add('is-shown');+ } else badge.classList.remove('is-shown');+ }++ // Draw the detected QR outline so the lock reads as deliberate, not magic. The+ // corner pixels are mapped to the 0–100 viewBox the overlay SVG uses.+ function drawOutline(corners, frame) {+ if (!corners || !frame) { poly.style.display = 'none'; return; }+ const pts = corners.map(c => `${(c.x / frame.w) * 100},${(c.y / frame.h) * 100}`).join(' ');+ poly.setAttribute('points', pts);+ poly.style.display = '';+ }++ function onMarker(picked) {+ if (!active) return;+ const token = normalizeMarkerPayload(picked.rawValue);+ if (!token) { return; } // a non-marker QR (someone's wifi code) — ignore quietly+ drawOutline(picked.cornerPoints, picked.frame);++ // Resolve the marker's world pose for THIS frame (camera→world is the dep's job).+ const obs = observeMarker(picked);+ if (!obs) { setCoach('Move a little closer and hold steady…', 'warn'); return; }++ if (token === lockToken) {+ // Already locked — just refresh the live frame so the render path tracks it.+ lockObs = obs;+ setLiveMarker(lockRoomId, obs);+ return;+ }+ // Building a fresh lock: require a few agreeing frames so a fleeting glimpse+ // of a QR across the room doesn't yank the origin.+ if (token === pendingToken) pendingCount++;+ else { pendingToken = token; pendingCount = 1; }+ if (pendingCount < STABLE_LOCK_FRAMES) {+ setCoach('Marker found — hold steady to lock…', 'ok');+ return;+ }+ commitLock(token, obs);+ }++ function onIdle() {+ if (!active) return;+ drawOutline(null, null);+ if (!lockToken) {+ pendingToken = null; pendingCount = 0;+ setCoach('Point at a QR marker to anchor agents to this spot.');+ }+ }++ async function commitLock(token, obs) {+ lockToken = token;+ lockRoomId = markerRoomId(token);+ lockObs = obs;+ hud.classList.add('irl-mk-hud-locked');+ setLiveMarker(lockRoomId, obs);+ placeBtn.disabled = false;+ setCoach('Locked. Walk to a spot and tap “Place here”.', 'ok');+ try { navigator.vibrate && navigator.vibrate(12); } catch {}+ refreshBadge();+ // Pull anyone else's agents anchored to this marker and spawn them.+ try {+ const { count } = await loadMarkerRoom(lockRoomId);+ if (count > 0) setCoach(`Locked — ${count} agent${count === 1 ? '' : 's'} already here. Look around, or place your own.`, 'ok');+ } catch { /* a failed room read is non-fatal: placing still works */ }+ }++ async function placeHere() {+ if (busy || !lockRoomId || !lockObs) return;+ const fix = getFix ? getFix() : { ready: false };+ const viewer = getViewerWorld();+ busy = true;+ placeBtn.disabled = true;+ const prev = placeBtn.textContent;+ placeBtn.textContent = 'Placing…';+ let result;+ try {+ result = await placeMarkerAgent({+ roomId: lockRoomId,+ token: lockToken,+ marker: lockObs,+ viewer,+ fix,+ });+ } catch { result = { ok: false, message: 'Network error — try again.' }; }+ busy = false;+ placeBtn.textContent = prev;+ placeBtn.disabled = false;+ if (result && result.ok) {+ placedCount++;+ refreshBadge();+ placeBtn.classList.remove('is-flash'); void placeBtn.offsetWidth; placeBtn.classList.add('is-flash');+ setCoach('Placed. It’s standing where you are — walk away and look back.', 'ok');+ try { navigator.vibrate && navigator.vibrate(10); } catch {}+ } else {+ setCoach(result?.message || 'Could not place the agent — try again.', 'warn');+ }+ }++ async function openMaker() {+ madeToken = randomToken();+ qrHolder.innerHTML = '';+ sheet.classList.add('is-open');+ closeBtn.focus();+ try {+ const QR = (await import('qrcode')).default;+ const canvas = document.createElement('canvas');+ await QR.toCanvas(canvas, markerUrl(madeToken), { width: 240, margin: 1, errorCorrectionLevel: 'M' });+ qrHolder.appendChild(canvas);+ } catch {+ // Library unavailable — fall back to a link the user can open on the other+ // phone, which lands on the same marker token via the ?m= deep link.+ qrHolder.innerHTML = `<p style="color:#111;font-size:12px;word-break:break-all;padding:8px">${markerUrl(madeToken)}</p>`;+ }+ }++ async function downloadMarker() {+ if (!madeToken) return;+ const canvas = qrHolder.querySelector('canvas');+ const finish = (url) => {+ const a = document.createElement('a');+ a.href = url; a.download = `three-ws-marker-${madeToken}.png`; a.click();+ };+ if (canvas) { finish(canvas.toDataURL('image/png')); return; }+ try {+ const QR = (await import('qrcode')).default;+ finish(await QR.toDataURL(markerUrl(madeToken), { width: 512, margin: 2 }));+ } catch { status('Could not generate the marker image.', { warn: true }); }+ }++ async function enter() {+ if (active) return;+ let ok = false;+ try { ok = await ensureReady(); } catch { ok = false; }+ if (!ok) { status('Turn on the camera to scan a marker.', { warn: true }); return; }+ if (!(await qrDetectionAvailable())) {+ status('This browser can’t scan QR markers. Open /irl in Chrome on Android to use markers.', { warn: true, sticky: true });+ return;+ }+ active = true;+ busy = false;+ lockToken = lockRoomId = lockObs = null;+ pendingToken = null; pendingCount = 0;+ document.body.classList.add('irl-marker-mode');+ fab.setAttribute('aria-pressed', 'true');+ fab.classList.add('is-active');+ hud.classList.add('is-open');+ hud.classList.remove('irl-mk-hud-locked');+ placeBtn.disabled = true;+ setCoach('Point at a QR marker to anchor agents to this spot.');+ makeBtn.focus();+ scanner = startQrScanLoop({ video: getVideo(), onMarker, onIdle });+ }++ function exit() {+ if (!active) return;+ active = false;+ scanner?.stop();+ scanner = null;+ setLiveMarker(null, null); // stop rendering against a marker we're no longer tracking+ document.body.classList.remove('irl-marker-mode');+ fab.setAttribute('aria-pressed', 'false');+ fab.classList.remove('is-active');+ hud.classList.remove('is-open', 'irl-mk-hud-locked');+ badge.classList.remove('is-shown');+ sheet.classList.remove('is-open');+ drawOutline(null, null);+ }++ return { isActive: () => active, exit };+}diff --git a/src/irl/marker-pose.js b/src/irl/marker-pose.jsnew file mode 100644index 000000000..2ab30bab9--- /dev/null+++ b/src/irl/marker-pose.js@@ -0,0 +1,108 @@+// @ts-check+// Monocular marker pose from a known-size QR (Epic M).+//+// Why this exists+// ───────────────+// To anchor an agent to a marker, a phone must know WHERE the marker is in 3D,+// not just where it is on screen. WebXR can hit-test for that, but only on+// Android Chrome and only inside an immersive session — and /irl's universal+// world-lock (iOS included) runs on the plain camera passthrough, no XR session.+// So this module recovers the marker's pose the way every marker AR system did+// before depth sensors: from a SINGLE camera, using the one extra fact a printed+// marker gives you — its real-world size. With the marker's physical edge length+// and the camera's field of view (src/irl/camera-fov.js already derives it), the+// pinhole model turns the QR's on-screen span into a metric distance, and its+// detected corners into a camera-space position + facing.+//+// Output is in CAMERA space (forward = −Z, right = +X, up = +Y — the Three.js+// camera convention). The caller transforms those points to world with the live+// camera (camera.localToWorld), then hands them to marker-anchor.js. Keeping the+// world transform in the caller (where the real camera quaternion lives) means+// this module stays pure numbers-in/numbers-out and the optics are unit-tested.+//+// Assumption: the marker is roughly fronto-parallel to the camera at lock time+// (the user is looking at it to scan it, so this holds well). Distance is from the+// mean edge span, which is robust to mild perspective; gross skew is rejected+// upstream by the scan loop's stability gate, not modelled here.++const DEG = Math.PI / 180;++// Default printed marker edge length, metres (~16 cm — a quarter-page print). The+// marker mode surfaces this so the user prints to scale; an off-by-scale print+// only scales distance linearly (the agent lands nearer/farther along the same+// ray), never breaks colocalization, since both phones read the SAME marker size.+export const DEFAULT_MARKER_SIZE_M = 0.16;++/**+ * Vertical focal length in pixels for a frame of height `frameH` shot at vertical+ * FOV `vfovDeg`. f = (H/2) / tan(vfov/2).+ * @param {number} vfovDeg vertical field of view, degrees (from camera-fov.js)+ * @param {number} frameH frame height, pixels+ * @returns {number} focal length in pixels (>0), or 0 for degenerate input+ */+export function focalLengthPx(vfovDeg, frameH) {+ const v = Number(vfovDeg), h = Number(frameH);+ if (!(v > 0) || !(h > 0)) return 0;+ const t = Math.tan((v * DEG) / 2);+ if (!(t > 0)) return 0;+ return (h / 2) / t;+}++/**+ * Metric distance (metres) to a marker of physical edge `markerSizeM` whose mean+ * on-screen edge is `spanPx`, under focal length `fpx`. Z = f · S / span.+ * @returns {number} distance in metres (>0), or 0 for degenerate input+ */+export function estimateDistanceM(spanPx, markerSizeM, fpx) {+ const s = Number(spanPx), S = Number(markerSizeM), f = Number(fpx);+ if (!(s > 0) || !(S > 0) || !(f > 0)) return 0;+ return (f * S) / s;+}++/**+ * A pixel + a forward depth → its point in CAMERA space (forward = −Z). The+ * principal point is the frame centre; image-Y (down) flips to camera-Y (up).+ * @param {number} px pixel x (0 = left)+ * @param {number} py pixel y (0 = top)+ * @param {{w:number,h:number}} frame+ * @param {number} fpx focal length, pixels+ * @param {number} depthM forward distance from the camera, metres+ * @returns {{x:number,y:number,z:number}} camera-space point (metres)+ */+export function cameraSpacePoint(px, py, frame, fpx, depthM) {+ if (!(fpx > 0)) return { x: 0, y: 0, z: -Math.max(0, Number(depthM) || 0) };+ const cx = frame.w / 2, cy = frame.h / 2;+ const Z = Math.max(0, Number(depthM) || 0);+ return {+ x: ((px - cx) / fpx) * Z,+ y: (-(py - cy) / fpx) * Z, // image y is down; camera y is up+ z: -Z, // forward is −Z+ };+}++/**+ * Full camera-space pose of a detected marker: its centre, a point on its right+ * edge (for facing), and the metric distance. The centre and right point are+ * placed at the same depth (fronto-parallel assumption), so their world-space+ * delta gives the marker's facing once the caller rotates them by the camera.+ *+ * @param {object} p+ * @param {{x:number,y:number}} p.center marker centre in pixels (qr-detect cornerCenter)+ * @param {{x:number,y:number}} p.rightMid marker right-edge midpoint in pixels (cornerRightMid)+ * @param {number} p.spanPx mean on-screen edge length, pixels (cornerSpanPx)+ * @param {{w:number,h:number}} p.frame frame pixel size+ * @param {number} p.vfovDeg vertical FOV, degrees+ * @param {number} [p.markerSizeM] physical marker edge, metres+ * @returns {{ center:{x,y,z}, right:{x,y,z}, distanceM:number, ok:boolean }}+ */+export function markerPoseCamera({ center, rightMid, spanPx, frame, vfovDeg, markerSizeM = DEFAULT_MARKER_SIZE_M }) {+ const fpx = focalLengthPx(vfovDeg, frame?.h);+ const distanceM = estimateDistanceM(spanPx, markerSizeM, fpx);+ const ok = fpx > 0 && distanceM > 0 && distanceM < 30; // >30 m = a bad read, not a room marker+ return {+ center: cameraSpacePoint(center.x, center.y, frame, fpx, distanceM),+ right: cameraSpacePoint(rightMid.x, rightMid.y, frame, fpx, distanceM),+ distanceM,+ ok,+ };+}diff --git a/src/launches.css b/src/launches.cssindex 05fb68978..bfb424ae6 100644--- a/src/launches.css+++ b/src/launches.css@@ -1083,3 +1083,26 @@ body {opacity: 0.85;margin-top: 2px;}++/* Money Pulse strip — compact live wallet-activity ticker linking to /pulse.+ Self-hides (component sets display:none) when the platform has no real events. */+.lx-pulse-strip {+ display: flex;+ align-items: center;+ gap: 14px;+ max-width: 1200px;+ margin: 0 auto 8px;+ padding: 8px 16px;+}+.lx-pulse-label {+ flex: 0 0 auto;+ font-size: var(--text-2xs, .68rem);+ letter-spacing: .08em;+ text-transform: uppercase;+ color: var(--wallet-accent, #c4b5fd);+ text-decoration: none;+ white-space: nowrap;+ transition: color .14s ease;+}+.lx-pulse-label:hover { color: var(--ink-bright, #fff); }+.lx-pulse-ticker { flex: 1 1 auto; min-width: 0; }diff --git a/src/payment-modal.js b/src/payment-modal.jsindex 98d4f4b25..d481e5859 100644--- a/src/payment-modal.js+++ b/src/payment-modal.js@@ -38,6 +38,11 @@ const STYLE = `background: rgba(255,255,255,.04);border: 1px solid rgba(255,255,255,.11);border-radius: 12px; padding: 12px 14px; margin: 2px 0;+ animation: pay-chip-in .24s cubic-bezier(.16,1,.3,1) both;+}+@keyframes pay-chip-in {+ from { opacity: 0; transform: translateY(6px) scale(.985); }+ to { opacity: 1; transform: none; }}.pay-chip-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }.pay-chip-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }@@ -60,15 +65,23 @@ const STYLE = `.pay-chip-status.ok { color: #34d399; }.skill-pay-overlay {position: fixed; inset: 0; background: rgba(0,0,0,0.72);+ -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);display: flex; align-items: center; justify-content: center;z-index: 9999; font-family: system-ui, sans-serif;+ padding: 16px; box-sizing: border-box;+ opacity: 0; transition: opacity .18s ease;}.skill-pay-overlay[hidden] { display: none; }+.skill-pay-overlay.is-open { opacity: 1; }.skill-pay-box {background: #1a1a2e; border: 1px solid rgba(255,255,255,.12);- border-radius: 16px; padding: 28px 24px; max-width: 380px; width: 90%;+ border-radius: 16px; padding: 28px 24px; max-width: 380px; width: 100%;+ max-height: calc(100vh - 32px); overflow-y: auto;color: #f0f0f0; box-shadow: 0 24px 64px rgba(0,0,0,.6);+ transform: translateY(10px) scale(.97); opacity: 0;+ transition: transform .22s cubic-bezier(.16,1,.3,1), opacity .22s ease;}+.skill-pay-overlay.is-open .skill-pay-box { transform: none; opacity: 1; }.skill-pay-head {display: flex; align-items: center; justify-content: space-between;margin-bottom: 20px;@@ -121,6 +134,31 @@ const STYLE = `font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none;}.skill-pay-open-link:hover { color: rgba(255,255,255,.7); text-decoration: underline; }+.skill-pay-add-funds, .pay-chip-add-funds {+ margin-left: 6px; padding: 3px 9px; border-radius: 7px; cursor: pointer;+ font: inherit; font-size: 12px; font-weight: 600;+ background: rgba(52,211,153,.14); color: #34d399;+ border: 1px solid rgba(52,211,153,.4); transition: background .15s;+}+.skill-pay-add-funds:hover, .pay-chip-add-funds:hover { background: rgba(52,211,153,.24); }+.usd-eq.is-loading {+ display: inline-block; width: 46px; height: 11px; border-radius: 4px;+ vertical-align: middle; color: transparent;+ background: linear-gradient(90deg, rgba(255,255,255,.06) 25%, rgba(255,255,255,.14) 37%, rgba(255,255,255,.06) 63%);+ background-size: 320% 100%; animation: skill-pay-shimmer 1.2s ease-in-out infinite;+}+@keyframes skill-pay-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }+.skill-pay-btn:focus-visible, .skill-pay-confirm:focus-visible,+.skill-pay-close:focus-visible, .skill-pay-open-link:focus-visible,+.skill-pay-add-funds:focus-visible, .pay-chip-btn:focus-visible,+.pay-chip-add-funds:focus-visible {+ outline: 2px solid #34d399; outline-offset: 2px; border-radius: 8px;+}+@media (prefers-reduced-motion: reduce) {+ .skill-pay-overlay, .skill-pay-box, .pay-chip { transition: none; animation: none; }+ .skill-pay-box { transform: none; opacity: 1; }+ .usd-eq.is-loading { animation: none; }+}`;export class SkillPaymentModal {@@ -136,6 +174,8 @@ export class SkillPaymentModal {this._connection = null;this._activePurchase = null;this._el = null;+ this._lastFocus = null;+ this._hideTimer = null;this._init();}@@ -177,6 +217,58 @@ export class SkillPaymentModal {el.addEventListener('click', (e) => { if (e.target === el) this._cancel(); });el.querySelector('#skill-pay-connect').addEventListener('click', () => this._connectWallet());el.querySelector('.skill-pay-confirm').addEventListener('click', () => this._purchase());+ // Keyboard: Escape dismisses, Tab is trapped inside the dialog so focus+ // can't wander to the host page behind the modal.+ el.addEventListener('keydown', (e) => this._onKeydown(e));+ }++ _onKeydown(e) {+ if (!this._el || this._el.hasAttribute('hidden')) return;+ if (e.key === 'Escape') { e.preventDefault(); this._cancel(); return; }+ if (e.key !== 'Tab') return;+ const focusable = this._focusables();+ if (!focusable.length) return;+ const first = focusable[0];+ const last = focusable[focusable.length - 1];+ const active = this._activeElement();+ if (e.shiftKey && (active === first || !focusable.includes(active))) {+ e.preventDefault();+ last.focus();+ } else if (!e.shiftKey && active === last) {+ e.preventDefault();+ first.focus();+ }+ }++ // Visible, enabled, focusable controls inside the dialog box, in DOM order.+ _focusables() {+ const box = this._el?.querySelector('.skill-pay-box');+ if (!box) return [];+ const sel = 'a[href], button:not([disabled]), input:not([disabled]), [tabindex]:not([tabindex="-1"])';+ return Array.from(box.querySelectorAll(sel)).filter(+ (n) => n.offsetParent !== null || n.getClientRects().length > 0,+ );+ }++ // activeElement resolves through the shadow boundary the modal lives in.+ _activeElement() {+ return this._root.activeElement || document.activeElement || null;+ }++ _prefersReducedMotion() {+ try {+ return !!window.matchMedia?.('(prefers-reduced-motion: reduce)')?.matches;+ } catch {+ return false;+ }+ }++ _restoreFocus() {+ const target = this._lastFocus;+ this._lastFocus = null;+ if (target && typeof target.focus === 'function') {+ try { target.focus(); } catch { /* element may be gone */ }+ }}/**@@ -197,23 +289,62 @@ export class SkillPaymentModal {const amountEl = this._el.querySelector('.skill-pay-amount');const usdEqEl = this._el.querySelector('.skill-pay-price .usd-eq');amountEl.textContent = `${amountUsdc} ${currency}`;+ // Show a shimmer placeholder while the USD equivalent resolves so the+ // price row doesn't shift when it arrives.usdEqEl.textContent = '';- usdEqEl.hidden = true;+ usdEqEl.hidden = false;+ usdEqEl.classList.add('is-loading');const humanAmount = Number(price.amount || 0) / 10 ** USDC_DECIMALS;const eqPromise = currency === 'USDC' ? Promise.resolve(formatUsdcEq(humanAmount)) : formatSolEq(humanAmount);- eqPromise.then((eq) => { if (eq) { usdEqEl.textContent = eq; usdEqEl.hidden = false; } });+ eqPromise.then((eq) => {+ usdEqEl.classList.remove('is-loading');+ if (eq) { usdEqEl.textContent = eq; usdEqEl.hidden = false; }+ else { usdEqEl.hidden = true; }+ });this._el.querySelector('.skill-pay-open-link').href =`/marketplace/agents/${this._agentId}?buy=${encodeURIComponent(skill)}`;this._setStatus('');this._el.querySelector('.skill-pay-confirm').disabled = true;this._updateWalletArea();++ // Remember what had focus so we can hand it back on close, then open+ // with a fade/scale entrance and move focus to the primary action.+ this._lastFocus = this._activeElement();+ if (this._hideTimer) { clearTimeout(this._hideTimer); this._hideTimer = null; }this._el.removeAttribute('hidden');+ const reveal = () => {+ this._el.classList.add('is-open');+ const primary =+ this._el.querySelector('#skill-pay-connect') ||+ this._el.querySelector('.skill-pay-confirm:not([disabled])') ||+ this._el.querySelector('.skill-pay-close');+ primary?.focus();+ };+ if (this._prefersReducedMotion()) reveal();+ else requestAnimationFrame(reveal);});}hide() {- this._el.setAttribute('hidden', '');+ const el = this._el;+ if (!el) return;+ el.classList.remove('is-open');+ this._restoreFocus();+ if (this._prefersReducedMotion()) {+ el.setAttribute('hidden', '');+ return;+ }+ // Defer the display:none until the fade-out transition finishes (with a+ // timeout fallback in case transitionend never fires).+ const finish = () => {+ if (this._hideTimer) { clearTimeout(this._hideTimer); this._hideTimer = null; }+ el.removeEventListener('transitionend', onEnd);+ if (!el.classList.contains('is-open')) el.setAttribute('hidden', '');+ };+ const onEnd = (e) => { if (e.target === el) finish(); };+ el.addEventListener('transitionend', onEnd);+ this._hideTimer = setTimeout(finish, 280);}_cancel() {@@ -475,6 +606,7 @@ export class SkillPaymentModal {}destroy() {+ if (this._hideTimer) { clearTimeout(this._hideTimer); this._hideTimer = null; }this._el?.remove();this._el = null;}diff --git a/src/pulse-ticker-embed.js b/src/pulse-ticker-embed.jsnew file mode 100644index 000000000..9fe5b1636--- /dev/null+++ b/src/pulse-ticker-embed.js@@ -0,0 +1,29 @@+/**+ * Money Pulse ticker — drop-in embed.+ *+ * Auto-mounts the compact, real-data Money Pulse ticker into any element marked+ * `data-money-pulse-ticker` on the page, so the live money layer can sit on the+ * home, launches, or galaxy surfaces with zero per-page wiring:+ *+ * <a class="..." data-money-pulse-ticker data-network="mainnet" href="/pulse"></a>+ * <script type="module" src="/src/pulse-ticker-embed.js"></script>+ *+ * The ticker self-hides when the platform is quiet (no real events) — it never+ * shows a fabricated scroll. It pauses offscreen and on tab-hide via the shared+ * component.+ */++import { mountMoneyPulse } from './shared/money-pulse.js';++function mountAll() {+ for (const el of document.querySelectorAll('[data-money-pulse-ticker]')) {+ if (el.__mpTickerMounted) continue;+ el.__mpTickerMounted = true;+ const network = el.dataset.network === 'devnet' ? 'devnet' : 'mainnet';+ const type = el.dataset.type || 'all';+ mountMoneyPulse({ mount: el, variant: 'ticker', network, type, live: true });+ }+}++if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', mountAll);+else mountAll();diff --git a/src/pulse.css b/src/pulse.cssnew file mode 100644index 000000000..4db1efaf6--- /dev/null+++ b/src/pulse.css@@ -0,0 +1,75 @@+/* /pulse — the Money Pulse page. Feed styling lives in the shared component+ (src/shared/money-pulse.js); this sheet is the page chrome + stats panel. */++.px-shell {+ max-width: 1080px;+ margin: 0 auto;+ padding: var(--space-xl, 40px) var(--space-md, 16px) var(--space-2xl, 64px);+}++/* Hero */+.px-hero { text-align: center; margin-bottom: var(--space-xl, 40px); }+.px-kicker {+ display: inline-flex; align-items: center; gap: 8px;+ font-size: var(--text-2xs, .68rem); letter-spacing: .14em; text-transform: uppercase;+ color: var(--ink-dim, #888); margin: 0 0 var(--space-sm, 12px);+}+.px-live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success, #4ade80);+ box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: px-ping 2.4s ease infinite; }+@keyframes px-ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.5);} 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0);} 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0);} }+.px-title {+ font-family: var(--font-display, 'Space Grotesk', sans-serif);+ font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 700; line-height: 1.02;+ margin: 0 0 var(--space-sm, 12px); color: var(--ink-bright, #fff); letter-spacing: -.02em;+}+.px-title em { font-style: normal; color: var(--wallet-accent, #c4b5fd); }+.px-sub { max-width: 620px; margin: 0 auto; color: var(--ink-dim, #999); font-size: var(--text-lg, 1.02rem); line-height: 1.5; }++/* Network toggle */+.px-net { display: inline-flex; gap: 2px; margin-top: var(--space-md, 16px); padding: 3px;+ background: var(--surface-1, rgba(255,255,255,.03)); border: 1px solid var(--stroke, rgba(255,255,255,.08));+ border-radius: var(--radius-pill, 999px); }+.px-net-btn { appearance: none; font: inherit; font-size: var(--text-sm, .8rem); font-weight: 500; cursor: pointer;+ color: var(--ink-dim, #888); background: transparent; border: none; border-radius: var(--radius-pill, 999px); padding: 6px 16px;+ transition: color .14s ease, background .14s ease; }+.px-net-btn:hover { color: var(--ink, #e8e8e8); }+.px-net-btn.active { color: var(--ink-bright, #fff); background: var(--surface-3, rgba(255,255,255,.08)); }+.px-net-btn:focus-visible { outline: 2px solid var(--wallet-accent, #c4b5fd); outline-offset: 2px; }++/* Headline counters */+.px-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm, 12px); margin: var(--space-xl, 40px) 0; }+.px-counter { background: var(--surface-1, rgba(255,255,255,.03)); border: 1px solid var(--stroke, rgba(255,255,255,.07));+ border-radius: var(--radius-lg, 14px); padding: var(--space-md, 18px); text-align: center; }+.px-counter dt { font-size: var(--text-2xs, .68rem); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim, #888); margin-bottom: 8px; }+.px-counter dd { margin: 0; font-family: var(--font-mono, monospace); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; color: var(--ink-bright, #fff); }+.px-counter-sub { display: block; margin-top: 4px; font-family: var(--font-body, sans-serif); font-size: var(--text-2xs, .68rem); font-weight: 500; color: var(--wallet-accent, #c4b5fd); }++/* Layout: feed + stats rail */+.px-grid { display: grid; grid-template-columns: 1fr 320px; gap: var(--space-lg, 24px); align-items: start; }+.px-main { min-width: 0; }+.px-section-h { font-family: var(--font-display, sans-serif); font-size: var(--text-lg, 1.05rem); font-weight: 600; color: var(--ink-bright, #fff); margin: 0 0 var(--space-md, 16px); }++/* Stats rail */+.px-rail { position: sticky; top: 80px; display: flex; flex-direction: column; gap: var(--space-lg, 24px); }+.px-card { background: var(--surface-1, rgba(255,255,255,.03)); border: 1px solid var(--stroke, rgba(255,255,255,.07)); border-radius: var(--radius-lg, 14px); padding: var(--space-md, 16px); }+.px-card-h { display: flex; align-items: center; justify-content: space-between; font-size: var(--text-sm, .8rem); font-weight: 600; color: var(--ink-bright, #fff); margin-bottom: var(--space-sm, 12px); }+.px-card-h small { font-weight: 400; color: var(--ink-faint, #666); font-size: var(--text-2xs, .66rem); }++.px-lb-row { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--radius-md, 9px); text-decoration: none; color: inherit; transition: background .14s ease; }+.px-lb-row:hover { background: var(--surface-2, rgba(255,255,255,.05)); }+.px-lb-row:focus-visible { outline: 2px solid var(--wallet-accent, #c4b5fd); outline-offset: 1px; }+.px-lb-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--surface-3, rgba(255,255,255,.08)); border: 1px solid var(--stroke, rgba(255,255,255,.08)); }+.px-lb-av--mono { display: grid; place-items: center; font-weight: 600; color: var(--ink-dim, #888); font-size: .78rem; }+.px-lb-name { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: var(--text-sm, .8rem); font-weight: 600; color: var(--ink, #e8e8e8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }+.px-lb-chip { font-weight: 400; }+.px-lb-metric { flex: 0 0 auto; font-family: var(--font-mono, monospace); font-size: var(--text-sm, .8rem); font-weight: 700; color: var(--wallet-accent, #c4b5fd); text-align: right; }+.px-lb-metric small { display: block; font-weight: 400; color: var(--ink-faint, #666); font-size: var(--text-2xs, .64rem); }+.px-lb-empty, .px-stats-err { color: var(--ink-dim, #888); font-size: var(--text-sm, .8rem); padding: 8px; }++@media (max-width: 880px) {+ .px-grid { grid-template-columns: 1fr; }+ .px-rail { position: static; flex-direction: column; }+}+@media (max-width: 520px) {+ .px-counters { grid-template-columns: 1fr; }+}diff --git a/src/pulse.js b/src/pulse.jsnew file mode 100644index 000000000..b0921a9e8--- /dev/null+++ b/src/pulse.js@@ -0,0 +1,136 @@+/**+ * /pulse — the Money Pulse: a real, platform-wide live feed of agent wallet+ * activity, plus aggregate money intelligence. Every row is a real, on-chain or+ * launch-record event served by GET /api/pulse — no synthetic events anywhere.+ *+ * Data flow:+ * GET /api/pulse?view=stats&network= headline counters + leaderboards+ * GET /api/pulse?network=&type= the live feed (via the shared component)+ *+ * The feed itself (live polling, offscreen pause, filters, sound, states) is the+ * shared src/shared/money-pulse.js component reused across the HUD and profiles.+ * This page wires the network toggle + the aggregate stats panel around it.+ */++import { mountMoneyPulse } from './shared/money-pulse.js';+import { walletChipHTML, wireWalletChips } from './shared/agent-wallet-chip.js';+import { createLogger } from './shared/log.js';++const log = createLogger('pulse');++const state = { network: 'mainnet', pulse: null };++const $ = (id) => document.getElementById(id);++function fmtUsd(n) {+ if (!(Number(n) > 0)) return '$0';+ const v = Number(n);+ if (v >= 1000) return `$${(v / 1000).toFixed(1)}k`;+ return `$${v.toFixed(v < 10 ? 2 : 0)}`;+}+function fmtSol(n) {+ const v = Number(n) || 0;+ return `◎${v >= 1 ? v.toFixed(2) : v.toFixed(3).replace(/0+$/, '').replace(/\.$/, '')}`;+}+const esc = (s) => String(s ?? '').replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c]));++function agentCardHTML(a, metricHTML) {+ const av = a.avatar_thumbnail_url+ ? `<img class="px-lb-av" src="${esc(a.avatar_thumbnail_url)}" alt="" loading="lazy" onerror="this.style.visibility='hidden'" />`+ : `<span class="px-lb-av px-lb-av--mono" aria-hidden="true">${esc((a.name || '?').charAt(0).toUpperCase())}</span>`;+ const chip = a.solana_address+ ? walletChipHTML({ name: a.name, meta: { solana_address: a.solana_address } }, { link: false, tip: false, showPending: false })+ : '';+ return (+ `<a class="px-lb-row" href="${esc(a.url)}">` ++ av ++ `<span class="px-lb-name">${esc(a.name)}${chip ? `<span class="px-lb-chip">${chip}</span>` : ''}</span>` ++ `<span class="px-lb-metric">${metricHTML}</span>` ++ `</a>`+ );+}++async function loadStats() {+ const host = $('px-stats');+ try {+ const res = await fetch(`/api/pulse?view=stats&network=${state.network}`, { headers: { accept: 'application/json' } });+ if (!res.ok) throw new Error(`stats ${res.status}`);+ const { data } = await res.json();+ renderStats(data);+ } catch (e) {+ log.warn('stats failed', e?.message);+ // The stats panel is supplementary — degrade quietly, never block the feed.+ if (host) host.innerHTML = `<div class="px-stats-err">Money stats are reconnecting…</div>`;+ }+}++function renderStats(d) {+ // Headline counters.+ $('px-c-tips').textContent = String(d.tips_24h?.count ?? 0);+ $('px-c-tips-sub').textContent = `${fmtSol(d.tips_24h?.sol)} · ${fmtUsd(d.tips_24h?.usd)}`;+ $('px-c-launches').textContent = String(d.launches_24h ?? 0);+ $('px-c-trades').textContent = String(d.trades_24h ?? 0);++ // Top earners (7d tips).+ const earners = $('px-earners');+ if (d.top_earners?.length) {+ earners.innerHTML = d.top_earners+ .map((a) => agentCardHTML(a, `${a.usd > 0 ? fmtUsd(a.usd) : fmtSol(a.sol)} <small>${a.tip_count} tip${a.tip_count === 1 ? '' : 's'}</small>`))+ .join('');+ wireWalletChips(earners);+ } else {+ earners.innerHTML = `<p class="px-lb-empty">No tips in the last 7 days. Be the first to back an agent.</p>`;+ }++ // Busiest wallets (24h events).+ const busy = $('px-busiest');+ if (d.busiest_wallets?.length) {+ busy.innerHTML = d.busiest_wallets+ .map((a) => agentCardHTML(a, `${a.events} <small>event${a.events === 1 ? '' : 's'}</small>`))+ .join('');+ wireWalletChips(busy);+ } else {+ busy.innerHTML = `<p class="px-lb-empty">No wallet activity in the last 24 hours yet.</p>`;+ }+}++function mountFeed() {+ const host = $('px-feed');+ if (state.pulse) state.pulse.destroy();+ state.pulse = mountMoneyPulse({+ mount: host,+ variant: 'full',+ network: state.network,+ type: new URLSearchParams(location.search).get('type') || 'all',+ live: true,+ });+}++function wireNetworkToggle() {+ for (const btn of document.querySelectorAll('[data-network]')) {+ btn.addEventListener('click', () => {+ const net = btn.dataset.network === 'devnet' ? 'devnet' : 'mainnet';+ if (net === state.network) return;+ state.network = net;+ for (const b of document.querySelectorAll('[data-network]')) {+ const on = b.dataset.network === net;+ b.classList.toggle('active', on);+ b.setAttribute('aria-selected', String(on));+ }+ $('px-net-label').textContent = net;+ state.pulse?.setNetwork(net);+ loadStats();+ });+ }+}++function init() {+ wireNetworkToggle();+ mountFeed();+ loadStats();+ // Refresh stats on a slow cadence; the feed has its own live delta polling.+ setInterval(() => { if (!document.hidden) loadStats(); }, 60_000);+}++if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', init);+else init();diff --git a/src/shared/agent-tip-modal.js b/src/shared/agent-tip-modal.jsindex e70a92971..f60310900 100644--- a/src/shared/agent-tip-modal.js+++ b/src/shared/agent-tip-modal.js@@ -20,6 +20,23 @@ import { getWalletStatus } from './agent-wallet-chip.js';const STYLE_ID = 'tws-tip-modal-styles';+// Notify the server of a confirmed P2P tip so it can verify the signature+// on-chain and surface the tip in the Money Pulse + the agent's wallet story.+// Fire-and-forget: the tip is already final on-chain, so this never blocks the+// success UI and a failure (e.g. no agent id, tx still finalizing) is silent.+function recordTip(agentId, signature, token, network) {+ if (!agentId || !signature) return;+ try {+ fetch(`/api/agents/${encodeURIComponent(agentId)}/solana/tip`, {+ method: 'POST',+ credentials: 'include',+ headers: { 'content-type': 'application/json' },+ body: JSON.stringify({ signature, asset: token || 'SOL', network: network || 'mainnet' }),+ keepalive: true,+ }).catch(() => {});+ } catch { /* never throws into the success path */ }+}+function esc(s) {return String(s == null ? '' : s).replace(/[&<>"']/g,@@ -259,6 +276,11 @@ export function openTipModal(agent, opts = {}) {state.done = { amount: state.amount, explorerUrl: res.explorerUrl, signature: res.signature };state.sending = false;render();+ // Record the confirmed tip so it enters the public Money Pulse + the+ // agent's wallet story. The server INDEPENDENTLY re-verifies the signature+ // on-chain before writing a row, so this is only a hint — a failure here+ // never affects the (already-final) on-chain tip.+ recordTip(status.agentId || agent?.id, res.signature, state.token, network);try { opts.onSent?.(res); } catch { /* listener best-effort */ }} catch (e) {state.sending = false;diff --git a/src/shared/payment-receipt.js b/src/shared/payment-receipt.jsindex 05d87f8f0..7e62cff44 100644--- a/src/shared/payment-receipt.js+++ b/src/shared/payment-receipt.js@@ -38,16 +38,21 @@ function safeExplorerHref(url) {/*** Format USDC atomic units (1e6) or a decimal value to a USD-style string.- * Automatically detects: values >= 1000 are treated as atomic (micro-USDC),- * smaller values are treated as already-decimal.+ *+ * When `isAtomic` is passed it is honoured exactly. When it is omitted the+ * magnitude heuristic applies: any payable micro-USDC amount is >= 1000 atomic,+ * so values >= 1000 are treated as atomic and smaller values as already-decimal.+ * Passing `false` explicitly forces decimal interpretation so a real dollar+ * amount like 1234.56 is not mistaken for atomic and shrunk to "$0.0012".** @param {number} amount- * @param {boolean} [isAtomic] force atomic interpretation+ * @param {boolean} [isAtomic] force (true) or forbid (false) atomic interpretation; omit to auto-detect* @returns {string} e.g. "$0.01"*/-export function formatUsdcAmount(amount, isAtomic = false) {+export function formatUsdcAmount(amount, isAtomic) {const n = Number(amount) || 0;- const decimal = isAtomic || n >= 1000 ? n / 1e6 : n;+ const atomic = isAtomic === undefined ? n >= 1000 : isAtomic;+ const decimal = atomic ? n / 1e6 : n;if (decimal < 0.01) return `$${decimal.toFixed(4)}`;if (decimal < 1) return `$${decimal.toFixed(3).replace(/0+$/, '').replace(/\.$/, '.00')}`;if (decimal < 100) return `$${decimal.toFixed(2)}`;diff --git a/src/shared/wallet-aura.js b/src/shared/wallet-aura.jsindex 72339ffb7..345d21f98 100644--- a/src/shared/wallet-aura.js+++ b/src/shared/wallet-aura.js@@ -39,7 +39,7 @@ function ensureStyles() {--wa-accent:var(--wallet-accent,#c4b5fd);--wa-glow:var(--wallet-glow,rgba(139,92,246,.45));--wa-i:0;}.wa-layer[data-ready="true"]{opacity:1;}/* A halo bloom AROUND the avatar — a transparent core means the figure is never- washed out; `screen` blend adds light only, so the body reads as emitting it.+ washed out; the screen blend adds light only, so the body reads as emitting it.Intensity scales with real net worth. */.wa-bloom{position:absolute;inset:-12%;border-radius:50%;mix-blend-mode:screen;background:radial-gradient(circle at 50% 60%,transparent 26%,var(--wa-glow) 48%,transparent 74%);diff --git a/src/shared/wallet-networth.js b/src/shared/wallet-networth.jsindex 3f739d99c..8426210b5 100644--- a/src/shared/wallet-networth.js+++ b/src/shared/wallet-networth.js@@ -204,10 +204,14 @@ export async function fetchWalletState(agent, opts = {}) {// Asset-mix hue rotations (degrees) layered over the violet wallet accent. These// are generic, coin-agnostic tints derived purely from real USD proportion; the// only coin named anywhere is $THREE, which earns the warm brand-gold shift.+// Targets are blended into the violet base by a small factor (shortest path on+// the wheel), so in practice each asset only nudges the accent within a coherent+// blue-violet→magenta band: SOL/USDC tilt toward blue-violet, $THREE toward+// magenta-violet, generic SPL stays neutral. No asset ever escapes the family.const MIX_HUES = {- sol: 170, // teal — native SOL- usdc: 150, // mint-green — the dollar rail- three: 45, // gold — $THREE, the one coin we feature+ sol: 170, // teal target → resolves to blue-violet+ usdc: 150, // mint target → resolves to blue-violet+ three: 45, // warm target → resolves to magenta-violet ($THREE, the one coin)other: 250, // violet-neutral — generic SPL};diff --git a/src/usdz-animated.js b/src/usdz-animated.jsindex 94677c04a..ef3309526 100644--- a/src/usdz-animated.js+++ b/src/usdz-animated.js@@ -36,7 +36,7 @@ const DEFAULTS = {targetFps: 15, // sampling density; Quick Look interpolates between samplesmaxFrames: 30, // hard cap so a long clip can't balloon the .usdz over cellularminFrames: 2,- precision: 5, // ASCII float digits — 5 keeps idle silhouettes crisp at ~⅓ the bytes of 7+ precision: 5, // ASCII float digits — 5 keeps idle silhouettes crisp at roughly a third the bytes of 7};/* ────────────────────────────────────────────────────────────────────────── *@@ -114,7 +114,7 @@ export function _injectStageTiming(modelUsda, { frameCount, durationSeconds }) {/*** Re-pack a USDZ from a {filename: Uint8Array} map, mirroring three's- * USDZExporter exactly: model.usda first, stored (level 0), each每 entry padded so+ * USDZExporter exactly: model.usda first, stored (level 0), each entry padded so* its payload starts on a 64-byte boundary (required for mmap'd USD reads).*/export function _packUsdz(files) {diff --git a/tests/api/avatar-thumbnail-size.test.js b/tests/api/avatar-thumbnail-size.test.jsnew file mode 100644index 000000000..1aa8df64c--- /dev/null+++ b/tests/api/avatar-thumbnail-size.test.js@@ -0,0 +1,42 @@+// The thumbnail endpoint must reject degenerate (1px / blank) PNG posters so the+// gallery never publishes an empty thumbnail. readPngSize parses the IHDR chunk;+// these tests lock its behavior on well-formed and malformed inputs.++import { describe, it, expect } from 'vitest';+import { readPngSize } from '../../api/avatars/thumbnail.js';++const PNG_SIG = Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]);++// Build a minimal PNG: signature + IHDR(length=13, type, width, height, …).+function pngWith(width, height) {+ const ihdr = Buffer.alloc(25); // 4 len + 4 type + 13 data+ ihdr.writeUInt32BE(13, 0);+ ihdr.write('IHDR', 4, 'ascii');+ ihdr.writeUInt32BE(width, 8);+ ihdr.writeUInt32BE(height, 12);+ return Buffer.concat([PNG_SIG, ihdr]);+}++describe('readPngSize', () => {+ it('parses width/height from a valid IHDR', () => {+ expect(readPngSize(pngWith(512, 512))).toEqual({ width: 512, height: 512 });+ expect(readPngSize(pngWith(64, 96))).toEqual({ width: 64, height: 96 });+ });++ it('reads a degenerate 1×1 poster as 1×1 (so the handler can reject it)', () => {+ expect(readPngSize(pngWith(1, 1))).toEqual({ width: 1, height: 1 });+ });++ it('returns null for non-PNG, truncated, or non-IHDR buffers', () => {+ expect(readPngSize(Buffer.alloc(4))).toBeNull();+ expect(readPngSize(Buffer.concat([PNG_SIG, Buffer.alloc(4)]))).toBeNull();+ const wrongChunk = Buffer.concat([PNG_SIG, Buffer.alloc(25)]); // zero-filled → not "IHDR"+ expect(readPngSize(wrongChunk)).toBeNull();+ expect(readPngSize('not a buffer')).toBeNull();+ });++ it('returns null when a dimension is zero', () => {+ expect(readPngSize(pngWith(0, 512))).toBeNull();+ expect(readPngSize(pngWith(512, 0))).toBeNull();+ });+});diff --git a/tests/api/avatars-error-masking.test.js b/tests/api/avatars-error-masking.test.jsnew file mode 100644index 000000000..d1916712e--- /dev/null+++ b/tests/api/avatars-error-masking.test.js@@ -0,0 +1,93 @@+// Verifies the avatar pipeline never leaks provider internals to the client:+// the submit-error classifier and the job-error sanitizer must translate every+// vendor name, billing state, and raw upstream string into neutral copy while+// preserving the error CODE the UIs branch on.++import { describe, it, expect } from 'vitest';+import { classifyProviderError, sanitizeJobError } from '../../api/avatars/_actions.js';++// Raw provider error strings as actually thrown by the Meshy/Tripo adapters and+// returned in job status — none of these substrings may survive to the client.+const VENDOR_LEAKS = [+ 'Meshy account is out of credits.',+ 'Meshy rejected the API key.',+ 'Tripo account is out of credits.',+ 'Tripo is rate limiting this key.',+ 'meshy task not found',+ 'meshy returned 500',+ 'tripo poll failed: ECONNREFUSED 10.0.0.1:443',+ 'unknown AVATAR_REGEN_PROVIDER: replicate-experimental',+ 'https://platform.stability.ai/account/billing',+];++describe('classifyProviderError — preserves code, masks message', () => {+ it.each([+ ['insufficient_credits', 402, 'insufficient_credits'],+ ['invalid_key', 401, 'invalid_key'],+ ['missing_key', 401, 'missing_key'],+ ['rate_limited', 429, 'rate_limited'],+ ['invalid_request', 400, 'invalid_request'],+ ['mode_unconfigured', 501, 'regen_unconfigured'],+ ['regen_provider_unknown', 501, 'regen_unconfigured'],+ ['provider_unreachable', 502, 'regen_provider_error'],+ ['provider_error', 502, 'regen_provider_error'],+ ])('code %s → status %d / client-code %s', (code, status, outCode) => {+ const out = classifyProviderError({ code, message: 'Meshy account is out of credits. https://meshy.ai/billing', status });+ expect(out.status).toBe(status);+ expect(out.code).toBe(outCode);+ });++ it('falls back by HTTP status when no code is present', () => {+ expect(classifyProviderError({ status: 402 }).code).toBe('insufficient_credits');+ expect(classifyProviderError({ status: 401 }).code).toBe('invalid_key');+ expect(classifyProviderError({ status: 429 }).code).toBe('rate_limited');+ expect(classifyProviderError({}).code).toBe('regen_provider_error');+ });++ it('never echoes a vendor name, billing wording, IP, or URL in the message', () => {+ for (const raw of VENDOR_LEAKS) {+ const { message } = classifyProviderError({ message: raw, code: 'provider_error', status: 502 });+ expect(message).not.toMatch(/meshy|tripo|stability|replicate/i);+ expect(message).not.toMatch(/https?:\/\//);+ expect(message).not.toMatch(/\d+\.\d+\.\d+\.\d+/);+ expect(message).not.toMatch(/credit|billing|api key/i);+ }+ });++ it('rate-limit carries a retry hint', () => {+ expect(classifyProviderError({ code: 'rate_limited' }).retryAfter).toBe(15);+ });+});++describe('sanitizeJobError — neutralizes raw job/provider strings', () => {+ it('returns null for empty input', () => {+ expect(sanitizeJobError(null)).toBeNull();+ expect(sanitizeJobError('')).toBeNull();+ expect(sanitizeJobError(undefined)).toBeNull();+ });++ it.each([+ ['NSFW content detected by safety classifier', /content safety/i],+ ['no face found in input image', /face/i],+ ['CUDA out of memory (OOM) on device 0', /resources/i],+ ['upstream request timed out after 300s', /too long|try again/i],+ ['account has insufficient credit balance, see billing', /temporarily unavailable/i],+ ['429 rate limit exceeded for key sk_live_xxx', /busy/i],+ ])('maps %s → friendly copy', (raw, expected) => {+ const out = sanitizeJobError(raw);+ expect(out).toMatch(expected);+ });++ it('never leaks vendor names, keys, IPs, or URLs', () => {+ for (const raw of [+ ...VENDOR_LEAKS,+ 'meshy task failed: GPU node i-0abc123 oom at https://meshy.ai/tasks/xyz',+ 'sk_live_secret_key_leaked rate limit',+ ]) {+ const out = sanitizeJobError(raw) || '';+ expect(out).not.toMatch(/meshy|tripo|stability|replicate/i);+ expect(out).not.toMatch(/https?:\/\//);+ expect(out).not.toMatch(/sk_live|i-0abc/);+ }+ });+});diff --git a/tests/api/http-server-error-page.test.js b/tests/api/http-server-error-page.test.jsnew file mode 100644index 000000000..35c8fc735--- /dev/null+++ b/tests/api/http-server-error-page.test.js@@ -0,0 +1,88 @@+// Verifies the navigation-aware 5xx branch in wrap() (api/_lib/http.js): a real+// browser navigation that hits an uncaught server error is redirected to the+// branded /500 page carrying its support ref + the original (redacted) path,+// while a programmatic API / agent call keeps receiving the JSON error envelope.+// This is what makes the human error UX beautiful without changing the contract+// every x402 / agent client depends on.++import { describe, it, expect } from 'vitest';+import { wrap } from '../../api/_lib/http.js';++function mockReq({ method = 'GET', url = '/api/thing?x=1', headers = {} } = {}) {+ return { method, url, headers };+}++function mockRes() {+ return {+ statusCode: 200,+ headers: {},+ body: null,+ headersSent: false,+ writableEnded: false,+ setHeader(k, v) {+ this.headers[k.toLowerCase()] = String(v);+ },+ end(payload) {+ this.writableEnded = true;+ this.body = payload ?? null;+ },+ };+}++const boom = wrap(async () => {+ throw new Error('kaboom: https://mainnet.helius-rpc.com/?api-key=sk_live_LEAK');+});++describe('wrap() 5xx navigation routing', () => {+ it('redirects a top-level browser navigation to /500 with a ref and the from path', async () => {+ const req = mockReq({+ url: '/agent/abc?lat=37.77&token=secret',+ headers: { 'sec-fetch-mode': 'navigate', accept: 'text/html' },+ });+ const res = mockRes();+ await boom(req, res);++ expect(res.statusCode).toBe(303);+ const loc = res.headers['location'];+ expect(loc).toMatch(/^\/500\.html\?/);++ const q = new URLSearchParams(loc.slice('/500.html?'.length));+ // A correlation ref is present and looks like our 16-hex id.+ expect(q.get('ref')).toMatch(/^[0-9a-f]{16}$/);+ // `from` round-trips the original path so "Try again" retries it…+ const from = q.get('from');+ expect(from).toContain('/agent/abc');+ // …but the geo + token are redacted out of it (it lands in the address bar).+ expect(from).not.toContain('37.77');+ expect(from).not.toContain('secret');+ expect(from).toContain('REDACTED');++ // Never leak the upstream API key, not even into the redirect URL.+ expect(loc).not.toContain('sk_live_LEAK');+ });++ it('returns the JSON envelope (not a redirect) for a programmatic API call', async () => {+ // No Sec-Fetch-Mode: navigate → treated as an API / agent caller.+ const req = mockReq({ headers: { accept: 'application/json' } });+ const res = mockRes();+ await boom(req, res);++ expect(res.statusCode).toBe(500);+ expect(res.headers['location']).toBeUndefined();+ const body = JSON.parse(res.body);+ expect(body.error).toBe('internal_error');+ expect(body.ref).toMatch(/^[0-9a-f]{16}$/);+ expect(body.error_description).toContain(body.ref);+ // The sanitized envelope never carries the raw upstream message / key.+ expect(res.body).not.toContain('sk_live_LEAK');+ });++ it('treats a fetch() request (sec-fetch-mode: cors) as an API call', async () => {+ const req = mockReq({ headers: { 'sec-fetch-mode': 'cors', accept: 'text/html' } });+ const res = mockRes();+ await boom(req, res);+ // Even though Accept prefers HTML, an explicit non-navigate mode wins.+ expect(res.statusCode).toBe(500);+ expect(res.headers['location']).toBeUndefined();+ });+});diff --git a/tests/glb-canonicalize.test.js b/tests/glb-canonicalize.test.jsindex 6166c1f27..59fd88290 100644--- a/tests/glb-canonicalize.test.js+++ b/tests/glb-canonicalize.test.js@@ -233,6 +233,63 @@ describe('canonicalizeBoneName', () => {expect(canonicalizeBoneName(input)).toBe(expected);});+ // Reallusion Character Creator 3/4 — every joint carries a `CC_Base_` prefix+ // and the limb stems use one-word spellings (`Upperarm`, `Calf`, `ToeBase`,+ // `NeckTwist01`) behind an `L_`/`R_` side token. Without the prefix strip ++ // sided aliases an entire CC export maps zero bones and ships a T-pose.+ it.each([+ ['CC_Base_Hip', 'Hips'],+ ['CC_Base_Pelvis', 'Hips'],+ ['CC_Base_Head', 'Head'],+ ['CC_Base_NeckTwist01', 'Neck'],+ ['CC_Base_L_Clavicle', 'LeftShoulder'],+ ['CC_Base_L_Upperarm', 'LeftArm'],+ ['CC_Base_R_Upperarm', 'RightArm'],+ ['CC_Base_L_Forearm', 'LeftForeArm'],+ ['CC_Base_L_Hand', 'LeftHand'],+ ['CC_Base_L_Thigh', 'LeftUpLeg'],+ ['CC_Base_R_Thigh', 'RightUpLeg'],+ ['CC_Base_L_Calf', 'LeftLeg'],+ ['CC_Base_L_Foot', 'LeftFoot'],+ ['CC_Base_L_ToeBase', 'LeftToeBase'],+ ])('maps Character Creator 3/4 bones: %s → %s', (input, expected) => {+ expect(canonicalizeBoneName(input)).toBe(expected);+ });++ // 3ds Max Biped — `Bip01 <bone>` / `Bip001 <bone>` with a space-separated side+ // token. Stripping the `Bip<NN>` prefix lets the residual canonical/sided+ // spellings resolve so the whole biped rig animates instead of T-posing.+ it.each([+ ['Bip01 Pelvis', 'Hips'],+ ['Bip01 Spine', 'Spine'],+ ['Bip01 Spine1', 'Spine1'],+ ['Bip01 Neck', 'Neck'],+ ['Bip01 Head', 'Head'],+ ['Bip01 L UpperArm', 'LeftArm'],+ ['Bip01 L Forearm', 'LeftForeArm'],+ ['Bip01 L Hand', 'LeftHand'],+ ['Bip01 L Thigh', 'LeftUpLeg'],+ ['Bip01 L Calf', 'LeftLeg'],+ ['Bip01 L Foot', 'LeftFoot'],+ ['Bip001 R UpperArm','RightArm'],+ ['Bip001 R Thigh', 'RightUpLeg'],+ ])('maps 3ds Max Biped bones: %s → %s', (input, expected) => {+ expect(canonicalizeBoneName(input)).toBe(expected);+ });++ // Generic bare side-prefix auto-riggers (some Meshy/Tripo + simple rigs) emit+ // the canonical short bone name behind an `L_`/`R_` token.+ it.each([+ ['L_Arm', 'LeftArm'],+ ['R_Arm', 'RightArm'],+ ['L_Shoulder', 'LeftShoulder'],+ ['L_Leg', 'LeftLeg'],+ ['R_Leg', 'RightLeg'],+ ['L_UpLeg', 'LeftUpLeg'],+ ])('maps generic L_/R_ side-prefix bones: %s → %s', (input, expected) => {+ expect(canonicalizeBoneName(input)).toBe(expected);+ });+// VRM 1.0 normalized humanoid names (camelCase, no vendor prefix).it.each([['leftUpperArm', 'LeftArm'],diff --git a/tests/irl-marker-pose.test.js b/tests/irl-marker-pose.test.jsnew file mode 100644index 000000000..3dbe2b103--- /dev/null+++ b/tests/irl-marker-pose.test.js@@ -0,0 +1,107 @@+// Monocular marker pose optics (src/irl/marker-pose.js).+//+// These pin the pinhole math that turns a QR's on-screen geometry into a metric+// camera-space pose: get the focal length, distance, or principal-point handling+// wrong and every marker-anchored agent lands at the wrong depth for everyone. No+// camera, no Three.js — the world transform is the caller's job.++import { describe, it, expect } from 'vitest';++import {+ focalLengthPx,+ estimateDistanceM,+ cameraSpacePoint,+ markerPoseCamera,+ DEFAULT_MARKER_SIZE_M,+} from '../src/irl/marker-pose.js';++const near = (a, b, eps = 1e-6) => Math.abs(a - b) <= eps;++describe('focalLengthPx', () => {+ it('a 90° vertical FOV gives f = H/2 (tan45 = 1)', () => {+ expect(near(focalLengthPx(90, 480), 240)).toBe(true);+ });++ it('a narrower FOV gives a longer focal length', () => {+ expect(focalLengthPx(60, 480)).toBeGreaterThan(focalLengthPx(90, 480));+ });++ it('defends degenerate input', () => {+ expect(focalLengthPx(0, 480)).toBe(0);+ expect(focalLengthPx(60, 0)).toBe(0);+ expect(focalLengthPx(NaN, 480)).toBe(0);+ });+});++describe('estimateDistanceM', () => {+ it('Z = f·S/span — a marker imaged at f px across sits one focal length away', () => {+ // span == f px → distance == physical size.+ expect(near(estimateDistanceM(240, 0.16, 240), 0.16)).toBe(true);+ });++ it('halving the on-screen span doubles the distance', () => {+ const near100 = estimateDistanceM(200, 0.16, 240);+ const far50 = estimateDistanceM(100, 0.16, 240);+ expect(near(far50, near100 * 2)).toBe(true);+ });++ it('defends degenerate input', () => {+ expect(estimateDistanceM(0, 0.16, 240)).toBe(0);+ expect(estimateDistanceM(100, 0, 240)).toBe(0);+ expect(estimateDistanceM(100, 0.16, 0)).toBe(0);+ });+});++describe('cameraSpacePoint', () => {+ const frame = { w: 640, h: 480 };+ const fpx = 240;++ it('the principal point projects straight ahead (−Z), no lateral offset', () => {+ const p = cameraSpacePoint(320, 240, frame, fpx, 2);+ expect(near(p.x, 0)).toBe(true);+ expect(near(p.y, 0)).toBe(true);+ expect(near(p.z, -2)).toBe(true); // forward is −Z+ });++ it('a pixel right of centre maps to +X; below centre maps to −Y (image y flips)', () => {+ const right = cameraSpacePoint(320 + 240, 240, frame, fpx, 2); // one focal length right+ expect(near(right.x, 2)).toBe(true); // (240/240)*2+ const below = cameraSpacePoint(320, 240 + 240, frame, fpx, 2);+ expect(near(below.y, -2)).toBe(true);+ });+});++describe('markerPoseCamera', () => {+ const frame = { w: 640, h: 480 };+ // A centred 96px marker, right edge 48px to the right of centre.+ const base = {+ center: { x: 320, y: 240 },+ rightMid: { x: 368, y: 240 },+ spanPx: 96,+ frame,+ vfovDeg: 90, // f = 240px+ };++ it('places a centred marker straight ahead at the metric distance', () => {+ const pose = markerPoseCamera(base);+ expect(pose.ok).toBe(true);+ // f=240, span=96, S=0.16 → Z = 240*0.16/96 = 0.4 m.+ expect(near(pose.distanceM, 0.4)).toBe(true);+ expect(near(pose.center.x, 0)).toBe(true);+ expect(near(pose.center.z, -0.4)).toBe(true);+ // Right point is offset +X, same depth → its facing delta is purely lateral.+ expect(pose.right.x).toBeGreaterThan(pose.center.x);+ expect(near(pose.right.z, pose.center.z)).toBe(true);+ });++ it('flags an implausible (too far) read as not ok', () => {+ const pose = markerPoseCamera({ ...base, spanPx: 1 }); // ~38 m away+ expect(pose.ok).toBe(false);+ });++ it('defaults the marker size when unspecified', () => {+ const pose = markerPoseCamera(base);+ const explicit = markerPoseCamera({ ...base, markerSizeM: DEFAULT_MARKER_SIZE_M });+ expect(near(pose.distanceM, explicit.distanceM)).toBe(true);+ });+});diff --git a/tests/payment-receipt.test.js b/tests/payment-receipt.test.jsnew file mode 100644index 000000000..dc17841f2--- /dev/null+++ b/tests/payment-receipt.test.js@@ -0,0 +1,121 @@+// Unit tests for the payment receipt formatter. This is money-facing UI copy —+// the amount, timing, and (critically) the explorer link are rendered straight+// into the DOM, so the formatting and the URL allowlisting must stay correct.++import { describe, it, expect } from 'vitest';+import {+ formatUsdcAmount,+ formatElapsed,+ buildReceiptHTML,+ buildReceiptText,+} from '../src/shared/payment-receipt.js';++describe('formatUsdcAmount', () => {+ it('renders atomic micro-USDC as a dollar amount', () => {+ expect(formatUsdcAmount(10_000, true)).toBe('$0.01');+ expect(formatUsdcAmount(1_000_000, true)).toBe('$1.00');+ expect(formatUsdcAmount(2_500_000, true)).toBe('$2.50');+ });++ it('renders already-decimal values without scaling', () => {+ expect(formatUsdcAmount(0.01, false)).toBe('$0.01');+ expect(formatUsdcAmount(2.5, false)).toBe('$2.50');+ });++ it('uses extra precision for sub-cent amounts', () => {+ expect(formatUsdcAmount(0.001, false)).toBe('$0.0010');+ });++ it('rounds whole-dollar amounts >= 100', () => {+ expect(formatUsdcAmount(150, false)).toBe('$150');+ // Grouping separator is locale-dependent, so match loosely.+ expect(formatUsdcAmount(1234.56, false)).toMatch(/^\$1[,\s]?235$/);+ });++ it('treats values >= 1000 as atomic when isAtomic is not given (documented heuristic)', () => {+ expect(formatUsdcAmount(10_000)).toBe('$0.01');+ });++ it('never throws on garbage input', () => {+ expect(formatUsdcAmount(undefined)).toBe('$0.0000');+ expect(formatUsdcAmount(NaN)).toBe('$0.0000');+ expect(formatUsdcAmount('not a number')).toBe('$0.0000');+ });+});++describe('formatElapsed', () => {+ it('uses "just now" under two seconds', () => {+ expect(formatElapsed(0)).toBe('just now');+ expect(formatElapsed(1400)).toBe('just now');+ });++ it('renders seconds, minutes, and hours', () => {+ expect(formatElapsed(2000)).toBe('2s');+ expect(formatElapsed(45_000)).toBe('45s');+ expect(formatElapsed(90_000)).toBe('2m'); // 90s rounds to 2m+ expect(formatElapsed(3_600_000)).toBe('1h');+ });++ it('rolls 60 minutes up to 1h rather than showing "60m"', () => {+ expect(formatElapsed(59 * 60 * 1000 + 40 * 1000)).toBe('1h');+ });++ it('never throws on missing input', () => {+ expect(formatElapsed()).toBe('just now');+ });+});++describe('buildReceiptHTML', () => {+ it('builds a paid line with amount, recipient, and timing', () => {+ const html = buildReceiptHTML({+ usdcAtomic: 10_000,+ recipientLabel: 'creator',+ elapsedMs: 2000,+ });+ expect(html).toContain('✓ Paid $0.01');+ expect(html).toContain('to creator');+ expect(html).toContain('· 2s');+ });++ it('links to a whitelisted explorer origin', () => {+ const html = buildReceiptHTML({+ usdcAtomic: 10_000,+ explorerUrl: 'https://solscan.io/tx/abc123',+ });+ expect(html).toContain('href="https://solscan.io/tx/abc123"');+ expect(html).toContain('rel="noopener noreferrer"');+ expect(html).toContain('details ↗');+ });++ it('refuses a non-whitelisted explorer origin and falls back to a truncated signature', () => {+ const html = buildReceiptHTML({+ usdcAtomic: 10_000,+ explorerUrl: 'https://evil.example.com/tx/abc',+ signature: 'abcdef1234567890ZZZZ',+ });+ expect(html).not.toContain('evil.example.com');+ expect(html).not.toContain('<a');+ expect(html).toContain('abcdef…ZZZZ');+ });++ it('escapes a hostile recipient label so it cannot inject markup', () => {+ const html = buildReceiptHTML({+ usdcAtomic: 10_000,+ recipientLabel: '<img src=x onerror=alert(1)>',+ });+ expect(html).not.toContain('<img');+ expect(html).toContain('<img');+ });++ it('degrades gracefully when no amount is provided', () => {+ expect(buildReceiptHTML({})).toContain('✓ Paid payment');+ });+});++describe('buildReceiptText', () => {+ it('produces a plain-text receipt for toasts', () => {+ expect(+ buildReceiptText({ usdcAtomic: 10_000, recipientLabel: 'creator', elapsedMs: 2000 }),+ ).toBe('✓ Paid $0.01 to creator · 2s');+ });+});diff --git a/tests/usdz-animated.test.js b/tests/usdz-animated.test.jsnew file mode 100644index 000000000..008792fb6--- /dev/null+++ b/tests/usdz-animated.test.js@@ -0,0 +1,253 @@+// Tests for the animated USDZ exporter (src/usdz-animated.js).+//+// The risky, hand-authored parts of the animated pipeline are pure: turning+// per-frame vertex arrays into USD `point3f[] points.timeSamples`, injecting+// stage playback timing, and re-packing the 64-byte-aligned USDZ zip. Those are+// covered here directly and deterministically — no GLB parsing, no browser+// canvas — plus an end-to-end sampler test driving a real SkinnedMesh through a+// real AnimationClip to prove the captured frames follow the skeleton.++import { describe, it, expect, beforeAll } from 'vitest';+import {+ Bone,+ Skeleton,+ SkinnedMesh,+ BufferGeometry,+ Float32BufferAttribute,+ Uint16BufferAttribute,+ MeshStandardMaterial,+ Scene,+ AnimationMixer,+ AnimationClip,+ VectorKeyframeTrack,+} from 'three';+import { GLTFExporter } from 'three/addons/exporters/GLTFExporter.js';+import { unzipSync, strFromU8 } from 'three/addons/libs/fflate.module.js';++import {+ _vec3ArrayToUsd,+ _pointsTimeSamplesBlock,+ _patchGeometryPoints,+ _injectStageTiming,+ _packUsdz,+ _sampleSkinnedFrames,+ glbBlobToAnimatedUsdzBlob,+} from '../src/usdz-animated.js';++// GLTFExporter's binary writer reaches for the browser FileReader; shim it over+// Node's Blob so the end-to-end test can mint a GLB without a DOM.+beforeAll(() => {+ if (typeof globalThis.FileReader === 'undefined') {+ globalThis.FileReader = class {+ readAsArrayBuffer(blob) {+ blob.arrayBuffer().then((b) => {+ this.result = b;+ this.onloadend?.();+ });+ }+ readAsDataURL(blob) {+ blob.arrayBuffer().then((b) => {+ this.result = `data:${blob.type || ''};base64,${Buffer.from(b).toString('base64')}`;+ this.onloadend?.();+ });+ }+ };+ }+});++describe('_vec3ArrayToUsd', () => {+ it('formats a flat xyz array as USD tuples at the given precision', () => {+ const out = _vec3ArrayToUsd(new Float32Array([1, 2, 3, 4, 5, 6]), 3);+ expect(out).toBe('(1.00, 2.00, 3.00), (4.00, 5.00, 6.00)');+ });+});++describe('_pointsTimeSamplesBlock', () => {+ it('keys each frame array by its integer time code', () => {+ const block = _pointsTimeSamplesBlock(+ [new Float32Array([0, 0, 0]), new Float32Array([1, 1, 1])],+ 3,+ );+ expect(block).toContain('point3f[] points.timeSamples = {');+ expect(block).toContain('0: [(0.00, 0.00, 0.00)],');+ expect(block).toContain('1: [(1.00, 1.00, 1.00)],');+ });+});++describe('_patchGeometryPoints', () => {+ const GEOM = [+ 'def Mesh "Geometry"',+ '{',+ '\tint[] faceVertexCounts = [3]',+ '\tint[] faceVertexIndices = [0, 1, 2]',+ '\tpoint3f[] points = [(0, 1, 0), (1, 0, 0), (0, 0, 1)]',+ '\tuniform token subdivisionScheme = "none"',+ '}',+ ].join('\n');++ it('swaps the static points property for time samples without touching the rest', () => {+ const out = _patchGeometryPoints(+ GEOM,+ [new Float32Array([0, 1, 0, 1, 0, 0, 0, 0, 1]), new Float32Array([5, 1, 0, 6, 0, 0, 5, 0, 1])],+ 5,+ );+ expect(out).not.toContain('point3f[] points = [');+ expect(out).toContain('point3f[] points.timeSamples = {');+ expect(out).toContain('1: [(5.0000, 1.0000, 0.0000)');+ // Topology and other properties survive verbatim.+ expect(out).toContain('int[] faceVertexIndices = [0, 1, 2]');+ expect(out).toContain('uniform token subdivisionScheme = "none"');+ });++ it('throws when there is no static points property to animate', () => {+ expect(() => _patchGeometryPoints('def Mesh "x" {}', [new Float32Array([0, 0, 0])])).toThrow(+ /no static points/,+ );+ });+});++describe('_injectStageTiming', () => {+ const HEADER = ['#usda 1.0', '(', '\tdefaultPrim = "Root"', '\tmetersPerUnit = 1', '\tupAxis = "Y"', ')', ''].join(+ '\n',+ );++ it('adds frame range and real-time playback rate to the layer metadata', () => {+ const out = _injectStageTiming(HEADER, { frameCount: 16, durationSeconds: 3 });+ expect(out).toContain('startTimeCode = 0');+ expect(out).toContain('endTimeCode = 15');+ // 15 codes over 3s → 5 codes/sec.+ expect(out).toContain('timeCodesPerSecond = 5.00000');+ expect(out).toContain('framesPerSecond = 5.00000');+ // upAxis is preserved, not replaced.+ expect(out).toContain('upAxis = "Y"');+ });++ it('throws on an unexpected header rather than producing a broken stage', () => {+ expect(() => _injectStageTiming('#usda 1.0\n(\n)\n', { frameCount: 2, durationSeconds: 1 })).toThrow(+ /unexpected USDA header/,+ );+ });+});++describe('_packUsdz', () => {+ it('produces a valid zip with model.usda first and 64-byte-aligned payloads', () => {+ const files = {+ 'geometries/Geometry_1.usda': new TextEncoder().encode('geom'),+ 'model.usda': new TextEncoder().encode('#usda 1.0\n'),+ 'textures/Texture_0.png': new Uint8Array([1, 2, 3, 4]),+ };+ const zipped = _packUsdz({ ...files });+ const back = unzipSync(zipped);++ // model.usda is present and first in iteration order.+ expect(Object.keys(back)[0]).toBe('model.usda');+ expect(strFromU8(back['model.usda'])).toContain('#usda 1.0');+ expect(strFromU8(back['geometries/Geometry_1.usda'])).toBe('geom');++ // Each file's data payload starts at a 64-byte boundary (USD mmap rule):+ // the local-file-header is 30 bytes + filename, plus any extra field, and+ // the resulting data offset must satisfy (offset % 64) === 0.+ const view = new DataView(zipped.buffer, zipped.byteOffset, zipped.byteLength);+ let p = 0;+ while (p + 4 <= zipped.length && view.getUint32(p, true) === 0x04034b50) {+ const nameLen = view.getUint16(p + 26, true);+ const extraLen = view.getUint16(p + 28, true);+ const compSize = view.getUint32(p + 18, true);+ const dataOffset = p + 30 + nameLen + extraLen;+ expect(dataOffset % 64).toBe(0);+ p = dataOffset + compSize;+ }+ });+});++describe('_sampleSkinnedFrames', () => {+ it('captures deformed vertices that follow the bone across the clip', () => {+ const geo = new BufferGeometry();+ geo.setAttribute('position', new Float32BufferAttribute([0, 1, 0, 1, 0, 0, 0, 0, 1], 3));+ geo.setAttribute('skinIndex', new Uint16BufferAttribute([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 4));+ geo.setAttribute('skinWeight', new Float32BufferAttribute([1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0], 4));++ const bone = new Bone();+ bone.name = 'TestBone';+ const skeleton = new Skeleton([bone]);+ const mesh = new SkinnedMesh(geo, new MeshStandardMaterial());+ mesh.add(bone);+ mesh.bind(skeleton);++ const scene = new Scene();+ scene.add(mesh);++ // Bone slides 0 → 4 on X across a 1s clip.+ const clip = new AnimationClip('slide', 1, [+ new VectorKeyframeTrack('TestBone.position', [0, 1], [0, 0, 0, 4, 0, 0]),+ ]);+ const mixer = new AnimationMixer(scene);+ const action = mixer.clipAction(clip);++ const frames = _sampleSkinnedFrames(scene, mixer, action, [mesh], {+ frameCount: 4,+ duration: 1,+ }).get(mesh);++ expect(frames).toHaveLength(4);+ // Times sampled at 0, .25, .5, .75 → bone X at 0, 1, 2, 3 → vertex0.x tracks it.+ const x0 = frames.map((f) => f[0]);+ expect(x0[0]).toBeCloseTo(0, 4);+ expect(x0[1]).toBeCloseTo(1, 4);+ expect(x0[2]).toBeCloseTo(2, 4);+ expect(x0[3]).toBeCloseTo(3, 4);+ // Y/Z of vertex0 are unaffected by an X-only translation.+ expect(frames[3][1]).toBeCloseTo(1, 4);+ });+});++describe('glbBlobToAnimatedUsdzBlob (end-to-end)', () => {+ async function buildAnimatedSkinnedGlb() {+ const geo = new BufferGeometry();+ geo.setAttribute('position', new Float32BufferAttribute([0, 1, 0, 1, 0, 0, 0, 0, 1], 3));+ geo.setAttribute('normal', new Float32BufferAttribute([0, 0, 1, 0, 0, 1, 0, 0, 1], 3));+ geo.setAttribute('skinIndex', new Uint16BufferAttribute([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 4));+ geo.setAttribute('skinWeight', new Float32BufferAttribute([1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0], 4));+ geo.setIndex([0, 1, 2]);++ const bone = new Bone();+ bone.name = 'Hips';+ const mesh = new SkinnedMesh(geo, new MeshStandardMaterial({ color: 0x8844ff }));+ mesh.name = 'Body';+ mesh.add(bone);+ mesh.bind(new Skeleton([bone]));++ const scene = new Scene();+ scene.add(mesh);+ const clip = new AnimationClip('idle', 1, [+ new VectorKeyframeTrack('Hips.position', [0, 1], [0, 0, 0, 0.3, 0, 0]),+ ]);++ const buffer = await new Promise((resolve, reject) =>+ new GLTFExporter().parse(scene, resolve, reject, { binary: true, animations: [clip] }),+ );+ return new Blob([buffer]);+ }++ it('turns a skinned, animated GLB into a looping animated USDZ', async () => {+ const glbBlob = await buildAnimatedSkinnedGlb();+ const usdz = await glbBlobToAnimatedUsdzBlob(glbBlob, { targetFps: 8 });++ expect(usdz.type).toBe('model/vnd.usdz+zip');+ const files = unzipSync(new Uint8Array(await usdz.arrayBuffer()));++ // Valid USDZ shape: model.usda first, geometry packaged alongside.+ expect(Object.keys(files)[0]).toBe('model.usda');+ const model = strFromU8(files['model.usda']);+ expect(model).toMatch(/timeCodesPerSecond = 7\.0+/); // 8 frames over 1s → 7 codes/sec+ expect(model).toMatch(/endTimeCode = 7/);+ expect(model).toMatch(/startTimeCode = 0/);++ const geomName = Object.keys(files).find((f) => f.startsWith('geometries/'));+ const geom = strFromU8(files[geomName]);+ expect(geom).toContain('point3f[] points.timeSamples = {');+ expect(geom).not.toMatch(/point3f\[\] points = \[/);+ // All 8 frames present as time codes 0..7.+ for (let f = 0; f <= 7; f++) expect(geom).toContain(`${f}: [(`);+ });+});diff --git a/tests/wallet-networth.test.js b/tests/wallet-networth.test.jsnew file mode 100644index 000000000..73cf9fcc1--- /dev/null+++ b/tests/wallet-networth.test.js@@ -0,0 +1,143 @@+// Unit tests for the Net-Worth-Reactive Avatar mapping — src/shared/wallet-networth.js.+//+// The visual mapping is the heart of task 07: the agent's 3D body is a PURE+// function of its real wallet state. These tests pin that contract — tier+// thresholds, intensity monotonicity, the whale cap, the dormant baseline, the+// asset-mix palette, and that the same state always yields the same look (no+// randomness, no time input). No network: every input is a plain state object.++import { describe, it, expect } from 'vitest';+import {+ NETWORTH_TIERS,+ tierForUsd,+ computeWalletVisual,+ dominantAsset,+ walletGlowForUsd,+ formatNetWorth,+ THREE_MINT,+} from '../src/shared/wallet-networth.js';++const state = (usdTotal, mix = { sol: 1 }, extra = {}) => ({ usdTotal, mix, hasThree: false, ...extra });++describe('tierForUsd', () => {+ it('maps an empty / zero / negative wallet to dormant', () => {+ expect(tierForUsd(0).key).toBe('dormant');+ expect(tierForUsd(-5).key).toBe('dormant');+ expect(tierForUsd(null).key).toBe('dormant');+ expect(tierForUsd(undefined).key).toBe('dormant');+ expect(tierForUsd(NaN).key).toBe('dormant');+ });++ it('crosses each threshold into the next tier', () => {+ expect(tierForUsd(0.5).key).toBe('dormant'); // below the $1 spark line+ expect(tierForUsd(1).key).toBe('spark');+ expect(tierForUsd(24.99).key).toBe('spark');+ expect(tierForUsd(25).key).toBe('ember');+ expect(tierForUsd(250).key).toBe('glow');+ expect(tierForUsd(2_500).key).toBe('radiant');+ expect(tierForUsd(25_000).key).toBe('luminous');+ expect(tierForUsd(5_000_000).key).toBe('luminous');+ });++ it('tier levels are 0..5 and strictly ordered by min', () => {+ expect(NETWORTH_TIERS.map((t) => t.level)).toEqual([0, 1, 2, 3, 4, 5]);+ for (let i = 1; i < NETWORTH_TIERS.length; i++) {+ expect(NETWORTH_TIERS[i].min).toBeGreaterThan(NETWORTH_TIERS[i - 1].min);+ }+ });+});++describe('computeWalletVisual', () => {+ it('dormant wallet renders a clean baseline, never broken', () => {+ const v = computeWalletVisual(state(0));+ expect(v.dormant).toBe(true);+ expect(v.level).toBe(0);+ expect(v.particleDensity).toBe(0);+ expect(v.tier).toBe('dormant');+ expect(typeof v.accent).toBe('string');+ expect(v.accent).toMatch(/^hsl/);+ });++ it('intensity rises monotonically across tiers and is capped at 1', () => {+ const vals = [0, 1, 25, 250, 2_500, 25_000, 10_000_000].map(+ (u) => computeWalletVisual(state(u)).intensity,+ );+ for (let i = 1; i < vals.length; i++) {+ expect(vals[i]).toBeGreaterThanOrEqual(vals[i - 1]);+ }+ expect(vals[vals.length - 1]).toBeLessThanOrEqual(1);+ expect(vals[vals.length - 1]).toBeLessThanOrEqual(computeWalletVisual(state(25_000)).intensity + 1e-9);+ });++ it('caps the whale tier so an enormous balance never overshoots', () => {+ const a = computeWalletVisual(state(25_000));+ const b = computeWalletVisual(state(999_999_999));+ expect(a.capped).toBe(true);+ expect(b.capped).toBe(true);+ expect(b.intensity).toBe(a.intensity); // hard clamp — identical, not brighter+ expect(b.intensity).toBeLessThanOrEqual(1);+ });++ it('is a pure function — identical state yields identical visual', () => {+ const s = state(1_234, { sol: 0.6, three: 0.4 }, { hasThree: true });+ expect(computeWalletVisual(s)).toEqual(computeWalletVisual(s));+ });++ it('particle budget is bounded and tasteful', () => {+ const max = computeWalletVisual(state(10_000_000)).particleDensity;+ expect(max).toBeGreaterThan(0);+ expect(max).toBeLessThanOrEqual(60);+ });++ it('surfaces $THREE holdings without ever rotating off the violet family', () => {+ const withThree = computeWalletVisual(state(500, { three: 1 }, { hasThree: true }));+ const withSol = computeWalletVisual(state(500, { sol: 1 }));+ expect(withThree.hasThree).toBe(true);+ // Both stay in the coherent blue-violet-magenta wallet band: $THREE tilts+ // the violet toward magenta, SOL toward blue-violet — never off into an+ // unrelated hue. (Base violet is 258°; the mix rotates it at most ~±35°.)+ expect(withThree.rimHue).toBeGreaterThan(235);+ expect(withThree.rimHue).toBeLessThan(295);+ expect(withSol.rimHue).toBeGreaterThan(235);+ expect(withSol.rimHue).toBeLessThan(295);+ });+});++describe('dominantAsset', () => {+ it('returns null for an empty wallet', () => {+ expect(dominantAsset(state(0, {}))).toBeNull();+ });+ it('picks the highest-weight asset by real USD proportion', () => {+ expect(dominantAsset(state(100, { sol: 0.2, usdc: 0.1, three: 0.7 }))).toBe('three');+ expect(dominantAsset(state(100, { sol: 0.55, other: 0.45 }))).toBe('sol');+ });+});++describe('walletGlowForUsd (galaxy signal)', () => {+ it('returns a 0..1 wealth scalar matching the tier level', () => {+ expect(walletGlowForUsd(0).wealth).toBe(0);+ expect(walletGlowForUsd(25_000).wealth).toBe(1);+ const g = walletGlowForUsd(250);+ expect(g.wealth).toBeGreaterThan(0);+ expect(g.wealth).toBeLessThan(1);+ expect(g.tier).toBe('glow');+ });+});++describe('formatNetWorth', () => {+ it('formats real values honestly, including a true $0', () => {+ expect(formatNetWorth(state(0))).toBe('$0');+ expect(formatNetWorth(state(12.5))).toBe('$12.50');+ expect(formatNetWorth(state(1_500))).toBe('$1,500');+ expect(formatNetWorth(state(2_000_000))).toBe('$2.00M');+ });+ it('shows an em dash when the price feed is down and value is unknown', () => {+ expect(formatNetWorth({ usdTotal: 0, balanceError: 'price_unavailable' })).toBe('—');+ });+});++describe('THREE_MINT', () => {+ it('is the one and only coin address', () => {+ expect(THREE_MINT).toBe('FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump');+ });+});diff --git a/vercel.json b/vercel.jsonindex 2aa5da9ca..15158bf21 100644--- a/vercel.json+++ b/vercel.json@@ -318,6 +318,14 @@"src": "/support/","dest": "/support.html"},+ {+ "src": "/500",+ "dest": "/500.html"+ },+ {+ "src": "/500/",+ "dest": "/500.html"+ },{"src": "/rss/announcements\\.xml","dest": "/api/rss/announcements"@@ -657,6 +665,10 @@"src": "/launches/?","dest": "/launches.html"},+ {+ "src": "/pulse/?",+ "dest": "/pulse.html"+ },{"src": "/watchlist/?","dest": "/watchlist.html"@@ -2198,6 +2210,10 @@"src": "/api/trending","dest": "/api/trending.js"},+ {+ "src": "/api/pulse",+ "dest": "/api/pulse.js"+ },{"src": "/api/trades/feed","dest": "/api/trades/feed.js"diff --git a/vite.config.js b/vite.config.jsindex 2cecd1a0c..c309e0c1b 100644--- a/vite.config.js+++ b/vite.config.js@@ -337,6 +337,7 @@ const appConfig = {'agent-detail': resolve(__dirname, 'pages/agent-detail.html'),'agent-wallet': resolve(__dirname, 'pages/agent-wallet.html'),launches: resolve(__dirname, 'pages/launches.html'),+ pulse: resolve(__dirname, 'pages/pulse.html'),'launch-detail': resolve(__dirname, 'pages/launch-detail.html'),watchlist: resolve(__dirname, 'pages/watchlist.html'),leaderboard: resolve(__dirname, 'pages/leaderboard.html'),@@ -760,6 +761,8 @@ support: resolve(__dirname, 'pages/support.html'),'/bounties/': resolve(root, 'pages/bounties.html'),'/launches': resolve(root, 'pages/launches.html'),'/launches/': resolve(root, 'pages/launches.html'),+ '/pulse': resolve(root, 'pages/pulse.html'),+ '/pulse/': resolve(root, 'pages/pulse.html'),'/clash': resolve(root, 'pages/clash.html'),'/clash/': resolve(root, 'pages/clash.html'),'/watchlist': resolve(root, 'pages/watchlist.html'),