openclaw-cortex 3.2.2 → 3.2.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/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/control-ui/_app/immutable/chunks/hPYUhDQO.js +1 -0
- package/dist/control-ui/_app/immutable/entry/{app.CrCCwjNG.js → app.DpA4vHmZ.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.sQG_Ah97.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.C_eDaxcG.js → 0.CWgT4Zq4.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.Bl8gqrPg.js → 1.Clob7CSA.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.DprKPzQ3.js → 15.CJI1gaoB.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
- package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
- package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
- package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
- package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
- package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
- package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
- package/dist/plugin-sdk/{common-CJo4CK5_.js → common-CCPGi5xr.js} +2 -2
- package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
- package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
- package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
- package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
- package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
- package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
- package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
- package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
- package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
- package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
- package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
- package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
- package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
- package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
- package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
- package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
- package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
- package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
- package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
- package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
- package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
- package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
- package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
- package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
- package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
- package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
- package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/C1foZlYx.js +0 -1
- package/dist/control-ui/_app/immutable/entry/start.COsntbkx.js +0 -1
- package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId$1 } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { c as getActivePluginRegistry, ct as createInternalHookEvent, lt as triggerInternalHook } from "./registry-
|
|
3
|
+
import { c as getActivePluginRegistry, ct as createInternalHookEvent, lt as triggerInternalHook } from "./registry-C8pj8ctW.js";
|
|
4
4
|
import { s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-
|
|
7
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
8
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
9
|
-
import { d as getChannelDock } from "./thinking-
|
|
10
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
11
|
-
import { dt as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, ut as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
6
|
+
import { c as resolveChunkMode, f as parseFenceSpans, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph } from "./chunk-C9J4kyVw.js";
|
|
7
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-D1LxPszt.js";
|
|
8
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-jpNoUngc.js";
|
|
9
|
+
import { d as getChannelDock } from "./thinking-BACprzA0.js";
|
|
10
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BJciHbYr.js";
|
|
11
|
+
import { dt as resolveMirroredTranscriptText, i as isMessagingToolDuplicate, ut as appendAssistantMessageToSessionTranscript } from "./pi-embedded-helpers-0qu1zxwF.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CgnPuqk-.js";
|
|
13
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DREpPboJ.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import crypto from "node:crypto";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-BW5KRYN1.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { N as shortenHomeInString, w as isRecord } from "./registry-
|
|
3
|
-
import { B as resolveOpenClawAgentDir, S as getApiKeyForModel, V as normalizeSecretInput, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { N as shortenHomeInString, w as isRecord } from "./registry-C8pj8ctW.js";
|
|
3
|
+
import { B as resolveOpenClawAgentDir, S as getApiKeyForModel, V as normalizeSecretInput, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-BQiSfqzh.js";
|
|
4
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-DPnDWsnT.js";
|
|
6
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
6
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-0qu1zxwF.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-3Y4hcIsw.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-
|
|
3
|
-
import { $ as clearHistoryEntries, A as resolveDiscordUserAllowlist, B as logInboundDrop, C as stripMarkdown, Ct as registerPluginHttpRoute, D as resolveSlackUserAllowlist, Dt as CHANNEL_MESSAGE_ACTION_NAMES, Et as BLUEBUBBLES_GROUP_ACTIONS, F as optionalStringEnum, G as shouldAckReactionForWhatsApp, H as createTypingCallbacks, I as stringEnum, J as mergeAllowlist, K as resolveMentionGating, L as recordInboundSession, M as collectDiscordAuditChannelIds, N as missingTargetError, O as resolveSlackChannelAllowlist, P as formatDocsLink, Q as buildPendingHistoryContextFromMap, R as resolveControlCommandGate, S as processLineMessage, St as extractToolSend, T as attachFooterText, Tt as BLUEBUBBLES_ACTION_NAMES, U as removeAckReactionAfterReply, V as logTypingFailure, W as shouldAckReaction, X as DEFAULT_GROUP_HISTORY_LIMIT, Y as summarizeMapping, _t as requestBodyErrorToText, a as normalizeAccountId$1, at as formatAllowlistMatchMeta, bt as listDevicePairing, ct as isWSLEnv, dt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, et as clearHistoryEntriesIfEnabled, ft as RequestBodyLimitError, gt as readRequestBodyWithLimit, ht as readJsonBodyWithLimit, i as listLineAccountIds, j as resolveDiscordChannelAllowlist, k as detectBinary, lt as isWSLSync, mt as isRequestBodyLimitError, nt as recordPendingHistoryEntryIfEnabled, o as resolveDefaultLineAccountId, ot as resolveAllowlistMatchSimple, pt as installRequestBodyLimitGuard, q as resolveMentionGatingWithBypass, s as resolveLineAccount, st as isWSL2Sync, tt as recordPendingHistoryEntry, ut as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, vt as createDedupeCache, w as createReceiptCard, wt as BLUEBUBBLES_ACTIONS, x as hasMarkdownToConvert, xt as rejectDevicePairing, yt as approveDevicePairing, z as logAckFailure } from "./reply-
|
|
4
|
-
import { D as normalizeE164, F as sleep, M as safeParseJson, O as pathExists, S as escapeRegExp, _ as CONFIG_DIR, i as getChatChannelMeta, tt as registerLogTransport, ut as normalizePluginHttpPath, v as clamp, w as isRecord } from "./registry-
|
|
2
|
+
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-b1Cok6r_.js";
|
|
3
|
+
import { $ as clearHistoryEntries, A as resolveDiscordUserAllowlist, B as logInboundDrop, C as stripMarkdown, Ct as registerPluginHttpRoute, D as resolveSlackUserAllowlist, Dt as CHANNEL_MESSAGE_ACTION_NAMES, Et as BLUEBUBBLES_GROUP_ACTIONS, F as optionalStringEnum, G as shouldAckReactionForWhatsApp, H as createTypingCallbacks, I as stringEnum, J as mergeAllowlist, K as resolveMentionGating, L as recordInboundSession, M as collectDiscordAuditChannelIds, N as missingTargetError, O as resolveSlackChannelAllowlist, P as formatDocsLink, Q as buildPendingHistoryContextFromMap, R as resolveControlCommandGate, S as processLineMessage, St as extractToolSend, T as attachFooterText, Tt as BLUEBUBBLES_ACTION_NAMES, U as removeAckReactionAfterReply, V as logTypingFailure, W as shouldAckReaction, X as DEFAULT_GROUP_HISTORY_LIMIT, Y as summarizeMapping, _t as requestBodyErrorToText, a as normalizeAccountId$1, at as formatAllowlistMatchMeta, bt as listDevicePairing, ct as isWSLEnv, dt as DEFAULT_WEBHOOK_MAX_BODY_BYTES, et as clearHistoryEntriesIfEnabled, ft as RequestBodyLimitError, gt as readRequestBodyWithLimit, ht as readJsonBodyWithLimit, i as listLineAccountIds, j as resolveDiscordChannelAllowlist, k as detectBinary, lt as isWSLSync, mt as isRequestBodyLimitError, nt as recordPendingHistoryEntryIfEnabled, o as resolveDefaultLineAccountId, ot as resolveAllowlistMatchSimple, pt as installRequestBodyLimitGuard, q as resolveMentionGatingWithBypass, s as resolveLineAccount, st as isWSL2Sync, tt as recordPendingHistoryEntry, ut as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, vt as createDedupeCache, w as createReceiptCard, wt as BLUEBUBBLES_ACTIONS, x as hasMarkdownToConvert, xt as rejectDevicePairing, yt as approveDevicePairing, z as logAckFailure } from "./reply-BUzGHOJ7.js";
|
|
4
|
+
import { D as normalizeE164, F as sleep, M as safeParseJson, O as pathExists, S as escapeRegExp, _ as CONFIG_DIR, i as getChatChannelMeta, tt as registerLogTransport, ut as normalizePluginHttpPath, v as clamp, w as isRecord } from "./registry-C8pj8ctW.js";
|
|
5
5
|
import "./paths-DJmOcr7Q.js";
|
|
6
|
-
import { Q as withFileLock, Z as acquireFileLock } from "./model-selection-
|
|
7
|
-
import { A as DmPolicySchema, C as MSTeamsConfigSchema, D as ToolPolicySchema, E as TelegramConfigSchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownConfigSchema, N as MarkdownTableModeSchema, O as BlockStreamingCoalesceSchema, P as TtsAutoSchema, R as normalizeAllowFrom, S as IMessageConfigSchema, T as SlackConfigSchema, b as DiscordConfigSchema, j as GroupPolicySchema, k as DmConfigSchema, w as SignalConfigSchema, x as GoogleChatConfigSchema, y as WhatsAppConfigSchema, z as requireOpenAllowFrom } from "./config-
|
|
8
|
-
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-
|
|
9
|
-
import { d as detectMime, f as extensionForMime, p as getFileExtension } from "./fs-safe-
|
|
10
|
-
import { n as stripAnsi } from "./subsystem-
|
|
11
|
-
import { E as runCommandWithTimeout } from "./agent-scope-
|
|
12
|
-
import { i as jsonResult, o as readNumberParam, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-
|
|
13
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
14
|
-
import { p as chunkTextByBreakResolver } from "./chunk-
|
|
15
|
-
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-
|
|
16
|
-
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-
|
|
17
|
-
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-
|
|
18
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
19
|
-
import "./skill-commands-
|
|
20
|
-
import "./skills-
|
|
6
|
+
import { Q as withFileLock, Z as acquireFileLock } from "./model-selection-BQiSfqzh.js";
|
|
7
|
+
import { A as DmPolicySchema, C as MSTeamsConfigSchema, D as ToolPolicySchema, E as TelegramConfigSchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownConfigSchema, N as MarkdownTableModeSchema, O as BlockStreamingCoalesceSchema, P as TtsAutoSchema, R as normalizeAllowFrom, S as IMessageConfigSchema, T as SlackConfigSchema, b as DiscordConfigSchema, j as GroupPolicySchema, k as DmConfigSchema, w as SignalConfigSchema, x as GoogleChatConfigSchema, y as WhatsAppConfigSchema, z as requireOpenAllowFrom } from "./config-DemNgb7Z.js";
|
|
8
|
+
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-A_uouj00.js";
|
|
9
|
+
import { d as detectMime, f as extensionForMime, p as getFileExtension } from "./fs-safe-CGcLaY9D.js";
|
|
10
|
+
import { n as stripAnsi } from "./subsystem-BfLMZ8kW.js";
|
|
11
|
+
import { E as runCommandWithTimeout } from "./agent-scope-OWMdRegz.js";
|
|
12
|
+
import { i as jsonResult, o as readNumberParam, s as readReactionParams, t as createActionGate, u as readStringParam } from "./common-CCPGi5xr.js";
|
|
13
|
+
import { s as parseSlackBlocksInput } from "./send-9i1KJYhJ.js";
|
|
14
|
+
import { p as chunkTextByBreakResolver } from "./chunk-C9J4kyVw.js";
|
|
15
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-CpfmIaxP.js";
|
|
16
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-BkD3LLSl.js";
|
|
17
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-YUOHz1rF.js";
|
|
18
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-D1LxPszt.js";
|
|
19
|
+
import "./skill-commands-CTB7AZXn.js";
|
|
20
|
+
import "./skills-BCD1hFBZ.js";
|
|
21
21
|
import "./redact-DPnDWsnT.js";
|
|
22
22
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
23
23
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DxmqkHJJ.js";
|
|
24
|
-
import { o as fetchWithSsrFGuard } from "./local-roots-
|
|
25
|
-
import { N as rawDataToString } from "./chrome-
|
|
26
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
27
|
-
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-
|
|
28
|
-
import { _ as listDiscordAccountIds, a as listTelegramAccountIds, b as resolveDiscordAccount, d as resolveDefaultSlackAccountId, f as resolveSlackAccount, l as listEnabledSlackAccounts, n as normalizeWhatsAppTarget, o as resolveDefaultTelegramAccountId, p as resolveSlackReplyToMode, s as resolveTelegramAccount, t as isWhatsAppGroupJid, u as listSlackAccountIds, y as resolveDefaultDiscordAccountId } from "./normalize-
|
|
29
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
30
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
31
|
-
import "./bindings-
|
|
32
|
-
import { a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-
|
|
33
|
-
import { Dt as resolveChannelEntryMatchWithFallback, Et as resolveChannelEntryMatch, Ot as resolveNestedAllowlistDecision, Q as parseDiscordTarget, Tt as normalizeChannelSlug, at as normalizeDiscordSlug, wt as buildChannelKeyCandidates } from "./send-
|
|
34
|
-
import { T as resolveChannelMediaMaxBytes } from "./deliver-
|
|
35
|
-
import "./message-channel-
|
|
36
|
-
import "./pi-embedded-helpers-
|
|
24
|
+
import { o as fetchWithSsrFGuard } from "./local-roots-jpNoUngc.js";
|
|
25
|
+
import { N as rawDataToString } from "./chrome-BS8LYp6z.js";
|
|
26
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
27
|
+
import { C as resolveSlackGroupRequireMention, D as resolveWhatsAppGroupRequireMention, E as resolveTelegramGroupToolPolicy, L as resolveToolsBySender, N as buildSlackThreadingToolContext, O as resolveWhatsAppGroupToolPolicy, S as resolveIMessageGroupToolPolicy, T as resolveTelegramGroupRequireMention, _ as resolveDiscordGroupRequireMention, b as resolveGoogleChatGroupToolPolicy, g as resolveBlueBubblesGroupToolPolicy, h as resolveBlueBubblesGroupRequireMention, m as normalizeSignalMessagingTarget, p as looksLikeSignalTargetId, v as resolveDiscordGroupToolPolicy, w as resolveSlackGroupToolPolicy, x as resolveIMessageGroupRequireMention, y as resolveGoogleChatGroupRequireMention } from "./thinking-BACprzA0.js";
|
|
28
|
+
import { _ as listDiscordAccountIds, a as listTelegramAccountIds, b as resolveDiscordAccount, d as resolveDefaultSlackAccountId, f as resolveSlackAccount, l as listEnabledSlackAccounts, n as normalizeWhatsAppTarget, o as resolveDefaultTelegramAccountId, p as resolveSlackReplyToMode, s as resolveTelegramAccount, t as isWhatsAppGroupJid, u as listSlackAccountIds, y as resolveDefaultDiscordAccountId } from "./normalize-raRH8X3d.js";
|
|
29
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-CRs7kbLB.js";
|
|
30
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-uAqOguyH.js";
|
|
31
|
+
import "./bindings-LROfNV1W.js";
|
|
32
|
+
import { a as listDiscordDirectoryPeersFromConfig, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig } from "./plugins-BJciHbYr.js";
|
|
33
|
+
import { Dt as resolveChannelEntryMatchWithFallback, Et as resolveChannelEntryMatch, Ot as resolveNestedAllowlistDecision, Q as parseDiscordTarget, Tt as normalizeChannelSlug, at as normalizeDiscordSlug, wt as buildChannelKeyCandidates } from "./send-Di1hHvf2.js";
|
|
34
|
+
import { T as resolveChannelMediaMaxBytes } from "./deliver-BCvqh6o3.js";
|
|
35
|
+
import "./message-channel-C3OrO29D.js";
|
|
36
|
+
import "./pi-embedded-helpers-0qu1zxwF.js";
|
|
37
37
|
import "./github-copilot-token-etmIcdko.js";
|
|
38
|
-
import "./manifest-registry-
|
|
38
|
+
import "./manifest-registry-Lzj-fZNH.js";
|
|
39
39
|
import "./paths-a1ZEI8nz.js";
|
|
40
|
-
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-
|
|
41
|
-
import { n as extractOriginalFilename } from "./store-
|
|
42
|
-
import { a as loadWebMedia } from "./ir-
|
|
43
|
-
import "./retry-
|
|
44
|
-
import "./channel-activity-
|
|
40
|
+
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-oBxO5N68.js";
|
|
41
|
+
import { n as extractOriginalFilename } from "./store-BJRhX9Bi.js";
|
|
42
|
+
import { a as loadWebMedia } from "./ir-JSGKj1e6.js";
|
|
43
|
+
import "./retry-B8Oq5mgi.js";
|
|
44
|
+
import "./channel-activity-DHI8R5Xg.js";
|
|
45
45
|
import "./fetch-B79-NBmS.js";
|
|
46
|
-
import "./markdown-tables-
|
|
46
|
+
import "./markdown-tables-CgnPuqk-.js";
|
|
47
47
|
import "./render-DehvxLfa.js";
|
|
48
|
-
import "./tables-
|
|
49
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
50
|
-
import "./image-
|
|
48
|
+
import "./tables-D5aPNTF6.js";
|
|
49
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-CGp1_ZH4.js";
|
|
50
|
+
import "./image-BHSeZfna.js";
|
|
51
51
|
import "./pi-model-discovery-3Y4hcIsw.js";
|
|
52
|
-
import "./api-key-rotation-
|
|
53
|
-
import "./sqlite-
|
|
52
|
+
import "./api-key-rotation-DedcgBOR.js";
|
|
53
|
+
import "./sqlite-Yn48izJ_.js";
|
|
54
54
|
import "./diagnostic-session-state-BW5KRYN1.js";
|
|
55
|
-
import "./manager-
|
|
56
|
-
import "./commands-registry-
|
|
57
|
-
import "./send-
|
|
55
|
+
import "./manager-B9XMF8DU.js";
|
|
56
|
+
import "./commands-registry-pHxVP_Zd.js";
|
|
57
|
+
import "./send-DREpPboJ.js";
|
|
58
58
|
import "./proxy-BwzmpJWq.js";
|
|
59
|
-
import "./resolve-route-
|
|
60
|
-
import "./replies-
|
|
61
|
-
import "./outbound-attachment-
|
|
62
|
-
import "./outbound-
|
|
63
|
-
import "./session-
|
|
64
|
-
import { t as loginWeb } from "./login-
|
|
59
|
+
import "./resolve-route-DudlMKs4.js";
|
|
60
|
+
import "./replies-0BFlZXJ5.js";
|
|
61
|
+
import "./outbound-attachment-BD9q-xgD.js";
|
|
62
|
+
import "./outbound-CtRrsxZT.js";
|
|
63
|
+
import "./session-CpS-Mhnp.js";
|
|
64
|
+
import { t as loginWeb } from "./login-Ckh0Yz4j.js";
|
|
65
65
|
import path from "node:path";
|
|
66
66
|
import fs, { createWriteStream } from "node:fs";
|
|
67
67
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as shouldLogVerbose, U as logVerbose, j as resolveUserPath } from "./registry-
|
|
2
|
-
import { b as maxBytesForKind, c as hasAlphaChannel, d as detectMime, f as extensionForMime, l as optimizeImageToPng, o as convertHeicToJpeg, r as readLocalFileSafely, t as SafeOpenError, u as resizeToJpeg, x as mediaKindFromMime } from "./fs-safe-
|
|
3
|
-
import { a as chunkText } from "./chunk-
|
|
4
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
1
|
+
import { K as shouldLogVerbose, U as logVerbose, j as resolveUserPath } from "./registry-C8pj8ctW.js";
|
|
2
|
+
import { b as maxBytesForKind, c as hasAlphaChannel, d as detectMime, f as extensionForMime, l as optimizeImageToPng, o as convertHeicToJpeg, r as readLocalFileSafely, t as SafeOpenError, u as resizeToJpeg, x as mediaKindFromMime } from "./fs-safe-CGcLaY9D.js";
|
|
3
|
+
import { a as chunkText } from "./chunk-C9J4kyVw.js";
|
|
4
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-jpNoUngc.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { st as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
1
|
+
import { st as resolvePreferredOpenClawTmpDir } from "./registry-C8pj8ctW.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
3
|
-
import { d as detectMime, f as extensionForMime } from "./fs-safe-
|
|
4
|
-
import { M as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { d as detectMime, f as extensionForMime } from "./fs-safe-CGcLaY9D.js";
|
|
4
|
+
import { M as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-OWMdRegz.js";
|
|
5
5
|
import { t as bindAbortRelay } from "./fetch-timeout-BKZjgek-.js";
|
|
6
6
|
import { n as closeDispatcher, r as createPinnedDispatcher, s as resolvePinnedHostnameWithPolicy, t as SsrFBlockedError } from "./ssrf-DxmqkHJJ.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { B as danger, V as info, q as success } from "./registry-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
6
|
-
import { j as logInfo } from "./agent-scope-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-b1Cok6r_.js";
|
|
3
|
+
import { B as danger, V as info, q as success } from "./registry-C8pj8ctW.js";
|
|
4
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-BfLMZ8kW.js";
|
|
6
|
+
import { j as logInfo } from "./agent-scope-OWMdRegz.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CpS-Mhnp.js";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
|
|
11
11
|
//#region src/web/login.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-
|
|
2
|
-
import { B as danger, V as info, q as success } from "./registry-
|
|
1
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-b1Cok6r_.js";
|
|
2
|
+
import { B as danger, V as info, q as success } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import "./paths-DJmOcr7Q.js";
|
|
4
|
-
import "./model-selection-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
7
|
-
import { j as logInfo } from "./agent-scope-
|
|
8
|
-
import "./command-format-
|
|
4
|
+
import "./model-selection-BQiSfqzh.js";
|
|
5
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-BfLMZ8kW.js";
|
|
7
|
+
import { j as logInfo } from "./agent-scope-OWMdRegz.js";
|
|
8
|
+
import "./command-format-BTciq6Gg.js";
|
|
9
9
|
import "./github-copilot-token-etmIcdko.js";
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
10
|
+
import "./manifest-registry-Lzj-fZNH.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CpS-Mhnp.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
14
14
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as truncateUtf16Safe, b as clampNumber, j as resolveUserPath, y as clampInt } from "./registry-
|
|
2
|
+
import { R as truncateUtf16Safe, b as clampNumber, j as resolveUserPath, y as clampInt } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-BQiSfqzh.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
6
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-OWMdRegz.js";
|
|
7
7
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
8
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
8
|
+
import { r as isTruthyEnvValue } from "./command-format-BTciq6Gg.js";
|
|
9
9
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-a1ZEI8nz.js";
|
|
10
10
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-Cj85Mq0h.js";
|
|
11
|
-
import { n as retryAsync } from "./retry-
|
|
12
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
13
|
-
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
11
|
+
import { n as retryAsync } from "./retry-B8Oq5mgi.js";
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DedcgBOR.js";
|
|
13
|
+
import { _ as statRegularFile, a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, g as isFileMissingError, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-Yn48izJ_.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as resolveUserPath, k as resolveConfigDir, w as isRecord } from "./registry-
|
|
1
|
+
import { j as resolveUserPath, k as resolveConfigDir, w as isRecord } from "./registry-C8pj8ctW.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-BJciHbYr.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/markdown-tables.ts
|
|
6
6
|
var markdown_tables_exports = /* @__PURE__ */ __exportAll({ resolveMarkdownTableMode: () => resolveMarkdownTableMode });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
1
|
+
import { c as getActivePluginRegistry, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-C8pj8ctW.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as DEFAULT_AGENT_ID } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { j as resolveUserPath } from "./registry-
|
|
3
|
+
import { j as resolveUserPath } from "./registry-C8pj8ctW.js";
|
|
4
4
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
6
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-OWMdRegz.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
8
8
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-etmIcdko.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
3
|
-
import { D as normalizeE164 } from "./registry-
|
|
4
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-b1Cok6r_.js";
|
|
3
|
+
import { D as normalizeE164 } from "./registry-C8pj8ctW.js";
|
|
4
|
+
import { r as isTruthyEnvValue } from "./command-format-BTciq6Gg.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-LROfNV1W.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-action-gate.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { L as toWhatsappJid, Q as getChildLogger, S as escapeRegExp } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { L as toWhatsappJid, Q as getChildLogger, S as escapeRegExp } from "./registry-C8pj8ctW.js";
|
|
3
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-dTqdfZ_K.js";
|
|
6
|
-
import { a as loadWebMedia } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
-
import { n as requireActiveWebListener } from "./active-listener-
|
|
6
|
+
import { a as loadWebMedia } from "./ir-JSGKj1e6.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CgnPuqk-.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-D5aPNTF6.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-BdVTYHTN.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as saveMediaBuffer } from "./store-
|
|
2
|
-
import { a as loadWebMedia } from "./ir-
|
|
1
|
+
import { i as saveMediaBuffer } from "./store-BJRhX9Bi.js";
|
|
2
|
+
import { a as loadWebMedia } from "./ir-JSGKj1e6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./registry-
|
|
1
|
+
import "./registry-C8pj8ctW.js";
|
|
2
2
|
import "./paths-DJmOcr7Q.js";
|
|
3
|
-
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./command-format-
|
|
3
|
+
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-BQiSfqzh.js";
|
|
4
|
+
import "./subsystem-BfLMZ8kW.js";
|
|
5
|
+
import "./agent-scope-OWMdRegz.js";
|
|
6
|
+
import "./command-format-BTciq6Gg.js";
|
|
7
7
|
import "./github-copilot-token-etmIcdko.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { d as resolveAgentIdFromSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, u as normalizeMainKey } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { D as normalizeE164, R as truncateUtf16Safe, j as resolveUserPath, st as resolvePreferredOpenClawTmpDir, t as CHANNEL_IDS } from "./registry-
|
|
2
|
+
import { D as normalizeE164, R as truncateUtf16Safe, j as resolveUserPath, st as resolvePreferredOpenClawTmpDir, t as CHANNEL_IDS } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { $ as resolveProcessScopedMap, et as isPidAlive } from "./model-selection-
|
|
5
|
-
import { V as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
6
|
-
import { a as buildImageResizeSideGrid, i as IMAGE_REDUCE_QUALITY_STEPS, n as openFileWithinRoot, s as getImageMetadata, t as SafeOpenError, u as resizeToJpeg } from "./fs-safe-
|
|
7
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
8
|
-
import { D as runExec, _ as DEFAULT_SOUL_FILENAME, b as ensureAgentWorkspace, f as DEFAULT_AGENTS_FILENAME, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_HEARTBEAT_FILENAME, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, p as DEFAULT_AGENT_WORKSPACE_DIR, u as resolveSessionAgentId, v as DEFAULT_TOOLS_FILENAME, y as DEFAULT_USER_FILENAME } from "./agent-scope-
|
|
9
|
-
import { d as wrapOwnerOnlyToolExecution, f as sanitizeContentBlocksImages } from "./common-
|
|
10
|
-
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
4
|
+
import { $ as resolveProcessScopedMap, et as isPidAlive } from "./model-selection-BQiSfqzh.js";
|
|
5
|
+
import { V as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-DemNgb7Z.js";
|
|
6
|
+
import { a as buildImageResizeSideGrid, i as IMAGE_REDUCE_QUALITY_STEPS, n as openFileWithinRoot, s as getImageMetadata, t as SafeOpenError, u as resizeToJpeg } from "./fs-safe-CGcLaY9D.js";
|
|
7
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
8
|
+
import { D as runExec, _ as DEFAULT_SOUL_FILENAME, b as ensureAgentWorkspace, f as DEFAULT_AGENTS_FILENAME, g as DEFAULT_IDENTITY_FILENAME, h as DEFAULT_HEARTBEAT_FILENAME, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, p as DEFAULT_AGENT_WORKSPACE_DIR, u as resolveSessionAgentId, v as DEFAULT_TOOLS_FILENAME, y as DEFAULT_USER_FILENAME } from "./agent-scope-OWMdRegz.js";
|
|
9
|
+
import { d as wrapOwnerOnlyToolExecution, f as sanitizeContentBlocksImages } from "./common-CCPGi5xr.js";
|
|
10
|
+
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-BCD1hFBZ.js";
|
|
11
11
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
12
12
|
import { t as SsrFBlockedError } from "./ssrf-DxmqkHJJ.js";
|
|
13
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, S as stopChromeExtensionRelayServer, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as isLoopbackHost, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-
|
|
14
|
-
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-
|
|
15
|
-
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-
|
|
13
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, S as stopChromeExtensionRelayServer, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as fetchJson, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as appendCdpPath, h as withBrowserNavigationPolicy, i as launchOpenClawChrome, j as isLoopbackHost, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchOk, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-BS8LYp6z.js";
|
|
14
|
+
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
15
|
+
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-BACprzA0.js";
|
|
16
16
|
import { t as normalizeChatType } from "./chat-type-B5__aQIT.js";
|
|
17
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
18
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
17
|
+
import { r as normalizeChannelId } from "./plugins-BJciHbYr.js";
|
|
18
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-C3OrO29D.js";
|
|
19
19
|
import { n as resolveConversationLabel } from "./conversation-label-2FLz1ei_.js";
|
|
20
20
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-a1ZEI8nz.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Cj85Mq0h.js";
|
|
22
|
-
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
22
|
+
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-BJRhX9Bi.js";
|
|
23
23
|
import path, { posix } from "node:path";
|
|
24
24
|
import fs, { existsSync, realpathSync } from "node:fs";
|
|
25
25
|
import os from "node:os";
|
|
@@ -2482,7 +2482,7 @@ function isModuleNotFoundError(err) {
|
|
|
2482
2482
|
}
|
|
2483
2483
|
async function loadPwAiModule(mode) {
|
|
2484
2484
|
try {
|
|
2485
|
-
return await import("./pw-ai-
|
|
2485
|
+
return await import("./pw-ai-DkUDisr8.js");
|
|
2486
2486
|
} catch (err) {
|
|
2487
2487
|
if (mode === "soft") return null;
|
|
2488
2488
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -5024,11 +5024,11 @@ function createProfileContext(opts, profile) {
|
|
|
5024
5024
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
5025
5025
|
const profileState = getProfileState();
|
|
5026
5026
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
5027
|
-
await (await import("./pw-ai-
|
|
5027
|
+
await (await import("./pw-ai-DkUDisr8.js")).closePlaywrightBrowserConnection();
|
|
5028
5028
|
} catch {}
|
|
5029
5029
|
if (profileState.running) await stopRunningBrowser();
|
|
5030
5030
|
try {
|
|
5031
|
-
await (await import("./pw-ai-
|
|
5031
|
+
await (await import("./pw-ai-DkUDisr8.js")).closePlaywrightBrowserConnection();
|
|
5032
5032
|
} catch {}
|
|
5033
5033
|
if (!fs.existsSync(userDataDir)) return {
|
|
5034
5034
|
moved: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
2
|
-
import { a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { b as resolveDiscordAccount, f as resolveSlackAccount, n as normalizeWhatsAppTarget, s as resolveTelegramAccount, t as isWhatsAppGroupJid } from "./normalize-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-b1Cok6r_.js";
|
|
2
|
+
import { a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-C8pj8ctW.js";
|
|
3
|
+
import { b as resolveDiscordAccount, f as resolveSlackAccount, n as normalizeWhatsAppTarget, s as resolveTelegramAccount, t as isWhatsAppGroupJid } from "./normalize-raRH8X3d.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/targets.ts
|
|
6
6
|
function normalizeTargetId(kind, id) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { st as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
1
|
+
import { st as resolvePreferredOpenClawTmpDir } from "./registry-C8pj8ctW.js";
|
|
2
2
|
import "./paths-DJmOcr7Q.js";
|
|
3
|
-
import "./model-selection-
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import "./agent-scope-
|
|
3
|
+
import "./model-selection-BQiSfqzh.js";
|
|
4
|
+
import "./config-DemNgb7Z.js";
|
|
5
|
+
import "./subsystem-BfLMZ8kW.js";
|
|
6
|
+
import "./agent-scope-OWMdRegz.js";
|
|
7
7
|
import "./redact-DPnDWsnT.js";
|
|
8
8
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
9
9
|
import "./ssrf-DxmqkHJJ.js";
|
|
10
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
11
|
-
import { t as formatCliCommand } from "./command-format-
|
|
10
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-BS8LYp6z.js";
|
|
11
|
+
import { t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
12
12
|
import "./github-copilot-token-etmIcdko.js";
|
|
13
|
-
import "./manifest-registry-
|
|
13
|
+
import "./manifest-registry-Lzj-fZNH.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import crypto from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { v as parseAgentSessionKey } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import "./registry-
|
|
2
|
+
import "./registry-C8pj8ctW.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-OWMdRegz.js";
|
|
6
6
|
import "./redact-DPnDWsnT.js";
|
|
7
7
|
import "./paths-a1ZEI8nz.js";
|
|
8
|
-
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
8
|
+
import { _ as statRegularFile, g as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-Yn48izJ_.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import fs from "node:fs/promises";
|
|
@@ -3,7 +3,7 @@ import path from "node:path";
|
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import { Logger } from "tslog";
|
|
6
|
-
import
|
|
6
|
+
import JSON5 from "json5";
|
|
7
7
|
import chalk, { Chalk } from "chalk";
|
|
8
8
|
|
|
9
9
|
//#region src/plugins/http-path.ts
|
|
@@ -151,7 +151,7 @@ function readLoggingConfig() {
|
|
|
151
151
|
try {
|
|
152
152
|
if (!fs.existsSync(configPath)) return;
|
|
153
153
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
154
|
-
const logging =
|
|
154
|
+
const logging = JSON5.parse(raw)?.logging;
|
|
155
155
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
156
156
|
return logging;
|
|
157
157
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
3
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
4
|
-
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-
|
|
2
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-9i1KJYhJ.js";
|
|
3
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-C9J4kyVw.js";
|
|
4
|
+
import { n as SILENT_REPLY_TOKEN, r as isSilentReplyText } from "./tokens-D1LxPszt.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|