@openclaw/zalouser 2026.5.16-beta.4 → 2026.5.16-beta.6

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.
@@ -6,7 +6,10 @@ async function loadZalouserAccountsRuntime() {
6
6
  zalouserAccountsRuntimePromise ??= import("./accounts.runtime-BtpFX7w7.js");
7
7
  return await zalouserAccountsRuntimePromise;
8
8
  }
9
- const { listAccountIds: listZalouserAccountIds, resolveDefaultAccountId: resolveDefaultZalouserAccountId } = createAccountListHelpers("zalouser");
9
+ const { listAccountIds: listZalouserAccountIds, resolveDefaultAccountId: resolveDefaultZalouserAccountId } = createAccountListHelpers("zalouser", { implicitDefaultAccount: {
10
+ channelKeys: ["profile"],
11
+ envVars: ["ZALOUSER_PROFILE", "ZCA_PROFILE"]
12
+ } });
10
13
  function mergeZalouserAccountConfig(cfg, accountId) {
11
14
  const merged = resolveMergedAccountConfig({
12
15
  channelConfig: cfg.channels?.zalouser,
@@ -1,10 +1,10 @@
1
- import "./setup-surface-BOEnAElK.js";
2
- import "./shared-BZ67dMHg.js";
3
- import "./channel-ChrMP7B9.js";
1
+ import "./setup-surface-DEaAjUvX.js";
2
+ import "./shared-CV4ve3h7.js";
3
+ import "./channel-Dyi_UO1e.js";
4
4
  import { r as parseZalouserOutboundTarget } from "./session-route-DWMin5CB.js";
5
5
  import "./security-audit-DUQOetcM.js";
6
6
  import { i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated } from "./zalo-js-QSY2SsUF.js";
7
- import "./channel.setup-q1_Y8eHR.js";
7
+ import "./channel.setup-B_AwKWVN.js";
8
8
  import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-SPumHuhS.js";
9
9
  import { stringEnum } from "openclaw/plugin-sdk/channel-actions";
10
10
  import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";
package/dist/api.js CHANGED
@@ -1,7 +1,7 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-BOEnAElK.js";
2
- import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-BZ67dMHg.js";
3
- import { t as zalouserPlugin } from "./channel-ChrMP7B9.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DEaAjUvX.js";
2
+ import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-CV4ve3h7.js";
3
+ import { t as zalouserPlugin } from "./channel-Dyi_UO1e.js";
4
4
  import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DUQOetcM.js";
5
- import { t as zalouserSetupPlugin } from "./channel.setup-q1_Y8eHR.js";
6
- import { t as createZalouserTool } from "./api-Cn_gTKvR.js";
5
+ import { t as zalouserSetupPlugin } from "./channel.setup-B_AwKWVN.js";
6
+ import { t as createZalouserTool } from "./api-CtJXnHAb.js";
7
7
  export { collectZalouserSecurityAuditFindings, createZalouserSetupWizardProxy, createZalouserTool, isZalouserMutableGroupEntry, zalouserPlugin, zalouserSetupAdapter, zalouserSetupPlugin, zalouserSetupWizard };
@@ -1,5 +1,5 @@
1
- import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-CTecjIqR.js";
2
- import { a as DEFAULT_ACCOUNT_ID, c as isNumericTargetId, i as writeQrDataUrlToTempFile, l as normalizeAccountId, n as createZalouserSetupWizardProxy, o as chunkTextForOutbound, r as zalouserSetupAdapter, s as isDangerousNameMatchingEnabled, t as createZalouserPluginBase, u as sendPayloadWithChunkedTextAndMedia } from "./shared-BZ67dMHg.js";
1
+ import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-BAxVncD1.js";
2
+ import { a as DEFAULT_ACCOUNT_ID, c as isNumericTargetId, i as writeQrDataUrlToTempFile, l as normalizeAccountId, n as createZalouserSetupWizardProxy, o as chunkTextForOutbound, r as zalouserSetupAdapter, s as isDangerousNameMatchingEnabled, t as createZalouserPluginBase, u as sendPayloadWithChunkedTextAndMedia } from "./shared-CV4ve3h7.js";
3
3
  import { i as resolveZalouserOutboundSessionRoute, n as parseZalouserDirectoryGroupId, r as parseZalouserOutboundTarget, t as normalizeZalouserTarget } from "./session-route-DWMin5CB.js";
4
4
  import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
5
5
  import { createAccountStatusSink } from "openclaw/plugin-sdk/channel-lifecycle";
@@ -449,7 +449,7 @@ function collectZalouserStatusIssues(accounts) {
449
449
  //#endregion
450
450
  //#region extensions/zalouser/src/channel.ts
451
451
  const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-oMRJXO6B.js"));
452
- const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-BOEnAElK.js").then((n) => n.t)).zalouserSetupWizard);
452
+ const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-DEaAjUvX.js").then((n) => n.t)).zalouserSetupWizard);
453
453
  function mapUser(params) {
454
454
  return {
455
455
  kind: "user",
@@ -566,7 +566,7 @@ const zalouserPlugin = createChatChannelPlugin({
566
566
  setStatus: ctx.setStatus
567
567
  });
568
568
  ctx.log?.info(`[${account.accountId}] starting zalouser provider${userLabel}`);
569
- const { monitorZalouserProvider } = await import("./monitor-CZ3mU8vM.js");
569
+ const { monitorZalouserProvider } = await import("./monitor-DxOVcicC.js");
570
570
  return monitorZalouserProvider({
571
571
  account,
572
572
  config: ctx.cfg,
@@ -1,2 +1,2 @@
1
- import { t as zalouserPlugin } from "./channel-ChrMP7B9.js";
1
+ import { t as zalouserPlugin } from "./channel-Dyi_UO1e.js";
2
2
  export { zalouserPlugin };
@@ -1,5 +1,5 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-BOEnAElK.js";
2
- import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-BZ67dMHg.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DEaAjUvX.js";
2
+ import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-CV4ve3h7.js";
3
3
  //#region extensions/zalouser/src/channel.setup.ts
4
4
  const zalouserSetupPlugin = { ...createZalouserPluginBase({
5
5
  setupWizard: zalouserSetupWizard,
@@ -1,4 +1,4 @@
1
- import { a as resolveZalouserMessageSid, c as isZalouserGroupEntryAllowed, i as formatZalouserMessageSidFull, n as getZalouserRuntime, o as buildZalouserGroupCandidates, s as findZalouserGroupEntry } from "./channel-ChrMP7B9.js";
1
+ import { a as resolveZalouserMessageSid, c as isZalouserGroupEntryAllowed, i as formatZalouserMessageSidFull, n as getZalouserRuntime, o as buildZalouserGroupCandidates, s as findZalouserGroupEntry } from "./channel-Dyi_UO1e.js";
2
2
  import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-QSY2SsUF.js";
3
3
  import { i as sendMessageZalouser, o as sendSeenZalouser, s as sendTypingZalouser, t as sendDeliveredZalouser } from "./send-SPumHuhS.js";
4
4
  import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
@@ -1,9 +1,9 @@
1
- import { n as zalouserSetupWizard } from "./setup-surface-BOEnAElK.js";
2
- import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-BZ67dMHg.js";
3
- import { r as setZalouserRuntime, t as zalouserPlugin } from "./channel-ChrMP7B9.js";
1
+ import { n as zalouserSetupWizard } from "./setup-surface-DEaAjUvX.js";
2
+ import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-CV4ve3h7.js";
3
+ import { r as setZalouserRuntime, t as zalouserPlugin } from "./channel-Dyi_UO1e.js";
4
4
  import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DUQOetcM.js";
5
- import { t as zalouserSetupPlugin } from "./channel.setup-q1_Y8eHR.js";
6
- import { t as createZalouserTool } from "./api-Cn_gTKvR.js";
5
+ import { t as zalouserSetupPlugin } from "./channel.setup-B_AwKWVN.js";
6
+ import { t as createZalouserTool } from "./api-CtJXnHAb.js";
7
7
  import { buildBaseAccountStatusSnapshot } from "openclaw/plugin-sdk/status-helpers";
8
8
  import { formatAllowFromLowercase, mergeAllowlist, summarizeMapping } from "openclaw/plugin-sdk/allow-from";
9
9
  import { DEFAULT_ACCOUNT_ID, buildChannelConfigSchema, normalizeAccountId } from "openclaw/plugin-sdk/core";
@@ -1,2 +1,2 @@
1
- import { t as zalouserSetupPlugin } from "./channel.setup-q1_Y8eHR.js";
1
+ import { t as zalouserSetupPlugin } from "./channel.setup-B_AwKWVN.js";
2
2
  export { zalouserSetupPlugin };
@@ -1,5 +1,5 @@
1
- import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-CTecjIqR.js";
2
- import { i as writeQrDataUrlToTempFile } from "./shared-BZ67dMHg.js";
1
+ import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-BAxVncD1.js";
2
+ import { i as writeQrDataUrlToTempFile } from "./shared-CV4ve3h7.js";
3
3
  import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-QSY2SsUF.js";
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,4 +1,4 @@
1
- import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-CTecjIqR.js";
1
+ import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-BAxVncD1.js";
2
2
  import { n as normalizeCompatibilityConfig, t as legacyConfigRules } from "./doctor-contract-BIY2IHB_.js";
3
3
  import { n as isZalouserMutableGroupEntry } from "./security-audit-DUQOetcM.js";
4
4
  import { formatAllowFromLowercase } from "openclaw/plugin-sdk/allow-from";
package/dist/test-api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, n as getZcaUserInfo, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-CTecjIqR.js";
1
+ import { a as resolveZalouserAccountSync, i as resolveDefaultZalouserAccountId, n as getZcaUserInfo, r as listZalouserAccountIds, t as checkZcaAuthenticated } from "./accounts-BAxVncD1.js";
2
2
  import { r as parseZalouserOutboundTarget } from "./session-route-DWMin5CB.js";
3
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-QSY2SsUF.js";
4
4
  import { i as sendMessageZalouser } from "./send-SPumHuhS.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/zalouser",
3
- "version": "2026.5.16-beta.4",
3
+ "version": "2026.5.16-beta.6",
4
4
  "description": "OpenClaw Zalo Personal Account plugin via native zca-js integration",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,7 +17,7 @@
17
17
  "openclaw": "workspace:*"
18
18
  },
19
19
  "peerDependencies": {
20
- "openclaw": ">=2026.5.16-beta.4"
20
+ "openclaw": ">=2026.5.16-beta.6"
21
21
  },
22
22
  "peerDependenciesMeta": {
23
23
  "openclaw": {
@@ -54,10 +54,10 @@
54
54
  "minHostVersion": ">=2026.4.10"
55
55
  },
56
56
  "compat": {
57
- "pluginApi": ">=2026.5.16-beta.4"
57
+ "pluginApi": ">=2026.5.16-beta.6"
58
58
  },
59
59
  "build": {
60
- "openclawVersion": "2026.5.16-beta.4"
60
+ "openclawVersion": "2026.5.16-beta.6"
61
61
  },
62
62
  "release": {
63
63
  "publishToClawHub": true,