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
chore: update changelog and add new features for image to 3d and chat embeds
qhqf0a2924c9eaa2
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex daa8ae578..f18583ccc 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,10 @@Public history for [three.ws](https://three.ws), newest first. New pages come from `added` dates in data/pages.json; everything else is curated in data/changelog.json. Also available as [JSON](https://three.ws/changelog.json) and [RSS](https://three.ws/changelog.xml), live at [three.ws/changelog](https://three.ws/changelog).+## 2026-06-22++- **Chat embeds now load on any site** — The embed editor's Chat mode produced a snippet that worked in the live preview but stayed blank once pasted onto an external site. The agent chat page was served with a frame-ancestors policy that only allowed three.ws itself, so every other domain's browser blocked the iframe. Chat embeds now ship the same open framing policy as the avatar embed modes, and the embedded chat page can use the microphone for voice input. Paste the snippet anywhere and it just works. (`/embed`) `[fix]`+## 2026-06-21- **Arm your agent — automate Oracle conviction** (`/oracle/arm`) — Configure your 3D agent to trade Oracle conviction automatically: set the minimum score, position size, daily and open-position caps, narrative filters and Telegram alerts, then arm it in simulate or live mode. Every action is graded against the outcome.@@ -11,6 +15,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Docs · Walk Avatar** (`/docs/walk`) — Developer and user documentation for the three.ws walking-avatar system: the /walk page, iframe embeds, the JavaScript SDK, the postMessage event contract, companion mode, analytics, and the Chrome extension.- **Feed** (`/feed`) — Recent activity from the people and agents you follow on three.ws.- **Hero Stage** (`/hero-demo`) — A cinematic 3D hero stage for three.ws agents — a lit avatar centered in deep space over concentric glowing rings, a drifting starfield, and soft bloom, with pointer parallax and a live avatar switcher. Motion-safe.+- **Make Dad a 3D Avatar** (`/dad`) — Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.- **Studio — Object + Avatar from text** (`/forge-studio`) — One canvas for both text-to-3D pipelines: forge a textured object (GLB) in the Object tab, or describe a character and get a rigged avatar in the Avatar tab.- **The Agent Economy — Live** (`/economy`) — The live three.ws agent economy: agents earning real money ranked by buyers and ratings, and the pay-per-call (x402) services they expose across Solana and Base.- **Walk** (`/walk`) — Your 3D avatar walks anywhere on the web. Live demos across six environments, a Chrome extension, one-tag embeds, and a global distance leaderboard.@@ -61,6 +66,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Imported avatars now animate with correct arm and leg orientation** — Animations are authored on one reference rig and retargeted onto whatever avatar you bring — Mixamo, Ready Player Me, VRoid, and more. We found that limbs on those rigs could play roughly 30° off from where they should be, because the retarget replayed each joint's motion in the wrong frame when a rig's rest pose differed from ours. The retarget now preserves each joint's true world-space motion, so idle, walk, and every other clip drive a foreign rig's arms and legs the way they were animated. Avatars matching the reference rig are byte-for-byte unchanged. `[fix, improvement]`- **Launch-and-snipe: atomic dev buy at token launch** — Atomic pump.fun launches can now include a first buy in the very same transaction that creates the token. The creator's buy lands in the same block as the mint — inside one Jito bundle — so no external sniper can wedge in ahead of the floor. Set a buy size and slippage; the funder covers it on top of rent, and the same spend caps apply. `[feature]`- **Live market feed stays up through provider blips** — The trending-tokens feed that powers the home card, communities, the token constellation, and the 3D visualizer is now resilient to upstream outages. If a market data provider goes down or rate-limits us, we transparently fall back to a second source; if both are briefly unavailable, the surfaces keep showing the last good data (clearly marked as a moment stale) instead of going blank. We also added a fast-fail circuit breaker so a slow provider can't drag the feed down during a traffic spike. Net effect: the live market views stay populated and snappy even when a data provider hiccups. `[infra, improvement]`+- **Membership tiers and referral codes** — Every member now wears a mode on their card: User, Beta, Pro, Holder, or Three Dimensional. The tier panel on your referrals page shows every badge you hold, what each one unlocks, and the next mode to aim for — with a live $THREE holder check across all your linked wallets. Referral codes now default to your name and you can customize them at any time from your membership card. (`/dashboard/referrals`) `[feature]`- **Membership tiers: see your mode on your member card** — Your dashboard membership card now shows your tier — User, Beta, Pro, Holder, or Three Dimensional. A new panel on the Referrals page lays out the full ladder: which modes you already hold, and exactly what unlocks the rest. Holder is detected live from the $THREE you hold across any linked Solana wallet (hold more to climb the Bronze→Genesis ladder), Pro comes with a paid plan, and Beta and Three Dimensional are granted by the team. Everyone starts as a User with full free-forever access. (`/dashboard/referrals`) `[feature]`- **More reliable on-chain transactions across the platform** — Every on-chain action that moves funds — agent transfers, token launches, buys and sells, creator-fee claims, club and lottery payouts, buybacks, and skill purchases — now goes through one hardened sender. It estimates the right priority fee, automatically re-broadcasts your transaction with a fresh blockhash until it actually lands instead of giving up after one try, and treats a transaction that reverts on-chain as a clear failure rather than a silent success. In practice that means far fewer 'stuck' or dropped transactions when the network is busy, and an honest error (with your funds untouched) when something genuinely can't go through. Nothing to do on your end. `[improvement, fix, infra]`- **My Collection page now loads** — The /collection page — where your unlocked skills and active subscriptions live — was returning a 404 because its route pointed at the wrong build path, and its subscriptions list was calling an endpoint that rejected the request. Both are fixed: the page loads, your purchased skills and NFT receipts render, and the Subscriptions tab now shows your active creator subscriptions with plan, price, renewal date, and a link to each creator. The marketplace analytics page had the same routing fault and now loads too. (`/collection`) `[fix]`@@ -74,6 +80,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Pay-what-you-want pricing for skills** — Creators can now price a skill as “pay what you want” with an optional minimum; buyers name their price at checkout and the fee, referral, and revenue math all use the actual amount paid. (`/marketplace`) `[feature]`- **Payment hardening and a steadier holder leaderboard** — Two behind-the-scenes reliability and safety fixes. Agent payment invoices now verify that the wallet paying is actually linked to your account before an invoice is created, closing a gap that let bogus payment requests be generated against any agent. And the $THREE holder leaderboard, its share card, and the token stats panel no longer each kick off a full on-chain holder scan during a traffic spike — one scan now serves everyone and refreshes the shared snapshot, so the leaderboard stays fast and responsive under load. Nothing to do on your end. (`/leaderboard`) `[security, fix, infra]`- **Pick your guide for the product tour — and walk her around yourself** — The 3D guide who walks you through the product tour now starts as Ava, our photoreal full-body character — and you can swap her for anyone in the cast. Open the tour menu and use the new Guide picker to choose any avatar (your own custom ones included); the tour switches on the spot and remembers your pick. In free roam you can now steer the guide with WASD or the arrow keys (hold Shift to run) and walk her across the whole page, just like steering your character on the Walk pages — clicking and dragging still work too. She also obeys gravity now: she drops in and plants her feet on the ground instead of hovering. `[feature, improvement]`+- **Platform-wide code audit: 15 bugs found and fixed** — A full read-the-code audit across 60+ source files and all API handlers found and fixed 15 real bugs: XSS in the x402 trade demo and payment chip (server-controlled SSE fields and skill names now escaped before being set as innerHTML); face-mocap looped playback froze after one cycle (RAF never re-armed on loop restart); a JavaScript temporal dead zone crash in the trader card renderer (pumpUrl referenced before declaration); the BYOK API key error handler was unreachable due to ordering (generic 401/402 caught first); the Jupiter swap confirm button was always disabled even with a valid amount (contradictory double-assignment); the agent-exchange result fallback used the whole SSE envelope instead of the nested result object; the game-ready wireframe WebGL renderer and RAF loop kept running indefinitely when hidden (now skipped when not visible, torn down on pagehide); body mocap bone lookup only handled Mixamo rigs and missed Blender, Rigify, VRM, and others (now delegates to the shared canonicalizer); the click-to-walk tryInject poll timer was never cancelled on uninstall; the club swapAvatar path skipped auto-camera release and audio fade when interrupting a paid performance; the wallet.js connectWallet export used by ThreeGate was missing (connect button silently fell back to a DOM click that often found nothing); the API agent-actions cursor parameter returned a 500 on non-numeric input instead of a 400; and several low-severity dead code and UI guard fixes. `[fix, security]`- **Platform-wide hardening: payment integrity, security, and scale** — A broad reliability pass across the parts of three.ws that move real money and serve heavy traffic. On the money side: bundle purchases and agent payments are now verified on-chain before anything unlocks, each payment is credited exactly once, withdrawals can't be processed twice, and recurring subscriptions can't be double-billed. On the security side: a set of input-handling and link-safety fixes across pages, stronger protection for custodial keys at rest, and tighter checks on outbound agent payments so funds only ever move in the expected asset. On the scale side: the busiest directory, profile, and feed pages now ride a short cache and run far fewer database queries, so they stay fast as the community grows. Most of this is invisible by design — it's the plumbing that keeps the platform correct and quick under load. `[security, improvement, infra]`- **Pole Club: every dancer stands on her stage** — Fixed a dancer who sank through her platform instead of standing on it. Avatars exported at centimetre scale (common for Mixamo-rigged characters) had their idle motion collapse, dropping them a metre into the floor. The animation engine now scales each dancer's footing to her own rig, so any avatar you pick stands cleanly at her pole. (`/club`) `[fix]`- **Pole Club: tipping now works with the built-in three.ws wallet** — Tipping a dancer in the Pole Club opens an on-chain payment for $0.001 USDC. On Solana Mobile (Seeker), the payment window only recognized browser extensions like Phantom, so anyone using the three.ws wallet saw a checkout that couldn't be completed — the window opened but the pay button was greyed out. The checkout now recognizes the three.ws wallet (and Backpack and Solflare) the same way the rest of the site does, and names whichever wallet you're using throughout the flow, so tips go through. (`/club`) `[fix]`@@ -83,6 +90,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Provably-fair vanity grinder now listed in the x402 bazaar** — The provably-fair Solana vanity grinder — which returns a signed, independently-verifiable receipt proving the key was ground fresh and never kept — is now published in the x402 discovery catalog, so paying agents and bazaar crawlers can find and call it directly. (`/vanity/verify`) `[feature, sdk]`- **Referrals: claim a custom code that's yours** — Your referral code now starts as your name instead of a random string — and you can change it to anything you like. Open Referrals in your dashboard, hit Customize, and pick a code (3–20 letters or numbers); it checks availability as you type and updates your shareable link, QR, and membership card the moment you save. Existing links keep working, codes are matched case-insensitively, and you still earn 5% in USDC on every referred purchase. (`/dashboard/referrals`) `[feature]`- **Regrinding an agent's vanity wallet no longer risks its funds** — The compact "Vanity address" card on an agent's page used to replace a wallet by deleting the old one and creating the new one separately — so if the old wallet held SOL or tokens, they could be left behind. It now uses the same money-safe path as the rest of the platform: any balance is automatically swept to the new vanity address first, and the switch only completes once the funds have moved (and only after the server confirms the new address really matches your pattern). Same one-click experience, but your funds follow the wallet. `[fix, security]`+- **Security hardening across payments, subscriptions, and the agent sniper** — A code audit turned up and fixed several real vulnerabilities: Solana subscriptions now reject devnet USDC (previously accepted, letting anyone subscribe for free with faucet tokens). Payment intent confirmation now uses an atomic DB transaction so a crash mid-grant can't leave a user paid but unsubscribed. An expired intent could be incorrectly promoted to confirmed in a race — the status gate is now strict. The Solana mint check no longer silently accepts any SPL token in legacy transfer instructions. The agent sniper's coin classifier now truncates and delimits metadata fields to block prompt injection via crafted coin names. The oracle worker's on-chain confirm step now times out after 60 s instead of hanging forever. Routine steps already rejected by the animation engine's fallen-pose guard no longer pass the pre-play filter and cause dancers to freeze. `[security, fix]`- **Smoother landing page on hover** — The homepage's parallax hero and 3D stack-card glow used to read the page layout on every pointer move, which could make the cursor feel sticky on the first page new visitors see. Those effects now batch their work to one frame at a time, so hover and tilt stay buttery on any device. (`/`) `[improvement]`- **Solana is now the default payment network** — Solana is now the default everywhere you pick a chain — the dashboard's Default payment network setting, x402 merchant settlement, and the monetization payout wallet all default to Solana for every user, with Solana listed first. Base and Polygon remain available if you prefer an EVM chain. (`/dashboard`) `[improvement]`- **Solana reads and the club door survive a degraded RPC provider** — When a Solana node answers with a 200 but an unusable body — an empty payload, an HTML error page, or a quota-exhausted reply — our network layer had one weak spot: if every node was momentarily cooling off at once, it forwarded that garbage response straight through. In the browser that showed up as broken balance and blockhash reads on the marketplace, staking, and payment screens; at the club door it could fail the cover charge with an opaque error even though nothing was charged. The network layer now validates every reply on every path and fails over to a healthy node instead of passing a bad one along, returning a clean, honest error only when every provider is genuinely down. The club door also keeps a recent blockhash on hand and reuses it through a brief blip, so paying to enter and reading on-chain balances stay reliable through provider hiccups. `[fix, infra]`@@ -98,6 +106,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **three.ws now speaks your language** — The site can now be translated into many languages. A language picker on the homepage switches the copy instantly, starting with Spanish, and your choice is remembered. Translations are produced by an AI pipeline that locks brand and protocol terms — $THREE, the contract address, USDC, x402 — so they are never altered, and English is always the safe fallback. More languages roll out from here. `[feature, improvement]`- **Tour guide now actually walks when you send it somewhere** — In the guided tour's free-roam mode, clicking an empty spot used to glide the guide across the page faster than its feet could keep up, so it looked like it was sliding rather than walking. It now strides to where you click at a steady walking pace — the same locomotion you get when you steer it with WASD/arrow keys — so its body and footsteps stay in sync. The guide also walks to each stop the same way during the tour itself. `[improvement]`- **USDC checkout no longer fails when an RPC node hiccups** — Paying with USDC at a door (like the Pole Club cover charge) could occasionally fail with an "internal error" right after you connected your wallet, if our Solana RPC briefly returned a malformed reply while building your payment. The checkout now shrugs that off and builds the transaction anyway, so a flaky node no longer turns you away at the door. Nothing was ever charged when this happened. `[fix]`+- **User profiles: wallets, NFTs, accessories, shop listings, fork agents and avatars** — The /u/ profile pages now surface the full picture of what a user owns and builds. A wallets row shows every linked Solana and EVM address with one-click copy and a link to the chain explorer. On-chain collectibles load in a lazy background pass — 3D NFTs display as interactive model-viewer tiles; image NFTs sit in a grid. Any premium accessories purchased through the x402 cosmetics rail appear in their own tab with rarity badges. Published avatars and agents carry a Fork button so visitors can clone the item directly into their own account. Items actively listed for sale land in a For sale tab with direct buy links. All counts surface in the stat strip. (`/u`) `[feature, improvement]`- **Walk picks up where you left off, plus click-to-walk** — The walk now remembers your avatar, environment, camera, and position across visits (synced to your account when signed in, cached locally otherwise) and greets you with a “Welcome back” you can dismiss or reset. Click anywhere on the page and your site-wide companion walks there, routing around blocked elements. The features page also gained a live walking-avatar demo. (`/walk`) `[feature, improvement]`- **Walk with any agent, and leave a trail** — Every agent profile now has a “Walk with this agent” action and a live preview that renders that specific agent walking — the walk embed can now load any agent’s avatar by id. And the walking avatar leaves an aesthetic trail behind it (footprints, a glow, or a fading line, your pick) both in the full walk scene and the site-wide companion. (`/walk`) `[feature, improvement]`- **x402 comes to VS Code** — A new VS Code extension brings the x402 bazaar into your editor. Browse and search every paid API and MCP tool across the network, decode any endpoint's payment challenge to see exactly what it charges and on which chain, and pay-per-call with USDC right from a side panel — the amount is shown and confirmed before signing, a spending cap blocks anything over your limit, and the on-chain receipt comes back inline. Your wallet key is stored in the OS keychain, never in files. Developers can also scaffold a new paid endpoint in one command. Built for the people who wire up and call paid services — and they live in their editor. `[sdk, feature]`diff --git a/agent-payments-sdk/src/solana/PumpTradeClient.ts b/agent-payments-sdk/src/solana/PumpTradeClient.tsindex cae302450..b1b3b5bbf 100644--- a/agent-payments-sdk/src/solana/PumpTradeClient.ts+++ b/agent-payments-sdk/src/solana/PumpTradeClient.ts@@ -172,9 +172,11 @@ export class PumpTradeClient {global, feeConfig, mintSupply, bondingCurve, amount: expectedBaseTokens, quoteMint,});- const maxQuoteCost = new BN(- Math.ceil(preciseQuoteAmount.toNumber() * (1 + slippage / 100)),- );+ // Slippage applied in integer BN math: toNumber() on a lamport BN throws+ // above 2^53 (~9M SOL) and loses precision on money below it. bps = slippage%+ // × 100; ceil via (x·(10000+bps) + 9999) / 10000.+ const buyBps = Math.max(0, Math.round(slippage * 100));+ const maxQuoteCost = preciseQuoteAmount.muln(10_000 + buyBps).addn(9_999).divn(10_000);const marketCap = bondingCurveMarketCap({mintSupply,@@ -218,9 +220,10 @@ export class PumpTradeClient {global, feeConfig, mintSupply, bondingCurve, amount: baseAmount,});- const minQuoteOut = new BN(- Math.max(0, Math.floor(expectedQuoteOut.toNumber() * (1 - slippage / 100))),- );+ // Integer BN math (see quoteForBuy): floor via x·(10000−bps) / 10000, with+ // the multiplier clamped at 0 so slippage > 100% floors the bound to zero.+ const sellBps = Math.max(0, Math.round(slippage * 100));+ const minQuoteOut = expectedQuoteOut.muln(Math.max(0, 10_000 - sellBps)).divn(10_000);const marketCap = bondingCurveMarketCap({mintSupply,diff --git a/data/changelog.json b/data/changelog.jsonindex d5c599c09..fe9492f5a 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,25 @@{"$comment": "Curated changelog entries for three.ws — the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-06-22",+ "title": "Chat embeds now load on any site",+ "summary": "The embed editor's Chat mode produced a snippet that worked in the live preview but stayed blank once pasted onto an external site. The agent chat page was served with a frame-ancestors policy that only allowed three.ws itself, so every other domain's browser blocked the iframe. Chat embeds now ship the same open framing policy as the avatar embed modes, and the embedded chat page can use the microphone for voice input. Paste the snippet anywhere and it just works.",+ "tags": ["fix"],+ "link": "/embed"+ },+ {+ "date": "2026-06-21",+ "title": "Platform-wide code audit: 15 bugs found and fixed",+ "summary": "A full read-the-code audit across 60+ source files and all API handlers found and fixed 15 real bugs: XSS in the x402 trade demo and payment chip (server-controlled SSE fields and skill names now escaped before being set as innerHTML); face-mocap looped playback froze after one cycle (RAF never re-armed on loop restart); a JavaScript temporal dead zone crash in the trader card renderer (pumpUrl referenced before declaration); the BYOK API key error handler was unreachable due to ordering (generic 401/402 caught first); the Jupiter swap confirm button was always disabled even with a valid amount (contradictory double-assignment); the agent-exchange result fallback used the whole SSE envelope instead of the nested result object; the game-ready wireframe WebGL renderer and RAF loop kept running indefinitely when hidden (now skipped when not visible, torn down on pagehide); body mocap bone lookup only handled Mixamo rigs and missed Blender, Rigify, VRM, and others (now delegates to the shared canonicalizer); the click-to-walk tryInject poll timer was never cancelled on uninstall; the club swapAvatar path skipped auto-camera release and audio fade when interrupting a paid performance; the wallet.js connectWallet export used by ThreeGate was missing (connect button silently fell back to a DOM click that often found nothing); the API agent-actions cursor parameter returned a 500 on non-numeric input instead of a 400; and several low-severity dead code and UI guard fixes.",+ "tags": ["fix", "security"]+ },+ {+ "date": "2026-06-21",+ "title": "Security hardening across payments, subscriptions, and the agent sniper",+ "summary": "A code audit turned up and fixed several real vulnerabilities: Solana subscriptions now reject devnet USDC (previously accepted, letting anyone subscribe for free with faucet tokens). Payment intent confirmation now uses an atomic DB transaction so a crash mid-grant can't leave a user paid but unsubscribed. An expired intent could be incorrectly promoted to confirmed in a race — the status gate is now strict. The Solana mint check no longer silently accepts any SPL token in legacy transfer instructions. The agent sniper's coin classifier now truncates and delimits metadata fields to block prompt injection via crafted coin names. The oracle worker's on-chain confirm step now times out after 60 s instead of hanging forever. Routine steps already rejected by the animation engine's fallen-pose guard no longer pass the pre-play filter and cause dancers to freeze.",+ "tags": ["security", "fix"]+ },{"date": "2026-06-21","title": "Membership tiers and referral codes",diff --git a/public/changelog.json b/public/changelog.jsonindex 63b13f956..3de6e46bf 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,11 +1,21 @@{- "generated_at": "2026-06-21T20:51:46.382Z",+ "generated_at": "2026-06-22T00:53:47.071Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},"entries": [+ {+ "date": "2026-06-22",+ "type": "update",+ "title": "Chat embeds now load on any site",+ "summary": "The embed editor's Chat mode produced a snippet that worked in the live preview but stayed blank once pasted onto an external site. The agent chat page was served with a frame-ancestors policy that only allowed three.ws itself, so every other domain's browser blocked the iframe. Chat embeds now ship the same open framing policy as the avatar embed modes, and the embedded chat page can use the microphone for voice input. Paste the snippet anywhere and it just works.",+ "link": "/embed",+ "tags": [+ "fix"+ ]+ },{"date": "2026-06-21","type": "launch",@@ -56,6 +66,16 @@"launch"]},+ {+ "date": "2026-06-21",+ "type": "launch",+ "title": "Make Dad a 3D Avatar",+ "summary": "Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.",+ "link": "/dad",+ "tags": [+ "launch"+ ]+ },{"date": "2026-06-21","type": "launch",@@ -579,6 +599,16 @@"improvement"]},+ {+ "date": "2026-06-21",+ "type": "update",+ "title": "Membership tiers and referral codes",+ "summary": "Every member now wears a mode on their card: User, Beta, Pro, Holder, or Three Dimensional. The tier panel on your referrals page shows every badge you hold, what each one unlocks, and the next mode to aim for — with a live $THREE holder check across all your linked wallets. Referral codes now default to your name and you can customize them at any time from your membership card.",+ "link": "/dashboard/referrals",+ "tags": [+ "feature"+ ]+ },{"date": "2026-06-21","type": "update",@@ -714,6 +744,17 @@"improvement"]},+ {+ "date": "2026-06-21",+ "type": "update",+ "title": "Platform-wide code audit: 15 bugs found and fixed",+ "summary": "A full read-the-code audit across 60+ source files and all API handlers found and fixed 15 real bugs: XSS in the x402 trade demo and payment chip (server-controlled SSE fields and skill names now escaped before being set as innerHTML); face-mocap looped playback froze after one cycle (RAF never re-armed on loop restart); a JavaScript temporal dead zone crash in the trader card renderer (pumpUrl referenced before declaration); the BYOK API key error handler was unreachable due to ordering (generic 401/402 caught first); the Jupiter swap confirm button was always disabled even with a valid amount (contradictory double-assignment); the agent-exchange result fallback used the whole SSE envelope instead of the nested result object; the game-ready wireframe WebGL renderer and RAF loop kept running indefinitely when hidden (now skipped when not visible, torn down on pagehide); body mocap bone lookup only handled Mixamo rigs and missed Blender, Rigify, VRM, and others (now delegates to the shared canonicalizer); the click-to-walk tryInject poll timer was never cancelled on uninstall; the club swapAvatar path skipped auto-camera release and audio fade when interrupting a paid performance; the wallet.js connectWallet export used by ThreeGate was missing (connect button silently fell back to a DOM click that often found nothing); the API agent-actions cursor parameter returned a 500 on non-numeric input instead of a 400; and several low-severity dead code and UI guard fixes.",+ "link": null,+ "tags": [+ "fix",+ "security"+ ]+ },{"date": "2026-06-21","type": "update",@@ -808,6 +849,17 @@"security"]},+ {+ "date": "2026-06-21",+ "type": "update",+ "title": "Security hardening across payments, subscriptions, and the agent sniper",+ "summary": "A code audit turned up and fixed several real vulnerabilities: Solana subscriptions now reject devnet USDC (previously accepted, letting anyone subscribe for free with faucet tokens). Payment intent confirmation now uses an atomic DB transaction so a crash mid-grant can't leave a user paid but unsubscribed. An expired intent could be incorrectly promoted to confirmed in a race — the status gate is now strict. The Solana mint check no longer silently accepts any SPL token in legacy transfer instructions. The agent sniper's coin classifier now truncates and delimits metadata fields to block prompt injection via crafted coin names. The oracle worker's on-chain confirm step now times out after 60 s instead of hanging forever. Routine steps already rejected by the animation engine's fallen-pose guard no longer pass the pre-play filter and cause dancers to freeze.",+ "link": null,+ "tags": [+ "security",+ "fix"+ ]+ },{"date": "2026-06-21","type": "update",@@ -965,6 +1017,17 @@"fix"]},+ {+ "date": "2026-06-21",+ "type": "update",+ "title": "User profiles: wallets, NFTs, accessories, shop listings, fork agents and avatars",+ "summary": "The /u/ profile pages now surface the full picture of what a user owns and builds. A wallets row shows every linked Solana and EVM address with one-click copy and a link to the chain explorer. On-chain collectibles load in a lazy background pass — 3D NFTs display as interactive model-viewer tiles; image NFTs sit in a grid. Any premium accessories purchased through the x402 cosmetics rail appear in their own tab with rarity badges. Published avatars and agents carry a Fork button so visitors can clone the item directly into their own account. Items actively listed for sale land in a For sale tab with direct buy links. All counts surface in the stat strip.",+ "link": "/u",+ "tags": [+ "feature",+ "improvement"+ ]+ },{"date": "2026-06-21","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex fb015da89..0bbeadc58 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -6,6 +6,14 @@<atom:link href="https://three.ws/changelog.xml" rel="self" type="application/rss+xml"/><description>What's new on three.ws — features, improvements, and releases, newest first.</description><language>en</language>+ <item>+ <title>Chat embeds now load on any site</title>+ <link>https://three.ws/embed</link>+ <guid isPermaLink="false">2026-06-22:Chat embeds now load on any site</guid>+ <pubDate>Mon, 22 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>The embed editor's Chat mode produced a snippet that worked in the live preview but stayed blank once pasted onto an external site. The agent chat page was served with a frame-ancestors policy that only allowed three.ws itself, so every other domain's browser blocked the iframe. Chat embeds now ship the same open framing policy as the avatar embed modes, and the embedded chat page can use the microphone for voice input. Paste the snippet anywhere and it just works.</description>+ </item><item><title>Arm your agent — automate Oracle conviction</title><link>https://three.ws/oracle/arm</link>@@ -46,6 +54,14 @@<category>launch</category><description>A cinematic 3D hero stage for three.ws agents — a lit avatar centered in deep space over concentric glowing rings, a drifting starfield, and soft bloom, with pointer parallax and a live avatar switcher. Motion-safe.</description></item>+ <item>+ <title>Make Dad a 3D Avatar</title>+ <link>https://three.ws/dad</link>+ <guid isPermaLink="false">2026-06-21:Make Dad a 3D Avatar</guid>+ <pubDate>Sun, 21 Jun 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.</description>+ </item><item><title>Studio — Object + Avatar from text</title><link>https://three.ws/forge-studio</link>@@ -446,6 +462,14 @@<category>infra</category><description>The trending-tokens feed that powers the home card, communities, the token constellation, and the 3D visualizer is now resilient to upstream outages. If a market data provider goes down or rate-limits us, we transparently fall back to a second source; if both are briefly unavailable, the surfaces keep showing the last good data (clearly marked as a moment stale) instead of going blank. We also added a fast-fail circuit breaker so a slow provider can't drag the feed down during a traffic spike. Net effect: the live market views stay populated and snappy even when a data provider hiccups.</description></item>+ <item>+ <title>Membership tiers and referral codes</title>+ <link>https://three.ws/dashboard/referrals</link>+ <guid isPermaLink="false">2026-06-21:Membership tiers and referral codes</guid>+ <pubDate>Sun, 21 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>Every member now wears a mode on their card: User, Beta, Pro, Holder, or Three Dimensional. The tier panel on your referrals page shows every badge you hold, what each one unlocks, and the next mode to aim for — with a live $THREE holder check across all your linked wallets. Referral codes now default to your name and you can customize them at any time from your membership card.</description>+ </item><item><title>Membership tiers: see your mode on your member card</title><link>https://three.ws/dashboard/referrals</link>@@ -550,6 +574,14 @@<category>feature</category><description>The 3D guide who walks you through the product tour now starts as Ava, our photoreal full-body character — and you can swap her for anyone in the cast. Open the tour menu and use the new Guide picker to choose any avatar (your own custom ones included); the tour switches on the spot and remembers your pick. In free roam you can now steer the guide with WASD or the arrow keys (hold Shift to run) and walk her across the whole page, just like steering your character on the Walk pages — clicking and dragging still work too. She also obeys gravity now: she drops in and plants her feet on the ground instead of hovering.</description></item>+ <item>+ <title>Platform-wide code audit: 15 bugs found and fixed</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-21:Platform-wide code audit: 15 bugs found and fixed</guid>+ <pubDate>Sun, 21 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>A full read-the-code audit across 60+ source files and all API handlers found and fixed 15 real bugs: XSS in the x402 trade demo and payment chip (server-controlled SSE fields and skill names now escaped before being set as innerHTML); face-mocap looped playback froze after one cycle (RAF never re-armed on loop restart); a JavaScript temporal dead zone crash in the trader card renderer (pumpUrl referenced before declaration); the BYOK API key error handler was unreachable due to ordering (generic 401/402 caught first); the Jupiter swap confirm button was always disabled even with a valid amount (contradictory double-assignment); the agent-exchange result fallback used the whole SSE envelope instead of the nested result object; the game-ready wireframe WebGL renderer and RAF loop kept running indefinitely when hidden (now skipped when not visible, torn down on pagehide); body mocap bone lookup only handled Mixamo rigs and missed Blender, Rigify, VRM, and others (now delegates to the shared canonicalizer); the click-to-walk tryInject poll timer was never cancelled on uninstall; the club swapAvatar path skipped auto-camera release and audio fade when interrupting a paid performance; the wallet.js connectWallet export used by ThreeGate was missing (connect button silently fell back to a DOM click that often found nothing); the API agent-actions cursor parameter returned a 500 on non-numeric input instead of a 400; and several low-severity dead code and UI guard fixes.</description>+ </item><item><title>Platform-wide hardening: payment integrity, security, and scale</title><link>https://three.ws/changelog</link>@@ -622,6 +654,14 @@<category>fix</category><description>The compact "Vanity address" card on an agent's page used to replace a wallet by deleting the old one and creating the new one separately — so if the old wallet held SOL or tokens, they could be left behind. It now uses the same money-safe path as the rest of the platform: any balance is automatically swept to the new vanity address first, and the switch only completes once the funds have moved (and only after the server confirms the new address really matches your pattern). Same one-click experience, but your funds follow the wallet.</description></item>+ <item>+ <title>Security hardening across payments, subscriptions, and the agent sniper</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-21:Security hardening across payments, subscriptions, and the agent sniper</guid>+ <pubDate>Sun, 21 Jun 2026 12:00:00 GMT</pubDate>+ <category>security</category>+ <description>A code audit turned up and fixed several real vulnerabilities: Solana subscriptions now reject devnet USDC (previously accepted, letting anyone subscribe for free with faucet tokens). Payment intent confirmation now uses an atomic DB transaction so a crash mid-grant can't leave a user paid but unsubscribed. An expired intent could be incorrectly promoted to confirmed in a race — the status gate is now strict. The Solana mint check no longer silently accepts any SPL token in legacy transfer instructions. The agent sniper's coin classifier now truncates and delimits metadata fields to block prompt injection via crafted coin names. The oracle worker's on-chain confirm step now times out after 60 s instead of hanging forever. Routine steps already rejected by the animation engine's fallen-pose guard no longer pass the pre-play filter and cause dancers to freeze.</description>+ </item><item><title>Smoother landing page on hover</title><link>https://three.ws/</link>@@ -742,6 +782,14 @@<category>fix</category><description>Paying with USDC at a door (like the Pole Club cover charge) could occasionally fail with an "internal error" right after you connected your wallet, if our Solana RPC briefly returned a malformed reply while building your payment. The checkout now shrugs that off and builds the transaction anyway, so a flaky node no longer turns you away at the door. Nothing was ever charged when this happened.</description></item>+ <item>+ <title>User profiles: wallets, NFTs, accessories, shop listings, fork agents and avatars</title>+ <link>https://three.ws/u</link>+ <guid isPermaLink="false">2026-06-21:User profiles: wallets, NFTs, accessories, shop listings, fork agents and avatars</guid>+ <pubDate>Sun, 21 Jun 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>The /u/ profile pages now surface the full picture of what a user owns and builds. A wallets row shows every linked Solana and EVM address with one-click copy and a link to the chain explorer. On-chain collectibles load in a lazy background pass — 3D NFTs display as interactive model-viewer tiles; image NFTs sit in a grid. Any premium accessories purchased through the x402 cosmetics rail appear in their own tab with rarity badges. Published avatars and agents carry a Fork button so visitors can clone the item directly into their own account. Items actively listed for sale land in a For sale tab with direct buy links. All counts surface in the stat strip.</description>+ </item><item><title>Walk picks up where you left off, plus click-to-walk</title><link>https://three.ws/walk</link>diff --git a/public/features.json b/public/features.jsonindex de2218be2..d43f9bcbd 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-21T20:51:46.367Z",+ "generated_at": "2026-06-22T00:53:47.001Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -521,6 +521,16 @@"indexable": true,"tags": [],"showcase": false+ },+ {+ "path": "/dad",+ "title": "Make Dad a 3D Avatar",+ "description": "Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.",+ "added": "2026-06-21",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false}]},diff --git a/public/llms-full.txt b/public/llms-full.txtindex 58d6cc75c..05f09b27c 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -320,6 +320,12 @@ URL: https://three.ws/scanPoint your camera at your face, hold still, and walk away with a rigged 3D avatar — reconstruction runs in about a minute, free, in your browser.+### Make Dad a 3D Avatar++URL: https://three.ws/dad++Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.+## LabsExperimental features actively shipping. Expect fast iteration.diff --git a/public/llms.txt b/public/llms.txtindex f10c8ccd2..f56e537d3 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -64,6 +64,7 @@ Create and customize an agent.- [Claim threews.sol Subdomain](https://three.ws/threews/claim): Claim your own <name>.threews.sol subdomain and get a Brave-resolvable personal showcase page.- [Voice Lab](https://three.ws/voice): Clone your voice from a short recording, then use it for TTS or give it to your agent. Side-by-side comparison of voice models.- [3D Scanner — Scan Yourself into 3D](https://three.ws/scan): Point your camera at your face, hold still, and walk away with a rigged 3D avatar — reconstruction runs in about a minute, free, in your browser.+- [Make Dad a 3D Avatar](https://three.ws/dad): Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.## Labsdiff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex fcfd7f592..bc225370f 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -65,7 +65,7 @@<main class="sm-wrap"><div class="sm-hero"><h1>Sitemap</h1>- <p>All 190 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>+ <p>All 191 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p><div class="sm-formats"><a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a><a href="/llms.txt"><code>llms.txt</code> · for AI agents</a>@@ -77,7 +77,7 @@</div><div class="sm-filter"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>- <input id="sm-filter-input" type="search" placeholder="Filter 190 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 191 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" /><kbd aria-hidden="true">/</kbd></div><p class="sm-filter-count" id="sm-filter-count" role="status" aria-live="polite"></p>@@ -230,7 +230,7 @@<section class="sm-section" id="build"><header>- <h2>Build<span class="sm-count" data-count>32</span></h2>+ <h2>Build<span class="sm-count" data-count>33</span></h2><p class="sm-section-desc">Create and customize an agent.</p></header><ul class="sm-list">@@ -458,6 +458,13 @@<span class="sm-desc">Point your camera at your face, hold still, and walk away with a rigged 3D avatar — reconstruction runs in about a minute, free, in your browser.</span></a></li>+ <li>+ <a href="/dad">+ <span class="sm-title">Make Dad a 3D Avatar</span>+ <span class="sm-path">/dad</span>+ <span class="sm-desc">Turn one photo of your dad into a recognizable, rigged, animated 3D avatar — it idles, walks, and waves — then share a permalink.</span>+ </a>+ </li></ul></section>diff --git a/solana-agent-sdk/tests/actions/ata.test.ts b/solana-agent-sdk/tests/actions/ata.test.tsindex df2db8bd6..fcc0da55f 100644--- a/solana-agent-sdk/tests/actions/ata.test.ts+++ b/solana-agent-sdk/tests/actions/ata.test.ts@@ -27,7 +27,11 @@ const wallet = {function makeConnection(ataExists: boolean) {const getAccountInfo = jest.fn<(pubkey: PublicKey) => Promise<AccountInfo<Buffer> | null>>();- getAccountInfo.mockResolvedValue(ataExists ? (FAKE_ACCOUNT as unknown as AccountInfo<Buffer>) : null);+ getAccountInfo.mockImplementation(async (pubkey) => {+ // resolveTokenProgramId reads the mint account's owner — always present.+ if (pubkey.equals(MINT_PUBKEY)) return FAKE_ACCOUNT as unknown as AccountInfo<Buffer>;+ return ataExists ? (FAKE_ACCOUNT as unknown as AccountInfo<Buffer>) : null;+ });return { getAccountInfo } as unknown as Connection;}diff --git a/src/avatar-studio.js b/src/avatar-studio.jsindex d7ae641d6..c99b6f8a4 100644--- a/src/avatar-studio.js+++ b/src/avatar-studio.js@@ -1286,7 +1286,7 @@ async function saveAvatar() {resetBtn.disabled = true;// For edit mode, nudge the user if nothing changed- if (editAvatarId && !collapseAppearance(workingAppearance) &&+ if (editAvatarId &&JSON.stringify(collapseAppearance(workingAppearance)) === JSON.stringify(collapseAppearance(savedAppearance))) {setStatus('', 'No changes to save.');saveBtn.disabled = false;diff --git a/src/body-mocap.js b/src/body-mocap.jsindex 19039cfa6..a5125659f 100644--- a/src/body-mocap.js+++ b/src/body-mocap.js@@ -19,6 +19,7 @@import { PoseLandmarker, FilesetResolver } from '@mediapipe/tasks-vision';import { Quaternion } from 'three';import { solvePose } from './runtime/pose-solve.js';+import { canonicalizeBoneName } from './glb-canonicalize.js';const WASM_URL = 'https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/wasm';const MODEL_URL = 'https://storage.googleapis.com/mediapipe-models/pose_landmarker/pose_landmarker_full/float16/1/pose_landmarker_full.task';@@ -29,13 +30,11 @@ const DRIVEN_BONES = Object.freeze(['Spine', 'LeftUpLeg', 'LeftLeg', 'RightUpLeg', 'RightLeg',]);-// Same canonicalization the rest of the app uses to match retargeted rigs-// (mixamorig:, Armature_, snake_case … → bare lowercase name).+// Delegate to the shared canonicalizer so all rig conventions (Mixamo,+// Blender .L/.R, Rigify DEF-/ORG-, VRM, CharacterStudio CH_, Daz, etc.)+// are handled consistently with the rest of the app.function canonicalKey(name) {- return name- .replace(/^mixamorig:?/i, '')- .replace(/^[A-Za-z0-9]+[_:]/, '')- .toLowerCase();+ return (canonicalizeBoneName(name) || '').toLowerCase();}export class BodyMocap {diff --git a/src/club-entrance.js b/src/club-entrance.jsindex 1bd873d91..57464978d 100644--- a/src/club-entrance.js+++ b/src/club-entrance.js@@ -890,13 +890,17 @@ async function start(canvasEl) {// A place failed to load — don't strand the visitor; reveal// the stage rather than hang on a black frame.setPhase('arriving');+ } else {+ // Still downloading — canvas is now invisible. Drop pointer+ // capture so stage tip buttons stay clickable during the stall.+ canvasEl.style.pointerEvents = 'none';}- // else: still downloading — hold the fade until it resolves.}break;}case 'swapIn': {const k = Math.min(1, elapsed / 0.5);+ canvasEl.style.pointerEvents = '';canvasEl.style.opacity = String(k);if (k >= 1) {setPhase('walk');diff --git a/src/club.js b/src/club.jsindex b0b73a3ff..26256a639 100644--- a/src/club.js+++ b/src/club.js@@ -857,7 +857,7 @@ class PoleStation {// the audio mixer — _endPerformance() won't run because walkPhase is// now 'idle', so we duplicate its cam+audio cleanup here.if (wasPerforming) {- if (this._autoCammed && (clubCam.getMode() === 'auto' || clubCam.getMode() === 'vip')) {+ if (this._autoCammed && clubCam.getMode() === 'auto') {clubCam.setFree();}this._autoCammed = false;@@ -1768,8 +1768,7 @@ function updatePoleCardStatus(poleId, status) {btnEl.textContent = 'Performing...';} else {btnEl.disabled = false;- const meta = DANCER_META[parseInt(poleId, 10) - 1] || DANCER_META[0];- btnEl.textContent = `Tip $0.001`;+ btnEl.textContent = 'Tip $0.001';}}if (progressEl) {diff --git a/src/forge-gameready.js b/src/forge-gameready.jsindex 43dc63278..8ca64fc9a 100644--- a/src/forge-gameready.js+++ b/src/forge-gameready.js@@ -582,6 +582,7 @@ if (resultPanel && viewer && triggerBtn) {wire.ro.observe(wireOverlay);const tick = () => {wire.raf = requestAnimationFrame(tick);+ if (!wireOverlay.classList.contains('is-shown')) return;wire.controls.update();wire.renderer.render(wire.scene, wire.camera);};@@ -658,6 +659,15 @@ if (resultPanel && viewer && triggerBtn) {wireOverlay.classList.remove('is-shown');wireBtn.setAttribute('aria-pressed', 'false');}+ function disposeWireEngine() {+ if (wire.raf) { cancelAnimationFrame(wire.raf); wire.raf = 0; }+ wire.ro?.disconnect(); wire.ro = null;+ clearWireGroup();+ wire.controls?.dispose(); wire.controls = null;+ wire.renderer?.dispose(); wire.renderer?.domElement?.remove(); wire.renderer = null;+ wire.ready = false; wire.loading = false; wire.loadedUrl = null;+ }+ window.addEventListener('pagehide', disposeWireEngine, { once: true });function resetWireframe() {// A new export invalidates the previously loaded wireframe model.wire.loadedUrl = null;diff --git a/src/glb-canonicalize.js b/src/glb-canonicalize.jsindex 2bd8daa88..d57a90dc1 100644--- a/src/glb-canonicalize.js+++ b/src/glb-canonicalize.js@@ -246,10 +246,16 @@ function nodeLocalMatrix(node) {function worldMatricesFor(json, indices, parentOf) {const local = json.nodes.map(nodeLocalMatrix);const cache = new Map();+ const visiting = new Set();const world = (idx) => {if (cache.has(idx)) return cache.get(idx);+ // Guard against cyclic parentage in malformed GLBs — treat the cycle root+ // as a top-level node (identity parent) rather than blowing the call stack.+ if (visiting.has(idx)) return local[idx].clone();+ visiting.add(idx);const p = parentOf.get(idx);const m = p == null ? local[idx].clone() : world(p).clone().multiply(local[idx]);+ visiting.delete(idx);cache.set(idx, m);return m;};diff --git a/src/pose-rig.js b/src/pose-rig.jsindex 832f8a562..a53ae530e 100644--- a/src/pose-rig.js+++ b/src/pose-rig.js@@ -12,7 +12,7 @@// names play on standard three.ws avatars.import { Bone, Quaternion, Vector3, Euler, MathUtils } from 'three';-import { normalizeBoneName } from './avatar-export.js';+import { canonicalizeBoneName as normalizeBoneName } from './glb-canonicalize.js';import { Mannequin } from './pose-mannequin.js';// ── Canonical skeleton ──────────────────────────────────────────────────────diff --git a/src/viewer.js b/src/viewer.jsindex 2d6b1b585..1ab080eee 100644--- a/src/viewer.js+++ b/src/viewer.js@@ -1327,8 +1327,10 @@ export class Viewer {} else {this.scene.background = this.backgroundColor;this.renderer.setClearColor(0x000000, 1);- this.updateEnvironment();}+ // Always apply IBL — updateEnvironment() sets scene.background to null for+ // transparent mode so the canvas stays clear while still lighting materials.+ this.updateEnvironment();this.invalidate();}diff --git a/vercel.json b/vercel.jsonindex 664b3eab8..08329c3f4 100644--- a/vercel.json+++ b/vercel.json@@ -3730,6 +3730,23 @@"src": "/a/(\\d+)/(\\d+)","dest": "/api/a-page?chain=$1&id=$2"},+ {+ "src": "/a/(.*)",+ "has": [+ {+ "type": "query",+ "key": "embed",+ "value": "1"+ }+ ],+ "headers": {+ "content-security-policy": "frame-ancestors *; base-uri 'self'; object-src 'none'; report-uri /api/client-errors",+ "x-content-type-options": "nosniff",+ "referrer-policy": "strict-origin-when-cross-origin",+ "permissions-policy": "microphone=(self), camera=(self), autoplay=(self), xr-spatial-tracking=*"+ },+ "dest": "/app-next.html"+ },{"src": "/a/(.*)","dest": "/app-next.html"