@agentcomms/resend 0.7.0 → 0.7.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.
package/dist/cli.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { B as canPrompt, C as policyReport, D as showAccount, E as sendPolicyOf, F as CommsError, G as gatedChangeAtTerminal, H as colorEnabled, I as EXIT_CODES, J as renderInstall, K as installExitStatus, L as agentMarker, M as checkNewName, O as ResendContext, P as CHANNEL_SERVERS, Q as serverPruneChange, R as approvalKind, S as policyChange, T as removeAccountChange, U as escapeForDisplay, X as runCommand, Y as renderPrune, Z as serverInstallChange, _ as runDoctor, a as revokeSendApproval, b as listAccounts, c as downloadReceived, d as listReceived, et as truncateDisplay, f as listScheduled, g as showSentEmail, h as showReceived, i as prepareSend, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, ot as VERSION, p as listSentEmails, q as paint, r as finishSendApproval, s as cancelScheduledChange, t as beginSendApproval, tt as writeResult, u as listDomains, v as addAccountChange, w as policyWanted, x as modeOf, y as inspectKey, z as approveChangeAtTerminal } from "./send-DeGG4u2p.mjs";
2
+ import { B as canPrompt, C as policyReport, D as showAccount, E as sendPolicyOf, F as CommsError, G as gatedChangeAtTerminal, H as colorEnabled, I as EXIT_CODES, J as renderInstall, K as installExitStatus, L as agentMarker, M as checkNewName, O as ResendContext, P as CHANNEL_SERVERS, Q as serverPruneChange, R as approvalKind, S as policyChange, T as removeAccountChange, U as escapeForDisplay, X as runCommand, Y as renderPrune, Z as serverInstallChange, _ as runDoctor, a as revokeSendApproval, b as listAccounts, c as downloadReceived, d as listReceived, et as truncateDisplay, f as listScheduled, g as showSentEmail, h as showReceived, i as prepareSend, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, ot as VERSION, p as listSentEmails, q as paint, r as finishSendApproval, s as cancelScheduledChange, t as beginSendApproval, tt as writeResult, u as listDomains, v as addAccountChange, w as policyWanted, x as modeOf, y as inspectKey, z as approveChangeAtTerminal } from "./send-B6YQKW4u.mjs";
3
3
  import path from "node:path";
4
4
  import { createInterface } from "node:readline/promises";
5
5
  import { stripVTControlCharacters } from "node:util";
@@ -3370,7 +3370,7 @@ Exit codes: 0 ok · 1 unexpected · 10 a send or a change was refused or needs a
3370
3370
  }));
3371
3371
  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) => {
3372
3372
  ran = true;
3373
- const { startResendStdioServer } = await import("./stdio-entry-CbYlbcyJ.mjs");
3373
+ const { startResendStdioServer } = await import("./stdio-entry-DHMhtNI1.mjs");
3374
3374
  await startResendStdioServer({
3375
3375
  ...deps,
3376
3376
  env,
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { at as ROUTES, it as RESEND_DOWNLOAD_ORIGIN, nt as REFUSED, ot as VERSION, rt as RESEND_API_ORIGIN } from "./send-DeGG4u2p.mjs";
2
- import { t as createResendMcpServer } from "./server-CRIgeZCh.mjs";
1
+ import { at as ROUTES, it as RESEND_DOWNLOAD_ORIGIN, nt as REFUSED, ot as VERSION, rt as RESEND_API_ORIGIN } from "./send-B6YQKW4u.mjs";
2
+ import { t as createResendMcpServer } from "./server-BZYkOCyb.mjs";
3
3
  //#region src/index.ts
4
4
  /**
5
5
  * The library entry of `@agentcomms/resend`.
@@ -12,7 +12,7 @@ import { constants as constants$1 } from "node:fs";
12
12
  //#endregion
13
13
  //#region src/version.ts
14
14
  /** The package version, read from package.json at build time. */
15
- const VERSION$1 = "0.7.0";
15
+ const VERSION$1 = "0.7.1";
16
16
  //#endregion
17
17
  //#region src/api/routes.ts
18
18
  /**
@@ -187,7 +187,7 @@ function refusedBecause(method, pathname) {
187
187
  return null;
188
188
  }
189
189
  //#endregion
190
- //#region ../core/dist/servers-BNBTijds.mjs
190
+ //#region ../core/dist/servers-XHOQHOxT.mjs
191
191
  /**
192
192
  * Every failure a user or an agent can act on carries a specific, stable code from this registry, a message, an
193
193
  * optional one-line hint and structured `details`. The code decides the process exit status; agents and skills branch
@@ -5858,7 +5858,7 @@ function wholeNumber(raw, rule) {
5858
5858
  return value;
5859
5859
  }
5860
5860
  /** The package version, read from package.json at build time. */
5861
- const VERSION = "0.7.0";
5861
+ const VERSION = "0.7.1";
5862
5862
  /**
5863
5863
  * Registering, pruning and listing the MCP servers of every channel, from the core.
5864
5864
  *
@@ -6113,7 +6113,7 @@ function serverPruneChange(core, env, request, own) {
6113
6113
  };
6114
6114
  const { packageName, version } = ownProduct(request.channel, own) ?? {
6115
6115
  packageName: channelServer(request.channel).packageName,
6116
- version: "0.7.0"
6116
+ version: "0.7.1"
6117
6117
  };
6118
6118
  const product = {
6119
6119
  packageName,
@@ -6152,7 +6152,7 @@ function serverPruneChange(core, env, request, own) {
6152
6152
  };
6153
6153
  }
6154
6154
  //#endregion
6155
- //#region ../core/dist/tool-arguments-CY2Menl8.mjs
6155
+ //#region ../core/dist/tool-arguments-CXQsEUqg.mjs
6156
6156
  const APPLIED = Symbol.for("agentcomms.strictToolArguments");
6157
6157
  const TARGET = "draft-2020-12";
6158
6158
  /**
@@ -1,4 +1,4 @@
1
- import { $ as toCommsError, A as MODES, C as policyReport, D as showAccount, F as CommsError, N as strictToolArguments, O as ResendContext, S as policyChange, T as removeAccountChange, V as changeToolResult, W as gatedChange, _ as runDoctor, b as listAccounts, c as downloadReceived, d as listReceived, f as listScheduled, g as showSentEmail, h as showReceived, i as prepareSend, j as SEND_POLICIES, k as CHANGE_POLICIES, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, ot as VERSION, p as listSentEmails, s as cancelScheduledChange, u as listDomains, w as policyWanted } from "./send-DeGG4u2p.mjs";
1
+ import { $ as toCommsError, A as MODES, C as policyReport, D as showAccount, F as CommsError, N as strictToolArguments, O as ResendContext, S as policyChange, T as removeAccountChange, V as changeToolResult, W as gatedChange, _ as runDoctor, b as listAccounts, c as downloadReceived, d as listReceived, f as listScheduled, g as showSentEmail, h as showReceived, i as prepareSend, j as SEND_POLICIES, k as CHANGE_POLICIES, l as getMetrics, m as listSuppressions, n as executeSend, o as sendStatus, ot as VERSION, p as listSentEmails, s as cancelScheduledChange, u as listDomains, w as policyWanted } from "./send-B6YQKW4u.mjs";
2
2
  import { S as union, c as boolean, g as object, h as number, s as array, x as string } from "./schemas-DiGKNDNq.mjs";
3
3
  import { t as McpServer } from "./mcp-DXXb3Vv3-Co5BzjYe.mjs";
4
4
  //#region src/mcp/server.ts
@@ -1,4 +1,4 @@
1
- import { t as createResendMcpServer } from "./server-CRIgeZCh.mjs";
1
+ import { t as createResendMcpServer } from "./server-BZYkOCyb.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.7.0",
3
+ "version": "0.7.1",
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",
@@ -38,7 +38,7 @@
38
38
  "@modelcontextprotocol/server": "^2.0.0",
39
39
  "commander": "^15.0.0",
40
40
  "zod": "^4.6.5",
41
- "@agentcomms/core": "0.7.0"
41
+ "@agentcomms/core": "0.7.1"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
@@ -92,7 +92,7 @@
92
92
  "scripts": {
93
93
  "build": "tsdown",
94
94
  "typecheck": "tsc -p tsconfig.json",
95
- "test": "node --experimental-strip-types --test --test-timeout=60000 \"test/**/*.test.ts\""
95
+ "test": "node --experimental-strip-types --test --test-timeout=600000 \"test/**/*.test.ts\""
96
96
  },
97
- "gitHead": "34732ca0ffb03feada69e76f97143413ec5398e4"
97
+ "gitHead": "4c6701c2ee05843704d3619c22a8262248e4e1aa"
98
98
  }