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
style(avatar-og): drop the banned em-dashes so the pushed range clears the rule check
nirholas5f595ec56cd5
diff --git a/api/avatar-og.js b/api/avatar-og.jsindex 1706bd1e9..0a820cd79 100644--- a/api/avatar-og.js+++ b/api/avatar-og.js@@ -69,7 +69,7 @@ export default wrap(async (req, res) => {});}- // Cached thumbnail — either client-uploaded (customizer save) or a previous+ // Cached thumbnail, either client-uploaded (customizer save) or a previous// server render. Either way it's a real R2 object; redirect.//// Legacy poisoned keys (absolute, origin-pointing `*_og.png`, written by thediff --git a/tests/api/avatar-og.test.js b/tests/api/avatar-og.test.jsindex 75462c86c..661bbab56 100644--- a/tests/api/avatar-og.test.js+++ b/tests/api/avatar-og.test.js@@ -116,7 +116,7 @@ describe('GET /api/avatar/:id/og — cached thumbnail path', () => {// The regression this pins: the endpoint used to re-test `thumbnail_url`// with isLegacyOgThumbnailKey (`^https?://.*_og\.png$`). Every thumbnail it// writes itself is `<key>_og.png`, and thumbnailUrl() turns that into an- // absolute bucket URL — so its own cached render matched the poisoned-key+ // absolute bucket URL, so its own cached render matched the poisoned-key// shape, the row's thumbnail_key was nulled, and chromium re-rendered on// every crawl. A genuinely poisoned key never gets this far: thumbnailUrl()// already resolves it to null (see the render-path test below).@@ -202,7 +202,7 @@ describe('GET /api/avatar/:id/og — server render path', () => {it('heals a poisoned key: thumbnailUrl gives null, the render write-back replaces it', async () => {// A pre-fix row stores an ABSOLUTE `*_og.png` in thumbnail_key. thumbnailUrl()// resolves that to null, so getAvatar hands the handler thumbnail_url: null- // and it takes the render path — which is exactly where the widened guard+ // and it takes the render path, which is exactly where the widened guard// above overwrites the bad key with a real bucket key.getAvatarMock.mockResolvedValueOnce({id: 'a8',