@agentcomms/whatsapp 0.26.0 → 0.26.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/THIRD_PARTY_LICENSES +2 -2
- package/dist/cli.mjs +2 -2
- package/dist/{coerce-CqGigABD.mjs → coerce-DUN95oU4.mjs} +3 -3
- package/dist/{dist-C7DG2LdL-l0mj9_dH.mjs → dist-C7DG2LdL-6QTVBgXp.mjs} +1 -1
- package/dist/index.d.mts +983 -3040
- package/dist/index.mjs +2 -10
- package/dist/{iso-USuVU_sk.mjs → iso-5-9R47LC.mjs} +59 -26
- package/dist/{mcp-DIH4cS6P-CIWWZQbz.mjs → mcp-DIH4cS6P-C1s6ZIjc.mjs} +2 -2
- package/dist/{server-ubl3VinK.mjs → server-yBUmO6zv.mjs} +4 -4
- package/dist/{src-WCy6ifGf-DXrNj-15-D0oRtifb.mjs → src-WCy6ifGf-DXrNj-15-HcB9fGcS.mjs} +2 -2
- package/dist/{stdio-B8UXEGiG.mjs → stdio-BWbiQh9h.mjs} +1 -1
- package/dist/{stdio-CyjIgrch-59zcjSEt.mjs → stdio-CRbkOCqe-BpzkpnG6.mjs} +15 -15
- package/dist/{stdio-entry-DQ1RgYGk.mjs → stdio-entry-DSsMrM2r.mjs} +1 -1
- package/dist/{sync-BwJSBi-M.mjs → sync-BVVwDpry.mjs} +12 -10
- package/package.json +4 -4
package/THIRD_PARTY_LICENSES
CHANGED
|
@@ -836,7 +836,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
836
836
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
837
837
|
SOFTWARE.
|
|
838
838
|
----------------------------------------------------------------------------------------------------
|
|
839
|
-
postal-mime@4.
|
|
839
|
+
postal-mime@4.1.4 — MIT-0
|
|
840
840
|
https://postal-mime.postalsys.com
|
|
841
841
|
----------------------------------------------------------------------------------------------------
|
|
842
842
|
Copyright (c) 2021-2025 Andris Reinman
|
|
@@ -898,7 +898,7 @@ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
898
898
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
899
899
|
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
900
900
|
----------------------------------------------------------------------------------------------------
|
|
901
|
-
zod@4.6.
|
|
901
|
+
zod@4.6.7 — MIT
|
|
902
902
|
https://zod.dev
|
|
903
903
|
----------------------------------------------------------------------------------------------------
|
|
904
904
|
MIT License
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as gatedChangeAtTerminal, A as requireAccount, B as PATH_OPTIONS, Ct as CALLER, F as expandSource, G as approveChangeAtTerminal, H as absoluteSearchPath, J as cliHandoffs, K as canPrompt, L as CHANNEL_SERVERS, M as storeIdentity, N as checkStorePath, O as PLATFORM, P as defaultStorePath, Q as exemptFromUpdateNotice, R as CommsError, S as chatRefOf, St as writeResult, Tt as VERSION, U as agentMarker, W as approveAndWaitSentence, X as commandPathOf, Y as colorEnabled, Z as escapeForDisplay, _ as WhatsAppContext, _t as truncateDisplay, a as CHAT_KINDS, at as nameAvailable, b as requireSupportedNode, bt as windowsSystemProgram, c as searchMessages, ct as paint, dt as renderPrune, et as handoffSentence, f as draftMessage, ft as resolvePaths, ht as serverPruneChange, i as probeStore, it as lookupName, j as requireNamedConfig, k as newWhatsAppAccount, l as Presenter, lt as pathOverridesFromCliOptions, m as listKey, mt as serverInstallChange, nt as installExitStatus, o as listChats, ot as nameShapeProblem, p as Visibility, pt as runCommand, q as childEnvironment, r as whatsappStatus, rt as isCommsError, s as readChat, st as openCore, t as syncAccount, tt as handoffText, u as innerText, ut as renderInstall, v as WhatsAppIndex, vt as updateNoticeAtTerminal, xt as withFileLock, z as EXIT_CODES } from "./sync-
|
|
2
|
+
import { $ as gatedChangeAtTerminal, A as requireAccount, B as PATH_OPTIONS, Ct as CALLER, F as expandSource, G as approveChangeAtTerminal, H as absoluteSearchPath, J as cliHandoffs, K as canPrompt, L as CHANNEL_SERVERS, M as storeIdentity, N as checkStorePath, O as PLATFORM, P as defaultStorePath, Q as exemptFromUpdateNotice, R as CommsError, S as chatRefOf, St as writeResult, Tt as VERSION, U as agentMarker, W as approveAndWaitSentence, X as commandPathOf, Y as colorEnabled, Z as escapeForDisplay, _ as WhatsAppContext, _t as truncateDisplay, a as CHAT_KINDS, at as nameAvailable, b as requireSupportedNode, bt as windowsSystemProgram, c as searchMessages, ct as paint, dt as renderPrune, et as handoffSentence, f as draftMessage, ft as resolvePaths, ht as serverPruneChange, i as probeStore, it as lookupName, j as requireNamedConfig, k as newWhatsAppAccount, l as Presenter, lt as pathOverridesFromCliOptions, m as listKey, mt as serverInstallChange, nt as installExitStatus, o as listChats, ot as nameShapeProblem, p as Visibility, pt as runCommand, q as childEnvironment, r as whatsappStatus, rt as isCommsError, s as readChat, st as openCore, t as syncAccount, tt as handoffText, u as innerText, ut as renderInstall, v as WhatsAppIndex, vt as updateNoticeAtTerminal, xt as withFileLock, z as EXIT_CODES } from "./sync-BVVwDpry.mjs";
|
|
3
3
|
import { rm } from "node:fs/promises";
|
|
4
4
|
import path, { delimiter, join } from "node:path";
|
|
5
5
|
import { stripVTControlCharacters } from "node:util";
|
|
@@ -3569,7 +3569,7 @@ a macOS dialog may be waiting) · 77 permission needed (macOS privacy) · 78 con
|
|
|
3569
3569
|
ran = true;
|
|
3570
3570
|
exitCode = await runCommand(output(), async () => {
|
|
3571
3571
|
requireSupportedNode();
|
|
3572
|
-
await (deps.startMcp ?? (await import("./stdio-entry-
|
|
3572
|
+
await (deps.startMcp ?? (await import("./stdio-entry-DSsMrM2r.mjs")).startWhatsAppStdioServer)({
|
|
3573
3573
|
env,
|
|
3574
3574
|
platform,
|
|
3575
3575
|
...deps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as _coercedNumber, r as ZodNumber } from "./iso-
|
|
2
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
1
|
+
import { D as _coercedNumber, r as ZodNumber } from "./iso-5-9R47LC.mjs";
|
|
2
|
+
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/compat.js
|
|
3
3
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
4
4
|
const ZodIssueCode = {
|
|
5
5
|
invalid_type: "invalid_type",
|
|
@@ -18,7 +18,7 @@ const ZodIssueCode = {
|
|
|
18
18
|
var ZodFirstPartyTypeKind;
|
|
19
19
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
20
20
|
//#endregion
|
|
21
|
-
//#region ../../node_modules/.pnpm/zod@4.6.
|
|
21
|
+
//#region ../../node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/coerce.js
|
|
22
22
|
function number(params) {
|
|
23
23
|
return _coercedNumber(ZodNumber, params);
|
|
24
24
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as stampErrorBrands, C as mergeCapabilities, D as runInputRequiredFlow, E as resolveInputRequiredDriverConfig, M as ListChangedOptionsBaseSchema, N as SERVER_INFO_META_KEY, O as scanXMcpHeaderDeclarations, P as SUBSCRIPTION_ID_META_KEY, S as legacyProtocolVersions, T as parseSchema, _ as isJSONRPCErrorResponse, b as isModernProtocolVersion, c as SdkErrorCode, d as __commonJSMin, f as __toESM, g as declaredDialect, h as codecForVersion, i as ProtocolErrorCode, j as DiscoverResultSchema, l as SdkHttpError, m as buildMcpParamHeaders, n as Protocol, o as SUPPORTED_MODERN_PROTOCOL_VERSIONS, p as brandedHasInstance, r as ProtocolError, s as SdkError, t as MODERN_WIRE_REVISION, u as UnsupportedProtocolVersionError, v as isJSONRPCRequest, w as modernProtocolVersions, x as isSpecType, y as isJSONRPCResultResponse } from "./src-WCy6ifGf-DXrNj-15-
|
|
1
|
+
import { A as stampErrorBrands, C as mergeCapabilities, D as runInputRequiredFlow, E as resolveInputRequiredDriverConfig, M as ListChangedOptionsBaseSchema, N as SERVER_INFO_META_KEY, O as scanXMcpHeaderDeclarations, P as SUBSCRIPTION_ID_META_KEY, S as legacyProtocolVersions, T as parseSchema, _ as isJSONRPCErrorResponse, b as isModernProtocolVersion, c as SdkErrorCode, d as __commonJSMin, f as __toESM, g as declaredDialect, h as codecForVersion, i as ProtocolErrorCode, j as DiscoverResultSchema, l as SdkHttpError, m as buildMcpParamHeaders, n as Protocol, o as SUPPORTED_MODERN_PROTOCOL_VERSIONS, p as brandedHasInstance, r as ProtocolError, s as SdkError, t as MODERN_WIRE_REVISION, u as UnsupportedProtocolVersionError, v as isJSONRPCRequest, w as modernProtocolVersions, x as isSpecType, y as isJSONRPCResultResponse } from "./src-WCy6ifGf-DXrNj-15-HcB9fGcS.mjs";
|
|
2
2
|
//#region ../core/dist/dist-C7DG2LdL.mjs
|
|
3
3
|
var require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|