@openclaw/whatsapp 2026.5.27-beta.1 → 2026.5.27

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 (25) hide show
  1. package/dist/{action-runtime-DsmQGobv.js → action-runtime-ClWX76J7.js} +1 -1
  2. package/dist/action-runtime-api.js +1 -1
  3. package/dist/action-runtime.runtime.js +1 -1
  4. package/dist/api.js +6 -6
  5. package/dist/{approval-handler.runtime-DhXPn5rP.js → approval-handler.runtime-CnM8rqpB.js} +1 -1
  6. package/dist/{channel-BVjAjxDN.js → channel-DeRnX7Dx.js} +6 -6
  7. package/dist/channel-plugin-api.js +1 -1
  8. package/dist/{channel-react-action-2cM3z2xs.js → channel-react-action-Bo_hIjzN.js} +2 -2
  9. package/dist/{channel.runtime-IlQWq1Yf.js → channel.runtime-C08TFa-d.js} +2 -2
  10. package/dist/{channel.setup-BriU76oc.js → channel.setup-CtTHpu8o.js} +1 -1
  11. package/dist/{monitor-C2v24RgX.js → monitor-BdKlBuaK.js} +3 -3
  12. package/dist/{outbound-adapter-B4tmDvoq.js → outbound-adapter-CcNeZvD_.js} +3 -3
  13. package/dist/{outbound-base-DEqi9Ujk.js → outbound-base-MHdfVWvv.js} +1 -1
  14. package/dist/{outbound-media-contract-BKCo2tsn.js → outbound-media-contract-B3Y-9slb.js} +2 -1
  15. package/dist/outbound-payload-test-api.js +1 -1
  16. package/dist/runtime-api.js +4 -4
  17. package/dist/{send-BMZxSmMe.js → send-D0iPQBMX.js} +1 -1
  18. package/dist/{send-api-DPoMFw-l.js → send-api-3hUuzYv1.js} +1 -1
  19. package/dist/{setup-core-DJMxTTB6.js → setup-core-cgB2JDjU.js} +2 -2
  20. package/dist/{setup-finalize-DKaGx4ov.js → setup-finalize-CCZdGnko.js} +1 -1
  21. package/dist/setup-plugin-api.js +1 -1
  22. package/dist/{setup-surface-BxP_JlB1.js → setup-surface-BouY1WI8.js} +1 -1
  23. package/dist/test-api.js +1 -1
  24. package/npm-shrinkwrap.json +3 -3
  25. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
  import { a as resolveWhatsAppAccount } from "./accounts-BMGM1RtF.js";
2
2
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
3
3
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BF3d5IgO.js";
4
- import { r as sendReactionWhatsApp } from "./send-BMZxSmMe.js";
4
+ import { r as sendReactionWhatsApp } from "./send-D0iPQBMX.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-DsmQGobv.js";
1
+ import { t as handleWhatsAppAction } from "./action-runtime-ClWX76J7.js";
2
2
  export { handleWhatsAppAction };
@@ -1,2 +1,2 @@
1
- import { t as handleWhatsAppAction } from "./action-runtime-DsmQGobv.js";
1
+ import { t as handleWhatsAppAction } from "./action-runtime-ClWX76J7.js";
2
2
  export { handleWhatsAppAction };
package/dist/api.js CHANGED
@@ -3,18 +3,18 @@ import { a as resolveWhatsAppAccount, i as listWhatsAppAuthDirs, n as hasAnyWhat
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-BF3d5IgO.js";
6
- import "./send-BMZxSmMe.js";
6
+ import "./send-D0iPQBMX.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-BVjAjxDN.js";
9
- import { n as WHATSAPP_LEGACY_OUTBOUND_SEND_DEP_KEYS } from "./outbound-base-DEqi9Ujk.js";
8
+ import { t as whatsappPlugin } from "./channel-DeRnX7Dx.js";
9
+ import { n as WHATSAPP_LEGACY_OUTBOUND_SEND_DEP_KEYS } from "./outbound-base-MHdfVWvv.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-DJMxTTB6.js";
11
+ import { a as resolveWhatsAppGroupRequireMention, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint } from "./setup-core-cgB2JDjU.js";
12
12
  import "./config-schema-CsNDlDpL.js";
13
- import { t as whatsappSetupPlugin } from "./channel.setup-BriU76oc.js";
13
+ import { t as whatsappSetupPlugin } from "./channel.setup-CtTHpu8o.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-Dijefxc3.js";
16
16
  import { n as testing } from "./access-control-tKMSybhe.js";
17
- import { m as extractText, t as createWebSendApi } from "./send-api-DPoMFw-l.js";
17
+ import { m as extractText, t as createWebSendApi } from "./send-api-3hUuzYv1.js";
18
18
  import { r as waitForWaConnection, t as createWaSocket } from "./session-CDgpDc0l.js";
19
19
  import "openclaw/plugin-sdk/channel-actions";
20
20
  import "openclaw/plugin-sdk/account-resolution";
@@ -1,6 +1,6 @@
1
1
  import { s as normalizeWhatsAppMessagingTarget } from "./normalize-target-bVWjgftN.js";
2
2
  import "./normalize-Bxwqo-bW.js";
3
- import { c as unregisterWhatsAppApprovalReactionTarget, i as sendTypingWhatsApp, s as registerWhatsAppApprovalReactionTarget, t as sendMessageWhatsApp } from "./send-BMZxSmMe.js";
3
+ import { c as unregisterWhatsAppApprovalReactionTarget, i as sendTypingWhatsApp, s as registerWhatsAppApprovalReactionTarget, t as sendMessageWhatsApp } from "./send-D0iPQBMX.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";
@@ -4,13 +4,13 @@ import { c as normalizeWhatsAppTarget, i as looksLikeWhatsAppTargetId, n as isWh
4
4
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
5
5
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BF3d5IgO.js";
6
6
  import "./normalize-Bxwqo-bW.js";
7
- import { i as sendTypingWhatsApp, l as getWhatsAppApprovalApprovers, n as sendPollWhatsApp, t as sendMessageWhatsApp, u as whatsappApprovalAuth } from "./send-BMZxSmMe.js";
7
+ import { i as sendTypingWhatsApp, l as getWhatsAppApprovalApprovers, n as sendPollWhatsApp, t as sendMessageWhatsApp, u as whatsappApprovalAuth } from "./send-D0iPQBMX.js";
8
8
  import { n as getWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
9
- import { r as normalizeWhatsAppPayloadTextPreservingIndentation } from "./outbound-media-contract-BKCo2tsn.js";
9
+ import { r as normalizeWhatsAppPayloadTextPreservingIndentation } from "./outbound-media-contract-B3Y-9slb.js";
10
10
  import { t as createWhatsAppLoginTool } from "./agent-tools-login-BDzvb3ee.js";
11
- import { t as createWhatsAppOutboundBase } from "./outbound-base-DEqi9Ujk.js";
11
+ import { t as createWhatsAppOutboundBase } from "./outbound-base-MHdfVWvv.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-DJMxTTB6.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-cgB2JDjU.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";
@@ -328,7 +328,7 @@ const whatsappApprovalCapability = createChannelApprovalCapability({
328
328
  accountId,
329
329
  request
330
330
  }),
331
- load: async () => (await import("./approval-handler.runtime-DhXPn5rP.js")).whatsappApprovalNativeRuntime
331
+ load: async () => (await import("./approval-handler.runtime-CnM8rqpB.js")).whatsappApprovalNativeRuntime
332
332
  })
333
333
  });
334
334
  splitChannelApprovalCapability(whatsappApprovalCapability);
@@ -610,7 +610,7 @@ function collectWhatsAppStatusIssues(accounts) {
610
610
  //#endregion
611
611
  //#region extensions/whatsapp/src/channel.ts
612
612
  const loadWhatsAppDirectoryConfig = createLazyRuntimeModule(() => import("./directory-config-Dijefxc3.js").then((n) => n.t));
613
- const loadWhatsAppChannelReactAction = createLazyRuntimeModule(() => import("./channel-react-action-2cM3z2xs.js"));
613
+ const loadWhatsAppChannelReactAction = createLazyRuntimeModule(() => import("./channel-react-action-Bo_hIjzN.js"));
614
614
  function resolveWhatsAppTargetInfo(raw) {
615
615
  const normalized = normalizeWhatsAppTarget(raw);
616
616
  if (!normalized) return null;
@@ -1,2 +1,2 @@
1
- import { t as whatsappPlugin } from "./channel-BVjAjxDN.js";
1
+ import { t as whatsappPlugin } from "./channel-DeRnX7Dx.js";
2
2
  export { whatsappPlugin };
@@ -1,8 +1,8 @@
1
1
  import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-BMGM1RtF.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-DsmQGobv.js";
3
+ import { r as resolveAuthorizedWhatsAppOutboundTarget, t as handleWhatsAppAction } from "./action-runtime-ClWX76J7.js";
4
4
  import "./normalize-Bxwqo-bW.js";
5
- import { t as sendMessageWhatsApp } from "./send-BMZxSmMe.js";
5
+ import { t as sendMessageWhatsApp } from "./send-D0iPQBMX.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-C2v24RgX.js";
4
+ import { t as monitorWebChannel$1 } from "./monitor-BdKlBuaK.js";
5
5
  import { t as loginWeb$1 } from "./login-1rs_uPW-.js";
6
- import { whatsappSetupWizard as whatsappSetupWizard$1 } from "./setup-surface-BxP_JlB1.js";
6
+ import { whatsappSetupWizard as whatsappSetupWizard$1 } from "./setup-surface-BouY1WI8.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
1
  import "./accounts-BMGM1RtF.js";
2
- import { a as resolveWhatsAppGroupRequireMention, i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-DJMxTTB6.js";
2
+ import { a as resolveWhatsAppGroupRequireMention, i as whatsappSetupWizardProxy, n as createWhatsAppPluginBase, o as resolveWhatsAppGroupToolPolicy, s as resolveWhatsAppGroupIntroHint, t as whatsappSetupAdapter } from "./setup-core-cgB2JDjU.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) {
@@ -1,9 +1,9 @@
1
1
  import { a as resolveWhatsAppAccount, s as resolveWhatsAppMediaMaxBytes } from "./accounts-BMGM1RtF.js";
2
2
  import { t as isWhatsAppGroupJid } from "./normalize-target-bVWjgftN.js";
3
3
  import { t as resolveWhatsAppReactionLevel } from "./reaction-level-BF3d5IgO.js";
4
- import { o as maybeResolveWhatsAppApprovalReaction, r as sendReactionWhatsApp } from "./send-BMZxSmMe.js";
4
+ import { o as maybeResolveWhatsAppApprovalReaction, r as sendReactionWhatsApp } from "./send-D0iPQBMX.js";
5
5
  import { n as getWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
6
- import { i as prepareWhatsAppOutboundMedia, o as sendWhatsAppOutboundWithRetry, r as normalizeWhatsAppPayloadTextPreservingIndentation, t as normalizeWhatsAppOutboundPayload } from "./outbound-media-contract-BKCo2tsn.js";
6
+ import { i as prepareWhatsAppOutboundMedia, o as sendWhatsAppOutboundWithRetry, r as normalizeWhatsAppPayloadTextPreservingIndentation, t as normalizeWhatsAppOutboundPayload } from "./outbound-media-contract-B3Y-9slb.js";
7
7
  import { n as getStatusCode, t as formatError } from "./session-errors-BAj9D2La.js";
8
8
  import { d as markdownToWhatsApp, f as resolveJidToE164, l as isSelfChatMode, n as normalizeE164, t as convertMarkdownTables$1, u as jidToE164 } from "./text-runtime-Dk37KYHj.js";
9
9
  import { n as cacheInboundMessageMeta, r as lookupInboundMessageMeta, t as buildQuotedMessageOptions } from "./quoted-message-CveINB35.js";
@@ -11,7 +11,7 @@ import { c as logoutWeb, g as readWebSelfId, o as getWebAuthAgeMs, r as WhatsApp
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
13
  import { i as resolveWhatsAppInboundPolicy, r as resolveWhatsAppCommandAuthorized, t as checkInboundAccessControl } from "./access-control-tKMSybhe.js";
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-DPoMFw-l.js";
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-3hUuzYv1.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";
17
17
  import { c as computeBackoff, d as resolveReconnectPolicy, f as sleepWithAbort, l as newConnectionId, n as WHATSAPP_WATCHDOG_TIMEOUT_ERROR, r as WhatsAppConnectionController, s as DEFAULT_RECONNECT_POLICY, u as resolveHeartbeatSeconds } from "./connection-controller-ja6z4F_k.js";
@@ -1,13 +1,13 @@
1
1
  import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CcdugbDf.js";
2
- import { n as normalizeWhatsAppPayloadText } from "./outbound-media-contract-BKCo2tsn.js";
3
- import { t as createWhatsAppOutboundBase } from "./outbound-base-DEqi9Ujk.js";
2
+ import { n as normalizeWhatsAppPayloadText } from "./outbound-media-contract-B3Y-9slb.js";
3
+ import { t as createWhatsAppOutboundBase } from "./outbound-base-MHdfVWvv.js";
4
4
  import { shouldLogVerbose } from "openclaw/plugin-sdk/runtime-env";
5
5
  import { chunkText } from "openclaw/plugin-sdk/reply-chunking";
6
6
  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-BMZxSmMe.js").then((n) => n.a);
10
+ whatsAppSendModulePromise ??= import("./send-D0iPQBMX.js").then((n) => n.a);
11
11
  return whatsAppSendModulePromise;
12
12
  }
13
13
  function normalizeOutboundText(text) {
@@ -1,4 +1,4 @@
1
- import { n as normalizeWhatsAppPayloadText, t as normalizeWhatsAppOutboundPayload } from "./outbound-media-contract-BKCo2tsn.js";
1
+ import { n as normalizeWhatsAppPayloadText, t as normalizeWhatsAppOutboundPayload } from "./outbound-media-contract-B3Y-9slb.js";
2
2
  import { p as toWhatsappJid } from "./text-runtime-Dk37KYHj.js";
3
3
  import { i as lookupInboundMessageMetaForTarget } from "./quoted-message-CveINB35.js";
4
4
  import { DEFAULT_ACCOUNT_ID, listCombinedAccountIds, normalizeOptionalAccountId, resolveListedDefaultAccountId } from "openclaw/plugin-sdk/account-core";
@@ -14,7 +14,8 @@ function resolveWhatsAppDefaultDocumentFileName(mimetype) {
14
14
  return extension ? `${WHATSAPP_DEFAULT_DOCUMENT_FILE_NAME}${extension}` : WHATSAPP_DEFAULT_DOCUMENT_FILE_NAME;
15
15
  }
16
16
  function resolveWhatsAppDocumentFileName(params) {
17
- return params.fileName?.trim() || resolveWhatsAppDefaultDocumentFileName(params.mimetype);
17
+ const fallbackName = resolveWhatsAppDefaultDocumentFileName(params.mimetype);
18
+ return params.fileName?.replace(/[\x00-\x1f\x7f]/g, "").trim() || fallbackName;
18
19
  }
19
20
  //#endregion
20
21
  //#region extensions/whatsapp/src/outbound-media-contract.ts
@@ -1,2 +1,2 @@
1
- import { t as whatsappOutbound } from "./outbound-adapter-B4tmDvoq.js";
1
+ import { t as whatsappOutbound } from "./outbound-adapter-CcNeZvD_.js";
2
2
  export { whatsappOutbound };
@@ -1,16 +1,16 @@
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-DsmQGobv.js";
3
- import { i as sendTypingWhatsApp, n as sendPollWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-BMZxSmMe.js";
2
+ import { n as whatsAppActionRuntime, t as handleWhatsAppAction } from "./action-runtime-ClWX76J7.js";
3
+ import { i as sendTypingWhatsApp, n as sendPollWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-D0iPQBMX.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";
7
7
  import { t as createWhatsAppLoginTool } from "./agent-tools-login-BDzvb3ee.js";
8
8
  import { C as waitForCredsSaveQueue, T as writeCredsJsonAtomically, _ as readWebSelfIdentity, a as formatWhatsAppWebAuthStatusState, b as restoreCredsFromBackupIfNeeded, c as logoutWeb, d as readWebAuthExistsBestEffort, f as readWebAuthExistsForDecision, g as readWebSelfId, h as readWebAuthState, l as pickWebChannel, m as readWebAuthSnapshotBestEffort, n as WHATSAPP_AUTH_UNSTABLE_CODE, o as getWebAuthAgeMs, p as readWebAuthSnapshot, r as WhatsAppAuthUnstableError, s as logWebSelfId, t as WA_WEB_AUTH_DIR, u as readCredsJsonRaw, v as readWebSelfIdentityForDecision, w as waitForCredsSaveQueueWithTimeout, x as webAuthExists, y as resolveDefaultWebAuthDir } from "./auth-store-BrKb0mwT.js";
9
9
  import { t as DEFAULT_WEB_MEDIA_BYTES } from "./constants-HU41RHGI.js";
10
- import { d as extractLocationData, f as extractMediaPlaceholder, l as extractContactContext, m as extractText } from "./send-api-DPoMFw-l.js";
10
+ import { d as extractLocationData, f as extractMediaPlaceholder, l as extractContactContext, m as extractText } from "./send-api-3hUuzYv1.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-C2v24RgX.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-BdKlBuaK.js";
14
14
  import { t as loginWeb } from "./login-1rs_uPW-.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 };
@@ -5,7 +5,7 @@ import { c as normalizeWhatsAppTarget, n as isWhatsAppNewsletterJid } from "./no
5
5
  import "./normalize-Bxwqo-bW.js";
6
6
  import { t as getOptionalWhatsAppRuntime } from "./runtime-BfAdAEYT.js";
7
7
  import { t as getRegisteredWhatsAppConnectionController } from "./connection-controller-registry-TSX_udJp.js";
8
- import { a as resolveWhatsAppOutboundMediaUrls, i as prepareWhatsAppOutboundMedia, n as normalizeWhatsAppPayloadText, s as resolveWhatsAppDocumentFileName } from "./outbound-media-contract-BKCo2tsn.js";
8
+ import { a as resolveWhatsAppOutboundMediaUrls, i as prepareWhatsAppOutboundMedia, n as normalizeWhatsAppPayloadText, s as resolveWhatsAppDocumentFileName } from "./outbound-media-contract-B3Y-9slb.js";
9
9
  import { d as markdownToWhatsApp, p as toWhatsappJid } from "./text-runtime-Dk37KYHj.js";
10
10
  import { formatCliCommand } from "openclaw/plugin-sdk/cli-runtime";
11
11
  import { generateSecureUuid } from "openclaw/plugin-sdk/core";
@@ -1,6 +1,6 @@
1
1
  import { n as isWhatsAppNewsletterJid } from "./normalize-target-bVWjgftN.js";
2
2
  import "./normalize-Bxwqo-bW.js";
3
- import { s as resolveWhatsAppDocumentFileName } from "./outbound-media-contract-BKCo2tsn.js";
3
+ import { s as resolveWhatsAppDocumentFileName } from "./outbound-media-contract-B3Y-9slb.js";
4
4
  import { m as toWhatsappJidWithLid, p as toWhatsappJid, u as jidToE164 } from "./text-runtime-Dk37KYHj.js";
5
5
  import { t as buildQuotedMessageOptions } from "./quoted-message-CveINB35.js";
6
6
  import { c as resolveComparableIdentity } from "./identity-xoLLdqEv.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-IlQWq1Yf.js");
102
+ return await import("./channel.runtime-C08TFa-d.js");
103
103
  }
104
104
  async function loadWhatsAppSetupSurface() {
105
- return await import("./setup-surface-BxP_JlB1.js");
105
+ return await import("./setup-surface-BouY1WI8.js");
106
106
  }
107
107
  const whatsappSetupWizardProxy = createWhatsAppSetupWizardProxy(async () => (await loadWhatsAppSetupSurface()).whatsappSetupWizard);
108
108
  const whatsappConfigAdapter = createScopedChannelConfigAdapter({
@@ -2,7 +2,7 @@ import { r as resolveDefaultWhatsAppAccountId } from "./account-ids-CB5SOWjc.js"
2
2
  import { r as hasWebCredsSync } from "./creds-files-B1kSWtBg.js";
3
3
  import { a as resolveWhatsAppAccount, o as resolveWhatsAppAuthDir } from "./accounts-BMGM1RtF.js";
4
4
  import { a as normalizeWhatsAppAllowFromEntries, o as normalizeWhatsAppAllowFromEntry } from "./normalize-target-bVWjgftN.js";
5
- import { t as whatsappSetupAdapter } from "./setup-core-DJMxTTB6.js";
5
+ import { t as whatsappSetupAdapter } from "./setup-core-cgB2JDjU.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
@@ -1,2 +1,2 @@
1
- import { t as whatsappSetupPlugin } from "./channel.setup-BriU76oc.js";
1
+ import { t as whatsappSetupPlugin } from "./channel.setup-CtTHpu8o.js";
2
2
  export { whatsappSetupPlugin };
@@ -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-DKaGx4ov.js")).finalizeWhatsAppSetup(params),
39
+ finalize: async (params) => await (await import("./setup-finalize-CCZdGnko.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-B4tmDvoq.js";
2
+ import { t as whatsappOutbound } from "./outbound-adapter-CcNeZvD_.js";
3
3
  export { resolveWhatsAppRuntimeGroupPolicy, whatsappOutbound };
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/whatsapp",
3
- "version": "2026.5.27-beta.1",
3
+ "version": "2026.5.27",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/whatsapp",
9
- "version": "2026.5.27-beta.1",
9
+ "version": "2026.5.27",
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.27-beta.1"
17
+ "openclaw": ">=2026.5.27"
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.27-beta.1",
3
+ "version": "2026.5.27",
4
4
  "description": "OpenClaw WhatsApp channel plugin for WhatsApp Web chats.",
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.27-beta.1"
17
+ "openclaw": ">=2026.5.27"
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.27-beta.1"
60
+ "pluginApi": ">=2026.5.27"
61
61
  },
62
62
  "build": {
63
- "openclawVersion": "2026.5.27-beta.1"
63
+ "openclawVersion": "2026.5.27"
64
64
  },
65
65
  "release": {
66
66
  "publishToClawHub": true,