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
feat: circulation, dex trades, page updates, and routing improvements
nirholas6be46b0b23b6
diff --git a/api/_lib/circulation.js b/api/_lib/circulation.jsindex 498743f7d..c6b4f53ac 100644--- a/api/_lib/circulation.js+++ b/api/_lib/circulation.js@@ -200,22 +200,41 @@ async function transferSol(conn, fromKp, toAddress, lamports) {ComputeBudgetProgram,} = await import('@solana/web3.js');const toPk = new PublicKey(toAddress);- const { blockhash, lastValidBlockHeight } = await conn.getLatestBlockhash('confirmed');- const message = new TransactionMessage({- payerKey: fromKp.publicKey,- recentBlockhash: blockhash,- instructions: [- ComputeBudgetProgram.setComputeUnitPrice({ microLamports: 60_000 }),- ComputeBudgetProgram.setComputeUnitLimit({ units: 1_000 }),- SystemProgram.transfer({ fromPubkey: fromKp.publicKey, toPubkey: toPk, lamports }),- ],- }).compileToV0Message();- const tx = new VersionedTransaction(message);- tx.sign([fromKp]);- const signature = await conn.sendTransaction(tx, { maxRetries: 5 });- const conf = await conn.confirmTransaction({ signature, blockhash, lastValidBlockHeight }, 'confirmed');- if (conf.value?.err) throw new Error('transfer failed on-chain: ' + JSON.stringify(conf.value.err));- return signature;++ // Retry once on "Blockhash not found" — the blockhash can expire between+ // getLatestBlockhash and sendTransaction if there is any delay (RPC round-trips,+ // key decryption, etc.). A single retry with a fresh blockhash is sufficient+ // because the new hash is guaranteed valid for ~150 blocks (~60s).+ const MAX_ATTEMPTS = 2;+ let lastErr;+ for (let attempt = 0; attempt < MAX_ATTEMPTS; attempt++) {+ const { blockhash, lastValidBlockHeight } = await conn.getLatestBlockhash('confirmed');+ const message = new TransactionMessage({+ payerKey: fromKp.publicKey,+ recentBlockhash: blockhash,+ instructions: [+ ComputeBudgetProgram.setComputeUnitPrice({ microLamports: 60_000 }),+ ComputeBudgetProgram.setComputeUnitLimit({ units: 1_000 }),+ SystemProgram.transfer({ fromPubkey: fromKp.publicKey, toPubkey: toPk, lamports }),+ ],+ }).compileToV0Message();+ const tx = new VersionedTransaction(message);+ tx.sign([fromKp]);+ try {+ const signature = await conn.sendTransaction(tx, { maxRetries: 5 });+ const conf = await conn.confirmTransaction({ signature, blockhash, lastValidBlockHeight }, 'confirmed');+ if (conf.value?.err) throw new Error('transfer failed on-chain: ' + JSON.stringify(conf.value.err));+ return signature;+ } catch (err) {+ const msg = err?.message || '';+ if (attempt < MAX_ATTEMPTS - 1 && /Blockhash not found|BlockhashNotFound/i.test(msg)) {+ lastErr = err;+ continue;+ }+ throw err;+ }+ }+ throw lastErr;}async function solBalance(conn, address) {diff --git a/api/pump/dex-trades.js b/api/pump/dex-trades.jsindex 49a5fa072..76a715a4b 100644--- a/api/pump/dex-trades.js+++ b/api/pump/dex-trades.js@@ -53,6 +53,13 @@ class RateLimitError extends Error {}}+class NotFoundError extends Error {+ constructor() {+ super('GeckoTerminal 404');+ this.code = 'not_found';+ }+}+async function gtFetch(path) {const ctrl = new AbortController();const tid = setTimeout(() => ctrl.abort(), FETCH_TIMEOUT_MS);@@ -66,6 +73,7 @@ async function gtFetch(path) {_cooldownUntil = Date.now() + RATELIMIT_COOLDOWN_MS;throw new RateLimitError();}+ if (r.status === 404) throw new NotFoundError();if (!r.ok) throw new Error(`GeckoTerminal ${r.status}`);return await r.json();} finally {@@ -198,7 +206,18 @@ export default wrap(async (req, res) => {// window) over a blank one so the tape survives a rate-limit/timeout blip;// fall back to empty only when we have nothing cached.const isRateLimit = err?.code === 'rate_limited';- if (!isRateLimit) console.error('[pump/dex-trades]', err?.message || err);+ // 404 = token has no listed pools on GeckoTerminal — not an error, just an+ // unlisted coin. Log nothing; the caller gets an empty trades array.+ const isNotFound = err?.code === 'not_found';+ if (!isRateLimit && !isNotFound) console.error('[pump/dex-trades]', err?.message || err);+ if (isNotFound) {+ return json(+ res,+ 200,+ { mint, pool: null, trades: [] },+ { 'cache-control': 'public, s-maxage=60, stale-while-revalidate=300' },+ );+ }const hit = _tradesCache.get(mint);if (hit && Date.now() - hit.at < TRADES_STALE_MS) {return json(diff --git a/pages/agents-live.html b/pages/agents-live.htmlindex 9d6755d48..178fab7ad 100644--- a/pages/agents-live.html+++ b/pages/agents-live.html@@ -1,6 +1,7 @@<!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><style>[hidden]{display:none!important}</style><script>(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" />diff --git a/pages/dashboard-next/capabilities.html b/pages/dashboard-next/capabilities.htmlindex 5ae33b66b..0495f17b9 100644--- a/pages/dashboard-next/capabilities.html+++ b/pages/dashboard-next/capabilities.html@@ -8,7 +8,27 @@<link rel="icon" href="/favicon.ico" /><link rel="stylesheet" href="/fonts/fonts.css" /><link rel="stylesheet" href="/dashboard-next/shell.css" />- </head>++ <meta name="description" content="Live command center for all 4 autonomous agent capabilities: Alpha Hunt smart-money scoring, autonomous Coin Launcher on schedule, Creator Auto-Claim for fee harvesting, and Market Maker with Jito execution.">+ <link rel="canonical" href="https://three.ws/dashboard/capabilities">+ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker · three.ws">+ <meta property="og:description" content="Live command center for all 4 autonomous agent capabilities: Alpha Hunt smart-money scoring, autonomous Coin Launcher on schedule, Creator Auto-Claim for fee harvesting, and Market Maker with Jito execution.">+ <meta property="og:url" content="https://three.ws/dashboard/capabilities">+ <meta property="og:image" content="https://three.ws/api/page-og?s=crypto&t=Capabilities+%E2%80%94+Alpha+Hunt%2C+Launcher%2C+Auto-Claim+%26+Market+Maker&d=Live+command+center+for+all+4+autonomous+agent+capabilities%3A+Alpha+Hunt+smart-money+scoring%2C+autonomous+Coin+Launcher+on+schedule%2C+Creator+Auto-Claim+for+fee+ha&p=%2Fdashboard%2Fcapabilities">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker · three.ws">+ <meta name="twitter:description" content="Live command center for all 4 autonomous agent capabilities: Alpha Hunt smart-money scoring, autonomous Coin Launcher on schedule, Creator Auto-Claim for fee harvesting, and Market Maker with Jito execution.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=crypto&t=Capabilities+%E2%80%94+Alpha+Hunt%2C+Launcher%2C+Auto-Claim+%26+Market+Maker&d=Live+command+center+for+all+4+autonomous+agent+capabilities%3A+Alpha+Hunt+smart-money+scoring%2C+autonomous+Coin+Launcher+on+schedule%2C+Creator+Auto-Claim+for+fee+ha&p=%2Fdashboard%2Fcapabilities">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Capabilities — Alpha Hunt, Launcher, Auto-Claim & Market Maker","description":"Live command center for all 4 autonomous agent capabilities: Alpha Hunt smart-money scoring, autonomous Coin Launcher on schedule, Creator Auto-Claim for fee harvesting, and Market Maker with Jito execution.","url":"https://three.ws/dashboard/capabilities","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=crypto&t=Capabilities+%E2%80%94+Alpha+Hunt%2C+Launcher%2C+Auto-Claim+%26+Market+Maker&d=Live+command+center+for+all+4+autonomous+agent+capabilities%3A+Alpha+Hunt+smart-money+scoring%2C+autonomous+Coin+Launcher+on+schedule%2C+Creator+Auto-Claim+for+fee+ha&p=%2Fdashboard%2Fcapabilities"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://three.ws/"},{"@type":"ListItem","position":2,"name":"Dashboard","item":"https://three.ws/dashboard"},{"@type":"ListItem","position":3,"name":"Capabilities","item":"https://three.ws/dashboard/capabilities"}]}]}</script>+</head><body><script type="module" src="/src/dashboard-next/pages/capabilities.js"></script></body>diff --git a/pages/integrations.html b/pages/integrations.htmlindex 67eec0847..dce33c844 100644--- a/pages/integrations.html+++ b/pages/integrations.html@@ -1,6 +1,7 @@<!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><style>[hidden]{display:none!important}</style><script>(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" />diff --git a/pages/partners.html b/pages/partners.htmlindex 1f64d2a2f..dbc825ad7 100644--- a/pages/partners.html+++ b/pages/partners.html@@ -1,6 +1,7 @@<!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><style>[hidden]{display:none!important}</style><meta charset="utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1" />diff --git a/pages/payments.html b/pages/payments.htmlindex b90269df7..e8c22fb03 100644--- a/pages/payments.html+++ b/pages/payments.html@@ -239,7 +239,25 @@.modal { padding: 1.25rem; }}</style>- </head>++ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Agent Payment Sessions · three.ws">+ <meta property="og:description" content="Create budget-limited payment sessions for AI agents. Governance-enforced spend limits, URL allowlists, and expiry — agents pay x402 APIs without holding a private key.">+ <meta property="og:url" content="https://three.ws/payments">+ <meta property="og:image" content="https://three.ws/api/page-og?s=account&t=Agent+Payment+Sessions&d=Create+budget-limited+payment+sessions+for+AI+agents.+Governance-enforced+spend+limits%2C+URL+allowlists%2C+and+expiry+%E2%80%94+agents+pay+x402+APIs+without+holding+a+priv&p=%2Fpayments">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Agent Payment Sessions — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Agent Payment Sessions · three.ws">+ <meta name="twitter:description" content="Create budget-limited payment sessions for AI agents. Governance-enforced spend limits, URL allowlists, and expiry — agents pay x402 APIs without holding a private key.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=account&t=Agent+Payment+Sessions&d=Create+budget-limited+payment+sessions+for+AI+agents.+Governance-enforced+spend+limits%2C+URL+allowlists%2C+and+expiry+%E2%80%94+agents+pay+x402+APIs+without+holding+a+priv&p=%2Fpayments">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Agent Payment Sessions","description":"Create budget-limited payment sessions for AI agents. Governance-enforced spend limits, URL allowlists, and expiry — agents pay x402 APIs without holding a private key.","url":"https://three.ws/payments","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=account&t=Agent+Payment+Sessions&d=Create+budget-limited+payment+sessions+for+AI+agents.+Governance-enforced+spend+limits%2C+URL+allowlists%2C+and+expiry+%E2%80%94+agents+pay+x402+APIs+without+holding+a+priv&p=%2Fpayments"}]}</script>+</head><body><a href="#main-content" class="h-skip-link">Skip to main content</a><header><div id="nav-container"></div></header>diff --git a/public/404.html b/public/404.htmlindex d8c6c0992..6dc407a83 100644--- a/public/404.html+++ b/public/404.html@@ -96,7 +96,7 @@<meta property="og:title" content="Chat · three.ws"><meta property="og:description" content="Talk to your agent. Voice, text, and tool-use in one interface."><meta property="og:url" content="https://three.ws/chat">- <meta property="og:image" content="https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat">+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Partner+Ecosystem&d=three.ws+partner+ecosystem+%E2%80%94+AWS%2C+IBM%2C+Google+Cloud%2C+Alibaba+Cloud%2C+Intel%2C+NVIDIA%2C+Microsoft%2C+Oracle.+The+cloud+and+AI+platforms+powering+3D+AI+agents+at+enterp&p=%2Fpartners"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:type" content="image/png">@@ -105,7 +105,7 @@<meta name="twitter:site" content="@trythreews"><meta name="twitter:title" content="Chat · three.ws"><meta name="twitter:description" content="Talk to your agent. Voice, text, and tool-use in one interface.">- <meta name="twitter:image" content="https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Partner+Ecosystem&d=three.ws+partner+ecosystem+%E2%80%94+AWS%2C+IBM%2C+Google+Cloud%2C+Alibaba+Cloud%2C+Intel%2C+NVIDIA%2C+Microsoft%2C+Oracle.+The+cloud+and+AI+platforms+powering+3D+AI+agents+at+enterp&p=%2Fpartners"><script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Chat","description":"Talk to your agent. Voice, text, and tool-use in one interface.","url":"https://three.ws/chat","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=agent-tools&t=Chat&d=Talk+to+your+agent.+Voice%2C+text%2C+and+tool-use+in+one+interface.&p=%2Fchat"}]}</script></head><body>diff --git a/public/changelog.json b/public/changelog.jsonindex 4f3136b80..3a6cc047e 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-27T03:52:19.729Z",+ "generated_at": "2026-06-27T03:56:22.855Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",diff --git a/public/features.json b/public/features.jsonindex 6ec52db37..16354939e 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-27T03:52:19.713Z",+ "generated_at": "2026-06-27T03:56:22.808Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex a10fd47cc..f59405a36 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -56,6 +56,25 @@.sm-brand img { width: 24px; height: 24px; border-radius: 5px; }.sm-brand:hover { text-decoration: none; }</style>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Sitemap · three.ws">+ <meta property="og:description" content="Human-readable index of every page on three.ws.">+ <meta property="og:url" content="https://three.ws/sitemap">+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Sitemap — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Sitemap · three.ws">+ <meta name="twitter:description" content="Human-readable index of every page on three.ws.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script></head><body><header class="sm-topbar">diff --git a/public/tutor.js b/public/tutor.jsindex 64100df90..66353aa65 100644--- a/public/tutor.js+++ b/public/tutor.js@@ -48,7 +48,10 @@ function clearEmpty() {if (empty && empty.parentNode) empty.remove();}function scrollDown() {- requestAnimationFrame(() => window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' }));+ requestAnimationFrame(() => {+ const h = document.body?.scrollHeight ?? document.documentElement.scrollHeight;+ window.scrollTo({ top: h, behavior: 'smooth' });+ });}function setTab(totalAtomics, count) {diff --git a/vercel.json b/vercel.jsonindex 47add9a02..a7220dced 100644--- a/vercel.json+++ b/vercel.json@@ -89,6 +89,9 @@"includeFiles": "{examples/skills/**,data/pages.json,data/_generated/**,sdk/src/sas-config.json}","maxDuration": 120},+ "api/cron/recompute-reputation.js": {+ "maxDuration": 300+ },"api/cron/[name].js": {"includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}","maxDuration": 300