@openclaw/whatsapp 2026.5.10-beta.2 → 2026.5.10-beta.3

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.
Files changed (67) hide show
  1. package/dist/{access-control-CdP8S3rJ.js → access-control-BEpPB-Jx.js} +6 -6
  2. package/dist/{accounts-BDqgpFEB.js → accounts-B4oR6Dhx.js} +1 -1
  3. package/dist/action-runtime-api.js +1 -1
  4. package/dist/{action-runtime-CMhO8liB.js → action-runtime-lppOTCTN.js} +4 -4
  5. package/dist/action-runtime.runtime.js +1 -1
  6. package/dist/api.js +18 -145
  7. package/dist/{auth-store-CjEimXKX.js → auth-store-_ScMvp7r.js} +10 -10
  8. package/dist/channel-config-api.js +1 -1
  9. package/dist/channel-plugin-api.js +1 -1
  10. package/dist/{channel-react-action-DJvzhIPw.js → channel-react-action-C1wufQtL.js} +3 -3
  11. package/dist/{channel-BxntAClG.js → channel-yfTKmDAy.js} +18 -18
  12. package/dist/{channel.runtime-CNdPCK3G.js → channel.runtime-U2LumvwN.js} +5 -5
  13. package/dist/{channel.setup-BqlcEVzR.js → channel.setup-k1Ro0czO.js} +4 -4
  14. package/dist/{connection-controller-DX2phM7V.js → connection-controller-Ik54eV0p.js} +7 -6
  15. package/dist/constants.js +1 -1
  16. package/dist/contract-api.js +8 -8
  17. package/dist/{directory-config-o-muXLgk.js → directory-config-CE74HYlw.js} +3 -3
  18. package/dist/directory-contract-api.js +1 -1
  19. package/dist/doctor-contract-api.js +1 -1
  20. package/dist/{group-session-contract-DL-SLclv.js → group-session-contract-DdqigLJl.js} +1 -1
  21. package/dist/{identity-KxdJfH7p.js → identity-BNDkpR8N.js} +2 -2
  22. package/dist/legacy-session-surface-api.js +1 -1
  23. package/dist/legacy-state-migrations-api.js +1 -1
  24. package/dist/light-runtime-api.js +3 -3
  25. package/dist/{login-DV99D0IN.js → login-eiyCwLI5.js} +6 -6
  26. package/dist/{login-qr-cKndAXTv.js → login-qr-CSEa1_wH.js} +5 -5
  27. package/dist/login-qr-runtime.js +1 -1
  28. package/dist/{monitor-mfy3Mmq-.js → monitor-DcfFBU0V.js} +46 -34
  29. package/dist/normalize-f31evwm8.js +2 -0
  30. package/dist/{normalize-target-nXxC_hxG.js → normalize-target-ePanEpfY.js} +1 -1
  31. package/dist/{outbound-adapter-B9ZW8sht.js → outbound-adapter-Bs0e4qVd.js} +4 -4
  32. package/dist/{outbound-base-MVpg2zU2.js → outbound-base-BgtywpNm.js} +3 -3
  33. package/dist/{outbound-media-contract-BzWwBppP.js → outbound-media-contract-zq9aNgT8.js} +5 -5
  34. package/dist/outbound-payload-test-api.js +1 -1
  35. package/dist/{quoted-message-DQ6hAr34.js → quoted-message-BQsRXnac.js} +1 -1
  36. package/dist/{reaction-level-CRVEVAfi.js → reaction-level-2m9sWGCw.js} +1 -1
  37. package/dist/{resolve-outbound-target-CQ3Y1i0g.js → resolve-outbound-target-BKcv4ofn.js} +1 -1
  38. package/dist/rolldown-runtime-CiIaOW0V.js +13 -0
  39. package/dist/runtime-api.js +11 -11
  40. package/dist/{security-contract-BzlZFreO.js → security-contract-CvfWex9e.js} +1 -1
  41. package/dist/security-contract-api.js +1 -1
  42. package/dist/{send-u88yh8Hw.js → send-DBfXQDd4.js} +10 -9
  43. package/dist/{send-api-DsbCqDre.js → send-api-DD93aPIQ.js} +7 -7
  44. package/dist/{session-DeIU_vjJ.js → session-CVCKPoQN.js} +6 -6
  45. package/dist/{session.runtime-B9VlYnWQ.js → session.runtime-CZQ0ycCg.js} +2 -2
  46. package/dist/{setup-finalize-D3YuMUBs.js → setup-finalize-WYnZjedw.js} +4 -4
  47. package/dist/setup-plugin-api.js +1 -1
  48. package/dist/{setup-surface-CHjYlKJc.js → setup-surface-DJAu-uxi.js} +3 -3
  49. package/dist/{shared-CgYT3IzU.js → shared-CcuxfjaQ.js} +9 -9
  50. package/dist/targets.js +1 -1
  51. package/dist/test-api.js +2 -2
  52. package/dist/{text-runtime-DBKC9uEi.js → text-runtime-CMxQczvs.js} +4 -42
  53. package/package.json +5 -5
  54. package/dist/normalize-Y3eBdM8a.js +0 -2
  55. /package/dist/{active-listener-D2NHQ5Og.js → active-listener-DTbKS-j-.js} +0 -0
  56. /package/dist/{agent-tools-login-DYKYW5Nh.js → agent-tools-login-DpRxLNRB.js} +0 -0
  57. /package/dist/{audio-preflight.runtime-CIFjeaEN.js → audio-preflight.runtime-MmkB-pgX.js} +0 -0
  58. /package/dist/{command-policy-BgZRZ31o.js → command-policy-O8sRnqUV.js} +0 -0
  59. /package/dist/{config-schema-cSC7M4YA.js → config-schema-Dmo66Ubb.js} +0 -0
  60. /package/dist/{constants-yKXGCGU9.js → constants-DLGCIbfl.js} +0 -0
  61. /package/dist/{doctor-BrgepDUP.js → doctor-A9tXm9Om.js} +0 -0
  62. /package/dist/{reply-resolver.runtime-CROyXXQh.js → reply-resolver.runtime-rIVWohXr.js} +0 -0
  63. /package/dist/{runtime-DdodQB8G.js → runtime-6fZ67abR.js} +0 -0
  64. /package/dist/{runtime-group-policy-BH_U23qp.js → runtime-group-policy-Gp1lQ0at.js} +0 -0
  65. /package/dist/{session-contract-BNUscPf4.js → session-contract-B0efQf9P.js} +0 -0
  66. /package/dist/{setup-core-DnhO0PjG.js → setup-core-DZKvpzbH.js} +0 -0
  67. /package/dist/{state-migrations-CtdIArlK.js → state-migrations-Bm0S67yH.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  import { r as resolveDefaultWhatsAppAccountId, t as listAccountIds } from "./account-ids-DG18xddX.js";
2
- import { a as resolveWhatsAppAccount, n as hasAnyWhatsAppAuth } from "./accounts-BDqgpFEB.js";
3
- import { a as normalizeWhatsAppAllowFromEntries } from "./normalize-target-nXxC_hxG.js";
4
- import { t as WhatsAppChannelConfigSchema } from "./config-schema-cSC7M4YA.js";
5
- import { n as whatsappDoctor } from "./doctor-BrgepDUP.js";
6
- import { t as resolveLegacyGroupSessionKey } from "./group-session-contract-DL-SLclv.js";
7
- import { n as unsupportedSecretRefSurfacePatterns, t as collectUnsupportedSecretRefConfigCandidates } from "./security-contract-BzlZFreO.js";
8
- import { n as deriveLegacySessionChatType, r as isLegacyGroupSessionKey, t as canonicalizeLegacySessionKey } from "./session-contract-BNUscPf4.js";
2
+ import { a as resolveWhatsAppAccount, n as hasAnyWhatsAppAuth } from "./accounts-B4oR6Dhx.js";
3
+ import { a as normalizeWhatsAppAllowFromEntries } from "./normalize-target-ePanEpfY.js";
4
+ import { t as WhatsAppChannelConfigSchema } from "./config-schema-Dmo66Ubb.js";
5
+ import { n as whatsappDoctor } from "./doctor-A9tXm9Om.js";
6
+ import { t as resolveLegacyGroupSessionKey } from "./group-session-contract-DdqigLJl.js";
7
+ import { n as unsupportedSecretRefSurfacePatterns, t as collectUnsupportedSecretRefConfigCandidates } from "./security-contract-CvfWex9e.js";
8
+ import { n as deriveLegacySessionChatType, r as isLegacyGroupSessionKey, t as canonicalizeLegacySessionKey } from "./session-contract-B0efQf9P.js";
9
9
  import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-core";
10
10
  import { normalizeE164 } from "openclaw/plugin-sdk/account-resolution";
11
11
  import { createChannelPluginBase, getChatChannelMeta } from "openclaw/plugin-sdk/core";
@@ -124,10 +124,10 @@ function resolveWhatsAppConfigPath(params) {
124
124
  return `${resolveWhatsAppGroupScopeBasePath(params)}.${params.field}`;
125
125
  }
126
126
  async function loadWhatsAppChannelRuntime() {
127
- return await import("./channel.runtime-CNdPCK3G.js");
127
+ return await import("./channel.runtime-U2LumvwN.js");
128
128
  }
129
129
  async function loadWhatsAppSetupSurface() {
130
- return await import("./setup-surface-CHjYlKJc.js");
130
+ return await import("./setup-surface-DJAu-uxi.js");
131
131
  }
132
132
  const whatsappSetupWizardProxy = createWhatsAppSetupWizardProxy(async () => (await loadWhatsAppSetupSurface()).whatsappSetupWizard);
133
133
  const whatsappConfigAdapter = createScopedChannelConfigAdapter({
package/dist/targets.js CHANGED
@@ -1,2 +1,2 @@
1
- import { c as normalizeWhatsAppTarget, r as isWhatsAppUserTarget, t as isWhatsAppGroupJid } from "./normalize-target-nXxC_hxG.js";
1
+ import { c as normalizeWhatsAppTarget, r as isWhatsAppUserTarget, t as isWhatsAppGroupJid } from "./normalize-target-ePanEpfY.js";
2
2
  export { isWhatsAppGroupJid, isWhatsAppUserTarget, normalizeWhatsAppTarget };
package/dist/test-api.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-BH_U23qp.js";
2
- import { t as whatsappOutbound } from "./outbound-adapter-B9ZW8sht.js";
1
+ import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-Gp1lQ0at.js";
2
+ import { t as whatsappOutbound } from "./outbound-adapter-Bs0e4qVd.js";
3
3
  export { resolveWhatsAppRuntimeGroupPolicy, whatsappOutbound };
@@ -1,34 +1,9 @@
1
1
  import fs from "node:fs";
2
2
  import path from "node:path";
3
- import { CONFIG_DIR, escapeRegExp, resolveUserPath } from "openclaw/plugin-sdk/text-runtime";
4
3
  import { normalizeE164 } from "openclaw/plugin-sdk/account-resolution";
5
4
  import { logVerbose, shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
6
- //#region \0rolldown/runtime.js
7
- var __defProp = Object.defineProperty;
8
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
- var __getOwnPropNames = Object.getOwnPropertyNames;
10
- var __hasOwnProp = Object.prototype.hasOwnProperty;
11
- var __exportAll = (all, no_symbols) => {
12
- let target = {};
13
- for (var name in all) __defProp(target, name, {
14
- get: all[name],
15
- enumerable: true
16
- });
17
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
18
- return target;
19
- };
20
- var __copyProps = (to, from, except, desc) => {
21
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
22
- key = keys[i];
23
- if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
24
- get: ((k) => from[k]).bind(null, key),
25
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
26
- });
27
- }
28
- return to;
29
- };
30
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
31
- //#endregion
5
+ import { convertMarkdownTables, sanitizeAssistantVisibleText, sanitizeAssistantVisibleTextWithProfile, stripToolCallXmlTags } from "openclaw/plugin-sdk/text-chunking";
6
+ import { CONFIG_DIR, escapeRegExp, normalizeE164 as normalizeE164$1, resolveUserPath as resolveUserPath$1, resolveUserPath as resolveUserPath$2, sleep } from "openclaw/plugin-sdk/text-utility-runtime";
32
7
  //#region extensions/whatsapp/src/targets-runtime.ts
33
8
  const WHATSAPP_FENCE_PLACEHOLDER = "\0FENCE";
34
9
  const WHATSAPP_INLINE_CODE_PLACEHOLDER = "\0CODE";
@@ -67,7 +42,7 @@ function resolveLidMappingDirs(params) {
67
42
  const dirs = /* @__PURE__ */ new Set();
68
43
  const addDir = (dir) => {
69
44
  if (!dir) return;
70
- dirs.add(resolveUserPath(dir));
45
+ dirs.add(resolveUserPath$1(dir));
71
46
  };
72
47
  addDir(params.opts?.authDir);
73
48
  for (const dir of params.opts?.lidMappingDirs ?? []) addDir(dir);
@@ -151,17 +126,4 @@ function markdownToWhatsApp(text) {
151
126
  return result;
152
127
  }
153
128
  //#endregion
154
- //#region extensions/whatsapp/src/text-runtime.ts
155
- var text_runtime_exports = /* @__PURE__ */ __exportAll({
156
- assertWebChannel: () => assertWebChannel,
157
- isSelfChatMode: () => isSelfChatMode,
158
- jidToE164: () => jidToE164,
159
- markdownToWhatsApp: () => markdownToWhatsApp,
160
- resolveJidToE164: () => resolveJidToE164,
161
- toWhatsappJid: () => toWhatsappJid,
162
- toWhatsappJidWithLid: () => toWhatsappJidWithLid
163
- });
164
- import * as import_openclaw_plugin_sdk_text_runtime from "openclaw/plugin-sdk/text-runtime";
165
- __reExport(text_runtime_exports, import_openclaw_plugin_sdk_text_runtime);
166
- //#endregion
167
- export { markdownToWhatsApp as a, toWhatsappJidWithLid as c, jidToE164 as i, __exportAll as l, assertWebChannel as n, resolveJidToE164 as o, isSelfChatMode as r, toWhatsappJid as s, text_runtime_exports as t };
129
+ export { sanitizeAssistantVisibleTextWithProfile as a, assertWebChannel as c, markdownToWhatsApp as d, resolveJidToE164 as f, sanitizeAssistantVisibleText as i, isSelfChatMode as l, toWhatsappJidWithLid as m, normalizeE164$1 as n, sleep as o, toWhatsappJid as p, resolveUserPath$2 as r, stripToolCallXmlTags as s, convertMarkdownTables as t, jidToE164 as u };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/whatsapp",
3
- "version": "2026.5.10-beta.2",
3
+ "version": "2026.5.10-beta.3",
4
4
  "description": "OpenClaw WhatsApp channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "type": "module",
10
10
  "dependencies": {
11
- "@whiskeysockets/baileys": "7.0.0-rc10",
11
+ "baileys": "7.0.0-rc10",
12
12
  "https-proxy-agent": "^9.0.0",
13
13
  "jimp": "^1.6.1",
14
14
  "typebox": "1.1.38",
@@ -19,7 +19,7 @@
19
19
  "openclaw": "workspace:*"
20
20
  },
21
21
  "peerDependencies": {
22
- "openclaw": ">=2026.5.10-beta.2"
22
+ "openclaw": ">=2026.5.10-beta.3"
23
23
  },
24
24
  "peerDependenciesMeta": {
25
25
  "openclaw": {
@@ -61,10 +61,10 @@
61
61
  "minHostVersion": ">=2026.4.25"
62
62
  },
63
63
  "compat": {
64
- "pluginApi": ">=2026.5.10-beta.2"
64
+ "pluginApi": ">=2026.5.10-beta.3"
65
65
  },
66
66
  "build": {
67
- "openclawVersion": "2026.5.10-beta.2"
67
+ "openclawVersion": "2026.5.10-beta.3"
68
68
  },
69
69
  "release": {
70
70
  "publishToClawHub": true,
@@ -1,2 +0,0 @@
1
- import "./normalize-target-nXxC_hxG.js";
2
- export {};
File without changes