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
feat(irl): Quick Look banner hands iPhone AR placement back to Pin here
nirholas92e26d28e742
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d6c6bf061..a2b34722b 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,9 +7,12 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-07-15- **Docs · AR in ChatGPT** (`/docs/chatgpt-ar`) — How a sentence typed into ChatGPT becomes a 3D model standing in your room: the free generation lane, the arUrl contract, the device-aware AR launcher, living avatars, and link unfurls.+- **Docs · The Social Layer** (`/docs/social-layer`) — The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.- **Tutorial · Your First Prompt to 3D in ChatGPT** (`/tutorials/first-prompt-to-3d`) — Type one sentence into ChatGPT, get a real 3D model back, and place it in your room: adding the 3D Studio, writing a prompt that generates well, iterating in plain words, and bringing a rigged avatar to life.- **Agents placed in the real world are now truly alive** — Before today, an agent you discovered on /irl stood frozen in a stiff T-pose while only your own companion moved. Now every placed agent breathes: the platform idle animation is retargeted onto each avatar's own skeleton the moment it loads (any humanoid rig works), each agent idles at its own rhythm, and walking up still makes it turn and look at you, now on top of the running animation. The whole camera view also got a cinematic upgrade with filmic tone mapping, richer lighting, softer shadows, and sharper textures, so agents finally look like they are standing in your room, matching the quality of the iOS AR Quick Look view. (`/irl`) `[improvement]`- **AR avatars now come alive in your room** — Avatars no longer land in AR as frozen statues. Every rigged avatar generated on three.ws now carries a Bring it to life link that opens IRL: the agent walks, animates, and talks with you through your camera, standing in your real space. Static placement is still one tap away for props or anyone who just wants the model on a desk. The living link ships everywhere avatars are made: the AR launch page, the 3D Studio tools in ChatGPT and Claude, and the developer MCP tools. (`/irl`) `[feature, improvement]`+- **Docs catch-up: the social layer, living AR, and everything July shipped** — One documentation pass across everything that shipped this month. A new Social Layer guide covers the activity feed, follows, the notification bell, rankings, creator portfolios, and cross-entity search, and every one of those endpoints is now in the API reference. The AR docs caught up with reality: iPhone Quick Look now plays your avatar's idle animation (the old docs still said static pose), pinch-to-resize and the bring-it-to-life handoff are in the IRL guides, and the way shared AR links unfurl with a real model render is spelled out. Also new: how the prompt art director and the brand-mark lexicon make 3D generations cleaner, how ChatGPT generations stay fast under load, Sketchfab showcase states, and premium key management. (`/docs/social-layer`) `[docs]`+- **iPhone AR placement now hands you back to the pin** — On iPhone, placing an agent in AR opens Apple's Quick Look viewer, which is sealed: the page can't put buttons inside it. It does allow one banner, and that banner is now wired: it shows your agent's name in the AR view, and tapping it brings you back to IRL with the Pin here button pulsing, so the exact spot you liked in AR becomes a durable pin other people can walk up to, in one tap. (`/irl`) `[improvement]`- **Shared AR links now unfurl with the model itself** — Paste a place-in-your-room link into a chat and it now shows a real rendered picture of that exact model instead of a bare URL. The AR page also shows the model's name, a proper loading state, and a Create your own link, so a friend who receives a model can make one of their own in a tap. Behind it, the public model renderer gained a URL form: point any image tag at /api/render/glb with a public GLB link and get a PNG back. (`/ar`) `[improvement]`- **The ChatGPT AR pipeline, fully documented** — New docs tell the whole story of how a sentence typed into ChatGPT becomes a 3D model standing in your room: the free generation lane ChatGPT calls, the one-tap AR link every generation carries, what happens on iPhone, Android, and a computer when you open it, and how a shared link unfurls with a real render of the model. A companion tutorial walks a first-timer from their first prompt to a model on their desk in about five minutes. (`/docs/chatgpt-ar`) `[docs]`@@ -51,7 +54,6 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-07-13-- **A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown** — The three.ws GitHub README now opens with the platform mascot as a real, draggable 3D model that GitHub renders natively (no image, no video: an interactive viewer in plain markdown). The pipeline that made it is now an open-source package, readme-3d: a CLI and library that converts any GLB, glTF, OBJ, or STL into the ASCII-STL markdown blocks GitHub renders, simplifies meshes to fit GitHub's 512 KB markdown limit, and size-checks your files so they never silently stop rendering. It ships with five tutorials, live examples, a docs site, a Claude Code skill, and copy-paste agent prompts, and pairs with the free Forge text-to-3D API so anyone can go from a one-line prompt to a 3D model in their README in five minutes. `[feature, docs, sdk]`- **A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown** — The three.ws GitHub README now opens with the platform mascot as a real, draggable 3D model that GitHub renders natively (no image, no video: an interactive viewer in plain markdown). The pipeline that made it is now an open-source package, readme-3d: a CLI and library that converts any GLB, glTF, OBJ, or STL into the ASCII-STL markdown blocks GitHub renders, simplifies meshes to fit GitHub's 512 KB markdown limit, and size-checks your files so they never silently stop rendering. It ships with five tutorials, live examples, a docs site, a Claude Code skill, and copy-paste agent prompts, and pairs with the free Forge text-to-3D API so anyone can go from a one-line prompt to a 3D model in their README in five minutes. (`https://github.com/nirholas/three.ws/tree/main/packages/readme-3d`) `[feature, docs, sdk]`- **Fixed: entering a /play world no longer kicks you out with a false 'session expired'** — Joining any coin world briefly showed the world and then bounced you back to the lobby with a 'your session expired' message, even though signing in was never required. The real cause was a version mismatch between the game client and the world server: the client asked for a newer feature the deployed server did not recognise, the server dropped the connection with a generic error code, and the client misread that code as a login-expiry eviction. Worlds now tolerate version differences in both directions: the server ignores messages it does not understand instead of dropping the player, and the client only shows the sign-in gate when the server actually says the session ended. Agent desks inside worlds are also back for everyone: they now load the platform's most recently active public agents instead of a signed-in-only list that failed silently for guests. (`/play`) `[fix]`- **Paid API clients are no longer rate-limited for paying** — The per-IP budget on every paid three.ws endpoint used to count each payment attempt the same whether it succeeded or failed, which capped a paying client at 20 calls a minute. That is backwards for the market-data API, where the whole point is pulling many individual data points at a fraction of a cent each: a buyer fetching 50 metrics got rejected partway through despite paying for every one. The budget now counts failures instead of attempts. A settled payment costs a single token against a much larger allowance (300 calls a minute), while an invalid-payment flood, the abuse this guard exists to stop, drains the allowance quickly and is still cut off before it can cost us anything. Bulk buyers get the throughput they are paying for, and the abuse protection is unchanged. `[fix, improvement]`diff --git a/data/changelog.json b/data/changelog.jsonindex a44eafaa4..17a5a0fda 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,24 @@{"$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-07-15",+ "title": "iPhone AR placement now hands you back to the pin",+ "summary": "On iPhone, placing an agent in AR opens Apple's Quick Look viewer, which is sealed: the page can't put buttons inside it. It does allow one banner, and that banner is now wired: it shows your agent's name in the AR view, and tapping it brings you back to IRL with the Pin here button pulsing, so the exact spot you liked in AR becomes a durable pin other people can walk up to, in one tap.",+ "tags": [+ "improvement"+ ],+ "link": "/irl"+ },+ {+ "date": "2026-07-15",+ "title": "Docs catch-up: the social layer, living AR, and everything July shipped",+ "summary": "One documentation pass across everything that shipped this month. A new Social Layer guide covers the activity feed, follows, the notification bell, rankings, creator portfolios, and cross-entity search, and every one of those endpoints is now in the API reference. The AR docs caught up with reality: iPhone Quick Look now plays your avatar's idle animation (the old docs still said static pose), pinch-to-resize and the bring-it-to-life handoff are in the IRL guides, and the way shared AR links unfurl with a real model render is spelled out. Also new: how the prompt art director and the brand-mark lexicon make 3D generations cleaner, how ChatGPT generations stay fast under load, Sketchfab showcase states, and premium key management.",+ "tags": [+ "docs"+ ],+ "link": "/docs/social-layer"+ },{"date": "2026-07-15","title": "The ChatGPT AR pipeline, fully documented",@@ -190,16 +208,6 @@"improvement"]},- {- "date": "2026-07-13",- "title": "A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown",- "summary": "The three.ws GitHub README now opens with the platform mascot as a real, draggable 3D model that GitHub renders natively (no image, no video: an interactive viewer in plain markdown). The pipeline that made it is now an open-source package, readme-3d: a CLI and library that converts any GLB, glTF, OBJ, or STL into the ASCII-STL markdown blocks GitHub renders, simplifies meshes to fit GitHub's 512 KB markdown limit, and size-checks your files so they never silently stop rendering. It ships with five tutorials, live examples, a docs site, a Claude Code skill, and copy-paste agent prompts, and pairs with the free Forge text-to-3D API so anyone can go from a one-line prompt to a 3D model in their README in five minutes.",- "tags": [- "feature",- "docs",- "sdk"- ]- },{"date": "2026-07-13","title": "A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown",diff --git a/data/pages.json b/data/pages.jsonindex dd30c8333..3858fe5da 100644--- a/data/pages.json+++ b/data/pages.json@@ -1918,6 +1918,14 @@"changefreq": "monthly","added": "2026-07-14"},+ {+ "path": "/docs/social-layer",+ "title": "Docs · The Social Layer",+ "description": "The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.",+ "priority": 0.8,+ "changefreq": "monthly",+ "added": "2026-07-15"+ },{"path": "/docs/do-i-need-crypto","title": "Docs · Do I Need Crypto?",diff --git a/docs/irl.md b/docs/irl.mdindex 61494d45f..fc569624f 100644--- a/docs/irl.md+++ b/docs/irl.md@@ -30,7 +30,7 @@ Everything below is live on [/irl](/irl) and exposed by the [`@three-ws/irl`](htOpen /irl on your phone, pick one of your agents (or try it anonymously), and drop a pin:-- **Place in AR** is the flagship path on devices with a real AR surface. On Chrome for Android (ARCore) a WebXR hit-test reticle finds the floor; tap to anchor the agent to the detected surface, then **pinch with two fingers to resize it** — from a desk figurine (25%) to a statue (400%). The placement and the chosen size both save to the pin, so everyone nearby sees the agent exactly where and how big you left it. On iOS the same button opens the agent in ARKit Quick Look **with its idle animation baked into the USDZ**, so it breathes and sways in your room instead of standing in a frozen pose. This button leads the dock whenever the device supports it.+- **Place in AR** is the flagship path on devices with a real AR surface. On Chrome for Android (ARCore) a WebXR hit-test reticle finds the floor; tap to anchor the agent to the detected surface, then **pinch with two fingers to resize it** — from a desk figurine (25%) to a statue (400%). The placement and the chosen size both save to the pin, so everyone nearby sees the agent exactly where and how big you left it. On iOS the same button opens the agent in ARKit Quick Look **with its idle animation baked into the USDZ**, so it breathes and sways in your room instead of standing in a frozen pose. Quick Look is Apple's sealed viewer (no page UI can live inside it), but its one sanctioned hook is wired: a banner at the bottom names the agent, and tapping it hands you back to /irl with **Pin here** pulsing, so the spot you liked in AR becomes a durable pin in one tap. Apple's native pinch-to-resize works inside Quick Look too, though that size is per-session: the size everyone else sees is the pin's saved one. This button leads the dock whenever the device supports it.- **Pin here** places it at your current GPS spot using the camera and gyroscope. Works on every supported phone, including iOS Safari.- **Place on map** puts an agent somewhere you are not currently standing.diff --git a/pages/irl.html b/pages/irl.htmlindex b29794a3c..c910b6253 100644--- a/pages/irl.html+++ b/pages/irl.html@@ -698,6 +698,15 @@background: rgba(251,191,36,0.1);}#irl-lock-btn.is-active:hover { background: rgba(251,191,36,0.18); }+ /* Quick Look banner handoff: the tap inside Apple's sealed AR viewer can't+ pin by itself, so when the user lands back here, Pin here pulses to catch+ the intent they just signaled in-AR. */+ #irl-lock-btn.is-banner-nudge { animation: irl-lock-nudge 1.5s ease-in-out 4; }+ @keyframes irl-lock-nudge {+ 0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); transform: scale(1); }+ 50% { box-shadow: 0 0 0 8px rgba(251,191,36,0.25); transform: scale(1.04); }+ }+ @media (prefers-reduced-motion: reduce) { #irl-lock-btn.is-banner-nudge { animation: none; box-shadow: 0 0 0 3px rgba(251,191,36,0.35); } }/* "Move here" carry mode — teal active state matches the floor reticle thegesture drives, so the armed control and the on-floor ring read as one thing. */#irl-carry-btn.is-active {diff --git a/public/changelog.json b/public/changelog.jsonindex 2f2c2d4cf..f46efedf8 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-15T11:24:15.470Z",+ "generated_at": "2026-07-15T12:03:37.462Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -16,6 +16,16 @@"launch"]},+ {+ "date": "2026-07-15",+ "type": "launch",+ "title": "Docs · The Social Layer",+ "summary": "The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.",+ "link": "/docs/social-layer",+ "tags": [+ "launch"+ ]+ },{"date": "2026-07-15","type": "launch",@@ -47,6 +57,26 @@"improvement"]},+ {+ "date": "2026-07-15",+ "type": "update",+ "title": "Docs catch-up: the social layer, living AR, and everything July shipped",+ "summary": "One documentation pass across everything that shipped this month. A new Social Layer guide covers the activity feed, follows, the notification bell, rankings, creator portfolios, and cross-entity search, and every one of those endpoints is now in the API reference. The AR docs caught up with reality: iPhone Quick Look now plays your avatar's idle animation (the old docs still said static pose), pinch-to-resize and the bring-it-to-life handoff are in the IRL guides, and the way shared AR links unfurl with a real model render is spelled out. Also new: how the prompt art director and the brand-mark lexicon make 3D generations cleaner, how ChatGPT generations stay fast under load, Sketchfab showcase states, and premium key management.",+ "link": "/docs/social-layer",+ "tags": [+ "docs"+ ]+ },+ {+ "date": "2026-07-15",+ "type": "update",+ "title": "iPhone AR placement now hands you back to the pin",+ "summary": "On iPhone, placing an agent in AR opens Apple's Quick Look viewer, which is sealed: the page can't put buttons inside it. It does allow one banner, and that banner is now wired: it shows your agent's name in the AR view, and tapping it brings you back to IRL with the Pin here button pulsing, so the exact spot you liked in AR becomes a durable pin other people can walk up to, in one tap.",+ "link": "/irl",+ "tags": [+ "improvement"+ ]+ },{"date": "2026-07-15","type": "update",@@ -412,18 +442,6 @@"improvement"]},- {- "date": "2026-07-13",- "type": "update",- "title": "A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown",- "summary": "The three.ws GitHub README now opens with the platform mascot as a real, draggable 3D model that GitHub renders natively (no image, no video: an interactive viewer in plain markdown). The pipeline that made it is now an open-source package, readme-3d: a CLI and library that converts any GLB, glTF, OBJ, or STL into the ASCII-STL markdown blocks GitHub renders, simplifies meshes to fit GitHub's 512 KB markdown limit, and size-checks your files so they never silently stop rendering. It ships with five tutorials, live examples, a docs site, a Claude Code skill, and copy-paste agent prompts, and pairs with the free Forge text-to-3D API so anyone can go from a one-line prompt to a 3D model in their README in five minutes.",- "link": null,- "tags": [- "feature",- "docs",- "sdk"- ]- },{"date": "2026-07-13","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex 6014c62a4..34624c60a 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -14,6 +14,14 @@<category>launch</category><description>How a sentence typed into ChatGPT becomes a 3D model standing in your room: the free generation lane, the arUrl contract, the device-aware AR launcher, living avatars, and link unfurls.</description></item>+ <item>+ <title>Docs · The Social Layer</title>+ <link>https://three.ws/docs/social-layer</link>+ <guid isPermaLink="false">2026-07-15:Docs · The Social Layer</guid>+ <pubDate>Wed, 15 Jul 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.</description>+ </item><item><title>Tutorial · Your First Prompt to 3D in ChatGPT</title><link>https://three.ws/tutorials/first-prompt-to-3d</link>@@ -38,6 +46,22 @@<category>feature</category><description>Avatars no longer land in AR as frozen statues. Every rigged avatar generated on three.ws now carries a Bring it to life link that opens IRL: the agent walks, animates, and talks with you through your camera, standing in your real space. Static placement is still one tap away for props or anyone who just wants the model on a desk. The living link ships everywhere avatars are made: the AR launch page, the 3D Studio tools in ChatGPT and Claude, and the developer MCP tools.</description></item>+ <item>+ <title>Docs catch-up: the social layer, living AR, and everything July shipped</title>+ <link>https://three.ws/docs/social-layer</link>+ <guid isPermaLink="false">2026-07-15:Docs catch-up: the social layer, living AR, and everything July shipped</guid>+ <pubDate>Wed, 15 Jul 2026 12:00:00 GMT</pubDate>+ <category>docs</category>+ <description>One documentation pass across everything that shipped this month. A new Social Layer guide covers the activity feed, follows, the notification bell, rankings, creator portfolios, and cross-entity search, and every one of those endpoints is now in the API reference. The AR docs caught up with reality: iPhone Quick Look now plays your avatar's idle animation (the old docs still said static pose), pinch-to-resize and the bring-it-to-life handoff are in the IRL guides, and the way shared AR links unfurl with a real model render is spelled out. Also new: how the prompt art director and the brand-mark lexicon make 3D generations cleaner, how ChatGPT generations stay fast under load, Sketchfab showcase states, and premium key management.</description>+ </item>+ <item>+ <title>iPhone AR placement now hands you back to the pin</title>+ <link>https://three.ws/irl</link>+ <guid isPermaLink="false">2026-07-15:iPhone AR placement now hands you back to the pin</guid>+ <pubDate>Wed, 15 Jul 2026 12:00:00 GMT</pubDate>+ <category>improvement</category>+ <description>On iPhone, placing an agent in AR opens Apple's Quick Look viewer, which is sealed: the page can't put buttons inside it. It does allow one banner, and that banner is now wired: it shows your agent's name in the AR view, and tapping it brings you back to IRL with the Pin here button pulsing, so the exact spot you liked in AR becomes a durable pin other people can walk up to, in one tap.</description>+ </item><item><title>Shared AR links now unfurl with the model itself</title><link>https://three.ws/ar</link>@@ -318,14 +342,6 @@<category>fix</category><description>New creators who finished making an avatar and tapped "See your profile" were greeted by a sign-in wall, even while signed in. The cause: profile pages live at your @handle, and fresh accounts don't have one yet. That dead end is now a one-field claim screen: pick your handle (we suggest one from your name), press Claim, and you land straight on your new public portfolio at three.ws/u/yourname. And if you really are signed out, the sign-in link now brings you back to your profile afterward instead of dropping you on the dashboard.</description></item>- <item>- <title>A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown</title>- <link>https://three.ws/changelog</link>- <guid isPermaLink="false">2026-07-13:A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown</guid>- <pubDate>Mon, 13 Jul 2026 12:00:00 GMT</pubDate>- <category>feature</category>- <description>The three.ws GitHub README now opens with the platform mascot as a real, draggable 3D model that GitHub renders natively (no image, no video: an interactive viewer in plain markdown). The pipeline that made it is now an open-source package, readme-3d: a CLI and library that converts any GLB, glTF, OBJ, or STL into the ASCII-STL markdown blocks GitHub renders, simplifies meshes to fit GitHub's 512 KB markdown limit, and size-checks your files so they never silently stop rendering. It ships with five tutorials, live examples, a docs site, a Claude Code skill, and copy-paste agent prompts, and pairs with the free Forge text-to-3D API so anyone can go from a one-line prompt to a 3D model in their README in five minutes.</description>- </item><item><title>A live 3D avatar in the GitHub README, and readme-3d: an open toolkit for 3D in markdown</title><link>https://three.wshttps://github.com/nirholas/three.ws/tree/main/packages/readme-3d</link>diff --git a/public/features.json b/public/features.jsonindex 7b6f5fc1a..7547534d2 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-07-15T11:24:15.457Z",+ "generated_at": "2026-07-15T12:03:37.446Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -2337,6 +2337,16 @@"tags": [],"showcase": false},+ {+ "path": "/docs/social-layer",+ "title": "Docs · The Social Layer",+ "description": "The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.",+ "added": "2026-07-15",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false+ },{"path": "/docs/do-i-need-crypto","title": "Docs · Do I Need Crypto?",diff --git a/public/llms-full.txt b/public/llms-full.txtindex 5fbc67ab6..86a87c0bb 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -1432,6 +1432,12 @@ URL: https://three.ws/docs/sketchfabHow the best community forge models get published to the official three.ws Sketchfab account: what gets picked, AI disclosure, and the backlinks that make referrals measurable.+### Docs · The Social Layer++URL: https://three.ws/docs/social-layer++The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.+### Docs · Do I Need Crypto?URL: https://three.ws/docs/do-i-need-cryptodiff --git a/public/llms.txt b/public/llms.txtindex e187fb856..0423e46c6 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -255,6 +255,7 @@ Docs, tutorials, and reference.- [Docs · Make Your First Agent](https://three.ws/docs/make-your-agent): Step-by-step guide to creating a 3D AI agent in the browser with no code required.- [Docs · Share & Embed](https://three.ws/docs/share-and-embed): Three ways to put your agent in front of people: share a link, embed an iframe, or use the web component.- [Docs · Sketchfab Showcase](https://three.ws/docs/sketchfab): How the best community forge models get published to the official three.ws Sketchfab account: what gets picked, AI disclosure, and the backlinks that make referrals measurable.+- [Docs · The Social Layer](https://three.ws/docs/social-layer): The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.- [Docs · Do I Need Crypto?](https://three.ws/docs/do-i-need-crypto): Honest answers to the wallet and payment questions — what requires crypto, what doesn’t, and how payments work.- [Docs · Quick Start](https://three.ws/docs/quick-start): Five-minute walkthrough: create an agent, embed it, get a paid call.- [Docs · Agent System](https://three.ws/docs/agent-system): How agents, avatars, skills, and memories fit together.diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex a6fadbaf1..3ab2be723 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -52,13 +52,32 @@.sm-badge-auth { background: rgba(255, 200, 80, .15); color: #ffcf66; }.sm-badge-internal { background: rgba(120,200,255,.12); color: #9ad4ff; }</style>++ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1">+ <meta property="og:type" content="website">+ <meta property="og:site_name" content="three.ws">+ <meta property="og:locale" content="en_US">+ <meta property="og:title" content="Sitemap · three.ws">+ <meta property="og:description" content="Human-readable index of every page on three.ws.">+ <meta property="og:url" content="https://three.ws/sitemap">+ <meta property="og:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <meta property="og:image:width" content="1200">+ <meta property="og:image:height" content="630">+ <meta property="og:image:type" content="image/png">+ <meta property="og:image:alt" content="Sitemap — three.ws">+ <meta name="twitter:card" content="summary_large_image">+ <meta name="twitter:site" content="@trythreews">+ <meta name="twitter:title" content="Sitemap · three.ws">+ <meta name="twitter:description" content="Human-readable index of every page on three.ws.">+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap">+ <script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","name":"Sitemap","description":"Human-readable index of every page on three.ws.","url":"https://three.ws/sitemap","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"},"primaryImageOfPage":"https://three.ws/api/page-og?s=main&t=Sitemap&d=Human-readable+index+of+every+page+on+three.ws.&p=%2Fsitemap"}]}</script></head><body><header><div id="nav-container"></div></header><main class="sm-wrap"><div class="sm-hero"><h1>Sitemap</h1>- <p>All 434 pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</p>+ <p>All 435 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>@@ -70,7 +89,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 434 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 435 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>@@ -1662,7 +1681,7 @@<section class="sm-section" id="learn"><header>- <h2>Learn<span class="sm-count" data-count>67</span></h2>+ <h2>Learn<span class="sm-count" data-count>68</span></h2><p class="sm-section-desc">Docs, tutorials, and reference.</p></header><ul class="sm-list">@@ -1743,6 +1762,13 @@<span class="sm-desc">How the best community forge models get published to the official three.ws Sketchfab account: what gets picked, AI disclosure, and the backlinks that make referrals measurable.</span></a></li>+ <li>+ <a href="/docs/social-layer">+ <span class="sm-title">Docs · The Social Layer</span>+ <span class="sm-path">/docs/social-layer</span>+ <span class="sm-desc">The activity feed, follow graph, notification bell, rankings, creator portfolios, and cross-entity search: the pages, the APIs, and how the pieces feed each other.</span>+ </a>+ </li><li><a href="/docs/do-i-need-crypto"><span class="sm-title">Docs · Do I Need Crypto?</span>diff --git a/src/ar/quick-look.js b/src/ar/quick-look.jsindex 8cb2333ea..3555fac72 100644--- a/src/ar/quick-look.js+++ b/src/ar/quick-look.js@@ -2,6 +2,8 @@// Safari activates Quick Look when an anchor with rel="ar" is activated// programmatically, which avoids requiring a real user gesture on a link.+import { QUICK_LOOK_BANNER_TAPPED } from './quicklook-banner.js';+function isIOS() {return (/iphone|ipad|ipod/i.test(navigator.userAgent) ||@@ -13,11 +15,29 @@ export function canUseQuickLook() {return isIOS();}-export function openQuickLook(usdzURI) {+// Safari delivers the Quick Look banner-tap `message` event on the anchor that+// launched the session, so the anchor must stay in the DOM while the viewer is+// open. One live anchor at a time: replacing it on the next launch drops the+// previous listener with it.+let _anchor = null;++export function openQuickLook(usdzURI, { onBannerTap } = {}) {+ if (_anchor) { _anchor.remove(); _anchor = null; }const a = document.createElement('a');a.rel = 'ar';a.href = usdzURI;// iOS requires a child element to trigger Quick Look on programmatic .click()a.appendChild(document.createElement('img'));+ // Present but invisible. Not display:none: hidden-from-layout anchors are+ // not reliably activated by Quick Look, so park it off-interaction instead.+ a.style.cssText = 'position:fixed;left:0;top:0;width:1px;height:1px;opacity:0;pointer-events:none;overflow:hidden;';+ a.setAttribute('aria-hidden', 'true');+ if (typeof onBannerTap === 'function') {+ a.addEventListener('message', (e) => {+ if (e.data === QUICK_LOOK_BANNER_TAPPED) onBannerTap();+ });+ }+ document.body.appendChild(a);+ _anchor = a;a.click();}diff --git a/src/ar/quicklook-banner.js b/src/ar/quicklook-banner.jsnew file mode 100644index 000000000..2ee3e16cc--- /dev/null+++ b/src/ar/quicklook-banner.js@@ -0,0 +1,35 @@+// Apple AR Quick Look banner. Quick Look is a sealed native viewer: no DOM, no+// JS, no tap-on-model events. The ONE piece of page-controlled UI Apple allows+// inside it is a bottom banner, declared as URL-fragment parameters on the USDZ+// link (checkoutTitle / checkoutSubtitle / callToAction). Tapping that banner+// fires a `message` event back on the <a rel="ar"> anchor that launched the+// session, which is the only in-AR tap a web page can ever receive on iOS.+// https://developer.apple.com/documentation/arkit/adding-an-apple-pay-button-or-a-custom-action-in-ar-quick-look++// Quick Look renders the banner on one line on a phone and truncates long+// strings itself; clamp fields so a runaway prompt-as-name can't fill the URL.+const FIELD_MAX = 80;++// The literal `message` event data Safari delivers on a banner tap.+export const QUICK_LOOK_BANNER_TAPPED = '_apple_ar_quicklook_button_tapped';++// Append banner fields to a USDZ URL as Quick Look fragment parameters,+// preserving any fragment already present (Quick Look reads params joined by+// `&`). Plain string surgery, never `new URL()`: the USDZ here is often a+// blob: object URL from the in-browser bake, which URL parsing would mangle.+// No usable fields returns the URL untouched, so callers can pass options+// unconditionally.+export function withQuickLookBanner(url, { title, subtitle, callToAction } = {}) {+ if (typeof url !== 'string' || !url) return url;+ const params = [];+ const push = (key, value) => {+ const v = typeof value === 'string' ? value.trim().slice(0, FIELD_MAX) : '';+ if (v) params.push(`${key}=${encodeURIComponent(v)}`);+ };+ push('checkoutTitle', title);+ push('checkoutSubtitle', subtitle);+ push('callToAction', callToAction);+ if (!params.length) return url;+ const joined = params.join('&');+ return url.includes('#') ? `${url}&${joined}` : `${url}#${joined}`;+}diff --git a/src/ar/webxr.js b/src/ar/webxr.jsindex 8323a2b5e..0d279a093 100644--- a/src/ar/webxr.js+++ b/src/ar/webxr.js@@ -86,8 +86,10 @@ export class WebXRSession {/** Pinch-to-resize state (pure math in ./pinch-scale.js). */this._pinch = createPinchState();/** Wall-clock of the last pinch end — a tap right after a pinch is the- * second finger lifting, not a placement intent. */- this._pinchEndedAt = 0;+ * second finger lifting, not a placement intent. -Infinity means "never":+ * 0 would swallow real taps while performance.now() is still under the+ * 350ms suppression window (young clocks: fresh workers, tests). */+ this._pinchEndedAt = -Infinity;/** Content scale captured at session start, restored on exit. */this._savedScale = null;this._handleTouchStart = this._handleTouchStart.bind(this);@@ -693,7 +695,7 @@ export class WebXRSession {root.removeEventListener('beforexrselect', this._handleBeforeSelect);}this._pinch = createPinchState();- this._pinchEndedAt = 0;+ this._pinchEndedAt = -Infinity;renderer.setAnimationLoop(null);renderer.xr.enabled = false;diff --git a/src/irl.js b/src/irl.jsindex eb94a7f6c..568d97e9c 100644--- a/src/irl.js+++ b/src/irl.js@@ -46,6 +46,7 @@ import { WebXRSession } from './ar/webxr.js';import { clampPinScale } from './ar/pinch-scale.js';import { resolvePlacementCapability } from './ar/placement-capability.js';import { openQuickLook } from './ar/quick-look.js';+import { withQuickLookBanner } from './ar/quicklook-banner.js';import { createPersistGate, placementHint } from './ar/anchor-lifecycle.js';import { IrlNet } from './irl-net.js';import { wireShareButton } from './irl/share-frame.js';@@ -3349,12 +3350,32 @@ async function bakeQuickLookUsdz(glbBlob) {}}+// The Quick Look banner tap arrives without user activation (iOS would reject+// the motion/location permission prompts the pin flow needs), so it can't pin+// directly. Instead it converts the intent: the moment the viewer closes, the+// status points at Pin here and the button pulses, so the spot they liked in+// AR becomes a durable, shareable pin in one deliberate tap.+function onQuickLookBannerTap() {+ setStatus('Like that spot? Tap Pin here to leave your agent there for people nearby.', { sticky: true });+ if (lockBtn && !avatarLocked) {+ lockBtn.classList.add('is-banner-nudge');+ setTimeout(() => lockBtn.classList.remove('is-banner-nudge'), 6000);+ }+}+async function enterQuickLookPlacement() {if (anchorBtn) { anchorBtn.classList.add('is-active'); anchorBtn.disabled = true; }setStatus('Preparing your agent for AR…', { loading: true, sticky: true });try {const usdzUrl = await resolveQuickLookUrl();- openQuickLook(usdzUrl);+ // The banner is the only page-controlled UI Apple allows inside the sealed+ // viewer: it names the agent in-AR and its tap is the one signal Quick Look+ // can send back to us (a `message` event on the launching anchor).+ openQuickLook(withQuickLookBanner(usdzUrl, {+ title: nameEl.textContent || 'Your agent',+ subtitle: 'Living agent on three.ws',+ callToAction: 'Pin it here for people nearby',+ }), { onBannerTap: onQuickLookBannerTap });// Quick Look is a separate system viewer — it places-and-views the agent on// your real floor but can't hand a pose back to our canvas, so the durable,// shareable pin still comes from the Pin path. State that, no silent gap.diff --git a/tests/ar-quicklook-banner.test.js b/tests/ar-quicklook-banner.test.jsnew file mode 100644index 000000000..245851f54--- /dev/null+++ b/tests/ar-quicklook-banner.test.js@@ -0,0 +1,75 @@+// Apple AR Quick Look banner fragment builder (src/ar/quicklook-banner.js).+//+// The contract these tests pin: banner fields ride the USDZ link as fragment+// parameters (checkoutTitle / checkoutSubtitle / callToAction), URL-encoded,+// joined with `&`, appended after any fragment already present. The builder is+// plain string surgery because the /irl bake hands it blob: object URLs that+// `new URL()` would mangle. No usable fields must return the URL untouched so+// callers can pass options unconditionally. Pure string logic, no DOM.++import { describe, it, expect } from 'vitest';++import { withQuickLookBanner, QUICK_LOOK_BANNER_TAPPED } from '../src/ar/quicklook-banner.js';++describe('withQuickLookBanner', () => {+ it('appends all three banner fields as encoded fragment params', () => {+ const out = withQuickLookBanner('https://cdn.three.ws/a.usdz', {+ title: 'Scout the Fox',+ subtitle: 'Living agent on three.ws',+ callToAction: 'Pin it here for people nearby',+ });+ expect(out).toBe(+ 'https://cdn.three.ws/a.usdz' ++ '#checkoutTitle=Scout%20the%20Fox' ++ '&checkoutSubtitle=Living%20agent%20on%20three.ws' ++ '&callToAction=Pin%20it%20here%20for%20people%20nearby'+ );+ });++ it('skips blank fields and emits only what is present', () => {+ const out = withQuickLookBanner('https://cdn.three.ws/a.usdz', {+ title: ' ',+ callToAction: 'Meet this agent',+ });+ expect(out).toBe('https://cdn.three.ws/a.usdz#callToAction=Meet%20this%20agent');+ });++ it('returns the URL untouched when no usable fields are given', () => {+ expect(withQuickLookBanner('https://cdn.three.ws/a.usdz')).toBe('https://cdn.three.ws/a.usdz');+ expect(withQuickLookBanner('https://cdn.three.ws/a.usdz', {})).toBe('https://cdn.three.ws/a.usdz');+ expect(withQuickLookBanner('https://cdn.three.ws/a.usdz', { title: '' })).toBe('https://cdn.three.ws/a.usdz');+ });++ it('joins onto an existing fragment with & instead of a second #', () => {+ const out = withQuickLookBanner('https://cdn.three.ws/a.usdz#allowsContentScaling=0', { title: 'Scout' });+ expect(out).toBe('https://cdn.three.ws/a.usdz#allowsContentScaling=0&checkoutTitle=Scout');+ });++ it('works on blob: object URLs from the in-browser bake', () => {+ const blob = 'blob:https://three.ws/1f2e3d4c';+ expect(withQuickLookBanner(blob, { title: 'Scout' })).toBe(`${blob}#checkoutTitle=Scout`);+ });++ it('encodes characters that would break the fragment', () => {+ const out = withQuickLookBanner('https://cdn.three.ws/a.usdz', { title: 'a #1 fox & friend?' });+ expect(out).toBe('https://cdn.three.ws/a.usdz#checkoutTitle=a%20%231%20fox%20%26%20friend%3F');+ });++ it('clamps runaway fields to 80 characters before encoding', () => {+ const long = 'x'.repeat(200);+ const out = withQuickLookBanner('https://cdn.three.ws/a.usdz', { title: long });+ expect(out).toBe(`https://cdn.three.ws/a.usdz#checkoutTitle=${'x'.repeat(80)}`);+ });++ it('passes non-string and empty urls through unchanged', () => {+ expect(withQuickLookBanner('', { title: 'Scout' })).toBe('');+ expect(withQuickLookBanner(null, { title: 'Scout' })).toBe(null);+ expect(withQuickLookBanner(undefined, { title: 'Scout' })).toBe(undefined);+ });+});++describe('QUICK_LOOK_BANNER_TAPPED', () => {+ it('is the literal message data Safari sends on a banner tap', () => {+ expect(QUICK_LOOK_BANNER_TAPPED).toBe('_apple_ar_quicklook_button_tapped');+ });+});diff --git a/tests/ar-webxr-session.test.js b/tests/ar-webxr-session.test.jsindex c053bda6f..67ff477b4 100644--- a/tests/ar-webxr-session.test.js+++ b/tests/ar-webxr-session.test.js@@ -64,7 +64,9 @@ describe('start() — session bring-up', () => {});it('surfaces a dom-overlay root when one is supplied', async () => {- const root = { nodeType: 1 };+ // A real overlay root is a DOM element; the session subscribes its pinch+ // touch listeners on it, so the fake must be a working EventTarget.+ const root = Object.assign(new EventTarget(), { nodeType: 1 });const { xrSession } = await mount({ domOverlayRoot: root });expect(xrSession.init.optionalFeatures).toContain('dom-overlay');expect(xrSession.init.domOverlay).toEqual({ root });