@agenticmail/openclaw 0.3.0 → 0.3.1

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -521,7 +521,7 @@ function registerTools(api, ctx, subagentAccounts2, coordination) {
521
521
  html: { type: "string", description: "HTML body" },
522
522
  cc: { type: "string", description: "CC recipients" },
523
523
  inReplyTo: { type: "string", description: "Message-ID to reply to" },
524
- references: { type: "array", description: "Message-IDs for threading" },
524
+ references: { type: "array", items: { type: "string" }, description: "Message-IDs for threading" },
525
525
  attachments: {
526
526
  type: "array",
527
527
  items: {
@@ -901,7 +901,7 @@ ${orig.text || ""}`;
901
901
  reg("agenticmail_batch_delete", {
902
902
  description: "Delete multiple emails by UIDs",
903
903
  parameters: {
904
- uids: { type: "array", required: true, description: "UIDs to delete" },
904
+ uids: { type: "array", items: { type: "number" }, required: true, description: "UIDs to delete" },
905
905
  folder: { type: "string", description: "Folder (default: INBOX)" }
906
906
  },
907
907
  handler: async (params) => {
@@ -917,7 +917,7 @@ ${orig.text || ""}`;
917
917
  reg("agenticmail_batch_mark_read", {
918
918
  description: "Mark multiple emails as read",
919
919
  parameters: {
920
- uids: { type: "array", required: true, description: "UIDs to mark as read" },
920
+ uids: { type: "array", items: { type: "number" }, required: true, description: "UIDs to mark as read" },
921
921
  folder: { type: "string", description: "Folder (default: INBOX)" }
922
922
  },
923
923
  handler: async (params) => {
@@ -1188,7 +1188,7 @@ ${orig.text || ""}`;
1188
1188
  reg("agenticmail_purchase_domain", {
1189
1189
  description: "Search for available domains via Cloudflare Registrar (requires master key). NOTE: Cloudflare API only supports READ access for registrar \u2014 domains must be purchased manually. Use this tool to CHECK availability, then direct the user to purchase at https://dash.cloudflare.com/?to=/:account/domain-registration or from Namecheap/other registrars (then point nameservers to Cloudflare).",
1190
1190
  parameters: {
1191
- keywords: { type: "array", required: true, description: "Search keywords" },
1191
+ keywords: { type: "array", items: { type: "string" }, required: true, description: "Search keywords" },
1192
1192
  tld: { type: "string", description: "Preferred TLD" }
1193
1193
  },
1194
1194
  handler: async (params) => {
@@ -1344,7 +1344,7 @@ ${orig.text || ""}`;
1344
1344
  reg("agenticmail_batch_mark_unread", {
1345
1345
  description: "Mark multiple emails as unread",
1346
1346
  parameters: {
1347
- uids: { type: "array", required: true, description: "UIDs to mark as unread" },
1347
+ uids: { type: "array", items: { type: "number" }, required: true, description: "UIDs to mark as unread" },
1348
1348
  folder: { type: "string", description: "Folder (default: INBOX)" }
1349
1349
  },
1350
1350
  handler: async (params) => {
@@ -1625,7 +1625,7 @@ ${orig.text || ""}`;
1625
1625
  reg("agenticmail_batch_move", {
1626
1626
  description: "Move multiple emails to another folder",
1627
1627
  parameters: {
1628
- uids: { type: "array", required: true, description: "UIDs to move" },
1628
+ uids: { type: "array", items: { type: "number" }, required: true, description: "UIDs to move" },
1629
1629
  from: { type: "string", description: "Source folder (default: INBOX)" },
1630
1630
  to: { type: "string", required: true, description: "Destination folder" }
1631
1631
  },
@@ -1642,7 +1642,7 @@ ${orig.text || ""}`;
1642
1642
  reg("agenticmail_batch_read", {
1643
1643
  description: "Read multiple emails at once by UIDs. Returns full parsed content for each. Much more efficient than reading one at a time \u2014 saves tokens by batching N reads into 1 call.",
1644
1644
  parameters: {
1645
- uids: { type: "array", required: true, description: "Array of UIDs to read" },
1645
+ uids: { type: "array", items: { type: "number" }, required: true, description: "Array of UIDs to read" },
1646
1646
  folder: { type: "string", description: "Folder (default: INBOX)" }
1647
1647
  },
1648
1648
  handler: async (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/openclaw",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "OpenClaw plugin and skill for AgenticMail",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",