@openclaw/whatsapp 2026.5.7 → 2026.5.9-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.
- package/dist/action-runtime-api.js +1 -1
- package/dist/{action-runtime-BqYZmBX_.js → action-runtime-flTHnBac.js} +1 -1
- package/dist/action-runtime.runtime.js +1 -1
- package/dist/api.js +115 -7
- package/dist/{auth-store-BNZmNP-s.js → auth-store-CG0eSZ0D.js} +17 -39
- package/dist/{channel-CTr3YjO8.js → channel-Dnv-QeNE.js} +34 -7
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel-react-action-BuSTzmDX.js → channel-react-action-LOuxBqX6.js} +1 -1
- package/dist/{channel.runtime-C3i9Svfj.js → channel.runtime-CCZpOzbU.js} +5 -5
- package/dist/{channel.setup-BYtkDwHe.js → channel.setup-CV0OjAwl.js} +3 -3
- package/dist/{connection-controller-BCIuChXD.js → connection-controller-d8D2iUBj.js} +6 -197
- package/dist/contract-api.js +1 -1
- package/dist/legacy-state-migrations-api.js +1 -1
- package/dist/light-runtime-api.js +2 -2
- package/dist/{login-DSUTCcJ7.js → login-B_u009k0.js} +3 -2
- package/dist/{login-qr-dfs8tfGo.js → login-qr-C0b7I7hu.js} +3 -2
- package/dist/login-qr-runtime.js +1 -1
- package/dist/{monitor-C5_C_RGJ.js → monitor-5u0dVXnB.js} +93 -683
- package/dist/{outbound-adapter-CbR17Ehj.js → outbound-adapter-BoHBD2S7.js} +3 -3
- package/dist/{outbound-base-BmzhutvF.js → outbound-base-CCx7atwc.js} +6 -1
- package/dist/{outbound-media-contract-BPdOq7Hb.js → outbound-media-contract-Dzi1ILTd.js} +36 -40
- package/dist/outbound-payload-test-api.js +1 -1
- package/dist/runtime-api.js +8 -7
- package/dist/{send-CxctcFGT.js → send-CLBN7TZv.js} +1 -1
- package/dist/send-api-DoycpOvC.js +697 -0
- package/dist/session-BXC3R43P.js +198 -0
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-CF3l3gEZ.js → setup-surface-RbOpXjSR.js} +2 -2
- package/dist/{shared-CTSTwprn.js → shared-h4cwNeYT.js} +2 -2
- package/dist/{state-migrations-DnCdvoYD.js → state-migrations-Bm0S67yH.js} +2 -1
- package/dist/test-api.js +1 -1
- package/package.json +5 -5
- package/dist/{access-control-CTj7P7WP.js → access-control-hFVqAWSd.js} +1 -1
- /package/dist/{active-listener-N7GFKsuN.js → active-listener-DTbKS-j-.js} +0 -0
- /package/dist/{audio-preflight.runtime-Bcdsl_ri.js → audio-preflight.runtime-MmkB-pgX.js} +0 -0
- /package/dist/{reply-resolver.runtime-BRCgoO4C.js → reply-resolver.runtime-rIVWohXr.js} +0 -0
- /package/dist/{session.runtime-C1eSE_KK.js → session.runtime-CVhtXjTk.js} +0 -0
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { n as resolveWebCredsBackupPath, r as resolveWebCredsPath } from "./creds-files-_2V8jzQa.js";
|
|
2
|
+
import { n as getStatusCode } from "./session-errors-CSuKZPub.js";
|
|
3
|
+
import { C as waitForCredsSaveQueueWithTimeout, l as readCredsJsonRaw, v as resolveDefaultWebAuthDir, w as writeCredsJsonAtomically, x as enqueueCredsSave, y as restoreCredsFromBackupIfNeeded } from "./auth-store-CG0eSZ0D.js";
|
|
4
|
+
import { i as makeWASocket, n as fetchLatestBaileysVersion, o as useMultiFileAuthState, r as makeCacheableSignalKeyStore, t as DisconnectReason } from "./session.runtime-CVhtXjTk.js";
|
|
5
|
+
import fs from "node:fs";
|
|
6
|
+
import { ensureDir, resolveUserPath } from "openclaw/plugin-sdk/text-runtime";
|
|
7
|
+
import { VERSION, formatCliCommand } from "openclaw/plugin-sdk/cli-runtime";
|
|
8
|
+
import { danger, getChildLogger as getChildLogger$1, success, toPinoLikeLogger } from "openclaw/plugin-sdk/runtime-env";
|
|
9
|
+
import { renderQrTerminal } from "openclaw/plugin-sdk/media-runtime";
|
|
10
|
+
import { randomUUID } from "node:crypto";
|
|
11
|
+
import { HttpsProxyAgent } from "https-proxy-agent";
|
|
12
|
+
import { resolveEnvHttpProxyUrl, shouldUseEnvHttpProxyForUrl } from "openclaw/plugin-sdk/fetch-runtime";
|
|
13
|
+
//#region extensions/whatsapp/src/socket-timing.ts
|
|
14
|
+
const DEFAULT_WHATSAPP_SOCKET_TIMING = {
|
|
15
|
+
keepAliveIntervalMs: 25e3,
|
|
16
|
+
connectTimeoutMs: 6e4,
|
|
17
|
+
defaultQueryTimeoutMs: 6e4
|
|
18
|
+
};
|
|
19
|
+
function positiveInteger(value) {
|
|
20
|
+
return typeof value === "number" && Number.isInteger(value) && value > 0 ? value : void 0;
|
|
21
|
+
}
|
|
22
|
+
function resolveWhatsAppSocketTiming(cfg, overrides) {
|
|
23
|
+
const configured = cfg.web?.whatsapp;
|
|
24
|
+
return {
|
|
25
|
+
keepAliveIntervalMs: positiveInteger(overrides?.keepAliveIntervalMs) ?? positiveInteger(configured?.keepAliveIntervalMs) ?? DEFAULT_WHATSAPP_SOCKET_TIMING.keepAliveIntervalMs,
|
|
26
|
+
connectTimeoutMs: positiveInteger(overrides?.connectTimeoutMs) ?? positiveInteger(configured?.connectTimeoutMs) ?? DEFAULT_WHATSAPP_SOCKET_TIMING.connectTimeoutMs,
|
|
27
|
+
defaultQueryTimeoutMs: positiveInteger(overrides?.defaultQueryTimeoutMs) ?? positiveInteger(configured?.defaultQueryTimeoutMs) ?? DEFAULT_WHATSAPP_SOCKET_TIMING.defaultQueryTimeoutMs
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region extensions/whatsapp/src/session.ts
|
|
32
|
+
const LOGGED_OUT_STATUS = DisconnectReason?.loggedOut ?? 401;
|
|
33
|
+
const WHATSAPP_WEBSOCKET_PROXY_TARGET = "https://mmg.whatsapp.net/";
|
|
34
|
+
const CREDS_FLUSH_TIMEOUT_MESSAGE = "Queued WhatsApp creds save did not finish before auth bootstrap; skipping repair and continuing with primary creds.";
|
|
35
|
+
function enqueueSaveCreds(authDir, saveCreds, logger) {
|
|
36
|
+
enqueueCredsSave(authDir, () => safeSaveCreds(authDir, saveCreds, logger), (err) => {
|
|
37
|
+
logger.warn({ error: String(err) }, "WhatsApp creds save queue error");
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
41
|
+
try {
|
|
42
|
+
const credsPath = resolveWebCredsPath(authDir);
|
|
43
|
+
const backupPath = resolveWebCredsBackupPath(authDir);
|
|
44
|
+
const raw = readCredsJsonRaw(credsPath);
|
|
45
|
+
if (raw) try {
|
|
46
|
+
JSON.parse(raw);
|
|
47
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
48
|
+
try {
|
|
49
|
+
fs.chmodSync(backupPath, 384);
|
|
50
|
+
} catch {}
|
|
51
|
+
} catch {}
|
|
52
|
+
} catch {}
|
|
53
|
+
try {
|
|
54
|
+
await Promise.resolve(saveCreds());
|
|
55
|
+
} catch (err) {
|
|
56
|
+
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
async function printTerminalQr(qr) {
|
|
60
|
+
const output = await renderQrTerminal(qr, { small: true });
|
|
61
|
+
process.stdout.write(output.endsWith("\n") ? output : `${output}\n`);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Create a Baileys socket backed by the multi-file auth store we keep on disk.
|
|
65
|
+
* Consumers can opt into QR printing for interactive login flows.
|
|
66
|
+
*/
|
|
67
|
+
async function createWaSocket(printQr, verbose, opts = {}) {
|
|
68
|
+
const logger = toPinoLikeLogger(getChildLogger$1({ module: "baileys" }, { level: verbose ? "info" : "silent" }), verbose ? "info" : "silent");
|
|
69
|
+
const authDir = resolveUserPath(opts.authDir ?? resolveDefaultWebAuthDir());
|
|
70
|
+
await ensureDir(authDir);
|
|
71
|
+
const sessionLogger = getChildLogger$1({ module: "web-session" });
|
|
72
|
+
if (await waitForCredsSaveQueueWithTimeout(authDir) === "timed_out") sessionLogger.warn({ authDir }, CREDS_FLUSH_TIMEOUT_MESSAGE);
|
|
73
|
+
else await restoreCredsFromBackupIfNeeded(authDir);
|
|
74
|
+
const { state } = await useMultiFileAuthState(authDir);
|
|
75
|
+
const saveCreds = async () => {
|
|
76
|
+
await writeCredsJsonAtomically(authDir, state.creds);
|
|
77
|
+
};
|
|
78
|
+
const { version } = await fetchLatestBaileysVersion();
|
|
79
|
+
const agent = await resolveEnvProxyAgent(sessionLogger);
|
|
80
|
+
const fetchAgent = await resolveEnvFetchDispatcher(sessionLogger, agent);
|
|
81
|
+
const socketTiming = {
|
|
82
|
+
keepAliveIntervalMs: opts.keepAliveIntervalMs ?? DEFAULT_WHATSAPP_SOCKET_TIMING.keepAliveIntervalMs,
|
|
83
|
+
connectTimeoutMs: opts.connectTimeoutMs ?? DEFAULT_WHATSAPP_SOCKET_TIMING.connectTimeoutMs,
|
|
84
|
+
defaultQueryTimeoutMs: opts.defaultQueryTimeoutMs ?? DEFAULT_WHATSAPP_SOCKET_TIMING.defaultQueryTimeoutMs
|
|
85
|
+
};
|
|
86
|
+
const sock = makeWASocket({
|
|
87
|
+
auth: {
|
|
88
|
+
creds: state.creds,
|
|
89
|
+
keys: makeCacheableSignalKeyStore(state.keys, logger)
|
|
90
|
+
},
|
|
91
|
+
version,
|
|
92
|
+
logger,
|
|
93
|
+
printQRInTerminal: false,
|
|
94
|
+
browser: [
|
|
95
|
+
"openclaw",
|
|
96
|
+
"cli",
|
|
97
|
+
VERSION
|
|
98
|
+
],
|
|
99
|
+
syncFullHistory: false,
|
|
100
|
+
markOnlineOnConnect: false,
|
|
101
|
+
...socketTiming,
|
|
102
|
+
agent,
|
|
103
|
+
fetchAgent
|
|
104
|
+
});
|
|
105
|
+
sock.ev.on("creds.update", () => enqueueSaveCreds(authDir, saveCreds, sessionLogger));
|
|
106
|
+
sock.ev.on("connection.update", async (update) => {
|
|
107
|
+
try {
|
|
108
|
+
const { connection, lastDisconnect, qr } = update;
|
|
109
|
+
if (qr) {
|
|
110
|
+
opts.onQr?.(qr);
|
|
111
|
+
if (printQr) {
|
|
112
|
+
console.log("Open the WhatsApp app, go to Linked Devices, then scan this QR:");
|
|
113
|
+
printTerminalQr(qr).catch((err) => {
|
|
114
|
+
sessionLogger.warn({ error: String(err) }, "failed rendering WhatsApp QR");
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
if (connection === "close") {
|
|
119
|
+
if (getStatusCode(lastDisconnect?.error) === LOGGED_OUT_STATUS) console.error(danger(`WhatsApp session logged out. Run: ${formatCliCommand("openclaw channels login")}`));
|
|
120
|
+
}
|
|
121
|
+
if (connection === "open" && verbose) console.log(success("WhatsApp Web connected."));
|
|
122
|
+
} catch (err) {
|
|
123
|
+
sessionLogger.error({ error: String(err) }, "connection.update handler error");
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
if (sock.ws && typeof sock.ws.on === "function") sock.ws.on("error", (err) => {
|
|
127
|
+
sessionLogger.error({ error: String(err) }, "WebSocket error");
|
|
128
|
+
});
|
|
129
|
+
return sock;
|
|
130
|
+
}
|
|
131
|
+
async function resolveEnvProxyAgent(logger) {
|
|
132
|
+
if (!shouldUseEnvHttpProxyForUrl(WHATSAPP_WEBSOCKET_PROXY_TARGET)) return;
|
|
133
|
+
const proxyUrl = resolveEnvHttpProxyUrl("https");
|
|
134
|
+
if (!proxyUrl) return;
|
|
135
|
+
try {
|
|
136
|
+
const agent = new HttpsProxyAgent(proxyUrl);
|
|
137
|
+
logger.info("Using ambient env proxy for WhatsApp WebSocket connection");
|
|
138
|
+
return agent;
|
|
139
|
+
} catch (error) {
|
|
140
|
+
logger.warn({ error: String(error) }, "Failed to initialize env proxy agent for WhatsApp WebSocket connection");
|
|
141
|
+
return;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
async function resolveEnvFetchDispatcher(logger, agent) {
|
|
145
|
+
const proxyUrl = resolveProxyUrlFromAgent(agent);
|
|
146
|
+
const envProxyUrl = resolveEnvHttpsProxyUrl();
|
|
147
|
+
if (!proxyUrl && !envProxyUrl) return;
|
|
148
|
+
try {
|
|
149
|
+
const { EnvHttpProxyAgent, ProxyAgent } = await import("undici");
|
|
150
|
+
return proxyUrl ? new ProxyAgent({
|
|
151
|
+
allowH2: false,
|
|
152
|
+
uri: proxyUrl
|
|
153
|
+
}) : new EnvHttpProxyAgent({ allowH2: false });
|
|
154
|
+
} catch (error) {
|
|
155
|
+
logger.warn({ error: String(error) }, "Failed to initialize env proxy dispatcher for WhatsApp media uploads");
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
function resolveProxyUrlFromAgent(agent) {
|
|
160
|
+
if (typeof agent !== "object" || agent === null || !("proxy" in agent)) return;
|
|
161
|
+
const proxy = agent.proxy;
|
|
162
|
+
if (proxy instanceof URL) return proxy.toString();
|
|
163
|
+
return typeof proxy === "string" && proxy.length > 0 ? proxy : void 0;
|
|
164
|
+
}
|
|
165
|
+
function resolveEnvHttpsProxyUrl(env = process.env) {
|
|
166
|
+
const lowerHttpsProxy = normalizeEnvProxyValue(env.https_proxy);
|
|
167
|
+
const lowerHttpProxy = normalizeEnvProxyValue(env.http_proxy);
|
|
168
|
+
const httpsProxy = lowerHttpsProxy !== void 0 ? lowerHttpsProxy : normalizeEnvProxyValue(env.HTTPS_PROXY);
|
|
169
|
+
const httpProxy = lowerHttpProxy !== void 0 ? lowerHttpProxy : normalizeEnvProxyValue(env.HTTP_PROXY);
|
|
170
|
+
return httpsProxy ?? httpProxy ?? void 0;
|
|
171
|
+
}
|
|
172
|
+
function normalizeEnvProxyValue(value) {
|
|
173
|
+
if (typeof value !== "string") return;
|
|
174
|
+
const trimmed = value.trim();
|
|
175
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
176
|
+
}
|
|
177
|
+
async function waitForWaConnection(sock) {
|
|
178
|
+
return new Promise((resolve, reject) => {
|
|
179
|
+
const evWithOff = sock.ev;
|
|
180
|
+
const handler = (...args) => {
|
|
181
|
+
const update = args[0] ?? {};
|
|
182
|
+
if (update.connection === "open") {
|
|
183
|
+
evWithOff.off?.("connection.update", handler);
|
|
184
|
+
resolve();
|
|
185
|
+
}
|
|
186
|
+
if (update.connection === "close") {
|
|
187
|
+
evWithOff.off?.("connection.update", handler);
|
|
188
|
+
reject(update.lastDisconnect ?? /* @__PURE__ */ new Error("Connection closed"));
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
sock.ev.on("connection.update", handler);
|
|
192
|
+
});
|
|
193
|
+
}
|
|
194
|
+
function newConnectionId() {
|
|
195
|
+
return randomUUID();
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
export { renderQrTerminal as a, resolveWhatsAppSocketTiming as i, newConnectionId as n, waitForWaConnection as r, createWaSocket as t };
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as whatsappSetupPlugin } from "./channel.setup-
|
|
1
|
+
import { t as whatsappSetupPlugin } from "./channel.setup-CV0OjAwl.js";
|
|
2
2
|
export { whatsappSetupPlugin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as resolveDefaultWhatsAppAccountId, t as listAccountIds } from "./account-ids-DG18xddX.js";
|
|
2
2
|
import { a as resolveWhatsAppAccount, o as resolveWhatsAppAuthDir } from "./accounts-BDqgpFEB.js";
|
|
3
3
|
import { a as normalizeWhatsAppAllowFromEntries, o as normalizeWhatsAppAllowFromEntry } from "./normalize-target-nXxC_hxG.js";
|
|
4
|
-
import { i as formatWhatsAppWebAuthStatusState, m as readWebAuthState } from "./auth-store-
|
|
4
|
+
import { i as formatWhatsAppWebAuthStatusState, m as readWebAuthState } from "./auth-store-CG0eSZ0D.js";
|
|
5
5
|
import { t as whatsappSetupAdapter } from "./setup-core-DZKvpzbH.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { DEFAULT_ACCOUNT_ID, pathExists, setSetupChannelEnabled, splitSetupEntries } from "openclaw/plugin-sdk/setup";
|
|
@@ -280,7 +280,7 @@ async function finalizeWhatsAppSetup(params) {
|
|
|
280
280
|
message: linked ? "WhatsApp already linked. Re-link now?" : "Link WhatsApp now (QR)?",
|
|
281
281
|
initialValue: !linked
|
|
282
282
|
})) try {
|
|
283
|
-
const { loginWeb } = await import("./login-
|
|
283
|
+
const { loginWeb } = await import("./login-B_u009k0.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)}`);
|
|
@@ -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-
|
|
127
|
+
return await import("./channel.runtime-CCZpOzbU.js");
|
|
128
128
|
}
|
|
129
129
|
async function loadWhatsAppSetupSurface() {
|
|
130
|
-
return await import("./setup-surface-
|
|
130
|
+
return await import("./setup-surface-RbOpXjSR.js");
|
|
131
131
|
}
|
|
132
132
|
const whatsappSetupWizardProxy = createWhatsAppSetupWizardProxy(async () => (await loadWhatsAppSetupSurface()).whatsappSetupWizard);
|
|
133
133
|
const whatsappConfigAdapter = createScopedChannelConfigAdapter({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import path from "node:path";
|
|
3
|
+
import { statRegularFileSync } from "openclaw/plugin-sdk/security-runtime";
|
|
3
4
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
|
|
4
5
|
//#region extensions/whatsapp/src/state-migrations.ts
|
|
5
6
|
function fileExists(pathValue) {
|
|
6
7
|
try {
|
|
7
|
-
return
|
|
8
|
+
return !statRegularFileSync(pathValue).missing;
|
|
8
9
|
} catch {
|
|
9
10
|
return false;
|
|
10
11
|
}
|
package/dist/test-api.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-Gp1lQ0at.js";
|
|
2
|
-
import { t as whatsappOutbound } from "./outbound-adapter-
|
|
2
|
+
import { t as whatsappOutbound } from "./outbound-adapter-BoHBD2S7.js";
|
|
3
3
|
export { resolveWhatsAppRuntimeGroupPolicy, whatsappOutbound };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/whatsapp",
|
|
3
|
-
"version": "2026.5.
|
|
3
|
+
"version": "2026.5.9-beta.1",
|
|
4
4
|
"description": "OpenClaw WhatsApp channel plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@whiskeysockets/baileys": "7.0.0-rc.9",
|
|
12
12
|
"https-proxy-agent": "^9.0.0",
|
|
13
13
|
"jimp": "^1.6.1",
|
|
14
|
-
"typebox": "1.1.
|
|
14
|
+
"typebox": "1.1.38",
|
|
15
15
|
"undici": "8.2.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"openclaw": "workspace:*"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"openclaw": ">=2026.5.
|
|
22
|
+
"openclaw": ">=2026.5.9-beta.1"
|
|
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.
|
|
64
|
+
"pluginApi": ">=2026.5.9-beta.1"
|
|
65
65
|
},
|
|
66
66
|
"build": {
|
|
67
|
-
"openclawVersion": "2026.5.
|
|
67
|
+
"openclawVersion": "2026.5.9-beta.1"
|
|
68
68
|
},
|
|
69
69
|
"release": {
|
|
70
70
|
"publishToClawHub": true,
|
|
@@ -3,11 +3,11 @@ import { r as isSelfChatMode, t as text_runtime_exports } from "./text-runtime-D
|
|
|
3
3
|
import { a as getSelfIdentity, o as getSenderIdentity } from "./identity-DhaC0MoD.js";
|
|
4
4
|
import { t as resolveWhatsAppRuntimeGroupPolicy } from "./runtime-group-policy-Gp1lQ0at.js";
|
|
5
5
|
import { defaultRuntime } from "openclaw/plugin-sdk/runtime-env";
|
|
6
|
+
import { expandAllowFromWithAccessGroups, readStoreAllowFromForDmPolicy, resolveDmGroupAccessWithCommandGate, resolveDmGroupAccessWithLists, resolveEffectiveAllowFromLists } from "openclaw/plugin-sdk/security-runtime";
|
|
6
7
|
import { resolveChannelGroupPolicy, resolveChannelGroupRequireMention } from "openclaw/plugin-sdk/channel-policy";
|
|
7
8
|
import { createChannelPairingChallengeIssuer } from "openclaw/plugin-sdk/channel-pairing";
|
|
8
9
|
import { upsertChannelPairingRequest } from "openclaw/plugin-sdk/conversation-runtime";
|
|
9
10
|
import { resolveDefaultGroupPolicy, warnMissingProviderGroupPolicyFallbackOnce } from "openclaw/plugin-sdk/runtime-group-policy";
|
|
10
|
-
import { expandAllowFromWithAccessGroups, readStoreAllowFromForDmPolicy, resolveDmGroupAccessWithCommandGate, resolveDmGroupAccessWithLists, resolveEffectiveAllowFromLists } from "openclaw/plugin-sdk/security-runtime";
|
|
11
11
|
import { resolveGroupSessionKey } from "openclaw/plugin-sdk/session-store-runtime";
|
|
12
12
|
//#region extensions/whatsapp/src/inbound-policy.ts
|
|
13
13
|
function resolveGroupConversationId(conversationId) {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|