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
test(avatar-studio): expect the sculpt field in the hydrated appearance defaults
nirholasbb9886c16809
diff --git a/tests/avatar-studio-save.test.js b/tests/avatar-studio-save.test.jsindex 49695d118..ccc0fa935 100644--- a/tests/avatar-studio-save.test.js+++ b/tests/avatar-studio-save.test.js@@ -126,6 +126,9 @@ const EMPTY = {hidden: [],garments: [],proportions: {},+ // Free-sculpt deltas (src/avatar-sculpt-doc.js). null, not {}, because the+ // field is one document or nothing: an empty one would collapse away anyway.+ sculpt: null,};describe('hydrateAppearance', () => {@@ -158,6 +161,7 @@ describe('hydrateAppearance', () => {hidden: ['outfit'],garments: [{ slot: 'outerwear', id: 'parka' }],proportions: { height: 1.08 },+ sculpt: null,};expect(hydrateAppearance(raw)).toEqual(raw);});