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(audit:deploy): tell a deploy worktree how to restore a drifted package without writing through its hardlinks

nirholas4330f3f075d0
diff --git a/scripts/audit-deploy-artifacts.mjs b/scripts/audit-deploy-artifacts.mjs
index bbbb16368..823f5d99a 100644
--- a/scripts/audit-deploy-artifacts.mjs
+++ b/scripts/audit-deploy-artifacts.mjs
@@ -390,6 +390,9 @@ if (isMain) {
console.error(` ${d.path} locked ${d.locked}, ${d.kind === 'missing' ? 'not installed' : `installed ${d.installed}`}`);
}
if (drift.length > 15) console.error(` ... and ${drift.length - 15} more`);
+ console.error(
+ ' In a deploy worktree node_modules is hardlinked to the shared tree, so do not run npm install or npm ci there: it writes through the links. The shared tree is what drifted (often another agent installing against an uncommitted lockfile). Restore a missing package in the worktree only: `npm pack <name>@<locked version> --pack-destination /tmp`, then untar it into node_modules/<name> with --strip-components=1.',
+ );
}
const elapsed = ((Date.now() - start) / 1000).toFixed(1);