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: Club tweaks, http helper + changelog refresh
nirholas9296cebe6ca3
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 900d4ff29..615a576a9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -45,6 +45,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Live x402 payment challenges on the IBM partnership page** — The “Accelerating outcomes” section on the IBM × three.ws page had two empty gradient boxes under its AI agents and Crypto tabs. They're now live: each reads a real three.ws endpoint's HTTP 402 response on the spot and shows the exact terms the server is quoting — price in USDC, settlement network, and recipient. The AI agents tab shows what an autonomous agent reads before paying for live market data; the Crypto tab shows how any endpoint becomes pay-per-call. No wallet needed to watch it. (`/ibm/x402-demo`) `[improvement]`- **Memory Studio — watch your agent’s memory form, curate it, and trust it** — The Memory tab in Agent Studio turns your agent’s memory into something you can see and shape. A live Timeline streams every memory as it forms — chats, lessons, rules, trades — each tagged by tier (working, recall, archival) and salience, with one-click pin, edit, merge, forget, and a slider to dial importance. A knowledge Graph maps the coins, wallets, people, and strategies your agent has learned, linked by what shows up together; click any coin to replay how your agent’s understanding of it evolved over time. Recall runs real semantic search over real embeddings, so asking “lessons from losing trades” or “rules my agent follows” returns what it actually knows — and an In-Context view shows exactly what the agent carries into every reply, with a live token budget so the core stays sharp. Seed it in seconds from your GitHub, X, and Farcaster, and the Brain’s Memory node recalls all of it for real. (`/agent-studio`) `[feature]`- **Mobile menu plays nicely with screen readers and keyboards** — The mobile navigation drawer now fully hides itself from assistive tech and the keyboard tab order when it's closed, instead of leaving its links reachable but invisible. Screen-reader and keyboard users can no longer land focus on a link inside a collapsed menu, and the browser's accessibility warning about hidden-but-focused links is gone. `[fix]`+- **New Club lineup — Dylan, Nich and Boss Vernington take the poles** — The three dancers on the Club floor have a fresh lineup: Dylan, Nich and Boss Vernington, each on their own distinct rig and tinted with their pole's accent color. Their names now show everywhere in the Club — on the pole cards, in the live tip ticker, and in chat — so when you tip, you tip them by name. (`/club`) `[improvement]`- **One API, many services: the three.ws API gateway** — We bundled a stack of popular third-party APIs behind a single three.ws API so you can reach them all with one integration, one key, and one bill. The first providers are live at /api/v1/x — CoinGecko (live prices and ranked market data), DefiLlama (protocol TVL across all of DeFi), and any OpenAI-compatible LLM — with more landing over the coming releases. Discover everything with one call to GET /api/v1, which returns the full catalog: every provider, endpoint, parameter, and price. You can pay three ways, your choice per call: bring your own upstream key (we just route it, no markup), use a three.ws API key on your plan, or pay-per-call in USDC with no account at all. Every response uses one consistent shape with standard rate-limit headers, and the platform's own capabilities — text sentiment, market and narrative intelligence, and verified agent-card lookups — live under the same /api/v1 surface. `[feature, sdk]`- **Paid doors stay open when one payment network is down** — Every pay-per-call endpoint — the Pole Club cover charge, agent-to-agent calls, asset downloads — now offers each payment network independently. If Base is fully wired but Solana is missing a setting (or vice versa), you still get a working payment prompt on the network that's ready, instead of the whole door hard-failing. A network is advertised only when every piece it needs is in place, so a checkout can no longer be offered and then rejected mid-payment. The endpoint only declines outright when no network at all can take the payment. `[fix]`- **Paid market-intel never charges you for unavailable data** — The pay-per-call market-intel endpoints (the $THREE Town Oracle and the crypto-intel kiosk) used to hand back an estimated "neutral" reading — and still take the payment — when their live price feed was rate-limited. They now return a clean "temporarily unavailable, retry shortly" instead, and crucially the payment is never settled when live data is missing. You only pay when you get a real, live signal. `[fix]`@@ -560,7 +561,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Labs Showcase** (`/labs`) — A curated gallery of three.ws's most powerful — and most hidden — features. Find and try things you didn't know existed.- **Marketplace — Discover and Fork AI Agents** (`/features/marketplace`) — Browse hundreds of community-built AI agents with 3D avatars and on-chain identities. Fork any agent, buy paid skills, and ship in minutes.- **Play — Live 3D Coin Worlds** (`/features/play`) — Every pump.fun coin gets a deterministic 3D world. Walk in as your avatar, chat with holders, and trade — all in the browser.-- **Pole Club** (`/club`) — A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.+- **Pole Club** (`/club`) — A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.- **Scan — Selfie to 3D Avatar** (`/features/scan`) — Point your camera at your face, hold still, and walk away with a rigged 3D avatar in 60 seconds. Free, in your browser.- **Studio — Embeddable AI Widget Builder** (`/features/studio`) — Configure avatar, voice, and knowledge base in the Widget Studio, then copy one script tag to embed a 3D AI agent anywhere.- **Voice Lab** (`/voice`) — Clone your voice from a short recording, then use it for TTS or give it to your agent. Side-by-side comparison of voice models.diff --git a/api/_lib/http.js b/api/_lib/http.jsindex 8d80e927c..08e90ec3b 100644--- a/api/_lib/http.js+++ b/api/_lib/http.js@@ -209,6 +209,10 @@ export function readBody(req, limit) {});}+// ibm.com and any subdomain (any depth), https only. Used by the default+// allowlist so the IBM partnership embeds reach the shared three.ws APIs.+const IBM_ORIGIN = /^https:\/\/([a-z0-9-]+\.)*ibm\.com$/i;+export function cors(req,res,@@ -249,6 +253,11 @@ function isAllowedOrigin(origin, allowed) {if (origin === 'https://x402scan.com') return true;if (origin === 'https://agentic.market') return true;if (origin === 'https://www.agentic.market') return true;+ // IBM partnership: allow ibm.com and every subdomain (any depth) over+ // https, so the partnership page's embeds and the shared three.ws APIs+ // (forge, etc.) work when served from *.ibm.com. Anchored to the exact+ // host so look-alikes like ibm.com.evil.example or notibm.com don't match.+ if (IBM_ORIGIN.test(origin)) return true;if (process.env.NODE_ENV !== 'production' &&/^https?:\/\/localhost(:\d+)?$/.test(origin)diff --git a/data/changelog.json b/data/changelog.jsonindex d56b861f8..3693dd02b 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-19",+ "title": "New Club lineup — Dylan, Nich and Boss Vernington take the poles",+ "summary": "The three dancers on the Club floor have a fresh lineup: Dylan, Nich and Boss Vernington, each on their own distinct rig and tinted with their pole's accent color. Their names now show everywhere in the Club — on the pole cards, in the live tip ticker, and in chat — so when you tip, you tip them by name.",+ "tags": [+ "improvement"+ ],+ "link": "/club"+ },{"date": "2026-06-19","title": "Club dancers never flash a T-pose while the room loads in",diff --git a/public/changelog.json b/public/changelog.jsonindex 1ffb9bc09..d3c5a928a 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-19T20:23:06.913Z",+ "generated_at": "2026-06-19T21:52:42.980Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -403,6 +403,16 @@"fix"]},+ {+ "date": "2026-06-19",+ "type": "update",+ "title": "New Club lineup — Dylan, Nich and Boss Vernington take the poles",+ "summary": "The three dancers on the Club floor have a fresh lineup: Dylan, Nich and Boss Vernington, each on their own distinct rig and tinted with their pole's accent color. Their names now show everywhere in the Club — on the pole cards, in the live tip ticker, and in chat — so when you tip, you tip them by name.",+ "link": "/club",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-06-19","type": "update",@@ -5300,7 +5310,7 @@"date": "2026-06-05","type": "launch","title": "Pole Club",- "summary": "A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.",+ "summary": "A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.","link": "/club","tags": ["launch"diff --git a/public/changelog.xml b/public/changelog.xmlindex 9ed9f2fae..4f2cb9683 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -318,6 +318,14 @@<category>fix</category><description>The mobile navigation drawer now fully hides itself from assistive tech and the keyboard tab order when it's closed, instead of leaving its links reachable but invisible. Screen-reader and keyboard users can no longer land focus on a link inside a collapsed menu, and the browser's accessibility warning about hidden-but-focused links is gone.</description></item>+ <item>+ <title>New Club lineup — Dylan, Nich and Boss Vernington take the poles</title>+ <link>https://three.ws/club</link>+ <guid isPermaLink="false">2026-06-19:New Club lineup — Dylan, Nich and Boss Vernington take the poles</guid>+ <pubDate>Fri, 19 Jun 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>The three dancers on the Club floor have a fresh lineup: Dylan, Nich and Boss Vernington, each on their own distinct rig and tinted with their pole's accent color. Their names now show everywhere in the Club — on the pole cards, in the live tip ticker, and in chat — so when you tip, you tip them by name.</description>+ </item><item><title>One API, many services: the three.ws API gateway</title><link>https://three.ws/changelog</link>@@ -4108,7 +4116,7 @@<guid isPermaLink="false">2026-06-05:Pole Club</guid><pubDate>Fri, 05 Jun 2026 12:00:00 GMT</pubDate><category>launch</category>- <description>A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.</description>+ <description>A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.</description></item><item><title>Scan — Selfie to 3D Avatar</title>diff --git a/public/features.json b/public/features.jsonindex 89aeeb69e..33666937d 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-19T20:23:06.902Z",+ "generated_at": "2026-06-19T21:52:42.964Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -949,7 +949,7 @@{"path": "/club","title": "Pole Club",- "description": "A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.",+ "description": "A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.","added": "2026-06-05","auth": null,"indexable": true,diff --git a/public/llms-full.txt b/public/llms-full.txtindex 4e3a7500f..ed9c042b1 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -578,7 +578,7 @@ Inscribe a message onto the Bitcoin blockchain. It stays there. Forever.URL: https://three.ws/club-A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.+A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.### Agent Exchangediff --git a/public/llms.txt b/public/llms.txtindex c5f467207..d531ccab4 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -115,7 +115,7 @@ On-chain features: pay-per-call, token launches, vanity wallets.- [Unstoppable Agent](https://three.ws/unstoppable): Live dashboard for an autonomous agent that funds itself via x402 micropayments. Watch its balance, earnings, costs, and daily reflections in real time.- [Endpoint Shopper](https://three.ws/shopper): Describe a task and set a budget. An AI agent discovers relevant x402 endpoints via the Bazaar, chains them together, and synthesizes a final answer — paying per API call.- [Forever — etch a message into Bitcoin](https://three.ws/forever): Inscribe a message onto the Bitcoin blockchain. It stays there. Forever.-- [Pole Club](https://three.ws/club): A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.+- [Pole Club](https://three.ws/club): A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.- [Agent Exchange](https://three.ws/agent-exchange): Two AI agents with 3D bodies negotiate and pay each other for live crypto intel using x402 micropayments on Solana. Every transaction is real and confirmed on-chain.- [Agent Economy — Live Demo](https://three.ws/agent-economy): Watch two 3D AI agents transact on-chain. Agent A buys data from Agent B — real SOL, real Solana transaction, live.- [Agent Commerce](https://three.ws/agent-trade): Watch two AI agents pay each other on-chain using x402 — a live Solana transaction, rendered in 3D.diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex 51abe27a7..c5b1cb896 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -768,7 +768,7 @@<a href="/club"><span class="sm-title">Pole Club</span><span class="sm-path">/club</span>- <span class="sm-desc">A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Base or Solana.</span>+ <span class="sm-desc">A 3D club where dancers only perform when you send a micro-tip. Pay $0.001 per routine, settled on-chain via x402 on Solana.</span></a></li><li>diff --git a/src/club.js b/src/club.jsindex a3be9983c..ea5db91a3 100644--- a/src/club.js+++ b/src/club.js@@ -458,15 +458,16 @@ const POLE_COLORS = [0xff3bd6, 0x4ad6ff, 0xff8a3b, 0x9b5dff];// Dancer registry — display names, bios, accent palette, and the avatar each// dancer wears. A local `avatar` path loads that GLB directly; an `avatarId`// is resolved through /api/avatars/:id at boot (see resolveDancerAvatarUrl).-// The three are deliberately three DISTINCT, verified-drivable rigs so the-// lineup never collapses onto one look: Dylan and Michelle (the two swapped in),-// plus one kept original gallery rig. attachAvatar still falls back to the default-// rig if a rig ever isn't drivable, and each dancer is tinted with her pole's-// accent color so the three read as a set.+// The three are deliberately three DISTINCT bundled rigs so the lineup never+// collapses onto one look: Boss Vernington keeps his canonical soldier rig,+// while Dylan and Nich take two other bundled rigs the picker already verifies.+// attachAvatar still falls back to the default rig if a rig ever isn't drivable,+// so a dancer is never frozen, and each is tinted with their pole's accent color+// so the three read as a set.const DANCER_META = [- { name: 'Aria', bio: 'Neon pink fire. Classical meets street.', palette: 'pink', avatarId: '25195a2e-130c-4da5-8cad-8e7490d69b45' },- { name: 'Nova', bio: 'Cyan ice. Fluid and hypnotic.', palette: 'cyan', avatar: '/avatars/michelle.glb' },- { name: 'Blaze', bio: 'Amber heat. Power and precision.', palette: 'amber', avatarId: 'd92b292e-c2db-40cb-bf88-3e141c6b0057' },+ { name: 'Dylan', bio: 'Neon pink heat. Fast, precise, relentless.', palette: 'pink', avatar: '/avatars/studio.glb' },+ { name: 'Nich', bio: 'Cyan cool. Fluid, hypnotic, in control.', palette: 'cyan', avatar: '/avatars/mannequin.glb' },+ { name: 'Boss Vernington', bio: 'Amber muscle. Pure power on the pole.', palette: 'amber', avatar: '/animations/soldier.glb' },];// Every dancer is scaled to this standing height (metres) so a mix of