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
fix(avatars): stop sharp load failure from killing /api/avatars/:id
nirholas79b29a3a3fbd
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 90c96ca8c..b6f698d80 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr## 2026-06-11+- **Avatar pages back online after image-engine outage** — Fetching an individual avatar was failing with a server error, which also broke the walking avatar on the home page. The image-processing engine the avatar dress-up baker relies on failed to load in production and took the whole endpoint down with it. Avatar lookups now load independently of the baker, and the missing image libraries ship with the deployment, so avatar pages and the home hero are back. `[fix, infra]`- **Faster, quieter agents directory and site-wide page polish** — The on-chain agents directory now loads from our server-side index instead of contacting every agent's metadata host from your browser — pages render faster and no longer spray network errors. Also: the pump.fun cockpit's sidebar pages are now shareable deep links, mobile nav and footer links meet touch-target guidelines, anonymous visitors no longer trigger failed sign-in requests on Walk and Create, and assorted dead links were removed. (`/agents`) `[improvement, fix]`- **Text-to-3D and image-to-3D generation restored** — Fixed two provider regressions that blocked Forge generation: model submissions now pin the latest published model version automatically, and the text-to-image step falls back to a healthy provider instead of failing when the preferred one is misconfigured. (`/forge`) `[fix]`diff --git a/api/avatars/[id].js b/api/avatars/[id].jsindex c9a2531b6..454edce2b 100644--- a/api/avatars/[id].js+++ b/api/avatars/[id].js@@ -11,7 +11,6 @@ import {resolveAvatarUrl,stripOwnerFor,} from '../_lib/avatars.js';-import { bakeAndUploadAppearance, isBakeable } from '../_lib/bake.js';import { sql } from '../_lib/db.js';import { logAudit } from '../_lib/audit.js';import { cors, json, method, readJson, wrap, error, rateLimited } from '../_lib/http.js';@@ -154,6 +153,10 @@ export default wrap(async (req, res) => {// baked GLB so the base is served again.if (appearanceChanged) {try {+ // Lazy import: bake.js pulls in sharp (native libvips). Loading it+ // only on the appearance-change path keeps GET/DELETE alive even if+ // the native module fails to load in this runtime.+ const { bakeAndUploadAppearance, isBakeable } = await import('../_lib/bake.js');if (isBakeable(patch.appearance)) {const result = await bakeAndUploadAppearance({baseStorageKey: avatar.storage_key,diff --git a/data/changelog.json b/data/changelog.jsonindex abc5e5a56..ca9f7693b 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$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-11",+ "title": "Avatar pages back online after image-engine outage",+ "summary": "Fetching an individual avatar was failing with a server error, which also broke the walking avatar on the home page. The image-processing engine the avatar dress-up baker relies on failed to load in production and took the whole endpoint down with it. Avatar lookups now load independently of the baker, and the missing image libraries ship with the deployment, so avatar pages and the home hero are back.",+ "tags": [+ "fix",+ "infra"+ ]+ },{"date": "2026-06-11","title": "Faster, quieter agents directory and site-wide page polish",diff --git a/public/changelog.json b/public/changelog.jsonindex eb27ee604..70425e4d7 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,11 +1,22 @@{- "generated_at": "2026-06-11T02:00:24.965Z",+ "generated_at": "2026-06-11T03:08:12.992Z","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-11",+ "type": "update",+ "title": "Avatar pages back online after image-engine outage",+ "summary": "Fetching an individual avatar was failing with a server error, which also broke the walking avatar on the home page. The image-processing engine the avatar dress-up baker relies on failed to load in production and took the whole endpoint down with it. Avatar lookups now load independently of the baker, and the missing image libraries ship with the deployment, so avatar pages and the home hero are back.",+ "link": null,+ "tags": [+ "fix",+ "infra"+ ]+ },{"date": "2026-06-11","type": "update",diff --git a/public/changelog.xml b/public/changelog.xmlindex b407ef5d0..3bdbd4d9c 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>Avatar pages back online after image-engine outage</title>+ <link>https://three.ws/changelog</link>+ <guid isPermaLink="false">2026-06-11:Avatar pages back online after image-engine outage</guid>+ <pubDate>Thu, 11 Jun 2026 12:00:00 GMT</pubDate>+ <category>fix</category>+ <description>Fetching an individual avatar was failing with a server error, which also broke the walking avatar on the home page. The image-processing engine the avatar dress-up baker relies on failed to load in production and took the whole endpoint down with it. Avatar lookups now load independently of the baker, and the missing image libraries ship with the deployment, so avatar pages and the home hero are back.</description>+ </item><item><title>Faster, quieter agents directory and site-wide page polish</title><link>https://three.ws/agents</link>diff --git a/public/features.json b/public/features.jsonindex 3bcbd78fc..563c2f51a 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-06-11T02:00:24.953Z",+ "generated_at": "2026-06-11T03:08:12.982Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",diff --git a/vercel.json b/vercel.jsonindex 9b7b20695..601c13a41 100644--- a/vercel.json+++ b/vercel.json@@ -16,7 +16,7 @@"maxDuration": 300},"api/avatars/[id].js": {- "includeFiles": "{examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}",+ "includeFiles": "{node_modules/@img/sharp-libvips-linux-x64/**,node_modules/@img/sharp-linux-x64/**,examples/skills/**,data/pages.json,data/archives/**,data/rss/**,data/_generated/**,sdk/src/sas-config.json}","maxDuration": 300},"api/tts/speak.js": {