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.

fix(deploy): purge the Cloud CDN cache after every deploy:gcp

fudjia2d5fb7bc6921
diff --git a/package.json b/package.json
index 2c625d146..fbd1d2fcc 100644
--- a/package.json
+++ b/package.json
@@ -208,7 +208,8 @@
"check:dist": "node scripts/check-dist.mjs",
"deploy": "npm run build:all && npm run check:dist && vercel --local-config vercel.json --prod",
"build:gcp": "npm run build && npm run build:lib:full && npm run publish:lib && npm run check:dist",
- "deploy:gcp": "npm run check:dist && npm run db:check && gcloud builds submit --config server/cloudbuild.yaml --region us-central1 --project aerial-vehicle-466722-p5",
+ "deploy:gcp": "npm run check:dist && 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",
+ "deploy:gcp:purge-cdn": "gcloud compute url-maps invalidate-cdn-cache three-ws-lb --path '/*' --project aerial-vehicle-466722-p5 --async",
"postversion": "git push && git push --tags",
"validate:cards": "node scripts/validate-agent-cards.mjs",
"db:bootstrap": "node scripts/db-bootstrap.mjs",