@bitseek/claw 1.3.8-beta.2 → 1.3.8-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{audio-preflight-D-sfV0QK.js → audio-preflight-DWC4cRxQ.js} +4 -4
- package/dist/{audio-transcription-runner-BVp79Ioa.js → audio-transcription-runner-BC2TeD8r.js} +1 -1
- package/dist/build-info.json +2 -2
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-D8KosHAE.js → chrome-CGMBwBlZ.js} +8 -8
- package/dist/{command-registry-B9MybN-E.js → command-registry-RTq7TBkJ.js} +5 -5
- package/dist/{completion-cli-DDcNIc1r.js → completion-cli-Cp4gleu_.js} +2 -2
- package/dist/{completion-cli-6l712NPl.js → completion-cli-JABAzgO6.js} +1 -1
- package/dist/{deliver-3f8JxB_A.js → deliver-CPCEIyDG.js} +1 -1
- package/dist/{doctor-completion-B19Hs3xo.js → doctor-completion-BEtcv-8P.js} +1 -1
- package/dist/{doctor-completion-B6jYyC1T.js → doctor-completion-CpA-KQ0h.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{gateway-cli-D4xVKSbv.js → gateway-cli-C44pKHoa.js} +1 -1
- package/dist/{gateway-cli-Cqe5_9XJ.js → gateway-cli-D1e4MuAA.js} +1 -1
- package/dist/{image-XbGdWslx.js → image-RroCfqy3.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/{onboard-BhUYz4pd.js → onboard-Ch8Y1L6r.js} +1 -1
- package/dist/{onboard-CHHfB91Q.js → onboard-F7n3_iVh.js} +1 -1
- package/dist/{onboarding-BFylLQTs.js → onboarding-BM2AMtOF.js} +1 -1
- package/dist/{onboarding-Byioq4gT.js → onboarding-C3pHfO7a.js} +1 -1
- package/dist/{onboarding.finalize-CWPqHkqC.js → onboarding.finalize-8dcfbjPv.js} +3 -3
- package/dist/{onboarding.finalize-CnVCE1gR.js → onboarding.finalize-Ca_Zcpts.js} +4 -4
- package/dist/{pi-embedded-BJ2D2U7f.js → pi-embedded-DbU5C8eR.js} +22 -22
- package/dist/{pi-embedded-helpers-BL7vjkKS.js → pi-embedded-helpers-DAITpRHR.js} +3 -3
- package/dist/plugin-sdk/{accounts-CqgyHS8h.js → accounts-BME088co.js} +1 -1
- package/dist/plugin-sdk/{accounts-kIersDAH.js → accounts-CxgIc7BC.js} +1 -1
- package/dist/plugin-sdk/{accounts-B_Sil4df.js → accounts-DFIfXHdI.js} +3 -3
- package/dist/plugin-sdk/{active-listener-B1c6rQRy.js → active-listener-Dx4YdW0B.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-DS0HILk_.js → agent-scope-BL5NPpGJ.js} +3 -3
- package/dist/plugin-sdk/{api-key-rotation-C2Z5xB6w.js → api-key-rotation-DZ1mvKN0.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-Byc0yvPV.js → audio-preflight-B8r8qUhZ.js} +33 -33
- package/dist/plugin-sdk/{audio-transcription-runner-DHcTy4Wb.js → audio-transcription-runner-B8gQ16hV.js} +10 -10
- package/dist/plugin-sdk/{bindings-D8UvbNti.js → bindings-YKerL1Tc.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-CMtaqeTg.js → channel-activity-Dzyx86FD.js} +3 -3
- package/dist/plugin-sdk/{channel-web-D3N-Ttls.js → channel-web-dQSyVWDp.js} +23 -23
- package/dist/plugin-sdk/{chrome-DoDlUT7F.js → chrome-Hte84S6l.js} +7 -7
- package/dist/plugin-sdk/{chunk-BuHZrtLn.js → chunk-4pLJcTE-.js} +1 -1
- package/dist/plugin-sdk/{command-format-9ttCUvaP.js → command-format-TmcJI6nP.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-ydkoxruZ.js → commands-registry-D1UwEKAH.js} +5 -5
- package/dist/plugin-sdk/{config-BkeO1N4t.js → config-kqUrcUGI.js} +10 -10
- package/dist/plugin-sdk/{deliver-BcAT1l6Y.js → deliver-DymnzypV.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BefhWusS.js → diagnostic-1MgpiorV.js} +2 -2
- package/dist/plugin-sdk/{dock-yYEdNzbx.js → dock-Csf-65jq.js} +6 -6
- package/dist/plugin-sdk/{errors-D2KyTKs6.js → errors-BRahpZsP.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-BC92RxgN.js → fetch-guard-cD2GBmNp.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-CC4mG_Hc.js → fs-safe-DgdRzasF.js} +3 -3
- package/dist/plugin-sdk/{image-Cjm_y1ht.js → image-m9sEMr_K.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CfQjZch5.js → image-ops-DhVTERkS.js} +1 -1
- package/dist/plugin-sdk/index.js +64 -64
- package/dist/plugin-sdk/{ir-CLKvSg7X.js → ir-DyMWDxUp.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DYmtEf6P.js → local-roots-ChmGReXd.js} +4 -4
- package/dist/plugin-sdk/{logger-Dqmpx59X.js → logger-BwzMchOl.js} +1 -1
- package/dist/plugin-sdk/{login-DYEbRdfH.js → login-DIgrxuIQ.js} +6 -6
- package/dist/plugin-sdk/{login-qr-0YUEfC35.js → login-qr-DeAbaqfx.js} +9 -9
- package/dist/plugin-sdk/{manager-J_9hr0Yu.js → manager-Bic1h3Nu.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-BA_MdGIq.js → markdown-tables-BEWLluuz.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CeYrurhu.js → message-channel-Be6xIObc.js} +1 -1
- package/dist/plugin-sdk/{outbound-B386FQiU.js → outbound-D7OdBk5M.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DgC7KgEZ.js → outbound-attachment-Y-wO2Csk.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-KB1li1UU.js → path-alias-guards-CsekuFRi.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-CbevdnHV.js → pi-embedded-helpers-BWFPgWTA.js} +17 -17
- package/dist/plugin-sdk/{pi-model-discovery-Blr1NdM4.js → pi-model-discovery-DRomJojM.js} +1 -1
- package/dist/plugin-sdk/{plugins-Dupyelyu.js → plugins-DKZ5hSLA.js} +6 -6
- package/dist/plugin-sdk/{proxy-CnPaiSZ0.js → proxy-DIYzaAvh.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-BY4mmpys.js → proxy-fetch-X6Ja_eZx.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-C1rLCgeF.js → pw-ai-MuLgIL01.js} +13 -13
- package/dist/plugin-sdk/{qmd-manager-BtfjLkaZ.js → qmd-manager-D3p7PB5n.js} +8 -8
- package/dist/plugin-sdk/{query-expansion-DgHoeKXG.js → query-expansion-C90Jc5uo.js} +2 -2
- package/dist/plugin-sdk/{redact-Civ2olvH.js → redact-DEfi9F2o.js} +1 -1
- package/dist/plugin-sdk/{registry-Cq-TQPU8.js → registry-BfD4IdFK.js} +2 -2
- package/dist/plugin-sdk/{replies-a2WeMkU6.js → replies-GRjUBMUL.js} +3 -3
- package/dist/plugin-sdk/{reply-C2XVty9G.js → reply-BlPlf4OC.js} +93 -93
- package/dist/plugin-sdk/{reply-prefix-BRomwQau.js → reply-prefix-CobEDhG_.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-B_xKgqWe.js → resolve-outbound-target-DkNri48r.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-yLtq9xkG.js → resolve-route-fu19EHnm.js} +4 -4
- package/dist/plugin-sdk/{retry-D9aKv766.js → retry-Agt7ZiSn.js} +1 -1
- package/dist/plugin-sdk/{send-Ct2mLh8U.js → send-BB06ROuk.js} +15 -15
- package/dist/plugin-sdk/{send-Bs-YbYdN.js → send-BUpepCol.js} +6 -6
- package/dist/plugin-sdk/{send-WwwzoTNW.js → send-C5ymrC3h.js} +7 -7
- package/dist/plugin-sdk/{send-kJXSgFcu.js → send-CvC0d45Z.js} +10 -10
- package/dist/plugin-sdk/{send-_MTxUi5p.js → send-DwXcBQYC.js} +8 -8
- package/dist/plugin-sdk/{session-Bfpm71Tg.js → session-D8BNggg2.js} +5 -5
- package/dist/plugin-sdk/{session-meta-CM4K7B00.js → session-meta-DYb6KCvG.js} +1 -1
- package/dist/plugin-sdk/{sessions-DFx8MKSO.js → sessions-BtJmhzev.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-CakvOluN.js → skill-commands-C3OZ4W61.js} +5 -5
- package/dist/plugin-sdk/{skills-CZFBOkwT.js → skills-CIvz2coj.js} +8 -8
- package/dist/plugin-sdk/{ssrf-BjVCUeM7.js → ssrf-EGzUkeVq.js} +1 -1
- package/dist/plugin-sdk/{store-DALs5PIC.js → store-Dij_2k2X.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DQdKZm8Z.js → subsystem-C84uWxqx.js} +2 -2
- package/dist/plugin-sdk/{tables-BQwHnOX0.js → tables-CTWsNiUf.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DqlHqAmV.js → target-errors-Bgd_Uo0g.js} +2 -2
- package/dist/plugin-sdk/{tokens-C_Ieeb03.js → tokens-B9E-mnf_.js} +1 -1
- package/dist/plugin-sdk/{tool-images-RhD8geto.js → tool-images-0gnewwTL.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-CKnmaEeR.js → tool-loop-detection-Bsh07kcw.js} +2 -2
- package/dist/plugin-sdk/{utils-hxOwZduA.js → utils-BA7Xm0uM.js} +1 -1
- package/dist/plugin-sdk/web-D48I7g5u.js +72 -0
- package/dist/plugin-sdk/{whatsapp-actions-CudQXAzF.js → whatsapp-actions-BLoPRR5B.js} +25 -25
- package/dist/{program-Be2ymElx.js → program-CStT3Tdz.js} +2 -2
- package/dist/{program-context-VmNKrCEz.js → program-context-uwFKpk8g.js} +7 -7
- package/dist/{prompt-select-styled-VDz-k6PU.js → prompt-select-styled-BOM_B36f.js} +1 -1
- package/dist/{prompt-select-styled-y3MS0Ion.js → prompt-select-styled-ByCoxIUa.js} +1 -1
- package/dist/{pw-ai-B5Q17lfW.js → pw-ai-BlcIl51R.js} +1 -1
- package/dist/{register.init-kK0U4c1X.js → register.init-BzRts3RZ.js} +14 -5
- package/dist/{register.init-BG8FagAY.js → register.init-CIS-LY0i.js} +14 -5
- package/dist/{register.maintenance-DXzqBj6G.js → register.maintenance-BTwdTZnP.js} +4 -4
- package/dist/{register.maintenance-JgN7l-Nt.js → register.maintenance-DWo73fOE.js} +5 -5
- package/dist/{register.onboard-8ktAun-c.js → register.onboard-Cu-xLkmj.js} +2 -2
- package/dist/{register.onboard-Cx_a7wmX.js → register.onboard-ps-7r0Bx.js} +2 -2
- package/dist/{register.setup-DwSY2woO.js → register.setup-DFniVrQp.js} +2 -2
- package/dist/{register.setup-ByRV6Cja.js → register.setup-DOgl3Biv.js} +2 -2
- package/dist/{register.subclis-BL5uM8m-.js → register.subclis-BMjHVUZN.js} +3 -3
- package/dist/{run-main-CTvTsMR8.js → run-main-DoPcdD6j.js} +3 -3
- package/dist/{update-cli-DzGTmqj1.js → update-cli-CO3mOkqg.js} +4 -4
- package/dist/{update-cli-D11Y1iYl.js → update-cli-ny6m1bJQ.js} +5 -5
- package/dist/{web-DcyT3FlY.js → web-DoyNp6wO.js} +6 -6
- package/package.json +1 -1
- package/dist/plugin-sdk/web-DLrSMEN4.js +0 -72
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAgentId, f as sanitizeAgentId, i as buildAgentPeerSessionKey, m as normalizeAccountId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
|
-
import { p as shouldLogVerbose } from "./subsystem-
|
|
4
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
5
|
-
import { t as logDebug } from "./logger-
|
|
3
|
+
import { p as shouldLogVerbose } from "./subsystem-C84uWxqx.js";
|
|
4
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-BL5NPpGJ.js";
|
|
5
|
+
import { t as logDebug } from "./logger-BwzMchOl.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-YKerL1Tc.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeAccountId, p as DEFAULT_ACCOUNT_ID } from "./session-key-CVIXEtLx.js";
|
|
3
3
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-STHPF-Vp.js";
|
|
4
|
-
import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-
|
|
5
|
-
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
6
|
-
import { g as safeParseJson, t as CONFIG_DIR } from "./utils-
|
|
7
|
-
import { n as isTruthyEnvValue } from "./command-format-
|
|
8
|
-
import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
4
|
+
import { Qt as resolveTelegramPreviewStreamMode, Yn as withFileLock$1, i as readConfigFileSnapshotForWrite, n as loadConfig, o as writeConfigFile } from "./config-kqUrcUGI.js";
|
|
5
|
+
import { c as danger, t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
6
|
+
import { g as safeParseJson, t as CONFIG_DIR } from "./utils-BA7Xm0uM.js";
|
|
7
|
+
import { n as isTruthyEnvValue } from "./command-format-TmcJI6nP.js";
|
|
8
|
+
import { C as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DKZ5hSLA.js";
|
|
9
9
|
import { r as writeJsonAtomic } from "./json-files-BLPb80aT.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
11
|
-
import { t as redactSensitiveText } from "./redact-
|
|
12
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
13
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
11
|
+
import { t as redactSensitiveText } from "./redact-DEfi9F2o.js";
|
|
12
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-BRahpZsP.js";
|
|
13
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-Dzyx86FD.js";
|
|
14
14
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
|
|
15
15
|
import { n as normalizePollInput } from "./polls-DN23oxyB.js";
|
|
16
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
17
|
-
import { u as hasProxyEnvConfigured } from "./ssrf-
|
|
18
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
19
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
16
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-DhVTERkS.js";
|
|
17
|
+
import { u as hasProxyEnvConfigured } from "./ssrf-EGzUkeVq.js";
|
|
18
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DyMWDxUp.js";
|
|
19
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
20
20
|
import { t as renderMarkdownWithMarkers } from "./render-BDQg502o.js";
|
|
21
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
21
|
+
import { t as makeProxyFetch } from "./proxy-fetch-X6Ja_eZx.js";
|
|
22
22
|
import fs, { readFileSync } from "node:fs";
|
|
23
23
|
import path from "node:path";
|
|
24
24
|
import os from "node:os";
|
|
25
25
|
import fs$1 from "node:fs/promises";
|
|
26
26
|
import crypto, { randomBytes } from "node:crypto";
|
|
27
|
-
import
|
|
27
|
+
import json5 from "json5";
|
|
28
28
|
import process$1 from "node:process";
|
|
29
29
|
import { EnvHttpProxyAgent, getGlobalDispatcher, setGlobalDispatcher } from "undici";
|
|
30
30
|
import * as dns from "node:dns";
|
|
@@ -1801,7 +1801,7 @@ async function loadCronStore(storePath) {
|
|
|
1801
1801
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1802
1802
|
let parsed;
|
|
1803
1803
|
try {
|
|
1804
|
-
parsed =
|
|
1804
|
+
parsed = json5.parse(raw);
|
|
1805
1805
|
} catch (err) {
|
|
1806
1806
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1807
1807
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
2
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { i as resolveSignalAccount } from "./accounts-BME088co.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-C-qHqfzG.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
6
|
-
import { m as kindFromMime } from "./image-ops-
|
|
7
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
6
|
+
import { m as kindFromMime } from "./image-ops-DhVTERkS.js";
|
|
7
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-DyMWDxUp.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
9
9
|
import { n as generateSecureUuid } from "./secure-random-C5PtFEje.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Y-wO2Csk.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
4
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
5
|
-
import { m as kindFromMime } from "./image-ops-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { d as normalizeE164, h as resolveUserPath } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { r as resolveIMessageAccount } from "./accounts-CxgIc7BC.js";
|
|
5
|
+
import { m as kindFromMime } from "./image-ops-DhVTERkS.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-CTWsNiUf.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-Y-wO2Csk.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-
|
|
4
|
-
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as parseMentionPrefixOrAtUserTarget, g as buildMessagingTarget, v as requireTargetKind } from "./plugins-
|
|
2
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { T as resolvePreferredOpenClawTmpDir } from "./subsystem-C84uWxqx.js";
|
|
4
|
+
import { B as resolveDiscordAccount, V as normalizeDiscordToken, _ as parseMentionPrefixOrAtUserTarget, g as buildMessagingTarget, v as requireTargetKind } from "./plugins-DKZ5hSLA.js";
|
|
5
5
|
import { t as resolveFetch } from "./fetch-BEtAimXS.js";
|
|
6
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
7
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
6
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-Agt7ZiSn.js";
|
|
7
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-Dzyx86FD.js";
|
|
8
8
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DN23oxyB.js";
|
|
10
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
11
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
12
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
10
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-DhVTERkS.js";
|
|
11
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-DyMWDxUp.js";
|
|
12
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-4pLJcTE-.js";
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-CTWsNiUf.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs/promises";
|
|
17
17
|
import crypto from "node:crypto";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { u as logVerbose } from "./subsystem-
|
|
4
|
-
import { A as resolveSlackAccount, N as resolveSlackBotToken, m as parseSlackTarget } from "./plugins-
|
|
5
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
6
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
2
|
+
import { n as loadConfig } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
4
|
+
import { A as resolveSlackAccount, N as resolveSlackBotToken, m as parseSlackTarget } from "./plugins-DKZ5hSLA.js";
|
|
5
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-cD2GBmNp.js";
|
|
6
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-DyMWDxUp.js";
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-4pLJcTE-.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-BEWLluuz.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-BDQg502o.js";
|
|
10
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
10
|
+
import { i as isSilentReplyText } from "./tokens-B9E-mnf_.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
13
13
|
//#region src/slack/blocks-input.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
2
|
-
import { or as VERSION } from "./config-
|
|
3
|
-
import { S as toPinoLikeLogger, c as danger, m as success, y as getChildLogger } from "./subsystem-
|
|
4
|
-
import { a as ensureDir, h as resolveUserPath } from "./utils-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
1
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-DFIfXHdI.js";
|
|
2
|
+
import { or as VERSION } from "./config-kqUrcUGI.js";
|
|
3
|
+
import { S as toPinoLikeLogger, c as danger, m as success, y as getChildLogger } from "./subsystem-C84uWxqx.js";
|
|
4
|
+
import { a as ensureDir, h as resolveUserPath } from "./utils-BA7Xm0uM.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-TmcJI6nP.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as recordSessionMetaFromInbound } from "./sessions-
|
|
2
|
+
import { c as recordSessionMetaFromInbound } from "./sessions-BtJmhzev.js";
|
|
3
3
|
import { s as resolveStorePath } from "./paths-B3rYtuY3.js";
|
|
4
4
|
|
|
5
5
|
//#region src/channels/session-meta.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { c as normalizeAgentId, h as normalizeOptionalAccountId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
|
|
2
2
|
import { d as resolveRequiredHomeDir } from "./paths-STHPF-Vp.js";
|
|
3
|
-
import { H as parseByteSize, Qn as isPidAlive, V as parseDurationMs, Xn as resolveProcessScopedMap, Zn as getProcessStartTime, n as loadConfig } from "./config-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { d as normalizeE164 } from "./utils-
|
|
6
|
-
import { R as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
7
|
-
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-
|
|
3
|
+
import { H as parseByteSize, Qn as isPidAlive, V as parseDurationMs, Xn as resolveProcessScopedMap, Zn as getProcessStartTime, n as loadConfig } from "./config-kqUrcUGI.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
5
|
+
import { d as normalizeE164 } from "./utils-BA7Xm0uM.js";
|
|
6
|
+
import { R as normalizeHyphenSlug, t as getChannelDock } from "./dock-Csf-65jq.js";
|
|
7
|
+
import { o as listDeliverableMessageChannels, s as normalizeMessageChannel } from "./message-channel-Be6xIObc.js";
|
|
8
8
|
import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
|
|
9
9
|
import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
|
|
10
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import { r as normalizeChannelId } from "./plugins-DKZ5hSLA.js";
|
|
11
11
|
import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-B3rYtuY3.js";
|
|
12
12
|
import { i as writeTextAtomic } from "./json-files-BLPb80aT.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as resolveStateDir } from "./paths-STHPF-Vp.js";
|
|
3
|
-
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-
|
|
4
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
5
|
-
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { t as createSubsystemLogger, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
4
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BA7Xm0uM.js";
|
|
5
|
+
import { n as listAgentIds, o as resolveAgentSkillsFilter, s as resolveAgentWorkspaceDir } from "./agent-scope-BL5NPpGJ.js";
|
|
6
6
|
import { t as createAsyncLock } from "./json-files-BLPb80aT.js";
|
|
7
|
-
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-
|
|
8
|
-
import { a as listChatCommands } from "./commands-registry-
|
|
7
|
+
import { o as resolvePluginSkillDirs, t as buildWorkspaceSkillCommandSpecs } from "./skills-CIvz2coj.js";
|
|
8
|
+
import { a as listChatCommands } from "./commands-registry-D1UwEKAH.js";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Vn as isPathInsideWithRealpath, dt as MANIFEST_KEY, ht as resolveMemorySlotDecision, lr as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, ot as loadPluginManifestRegistry, pt as normalizePluginsConfig, ut as LEGACY_MANIFEST_KEYS } from "./config-
|
|
2
|
-
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-
|
|
4
|
-
import { r as parseBooleanValue } from "./command-format-
|
|
5
|
-
import { B as isPathInside, D as resolveOpenClawPackageRootSync, U as normalizeSkillFilter } from "./agent-scope-
|
|
6
|
-
import { n as assertNoPathAliasEscape } from "./path-alias-guards-
|
|
1
|
+
import { Vn as isPathInsideWithRealpath, dt as MANIFEST_KEY, ht as resolveMemorySlotDecision, lr as isDangerousHostEnvVarName, mt as resolveEffectiveEnableState, ot as loadPluginManifestRegistry, pt as normalizePluginsConfig, ut as LEGACY_MANIFEST_KEYS } from "./config-kqUrcUGI.js";
|
|
2
|
+
import { T as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
3
|
+
import { h as resolveUserPath, t as CONFIG_DIR } from "./utils-BA7Xm0uM.js";
|
|
4
|
+
import { r as parseBooleanValue } from "./command-format-TmcJI6nP.js";
|
|
5
|
+
import { B as isPathInside, D as resolveOpenClawPackageRootSync, U as normalizeSkillFilter } from "./agent-scope-BL5NPpGJ.js";
|
|
6
|
+
import { n as assertNoPathAliasEscape } from "./path-alias-guards-CsekuFRi.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import { createHash, timingSafeEqual } from "node:crypto";
|
|
11
|
-
import
|
|
11
|
+
import json5 from "json5";
|
|
12
12
|
import { URL as URL$1, fileURLToPath } from "node:url";
|
|
13
13
|
import { formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
|
|
14
14
|
import YAML from "yaml";
|
|
@@ -296,7 +296,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
296
296
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
297
297
|
if (!raw) return;
|
|
298
298
|
try {
|
|
299
|
-
const parsed =
|
|
299
|
+
const parsed = json5.parse(raw);
|
|
300
300
|
if (!parsed || typeof parsed !== "object") return;
|
|
301
301
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
302
302
|
for (const key of manifestKeys) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as parseLooseIpAddress, G as isBlockedSpecialUseIpv6Address, J as isLegacyIpv4Literal, K as isCanonicalDottedDecimalIPv4, Q as parseCanonicalIpAddress, U as extractEmbeddedIpv4FromIpv6, W as isBlockedSpecialUseIpv4Address, q as isIpv4Address } from "./config-
|
|
1
|
+
import { $ as parseLooseIpAddress, G as isBlockedSpecialUseIpv6Address, J as isLegacyIpv4Literal, K as isCanonicalDottedDecimalIPv4, Q as parseCanonicalIpAddress, U as extractEmbeddedIpv4FromIpv6, W as isBlockedSpecialUseIpv4Address, q as isIpv4Address } from "./config-kqUrcUGI.js";
|
|
2
2
|
import { Agent } from "undici";
|
|
3
3
|
import { lookup } from "node:dns";
|
|
4
4
|
import { lookup as lookup$1 } from "node:dns/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as resolveConfigDir } from "./utils-
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
1
|
+
import { p as resolveConfigDir } from "./utils-BA7Xm0uM.js";
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-DhVTERkS.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs$1 from "node:fs/promises";
|
|
@@ -3,7 +3,7 @@ import fs from "node:fs";
|
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import util from "node:util";
|
|
6
|
-
import
|
|
6
|
+
import json5 from "json5";
|
|
7
7
|
import { Logger } from "tslog";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
|
|
@@ -157,7 +157,7 @@ function readLoggingConfig() {
|
|
|
157
157
|
try {
|
|
158
158
|
if (!fs.existsSync(configPath)) return;
|
|
159
159
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
160
|
-
const logging =
|
|
160
|
+
const logging = json5.parse(raw)?.logging;
|
|
161
161
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
162
162
|
return logging;
|
|
163
163
|
} catch {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-DhVTERkS.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-0gnewwTL.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -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-C84uWxqx.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-DhVTERkS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./paths-STHPF-Vp.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject } from "./utils-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-C84uWxqx.js";
|
|
3
|
+
import { C as isPlainObject } from "./utils-BA7Xm0uM.js";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
5
|
|
|
6
6
|
//#region src/agents/tool-loop-detection.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir, u as resolveEffectiveHomeDir } from "./paths-STHPF-Vp.js";
|
|
2
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
2
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-C84uWxqx.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-DFIfXHdI.js";
|
|
2
|
+
import "./reply-BlPlf4OC.js";
|
|
3
|
+
import "./paths-STHPF-Vp.js";
|
|
4
|
+
import "./github-copilot-token-OlEJk9vh.js";
|
|
5
|
+
import "./config-kqUrcUGI.js";
|
|
6
|
+
import "./subsystem-C84uWxqx.js";
|
|
7
|
+
import "./utils-BA7Xm0uM.js";
|
|
8
|
+
import "./command-format-TmcJI6nP.js";
|
|
9
|
+
import "./agent-scope-BL5NPpGJ.js";
|
|
10
|
+
import "./logger-BwzMchOl.js";
|
|
11
|
+
import "./registry-BfD4IdFK.js";
|
|
12
|
+
import "./dock-Csf-65jq.js";
|
|
13
|
+
import "./message-channel-Be6xIObc.js";
|
|
14
|
+
import "./sessions-BtJmhzev.js";
|
|
15
|
+
import "./plugins-DKZ5hSLA.js";
|
|
16
|
+
import "./accounts-CxgIc7BC.js";
|
|
17
|
+
import "./accounts-BME088co.js";
|
|
18
|
+
import "./bindings-YKerL1Tc.js";
|
|
19
|
+
import "./send-CvC0d45Z.js";
|
|
20
|
+
import "./paths-B3rYtuY3.js";
|
|
21
|
+
import "./fetch-BEtAimXS.js";
|
|
22
|
+
import "./retry-Agt7ZiSn.js";
|
|
23
|
+
import "./redact-DEfi9F2o.js";
|
|
24
|
+
import "./errors-BRahpZsP.js";
|
|
25
|
+
import "./channel-activity-Dzyx86FD.js";
|
|
26
|
+
import "./path-alias-guards-CsekuFRi.js";
|
|
27
|
+
import "./fs-safe-DgdRzasF.js";
|
|
28
|
+
import "./image-ops-DhVTERkS.js";
|
|
29
|
+
import "./ssrf-EGzUkeVq.js";
|
|
30
|
+
import "./fetch-guard-cD2GBmNp.js";
|
|
31
|
+
import "./local-roots-ChmGReXd.js";
|
|
32
|
+
import "./ir-DyMWDxUp.js";
|
|
33
|
+
import "./chunk-4pLJcTE-.js";
|
|
34
|
+
import "./markdown-tables-BEWLluuz.js";
|
|
35
|
+
import "./render-BDQg502o.js";
|
|
36
|
+
import "./tables-CTWsNiUf.js";
|
|
37
|
+
import "./send-C5ymrC3h.js";
|
|
38
|
+
import "./send-BB06ROuk.js";
|
|
39
|
+
import "./tool-images-0gnewwTL.js";
|
|
40
|
+
import "./target-errors-Bgd_Uo0g.js";
|
|
41
|
+
import "./send-DwXcBQYC.js";
|
|
42
|
+
import "./audio-transcription-runner-B8gQ16hV.js";
|
|
43
|
+
import "./reply-prefix-CobEDhG_.js";
|
|
44
|
+
import "./tokens-B9E-mnf_.js";
|
|
45
|
+
import "./skill-commands-C3OZ4W61.js";
|
|
46
|
+
import "./skills-CIvz2coj.js";
|
|
47
|
+
import "./chrome-Hte84S6l.js";
|
|
48
|
+
import "./deliver-DymnzypV.js";
|
|
49
|
+
import "./diagnostic-1MgpiorV.js";
|
|
50
|
+
import "./store-Dij_2k2X.js";
|
|
51
|
+
import "./pi-embedded-helpers-BWFPgWTA.js";
|
|
52
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-dQSyVWDp.js";
|
|
53
|
+
import "./thinking-DGaZRXAR.js";
|
|
54
|
+
import "./image-m9sEMr_K.js";
|
|
55
|
+
import "./pi-model-discovery-DRomJojM.js";
|
|
56
|
+
import "./api-key-rotation-DZ1mvKN0.js";
|
|
57
|
+
import "./proxy-fetch-X6Ja_eZx.js";
|
|
58
|
+
import "./commands-registry-D1UwEKAH.js";
|
|
59
|
+
import "./diagnostic-session-state-Wd5tNeQG.js";
|
|
60
|
+
import "./send-BUpepCol.js";
|
|
61
|
+
import "./outbound-attachment-Y-wO2Csk.js";
|
|
62
|
+
import "./resolve-route-fu19EHnm.js";
|
|
63
|
+
import "./proxy-DIYzaAvh.js";
|
|
64
|
+
import "./replies-GRjUBMUL.js";
|
|
65
|
+
import "./session-meta-DYb6KCvG.js";
|
|
66
|
+
import "./manager-Bic1h3Nu.js";
|
|
67
|
+
import "./query-expansion-C90Jc5uo.js";
|
|
68
|
+
import { n as sendMessageWhatsApp } from "./outbound-D7OdBk5M.js";
|
|
69
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-D8BNggg2.js";
|
|
70
|
+
import { t as loginWeb } from "./login-DIgrxuIQ.js";
|
|
71
|
+
|
|
72
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
1
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DFIfXHdI.js";
|
|
2
2
|
import "./paths-STHPF-Vp.js";
|
|
3
3
|
import "./github-copilot-token-OlEJk9vh.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./subsystem-
|
|
6
|
-
import "./utils-
|
|
7
|
-
import "./command-format-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./logger-
|
|
10
|
-
import "./registry-
|
|
11
|
-
import "./message-channel-
|
|
12
|
-
import "./plugins-
|
|
13
|
-
import "./bindings-
|
|
14
|
-
import "./path-alias-guards-
|
|
15
|
-
import "./fs-safe-
|
|
16
|
-
import "./image-ops-
|
|
17
|
-
import "./ssrf-
|
|
18
|
-
import "./fetch-guard-
|
|
19
|
-
import "./local-roots-
|
|
20
|
-
import "./ir-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./markdown-tables-
|
|
4
|
+
import "./config-kqUrcUGI.js";
|
|
5
|
+
import "./subsystem-C84uWxqx.js";
|
|
6
|
+
import "./utils-BA7Xm0uM.js";
|
|
7
|
+
import "./command-format-TmcJI6nP.js";
|
|
8
|
+
import "./agent-scope-BL5NPpGJ.js";
|
|
9
|
+
import "./logger-BwzMchOl.js";
|
|
10
|
+
import "./registry-BfD4IdFK.js";
|
|
11
|
+
import "./message-channel-Be6xIObc.js";
|
|
12
|
+
import "./plugins-DKZ5hSLA.js";
|
|
13
|
+
import "./bindings-YKerL1Tc.js";
|
|
14
|
+
import "./path-alias-guards-CsekuFRi.js";
|
|
15
|
+
import "./fs-safe-DgdRzasF.js";
|
|
16
|
+
import "./image-ops-DhVTERkS.js";
|
|
17
|
+
import "./ssrf-EGzUkeVq.js";
|
|
18
|
+
import "./fetch-guard-cD2GBmNp.js";
|
|
19
|
+
import "./local-roots-ChmGReXd.js";
|
|
20
|
+
import "./ir-DyMWDxUp.js";
|
|
21
|
+
import "./chunk-4pLJcTE-.js";
|
|
22
|
+
import "./markdown-tables-BEWLluuz.js";
|
|
23
23
|
import "./render-BDQg502o.js";
|
|
24
|
-
import "./tables-
|
|
25
|
-
import "./tool-images-
|
|
26
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, o as createActionGate } from "./target-errors-
|
|
27
|
-
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-
|
|
28
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
24
|
+
import "./tables-CTWsNiUf.js";
|
|
25
|
+
import "./tool-images-0gnewwTL.js";
|
|
26
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, o as createActionGate } from "./target-errors-Bgd_Uo0g.js";
|
|
27
|
+
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-DkNri48r.js";
|
|
28
|
+
import { r as sendReactionWhatsApp } from "./outbound-D7OdBk5M.js";
|
|
29
29
|
|
|
30
30
|
//#region src/agents/tools/whatsapp-target-auth.ts
|
|
31
31
|
function resolveAuthorizedWhatsAppOutboundTarget(params) {
|
|
@@ -122,8 +122,8 @@ import "./constants-D1Q8yQ1_.js";
|
|
|
122
122
|
import "./context-window-guard-BqrKjiIm.js";
|
|
123
123
|
import "./plugin-registry-DT2OvA5Z.js";
|
|
124
124
|
import { n as resolveCliChannelOptions } from "./channel-options-BfDmqXBz.js";
|
|
125
|
-
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-
|
|
126
|
-
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-
|
|
125
|
+
import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-BMjHVUZN.js";
|
|
126
|
+
import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-RTq7TBkJ.js";
|
|
127
127
|
import { r as setProgramContext } from "./program-context-BqyLhTGk.js";
|
|
128
128
|
import { t as forceFreePort } from "./ports-Cw4Nwv2D.js";
|
|
129
129
|
import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-CDZD_rv-.js";
|
|
@@ -58,7 +58,7 @@ const entries = [
|
|
|
58
58
|
description: "Run, inspect, and query the WebSocket Gateway",
|
|
59
59
|
hasSubcommands: true,
|
|
60
60
|
register: async (program) => {
|
|
61
|
-
(await import("./gateway-cli-
|
|
61
|
+
(await import("./gateway-cli-D1e4MuAA.js")).registerGatewayCli(program);
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -262,7 +262,7 @@ const entries = [
|
|
|
262
262
|
description: "Update OpenClaw and inspect update channel status",
|
|
263
263
|
hasSubcommands: true,
|
|
264
264
|
register: async (program) => {
|
|
265
|
-
(await import("./update-cli-
|
|
265
|
+
(await import("./update-cli-CO3mOkqg.js")).registerUpdateCli(program);
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
268
|
{
|
|
@@ -270,7 +270,7 @@ const entries = [
|
|
|
270
270
|
description: "Generate shell completion script",
|
|
271
271
|
hasSubcommands: false,
|
|
272
272
|
register: async (program) => {
|
|
273
|
-
(await import("./completion-cli-
|
|
273
|
+
(await import("./completion-cli-JABAzgO6.js").then((n) => n.n)).registerCompletionCli(program);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
];
|
|
@@ -327,7 +327,7 @@ const coreEntries = [
|
|
|
327
327
|
hasSubcommands: false
|
|
328
328
|
}],
|
|
329
329
|
register: async ({ program }) => {
|
|
330
|
-
(await import("./register.init-
|
|
330
|
+
(await import("./register.init-BzRts3RZ.js")).registerInitCommand(program);
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
{
|
|
@@ -347,7 +347,7 @@ const coreEntries = [
|
|
|
347
347
|
hasSubcommands: false
|
|
348
348
|
}],
|
|
349
349
|
register: async ({ program }) => {
|
|
350
|
-
(await import("./register.setup-
|
|
350
|
+
(await import("./register.setup-DFniVrQp.js")).registerSetupCommand(program);
|
|
351
351
|
}
|
|
352
352
|
},
|
|
353
353
|
{
|
|
@@ -357,7 +357,7 @@ const coreEntries = [
|
|
|
357
357
|
hasSubcommands: false
|
|
358
358
|
}],
|
|
359
359
|
register: async ({ program }) => {
|
|
360
|
-
(await import("./register.onboard-
|
|
360
|
+
(await import("./register.onboard-ps-7r0Bx.js")).registerOnboardCommand(program);
|
|
361
361
|
}
|
|
362
362
|
},
|
|
363
363
|
{
|
|
@@ -404,7 +404,7 @@ const coreEntries = [
|
|
|
404
404
|
}
|
|
405
405
|
],
|
|
406
406
|
register: async ({ program }) => {
|
|
407
|
-
(await import("./register.maintenance-
|
|
407
|
+
(await import("./register.maintenance-BTwdTZnP.js")).registerMaintenanceCommands(program);
|
|
408
408
|
}
|
|
409
409
|
},
|
|
410
410
|
{
|
|
@@ -45,7 +45,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-BKK4AmkR.js";
|
|
46
46
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CWPZsER4.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-COrcOjm-.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-CpA-KQ0h.js";
|
|
49
49
|
import { execFile } from "node:child_process";
|
|
50
50
|
import path from "node:path";
|
|
51
51
|
import os from "node:os";
|
|
@@ -45,7 +45,7 @@ import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as l
|
|
|
45
45
|
import { n as noteOpenAIOAuthTlsPrerequisites } from "./oauth-tls-preflight-Bb91d2nx.js";
|
|
46
46
|
import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DZZvW0Ho.js";
|
|
47
47
|
import { t as formatHealthCheckFailure } from "./health-format-BYPH00Hg.js";
|
|
48
|
-
import { n as doctorShellCompletion } from "./doctor-completion-
|
|
48
|
+
import { n as doctorShellCompletion } from "./doctor-completion-BEtcv-8P.js";
|
|
49
49
|
import fs from "node:fs";
|
|
50
50
|
import os from "node:os";
|
|
51
51
|
import path from "node:path";
|
|
@@ -10,7 +10,7 @@ import { n as formatCliCommand } from "./env-CbcQkLDt.js";
|
|
|
10
10
|
import "./boolean-mcn6kL0s.js";
|
|
11
11
|
import "./internal-hooks-C4UXsKAh.js";
|
|
12
12
|
import "./registry-Bs6V63pB.js";
|
|
13
|
-
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-
|
|
13
|
+
import { F as resolveStrictExistingPathsWithinRoot, L as DEFAULT_FILL_FIELD_TYPE, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, S as withCdpSocket, _ as withBrowserNavigationPolicy, d as formatAriaSnapshot, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, j as DEFAULT_DOWNLOAD_DIR, k as withNoProxyForCdpUrl, t as getChromeWebSocketUrl, v as appendCdpPath, x as getHeadersWithAuth, y as fetchJson } from "./chrome-CGMBwBlZ.js";
|
|
14
14
|
import "./path-alias-guards-PnQzwnfs.js";
|
|
15
15
|
import "./redact-Bj_QBHtk.js";
|
|
16
16
|
import { r as formatErrorMessage } from "./errors-CtpsLbgG.js";
|