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: check exit codes after esbuild/node-pty rebuild in PowerShell

Adam Eivy66174c496fc2
diff --git a/update.ps1 b/update.ps1
index 89cf8ff820..e9137b6773 100644
--- a/update.ps1
+++ b/update.ps1
@@ -124,8 +124,11 @@ Safe-Install -Dir "autofixer" -Label "autofixer"
# 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
+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Invoke-Logged node server/node_modules/esbuild/install.js
+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Invoke-Logged npm rebuild node-pty --prefix server
+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
Write-SafeHost ""
# Verify critical dependencies exist