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(tests): drop the Ready Player Me shorthand and the dead cdn host from new copy
nirholas777ecee8a056
diff --git a/docs/ux-flows/04-embed-widget-studio.md b/docs/ux-flows/04-embed-widget-studio.mdindex bb0a9e370..3735ca1b5 100644--- a/docs/ux-flows/04-embed-widget-studio.md+++ b/docs/ux-flows/04-embed-widget-studio.md@@ -145,7 +145,7 @@ Routing recap (from `vercel.json`):- **Entry point:** `/avatar-studio` or `/create/studio` (create from `default.glb`); `?edit=<id>` reloads a saved avatar.- **Prerequisites / gates:** Anyone can build/preview from the base template. **Saving requires sign-in** (so it persists to the account). No $THREE gate. This is the *upstream* builder — the avatar it produces becomes selectable in Widget Studio and embeddable via the SharePanel/embed modals.- **Steps (7):**- 1. Page boots → loads `BASE_GLB_URL` (`/avatars/default.glb`) into a `TalkScene` viewport with idle breathing/blinking; accessory presets load. In create mode a **Base switcher** offers Stylized (the default RPM-style body) or Parametric (`/avatars/parametric-base.glb`, a CC0 MakeHuman-derived base with ~120 identity morph sliders); Color/Layers panels adapt to the loaded base (dead slots hide).+ 1. Page boots → loads `BASE_GLB_URL` (`/avatars/default.glb`) into a `TalkScene` viewport with idle breathing/blinking; accessory presets load. In create mode a **Base switcher** offers Stylized (the default stylized humanoid body) or Parametric (`/avatars/parametric-base.glb`, a CC0 MakeHuman-derived base with ~120 identity morph sliders); Color/Layers panels adapt to the loaded base (dead slots hide).2. `(optional)` In **edit mode** (`?edit=<id>`) the saved appearance (colors/morphs/accessories/hidden layers) is hydrated onto the model.3. **Customize**: switch tabs — Color (skin/hair/outfit swatches + hex), Hats, Glasses, Earrings (accessory presets), Face (sculpt morphs). Each change applies live to the scene graph; `(optional)` undo/redo (history up to 50).4. `(optional)` Show/hide garment layers; `(optional)` search accessories.diff --git a/tests/model-lib.test.js b/tests/model-lib.test.jsindex 756a141d9..84979d707 100644--- a/tests/model-lib.test.js+++ b/tests/model-lib.test.js@@ -90,13 +90,13 @@ describe('timeAgo', () => {describe('embedSnippet', () => {it('builds a /viewer iframe with the glb url encoded', () => {- const html = embedSnippet('https://cdn.three.ws/x.glb', 'Barrel');- expect(html).toContain('https://three.ws/viewer?src=https%3A%2F%2Fcdn.three.ws%2Fx.glb');+ const html = embedSnippet('https://three.ws/cdn/x.glb', 'Barrel');+ expect(html).toContain('https://three.ws/viewer?src=https%3A%2F%2Fthree.ws%2Fcdn%2Fx.glb');expect(html).toContain('title="Barrel"');expect(html).toContain('xr-spatial-tracking');});it('escapes hostile titles out of the attribute', () => {- const html = embedSnippet('https://cdn.three.ws/x.glb', '"><script>alert(1)</script>');+ const html = embedSnippet('https://three.ws/cdn/x.glb', '"><script>alert(1)</script>');expect(html).not.toContain('"><script>');});});