Skip to content

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.

IRL pins, x402, API reference, and vercel config updates

nirholas177ce9b479d6
diff --git a/api/irl/pins.js b/api/irl/pins.js
index 3e8d0579a..4b0719665 100644
--- a/api/irl/pins.js
+++ b/api/irl/pins.js
@@ -145,7 +145,7 @@ async function guardianFlags(caption) {
// every legit first-party pay target). A valid host token is a bare hostname
// (letters/digits/dots/hyphens, no scheme/path/port), so a fat-fingered
// "https://x" entry is dropped instead of poisoning the match.
-const X402_DEFAULT_HOSTS = ['three.ws', 'www.three.ws', '3d-agent.vercel.app', '3d.irish'];
+const X402_DEFAULT_HOSTS = ['three.ws', 'www.three.ws', '3d-agent.vercel.app', 'three.ws'];
const X402_HOST_RE = /^[a-z0-9.-]+$/;
// Parse + validate the configured allow-list. Returns ONLY well-formed bare
diff --git a/public/docs/api-reference.md b/public/docs/api-reference.md
index ca7fee997..47a9b0bf2 100644
--- a/public/docs/api-reference.md
+++ b/public/docs/api-reference.md
@@ -954,7 +954,7 @@ Each asset has its own SIWX grant key: the endpoint passes a `resourceUrlBuilder
### Browser drop-in modal: "Sign in with wallet"
-The drop-in modal at `https://3d.irish/x402.js` speaks SIWX automatically — no merchant code changes. The same `<button data-x402-endpoint="…">` and `window.X402.pay({…})` keep working.
+The drop-in modal at `https://three.ws/x402.js` speaks SIWX automatically — no merchant code changes. The same `<button data-x402-endpoint="…">` and `window.X402.pay({…})` keep working.
When the 402 body carries the `sign-in-with-x` extension and the visitor has a matching wallet (Phantom for Solana, any `window.ethereum` wallet for EVM), the modal leads with a **Sign in with wallet** primary button and demotes paying to a secondary action:
diff --git a/public/x402.js b/public/x402.js
index 01e5bb268..67ff3beeb 100644
--- a/public/x402.js
+++ b/public/x402.js
@@ -2,7 +2,7 @@
//
// Merchants add one line to their site:
//
-// <script type="module" src="https://3d.irish/x402.js"></script>
+// <script type="module" src="https://three.ws/x402.js"></script>
//
// Then any element with `data-x402-endpoint` opens a payment modal on click:
//
@@ -681,7 +681,7 @@ class CheckoutModal {
<div class="x402-body" data-body></div>
<div class="x402-foot">
<span class="x402-secure">x402 · onchain settled</span>
- <a href="https://3d.irish" target="_blank" rel="noopener">Powered by 3d.irish</a>
+ <a href="https://three.ws" target="_blank" rel="noopener">Powered by three.ws</a>
</div>
</div>
`;
diff --git a/vercel.json b/vercel.json
index 5615ac50d..4b28dcc58 100644
--- a/vercel.json
+++ b/vercel.json
@@ -196,14 +196,14 @@
"strict-transport-security": "max-age=63072000; includeSubDomains; preload",
"x-content-type-options": "nosniff",
"referrer-policy": "strict-origin-when-cross-origin",
- "content-security-policy": "base-uri 'self'; object-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh https://ajax.googleapis.com https://s3.tradingview.com https://platform.twitter.com https://3d-agent.vercel.app https://three.ws https://3d.irish; worker-src 'self' blob:; frame-ancestors *; report-uri /api/client-errors"
+ "content-security-policy": "base-uri 'self'; object-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh https://ajax.googleapis.com https://s3.tradingview.com https://platform.twitter.com https://3d-agent.vercel.app https://three.ws https://three.ws; worker-src 'self' blob:; frame-ancestors *; report-uri /api/client-errors"
},
"continue": true
},
{
"src": "/(login|register|forgot-password|reset-password|account|settings|wallet|pay|paywall|vanity-wallet|eth-vanity|evm-wallet|dashboard|dashboard-next|dashboard-classic)(/.*)?$",
"headers": {
- "content-security-policy": "frame-ancestors 'self'; base-uri 'self'; object-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh https://ajax.googleapis.com https://s3.tradingview.com https://platform.twitter.com https://challenges.cloudflare.com https://3d-agent.vercel.app https://three.ws https://3d.irish; worker-src 'self' blob:; report-uri /api/client-errors",
+ "content-security-policy": "frame-ancestors 'self'; base-uri 'self'; object-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' blob: https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh https://ajax.googleapis.com https://s3.tradingview.com https://platform.twitter.com https://challenges.cloudflare.com https://3d-agent.vercel.app https://three.ws https://three.ws; worker-src 'self' blob:; report-uri /api/client-errors",
"x-frame-options": "SAMEORIGIN"
},
"continue": true