@agenticmail/enterprise 0.5.376 → 0.5.377
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 +30 -0
- package/logs/cloudflared-error.log +8 -0
- package/package.json +1 -1
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
|
---
|
|
@@ -233,3 +233,11 @@
|
|
|
233
233
|
2026-03-05 22:06:35: 2026-03-05T21:06:35Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
|
|
234
234
|
2026-03-05 22:14:06: 2026-03-05T21:14:06Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
235
235
|
2026-03-05 22:14:06: 2026-03-05T21:14:06Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
|
|
236
|
+
2026-03-05 22:20:35: 2026-03-05T21:20:35Z ERR error="unexpected EOF" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
237
|
+
2026-03-05 22:20:35: 2026-03-05T21:20:35Z ERR Request failed error="unexpected EOF" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
|
|
238
|
+
2026-03-05 22:39:06: 2026-03-05T21:39:06Z ERR error="stream 2997 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
239
|
+
2026-03-05 22:39:06: 2026-03-05T21:39:06Z ERR Request failed error="stream 2997 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream event=0 ip=198.41.192.107 type=http
|
|
240
|
+
2026-03-05 22:39:08: 2026-03-05T21:39:08Z ERR error="stream 2981 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
241
|
+
2026-03-05 22:39:08: 2026-03-05T21:39:08Z ERR Request failed error="stream 2981 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=3eecd57d-03ae-440d-8945-5b35f43a8d90 event=0 ip=198.41.192.107 type=http
|
|
242
|
+
2026-03-05 22:39:14: 2026-03-05T21:39:14Z ERR error="stream 3033 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
243
|
+
2026-03-05 22:39:14: 2026-03-05T21:39:14Z ERR Request failed error="stream 3033 canceled by remote with error code 0" connIndex=0 dest=https://enterprise.agenticmail.io/api/engine/agent-status-stream?agentId=67ba24f1-c8af-40b4-9df5-c05b81fc1e7a event=0 ip=198.41.192.107 type=http
|