@agenticmail/claudecode 0.2.18 → 0.2.19
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/{chunk-O7S3FYJT.js → chunk-7FQNH2YO.js} +29 -0
- package/dist/{chunk-OMUB5FRY.js → chunk-HCZTDR4T.js} +1 -1
- package/dist/{chunk-WC5ZK4RG.js → chunk-N6OG2X3V.js} +1 -1
- package/dist/{chunk-4NKBITBR.js → chunk-NCV65VKS.js} +1 -1
- package/dist/{chunk-EWHWSNAQ.js → chunk-QXFCUEN3.js} +4 -4
- package/dist/{chunk-7D3D7T34.js → chunk-ZVIW6BL2.js} +1 -1
- package/dist/cli.js +4 -4
- package/dist/dispatcher-bin.js +2 -2
- package/dist/dispatcher.js +2 -2
- package/dist/http-routes.js +5 -5
- package/dist/index.js +6 -6
- package/dist/install.js +2 -2
- package/dist/status.js +2 -2
- package/dist/uninstall.js +2 -2
- package/package.json +1 -1
|
@@ -273,6 +273,35 @@ function renderPersonaBody(input) {
|
|
|
273
273
|
"",
|
|
274
274
|
`**Closing a thread.** When the work is genuinely done and no more contributions are needed, send a wrap-up reply with one of these markers in the subject: \`[FINAL]\`, \`[DONE]\`, \`[CLOSED]\`, or \`[WRAP]\` PAIRED with \`wake: []\`. The marker tells the dispatcher to stop waking workers; the empty wake confirms you mean it. Use this when YOU are the one signing off the work, not as a routine ack. ANY OTHER use of \`wake: []\` is a bug.`,
|
|
275
275
|
"",
|
|
276
|
+
`**Handing off to the host bridge (\`claudecode\` / \`codex\`) \u2014 read this carefully too.** The host bridge inboxes belong to the HUMAN OPERATOR's host session, not to an automated worker. The dispatcher DOES NOT spawn worker turns for them \u2014 they're surfaced to the operator via host-session hooks (Stop / UserPromptSubmit) when the operator's CLI is actively running. If no host session is open, mail to the bridge sits unread.`,
|
|
277
|
+
"",
|
|
278
|
+
`Practical implications:`,
|
|
279
|
+
` \xB7 DO NOT use bridge handoffs as a default "punt the baton when you don't know what to do" move. The chain dies if the operator isn't watching.`,
|
|
280
|
+
` \xB7 BEFORE handing off to the bridge, ask: is there a teammate (another sub-agent) who could decide this instead? If yes, route to them and CC the bridge as an FYI observer (do not name the bridge in \`wake\`).`,
|
|
281
|
+
` \xB7 ONLY hand off to the bridge when you genuinely need the operator's judgment \u2014 billing-side rate limits, scope changes, architectural calls only the human can make, ambiguous spec questions where no sub-agent has authority. Treat it like paging a human at 2am: legitimate sometimes, rude often.`,
|
|
282
|
+
` \xB7 WHEN you must escalate, mark the subject with \`[NEEDS OPERATOR]\` or \`[BLOCKED]\` so the operator's notification feed surfaces it. State the exact question + the options + your recommendation in the body. Don't make them re-read the thread.`,
|
|
283
|
+
` \xB7 You can name the bridge in \`wake: ["claudecode"]\` / \`wake: ["codex"]\` to signal intent \u2014 the dispatcher still won't spawn a worker (bridges are filtered), but the web UI's notification sound + system event still fires so an attentive operator hears it.`,
|
|
284
|
+
"",
|
|
285
|
+
`Example \u2014 correct operator-escalation:`,
|
|
286
|
+
"",
|
|
287
|
+
"```",
|
|
288
|
+
`${tool("reply_email")}({ uid: 42, replyAll: true, _account: "${agent.name}",`,
|
|
289
|
+
` subject: "[NEEDS OPERATOR] Slice 4 \u2014 Stripe vs Lemon Squeezy",`,
|
|
290
|
+
` text: "Team: I've prototyped both. Stripe = better SDK, more compliance work. Lemon = faster ship, 5% take.\\nThis is a business call, not a code call. Operator \u2014 your pick?\\n\\nMy recommendation: Lemon for v0, swap later.",`,
|
|
291
|
+
` wake: ["claudecode"] }) // signals intent; doesn't spawn a worker`,
|
|
292
|
+
"```",
|
|
293
|
+
"",
|
|
294
|
+
`Example \u2014 WRONG (this is how threads die):`,
|
|
295
|
+
"",
|
|
296
|
+
"```",
|
|
297
|
+
`// You finished your slice and don't know who's next. DO NOT do this:`,
|
|
298
|
+
`${tool("reply_email")}({ uid: 42, replyAll: true, _account: "${agent.name}",`,
|
|
299
|
+
` text: "Shipped my slice. Claudecode \u2014 over to you for next steps.",`,
|
|
300
|
+
` wake: ["claudecode"] })`,
|
|
301
|
+
`// Bridge sits unread until the operator notices.`,
|
|
302
|
+
`// Instead: bounce the baton to a teammate who can act, e.g. wake: ["vesper"].`,
|
|
303
|
+
"```",
|
|
304
|
+
"",
|
|
276
305
|
`**When to use \`${tool("call_agent")}\` instead:** only when you need ONE structured answer from ONE teammate, inline in your current turn \u2014 e.g. "give me a JSON list of X". For multi-step / multi-agent work, the thread pattern above is the right primitive.`,
|
|
277
306
|
"",
|
|
278
307
|
`On-demand (via invoke) examples \u2014 anything NOT in the pre-loaded list:`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
status
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HCZTDR4T.js";
|
|
4
4
|
import {
|
|
5
5
|
uninstall
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZVIW6BL2.js";
|
|
7
7
|
import {
|
|
8
8
|
install
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NCV65VKS.js";
|
|
10
10
|
import {
|
|
11
11
|
AgenticMailApiError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7FQNH2YO.js";
|
|
13
13
|
|
|
14
14
|
// src/http-routes.ts
|
|
15
15
|
import { Router } from "express";
|
package/dist/cli.js
CHANGED
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
} from "./chunk-B5JDOV32.js";
|
|
7
7
|
import {
|
|
8
8
|
status
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HCZTDR4T.js";
|
|
10
10
|
import {
|
|
11
11
|
uninstall
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZVIW6BL2.js";
|
|
13
13
|
import {
|
|
14
14
|
install
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NCV65VKS.js";
|
|
16
16
|
import "./chunk-SWDS64K2.js";
|
|
17
17
|
import "./chunk-7DGWW72Q.js";
|
|
18
18
|
import {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
listAccounts,
|
|
21
21
|
resolveConfig,
|
|
22
22
|
setAccountHost
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7FQNH2YO.js";
|
|
24
24
|
|
|
25
25
|
// src/cli.ts
|
|
26
26
|
var GREEN = (s) => `\x1B[32m${s}\x1B[0m`;
|
package/dist/dispatcher-bin.js
CHANGED
package/dist/dispatcher.js
CHANGED
package/dist/http-routes.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createIntegrationRoutes
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-QXFCUEN3.js";
|
|
4
|
+
import "./chunk-HCZTDR4T.js";
|
|
5
|
+
import "./chunk-ZVIW6BL2.js";
|
|
6
|
+
import "./chunk-NCV65VKS.js";
|
|
7
7
|
import "./chunk-SWDS64K2.js";
|
|
8
8
|
import "./chunk-7DGWW72Q.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-7FQNH2YO.js";
|
|
10
10
|
export {
|
|
11
11
|
createIntegrationRoutes
|
|
12
12
|
};
|
package/dist/index.js
CHANGED
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Dispatcher,
|
|
8
8
|
loadPersonaForAgent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N6OG2X3V.js";
|
|
10
10
|
import {
|
|
11
11
|
createIntegrationRoutes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QXFCUEN3.js";
|
|
13
13
|
import {
|
|
14
14
|
status
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HCZTDR4T.js";
|
|
16
16
|
import {
|
|
17
17
|
uninstall
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZVIW6BL2.js";
|
|
19
19
|
import {
|
|
20
20
|
install
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NCV65VKS.js";
|
|
22
22
|
import "./chunk-SWDS64K2.js";
|
|
23
23
|
import "./chunk-7DGWW72Q.js";
|
|
24
24
|
import {
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
renderPersonaBody,
|
|
33
33
|
renderSubagentMarkdown,
|
|
34
34
|
resolveConfig
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-7FQNH2YO.js";
|
|
36
36
|
export {
|
|
37
37
|
AgenticMailApiError,
|
|
38
38
|
Dispatcher,
|
package/dist/install.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
install,
|
|
3
3
|
selectExposableAgents
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NCV65VKS.js";
|
|
5
5
|
import "./chunk-SWDS64K2.js";
|
|
6
6
|
import "./chunk-7DGWW72Q.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-7FQNH2YO.js";
|
|
8
8
|
export {
|
|
9
9
|
install,
|
|
10
10
|
selectExposableAgents
|
package/dist/status.js
CHANGED
package/dist/uninstall.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.19",
|
|
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",
|