Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Update nav, widget types, GLB compression script, and reasoning-ledger migration

nirholasa2ea7107b21e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aff82c52d..e85ef93f9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -63,6 +63,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **IRL: a Privacy & my data center — see everything stored about you, and erase it instantly** — Every IRL user — signed in or not — can now see exactly what location data three.ws holds about them and wipe it on their own terms, no support ticket. Open “Privacy & my data” from the IRL privacy panel (or from My IRL Agents in the dashboard) and you get a plain-language summary: how many agents you've placed, how many are hidden, encounters left on them, taps you've left elsewhere, and when anonymous pins expire — counts and dates only, never anyone's coordinates. From there you can temporarily unpublish a pin (it vanishes from everyone nearby and you can republish it later), delete a single pin, remove all your pins, or download a complete JSON export of your own data. Anonymous testers — who have no account, just a device — get a one-tap “Forget this device” that permanently erases every pin and every tap or message that device left anywhere, so nothing references it again. Every deletion also clears the encounters tied to it, the two irreversible actions require a typed confirmation, and your device credential travels in a request header, never in a URL. Only coin referenced is $THREE. (`/irl`) `[security]`
- **IRL: choose exact or approximate when you place an agent — your real spot stays yours** — Dropping an agent in IRL writes a real-world location, so before your first placement we now show a short, plain-language heads-up: your agent is visible to anyone who physically walks within about 40 metres of the spot, we never show a list or map of locations and never reveal who placed it, but the spot itself is public. You then choose — with two equally-weighted buttons, no nudging — to place it exactly where you are, or approximately. Approximate drops the agent at a deliberately blurred point within a radius you pick (about 30 m, 100 m, or 250 m); the blurred spot is the only thing ever stored, so your precise standing location never reaches our servers at all, and the agent shows at the blurred spot for everyone including you. The pre-save panel shows a tappable chip telling you how the pin will be stored, you can re-open the choice any time, and a small badge — “Exact” or “≈ Approximate (~100 m)” — appears on your pin in My Pins, the inspect sheet, and your dashboard so you always know how exposed each placement is. Tick “don't show this every time” once you've decided. Only coin referenced is $THREE. (`/irl`) `[security, improvement]`
- **IRL: pinned agents now hold their exact spot indoors instead of drifting** — When you pin your agent to a real-world spot in IRL — on a table, a desk, a shelf — it now stays put as you pan and move your phone, instead of sliding away. Indoors, GPS is only accurate to tens of metres, and the camera was re-reading that noisy fix every few seconds and yanking the agent across the room. Now a pinned agent holds the precise spot you dropped it on whenever the fix is too coarse to trust, while the compass radar and nearby agents keep tracking as before; the moment you step outside and get a clean fix, it resumes following your real-world movement. The result is a rock-steady tabletop pin that finally behaves the way you'd expect. (`/irl`) `[fix]`
+- **Keyboard and screen-reader users can now skip the header and drive every menu without a mouse** — Two accessibility upgrades now ride on every page across the site. First, a "Skip to content" link: press Tab the moment a page loads and it appears top-left, jumping you straight past the header — search, theme, notifications, sign-in and every dropdown — to the page body, instead of forcing keyboard and screen-reader users to tab through the whole navigation on each page. Second, the top-nav dropdowns now follow the standard menu-button keyboard pattern: pressing Down or Up arrow on a menu opens it and lands you on the first or last item, Enter and Space open it and move focus inside, Home and End jump to the ends of the list, and Escape closes it and returns focus to the menu — so the entire site map is reachable without ever touching a pointer. `[improvement]`
- **Launch Copilot: every coin you launch can run its own market-maker** — Launching a coin on three.ws no longer means mint-and-hope. You can now attach a Launch Copilot — an autonomous, rules-based market-maker that runs the book from your launching agent's own wallet. It seeds an initial buy, defends a floor you set by buying measured dips, recycles profit into rallies to keep liquidity turning, and manages the bonding-curve→AMM graduation cleanly (provide LP, hold, or distribute — no parked inventory). Plain-language presets get you started in one click (Gentle floor defense, Balanced, Aggressive recycle), and a live panel on the launch screen and the coin's detail page shows every action in real time, realized PnL, inventory, budget remaining, and one-tap pause / kill / withdraw. Crucially, it is honest liquidity, not manipulation: it is hard-capped so it can never wash-trade (no action or side-flip inside a disclosed interval), never exceed a small share of live volume, and never spend past your budget — and a policy that would cross that line is refused with a clear reason. Every trade runs through the same rug/honeypot firewall, spend guards, MEV-protected execution, and on-chain custody audit as a manual trade, and you can watch the whole thing in simulate mode before a cent moves. The market-maker operates on the coin you launched; the only coin three.ws promotes is $THREE. `[feature]`
- **Living Stages: watch an AI host perform live and tip it in $THREE on the spot** — A new kind of room just opened at /stage — a live, embodied AI performance. Walk into a 3D venue and an AI host is on stage in real time: it opens the show, riffs, runs its format, takes audience questions, and reads the room. You hear it with spatial voice that gets louder as you move closer, with real lip-sync and live captions, and the whole performance is synchronized for everyone in the room at once. The heart of it is the tip economy: tip the host in $THREE straight from your wallet and it reacts on the spot — a shout-out by name within about a second — while a live leaderboard tracks the biggest tippers and the top spot earns the host's attention. Every tip is a real on-chain settlement to the host agent's own wallet, recorded exactly once, and the host/venue split always adds back up to the amount tipped — never a hidden cut. Any agent owner can put their agent on stage from its profile in one tap, then go live and end the show when they're done. Between shows you see the next showtime and the last show's top tippers, and if your device can't render 3D the captions, audio, and tipping still work. Only coin referenced is $THREE. (`/stage`) `[feature]`
- **Marketplace fork no longer creates duplicate copies on a double-click** — On an agent's marketplace page, impatiently double-clicking "Fork & Chat" used to fire the fork twice before the page could move you to your new copy — quietly leaving two identical agents in your account. The button now locks the instant you press it, shows "Forking…", and only ever creates one fork; if it fails, it unlocks so you can try again. The bookmark star got the same treatment, so rapid taps can no longer leave it stuck out of sync with whether the listing is actually saved. Only coin referenced is $THREE. (`/marketplace`) `[fix]`
diff --git a/api/_lib/migrations/20260623120000_reasoning_ledger.sql b/api/_lib/migrations/20260623120000_reasoning_ledger.sql
index 373237ece..4ca674385 100644
Binary files a/api/_lib/migrations/20260623120000_reasoning_ledger.sql and b/api/_lib/migrations/20260623120000_reasoning_ledger.sql differ
diff --git a/data/changelog.json b/data/changelog.json
index c2021cdd0..ca2c70438 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,14 @@
{
"$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-23",
+ "title": "Keyboard and screen-reader users can now skip the header and drive every menu without a mouse",
+ "summary": "Two accessibility upgrades now ride on every page across the site. First, a \"Skip to content\" link: press Tab the moment a page loads and it appears top-left, jumping you straight past the header — search, theme, notifications, sign-in and every dropdown — to the page body, instead of forcing keyboard and screen-reader users to tab through the whole navigation on each page. Second, the top-nav dropdowns now follow the standard menu-button keyboard pattern: pressing Down or Up arrow on a menu opens it and lands you on the first or last item, Enter and Space open it and move focus inside, Home and End jump to the ends of the list, and Escape closes it and returns focus to the menu — so the entire site map is reachable without ever touching a pointer.",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-23",
"title": "The Agent Labor Market: agents hire, pay, and verify each other — a live $THREE machine economy",
diff --git a/public/changelog.json b/public/changelog.json
index f10ec7938..94b22e953 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-23T11:09:59.198Z",
+ "generated_at": "2026-06-23T11:25:01.140Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -560,6 +560,16 @@
"fix"
]
},
+ {
+ "date": "2026-06-23",
+ "type": "update",
+ "title": "Keyboard and screen-reader users can now skip the header and drive every menu without a mouse",
+ "summary": "Two accessibility upgrades now ride on every page across the site. First, a \"Skip to content\" link: press Tab the moment a page loads and it appears top-left, jumping you straight past the header — search, theme, notifications, sign-in and every dropdown — to the page body, instead of forcing keyboard and screen-reader users to tab through the whole navigation on each page. Second, the top-nav dropdowns now follow the standard menu-button keyboard pattern: pressing Down or Up arrow on a menu opens it and lands you on the first or last item, Enter and Space open it and move focus inside, Home and End jump to the ends of the list, and Escape closes it and returns focus to the menu — so the entire site map is reachable without ever touching a pointer.",
+ "link": null,
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-06-23",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 77902aaba..02360385f 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -438,6 +438,14 @@
<category>fix</category>
<description>When you pin your agent to a real-world spot in IRL — on a table, a desk, a shelf — it now stays put as you pan and move your phone, instead of sliding away. Indoors, GPS is only accurate to tens of metres, and the camera was re-reading that noisy fix every few seconds and yanking the agent across the room. Now a pinned agent holds the precise spot you dropped it on whenever the fix is too coarse to trust, while the compass radar and nearby agents keep tracking as before; the moment you step outside and get a clean fix, it resumes following your real-world movement. The result is a rock-steady tabletop pin that finally behaves the way you'd expect.</description>
</item>
+ <item>
+ <title>Keyboard and screen-reader users can now skip the header and drive every menu without a mouse</title>
+ <link>https://three.ws/changelog</link>
+ <guid isPermaLink="false">2026-06-23:Keyboard and screen-reader users can now skip the header and drive every menu without a mouse</guid>
+ <pubDate>Tue, 23 Jun 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Two accessibility upgrades now ride on every page across the site. First, a &quot;Skip to content&quot; link: press Tab the moment a page loads and it appears top-left, jumping you straight past the header — search, theme, notifications, sign-in and every dropdown — to the page body, instead of forcing keyboard and screen-reader users to tab through the whole navigation on each page. Second, the top-nav dropdowns now follow the standard menu-button keyboard pattern: pressing Down or Up arrow on a menu opens it and lands you on the first or last item, Enter and Space open it and move focus inside, Home and End jump to the ends of the list, and Escape closes it and returns focus to the menu — so the entire site map is reachable without ever touching a pointer.</description>
+ </item>
<item>
<title>Launch Copilot: every coin you launch can run its own market-maker</title>
<link>https://three.ws/changelog</link>
diff --git a/public/features.json b/public/features.json
index 1b581cf14..837eaead2 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-06-23T11:09:59.161Z",
+ "generated_at": "2026-06-23T11:25:01.119Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/public/nav.css b/public/nav.css
index c26e9c5d9..c2122dca0 100644
--- a/public/nav.css
+++ b/public/nav.css
@@ -552,6 +552,33 @@
outline: 2px solid rgba(255,255,255,0.5); outline-offset: 2px;
border-radius: 7px;
}
+/* Skip-to-content link (injected by nav.js as the first focusable element).
+ Off-screen until it receives keyboard focus, then slides into the top-left so
+ keyboard / screen-reader users can jump past the header on any page. */
+.nav-skip {
+ position: fixed;
+ top: 10px;
+ left: 10px;
+ z-index: 10000;
+ transform: translateY(calc(-100% - 14px));
+ padding: 11px 18px;
+ background: var(--text, #f6f6f6);
+ color: var(--bg, #050505);
+ border-radius: 10px;
+ font: 600 14px/1 var(--font-sans, system-ui, sans-serif);
+ text-decoration: none;
+ box-shadow: 0 8px 28px rgba(0,0,0,0.45);
+ transition: transform 150ms ease;
+}
+.nav-skip:focus { transform: translateY(0); }
+.nav-skip:focus-visible {
+ outline: 2px solid var(--focus-ring-color, #4f8cff);
+ outline-offset: 2px;
+}
+@media (prefers-reduced-motion: reduce) {
+ .nav-skip { transition: none; }
+}
+
.nav-toggle svg { width: 16px; height: 16px; }
.nav-toggle .close { display: none; }
.nav-toggle[aria-expanded="true"] .open { display: none; }
diff --git a/public/nav.js b/public/nav.js
index 50a0e0bd0..301744969 100644
--- a/public/nav.js
+++ b/public/nav.js
@@ -134,7 +134,33 @@ function ensureNavStylesheet() {
});
}
+// Inject the "Skip to content" link as the first focusable element on the page.
+// Keyboard and screen-reader users otherwise have to tab through the entire
+// header (search, walk, theme, notifications, auth + every dropdown trigger) on
+// every one of the 170 pages before reaching the page body. Visually hidden
+// until focused (see .nav-skip in nav.css). Resolves the main landmark at click
+// time so it works whether the page tagged it `#main-content`, a bare <main>,
+// or `[role="main"]`, and makes the target programmatically focusable on demand.
+function ensureSkipLink() {
+ if (!document.body || document.querySelector('.nav-skip')) return;
+ const link = document.createElement('a');
+ link.className = 'nav-skip';
+ link.href = '#main-content';
+ link.textContent = 'Skip to content';
+ link.addEventListener('click', (e) => {
+ const target =
+ document.getElementById('main-content') || document.querySelector('main, [role="main"]');
+ if (!target) return; // fall back to the native anchor jump
+ e.preventDefault();
+ if (!target.hasAttribute('tabindex')) target.setAttribute('tabindex', '-1');
+ target.focus({ preventScroll: true });
+ target.scrollIntoView({ block: 'start' });
+ });
+ document.body.insertBefore(link, document.body.firstChild);
+}
+
function boot() {
+ ensureSkipLink();
loadCornerStack();
loadGlossary();
loadSearch();
@@ -321,8 +347,13 @@ function initDropdowns(root) {
trigger.addEventListener('click', (e) => {
e.stopPropagation();
- if (hoverCapable) {
- // hover already opens it; a click just pins it open
+ // Keyboard-activated clicks (Enter/Space) report detail === 0; real
+ // pointer clicks report >= 1. On hover devices a mouse click just pins
+ // the already-open menu, but a keyboard activation must also move focus
+ // into the menu — otherwise the dropdown opens with focus stranded on
+ // the trigger and the arrow-key navigation below never engages.
+ const keyboard = e.detail === 0;
+ if (hoverCapable && !keyboard) {
closeAll(grp);
setOpen(grp, true);
return;
@@ -330,6 +361,26 @@ function initDropdowns(root) {
const willOpen = !grp.classList.contains('open');
closeAll(grp);
setOpen(grp, willOpen);
+ if (keyboard && willOpen) {
+ trigger.nextElementSibling?.querySelector('a')?.focus({ preventScroll: true });
+ }
+ });
+
+ // WAI-ARIA menu-button pattern: ArrowDown/ArrowUp on the trigger open the
+ // menu and land focus on the first / last item, so a keyboard user can dive
+ // straight into the dropdown without first activating then re-reaching it.
+ trigger.addEventListener('keydown', (e) => {
+ if (e.key !== 'ArrowDown' && e.key !== 'ArrowUp') return;
+ const items = Array.prototype.slice.call(
+ (trigger.nextElementSibling || grp).querySelectorAll('a'),
+ );
+ if (!items.length) return;
+ e.preventDefault();
+ closeAll(grp);
+ setOpen(grp, true);
+ (e.key === 'ArrowDown' ? items[0] : items[items.length - 1])?.focus({
+ preventScroll: true,
+ });
});
if (hoverCapable) {
@@ -357,6 +408,12 @@ function initDropdowns(root) {
(items[(idx - 1 + items.length) % items.length] || items[0])?.focus({
preventScroll: true,
});
+ } else if (e.key === 'Home') {
+ e.preventDefault();
+ items[0]?.focus({ preventScroll: true });
+ } else if (e.key === 'End') {
+ e.preventDefault();
+ items[items.length - 1]?.focus({ preventScroll: true });
} else if (e.key === 'Escape') {
setOpen(grp, false);
trigger.focus({ preventScroll: true });
diff --git a/scripts/compress-glbs.mjs b/scripts/compress-glbs.mjs
index 70785994e..a4def51e5 100644
--- a/scripts/compress-glbs.mjs
+++ b/scripts/compress-glbs.mjs
@@ -2,9 +2,10 @@
/**
* GLB compression pipeline.
*
- * Reads GLB files with @gltf-transform, applies a lossless-perceptual transform
- * chain (dedup → prune → resample → quantize → EXT_meshopt_compression) and
- * writes the result back in place — but only if the output is actually smaller.
+ * Reads GLB files with @gltf-transform, applies a perceptual transform chain
+ * (dedup → prune → resample → quantize → EXT_meshopt_compression → WebP
+ * textures) and writes the result back in place — but only if the output is
+ * actually smaller.
*
* node scripts/compress-glbs.mjs # scan public/ + rider/assets/
* node scripts/compress-glbs.mjs public/avatars/x.glb # explicit file list
@@ -16,6 +17,13 @@
* thumbnails, accessories) need scripts/optimize-glb.mjs (lossless) instead.
* Three.js' GLTFLoader decodes KHR_mesh_quantization natively.
*
+ * Textures are re-encoded to WebP (quality 90) via sharp and tagged with the
+ * EXT_texture_webp extension. Three.js' GLTFLoader decodes WebP textures
+ * natively in every browser it supports, so no extra loader wiring is needed;
+ * GLBs without textures pass through this step untouched. WebP at q90 is
+ * visually lossless for albedo/normal maps while typically cutting texture
+ * payload 40–70% vs embedded PNG.
+ *
* Idempotent: reading an already-compressed GLB requires the meshopt *decoder*,
* which is why both encoder and decoder are registered below. Re-running yields
* files of similar or smaller size, never growth (growth is detected and the
@@ -27,8 +35,9 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { NodeIO } from '@gltf-transform/core';
import { ALL_EXTENSIONS } from '@gltf-transform/extensions';
-import { dedup, prune, resample, quantize, meshopt } from '@gltf-transform/functions';
+import { dedup, prune, resample, quantize, meshopt, textureCompress } from '@gltf-transform/functions';
import { MeshoptEncoder, MeshoptDecoder } from 'meshoptimizer';
+import sharp from 'sharp';
const ROOT = path.resolve(fileURLToPath(import.meta.url), '../..');
const DEFAULT_SCAN_DIRS = ['public', 'rider/assets'];
@@ -111,7 +120,11 @@ async function main() {
resample(),
quantize(),
meshopt({ encoder: MeshoptEncoder, level: 'medium' }),
- // TODO: add textureCompress once sharp is added to devDependencies
+ // Re-encode every texture to WebP (q90, perceptually lossless) via
+ // sharp. GLTFLoader decodes EXT_texture_webp natively; texture-less
+ // GLBs are unaffected. This is usually the single largest win on
+ // avatar GLBs, whose embedded PNG skins dominate file size.
+ textureCompress({ encoder: sharp, targetFormat: 'webp', quality: 90 }),
);
const bytes = await io.writeBinary(document);
diff --git a/src/widget-types.js b/src/widget-types.js
index 6e80034dc..79cadd968 100644
--- a/src/widget-types.js
+++ b/src/widget-types.js
@@ -1,9 +1,10 @@
// Widget type registry + brand defaults + per-type config validators.
// Both the Studio UI and the public widget runtime import from here.
//
-// `status: 'ready'` widgets have a working runtime. `status: 'pending'`
-// widgets save their config but the runtime renders a "coming soon" banner
-// — Prompts 01-05 flip these to 'ready' as their runtimes ship.
+// Every shipped widget has a working runtime (`status: 'ready'`). The
+// `status`/`isReady()` machinery stays so a newly-scaffolded type can be added
+// as `'pending'` — saving its config while the runtime renders a "coming soon"
+// banner — and flipped to `'ready'` the moment its runtime lands.
import { z } from 'zod';