@lawpath-tech/openclaw 2026.2.21-27 → 2026.2.21-28
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/{accounts-DQo5uGA3.js → accounts-C8m4ADkw.js} +14 -14
- package/dist/{accounts-CJEDkyd7.js → accounts-CQT5u65w.js} +1 -1
- package/dist/{accounts-CaJg9v7D.js → accounts-DFrH9IVU.js} +1 -1
- package/dist/{active-listener-Bhmh-BBe.js → active-listener-BKTctYlH.js} +1 -1
- package/dist/{agent-scope-DiO1KimT.js → agent-scope-DSUeV7-g.js} +3 -3
- package/dist/{audio-preflight-PCEdzoV0.js → audio-preflight-CLqoZYgI.js} +29 -29
- package/dist/{audio-preflight-CODznzqu.js → audio-preflight-Da7vejCH.js} +4 -4
- package/dist/{bindings-CEJk9Gww.js → bindings-BKEEBdsb.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +53 -53
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +53 -53
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity-pOw1s-fe.js → channel-activity-BgsTqLau.js} +1 -1
- package/dist/{chrome-DcmLXeT1.js → chrome-Bqbv_ZSj.js} +20 -20
- package/dist/{chrome-lRUqqgSD.js → chrome-CZuniMYN.js} +7 -7
- package/dist/{chunk-BkGjWi6P.js → chunk-fZrBDWYg.js} +1 -1
- package/dist/{command-format-CM0AxuCk.js → command-format-BOHIfoCX.js} +1 -1
- package/dist/{commands-registry-C0QzohKU.js → commands-registry-BzlB3qtZ.js} +4 -4
- package/dist/{config-7ClJ9IDt.js → config-Du_-inxH.js} +12 -12
- package/dist/{deliver-B2d2N8OJ.js → deliver-0ThKlzQo.js} +1 -1
- package/dist/{deliver-RhV3c93M.js → deliver-CKH_FhS0.js} +20 -20
- package/dist/{diagnostic-DTfVTKJM.js → diagnostic-DriDPU6M.js} +1 -1
- package/dist/extensionAPI.js +6 -6
- package/dist/{frontmatter-Dab6NVCF.js → frontmatter-CdkBcBAo.js} +2 -2
- package/dist/{gemini-auth-CnEqRhSo.js → gemini-auth-A2JaRMHH.js} +1 -1
- package/dist/{github-copilot-token-DAycnoAs.js → github-copilot-token-Dgb9dAHW.js} +7 -7
- package/dist/{image--DDZnw-F.js → image-88q3KE-C.js} +1 -1
- package/dist/{image-COCyG_gz.js → image-CxPjVob-.js} +4 -4
- package/dist/{image-ops-D-bh1BTN.js → image-ops-BGmpOcey.js} +1 -1
- package/dist/{ir-j1Xb0PNv.js → ir-DJPm0a4k.js} +4 -4
- package/dist/llm-slug-generator.js +53 -53
- package/dist/{local-roots-Dx32AY60.js → local-roots-JqlMsAYY.js} +5 -5
- package/dist/{login-CLQskGt7.js → login-DXtAIVXy.js} +7 -7
- package/dist/{login-qr-CxZVehrh.js → login-qr-D0A3WDBN.js} +12 -12
- package/dist/{manager-C6KdjXEH.js → manager-D7SRrHxT.js} +13 -13
- package/dist/{manifest-registry-D31TP66o.js → manifest-registry-Dhk4A5vb.js} +19 -19
- package/dist/{markdown-tables-BOmw5zkp.js → markdown-tables-DpVJE0eA.js} +1 -1
- package/dist/{plugin-sdk/message-channel-DY9wVB2A.js → message-channel-CHYSjmbr.js} +1 -1
- package/dist/{model-auth-C-Vzzybi.js → model-auth-vtNH8C4P.js} +9 -9
- package/dist/{outbound-Bk0PGZ1q.js → outbound-BWgFha97.js} +7 -7
- package/dist/{outbound-attachment-CHLSsIj_.js → outbound-attachment-B8WHzsCX.js} +2 -2
- package/dist/{paths-Cv2Q0cX2.js → paths-BEAbheM8.js} +1 -1
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{pi-auth-json-DzcwV2uo.js → pi-auth-json-BiwfFswL.js} +8 -8
- package/dist/{pi-embedded-13CLN75T.js → pi-embedded-Dz24QZz9.js} +162 -162
- package/dist/{pi-embedded-C_B8_quB.js → pi-embedded-ZvazjIyF.js} +16 -16
- package/dist/{pi-embedded-helpers-Cd0S0WfR.js → pi-embedded-helpers-B0Kht0I2.js} +4 -4
- package/dist/{pi-embedded-helpers-HpusHn6J.js → pi-embedded-helpers-CSE0v99A.js} +52 -52
- 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/{message-channel-BckS8bQ9.js → plugin-sdk/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/{replies-DuQ9MtQM.js → plugin-sdk/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/{target-errors-DD2466Y6.js → plugin-sdk/target-errors-C638yp2-.js} +2 -2
- package/dist/plugin-sdk/{thinking-C7zYA2s9.js → thinking-DexKPSsI.js} +5 -5
- package/dist/{tokens-GCiqN5mi.js → plugin-sdk/tokens-K9ITCatc.js} +1 -1
- package/dist/{tool-images-D0sBSASn.js → plugin-sdk/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/dist/{plugins-Bf_qBfZ7.js → plugins-DIrNa311.js} +9 -9
- package/dist/{pw-ai-B4NkhpRH.js → pw-ai-D-_aGzdQ.js} +11 -11
- package/dist/{pw-ai-C-kqYO4L.js → pw-ai-S3cpSYOy.js} +1 -1
- package/dist/{qmd-manager-DVrv2Huu.js → qmd-manager-DePh-PT0.js} +7 -7
- package/dist/{registry-wimgwqAA.js → registry-DpeZG5fo.js} +18 -18
- package/dist/{plugin-sdk/replies-Bkaifx0j.js → replies-CSVWkVda.js} +3 -3
- package/dist/{reply-prefix-B_1VtLm5.js → reply-prefix-DZrS3Kf7.js} +1 -1
- package/dist/{resolve-route-CSE9DZsB.js → resolve-route-1ar2IrQt.js} +4 -4
- package/dist/{retry-DwLEH9x4.js → retry-Bdu4_ZcT.js} +1 -1
- package/dist/{runner-BjLlUYe1.js → runner-D1eXJZ8T.js} +9 -9
- package/dist/{runner-Dq-qfrq7.js → runner-a43IsYad.js} +1 -1
- package/dist/{send-DrfA4RxA.js → send-BEFzSOoD.js} +10 -10
- package/dist/{send-CEP4RX_l.js → send-BeWYOs1x.js} +7 -7
- package/dist/{send-CMeyW_Bu.js → send-Byt_wJDK.js} +6 -6
- package/dist/{send-CdIaqNP6.js → send-CWtaJF1G.js} +18 -18
- package/dist/{send-BCt1G0xY.js → send-DPVf5tQ4.js} +6 -6
- package/dist/{session-CQ9JJgSo.js → session-Bnp7PC7f.js} +8 -8
- package/dist/{skill-commands-CwFNOYqC.js → skill-commands-CqyVDpti.js} +9 -9
- package/dist/{skills-C8xf0p1B.js → skills-DSZuhFx9.js} +21 -21
- package/dist/{sqlite-B6SD9PTM.js → sqlite-C3XxSzBN.js} +4 -4
- package/dist/{store-VFVAfYgh.js → store-BrNiRjgB.js} +2 -2
- package/dist/{subsystem-BEdh_1O5.js → subsystem-BF9jT_Nw.js} +1 -1
- package/dist/{tables-QNO5uMcm.js → tables-C3clT_iA.js} +1 -1
- package/dist/{plugin-sdk/target-errors-CrR2lAF7.js → target-errors-ChHV8dPI.js} +2 -2
- package/dist/{thinking-BZFf1juV.js → thinking-Dg8vKjw_.js} +5 -5
- package/dist/{plugin-sdk/tokens-2475WU2Z.js → tokens-B-c56SkM.js} +1 -1
- package/dist/{plugin-sdk/tool-images-DCvC8yL7.js → tool-images-C1rdDr34.js} +2 -2
- package/dist/{tool-loop-detection-BPAeTbUj.js → tool-loop-detection-Bu3OGskw.js} +3 -3
- package/dist/{web-DiYh3u92.js → web-CVSol55V.js} +6 -6
- package/dist/{web-5rulK8WV.js → web-Y49Dumye.js} +57 -57
- package/dist/{whatsapp-actions-kX73ghOz.js → whatsapp-actions-DFZYzkBp.js} +23 -23
- package/dist/{workspace-CH9k4Qgz.js → workspace-DYx5Dxtw.js} +6 -6
- package/extensions/voice-call/src/providers/realtime-session.ts +1 -1
- package/package.json +1 -1
- package/dist/plugin-sdk/web-BVkjyY4A.js +0 -65
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
2
|
-
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-
|
|
3
|
-
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config
|
|
4
|
-
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-
|
|
5
|
-
import { E as runExec } from "./agent-scope-
|
|
6
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
7
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-
|
|
2
|
+
import { K as logVerbose, Y as shouldLogVerbose } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-9OZuRn0C.js";
|
|
4
|
+
import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-CXooYLb2.js";
|
|
5
|
+
import { E as runExec } from "./agent-scope-cT7IxdHY.js";
|
|
6
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-B8aJIly2.js";
|
|
7
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-D4PCK2jj.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
|
|
9
|
-
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-
|
|
10
|
-
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-
|
|
9
|
+
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-C31B_R8P.js";
|
|
10
|
+
import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-ElOMCP9r.js";
|
|
11
11
|
import { constants } from "node:fs";
|
|
12
12
|
import path from "node:path";
|
|
13
13
|
import os from "node:os";
|
|
@@ -899,7 +899,7 @@ async function loadModelCatalog(params) {
|
|
|
899
899
|
});
|
|
900
900
|
try {
|
|
901
901
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
902
|
-
await (await import("./pi-auth-json-
|
|
902
|
+
await (await import("./pi-auth-json-C-euHc3x.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
903
903
|
const piSdk = await importPiSdk();
|
|
904
904
|
const agentDir = resolveOpenClawAgentDir();
|
|
905
905
|
const { join } = await import("node:path");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-
|
|
3
|
-
import { K as logVerbose } from "./registry-
|
|
4
|
-
import { n as loadConfig } from "./config
|
|
5
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-DIzw7Ncy.js";
|
|
3
|
+
import { K as logVerbose } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
5
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-CD5VqKGg.js";
|
|
6
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DyzO7IVo.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { a as resolveOAuthDir, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
3
|
+
import { S as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DIzw7Ncy.js";
|
|
4
4
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
5
|
-
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry-
|
|
6
|
-
import { n as loadConfig } from "./config
|
|
7
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
8
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
9
|
-
import { H as withFileLock$1 } from "./model-selection-
|
|
5
|
+
import { F as safeParseJson, K as logVerbose, U as danger } from "./registry-O1yza0Vh.js";
|
|
6
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
7
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
8
|
+
import { r as isTruthyEnvValue } from "./command-format-DcBXOX9Z.js";
|
|
9
|
+
import { H as withFileLock$1 } from "./model-selection-CXooYLb2.js";
|
|
10
10
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
11
11
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-Bv8oZiTO.js";
|
|
12
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
12
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-CCnr-9bS.js";
|
|
13
13
|
import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
|
|
14
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
15
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
16
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-B8aJIly2.js";
|
|
15
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-CD5VqKGg.js";
|
|
16
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
17
17
|
import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
|
|
19
19
|
import fs from "node:fs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { A as normalizeE164, P as resolveUserPath } from "./registry-
|
|
3
|
-
import { n as loadConfig } from "./config
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { A as normalizeE164, P as resolveUserPath } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-B8aJIly2.js";
|
|
5
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
6
|
+
import { t as convertMarkdownTables } from "./tables-C_81Ve2l.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-wSu5JyDM.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CCxMtk8m.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-
|
|
2
|
+
import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-DIzw7Ncy.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
4
|
-
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
5
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
6
|
-
import { n as loadConfig } from "./config
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
4
|
+
import { ut as resolvePreferredOpenClawTmpDir } from "./registry-O1yza0Vh.js";
|
|
5
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-JFNwfUew.js";
|
|
6
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-CCnr-9bS.js";
|
|
8
8
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-3WJMd-G-.js";
|
|
9
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
11
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
9
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-B8aJIly2.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-CD5VqKGg.js";
|
|
11
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } 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
14
|
import path from "node:path";
|
|
15
15
|
import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
16
16
|
import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
|
|
3
3
|
import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
|
|
4
|
-
import { n as loadConfig } from "./config
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
6
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
9
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
4
|
+
import { n as loadConfig } from "./config-9OZuRn0C.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-B8aJIly2.js";
|
|
6
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-CD5VqKGg.js";
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-Bo-r4msS.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-DUBJHEgi.js";
|
|
9
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-CCxMtk8m.js";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/client.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-
|
|
2
|
-
import { P as resolveUserPath, U as danger, X as success, at as toPinoLikeLogger, tt as getChildLogger, w as ensureDir } from "./registry-
|
|
3
|
-
import { Z as VERSION } from "./config
|
|
4
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { d as readCredsJsonRaw, h as resolveWebCredsPath, l as maybeRestoreCredsFromBackup, m as resolveWebCredsBackupPath, p as resolveDefaultWebAuthDir } from "./accounts-Ciwy7Yxd.js";
|
|
2
|
+
import { P as resolveUserPath, U as danger, X as success, at as toPinoLikeLogger, tt as getChildLogger, w as ensureDir } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { Z as VERSION } from "./config-9OZuRn0C.js";
|
|
4
|
+
import { t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-DVWx7USN.js";
|
|
3
|
-
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-
|
|
6
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
7
|
-
import { i as listChatCommands } from "./commands-registry-
|
|
3
|
+
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-O1yza0Vh.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
5
|
+
import { s as resolveAgentWorkspaceDir, t as listAgentIds } from "./agent-scope-cT7IxdHY.js";
|
|
6
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-5hEda4_Y.js";
|
|
7
|
+
import { i as listChatCommands } from "./commands-registry-BsSKPwgj.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import os from "node:os";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { i as parseBooleanValue } from "./command-format-
|
|
4
|
-
import { M as normalizeSkillFilter, w as resolveOpenClawPackageRootSync } from "./agent-scope-
|
|
5
|
-
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
1
|
+
import { P as resolveUserPath, b as CONFIG_DIR } from "./registry-O1yza0Vh.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
3
|
+
import { i as parseBooleanValue } from "./command-format-DcBXOX9Z.js";
|
|
4
|
+
import { M as normalizeSkillFilter, w as resolveOpenClawPackageRootSync } from "./agent-scope-cT7IxdHY.js";
|
|
5
|
+
import { a as LEGACY_MANIFEST_KEYS, c as normalizePluginsConfig, l as resolveEnableState, o as MANIFEST_KEY, p as isDangerousHostEnvVarName, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-sgHvjA6E.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
|
-
import
|
|
9
|
+
import JSON5 from "json5";
|
|
10
10
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import { fileURLToPath } from "node:url";
|
|
@@ -226,7 +226,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
226
226
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
227
227
|
if (!raw) return;
|
|
228
228
|
try {
|
|
229
|
-
const parsed =
|
|
229
|
+
const parsed = JSON5.parse(raw);
|
|
230
230
|
if (!parsed || typeof parsed !== "object") return;
|
|
231
231
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
232
232
|
for (const key of manifestKeys) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
2
2
|
import { t as redactSensitiveText } from "./redact-DPnDWsnT.js";
|
|
3
3
|
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-BNQjLbn7.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as resolveConfigDir } from "./registry-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { M as resolveConfigDir } from "./registry-O1yza0Vh.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-B8aJIly2.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as isVerbose, ct as normalizeLogLevel, lt as readLoggingConfig, n as CHAT_CHANNEL_ORDER, ot as loggingState, rt as isFileLogLevelEnabled, st as levelToMinLevel, tt as getChildLogger } from "./registry-
|
|
1
|
+
import { G as isVerbose, ct as normalizeLogLevel, lt as readLoggingConfig, n as CHAT_CHANNEL_ORDER, ot as loggingState, rt as isFileLogLevelEnabled, st as levelToMinLevel, tt as getChildLogger } from "./registry-O1yza0Vh.js";
|
|
2
2
|
import { Chalk } from "chalk";
|
|
3
3
|
|
|
4
4
|
//#region src/terminal/progress-line.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-B8aJIly2.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BvjD_HnR.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-C_0eELjb.js";
|
|
2
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-
|
|
4
|
-
import { A as normalizeE164, T as escapeRegExp, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
5
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { r as resolveWhatsAppAccount } from "./accounts-Ciwy7Yxd.js";
|
|
3
|
+
import { D as resolveSlackAccount, F as resolveDiscordAccount, O as resolveSlackReplyToMode, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget } from "./plugins-DIzw7Ncy.js";
|
|
4
|
+
import { A as normalizeE164, T as escapeRegExp, i as getChatChannelMeta, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-O1yza0Vh.js";
|
|
5
|
+
import { r as resolveIMessageAccount } from "./accounts-wSu5JyDM.js";
|
|
6
|
+
import { i as resolveSignalAccount } from "./accounts-DUBJHEgi.js";
|
|
7
7
|
|
|
8
8
|
//#region src/config/group-policy.ts
|
|
9
9
|
function resolveChannelGroupConfig(groups, groupId, caseInsensitive = false) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-B8aJIly2.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/image-sanitization.ts
|
|
5
5
|
const DEFAULT_IMAGE_MAX_DIMENSION_PX = 1200;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-DVWx7USN.js";
|
|
2
|
-
import { H as isPlainObject } from "./registry-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { H as isPlainObject } from "./registry-O1yza0Vh.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { a as WA_WEB_AUTH_DIR, g as webAuthExists, s as logWebSelfId, u as pickWebChannel } from "./accounts-Ciwy7Yxd.js";
|
|
2
|
+
import "./reply-DEepmBkT.js";
|
|
3
|
+
import "./paths-DVWx7USN.js";
|
|
4
|
+
import "./github-copilot-token-Cg0YPPSu.js";
|
|
5
|
+
import "./plugins-DIzw7Ncy.js";
|
|
6
|
+
import "./fetch-b2Zm8y7X.js";
|
|
7
|
+
import "./registry-O1yza0Vh.js";
|
|
8
|
+
import "./retry-JFNwfUew.js";
|
|
9
|
+
import "./send-DEV4iiFj.js";
|
|
10
|
+
import "./config-9OZuRn0C.js";
|
|
11
|
+
import "./subsystem-C4Rh0kdL.js";
|
|
12
|
+
import "./command-format-DcBXOX9Z.js";
|
|
13
|
+
import "./model-selection-CXooYLb2.js";
|
|
14
|
+
import "./agent-scope-cT7IxdHY.js";
|
|
15
|
+
import "./manifest-registry-sgHvjA6E.js";
|
|
16
|
+
import "./redact-DPnDWsnT.js";
|
|
17
|
+
import "./errors-Bv8oZiTO.js";
|
|
18
|
+
import "./channel-activity-CCnr-9bS.js";
|
|
19
|
+
import "./image-ops-B8aJIly2.js";
|
|
20
|
+
import "./ssrf-DKZ8eBrk.js";
|
|
21
|
+
import "./local-roots-D4PCK2jj.js";
|
|
22
|
+
import "./ir-CD5VqKGg.js";
|
|
23
|
+
import "./chunk-DyzO7IVo.js";
|
|
24
|
+
import "./message-channel-DmB4bGFh.js";
|
|
25
|
+
import "./bindings-CKqdifyU.js";
|
|
26
|
+
import "./markdown-tables-Bo-r4msS.js";
|
|
27
|
+
import "./render-BiJZ5W4Z.js";
|
|
28
|
+
import "./tables-C_81Ve2l.js";
|
|
29
|
+
import "./send-D1C2sJG1.js";
|
|
30
|
+
import "./tool-images-BvjD_HnR.js";
|
|
31
|
+
import "./target-errors-C638yp2-.js";
|
|
32
|
+
import "./send-CK3DCPv-.js";
|
|
33
|
+
import "./send-D-spKwjf.js";
|
|
34
|
+
import "./runner-DztRiWhh.js";
|
|
35
|
+
import "./reply-prefix-BF0omhZE.js";
|
|
36
|
+
import "./tokens-K9ITCatc.js";
|
|
37
|
+
import "./skill-commands-Dv5AeOZQ.js";
|
|
38
|
+
import "./skills-5hEda4_Y.js";
|
|
39
|
+
import "./chrome-BO7SUTgY.js";
|
|
40
|
+
import "./thinking-DexKPSsI.js";
|
|
41
|
+
import "./accounts-wSu5JyDM.js";
|
|
42
|
+
import "./accounts-DUBJHEgi.js";
|
|
43
|
+
import "./deliver-BO_wt0wd.js";
|
|
44
|
+
import "./pi-embedded-helpers-DU0nLxRU.js";
|
|
45
|
+
import "./paths-BNQjLbn7.js";
|
|
46
|
+
import "./diagnostic-DKyVS3IK.js";
|
|
47
|
+
import "./store-DoRXD0QB.js";
|
|
48
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BHNS_E7F.js";
|
|
49
|
+
import "./image-C31B_R8P.js";
|
|
50
|
+
import "./pi-model-discovery-LbcEa65a.js";
|
|
51
|
+
import "./api-key-rotation-ElOMCP9r.js";
|
|
52
|
+
import "./sqlite-DUu0dwic.js";
|
|
53
|
+
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
54
|
+
import "./manager-CZPPxI6R.js";
|
|
55
|
+
import "./commands-registry-BsSKPwgj.js";
|
|
56
|
+
import "./send-DrYvH25B.js";
|
|
57
|
+
import "./proxy-MquBDehr.js";
|
|
58
|
+
import "./resolve-route-B63ztF-V.js";
|
|
59
|
+
import "./replies-Bnu7HnvW.js";
|
|
60
|
+
import "./outbound-attachment-CCxMtk8m.js";
|
|
61
|
+
import { n as sendMessageWhatsApp } from "./outbound-dAcQHyyr.js";
|
|
62
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-DRJl5tKC.js";
|
|
63
|
+
import { t as loginWeb } from "./login-CW17h3xU.js";
|
|
64
|
+
|
|
65
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { r as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { r as resolveWhatsAppAccount } from "./accounts-Ciwy7Yxd.js";
|
|
2
2
|
import "./paths-DVWx7USN.js";
|
|
3
3
|
import "./github-copilot-token-Cg0YPPSu.js";
|
|
4
|
-
import "./plugins-
|
|
5
|
-
import "./registry-
|
|
6
|
-
import "./config
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./command-format-
|
|
9
|
-
import "./model-selection-
|
|
10
|
-
import "./agent-scope-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./image-ops-
|
|
4
|
+
import "./plugins-DIzw7Ncy.js";
|
|
5
|
+
import "./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
|
+
import "./image-ops-B8aJIly2.js";
|
|
13
13
|
import "./ssrf-DKZ8eBrk.js";
|
|
14
|
-
import "./local-roots-
|
|
15
|
-
import "./ir-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./message-channel-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./markdown-tables-
|
|
14
|
+
import "./local-roots-D4PCK2jj.js";
|
|
15
|
+
import "./ir-CD5VqKGg.js";
|
|
16
|
+
import "./chunk-DyzO7IVo.js";
|
|
17
|
+
import "./message-channel-DmB4bGFh.js";
|
|
18
|
+
import "./bindings-CKqdifyU.js";
|
|
19
|
+
import "./markdown-tables-Bo-r4msS.js";
|
|
20
20
|
import "./render-BiJZ5W4Z.js";
|
|
21
|
-
import "./tables-
|
|
22
|
-
import "./tool-images-
|
|
23
|
-
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-
|
|
24
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
25
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
21
|
+
import "./tables-C_81Ve2l.js";
|
|
22
|
+
import "./tool-images-BvjD_HnR.js";
|
|
23
|
+
import { a as createActionGate, c as jsonResult, d as readReactionParams, i as ToolAuthorizationError, m as readStringParam } from "./target-errors-C638yp2-.js";
|
|
24
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DzZIT1V1.js";
|
|
25
|
+
import { r as sendReactionWhatsApp } from "./outbound-dAcQHyyr.js";
|
|
26
26
|
|
|
27
27
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
28
28
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-BCzIW1Y2.js";
|
|
2
|
-
import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-
|
|
3
|
-
import { m as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { M as normalizeE164, a as normalizeAnyChannelId, l as requireActivePluginRegistry, n as CHAT_CHANNEL_ORDER } from "./registry-DpeZG5fo.js";
|
|
3
|
+
import { m as createAccountListHelpers } from "./accounts-C8m4ADkw.js";
|
|
4
4
|
import { t as normalizeChatType } from "./chat-type-C_KiWNAH.js";
|
|
5
|
-
import { r as isTruthyEnvValue } from "./command-format-
|
|
6
|
-
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-
|
|
7
|
-
import
|
|
5
|
+
import { r as isTruthyEnvValue } from "./command-format-BOHIfoCX.js";
|
|
6
|
+
import { n as listBoundAccountIds, r as resolveDefaultAgentBoundAccountId } from "./bindings-BKEEBdsb.js";
|
|
7
|
+
import fs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-action-gate.ts
|
|
10
10
|
function createAccountActionGate(params) {
|
|
@@ -186,7 +186,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
186
186
|
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
187
187
|
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
188
188
|
if (accountTokenFile) {
|
|
189
|
-
if (!
|
|
189
|
+
if (!fs.existsSync(accountTokenFile)) {
|
|
190
190
|
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
191
191
|
return {
|
|
192
192
|
token: "",
|
|
@@ -194,7 +194,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
194
194
|
};
|
|
195
195
|
}
|
|
196
196
|
try {
|
|
197
|
-
const token =
|
|
197
|
+
const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
198
198
|
if (token) return {
|
|
199
199
|
token,
|
|
200
200
|
source: "tokenFile"
|
|
@@ -219,7 +219,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
219
219
|
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
220
220
|
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
221
221
|
if (tokenFile && allowEnv) {
|
|
222
|
-
if (!
|
|
222
|
+
if (!fs.existsSync(tokenFile)) {
|
|
223
223
|
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
224
224
|
return {
|
|
225
225
|
token: "",
|
|
@@ -227,7 +227,7 @@ function resolveTelegramToken(cfg, opts = {}) {
|
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
229
|
try {
|
|
230
|
-
const token =
|
|
230
|
+
const token = fs.readFileSync(tokenFile, "utf-8").trim();
|
|
231
231
|
if (token) return {
|
|
232
232
|
token,
|
|
233
233
|
source: "tokenFile"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-
|
|
3
|
-
import "./agent-scope-
|
|
4
|
-
import "./subsystem-
|
|
5
|
-
import "./workspace-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { dt as resolvePreferredOpenClawTmpDir } from "./registry-DpeZG5fo.js";
|
|
3
|
+
import "./agent-scope-DSUeV7-g.js";
|
|
4
|
+
import "./subsystem-BF9jT_Nw.js";
|
|
5
|
+
import "./workspace-DYx5Dxtw.js";
|
|
6
6
|
import "./boolean-B8-BqKGQ.js";
|
|
7
|
-
import { t as formatCliCommand } from "./command-format-
|
|
8
|
-
import "./model-auth-
|
|
9
|
-
import "./github-copilot-token-
|
|
10
|
-
import "./config-
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
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-
|
|
7
|
+
import { t as formatCliCommand } from "./command-format-BOHIfoCX.js";
|
|
8
|
+
import "./model-auth-vtNH8C4P.js";
|
|
9
|
+
import "./github-copilot-token-Dgb9dAHW.js";
|
|
10
|
+
import "./config-Du_-inxH.js";
|
|
11
|
+
import "./manifest-registry-Dhk4A5vb.js";
|
|
12
|
+
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-Bqbv_ZSj.js";
|
|
13
13
|
import "./redact-jSxx6Ep2.js";
|
|
14
14
|
import { n as formatErrorMessage } from "./errors-BoQgnc8X.js";
|
|
15
15
|
import "./ssrf-BTMDZjHT.js";
|
|
@@ -7,7 +7,7 @@ import "./github-copilot-token-ttqQRqMA.js";
|
|
|
7
7
|
import { r as formatCliCommand } from "./env-DulyEJtM.js";
|
|
8
8
|
import "./config-KL7847B1.js";
|
|
9
9
|
import "./manifest-registry-sze5OW-s.js";
|
|
10
|
-
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-
|
|
10
|
+
import { _ as fetchJson, b as withCdpSocket, d as normalizeCdpWsUrl, g as appendCdpPath, h as withBrowserNavigationPolicy, m as assertBrowserNavigationAllowed, t as getChromeWebSocketUrl, u as formatAriaSnapshot, y as getHeadersWithAuth } from "./chrome-CZuniMYN.js";
|
|
11
11
|
import "./redact-1NGYV_8p.js";
|
|
12
12
|
import { n as formatErrorMessage } from "./errors-CPfngF0S.js";
|
|
13
13
|
import "./ssrf-CxfFyMRZ.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { s as resolveStateDir } from "./paths-
|
|
1
|
+
import { s as resolveStateDir } from "./paths-CyR9Pa1R.js";
|
|
2
2
|
import { y as parseAgentSessionKey } from "./session-key-BCzIW1Y2.js";
|
|
3
|
-
import "./registry-
|
|
4
|
-
import { s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
6
|
-
import "./workspace-
|
|
3
|
+
import "./registry-DpeZG5fo.js";
|
|
4
|
+
import { s as resolveAgentWorkspaceDir } from "./agent-scope-DSUeV7-g.js";
|
|
5
|
+
import { t as createSubsystemLogger } from "./subsystem-BF9jT_Nw.js";
|
|
6
|
+
import "./workspace-DYx5Dxtw.js";
|
|
7
7
|
import "./redact-jSxx6Ep2.js";
|
|
8
|
-
import "./paths-
|
|
9
|
-
import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-
|
|
8
|
+
import "./paths-BEAbheM8.js";
|
|
9
|
+
import { _ as isFileMissingError, n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite, v as statRegularFile } from "./sqlite-C3XxSzBN.js";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
import os from "node:os";
|
|
12
12
|
import path from "node:path";
|