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
feat: verify-garment harness decodes meshopt-compressed avatars
nirholas73d24188e569
diff --git a/scripts/verify-garment.mjs b/scripts/verify-garment.mjsindex 41160393e..d1b2a4320 100644--- a/scripts/verify-garment.mjs+++ b/scripts/verify-garment.mjs@@ -52,6 +52,9 @@ globalThis.Image = FakeImage;globalThis.Blob = Blob;const { GLTFLoader } = await import('three/addons/loaders/GLTFLoader.js');+// Meshopt-compressed avatars (xbot, cz, the realistic set) decode with the+// pure-WASM decoder three ships; no workers, so it runs in plain Node.+const { MeshoptDecoder } = await import('three/addons/libs/meshopt_decoder.module.js');const { attachGarment, applySkinOcclusion, MIN_BIND_COVERAGE } =await import('../src/avatar-garment.js');@@ -66,6 +69,7 @@ async function fetchBytes(source) {function loadGlb(bytes) {const loader = new GLTFLoader();+ loader.setMeshoptDecoder(MeshoptDecoder);return new Promise((res, rej) => {loader.parse(bytes.buffer.slice(bytes.byteOffset, bytes.byteOffset + bytes.byteLength),