@agenticmail/claudecode 0.2.1 → 0.2.2
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.
|
@@ -12462,15 +12462,26 @@ function newMailPrompt(agent, event) {
|
|
|
12462
12462
|
` see ./foo.py, runs with \`python3 foo.py\`"); the filesystem is for`,
|
|
12463
12463
|
` DELIVERABLES. Then:`,
|
|
12464
12464
|
` reply_email({ uid: ${uid ?? "<uid>"}, replyAll: true, text: "...", _account: "${agent.name}" })`,
|
|
12465
|
-
` Sign with your name. Be substantive but concise
|
|
12466
|
-
|
|
12467
|
-
`
|
|
12468
|
-
`
|
|
12469
|
-
`
|
|
12470
|
-
`
|
|
12471
|
-
`
|
|
12472
|
-
`
|
|
12473
|
-
`
|
|
12465
|
+
` Sign with your name. Be substantive but concise.`,
|
|
12466
|
+
``,
|
|
12467
|
+
` ## Reply addressing \u2014 CRITICAL for wake control`,
|
|
12468
|
+
` reply_email({ replyAll: true }) automatically builds the right shape:`,
|
|
12469
|
+
` the ORIGINAL SENDER ends up on To (so they wake by default),`,
|
|
12470
|
+
` every other participant ends up on Cc (so they see it without`,
|
|
12471
|
+
` waking). DO NOT pass a hand-rolled comma-separated address list`,
|
|
12472
|
+
` via send_email \u2014 that puts every recipient on To and re-wakes`,
|
|
12473
|
+
` the whole thread, defeating the wake gating. Trust replyAll.`,
|
|
12474
|
+
``,
|
|
12475
|
+
` If you want to wake someone OTHER than the original sender`,
|
|
12476
|
+
` (e.g. you are handing off to a different next actor), name them`,
|
|
12477
|
+
` explicitly in the reply body ("Orion \u2014 over to you, please\u2026")`,
|
|
12478
|
+
` AND pass \`wake: ["orion"]\` so the dispatcher gives them a`,
|
|
12479
|
+
` Claude turn instead. Example:`,
|
|
12480
|
+
` reply_email({ uid, replyAll: true, text: "Orion \u2014 your turn \u2026",`,
|
|
12481
|
+
` wake: ["orion"], _account: "${agent.name}" })`,
|
|
12482
|
+
` If nobody specific is next (the work is complete and you're just`,
|
|
12483
|
+
` signing off), pass \`wake: []\` to deliver silently \u2014 every`,
|
|
12484
|
+
` participant still sees the reply, no Claude turn is spawned.`,
|
|
12474
12485
|
``,
|
|
12475
12486
|
`7. **If you need additional help from a teammate not yet on the thread,**`,
|
|
12476
12487
|
` include them by CC'ing in your reply-all \u2014 DO NOT spin up a separate`,
|
package/dist/dispatcher-bin.js
CHANGED
package/dist/dispatcher.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agenticmail/claudecode",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Claude Code integration for AgenticMail — surfaces every AgenticMail agent as a native Claude Code subagent so any Claude Code session can delegate to them with the Agent tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"prepublishOnly": "npm run build"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@agenticmail/mcp": "^0.9.
|
|
50
|
+
"@agenticmail/mcp": "^0.9.2",
|
|
51
51
|
"@anthropic-ai/claude-agent-sdk": "^0.2.140"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|