@openclaw/zalouser 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.
- package/dist/{accounts-ClSPNIvj.js → accounts-iV_px99V.js} +2 -2
- package/dist/{accounts.runtime-Bls9vlnf.js → accounts.runtime-B4Mw_Xgv.js} +1 -1
- package/dist/{api-Dl_YURKB.js → api-CaGurb-M.js} +6 -6
- package/dist/api.js +4 -4
- package/dist/{channel-BaznOdZe.js → channel-D4jRkVKJ.js} +9 -9
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-85pFFq1m.js → channel.runtime-DKtPzBr_.js} +2 -2
- package/dist/{channel.setup-Tevqgs6C.js → channel.setup-Bfi-3_EI.js} +2 -2
- package/dist/{monitor-BfclyB4b.js → monitor-j5lov4Dd.js} +4 -4
- package/dist/runtime-api.js +5 -5
- package/dist/{runtime-QNU7vLgI.js → runtime-nbWip_ng.js} +1 -1
- package/dist/{send-CeCQ8UZF.js → send-CH7XlJaj.js} +1 -1
- package/dist/{session-route-C0-Xr8bt.js → session-route-81QGCeV2.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-6MmoBuUf.js → setup-surface-Cz9-SO_8.js} +2 -2
- package/dist/{shared-C4hIhcfY.js → shared-BwUAKszU.js} +2 -2
- package/dist/test-api.js +4 -4
- package/dist/{zalo-js-QGi0H5K7.js → zalo-js-KeIEcTqZ.js} +2 -1
- package/package.json +6 -5
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DEFAULT_ACCOUNT_ID, createAccountListHelpers, normalizeAccountId, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
|
|
2
|
-
import { normalizeOptionalString } from "openclaw/plugin-sdk/
|
|
2
|
+
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
//#region extensions/zalouser/src/accounts.ts
|
|
4
4
|
let zalouserAccountsRuntimePromise;
|
|
5
5
|
async function loadZalouserAccountsRuntime() {
|
|
6
|
-
zalouserAccountsRuntimePromise ??= import("./accounts.runtime-
|
|
6
|
+
zalouserAccountsRuntimePromise ??= import("./accounts.runtime-B4Mw_Xgv.js");
|
|
7
7
|
return await zalouserAccountsRuntimePromise;
|
|
8
8
|
}
|
|
9
9
|
const { listAccountIds: listZalouserAccountIds, resolveDefaultAccountId: resolveDefaultZalouserAccountId } = createAccountListHelpers("zalouser");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as getZaloUserInfo, t as checkZaloAuthenticated } from "./zalo-js-
|
|
1
|
+
import { n as getZaloUserInfo, t as checkZaloAuthenticated } from "./zalo-js-KeIEcTqZ.js";
|
|
2
2
|
export { checkZaloAuthenticated, getZaloUserInfo };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./setup-surface-
|
|
1
|
+
import "./setup-surface-Cz9-SO_8.js";
|
|
2
2
|
import "./setup-core-CqipqY98.js";
|
|
3
|
-
import { r as parseZalouserOutboundTarget } from "./session-route-
|
|
4
|
-
import "./channel-
|
|
3
|
+
import { r as parseZalouserOutboundTarget } from "./session-route-81QGCeV2.js";
|
|
4
|
+
import "./channel-D4jRkVKJ.js";
|
|
5
5
|
import "./security-audit-BZLhil-V.js";
|
|
6
|
-
import { i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated } from "./zalo-js-
|
|
7
|
-
import "./channel.setup-
|
|
8
|
-
import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-
|
|
6
|
+
import { i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated } from "./zalo-js-KeIEcTqZ.js";
|
|
7
|
+
import "./channel.setup-Bfi-3_EI.js";
|
|
8
|
+
import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-CH7XlJaj.js";
|
|
9
9
|
import { stringEnum } from "openclaw/plugin-sdk/channel-actions";
|
|
10
10
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
11
11
|
import { Type } from "typebox";
|
package/dist/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as zalouserSetupWizard } from "./setup-surface-
|
|
1
|
+
import { n as zalouserSetupWizard } from "./setup-surface-Cz9-SO_8.js";
|
|
2
2
|
import { n as zalouserSetupAdapter, t as createZalouserSetupWizardProxy } from "./setup-core-CqipqY98.js";
|
|
3
|
-
import { t as zalouserPlugin } from "./channel-
|
|
3
|
+
import { t as zalouserPlugin } from "./channel-D4jRkVKJ.js";
|
|
4
4
|
import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-BZLhil-V.js";
|
|
5
|
-
import { t as zalouserSetupPlugin } from "./channel.setup-
|
|
6
|
-
import { t as createZalouserTool } from "./api-
|
|
5
|
+
import { t as zalouserSetupPlugin } from "./channel.setup-Bfi-3_EI.js";
|
|
6
|
+
import { t as createZalouserTool } from "./api-CaGurb-M.js";
|
|
7
7
|
export { collectZalouserSecurityAuditFindings, createZalouserSetupWizardProxy, createZalouserTool, isZalouserMutableGroupEntry, zalouserPlugin, zalouserSetupAdapter, zalouserSetupPlugin, zalouserSetupWizard };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-
|
|
2
|
-
import { a as isNumericTargetId, i as isDangerousNameMatchingEnabled, n as DEFAULT_ACCOUNT_ID, o as normalizeAccountId, r as chunkTextForOutbound, s as sendPayloadWithChunkedTextAndMedia, t as createZalouserPluginBase } from "./shared-
|
|
3
|
-
import { a as resolveZalouserReactionMessageIds, o as buildZalouserGroupCandidates, s as findZalouserGroupEntry, t as getZalouserRuntime } from "./runtime-
|
|
1
|
+
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-iV_px99V.js";
|
|
2
|
+
import { a as isNumericTargetId, i as isDangerousNameMatchingEnabled, n as DEFAULT_ACCOUNT_ID, o as normalizeAccountId, r as chunkTextForOutbound, s as sendPayloadWithChunkedTextAndMedia, t as createZalouserPluginBase } from "./shared-BwUAKszU.js";
|
|
3
|
+
import { a as resolveZalouserReactionMessageIds, o as buildZalouserGroupCandidates, s as findZalouserGroupEntry, t as getZalouserRuntime } from "./runtime-nbWip_ng.js";
|
|
4
4
|
import { n as zalouserSetupAdapter, r as writeQrDataUrlToTempFile, t as createZalouserSetupWizardProxy } from "./setup-core-CqipqY98.js";
|
|
5
|
-
import { i as resolveZalouserOutboundSessionRoute, n as parseZalouserDirectoryGroupId, r as parseZalouserOutboundTarget, t as normalizeZalouserTarget } from "./session-route-
|
|
5
|
+
import { i as resolveZalouserOutboundSessionRoute, n as parseZalouserDirectoryGroupId, r as parseZalouserOutboundTarget, t as normalizeZalouserTarget } from "./session-route-81QGCeV2.js";
|
|
6
6
|
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
7
7
|
import { createAccountStatusSink } from "openclaw/plugin-sdk/channel-lifecycle";
|
|
8
8
|
import { buildPassiveProbedChannelStatusSummary, coerceStatusIssueAccountId, readStatusIssueFields } from "openclaw/plugin-sdk/extension-shared";
|
|
9
9
|
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
10
10
|
import { createAsyncComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
11
|
-
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/
|
|
11
|
+
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { createScopedDmSecurityResolver } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
13
13
|
import { defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-message";
|
|
14
14
|
import { createPairingPrefixStripper } from "openclaw/plugin-sdk/channel-pairing";
|
|
15
15
|
import { createEmptyChannelResult, createRawChannelSendResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
|
|
16
16
|
import { createStaticReplyToModeResolver } from "openclaw/plugin-sdk/conversation-runtime";
|
|
17
17
|
//#region extensions/zalouser/src/channel.adapters.ts
|
|
18
|
-
const loadZalouserChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
18
|
+
const loadZalouserChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel.runtime-DKtPzBr_.js"));
|
|
19
19
|
const ZALOUSER_TEXT_CHUNK_LIMIT = 2e3;
|
|
20
20
|
function resolveZalouserQrProfile(accountId) {
|
|
21
21
|
const normalized = normalizeAccountId(accountId);
|
|
@@ -346,8 +346,8 @@ function collectZalouserStatusIssues(accounts) {
|
|
|
346
346
|
}
|
|
347
347
|
//#endregion
|
|
348
348
|
//#region extensions/zalouser/src/channel.ts
|
|
349
|
-
const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-
|
|
350
|
-
const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-
|
|
349
|
+
const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-DKtPzBr_.js"));
|
|
350
|
+
const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-Cz9-SO_8.js").then((n) => n.t)).zalouserSetupWizard);
|
|
351
351
|
function mapUser(params) {
|
|
352
352
|
return {
|
|
353
353
|
kind: "user",
|
|
@@ -464,7 +464,7 @@ const zalouserPlugin = createChatChannelPlugin({
|
|
|
464
464
|
setStatus: ctx.setStatus
|
|
465
465
|
});
|
|
466
466
|
ctx.log?.info(`[${account.accountId}] starting zalouser provider${userLabel}`);
|
|
467
|
-
const { monitorZalouserProvider } = await import("./monitor-
|
|
467
|
+
const { monitorZalouserProvider } = await import("./monitor-j5lov4Dd.js");
|
|
468
468
|
return monitorZalouserProvider({
|
|
469
469
|
account,
|
|
470
470
|
config: ctx.cfg,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as zalouserPlugin } from "./channel-
|
|
1
|
+
import { t as zalouserPlugin } from "./channel-D4jRkVKJ.js";
|
|
2
2
|
export { zalouserPlugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as collectZalouserSecurityAuditFindings } from "./security-audit-BZLhil-V.js";
|
|
2
|
-
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, y as startZaloQrLogin } from "./zalo-js-
|
|
3
|
-
import { a as sendReactionZalouser, i as sendMessageZalouser } from "./send-
|
|
2
|
+
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, y as startZaloQrLogin } from "./zalo-js-KeIEcTqZ.js";
|
|
3
|
+
import { a as sendReactionZalouser, i as sendMessageZalouser } from "./send-CH7XlJaj.js";
|
|
4
4
|
import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
//#region extensions/zalouser/src/probe.ts
|
|
6
6
|
async function probeZalouser(profile, timeoutMs) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as zalouserSetupWizard } from "./setup-surface-
|
|
2
|
-
import { t as createZalouserPluginBase } from "./shared-
|
|
1
|
+
import { n as zalouserSetupWizard } from "./setup-surface-Cz9-SO_8.js";
|
|
2
|
+
import { t as createZalouserPluginBase } from "./shared-BwUAKszU.js";
|
|
3
3
|
import { n as zalouserSetupAdapter } from "./setup-core-CqipqY98.js";
|
|
4
4
|
//#region extensions/zalouser/src/channel.setup.ts
|
|
5
5
|
const zalouserSetupPlugin = { ...createZalouserPluginBase({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as isZalouserGroupEntryAllowed, i as resolveZalouserMessageSid, o as buildZalouserGroupCandidates, r as formatZalouserMessageSidFull, s as findZalouserGroupEntry, t as getZalouserRuntime } from "./runtime-
|
|
2
|
-
import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-
|
|
3
|
-
import { i as sendMessageZalouser, o as sendSeenZalouser, s as sendTypingZalouser, t as sendDeliveredZalouser } from "./send-
|
|
1
|
+
import { c as isZalouserGroupEntryAllowed, i as resolveZalouserMessageSid, o as buildZalouserGroupCandidates, r as formatZalouserMessageSidFull, s as findZalouserGroupEntry, t as getZalouserRuntime } from "./runtime-nbWip_ng.js";
|
|
2
|
+
import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-KeIEcTqZ.js";
|
|
3
|
+
import { i as sendMessageZalouser, o as sendSeenZalouser, s as sendTypingZalouser, t as sendDeliveredZalouser } from "./send-CH7XlJaj.js";
|
|
4
4
|
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
5
|
-
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeStringEntries } from "openclaw/plugin-sdk/
|
|
5
|
+
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { mergeAllowlist, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
|
|
7
7
|
import { KeyedAsyncQueue } from "openclaw/plugin-sdk/core";
|
|
8
8
|
import { isDangerousNameMatchingEnabled } from "openclaw/plugin-sdk/dangerous-name-runtime";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as zalouserSetupWizard } from "./setup-surface-
|
|
2
|
-
import { n as setZalouserRuntime } from "./runtime-
|
|
1
|
+
import { n as zalouserSetupWizard } from "./setup-surface-Cz9-SO_8.js";
|
|
2
|
+
import { n as setZalouserRuntime } from "./runtime-nbWip_ng.js";
|
|
3
3
|
import { n as zalouserSetupAdapter, t as createZalouserSetupWizardProxy } from "./setup-core-CqipqY98.js";
|
|
4
|
-
import { t as zalouserPlugin } from "./channel-
|
|
4
|
+
import { t as zalouserPlugin } from "./channel-D4jRkVKJ.js";
|
|
5
5
|
import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-BZLhil-V.js";
|
|
6
|
-
import { t as zalouserSetupPlugin } from "./channel.setup-
|
|
7
|
-
import { t as createZalouserTool } from "./api-
|
|
6
|
+
import { t as zalouserSetupPlugin } from "./channel.setup-Bfi-3_EI.js";
|
|
7
|
+
import { t as createZalouserTool } from "./api-CaGurb-M.js";
|
|
8
8
|
import { buildBaseAccountStatusSnapshot } from "openclaw/plugin-sdk/status-helpers";
|
|
9
9
|
import { formatAllowFromLowercase, mergeAllowlist, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
|
|
10
10
|
import { DEFAULT_ACCOUNT_ID, buildChannelConfigSchema, normalizeAccountId } from "openclaw/plugin-sdk/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/
|
|
1
|
+
import { normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
2
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
3
3
|
//#region extensions/zalouser/src/group-policy.ts
|
|
4
4
|
function toGroupCandidate(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as TextStyle, _ as sendZaloTypingEvent, f as sendZaloDeliveredEvent, g as sendZaloTextMessage, h as sendZaloSeenEvent, m as sendZaloReaction, p as sendZaloLink, x as createZalouserSendReceipt } from "./zalo-js-
|
|
1
|
+
import { S as TextStyle, _ as sendZaloTypingEvent, f as sendZaloDeliveredEvent, g as sendZaloTextMessage, h as sendZaloSeenEvent, m as sendZaloReaction, p as sendZaloLink, x as createZalouserSendReceipt } from "./zalo-js-KeIEcTqZ.js";
|
|
2
2
|
//#region extensions/zalouser/src/text-styles.ts
|
|
3
3
|
const ESCAPE_SENTINEL_START = "";
|
|
4
4
|
const ESCAPE_SENTINEL_END = "";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/
|
|
1
|
+
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
2
|
import { buildChannelOutboundSessionRoute } from "openclaw/plugin-sdk/core";
|
|
3
3
|
//#region extensions/zalouser/src/session-route.ts
|
|
4
4
|
function stripZalouserTargetPrefix(raw) {
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as zalouserSetupPlugin } from "./channel.setup-
|
|
1
|
+
import { t as zalouserSetupPlugin } from "./channel.setup-Bfi-3_EI.js";
|
|
2
2
|
export { zalouserSetupPlugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-
|
|
1
|
+
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-iV_px99V.js";
|
|
2
2
|
import { r as writeQrDataUrlToTempFile } from "./setup-core-CqipqY98.js";
|
|
3
|
-
import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-
|
|
3
|
+
import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-KeIEcTqZ.js";
|
|
4
4
|
import { DEFAULT_ACCOUNT_ID, addWildcardAllowFrom, formatCliCommand, formatDocsLink, formatResolvedUnresolvedNote, mergeAllowFromEntries, normalizeAccountId, patchScopedAccountConfig } from "openclaw/plugin-sdk/setup";
|
|
5
5
|
//#region \0rolldown/runtime.js
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-
|
|
1
|
+
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-iV_px99V.js";
|
|
2
2
|
import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-DgqHp8E2.js";
|
|
3
3
|
import { n as isZalouserMutableGroupEntry } from "./security-audit-BZLhil-V.js";
|
|
4
4
|
import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
|
|
@@ -9,7 +9,7 @@ import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
|
9
9
|
import { isNumericTargetId, sendPayloadWithChunkedTextAndMedia } from "openclaw/plugin-sdk/reply-payload";
|
|
10
10
|
import { adaptScopedAccountAccessor, createScopedChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
11
11
|
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
12
|
-
import { z } from "
|
|
12
|
+
import { z } from "zod";
|
|
13
13
|
import { createDangerousNameMatchingMutableAllowlistWarningCollector } from "openclaw/plugin-sdk/channel-policy";
|
|
14
14
|
//#region extensions/zalouser/src/config-schema.ts
|
|
15
15
|
const groupConfigSchema = z.object({
|
package/dist/test-api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, n as getZcaUserInfo, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-
|
|
2
|
-
import { r as parseZalouserOutboundTarget } from "./session-route-
|
|
3
|
-
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, i as listZaloFriendsMatching, l as resolveZaloAllowFromEntries, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated, y as startZaloQrLogin } from "./zalo-js-
|
|
4
|
-
import { i as sendMessageZalouser } from "./send-
|
|
1
|
+
import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, n as getZcaUserInfo, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-iV_px99V.js";
|
|
2
|
+
import { r as parseZalouserOutboundTarget } from "./session-route-81QGCeV2.js";
|
|
3
|
+
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, i as listZaloFriendsMatching, l as resolveZaloAllowFromEntries, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated, y as startZaloQrLogin } from "./zalo-js-KeIEcTqZ.js";
|
|
4
|
+
import { i as sendMessageZalouser } from "./send-CH7XlJaj.js";
|
|
5
5
|
export { checkZaloAuthenticated, checkZcaAuthenticated, getZaloUserInfo, getZcaUserInfo, listZaloFriendsMatching, listZaloGroupMembers, listZaloGroupsMatching, listZalouserAccountIds, logoutZaloProfile, parseZalouserOutboundTarget, resolveDefaultZalouserAccountId, resolveZaloAllowFromEntries, resolveZaloGroupsByEntries, resolveZalouserAccountSync, sendMessageZalouser, startZaloQrLogin, waitForZaloQrLogin };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString
|
|
1
|
+
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
2
|
import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-message";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
@@ -8,6 +8,7 @@ import { extensionForMime } from "openclaw/plugin-sdk/media-mime";
|
|
|
8
8
|
import { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
|
|
9
9
|
import { privateFileStoreSync, readRegularFileSync, statRegularFileSync, withTimeout } from "openclaw/plugin-sdk/security-runtime";
|
|
10
10
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
11
|
+
import { sleep } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
11
12
|
//#region extensions/zalouser/src/zca-constants.ts
|
|
12
13
|
const ThreadType = {
|
|
13
14
|
User: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/zalouser",
|
|
3
|
-
"version": "2026.5.10-beta.
|
|
3
|
+
"version": "2026.5.10-beta.3",
|
|
4
4
|
"description": "OpenClaw Zalo Personal Account plugin via native zca-js integration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"typebox": "1.1.38",
|
|
12
|
-
"zca-js": "2.1.2"
|
|
12
|
+
"zca-js": "2.1.2",
|
|
13
|
+
"zod": "^4.4.3"
|
|
13
14
|
},
|
|
14
15
|
"devDependencies": {
|
|
15
16
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
16
17
|
"openclaw": "workspace:*"
|
|
17
18
|
},
|
|
18
19
|
"peerDependencies": {
|
|
19
|
-
"openclaw": ">=2026.5.10-beta.
|
|
20
|
+
"openclaw": ">=2026.5.10-beta.3"
|
|
20
21
|
},
|
|
21
22
|
"peerDependenciesMeta": {
|
|
22
23
|
"openclaw": {
|
|
@@ -53,10 +54,10 @@
|
|
|
53
54
|
"minHostVersion": ">=2026.4.10"
|
|
54
55
|
},
|
|
55
56
|
"compat": {
|
|
56
|
-
"pluginApi": ">=2026.5.10-beta.
|
|
57
|
+
"pluginApi": ">=2026.5.10-beta.3"
|
|
57
58
|
},
|
|
58
59
|
"build": {
|
|
59
|
-
"openclawVersion": "2026.5.10-beta.
|
|
60
|
+
"openclawVersion": "2026.5.10-beta.3"
|
|
60
61
|
},
|
|
61
62
|
"release": {
|
|
62
63
|
"publishToClawHub": true,
|