@lawpath-tech/openclaw 2026.2.21-20 → 2026.2.21-22
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-Da7vejCH.js → audio-preflight-CODznzqu.js} +4 -4
- package/dist/{audio-preflight-CLqoZYgI.js → audio-preflight-omzaYFGD.js} +4 -4
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-Bqbv_ZSj.js → chrome-BAv9fEiv.js} +7 -7
- package/dist/{chrome-CZuniMYN.js → chrome-lRUqqgSD.js} +7 -7
- package/dist/{deliver-0ThKlzQo.js → deliver-B2d2N8OJ.js} +1 -1
- package/dist/{deliver-CKH_FhS0.js → deliver-CLJRPnfx.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{image-88q3KE-C.js → image--DDZnw-F.js} +1 -1
- package/dist/{image-CxPjVob-.js → image-Ci28h-op.js} +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{pi-embedded-ZvazjIyF.js → pi-embedded-C_B8_quB.js} +16 -16
- package/dist/{pi-embedded-Dz24QZz9.js → pi-embedded-CoxlOLW5.js} +16 -16
- package/dist/{pi-embedded-helpers-B0Kht0I2.js → pi-embedded-helpers-Cd0S0WfR.js} +4 -4
- package/dist/{pi-embedded-helpers-CSE0v99A.js → pi-embedded-helpers-Ll4Lztu1.js} +4 -4
- package/dist/plugin-sdk/{accounts-DUBJHEgi.js → accounts-BcQo4OUu.js} +1 -1
- package/dist/plugin-sdk/{accounts-wSu5JyDM.js → accounts-DEsAwvaZ.js} +1 -1
- package/dist/plugin-sdk/{accounts-Ciwy7Yxd.js → accounts-fnLsjAOi.js} +3 -3
- package/dist/plugin-sdk/{active-listener-Bnau4oiu.js → active-listener-CeaKSm29.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-cT7IxdHY.js → agent-scope-D5PlT0Z0.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-ElOMCP9r.js → api-key-rotation-B3O1qn0m.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-DtozH3sJ.js → audio-preflight-CYSy3uuZ.js} +24 -24
- package/dist/plugin-sdk/{bindings-CKqdifyU.js → bindings-C0XEX0yK.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CCnr-9bS.js → channel-activity-WgE8Z4Bb.js} +1 -1
- package/dist/plugin-sdk/{channel-web-BHNS_E7F.js → channel-web-Nw-bUgtV.js} +22 -22
- package/dist/plugin-sdk/{chrome-BO7SUTgY.js → chrome-C1xnOQsc.js} +3 -3
- package/dist/plugin-sdk/{chunk-DyzO7IVo.js → chunk-CQk9vawA.js} +1 -1
- package/dist/plugin-sdk/{command-format-DcBXOX9Z.js → command-format-DHXa0Clc.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BsSKPwgj.js → commands-registry-yTZdwtLj.js} +4 -4
- package/dist/plugin-sdk/{config-9OZuRn0C.js → config--kW4R0el.js} +9 -9
- package/dist/plugin-sdk/{deliver-BO_wt0wd.js → deliver-C2gjA_UH.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DKyVS3IK.js → diagnostic-Up1aMyxZ.js} +1 -1
- package/dist/plugin-sdk/{image-C31B_R8P.js → image-Bcc99tVA.js} +4 -4
- package/dist/plugin-sdk/{image-ops-B8aJIly2.js → image-ops-C6RLbtSJ.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-CD5VqKGg.js → ir-Cwi1KVG5.js} +4 -4
- package/dist/plugin-sdk/{local-roots-D4PCK2jj.js → local-roots-6BSl8AoA.js} +3 -3
- package/dist/plugin-sdk/{login-CW17h3xU.js → login-Cau5eVVj.js} +7 -7
- package/dist/plugin-sdk/{login-qr-CMdk06CS.js → login-qr-CLWtfA9m.js} +9 -9
- package/dist/plugin-sdk/{manager-CZPPxI6R.js → manager-C3Eb_8Hz.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-sgHvjA6E.js → manifest-registry-DvEm2HHf.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-Bo-r4msS.js → markdown-tables-cJqvQe9j.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DmB4bGFh.js → message-channel-DY9wVB2A.js} +1 -1
- package/dist/plugin-sdk/{model-selection-CXooYLb2.js → model-selection-BjVTBZiY.js} +4 -4
- package/dist/plugin-sdk/{outbound-dAcQHyyr.js → outbound-Co1QSkdS.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-CCxMtk8m.js → outbound-attachment-CsmRyZPI.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-C-euHc3x.js → pi-auth-json-DfEOhoTK.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-DU0nLxRU.js → pi-embedded-helpers-D3EACnFn.js} +17 -17
- package/dist/plugin-sdk/{plugins-DIzw7Ncy.js → plugins-Dyz98ZJX.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-CYmDAwXD.js → pw-ai-smoXiGqZ.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DQiT4WTr.js → qmd-manager-CUhJ7WG2.js} +4 -4
- package/dist/plugin-sdk/{registry-O1yza0Vh.js → registry-DL-33c9X.js} +2 -2
- package/dist/plugin-sdk/{replies-Bnu7HnvW.js → replies-Bkaifx0j.js} +3 -3
- package/dist/plugin-sdk/{reply-DEepmBkT.js → reply-Cb54ddUA.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-BF0omhZE.js → reply-prefix-5vdbga0R.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DzZIT1V1.js → resolve-outbound-target-CP7QDN14.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-B63ztF-V.js → resolve-route-eopifBrM.js} +3 -3
- package/dist/plugin-sdk/{retry-JFNwfUew.js → retry-5P3d0rYw.js} +1 -1
- package/dist/plugin-sdk/{runner-DztRiWhh.js → runner-DqwPn56n.js} +9 -9
- package/dist/plugin-sdk/{send-DEV4iiFj.js → send-C2NQjVF9.js} +10 -10
- package/dist/plugin-sdk/{send-D-spKwjf.js → send-D_X6p9H0.js} +10 -10
- package/dist/plugin-sdk/{send-CK3DCPv-.js → send-DnFB-v5n.js} +6 -6
- package/dist/plugin-sdk/{send-D1C2sJG1.js → send-PPtjKj-0.js} +7 -7
- package/dist/plugin-sdk/{send-DrYvH25B.js → send-_uj_NuFI.js} +6 -6
- package/dist/plugin-sdk/{session-DRJl5tKC.js → session-CZngPTYk.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Dv5AeOZQ.js → skill-commands-Cr54qPdy.js} +5 -5
- package/dist/plugin-sdk/{skills-5hEda4_Y.js → skills-Dcu4o-9l.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DUu0dwic.js → sqlite-ulpcowfN.js} +1 -1
- package/dist/plugin-sdk/{store-DoRXD0QB.js → store-EUYCRBvs.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C4Rh0kdL.js → subsystem-C9WnrKN8.js} +1 -1
- package/dist/plugin-sdk/{tables-C_81Ve2l.js → tables-CMdQECje.js} +1 -1
- package/dist/plugin-sdk/{target-errors-C638yp2-.js → target-errors-CrR2lAF7.js} +2 -2
- package/dist/plugin-sdk/{thinking-DexKPSsI.js → thinking-C7zYA2s9.js} +5 -5
- package/dist/plugin-sdk/{tokens-K9ITCatc.js → tokens-2475WU2Z.js} +1 -1
- package/dist/plugin-sdk/{tool-images-BvjD_HnR.js → tool-images-DCvC8yL7.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-BBRtoox8.js → tool-loop-detection-D0ADW0h2.js} +2 -2
- package/dist/plugin-sdk/web-BVkjyY4A.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-D8i2vCxS.js → whatsapp-actions-DC4RRNqv.js} +21 -21
- package/dist/{pw-ai-S3cpSYOy.js → pw-ai-C-kqYO4L.js} +1 -1
- package/dist/{pw-ai-D-_aGzdQ.js → pw-ai-KrN0mqVH.js} +1 -1
- package/dist/{runner-D1eXJZ8T.js → runner-ChBxge-W.js} +1 -1
- package/dist/{runner-a43IsYad.js → runner-Dq-qfrq7.js} +1 -1
- package/dist/{web-Y49Dumye.js → web-Crj4x6uL.js} +6 -6
- package/dist/{web-CVSol55V.js → web-DiYh3u92.js} +6 -6
- package/extensions/voice-call/package.json +2 -0
- package/extensions/voice-call/src/config.ts +16 -3
- package/extensions/voice-call/src/providers/realtime-session.ts +210 -0
- package/extensions/voice-call/src/webhook.ts +172 -8
- package/package.json +3 -1
- package/dist/plugin-sdk/web-DBo-6RyH.js +0 -65
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-
|
|
3
|
-
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-
|
|
2
|
+
import { _ as createAccountListHelpers, i as resolveWhatsAppAuthDir, n as resolveDefaultWhatsAppAccountId, r as resolveWhatsAppAccount, t as listWhatsAppAccountIds } from "./accounts-fnLsjAOi.js";
|
|
3
|
+
import { $ as clearHistoryEntriesIfEnabled, A as resolveDiscordUserAllowlist, B as logTypingFailure, C as stripMarkdown, Ct as unbindThreadBindingsBySessionKey, D as resolveSlackUserAllowlist, Dt as BLUEBUBBLES_ACTION_NAMES, Et as BLUEBUBBLES_ACTIONS, F as stringEnum, G as resolveMentionGating, H as removeAckReactionAfterReply, I as recordInboundSession, J as summarizeMapping, K as resolveMentionGatingWithBypass, L as resolveControlCommandGate, M as collectDiscordAuditChannelIds, N as formatDocsLink, O as resolveSlackChannelAllowlist, Ot as BLUEBUBBLES_GROUP_ACTIONS, P as optionalStringEnum, Q as clearHistoryEntries, R as logAckFailure, S as processLineMessage, St as listThreadBindingsBySessionKey, T as attachFooterText, Tt as resolveAllowlistMatchSimple, U as shouldAckReaction, V as createTypingCallbacks, W as shouldAckReactionForWhatsApp, Y as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildPendingHistoryContextFromMap, _t as listDevicePairing, a as normalizeAccountId$1, at as isWSLEnv, bt as registerPluginHttpRoute, ct as DEFAULT_WEBHOOK_MAX_BODY_BYTES, dt as isRequestBodyLimitError, et as recordPendingHistoryEntry, ft as readJsonBodyWithLimit, gt as approveDevicePairing, ht as createDedupeCache, i as listLineAccountIds, it as isWSL2Sync, j as resolveDiscordChannelAllowlist, k as detectBinary, kt as CHANNEL_MESSAGE_ACTION_NAMES, lt as RequestBodyLimitError, mt as requestBodyErrorToText, o as resolveDefaultLineAccountId, ot as isWSLSync, pt as readRequestBodyWithLimit, q as mergeAllowlist, s as resolveLineAccount, st as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, tt as recordPendingHistoryEntryIfEnabled, ut as installRequestBodyLimitGuard, vt as rejectDevicePairing, w as createReceiptCard, wt as formatAllowlistMatchMeta, x as hasMarkdownToConvert, xt as autoBindSpawnedDiscordSubagent, yt as extractToolSend, z as logInboundDrop } from "./reply-Cb54ddUA.js";
|
|
4
4
|
import "./paths-DVWx7USN.js";
|
|
5
5
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
6
|
-
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-
|
|
6
|
+
import { D as resolveSlackAccount, E as resolveDefaultSlackAccountId, F as resolveDiscordAccount, M as listDiscordAccountIds, O as resolveSlackReplyToMode, P as resolveDefaultDiscordAccountId, S as resolveTelegramAccount, T as listSlackAccountIds, _ as normalizeWhatsAppTarget, a as listDiscordDirectoryPeersFromConfig, b as listTelegramAccountIds, c as listTelegramDirectoryGroupsFromConfig, d as listWhatsAppDirectoryPeersFromConfig, f as looksLikeSlackTargetId, g as isWhatsAppGroupJid, i as listDiscordDirectoryGroupsFromConfig, l as listTelegramDirectoryPeersFromConfig, o as listSlackDirectoryGroupsFromConfig, p as normalizeSlackMessagingTarget, s as listSlackDirectoryPeersFromConfig, u as listWhatsAppDirectoryGroupsFromConfig, w as listEnabledSlackAccounts, x as resolveDefaultTelegramAccountId } from "./plugins-Dyz98ZJX.js";
|
|
7
7
|
import "./fetch-b2Zm8y7X.js";
|
|
8
|
-
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry-
|
|
9
|
-
import "./retry-
|
|
10
|
-
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-
|
|
11
|
-
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config
|
|
12
|
-
import { n as stripAnsi } from "./subsystem-
|
|
13
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
14
|
-
import { H as withFileLock, V as acquireFileLock } from "./model-selection-
|
|
15
|
-
import { T as runCommandWithTimeout } from "./agent-scope-
|
|
16
|
-
import "./manifest-registry-
|
|
8
|
+
import { A as normalizeE164, D as isRecord, F as safeParseJson, R as sleep, T as escapeRegExp, b as CONFIG_DIR, f as normalizePluginHttpPath, i as getChatChannelMeta, it as registerLogTransport, j as pathExists, x as clamp } from "./registry-DL-33c9X.js";
|
|
9
|
+
import "./retry-5P3d0rYw.js";
|
|
10
|
+
import { Dt as resolveChannelEntryMatch, Et as normalizeChannelSlug, Ot as resolveChannelEntryMatchWithFallback, Tt as buildChannelKeyCandidates, dt as normalizeDiscordSlug, it as parseDiscordTarget, kt as resolveNestedAllowlistDecision } from "./send-C2NQjVF9.js";
|
|
11
|
+
import { A as MarkdownConfigSchema, D as DmConfigSchema, E as BlockStreamingCoalesceSchema, F as TtsProviderSchema, I as normalizeAllowFrom, L as requireOpenAllowFrom, M as TtsAutoSchema, N as TtsConfigSchema, O as DmPolicySchema, P as TtsModeSchema, T as ToolPolicySchema, c as WhatsAppConfigSchema, d as IMessageConfigSchema, f as MSTeamsConfigSchema, h as TelegramConfigSchema, j as MarkdownTableModeSchema, k as GroupPolicySchema, l as DiscordConfigSchema, m as SlackConfigSchema, p as SignalConfigSchema, u as GoogleChatConfigSchema } from "./config--kW4R0el.js";
|
|
12
|
+
import { n as stripAnsi } from "./subsystem-C9WnrKN8.js";
|
|
13
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
14
|
+
import { H as withFileLock, V as acquireFileLock } from "./model-selection-BjVTBZiY.js";
|
|
15
|
+
import { T as runCommandWithTimeout } from "./agent-scope-D5PlT0Z0.js";
|
|
16
|
+
import "./manifest-registry-DvEm2HHf.js";
|
|
17
17
|
import "./redact-DPnDWsnT.js";
|
|
18
18
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
19
|
-
import "./channel-activity-
|
|
20
|
-
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-
|
|
19
|
+
import "./channel-activity-WgE8Z4Bb.js";
|
|
20
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-C6RLbtSJ.js";
|
|
21
21
|
import { a as isBlockedHostnameOrIp, i as isBlockedHostname, o as isPrivateIpAddress, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
22
|
-
import { o as fetchWithSsrFGuard } from "./local-roots-
|
|
23
|
-
import { a as loadWebMedia } from "./ir-
|
|
24
|
-
import { u as chunkTextByBreakResolver } from "./chunk-
|
|
25
|
-
import "./message-channel-
|
|
26
|
-
import "./bindings-
|
|
27
|
-
import "./markdown-tables-
|
|
22
|
+
import { o as fetchWithSsrFGuard } from "./local-roots-6BSl8AoA.js";
|
|
23
|
+
import { a as loadWebMedia } from "./ir-Cwi1KVG5.js";
|
|
24
|
+
import { u as chunkTextByBreakResolver } from "./chunk-CQk9vawA.js";
|
|
25
|
+
import "./message-channel-DY9wVB2A.js";
|
|
26
|
+
import "./bindings-C0XEX0yK.js";
|
|
27
|
+
import "./markdown-tables-cJqvQe9j.js";
|
|
28
28
|
import "./render-BiJZ5W4Z.js";
|
|
29
|
-
import "./tables-
|
|
30
|
-
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-
|
|
31
|
-
import "./tool-images-
|
|
32
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-
|
|
33
|
-
import { s as parseSlackBlocksInput } from "./send-
|
|
34
|
-
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-
|
|
35
|
-
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-
|
|
36
|
-
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-
|
|
37
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
38
|
-
import "./skill-commands-
|
|
39
|
-
import "./skills-
|
|
40
|
-
import { N as rawDataToString } from "./chrome-
|
|
41
|
-
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-
|
|
42
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
43
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
44
|
-
import { T as resolveChannelMediaMaxBytes } from "./deliver-
|
|
45
|
-
import "./pi-embedded-helpers-
|
|
29
|
+
import "./tables-CMdQECje.js";
|
|
30
|
+
import { d as resolveServicePrefixedAllowTarget, f as resolveServicePrefixedTarget, l as parseChatAllowTargetPrefixes, m as isAllowedParsedChatSender, p as formatAllowFromLowercase, s as normalizeIMessageHandle, u as parseChatTargetPrefixesOrThrow } from "./send-PPtjKj-0.js";
|
|
31
|
+
import "./tool-images-DCvC8yL7.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-CrR2lAF7.js";
|
|
33
|
+
import { s as parseSlackBlocksInput } from "./send-DnFB-v5n.js";
|
|
34
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-D_X6p9H0.js";
|
|
35
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-DqwPn56n.js";
|
|
36
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-5vdbga0R.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-2475WU2Z.js";
|
|
38
|
+
import "./skill-commands-Cr54qPdy.js";
|
|
39
|
+
import "./skills-Dcu4o-9l.js";
|
|
40
|
+
import { N as rawDataToString } from "./chrome-C1xnOQsc.js";
|
|
41
|
+
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-C7zYA2s9.js";
|
|
42
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-DEsAwvaZ.js";
|
|
43
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BcQo4OUu.js";
|
|
44
|
+
import { T as resolveChannelMediaMaxBytes } from "./deliver-C2gjA_UH.js";
|
|
45
|
+
import "./pi-embedded-helpers-D3EACnFn.js";
|
|
46
46
|
import "./paths-BNQjLbn7.js";
|
|
47
|
-
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-
|
|
48
|
-
import { n as extractOriginalFilename } from "./store-
|
|
49
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
50
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
51
|
-
import "./image-
|
|
47
|
+
import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticEvent } from "./diagnostic-Up1aMyxZ.js";
|
|
48
|
+
import { n as extractOriginalFilename } from "./store-EUYCRBvs.js";
|
|
49
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CP7QDN14.js";
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-Nw-bUgtV.js";
|
|
51
|
+
import "./image-Bcc99tVA.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./sqlite-
|
|
53
|
+
import "./api-key-rotation-B3O1qn0m.js";
|
|
54
|
+
import "./sqlite-ulpcowfN.js";
|
|
55
55
|
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./send-
|
|
56
|
+
import "./manager-C3Eb_8Hz.js";
|
|
57
|
+
import "./commands-registry-yTZdwtLj.js";
|
|
58
|
+
import "./send-_uj_NuFI.js";
|
|
59
59
|
import "./proxy-MquBDehr.js";
|
|
60
|
-
import "./resolve-route-
|
|
61
|
-
import "./replies-
|
|
62
|
-
import "./outbound-attachment-
|
|
63
|
-
import "./outbound-
|
|
64
|
-
import "./session-
|
|
65
|
-
import { t as loginWeb } from "./login-
|
|
60
|
+
import "./resolve-route-eopifBrM.js";
|
|
61
|
+
import "./replies-Bkaifx0j.js";
|
|
62
|
+
import "./outbound-attachment-CsmRyZPI.js";
|
|
63
|
+
import "./outbound-Co1QSkdS.js";
|
|
64
|
+
import "./session-CZngPTYk.js";
|
|
65
|
+
import { t as loginWeb } from "./login-Cau5eVVj.js";
|
|
66
66
|
import fs, { createWriteStream } from "node:fs";
|
|
67
67
|
import path from "node:path";
|
|
68
68
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry-
|
|
2
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-
|
|
3
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-
|
|
4
|
-
import { a as chunkText } from "./chunk-
|
|
1
|
+
import { K as logVerbose, P as resolveUserPath, Y as shouldLogVerbose } from "./registry-DL-33c9X.js";
|
|
2
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg, v as mediaKindFromMime, x as readLocalFileSafely, y as SafeOpenError } from "./image-ops-C6RLbtSJ.js";
|
|
3
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-6BSl8AoA.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-CQk9vawA.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
2
2
|
import { t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
|
-
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
4
|
-
import { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
3
|
+
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-D5PlT0Z0.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-C6RLbtSJ.js";
|
|
6
6
|
import { n as closeDispatcher, r as createPinnedDispatcher, s as resolvePinnedHostnameWithPolicy, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
|
|
@@ -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 { U as danger, W as info, X as success } from "./registry-
|
|
4
|
-
import { n as loadConfig } from "./config
|
|
5
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import { A as logInfo } from "./agent-scope-
|
|
8
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
2
|
+
import { c as logoutWeb, r as resolveWhatsAppAccount } from "./accounts-fnLsjAOi.js";
|
|
3
|
+
import { U as danger, W as info, X as success } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { n as loadConfig } from "./config--kW4R0el.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-C9WnrKN8.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
7
|
+
import { A as logInfo } from "./agent-scope-D5PlT0Z0.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-CZngPTYk.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-
|
|
1
|
+
import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, r as resolveWhatsAppAccount } from "./accounts-fnLsjAOi.js";
|
|
2
2
|
import "./paths-DVWx7USN.js";
|
|
3
3
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
4
|
-
import { U as danger, W as info, X as success } from "./registry-
|
|
5
|
-
import { n as loadConfig } from "./config
|
|
6
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./model-selection-
|
|
9
|
-
import { A as logInfo } from "./agent-scope-
|
|
10
|
-
import "./manifest-registry-
|
|
11
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
4
|
+
import { U as danger, W as info, X as success } from "./registry-DL-33c9X.js";
|
|
5
|
+
import { n as loadConfig } from "./config--kW4R0el.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-C9WnrKN8.js";
|
|
7
|
+
import "./command-format-DHXa0Clc.js";
|
|
8
|
+
import "./model-selection-BjVTBZiY.js";
|
|
9
|
+
import { A as logInfo } from "./agent-scope-D5PlT0Z0.js";
|
|
10
|
+
import "./manifest-registry-DvEm2HHf.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CZngPTYk.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
2
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry-
|
|
4
|
-
import { n as retryAsync } from "./retry-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
7
|
-
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-
|
|
8
|
-
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { C as clampNumber, P as resolveUserPath, S as clampInt, V as truncateUtf16Safe } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { n as retryAsync } from "./retry-5P3d0rYw.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
6
|
+
import { r as isTruthyEnvValue } from "./command-format-DHXa0Clc.js";
|
|
7
|
+
import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-BjVTBZiY.js";
|
|
8
|
+
import { n as resolveAgentConfig, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-D5PlT0Z0.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
10
10
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BNQjLbn7.js";
|
|
11
11
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
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-
|
|
12
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-B3O1qn0m.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-ulpcowfN.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import os from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry-
|
|
1
|
+
import { D as isRecord, M as resolveConfigDir, P as resolveUserPath } from "./registry-DL-33c9X.js";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
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 { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-Dyz98ZJX.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-DL-33c9X.js";
|
|
2
2
|
|
|
3
3
|
//#region src/gateway/protocol/client-info.ts
|
|
4
4
|
const GATEWAY_CLIENT_IDS = {
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Cg0YPPSu.js";
|
|
5
|
-
import { P as resolveUserPath } from "./registry-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-
|
|
5
|
+
import { P as resolveUserPath } from "./registry-DL-33c9X.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
7
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
8
|
+
import { a as resolveAgentModelPrimary, n as resolveAgentConfig } from "./agent-scope-D5PlT0Z0.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { B as toWhatsappJid, T as escapeRegExp, tt as getChildLogger } from "./registry-DL-33c9X.js";
|
|
3
|
+
import { n as loadConfig } from "./config--kW4R0el.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
5
5
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.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-Cwi1KVG5.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-cJqvQe9j.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-CMdQECje.js";
|
|
9
|
+
import { n as requireActiveWebListener } from "./active-listener-CeaKSm29.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as loadWebMedia } from "./ir-
|
|
2
|
-
import { i as saveMediaBuffer } from "./store-
|
|
1
|
+
import { a as loadWebMedia } from "./ir-Cwi1KVG5.js";
|
|
2
|
+
import { i as saveMediaBuffer } from "./store-EUYCRBvs.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/outbound-attachment.ts
|
|
5
5
|
async function resolveOutboundAttachmentFromUrl(mediaUrl, maxBytes, options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./paths-DVWx7USN.js";
|
|
2
2
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
3
|
-
import "./registry-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./command-format-
|
|
6
|
-
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-
|
|
7
|
-
import "./agent-scope-
|
|
3
|
+
import "./registry-DL-33c9X.js";
|
|
4
|
+
import "./subsystem-C9WnrKN8.js";
|
|
5
|
+
import "./command-format-DHXa0Clc.js";
|
|
6
|
+
import { R as ensureAuthProfileStore, c as normalizeProviderId } from "./model-selection-BjVTBZiY.js";
|
|
7
|
+
import "./agent-scope-D5PlT0Z0.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
10
10
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as normalizeMainKey, l as resolveAgentIdFromSessionKey, m as normalizeOptionalAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { i as resolveGatewayPort, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { A as normalizeE164, P as resolveUserPath, V as truncateUtf16Safe, t as CHANNEL_IDS, ut as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
5
|
-
import { R as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { U as resolveProcessScopedMap, W as isPidAlive } from "./model-selection-
|
|
9
|
-
import { E 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-
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-Dyz98ZJX.js";
|
|
4
|
+
import { A as normalizeE164, P as resolveUserPath, V as truncateUtf16Safe, t as CHANNEL_IDS, ut as resolvePreferredOpenClawTmpDir } from "./registry-DL-33c9X.js";
|
|
5
|
+
import { R as parseDurationMs, a as writeConfigFile, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config--kW4R0el.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
7
|
+
import { i as parseBooleanValue, t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
8
|
+
import { U as resolveProcessScopedMap, W as isPidAlive } from "./model-selection-BjVTBZiY.js";
|
|
9
|
+
import { E 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-D5PlT0Z0.js";
|
|
10
10
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
11
|
-
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-
|
|
11
|
+
import { b as openFileWithinRoot, i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS, y as SafeOpenError } from "./image-ops-C6RLbtSJ.js";
|
|
12
12
|
import { t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
|
|
13
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
13
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-DY9wVB2A.js";
|
|
14
14
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
15
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
16
|
-
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
17
|
-
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-
|
|
18
|
-
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-
|
|
15
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-DCvC8yL7.js";
|
|
16
|
+
import { a as syncSkillsToWorkspace, h as safeEqualSecret, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-Dcu4o-9l.js";
|
|
17
|
+
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-C1xnOQsc.js";
|
|
18
|
+
import { A as normalizeHyphenSlug, d as getChannelDock, o as normalizeThinkLevel } from "./thinking-C7zYA2s9.js";
|
|
19
19
|
import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
|
|
20
20
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BNQjLbn7.js";
|
|
21
21
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
|
|
22
|
-
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
22
|
+
import { i as saveMediaBuffer, t as ensureMediaDir } from "./store-EUYCRBvs.js";
|
|
23
23
|
import fs, { existsSync, realpathSync } from "node:fs";
|
|
24
24
|
import path, { posix } from "node:path";
|
|
25
25
|
import os from "node:os";
|
|
@@ -2537,7 +2537,7 @@ function isModuleNotFoundError(err) {
|
|
|
2537
2537
|
}
|
|
2538
2538
|
async function loadPwAiModule(mode) {
|
|
2539
2539
|
try {
|
|
2540
|
-
return await import("./pw-ai-
|
|
2540
|
+
return await import("./pw-ai-smoXiGqZ.js");
|
|
2541
2541
|
} catch (err) {
|
|
2542
2542
|
if (mode === "soft") return null;
|
|
2543
2543
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -5077,11 +5077,11 @@ function createProfileContext(opts, profile) {
|
|
|
5077
5077
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
5078
5078
|
const profileState = getProfileState();
|
|
5079
5079
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
5080
|
-
await (await import("./pw-ai-
|
|
5080
|
+
await (await import("./pw-ai-smoXiGqZ.js")).closePlaywrightBrowserConnection();
|
|
5081
5081
|
} catch {}
|
|
5082
5082
|
if (profileState.running) await stopRunningBrowser();
|
|
5083
5083
|
try {
|
|
5084
|
-
await (await import("./pw-ai-
|
|
5084
|
+
await (await import("./pw-ai-smoXiGqZ.js")).closePlaywrightBrowserConnection();
|
|
5085
5085
|
} catch {}
|
|
5086
5086
|
if (!fs.existsSync(userDataDir)) return {
|
|
5087
5087
|
moved: false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { A as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
4
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
2
|
+
import { _ as createAccountListHelpers, r as resolveWhatsAppAccount } from "./accounts-fnLsjAOi.js";
|
|
3
|
+
import { A as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DL-33c9X.js";
|
|
4
|
+
import { r as isTruthyEnvValue } from "./command-format-DHXa0Clc.js";
|
|
5
5
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-C0XEX0yK.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/targets.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "./paths-DVWx7USN.js";
|
|
2
2
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
3
|
-
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
4
|
-
import "./config
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import { t as formatCliCommand } from "./command-format-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./manifest-registry-
|
|
3
|
+
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-DL-33c9X.js";
|
|
4
|
+
import "./config--kW4R0el.js";
|
|
5
|
+
import "./subsystem-C9WnrKN8.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-DHXa0Clc.js";
|
|
7
|
+
import "./model-selection-BjVTBZiY.js";
|
|
8
|
+
import "./agent-scope-D5PlT0Z0.js";
|
|
9
|
+
import "./manifest-registry-DvEm2HHf.js";
|
|
10
10
|
import "./redact-DPnDWsnT.js";
|
|
11
11
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
12
12
|
import "./ssrf-DKZ8eBrk.js";
|
|
13
|
-
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-
|
|
13
|
+
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-C1xnOQsc.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import crypto from "node:crypto";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import "./registry-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import "./registry-DL-33c9X.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-D5PlT0Z0.js";
|
|
6
6
|
import "./redact-DPnDWsnT.js";
|
|
7
7
|
import "./paths-BNQjLbn7.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-ulpcowfN.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import { spawn } from "node:child_process";
|
|
@@ -3,7 +3,7 @@ import fs from "node:fs";
|
|
|
3
3
|
import path from "node:path";
|
|
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/infra/tmp-openclaw-dir.ts
|
|
@@ -70,7 +70,7 @@ function readLoggingConfig() {
|
|
|
70
70
|
try {
|
|
71
71
|
if (!fs.existsSync(configPath)) return;
|
|
72
72
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
73
|
-
const logging =
|
|
73
|
+
const logging = json5.parse(raw)?.logging;
|
|
74
74
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
75
75
|
return logging;
|
|
76
76
|
} catch {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as chunkMarkdownTextWithMode } from "./chunk-
|
|
3
|
-
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-
|
|
4
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
2
|
+
import { i as chunkMarkdownTextWithMode } from "./chunk-CQk9vawA.js";
|
|
3
|
+
import { r as markdownToSlackMrkdwnChunks, t as sendMessageSlack } from "./send-DnFB-v5n.js";
|
|
4
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-2475WU2Z.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/reply/reply-reference.ts
|
|
7
7
|
function createReplyReferencePlanner(options) {
|