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
fix(deploy-onchain): alias node-fetch to platform fetch in browser bundles
nirholasbcfe546675bd
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b58b189e0..4458f28c1 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,9 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-08-19- **Deploy On-chain** (`/deploy-onchain`): Mint your agent into the Metaplex Agent Registry on Solana, in the exact shape the Genesis 333 shipped: a Metaplex Core asset with its own wallet, EIP-8004 identity, verified creator, royalties, and immutable metadata. Phantom, Solflare, or any Solana wallet signs; keys never leave the browser, and devnet rehearsal is free.+- **A page that fails to load now tells you which thing went wrong**: When an avatar or agent page could not load, it always said the same thing: not found, followed by whatever internal message the browser happened to throw. A stale link and a temporary server hiccup looked identical, and the explanation was often developer jargon rather than English. The two cases are now told apart. A link to something that no longer exists says exactly that and points you at the marketplace or the agent directory. A genuine failure on our side says so, offers a Try again button, and keeps the technical detail as a small footnote instead of presenting it as the reason. `[improvement, fix]`+- **Agent pages show what an agent can actually do, and what it charges**: The studio page every agent link opens now carries the agent's real substance. Its Capabilities tab lists the skills it genuinely exposes with the real per-call price of each, and a summary line telling you the cheapest paid call up front (or that everything is free). Skill names read as words instead of raw slugs, with the exact slug shown underneath for anyone wiring an integration. Under the title there is now a row of real counters: skills, conversations, wallet, whether the identity is on-chain, and how long the agent has been around. Below the fold, an agent recommends similar agents rather than unrelated avatars, each rendered as a live 3D card. The page also loads better: a skeleton in the real layout instead of a line of text, cards that show a picture while their 3D model downloads, and full keyboard support on the section tabs with a shareable link per tab. (`/agents`) `[improvement, feature]`+- **Phone fixes: helper widgets no longer sit on top of the controls**: On a phone the floating language control and the Getting started pill landed directly on the page's own bottom controls: the language picker rendered inside the "Ask the agent" box and the pill covered the save row. Helper widgets now measure a page's bottom bar and float above it, and the language control shows a compact code (EN) instead of a full-width bar. Gallery cards show all three actions in full, so Animate is no longer clipped mid-word. In the AR Studio, the Add models sheet keeps its tabs at full height on short screens, and each model is labelled with a readable name instead of the whole generation prompt. On the viewer page a long email no longer pushes the account button off the edge of the screen. (`/gallery`) `[fix, improvement]`- **Put any agent on-chain from your AI assistant: the Metaplex Agent Registry MCP server**: A new npm package, @three-ws/metaplex-agent-mcp, lets any AI assistant deploy an agent on-chain on Solana the exact way the three.ws Genesis 333 shipped: it mints a Metaplex Core asset and registers its EIP-8004 agent identity, so the agent appears on metaplex.com/agents with its own built-in wallet. Agents can sign with their own key, and people can sign with Phantom, Solflare, or any Solana wallet, with a preview-first confirm step before anything is spent. Every royalty, creator, plugin, and metadata field is customizable, and devnet rehearsal is free. (`/deployments`) `[sdk, feature]`- **Shared avatar links now unfurl with the avatar itself, and profile views finally count**: Paste an avatar link into X, Discord, Telegram, or Slack and the preview now shows that avatar's rendered image, name, and description instead of the generic site card. The profile page also reports a view each time someone opens it, so the view counts that rank search and explore results reflect real traffic at last. Discover cards for agents without a coin no longer point at a dead address, and the sitemap hands search engines the current agent page URLs directly. `[improvement, fix]`diff --git a/public/changelog.json b/public/changelog.jsonindex 3e665f88b..0d13de1d7 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-08-19T01:22:21.757Z",+ "generated_at": "2026-08-19T01:44:07.271Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -16,6 +16,39 @@"launch"]},+ {+ "date": "2026-08-19",+ "type": "update",+ "title": "A page that fails to load now tells you which thing went wrong",+ "summary": "When an avatar or agent page could not load, it always said the same thing: not found, followed by whatever internal message the browser happened to throw. A stale link and a temporary server hiccup looked identical, and the explanation was often developer jargon rather than English. The two cases are now told apart. A link to something that no longer exists says exactly that and points you at the marketplace or the agent directory. A genuine failure on our side says so, offers a Try again button, and keeps the technical detail as a small footnote instead of presenting it as the reason.",+ "link": null,+ "tags": [+ "improvement",+ "fix"+ ]+ },+ {+ "date": "2026-08-19",+ "type": "update",+ "title": "Agent pages show what an agent can actually do, and what it charges",+ "summary": "The studio page every agent link opens now carries the agent's real substance. Its Capabilities tab lists the skills it genuinely exposes with the real per-call price of each, and a summary line telling you the cheapest paid call up front (or that everything is free). Skill names read as words instead of raw slugs, with the exact slug shown underneath for anyone wiring an integration. Under the title there is now a row of real counters: skills, conversations, wallet, whether the identity is on-chain, and how long the agent has been around. Below the fold, an agent recommends similar agents rather than unrelated avatars, each rendered as a live 3D card. The page also loads better: a skeleton in the real layout instead of a line of text, cards that show a picture while their 3D model downloads, and full keyboard support on the section tabs with a shareable link per tab.",+ "link": "/agents",+ "tags": [+ "improvement",+ "feature"+ ]+ },+ {+ "date": "2026-08-19",+ "type": "update",+ "title": "Phone fixes: helper widgets no longer sit on top of the controls",+ "summary": "On a phone the floating language control and the Getting started pill landed directly on the page's own bottom controls: the language picker rendered inside the \"Ask the agent\" box and the pill covered the save row. Helper widgets now measure a page's bottom bar and float above it, and the language control shows a compact code (EN) instead of a full-width bar. Gallery cards show all three actions in full, so Animate is no longer clipped mid-word. In the AR Studio, the Add models sheet keeps its tabs at full height on short screens, and each model is labelled with a readable name instead of the whole generation prompt. On the viewer page a long email no longer pushes the account button off the edge of the screen.",+ "link": "/gallery",+ "tags": [+ "fix",+ "improvement"+ ]+ },{"date": "2026-08-19","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 25b090c0a..7c14600e2 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -14,6 +14,30 @@<category>launch</category><description>Mint your agent into the Metaplex Agent Registry on Solana, in the exact shape the Genesis 333 shipped: a Metaplex Core asset with its own wallet, EIP-8004 identity, verified creator, royalties, and immutable metadata. Phantom, Solflare, or any Solana wallet signs; keys never leave the browser, and devnet rehearsal is free.</description></item>+ <item>+ <title>A page that fails to load now tells you which thing went wrong</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-08-19:A page that fails to load now tells you which thing went wrong</guid>+ <pubDate>Wed, 19 Aug 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>When an avatar or agent page could not load, it always said the same thing: not found, followed by whatever internal message the browser happened to throw. A stale link and a temporary server hiccup looked identical, and the explanation was often developer jargon rather than English. The two cases are now told apart. A link to something that no longer exists says exactly that and points you at the marketplace or the agent directory. A genuine failure on our side says so, offers a Try again button, and keeps the technical detail as a small footnote instead of presenting it as the reason.</description>+ </item>+ <item>+ <title>Agent pages show what an agent can actually do, and what it charges</title>+ <link>https://three.ws/agents</link>+ <guid isPermaLink="false">2026-08-19:Agent pages show what an agent can actually do, and what it charges</guid>+ <pubDate>Wed, 19 Aug 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>The studio page every agent link opens now carries the agent's real substance. Its Capabilities tab lists the skills it genuinely exposes with the real per-call price of each, and a summary line telling you the cheapest paid call up front (or that everything is free). Skill names read as words instead of raw slugs, with the exact slug shown underneath for anyone wiring an integration. Under the title there is now a row of real counters: skills, conversations, wallet, whether the identity is on-chain, and how long the agent has been around. Below the fold, an agent recommends similar agents rather than unrelated avatars, each rendered as a live 3D card. The page also loads better: a skeleton in the real layout instead of a line of text, cards that show a picture while their 3D model downloads, and full keyboard support on the section tabs with a shareable link per tab.</description>+ </item>+ <item>+ <title>Phone fixes: helper widgets no longer sit on top of the controls</title>+ <link>https://three.ws/gallery</link>+ <guid isPermaLink="false">2026-08-19:Phone fixes: helper widgets no longer sit on top of the controls</guid>+ <pubDate>Wed, 19 Aug 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>On a phone the floating language control and the Getting started pill landed directly on the page's own bottom controls: the language picker rendered inside the "Ask the agent" box and the pill covered the save row. Helper widgets now measure a page's bottom bar and float above it, and the language control shows a compact code (EN) instead of a full-width bar. Gallery cards show all three actions in full, so Animate is no longer clipped mid-word. In the AR Studio, the Add models sheet keeps its tabs at full height on short screens, and each model is labelled with a readable name instead of the whole generation prompt. On the viewer page a long email no longer pushes the account button off the edge of the screen.</description>+ </item><item><title>Put any agent on-chain from your AI assistant: the Metaplex Agent Registry MCP server</title><link>https://three.ws/deployments</link>diff --git a/public/features.json b/public/features.jsonindex 119d2acba..d9e121b33 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-08-19T01:22:21.740Z",+ "generated_at": "2026-08-19T01:44:07.172Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/src/shims/node-fetch-browser.js b/src/shims/node-fetch-browser.jsnew file mode 100644index 000000000..97d5ccc26--- /dev/null+++ b/src/shims/node-fetch-browser.js@@ -0,0 +1,11 @@+// Browser alias for `node-fetch` (wired in vite.config.js resolve.alias).+//+// @metaplex-foundation/umi-http-fetch imports node-fetch unconditionally, and+// node-fetch's Node build reaches for `stream.Readable.prototype` at module+// scope, which crashes any browser bundle that pulls umi-bundle-defaults+// (first hit: /deploy-onchain). Every browser we ship to has native fetch, so+// in browser bundles `node-fetch` IS the platform fetch.+export default (...args) => globalThis.fetch(...args);+export const Headers = globalThis.Headers;+export const Request = globalThis.Request;+export const Response = globalThis.Response;diff --git a/vite.config.js b/vite.config.jsindex d0259694c..22de1bc44 100644--- a/vite.config.js+++ b/vite.config.js@@ -405,6 +405,11 @@ const appConfig = {// whose lib.js pulls Solana/Anchor deps served as source). The CJS// package, once prebundled by esbuild, exposes both default and named.buffer: resolve(__dirname, 'node_modules/buffer/index.js'),+ // `node-fetch` in a browser bundle is the platform fetch. Without this,+ // umi-http-fetch (inside @metaplex-foundation/umi-bundle-defaults, used+ // by /deploy-onchain) loads node-fetch's Node build, which dereferences+ // `stream.Readable.prototype` at module scope and crashes the page.+ 'node-fetch': resolve(__dirname, 'src/shims/node-fetch-browser.js'),},},optimizeDeps: {