@agentcomms/resend 0.26.1 → 0.27.0
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/cli.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{send-BjDliNlb.mjs → send-DeAqn_hI.mjs} +5 -5
- package/dist/{server-D2WXrDVG.mjs → server-CTpnJkmp.mjs} +1 -1
- package/dist/{stdio-entry-C9gpIGSo.mjs → stdio-entry-C3S26yPG.mjs} +1 -1
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as colorEnabled, A as removeAccountChange, Bt as VERSION, C as inspectKey, Ct as serverPruneChange, D as policyChange, Dt as truncateDisplay, E as policyApprovalRefusal, Ft as RESEND_CALLER, G as UPDATE_CHECK_CHILD_COMMAND, H as CommsError, J as approveRefusedHint, K as agentMarker, M as showAccount, Mt as wholeNumber, Nt as writeResult, O as policyReport, Ot as updateNoticeAtTerminal, P as ResendContext, Q as cliHandoffs, R as checkNewName, S as addAccountChange, St as serverInstallChange, T as modeOf, Tt as terminalUpdateHooks, U as EXIT_CODES, V as CHANNEL_SERVERS, W as PATH_OPTIONS, Y as canPrompt, _ as showSentEmail, _t as renderInstall, a as revokeSendApproval, at as gatedChangeAtTerminal, bt as runCommand, c as downloadReceived, ct as installExitStatus, d as listReceived, et as commandPathOf, f as listScheduled, ft as openCore, g as showReceived, gt as renderApprovalWait, ht as refuseUnclaimedApproval, i as prepareSend, j as sendPolicyOf, jt as waitForApproval, k as policyWanted, l as getMetrics, lt as kindOf, m as listSuppressions, mt as pathOverridesFromCliOptions, n as executeSend, nt as escapeForDisplay, o as sendStatus, ot as handoffSentence, p as listSentEmails, pt as paint, q as approveChangeAtTerminal, r as finishSendApproval, rt as exemptFromUpdateNotice, s as cancelScheduledChange, st as handoffSentenceToFill, t as beginSendApproval, tt as describeFenceReport, u as listDomains, vt as renderPrune, w as listAccounts, x as runDoctor, xt as runUpdateCheckChild, yt as resolvePaths } from "./send-
|
|
2
|
+
import { $ as colorEnabled, A as removeAccountChange, Bt as VERSION, C as inspectKey, Ct as serverPruneChange, D as policyChange, Dt as truncateDisplay, E as policyApprovalRefusal, Ft as RESEND_CALLER, G as UPDATE_CHECK_CHILD_COMMAND, H as CommsError, J as approveRefusedHint, K as agentMarker, M as showAccount, Mt as wholeNumber, Nt as writeResult, O as policyReport, Ot as updateNoticeAtTerminal, P as ResendContext, Q as cliHandoffs, R as checkNewName, S as addAccountChange, St as serverInstallChange, T as modeOf, Tt as terminalUpdateHooks, U as EXIT_CODES, V as CHANNEL_SERVERS, W as PATH_OPTIONS, Y as canPrompt, _ as showSentEmail, _t as renderInstall, a as revokeSendApproval, at as gatedChangeAtTerminal, bt as runCommand, c as downloadReceived, ct as installExitStatus, d as listReceived, et as commandPathOf, f as listScheduled, ft as openCore, g as showReceived, gt as renderApprovalWait, ht as refuseUnclaimedApproval, i as prepareSend, j as sendPolicyOf, jt as waitForApproval, k as policyWanted, l as getMetrics, lt as kindOf, m as listSuppressions, mt as pathOverridesFromCliOptions, n as executeSend, nt as escapeForDisplay, o as sendStatus, ot as handoffSentence, p as listSentEmails, pt as paint, q as approveChangeAtTerminal, r as finishSendApproval, rt as exemptFromUpdateNotice, s as cancelScheduledChange, st as handoffSentenceToFill, t as beginSendApproval, tt as describeFenceReport, u as listDomains, vt as renderPrune, w as listAccounts, x as runDoctor, xt as runUpdateCheckChild, yt as resolvePaths } from "./send-DeAqn_hI.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createInterface } from "node:readline/promises";
|
|
5
5
|
import { stripVTControlCharacters } from "node:util";
|
|
@@ -3488,7 +3488,7 @@ Exit codes: 0 ok · 1 unexpected · 10 a send or a change was refused or needs a
|
|
|
3488
3488
|
}));
|
|
3489
3489
|
const mcp = program.command("mcp").description("run the MCP server on stdio, for a coding agent to connect to").option("--account <name>", "pin the server to one account; every tool then acts on it and no other").action(async (flags) => {
|
|
3490
3490
|
ran = true;
|
|
3491
|
-
const startResendStdioServer = deps.startMcp ?? (await import("./stdio-entry-
|
|
3491
|
+
const startResendStdioServer = deps.startMcp ?? (await import("./stdio-entry-C3S26yPG.mjs")).startResendStdioServer;
|
|
3492
3492
|
const core = coreForInvocation();
|
|
3493
3493
|
await startResendStdioServer({
|
|
3494
3494
|
...deps,
|
package/dist/index.d.mts
CHANGED
|
@@ -2268,7 +2268,7 @@ declare const ZodReadonly: $constructor<ZodReadonly>;
|
|
|
2268
2268
|
/** @deprecated Use z.ZodType (without generics) instead. */
|
|
2269
2269
|
type ZodTypeAny<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
|
|
2270
2270
|
//#endregion
|
|
2271
|
-
//#region ../core/dist/launcher-
|
|
2271
|
+
//#region ../core/dist/launcher-BzQ9fCW3.d.mts
|
|
2272
2272
|
interface RegisteredServer {
|
|
2273
2273
|
client: string;
|
|
2274
2274
|
path: string;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Bt as VERSION, Ft as RESEND_CALLER, H as CommsError, It as REFUSED, Lt as RESEND_API_ORIGIN, N as resendRequest, P as ResendContext, Pt as PACKAGE_NAME, Rt as RESEND_DOWNLOAD_ORIGIN, b as readBody, dt as newBoundary, h as resendId, ut as neutralise, v as addressesOf, wt as stripInvisible, y as attachmentRisks, z as keyPermissionOf, zt as ROUTES } from "./send-
|
|
2
|
-
import { t as createResendMcpServer } from "./server-
|
|
1
|
+
import { Bt as VERSION, Ft as RESEND_CALLER, H as CommsError, It as REFUSED, Lt as RESEND_API_ORIGIN, N as resendRequest, P as ResendContext, Pt as PACKAGE_NAME, Rt as RESEND_DOWNLOAD_ORIGIN, b as readBody, dt as newBoundary, h as resendId, ut as neutralise, v as addressesOf, wt as stripInvisible, y as attachmentRisks, z as keyPermissionOf, zt as ROUTES } from "./send-DeAqn_hI.mjs";
|
|
2
|
+
import { t as createResendMcpServer } from "./server-CTpnJkmp.mjs";
|
|
3
3
|
//#region src/operations/events.ts
|
|
4
4
|
const BODY_LIMIT = 2e4;
|
|
5
5
|
const STATUS = /* @__PURE__ */ new Set([
|
|
@@ -13,7 +13,7 @@ import { gunzipSync } from "node:zlib";
|
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/version.ts
|
|
15
15
|
/** The package version, read from package.json at build time. */
|
|
16
|
-
const VERSION$2 = "0.
|
|
16
|
+
const VERSION$2 = "0.27.0";
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/api/routes.ts
|
|
19
19
|
/**
|
|
@@ -202,7 +202,7 @@ const RESEND_CALLER = Object.freeze({
|
|
|
202
202
|
packageName: PACKAGE_NAME
|
|
203
203
|
});
|
|
204
204
|
//#endregion
|
|
205
|
-
//#region ../core/dist/update-check-
|
|
205
|
+
//#region ../core/dist/update-check-C9CEP2TL.mjs
|
|
206
206
|
/**
|
|
207
207
|
* Every failure a user or an agent can act on carries a specific, stable code from this registry, a message, an
|
|
208
208
|
* optional one-line hint and structured `details`. The code decides the process exit status; agents and skills branch
|
|
@@ -12996,7 +12996,7 @@ function folding(platform) {
|
|
|
12996
12996
|
return platform === "win32" ? (text) => text.toLowerCase() : (text) => text;
|
|
12997
12997
|
}
|
|
12998
12998
|
/** The package version, read from package.json at build time. */
|
|
12999
|
-
const VERSION = "0.
|
|
12999
|
+
const VERSION = "0.27.0";
|
|
13000
13000
|
/**
|
|
13001
13001
|
* The command a person is told to run for one of this suite's own CLIs (design 2026-10-04, D1 and D5; CUE-403).
|
|
13002
13002
|
*
|
|
@@ -17191,7 +17191,7 @@ function serverPruneChange(core, env, request, own) {
|
|
|
17191
17191
|
};
|
|
17192
17192
|
const { packageName, version } = ownProduct(request.channel, own) ?? {
|
|
17193
17193
|
packageName: serverFacts(request.channel).packageName,
|
|
17194
|
-
version: "0.
|
|
17194
|
+
version: "0.27.0"
|
|
17195
17195
|
};
|
|
17196
17196
|
const product = {
|
|
17197
17197
|
packageName,
|
|
@@ -19339,7 +19339,7 @@ function terminalUpdateHooks(core, env, options = {}) {
|
|
|
19339
19339
|
} };
|
|
19340
19340
|
}
|
|
19341
19341
|
//#endregion
|
|
19342
|
-
//#region ../core/dist/tool-arguments-
|
|
19342
|
+
//#region ../core/dist/tool-arguments-BXrf00ur.mjs
|
|
19343
19343
|
const APPLIED = Symbol.for("agentcomms.strictToolArguments");
|
|
19344
19344
|
const TARGET = "draft-2020-12";
|
|
19345
19345
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as removeAccountChange, At as waitCallOptions, B as strictToolArguments, Bt as VERSION, D as policyChange, E as policyApprovalRefusal, Et as toCommsError, F as CHANGE_POLICIES, H as CommsError, I as MODES, L as SEND_POLICIES, M as showAccount, O as policyReport, P as ResendContext, X as changeToolResult, Z as checkForUpdates, _ as showSentEmail, c as downloadReceived, d as listReceived, f as listScheduled, g as showReceived, ht as refuseUnclaimedApproval, i as prepareSend, it as gatedChange, jt as waitForApproval, k as policyWanted, kt as updateToolNotice, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, p as listSentEmails, s as cancelScheduledChange, u as listDomains, w as listAccounts, x as runDoctor } from "./send-
|
|
1
|
+
import { A as removeAccountChange, At as waitCallOptions, B as strictToolArguments, Bt as VERSION, D as policyChange, E as policyApprovalRefusal, Et as toCommsError, F as CHANGE_POLICIES, H as CommsError, I as MODES, L as SEND_POLICIES, M as showAccount, O as policyReport, P as ResendContext, X as changeToolResult, Z as checkForUpdates, _ as showSentEmail, c as downloadReceived, d as listReceived, f as listScheduled, g as showReceived, ht as refuseUnclaimedApproval, i as prepareSend, it as gatedChange, jt as waitForApproval, k as policyWanted, kt as updateToolNotice, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, p as listSentEmails, s as cancelScheduledChange, u as listDomains, w as listAccounts, x as runDoctor } from "./send-DeAqn_hI.mjs";
|
|
2
2
|
import { S as union, c as boolean, g as object, h as number, s as array, x as string } from "./iso-5-9R47LC.mjs";
|
|
3
3
|
import { t as McpServer } from "./mcp-DIH4cS6P-C1s6ZIjc.mjs";
|
|
4
4
|
//#region src/mcp/server.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createResendMcpServer } from "./server-
|
|
1
|
+
import { t as createResendMcpServer } from "./server-CTpnJkmp.mjs";
|
|
2
2
|
//#region src/mcp/stdio-entry.ts
|
|
3
3
|
/**
|
|
4
4
|
* Starting the stdio server. On stdio, **stdout is the protocol**: one stray `console.log` corrupts the stream, so
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentcomms/resend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Resend for coding agents: read domains, sent and received mail, metrics and suppressions, and send mail that nothing sends without a person's approval of exactly what goes out.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"THIRD_PARTY_LICENSES"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@agentcomms/core": "0.
|
|
34
|
+
"@agentcomms/core": "0.27.0"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
37
|
"@napi-rs/keyring": "2.1.2"
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"typecheck": "tsc -p tsconfig.json",
|
|
108
108
|
"test": "node --experimental-strip-types --test --test-timeout=600000 \"test/**/*.test.ts\""
|
|
109
109
|
},
|
|
110
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "9cb31ae29511a6b9424464601540c1ce9584ecea"
|
|
111
111
|
}
|