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
content(blog,docs,create-agent): Alibaba Cloud marketplace post, listings/docs updates, avatar rig + npc tweaks
nirholas784c9b97e5d6
diff --git a/blog/index.html b/blog/index.htmlindex 20b249dd0..dfdba2463 100644--- a/blog/index.html+++ b/blog/index.html@@ -66,6 +66,18 @@<ul class="bl-list">+ <li class="bl-item">+ <a href="/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog">+ <div class="bl-meta">+ <span class="bl-date">2026-06-08</span>+ <span class="bl-tag">Press</span>+ <span class="bl-tag">Alibaba Cloud</span>+ </div>+ <h2 class="bl-title">three.ws Featured on the Alibaba Cloud Marketplace Blog</h2>+ <p class="bl-summary">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.</p>+ </a>+ </li>+<li class="bl-item"><a href="/blog/three-ws-ibm-collaboration"><div class="bl-meta">diff --git a/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog.html b/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog.htmlnew file mode 100644index 000000000..896bd7200--- /dev/null+++ b/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog.html@@ -0,0 +1,117 @@+<!DOCTYPE html>+<html lang="en">+<head>+ <meta charset="UTF-8">+ <meta name="viewport" content="width=device-width, initial-scale=1.0">+ <title>three.ws Featured on the Alibaba Cloud Marketplace Blog</title>+ <meta name="description" content="Alibaba Cloud Marketplace published an editorial on three.ws — browser-native 3D AI agents you deploy with a single <agent-3d> tag, with a Claude-powered runtime, ERC-8004 identity, and an Apache 2.0 open-source stack.">+ <meta name="keywords" content="three.ws, Alibaba Cloud, Alibaba Cloud Marketplace, press, editorial, 3D agents, on-chain agents, agent-3d, ERC-8004, x402, Claude, WebGL, open source">+ <link rel="canonical" href="https://three.ws/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog">++ <meta property="og:title" content="three.ws Featured on the Alibaba Cloud Marketplace Blog">+ <meta property="og:description" content="Alibaba Cloud Marketplace published an editorial introducing three.ws — Render, Embody, Register, Embed: a browser-native 3D AI agent from one HTML tag.">+ <meta property="og:url" content="https://three.ws/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog">+ <meta property="og:type" content="article">++ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:title" content="three.ws Featured on the Alibaba Cloud Marketplace Blog">+ <meta name="twitter:description" content="Alibaba Cloud Marketplace published an editorial introducing three.ws — browser-native 3D AI agents from one HTML tag.">++ <script type="application/ld+json">+ {+ "@context": "https://schema.org",+ "@type": "BlogPosting",+ "headline": "three.ws Featured on the Alibaba Cloud Marketplace Blog",+ "description": "Alibaba Cloud Marketplace published an editorial introducing three.ws — 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.",+ "datePublished": "2026-06-08T14:00:00.000Z",+ "dateModified": "2026-06-08T14:00:00.000Z",+ "author": { "@type": "Organization", "name": "three.ws", "url": "https://three.ws" },+ "publisher": { "@type": "Organization", "name": "three.ws", "url": "https://three.ws" },+ "keywords": "three.ws, Alibaba Cloud, Alibaba Cloud Marketplace, press, 3D agents, agent-3d, ERC-8004, x402"+ }+ </script>++ <link rel="shortcut icon" href="/favicon.ico">+ <link rel="stylesheet" href="/nav.css">+ <link rel="stylesheet" href="/footer.css">+ <style>+ :root { color-scheme: dark; }+ body { margin: 0; background: #060611; color: #e7e7f5; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }+ .post-wrap { max-width: 720px; margin: 0 auto; padding: 96px 24px 80px; }+ .post-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #7a85a8; font-size: 13px; margin-bottom: 28px; }+ .post-date { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }+ .post-tag { padding: 2px 8px; border-radius: 999px; background: rgba(154,212,255,.08); color: #9ad4ff; font-size: 11px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; }+ h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 20px; }+ h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }+ p { color: #c8c8e0; line-height: 1.7; margin: 0 0 18px; font-size: 16px; }+ ul, ol { color: #c8c8e0; line-height: 1.7; margin: 0 0 18px; padding-left: 24px; font-size: 16px; }+ li { margin-bottom: 6px; }+ a { color: #9ad4ff; text-decoration: none; }+ a:hover { text-decoration: underline; }+ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: rgba(154,212,255,.07); color: #9ad4ff; padding: 2px 6px; border-radius: 4px; }+ strong { color: #e7e7f5; }+ blockquote { margin: 0 0 18px; padding: 12px 20px; border-left: 3px solid rgba(154,212,255,.4); background: rgba(154,212,255,.05); color: #d6d6ec; border-radius: 0 8px 8px 0; }+ blockquote p { margin: 0; }+ .post-back { display: inline-flex; align-items: center; gap: 6px; color: #7a85a8; font-size: 14px; margin-bottom: 40px; text-decoration: none; }+ .post-back:hover { color: #9ad4ff; }+ hr { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 40px 0; }+ </style>+</head>+<body>+ <div id="nav-container"></div>+ <main class="post-wrap">+ <a class="post-back" href="/blog">← Blog</a>+ <div class="post-meta">+ <span class="post-date">2026-06-08</span>+ <span class="post-tag">Press</span>+ <span class="post-tag">Alibaba Cloud</span>+ </div>+ <h1>three.ws Featured on the Alibaba Cloud Marketplace Blog</h1>++ <p><strong>Alibaba Cloud Marketplace has published an editorial introducing three.ws.</strong> The post walks through what the platform does and how it works, on Alibaba Cloud's own marketplace blog: <a href="https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html" rel="noopener">marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html</a>.</p>++ <p>This follows the three.ws <a href="/blog/three-ws-on-alibaba-cloud-marketplace">listing on the Alibaba Cloud International Marketplace</a>. The listing made <code><agent-3d></code> procurable by every Alibaba Cloud customer; the editorial puts it in front of the marketplace's editorial audience and explains it.</p>++ <h2>What the editorial covers</h2>+ <p>The Alibaba Cloud Marketplace blog introduces three.ws as a browser-based platform for creating and deploying 3D AI agents — upload a 3D avatar, give it an AI personality, and deploy it as an interactive assistant with, in the post's words, “no technical setup required.” It describes the technical architecture readers care about:</p>+ <ul>+ <li><strong>Browser-native 3D rendering</strong> — glTF 2.0 / GLB in WebGL 2.0 with Draco, KTX2, and Meshopt decompression.</li>+ <li><strong>An LLM-driven agent runtime</strong> — a Claude-powered brain with tool use, animations, gestures, and memory.</li>+ <li><strong>Optional on-chain identity</strong> — register an agent via ERC-8004, minting a verifiable, portable identity.</li>+ </ul>++ <h2>Render, Embody, Register, Embed</h2>+ <p>The editorial frames the platform around four functions, the same loop three.ws ships in production:</p>+ <ol>+ <li><strong>Render</strong> — load a 3D model instantly in the browser, no plugin or native install.</li>+ <li><strong>Embody</strong> — wrap the avatar with an LLM brain so it reasons, speaks, and gestures.</li>+ <li><strong>Register</strong> — give the agent an on-chain identity it carries across platforms.</li>+ <li><strong>Embed</strong> — distribute it anywhere as a web component, with a single <code><agent-3d></code> tag.</li>+ </ol>+ <p>The post notes the entire stack is open source under Apache 2.0 and runs three.ws in production today.</p>++ <h2>Why this matters</h2>+ <p>Alibaba Cloud is the #1 cloud provider in Asia and one of the top four hyperscalers globally. Its International Marketplace serves enterprise customers across China, Southeast Asia, the Middle East, and Latin America. A listing is the procurement flow; an editorial on the marketplace blog is the discovery flow — it puts three.ws in front of the developers and enterprises already browsing the marketplace for what to build with next.</p>++ <h2>Links</h2>+ <ul>+ <li>Alibaba Cloud Marketplace blog: <a href="https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html" rel="noopener">three.ws on the Alibaba Cloud Marketplace blog</a></li>+ <li>Our announcement on X: <a href="https://x.com/trythreews/status/2064000778248093918" rel="noopener">@trythreews</a></li>+ <li>Marketplace product: <a href="https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html" rel="noopener">marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html</a></li>+ <li>Storefront: <a href="https://marketplace.alibabacloud.com/store/3247293.html" rel="noopener">marketplace.alibabacloud.com/store/3247293.html</a></li>+ <li>Open source: <a href="https://github.com/nirholas/three.ws" rel="noopener">github.com/nirholas/three.ws</a></li>+ <li>Project site: <a href="https://three.ws" rel="noopener">three.ws</a></li>+ </ul>++ <h2>Related</h2>+ <ul>+ <li><a href="/blog/three-ws-on-alibaba-cloud-marketplace">three.ws Launches on Alibaba Cloud Marketplace</a></li>+ <li><a href="/docs/listings">All listings & distribution channels</a></li>+ </ul>++ <hr>+ <p><a href="/blog">← All posts</a></p>+ </main>+ <script src="/nav.js"></script>+</body>+</html>diff --git a/data/rss/items.json b/data/rss/items.jsonindex ef8c93bda..249c5360a 100644--- a/data/rss/items.json+++ b/data/rss/items.json@@ -1,6 +1,19 @@{"_readme": "Curated RSS items for https://three.ws/rss/announcements.xml. Edit this file to control exactly what HackerNoon (and any RSS reader) sees. Each entry needs: id (stable slug), title, date (ISO 8601), body_html. Optional: link, author, summary, tags. Items are served newest-first by date; cap is 80. Last merged from data/archives/trythreews_tweets_2026-06-03.json on 2026-06-05 (102 total items, merged June 2026 posts).","items": [+ {+ "id": "featured-on-alibaba-cloud-marketplace-blog",+ "slug": "three-ws-featured-on-alibaba-cloud-marketplace-blog",+ "title": "three.ws Featured on the Alibaba Cloud Marketplace Blog",+ "date": "2026-06-08T14:00:00.000Z",+ "author": "three.ws",+ "link": "https://three.ws/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog",+ "external_link": "https://x.com/trythreews/status/2064000778248093918",+ "summary": "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.",+ "body_html": "<p><strong>Alibaba Cloud Marketplace has published an editorial introducing three.ws.</strong> The post walks through what the platform does and how it works, on Alibaba Cloud's own marketplace blog: <a href=\"https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html\" rel=\"noopener\">three.ws on the Alibaba Cloud Marketplace blog</a>.</p>\n<p>This follows the three.ws <a href=\"https://three.ws/blog/three-ws-on-alibaba-cloud-marketplace\" rel=\"noopener\">listing on the Alibaba Cloud International Marketplace</a>. The listing made <code><agent-3d></code> procurable by every Alibaba Cloud customer; the editorial puts it in front of the marketplace's editorial audience and explains it.</p>\n<h2>What the editorial covers</h2>\n<p>The Alibaba Cloud Marketplace blog introduces three.ws as a browser-based platform for creating and deploying 3D AI agents — upload a 3D avatar, give it an AI personality, and deploy it as an interactive assistant with no technical setup required. It describes the technical architecture:</p>\n<ul>\n<li><strong>Browser-native 3D rendering</strong> — glTF 2.0 / GLB in WebGL 2.0 with Draco, KTX2, and Meshopt decompression.</li>\n<li><strong>An LLM-driven agent runtime</strong> — a Claude-powered brain with tool use, animations, gestures, and memory.</li>\n<li><strong>Optional on-chain identity</strong> — register an agent via ERC-8004, minting a verifiable, portable identity.</li>\n</ul>\n<h2>Render, Embody, Register, Embed</h2>\n<p>The editorial frames the platform around four functions, the same loop three.ws ships in production: <strong>Render</strong> a 3D model instantly in the browser, <strong>Embody</strong> it with an LLM brain, <strong>Register</strong> an on-chain identity it carries across platforms, and <strong>Embed</strong> it anywhere as a web component with a single <code><agent-3d></code> tag. The post notes the entire stack is open source under Apache 2.0 and runs three.ws in production today.</p>\n<h2>Why this matters</h2>\n<p>Alibaba Cloud is the #1 cloud provider in Asia and one of the top four hyperscalers globally. Its International Marketplace serves enterprise customers across China, Southeast Asia, the Middle East, and Latin America. A listing is the procurement flow; an editorial on the marketplace blog is the discovery flow — it puts three.ws in front of the developers and enterprises already browsing the marketplace for what to build with next.</p>\n<h2>Links</h2>\n<ul>\n<li>Alibaba Cloud Marketplace blog: <a href=\"https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html\" rel=\"noopener\">three.ws on the Alibaba Cloud Marketplace blog</a></li>\n<li>Our announcement on X: <a href=\"https://x.com/trythreews/status/2064000778248093918\" rel=\"noopener\">@trythreews</a></li>\n<li>Full announcement on the three.ws blog: <a href=\"https://three.ws/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog\" rel=\"noopener\">three.ws/blog</a></li>\n<li>Open source: <a href=\"https://github.com/nirholas/three.ws\" rel=\"noopener\">github.com/nirholas/three.ws</a></li>\n</ul>",+ "tags": ["press", "alibaba-cloud", "marketplace", "editorial", "agent-3d", "three"],+ "published": true+ },{"id": "three-ws-first-month-retrospective","slug": "three-ws-first-month-3d-agent-layer",@@ -8,7 +21,7 @@"date": "2026-06-08T12:00:00.000Z","author": "three.ws","summary": "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.",- "body_html": "<p><strong>One month.</strong> On May 1, 2026, three.ws went live with a simple conviction: AI agents should not be trapped in a text box. They should have a body, a wallet, memory, and an identity that lives on-chain. Thirty days later, that conviction is listed across the world's largest exchanges and data platforms, deployed on four hyperscale clouds, published in Anthropic's official MCP Registry, and written up everywhere from CoinMarketCap to Vogue. Here is what one month of relentless shipping looks like.</p>\n<h2>The build never stopped</h2>\n<p>The team shipped in public, nearly every day. The core product landed first: a single <code><agent-3d></code> web component that drops a browser-native 3D AI agent onto any page, complete with an LLM brain, memory, real-time emotion blending, physical DOM awareness, and a verifiable Solana identity.</p>\n<p>From there the surface area only grew:</p>\n<ul>\n<li><strong>Solana wallets and x402 payments.</strong> Agents got real wallets and a pay-per-call endpoint. Every tool call can trigger a signed USDC payment, settled on-chain.</li>\n<li><strong>pump.fun skills.</strong> Swap, create coins, collect fees, and trade, all as skills an agent calls autonomously. The team even reverse-engineered the agent-payments SDK so agents can fund their own buybacks.</li>\n<li><strong>Real-time voice.</strong> Cloned voice, accurate lip-sync, and live voice chat where agents listen, reason, and respond out loud.</li>\n<li><strong>The Animations and Poses Studio.</strong> Body language and movement in a few clicks instead of tedious frame-by-frame animation.</li>\n<li><strong>The embed editor.</strong> Live preview against your real site, device frames, voice, chat, AR, and a transparent background, all from one screen.</li>\n</ul>\n<h2>Partnerships most teams take years to earn</h2>\n<p>In a single month, three.ws became an official partner of the companies that define enterprise computing:</p>\n<ul>\n<li><strong>IBM</strong> Business Partner, powering text and image to 3D model generation.</li>\n<li><strong>AWS</strong> Technology Partner, live on AWS Marketplace, with a contribution published on the AWS Builder Center blog.</li>\n<li><strong>Google Cloud</strong> for expanded 3D rendering compute and the Google Cloud for Web3 Startups program.</li>\n<li><strong>Alibaba Cloud</strong> partner, live on the International Marketplace across 200+ countries.</li>\n<li><strong>Coinbase</strong> verified x402 Bazaar service provider, letting agents discover, pay for, and call any x402 service in USDC.</li>\n<li><strong>Anthropic</strong>, with multiple MCP servers live in the official MCP Registry, usable in Claude and any MCP client.</li>\n</ul>\n<h2>Where you can find three.ws now</h2>\n<p>The result of all that work is a footprint that already spans the internet. In one month, three.ws and the <strong>$three</strong> coin have appeared across:</p>\n<p><strong>Exchanges and market data:</strong> <a href=\"https://jup.ag/tokens/FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump\" rel=\"noopener\">Jupiter</a>, <a href=\"https://web3.binance.com/en/token/sol/FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump\" rel=\"noopener\">Binance Wallet</a>, and <a href=\"https://www.coingecko.com/en/coins/three-ws\" rel=\"noopener\">CoinGecko</a>.</p>\n<p><strong>Developer registries and packages:</strong> the <a href=\"https://registry.modelcontextprotocol.io/?q=threews\" rel=\"noopener\">Anthropic MCP Registry</a>, <a href=\"https://www.npmjs.com/package/three.ws\" rel=\"noopener\">npm</a>, and PulseMCP.</p>\n<p><strong>Press and media:</strong> <a href=\"https://coinmarketcap.com/community/articles/6a226647c17eac2629024fc8/\" rel=\"noopener\">CoinMarketCap</a>, <a href=\"https://www.mexc.com/news/1115820\" rel=\"noopener\">MEXC News</a>, <a href=\"https://hackernoon.com/threews-earns-a-781-proof-of-usefulness-score-by-building-embeddable-3d-ai-agents\" rel=\"noopener\">HackerNoon</a> with a 781 Proof of Usefulness score, Vogue's Photo Vogue, the Wall Street Journal, and a podcast on Spotify.</p>\n<h2>Recognition from the people who watch closely</h2>\n<p>The market intelligence agent <a href=\"https://x.com/aixbt_agent\" rel=\"noopener\">aixbt</a> put it plainly: three's recent moves with IBM, the Anthropic MCP Registry, and Coinbase rails put real distance between it and other Solana AI plays. three.ws also earned W3C membership and contributed to the Agent Identity Registry Protocol, then entered both the Solana Frontier Hackathon via Colosseum and the MeDo Hackathon.</p>\n<h2>Built by a team that ships</h2>\n<p>None of this came from a roadmap deck. It came from shipping, in public, every single day, and wiring every feature end to end. The team committed to a public stats page covering x402 volume, unique users, animations, and memory, because the open nature of on-chain data means the numbers can speak for themselves.</p>\n<p>One month in, three.ws is the 3D agent layer of the internet. The only coin is <strong>$three</strong>. Contract address: <code>FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</code>.</p>\n<p>And this was just the warm up. <a href=\"https://three.ws\" rel=\"noopener\">three.ws</a></p>",+ "body_html": "<p><strong>One month.</strong> On May 1, 2026, three.ws went live with a simple conviction: AI agents should not be trapped in a text box. They should have a body, a wallet, memory, and an identity that lives on-chain. Thirty days later, that conviction is listed across the world's largest exchanges and data platforms, deployed on four hyperscale clouds, published in Anthropic's official MCP Registry, and written up everywhere from CoinMarketCap to Vogue. Here is what one month of relentless shipping looks like.</p>\n<h2>The build never stopped</h2>\n<p>The team shipped in public, nearly every day. The core product landed first: a single <code><agent-3d></code> web component that drops a browser-native 3D AI agent onto any page, complete with an LLM brain, memory, real-time emotion blending, physical DOM awareness, and a verifiable Solana identity.</p>\n<p>From there the surface area only grew:</p>\n<ul>\n<li><strong>Solana wallets and x402 payments.</strong> Agents got real wallets and a pay-per-call endpoint. Every tool call can trigger a signed USDC payment, settled on-chain.</li>\n<li><strong>pump.fun skills.</strong> Swap, create coins, collect fees, and trade, all as skills an agent calls autonomously. The team even reverse-engineered the agent-payments SDK so agents can fund their own buybacks.</li>\n<li><strong>Real-time voice.</strong> Cloned voice, accurate lip-sync, and live voice chat where agents listen, reason, and respond out loud.</li>\n<li><strong>The Animations and Poses Studio.</strong> Body language and movement in a few clicks instead of tedious frame-by-frame animation.</li>\n<li><strong>The embed editor.</strong> Live preview against your real site, device frames, voice, chat, AR, and a transparent background, all from one screen.</li>\n</ul>\n<h2>Partnerships most teams take years to earn</h2>\n<p>In a single month, three.ws became an official partner of the companies that define enterprise computing:</p>\n<ul>\n<li><strong>IBM</strong> Business Partner, powering text and image to 3D model generation.</li>\n<li><strong>AWS</strong> Technology Partner, live on AWS Marketplace, with a contribution published on the AWS Builder Center blog.</li>\n<li><strong>Google Cloud</strong> for expanded 3D rendering compute and the Google Cloud for Web3 Startups program.</li>\n<li><strong>Alibaba Cloud</strong> partner, live on the International Marketplace across 200+ countries.</li>\n<li><strong>Coinbase</strong> verified x402 Bazaar service provider, letting agents discover, pay for, and call any x402 service in USDC.</li>\n<li><strong>Anthropic</strong>, with multiple MCP servers live in the official MCP Registry, usable in Claude and any MCP client.</li>\n</ul>\n<h2>Where you can find three.ws now</h2>\n<p>The result of all that work is a footprint that already spans the internet. In one month, three.ws and the <strong>$three</strong> coin have appeared across:</p>\n<p><strong>Exchanges and market data:</strong> <a href=\"https://jup.ag/tokens/FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump\" rel=\"noopener\">Jupiter</a>, <a href=\"https://web3.binance.com/en/token/sol/FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump\" rel=\"noopener\">Binance Wallet</a>, and <a href=\"https://www.coingecko.com/en/coins/three-ws\" rel=\"noopener\">CoinGecko</a>.</p>\n<p><strong>Developer registries and packages:</strong> the <a href=\"https://registry.modelcontextprotocol.io/?q=threews\" rel=\"noopener\">Anthropic MCP Registry</a>, <a href=\"https://www.npmjs.com/package/three.ws\" rel=\"noopener\">npm</a>, and PulseMCP.</p>\n<p><strong>Press and media:</strong> <a href=\"https://coinmarketcap.com/community/articles/6a226647c17eac2629024fc8/\" rel=\"noopener\">CoinMarketCap</a>, <a href=\"https://www.mexc.com/news/1115820\" rel=\"noopener\">MEXC News</a>, <a href=\"https://hackernoon.com/threews-earns-a-781-proof-of-usefulness-score-by-building-embeddable-3d-ai-agents\" rel=\"noopener\">HackerNoon</a> with a 781 Proof of Usefulness score, an editorial on the <a href=\"https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html\" rel=\"noopener\">Alibaba Cloud Marketplace blog</a>, Vogue's Photo Vogue, the Wall Street Journal, and a podcast on Spotify.</p>\n<h2>Recognition from the people who watch closely</h2>\n<p>The market intelligence agent <a href=\"https://x.com/aixbt_agent\" rel=\"noopener\">aixbt</a> put it plainly: three's recent moves with IBM, the Anthropic MCP Registry, and Coinbase rails put real distance between it and other Solana AI plays. three.ws also earned W3C membership and contributed to the Agent Identity Registry Protocol, then entered both the Solana Frontier Hackathon via Colosseum and the MeDo Hackathon.</p>\n<h2>Built by a team that ships</h2>\n<p>None of this came from a roadmap deck. It came from shipping, in public, every single day, and wiring every feature end to end. The team committed to a public stats page covering x402 volume, unique users, animations, and memory, because the open nature of on-chain data means the numbers can speak for themselves.</p>\n<p>One month in, three.ws is the 3D agent layer of the internet. The only coin is <strong>$three</strong>. Contract address: <code>FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump</code>.</p>\n<p>And this was just the warm up. <a href=\"https://three.ws\" rel=\"noopener\">three.ws</a></p>","tags": ["retrospective","milestones",diff --git a/docs/listings.md b/docs/listings.mdindex cecef5688..24ff8436f 100644--- a/docs/listings.md+++ b/docs/listings.md@@ -13,7 +13,7 @@ Cloud marketplaces are the procurement flow enterprises use to acquire software| Cloud | Status | Links ||---|---|---|| **AWS** Marketplace | Live | three.ws is an AWS Partner. Subscribe via AWS Marketplace to consolidate billing on your AWS account; subscriptions auto-issue an x402 API key via the marketplace entitlement service. See [aws-marketplace.md](./aws-marketplace.md). |-| **Alibaba Cloud** International Marketplace | Live | [Product listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · [Storefront](https://marketplace.alibabacloud.com/store/3247293.html) · [Announcement](/blog/three-ws-on-alibaba-cloud-marketplace.html) |+| **Alibaba Cloud** International Marketplace | Live | [Product listing](https://marketplace.alibabacloud.com/products/56724001/sgcmfw00036800.html) · [Storefront](https://marketplace.alibabacloud.com/store/3247293.html) · [Announcement](/blog/three-ws-on-alibaba-cloud-marketplace.html) · [Marketplace blog feature](https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html) || **Google Cloud** Marketplace | Open to partnership | three.ws runs on WebGL, Vercel edge, and EVM — a natural fit for Vertex AI and GCP's global CDN. Reach out for co-listing, credits, and joint GTM. || **Microsoft Azure** Marketplace | On roadmap | Targeted alongside the AWS/Alibaba rollout. |@@ -36,6 +36,7 @@ Dappbay is BNB Chain's official dApp directory. The listing is about distributio| Partner | Status | Links ||---|---|---|| **HackerNoon** | Live | [hackernoon.com/u/three-ws](https://hackernoon.com/u/three-ws) — three.ws posts auto-import from the RSS feed. Announcement: [three.ws Partners with HackerNoon](/news/partnered-with-hackernoon) |+| **Alibaba Cloud Marketplace Blog** | Live | [Editorial feature](https://marketplace.alibabacloud.com/doc/blog/detail/mplace-sgcmfw00036800.html) — Alibaba Cloud Marketplace published an editorial introducing three.ws. Announcement: [three.ws Featured on the Alibaba Cloud Marketplace Blog](/blog/three-ws-featured-on-alibaba-cloud-marketplace-blog) |HackerNoon is one of the world's largest independent tech publications, read by millions of developers and founders monthly. Every three.ws announcement is pulled automatically from [`three.ws/rss/announcements.xml`](https://three.ws/rss/announcements.xml) into the HackerNoon drafts queue, then published with canonical URLs pointing back to three.ws. See [syndication setup](/docs/syndication#hackernoon) for technical details.diff --git a/pages/create-agent.html b/pages/create-agent.htmlindex 4d25bb2f9..126614b42 100644--- a/pages/create-agent.html+++ b/pages/create-agent.html@@ -91,7 +91,11 @@z-index: -1;pointer-events: none;background:- radial-gradient(820px 520px at 50% -120px, rgba(255, 255, 255, 0.035) 0, transparent 70%),+ radial-gradient(+ 820px 520px at 50% -120px,+ rgba(255, 255, 255, 0.035) 0,+ transparent 70%+ ),#000;}.skip-link {@@ -541,7 +545,11 @@border: 1px solid var(--border);border-radius: 14px;background:- radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.05) 0, transparent 60%),+ radial-gradient(+ circle at 50% 28%,+ rgba(255, 255, 255, 0.05) 0,+ transparent 60%+ ),rgba(255, 255, 255, 0.015);overflow: hidden;position: relative;@@ -606,7 +614,11 @@aspect-ratio: 1;border-radius: 8px;background:- radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.06) 0, transparent 65%),+ radial-gradient(+ circle at 50% 35%,+ rgba(255, 255, 255, 0.06) 0,+ transparent 65%+ ),rgba(255, 255, 255, 0.02);display: grid;place-items: center;@@ -624,6 +636,12 @@.starter.is-selected .starter-name {color: var(--text);}+ .lib-noprev {+ font-size: 12px;+ font-weight: 600;+ letter-spacing: 0.04em;+ color: var(--faint);+ }.dropzone {margin-top: 6px;border: 1.5px dashed var(--border-strong);@@ -1038,7 +1056,10 @@<main class="stage" id="main-content"><div class="wizard-head"><h1 class="wizard-title">Create an agent</h1>- <p class="wizard-sub">Five quick steps — name it, give it a body, pick its skills, set its voice, ship it.</p>+ <p class="wizard-sub">+ Five quick steps — name it, give it a body, pick its skills, set its voice, ship+ it.+ </p></div><ol class="stepper" id="stepper" aria-label="Progress"></ol>@@ -1046,13 +1067,28 @@<div class="wizard-card"><!-- Auth gate (shown when not signed in) --><div class="auth-gate" id="auth-gate">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="1.6"+ stroke-linecap="round"+ stroke-linejoin="round"+ ><rect x="3" y="11" width="18" height="11" rx="2" /><path d="M7 11V7a5 5 0 0 1 10 0v4" /></svg><h2>Sign in to create your agent</h2>- <p>Your agent gets its own wallet and on-chain identity, so we need an account to anchor it to. It takes a few seconds.</p>- <a class="btn btn--primary btn--lg" id="auth-gate-signin" href="/login?next=%2Fcreate-agent">Sign in to continue</a>+ <p>+ Your agent gets its own wallet and on-chain identity, so we need an account+ to anchor it to. It takes a few seconds.+ </p>+ <a+ class="btn btn--primary btn--lg"+ id="auth-gate-signin"+ href="/login?next=%2Fcreate-agent"+ >Sign in to continue</a+ ></div><!-- Wizard form -->@@ -1062,15 +1098,31 @@<section class="panel is-active" data-step="0" aria-label="Basic info"><p class="panel-eyebrow">Step 1 of 5</p><h2 class="panel-title">The basics</h2>- <p class="panel-help">Give your agent a name and a short description. This is what people see first in the marketplace and on its profile.</p>+ <p class="panel-help">+ Give your agent a name and a short description. This is what people+ see first in the marketplace and on its profile.+ </p><div class="field"><label class="field-label" for="f-name">- <span>Agent name <span class="req" aria-hidden="true">*</span></span>+ <span+ >Agent name+ <span class="req" aria-hidden="true">*</span></span+ ><span class="count" id="name-count">0 / 60</span></label>- <input class="input" id="f-name" type="text" maxlength="60" autocomplete="off" placeholder="e.g. Nova, Atlas, Market Oracle" aria-required="true" />- <p class="field-error" id="name-error">Please enter a name for your agent.</p>+ <input+ class="input"+ id="f-name"+ type="text"+ maxlength="60"+ autocomplete="off"+ placeholder="e.g. Nova, Atlas, Market Oracle"+ aria-required="true"+ />+ <p class="field-error" id="name-error">+ Please enter a name for your agent.+ </p></div><div class="field">@@ -1078,16 +1130,34 @@<span>Description</span><span class="count" id="desc-count">0 / 280</span></label>- <textarea class="textarea" id="f-description" maxlength="280" placeholder="What does this agent do? Who is it for?"></textarea>- <p class="field-hint">One or two sentences. You can refine this later.</p>+ <textarea+ class="textarea"+ id="f-description"+ maxlength="280"+ placeholder="What does this agent do? Who is it for?"+ ></textarea>+ <p class="field-hint">+ One or two sentences. You can refine this later.+ </p></div><div class="field">- <label class="field-label" for="f-tags-input"><span>Tags</span></label>+ <label class="field-label" for="f-tags-input"+ ><span>Tags</span></label+ ><div class="tagbox" id="tagbox">- <input id="f-tags-input" type="text" autocomplete="off" placeholder="Type a tag and press Enter" aria-describedby="tags-hint" />+ <input+ id="f-tags-input"+ type="text"+ autocomplete="off"+ placeholder="Type a tag and press Enter"+ aria-describedby="tags-hint"+ /></div>- <p class="field-hint" id="tags-hint">Press Enter or comma to add. Tags help people discover your agent. Up to 8.</p>+ <p class="field-hint" id="tags-hint">+ Press Enter or comma to add. Tags help people discover your+ agent. Up to 8.+ </p></div></section>@@ -1095,13 +1165,48 @@<section class="panel" data-step="1" aria-label="3D model"><p class="panel-eyebrow">Step 2 of 5</p><h2 class="panel-title">Give it a body</h2>- <p class="panel-help">Every agent gets a 3D avatar. Pick a ready-made character or upload your own glTF model — you can always swap it later.</p>+ <p class="panel-help">+ Every agent gets a 3D avatar. Pick a ready-made character or upload+ your own glTF model — you can always swap it later.+ </p><div class="model-tabs" role="tablist">- <button type="button" class="model-tab is-active" data-pane="starter" role="tab" aria-selected="true">Starter library</button>- <button type="button" class="model-tab" data-pane="library" role="tab" aria-selected="false">My avatars</button>- <button type="button" class="model-tab" data-pane="upload" role="tab" aria-selected="false">Upload your own</button>- <button type="button" class="model-tab" data-pane="skip" role="tab" aria-selected="false">Add later</button>+ <button+ type="button"+ class="model-tab is-active"+ data-pane="starter"+ role="tab"+ aria-selected="true"+ >+ Starter library+ </button>+ <button+ type="button"+ class="model-tab"+ data-pane="library"+ role="tab"+ aria-selected="false"+ >+ My avatars+ </button>+ <button+ type="button"+ class="model-tab"+ data-pane="upload"+ role="tab"+ aria-selected="false"+ >+ Upload your own+ </button>+ <button+ type="button"+ class="model-tab"+ data-pane="skip"+ role="tab"+ aria-selected="false"+ >+ Add later+ </button></div><div class="model-pane is-active" data-pane="starter">@@ -1109,25 +1214,55 @@</div><div class="model-pane" data-pane="library">- <div class="starter-grid" id="library-grid" aria-live="polite"></div>+ <div+ class="starter-grid"+ id="library-grid"+ aria-live="polite"+ ></div></div><div class="model-pane" data-pane="upload">- <div class="dropzone" id="dropzone" role="button" tabindex="0" aria-label="Upload a GLB file">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">+ <div+ class="dropzone"+ id="dropzone"+ role="button"+ tabindex="0"+ aria-label="Upload a GLB file"+ >+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="1.6"+ stroke-linecap="round"+ stroke-linejoin="round"+ ><polyline points="16 16 12 12 8 16" /><line x1="12" y1="12" x2="12" y2="21" />- <path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" />+ <path+ d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"+ /></svg>- <div class="dropzone-title" id="dropzone-title">Drop a .glb file or click to browse</div>- <div class="dropzone-sub" id="dropzone-sub">Any glTF 2.0 binary model, up to 16 MB</div>+ <div class="dropzone-title" id="dropzone-title">+ Drop a .glb file or click to browse+ </div>+ <div class="dropzone-sub" id="dropzone-sub">+ Any glTF 2.0 binary model, up to 16 MB+ </div></div>- <input type="file" id="glb-input" accept=".glb,model/gltf-binary" hidden />+ <input+ type="file"+ id="glb-input"+ accept=".glb,model/gltf-binary"+ hidden+ /></div><div class="model-pane" data-pane="skip"><p class="panel-help" style="margin: 6px 0 0">- A 3D avatar is how people recognize and connect with your agent across three.ws — we strongly recommend giving it one now from the Starter library or your own upload.+ A 3D avatar is how people recognize and connect with your agent+ across three.ws — we strongly recommend giving it one now from+ the Starter library or your own upload.</p><div class="publish-box" style="margin-top: 14px"><label class="toggle">@@ -1136,16 +1271,31 @@<span class="knob"></span></label><div class="publish-text">- <strong>Don't pick an avatar — use the default body for now</strong>- <span>My agent will launch with our default 3D character. I can pick or upload my own anytime from its editor.</span>+ <strong+ >Don't pick an avatar — use the default body for+ now</strong+ >+ <span+ >My agent will launch with our default 3D character. I+ can pick or upload my own anytime from its editor.</span+ ></div></div></div><div class="model-preview" id="model-preview"><div class="model-preview-empty" id="model-preview-empty">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round">- <path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="1.4"+ stroke-linecap="round"+ stroke-linejoin="round"+ >+ <path+ d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"+ /><polyline points="3.27 6.96 12 12.01 20.73 6.96" /><line x1="12" y1="22.08" x2="12" y2="12" /></svg>@@ -1158,7 +1308,10 @@<section class="panel" data-step="2" aria-label="Skills"><p class="panel-eyebrow">Step 3 of 5</p><h2 class="panel-title">Pick its skills</h2>- <p class="panel-help">Every agent ships with a core set. Toggle on extra capabilities to extend what yours can do.</p>+ <p class="panel-help">+ Every agent ships with a core set. Toggle on extra capabilities to+ extend what yours can do.+ </p><div id="core-skills" aria-label="Core skills"></div><div id="optional-skills" aria-label="Optional skills"></div>@@ -1169,14 +1322,21 @@<section class="panel" data-step="3" aria-label="Personality and voice"><p class="panel-eyebrow">Step 4 of 5</p><h2 class="panel-title">Personality & voice</h2>- <p class="panel-help">Shape how your agent talks. A category and a profile prompt are what publish it to the marketplace.</p>+ <p class="panel-help">+ Shape how your agent talks. A category and a profile prompt are what+ publish it to the marketplace.+ </p><div class="field">- <label class="field-label" for="f-category"><span>Category</span></label>+ <label class="field-label" for="f-category"+ ><span>Category</span></label+ ><select class="select" id="f-category"><option value="">Choose a category…</option></select>- <p class="field-hint">Required to list on the marketplace. Pick the closest fit.</p>+ <p class="field-hint">+ Required to list on the marketplace. Pick the closest fit.+ </p></div><div class="field">@@ -1184,8 +1344,16 @@<span>Greeting</span><span class="count" id="greet-count">0 / 200</span></label>- <input class="input" id="f-greeting" type="text" maxlength="200" placeholder="Hey, I'm Nova — ask me anything about pump.fun." />- <p class="field-hint">The first line your agent says when someone opens a chat.</p>+ <input+ class="input"+ id="f-greeting"+ type="text"+ maxlength="200"+ placeholder="Hey, I'm Nova — ask me anything about pump.fun."+ />+ <p class="field-hint">+ The first line your agent says when someone opens a chat.+ </p></div><div class="field">@@ -1193,36 +1361,84 @@<span>Profile & instructions</span><span class="count" id="persona-count">0 / 2000</span></label>- <textarea class="textarea" id="f-persona" maxlength="2000" style="min-height: 120px" placeholder="Describe who your agent is and how it should behave. e.g. 'You are Nova, a sharp, friendly Solana market analyst. Be concise, cite on-chain data, and never give financial advice.'"></textarea>- <p class="field-hint">This becomes the agent's system prompt — its personality and rules.</p>+ <textarea+ class="textarea"+ id="f-persona"+ maxlength="2000"+ style="min-height: 120px"+ placeholder="Describe who your agent is and how it should behave. e.g. 'You are Nova, a sharp, friendly Solana market analyst. Be concise, cite on-chain data, and never give financial advice.'"+ ></textarea>+ <p class="field-hint">+ This becomes the agent's system prompt — its personality and+ rules.+ </p></div><div class="field"><label class="field-label"><span>Voice</span></label><div class="opt-grid cols-2">- <button type="button" class="opt is-selected" id="voice-browser" data-voice="browser" aria-pressed="true">+ <button+ type="button"+ class="opt is-selected"+ id="voice-browser"+ data-voice="browser"+ aria-pressed="true"+ ><div class="opt-icon">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">- <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5" />+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="1.6"+ stroke-linecap="round"+ stroke-linejoin="round"+ >+ <polygon+ points="11 5 6 9 2 9 2 15 6 15 11 19 11 5"+ /><path d="M15.54 8.46a5 5 0 0 1 0 7.07" /></svg></div><span class="opt-name">Built-in voice</span>- <span class="opt-desc">Free browser text-to-speech. Works instantly, no setup.</span>+ <span class="opt-desc"+ >Free browser text-to-speech. Works instantly, no+ setup.</span+ ></button>- <button type="button" class="opt" id="voice-custom" data-voice="custom" aria-pressed="false">+ <button+ type="button"+ class="opt"+ id="voice-custom"+ data-voice="custom"+ aria-pressed="false"+ ><div class="opt-icon">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round">- <path d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z" />+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="1.6"+ stroke-linecap="round"+ stroke-linejoin="round"+ >+ <path+ d="M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"+ /><path d="M19 10v2a7 7 0 0 1-14 0v-2" /><line x1="12" y1="19" x2="12" y2="23" /></svg></div><span class="opt-name">Custom voice</span>- <span class="opt-desc">Pick or clone a premium voice in the editor after creating.</span>+ <span class="opt-desc"+ >Pick or clone a premium voice in the editor after+ creating.</span+ ></button></div>- <p class="field-hint">Starts on the built-in voice — you can upgrade to a premium or cloned voice anytime.</p>+ <p class="field-hint">+ Starts on the built-in voice — you can upgrade to a premium or+ cloned voice anytime.+ </p></div></section>@@ -1230,7 +1446,10 @@<section class="panel" data-step="4" aria-label="Review and create"><p class="panel-eyebrow">Step 5 of 5</p><h2 class="panel-title">Review & create</h2>- <p class="panel-help">Here's the agent you're about to ship. Edit any step, then create it.</p>+ <p class="panel-help">+ Here's the agent you're about to ship. Edit any step, then create+ it.+ </p><div class="review-grid" id="review-grid"></div>@@ -1242,7 +1461,10 @@</label><div class="publish-text"><strong>List on the agent marketplace</strong>- <span id="publish-note">Make your agent discoverable. Requires a category and a profile prompt. You can unlist anytime.</span>+ <span id="publish-note"+ >Make your agent discoverable. Requires a category and a+ profile prompt. You can unlist anytime.</span+ ></div></div></section>@@ -1250,17 +1472,33 @@<!-- Success --><section class="success" id="success" aria-live="polite"><div class="success-badge">- <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round">+ <svg+ viewBox="0 0 24 24"+ fill="none"+ stroke="currentColor"+ stroke-width="2.4"+ stroke-linecap="round"+ stroke-linejoin="round"+ ><polyline points="20 6 9 17 4 12" /></svg></div><h2 id="success-title">Your agent is live</h2>- <p id="success-sub">It now has its own wallet and on-chain identity. Open it to chat, customize, or share.</p>+ <p id="success-sub">+ It now has its own wallet and on-chain identity. Open it to chat,+ customize, or share.+ </p><div class="success-preview" id="success-preview" hidden></div><div class="success-actions">- <a class="btn btn--primary btn--lg" id="success-open" href="#">Open agent</a>- <a class="btn btn--secondary btn--lg" id="success-edit" href="#">Customize further</a>- <a class="btn btn--ghost btn--lg" href="/create-agent">Create another</a>+ <a class="btn btn--primary btn--lg" id="success-open" href="#"+ >Open agent</a+ >+ <a class="btn btn--secondary btn--lg" id="success-edit" href="#"+ >Customize further</a+ >+ <a class="btn btn--ghost btn--lg" href="/create-agent"+ >Create another</a+ ></div></section></div>@@ -1268,9 +1506,21 @@<div class="wizard-foot" id="wizard-foot"><div class="foot-msg" id="foot-msg" role="status" aria-live="polite"></div><div class="foot-actions">- <button type="button" class="btn btn--ghost" id="btn-back" hidden>Back</button>- <button type="button" class="btn btn--primary" id="btn-next">Next</button>- <button type="submit" class="btn btn--primary" id="btn-create" hidden aria-label="Create agent">Create agent</button>+ <button type="button" class="btn btn--ghost" id="btn-back" hidden>+ Back+ </button>+ <button type="button" class="btn btn--primary" id="btn-next">+ Next+ </button>+ <button+ type="submit"+ class="btn btn--primary"+ id="btn-create"+ hidden+ aria-label="Create agent"+ >+ Create agent+ </button></div></div></form>diff --git a/pages/home.html b/pages/home.htmlindex 7b04d7d73..e717b818a 100644--- a/pages/home.html+++ b/pages/home.html@@ -4586,6 +4586,8 @@if (state.mode !== 'inline') attrs.push('mode="' + state.mode + '"');if (state.background !== 'transparent') attrs.push('background="' + state.background + '"');for (const [k, v] of Object.entries(state.options)) {+ // responsive defaults on, so disabling it must be explicit.+ if (k === 'responsive') { attrs.push(v ? 'responsive' : 'responsive="false"'); continue; }if (!v || v === 'off') continue;attrs.push(typeof v === 'string' ? k + '="' + v + '"' : k);}@@ -4630,21 +4632,44 @@return bg;}+ function setLiveOption(k, v) {+ // String-valued options (name-plate, avatar-chat) must be reflected+ // explicitly — the component hides the plate only on `name-plate="off"`,+ // not on the attribute's absence, so removing it would leave it visible.+ if (typeof v === 'string') liveAgent.setAttribute(k, v);+ else if (v) liveAgent.setAttribute(k, '');+ else liveAgent.removeAttribute(k);+ }+function updatePreview() {if (!state.glbUrl) return;- if (!liveAgent) {+ // `kiosk` and `eager` are read once at boot (not observed attributes),+ // so a change to either requires recreating the element. kiosk is tied+ // to the chat toggle: with chat on we drop kiosk so the chat chrome+ // renders; with chat off we keep kiosk for a clean avatar-only tile.+ var wantKiosk = state.options['avatar-chat'] !== 'on';+ var wantEager = !!state.options.eager;+ var needsRebuild = !liveAgent+ || liveAgent.hasAttribute('kiosk') !== wantKiosk+ || liveAgent.hasAttribute('eager') !== wantEager;+ if (needsRebuild) {+ if (liveAgent) liveAgent.remove();liveAgent = document.createElement('agent-3d');- liveAgent.setAttribute('kiosk', '');+ if (wantKiosk) liveAgent.setAttribute('kiosk', '');+ if (wantEager) liveAgent.setAttribute('eager', '');+ liveAgent.setAttribute('body', state.glbUrl);preview.appendChild(liveAgent);+ } else {+ liveAgent.setAttribute('body', state.glbUrl);}- liveAgent.setAttribute('body', state.glbUrl);liveAgent.setAttribute('mode', state.mode);liveAgent.setAttribute('background', state.background);- for (var entry of Object.entries(state.options)) {- var k = entry[0], v = entry[1];- if (v && v !== 'off') liveAgent.setAttribute(k, typeof v === 'string' ? v : '');- else liveAgent.removeAttribute(k);- }+ // Runtime-observed surface attributes — applied live without a reboot.+ // `responsive` is off only when explicitly "false"; an absent attribute+ // defaults to responsive-on, so we must set the literal value.+ liveAgent.setAttribute('responsive', state.options.responsive ? '' : 'false');+ setLiveOption('name-plate', state.options['name-plate']);+ setLiveOption('avatar-chat', state.options['avatar-chat']);preview.style.backgroundColor = resolvePreviewBg(state.background);}@@ -4885,7 +4910,7 @@if (mode && mode !== state.mode) state.mode = mode;var bg = ga('background');if (bg !== null) state.background = bg;- state.options.responsive = ha('responsive');+ state.options.responsive = ga('responsive') !== 'false';state.options['name-plate'] = ga('name-plate') === 'on' ? 'on' : 'off';state.options['avatar-chat'] = ga('avatar-chat') === 'on' ? 'on' : 'off';state.options.eager = ha('eager');diff --git a/pages/profile.html b/pages/profile.htmlindex 2bc103582..79446d6cb 100644--- a/pages/profile.html+++ b/pages/profile.html@@ -1038,6 +1038,8 @@['widgets', 'Widgets'],['skills', 'Skills'],['plugins', 'Plugins'],+ ['coins', 'Coins'],+ ['memories', 'Memories'],];if (stats.widget_views > 0) statDefs.push(['widget_views', 'Widget Views']);const statsHtml = statDefs.map(([key, label]) => `@@ -1054,6 +1056,8 @@{ key: 'widgets', label: 'Widgets', count: widgets.length },{ key: 'skills', label: 'Skills', count: skills.length },{ key: 'plugins', label: 'Plugins', count: plugins.length },+ { key: 'coins', label: 'Coins', count: coins.length },+ { key: 'memories', label: 'Memories', count: memories.length },];const visibleTabs = tabs.filter((t) => t.count > 0);const defaultTab = visibleTabs[0]?.key || 'avatars';@@ -1099,6 +1103,12 @@<section class="up-section" data-section="plugins"${defaultTab === 'plugins' ? '' : ' hidden'}>${renderPluginsList(plugins)}</section>+ <section class="up-section" data-section="coins"${defaultTab === 'coins' ? '' : ' hidden'}>+ ${renderCoinsGrid(coins)}+ </section>+ <section class="up-section" data-section="memories"${defaultTab === 'memories' ? '' : ' hidden'}>+ ${renderMemoriesList(memories)}+ </section>`;// Tab switching@@ -1266,6 +1276,65 @@return `<div class="up-list up-list-cols-2">${cards}</div>`;}+ function renderCoinsGrid(coins) {+ if (!coins.length) return `<p class="up-empty">No coins launched yet.</p>`;+ const cards = coins.map((c) => {+ const thumb = c.image+ ? `<img src="${attr(c.image)}" alt="${attr(c.name)}" style="width:100%;height:100%;object-fit:cover" referrerpolicy="no-referrer">`+ : `<div class="up-card-thumb-placeholder">◎</div>`;+ const symbol = c.symbol ? `<span class="up-card-chain">$${esc(c.symbol.replace(/^\$/, ''))}</span>` : '';+ const devnet = c.cluster && c.cluster !== 'mainnet'+ ? `<span class="up-card-id">${esc(c.cluster)}</span>` : '';+ const inner = `+ <div class="up-card-thumb">${thumb}</div>+ <div class="up-card-body">+ ${symbol}+ <span class="up-card-name">${esc(c.name)}</span>+ ${c.description ? `<p class="up-card-desc">${esc(c.description)}</p>` : ''}+ <div class="up-card-footer">+ <span class="up-card-id" title="${attr(c.mint)}">${esc(c.mint.slice(0, 4))}…${esc(c.mint.slice(-4))}</span>+ ${devnet}+ </div>+ </div>`;+ // Link out to the live coin page when present; otherwise fall back to+ // the launching agent so the card is never a dead end.+ return c.url+ ? `<a class="up-card" href="${attr(c.url)}" target="_blank" rel="noopener" style="text-decoration:none">${inner}</a>`+ : `<a class="up-card" href="/agent/${attr(c.agent_id)}" style="text-decoration:none">${inner}</a>`;+ }).join('');+ return `<div class="up-grid">${cards}</div>`;+ }++ function renderMemoriesList(memories) {+ if (!memories.length) return `<p class="up-empty">No public memories yet.</p>`;+ const cards = memories.map((m) => {+ const tags = (m.tags || []).slice(0, 4).map((t) => `<span class="up-tag">#${esc(t)}</span>`).join('');+ const when = m.created_at+ ? new Date(m.created_at).toLocaleDateString(undefined, { month: 'short', day: 'numeric', year: 'numeric' })+ : '';+ const agent = m.agent_name+ ? `<a href="/agent/${attr(m.agent_id)}">${esc(m.agent_name)}</a>`+ : '';+ return `+ <div class="up-card-row">+ <div class="up-card-row-thumb">◇</div>+ <div class="up-card-row-body">+ <div class="up-card-row-head">+ <span class="up-card-row-pill">${esc(m.type)}</span>+ </div>+ <p class="up-card-row-desc" style="-webkit-line-clamp:4">${esc(m.content)}</p>+ <div class="up-card-row-meta">+ ${agent ? `<span>${agent}</span>` : ''}+ ${when ? `<span>${esc(when)}</span>` : ''}+ ${tags ? `<span>${tags}</span>` : ''}+ </div>+ </div>+ </div>+ `;+ }).join('');+ return `<div class="up-list up-list-cols-2">${cards}</div>`;+ }+// Copy profile URL to clipboardcopyBtn.addEventListener('click', async () => {try {diff --git a/public/docs/mcp.md b/public/docs/mcp.mdindex 7b51ea6d0..57b37af9a 100644--- a/public/docs/mcp.md+++ b/public/docs/mcp.md@@ -124,6 +124,22 @@ All tools return `{ content: [{ type, text }], structuredContent: {...} }`. On e---+### `getting_started`++**Free — no OAuth token or x402 payment required.** The one public entry point: call it first to get a machine-readable overview of the server — every tool with a one-line summary (and per-call price where applicable), how to authenticate or pay, and useful links. Optional `section` (`overview`, `tools`, `access`, `links`) focuses the response. Every hosted three.ws MCP server (`/api/mcp`, `/api/mcp-3d`, `/api/mcp-bazaar`, `/api/mcp-agent`, `/api/ibm-mcp`) exposes this tool, so an unauthenticated client can always discover what a server does before connecting.++```json+{+ "type": "object",+ "properties": {+ "section": { "type": "string", "enum": ["overview", "tools", "access", "links"], "default": "overview" }+ },+ "additionalProperties": false+}+```++---+### `list_my_avatars`Paginated list of the authenticated user's avatars.diff --git a/src/create-agent.js b/src/create-agent.jsindex afc927c83..abfe4eba5 100644--- a/src/create-agent.js+++ b/src/create-agent.js@@ -57,7 +57,11 @@ const DEFAULT_AVATAR = STARTERS[0];const CORE_SKILLS = [{ id: 'greet', name: 'Greet', desc: 'Welcomes visitors and opens the conversation.' },{ id: 'present-model', name: 'Present model', desc: 'Shows off and explains its own 3D body.' },- { id: 'validate-model', name: 'Validate model', desc: 'Checks rig and animation health on load.' },+ {+ id: 'validate-model',+ name: 'Validate model',+ desc: 'Checks rig and animation health on load.',+ },{ id: 'remember', name: 'Remember', desc: 'Keeps memory across a conversation.' },{ id: 'think', name: 'Think', desc: 'Reasons step by step before answering.' },];@@ -222,7 +226,9 @@ function showStep(n) {// Move focus to the first field of the step for keyboard users.const panel = el.panels.find((p) => Number(p.dataset.step) === n);- const focusable = panel?.querySelector('input, textarea, select, button.opt, .starter, .dropzone');+ const focusable = panel?.querySelector(+ 'input, textarea, select, button.opt, .starter, .dropzone',+ );requestAnimationFrame(() => focusable?.focus?.({ preventScroll: true }));el.body.scrollIntoView({ behavior: 'smooth', block: 'start' });}@@ -277,9 +283,15 @@ function validateStep(n) {const acknowledgedSkip = state.model.mode === 'none' && state.model.skipAck;if (!hasStarter && !hasUpload && !hasLibrary && !acknowledgedSkip) {if (state.model.mode === 'none') {- setMsg('Tick the box to confirm you want to launch with the default 3D body for now.', 'err');+ setMsg(+ 'Tick the box to confirm you want to launch with the default 3D body for now.',+ 'err',+ );} else {- setMsg('Pick a starter avatar or upload a 3D model — or choose “Add later” and confirm.', 'err');+ setMsg(+ 'Pick a starter avatar or upload a 3D model — or choose “Add later” and confirm.',+ 'err',+ );}return false;}@@ -403,10 +415,20 @@ function renderStarters() {function selectStarter(id) {const s = STARTERS.find((x) => x.id === id);if (!s) return;- state.model = { mode: 'starter', starterId: id, starterUrl: s.url, file: null, fileName: '' };- document.querySelectorAll('.starter').forEach((c) =>- c.classList.toggle('is-selected', c.dataset.starter === id),- );+ state.model = {+ mode: 'starter',+ starterId: id,+ starterUrl: s.url,+ file: null,+ fileName: '',+ skipAck: false,+ avatarId: '',+ avatarUrl: '',+ avatarName: '',+ };+ document+ .querySelectorAll('.starter')+ .forEach((c) => c.classList.toggle('is-selected', c.dataset.starter === id));syncModelPreview();}@@ -415,6 +437,10 @@ function selectStarter(id) {let libraryState = 'idle'; // idle | loading | loaded | errorlet libraryAvatars = [];+// The avatars API exposes the GLB as model_url (public/unlisted) or+// base_model_url; private avatars have neither. Resolve a renderable URL or ''.+const avatarModelUrl = (av) => av?.model_url || av?.base_model_url || '';+async function loadLibraryAvatars() {if (libraryState === 'loaded' || libraryState === 'loading') {renderLibrary();@@ -426,7 +452,10 @@ async function loadLibraryAvatars() {const res = await apiFetch('/api/avatars?limit=50', { credentials: 'include' });if (!res.ok) throw new Error(`HTTP ${res.status}`);const data = await res.json();- libraryAvatars = (data.avatars || []).filter((a) => a && a.id && a.url);+ // Selection only needs an id — the agent links by avatar_id. A renderable+ // URL (model_url for public/unlisted, base_model_url, or thumbnail_url) is+ // used for the tile when present; private avatars without one still list.+ libraryAvatars = (data.avatars || []).filter((a) => a && a.id);libraryState = 'loaded';} catch (err) {log.warn('[create-agent] avatar library load failed', err?.message);@@ -466,12 +495,15 @@ function renderLibrary() {card.className = 'starter';card.dataset.avatar = av.id;card.setAttribute('aria-label', `Use your avatar ${name}`);+ const modelUrl = avatarModelUrl(av);const thumb = av.thumbnail_url? `<img src="${escapeHtml(av.thumbnail_url)}" alt="" loading="lazy" style="width:100%;height:100%;object-fit:cover" />`- : `<model-viewer src="${escapeHtml(av.url)}" alt="${escapeHtml(name)} preview" auto-rotate- auto-rotate-delay="0" rotation-per-second="22deg" interaction-prompt="none" disable-zoom disable-pan- disable-tap shadow-intensity="0.3" exposure="0.95" environment-image="neutral"- camera-orbit="15deg 82deg auto" loading="lazy"></model-viewer>`;+ : modelUrl+ ? `<model-viewer src="${escapeHtml(modelUrl)}" alt="${escapeHtml(name)} preview" auto-rotate+ auto-rotate-delay="0" rotation-per-second="22deg" interaction-prompt="none" disable-zoom disable-pan+ disable-tap shadow-intensity="0.3" exposure="0.95" environment-image="neutral"+ camera-orbit="15deg 82deg auto" loading="lazy"></model-viewer>`+ : '<span class="lib-noprev">3D</span>';card.innerHTML = `<span class="starter-thumb">${thumb}</span><span class="starter-name">${escapeHtml(name)}</span>`;card.addEventListener('click', () => selectLibraryAvatar(av.id));grid.appendChild(card);@@ -479,9 +511,9 @@ function renderLibrary() {// Re-apply the highlight when re-rendering with an active selection.if (state.model.mode === 'library' && state.model.avatarId) {- grid- .querySelectorAll('.starter')- .forEach((c) => c.classList.toggle('is-selected', c.dataset.avatar === state.model.avatarId));+ grid.querySelectorAll('.starter').forEach((c) =>+ c.classList.toggle('is-selected', c.dataset.avatar === state.model.avatarId),+ );}}@@ -496,7 +528,7 @@ function selectLibraryAvatar(id) {fileName: '',skipAck: false,avatarId: av.id,- avatarUrl: av.url,+ avatarUrl: avatarModelUrl(av),avatarName: av.name || 'Untitled',};$('library-grid')@@ -516,9 +548,9 @@ function wireModel() {t.classList.toggle('is-active', on);t.setAttribute('aria-selected', on ? 'true' : 'false');});- document.querySelectorAll('.model-pane').forEach((p) =>- p.classList.toggle('is-active', p.dataset.pane === pane),- );+ document+ .querySelectorAll('.model-pane')+ .forEach((p) => p.classList.toggle('is-active', p.dataset.pane === pane));if (pane === 'skip') {state.model = {mode: 'none',@@ -531,7 +563,9 @@ function wireModel() {avatarUrl: '',avatarName: '',};- document.querySelectorAll('.starter').forEach((c) => c.classList.remove('is-selected'));+ document+ .querySelectorAll('.starter')+ .forEach((c) => c.classList.remove('is-selected'));syncModelPreview();} else if (pane === 'library') {loadLibraryAvatars();@@ -600,6 +634,10 @@ async function acceptFile(file) {starterUrl: '',file,fileName: file.name.replace(/\.glb$/i, ''),+ skipAck: false,+ avatarId: '',+ avatarUrl: '',+ avatarName: '',};$('dropzone-title').innerHTML = `<span class="file-name">${escapeHtml(file.name)}</span> ready`;$('dropzone-sub').textContent = 'Click to choose a different file';@@ -742,9 +780,7 @@ function renderReview() {{key: 'Name',step: 0,- html: state.name.trim()- ? escapeHtml(state.name)- : '<span class="dim">Unnamed</span>',+ html: state.name.trim() ? escapeHtml(state.name) : '<span class="dim">Unnamed</span>',},{key: 'About',@@ -776,7 +812,9 @@ function renderReview() {{key: 'Greeting',step: 3,- html: state.greeting.trim() ? escapeHtml(state.greeting) : '<span class="dim">Default</span>',+ html: state.greeting.trim()+ ? escapeHtml(state.greeting)+ : '<span class="dim">Default</span>',},{key: 'Profile',@@ -785,7 +823,11 @@ function renderReview() {? escapeHtml(truncate(state.persona, 160)): '<span class="dim">Not set</span>',},- { key: 'Voice', step: 3, html: state.voice === 'browser' ? 'Built-in voice' : 'Custom (set up later)' },+ {+ key: 'Voice',+ step: 3,+ html: state.voice === 'browser' ? 'Built-in voice' : 'Custom (set up later)',+ },];const grid = $('review-grid');@@ -823,7 +865,8 @@ function updatePublishNote() {if (missing.length) {note.innerHTML = `Add ${missing.join(' and ')} (step 4) to list it. Otherwise it'll be created privately.`;} else {- note.textContent = 'Discoverable on the marketplace right after creation. You can unlist anytime.';+ note.textContent =+ 'Discoverable on the marketplace right after creation. You can unlist anytime.';}}@@ -914,12 +957,17 @@ async function submit() {nameEl.classList.add('is-invalid');nameEl.focus();setMsg(- createData.error_description || 'That identity conflicts with an existing agent. Try a different name.',+ createData.error_description ||+ 'That identity conflicts with an existing agent. Try a different name.','err',);return;}- throw new Error(createData.error_description || createData.error || `Create failed (${createRes.status})`);+ throw new Error(+ createData.error_description ||+ createData.error ||+ `Create failed (${createRes.status})`,+ );}const agent = createData.agent;if (!agent?.id) throw new Error('Create succeeded but no agent was returned.');@@ -945,13 +993,16 @@ async function submit() {const pj = await pubRes.json().catch(() => ({}));// Non-fatal: the agent exists. Surface a soft warning on success.log.warn('[create-agent] publish failed', pj);- agent._publishWarning = pj.error_description || 'Created, but listing on the marketplace failed — you can publish from the editor.';+ agent._publishWarning =+ pj.error_description ||+ 'Created, but listing on the marketplace failed — you can publish from the editor.';} else {agent._published = true;}} catch (err) {log.warn('[create-agent] publish error', err);- agent._publishWarning = 'Created, but listing on the marketplace failed — you can publish from the editor.';+ agent._publishWarning =+ 'Created, but listing on the marketplace failed — you can publish from the editor.';}}@@ -1020,7 +1071,10 @@ function clearMsg() {setMsg('', '');}function escapeHtml(s) {- return String(s).replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c]);+ return String(s).replace(+ /[&<>"']/g,+ (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' })[c],+ );}function truncate(s, n) {const t = String(s);diff --git a/src/game/avatar-rig.js b/src/game/avatar-rig.jsindex 3adfac80c..b68c41868 100644--- a/src/game/avatar-rig.js+++ b/src/game/avatar-rig.js@@ -113,6 +113,11 @@ export async function buildAvatar(rig, url, anim) {model.position.y -= box.min.y;rig.add(model);anim.attach(model);+ // Ensure the clip manifest is loaded before posing — callers often kick off+ // loadManifest() without awaiting it (see agent-commerce.js), so without this+ // the idle crossfade can run with no defs and leave the avatar in its raw+ // T-pose bind pose. loadManifest is idempotent + cached, so this is cheap.+ if (!_animDefs) await loadManifest();if (_animDefs?.length) { anim.setAnimationDefs(_animDefs); await anim.loadAll(); await anim.crossfadeTo(CLIP_IDLE, 0); }return { height: headAnchorHeight(box), fallback: false };} catch (err) {diff --git a/src/game/npc/npc-aixbt.js b/src/game/npc/npc-aixbt.jsindex 9201f86c6..5a0c21c2a 100644--- a/src/game/npc/npc-aixbt.js+++ b/src/game/npc/npc-aixbt.js@@ -92,7 +92,28 @@ const CHOICES = [desc: 'Type a ticker, I dig in',say: 'Name the token and I will scan it.',},+ {+ id: 'pay',+ icon: '⚡',+ title: 'Watch a live payment',+ desc: 'Real USDC settled on-chain, right now',+ say: 'Watch this — I will pay for a live read, on-chain.',+ wide: true,+ },+];++// The on-chain payment read maps /api/x402-pay's SSE lifecycle to a five-step+// stepper. Each id matches an event the endpoint emits; `done` is the terminal+// settled+confirmed state.+const PAY_STAGES = [+ { id: 'challenge', label: '402' },+ { id: 'built', label: 'Sign' },+ { id: 'verified', label: 'Verify' },+ { id: 'settled', label: 'Settle' },+ { id: 'done', label: 'Confirmed' },];+const fmtUsdc = (micro) => `${((Number(micro) || 0) / 1e6).toFixed(4)} USDC`;+const shortAddr = (a) => (a ? `${String(a).slice(0, 6)}…${String(a).slice(-4)}` : '—');function injectStyles() {if (document.getElementById('aixbt-term-styles')) return;@@ -113,9 +134,36 @@ function injectStyles() {.aixbt-choice:focus-visible { outline:2px solid #27e0c4; outline-offset:2px; }.aixbt-choice-ic { font-size:20px; line-height:1; margin-top:1px; }.aixbt-choice-key { position:absolute; }- .aixbt-choice-t { font-weight:800; font-size:14px; letter-spacing:0.01em; }- .aixbt-choice-d { font-size:11.5px; color:var(--cc-muted,#9a9aa2); margin-top:3px; line-height:1.35; }- .aixbt-num { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:3px; font-size:10px; font-weight:800; color:#9ff4e6; background:rgba(39,224,196,0.16); margin-right:6px; vertical-align:1px; }+ .aixbt-choice-body { display:flex; flex-direction:column; min-width:0; gap:3px; }+ .aixbt-choice-t { display:flex; align-items:center; font-weight:800; font-size:14px; letter-spacing:0.01em; }+ .aixbt-choice-d { font-size:11.5px; color:var(--cc-muted,#9a9aa2); line-height:1.35; }+ .aixbt-num { display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px; border-radius:3px; font-size:10px; font-weight:800; color:#9ff4e6; background:rgba(39,224,196,0.16); margin-right:6px; flex:0 0 auto; }+ /* the on-chain payment card spans both columns and reads as the showcase */+ .aixbt-choice.is-wide { grid-column:1 / -1; align-items:center; background:linear-gradient(100deg, rgba(39,224,196,0.1), rgba(122,168,255,0.07)); border-color:rgba(39,224,196,0.32); }+ .aixbt-choice.is-wide:hover { border-color:rgba(39,224,196,0.7); background:linear-gradient(100deg, rgba(39,224,196,0.16), rgba(122,168,255,0.12)); }+ .aixbt-choice.is-wide .aixbt-choice-ic { font-size:22px; }+ .aixbt-choice.is-wide .aixbt-num { color:#06201c; background:#27e0c4; }+ /* live payment stepper + receipt */+ .aixbt-pay-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin:14px 0 12px; }+ .aixbt-pay-who { font-size:13px; color:var(--cc-text,#e9e9ec); }+ .aixbt-pay-who b { font-weight:800; }+ .aixbt-pay-amt { font-size:12px; font-weight:800; font-variant-numeric:tabular-nums; color:#9ff4e6; }+ .aixbt-steps { display:flex; gap:7px; margin-bottom:6px; }+ .aixbt-step { flex:1; display:flex; flex-direction:column; align-items:center; gap:5px; font-size:10px; font-weight:800; letter-spacing:0.04em; text-transform:uppercase; color:#5a5a60; }+ .aixbt-step .aixbt-step-dot { width:100%; height:3px; border-radius:2px; background:rgba(255,255,255,0.08); transition:background .2s ease; }+ .aixbt-step.is-active { color:#9a9aa2; }+ .aixbt-step.is-active .aixbt-step-dot { background:rgba(39,224,196,0.5); animation:aixbt-step-pulse 1s ease-in-out infinite; }+ .aixbt-step.is-done { color:var(--cc-text,#e9e9ec); }+ .aixbt-step.is-done .aixbt-step-dot { background:#27e0c4; box-shadow:0 0 8px rgba(39,224,196,0.6); }+ .aixbt-step.is-err .aixbt-step-dot { background:#ff7a8a; box-shadow:0 0 8px rgba(255,122,138,0.5); }+ @keyframes aixbt-step-pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }+ .aixbt-receipt { margin-top:14px; padding-top:13px; border-top:1px solid var(--cc-edge, rgba(255,255,255,0.08)); }+ .aixbt-rrow { display:flex; justify-content:space-between; gap:12px; padding:3px 0; font-size:12.5px; color:var(--cc-muted,#9a9aa2); }+ .aixbt-rrow .aixbt-rv { color:var(--cc-text,#e9e9ec); font-variant-numeric:tabular-nums; }+ .aixbt-rrow a { color:#9ff4e6; text-decoration:none; border-bottom:1px solid rgba(159,244,230,0.4); }+ .aixbt-rrow a:hover { border-bottom-color:#9ff4e6; }+ .aixbt-pay-note { margin-top:11px; font-size:12px; line-height:1.45; color:var(--cc-text,#e9e9ec); }+ .aixbt-pay-note.is-err { color:#ffb4be; }/* chips + back + scan form */.aixbt-toolbar { display:flex; align-items:center; gap:10px; margin:2px 0 14px; flex-wrap:wrap; }.aixbt-back { flex:0 0 auto; border:1px solid var(--cc-edge, rgba(255,255,255,0.14)); background:rgba(255,255,255,0.04); color:var(--cc-text,#e9e9ec); font-weight:700; font-size:12px; border-radius:var(--cc-radius,4px); padding:5px 11px; cursor:pointer; transition:background .15s ease; }@@ -193,6 +241,53 @@ async function fetchJson(path) {return body;}+// Read an SSE response body, yielding { event, data } per framed chunk — same+// framing /api/x402-pay speaks.+async function* sseEvents(res) {+ const reader = res.body.getReader();+ const dec = new TextDecoder();+ let buf = '';+ while (true) {+ const { value, done } = await reader.read();+ if (done) break;+ buf += dec.decode(value, { stream: true });+ const chunks = buf.split('\n\n');+ buf = chunks.pop();+ for (const chunk of chunks) {+ if (!chunk.trim()) continue;+ let event = 'message', data = {};+ for (const line of chunk.split('\n')) {+ if (line.startsWith('event:')) event = line.slice(6).trim();+ if (line.startsWith('data:')) { try { data = JSON.parse(line.slice(5).trim()); } catch { /* ignore */ } }+ }+ yield { event, data };+ }+ }+}++// The on-chain receipt for a settled x402 payment: payer→payee, amount, and the+// Solana tx hash linked out to Solscan so anyone can verify it on-chain.+function renderPaymentReceipt(payment) {+ const tx = payment.tx;+ return el('div', { class: 'aixbt-receipt' }, [+ el('div', { class: 'aixbt-rrow' }, [+ el('span', { text: 'Payer → payee' }),+ el('span', { class: 'aixbt-rv', text: `${shortAddr(payment.payer)} → ${shortAddr(payment.payTo)}` }),+ ]),+ el('div', { class: 'aixbt-rrow' }, [+ el('span', { text: 'Amount · network' }),+ el('span', { class: 'aixbt-rv', text: `${payment.amount != null ? fmtUsdc(payment.amount) : '—'} · Solana` }),+ ]),+ tx ? el('div', { class: 'aixbt-rrow' }, [+ el('span', { text: 'Transaction' }),+ el('span', { class: 'aixbt-rv' }, [+ el('a', { href: `https://solscan.io/tx/${tx}`, target: '_blank', rel: 'noopener', text: `${tx.slice(0, 8)}…${tx.slice(-6)} ↗` }),+ ]),+ ]) : null,+ el('div', { class: 'aixbt-pay-note', text: 'A real USDC micropayment — settled on Solana mainnet, verifiable on-chain.' }),+ ]);+}+function renderIntel(items) {if (!items.length) return el('div', { class: 'aixbt-empty', text: 'No fresh narratives for that filter.' });return el('div', {}, items.map((i) => el('div', { class: 'aixbt-row' }, [@@ -447,6 +542,85 @@ export function openAixbtTerminal(npc, { ui } = {}) {} finally { busy = false; }}+ // ── live on-chain payment (the showcase read) ──────────────────────────────+ // Streams /api/x402-pay's real settlement lifecycle straight into the terminal:+ // the platform pays for its own tools/list MCP call (the simplest paid read) in+ // USDC on Solana, and the confirmed tx is surfaced with a Solscan link. No+ // simulation — if the payer isn't configured the endpoint says so and we relay+ // that honestly.+ async function runPayment() {+ if (busy) return;+ busy = true;+ body.textContent = '';+ body.appendChild(backBar());+ body.appendChild(el('div', { class: 'aixbt-section-h', text: 'Live on-chain payment' }));+ const amtEl = el('span', { class: 'aixbt-pay-amt', text: '— USDC' });+ body.appendChild(el('div', { class: 'aixbt-pay-head' }, [+ el('span', { class: 'aixbt-pay-who', html: '<b>three.ws</b> pays for a live read' }),+ amtEl,+ ]));+ const stepsEl = el('div', { class: 'aixbt-steps' });+ const tail = el('div', {});+ body.appendChild(stepsEl);+ body.appendChild(tail);++ let amount = null;+ const paint = (activeId, errId = null) => {+ const ai = PAY_STAGES.findIndex((s) => s.id === activeId);+ stepsEl.textContent = '';+ PAY_STAGES.forEach((s, i) => {+ let cls = '';+ if (errId === s.id) cls = 'is-err';+ else if (activeId === 'done' || i < ai) cls = 'is-done';+ else if (i === ai) cls = 'is-active';+ stepsEl.appendChild(el('div', { class: `aixbt-step ${cls}` }, [el('span', { class: 'aixbt-step-dot' }), s.label]));+ });+ if (amount != null) amtEl.textContent = fmtUsdc(amount);+ };++ let active = 'challenge';+ paint(active);++ let settled = null, result = null;+ try {+ const res = await fetch('/api/x402-pay', {+ method: 'POST',+ headers: { 'content-type': 'application/json', accept: 'text/event-stream' },+ body: JSON.stringify({ tool: 'tools/list', args: {} }),+ });+ if (!res.ok || !res.body) {+ const txt = await res.text().catch(() => '');+ let msg = `payment service unavailable (${res.status})`, code = null;+ try { const j = JSON.parse(txt); msg = j.error_description || j.error || msg; code = j.error; } catch { /* ignore */ }+ const notWired = res.status === 404 || code === 'config_missing';+ throw Object.assign(new Error(msg), { code: notWired ? 'pay_not_configured' : `http_${res.status}` });+ }+ for await (const { event, data } of sseEvents(res)) {+ if (event === 'challenge') { amount = data.amount; active = 'built'; paint(active); npc?.say?.('Challenge issued — signing the transfer.'); }+ else if (event === 'built') { active = 'verified'; paint(active); npc?.say?.('Signed. Sent to the facilitator.'); }+ else if (event === 'verified') { active = 'settled'; paint(active); npc?.say?.('Verified — waiting on settlement.'); }+ else if (event === 'settled') { settled = data; active = 'done'; paint(active); }+ else if (event === 'result') { result = data; }+ else if (event === 'error') { throw new Error(data.error || 'payment failed'); }+ }+ if (!settled) throw new Error('incomplete response from payment service');+ const payment = { ...(result?.payment || {}), ...settled };+ paint('done');+ tail.appendChild(renderPaymentReceipt(payment));+ npc?.say?.('Settled on Solana — open it on Solscan.');+ } catch (err) {+ paint(active, active);+ tail.textContent = '';+ const configErr = err?.code === 'pay_not_configured';+ tail.appendChild(el('div', { class: 'aixbt-pay-note is-err', text: configErr+ ? "The on-chain payer isn't wired up on this deployment yet."+ : `Payment didn't go through: ${err.message}. No funds moved.` }));+ if (!configErr) tail.appendChild(el('button', { class: 'aixbt-go', type: 'button', text: 'Try again', style: 'margin-top:10px', onclick: runPayment }));+ npc?.say?.(configErr ? "My wallet isn't funded here yet." : 'That one rolled back — wallet unchanged.');+ ui?.toast?.(configErr ? 'x402 payer not configured' : 'x402 payment failed', 'warn');+ } finally { busy = false; }+ }+// ── scan sub-form (the "type what you want" step) ──────────────────────────function showScan(prevToken, prevChain) {body.textContent = '';@@ -474,15 +648,16 @@ export function openAixbtTerminal(npc, { ui } = {}) {else if (choice.id === 'narratives') runNarratives('');else if (choice.id === 'macro') runMacro();else if (choice.id === 'scan') showScan('', '');+ else if (choice.id === 'pay') runPayment();}function showMenu() {body.textContent = '';- body.appendChild(el('p', { class: 'aixbt-ask', text: 'What do you want to see? Pick a read — or press 1–4.' }));+ body.appendChild(el('p', { class: 'aixbt-ask', text: 'What do you want to see? Pick a read — or press 1–5.' }));const menu = el('div', { class: 'aixbt-menu' }, CHOICES.map((c, idx) =>- el('button', { class: 'aixbt-choice', type: 'button', onclick: () => pick(c), 'aria-label': c.title }, [+ el('button', { class: `aixbt-choice${c.wide ? ' is-wide' : ''}`, type: 'button', onclick: () => pick(c), 'aria-label': c.title }, [el('span', { class: 'aixbt-choice-ic', text: c.icon }),- el('span', {}, [+ el('span', { class: 'aixbt-choice-body' }, [el('span', { class: 'aixbt-choice-t' }, [el('span', { class: 'aixbt-num', text: String(idx + 1) }), c.title]),el('span', { class: 'aixbt-choice-d', text: c.desc }),]),diff --git a/tests/api/mcp.test.js b/tests/api/mcp.test.jsindex 3f231744a..8ff482c0f 100644--- a/tests/api/mcp.test.js+++ b/tests/api/mcp.test.js@@ -335,6 +335,7 @@ describe('Protocol layer', () => {expect(status).toBe(200);const names = body.result.tools.map((t) => t.name);+ expect(names).toContain('getting_started');expect(names).toContain('search_public_avatars');expect(names).toContain('validate_model');expect(names).toContain('render_avatar');@@ -408,6 +409,24 @@ describe('Authentication', () => {expect(body.x402Version).toBe(2);});+ it('POST getting_started with no bearer and no X-PAYMENT succeeds (free public tool)', async () => {+ // no bearer, no payment → allowFree bypass → 200 with the server overview,+ // while a scoped tool on the same path still 401s (test above).+ const { status, body } = await invoke({+ body: {+ jsonrpc: '2.0',+ id: 1,+ method: 'tools/call',+ params: { name: 'getting_started', arguments: {} },+ },+ });++ expect(status).toBe(200);+ expect(body.result.structuredContent.server).toBe('three.ws');+ expect(body.result.structuredContent.tools.length).toBeGreaterThan(0);+ expect(body.result.content[0].text).toContain('Getting Started');+ });+it('POST with a bearer that fails authentication returns 401', async () => {authState.extracted = 'bad-token';authState.bearer = null; // authenticateBearer returns null → invalid tokendiff --git a/tests/e2e/create-agent-avatar.spec.js b/tests/e2e/create-agent-avatar.spec.jsindex 62be80cfc..3b7335981 100644--- a/tests/e2e/create-agent-avatar.spec.js+++ b/tests/e2e/create-agent-avatar.spec.js@@ -23,19 +23,23 @@ const FIXTURE_USER = {plan: 'free',};-// Synthetic avatars — real shipped GLBs for the model URL, a real served PNG-// for the thumbnail so tiles render as <img> without booting model-viewer.+// Synthetic avatars matching the real /api/avatars payload shape (model_url /+// base_model_url / thumbnail_url — there is no `url` field). The second avatar+// mimics a private one: no model_url, only a thumbnail. Both must still render+// and be selectable, since the agent links by id.const FIXTURE_AVATARS = [{id: 'ava-e2e-one',name: 'Test Avatar One',- url: '/avatars/default.glb',+ model_url: '/avatars/default.glb',+ base_model_url: '/avatars/default.glb',thumbnail_url: '/favicon-32x32.png',},{id: 'ava-e2e-two',name: 'Test Avatar Two',- url: '/avatars/cz.glb',+ model_url: null,+ base_model_url: null,thumbnail_url: '/favicon-32x32.png',},];