@shadanai/openclaw 0.0.2 → 2026.3.27
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/.buildstamp +1 -1
- package/dist/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-dSQp9Dsk.js → channel-DKMtMEAb.js} +5 -5
- package/dist/{channel.runtime-C-dVnFDt.js → channel.runtime-DmW_RZBf.js} +3 -3
- package/dist/cli-startup-metadata.json +1 -1
- package/dist/{encryption-guidance-DJqdacko.js → encryption-guidance-BK3AoyNE.js} +1 -1
- package/dist/extensions/matrix/api.js +7 -7
- package/dist/extensions/matrix/index.js +11 -11
- package/dist/extensions/matrix/setup-entry.js +6 -6
- package/dist/extensions/zalouser/api.js +2 -2
- package/dist/extensions/zalouser/index.js +5 -5
- package/dist/extensions/zalouser/setup-entry.js +3 -3
- package/dist/{monitor-CNkgo3Uu.js → monitor-BV1UGauw.js} +2 -2
- package/dist/{monitor-B3mGq5wm.js → monitor-CVJ-AqB8.js} +6 -6
- package/dist/{plugin-entry.runtime-JQtqtvQY.js → plugin-entry.runtime-D0ni1y9a.js} +4 -4
- package/dist/{poll-summary-DxivRbsU.js → poll-summary-C2aH-_aI.js} +1 -1
- package/dist/{profile-update-CjEzD-KY.js → profile-update-CGCL6vzs.js} +2 -2
- package/dist/{resolve-targets-CUf5Olkt.js → resolve-targets-iak7O4qs.js} +1 -1
- package/dist/{rust-crypto-BSctVjJV.js → rust-crypto-D8b72Hjg.js} +1 -1
- package/dist/{send-BX6s3YS2.js → send-CSMewOrC.js} +1 -1
- package/dist/{send-Da7mwrBn.js → send-DRSipAB4.js} +1 -1
- package/dist/{setup-core-BewcKYKo.js → setup-core-BJnoJV_P.js} +2 -2
- package/dist/{setup-surface-DvIogmd3.js → setup-surface-i03E4xCU.js} +1 -1
- package/dist/{shared-7z4cw79x.js → shared-D4JlQSdH.js} +2 -2
- package/dist/{thread-bindings-DG3jc8hk.js → thread-bindings-0L79goAN.js} +1 -1
- package/dist/{tool-actions.runtime-eFJWMqcm.js → tool-actions.runtime-Blrv1teL.js} +6 -6
- package/dist/{types-c_6XT8CA.js → types-4MUmx8f9.js} +3 -3
- package/dist/{verification-B-YBtlgA.js → verification-AUhU1rLr.js} +2 -2
- package/dist/{zalo-js-QGQYli_z.js → zalo-js-DsM1X-cy.js} +2 -2
- package/package.json +1 -1
package/dist/.buildstamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"builtAt":
|
|
1
|
+
{"builtAt":1774617905767,"head":"4478ce3e7a171c5b8a3b902d80b762857f21e7ef"}
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
c9cbbf16829bfddda0bbb7eda32ad9efea159112f29a264c2ddb225e0829b18b
|
|
@@ -15,9 +15,9 @@ import { l as listResolvedDirectoryEntriesFromSources, p as createChannelDirecto
|
|
|
15
15
|
import { d as requiresExplicitMatrixDefaultAccount } from "./helper-api-Ci0JtKnv.js";
|
|
16
16
|
import { r as buildTrafficStatusSummary } from "./extension-shared-j8X81jjN.js";
|
|
17
17
|
import { a as getMatrixRuntime } from "./credentials-read-C7Q6bZjM.js";
|
|
18
|
-
import { A as normalizeMatrixMessagingTarget, I as resolveDefaultMatrixAccountId, L as resolveMatrixAccount, M as resolveMatrixDirectUserId, N as resolveMatrixTargetIdentity, P as listMatrixAccountIds, R as resolveMatrixAccountConfig, j as normalizeMatrixResolvableTarget } from "./send-
|
|
18
|
+
import { A as normalizeMatrixMessagingTarget, I as resolveDefaultMatrixAccountId, L as resolveMatrixAccount, M as resolveMatrixDirectUserId, N as resolveMatrixTargetIdentity, P as listMatrixAccountIds, R as resolveMatrixAccountConfig, j as normalizeMatrixResolvableTarget } from "./send-CSMewOrC.js";
|
|
19
19
|
import { i as resolveMatrixRoomConfig, n as normalizeMatrixUserId, t as normalizeMatrixAllowList } from "./allowlist-DeSeB5PS.js";
|
|
20
|
-
import { n as matrixSetupAdapter } from "./setup-core-
|
|
20
|
+
import { n as matrixSetupAdapter } from "./setup-core-BJnoJV_P.js";
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
import { Type } from "@sinclair/typebox";
|
|
23
23
|
//#region extensions/matrix/src/actions.ts
|
|
@@ -104,7 +104,7 @@ const matrixMessageActions = {
|
|
|
104
104
|
return { to };
|
|
105
105
|
},
|
|
106
106
|
handleAction: async (ctx) => {
|
|
107
|
-
const { handleMatrixAction } = await import("./tool-actions.runtime-
|
|
107
|
+
const { handleMatrixAction } = await import("./tool-actions.runtime-Blrv1teL.js");
|
|
108
108
|
const { action, params, cfg, accountId, mediaLocalRoots } = ctx;
|
|
109
109
|
const dispatch = async (actionParams) => await handleMatrixAction({
|
|
110
110
|
...actionParams,
|
|
@@ -382,7 +382,7 @@ function resolveMatrixOutboundSessionRoute(params) {
|
|
|
382
382
|
//#endregion
|
|
383
383
|
//#region extensions/matrix/src/channel.ts
|
|
384
384
|
let matrixStartupLock = Promise.resolve();
|
|
385
|
-
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-
|
|
385
|
+
const loadMatrixChannelRuntime = createLazyRuntimeNamedExport(() => import("./channel.runtime-DmW_RZBf.js"), "matrixChannelRuntime");
|
|
386
386
|
const meta = {
|
|
387
387
|
id: "matrix",
|
|
388
388
|
label: "Matrix",
|
|
@@ -626,7 +626,7 @@ const matrixPlugin = createChatChannelPlugin({
|
|
|
626
626
|
await previousLock;
|
|
627
627
|
let monitorMatrixProvider;
|
|
628
628
|
try {
|
|
629
|
-
monitorMatrixProvider = (await import("./monitor-
|
|
629
|
+
monitorMatrixProvider = (await import("./monitor-CVJ-AqB8.js")).monitorMatrixProvider;
|
|
630
630
|
} finally {
|
|
631
631
|
releaseLock();
|
|
632
632
|
}
|
|
@@ -195,11 +195,11 @@ import "./matrix-runtime-heavy-CrSsKsje.js";
|
|
|
195
195
|
import "./diagnostics-otel-263jK4BB.js";
|
|
196
196
|
import "./src-CBhvMrse.js";
|
|
197
197
|
import { a as getMatrixRuntime } from "./credentials-read-C7Q6bZjM.js";
|
|
198
|
-
import { U as resolveMatrixAuth, V as createMatrixClient, n as sendMessageMatrix, r as sendPollMatrix, rt as isBunRuntime } from "./send-
|
|
199
|
-
import "./types-
|
|
198
|
+
import { U as resolveMatrixAuth, V as createMatrixClient, n as sendMessageMatrix, r as sendPollMatrix, rt as isBunRuntime } from "./send-CSMewOrC.js";
|
|
199
|
+
import "./types-4MUmx8f9.js";
|
|
200
200
|
import "./lib-BCyIRdtN.js";
|
|
201
201
|
import "./BasicParser-C5vliE4R.js";
|
|
202
|
-
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive, t as resolveMatrixTargets } from "./resolve-targets-
|
|
202
|
+
import { n as listMatrixDirectoryGroupsLive, r as listMatrixDirectoryPeersLive, t as resolveMatrixTargets } from "./resolve-targets-iak7O4qs.js";
|
|
203
203
|
//#region extensions/matrix/src/matrix/probe.ts
|
|
204
204
|
async function probeMatrix(params) {
|
|
205
205
|
const started = Date.now();
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"box-im",
|
|
25
25
|
"twitch"
|
|
26
26
|
],
|
|
27
|
-
"rootHelpText": "\n🦞 OpenClaw 0.0.0 (4478ce3) —
|
|
27
|
+
"rootHelpText": "\n🦞 OpenClaw 0.0.0 (4478ce3) — Alexa, but with taste.\n\nUsage: openclaw [options] [command]\n\nOptions:\n --container <name> Run the CLI inside a running Podman/Docker container\n named <name> (default: env OPENCLAW_CONTAINER)\n --dev Dev profile: isolate state under ~/.openclaw-dev, default\n gateway port 19001, and shift derived ports\n (browser/canvas)\n -h, --help Display help for command\n --log-level <level> Global log level override for file + console\n (silent|fatal|error|warn|info|debug|trace)\n --no-color Disable ANSI colors\n --profile <name> Use a named profile (isolates\n OPENCLAW_STATE_DIR/OPENCLAW_CONFIG_PATH under\n ~/.openclaw-<name>)\n -V, --version output the version number\n\nCommands:\n Hint: commands suffixed with * have subcommands. Run <command> --help for details.\n acp * Agent Control Protocol tools\n agent Run one agent turn via the Gateway\n agents * Manage isolated agents (workspaces, auth, routing)\n approvals * Manage exec approvals (gateway or node host)\n backup * Create and verify local backup archives for OpenClaw\n state\n browser * Manage OpenClaw's dedicated browser (Chrome/Chromium)\n channels * Manage connected chat channels (Telegram, Discord, etc.)\n clawbot * Legacy clawbot command aliases\n completion Generate shell completion script\n config * Non-interactive config helpers\n (get/set/unset/file/validate). Default: starts guided\n setup.\n configure Interactive configuration for credentials, channels,\n gateway, and agent defaults\n cron * Manage cron jobs via the Gateway scheduler\n daemon * Gateway service (legacy alias)\n dashboard Open the Control UI with your current token\n devices * Device pairing + token management\n directory * Lookup contact and group IDs (self, peers, groups) for\n supported chat channels\n dns * DNS helpers for wide-area discovery (Tailscale + CoreDNS)\n docs Search the live OpenClaw docs\n doctor Health checks + quick fixes for the gateway and channels\n gateway * Run, inspect, and query the WebSocket Gateway\n health Fetch health from the running gateway\n help Display help for command\n hooks * Manage internal agent hooks\n logs Tail gateway file logs via RPC\n memory * Search and reindex memory files\n message * Send, read, and manage messages\n models * Discover, scan, and configure models\n node * Run and manage the headless node host service\n nodes * Manage gateway-owned node pairing and node commands\n onboard Interactive onboarding for gateway, workspace, and skills\n pairing * Secure DM pairing (approve inbound requests)\n plugins * Manage OpenClaw plugins and extensions\n qr Generate iOS pairing QR/setup code\n reset Reset local config/state (keeps the CLI installed)\n sandbox * Manage sandbox containers for agent isolation\n secrets * Secrets runtime reload controls\n security * Security tools and local config audits\n sessions * List stored conversation sessions\n setup Initialize local config and agent workspace\n skills * List and inspect available skills\n status Show channel health and recent session recipients\n system * System events, heartbeat, and presence\n tui Open a terminal UI connected to the Gateway\n uninstall Uninstall the gateway service + local data (CLI remains)\n update * Update OpenClaw and inspect update channel status\n webhooks * Webhook helpers and integrations\n\nExamples:\n openclaw models --help\n Show detailed help for the models command.\n openclaw channels login --verbose\n Link personal WhatsApp Web and show QR + connection logs.\n openclaw message send --target +15555550123 --message \"Hi\" --json\n Send via your web session and print JSON result.\n openclaw gateway --port 18789\n Run the WebSocket Gateway locally.\n openclaw --dev gateway\n Run a dev Gateway (isolated state/config) on ws://127.0.0.1:19001.\n openclaw gateway --force\n Kill anything bound to the default gateway port, then start it.\n openclaw gateway ...\n Gateway control via WebSocket.\n openclaw agent --to +15555550123 --message \"Run summary\" --deliver\n Talk directly to the agent using the Gateway; optionally send the WhatsApp reply.\n openclaw message send --channel telegram --target @mychat --message \"Hi\"\n Send via your Telegram bot.\n\nDocs: https://docs.openclaw.ai/cli\n\n"
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as normalizeOptionalAccountId } from "./session-key-CYZxn_Kd.js";
|
|
2
|
-
import { I as resolveDefaultMatrixAccountId, et as resolveMatrixConfigFieldPath } from "./send-
|
|
2
|
+
import { I as resolveDefaultMatrixAccountId, et as resolveMatrixConfigFieldPath } from "./send-CSMewOrC.js";
|
|
3
3
|
//#region extensions/matrix/src/matrix/encryption-guidance.ts
|
|
4
4
|
function resolveMatrixEncryptionConfigPath(cfg, accountId) {
|
|
5
5
|
return resolveMatrixConfigFieldPath(cfg, normalizeOptionalAccountId(accountId) ?? resolveDefaultMatrixAccountId(cfg), "encryption");
|
|
@@ -198,16 +198,16 @@ import "../../matrix-runtime-heavy-CrSsKsje.js";
|
|
|
198
198
|
import "../../diagnostics-otel-263jK4BB.js";
|
|
199
199
|
import "../../src-CBhvMrse.js";
|
|
200
200
|
import "../../credentials-read-C7Q6bZjM.js";
|
|
201
|
-
import { G as resolveMatrixEnvAuthReadiness, I as resolveDefaultMatrixAccountId, K as resolveValidatedMatrixHomeserverUrl, L as resolveMatrixAccount, P as listMatrixAccountIds, R as resolveMatrixAccountConfig, et as resolveMatrixConfigFieldPath, nt as updateMatrixAccountConfig, q as validateMatrixHomeserverUrl } from "../../send-
|
|
202
|
-
import "../../types-
|
|
203
|
-
import "../../encryption-guidance-
|
|
201
|
+
import { G as resolveMatrixEnvAuthReadiness, I as resolveDefaultMatrixAccountId, K as resolveValidatedMatrixHomeserverUrl, L as resolveMatrixAccount, P as listMatrixAccountIds, R as resolveMatrixAccountConfig, et as resolveMatrixConfigFieldPath, nt as updateMatrixAccountConfig, q as validateMatrixHomeserverUrl } from "../../send-CSMewOrC.js";
|
|
202
|
+
import "../../types-4MUmx8f9.js";
|
|
203
|
+
import "../../encryption-guidance-BK3AoyNE.js";
|
|
204
204
|
import "../../lib-BCyIRdtN.js";
|
|
205
205
|
import "../../BasicParser-C5vliE4R.js";
|
|
206
|
-
import "../../verification-
|
|
207
|
-
import { i as runMatrixSetupBootstrapAfterConfigWrite, n as matrixSetupAdapter, t as buildMatrixConfigUpdate } from "../../setup-core-
|
|
208
|
-
import { n as listMatrixDirectoryGroupsLive, t as resolveMatrixTargets } from "../../resolve-targets-
|
|
206
|
+
import "../../verification-AUhU1rLr.js";
|
|
207
|
+
import { i as runMatrixSetupBootstrapAfterConfigWrite, n as matrixSetupAdapter, t as buildMatrixConfigUpdate } from "../../setup-core-BJnoJV_P.js";
|
|
208
|
+
import { n as listMatrixDirectoryGroupsLive, t as resolveMatrixTargets } from "../../resolve-targets-iak7O4qs.js";
|
|
209
209
|
import { n as ensureMatrixSdkInstalled, r as isMatrixSdkAvailable } from "../../deps-wf5gq5DV.js";
|
|
210
|
-
import { t as createMatrixThreadBindingManager } from "../../thread-bindings-
|
|
210
|
+
import { t as createMatrixThreadBindingManager } from "../../thread-bindings-0L79goAN.js";
|
|
211
211
|
//#region extensions/matrix/src/onboarding.ts
|
|
212
212
|
const channel = "matrix";
|
|
213
213
|
function resolveMatrixOnboardingAccountId(cfg, accountId) {
|
|
@@ -198,18 +198,18 @@ import "../../diagnostics-otel-263jK4BB.js";
|
|
|
198
198
|
import "../../extension-shared-j8X81jjN.js";
|
|
199
199
|
import "../../src-CBhvMrse.js";
|
|
200
200
|
import { a as getMatrixRuntime, o as setMatrixRuntime } from "../../credentials-read-C7Q6bZjM.js";
|
|
201
|
-
import { $ as resolveMatrixRoomKeyBackupIssue, L as resolveMatrixAccount, R as resolveMatrixAccountConfig, W as resolveMatrixAuthContext, X as setMatrixSdkLogMode, Y as setMatrixSdkConsoleLogging, c as repairMatrixDirectRooms, nt as updateMatrixAccountConfig, s as inspectMatrixDirectRooms, tt as resolveMatrixConfigPath } from "../../send-
|
|
202
|
-
import "../../types-
|
|
203
|
-
import { t as matrixPlugin } from "../../channel-
|
|
201
|
+
import { $ as resolveMatrixRoomKeyBackupIssue, L as resolveMatrixAccount, R as resolveMatrixAccountConfig, W as resolveMatrixAuthContext, X as setMatrixSdkLogMode, Y as setMatrixSdkConsoleLogging, c as repairMatrixDirectRooms, nt as updateMatrixAccountConfig, s as inspectMatrixDirectRooms, tt as resolveMatrixConfigPath } from "../../send-CSMewOrC.js";
|
|
202
|
+
import "../../types-4MUmx8f9.js";
|
|
203
|
+
import { t as matrixPlugin } from "../../channel-DKMtMEAb.js";
|
|
204
204
|
import "../../allowlist-DeSeB5PS.js";
|
|
205
|
-
import "../../encryption-guidance-
|
|
205
|
+
import "../../encryption-guidance-BK3AoyNE.js";
|
|
206
206
|
import "../../lib-BCyIRdtN.js";
|
|
207
207
|
import "../../BasicParser-C5vliE4R.js";
|
|
208
|
-
import { c as getMatrixRoomKeyBackupStatus, h as restoreMatrixRoomKeyBackup, m as resetMatrixRoomKeyBackup, n as bootstrapMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey, x as withStartedActionClient, y as withResolvedActionClient } from "../../verification-
|
|
209
|
-
import { n as matrixSetupAdapter, r as maybeBootstrapNewEncryptedMatrixAccount } from "../../setup-core-
|
|
208
|
+
import { c as getMatrixRoomKeyBackupStatus, h as restoreMatrixRoomKeyBackup, m as resetMatrixRoomKeyBackup, n as bootstrapMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey, x as withStartedActionClient, y as withResolvedActionClient } from "../../verification-AUhU1rLr.js";
|
|
209
|
+
import { n as matrixSetupAdapter, r as maybeBootstrapNewEncryptedMatrixAccount } from "../../setup-core-BJnoJV_P.js";
|
|
210
210
|
import { n as summarizeMatrixDeviceHealth, t as isOpenClawManagedMatrixDevice } from "../../device-health-D9hLLRdU.js";
|
|
211
211
|
import "../../profile-BrsBaOtk.js";
|
|
212
|
-
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "../../profile-update-
|
|
212
|
+
import { n as updateMatrixOwnProfile, t as applyMatrixProfileUpdate } from "../../profile-update-CGCL6vzs.js";
|
|
213
213
|
//#region extensions/matrix/src/matrix/actions/devices.ts
|
|
214
214
|
async function listMatrixOwnDevices(opts = {}) {
|
|
215
215
|
return await withStartedActionClient(opts, async (client) => await client.listOwnDevices());
|
|
@@ -890,7 +890,7 @@ var matrix_default = defineChannelPluginEntry({
|
|
|
890
890
|
plugin: matrixPlugin,
|
|
891
891
|
setRuntime: setMatrixRuntime,
|
|
892
892
|
registerFull(api) {
|
|
893
|
-
import("../../plugin-entry.runtime-
|
|
893
|
+
import("../../plugin-entry.runtime-D0ni1y9a.js").then(({ ensureMatrixCryptoRuntime }) => ensureMatrixCryptoRuntime({ log: api.logger.info }).catch((err) => {
|
|
894
894
|
const message = err instanceof Error ? err.message : String(err);
|
|
895
895
|
api.logger.warn?.(`matrix: crypto runtime bootstrap failed: ${message}`);
|
|
896
896
|
})).catch((err) => {
|
|
@@ -898,15 +898,15 @@ var matrix_default = defineChannelPluginEntry({
|
|
|
898
898
|
api.logger.warn?.(`matrix: failed loading crypto bootstrap runtime: ${message}`);
|
|
899
899
|
});
|
|
900
900
|
api.registerGatewayMethod("matrix.verify.recoveryKey", async (ctx) => {
|
|
901
|
-
const { handleVerifyRecoveryKey } = await import("../../plugin-entry.runtime-
|
|
901
|
+
const { handleVerifyRecoveryKey } = await import("../../plugin-entry.runtime-D0ni1y9a.js");
|
|
902
902
|
await handleVerifyRecoveryKey(ctx);
|
|
903
903
|
});
|
|
904
904
|
api.registerGatewayMethod("matrix.verify.bootstrap", async (ctx) => {
|
|
905
|
-
const { handleVerificationBootstrap } = await import("../../plugin-entry.runtime-
|
|
905
|
+
const { handleVerificationBootstrap } = await import("../../plugin-entry.runtime-D0ni1y9a.js");
|
|
906
906
|
await handleVerificationBootstrap(ctx);
|
|
907
907
|
});
|
|
908
908
|
api.registerGatewayMethod("matrix.verify.status", async (ctx) => {
|
|
909
|
-
const { handleVerificationStatus } = await import("../../plugin-entry.runtime-
|
|
909
|
+
const { handleVerificationStatus } = await import("../../plugin-entry.runtime-D0ni1y9a.js");
|
|
910
910
|
await handleVerificationStatus(ctx);
|
|
911
911
|
});
|
|
912
912
|
api.registerCli(({ program }) => {
|
|
@@ -196,15 +196,15 @@ import "../../diagnostics-otel-263jK4BB.js";
|
|
|
196
196
|
import "../../extension-shared-j8X81jjN.js";
|
|
197
197
|
import "../../src-CBhvMrse.js";
|
|
198
198
|
import "../../credentials-read-C7Q6bZjM.js";
|
|
199
|
-
import "../../send-
|
|
200
|
-
import "../../types-
|
|
201
|
-
import { t as matrixPlugin } from "../../channel-
|
|
199
|
+
import "../../send-CSMewOrC.js";
|
|
200
|
+
import "../../types-4MUmx8f9.js";
|
|
201
|
+
import { t as matrixPlugin } from "../../channel-DKMtMEAb.js";
|
|
202
202
|
import "../../allowlist-DeSeB5PS.js";
|
|
203
|
-
import "../../encryption-guidance-
|
|
203
|
+
import "../../encryption-guidance-BK3AoyNE.js";
|
|
204
204
|
import "../../lib-BCyIRdtN.js";
|
|
205
205
|
import "../../BasicParser-C5vliE4R.js";
|
|
206
|
-
import "../../verification-
|
|
207
|
-
import "../../setup-core-
|
|
206
|
+
import "../../verification-AUhU1rLr.js";
|
|
207
|
+
import "../../setup-core-BJnoJV_P.js";
|
|
208
208
|
//#region extensions/matrix/setup-entry.ts
|
|
209
209
|
var setup_entry_default = defineSetupPluginEntry(matrixPlugin);
|
|
210
210
|
//#endregion
|
|
@@ -189,6 +189,6 @@ import "../../outbound-media-0rnV7tXt.js";
|
|
|
189
189
|
import "../../zalouser-B682y6Hk.js";
|
|
190
190
|
import "../../json-bigint-BLTZW0td.js";
|
|
191
191
|
import "../../runtime-api-T4sISgaM.js";
|
|
192
|
-
import "../../zalo-js-
|
|
193
|
-
import { n as zalouserSetupAdapter, t as zalouserSetupWizard } from "../../setup-surface-
|
|
192
|
+
import "../../zalo-js-DsM1X-cy.js";
|
|
193
|
+
import { n as zalouserSetupAdapter, t as zalouserSetupWizard } from "../../setup-surface-i03E4xCU.js";
|
|
194
194
|
export { zalouserSetupAdapter, zalouserSetupWizard };
|
|
@@ -196,10 +196,10 @@ import "../../outbound-media-0rnV7tXt.js";
|
|
|
196
196
|
import "../../zalouser-B682y6Hk.js";
|
|
197
197
|
import "../../json-bigint-BLTZW0td.js";
|
|
198
198
|
import "../../runtime-api-T4sISgaM.js";
|
|
199
|
-
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated, y as startZaloQrLogin } from "../../zalo-js-
|
|
200
|
-
import { a as listZalouserAccountIds, i as getZcaUserInfo, n as zalouserSetupAdapter, r as writeQrDataUrlToTempFile, s as resolveZalouserAccountSync, t as zalouserSetupWizard } from "../../setup-surface-
|
|
201
|
-
import { a as sendReactionZalouser, c as getZalouserRuntime, f as resolveZalouserReactionMessageIds, i as sendMessageZalouser, l as setZalouserRuntime, m as findZalouserGroupEntry, n as sendImageZalouser, p as buildZalouserGroupCandidates, r as sendLinkZalouser } from "../../send-
|
|
202
|
-
import { t as createZalouserPluginBase } from "../../shared-
|
|
199
|
+
import { a as listZaloGroupMembers, b as waitForZaloQrLogin, c as logoutZaloProfile, i as listZaloFriendsMatching, n as getZaloUserInfo, s as listZaloGroupsMatching, t as checkZaloAuthenticated, y as startZaloQrLogin } from "../../zalo-js-DsM1X-cy.js";
|
|
200
|
+
import { a as listZalouserAccountIds, i as getZcaUserInfo, n as zalouserSetupAdapter, r as writeQrDataUrlToTempFile, s as resolveZalouserAccountSync, t as zalouserSetupWizard } from "../../setup-surface-i03E4xCU.js";
|
|
201
|
+
import { a as sendReactionZalouser, c as getZalouserRuntime, f as resolveZalouserReactionMessageIds, i as sendMessageZalouser, l as setZalouserRuntime, m as findZalouserGroupEntry, n as sendImageZalouser, p as buildZalouserGroupCandidates, r as sendLinkZalouser } from "../../send-DRSipAB4.js";
|
|
202
|
+
import { t as createZalouserPluginBase } from "../../shared-D4JlQSdH.js";
|
|
203
203
|
import { Type } from "@sinclair/typebox";
|
|
204
204
|
//#region extensions/zalouser/src/probe.ts
|
|
205
205
|
async function probeZalouser(profile, timeoutMs) {
|
|
@@ -674,7 +674,7 @@ const zalouserPlugin = createChatChannelPlugin({
|
|
|
674
674
|
setStatus: ctx.setStatus
|
|
675
675
|
});
|
|
676
676
|
ctx.log?.info(`[${account.accountId}] starting zalouser provider${userLabel}`);
|
|
677
|
-
const { monitorZalouserProvider } = await import("../../monitor-
|
|
677
|
+
const { monitorZalouserProvider } = await import("../../monitor-BV1UGauw.js");
|
|
678
678
|
return monitorZalouserProvider({
|
|
679
679
|
account,
|
|
680
680
|
config: ctx.cfg,
|
|
@@ -189,9 +189,9 @@ import "../../outbound-media-0rnV7tXt.js";
|
|
|
189
189
|
import "../../zalouser-B682y6Hk.js";
|
|
190
190
|
import "../../json-bigint-BLTZW0td.js";
|
|
191
191
|
import "../../runtime-api-T4sISgaM.js";
|
|
192
|
-
import "../../zalo-js-
|
|
193
|
-
import { n as zalouserSetupAdapter, t as zalouserSetupWizard } from "../../setup-surface-
|
|
194
|
-
import { t as createZalouserPluginBase } from "../../shared-
|
|
192
|
+
import "../../zalo-js-DsM1X-cy.js";
|
|
193
|
+
import { n as zalouserSetupAdapter, t as zalouserSetupWizard } from "../../setup-surface-i03E4xCU.js";
|
|
194
|
+
import { t as createZalouserPluginBase } from "../../shared-D4JlQSdH.js";
|
|
195
195
|
//#region extensions/zalouser/src/channel.setup.ts
|
|
196
196
|
const zalouserSetupPlugin = { ...createZalouserPluginBase({
|
|
197
197
|
setupWizard: zalouserSetupWizard,
|
|
@@ -196,8 +196,8 @@ import "./outbound-media-0rnV7tXt.js";
|
|
|
196
196
|
import "./zalouser-B682y6Hk.js";
|
|
197
197
|
import "./json-bigint-BLTZW0td.js";
|
|
198
198
|
import "./runtime-api-T4sISgaM.js";
|
|
199
|
-
import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-
|
|
200
|
-
import { c as getZalouserRuntime, d as resolveZalouserMessageSid, h as isZalouserGroupEntryAllowed, i as sendMessageZalouser, m as findZalouserGroupEntry, o as sendSeenZalouser, p as buildZalouserGroupCandidates, s as sendTypingZalouser, t as sendDeliveredZalouser, u as formatZalouserMessageSidFull } from "./send-
|
|
199
|
+
import { o as listZaloGroups, r as listZaloFriends, u as resolveZaloGroupContext, v as startZaloListener } from "./zalo-js-DsM1X-cy.js";
|
|
200
|
+
import { c as getZalouserRuntime, d as resolveZalouserMessageSid, h as isZalouserGroupEntryAllowed, i as sendMessageZalouser, m as findZalouserGroupEntry, o as sendSeenZalouser, p as buildZalouserGroupCandidates, s as sendTypingZalouser, t as sendDeliveredZalouser, u as formatZalouserMessageSidFull } from "./send-DRSipAB4.js";
|
|
201
201
|
//#region extensions/zalouser/src/monitor.ts
|
|
202
202
|
const ZALOUSER_TEXT_LIMIT = 2e3;
|
|
203
203
|
function normalizeZalouserEntry(entry) {
|
|
@@ -199,17 +199,17 @@ import "./matrix-runtime-heavy-CrSsKsje.js";
|
|
|
199
199
|
import "./diagnostics-otel-263jK4BB.js";
|
|
200
200
|
import "./src-CBhvMrse.js";
|
|
201
201
|
import { a as getMatrixRuntime } from "./credentials-read-C7Q6bZjM.js";
|
|
202
|
-
import { B as resolveSharedMatrixClient, C as isPollStartType, F as resolveConfiguredMatrixBotUserIds, H as resolveMatrixStoragePaths, L as resolveMatrixAccount, O as setActiveMatrixClient, Q as createAsyncLock, R as resolveMatrixAccountConfig, S as isPollEventType, T as parsePollStartContent, U as resolveMatrixAuth, W as resolveMatrixAuthContext, Z as LogService, a as sendTypingMatrix, b as formatPollAsText, d as readJoinedMatrixMembers, h as extractMatrixReactionAnnotation, i as sendReadReceiptMatrix, l as isStrictDirectMembership, n as sendMessageMatrix, nt as updateMatrixAccountConfig, p as MATRIX_REACTION_EVENT_TYPE, rt as isBunRuntime, s as inspectMatrixDirectRooms, t as reactMatrixMessage, u as isStrictDirectRoom, z as releaseSharedClientInstance } from "./send-
|
|
203
|
-
import "./types-
|
|
202
|
+
import { B as resolveSharedMatrixClient, C as isPollStartType, F as resolveConfiguredMatrixBotUserIds, H as resolveMatrixStoragePaths, L as resolveMatrixAccount, O as setActiveMatrixClient, Q as createAsyncLock, R as resolveMatrixAccountConfig, S as isPollEventType, T as parsePollStartContent, U as resolveMatrixAuth, W as resolveMatrixAuthContext, Z as LogService, a as sendTypingMatrix, b as formatPollAsText, d as readJoinedMatrixMembers, h as extractMatrixReactionAnnotation, i as sendReadReceiptMatrix, l as isStrictDirectMembership, n as sendMessageMatrix, nt as updateMatrixAccountConfig, p as MATRIX_REACTION_EVENT_TYPE, rt as isBunRuntime, s as inspectMatrixDirectRooms, t as reactMatrixMessage, u as isStrictDirectRoom, z as releaseSharedClientInstance } from "./send-CSMewOrC.js";
|
|
203
|
+
import "./types-4MUmx8f9.js";
|
|
204
204
|
import { i as resolveMatrixRoomConfig, n as normalizeMatrixUserId, r as resolveMatrixAllowListMatch, t as normalizeMatrixAllowList } from "./allowlist-DeSeB5PS.js";
|
|
205
|
-
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-
|
|
205
|
+
import { t as formatMatrixEncryptedEventDisabledWarning } from "./encryption-guidance-BK3AoyNE.js";
|
|
206
206
|
import "./lib-BCyIRdtN.js";
|
|
207
207
|
import "./BasicParser-C5vliE4R.js";
|
|
208
208
|
import { n as summarizeMatrixDeviceHealth } from "./device-health-D9hLLRdU.js";
|
|
209
209
|
import { t as syncMatrixOwnProfile } from "./profile-BrsBaOtk.js";
|
|
210
|
-
import { t as resolveMatrixTargets } from "./resolve-targets-
|
|
211
|
-
import { t as createMatrixThreadBindingManager } from "./thread-bindings-
|
|
212
|
-
import { a as formatMatrixMessageText, i as formatMatrixMediaUnavailableText, n as fetchMatrixPollSnapshot, o as resolveMatrixMessageAttachment, s as resolveMatrixMessageBody } from "./poll-summary-
|
|
210
|
+
import { t as resolveMatrixTargets } from "./resolve-targets-iak7O4qs.js";
|
|
211
|
+
import { t as createMatrixThreadBindingManager } from "./thread-bindings-0L79goAN.js";
|
|
212
|
+
import { a as formatMatrixMessageText, i as formatMatrixMediaUnavailableText, n as fetchMatrixPollSnapshot, o as resolveMatrixMessageAttachment, s as resolveMatrixMessageBody } from "./poll-summary-C2aH-_aI.js";
|
|
213
213
|
import path from "node:path";
|
|
214
214
|
import os from "node:os";
|
|
215
215
|
import { format } from "node:util";
|
|
@@ -195,12 +195,12 @@ import "./matrix-runtime-heavy-CrSsKsje.js";
|
|
|
195
195
|
import "./diagnostics-otel-263jK4BB.js";
|
|
196
196
|
import "./src-CBhvMrse.js";
|
|
197
197
|
import "./credentials-read-C7Q6bZjM.js";
|
|
198
|
-
import "./send-
|
|
199
|
-
import "./types-
|
|
200
|
-
import "./encryption-guidance-
|
|
198
|
+
import "./send-CSMewOrC.js";
|
|
199
|
+
import "./types-4MUmx8f9.js";
|
|
200
|
+
import "./encryption-guidance-BK3AoyNE.js";
|
|
201
201
|
import "./lib-BCyIRdtN.js";
|
|
202
202
|
import "./BasicParser-C5vliE4R.js";
|
|
203
|
-
import { n as bootstrapMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey } from "./verification-
|
|
203
|
+
import { n as bootstrapMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey } from "./verification-AUhU1rLr.js";
|
|
204
204
|
import { t as ensureMatrixCryptoRuntime } from "./deps-wf5gq5DV.js";
|
|
205
205
|
//#region extensions/matrix/src/plugin-entry.runtime.ts
|
|
206
206
|
function sendError(respond, err) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as isPollStartType, E as resolvePollReferenceEventId, S as isPollEventType, T as parsePollStartContent, b as formatPollAsText, x as formatPollResultsAsText, y as buildPollResultsSummary } from "./send-
|
|
1
|
+
import { C as isPollStartType, E as resolvePollReferenceEventId, S as isPollEventType, T as parsePollStartContent, b as formatPollAsText, x as formatPollResultsAsText, y as buildPollResultsSummary } from "./send-CSMewOrC.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
//#region extensions/matrix/src/matrix/media-text.ts
|
|
4
4
|
const MATRIX_MEDIA_KINDS = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as normalizeAccountId } from "./session-key-CYZxn_Kd.js";
|
|
2
2
|
import { a as getMatrixRuntime } from "./credentials-read-C7Q6bZjM.js";
|
|
3
|
-
import { nt as updateMatrixAccountConfig, tt as resolveMatrixConfigPath } from "./send-
|
|
4
|
-
import { y as withResolvedActionClient } from "./verification-
|
|
3
|
+
import { nt as updateMatrixAccountConfig, tt as resolveMatrixConfigPath } from "./send-CSMewOrC.js";
|
|
4
|
+
import { y as withResolvedActionClient } from "./verification-AUhU1rLr.js";
|
|
5
5
|
import { t as syncMatrixOwnProfile } from "./profile-BrsBaOtk.js";
|
|
6
6
|
//#region extensions/matrix/src/matrix/actions/profile.ts
|
|
7
7
|
async function updateMatrixOwnProfile(opts = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as normalizeMatrixMessagingTarget, J as MatrixAuthedHttpClient, U as resolveMatrixAuth, k as isMatrixQualifiedUserId } from "./send-
|
|
1
|
+
import { A as normalizeMatrixMessagingTarget, J as MatrixAuthedHttpClient, U as resolveMatrixAuth, k as isMatrixQualifiedUserId } from "./send-CSMewOrC.js";
|
|
2
2
|
//#region extensions/matrix/src/directory-live.ts
|
|
3
3
|
const MATRIX_DIRECTORY_TIMEOUT_MS = 1e4;
|
|
4
4
|
function normalizeQuery(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk-DORXReHP.js";
|
|
2
|
-
import { $ as MapWithDefault, A as VerifierEvent, B as Method, C as UserVerificationStatus, D as encodeRecoveryKey, F as decodeBase64, G as MsgType, H as TypedReEmitter, I as encodeBase64, J as LogSpan, K as ToDeviceMessageId, L as ClientPrefix, M as HistoryVisibility$1, O as VerificationPhase, P as secureRandomString, Q as MigrationState, R as calculateRetryBackoff, S as ImportRoomKeyStage, T as deriveRecoveryKeyFromPassphrase, U as KnownMembership, W as EventType, X as getHttpUriForMxc, _ as DecryptionKeyDoesNotMatchError, at as sleep, b as EventShieldColour, c as DecryptionError, ct as require_asyncToGenerator, d as ClientStoppedError, f as SECRET_STORAGE_ALGORITHM_V1_AES, g as DecryptionFailureCode, h as CrossSigningKey, i as DeviceVerification, k as VerificationRequestEvent, m as AllDevicesIsolationMode, n as IndexedDBCryptoStore, p as decryptAESSecretStorageItem, q as TypedEventEmitter, r as Device$1, rt as logDuration, s as MatrixEventEvent, st as require_defineProperty, t as VerificationMethod$1, tt as encodeUri, v as DeviceIsolationModeKind, w as CryptoEvent, x as EventShieldReason, y as DeviceVerificationStatus, z as MatrixError } from "./types-
|
|
2
|
+
import { $ as MapWithDefault, A as VerifierEvent, B as Method, C as UserVerificationStatus, D as encodeRecoveryKey, F as decodeBase64, G as MsgType, H as TypedReEmitter, I as encodeBase64, J as LogSpan, K as ToDeviceMessageId, L as ClientPrefix, M as HistoryVisibility$1, O as VerificationPhase, P as secureRandomString, Q as MigrationState, R as calculateRetryBackoff, S as ImportRoomKeyStage, T as deriveRecoveryKeyFromPassphrase, U as KnownMembership, W as EventType, X as getHttpUriForMxc, _ as DecryptionKeyDoesNotMatchError, at as sleep, b as EventShieldColour, c as DecryptionError, ct as require_asyncToGenerator, d as ClientStoppedError, f as SECRET_STORAGE_ALGORITHM_V1_AES, g as DecryptionFailureCode, h as CrossSigningKey, i as DeviceVerification, k as VerificationRequestEvent, m as AllDevicesIsolationMode, n as IndexedDBCryptoStore, p as decryptAESSecretStorageItem, q as TypedEventEmitter, r as Device$1, rt as logDuration, s as MatrixEventEvent, st as require_defineProperty, t as VerificationMethod$1, tt as encodeUri, v as DeviceIsolationModeKind, w as CryptoEvent, x as EventShieldReason, y as DeviceVerificationStatus, z as MatrixError } from "./types-4MUmx8f9.js";
|
|
3
3
|
import { fileURLToPath } from "node:url";
|
|
4
4
|
import { readFileSync } from "node:fs";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
@@ -18,7 +18,7 @@ import { d as requiresExplicitMatrixDefaultAccount, f as resolveConfiguredMatrix
|
|
|
18
18
|
import { r as maybeCreateMatrixMigrationSnapshot } from "./matrix-migration-snapshot-B0JGzW1S.js";
|
|
19
19
|
import { t as require_src } from "./src-CBhvMrse.js";
|
|
20
20
|
import { a as getMatrixRuntime, n as loadMatrixCredentials, t as credentialsMatchConfig } from "./credentials-read-C7Q6bZjM.js";
|
|
21
|
-
import { $ as MapWithDefault, A as VerifierEvent, E as decodeRecoveryKey, N as Preset, O as VerificationPhase, U as KnownMembership, V as UNREAD_THREAD_NOTIFICATIONS, W as EventType$1, Y as logger, Z as MemoryCryptoStore, a as RoomStateEvent, ct as require_asyncToGenerator, et as deepCopy, it as recursiveMapToObject, j as MatrixScheduler, k as VerificationRequestEvent, l as ClientEvent, nt as isSupportedReceiptType, o as MAX_STICKY_DURATION_MS, ot as UnstableValue, q as TypedEventEmitter, s as MatrixEventEvent, st as require_defineProperty, t as VerificationMethod, u as MatrixClient$1, w as CryptoEvent } from "./types-
|
|
21
|
+
import { $ as MapWithDefault, A as VerifierEvent, E as decodeRecoveryKey, N as Preset, O as VerificationPhase, U as KnownMembership, V as UNREAD_THREAD_NOTIFICATIONS, W as EventType$1, Y as logger, Z as MemoryCryptoStore, a as RoomStateEvent, ct as require_asyncToGenerator, et as deepCopy, it as recursiveMapToObject, j as MatrixScheduler, k as VerificationRequestEvent, l as ClientEvent, nt as isSupportedReceiptType, o as MAX_STICKY_DURATION_MS, ot as UnstableValue, q as TypedEventEmitter, s as MatrixEventEvent, st as require_defineProperty, t as VerificationMethod, u as MatrixClient$1, w as CryptoEvent } from "./types-4MUmx8f9.js";
|
|
22
22
|
import { t as fromBuffer } from "./lib-BCyIRdtN.js";
|
|
23
23
|
import { n as TrackType, r as TrackTypeValueToKeyMap } from "./types-C-s8gkS_.js";
|
|
24
24
|
import { O as textDecode, S as UINT32_LE, a as UnsupportedFileTypeError, i as InternalParserError, n as CouldNotDetermineFileTypeError } from "./BasicParser-C5vliE4R.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createPluginRuntimeStore } from "./runtime-store-hauyoPcl.js";
|
|
2
|
-
import { _ as sendZaloTypingEvent, f as sendZaloDeliveredEvent, g as sendZaloTextMessage, h as sendZaloSeenEvent, m as sendZaloReaction, p as sendZaloLink, x as TextStyle } from "./zalo-js-
|
|
2
|
+
import { _ as sendZaloTypingEvent, f as sendZaloDeliveredEvent, g as sendZaloTextMessage, h as sendZaloSeenEvent, m as sendZaloReaction, p as sendZaloLink, x as TextStyle } from "./zalo-js-DsM1X-cy.js";
|
|
3
3
|
//#region extensions/zalouser/src/group-policy.ts
|
|
4
4
|
function toGroupCandidate(value) {
|
|
5
5
|
return value?.trim() ?? "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-CYZxn_Kd.js";
|
|
2
2
|
import { b as normalizeSecretInputString } from "./ref-contract-BFBhfQKU.js";
|
|
3
3
|
import { c as prepareScopedSetupConfig, o as moveSingleAccountChannelSectionToDefaultAccount, t as applyAccountNameToChannelSection } from "./setup-helpers-BZ1lihHe.js";
|
|
4
|
-
import { G as resolveMatrixEnvAuthReadiness, R as resolveMatrixAccountConfig, it as hasExplicitMatrixAccountConfig, nt as updateMatrixAccountConfig } from "./send-
|
|
5
|
-
import { n as bootstrapMatrixVerification } from "./verification-
|
|
4
|
+
import { G as resolveMatrixEnvAuthReadiness, R as resolveMatrixAccountConfig, it as hasExplicitMatrixAccountConfig, nt as updateMatrixAccountConfig } from "./send-CSMewOrC.js";
|
|
5
|
+
import { n as bootstrapMatrixVerification } from "./verification-AUhU1rLr.js";
|
|
6
6
|
//#region extensions/matrix/src/setup-bootstrap.ts
|
|
7
7
|
async function maybeBootstrapNewEncryptedMatrixAccount(params) {
|
|
8
8
|
const accountConfig = resolveMatrixAccountConfig({
|
|
@@ -6,7 +6,7 @@ import { o as resolveMergedAccountConfig, t as createAccountListHelpers } from "
|
|
|
6
6
|
import { i as createPatchedAccountSetupAdapter, s as patchScopedAccountConfig } from "./setup-helpers-BZ1lihHe.js";
|
|
7
7
|
import { C as createTopLevelChannelDmPolicy, D as mergeAllowFromEntries, w as createTopLevelChannelDmPolicySetter } from "./setup-wizard-proxy-C17zolL5.js";
|
|
8
8
|
import { t as formatResolvedUnresolvedNote } from "./setup-DJ50-Fu6.js";
|
|
9
|
-
import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, n as getZaloUserInfo, t as checkZaloAuthenticated, y as startZaloQrLogin } from "./zalo-js-
|
|
9
|
+
import { b as waitForZaloQrLogin, c as logoutZaloProfile, d as resolveZaloGroupsByEntries, l as resolveZaloAllowFromEntries, n as getZaloUserInfo, t as checkZaloAuthenticated, y as startZaloQrLogin } from "./zalo-js-DsM1X-cy.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
12
12
|
//#region extensions/zalouser/src/accounts.ts
|
|
@@ -2,8 +2,8 @@ import { b as MarkdownConfigSchema, f as DmPolicySchema, h as GroupPolicySchema,
|
|
|
2
2
|
import { Wb as formatAllowFromLowercase, dx as adaptScopedAccountAccessor, hx as createScopedChannelConfigAdapter } from "./pi-embedded-D77OfeBn.js";
|
|
3
3
|
import { n as describeAccountSnapshot } from "./account-helpers-BWWnSyvz.js";
|
|
4
4
|
import { n as buildCatchallMultiAccountChannelSchema, r as buildChannelConfigSchema, t as AllowFromListSchema } from "./config-schema-3FqI5z8u.js";
|
|
5
|
-
import { t as checkZaloAuthenticated } from "./zalo-js-
|
|
6
|
-
import { a as listZalouserAccountIds, o as resolveDefaultZalouserAccountId, s as resolveZalouserAccountSync } from "./setup-surface-
|
|
5
|
+
import { t as checkZaloAuthenticated } from "./zalo-js-DsM1X-cy.js";
|
|
6
|
+
import { a as listZalouserAccountIds, o as resolveDefaultZalouserAccountId, s as resolveZalouserAccountSync } from "./setup-surface-i03E4xCU.js";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region extensions/zalouser/src/config-schema.ts
|
|
9
9
|
const groupConfigSchema = z.object({
|
|
@@ -2,7 +2,7 @@ import { u as resolveAgentIdFromSessionKey } from "./session-key-CYZxn_Kd.js";
|
|
|
2
2
|
import { K as registerSessionBindingAdapter, n as resolveThreadBindingFarewellText, q as unregisterSessionBindingAdapter } from "./conversation-runtime-MDS8B6ob.js";
|
|
3
3
|
import { n as writeJsonFileAtomically, t as readJsonFileWithFallback } from "./json-store-CldL4yzQ.js";
|
|
4
4
|
import { a as removeBindingRecord, c as resolveEffectiveBindingExpiry, d as setMatrixThreadBindingManagerEntry, i as listBindingsForAccount, l as setBindingRecord, m as toSessionBindingRecord, p as toMatrixBindingTargetKind, r as getMatrixThreadBindingManagerEntry, s as resolveBindingKey, t as deleteMatrixThreadBindingManagerEntry } from "./thread-bindings-runtime-DkFEAqCE.js";
|
|
5
|
-
import { H as resolveMatrixStoragePaths, n as sendMessageMatrix } from "./send-
|
|
5
|
+
import { H as resolveMatrixStoragePaths, n as sendMessageMatrix } from "./send-CSMewOrC.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
//#region extensions/matrix/src/matrix/thread-bindings.ts
|
|
8
8
|
const STORE_VERSION = 1;
|
|
@@ -195,15 +195,15 @@ import "./matrix-runtime-heavy-CrSsKsje.js";
|
|
|
195
195
|
import "./diagnostics-otel-263jK4BB.js";
|
|
196
196
|
import "./src-CBhvMrse.js";
|
|
197
197
|
import "./credentials-read-C7Q6bZjM.js";
|
|
198
|
-
import { C as isPollStartType, R as resolveMatrixAccountConfig, S as isPollEventType, _ as summarizeMatrixReactionEvents, f as MATRIX_ANNOTATION_RELATION_TYPE, g as selectOwnMatrixReactionEventIds, m as buildMatrixReactionRelationsPath, n as sendMessageMatrix, o as resolveMatrixRoomId, p as MATRIX_REACTION_EVENT_TYPE, t as reactMatrixMessage, v as buildPollResponseContent, w as parsePollStart } from "./send-
|
|
199
|
-
import "./types-
|
|
200
|
-
import "./encryption-guidance-
|
|
198
|
+
import { C as isPollStartType, R as resolveMatrixAccountConfig, S as isPollEventType, _ as summarizeMatrixReactionEvents, f as MATRIX_ANNOTATION_RELATION_TYPE, g as selectOwnMatrixReactionEventIds, m as buildMatrixReactionRelationsPath, n as sendMessageMatrix, o as resolveMatrixRoomId, p as MATRIX_REACTION_EVENT_TYPE, t as reactMatrixMessage, v as buildPollResponseContent, w as parsePollStart } from "./send-CSMewOrC.js";
|
|
199
|
+
import "./types-4MUmx8f9.js";
|
|
200
|
+
import "./encryption-guidance-BK3AoyNE.js";
|
|
201
201
|
import "./lib-BCyIRdtN.js";
|
|
202
202
|
import "./BasicParser-C5vliE4R.js";
|
|
203
|
-
import { _ as startMatrixVerification, a as confirmMatrixVerificationSas, b as withResolvedRoomAction, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, g as scanMatrixVerificationQr, h as restoreMatrixRoomKeyBackup, i as confirmMatrixVerificationReciprocateQr, l as getMatrixVerificationSas, n as bootstrapMatrixVerification, o as generateMatrixVerificationQr, p as requestMatrixVerification, r as cancelMatrixVerification, s as getMatrixEncryptionStatus, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey, y as withResolvedActionClient } from "./verification-
|
|
203
|
+
import { _ as startMatrixVerification, a as confirmMatrixVerificationSas, b as withResolvedRoomAction, c as getMatrixRoomKeyBackupStatus, d as listMatrixVerifications, f as mismatchMatrixVerificationSas, g as scanMatrixVerificationQr, h as restoreMatrixRoomKeyBackup, i as confirmMatrixVerificationReciprocateQr, l as getMatrixVerificationSas, n as bootstrapMatrixVerification, o as generateMatrixVerificationQr, p as requestMatrixVerification, r as cancelMatrixVerification, s as getMatrixEncryptionStatus, t as acceptMatrixVerification, u as getMatrixVerificationStatus, v as verifyMatrixRecoveryKey, y as withResolvedActionClient } from "./verification-AUhU1rLr.js";
|
|
204
204
|
import "./profile-BrsBaOtk.js";
|
|
205
|
-
import { t as applyMatrixProfileUpdate } from "./profile-update-
|
|
206
|
-
import { o as resolveMatrixMessageAttachment, r as resolveMatrixPollRootEventId, s as resolveMatrixMessageBody, t as fetchMatrixPollMessageSummary } from "./poll-summary-
|
|
205
|
+
import { t as applyMatrixProfileUpdate } from "./profile-update-CGCL6vzs.js";
|
|
206
|
+
import { o as resolveMatrixMessageAttachment, r as resolveMatrixPollRootEventId, s as resolveMatrixMessageBody, t as fetchMatrixPollMessageSummary } from "./poll-summary-C2aH-_aI.js";
|
|
207
207
|
//#region extensions/matrix/src/matrix/actions/limits.ts
|
|
208
208
|
function resolveMatrixActionLimit(raw, fallback) {
|
|
209
209
|
if (typeof raw !== "number" || !Number.isFinite(raw)) return fallback;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as __toESM, t as __commonJSMin } from "./chunk-DORXReHP.js";
|
|
2
|
-
import { EventEmitter } from "events";
|
|
2
|
+
import { EventEmitter as EventEmitter$1 } from "events";
|
|
3
3
|
import { v4 } from "uuid";
|
|
4
4
|
//#region node_modules/@babel/runtime/helpers/asyncToGenerator.js
|
|
5
5
|
var require_asyncToGenerator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
@@ -7820,7 +7820,7 @@ var EventEmitterEvents = /* @__PURE__ */ function(EventEmitterEvents) {
|
|
|
7820
7820
|
* * `Arguments` - A {@link ListenerMap} type providing mappings from event names to listener types.
|
|
7821
7821
|
* * `SuperclassArguments` - TODO: not really sure. Alternative listener mappings, I think? But only honoured for `.emit`?
|
|
7822
7822
|
*/
|
|
7823
|
-
var TypedEventEmitter = class extends EventEmitter {
|
|
7823
|
+
var TypedEventEmitter = class extends EventEmitter$1 {
|
|
7824
7824
|
/**
|
|
7825
7825
|
* Alias for {@link on}.
|
|
7826
7826
|
*/
|
|
@@ -33404,7 +33404,7 @@ var MatrixClient = class extends TypedEventEmitter {
|
|
|
33404
33404
|
var deviceId = _this6.getDeviceId();
|
|
33405
33405
|
if (deviceId === null) throw new Error("Cannot enable encryption on MatrixClient with unknown deviceId: ensure deviceId is passed in createClient().");
|
|
33406
33406
|
_this6.logger.debug("Downloading Rust crypto library");
|
|
33407
|
-
var rustCrypto = yield (yield import("./rust-crypto-
|
|
33407
|
+
var rustCrypto = yield (yield import("./rust-crypto-D8b72Hjg.js")).initRustCrypto({
|
|
33408
33408
|
logger: _this6.logger,
|
|
33409
33409
|
http: _this6.http,
|
|
33410
33410
|
userId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as getMatrixRuntime } from "./credentials-read-C7Q6bZjM.js";
|
|
2
|
-
import { D as withResolvedRuntimeMatrixClient, o as resolveMatrixRoomId } from "./send-
|
|
3
|
-
import { n as formatMatrixEncryptionUnavailableError } from "./encryption-guidance-
|
|
2
|
+
import { D as withResolvedRuntimeMatrixClient, o as resolveMatrixRoomId } from "./send-CSMewOrC.js";
|
|
3
|
+
import { n as formatMatrixEncryptionUnavailableError } from "./encryption-guidance-BK3AoyNE.js";
|
|
4
4
|
//#region extensions/matrix/src/matrix/actions/client.ts
|
|
5
5
|
async function withResolvedActionClient(opts, run, mode = "stop") {
|
|
6
6
|
return await withResolvedRuntimeMatrixClient(opts, run, mode);
|
|
@@ -9,7 +9,7 @@ import os from "node:os";
|
|
|
9
9
|
import crypto, { randomUUID } from "node:crypto";
|
|
10
10
|
import fs$1, { writeFile } from "node:fs/promises";
|
|
11
11
|
import WebSocket$1 from "ws";
|
|
12
|
-
import EventEmitter
|
|
12
|
+
import EventEmitter from "events";
|
|
13
13
|
//#region extensions/zalouser/src/zca-constants.ts
|
|
14
14
|
const ThreadType$1 = {
|
|
15
15
|
User: 0,
|
|
@@ -25150,7 +25150,7 @@ var CloseReason;
|
|
|
25150
25150
|
CloseReason[CloseReason["DuplicateConnection"] = 3e3] = "DuplicateConnection";
|
|
25151
25151
|
CloseReason[CloseReason["KickConnection"] = 3003] = "KickConnection";
|
|
25152
25152
|
})(CloseReason || (CloseReason = {}));
|
|
25153
|
-
var Listener = class extends EventEmitter
|
|
25153
|
+
var Listener = class extends EventEmitter {
|
|
25154
25154
|
constructor(ctx, urls) {
|
|
25155
25155
|
super();
|
|
25156
25156
|
this.ctx = ctx;
|
package/package.json
CHANGED