Skip to content

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.

build(gcp): add build:avatar-sdk to the deploy chain ahead of the frontend build

nirholas83f2cc476594
diff --git a/package.json b/package.json
index 03967812e..123eececc 100644
--- a/package.json
+++ b/package.json
@@ -260,6 +260,7 @@
"build:artifact-viewer": "node scripts/build-artifact-viewer.mjs",
"build:lib": "TARGET=lib vite build",
"build:lib:full": "TARGET=lib LIB_FORMATS=es,umd vite build",
+ "build:avatar-sdk": "node avatar-sdk/build.mjs",
"build:artifact": "vite build --config vite.config.artifact.js",
"publish:lib": "node scripts/publish-lib.mjs",
"publish:packages": "node scripts/publish-packages.mjs",
@@ -333,7 +334,7 @@
"deploy": "npm run build:all && npm run check:dist && vercel --local-config vercel.json --prod",
"build:info": "node scripts/write-build-info.mjs",
"build:info:snapshot": "node scripts/write-build-info.mjs --snapshot",
- "build:gcp": "npm run check:conflicts && npm run check:browser-graph && npm run ensure:avatar-studio && npm run build:info:snapshot && npm run build:chat && npm run build && npm run build:lib:full && npm run publish:lib && npm run build:info && npm run check:dist && npm run check:pages",
+ "build:gcp": "npm run check:conflicts && npm run check:browser-graph && npm run ensure:avatar-studio && npm run build:info:snapshot && npm run build:lib:full && npm run build:avatar-sdk && npm run build:chat && npm run build && npm run publish:lib && npm run build:info && npm run check:dist && npm run check:pages",
"ensure:avatar-studio": "test -f character-studio/build/index.html || npm run build:avatar-studio",
"deploy:gcp": "npm run check:dist && npm run check:pages && npm run db:check && gcloud builds submit --config server/cloudbuild.yaml --region us-central1 --project aerial-vehicle-466722-p5 && npm run deploy:gcp:purge-cdn && npm run smoke:prod",
"deploy:gcp:full": "npm run build:gcp && npm run deploy:gcp",