@openclaw/zalouser 2026.5.31-beta.2 → 2026.5.31-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.runtime-DdVE4J-U.js → accounts.runtime-BOwtZOBd.js} +1 -1
- package/dist/{api-BTawviIy.js → api-DuEdDnAZ.js} +6 -6
- package/dist/api.js +5 -5
- package/dist/{channel-BYO3KfN5.js → channel-DJW8Mbcz.js} +5 -5
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.runtime-e1oFGWSK.js → channel.runtime-B3sTzpEc.js} +2 -2
- package/dist/{channel.setup-C1CqJEYP.js → channel.setup-BsYmobJ6.js} +2 -2
- package/dist/{monitor-B9WoA4vG.js → monitor-18U54rGY.js} +3 -3
- package/dist/runtime-api.js +5 -5
- package/dist/{send-BACqNza9.js → send-_7W21n-G.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{setup-surface-C2Ls9v06.js → setup-surface-C8VXOMBu.js} +2 -2
- package/dist/{shared-C_SkEtXL.js → shared-xBuXIOwv.js} +1 -1
- package/dist/{zalo-js-DsHJocXe.js → zalo-js-C2Eq5K4i.js} +3 -3
- package/npm-shrinkwrap.json +3 -3
- package/package.json +4 -4
|
@@ -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-C2Eq5K4i.js";
|
|
2
2
|
export { checkZaloAuthenticated, getZaloUserInfo };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./setup-surface-
|
|
2
|
-
import "./shared-
|
|
3
|
-
import { n as parseZalouserOutboundTarget } from "./channel-
|
|
1
|
+
import "./setup-surface-C8VXOMBu.js";
|
|
2
|
+
import "./shared-xBuXIOwv.js";
|
|
3
|
+
import { n as parseZalouserOutboundTarget } from "./channel-DJW8Mbcz.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-
|
|
6
|
-
import "./channel.setup-
|
|
7
|
-
import { i as sendMessageZalouser, n as sendImageZalouser, r as sendLinkZalouser } from "./send-
|
|
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";
|
|
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-
|
|
2
|
-
import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-
|
|
3
|
-
import { t as zalouserPlugin } from "./channel-
|
|
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-DJW8Mbcz.js";
|
|
4
4
|
import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DhK2UscX.js";
|
|
5
|
-
import { t as zalouserSetupPlugin } from "./channel.setup-
|
|
6
|
-
import { t as createZalouserTool } from "./api-
|
|
5
|
+
import { t as zalouserSetupPlugin } from "./channel.setup-BsYmobJ6.js";
|
|
6
|
+
import { t as createZalouserTool } from "./api-DuEdDnAZ.js";
|
|
7
7
|
export { collectZalouserSecurityAuditFindings, createZalouserSetupWizardProxy, createZalouserTool, isZalouserMutableGroupEntry, zalouserPlugin, zalouserSetupAdapter, zalouserSetupPlugin, zalouserSetupWizard };
|
|
@@ -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-
|
|
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";
|
|
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-
|
|
207
|
+
const loadZalouserChannelRuntime$1 = createLazyRuntimeModule(() => import("./channel.runtime-B3sTzpEc.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-
|
|
539
|
-
const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-
|
|
538
|
+
const loadZalouserChannelRuntime = createLazyRuntimeModule(() => import("./channel.runtime-B3sTzpEc.js"));
|
|
539
|
+
const zalouserSetupWizardProxy = createZalouserSetupWizardProxy(async () => (await import("./setup-surface-C8VXOMBu.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-
|
|
656
|
+
const { monitorZalouserProvider } = await import("./monitor-18U54rGY.js");
|
|
657
657
|
return monitorZalouserProvider({
|
|
658
658
|
account,
|
|
659
659
|
config: ctx.cfg,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as zalouserPlugin } from "./channel-
|
|
1
|
+
import { t as zalouserPlugin } from "./channel-DJW8Mbcz.js";
|
|
2
2
|
export { zalouserPlugin };
|
|
@@ -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-
|
|
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-C2Eq5K4i.js";
|
|
3
|
+
import { a as sendReactionZalouser, i as sendMessageZalouser } from "./send-_7W21n-G.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-
|
|
2
|
-
import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-
|
|
1
|
+
import { n as zalouserSetupWizard } from "./setup-surface-C8VXOMBu.js";
|
|
2
|
+
import { r as zalouserSetupAdapter, t as createZalouserPluginBase } from "./shared-xBuXIOwv.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-
|
|
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 { a as formatZalouserMessageSidFull, c as findZalouserGroupEntry, l as isZalouserGroupEntryAllowed, o as resolveZalouserMessageSid, r as getZalouserRuntime, s as buildZalouserGroupCandidates } from "./channel-DJW8Mbcz.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";
|
|
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";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as zalouserSetupWizard } from "./setup-surface-
|
|
2
|
-
import { n as createZalouserSetupWizardProxy, r as zalouserSetupAdapter } from "./shared-
|
|
3
|
-
import { i as setZalouserRuntime, t as zalouserPlugin } from "./channel-
|
|
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-DJW8Mbcz.js";
|
|
4
4
|
import { n as isZalouserMutableGroupEntry, t as collectZalouserSecurityAuditFindings } from "./security-audit-DhK2UscX.js";
|
|
5
|
-
import { t as zalouserSetupPlugin } from "./channel.setup-
|
|
6
|
-
import { t as createZalouserTool } from "./api-
|
|
5
|
+
import { t as zalouserSetupPlugin } from "./channel.setup-BsYmobJ6.js";
|
|
6
|
+
import { t as createZalouserTool } from "./api-DuEdDnAZ.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-
|
|
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";
|
|
2
2
|
//#region extensions/zalouser/src/text-styles.ts
|
|
3
3
|
const ESCAPE_SENTINEL_START = "";
|
|
4
4
|
const ESCAPE_SENTINEL_END = "";
|
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-BsYmobJ6.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-
|
|
2
|
-
import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, y as startZaloQrLogin } from "./zalo-js-
|
|
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";
|
|
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
|
|
@@ -19,7 +19,7 @@ import { createDangerousNameMatchingMutableAllowlistWarningCollector } from "ope
|
|
|
19
19
|
//#region extensions/zalouser/src/accounts.ts
|
|
20
20
|
let zalouserAccountsRuntimePromise;
|
|
21
21
|
async function loadZalouserAccountsRuntime() {
|
|
22
|
-
zalouserAccountsRuntimePromise ??= import("./accounts.runtime-
|
|
22
|
+
zalouserAccountsRuntimePromise ??= import("./accounts.runtime-BOwtZOBd.js");
|
|
23
23
|
return await zalouserAccountsRuntimePromise;
|
|
24
24
|
}
|
|
25
25
|
const { listAccountIds: listZalouserAccountIds, resolveDefaultAccountId: resolveDefaultZalouserAccountId } = createAccountListHelpers("zalouser", { implicitDefaultAccount: {
|
|
@@ -1160,9 +1160,9 @@ async function startZaloListener(params) {
|
|
|
1160
1160
|
const profile = normalizeProfile(params.profile);
|
|
1161
1161
|
const existing = activeListeners.get(profile);
|
|
1162
1162
|
if (existing) throw new Error(`Zalo listener already running for profile "${profile}" (account "${existing.accountId}")`);
|
|
1163
|
-
const { api, ownUserId } = await withZaloApi(profile, async (
|
|
1164
|
-
api,
|
|
1165
|
-
ownUserId: await resolveOwnUserId(
|
|
1163
|
+
const { api, ownUserId } = await withZaloApi(profile, async (apiLocal) => ({
|
|
1164
|
+
api: apiLocal,
|
|
1165
|
+
ownUserId: await resolveOwnUserId(apiLocal)
|
|
1166
1166
|
}));
|
|
1167
1167
|
let stopped = false;
|
|
1168
1168
|
let watchdogTimer = null;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/zalouser",
|
|
3
|
-
"version": "2026.5.31-beta.
|
|
3
|
+
"version": "2026.5.31-beta.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/zalouser",
|
|
9
|
-
"version": "2026.5.31-beta.
|
|
9
|
+
"version": "2026.5.31-beta.3",
|
|
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.5.31-beta.
|
|
16
|
+
"openclaw": ">=2026.5.31-beta.3"
|
|
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.5.31-beta.
|
|
3
|
+
"version": "2026.5.31-beta.3",
|
|
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.5.31-beta.
|
|
16
|
+
"openclaw": ">=2026.5.31-beta.3"
|
|
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.5.31-beta.
|
|
53
|
+
"pluginApi": ">=2026.5.31-beta.3"
|
|
54
54
|
},
|
|
55
55
|
"build": {
|
|
56
|
-
"openclawVersion": "2026.5.31-beta.
|
|
56
|
+
"openclawVersion": "2026.5.31-beta.3"
|
|
57
57
|
},
|
|
58
58
|
"release": {
|
|
59
59
|
"publishToClawHub": true,
|