@agentcomms/whatsapp 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 { $ as withFileLock, A as CommsError, B as installExitStatus, C as checkStorePath, F as canPrompt, G as paint, H as lookupName, I as channelManifest, J as runCommand, K as renderInstall, L as colorEnabled, M as agentMarker, N as approvalKind, O as CHANNELS, P as approveChangeAtTerminal, Q as truncateDisplay, R as escapeForDisplay, S as storeIdentity, T as expandSource, U as nameAvailable, V as isCommsError, W as nameShapeProblem, X as serverPruneChange, Y as serverInstallChange, _ as chatRefOf, a as listChats, b as requireAccount, c as Presenter, d as draftMessage, et as writeResult, f as Visibility, g as requireSupportedNode, h as WhatsAppIndex, i as CHAT_KINDS, j as EXIT_CODES, k as CHANNEL_SERVERS, l as innerText, m as WhatsAppContext, n as whatsappStatus, o as readChat, p as listKey, q as renderPrune, r as probeStore, s as searchMessages, t as syncAccount, tt as VERSION, v as PLATFORM, w as defaultStorePath, x as requireNamedConfig, y as newWhatsAppAccount, z as gatedChangeAtTerminal } from "./sync-BUT0jSeG.mjs";
2
+ import { $ as withFileLock, A as CommsError, B as installExitStatus, C as checkStorePath, F as canPrompt, G as paint, H as lookupName, I as channelManifest, J as runCommand, K as renderInstall, L as colorEnabled, M as agentMarker, N as approvalKind, O as CHANNELS, P as approveChangeAtTerminal, Q as truncateDisplay, R as escapeForDisplay, S as storeIdentity, T as expandSource, U as nameAvailable, V as isCommsError, W as nameShapeProblem, X as serverPruneChange, Y as serverInstallChange, _ as chatRefOf, a as listChats, b as requireAccount, c as Presenter, d as draftMessage, et as writeResult, f as Visibility, g as requireSupportedNode, h as WhatsAppIndex, i as CHAT_KINDS, j as EXIT_CODES, k as CHANNEL_SERVERS, l as innerText, m as WhatsAppContext, n as whatsappStatus, o as readChat, p as listKey, q as renderPrune, r as probeStore, s as searchMessages, t as syncAccount, tt as VERSION, v as PLATFORM, w as defaultStorePath, x as requireNamedConfig, y as newWhatsAppAccount, z as gatedChangeAtTerminal } from "./sync-C2WSnOq1.mjs";
3
3
  import { rm } from "node:fs/promises";
4
4
  import path from "node:path";
5
5
  import { stripVTControlCharacters } from "node:util";
@@ -3495,7 +3495,7 @@ a macOS dialog may be waiting) · 77 permission needed (macOS privacy) · 78 con
3495
3495
  ran = true;
3496
3496
  exitCode = await runCommand(output(), async () => {
3497
3497
  requireSupportedNode();
3498
- const { startWhatsAppStdioServer } = await import("./stdio-entry-m_AQ55DZ.mjs");
3498
+ const { startWhatsAppStdioServer } = await import("./stdio-entry-BF9Sjjpl.mjs");
3499
3499
  await startWhatsAppStdioServer({
3500
3500
  env,
3501
3501
  ...flags.account ? { account: String(flags.account) } : {}
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { tt as VERSION, u as composeDraft } from "./sync-BUT0jSeG.mjs";
2
- import { t as createWhatsAppMcpServer } from "./server-DJZWYUNK.mjs";
1
+ import { tt as VERSION, u as composeDraft } from "./sync-C2WSnOq1.mjs";
2
+ import { t as createWhatsAppMcpServer } from "./server-CPNq8D28.mjs";
3
3
  //#region src/index.ts
4
4
  /**
5
5
  * The library entry of `@agentcomms/whatsapp`.
@@ -1,4 +1,4 @@
1
- import { D as strictToolArguments, E as UNTRUSTED_NOTICE, Z as toCommsError, a as listChats, d as draftMessage, i as CHAT_KINDS, m as WhatsAppContext, n as whatsappStatus, o as readChat, s as searchMessages, t as syncAccount, tt as VERSION } from "./sync-BUT0jSeG.mjs";
1
+ import { D as strictToolArguments, E as UNTRUSTED_NOTICE, Z as toCommsError, a as listChats, d as draftMessage, i as CHAT_KINDS, m as WhatsAppContext, n as whatsappStatus, o as readChat, s as searchMessages, t as syncAccount, tt as VERSION } from "./sync-C2WSnOq1.mjs";
2
2
  import { c as boolean, h as number, 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 createWhatsAppMcpServer } from "./server-DJZWYUNK.mjs";
1
+ import { t as createWhatsAppMcpServer } from "./server-CPNq8D28.mjs";
2
2
  //#region src/mcp/stdio-entry.ts
3
3
  /**
4
4
  * Starting the stdio server. On stdio, stdout is the protocol, so the console is redirected to stderr first — the
@@ -11,9 +11,9 @@ import { constants as constants$1 } from "node:fs";
11
11
  //#endregion
12
12
  //#region src/version.ts
13
13
  /** The package version, read from package.json at build time. */
14
- const VERSION$1 = "0.7.0";
14
+ const VERSION$1 = "0.7.1";
15
15
  //#endregion
16
- //#region ../core/dist/servers-BNBTijds.mjs
16
+ //#region ../core/dist/servers-XHOQHOxT.mjs
17
17
  /**
18
18
  * Every failure a user or an agent can act on carries a specific, stable code from this registry, a message, an
19
19
  * optional one-line hint and structured `details`. The code decides the process exit status; agents and skills branch
@@ -5474,7 +5474,7 @@ function wholeNumber(raw, rule) {
5474
5474
  return value;
5475
5475
  }
5476
5476
  /** The package version, read from package.json at build time. */
5477
- const VERSION = "0.7.0";
5477
+ const VERSION = "0.7.1";
5478
5478
  /**
5479
5479
  * Registering, pruning and listing the MCP servers of every channel, from the core.
5480
5480
  *
@@ -5729,7 +5729,7 @@ function serverPruneChange(core, env, request, own) {
5729
5729
  };
5730
5730
  const { packageName, version } = ownProduct(request.channel, own) ?? {
5731
5731
  packageName: channelServer(request.channel).packageName,
5732
- version: "0.7.0"
5732
+ version: "0.7.1"
5733
5733
  };
5734
5734
  const product = {
5735
5735
  packageName,
@@ -5768,7 +5768,7 @@ function serverPruneChange(core, env, request, own) {
5768
5768
  };
5769
5769
  }
5770
5770
  //#endregion
5771
- //#region ../core/dist/tool-arguments-CY2Menl8.mjs
5771
+ //#region ../core/dist/tool-arguments-CXQsEUqg.mjs
5772
5772
  const APPLIED = Symbol.for("agentcomms.strictToolArguments");
5773
5773
  const TARGET = "draft-2020-12";
5774
5774
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentcomms/whatsapp",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "WhatsApp for coding agents, read-only: list, read and search the chats WhatsApp for Mac keeps on this Mac, and draft replies as links the person sends. No network client; it never sends.",
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
  "agentcomms": {
44
44
  "contract": 1,
@@ -85,7 +85,7 @@
85
85
  "scripts": {
86
86
  "build": "tsdown",
87
87
  "typecheck": "tsc -p tsconfig.json",
88
- "test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test --test-timeout=60000 \"test/**/*.test.ts\""
88
+ "test": "node --experimental-strip-types --disable-warning=ExperimentalWarning --test --test-timeout=600000 \"test/**/*.test.ts\""
89
89
  },
90
- "gitHead": "34732ca0ffb03feada69e76f97143413ec5398e4"
90
+ "gitHead": "4c6701c2ee05843704d3619c22a8262248e4e1aa"
91
91
  }