@lawpath-tech/openclaw 2026.2.21-23 → 2026.2.21-24
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 +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/plugin-sdk/{accounts-fnLsjAOi.js → accounts-Ciwy7Yxd.js} +3 -3
- package/dist/plugin-sdk/{accounts-BcQo4OUu.js → accounts-DUBJHEgi.js} +1 -1
- package/dist/plugin-sdk/{accounts-DEsAwvaZ.js → accounts-wSu5JyDM.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CeaKSm29.js → active-listener-Bnau4oiu.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-D5PlT0Z0.js → agent-scope-cT7IxdHY.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-B3O1qn0m.js → api-key-rotation-ElOMCP9r.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-CYSy3uuZ.js → audio-preflight-DtozH3sJ.js} +24 -24
- package/dist/plugin-sdk/{bindings-C0XEX0yK.js → bindings-CKqdifyU.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
- package/dist/plugin-sdk/{channel-web-Nw-bUgtV.js → channel-web-BHNS_E7F.js} +22 -22
- package/dist/plugin-sdk/{chrome-C1xnOQsc.js → chrome-BO7SUTgY.js} +3 -3
- package/dist/plugin-sdk/{chunk-CQk9vawA.js → chunk-DyzO7IVo.js} +1 -1
- package/dist/plugin-sdk/{command-format-DHXa0Clc.js → command-format-DcBXOX9Z.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-yTZdwtLj.js → commands-registry-BsSKPwgj.js} +4 -4
- package/dist/plugin-sdk/{config--kW4R0el.js → config-9OZuRn0C.js} +9 -9
- package/dist/plugin-sdk/{deliver-C2gjA_UH.js → deliver-BO_wt0wd.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
- package/dist/plugin-sdk/{image-Bcc99tVA.js → image-C31B_R8P.js} +4 -4
- package/dist/plugin-sdk/{image-ops-C6RLbtSJ.js → image-ops-B8aJIly2.js} +1 -1
- package/dist/plugin-sdk/index.js +53 -53
- package/dist/plugin-sdk/{ir-Cwi1KVG5.js → ir-CD5VqKGg.js} +4 -4
- package/dist/plugin-sdk/{local-roots-6BSl8AoA.js → local-roots-D4PCK2jj.js} +3 -3
- package/dist/plugin-sdk/{login-Cau5eVVj.js → login-CW17h3xU.js} +7 -7
- package/dist/plugin-sdk/{login-qr-CLWtfA9m.js → login-qr-CMdk06CS.js} +9 -9
- package/dist/plugin-sdk/{manager-C3Eb_8Hz.js → manager-CZPPxI6R.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-cJqvQe9j.js → markdown-tables-Bo-r4msS.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
- package/dist/plugin-sdk/{model-selection-BjVTBZiY.js → model-selection-CXooYLb2.js} +4 -4
- package/dist/plugin-sdk/{outbound-attachment-CsmRyZPI.js → outbound-attachment-CCxMtk8m.js} +2 -2
- package/dist/plugin-sdk/{outbound-Co1QSkdS.js → outbound-dAcQHyyr.js} +7 -7
- package/dist/plugin-sdk/{pi-auth-json-DfEOhoTK.js → pi-auth-json-C-euHc3x.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-D3EACnFn.js → pi-embedded-helpers-DU0nLxRU.js} +17 -17
- package/dist/plugin-sdk/{plugins-Dyz98ZJX.js → plugins-DIzw7Ncy.js} +4 -4
- package/dist/plugin-sdk/{pw-ai-smoXiGqZ.js → pw-ai-CYmDAwXD.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-CUhJ7WG2.js → qmd-manager-DQiT4WTr.js} +4 -4
- package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
- package/dist/plugin-sdk/{replies-Bkaifx0j.js → replies-Bnu7HnvW.js} +3 -3
- package/dist/plugin-sdk/{reply-Cb54ddUA.js → reply-DEepmBkT.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-5vdbga0R.js → reply-prefix-BF0omhZE.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CP7QDN14.js → resolve-outbound-target-DzZIT1V1.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-eopifBrM.js → resolve-route-B63ztF-V.js} +3 -3
- package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
- package/dist/plugin-sdk/{runner-DqwPn56n.js → runner-DztRiWhh.js} +9 -9
- package/dist/plugin-sdk/{send-DnFB-v5n.js → send-CK3DCPv-.js} +6 -6
- package/dist/plugin-sdk/{send-D_X6p9H0.js → send-D-spKwjf.js} +10 -10
- package/dist/plugin-sdk/{send-PPtjKj-0.js → send-D1C2sJG1.js} +7 -7
- package/dist/plugin-sdk/{send-C2NQjVF9.js → send-DEV4iiFj.js} +10 -10
- package/dist/plugin-sdk/{send-_uj_NuFI.js → send-DrYvH25B.js} +6 -6
- package/dist/plugin-sdk/{session-CZngPTYk.js → session-DRJl5tKC.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cr54qPdy.js → skill-commands-Dv5AeOZQ.js} +5 -5
- package/dist/plugin-sdk/{skills-Dcu4o-9l.js → skills-5hEda4_Y.js} +7 -7
- package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
- package/dist/plugin-sdk/{store-EUYCRBvs.js → store-DoRXD0QB.js} +2 -2
- package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
- package/dist/plugin-sdk/{tables-CMdQECje.js → tables-C_81Ve2l.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CrR2lAF7.js → target-errors-C638yp2-.js} +2 -2
- package/dist/plugin-sdk/{thinking-C7zYA2s9.js → thinking-DexKPSsI.js} +5 -5
- package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
- package/dist/plugin-sdk/{tool-images-DCvC8yL7.js → tool-images-BvjD_HnR.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
- package/dist/plugin-sdk/web-DBo-6RyH.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-DC4RRNqv.js → whatsapp-actions-D8i2vCxS.js} +21 -21
- package/extensions/voice-call/src/providers/realtime-session.ts +13 -2
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BVkjyY4A.js +0 -65
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
a16de19e44b584f4a325b542a82bbf4006d56439b330ede8c544f8fd52ab44d8
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { a as resolveOAuthDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
3
|
+
import { P as resolveUserPath, W as info, X as success, k as jidToE164, tt as getChildLogger } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-C4Rh0kdL.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ciwy7Yxd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-Ciwy7Yxd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isCronSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
+
import { P as resolveUserPath, U as danger, W as info, Y as shouldLogVerbose, Z as warn, j as pathExists, nt as getLogger, q as logVerboseConsole } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-Ciwy7Yxd.js";
|
|
2
2
|
import "./paths-DVWx7USN.js";
|
|
3
3
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-
|
|
6
|
-
import "./config
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
4
|
+
import "./plugins-DIzw7Ncy.js";
|
|
5
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-O1yza0Vh.js";
|
|
6
|
+
import "./config-9OZuRn0C.js";
|
|
7
|
+
import "./subsystem-C4Rh0kdL.js";
|
|
8
|
+
import "./command-format-DcBXOX9Z.js";
|
|
9
|
+
import "./model-selection-CXooYLb2.js";
|
|
10
|
+
import "./agent-scope-cT7IxdHY.js";
|
|
11
|
+
import "./manifest-registry-sgHvjA6E.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
|
-
import "./image-ops-
|
|
14
|
+
import "./image-ops-B8aJIly2.js";
|
|
15
15
|
import "./ssrf-DKZ8eBrk.js";
|
|
16
|
-
import "./local-roots-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./tool-images-
|
|
20
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
21
|
-
import "./skills-
|
|
22
|
-
import "./chrome-
|
|
23
|
-
import "./thinking-
|
|
24
|
-
import "./accounts-
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./pi-embedded-helpers-
|
|
16
|
+
import "./local-roots-D4PCK2jj.js";
|
|
17
|
+
import "./message-channel-DmB4bGFh.js";
|
|
18
|
+
import "./bindings-CKqdifyU.js";
|
|
19
|
+
import "./tool-images-BvjD_HnR.js";
|
|
20
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-DztRiWhh.js";
|
|
21
|
+
import "./skills-5hEda4_Y.js";
|
|
22
|
+
import "./chrome-BO7SUTgY.js";
|
|
23
|
+
import "./thinking-DexKPSsI.js";
|
|
24
|
+
import "./accounts-wSu5JyDM.js";
|
|
25
|
+
import "./accounts-DUBJHEgi.js";
|
|
26
|
+
import "./pi-embedded-helpers-DU0nLxRU.js";
|
|
27
27
|
import "./paths-BNQjLbn7.js";
|
|
28
|
-
import "./store-
|
|
29
|
-
import "./image-
|
|
28
|
+
import "./store-DoRXD0QB.js";
|
|
29
|
+
import "./image-C31B_R8P.js";
|
|
30
30
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
31
|
-
import "./api-key-rotation-
|
|
31
|
+
import "./api-key-rotation-ElOMCP9r.js";
|
|
32
32
|
|
|
33
33
|
//#region src/media-understanding/audio-preflight.ts
|
|
34
34
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-cT7IxdHY.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
1
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-JFNwfUew.js";
|
|
2
2
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-
|
|
4
|
-
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-
|
|
5
|
-
import { n as loadConfig } from "./config
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
9
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
10
|
-
import { a as loadWebMedia } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
-
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
15
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
16
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-
|
|
17
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
18
|
-
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-Ciwy7Yxd.js";
|
|
3
|
+
import { E as enqueueSystemEvent, G as resolveMentionGating, W as shouldAckReactionForWhatsApp, X as buildHistoryContextFromEntries, Y as DEFAULT_GROUP_HISTORY_LIMIT, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, ht as createDedupeCache, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as buildMentionRegexes, r as parseActivationCommand, rt as normalizeMentionText, t as getReplyFromConfig, tt as recordPendingHistoryEntryIfEnabled, u as buildPairingReply, v as hasControlCommand, y as shouldComputeCommandAuthorized } from "./reply-DEepmBkT.js";
|
|
4
|
+
import { A as normalizeE164, B as toWhatsappJid, K as logVerbose, N as resolveJidToE164, O as isSelfChatMode, R as sleep, Y as shouldLogVerbose, k as jidToE164, s as normalizeChatChannelId, tt as getChildLogger, x as clamp } from "./registry-O1yza0Vh.js";
|
|
5
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
8
|
+
import { n as recordChannelActivity } from "./channel-activity-CCnr-9bS.js";
|
|
9
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-D4PCK2jj.js";
|
|
10
|
+
import { a as loadWebMedia } from "./ir-CD5VqKGg.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DyzO7IVo.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
13
|
+
import { t as convertMarkdownTables } from "./tables-C_81Ve2l.js";
|
|
14
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-D-spKwjf.js";
|
|
15
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-DztRiWhh.js";
|
|
16
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BF0omhZE.js";
|
|
17
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-DexKPSsI.js";
|
|
18
|
+
import { Xt as resolveGroupSessionKey, _t as updateLastRoute, gt as recordSessionMetaFromInbound, ht as readSessionUpdatedAt, mt as loadSessionStore } from "./pi-embedded-helpers-DU0nLxRU.js";
|
|
19
19
|
import { s as resolveStorePath } from "./paths-BNQjLbn7.js";
|
|
20
|
-
import { i as saveMediaBuffer } from "./store-
|
|
20
|
+
import { i as saveMediaBuffer } from "./store-DoRXD0QB.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B63ztF-V.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-Bnau4oiu.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-dAcQHyyr.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DRJl5tKC.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { n as loadConfig } from "./config
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { b as CONFIG_DIR } from "./registry-O1yza0Vh.js";
|
|
2
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DKZ8eBrk.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -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 { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DmB4bGFh.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/fences.ts
|
|
6
6
|
function parseFenceSpans(buffer) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
3
|
-
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-
|
|
4
|
-
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-
|
|
5
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { r as normalizeChannelId } from "./plugins-DIzw7Ncy.js";
|
|
3
|
+
import { H as isPlainObject, T as escapeRegExp, c as getActivePluginRegistry } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { J as DEFAULT_MODEL, Y as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-CXooYLb2.js";
|
|
5
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-DexKPSsI.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
|
|
2
2
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-
|
|
4
|
-
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
3
|
+
import { D as isRecord, H as isPlainObject$1, M as resolveConfigDir, P as resolveUserPath, s as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { $ as shouldDeferShellEnvFallback, Q as resolveShellEnvFallbackTimeoutMs, Z as loadShellEnvFallback, et as shouldEnableShellEnvFallback, l as parseModelRef, q as DEFAULT_CONTEXT_TOKENS } from "./model-selection-CXooYLb2.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-cT7IxdHY.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, m as normalizeEnvVarKey, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-sgHvjA6E.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import JSON5 from "json5";
|
|
12
12
|
import crypto from "node:crypto";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import dotenv from "dotenv";
|
|
@@ -892,7 +892,7 @@ function safeRealpath(target) {
|
|
|
892
892
|
}
|
|
893
893
|
const defaultResolver = {
|
|
894
894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
895
|
-
parseJson: (raw) =>
|
|
895
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
896
896
|
};
|
|
897
897
|
/**
|
|
898
898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5546,7 +5546,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5546
5546
|
function normalizeDeps(overrides = {}) {
|
|
5547
5547
|
return {
|
|
5548
5548
|
fs: overrides.fs ?? fs,
|
|
5549
|
-
json5: overrides.json5 ??
|
|
5549
|
+
json5: overrides.json5 ?? JSON5,
|
|
5550
5550
|
env: overrides.env ?? process.env,
|
|
5551
5551
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5552
5552
|
configPath: overrides.configPath ?? "",
|
|
@@ -5557,11 +5557,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5557
5557
|
if (env !== process.env) return;
|
|
5558
5558
|
loadDotEnv({ quiet: true });
|
|
5559
5559
|
}
|
|
5560
|
-
function parseConfigJson5(raw, json5
|
|
5560
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
5561
5561
|
try {
|
|
5562
5562
|
return {
|
|
5563
5563
|
ok: true,
|
|
5564
|
-
parsed: json5
|
|
5564
|
+
parsed: json5.parse(raw)
|
|
5565
5565
|
};
|
|
5566
5566
|
} catch (err) {
|
|
5567
5567
|
return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
4
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
5
|
-
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry-
|
|
6
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
11
|
-
import { d as getChannelDock } from "./thinking-
|
|
12
|
-
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
13
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
4
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DIzw7Ncy.js";
|
|
5
|
+
import { c as getActivePluginRegistry, v as createInternalHookEvent, y as triggerInternalHook } from "./registry-O1yza0Vh.js";
|
|
6
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
7
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-D4PCK2jj.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-DyzO7IVo.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
10
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-K9ITCatc.js";
|
|
11
|
+
import { d as getChannelDock } from "./thinking-DexKPSsI.js";
|
|
12
|
+
import { dt as appendAssistantMessageToSessionTranscript, ft as resolveMirroredTranscriptText, i as isMessagingToolDuplicate } from "./pi-embedded-helpers-DU0nLxRU.js";
|
|
13
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DrYvH25B.js";
|
|
14
14
|
import fs from "node:fs";
|
|
15
15
|
import path from "node:path";
|
|
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-C4Rh0kdL.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Wd5tNeQG.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 { D as isRecord, I as shortenHomeInString } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config
|
|
4
|
-
import { B as resolveOpenClawAgentDir, G as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-
|
|
2
|
+
import { D as isRecord, I as shortenHomeInString } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
4
|
+
import { B as resolveOpenClawAgentDir, G as normalizeSecretInput, S as getApiKeyForModel, _ as resolveImplicitBedrockProvider, g as normalizeProviders, v as resolveImplicitCopilotProvider, w as requireApiKey, y as resolveImplicitProviders } from "./model-selection-CXooYLb2.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-DU0nLxRU.js";
|
|
7
7
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
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-Ciwy7Yxd.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-DEepmBkT.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-DIzw7Ncy.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-O1yza0Vh.js";
|
|
9
|
+
import "./retry-JFNwfUew.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-DEV4iiFj.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-9OZuRn0C.js";
|
|
12
|
+
import { n as stripAnsi } from "./subsystem-C4Rh0kdL.js";
|
|
13
|
+
import { r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
14
|
+
import { H as withFileLock, V as acquireFileLock } from "./model-selection-CXooYLb2.js";
|
|
15
|
+
import { T as runCommandWithTimeout } from "./agent-scope-cT7IxdHY.js";
|
|
16
|
+
import "./manifest-registry-sgHvjA6E.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-CCnr-9bS.js";
|
|
20
|
+
import { c as detectMime, l as extensionForMime, u as getFileExtension } from "./image-ops-B8aJIly2.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-D4PCK2jj.js";
|
|
23
|
+
import { a as loadWebMedia } from "./ir-CD5VqKGg.js";
|
|
24
|
+
import { u as chunkTextByBreakResolver } from "./chunk-DyzO7IVo.js";
|
|
25
|
+
import "./message-channel-DmB4bGFh.js";
|
|
26
|
+
import "./bindings-CKqdifyU.js";
|
|
27
|
+
import "./markdown-tables-Bo-r4msS.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-C_81Ve2l.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-D1C2sJG1.js";
|
|
31
|
+
import "./tool-images-BvjD_HnR.js";
|
|
32
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, m as readStringParam, n as missingTargetError, u as readNumberParam } from "./target-errors-C638yp2-.js";
|
|
33
|
+
import { s as parseSlackBlocksInput } from "./send-CK3DCPv-.js";
|
|
34
|
+
import { it as writeJsonFileAtomically, nt as toLocationContext, rt as readJsonFileWithFallback, tt as formatLocationText } from "./send-D-spKwjf.js";
|
|
35
|
+
import { b as withTempDownloadPath, y as buildRandomTempFilePath } from "./runner-DztRiWhh.js";
|
|
36
|
+
import { a as resolveAckReaction, n as createReplyPrefixOptions, t as createReplyPrefixContext } from "./reply-prefix-BF0omhZE.js";
|
|
37
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-K9ITCatc.js";
|
|
38
|
+
import "./skill-commands-Dv5AeOZQ.js";
|
|
39
|
+
import "./skills-5hEda4_Y.js";
|
|
40
|
+
import { N as rawDataToString } from "./chrome-BO7SUTgY.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-DexKPSsI.js";
|
|
42
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-wSu5JyDM.js";
|
|
43
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-DUBJHEgi.js";
|
|
44
|
+
import { T as resolveChannelMediaMaxBytes } from "./deliver-BO_wt0wd.js";
|
|
45
|
+
import "./pi-embedded-helpers-DU0nLxRU.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-DKyVS3IK.js";
|
|
48
|
+
import { n as extractOriginalFilename } from "./store-DoRXD0QB.js";
|
|
49
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DzZIT1V1.js";
|
|
50
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BHNS_E7F.js";
|
|
51
|
+
import "./image-C31B_R8P.js";
|
|
52
52
|
import "./pi-model-discovery-LbcEa65a.js";
|
|
53
|
-
import "./api-key-rotation-
|
|
54
|
-
import "./sqlite-
|
|
53
|
+
import "./api-key-rotation-ElOMCP9r.js";
|
|
54
|
+
import "./sqlite-DUu0dwic.js";
|
|
55
55
|
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
56
|
-
import "./manager-
|
|
57
|
-
import "./commands-registry-
|
|
58
|
-
import "./send-
|
|
56
|
+
import "./manager-CZPPxI6R.js";
|
|
57
|
+
import "./commands-registry-BsSKPwgj.js";
|
|
58
|
+
import "./send-DrYvH25B.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-B63ztF-V.js";
|
|
61
|
+
import "./replies-Bnu7HnvW.js";
|
|
62
|
+
import "./outbound-attachment-CCxMtk8m.js";
|
|
63
|
+
import "./outbound-dAcQHyyr.js";
|
|
64
|
+
import "./session-DRJl5tKC.js";
|
|
65
|
+
import { t as loginWeb } from "./login-CW17h3xU.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-O1yza0Vh.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-B8aJIly2.js";
|
|
3
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots } from "./local-roots-D4PCK2jj.js";
|
|
4
|
+
import { a as chunkText } from "./chunk-DyzO7IVo.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-O1yza0Vh.js";
|
|
4
|
+
import { j as logWarn, s as resolveAgentWorkspaceDir } from "./agent-scope-cT7IxdHY.js";
|
|
5
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-B8aJIly2.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-Ciwy7Yxd.js";
|
|
3
|
+
import { U as danger, W as info, X as success } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
5
|
+
import { i as defaultRuntime } from "./subsystem-C4Rh0kdL.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
7
|
+
import { A as logInfo } from "./agent-scope-cT7IxdHY.js";
|
|
8
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-DRJl5tKC.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-Ciwy7Yxd.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-O1yza0Vh.js";
|
|
5
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
6
|
+
import { i as defaultRuntime } from "./subsystem-C4Rh0kdL.js";
|
|
7
|
+
import "./command-format-DcBXOX9Z.js";
|
|
8
|
+
import "./model-selection-CXooYLb2.js";
|
|
9
|
+
import { A as logInfo } from "./agent-scope-cT7IxdHY.js";
|
|
10
|
+
import "./manifest-registry-sgHvjA6E.js";
|
|
11
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DRJl5tKC.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";
|