5 Commits
Author SHA1 Message Date
nmemmertandClaude Sonnet 4.6 784e539af3 Fix update script: remove server-side client build
Server can't handle the React build. Client is built locally and
committed to git; update-server.sh just pulls and restarts PM2.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-11 15:09:48 -04:00
nmemmertandClaude Sonnet 4.6 65e97f2dae Add agent notifications + fix update script
- scheduler.js: check agents every 2 min — alert on offline/online
  transitions and CPU/memory/disk threshold breaches (90%)
- notificationService.js: sendAgentAlert() sends via email, webhook,
  ntfy, and saves to in-app notifications table
- package.json: pin better-sqlite3 to 9.6.0 (compatible with Node 20)
- update-server.sh: add React client build step; use npm install
  instead of rm -rf + npm ci for faster incremental updates

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-11 14:42:24 -04:00
nmemmertandClaude Sonnet 4.6 0f93d16874 Add build-tool install step to update script
Ensures gcc/g++/python3 are present before npm install so
better-sqlite3 can compile its native binding on a fresh Ubuntu server.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-06 18:19:20 -04:00
Nate Emmert 34986b5760 Harden update script dependency install flow 2026-03-10 15:00:45 -04:00
nmemmert 5174a14d76 Add server update script and package-lock changes 2025-12-11 11:21:55 -05:00