@multiplytech/openclaw 2026.2.15-pairing-code.4 → 2026.2.16-pairing-code.6
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-CyxQBpl8.js → accounts-Bu2DSNpQ.js} +1 -1
- package/dist/{accounts-BvmssTEF.js → accounts-DyinIlq4.js} +1 -1
- package/dist/{active-listener-BruG-udz.js → active-listener-BIBYF9eG.js} +1 -1
- package/dist/{agent-BxxBd9wX.js → agent-B1HFnlbT.js} +2 -2
- package/dist/{agent-D0LfsEPF.js → agent-CVF53E-w.js} +2 -2
- package/dist/{agent-scope-DUn-XVYs.js → agent-scope-BIw4Bz2L.js} +3 -3
- package/dist/{agents-jAnRMd-A.js → agents-CYgZjHoT.js} +2 -2
- package/dist/{audio-preflight-CbR1q2CT.js → audio-preflight-18tRQHAJ.js} +17 -17
- package/dist/{audio-preflight-kYQdd_bY.js → audio-preflight-CeC5WuRi.js} +4 -4
- package/dist/{auth-choice-B6AdPtCu.js → auth-choice-OX4fgYLq.js} +1 -1
- package/dist/{auth-choice-GrNENivg.js → auth-choice-YtDBU_-P.js} +1 -1
- package/dist/{banner-D3tgjbUi.js → banner-pgb9DZOi.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +38 -38
- package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +32 -32
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-activity--HqvQlN3.js → channel-activity-C4rZNocg.js} +1 -1
- package/dist/{channel-options-CgdgqIte.js → channel-options-BIs-a5YL.js} +1 -1
- package/dist/{channel-options-C0ayB7mx.js → channel-options-ERSTdCGf.js} +1 -1
- package/dist/{channel-web-BTTW7H_d.js → channel-web-BuMQEIKB.js} +2 -2
- package/dist/{channels-cli-BcDsE2LA.js → channels-cli-BI94x7p0.js} +4 -4
- package/dist/{channels-cli-p5hPpQzH.js → channels-cli-nEAmL1_C.js} +4 -4
- package/dist/{chrome-B2PpxswT.js → chrome-BR14_3nU.js} +7 -7
- package/dist/{chrome-BtogRifc.js → chrome-DBVAzVv0.js} +11 -11
- package/dist/{cli-Oxxb4axp.js → cli-CY-qypJ3.js} +1 -1
- package/dist/{cli-Cwzdze-z.js → cli-DkciTrn3.js} +1 -1
- package/dist/{command-registry-C8q1jb3h.js → command-registry-CFV0RS72.js} +9 -9
- package/dist/{common-BJE3S8zA.js → common-BB2PeD4P.js} +2 -2
- package/dist/{completion-cli-DQd6XSG4.js → completion-cli-5S2B7SZ5.js} +2 -2
- package/dist/{completion-cli-CIcsx6ic.js → completion-cli-C0e1BYDl.js} +1 -1
- package/dist/{config-CYlbDcBt.js → config-BA8Xs1ek.js} +34 -34
- package/dist/{config-cli-BmW3yfH6.js → config-cli-BJuDLo1q.js} +1 -1
- package/dist/{config-cli-CZLDgS2E.js → config-cli-Dlo5RLGS.js} +1 -1
- package/dist/{configure-CRaYQ6hS.js → configure-D3MBjAI8.js} +3 -3
- package/dist/{configure-B0_p6Z1n.js → configure-jyLcDqEp.js} +3 -3
- package/dist/{deliver-BwXnLuWH.js → deliver-BDm1hy0O.js} +16 -16
- package/dist/{deliver-C7HjLIB7.js → deliver-DOrBYvPC.js} +1 -1
- package/dist/{deps-i6fBS1Dw.js → deps-Dhfew8Ve.js} +1 -1
- package/dist/{doctor-AUivq-af.js → doctor-CJ9Ocy-t.js} +4 -4
- package/dist/{doctor-Cs7rfmA-.js → doctor-aj-FftXC.js} +4 -4
- package/dist/{doctor-completion-CtBAIy0Z.js → doctor-completion-DxzuFFWl.js} +1 -1
- package/dist/{doctor-completion-C2PR6GJF.js → doctor-completion-tFb503l_.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-C_bNT00b.js → exec-C9rZpEqA.js} +17 -17
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-mr22CaT4.js → fetch-Dyb5pqye.js} +2 -2
- package/dist/{frontmatter-BetN20QN.js → frontmatter-Bk_vZq47.js} +2 -2
- package/dist/{gateway-cli-BgGnL3cE.js → gateway-cli-CYR_B1BL.js} +9 -9
- package/dist/{gateway-cli-M8r3XcpJ.js → gateway-cli-D5a0Zf65.js} +9 -9
- package/dist/{github-copilot-token-U5JrmjNt.js → github-copilot-token-BXEGgIt5.js} +7 -7
- package/dist/{health-shfUNbPM.js → health-C6qMpkdp.js} +2 -2
- package/dist/{health-BqoIIu1u.js → health-CeEDedbp.js} +2 -2
- package/dist/{heartbeat-visibility-B_kubgRp.js → heartbeat-visibility-BUie23xh.js} +1 -1
- package/dist/{heartbeat-visibility-BEMg5PJB.js → heartbeat-visibility-DmpahYoS.js} +1 -1
- package/dist/{hooks-cli-99NPDBK1.js → hooks-cli-BdbLUgUR.js} +2 -2
- package/dist/{hooks-cli-ec5DFn5g.js → hooks-cli-DXeggrXW.js} +2 -2
- package/dist/{image-CRFk69Io.js → image-CIO7-OG5.js} +1 -1
- package/dist/{image-DN3RgnPr.js → image-Dv7bJ1hC.js} +4 -4
- package/dist/{image-ops-CKPJXWk4.js → image-ops-7EDUjzca.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{ir-C-hSqOPD.js → ir-eyTjTBlP.js} +6 -6
- package/dist/llm-slug-generator.js +32 -32
- package/dist/{login-BFkQgAbM.js → login-CAK_t7Bo.js} +1 -1
- package/dist/{login-Dydm4XDa.js → login-DCWvNOhj.js} +3 -3
- package/dist/{login-CwQj2jUX.js → login-VGpbFNYL.js} +1 -1
- package/dist/{login-CmhHGO4I.js → login-YYYcm5Zn.js} +1 -1
- package/dist/{login-qr-B_NTKK4T.js → login-qr-Bx_-IO9f.js} +1 -1
- package/dist/{login-qr-CEOlIdRe.js → login-qr-DhcuKQzs.js} +1 -1
- package/dist/{login-qr-CF5T7Eew.js → login-qr-DtC5kglF.js} +1 -1
- package/dist/{login-qr-BrIxb_5N.js → login-qr-DvE_xWA4.js} +8 -8
- package/dist/{manager-Ec86Dapd.js → manager-ihPMEKim.js} +10 -10
- package/dist/{model-auth-COYibYBO.js → model-auth-BBAJ-iuC.js} +8 -8
- package/dist/{models-cli-CcHjNOe3.js → models-cli-B8e7B2HA.js} +3 -3
- package/dist/{models-cli-GWtfGvki.js → models-cli-BzLTEYWJ.js} +2 -2
- package/dist/{models-D688pDKn.js → models-tBP-3BZ2.js} +2 -2
- package/dist/{onboard-BmB1TAqN.js → onboard-Btn0TaX3.js} +2 -2
- package/dist/{onboard-C5_njUCe.js → onboard-C5GH9pBq.js} +2 -2
- package/dist/{onboard-channels-BeXdUwL0.js → onboard-channels-B1uY37xj.js} +1 -1
- package/dist/{onboard-channels-BATBIQiN.js → onboard-channels-BgeNCQ9Z.js} +1 -1
- package/dist/{onboarding-Cjbb0fRA.js → onboarding-C_AT4K1q.js} +3 -3
- package/dist/{onboarding-txZtcVMA.js → onboarding-qztaeKn4.js} +3 -3
- package/dist/{onboarding.finalize-CSj3Rf0J.js → onboarding.finalize-BYVUM3lN.js} +5 -5
- package/dist/{onboarding.finalize-BI8zTyGF.js → onboarding.finalize-SK8NEQi0.js} +6 -6
- package/dist/{outbound-C8YnTFjo.js → outbound-N8cZjkHg.js} +5 -5
- package/dist/{outbound-attachment-C8Qf4dh8.js → outbound-attachment-BAu7a9Bk.js} +2 -2
- package/dist/{outbound-send-deps-BCi2C-Sb.js → outbound-send-deps-BQLotqwM.js} +1 -1
- package/dist/{paths-Bbik2tb_.js → paths-CMYSfM3T.js} +2 -2
- package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
- package/dist/{pi-auth-json-MhfZXNOP.js → pi-auth-json-BX0whbu8.js} +6 -6
- package/dist/{pi-embedded-8ou24X6D.js → pi-embedded-BEV23LBl.js} +18 -18
- package/dist/{pi-embedded-wVlKSjNK.js → pi-embedded-BG60ofaK.js} +116 -116
- package/dist/{pi-embedded-helpers-DmwtjJVo.js → pi-embedded-helpers-CpicJuB_.js} +48 -48
- package/dist/{pi-embedded-helpers-Dow6Qreh.js → pi-embedded-helpers-D3YxFr03.js} +4 -4
- package/dist/{plugin-registry-N4ZFQdQ9.js → plugin-registry-ByZhZsny.js} +1 -1
- package/dist/{plugin-registry-D_bG1PT_.js → plugin-registry-D6az21kB.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CkyAenz6.js → active-listener-CFLZdKRQ.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-DWZdK6Cr.js → agent-scope-ip6rBrUD.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-BzSvof9i.js → audio-preflight-C0NlyreL.js} +12 -12
- package/dist/plugin-sdk/{channel-web-BXr_pHKk.js → channel-web-C8lkrsJJ.js} +11 -11
- package/dist/plugin-sdk/{chrome-BLYh1Ek9.js → chrome-OZ5Ge8PR.js} +1 -1
- package/dist/plugin-sdk/{common-STTVkT-Z.js → common-pKa0kElY.js} +2 -2
- package/dist/plugin-sdk/{config-iUJxJaTT.js → config-DelXkt58.js} +8 -8
- package/dist/plugin-sdk/{deliver-Bkdn7hYJ.js → deliver-ebYNQy_5.js} +6 -6
- package/dist/plugin-sdk/{exec-9HIVkGqi.js → exec-C5lqk9X4.js} +2 -2
- package/dist/plugin-sdk/{fetch-DjHoyhHv.js → fetch-Cw_7QfME.js} +2 -2
- package/dist/plugin-sdk/{image-DolmBtru.js → image-2KL1DOmN.js} +4 -4
- package/dist/plugin-sdk/{image-ops-DvO68zWD.js → image-ops-zm4O3fkk.js} +4 -4
- package/dist/plugin-sdk/index.js +23 -23
- package/dist/plugin-sdk/{ir-D6TOa8wy.js → ir-BEwiHV7R.js} +4 -4
- package/dist/plugin-sdk/{login-CGRU_9Nh.js → login-CPdKgyMQ.js} +3 -3
- package/dist/plugin-sdk/{login-qr-D6D-dPg-.js → login-qr-zw2bFF9s.js} +5 -5
- package/dist/plugin-sdk/{manager-DSG4npLd.js → manager-Cqyl7HDP.js} +5 -5
- package/dist/plugin-sdk/{model-selection-BfTuBvS4.js → model-selection-DHMRsTNB.js} +2 -2
- package/dist/plugin-sdk/{outbound-BuWEi6UJ.js → outbound-DT2nH6dY.js} +4 -4
- package/dist/plugin-sdk/{paths-6C0IeDIg.js → paths-wRVSwmkX.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-CdSpUvvH.js → pi-auth-json-XTF0mVQ6.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-helpers-rNIrRqeN.js → pi-embedded-helpers-C3_rwWkJ.js} +13 -13
- package/dist/plugin-sdk/{pw-ai-DHGDCfpy.js → pw-ai-BYr2wRwE.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-D0FXZkrS.js → qmd-manager-CY7j7J3V.js} +4 -4
- package/dist/plugin-sdk/{reply-BvOTUN2t.js → reply-BvDwtXEi.js} +35 -35
- package/dist/plugin-sdk/{runner-CaaUwzMJ.js → runner-DxPwS4ed.js} +7 -7
- package/dist/plugin-sdk/{session-Cjs4HuZk.js → session-mrbTMi6z.js} +6 -4
- package/dist/plugin-sdk/{sqlite-QNHsO4bW.js → sqlite-CKrK6KKr.js} +2 -2
- package/dist/plugin-sdk/{tool-images-BuctNDly.js → tool-images-C4GaQjrF.js} +2 -2
- package/dist/plugin-sdk/web-WsAcU1r8.js +30 -0
- package/dist/plugin-sdk/{whatsapp-actions-3adtwpVJ.js → whatsapp-actions-C5T64qvX.js} +11 -11
- package/dist/{plugins-cli-CFOLjXM-.js → plugins-cli-CYoJdEuV.js} +2 -2
- package/dist/{plugins-cli-D2KHK9jR.js → plugins-cli-CiBuw8Zv.js} +2 -2
- package/dist/{program-B9I5xkOF.js → program-1eDr2FR_.js} +7 -7
- package/dist/{program-context-C3C2WLNP.js → program-context-N3J0BGQI.js} +17 -17
- package/dist/{provider-auth-helpers-DIPDa8Lw.js → provider-auth-helpers-CTuNzb_a.js} +1 -1
- package/dist/{provider-auth-helpers-DYPDXQQP.js → provider-auth-helpers-D4N9N1AE.js} +1 -1
- package/dist/{pw-ai-Bbd79y0r.js → pw-ai-QsOEPS_1.js} +1 -1
- package/dist/{pw-ai-BCyIw4W4.js → pw-ai-lO0pe-hZ.js} +3 -3
- package/dist/{qmd-manager-CgC5sB-T.js → qmd-manager-DtmZgEoS.js} +6 -6
- package/dist/{register.agent-BedOGhk-.js → register.agent-D7S5FyBd.js} +7 -7
- package/dist/{register.agent-JL4_r2Jb.js → register.agent-KuwqFNdR.js} +6 -6
- package/dist/{register.configure-D_-8trFJ.js → register.configure-CUpPUJKy.js} +6 -6
- package/dist/{register.configure-U45T1EJ-.js → register.configure-ngkqJgFn.js} +6 -6
- package/dist/{register.maintenance-TMdlbc45.js → register.maintenance-0hqli_fU.js} +8 -8
- package/dist/{register.maintenance-BNhGCK92.js → register.maintenance-d9lEM27i.js} +7 -7
- package/dist/{register.message-DKw_hGiP.js → register.message-DivW2ola.js} +3 -3
- package/dist/{register.message-BdQletmJ.js → register.message-DwcLKYtP.js} +3 -3
- package/dist/{register.onboard-D5LHgdqV.js → register.onboard-BhI7jVMI.js} +4 -4
- package/dist/{register.onboard-DVHlSfZa.js → register.onboard-D88aLvtV.js} +4 -4
- package/dist/{register.setup-CAVftQvz.js → register.setup-BIpsZ-cV.js} +4 -4
- package/dist/{register.setup-Dfhxwzgk.js → register.setup-DK4breVp.js} +4 -4
- package/dist/{register.status-health-sessions-YCJQ83my.js → register.status-health-sessions-3uxsZQK4.js} +3 -3
- package/dist/{register.status-health-sessions-ixyM5rDz.js → register.status-health-sessions-9LWqHf0P.js} +3 -3
- package/dist/{register.subclis-D-kjKwwz.js → register.subclis-DO1CTPrk.js} +9 -9
- package/dist/{reply-d6yV4wB_.js → reply-DPuntYEn.js} +4 -4
- package/dist/{retry-D1bxhFWp.js → retry-B0RhK9tX.js} +1 -1
- package/dist/{run-main-D5duEqg3.js → run-main-CJzTRHIe.js} +14 -14
- package/dist/{runner-DGYLHL8R.js → runner-D2IJZlUb.js} +7 -7
- package/dist/{runner-oDUAvejt.js → runner-DED-FFOX.js} +1 -1
- package/dist/{send-z4yxEOnF.js → send-BMQRcdbF.js} +4 -4
- package/dist/{send-CKSrJ7se.js → send-BRIcpOAj.js} +5 -5
- package/dist/{send-Df7eglyR.js → send-CNibEQip.js} +6 -6
- package/dist/{send-DjP-Miy_.js → send-CWOrEtrR.js} +7 -7
- package/dist/{send-DULTJ0oK.js → send-DzhCsWw9.js} +7 -7
- package/dist/{server-node-events-BE6fD68d.js → server-node-events-DKKdyG8g.js} +3 -3
- package/dist/{server-node-events-C51Bayv9.js → server-node-events-Oa711I7p.js} +3 -3
- package/dist/{session-2uX9t1PO.js → session-B8WbAuC_.js} +10 -8
- package/dist/{session-Bu5MF744.js → session-BPiBYyL9.js} +4 -2
- package/dist/{session-ZppYapGg.js → session-CA_RZh3D.js} +4 -2
- package/dist/{session-B5I8E41_.js → session-D6tofP8g.js} +4 -2
- package/dist/{sqlite-CBMbuGLX.js → sqlite-Bfoh6OgV.js} +4 -4
- package/dist/{status-BRNeaZhV.js → status-BeL6rvfW.js} +1 -1
- package/dist/{status-D0P0XQqw.js → status-CQP-T2Oc.js} +1 -1
- package/dist/{status-NfZ6FkuQ.js → status-D4aJ43h4.js} +2 -2
- package/dist/{status-8g-vfjfP.js → status-iQbmSBZR.js} +2 -2
- package/dist/{store-m4I2z_5t.js → store-B6Y3aOaY.js} +2 -2
- package/dist/{subagent-registry-DJBVFvb4.js → subagent-registry-BYrvQHQf.js} +4 -4
- package/dist/{tables-7DihLyDw.js → tables-BhgdJIJu.js} +1 -1
- package/dist/{tool-images-hzyBQ0Og.js → tool-images-DRiKq4of.js} +2 -2
- package/dist/{update-cli-BZ2fDrwx.js → update-cli-B6rFMJdG.js} +8 -8
- package/dist/{update-cli-BOXR9slg.js → update-cli-BXc8MIoS.js} +7 -7
- package/dist/{update-runner-B55O98W8.js → update-runner-ALrJtrDn.js} +1 -1
- package/dist/{update-runner-BZFeJzUi.js → update-runner-Ce2Dt8Tg.js} +1 -1
- package/dist/{web-CtSLAgT_.js → web-B5sEb7LB.js} +3 -3
- package/dist/{web-By5urMji.js → web-CNHISkJk.js} +4 -4
- package/dist/{web-DoaI-RpC.js → web-WZUPUd6x.js} +8 -8
- package/dist/{web-C5vqAHQC.js → web-k_mMj-9K.js} +36 -36
- package/dist/{whatsapp-actions-C4JR_6XT.js → whatsapp-actions-x16Ismcy.js} +14 -14
- package/dist/{workspace-CgGZnIx_.js → workspace-LSLFINSz.js} +5 -5
- package/package.json +1 -1
- package/dist/plugin-sdk/web-CUrXnjRV.js +0 -30
|
@@ -2,6 +2,7 @@ import { G as toPinoLikeLogger, I as success, O as danger, V as getChildLogger,
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
3
3
|
import { F as VERSION } from "./config-Cdu_GkcK.js";
|
|
4
4
|
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-Bx2VKsnp.js";
|
|
5
|
+
import { createRequire } from "node:module";
|
|
5
6
|
import fs from "node:fs";
|
|
6
7
|
import { randomUUID } from "node:crypto";
|
|
7
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -49,10 +50,10 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
49
50
|
const { state, saveCreds } = await useMultiFileAuthState(authDir);
|
|
50
51
|
const { version } = await fetchLatestBaileysVersion();
|
|
51
52
|
let agent;
|
|
52
|
-
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
|
+
const proxyUrl = process.env.WA_PROXY_URL || process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
54
|
if (proxyUrl) try {
|
|
54
55
|
if (proxyUrl.startsWith("socks")) {
|
|
55
|
-
const { SocksProxyAgent } =
|
|
56
|
+
const { SocksProxyAgent } = createRequire(import.meta.url)("socks-proxy-agent");
|
|
56
57
|
agent = new SocksProxyAgent(proxyUrl);
|
|
57
58
|
} else {
|
|
58
59
|
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
@@ -61,6 +62,7 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
61
62
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
62
63
|
} catch (err) {
|
|
63
64
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
65
|
+
console.error(`[wa-session] Failed to create proxy agent: ${String(err)}`);
|
|
64
66
|
}
|
|
65
67
|
const sock = makeWASocket({
|
|
66
68
|
auth: {
|
|
@@ -2,6 +2,7 @@ import { At as toPinoLikeLogger, Dt as getChildLogger, J as ensureDir, St as suc
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-9CR_a0e_.js";
|
|
3
3
|
import { F as VERSION } from "./config-B4-Vvu6M.js";
|
|
4
4
|
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-CV0l_2nh.js";
|
|
5
|
+
import { createRequire } from "node:module";
|
|
5
6
|
import fs from "node:fs";
|
|
6
7
|
import { randomUUID } from "node:crypto";
|
|
7
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -49,10 +50,10 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
49
50
|
const { state, saveCreds } = await useMultiFileAuthState(authDir);
|
|
50
51
|
const { version } = await fetchLatestBaileysVersion();
|
|
51
52
|
let agent;
|
|
52
|
-
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
|
+
const proxyUrl = process.env.WA_PROXY_URL || process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
54
|
if (proxyUrl) try {
|
|
54
55
|
if (proxyUrl.startsWith("socks")) {
|
|
55
|
-
const { SocksProxyAgent } =
|
|
56
|
+
const { SocksProxyAgent } = createRequire(import.meta.url)("socks-proxy-agent");
|
|
56
57
|
agent = new SocksProxyAgent(proxyUrl);
|
|
57
58
|
} else {
|
|
58
59
|
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
@@ -61,6 +62,7 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
61
62
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
62
63
|
} catch (err) {
|
|
63
64
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
65
|
+
console.error(`[wa-session] Failed to create proxy agent: ${String(err)}`);
|
|
64
66
|
}
|
|
65
67
|
const sock = makeWASocket({
|
|
66
68
|
auth: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { J as resolveUserPath, L as ensureDir, ft as getChildLogger, nt as danger, pt as toPinoLikeLogger, st as success } from "./exec-DgwjzGg-.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
3
3
|
import { H as resolveWebCredsBackupPath, L as maybeRestoreCredsFromBackup, U as resolveWebCredsPath, V as resolveDefaultWebAuthDir, j as VERSION, z as readCredsJsonRaw } from "./config-Ejc5JKGl.js";
|
|
4
|
+
import { createRequire } from "node:module";
|
|
4
5
|
import fs from "node:fs";
|
|
5
6
|
import { randomUUID } from "node:crypto";
|
|
6
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -48,10 +49,10 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
48
49
|
const { state, saveCreds } = await useMultiFileAuthState(authDir);
|
|
49
50
|
const { version } = await fetchLatestBaileysVersion();
|
|
50
51
|
let agent;
|
|
51
|
-
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
52
|
+
const proxyUrl = process.env.WA_PROXY_URL || process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
52
53
|
if (proxyUrl) try {
|
|
53
54
|
if (proxyUrl.startsWith("socks")) {
|
|
54
|
-
const { SocksProxyAgent } =
|
|
55
|
+
const { SocksProxyAgent } = createRequire(import.meta.url)("socks-proxy-agent");
|
|
55
56
|
agent = new SocksProxyAgent(proxyUrl);
|
|
56
57
|
} else {
|
|
57
58
|
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
@@ -60,6 +61,7 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
60
61
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
61
62
|
} catch (err) {
|
|
62
63
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
64
|
+
console.error(`[wa-session] Failed to create proxy agent: ${String(err)}`);
|
|
63
65
|
}
|
|
64
66
|
const sock = makeWASocket({
|
|
65
67
|
auth: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
2
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-C9rZpEqA.js";
|
|
2
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-CMYSfM3T.js";
|
|
3
3
|
import { t as redactSensitiveText } from "./redact-C1ne-kC_.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs$1 from "node:fs";
|
|
8
8
|
import crypto from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/memory/internal.ts
|
|
11
11
|
function ensureDir(dir) {
|
|
12
12
|
try {
|
|
13
|
-
|
|
13
|
+
fs$1.mkdirSync(dir, { recursive: true });
|
|
14
14
|
} catch {}
|
|
15
15
|
return dir;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { kt as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import { kt as loadOpenClawPlugins } from "./reply-DPuntYEn.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-azPHgTb4.js";
|
|
3
3
|
import { T as resolveDefaultAgentWorkspaceDir, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-aaTVOkax.js";
|
|
4
4
|
import { i as loadConfig } from "./config-Cdu_GkcK.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
2
|
import { T as resolveDefaultAgentWorkspaceDir, c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-D47kRViK.js";
|
|
3
3
|
import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
4
|
-
import { h as loadOpenClawPlugins } from "./subagent-registry-
|
|
4
|
+
import { h as loadOpenClawPlugins } from "./subagent-registry-BYrvQHQf.js";
|
|
5
5
|
|
|
6
6
|
//#region src/plugins/status.ts
|
|
7
7
|
const log = createSubsystemLogger("plugins");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-CFnnyoTP.js";
|
|
3
|
-
import { Hr as peekSystemEvents, Ht as getRemoteSkillEligibility, Mt as loadProviderUsageSummary, Nt as formatUsageReportLines, Pr as lookupContextTokens, c as formatChannelAllowFrom, ct as summarizeRestartSentinel, g as sha256HexPrefix, o as buildChannelSummary, s as buildChannelAccountSnapshot, st as readRestartSentinel, w as listAgentsForGateway } from "./reply-
|
|
3
|
+
import { Hr as peekSystemEvents, Ht as getRemoteSkillEligibility, Mt as loadProviderUsageSummary, Nt as formatUsageReportLines, Pr as lookupContextTokens, c as formatChannelAllowFrom, ct as summarizeRestartSentinel, g as sha256HexPrefix, o as buildChannelSummary, s as buildChannelAccountSnapshot, st as readRestartSentinel, w as listAgentsForGateway } from "./reply-DPuntYEn.js";
|
|
4
4
|
import { x as parseAgentSessionKey } from "./session-key-CZ6OwgSB.js";
|
|
5
5
|
import { n as runExec } from "./exec-V7mqHC8U.js";
|
|
6
6
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CEnmuBUN.js";
|
|
@@ -26,7 +26,7 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
26
26
|
import { t as readLastGatewayErrorLine } from "./diagnostics-u4E1Oha1.js";
|
|
27
27
|
import { t as renderTable } from "./table-CQy-QAll.js";
|
|
28
28
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-rKJDXW1i.js";
|
|
29
|
-
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
29
|
+
import { a as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-CeEDedbp.js";
|
|
30
30
|
import { d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, i as formatGitInstallLabel, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Cl-vH3i_.js";
|
|
31
31
|
import { t as resolveNodeService } from "./node-service-B_kTE-4u.js";
|
|
32
32
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DdHUIO91.js";
|
|
@@ -9,7 +9,7 @@ import { s as resolveAgentWorkspaceDir } from "./agent-scope-D47kRViK.js";
|
|
|
9
9
|
import { t as buildWorkspaceSkillStatus } from "./skills-status-DHWZObxp.js";
|
|
10
10
|
import { F as VERSION, i as loadConfig, o as readConfigFileSnapshot } from "./config-B4-Vvu6M.js";
|
|
11
11
|
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-CeM4F1rK.js";
|
|
12
|
-
import { Bt as loadProviderUsageSummary, Gt as buildChannelAccountSnapshot, Kt as formatChannelAllowFrom, On as peekSystemEvents, Qt as getRemoteSkillEligibility, R as sha256HexPrefix, Vt as formatUsageReportLines, Wt as buildChannelSummary, at as readRestartSentinel, ot as summarizeRestartSentinel } from "./subagent-registry-
|
|
12
|
+
import { Bt as loadProviderUsageSummary, Gt as buildChannelAccountSnapshot, Kt as formatChannelAllowFrom, On as peekSystemEvents, Qt as getRemoteSkillEligibility, R as sha256HexPrefix, Vt as formatUsageReportLines, Wt as buildChannelSummary, at as readRestartSentinel, ot as summarizeRestartSentinel } from "./subagent-registry-BYrvQHQf.js";
|
|
13
13
|
import { T as resolveMainSessionKey, i as loadSessionStore, x as resolveFreshSessionTotalTokens } from "./sessions-D-LiJehh.js";
|
|
14
14
|
import { n as listChannelPlugins } from "./plugins-bX81iDy5.js";
|
|
15
15
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-C1QDzi52.js";
|
|
@@ -27,7 +27,7 @@ import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./servi
|
|
|
27
27
|
import { t as readLastGatewayErrorLine } from "./diagnostics-l_Hauu17.js";
|
|
28
28
|
import { t as renderTable } from "./table-BU9JaTpc.js";
|
|
29
29
|
import { a as resolveGatewayProbeAuth$1, c as probeGateway, t as runSecurityAudit } from "./audit-DX2nVepF.js";
|
|
30
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-
|
|
30
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health-C6qMpkdp.js";
|
|
31
31
|
import { d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, i as formatGitInstallLabel, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Dvegvfv5.js";
|
|
32
32
|
import { t as resolveNodeService } from "./node-service-C4ybtLhY.js";
|
|
33
33
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DdHUIO91.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { J as resolveConfigDir } from "./exec-
|
|
2
|
-
import { T as extensionForMime, w as detectMime } from "./image-ops-
|
|
1
|
+
import { J as resolveConfigDir } from "./exec-C9rZpEqA.js";
|
|
2
|
+
import { T as extensionForMime, w as detectMime } from "./image-ops-7EDUjzca.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import crypto from "node:crypto";
|
|
@@ -35776,7 +35776,7 @@ function createWhatsAppLoginTool() {
|
|
|
35776
35776
|
force: Type.Optional(Type.Boolean())
|
|
35777
35777
|
}),
|
|
35778
35778
|
execute: async (_toolCallId, args) => {
|
|
35779
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
35779
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DtC5kglF.js");
|
|
35780
35780
|
if ((args?.action ?? "start") === "wait") {
|
|
35781
35781
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
35782
35782
|
return {
|
|
@@ -50106,15 +50106,15 @@ function loadWebOutbound() {
|
|
|
50106
50106
|
return webOutboundPromise;
|
|
50107
50107
|
}
|
|
50108
50108
|
function loadWebLogin() {
|
|
50109
|
-
webLoginPromise ??= import("./login-
|
|
50109
|
+
webLoginPromise ??= import("./login-YYYcm5Zn.js").then((n) => n.n);
|
|
50110
50110
|
return webLoginPromise;
|
|
50111
50111
|
}
|
|
50112
50112
|
function loadWebLoginQr() {
|
|
50113
|
-
webLoginQrPromise ??= import("./login-qr-
|
|
50113
|
+
webLoginQrPromise ??= import("./login-qr-DtC5kglF.js");
|
|
50114
50114
|
return webLoginQrPromise;
|
|
50115
50115
|
}
|
|
50116
50116
|
function loadWebChannel() {
|
|
50117
|
-
webChannelPromise ??= import("./web-
|
|
50117
|
+
webChannelPromise ??= import("./web-B5sEb7LB.js");
|
|
50118
50118
|
return webChannelPromise;
|
|
50119
50119
|
}
|
|
50120
50120
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
2
|
-
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-C9rZpEqA.js";
|
|
2
|
+
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-7EDUjzca.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/tool-images.ts
|
|
5
5
|
const MAX_IMAGE_DIMENSION_PX = 2e3;
|
|
@@ -15,7 +15,7 @@ import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-B4-V
|
|
|
15
15
|
import "./client-gZv0X5tz.js";
|
|
16
16
|
import "./call-CeM4F1rK.js";
|
|
17
17
|
import "./message-channel-CZpVDeRr.js";
|
|
18
|
-
import { st as trimLogTail } from "./subagent-registry-
|
|
18
|
+
import { st as trimLogTail } from "./subagent-registry-BYrvQHQf.js";
|
|
19
19
|
import "./sessions-D-LiJehh.js";
|
|
20
20
|
import "./deliver-a9TlmfSI.js";
|
|
21
21
|
import "./plugins-bX81iDy5.js";
|
|
@@ -85,10 +85,10 @@ import "./npm-registry-spec-0gjaSbs4.js";
|
|
|
85
85
|
import "./skill-scanner-C6Fsebtt.js";
|
|
86
86
|
import "./installs-FdZTML_g.js";
|
|
87
87
|
import "./channels-status-issues-DyMJ5ur1.js";
|
|
88
|
-
import "./register.subclis-
|
|
89
|
-
import "./command-registry-
|
|
88
|
+
import "./register.subclis-DO1CTPrk.js";
|
|
89
|
+
import "./command-registry-CFV0RS72.js";
|
|
90
90
|
import "./program-context-D2pNx-CZ.js";
|
|
91
|
-
import { r as installCompletion } from "./completion-cli-
|
|
91
|
+
import { r as installCompletion } from "./completion-cli-5S2B7SZ5.js";
|
|
92
92
|
import "./daemon-runtime-EMOzgA87.js";
|
|
93
93
|
import { r as parseSemver } from "./runtime-guard-BJ-Lma1A.js";
|
|
94
94
|
import "./systemd-CVU50TYA.js";
|
|
@@ -98,19 +98,19 @@ import { r as runDaemonRestart } from "./daemon-cli-B3vn0hqJ.js";
|
|
|
98
98
|
import "./diagnostics-l_Hauu17.js";
|
|
99
99
|
import "./service-audit-qdq3Sd69.js";
|
|
100
100
|
import { t as renderTable } from "./table-BU9JaTpc.js";
|
|
101
|
-
import "./health-
|
|
101
|
+
import "./health-C6qMpkdp.js";
|
|
102
102
|
import "./control-ui-assets-DTeWMjr_.js";
|
|
103
103
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-Dvegvfv5.js";
|
|
104
104
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-MTF_FPqc.js";
|
|
105
|
-
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-
|
|
105
|
+
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-Ce2Dt8Tg.js";
|
|
106
106
|
import "./logging-DlBaGy5C.js";
|
|
107
107
|
import "./auth-health-CorHkwvD.js";
|
|
108
108
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-BX5yicnj.js";
|
|
109
109
|
import "./doctor-config-flow-BADnjHsM.js";
|
|
110
110
|
import "./systemd-linger-D81JLquf.js";
|
|
111
111
|
import "./health-format-DywI-BlJ.js";
|
|
112
|
-
import { t as doctorCommand } from "./doctor-
|
|
113
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
112
|
+
import { t as doctorCommand } from "./doctor-aj-FftXC.js";
|
|
113
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DxzuFFWl.js";
|
|
114
114
|
import { spawnSync } from "node:child_process";
|
|
115
115
|
import os from "node:os";
|
|
116
116
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
|
|
2
2
|
import { B as theme, g as pathExists } from "./utils-CFnnyoTP.js";
|
|
3
3
|
import "./pi-embedded-helpers-DwIwt1C1.js";
|
|
4
|
-
import { lt as trimLogTail } from "./reply-
|
|
4
|
+
import { lt as trimLogTail } from "./reply-DPuntYEn.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-azPHgTb4.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-V7mqHC8U.js";
|
|
7
7
|
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CEnmuBUN.js";
|
|
@@ -79,7 +79,7 @@ import "./control-service-CVqGIdhP.js";
|
|
|
79
79
|
import "./channel-selection-CuBUJwMM.js";
|
|
80
80
|
import "./delivery-queue-BX5ZlJ58.js";
|
|
81
81
|
import { r as parseSemver } from "./runtime-guard-Bm-RhIBP.js";
|
|
82
|
-
import "./program-context-
|
|
82
|
+
import "./program-context-N3J0BGQI.js";
|
|
83
83
|
import "./catalog-CiILDAoN.js";
|
|
84
84
|
import "./skills-status-BaUoJUKb.js";
|
|
85
85
|
import { t as formatHelpExamples } from "./help-format-C5v7cCQy.js";
|
|
@@ -90,7 +90,7 @@ import "./npm-registry-spec-CuFgcvQy.js";
|
|
|
90
90
|
import "./skill-scanner-rZe1OKVo.js";
|
|
91
91
|
import "./installs-J67aL6S5.js";
|
|
92
92
|
import "./channels-status-issues-CCbGOksf.js";
|
|
93
|
-
import { r as installCompletion } from "./completion-cli-
|
|
93
|
+
import { r as installCompletion } from "./completion-cli-C0e1BYDl.js";
|
|
94
94
|
import "./daemon-runtime-B5iGPA1t.js";
|
|
95
95
|
import "./systemd-X4GdkNmX.js";
|
|
96
96
|
import "./service-DZTikQY3.js";
|
|
@@ -99,19 +99,19 @@ import { r as runDaemonRestart } from "./daemon-cli-Cqr350vD.js";
|
|
|
99
99
|
import "./diagnostics-u4E1Oha1.js";
|
|
100
100
|
import "./service-audit-DIv4XEdU.js";
|
|
101
101
|
import { t as renderTable } from "./table-CQy-QAll.js";
|
|
102
|
-
import "./health-
|
|
102
|
+
import "./health-CeEDedbp.js";
|
|
103
103
|
import "./control-ui-assets-BvFVs4xo.js";
|
|
104
104
|
import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, d as formatUpdateChannelLabel, h as resolveEffectiveUpdateChannel, m as normalizeUpdateChannel, n as compareSemverStrings, r as fetchNpmTagVersion, s as DEFAULT_GIT_CHANNEL, t as checkUpdateStatus, u as channelToNpmTag } from "./update-check-Cl-vH3i_.js";
|
|
105
105
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-DFL_a38I.js";
|
|
106
|
-
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-
|
|
106
|
+
import { a as globalInstallArgs, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, t as runGatewayUpdate } from "./update-runner-ALrJtrDn.js";
|
|
107
107
|
import "./logging-Bht-XWBM.js";
|
|
108
108
|
import "./auth-health-D1wWOKE2.js";
|
|
109
109
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-vJ0EItfH.js";
|
|
110
110
|
import "./doctor-config-flow-sQx0FedQ.js";
|
|
111
111
|
import "./systemd-linger-Bzc93pL-.js";
|
|
112
112
|
import "./health-format-PRKB0nJ1.js";
|
|
113
|
-
import { t as doctorCommand } from "./doctor-
|
|
114
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
113
|
+
import { t as doctorCommand } from "./doctor-CJ9Ocy-t.js";
|
|
114
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-tFb503l_.js";
|
|
115
115
|
import os from "node:os";
|
|
116
116
|
import path from "node:path";
|
|
117
117
|
import fs from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as pathExists } from "./utils-CFnnyoTP.js";
|
|
2
|
-
import { lt as trimLogTail } from "./reply-
|
|
2
|
+
import { lt as trimLogTail } from "./reply-DPuntYEn.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-V7mqHC8U.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-BvFVs4xo.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-Cl-vH3i_.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { nt as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec--zb4bVXf.js";
|
|
3
|
-
import { st as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { st as trimLogTail } from "./subagent-registry-BYrvQHQf.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-DTeWMjr_.js";
|
|
5
5
|
import { c as DEFAULT_PACKAGE_CHANNEL, f as isBetaTag, l as DEV_BRANCH, n as compareSemverStrings, o as detectPackageManager$1, p as isStableTag, u as channelToNpmTag } from "./update-check-Dvegvfv5.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -14,7 +14,7 @@ import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
|
14
14
|
import "./client-gZv0X5tz.js";
|
|
15
15
|
import "./call-CeM4F1rK.js";
|
|
16
16
|
import "./message-channel-CZpVDeRr.js";
|
|
17
|
-
import { C as resolveMentionGating, D as shouldAckReactionForWhatsApp, E as recordPendingHistoryEntryIfEnabled, G as buildAgentSessionKey, Gn as createInboundDebouncer, Jn as resolveEnvelopeFormatOptions, K as resolveAgentRoute, Kn as resolveInboundDebounceMs, M as createDedupeCache, N as getReplyFromConfig, O as dispatchReplyWithBufferedBlockDispatcher, Rt as normalizeGroupActivation, S as buildPairingReply, T as buildHistoryContextFromEntries, Tn as enqueueSystemEvent, Un as finalizeInboundContext, Xn as hasControlCommand, Zn as shouldComputeCommandAuthorized, ar as resolveMessagePrefix, b as sleepWithAbort, er as buildMentionRegexes, ir as resolveIdentityNamePrefix, qn as formatInboundEnvelope, tr as normalizeMentionText, w as DEFAULT_GROUP_HISTORY_LIMIT, x as createReplyPrefixOptions, y as computeBackoff, zt as parseActivationCommand } from "./subagent-registry-
|
|
17
|
+
import { C as resolveMentionGating, D as shouldAckReactionForWhatsApp, E as recordPendingHistoryEntryIfEnabled, G as buildAgentSessionKey, Gn as createInboundDebouncer, Jn as resolveEnvelopeFormatOptions, K as resolveAgentRoute, Kn as resolveInboundDebounceMs, M as createDedupeCache, N as getReplyFromConfig, O as dispatchReplyWithBufferedBlockDispatcher, Rt as normalizeGroupActivation, S as buildPairingReply, T as buildHistoryContextFromEntries, Tn as enqueueSystemEvent, Un as finalizeInboundContext, Xn as hasControlCommand, Zn as shouldComputeCommandAuthorized, ar as resolveMessagePrefix, b as sleepWithAbort, er as buildMentionRegexes, ir as resolveIdentityNamePrefix, qn as formatInboundEnvelope, tr as normalizeMentionText, w as DEFAULT_GROUP_HISTORY_LIMIT, x as createReplyPrefixOptions, y as computeBackoff, zt as parseActivationCommand } from "./subagent-registry-BYrvQHQf.js";
|
|
18
18
|
import { I as resolveGroupSessionKey, M as resolveChannelGroupRequireMention, a as readSessionUpdatedAt, c as updateLastRoute, i as loadSessionStore, j as resolveChannelGroupPolicy, o as recordSessionMetaFromInbound } from "./sessions-D-LiJehh.js";
|
|
19
19
|
import "./deliver-a9TlmfSI.js";
|
|
20
20
|
import "./plugins-bX81iDy5.js";
|
|
@@ -77,8 +77,8 @@ import "./prompt-style-Ws1ofeXe.js";
|
|
|
77
77
|
import "./pairing-labels-DKrwGHA2.js";
|
|
78
78
|
import { r as setActiveWebListener } from "./active-listener-BpCIGQ-w.js";
|
|
79
79
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-xC2yIYhi.js";
|
|
80
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
81
|
-
import { t as loginWeb } from "./login-
|
|
80
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CA_RZh3D.js";
|
|
81
|
+
import { t as loginWeb } from "./login-YYYcm5Zn.js";
|
|
82
82
|
import { randomUUID } from "node:crypto";
|
|
83
83
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
84
84
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-B4BZAPZh.js";
|
|
2
2
|
import "./utils-CFnnyoTP.js";
|
|
3
3
|
import "./pi-embedded-helpers-DwIwt1C1.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-DPuntYEn.js";
|
|
5
5
|
import "./subsystem-azPHgTb4.js";
|
|
6
6
|
import "./exec-V7mqHC8U.js";
|
|
7
7
|
import "./agent-scope-aaTVOkax.js";
|
|
@@ -75,9 +75,9 @@ import "./nodes-screen-C6Rc35Bb.js";
|
|
|
75
75
|
import "./control-service-CVqGIdhP.js";
|
|
76
76
|
import "./channel-selection-CuBUJwMM.js";
|
|
77
77
|
import "./delivery-queue-BX5ZlJ58.js";
|
|
78
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
78
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-BuMQEIKB.js";
|
|
79
79
|
import { n as sendMessageWhatsApp } from "./outbound-D20MC3bS.js";
|
|
80
|
-
import { i as waitForWaConnection, t as createWaSocket } from "./session-
|
|
81
|
-
import { t as loginWeb } from "./login-
|
|
80
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-BPiBYyL9.js";
|
|
81
|
+
import { t as loginWeb } from "./login-CAK_t7Bo.js";
|
|
82
82
|
|
|
83
83
|
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -2,18 +2,18 @@ import "./paths-Bp5uKvNR.js";
|
|
|
2
2
|
import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-CtzoNgNk.js";
|
|
3
3
|
import { H as isSelfChatMode, P as clamp, Q as sleep, U as jidToE164, W as normalizeE164, d as defaultRuntime, et as toWhatsappJid, ft as getChildLogger, it as logVerbose, l as createSubsystemLogger, ot as shouldLogVerbose, q as resolveJidToE164 } from "./exec-DgwjzGg-.js";
|
|
4
4
|
import "./model-selection-Cb6822pn.js";
|
|
5
|
-
import { A as hasControlCommand, C as upsertChannelPairingRequest, D as resolveInboundDebounceMs, E as createInboundDebouncer, L as resolveIdentityNamePrefix, M as buildMentionRegexes, N as normalizeMentionText, O as formatInboundEnvelope, R as resolveMessagePrefix, S as readChannelAllowFromStore, T as finalizeInboundContext, _ as buildAgentSessionKey, a as buildPairingReply, b as parseActivationCommand, c as buildHistoryContextFromEntries, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as toLocationContext, h as formatLocationText, i as createReplyPrefixOptions, j as shouldComputeCommandAuthorized, k as resolveEnvelopeFormatOptions, l as recordPendingHistoryEntryIfEnabled, m as getReplyFromConfig, n as computeBackoff, o as resolveMentionGating, p as createDedupeCache, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as recordChannelActivity, v as resolveAgentRoute, w as enqueueSystemEvent, x as formatDurationPrecise, y as normalizeGroupActivation } from "./pi-embedded-
|
|
5
|
+
import { A as hasControlCommand, C as upsertChannelPairingRequest, D as resolveInboundDebounceMs, E as createInboundDebouncer, L as resolveIdentityNamePrefix, M as buildMentionRegexes, N as normalizeMentionText, O as formatInboundEnvelope, R as resolveMessagePrefix, S as readChannelAllowFromStore, T as finalizeInboundContext, _ as buildAgentSessionKey, a as buildPairingReply, b as parseActivationCommand, c as buildHistoryContextFromEntries, d as shouldAckReactionForWhatsApp, f as dispatchReplyWithBufferedBlockDispatcher, g as toLocationContext, h as formatLocationText, i as createReplyPrefixOptions, j as shouldComputeCommandAuthorized, k as resolveEnvelopeFormatOptions, l as recordPendingHistoryEntryIfEnabled, m as getReplyFromConfig, n as computeBackoff, o as resolveMentionGating, p as createDedupeCache, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, u as recordChannelActivity, v as resolveAgentRoute, w as enqueueSystemEvent, x as formatDurationPrecise, y as normalizeGroupActivation } from "./pi-embedded-BEV23LBl.js";
|
|
6
6
|
import "./github-copilot-token-DZwwYztr.js";
|
|
7
7
|
import { t as formatCliCommand } from "./command-format-qUVxzqYm.js";
|
|
8
|
-
import "./deliver-
|
|
8
|
+
import "./deliver-DOrBYvPC.js";
|
|
9
9
|
import "./image-ops-B9jnR447.js";
|
|
10
10
|
import { B as readWebSelfId, F as logWebSelfId, M as resolveWhatsAppAccount, N as WA_WEB_AUTH_DIR, P as getWebAuthAgeMs, R as pickWebChannel, W as webAuthExists, n as loadConfig } from "./config-Ejc5JKGl.js";
|
|
11
|
-
import { Et as resolveChannelGroupRequireMention, Ft as saveMediaBuffer, Q as recordSessionMetaFromInbound, Tt as resolveChannelGroupPolicy, X as loadSessionStore, Z as readSessionUpdatedAt, et as updateLastRoute, kt as resolveGroupSessionKey } from "./pi-embedded-helpers-
|
|
11
|
+
import { Et as resolveChannelGroupRequireMention, Ft as saveMediaBuffer, Q as recordSessionMetaFromInbound, Tt as resolveChannelGroupPolicy, X as loadSessionStore, Z as readSessionUpdatedAt, et as updateLastRoute, kt as resolveGroupSessionKey } from "./pi-embedded-helpers-D3YxFr03.js";
|
|
12
12
|
import "./pi-model-discovery-DWTTaAgY.js";
|
|
13
|
-
import "./chrome-
|
|
13
|
+
import "./chrome-BR14_3nU.js";
|
|
14
14
|
import { s as resolveStorePath } from "./paths-CdHoK26P.js";
|
|
15
15
|
import "./tool-images-IRIIkjuN.js";
|
|
16
|
-
import "./image-
|
|
16
|
+
import "./image-CIO7-OG5.js";
|
|
17
17
|
import "./manager-CyBrtpKf.js";
|
|
18
18
|
import "./sqlite-CUiUMvKy.js";
|
|
19
19
|
import "./redact-DO22U0Pj.js";
|
|
@@ -21,11 +21,11 @@ import "./common-Cc-WjVcX.js";
|
|
|
21
21
|
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, g as resolveTextChunkLimit, h as resolveChunkMode, s as getAgentScopedMediaLocalRoots } from "./ir-DtbNyKoK.js";
|
|
22
22
|
import "./fetch-CE6hQpN5.js";
|
|
23
23
|
import { i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-B5CpzLkd.js";
|
|
24
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
24
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-DED-FFOX.js";
|
|
25
25
|
import "./proxy-_LH9fwZb.js";
|
|
26
26
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-CiwcmjCA.js";
|
|
27
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
28
|
-
import { t as loginWeb } from "./login-
|
|
27
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-D6tofP8g.js";
|
|
28
|
+
import { t as loginWeb } from "./login-VGpbFNYL.js";
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
31
31
|
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { v as DEFAULT_MAIN_KEY, w as normalizeAgentId, x as buildGroupHistoryKey, y as buildAgentMainSessionKey } from "./workspace-
|
|
3
|
-
import { G as jidToE164, I as clamp, K as normalizeE164, W as isSelfChatMode, Y as resolveJidToE164, ct as shouldLogVerbose, d as defaultRuntime, et as sleep, l as createSubsystemLogger, mt as getChildLogger, nt as toWhatsappJid, ot as logVerbose } from "./exec-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./deliver-
|
|
6
|
-
import { B as formatInboundEnvelope, C as parseActivationCommand, D as readChannelAllowFromStore, E as formatDurationPrecise, G as normalizeMentionText, H as hasControlCommand, I as enqueueSystemEvent, L as finalizeInboundContext, O as upsertChannelPairingRequest, R as createInboundDebouncer, S as normalizeGroupActivation, U as shouldComputeCommandAuthorized, V as resolveEnvelopeFormatOptions, W as buildMentionRegexes, _ as buildAgentSessionKey, a as buildPairingReply, c as buildHistoryContextFromEntries, d as dispatchReplyWithBufferedBlockDispatcher, et as resolveIdentityNamePrefix, f as createDedupeCache, i as createReplyPrefixOptions, l as recordPendingHistoryEntryIfEnabled, n as computeBackoff, o as resolveMentionGating, p as getReplyFromConfig, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, tt as resolveMessagePrefix, u as shouldAckReactionForWhatsApp, v as resolveAgentRoute, z as resolveInboundDebounceMs } from "./pi-embedded-
|
|
7
|
-
import "./image-ops-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { v as DEFAULT_MAIN_KEY, w as normalizeAgentId, x as buildGroupHistoryKey, y as buildAgentMainSessionKey } from "./workspace-LSLFINSz.js";
|
|
3
|
+
import { G as jidToE164, I as clamp, K as normalizeE164, W as isSelfChatMode, Y as resolveJidToE164, ct as shouldLogVerbose, d as defaultRuntime, et as sleep, l as createSubsystemLogger, mt as getChildLogger, nt as toWhatsappJid, ot as logVerbose } from "./exec-C9rZpEqA.js";
|
|
4
|
+
import "./agent-scope-BIw4Bz2L.js";
|
|
5
|
+
import "./deliver-BDm1hy0O.js";
|
|
6
|
+
import { B as formatInboundEnvelope, C as parseActivationCommand, D as readChannelAllowFromStore, E as formatDurationPrecise, G as normalizeMentionText, H as hasControlCommand, I as enqueueSystemEvent, L as finalizeInboundContext, O as upsertChannelPairingRequest, R as createInboundDebouncer, S as normalizeGroupActivation, U as shouldComputeCommandAuthorized, V as resolveEnvelopeFormatOptions, W as buildMentionRegexes, _ as buildAgentSessionKey, a as buildPairingReply, c as buildHistoryContextFromEntries, d as dispatchReplyWithBufferedBlockDispatcher, et as resolveIdentityNamePrefix, f as createDedupeCache, i as createReplyPrefixOptions, l as recordPendingHistoryEntryIfEnabled, n as computeBackoff, o as resolveMentionGating, p as getReplyFromConfig, r as sleepWithAbort, s as DEFAULT_GROUP_HISTORY_LIMIT, tt as resolveMessagePrefix, u as shouldAckReactionForWhatsApp, v as resolveAgentRoute, z as resolveInboundDebounceMs } from "./pi-embedded-BG60ofaK.js";
|
|
7
|
+
import "./image-ops-7EDUjzca.js";
|
|
8
8
|
import "./boolean-Bb19hm9Y.js";
|
|
9
|
-
import "./model-auth-
|
|
9
|
+
import "./model-auth-BBAJ-iuC.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
|
|
11
|
-
import { A as resolveWhatsAppAccount, H as webAuthExists, I as pickWebChannel, M as getWebAuthAgeMs, N as logWebSelfId, R as readWebSelfId, j as WA_WEB_AUTH_DIR, n as loadConfig } from "./config-
|
|
12
|
-
import "./send-
|
|
13
|
-
import "./send-
|
|
14
|
-
import { I as formatLocationText, L as toLocationContext } from "./send-
|
|
15
|
-
import "./github-copilot-token-
|
|
11
|
+
import { A as resolveWhatsAppAccount, H as webAuthExists, I as pickWebChannel, M as getWebAuthAgeMs, N as logWebSelfId, R as readWebSelfId, j as WA_WEB_AUTH_DIR, n as loadConfig } from "./config-BA8Xs1ek.js";
|
|
12
|
+
import "./send-BMQRcdbF.js";
|
|
13
|
+
import "./send-DzhCsWw9.js";
|
|
14
|
+
import { I as formatLocationText, L as toLocationContext } from "./send-CNibEQip.js";
|
|
15
|
+
import "./github-copilot-token-BXEGgIt5.js";
|
|
16
16
|
import "./pi-model-discovery-Cexg1XRf.js";
|
|
17
|
-
import { $ as updateLastRoute, Et as resolveChannelGroupRequireMention, Q as recordSessionMetaFromInbound, Tt as resolveChannelGroupPolicy, X as loadSessionStore, Z as readSessionUpdatedAt, kt as resolveGroupSessionKey } from "./pi-embedded-helpers-
|
|
18
|
-
import "./chrome-
|
|
19
|
-
import "./frontmatter-
|
|
20
|
-
import { r as saveMediaBuffer } from "./store-
|
|
21
|
-
import { s as resolveStorePath } from "./paths-
|
|
22
|
-
import "./tool-images-
|
|
23
|
-
import "./image-
|
|
24
|
-
import "./manager-
|
|
25
|
-
import "./sqlite-
|
|
26
|
-
import "./retry-
|
|
17
|
+
import { $ as updateLastRoute, Et as resolveChannelGroupRequireMention, Q as recordSessionMetaFromInbound, Tt as resolveChannelGroupPolicy, X as loadSessionStore, Z as readSessionUpdatedAt, kt as resolveGroupSessionKey } from "./pi-embedded-helpers-CpicJuB_.js";
|
|
18
|
+
import "./chrome-DBVAzVv0.js";
|
|
19
|
+
import "./frontmatter-Bk_vZq47.js";
|
|
20
|
+
import { r as saveMediaBuffer } from "./store-B6Y3aOaY.js";
|
|
21
|
+
import { s as resolveStorePath } from "./paths-CMYSfM3T.js";
|
|
22
|
+
import "./tool-images-DRiKq4of.js";
|
|
23
|
+
import "./image-Dv7bJ1hC.js";
|
|
24
|
+
import "./manager-ihPMEKim.js";
|
|
25
|
+
import "./sqlite-Bfoh6OgV.js";
|
|
26
|
+
import "./retry-B0RhK9tX.js";
|
|
27
27
|
import "./redact-C1ne-kC_.js";
|
|
28
|
-
import "./common-
|
|
29
|
-
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, g as resolveTextChunkLimit, h as resolveChunkMode, s as getAgentScopedMediaLocalRoots } from "./ir-
|
|
30
|
-
import "./fetch-
|
|
28
|
+
import "./common-BB2PeD4P.js";
|
|
29
|
+
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, g as resolveTextChunkLimit, h as resolveChunkMode, s as getAgentScopedMediaLocalRoots } from "./ir-eyTjTBlP.js";
|
|
30
|
+
import "./fetch-Dyb5pqye.js";
|
|
31
31
|
import "./render-DSLzcBxk.js";
|
|
32
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
33
|
-
import "./send-
|
|
34
|
-
import "./outbound-attachment-
|
|
35
|
-
import "./send-
|
|
36
|
-
import { n as recordChannelActivity } from "./channel-activity
|
|
37
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
32
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-D2IJZlUb.js";
|
|
33
|
+
import "./send-BRIcpOAj.js";
|
|
34
|
+
import "./outbound-attachment-BAu7a9Bk.js";
|
|
35
|
+
import "./send-CWOrEtrR.js";
|
|
36
|
+
import { n as recordChannelActivity } from "./channel-activity-C4rZNocg.js";
|
|
37
|
+
import { t as convertMarkdownTables } from "./tables-BhgdJIJu.js";
|
|
38
38
|
import "./proxy-D9Y1zsMX.js";
|
|
39
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
40
|
-
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
41
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
42
|
-
import { t as loginWeb } from "./login-
|
|
39
|
+
import { r as setActiveWebListener } from "./active-listener-BIBYF9eG.js";
|
|
40
|
+
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-N8cZjkHg.js";
|
|
41
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-B8WbAuC_.js";
|
|
42
|
+
import { t as loginWeb } from "./login-DCWvNOhj.js";
|
|
43
43
|
import { randomUUID } from "node:crypto";
|
|
44
44
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
45
45
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import "./workspace-
|
|
3
|
-
import "./exec-
|
|
4
|
-
import "./agent-scope-
|
|
5
|
-
import "./image-ops-
|
|
1
|
+
import "./paths-CyR9Pa1R.js";
|
|
2
|
+
import "./workspace-LSLFINSz.js";
|
|
3
|
+
import "./exec-C9rZpEqA.js";
|
|
4
|
+
import "./agent-scope-BIw4Bz2L.js";
|
|
5
|
+
import "./image-ops-7EDUjzca.js";
|
|
6
6
|
import "./boolean-Bb19hm9Y.js";
|
|
7
|
-
import "./model-auth-
|
|
8
|
-
import "./config-
|
|
9
|
-
import "./github-copilot-token-
|
|
10
|
-
import "./tool-images-
|
|
11
|
-
import { i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-
|
|
12
|
-
import "./ir-
|
|
13
|
-
import "./fetch-
|
|
7
|
+
import "./model-auth-BBAJ-iuC.js";
|
|
8
|
+
import "./config-BA8Xs1ek.js";
|
|
9
|
+
import "./github-copilot-token-BXEGgIt5.js";
|
|
10
|
+
import "./tool-images-DRiKq4of.js";
|
|
11
|
+
import { i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-BB2PeD4P.js";
|
|
12
|
+
import "./ir-eyTjTBlP.js";
|
|
13
|
+
import "./fetch-Dyb5pqye.js";
|
|
14
14
|
import "./render-DSLzcBxk.js";
|
|
15
|
-
import "./tables-
|
|
16
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
15
|
+
import "./tables-BhgdJIJu.js";
|
|
16
|
+
import { r as sendReactionWhatsApp } from "./outbound-N8cZjkHg.js";
|
|
17
17
|
|
|
18
18
|
//#region src/agents/tools/whatsapp-actions.ts
|
|
19
19
|
async function handleWhatsAppAction(params, cfg) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { X as resolveUserPath, q as pathExists, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { u as resolveRequiredHomeDir } from "./paths-CyR9Pa1R.js";
|
|
2
|
+
import { X as resolveUserPath, q as pathExists, t as runCommandWithTimeout } from "./exec-C9rZpEqA.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs$1 from "node:fs";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
9
|
//#region src/sessions/session-key-utils.ts
|
|
@@ -195,7 +195,7 @@ async function readPackageName(dir) {
|
|
|
195
195
|
}
|
|
196
196
|
function readPackageNameSync(dir) {
|
|
197
197
|
try {
|
|
198
|
-
const raw =
|
|
198
|
+
const raw = fs$1.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
199
199
|
const parsed = JSON.parse(raw);
|
|
200
200
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
201
201
|
} catch {
|
|
@@ -228,7 +228,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
228
228
|
const normalized = path.resolve(argv1);
|
|
229
229
|
const candidates = [path.dirname(normalized)];
|
|
230
230
|
try {
|
|
231
|
-
const resolved =
|
|
231
|
+
const resolved = fs$1.realpathSync(normalized);
|
|
232
232
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
233
233
|
} catch {}
|
|
234
234
|
const parts = normalized.split(path.sep);
|
package/package.json
CHANGED