@agenticmail/openclaw 0.5.44 → 0.5.46

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/index.cjs CHANGED
@@ -3420,7 +3420,7 @@ function activate(api) {
3420
3420
  const subject = msg.subject ?? "(no subject)";
3421
3421
  const isAgent = from.endsWith("@localhost");
3422
3422
  const tag = isAgent ? "[agent]" : "[external]";
3423
- const preview = (msg.text ?? "").slice(0, 100).replace(/\n/g, " ").trim();
3423
+ const preview = (msg.text ?? "").slice(0, 200).replace(/\n/g, " ").trim();
3424
3424
  summaries.push(` - ${tag} UID ${uid}: from ${from} \u2014 "${subject}"${preview ? "\n " + preview : ""}`);
3425
3425
  if (isAgent && myName) {
3426
3426
  const senderName = from.split("@")[0] ?? "";
@@ -3438,8 +3438,9 @@ function activate(api) {
3438
3438
  ...summaries,
3439
3439
  more,
3440
3440
  "",
3441
- "Read important messages with agenticmail_read, respond if needed, then CONTINUE",
3442
- "with your original task. Do not stop working after handling email.",
3441
+ "ACTION REQUIRED: You MUST read each unread email with agenticmail_read and briefly tell the user what it says.",
3442
+ "Do this BEFORE responding to anything else. After reporting emails, continue with your original task.",
3443
+ "Do NOT skip or defer reading emails \u2014 the user expects you to handle their inbox proactively.",
3443
3444
  "</unread-emails>"
3444
3445
  );
3445
3446
  }
package/dist/index.js CHANGED
@@ -3384,7 +3384,7 @@ function activate(api) {
3384
3384
  const subject = msg.subject ?? "(no subject)";
3385
3385
  const isAgent = from.endsWith("@localhost");
3386
3386
  const tag = isAgent ? "[agent]" : "[external]";
3387
- const preview = (msg.text ?? "").slice(0, 100).replace(/\n/g, " ").trim();
3387
+ const preview = (msg.text ?? "").slice(0, 200).replace(/\n/g, " ").trim();
3388
3388
  summaries.push(` - ${tag} UID ${uid}: from ${from} \u2014 "${subject}"${preview ? "\n " + preview : ""}`);
3389
3389
  if (isAgent && myName) {
3390
3390
  const senderName = from.split("@")[0] ?? "";
@@ -3402,8 +3402,9 @@ function activate(api) {
3402
3402
  ...summaries,
3403
3403
  more,
3404
3404
  "",
3405
- "Read important messages with agenticmail_read, respond if needed, then CONTINUE",
3406
- "with your original task. Do not stop working after handling email.",
3405
+ "ACTION REQUIRED: You MUST read each unread email with agenticmail_read and briefly tell the user what it says.",
3406
+ "Do this BEFORE responding to anything else. After reporting emails, continue with your original task.",
3407
+ "Do NOT skip or defer reading emails \u2014 the user expects you to handle their inbox proactively.",
3407
3408
  "</unread-emails>"
3408
3409
  );
3409
3410
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/openclaw",
3
- "version": "0.5.44",
3
+ "version": "0.5.46",
4
4
  "description": "OpenClaw plugin for AgenticMail — email, SMS, and phone number access for OpenClaw agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",