openclaw-multi-auto 1.8.1 → 1.8.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/{audio-preflight-SOY4qjTl.js → audio-preflight-DcneE70v.js} +6 -6
- package/dist/{audit-membership-runtime-BQmoiW7f.js → audit-membership-runtime-BDoMjPgy.js} +3 -3
- package/dist/{auth-profiles-CEEqFOKJ.js → auth-profiles-Dta-Mhaw.js} +438 -438
- package/dist/auth-profiles.runtime-CLSx3zsq.js +7 -0
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-BgRco6mO.js +7 -0
- package/dist/daemon-cli.js +53 -53
- package/dist/deliver-runtime-BBwve6gL.js +7 -0
- package/dist/{fetch-wjPVlu-r.js → fetch-Bdod8UI1.js} +3 -3
- package/dist/{github-copilot-token-C-NbPL95.js → github-copilot-token-BgPOyCXe.js} +7 -7
- package/dist/image-runtime-DiA6CU2y.js +7 -0
- package/dist/{logger-mQKrXyAc.js → logger-Budylr6i.js} +18 -18
- package/dist/{login-Ctt81ov4.js → login-Bk8BjEUN.js} +3 -3
- package/dist/{login-qr-CHrXhUJY.js → login-qr-CVQlH0l0.js} +7 -7
- package/dist/manager-runtime-BW_M_Kzt.js +7 -0
- package/dist/{manager.runtime-C5odxL4B.js → manager.runtime-KPIwNjNW.js} +12 -12
- package/dist/{paths-jtwudEDq.js → paths-BnSNMlFT.js} +5 -5
- package/dist/{pi-model-discovery-runtime-C-YPAOQR.js → pi-model-discovery-runtime-CLfgSk3o.js} +6 -6
- package/dist/{pi-tools.before-tool-call.runtime-CWgsv7kC.js → pi-tools.before-tool-call.runtime-CKzFGrVv.js} +6 -6
- package/dist/plugin-sdk/{audio-preflight-yyFn-I5K.js → audio-preflight-CVWl4NKo.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-DHo6vLy0.js → audit-membership-runtime-D1VvFm38.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-DN3bNNeo.js → auth-profiles.runtime-Cy2e2Wah.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-BPDNQxEz.js → bluebubbles-B_tcmPhi.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-BaZDvsTA.js → channel-access-GDk6vyOi.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-DLZc22_m.js → channel-access-configure-CerQrsyV.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CFkTEzkz.js → channel-config-helpers-CX9AfjCJ.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-D1HfZ8IJ.js → compact.runtime-0XuiRVw-.js} +12 -12
- package/dist/plugin-sdk/compat.js +28 -28
- package/dist/plugin-sdk/core.js +14 -14
- package/dist/plugin-sdk/{deliver-runtime-DrD2s_GI.js → deliver-runtime-D37pd8wU.js} +12 -12
- package/dist/plugin-sdk/device-pair.js +5 -5
- package/dist/plugin-sdk/diagnostics-otel.js +2 -2
- package/dist/plugin-sdk/{discord-BZR9M1Ft.js → discord-dU71XVvQ.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-BvTkR9oI.js → exec-88qB5pUO.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-yk-axchG.js → fetch-Cqwcg-Kq.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-Cwx1pJhf.js → fetch-guard-DEyOIg88.js} +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-Cj2lgcNt.js → helpers-zm9M-XCJ.js} +1 -1
- package/dist/plugin-sdk/{http-registry-DyBqqyPO.js → http-registry-CR-l0QpT.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-ChtfQsK-.js → image-runtime-CSZNFoHc.js} +12 -12
- package/dist/plugin-sdk/{imessage-DtibPuZP.js → imessage-DvtFTwJr.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-CfNEV0ZG.js → inbound-reply-dispatch-DpGprwTU.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-C9fkmDdb.js → logger-D-go2oXy.js} +2 -2
- package/dist/plugin-sdk/{logger-DXnvMlr-.js → logger-Jt8cCPPV.js} +2 -2
- package/dist/plugin-sdk/{login-BC7QDpvj.js → login-CnT14vQ1.js} +5 -5
- package/dist/plugin-sdk/{login-qr-rnZFcwNs.js → login-qr-Di9Gqms7.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-B8O--3Jt.js → manager-runtime-DzCE2bL1.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-U_d65Qv1.js → manager.runtime-D6nT5fqn.js} +18 -18
- package/dist/plugin-sdk/matrix.js +16 -16
- package/dist/plugin-sdk/mattermost.js +14 -14
- package/dist/plugin-sdk/msteams.js +16 -16
- package/dist/plugin-sdk/nextcloud-talk.js +15 -15
- package/dist/plugin-sdk/nostr.js +4 -4
- package/dist/plugin-sdk/{outbound-media-DWtG1X8J.js → outbound-media-CN8bsq-T.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-BroxGf3Q.js → persistent-dedupe-CjCe_L5g.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-DWyENOD9.js → pi-model-discovery-runtime-1vkd_hCn.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-CPBeYJY2.js → pi-tools.before-tool-call.runtime-D0XEYwCa.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DR8Hjs-J.js → pw-ai-DkDE5awL.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-3qRPZ5ye.js → qmd-manager-CguAGtaF.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-BnFYorqr.js → query-expansion-ChYs46vb.js} +5 -5
- package/dist/plugin-sdk/{redact-DTcVTGFU.js → redact-CqHkGWow.js} +1 -1
- package/dist/plugin-sdk/{run-command-qzkvaQG1.js → run-command-nYfMDZC3.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +23 -0
- package/dist/plugin-sdk/{send-BZgg6N38.js → send-BDZssl9O.js} +5 -5
- package/dist/plugin-sdk/{session-Dm0FT_vI.js → session-DPhL1rLb.js} +5 -5
- package/dist/plugin-sdk/{signal-Dy_XjHKL.js → signal-BKMAyRnz.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-DNwpGTSd.js → slack-jues0BBq.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-Bn7T59g3.js → slash-commands.runtime-BJ6veGjC.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-BPsvStS0.js → slash-dispatch.runtime-CyWyh0DI.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-TDVZ7jxr.js → slash-skill-commands.runtime-BiDqNceZ.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-D3DovVGQ.js → subagent-registry-runtime-BVsFNLUF.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DXcqLSNd.js → subsystem-DOh66yR6.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-B1RGxv8p.js → telegram-D3JLaXTI.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-CaqMErUv.js → text-chunking-Bd2LMKfE.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Bp_o0GHR.js → thread-bindings-Cc59nx4d.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BQpbGej3.js → utils-BhiRkVxe.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-wjrX_svM.js → vllm-setup-R5M9rOvm.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-Dz6AjTQn.js → web-BpHTS6sG.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-yTQuv0k1.js → webhook-targets-t3fxeJQf.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-C5SohPL-.js → whatsapp-actions-BAJ27s8B.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-_Kw4PPKA.js → whatsapp-heartbeat-D6NF4OC0.js} +3 -3
- package/dist/plugin-sdk/whatsapp.js +13 -13
- package/dist/plugin-sdk/zalo.js +15 -15
- package/dist/plugin-sdk/zalouser.js +16 -16
- package/dist/{pw-ai-BFfAJexr.js → pw-ai-BZnl84YT.js} +6 -6
- package/dist/{qmd-manager-rY-Y6sbN.js → qmd-manager-BmuMJQP3.js} +3 -3
- package/dist/{query-expansion-BIMwPSMg.js → query-expansion-BMQzl41m.js} +89 -89
- package/dist/runtime-whatsapp-login.runtime-Dd6rJjLo.js +9 -0
- package/dist/runtime-whatsapp-outbound.runtime-CatYliOE.js +8 -0
- package/dist/{send-UG1n3OAg.js → send-CHO1gc7n.js} +2 -2
- package/dist/{session-Bpmn--zO.js → session-r38wrRC6.js} +6 -6
- package/dist/{slash-commands.runtime-DIrX0Ynq.js → slash-commands.runtime-J-gBOPcL.js} +6 -6
- package/dist/{slash-dispatch.runtime-CG-xSDdf.js → slash-dispatch.runtime-CwO02PY8.js} +6 -6
- package/dist/slash-skill-commands.runtime-BQRfyLdb.js +7 -0
- package/dist/{subagent-registry-runtime-rBYzVSXG.js → subagent-registry-runtime-1IiL0xom.js} +6 -6
- package/dist/{web-DbsQPRh2.js → web-B_GcnsRF.js} +9 -9
- package/dist/{whatsapp-actions-CnWp29AN.js → whatsapp-actions-BCgsmzOa.js} +7 -7
- package/package.json +1 -1
- package/scripts/create-instance.sh +4 -2
- package/dist/auth-profiles.runtime-DXPqJP5A.js +0 -7
- package/dist/compact.runtime-DS9UVeOh.js +0 -7
- package/dist/deliver-runtime-D929PgeO.js +0 -7
- package/dist/image-runtime-CkdY0-Oo.js +0 -7
- package/dist/manager-runtime-PqJtJx-b.js +0 -7
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-DeV-bhiR.js +0 -9
- package/dist/runtime-whatsapp-outbound.runtime-BFY32bnC.js +0 -8
- package/dist/slash-skill-commands.runtime-JEA80FeR.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as getChildLogger, N as toWhatsappJid, a as createSubsystemLogger, v as escapeRegExp } from "./logger-
|
|
2
|
-
import { Ei as generateSecureUuid, Gt as redactIdentifier, Qn as resolveMarkdownTableMode, Ur as resolveWhatsAppAccount, Wr as resolveWhatsAppMediaMaxBytes, Xn as convertMarkdownTables, cr as normalizePollInput, m as requireActiveWebListener, sa as loadConfig, sr as loadWebMedia } from "./auth-profiles-
|
|
1
|
+
import { K as getChildLogger, N as toWhatsappJid, a as createSubsystemLogger, v as escapeRegExp } from "./logger-Budylr6i.js";
|
|
2
|
+
import { Ei as generateSecureUuid, Gt as redactIdentifier, Qn as resolveMarkdownTableMode, Ur as resolveWhatsAppAccount, Wr as resolveWhatsAppMediaMaxBytes, Xn as convertMarkdownTables, cr as normalizePollInput, m as requireActiveWebListener, sa as loadConfig, sr as loadWebMedia } from "./auth-profiles-Dta-Mhaw.js";
|
|
3
3
|
//#region src/markdown/whatsapp.ts
|
|
4
4
|
/**
|
|
5
5
|
* Convert standard Markdown formatting to WhatsApp-compatible markup.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as resolveUserPath, I as danger, J as toPinoLikeLogger, K as getChildLogger, V as success, _ as ensureDir } from "./logger-
|
|
2
|
-
import { $r as resolveDefaultWebAuthDir, Da as formatCliCommand, Yr as maybeRestoreCredsFromBackup, Zr as readCredsJsonRaw, ei as resolveWebCredsBackupPath, ha as VERSION, ti as resolveWebCredsPath } from "./auth-profiles-
|
|
3
|
-
import
|
|
1
|
+
import { D as resolveUserPath, I as danger, J as toPinoLikeLogger, K as getChildLogger, V as success, _ as ensureDir } from "./logger-Budylr6i.js";
|
|
2
|
+
import { $r as resolveDefaultWebAuthDir, Da as formatCliCommand, Yr as maybeRestoreCredsFromBackup, Zr as readCredsJsonRaw, ei as resolveWebCredsBackupPath, ha as VERSION, ti as resolveWebCredsPath } from "./auth-profiles-Dta-Mhaw.js";
|
|
3
|
+
import fsSync from "node:fs";
|
|
4
4
|
import "node:crypto";
|
|
5
5
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
6
6
|
import qrcode from "qrcode-terminal";
|
|
@@ -18,16 +18,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
18
18
|
const raw = readCredsJsonRaw(credsPath);
|
|
19
19
|
if (raw) try {
|
|
20
20
|
JSON.parse(raw);
|
|
21
|
-
|
|
21
|
+
fsSync.copyFileSync(credsPath, backupPath);
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
fsSync.chmodSync(backupPath, 384);
|
|
24
24
|
} catch {}
|
|
25
25
|
} catch {}
|
|
26
26
|
} catch {}
|
|
27
27
|
try {
|
|
28
28
|
await Promise.resolve(saveCreds());
|
|
29
29
|
try {
|
|
30
|
-
|
|
30
|
+
fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
31
31
|
} catch {}
|
|
32
32
|
} catch (err) {
|
|
33
33
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { Fn as resolveCommandArgMenu, Mn as findCommandByNativeName, Nn as listNativeCommandSpecsForConfig, Pn as parseCommandArgs, jn as buildCommandTextFromArgs } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Fn as resolveCommandArgMenu, Mn as findCommandByNativeName, Nn as listNativeCommandSpecsForConfig, Pn as parseCommandArgs, jn as buildCommandTextFromArgs } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
export { buildCommandTextFromArgs, findCommandByNativeName, listNativeCommandSpecsForConfig, parseCommandArgs, resolveCommandArgMenu };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { A as createReplyPrefixOptions, E as dispatchReplyWithDispatcher, Qn as resolveMarkdownTableMode, W as finalizeInboundContext, Wn as resolveAgentRoute, _ as recordInboundSessionMetaSafe, ai as resolveConversationLabel, ar as resolveChunkMode, y as deliverSlackSlashReplies } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { A as createReplyPrefixOptions, E as dispatchReplyWithDispatcher, Qn as resolveMarkdownTableMode, W as finalizeInboundContext, Wn as resolveAgentRoute, _ as recordInboundSessionMetaSafe, ai as resolveConversationLabel, ar as resolveChunkMode, y as deliverSlackSlashReplies } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { B as listSkillCommandsForAgents } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
export { listSkillCommandsForAgents };
|
package/dist/{subagent-registry-runtime-rBYzVSXG.js → subagent-registry-runtime-1IiL0xom.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { at as isSubagentSessionRunActive, ct as resolveRequesterForChildSession, it as countPendingDescendantRunsExcludingRun, lt as shouldIgnorePostCompletionAnnounceForSession, nt as countActiveDescendantRuns, ot as listSubagentRunsForRequester, rt as countPendingDescendantRuns, st as replaceSubagentRunAfterSteer } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { at as isSubagentSessionRunActive, ct as resolveRequesterForChildSession, it as countPendingDescendantRunsExcludingRun, lt as shouldIgnorePostCompletionAnnounceForSession, nt as countActiveDescendantRuns, ot as listSubagentRunsForRequester, rt as countPendingDescendantRuns, st as replaceSubagentRunAfterSteer } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
7
|
export { countActiveDescendantRuns, countPendingDescendantRuns, countPendingDescendantRunsExcludingRun, isSubagentSessionRunActive, listSubagentRunsForRequester, replaceSubagentRunAfterSteer, resolveRequesterForChildSession, shouldIgnorePostCompletionAnnounceForSession };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { B as shouldLogVerbose, C as normalizeE164, E as resolveJidToE164, K as getChildLogger, N as toWhatsappJid, R as logVerbose, S as jidToE164, a as createSubsystemLogger, j as sleep, l as defaultRuntime, m as clamp, x as isSelfChatMode } from "./logger-
|
|
3
|
-
import { A as createReplyPrefixOptions, At as resolveMessagePrefix, Bn as resolvePinnedMainDmOwnerFromAllowlist, D as issuePairingChallenge, Da as formatCliCommand, Dr as updateLastRoute, Dt as createDedupeCache, Er as recordSessionMetaFromInbound, Et as sleepWithAbort, F as getReplyFromConfig, Gn as resolveInboundLastRouteSessionKey, Gr as WA_WEB_AUTH_DIR, Hn as buildAgentSessionKey, J as hasControlCommand, K as createInboundDebouncer, Kn as enqueueSystemEvent, Kr as getWebAuthAgeMs, Ln as readStoreAllowFromForDmPolicy, M as buildHistoryContextFromEntries, Mt as parseActivationCommand, N as recordPendingHistoryEntryIfEnabled, Ni as saveMediaBuffer, Nt as formatLocationText, O as resolveMentionGating, P as formatInboundEnvelope, Pt as toLocationContext, Qn as resolveMarkdownTableMode, Qr as readWebSelfId, Rn as resolveDmGroupAccessWithCommandGate, T as dispatchReplyWithBufferedBlockDispatcher, Tr as loadSessionStore, Tt as computeBackoff, Un as deriveLastRoutePolicy, Ur as resolveWhatsAppAccount, Vn as upsertChannelPairingRequest, W as finalizeInboundContext, Wn as resolveAgentRoute, Wr as resolveWhatsAppMediaMaxBytes, X as buildMentionRegexes, Xn as convertMarkdownTables, Xr as pickWebChannel, Y as shouldComputeCommandAuthorized, Z as normalizeMentionText, Zn as recordChannelActivity, ar as resolveChunkMode, g as resolveInboundSessionEnvelopeContext, h as setActiveWebListener, ia as getAgentScopedMediaLocalRoots, ii as resolveChannelGroupRequireMention, ir as chunkMarkdownTextWithMode, j as shouldAckReactionForWhatsApp, jt as normalizeGroupActivation, kt as resolveIdentityNamePrefix, ni as webAuthExists, nr as resolveOpenProviderRuntimeGroupPolicy, oi as resolveGroupSessionKey, or as resolveTextChunkLimit, q as resolveInboundDebounceMs, qn as formatDurationPrecise, qr as logWebSelfId, ri as resolveChannelGroupPolicy, rr as warnMissingProviderGroupPolicyFallbackOnce, sa as loadConfig, sr as loadWebMedia, ta as registerUnhandledRejectionHandler, tr as resolveDefaultGroupPolicy, w as createConnectedChannelStatusPatch, zn as resolveDmGroupAccessWithLists } from "./auth-profiles-
|
|
4
|
-
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
8
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-
|
|
9
|
-
import { t as loginWeb } from "./login-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import { B as shouldLogVerbose, C as normalizeE164, E as resolveJidToE164, K as getChildLogger, N as toWhatsappJid, R as logVerbose, S as jidToE164, a as createSubsystemLogger, j as sleep, l as defaultRuntime, m as clamp, x as isSelfChatMode } from "./logger-Budylr6i.js";
|
|
3
|
+
import { A as createReplyPrefixOptions, At as resolveMessagePrefix, Bn as resolvePinnedMainDmOwnerFromAllowlist, D as issuePairingChallenge, Da as formatCliCommand, Dr as updateLastRoute, Dt as createDedupeCache, Er as recordSessionMetaFromInbound, Et as sleepWithAbort, F as getReplyFromConfig, Gn as resolveInboundLastRouteSessionKey, Gr as WA_WEB_AUTH_DIR, Hn as buildAgentSessionKey, J as hasControlCommand, K as createInboundDebouncer, Kn as enqueueSystemEvent, Kr as getWebAuthAgeMs, Ln as readStoreAllowFromForDmPolicy, M as buildHistoryContextFromEntries, Mt as parseActivationCommand, N as recordPendingHistoryEntryIfEnabled, Ni as saveMediaBuffer, Nt as formatLocationText, O as resolveMentionGating, P as formatInboundEnvelope, Pt as toLocationContext, Qn as resolveMarkdownTableMode, Qr as readWebSelfId, Rn as resolveDmGroupAccessWithCommandGate, T as dispatchReplyWithBufferedBlockDispatcher, Tr as loadSessionStore, Tt as computeBackoff, Un as deriveLastRoutePolicy, Ur as resolveWhatsAppAccount, Vn as upsertChannelPairingRequest, W as finalizeInboundContext, Wn as resolveAgentRoute, Wr as resolveWhatsAppMediaMaxBytes, X as buildMentionRegexes, Xn as convertMarkdownTables, Xr as pickWebChannel, Y as shouldComputeCommandAuthorized, Z as normalizeMentionText, Zn as recordChannelActivity, ar as resolveChunkMode, g as resolveInboundSessionEnvelopeContext, h as setActiveWebListener, ia as getAgentScopedMediaLocalRoots, ii as resolveChannelGroupRequireMention, ir as chunkMarkdownTextWithMode, j as shouldAckReactionForWhatsApp, jt as normalizeGroupActivation, kt as resolveIdentityNamePrefix, ni as webAuthExists, nr as resolveOpenProviderRuntimeGroupPolicy, oi as resolveGroupSessionKey, or as resolveTextChunkLimit, q as resolveInboundDebounceMs, qn as formatDurationPrecise, qr as logWebSelfId, ri as resolveChannelGroupPolicy, rr as warnMissingProviderGroupPolicyFallbackOnce, sa as loadConfig, sr as loadWebMedia, ta as registerUnhandledRejectionHandler, tr as resolveDefaultGroupPolicy, w as createConnectedChannelStatusPatch, zn as resolveDmGroupAccessWithLists } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-r38wrRC6.js";
|
|
8
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-CHO1gc7n.js";
|
|
9
|
+
import { t as loginWeb } from "./login-Bk8BjEUN.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
12
12
|
const DEFAULT_RECONNECT_POLICY = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./logger-
|
|
3
|
-
import { Hr as resolveWhatsAppOutboundTarget, Ur as resolveWhatsAppAccount, dn as createActionGate, fn as jsonResult, mn as readStringParam, pn as readReactionParams, un as ToolAuthorizationError } from "./auth-profiles-
|
|
4
|
-
import "./query-expansion-
|
|
5
|
-
import "./github-copilot-token-
|
|
6
|
-
import "./fetch-
|
|
7
|
-
import { r as sendReactionWhatsApp } from "./send-
|
|
1
|
+
import "./paths-BnSNMlFT.js";
|
|
2
|
+
import "./logger-Budylr6i.js";
|
|
3
|
+
import { Hr as resolveWhatsAppOutboundTarget, Ur as resolveWhatsAppAccount, dn as createActionGate, fn as jsonResult, mn as readStringParam, pn as readReactionParams, un as ToolAuthorizationError } from "./auth-profiles-Dta-Mhaw.js";
|
|
4
|
+
import "./query-expansion-BMQzl41m.js";
|
|
5
|
+
import "./github-copilot-token-BgPOyCXe.js";
|
|
6
|
+
import "./fetch-Bdod8UI1.js";
|
|
7
|
+
import { r as sendReactionWhatsApp } from "./send-CHO1gc7n.js";
|
|
8
8
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
9
9
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
10
10
|
const account = resolveWhatsAppAccount({
|
package/package.json
CHANGED
|
@@ -21,6 +21,8 @@ for cmd in node pnpm; do
|
|
|
21
21
|
fi
|
|
22
22
|
done
|
|
23
23
|
|
|
24
|
+
OS_TYPE=$(uname -s 2>/dev/null || echo "unknown")
|
|
25
|
+
|
|
24
26
|
# --- 1. 源码路径定位 ---
|
|
25
27
|
SOURCE_CODE="$HOME/openclaw-runtime/node_modules/openclaw-multi-auto"
|
|
26
28
|
if [ -n "$OPENCLAW_SOURCE_DIR" ] && [ -d "$OPENCLAW_SOURCE_DIR" ]; then
|
|
@@ -412,7 +414,7 @@ if kill -0 $PID 2>/dev/null; then
|
|
|
412
414
|
if [ -n "$TOKEN" ]; then
|
|
413
415
|
URL="http://localhost:$PORT/?token=$TOKEN"
|
|
414
416
|
echo -e "${GREEN}请在浏览器中打开: ${BLUE}$URL${NC}"
|
|
415
|
-
if [[ "$
|
|
417
|
+
if [[ "$OS_TYPE" == "darwin"* ]]; then
|
|
416
418
|
open "$URL"
|
|
417
419
|
elif command -v xdg-open &> /dev/null; then
|
|
418
420
|
xdg-open "$URL"
|
|
@@ -431,4 +433,4 @@ if kill -0 $PID 2>/dev/null; then
|
|
|
431
433
|
else
|
|
432
434
|
echo -e "${RED}❌ 启动失败,请查看日志: tail -n 20 ${INSTANCE_DIR}/workspace/server.log${NC}"
|
|
433
435
|
exit 1
|
|
434
|
-
|
|
436
|
+
fi
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { t as ensureAuthProfileStore } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { ensureAuthProfileStore };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { tt as compactEmbeddedPiSessionDirect } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { compactEmbeddedPiSessionDirect };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { Rt as deliverOutboundPayloads } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { deliverOutboundPayloads };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { Sr as describeImageWithModel } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { describeImageWithModel };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { Tn as closeAllMemoryIndexManagers, wn as MemoryIndexManager } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { MemoryIndexManager, closeAllMemoryIndexManagers };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import "./channel-config-helpers-CFkTEzkz.js";
|
|
2
|
-
import "./thread-bindings-Bp_o0GHR.js";
|
|
3
|
-
import "./paths-WR8OhEmw.js";
|
|
4
|
-
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-C9fkmDdb.js";
|
|
6
|
-
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-DXcqLSNd.js";
|
|
8
|
-
import "./utils-BQpbGej3.js";
|
|
9
|
-
import "./fetch-yk-axchG.js";
|
|
10
|
-
import "./exec-BvTkR9oI.js";
|
|
11
|
-
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-BnFYorqr.js";
|
|
13
|
-
import "./logger-DXnvMlr-.js";
|
|
14
|
-
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-DTcVTGFU.js";
|
|
16
|
-
import "./http-registry-DyBqqyPO.js";
|
|
17
|
-
import "./pairing-token-BwgaSu88.js";
|
|
18
|
-
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-Cwx1pJhf.js";
|
|
20
|
-
import "./registry-N-tffRct.js";
|
|
21
|
-
import "./http-body-CLS7yD5S.js";
|
|
22
|
-
import "./session-Dm0FT_vI.js";
|
|
23
|
-
import { t as loginWeb } from "./login-BC7QDpvj.js";
|
|
24
|
-
export { loginWeb };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import "./channel-config-helpers-CFkTEzkz.js";
|
|
2
|
-
import "./thread-bindings-Bp_o0GHR.js";
|
|
3
|
-
import "./paths-WR8OhEmw.js";
|
|
4
|
-
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-C9fkmDdb.js";
|
|
6
|
-
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-DXcqLSNd.js";
|
|
8
|
-
import "./utils-BQpbGej3.js";
|
|
9
|
-
import "./fetch-yk-axchG.js";
|
|
10
|
-
import "./exec-BvTkR9oI.js";
|
|
11
|
-
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-BnFYorqr.js";
|
|
13
|
-
import "./logger-DXnvMlr-.js";
|
|
14
|
-
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-DTcVTGFU.js";
|
|
16
|
-
import "./http-registry-DyBqqyPO.js";
|
|
17
|
-
import "./pairing-token-BwgaSu88.js";
|
|
18
|
-
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-Cwx1pJhf.js";
|
|
20
|
-
import "./registry-N-tffRct.js";
|
|
21
|
-
import "./http-body-CLS7yD5S.js";
|
|
22
|
-
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-BZgg6N38.js";
|
|
23
|
-
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
import "./session-Bpmn--zO.js";
|
|
8
|
-
import { t as loginWeb } from "./login-Ctt81ov4.js";
|
|
9
|
-
export { loginWeb };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-UG1n3OAg.js";
|
|
8
|
-
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-jtwudEDq.js";
|
|
2
|
-
import "./logger-mQKrXyAc.js";
|
|
3
|
-
import { B as listSkillCommandsForAgents } from "./auth-profiles-CEEqFOKJ.js";
|
|
4
|
-
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
-
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
-
import "./fetch-wjPVlu-r.js";
|
|
7
|
-
export { listSkillCommandsForAgents };
|