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
docs(sniper): document reconcile parks, their bounds, and the resurrect guard
nirholasa62b2e51db64
diff --git a/public/changelog.json b/public/changelog.jsonindex d66b7c9e0..36a57d6cf 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-27T17:29:58.394Z",+ "generated_at": "2026-07-27T17:31:12.310Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",diff --git a/src/solana/sns-subdomain.js b/src/solana/sns-subdomain.jsindex f1691115c..15171489d 100644--- a/src/solana/sns-subdomain.js+++ b/src/solana/sns-subdomain.js@@ -206,7 +206,7 @@ export async function createNamedSubdomain({// on-chain yet (its create ix is in this same tx), so letting the SDK look// the owner up would throw. Right after createSubdomain the owner IS the// parent owner. v3 returns a single TransactionInstruction (v0.1.x-era- // callers expected an array) — normalize so the spread below works.+ // callers expected an array), so normalize before the spread below.const transferRes = await sns.transferSubdomain(connection,fullName,diff --git a/src/solana/sns.js b/src/solana/sns.jsindex 9aef3cdc2..016d1ea62 100644--- a/src/solana/sns.js+++ b/src/solana/sns.js@@ -67,7 +67,7 @@ export async function reverseLookupAddress(addr) {const { getFavoriteDomain } = await import('@bonfida/spl-name-service');const owner = new PublicKey(addr);const { reverse, stale } = await getFavoriteDomain(await makeConnection(), owner);- // A stale favorite is a domain the wallet no longer owns — showing it+ // A stale favorite is a domain the wallet no longer owns; showing it// would attribute someone else's name to this address.if (stale) return null;return reverse.endsWith('.sol') ? reverse : `${reverse}.sol`;diff --git a/vite.config.js b/vite.config.jsindex 8bcde824a..27077c79d 100644--- a/vite.config.js+++ b/vite.config.js@@ -23,6 +23,20 @@ import { nodePolyfills } from 'vite-plugin-node-polyfills';// npm run build:all → bothconst TARGET = process.env.TARGET || 'app';+// Prepended to every emitted chunk (app AND lib). `Object.hasOwn` is an ES2022+// *runtime API*, so esbuild's `target` never lowers it. It ships raw and throws+// "Object.hasOwn is not a function" on anything older than Chrome 93 / Safari+// 15.4. That killed /walk-embed outright on an Android 12 WebView (Chrome 91) in+// production. The embed's whole point is running inside third-party pages we+// don't control, so the floor has to be the old WebView, not our dev browser.+// defineProperty (not assignment) keeps it non-enumerable like the native one,+// so `for...in` over Object stays clean.+const LEGACY_RUNTIME_POLYFILL =+ 'if(!Object.hasOwn){Object.defineProperty(Object,"hasOwn",{value:function(o,k){' ++ 'if(o==null)throw new TypeError("Cannot convert undefined or null to object");' ++ 'return Object.prototype.hasOwnProperty.call(Object(o),k)},' ++ 'configurable:true,writable:true});}';+// Vercel serverless functions live under /api/* in production but Vite dev// does not run them. Forward /api/* to a real upstream (default: production)// so pages like /pumpfun see real SSE feeds and JSON responses in dev.@@ -278,6 +292,10 @@ const appConfig = {/^@three-ws\/agent-payments(\/.*)?$/,],output: {+ // Every chunk, not just entries: with ES modules a shared chunk's+ // body evaluates BEFORE the entry that imports it, so an+ // entry-only banner would land too late to protect it.+ banner: LEGACY_RUNTIME_POLYFILL,manualChunks(id) {// Node polyfills (buffer/process shims) get their own tiny chunk.// Without this, Rollup colocates the `buffer` module inside the@@ -2715,7 +2733,9 @@ const libConfig = {// No externals — self-contained drop-in embed.// inlineDynamicImports keeps the output as a single file so CDN// consumers get one <script type="module"> with no chunk fetches.- output: { inlineDynamicImports: true },+ // The lib IS the third-party embed, so it needs the old-WebView+ // polyfill even more than the app does.+ output: { inlineDynamicImports: true, banner: LEGACY_RUNTIME_POLYFILL },},},};