@agenticmail/openclaw 0.5.38 → 0.5.39

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 CHANGED
@@ -184,7 +184,7 @@ Plugin configuration lives in `~/.openclaw/openclaw.json` (user config), not in
184
184
 
185
185
  | Tool | Description |
186
186
  |------|-------------|
187
- | `agenticmail_assign_task` | Assign a task to another agent (async, with optional expiration) |
187
+ | `agenticmail_call_agent` | Call another agent with a task (sync or async, auto-spawns sessions) |
188
188
  | `agenticmail_check_tasks` | Check incoming tasks (assigned to me) or outgoing tasks (I assigned) |
189
189
  | `agenticmail_claim_task` | Claim a pending task |
190
190
  | `agenticmail_submit_result` | Submit result for a claimed task |
package/REFERENCE.md CHANGED
@@ -446,8 +446,6 @@ Uses SSE push with polling fallback. Returns email or task events.
446
446
 
447
447
  ### Task Queue
448
448
 
449
- **agenticmail_assign_task:** `{assignee, taskType?, payload?, expiresInSeconds?}`
450
-
451
449
  **agenticmail_check_tasks:** `{direction: "incoming"|"outgoing", assignee?}`
452
450
 
453
451
  **agenticmail_claim_task:** `{id}`
@@ -54,7 +54,6 @@
54
54
  "agenticmail_message_agent",
55
55
  "agenticmail_check_messages",
56
56
  "agenticmail_wait_for_email",
57
- "agenticmail_assign_task",
58
57
  "agenticmail_check_tasks",
59
58
  "agenticmail_claim_task",
60
59
  "agenticmail_submit_result",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/openclaw",
3
- "version": "0.5.38",
3
+ "version": "0.5.39",
4
4
  "description": "OpenClaw plugin for AgenticMail \u2014 email, SMS, and phone number access for OpenClaw agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/skill/SKILL.md CHANGED
@@ -84,11 +84,11 @@ That's it. The command sets up the mail server, creates an agent account, config
84
84
  ### Agent Task Queue (5 tools)
85
85
  | Tool | Description |
86
86
  |------|-------------|
87
- | `agenticmail_assign_task` | Assign a task to another agent via task queue |
87
+ | `agenticmail_call_agent` | Call another agent (sync or async). Preferred method for all delegation. |
88
88
  | `agenticmail_check_tasks` | Check pending tasks (incoming or outgoing) |
89
89
  | `agenticmail_claim_task` | Claim a pending task assigned to you |
90
90
  | `agenticmail_submit_result` | Submit result for a claimed task |
91
- | `agenticmail_call_agent` | Synchronous RPC call to another agent with timeout |
91
+ | `agenticmail_complete_task` | Claim + submit in one call (for light-mode tasks) |
92
92
 
93
93
  ### Account Management (6 tools)
94
94
  | Tool | Description |
@@ -124,14 +124,14 @@ That's it. The command sets up the mail server, creates an agent account, config
124
124
  | `sessions_spawn(task)` then poll `sessions_history` | `agenticmail_call_agent(target, task)` | One call, structured JSON result back. No polling. |
125
125
  | `sessions_send(sessionKey, msg)` | `agenticmail_message_agent(name, subject, text)` | By agent name, not session key. Persistent. |
126
126
  | `sessions_list` + `sessions_history` (poll) | `agenticmail_check_tasks` or `agenticmail_wait_for_email` | Structured status tracking or push-based wait. |
127
- | *(no equivalent)* | `agenticmail_assign_task` | Async task delegation with lifecycle tracking. |
127
+ | *(no equivalent)* | `agenticmail_call_agent(async=true)` | Async delegation agent runs independently and notifies when done. |
128
128
  | *(no equivalent)* | `agenticmail_claim_task` + `agenticmail_submit_result` | Agent claims work, submits structured results. |
129
129
  | *(no equivalent)* | `agenticmail_list_agents` | Discover all available agents by name and role. |
130
130
 
131
131
  ### When to Use What
132
132
 
133
- - **Need a result back?** → `agenticmail_call_agent` (sync RPC, up to 5 min)
134
- - **Delegating work for later?** → `agenticmail_assign_task` → `agenticmail_check_tasks`
133
+ - **Need a result back?** → `agenticmail_call_agent(target, task)` (sync RPC, up to 10 min)
134
+ - **Delegating work for later?** → `agenticmail_call_agent(target, task, async=true)` → `agenticmail_check_tasks`
135
135
  - **Messaging an agent?** → `agenticmail_message_agent` (by name)
136
136
  - **Waiting for a reply?** → `agenticmail_wait_for_email` (push, not polling)
137
137
  - **Finding agents?** → `agenticmail_list_agents`