Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

address review: rebuild esbuild/node-pty after npm install in update scripts

Adam Eivy088fc509c2b7
diff --git a/update.ps1 b/update.ps1
index 74acbadbb3..a8d5f29158 100644
--- a/update.ps1
+++ b/update.ps1
@@ -102,6 +102,12 @@ Step "npm-install" "running" "Installing all dependencies..."
Safe-Install -Dir "." -Label "root"
Safe-Install -Dir "client" -Label "client"
Safe-Install -Dir "server" -Label "server"
+
+# Run trusted install scripts skipped by ignore-scripts=true in .npmrc
+Write-SafeHost "🔧 Rebuilding esbuild & node-pty..." -ForegroundColor Yellow
+Invoke-Logged node client/node_modules/esbuild/install.js
+Invoke-Logged node server/node_modules/esbuild/install.js
+Invoke-Logged npm rebuild node-pty --prefix server
Write-SafeHost ""
# Verify critical dependencies exist
diff --git a/update.sh b/update.sh
index 3e6e9f331c..fdcc2de0a1 100755
--- a/update.sh
+++ b/update.sh
@@ -81,6 +81,12 @@ step "npm-install" "running" "Installing all dependencies..."
safe_install .
safe_install client
safe_install server
+
+# Run trusted install scripts skipped by ignore-scripts=true in .npmrc
+log "🔧 Rebuilding esbuild & node-pty..."
+run node client/node_modules/esbuild/install.js
+run node server/node_modules/esbuild/install.js
+run npm rebuild node-pty --prefix server
log ""
# Verify critical dependencies exist