@agenticmail/enterprise 0.5.360 → 0.5.361
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/dist/{agenticmail-QMWQNUY2.js → agenticmail-ETOYJ3FP.js} +1 -1
- package/dist/{chunk-G4YSECQ4.js → chunk-EPMO34YI.js} +11 -1
- package/dist/{cli-agent-5KFTOCOK.js → cli-agent-SPRH4SP5.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/logs/cloudflared-error.log +6 -0
- package/package.json +1 -1
|
@@ -590,7 +590,17 @@ var ImapEmailProvider = class {
|
|
|
590
590
|
// ─── Connection ─────────────────────────────────────
|
|
591
591
|
async connect(identity) {
|
|
592
592
|
const imapIdentity = identity;
|
|
593
|
-
if (!imapIdentity.imapHost
|
|
593
|
+
if (!imapIdentity.imapHost && imapIdentity.smtpHost) {
|
|
594
|
+
const smtp = imapIdentity.smtpHost;
|
|
595
|
+
if (smtp.includes("smtp.gmail")) imapIdentity.imapHost = "imap.gmail.com";
|
|
596
|
+
else if (smtp.includes("smtp.office365") || smtp.includes("smtp.outlook")) imapIdentity.imapHost = "outlook.office365.com";
|
|
597
|
+
else if (smtp.includes("smtp.yahoo")) imapIdentity.imapHost = "imap.mail.yahoo.com";
|
|
598
|
+
else if (smtp.includes("smtp.zoho")) imapIdentity.imapHost = "imap.zoho.com";
|
|
599
|
+
else if (smtp.includes("smtp.fastmail")) imapIdentity.imapHost = "imap.fastmail.com";
|
|
600
|
+
else if (smtp.includes("smtp.mail.me")) imapIdentity.imapHost = "imap.mail.me.com";
|
|
601
|
+
else imapIdentity.imapHost = smtp.replace("smtp.", "imap.");
|
|
602
|
+
}
|
|
603
|
+
if (!imapIdentity.imapHost) throw new Error("IMAP host is required (set imapHost or smtpHost)");
|
|
594
604
|
if (!imapIdentity.smtpHost) throw new Error("SMTP host is required");
|
|
595
605
|
this.identity = imapIdentity;
|
|
596
606
|
try {
|
|
@@ -2016,7 +2016,7 @@ ${identity.personality.slice(0, 800)}` : "";
|
|
|
2016
2016
|
if (managerEmail && emailConfig) {
|
|
2017
2017
|
console.log(`[welcome] Sending introduction email to ${managerEmail}...`);
|
|
2018
2018
|
try {
|
|
2019
|
-
const { createEmailProvider } = await import("./agenticmail-
|
|
2019
|
+
const { createEmailProvider } = await import("./agenticmail-ETOYJ3FP.js");
|
|
2020
2020
|
const providerType = emailConfig.provider || (emailConfig.oauthProvider === "google" ? "google" : emailConfig.oauthProvider === "microsoft" ? "microsoft" : "imap");
|
|
2021
2021
|
const emailProvider = createEmailProvider(providerType);
|
|
2022
2022
|
let currentAccessToken = emailConfig.oauthAccessToken;
|
package/dist/cli.js
CHANGED
|
@@ -60,7 +60,7 @@ Skill Development:
|
|
|
60
60
|
import("./cli-serve-2MX7MWVM.js").then((m) => m.runServe(args.slice(1))).catch(fatal);
|
|
61
61
|
break;
|
|
62
62
|
case "agent":
|
|
63
|
-
import("./cli-agent-
|
|
63
|
+
import("./cli-agent-SPRH4SP5.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
|
|
64
64
|
break;
|
|
65
65
|
case "setup":
|
|
66
66
|
default:
|
package/dist/index.js
CHANGED
|
@@ -153,3 +153,9 @@
|
|
|
153
153
|
2026-03-05 19:55:49: 2026-03-05T18:55:49Z ERR Request failed error="stream 753 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
|
|
154
154
|
2026-03-05 19:56:02: 2026-03-05T18:56:02Z ERR error="stream 913 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
155
155
|
2026-03-05 19:56:02: 2026-03-05T18:56:02Z ERR Request failed error="stream 913 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
|
|
156
|
+
2026-03-05 20:36:03: 2026-03-05T19:36:03Z ERR error="stream 897 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
157
|
+
2026-03-05 20:36:03: 2026-03-05T19:36:03Z ERR Request failed error="stream 897 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
|
|
158
|
+
2026-03-05 20:36:07: 2026-03-05T19:36:07Z ERR error="stream 993 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
159
|
+
2026-03-05 20:36:07: 2026-03-05T19:36:07Z ERR Request failed error="stream 993 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
|
|
160
|
+
2026-03-05 20:36:34: 2026-03-05T19:36:34Z ERR error="stream 1381 canceled by remote with error code 0" connIndex=0 event=1 ingressRule=0 originService=http://localhost:3100
|
|
161
|
+
2026-03-05 20:36:34: 2026-03-05T19:36:34Z ERR Request failed error="stream 1381 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
|