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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: update scripts auto-restart PM2 and add Windows support
Adam Eivy8bbc4ffc2b4f
diff --git a/.changelog/v1.13.x.md b/.changelog/v1.13.x.mdindex 268631dd91..87b24f9614 100644--- a/.changelog/v1.13.x.md+++ b/.changelog/v1.13.x.md@@ -14,6 +14,7 @@ Redesigned MeatSpace overview as a compact grid dashboard surfacing all health d## Improvements- **Death clock date + LEV badge** — overview countdown now shows the projected death date inline, with a green "+LEV" indicator when life expectancy exceeds longevity escape velocity+- **Update scripts auto-restart PM2** — `update.sh` now restarts PM2 apps after pulling and installing deps; added `update.ps1` for Windows parity## Fixesdiff --git a/package-lock.json b/package-lock.jsonindex c4ee0fba90..82230c4567 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "1.13.1",+ "version": "1.13.2","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "1.13.1",+ "version": "1.13.2","license": "MIT","dependencies": {"express": "^4.21.2",diff --git a/package.json b/package.jsonindex 73dbd62753..aabd2c4807 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "1.13.1",+ "version": "1.13.2","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",diff --git a/update.ps1 b/update.ps1new file mode 100644index 0000000000..d1bae54c2d--- /dev/null+++ b/update.ps1@@ -0,0 +1,54 @@+# PortOS Update Script for Windows PowerShell+$ErrorActionPreference = "Stop"++Write-Host "===================================" -ForegroundColor Cyan+Write-Host " PortOS Update" -ForegroundColor Cyan+Write-Host "===================================" -ForegroundColor Cyan+Write-Host ""++# Pull latest+Write-Host "Pulling latest changes..." -ForegroundColor Yellow+git pull --rebase --autostash+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }+Write-Host ""++# Update dependencies+Write-Host "Updating dependencies..." -ForegroundColor Yellow++Write-Host " Installing root dependencies..."+npm install --install-links+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }++Write-Host " Installing client dependencies..."+Push-Location client+npm install+if ($LASTEXITCODE -ne 0) { Pop-Location; exit $LASTEXITCODE }+Pop-Location++Write-Host " Installing server dependencies..."+Push-Location server+npm install+if ($LASTEXITCODE -ne 0) { Pop-Location; exit $LASTEXITCODE }+Pop-Location+Write-Host ""++# Run setup (data dirs + browser deps)+Write-Host "Ensuring data & browser setup..." -ForegroundColor Yellow+npm run setup+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }+Write-Host ""++# Ghostty sync (if installed)+node scripts/setup-ghostty.js+Write-Host ""++# Restart PM2 apps+Write-Host "Restarting PortOS..." -ForegroundColor Yellow+npm run pm2:restart+if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }+Write-Host ""++Write-Host "===================================" -ForegroundColor Green+Write-Host " Update Complete!" -ForegroundColor Green+Write-Host "===================================" -ForegroundColor Green+Write-Host ""diff --git a/update.sh b/update.shindex 805b2b0ed0..c05ea8f498 100755--- a/update.sh+++ b/update.sh@@ -27,11 +27,12 @@ echo ""node scripts/setup-ghostty.jsecho ""+# Restart PM2 apps+echo "Restarting PortOS..."+npm run pm2:restart+echo ""+echo "==================================="echo " Update Complete!"echo "==================================="echo ""-echo "Restart PortOS:"-echo " Development: npm run dev"-echo " Production: npm run pm2:restart"-echo ""