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(deploy): build SDK dist before bundle-api instead of in parallel
nirholasbeb136285f53
diff --git a/scripts/build-vercel.mjs b/scripts/build-vercel.mjsindex 7c5031bbc..9933e95de 100644--- a/scripts/build-vercel.mjs+++ b/scripts/build-vercel.mjs@@ -186,12 +186,14 @@ const totalStart = Date.now();const phase = (n, label) => console.log(`\n=== build:vercel phase ${n}: ${label} (t+${((Date.now() - totalStart) / 1000).toFixed(1)}s) ===`);try {- // Phase 1a: light tasks only — no Vite processes yet- phase(1, 'prebuild + bundle-api + sdk-dist (parallel, light)');+ // Phase 1a: light tasks only — no Vite processes yet. bundle-api inlines+ // @three-ws/agent-payments (not in its EXTERNALS), so the SDK dist must+ // exist before esbuild resolves it — sdk-dist gates bundle-api; prebuild+ // stays parallel.+ phase(1, 'prebuild ∥ (sdk-dist → bundle-api)');await Promise.all([prebuild(),- bundleApi(),- ensureSDKDist(),+ ensureSDKDist().then(bundleApi),]);// Phase 2: buildLib alone. avatar-sdk depends on dist-lib/agent-3d.js, and