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): ship the services directory so the home relay handlers resolve in production

nirholasd668ceece941
diff --git a/.gcloudignore b/.gcloudignore
index 9dc315214..42639e430 100644
--- a/.gcloudignore
+++ b/.gcloudignore
@@ -51,6 +51,15 @@
!/walk-sdk/
!/tour-sdk/
!/agents/
+# services/ (644K, no node_modules) holds the long-running side services, and two
+# api/** handlers import straight out of it: api/_lib/home/relay.js pulls
+# services/home-relay/src/token.js and api/home/satellite.js pulls
+# services/home-satellite/src/token.js. It was never re-included, so revision
+# 00412 answered /api/healthz (and every home relay route) with
+# ERR_MODULE_NOT_FOUND on 2026-09-04, found in live Cloud Run stderr. Exact same
+# failure shape as the agents/ entry above, which is why check-gcloudignore.mjs
+# now asserts both token modules land in the upload.
+!/services/
# .agents/skills (2.2 MB, 210 files) is the skill catalog workers/okx-chat-bot's
# Dockerfile copies with `COPY .agents/skills ./.agents/skills`, so the AI
# subsession answering marketplace buyers boots knowing the task/chat lifecycle
diff --git a/scripts/check-gcloudignore.mjs b/scripts/check-gcloudignore.mjs
index b1e398860..1d4d39a16 100644
--- a/scripts/check-gcloudignore.mjs
+++ b/scripts/check-gcloudignore.mjs
@@ -133,6 +133,16 @@ const REQUIRED = [
why: 'api/fact-check-benchmark.js renders it; api/cron/fact-check-benchmark.js runs it',
},
{ path: 'public', kind: 'dir', why: 'static assets served by the container' },
+ {
+ path: 'services/home-relay/src/token.js',
+ kind: 'file',
+ why: 'api/_lib/home/relay.js imports it; without it /api/healthz 500s ERR_MODULE_NOT_FOUND',
+ },
+ {
+ path: 'services/home-satellite/src/token.js',
+ kind: 'file',
+ why: 'api/home/satellite.js imports it; same ERR_MODULE_NOT_FOUND shape',
+ },
];
// ── gitignore-syntax matcher ─────────────────────────────────────────────────