@agenticmail/enterprise 0.5.361 → 0.5.362
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.
|
@@ -2061,7 +2061,13 @@ ${identity.personality.slice(0, 800)}` : "";
|
|
|
2061
2061
|
orgId,
|
|
2062
2062
|
accessToken: currentAccessToken,
|
|
2063
2063
|
refreshToken: refreshTokenFn,
|
|
2064
|
-
provider: providerType
|
|
2064
|
+
provider: providerType,
|
|
2065
|
+
// IMAP/SMTP fields
|
|
2066
|
+
imapHost: emailConfig.imapHost,
|
|
2067
|
+
imapPort: emailConfig.imapPort,
|
|
2068
|
+
smtpHost: emailConfig.smtpHost,
|
|
2069
|
+
smtpPort: emailConfig.smtpPort,
|
|
2070
|
+
password: emailConfig.password
|
|
2065
2071
|
});
|
|
2066
2072
|
const agentName = config.displayName || config.name;
|
|
2067
2073
|
const role = config.identity?.role || "AI Agent";
|
|
@@ -2099,12 +2105,12 @@ Your details:
|
|
|
2099
2105
|
${identity.personality ? `- Personality: ${identity.personality.slice(0, 600)}` : ""}
|
|
2100
2106
|
${identity.tone ? `- Tone: ${identity.tone}` : ""}
|
|
2101
2107
|
|
|
2102
|
-
Write and send a brief, genuine introduction email to your manager. Be yourself \u2014 don't use templates or corporate speak. Mention your role, what you can help with, and that you're ready to get started. Keep it concise (under 200 words). Use the gmail_send or agenticmail_send tool to send it.`,
|
|
2108
|
+
Write and send a brief, genuine introduction email to your manager. Be yourself \u2014 don't use templates or corporate speak. Mention your role, what you can help with, and that you're ready to get started. Keep it concise (under 200 words). Use the ${providerType === "imap" ? "email_send" : "gmail_send or agenticmail_send"} tool to send it.`,
|
|
2103
2109
|
systemPrompt: `You are ${agentName}, a ${role}. ${identity.personality || ""}
|
|
2104
2110
|
|
|
2105
2111
|
You have email tools available. Send ONE email to introduce yourself to your manager. Be genuine and concise. Do NOT send more than one email.
|
|
2106
2112
|
|
|
2107
|
-
Available tools: gmail_send (to, subject, body) or agenticmail_send (to, subject, body).`
|
|
2113
|
+
Available tools: ${providerType === "imap" ? "email_send (to, subject, body)" : "gmail_send (to, subject, body) or agenticmail_send (to, subject, body)"}.`
|
|
2108
2114
|
});
|
|
2109
2115
|
console.log(`[welcome] \u2705 Welcome email session ${welcomeSession.id} created`);
|
|
2110
2116
|
if (memoryManager) {
|
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-4ISAILXX.js").then((m) => m.runAgent(args.slice(1))).catch(fatal);
|
|
64
64
|
break;
|
|
65
65
|
case "setup":
|
|
66
66
|
default:
|