@agentcomms/resend 0.12.3 → 0.13.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/index.mjs CHANGED
@@ -1,16 +1,15 @@
1
- import { _t as REFUSED, bt as ROUTES, vt as RESEND_API_ORIGIN, xt as VERSION, yt as RESEND_DOWNLOAD_ORIGIN } from "./send-BedjeO_M.mjs";
2
- import { t as createResendMcpServer } from "./server-Bq2OYONI.mjs";
1
+ import { Ct as REFUSED, Dt as VERSION, Et as ROUTES, St as RESEND_CALLER, Tt as RESEND_DOWNLOAD_ORIGIN, wt as RESEND_API_ORIGIN, xt as PACKAGE_NAME } from "./send-DtBNDnE4.mjs";
2
+ import { t as createResendMcpServer } from "./server-B5FPOBcz.mjs";
3
3
  //#region src/index.ts
4
4
  /**
5
5
  * The library entry of `@agentcomms/resend`.
6
6
  *
7
- * Deliberately small. Everything else is reached through the `agent-resend` command, which ships as a bundle with no
8
- * runtime dependencies — so what is exported here stays a contract that can be kept.
7
+ * Deliberately small. Everything else is reached through the `agent-resend` command, which ships as a bundle whose
8
+ * internals no caller can import — so what is exported here stays a contract that can be kept.
9
9
  *
10
10
  * The guard and its permits are **not** exported: a package root that handed out `spendOn` would hand every caller
11
11
  * the key to the door the guard exists to keep shut. The route table is exported — knowing what this package may
12
12
  * call grants nothing.
13
13
  */
14
- const PACKAGE_NAME = "@agentcomms/resend";
15
14
  //#endregion
16
- export { PACKAGE_NAME, REFUSED, RESEND_API_ORIGIN, RESEND_DOWNLOAD_ORIGIN, ROUTES, VERSION, createResendMcpServer };
15
+ export { PACKAGE_NAME, REFUSED, RESEND_API_ORIGIN, RESEND_CALLER, RESEND_DOWNLOAD_ORIGIN, ROUTES, VERSION, createResendMcpServer };
@@ -1013,7 +1013,7 @@ const dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468
1013
1013
  function anchor(source) {
1014
1014
  return new RegExp(`^${source}$`);
1015
1015
  }
1016
- const date = /*@__PURE__*/ anchor(dateSource);
1016
+ const date$1 = /*@__PURE__*/ anchor(dateSource);
1017
1017
  function timeSource(args) {
1018
1018
  const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
1019
1019
  return typeof args.precision === "number" ? args.precision === -1 ? `${hhmm}` : args.precision === 0 ? `${hhmm}:[0-5]\\d` : `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}` : args.seconds ? `${hhmm}:[0-5]\\d(?:\\.\\d+)?` : `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
@@ -1021,7 +1021,7 @@ function timeSource(args) {
1021
1021
  function time(args) {
1022
1022
  return new RegExp(`^${timeSource(args)}$`);
1023
1023
  }
1024
- function datetime(args) {
1024
+ function datetime$1(args) {
1025
1025
  const opts = ["Z"];
1026
1026
  if (args.offset) opts.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);
1027
1027
  const qualified = `${timeSource({
@@ -1672,11 +1672,11 @@ const $ZodKSUID = /*@__PURE__*/ $constructor("$ZodKSUID", (inst, def) => {
1672
1672
  $ZodStringFormat.init(inst, def);
1673
1673
  });
1674
1674
  const $ZodISODateTime = /*@__PURE__*/ $constructor("$ZodISODateTime", (inst, def) => {
1675
- def.pattern ?? (def.pattern = datetime(def));
1675
+ def.pattern ?? (def.pattern = datetime$1(def));
1676
1676
  $ZodStringFormat.init(inst, def);
1677
1677
  });
1678
1678
  const $ZodISODate = /*@__PURE__*/ $constructor("$ZodISODate", (inst, def) => {
1679
- def.pattern ?? (def.pattern = date);
1679
+ def.pattern ?? (def.pattern = date$1);
1680
1680
  $ZodStringFormat.init(inst, def);
1681
1681
  });
1682
1682
  const $ZodISOTime = /*@__PURE__*/ $constructor("$ZodISOTime", (inst, def) => {
@@ -5882,4 +5882,12 @@ function preprocess(fn, schema) {
5882
5882
  });
5883
5883
  }
5884
5884
  //#endregion
5885
- export { NEVER as A, unknown as C, _coercedNumber as D, toJSONSchema as E, _isoDate as O, union as S, safeParse as T, optional as _, _null as a, strictObject as b, boolean as c, intersection as d, lazy as f, object as g, number as h, _enum as i, _isoDateTime as k, discriminatedUnion as l, looseObject as m, ZodISODateTime as n, any as o, literal as p, ZodNumber as r, array as s, ZodISODate as t, email as u, preprocess as v, url as w, string as x, record as y };
5885
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.js
5886
+ function datetime(params) {
5887
+ return /* @__PURE__ */ _isoDateTime(ZodISODateTime, params);
5888
+ }
5889
+ function date(params) {
5890
+ return /* @__PURE__ */ _isoDate(ZodISODate, params);
5891
+ }
5892
+ //#endregion
5893
+ export { unknown as C, _coercedNumber as D, toJSONSchema as E, NEVER as O, union as S, safeParse as T, optional as _, _null as a, strictObject as b, boolean as c, intersection as d, lazy as f, object as g, number as h, _enum as i, discriminatedUnion as l, looseObject as m, datetime as n, any as o, literal as p, ZodNumber as r, array as s, date as t, email as u, preprocess as v, url as w, string as x, record as y };
@@ -1,5 +1,5 @@
1
- import { A as NEVER, C as unknown, E as toJSONSchema, S as union, T as safeParse, _ as optional, a as _null, c as boolean, d as intersection, f as lazy, g as object, h as number, i as _enum, l as discriminatedUnion, m as looseObject, o as any, p as literal, s as array, u as email, v as preprocess, w as url, x as string, y as record } from "./schemas-DiGKNDNq.mjs";
2
- import { i as ZodIssueCode, n as date, r as datetime, t as number$1 } from "./coerce-BscjcmYU.mjs";
1
+ import { C as unknown, E as toJSONSchema, O as NEVER, S as union, T as safeParse, _ as optional, a as _null, c as boolean, d as intersection, f as lazy, g as object, h as number, i as _enum, l as discriminatedUnion, m as looseObject, n as datetime, o as any, p as literal, s as array, t as date, u as email, v as preprocess, w as url, x as string, y as record } from "./iso-USuVU_sk.mjs";
2
+ import { n as ZodIssueCode, t as number$1 } from "./coerce-CqGigABD.mjs";
3
3
  import process$1 from "node:process";
4
4
  //#region ../../node_modules/.pnpm/@modelcontextprotocol+server@2.0.0/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs
5
5
  var __create = Object.create;