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): stop a sparse .env.local from shadowing .env in the migrations runner
nirholas2441a6ab4d1f
diff --git a/scripts/apply-migrations.mjs b/scripts/apply-migrations.mjsindex 0c0716a23..f3e14d77b 100755--- a/scripts/apply-migrations.mjs+++ b/scripts/apply-migrations.mjs@@ -30,7 +30,9 @@ const HERE = path.dirname(fileURLToPath(import.meta.url));const REPO_ROOT = path.resolve(HERE, '..');const MIG_DIR = path.resolve(REPO_ROOT, 'api', '_lib', 'migrations');-// Load .env.local if present (same pattern as seed-skills.js)+// Load .env.local then .env; first definition wins, so .env.local overrides+// .env without shadowing keys it doesn't define (a sparse .env.local used to+// stop .env from being read at all, which broke db:check in deploy worktrees).for (const envFile of ['.env.local', '.env']) {try {const raw = readFileSync(path.resolve(REPO_ROOT, envFile), 'utf8');@@ -43,7 +45,6 @@ for (const envFile of ['.env.local', '.env']) {}process.env[m[1]] = val;}- break;} catch { /* file not present */ }}