@openclaw/zalouser 2026.7.1-beta.1 → 2026.7.1-beta.2

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.
@@ -1,2 +1,2 @@
1
- import { n as getZaloUserInfo, t as checkZaloAuthenticated } from "./zalo-js-C2Eq5K4i.js";
1
+ import { n as getZaloUserInfo, t as checkZaloAuthenticated } from "./zalo-js-3qIiveMW.js";
2
2
  export { checkZaloAuthenticated, getZaloUserInfo };
@@ -1,10 +1,10 @@
1
- import "./setup-surface-C8VXOMBu.js";
2
- import "./shared-xBuXIOwv.js";
3
- import { n as parseZalouserOutboundTarget } from "./channel-BFn5MZCm.js";
1
+ import "./setup-surface-DBnm8O4H.js";
2
+ import "./shared-DmWesmOn.js";
3
+ import { n as parseZalouserOutboundTarget } from "./channel-upZiqJWv.js";
4
4
  import "./security-audit-DhK2UscX.js";
5
- import { i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated } from "./zalo-js-C2Eq5K4i.js";
6
- import "./channel.setup-BsYmobJ6.js";
7
- import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-_7W21n-G.js";
5
+ import { i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated } from "./zalo-js-3qIiveMW.js";
6
+ import "./channel.setup-CJlEzAJP.js";
7
+ import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-wLAr1heH.js";
8
8
  import { stringEnum } from "openclaw/plugin-sdk/channel-actions";
9
9
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
10
10
  import { Type } from "typebox";
package/dist/api.js CHANGED
@@ -1,7 +1,7 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-C8VXOMBu.js";
2
- import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-xBuXIOwv.js";
3
- import { t as zalouserPlugin } from "./channel-BFn5MZCm.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DBnm8O4H.js";
2
+ import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-DmWesmOn.js";
3
+ import { t as zalouserPlugin } from "./channel-upZiqJWv.js";
4
4
  import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DhK2UscX.js";
5
- import { t as zalouserSetupPlugin } from "./channel.setup-BsYmobJ6.js";
6
- import { t as createZalouserTool } from "./api-WQJ1sj8X.js";
5
+ import { t as zalouserSetupPlugin } from "./channel.setup-CJlEzAJP.js";
6
+ import { t as createZalouserTool } from "./api-B5U4x8bt.js";
7
7
  export { collectZalouserSecurityAuditFindings, createZalouserSetupWizardProxy, createZalouserTool, isZalouserMutableGroupEntry, zalouserPlugin, zalouserSetupAdapter, zalouserSetupPlugin, zalouserSetupWizard };
@@ -1,2 +1,2 @@
1
- import { t as zalouserPlugin } from "./channel-BFn5MZCm.js";
1
+ import { t as zalouserPlugin } from "./channel-upZiqJWv.js";
2
2
  export { zalouserPlugin };
@@ -1,4 +1,4 @@
1
- import { a as DEFAULT_ACCOUNT_ID, c as isNumericTargetId, d as checkZcaAuthenticated, f as listZalouserAccountIds, i as writeQrDataUrlToTempFile, l as normalizeAccountId, m as resolveZalouserAccountSync, n as createZalouserSetupWizardProxy, o as chunkTextForOutbound, p as resolveDefaultZalouserAccountId, r as zalouserSetupAdapter, s as isDangerousNameMatchingEnabled, t as createZalouserPluginBase, u as sendPayloadWithChunkedTextAndMedia } from "./shared-xBuXIOwv.js";
1
+ import { a as DEFAULT_ACCOUNT_ID, c as isNumericTargetId, d as checkZcaAuthenticated, f as listZalouserAccountIds, i as writeQrDataUrlToTempFile, l as normalizeAccountId, m as resolveZalouserAccountSync, n as createZalouserSetupWizardProxy, o as chunkTextForOutbound, p as resolveDefaultZalouserAccountId, r as zalouserSetupAdapter, s as isDangerousNameMatchingEnabled, t as createZalouserPluginBase, u as sendPayloadWithChunkedTextAndMedia } from "./shared-DmWesmOn.js";
2
2
  import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
3
3
  import { createAccountStatusSink, defineChannelMessageAdapter } from "openclaw/plugin-sdk/channel-outbound";
4
4
  import { buildPassiveProbedChannelStatusSummary, coerceStatusIssueAccountId, readStatusIssueFields } from "openclaw/plugin-sdk/extension-shared";
@@ -204,7 +204,7 @@ function resolveZalouserOutboundSessionRoute(params) {
204
204
  }
205
205
  //#endregion
206
206
  //#region extensions/zalouser/src/channel.adapters.ts
207
- const loadZalouserChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel.runtime-CmquHp26.js"));
207
+ const loadZalouserChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel.runtime-B3igcfqh.js"));
208
208
  const ZALOUSER_TEXT_CHUNK_LIMIT = 2e3;
209
209
  function resolveZalouserQrProfile(accountId) {
210
210
  const normalized = normalizeAccountId(accountId);
@@ -535,8 +535,8 @@ function collectZalouserStatusIssues(accounts) {
535
535
  }
536
536
  //#endregion
537
537
  //#region extensions/zalouser/src/channel.ts
538
- const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-CmquHp26.js"));
539
- const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-C8VXOMBu.js").then((n) => n.t)).zalouserSetupWizard);
538
+ const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-B3igcfqh.js"));
539
+ const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-DBnm8O4H.js").then((n) => n.t)).zalouserSetupWizard);
540
540
  function mapUser(params) {
541
541
  return {
542
542
  kind: "user",
@@ -653,7 +653,7 @@ const zalouserPlugin = createChatChannelPlugin({
653
653
  setStatus: ctx.setStatus
654
654
  });
655
655
  ctx.log?.info(`[${account.accountId}] starting zalouser provider${userLabel}`);
656
- const { monitorZalouserProvider } = await import("./monitor-DxOj93Pa.js");
656
+ const { monitorZalouserProvider } = await import("./monitor-aip0K1Yf.js");
657
657
  return monitorZalouserProvider({
658
658
  account,
659
659
  config: ctx.cfg,
@@ -1,6 +1,6 @@
1
1
  import { t as collectZalouserSecurityAuditFindings } from "./security-audit-DhK2UscX.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-C2Eq5K4i.js";
3
- import { a as sendReactionZalouser, i as sendMessageZalouser } from "./send-_7W21n-G.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-3qIiveMW.js";
3
+ import { a as sendReactionZalouser, i as sendMessageZalouser } from "./send-wLAr1heH.js";
4
4
  import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
5
5
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
6
6
  //#region extensions/zalouser/src/probe.ts
@@ -1,5 +1,5 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-C8VXOMBu.js";
2
- import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-xBuXIOwv.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DBnm8O4H.js";
2
+ import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-DmWesmOn.js";
3
3
  //#region extensions/zalouser/src/channel.setup.ts
4
4
  const zalouserSetupPlugin = { ...createZalouserPluginBase({
5
5
  setupWizard: zalouserSetupWizard,
@@ -1,6 +1,6 @@
1
- import { a as formatZalouserMessageSidFull, c as findZalouserGroupEntry, l as isZalouserGroupEntryAllowed, o as resolveZalouserMessageSid, r as getZalouserRuntime, s as buildZalouserGroupCandidates } from "./channel-BFn5MZCm.js";
2
- import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-C2Eq5K4i.js";
3
- import { i as sendMessageZalouser, o as sendSeenZalouser, s as sendTypingZalouser, t as sendDeliveredZalouser } from "./send-_7W21n-G.js";
1
+ import { a as formatZalouserMessageSidFull, c as findZalouserGroupEntry, l as isZalouserGroupEntryAllowed, o as resolveZalouserMessageSid, r as getZalouserRuntime, s as buildZalouserGroupCandidates } from "./channel-upZiqJWv.js";
2
+ import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-3qIiveMW.js";
3
+ import { i as sendMessageZalouser, o as sendSeenZalouser, s as sendTypingZalouser, t as sendDeliveredZalouser } from "./send-wLAr1heH.js";
4
4
  import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
5
5
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
6
6
  import { mergeAllowlist, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
@@ -1,9 +1,9 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-C8VXOMBu.js";
2
- import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-xBuXIOwv.js";
3
- import { i as setZalouserRuntime, t as zalouserPlugin } from "./channel-BFn5MZCm.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DBnm8O4H.js";
2
+ import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-DmWesmOn.js";
3
+ import { i as setZalouserRuntime, t as zalouserPlugin } from "./channel-upZiqJWv.js";
4
4
  import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DhK2UscX.js";
5
- import { t as zalouserSetupPlugin } from "./channel.setup-BsYmobJ6.js";
6
- import { t as createZalouserTool } from "./api-WQJ1sj8X.js";
5
+ import { t as zalouserSetupPlugin } from "./channel.setup-CJlEzAJP.js";
6
+ import { t as createZalouserTool } from "./api-B5U4x8bt.js";
7
7
  import { createChannelMessageReplyPipeline } from "openclaw/plugin-sdk/channel-outbound";
8
8
  import { buildBaseAccountStatusSnapshot } from "openclaw/plugin-sdk/status-helpers";
9
9
  import { formatAllowFromLowercase, mergeAllowlist, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
@@ -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-C2Eq5K4i.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-3qIiveMW.js";
2
2
  //#region extensions/zalouser/src/text-styles.ts
3
3
  const ESCAPE_SENTINEL_START = "";
4
4
  const ESCAPE_SENTINEL_END = "";
@@ -1,2 +1,2 @@
1
- import { t as zalouserSetupPlugin } from "./channel.setup-BsYmobJ6.js";
1
+ import { t as zalouserSetupPlugin } from "./channel.setup-CJlEzAJP.js";
2
2
  export { zalouserSetupPlugin };
@@ -1,5 +1,5 @@
1
- import { d as checkZcaAuthenticated, f as listZalouserAccountIds, i as writeQrDataUrlToTempFile, m as resolveZalouserAccountSync, p as resolveDefaultZalouserAccountId } from "./shared-xBuXIOwv.js";
2
- import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-C2Eq5K4i.js";
1
+ import { d as checkZcaAuthenticated, f as listZalouserAccountIds, i as writeQrDataUrlToTempFile, m as resolveZalouserAccountSync, p as resolveDefaultZalouserAccountId } from "./shared-DmWesmOn.js";
2
+ import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-3qIiveMW.js";
3
3
  import { normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import { DEFAULT_ACCOUNT_ID, addWildcardAllowFrom, createSetupTranslator, formatCliCommand, formatDocsLink, formatResolvedUnresolvedNote, mergeAllowFromEntries, normalizeAccountId, patchScopedAccountConfig } from "openclaw/plugin-sdk/setup";
5
5
  //#region \0rolldown/runtime.js
@@ -1,5 +1,6 @@
1
1
  import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-mDJdHVKH.js";
2
2
  import { n as isZalouserMutableGroupEntry } from "./security-audit-DhK2UscX.js";
3
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
3
4
  import { DEFAULT_ACCOUNT_ID, createAccountListHelpers, normalizeAccountId, resolveMergedAccountConfig } from "openclaw/plugin-sdk/account-resolution";
4
5
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
5
6
  import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
@@ -17,11 +18,7 @@ import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
17
18
  import { z } from "zod";
18
19
  import { createDangerousNameMatchingMutableAllowlistWarningCollector } from "openclaw/plugin-sdk/channel-policy";
19
20
  //#region extensions/zalouser/src/accounts.ts
20
- let zalouserAccountsRuntimePromise;
21
- async function loadZalouserAccountsRuntime() {
22
- zalouserAccountsRuntimePromise ??= import("./accounts.runtime-BOwtZOBd.js");
23
- return await zalouserAccountsRuntimePromise;
24
- }
21
+ const loadZalouserAccountsRuntime = createLazyRuntimeModule(() => import("./accounts.runtime-B2F5jsIG.js"));
25
22
  const { listAccountIds: listZalouserAccountIds, resolveDefaultAccountId: resolveDefaultZalouserAccountId } = createAccountListHelpers("zalouser", { implicitDefaultAccount: {
26
23
  channelKeys: ["profile"],
27
24
  envVars: ["ZALOUSER_PROFILE", "ZCA_PROFILE"]
@@ -1,4 +1,5 @@
1
1
  import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
2
+ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
2
3
  import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
4
  import path from "node:path";
4
5
  import { randomUUID } from "node:crypto";
@@ -90,11 +91,7 @@ function createZalouserSendReceipt(params) {
90
91
  }
91
92
  //#endregion
92
93
  //#region extensions/zalouser/src/zca-client.ts
93
- let zcaJsRuntimePromise = null;
94
- async function loadZcaJsRuntime() {
95
- zcaJsRuntimePromise ??= import("zca-js").then((mod) => mod);
96
- return await zcaJsRuntimePromise;
97
- }
94
+ const loadZcaJsRuntime = createLazyRuntimeModule(() => import("zca-js").then((mod) => mod));
98
95
  async function createZalo(options) {
99
96
  const Zalo = (await loadZcaJsRuntime()).Zalo;
100
97
  return new Zalo(options);
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@openclaw/zalouser",
3
- "version": "2026.7.1-beta.1",
3
+ "version": "2026.7.1-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/zalouser",
9
- "version": "2026.7.1-beta.1",
9
+ "version": "2026.7.1-beta.2",
10
10
  "dependencies": {
11
11
  "typebox": "1.1.39",
12
12
  "zca-js": "2.1.2",
13
13
  "zod": "4.4.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "openclaw": ">=2026.7.1-beta.1"
16
+ "openclaw": ">=2026.7.1-beta.2"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "openclaw": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/zalouser",
3
- "version": "2026.7.1-beta.1",
3
+ "version": "2026.7.1-beta.2",
4
4
  "description": "OpenClaw Zalo Personal Account plugin via native zca-js integration.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "zod": "4.4.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "openclaw": ">=2026.7.1-beta.1"
16
+ "openclaw": ">=2026.7.1-beta.2"
17
17
  },
18
18
  "peerDependenciesMeta": {
19
19
  "openclaw": {
@@ -50,10 +50,10 @@
50
50
  "minHostVersion": ">=2026.4.10"
51
51
  },
52
52
  "compat": {
53
- "pluginApi": ">=2026.7.1-beta.1"
53
+ "pluginApi": ">=2026.7.1-beta.2"
54
54
  },
55
55
  "build": {
56
- "openclawVersion": "2026.7.1-beta.1"
56
+ "openclawVersion": "2026.7.1-beta.2"
57
57
  },
58
58
  "release": {
59
59
  "publishToClawHub": true,