@openclaw/whatsapp 2026.5.25-beta.1 → 2026.5.26-beta.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.
Files changed (28) hide show
  1. package/dist/{access-control-p_vcYDW7.js → access-control-otOXu5WK.js} +1 -1
  2. package/dist/{accounts-BPYgj8Fv.js → accounts-B3diVrr6.js} +2 -1
  3. package/dist/{action-runtime-BY9Enl8_.js → action-runtime-PNEpb1qb.js} +2 -2
  4. package/dist/action-runtime-api.js +1 -1
  5. package/dist/action-runtime.runtime.js +1 -1
  6. package/dist/api.js +6 -6
  7. package/dist/{approval-handler.runtime-CbSmQOxP.js → approval-handler.runtime-GXmnPxiL.js} +1 -1
  8. package/dist/{channel-ytMXx8Hq.js → channel-DkT2UI4n.js} +5 -5
  9. package/dist/channel-plugin-api.js +1 -1
  10. package/dist/{channel-react-action-DCqXFZD4.js → channel-react-action-61jg4cjy.js} +3 -3
  11. package/dist/{channel.runtime-CoL9KTN0.js → channel.runtime-BAdyJSMT.js} +3 -3
  12. package/dist/{channel.setup-Bc9iLanw.js → channel.setup-DFASG1fi.js} +2 -2
  13. package/dist/contract-api.js +1 -1
  14. package/dist/{login-BEkrpJbZ.js → login-CympQtg8.js} +1 -1
  15. package/dist/{login-qr-BVRx8j_M.js → login-qr-RCP3gu1G.js} +1 -1
  16. package/dist/login-qr-runtime.js +1 -1
  17. package/dist/{monitor-5S9CBSEk.js → monitor-CdeM6e28.js} +3 -3
  18. package/dist/{outbound-adapter-B_NADUoO.js → outbound-adapter-76p0VEXd.js} +1 -1
  19. package/dist/outbound-payload-test-api.js +1 -1
  20. package/dist/runtime-api.js +4 -4
  21. package/dist/{send-59nOuEVY.js → send-CAQrir3g.js} +1 -1
  22. package/dist/{setup-core-BNb5y1vb.js → setup-core-B_fDLMkf.js} +3 -3
  23. package/dist/{setup-finalize-zKhMJPdG.js → setup-finalize-CwUDT0HD.js} +3 -3
  24. package/dist/setup-plugin-api.js +1 -1
  25. package/dist/{setup-surface-a6p2hwne.js → setup-surface-C4R54NEZ.js} +2 -2
  26. package/dist/test-api.js +1 -1
  27. package/npm-shrinkwrap.json +3 -3
  28. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { a as resolveWhatsAppAccount } from "./accounts-BPYgj8Fv.js";
1
+ import { a as resolveWhatsAppAccount } from "./accounts-B3diVrr6.js";
2
2
  import { l as isSelfChatMode, n as normalizeE164 } from "./text-runtime-Dk37KYHj.js";
3
3
  import { a as getSelfIdentity, o as getSenderIdentity } from "./identity-xoLLdqEv.js";
4
4
  import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-DeSRFXEV.js";
@@ -100,7 +100,8 @@ function resolveWhatsAppAccount(params) {
100
100
  };
101
101
  }
102
102
  function resolveWhatsAppMediaMaxBytes(account) {
103
- return (typeof account.mediaMaxMb === "number" && account.mediaMaxMb > 0 ? account.mediaMaxMb : 50) * 1024 * 1024;
103
+ const mediaMaxMb = typeof account.mediaMaxMb === "number" && account.mediaMaxMb > 0 ? account.mediaMaxMb : 50;
104
+ return Math.floor(mediaMaxMb * 1024 * 1024);
104
105
  }
105
106
  function listEnabledWhatsAppAccounts(cfg) {
106
107
  return listAccountIds(cfg).map((accountId) => resolveWhatsAppAccount({
@@ -1,7 +1,7 @@
1
- import { a as resolveWhatsAppAccount } from "./accounts-BPYgj8Fv.js";
1
+ import { a as resolveWhatsAppAccount } from "./accounts-B3diVrr6.js";
2
2
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
3
3
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BqMOEBeq.js";
4
- import { r as sendReactionWhatsApp } from "./send-59nOuEVY.js";
4
+ import { r as sendReactionWhatsApp } from "./send-CAQrir3g.js";
5
5
  import { ToolAuthorizationError, createActionGate, jsonResult, readReactionParams, readStringParam } from "openclaw/plugin-sdk/channel-actions";
6
6
  //#region extensions/whatsapp/src/action-runtime-target-auth.ts
7
7
  function resolveAuthorizedWhatsAppOutboundTarget(params) {
@@ -1,2 +1,2 @@
1
- import { t as handleWhatsAppAction } from "./action-runtime-BY9Enl8_.js";
1
+ import { t as handleWhatsAppAction } from "./action-runtime-PNEpb1qb.js";
2
2
  export { handleWhatsAppAction };
@@ -1,2 +1,2 @@
1
- import { t as handleWhatsAppAction } from "./action-runtime-BY9Enl8_.js";
1
+ import { t as handleWhatsAppAction } from "./action-runtime-PNEpb1qb.js";
2
2
  export { handleWhatsAppAction };
package/dist/api.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { r as resolveDefaultWhatsAppAccountId, t as listAccountIds } from "./account-ids-CB5SOWjc.js";
2
- import { a as resolveWhatsAppAccount, i as listWhatsAppAuthDirs, n as hasAnyWhatsAppAuth, o as resolveWhatsAppAuthDir, r as listEnabledWhatsAppAccounts, s as resolveWhatsAppMediaMaxBytes, t as DEFAULT_WHATSAPP_MEDIA_MAX_MB } from "./accounts-BPYgj8Fv.js";
2
+ import { a as resolveWhatsAppAccount, i as listWhatsAppAuthDirs, n as hasAnyWhatsAppAuth, o as resolveWhatsAppAuthDir, r as listEnabledWhatsAppAccounts, s as resolveWhatsAppMediaMaxBytes, t as DEFAULT_WHATSAPP_MEDIA_MAX_MB } from "./accounts-B3diVrr6.js";
3
3
  import { a as normalizeWhatsAppAllowFromEntries, c as normalizeWhatsAppTarget, i as looksLikeWhatsAppTargetId, r as isWhatsAppUserTarget, s as normalizeWhatsAppMessagingTarget, t as isWhatsAppGroupJid } from "./normalize-target-bVWjgftN.js";
4
4
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
5
5
  import "./reaction-level-BqMOEBeq.js";
6
- import "./send-59nOuEVY.js";
6
+ import "./send-CAQrir3g.js";
7
7
  import { c as assertWebChannel, d as markdownToWhatsApp, f as resolveJidToE164, l as isSelfChatMode, m as toWhatsappJidWithLid, n as normalizeE164, p as toWhatsappJid, r as resolveUserPath, u as jidToE164 } from "./text-runtime-Dk37KYHj.js";
8
- import { t as whatsappPlugin } from "./channel-ytMXx8Hq.js";
8
+ import { t as whatsappPlugin } from "./channel-DkT2UI4n.js";
9
9
  import { n as WHATSAPP_LEGACY_OUTBOUND_SEND_DEP_KEYS } from "./outbound-base-DwCUu3ab.js";
10
10
  import { t as whatsappCommandPolicy } from "./command-policy-BIOSHySD.js";
11
- import { a as resolveWhatsAppGroupRequireMention, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint } from "./setup-core-BNb5y1vb.js";
11
+ import { a as resolveWhatsAppGroupRequireMention, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint } from "./setup-core-B_fDLMkf.js";
12
12
  import "./config-schema-CsNDlDpL.js";
13
- import { t as whatsappSetupPlugin } from "./channel.setup-Bc9iLanw.js";
13
+ import { t as whatsappSetupPlugin } from "./channel.setup-DFASG1fi.js";
14
14
  import { t as DEFAULT_WEB_MEDIA_BYTES } from "./constants-HU41RHGI.js";
15
15
  import { n as listWhatsAppDirectoryGroupsFromConfig, r as listWhatsAppDirectoryPeersFromConfig } from "./directory-config-CfLFAK54.js";
16
- import { n as testing } from "./access-control-p_vcYDW7.js";
16
+ import { n as testing } from "./access-control-otOXu5WK.js";
17
17
  import { m as extractText, t as createWebSendApi } from "./send-api-C3EWzdzp.js";
18
18
  import { r as waitForWaConnection, t as createWaSocket } from "./session-CDgpDc0l.js";
19
19
  import "openclaw/plugin-sdk/channel-actions";
@@ -1,6 +1,6 @@
1
1
  import { s as normalizeWhatsAppMessagingTarget } from "./normalize-target-bVWjgftN.js";
2
2
  import "./normalize-Bxwqo-bW.js";
3
- import { i as sendTypingWhatsApp, l as registerWhatsAppApprovalReactionTarget, s as buildWhatsAppApprovalReactionHint, t as sendMessageWhatsApp, u as unregisterWhatsAppApprovalReactionTarget } from "./send-59nOuEVY.js";
3
+ import { i as sendTypingWhatsApp, l as registerWhatsAppApprovalReactionTarget, s as buildWhatsAppApprovalReactionHint, t as sendMessageWhatsApp, u as unregisterWhatsAppApprovalReactionTarget } from "./send-CAQrir3g.js";
4
4
  import { n as getWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
5
5
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
6
6
  import { createSubsystemLogger } from "openclaw/plugin-sdk/runtime-env";
@@ -1,16 +1,16 @@
1
1
  import { r as resolveDefaultWhatsAppAccountId, t as listAccountIds } from "./account-ids-CB5SOWjc.js";
2
- import { a as resolveWhatsAppAccount } from "./accounts-BPYgj8Fv.js";
2
+ import { a as resolveWhatsAppAccount } from "./accounts-B3diVrr6.js";
3
3
  import { c as normalizeWhatsAppTarget, i as looksLikeWhatsAppTargetId, n as isWhatsAppNewsletterJid, o as normalizeWhatsAppAllowFromEntry, s as normalizeWhatsAppMessagingTarget, t as isWhatsAppGroupJid } from "./normalize-target-bVWjgftN.js";
4
4
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
5
5
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BqMOEBeq.js";
6
6
  import "./normalize-Bxwqo-bW.js";
7
- import { d as getWhatsAppApprovalApprovers, f as whatsappApprovalAuth, i as sendTypingWhatsApp, n as sendPollWhatsApp, o as addWhatsAppApprovalReactionHintToText, t as sendMessageWhatsApp } from "./send-59nOuEVY.js";
7
+ import { d as getWhatsAppApprovalApprovers, f as whatsappApprovalAuth, i as sendTypingWhatsApp, n as sendPollWhatsApp, o as addWhatsAppApprovalReactionHintToText, t as sendMessageWhatsApp } from "./send-CAQrir3g.js";
8
8
  import { n as getWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
9
9
  import { r as normalizeWhatsAppPayloadTextPreservingIndentation } from "./outbound-media-contract-CA2OGvjJ.js";
10
10
  import { t as createWhatsAppLoginTool } from "./agent-tools-login-BDzvb3ee.js";
11
11
  import { t as createWhatsAppOutboundBase } from "./outbound-base-DwCUu3ab.js";
12
12
  import { t as whatsappCommandPolicy } from "./command-policy-BIOSHySD.js";
13
- import { a as resolveWhatsAppGroupRequireMention, c as resolveWhatsAppMentionStripRegexes, i as whatsappSetupWizardProxy, l as formatWhatsAppConfigAllowFromEntries, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, r as loadWhatsAppChannelRuntime, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-BNb5y1vb.js";
13
+ import { a as resolveWhatsAppGroupRequireMention, c as resolveWhatsAppMentionStripRegexes, i as whatsappSetupWizardProxy, l as formatWhatsAppConfigAllowFromEntries, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, r as loadWhatsAppChannelRuntime, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-B_fDLMkf.js";
14
14
  import { f as readWebAuthExistsForDecision, n as WHATSAPP_AUTH_UNSTABLE_CODE } from "./auth-store-BrKb0mwT.js";
15
15
  import { t as detectWhatsAppLegacyStateMigrations } from "./state-migrations-D_BmQUR9.js";
16
16
  import { createActionGate as createActionGate$1 } from "openclaw/plugin-sdk/channel-actions";
@@ -422,7 +422,7 @@ const whatsappApprovalCapability = createChannelApprovalCapability({
422
422
  accountId,
423
423
  request
424
424
  }),
425
- load: async () => (await import("./approval-handler.runtime-CbSmQOxP.js")).whatsappApprovalNativeRuntime
425
+ load: async () => (await import("./approval-handler.runtime-GXmnPxiL.js")).whatsappApprovalNativeRuntime
426
426
  })
427
427
  });
428
428
  splitChannelApprovalCapability(whatsappApprovalCapability);
@@ -704,7 +704,7 @@ function collectWhatsAppStatusIssues(accounts) {
704
704
  //#endregion
705
705
  //#region extensions/whatsapp/src/channel.ts
706
706
  const loadWhatsAppDirectoryConfig = createLazyRuntimeModule(() => import("./directory-config-CfLFAK54.js").then((n) => n.t));
707
- const loadWhatsAppChannelReactAction = createLazyRuntimeModule(() => import("./channel-react-action-DCqXFZD4.js"));
707
+ const loadWhatsAppChannelReactAction = createLazyRuntimeModule(() => import("./channel-react-action-61jg4cjy.js"));
708
708
  function resolveWhatsAppTargetInfo(raw) {
709
709
  const normalized = normalizeWhatsAppTarget(raw);
710
710
  if (!normalized) return null;
@@ -1,2 +1,2 @@
1
- import { t as whatsappPlugin } from "./channel-ytMXx8Hq.js";
1
+ import { t as whatsappPlugin } from "./channel-DkT2UI4n.js";
2
2
  export { whatsappPlugin };
@@ -1,8 +1,8 @@
1
- import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-BPYgj8Fv.js";
1
+ import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-B3diVrr6.js";
2
2
  import { c as normalizeWhatsAppTarget, t as isWhatsAppGroupJid } from "./normalize-target-bVWjgftN.js";
3
- import { r as resolveAuthorizedWhatsAppOutboundTarget, t as handleWhatsAppAction } from "./action-runtime-BY9Enl8_.js";
3
+ import { r as resolveAuthorizedWhatsAppOutboundTarget, t as handleWhatsAppAction } from "./action-runtime-PNEpb1qb.js";
4
4
  import "./normalize-Bxwqo-bW.js";
5
- import { t as sendMessageWhatsApp } from "./send-59nOuEVY.js";
5
+ import { t as sendMessageWhatsApp } from "./send-CAQrir3g.js";
6
6
  import { jsonResult, readStringOrNumberParam, readStringParam as readStringParam$1, resolveReactionMessageId } from "openclaw/plugin-sdk/channel-actions";
7
7
  //#region extensions/whatsapp/src/channel-react-action.ts
8
8
  const WHATSAPP_CHANNEL = "whatsapp";
@@ -1,9 +1,9 @@
1
1
  import { startWebLoginWithQr as startWebLoginWithQr$1, waitForWebLogin as waitForWebLogin$1 } from "./login-qr-runtime.js";
2
2
  import { c as logoutWeb$1, d as readWebAuthExistsBestEffort$1, f as readWebAuthExistsForDecision$1, g as readWebSelfId$1, h as readWebAuthState$1, m as readWebAuthSnapshotBestEffort$1, o as getWebAuthAgeMs$1, p as readWebAuthSnapshot$1, s as logWebSelfId$1, x as webAuthExists$1 } from "./auth-store-BrKb0mwT.js";
3
3
  import { t as getActiveWebListener$1 } from "./active-listener-B4SDebQ6.js";
4
- import { t as monitorWebChannel$1 } from "./monitor-5S9CBSEk.js";
5
- import { t as loginWeb$1 } from "./login-BEkrpJbZ.js";
6
- import { whatsappSetupWizard as whatsappSetupWizard$1 } from "./setup-surface-a6p2hwne.js";
4
+ import { t as monitorWebChannel$1 } from "./monitor-CdeM6e28.js";
5
+ import { t as loginWeb$1 } from "./login-CympQtg8.js";
6
+ import { whatsappSetupWizard as whatsappSetupWizard$1 } from "./setup-surface-C4R54NEZ.js";
7
7
  //#region extensions/whatsapp/src/channel.runtime.ts
8
8
  function getActiveWebListener(...args) {
9
9
  return getActiveWebListener$1(...args);
@@ -1,5 +1,5 @@
1
- import "./accounts-BPYgj8Fv.js";
2
- import { a as resolveWhatsAppGroupRequireMention, i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-BNb5y1vb.js";
1
+ import "./accounts-B3diVrr6.js";
2
+ import { a as resolveWhatsAppGroupRequireMention, i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-B_fDLMkf.js";
3
3
  import { t as detectWhatsAppLegacyStateMigrations } from "./state-migrations-D_BmQUR9.js";
4
4
  //#region extensions/whatsapp/src/channel.setup.ts
5
5
  async function isWhatsAppAuthConfigured(account) {
@@ -5,7 +5,7 @@ import { n as unsupportedSecretRefSurfacePatterns, t as collectUnsupportedSecret
5
5
  import { r as isLegacyGroupSessionKey$1, t as canonicalizeLegacySessionKey$1 } from "./session-contract-DMTm6Q_L.js";
6
6
  import { n as listWhatsAppDirectoryGroupsFromConfig, r as listWhatsAppDirectoryPeersFromConfig } from "./directory-config-CfLFAK54.js";
7
7
  import { t as resolveWhatsAppRuntimeGroupPolicy$1 } from "./runtime-group-policy-DeSRFXEV.js";
8
- import { n as testing } from "./access-control-p_vcYDW7.js";
8
+ import { n as testing } from "./access-control-otOXu5WK.js";
9
9
  //#region extensions/whatsapp/contract-api.ts
10
10
  const canonicalizeLegacySessionKey = canonicalizeLegacySessionKey$1;
11
11
  const isLegacyGroupSessionKey = isLegacyGroupSessionKey$1;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { a as resolveWhatsAppAccount } from "./accounts-BPYgj8Fv.js";
2
+ import { a as resolveWhatsAppAccount } from "./accounts-B3diVrr6.js";
3
3
  import { b as restoreCredsFromBackupIfNeeded } from "./auth-store-BrKb0mwT.js";
4
4
  import { a as renderQrTerminal, i as resolveWhatsAppSocketTiming, t as createWaSocket } from "./session-CDgpDc0l.js";
5
5
  import { a as closeWaSocketSoon, o as waitForWhatsAppLoginResult } from "./connection-controller-ja6z4F_k.js";
@@ -1,4 +1,4 @@
1
- import { a as resolveWhatsAppAccount } from "./accounts-BPYgj8Fv.js";
1
+ import { a as resolveWhatsAppAccount } from "./accounts-B3diVrr6.js";
2
2
  import { f as readWebAuthExistsForDecision, g as readWebSelfId, n as WHATSAPP_AUTH_UNSTABLE_CODE } from "./auth-store-BrKb0mwT.js";
3
3
  import { i as resolveWhatsAppSocketTiming, t as createWaSocket } from "./session-CDgpDc0l.js";
4
4
  import { i as closeWaSocket, o as waitForWhatsAppLoginResult, t as WHATSAPP_LOGGED_OUT_QR_MESSAGE } from "./connection-controller-ja6z4F_k.js";
@@ -1,7 +1,7 @@
1
1
  //#region extensions/whatsapp/login-qr-runtime.ts
2
2
  let loginQrModulePromise = null;
3
3
  function loadLoginQrModule() {
4
- loginQrModulePromise ??= import("./login-qr-BVRx8j_M.js");
4
+ loginQrModulePromise ??= import("./login-qr-RCP3gu1G.js");
5
5
  return loginQrModulePromise;
6
6
  }
7
7
  async function startWebLoginWithQr(...args) {
@@ -1,7 +1,7 @@
1
- import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-BPYgj8Fv.js";
1
+ import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-B3diVrr6.js";
2
2
  import { t as isWhatsAppGroupJid } from "./normalize-target-bVWjgftN.js";
3
3
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BqMOEBeq.js";
4
- import { c as maybeResolveWhatsAppApprovalReaction, r as sendReactionWhatsApp } from "./send-59nOuEVY.js";
4
+ import { c as maybeResolveWhatsAppApprovalReaction, r as sendReactionWhatsApp } from "./send-CAQrir3g.js";
5
5
  import { n as getWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
6
6
  import { i as prepareWhatsAppOutboundMedia, o as sendWhatsAppOutboundWithRetry, r as normalizeWhatsAppPayloadTextPreservingIndentation, t as normalizeWhatsAppOutboundPayload } from "./outbound-media-contract-CA2OGvjJ.js";
7
7
  import { n as getStatusCode, t as formatError } from "./session-errors-BAj9D2La.js";
@@ -10,7 +10,7 @@ import { n as cacheInboundMessageMeta, r as lookupInboundMessageMeta, t as build
10
10
  import { c as logoutWeb, g as readWebSelfId, o as getWebAuthAgeMs, r as WhatsAppAuthUnstableError, v as readWebSelfIdentityForDecision } from "./auth-store-BrKb0mwT.js";
11
11
  import { a as getSelfIdentity, c as resolveComparableIdentity, i as getReplyContext, n as getMentionIdentities, o as getSenderIdentity, r as getPrimaryIdentityId, s as identitiesOverlap, t as getComparableIdentityValues } from "./identity-xoLLdqEv.js";
12
12
  import { n as resolveWhatsAppGroupsConfigPath } from "./group-config-path-BGyzT9Lg.js";
13
- import { i as resolveWhatsAppInboundPolicy, r as resolveWhatsAppCommandAuthorized, t as checkInboundAccessControl } from "./access-control-p_vcYDW7.js";
13
+ import { i as resolveWhatsAppInboundPolicy, r as resolveWhatsAppCommandAuthorized, t as checkInboundAccessControl } from "./access-control-otOXu5WK.js";
14
14
  import { a as mayContainWhatsAppOutboundMention, c as describeReplyContext, d as extractLocationData, f as extractMediaPlaceholder, h as hasInboundUserContent, i as addWhatsAppOutboundMentionsToContent, l as extractContactContext, m as extractText, n as listWhatsAppSendResultMessageIds, o as resolveWhatsAppOutboundMentions, p as extractMentionedJids, r as normalizeWhatsAppSendResult, s as addWhatsAppImagePreviewFields, t as createWebSendApi, u as extractContextInfo } from "./send-api-C3EWzdzp.js";
15
15
  import { i as resolveWhatsAppSocketTiming, r as waitForWaConnection, t as createWaSocket } from "./session-CDgpDc0l.js";
16
16
  import { t as BufferJSON } from "./session.runtime-LZFdq3yb.js";
@@ -7,7 +7,7 @@ import "openclaw/plugin-sdk/channel-send-result";
7
7
  //#region extensions/whatsapp/src/outbound-adapter.ts
8
8
  let whatsAppSendModulePromise;
9
9
  function loadWhatsAppSendModule() {
10
- whatsAppSendModulePromise ??= import("./send-59nOuEVY.js").then((n) => n.a);
10
+ whatsAppSendModulePromise ??= import("./send-CAQrir3g.js").then((n) => n.a);
11
11
  return whatsAppSendModulePromise;
12
12
  }
13
13
  function normalizeOutboundText(text) {
@@ -1,2 +1,2 @@
1
- import { t as whatsappOutbound } from "./outbound-adapter-B_NADUoO.js";
1
+ import { t as whatsappOutbound } from "./outbound-adapter-76p0VEXd.js";
2
2
  export { whatsappOutbound };
@@ -1,6 +1,6 @@
1
1
  import { o as resolveWebCredsBackupPath, r as hasWebCredsSync, s as resolveWebCredsPath } from "./creds-files-B1kSWtBg.js";
2
- import { n as whatsAppActionRuntime, t as handleWhatsAppAction } from "./action-runtime-BY9Enl8_.js";
3
- import { i as sendTypingWhatsApp, n as sendPollWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-59nOuEVY.js";
2
+ import { n as whatsAppActionRuntime, t as handleWhatsAppAction } from "./action-runtime-PNEpb1qb.js";
3
+ import { i as sendTypingWhatsApp, n as sendPollWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-CAQrir3g.js";
4
4
  import { r as setWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
5
5
  import { n as getStatusCode, t as formatError } from "./session-errors-BAj9D2La.js";
6
6
  import { startWebLoginWithQr, waitForWebLogin } from "./login-qr-runtime.js";
@@ -10,7 +10,7 @@ import { t as DEFAULT_WEB_MEDIA_BYTES } from "./constants-HU41RHGI.js";
10
10
  import { d as extractLocationData, f as extractMediaPlaceholder, l as extractContactContext, m as extractText } from "./send-api-C3EWzdzp.js";
11
11
  import { n as newConnectionId, r as waitForWaConnection, t as createWaSocket } from "./session-CDgpDc0l.js";
12
12
  import { n as resolveWebAccountId, t as getActiveWebListener } from "./active-listener-B4SDebQ6.js";
13
- import { a as loadWebMediaRaw, c as monitorWebInbox, i as loadWebMedia, l as resetWebInboundDedupe, n as LocalMediaAccessError, o as optimizeImageToJpeg, r as getDefaultLocalRoots, s as optimizeImageToPng, t as monitorWebChannel } from "./monitor-5S9CBSEk.js";
14
- import { t as loginWeb } from "./login-BEkrpJbZ.js";
13
+ import { a as loadWebMediaRaw, c as monitorWebInbox, i as loadWebMedia, l as resetWebInboundDedupe, n as LocalMediaAccessError, o as optimizeImageToJpeg, r as getDefaultLocalRoots, s as optimizeImageToPng, t as monitorWebChannel } from "./monitor-CdeM6e28.js";
14
+ import { t as loginWeb } from "./login-CympQtg8.js";
15
15
  import { HEARTBEAT_PROMPT, HEARTBEAT_TOKEN, SILENT_REPLY_TOKEN, stripHeartbeatToken } from "openclaw/plugin-sdk/reply-runtime";
16
16
  export { DEFAULT_WEB_MEDIA_BYTES, HEARTBEAT_PROMPT, HEARTBEAT_TOKEN, LocalMediaAccessError, SILENT_REPLY_TOKEN, WA_WEB_AUTH_DIR, WHATSAPP_AUTH_UNSTABLE_CODE, WhatsAppAuthUnstableError, createWaSocket, createWhatsAppLoginTool, extractContactContext, extractLocationData, extractMediaPlaceholder, extractText, formatError, formatWhatsAppWebAuthStatusState, getActiveWebListener, getDefaultLocalRoots, getStatusCode, getWebAuthAgeMs, handleWhatsAppAction, hasWebCredsSync, loadWebMedia, loadWebMediaRaw, logWebSelfId, loginWeb, logoutWeb, monitorWebChannel, monitorWebInbox, newConnectionId, optimizeImageToJpeg, optimizeImageToPng, pickWebChannel, readCredsJsonRaw, readWebAuthExistsBestEffort, readWebAuthExistsForDecision, readWebAuthSnapshot, readWebAuthSnapshotBestEffort, readWebAuthState, readWebSelfId, readWebSelfIdentity, readWebSelfIdentityForDecision, resetWebInboundDedupe, resolveDefaultWebAuthDir, resolveWebAccountId, resolveWebCredsBackupPath, resolveWebCredsPath, restoreCredsFromBackupIfNeeded, sendMessageWhatsApp, sendPollWhatsApp, sendReactionWhatsApp, sendTypingWhatsApp, setWhatsAppRuntime, startWebLoginWithQr, stripHeartbeatToken, waitForCredsSaveQueue, waitForCredsSaveQueueWithTimeout, waitForWaConnection, waitForWebLogin, webAuthExists, whatsAppActionRuntime, writeCredsJsonAtomically };
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
2
  import { r as resolveDefaultWhatsAppAccountId } from "./account-ids-CB5SOWjc.js";
3
- import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-BPYgj8Fv.js";
3
+ import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-B3diVrr6.js";
4
4
  import { c as normalizeWhatsAppTarget, n as isWhatsAppNewsletterJid } from "./normalize-target-bVWjgftN.js";
5
5
  import "./normalize-Bxwqo-bW.js";
6
6
  import { t as getOptionalWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
@@ -1,5 +1,5 @@
1
1
  import { r as resolveDefaultWhatsAppAccountId, t as listAccountIds } from "./account-ids-CB5SOWjc.js";
2
- import { a as resolveWhatsAppAccount, n as hasAnyWhatsAppAuth } from "./accounts-BPYgj8Fv.js";
2
+ import { a as resolveWhatsAppAccount, n as hasAnyWhatsAppAuth } from "./accounts-B3diVrr6.js";
3
3
  import { a as normalizeWhatsAppAllowFromEntries } from "./normalize-target-bVWjgftN.js";
4
4
  import { t as WhatsAppChannelConfigSchema } from "./config-schema-CsNDlDpL.js";
5
5
  import { n as whatsappDoctor } from "./doctor-By3SB4lm.js";
@@ -99,10 +99,10 @@ async function applyWhatsAppSecurityConfigFixes(params) {
99
99
  //#region extensions/whatsapp/src/shared.ts
100
100
  const WHATSAPP_CHANNEL = "whatsapp";
101
101
  async function loadWhatsAppChannelRuntime() {
102
- return await import("./channel.runtime-CoL9KTN0.js");
102
+ return await import("./channel.runtime-BAdyJSMT.js");
103
103
  }
104
104
  async function loadWhatsAppSetupSurface() {
105
- return await import("./setup-surface-a6p2hwne.js");
105
+ return await import("./setup-surface-C4R54NEZ.js");
106
106
  }
107
107
  const whatsappSetupWizardProxy = createWhatsAppSetupWizardProxy(async () => (await loadWhatsAppSetupSurface()).whatsappSetupWizard);
108
108
  const whatsappConfigAdapter = createScopedChannelConfigAdapter({
@@ -1,8 +1,8 @@
1
1
  import { r as resolveDefaultWhatsAppAccountId } from "./account-ids-CB5SOWjc.js";
2
2
  import { r as hasWebCredsSync } from "./creds-files-B1kSWtBg.js";
3
- import { a as resolveWhatsAppAccount, o as resolveWhatsAppAuthDir } from "./accounts-BPYgj8Fv.js";
3
+ import { a as resolveWhatsAppAccount, o as resolveWhatsAppAuthDir } from "./accounts-B3diVrr6.js";
4
4
  import { a as normalizeWhatsAppAllowFromEntries, o as normalizeWhatsAppAllowFromEntry } from "./normalize-target-bVWjgftN.js";
5
- import { t as whatsappSetupAdapter } from "./setup-core-BNb5y1vb.js";
5
+ import { t as whatsappSetupAdapter } from "./setup-core-B_fDLMkf.js";
6
6
  import { DEFAULT_ACCOUNT_ID, createSetupTranslator, splitSetupEntries } from "openclaw/plugin-sdk/setup";
7
7
  import { formatCliCommand, formatDocsLink } from "openclaw/plugin-sdk/setup-tools";
8
8
  //#region extensions/whatsapp/src/setup-finalize.ts
@@ -280,7 +280,7 @@ async function finalizeWhatsAppSetup(params) {
280
280
  message: linked ? t("wizard.whatsapp.relinkPrompt") : t("wizard.whatsapp.linkNowPrompt"),
281
281
  initialValue: !linked
282
282
  })) try {
283
- const { loginWeb } = await import("./login-BEkrpJbZ.js").then((n) => n.n);
283
+ const { loginWeb } = await import("./login-CympQtg8.js").then((n) => n.n);
284
284
  await loginWeb(false, void 0, params.runtime, accountId);
285
285
  } catch (error) {
286
286
  params.runtime.error(`WhatsApp login failed: ${String(error)}`);
@@ -1,2 +1,2 @@
1
- import { t as whatsappSetupPlugin } from "./channel.setup-Bc9iLanw.js";
1
+ import { t as whatsappSetupPlugin } from "./channel.setup-DFASG1fi.js";
2
2
  export { whatsappSetupPlugin };
@@ -1,5 +1,5 @@
1
1
  import { t as listAccountIds } from "./account-ids-CB5SOWjc.js";
2
- import { o as resolveWhatsAppAuthDir } from "./accounts-BPYgj8Fv.js";
2
+ import { o as resolveWhatsAppAuthDir } from "./accounts-B3diVrr6.js";
3
3
  import { a as formatWhatsAppWebAuthStatusState, h as readWebAuthState } from "./auth-store-BrKb0mwT.js";
4
4
  import { DEFAULT_ACCOUNT_ID, createSetupTranslator, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
5
5
  //#region extensions/whatsapp/src/setup-surface.ts
@@ -36,7 +36,7 @@ const whatsappSetupWizard = {
36
36
  },
37
37
  resolveShouldPromptAccountIds: ({ shouldPromptAccountIds }) => shouldPromptAccountIds,
38
38
  credentials: [],
39
- finalize: async (params) => await (await import("./setup-finalize-zKhMJPdG.js")).finalizeWhatsAppSetup(params),
39
+ finalize: async (params) => await (await import("./setup-finalize-CwUDT0HD.js")).finalizeWhatsAppSetup(params),
40
40
  disable: (cfg) => setSetupChannelEnabled(cfg, channel, false),
41
41
  onAccountRecorded: (accountId, options) => {
42
42
  options?.onAccountId?.(channel, accountId);
package/dist/test-api.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-DeSRFXEV.js";
2
- import { t as whatsappOutbound } from "./outbound-adapter-B_NADUoO.js";
2
+ import { t as whatsappOutbound } from "./outbound-adapter-76p0VEXd.js";
3
3
  export { resolveWhatsAppRuntimeGroupPolicy, whatsappOutbound };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/whatsapp",
3
- "version": "2026.5.25-beta.1",
3
+ "version": "2026.5.26-beta.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/whatsapp",
9
- "version": "2026.5.25-beta.1",
9
+ "version": "2026.5.26-beta.1",
10
10
  "dependencies": {
11
11
  "audio-decode": "2.2.3",
12
12
  "baileys": "7.0.0-rc13",
@@ -14,7 +14,7 @@
14
14
  "typebox": "1.1.38"
15
15
  },
16
16
  "peerDependencies": {
17
- "openclaw": ">=2026.5.25-beta.1"
17
+ "openclaw": ">=2026.5.26-beta.1"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "openclaw": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/whatsapp",
3
- "version": "2026.5.25-beta.1",
3
+ "version": "2026.5.26-beta.1",
4
4
  "description": "OpenClaw WhatsApp channel plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,7 +14,7 @@
14
14
  "typebox": "1.1.38"
15
15
  },
16
16
  "peerDependencies": {
17
- "openclaw": ">=2026.5.25-beta.1"
17
+ "openclaw": ">=2026.5.26-beta.1"
18
18
  },
19
19
  "peerDependenciesMeta": {
20
20
  "openclaw": {
@@ -57,10 +57,10 @@
57
57
  "minHostVersion": ">=2026.4.25"
58
58
  },
59
59
  "compat": {
60
- "pluginApi": ">=2026.5.25-beta.1"
60
+ "pluginApi": ">=2026.5.26-beta.1"
61
61
  },
62
62
  "build": {
63
- "openclawVersion": "2026.5.25-beta.1"
63
+ "openclawVersion": "2026.5.26-beta.1"
64
64
  },
65
65
  "release": {
66
66
  "publishToClawHub": true,