openclaw-multi-auto 1.8.3 → 1.8.4
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-DcneE70v.js → audio-preflight-SOY4qjTl.js} +6 -6
- package/dist/{audit-membership-runtime-BDoMjPgy.js → audit-membership-runtime-BQmoiW7f.js} +3 -3
- package/dist/{auth-profiles-Dta-Mhaw.js → auth-profiles-CEEqFOKJ.js} +438 -438
- package/dist/auth-profiles.runtime-DXPqJP5A.js +7 -0
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/compact.runtime-DS9UVeOh.js +7 -0
- package/dist/daemon-cli.js +53 -53
- package/dist/deliver-runtime-D929PgeO.js +7 -0
- package/dist/{fetch-Bdod8UI1.js → fetch-wjPVlu-r.js} +3 -3
- package/dist/{github-copilot-token-BgPOyCXe.js → github-copilot-token-C-NbPL95.js} +7 -7
- package/dist/image-runtime-CkdY0-Oo.js +7 -0
- package/dist/{logger-Budylr6i.js → logger-mQKrXyAc.js} +18 -18
- package/dist/{login-Bk8BjEUN.js → login-Ctt81ov4.js} +3 -3
- package/dist/{login-qr-CVQlH0l0.js → login-qr-CHrXhUJY.js} +7 -7
- package/dist/manager-runtime-PqJtJx-b.js +7 -0
- package/dist/{manager.runtime-KPIwNjNW.js → manager.runtime-C5odxL4B.js} +12 -12
- package/dist/{paths-BnSNMlFT.js → paths-jtwudEDq.js} +5 -5
- package/dist/{pi-model-discovery-runtime-CLfgSk3o.js → pi-model-discovery-runtime-C-YPAOQR.js} +6 -6
- package/dist/{pi-tools.before-tool-call.runtime-CKzFGrVv.js → pi-tools.before-tool-call.runtime-CWgsv7kC.js} +6 -6
- package/dist/plugin-sdk/{audio-preflight-CVWl4NKo.js → audio-preflight-yyFn-I5K.js} +12 -12
- package/dist/plugin-sdk/{audit-membership-runtime-D1VvFm38.js → audit-membership-runtime-DHo6vLy0.js} +5 -5
- package/dist/plugin-sdk/{auth-profiles.runtime-Cy2e2Wah.js → auth-profiles.runtime-DN3bNNeo.js} +12 -12
- package/dist/plugin-sdk/{bluebubbles-B_tcmPhi.js → bluebubbles-BPDNQxEz.js} +1 -1
- package/dist/plugin-sdk/bluebubbles.js +15 -15
- package/dist/plugin-sdk/{channel-access-GDk6vyOi.js → channel-access-BaZDvsTA.js} +1 -1
- package/dist/plugin-sdk/{channel-access-configure-CerQrsyV.js → channel-access-configure-DLZc22_m.js} +1 -1
- package/dist/plugin-sdk/{channel-config-helpers-CX9AfjCJ.js → channel-config-helpers-CFkTEzkz.js} +3 -3
- package/dist/plugin-sdk/{compact.runtime-0XuiRVw-.js → compact.runtime-D1HfZ8IJ.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-D37pd8wU.js → deliver-runtime-DrD2s_GI.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-dU71XVvQ.js → discord-BZR9M1Ft.js} +4 -4
- package/dist/plugin-sdk/discord.js +16 -16
- package/dist/plugin-sdk/{exec-88qB5pUO.js → exec-BvTkR9oI.js} +2 -2
- package/dist/plugin-sdk/feishu.js +14 -14
- package/dist/plugin-sdk/{fetch-guard-DEyOIg88.js → fetch-guard-Cwx1pJhf.js} +1 -1
- package/dist/plugin-sdk/{fetch-Cqwcg-Kq.js → fetch-yk-axchG.js} +2 -2
- package/dist/plugin-sdk/google-gemini-cli-auth.js +4 -4
- package/dist/plugin-sdk/googlechat.js +14 -14
- package/dist/plugin-sdk/{helpers-zm9M-XCJ.js → helpers-Cj2lgcNt.js} +1 -1
- package/dist/plugin-sdk/{http-registry-CR-l0QpT.js → http-registry-DyBqqyPO.js} +2 -2
- package/dist/plugin-sdk/{image-runtime-CSZNFoHc.js → image-runtime-ChtfQsK-.js} +12 -12
- package/dist/plugin-sdk/{imessage-DvtFTwJr.js → imessage-DtibPuZP.js} +3 -3
- package/dist/plugin-sdk/imessage.js +14 -14
- package/dist/plugin-sdk/{inbound-reply-dispatch-DpGprwTU.js → inbound-reply-dispatch-CfNEV0ZG.js} +1 -1
- package/dist/plugin-sdk/index.js +28 -28
- package/dist/plugin-sdk/irc.js +15 -15
- package/dist/plugin-sdk/{logger-D-go2oXy.js → logger-C9fkmDdb.js} +2 -2
- package/dist/plugin-sdk/{logger-Jt8cCPPV.js → logger-DXnvMlr-.js} +2 -2
- package/dist/plugin-sdk/{login-CnT14vQ1.js → login-BC7QDpvj.js} +5 -5
- package/dist/plugin-sdk/{login-qr-Di9Gqms7.js → login-qr-rnZFcwNs.js} +13 -13
- package/dist/plugin-sdk/{manager-runtime-DzCE2bL1.js → manager-runtime-B8O--3Jt.js} +12 -12
- package/dist/plugin-sdk/{manager.runtime-D6nT5fqn.js → manager.runtime-U_d65Qv1.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-CN8bsq-T.js → outbound-media-DWtG1X8J.js} +1 -1
- package/dist/plugin-sdk/{persistent-dedupe-CjCe_L5g.js → persistent-dedupe-BroxGf3Q.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-runtime-1vkd_hCn.js → pi-model-discovery-runtime-DWyENOD9.js} +12 -12
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-D0XEYwCa.js → pi-tools.before-tool-call.runtime-CPBeYJY2.js} +12 -12
- package/dist/plugin-sdk/{pw-ai-DkDE5awL.js → pw-ai-DR8Hjs-J.js} +12 -12
- package/dist/plugin-sdk/{qmd-manager-CguAGtaF.js → qmd-manager-3qRPZ5ye.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-ChYs46vb.js → query-expansion-BnFYorqr.js} +5 -5
- package/dist/plugin-sdk/{redact-CqHkGWow.js → redact-DTcVTGFU.js} +1 -1
- package/dist/plugin-sdk/{run-command-nYfMDZC3.js → run-command-qzkvaQG1.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BDbgMnYK.js +24 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-BYZKJw25.js +23 -0
- package/dist/plugin-sdk/{send-BDZssl9O.js → send-BZgg6N38.js} +5 -5
- package/dist/plugin-sdk/{session-DPhL1rLb.js → session-Dm0FT_vI.js} +5 -5
- package/dist/plugin-sdk/{signal-BKMAyRnz.js → signal-Dy_XjHKL.js} +6 -6
- package/dist/plugin-sdk/signal.js +14 -14
- package/dist/plugin-sdk/{slack-jues0BBq.js → slack-DNwpGTSd.js} +3 -3
- package/dist/plugin-sdk/slack.js +16 -16
- package/dist/plugin-sdk/{slash-commands.runtime-BJ6veGjC.js → slash-commands.runtime-Bn7T59g3.js} +12 -12
- package/dist/plugin-sdk/{slash-dispatch.runtime-CyWyh0DI.js → slash-dispatch.runtime-BPsvStS0.js} +12 -12
- package/dist/plugin-sdk/{slash-skill-commands.runtime-BiDqNceZ.js → slash-skill-commands.runtime-TDVZ7jxr.js} +12 -12
- package/dist/plugin-sdk/{subagent-registry-runtime-BVsFNLUF.js → subagent-registry-runtime-D3DovVGQ.js} +12 -12
- package/dist/plugin-sdk/{subsystem-DOh66yR6.js → subsystem-DXcqLSNd.js} +1 -1
- package/dist/plugin-sdk/synology-chat.js +4 -4
- package/dist/plugin-sdk/{telegram-D3JLaXTI.js → telegram-B1RGxv8p.js} +4 -4
- package/dist/plugin-sdk/telegram.js +14 -14
- package/dist/plugin-sdk/{text-chunking-Bd2LMKfE.js → text-chunking-CaqMErUv.js} +1 -1
- package/dist/plugin-sdk/{thread-bindings-Cc59nx4d.js → thread-bindings-Bp_o0GHR.js} +48 -48
- package/dist/plugin-sdk/tlon.js +13 -13
- package/dist/plugin-sdk/twitch.js +14 -14
- package/dist/plugin-sdk/{utils-BhiRkVxe.js → utils-BQpbGej3.js} +1 -1
- package/dist/plugin-sdk/{vllm-setup-R5M9rOvm.js → vllm-setup-wjrX_svM.js} +2 -2
- package/dist/plugin-sdk/voice-call.js +12 -12
- package/dist/plugin-sdk/{web-BpHTS6sG.js → web-Dz6AjTQn.js} +16 -16
- package/dist/plugin-sdk/{webhook-targets-t3fxeJQf.js → webhook-targets-yTQuv0k1.js} +1 -1
- package/dist/plugin-sdk/{whatsapp-actions-BAJ27s8B.js → whatsapp-actions-C5SohPL-.js} +13 -13
- package/dist/plugin-sdk/{whatsapp-heartbeat-D6NF4OC0.js → whatsapp-heartbeat-_Kw4PPKA.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-BZnl84YT.js → pw-ai-BFfAJexr.js} +6 -6
- package/dist/{qmd-manager-BmuMJQP3.js → qmd-manager-rY-Y6sbN.js} +3 -3
- package/dist/{query-expansion-BMQzl41m.js → query-expansion-BIMwPSMg.js} +89 -89
- package/dist/runtime-whatsapp-login.runtime-DeV-bhiR.js +9 -0
- package/dist/runtime-whatsapp-outbound.runtime-BFY32bnC.js +8 -0
- package/dist/{send-CHO1gc7n.js → send-UG1n3OAg.js} +2 -2
- package/dist/{session-r38wrRC6.js → session-Bpmn--zO.js} +6 -6
- package/dist/{slash-commands.runtime-J-gBOPcL.js → slash-commands.runtime-DIrX0Ynq.js} +6 -6
- package/dist/{slash-dispatch.runtime-CwO02PY8.js → slash-dispatch.runtime-CG-xSDdf.js} +6 -6
- package/dist/slash-skill-commands.runtime-JEA80FeR.js +7 -0
- package/dist/{subagent-registry-runtime-1IiL0xom.js → subagent-registry-runtime-rBYzVSXG.js} +6 -6
- package/dist/{web-B_GcnsRF.js → web-DbsQPRh2.js} +9 -9
- package/dist/{whatsapp-actions-BCgsmzOa.js → whatsapp-actions-CnWp29AN.js} +7 -7
- package/package.json +2 -1
- package/scripts/create-instance.sh +5 -37
- package/dist/auth-profiles.runtime-CLSx3zsq.js +0 -7
- package/dist/compact.runtime-BgRco6mO.js +0 -7
- package/dist/deliver-runtime-BBwve6gL.js +0 -7
- package/dist/image-runtime-DiA6CU2y.js +0 -7
- package/dist/manager-runtime-BW_M_Kzt.js +0 -7
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-UvsfFa7Q.js +0 -24
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CYBj8E4x.js +0 -23
- package/dist/runtime-whatsapp-login.runtime-Dd6rJjLo.js +0 -9
- package/dist/runtime-whatsapp-outbound.runtime-CatYliOE.js +0 -8
- package/dist/slash-skill-commands.runtime-BQRfyLdb.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-mQKrXyAc.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-CEEqFOKJ.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-mQKrXyAc.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-CEEqFOKJ.js";
|
|
3
|
+
import fs 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
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
fs.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
|
+
fs.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-jtwudEDq.js";
|
|
2
|
+
import "./logger-mQKrXyAc.js";
|
|
3
|
+
import { Fn as resolveCommandArgMenu, Mn as findCommandByNativeName, Nn as listNativeCommandSpecsForConfig, Pn as parseCommandArgs, jn as buildCommandTextFromArgs } 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
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-jtwudEDq.js";
|
|
2
|
+
import "./logger-mQKrXyAc.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-CEEqFOKJ.js";
|
|
4
|
+
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
+
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
+
import "./fetch-wjPVlu-r.js";
|
|
7
7
|
export { createReplyPrefixOptions, deliverSlackSlashReplies, dispatchReplyWithDispatcher, finalizeInboundContext, recordInboundSessionMetaSafe, resolveAgentRoute, resolveChunkMode, resolveConversationLabel, resolveMarkdownTableMode };
|
|
@@ -0,0 +1,7 @@
|
|
|
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 };
|
package/dist/{subagent-registry-runtime-1IiL0xom.js → subagent-registry-runtime-rBYzVSXG.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-jtwudEDq.js";
|
|
2
|
+
import "./logger-mQKrXyAc.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-CEEqFOKJ.js";
|
|
4
|
+
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
+
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
+
import "./fetch-wjPVlu-r.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-jtwudEDq.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-mQKrXyAc.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-CEEqFOKJ.js";
|
|
4
|
+
import { R as resolveStorePath, fn as normalizeAgentId, ln as buildGroupHistoryKey, on as DEFAULT_MAIN_KEY, sn as buildAgentMainSessionKey } from "./query-expansion-BIMwPSMg.js";
|
|
5
|
+
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
+
import "./fetch-wjPVlu-r.js";
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Bpmn--zO.js";
|
|
8
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./send-UG1n3OAg.js";
|
|
9
|
+
import { t as loginWeb } from "./login-Ctt81ov4.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-jtwudEDq.js";
|
|
2
|
+
import "./logger-mQKrXyAc.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-CEEqFOKJ.js";
|
|
4
|
+
import "./query-expansion-BIMwPSMg.js";
|
|
5
|
+
import "./github-copilot-token-C-NbPL95.js";
|
|
6
|
+
import "./fetch-wjPVlu-r.js";
|
|
7
|
+
import { r as sendReactionWhatsApp } from "./send-UG1n3OAg.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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openclaw-multi-auto",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.4",
|
|
4
4
|
"description": "Multi-channel AI gateway with extensible messaging integrations",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://github.com/openclaw/openclaw#readme",
|
|
@@ -372,6 +372,7 @@
|
|
|
372
372
|
"ajv": "^8.18.0",
|
|
373
373
|
"chalk": "^5.6.2",
|
|
374
374
|
"chokidar": "^5.0.0",
|
|
375
|
+
"clawhub": "latest",
|
|
375
376
|
"cli-highlight": "^2.1.11",
|
|
376
377
|
"commander": "^14.0.3",
|
|
377
378
|
"croner": "^10.0.1",
|
|
@@ -152,24 +152,6 @@ if [ ! -d "node_modules" ]; then
|
|
|
152
152
|
fi
|
|
153
153
|
echo -e "${GREEN}✅ 依赖安装成功${NC}"
|
|
154
154
|
|
|
155
|
-
# --- 安装扩展 page-action-cache ---
|
|
156
|
-
echo -e "${BLUE}📦 正在安装扩展 page-action-cache...${NC}"
|
|
157
|
-
mkdir -p "${INSTANCE_DIR}/extensions"
|
|
158
|
-
cd "${INSTANCE_DIR}/extensions"
|
|
159
|
-
TEMP_EXT_DIR=$(mktemp -d)
|
|
160
|
-
cd "$TEMP_EXT_DIR"
|
|
161
|
-
if npm pack page-action-cache --registry=https://registry.npmmirror.com --quiet > /dev/null 2>&1; then
|
|
162
|
-
TARBALL=$(ls *.tgz)
|
|
163
|
-
tar -xzf "$TARBALL"
|
|
164
|
-
rm -rf "${INSTANCE_DIR}/extensions/page-action-cache"
|
|
165
|
-
mv package "${INSTANCE_DIR}/extensions/page-action-cache"
|
|
166
|
-
echo -e "${GREEN}✅ page-action-cache 安装成功${NC}"
|
|
167
|
-
else
|
|
168
|
-
echo -e "${YELLOW}⚠️ page-action-cache 下载失败${NC}"
|
|
169
|
-
fi
|
|
170
|
-
rm -rf "$TEMP_EXT_DIR"
|
|
171
|
-
cd "${INSTANCE_DIR}"
|
|
172
|
-
|
|
173
155
|
# --- 8. 参数与交互式获取 ---
|
|
174
156
|
MODEL_PROVIDER="${3:-}"
|
|
175
157
|
if [ -z "$MODEL_PROVIDER" ]; then
|
|
@@ -262,25 +244,6 @@ cat > "${INSTANCE_DIR}/config/openclaw.json" << EOF
|
|
|
262
244
|
}
|
|
263
245
|
EOF
|
|
264
246
|
|
|
265
|
-
# --- 10. 预装可选技能 ---
|
|
266
|
-
echo -e "${BLUE}🤖 正在注入飞书运维机器人引导...${NC}"
|
|
267
|
-
SKILLS_DIR="${INSTANCE_DIR}/workspace/skills"
|
|
268
|
-
mkdir -p "$SKILLS_DIR"
|
|
269
|
-
SKILL_PKG="jinyu-skill-feishu-config"
|
|
270
|
-
REGISTRY="https://registry.npmmirror.com"
|
|
271
|
-
TEMP_DIR=$(mktemp -d)
|
|
272
|
-
cd "$TEMP_DIR"
|
|
273
|
-
if npm pack "$SKILL_PKG@latest" --registry="$REGISTRY" --quiet > /dev/null; then
|
|
274
|
-
TARBALL=$(ls *.tgz)
|
|
275
|
-
mkdir -p "$SKILLS_DIR/feishu-config"
|
|
276
|
-
tar -xzf "$TARBALL" -C "$SKILLS_DIR/feishu-config" --strip-components=1
|
|
277
|
-
echo -e "${GREEN}✅ 技能 feishu-config 安装成功${NC}"
|
|
278
|
-
else
|
|
279
|
-
echo -e "${YELLOW}⚠️ 技能 feishu-config 下载失败,跳过(可手动安装)${NC}"
|
|
280
|
-
fi
|
|
281
|
-
cd - > /dev/null
|
|
282
|
-
rm -rf "$TEMP_DIR"
|
|
283
|
-
|
|
284
247
|
# --- 如果实例是 yunwei,安装角色包 ---
|
|
285
248
|
if [ "$INSTANCE_NAME" = "yunwei" ]; then
|
|
286
249
|
echo -e "${BLUE}🛠️ 检测到运维实例,正在安装角色包 role-openclaw-yunwei...${NC}"
|
|
@@ -388,6 +351,11 @@ check_port() {
|
|
|
388
351
|
fi
|
|
389
352
|
}
|
|
390
353
|
|
|
354
|
+
./start.sh plugins install page-action-cache
|
|
355
|
+
if [ "$INSTANCE_NAME" = "yunwei" ]; then
|
|
356
|
+
./start.sh clawhub install jinyu-skill-feishu-config
|
|
357
|
+
fi
|
|
358
|
+
|
|
391
359
|
if kill -0 $PID 2>/dev/null; then
|
|
392
360
|
if check_port; then
|
|
393
361
|
echo -e "${GREEN}================================================${NC}"
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import { t as ensureAuthProfileStore } 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 { ensureAuthProfileStore };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import { tt as compactEmbeddedPiSessionDirect } 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 { compactEmbeddedPiSessionDirect };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import { Rt as deliverOutboundPayloads } 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 { deliverOutboundPayloads };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import { Sr as describeImageWithModel } 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 { describeImageWithModel };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import { Tn as closeAllMemoryIndexManagers, wn as MemoryIndexManager } 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 { MemoryIndexManager, closeAllMemoryIndexManagers };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
-
import "./thread-bindings-Cc59nx4d.js";
|
|
3
|
-
import "./paths-WR8OhEmw.js";
|
|
4
|
-
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-D-go2oXy.js";
|
|
6
|
-
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-DOh66yR6.js";
|
|
8
|
-
import "./utils-BhiRkVxe.js";
|
|
9
|
-
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
-
import "./exec-88qB5pUO.js";
|
|
11
|
-
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-ChYs46vb.js";
|
|
13
|
-
import "./logger-Jt8cCPPV.js";
|
|
14
|
-
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-CqHkGWow.js";
|
|
16
|
-
import "./http-registry-CR-l0QpT.js";
|
|
17
|
-
import "./pairing-token-BwgaSu88.js";
|
|
18
|
-
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-DEyOIg88.js";
|
|
20
|
-
import "./registry-N-tffRct.js";
|
|
21
|
-
import "./http-body-CLS7yD5S.js";
|
|
22
|
-
import "./session-DPhL1rLb.js";
|
|
23
|
-
import { t as loginWeb } from "./login-CnT14vQ1.js";
|
|
24
|
-
export { loginWeb };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import "./channel-config-helpers-CX9AfjCJ.js";
|
|
2
|
-
import "./thread-bindings-Cc59nx4d.js";
|
|
3
|
-
import "./paths-WR8OhEmw.js";
|
|
4
|
-
import "./github-copilot-token-BGYH4ltJ.js";
|
|
5
|
-
import "./logger-D-go2oXy.js";
|
|
6
|
-
import "./tmp-openclaw-dir-DRPiOszV.js";
|
|
7
|
-
import "./subsystem-DOh66yR6.js";
|
|
8
|
-
import "./utils-BhiRkVxe.js";
|
|
9
|
-
import "./fetch-Cqwcg-Kq.js";
|
|
10
|
-
import "./exec-88qB5pUO.js";
|
|
11
|
-
import "./thinking-B2k7q5lY.js";
|
|
12
|
-
import "./query-expansion-ChYs46vb.js";
|
|
13
|
-
import "./logger-Jt8cCPPV.js";
|
|
14
|
-
import "./zod-schema.core-GWl_s9xp.js";
|
|
15
|
-
import "./redact-CqHkGWow.js";
|
|
16
|
-
import "./http-registry-CR-l0QpT.js";
|
|
17
|
-
import "./pairing-token-BwgaSu88.js";
|
|
18
|
-
import "./ssrf-Dlo7BZU6.js";
|
|
19
|
-
import "./fetch-guard-DEyOIg88.js";
|
|
20
|
-
import "./registry-N-tffRct.js";
|
|
21
|
-
import "./http-body-CLS7yD5S.js";
|
|
22
|
-
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-BDZssl9O.js";
|
|
23
|
-
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import "./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 "./session-r38wrRC6.js";
|
|
8
|
-
import { t as loginWeb } from "./login-Bk8BjEUN.js";
|
|
9
|
-
export { loginWeb };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./paths-BnSNMlFT.js";
|
|
2
|
-
import "./logger-Budylr6i.js";
|
|
3
|
-
import "./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 { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./send-CHO1gc7n.js";
|
|
8
|
-
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,7 +0,0 @@
|
|
|
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 };
|