@agenticmail/enterprise 0.5.376 → 0.5.378

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -933,6 +933,30 @@ AgenticMail automatically configures itself to survive reboots, crashes, and net
933
933
 
934
934
  All persistence setup runs **once on first boot** and writes a marker file. Subsequent boots just save the process list silently.
935
935
 
936
+ ### Self-Update System
937
+
938
+ AgenticMail includes a built-in self-update system — **4 ways to stay current**:
939
+
940
+ | Method | How | Best For |
941
+ |--------|-----|----------|
942
+ | **Dashboard banner** | One-click "Update Now" button when a new version is detected | GUI users |
943
+ | **CLI command** | `agenticmail-enterprise update` | Terminal users |
944
+ | **Auto-update cron** | `agenticmail-enterprise update --cron` — checks every 6 hours | Set and forget |
945
+ | **Background check** | Server checks npm registry on startup + every 6 hours, logs when update available | Awareness |
946
+
947
+ ```bash
948
+ # One command to update everything
949
+ agenticmail-enterprise update
950
+
951
+ # Just check, don't install
952
+ agenticmail-enterprise update --check
953
+
954
+ # Set up automatic updates (cron job / Windows Task Scheduler)
955
+ agenticmail-enterprise update --cron
956
+ ```
957
+
958
+ The update process: installs the latest npm package globally, finds all AgenticMail PM2 processes, restarts them, and saves the PM2 config. Zero downtime for agents — they restart in seconds.
959
+
936
960
  ### Production Log Levels
937
961
 
938
962
  | Level | What Shows |
@@ -988,6 +1012,12 @@ npx @agenticmail/enterprise recover --domain agents.agenticmail.io --key <hex>
988
1012
 
989
1013
  # DNS verification
990
1014
  npx @agenticmail/enterprise verify-domain
1015
+
1016
+ # Self-update
1017
+ npx @agenticmail/enterprise update # Update + restart all services
1018
+ npx @agenticmail/enterprise update --check # Check for updates without installing
1019
+ npx @agenticmail/enterprise update --cron # Set up automatic updates (every 6 hours)
1020
+ npx @agenticmail/enterprise update --no-restart # Update without restarting PM2
991
1021
  ```
992
1022
 
993
1023
  ---