@multiplytech/openclaw 2026.2.15-pairing-code.3 → 2026.2.15-pairing-code.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/{accounts-DyinIlq4.js → accounts-BvmssTEF.js} +1 -1
- package/dist/{accounts-Bu2DSNpQ.js → accounts-CyxQBpl8.js} +1 -1
- package/dist/{active-listener-BIBYF9eG.js → active-listener-BruG-udz.js} +1 -1
- package/dist/{agent-DTNvKM2P.js → agent-BxxBd9wX.js} +2 -2
- package/dist/{agent-DoKOzDAt.js → agent-D0LfsEPF.js} +2 -2
- package/dist/{agent-scope-BIw4Bz2L.js → agent-scope-DUn-XVYs.js} +3 -3
- package/dist/{agents-DB8xHohl.js → agents-jAnRMd-A.js} +2 -2
- package/dist/{audio-preflight-BHSwqB70.js → audio-preflight-CbR1q2CT.js} +17 -17
- package/dist/{audio-preflight-CeC5WuRi.js → audio-preflight-kYQdd_bY.js} +4 -4
- package/dist/{auth-choice-CTK4oGkS.js → auth-choice-B6AdPtCu.js} +1 -1
- package/dist/{auth-choice-C3--CpEI.js → auth-choice-GrNENivg.js} +1 -1
- package/dist/{banner-DlnL7Slb.js → banner-D3tgjbUi.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-C4rZNocg.js → channel-activity--HqvQlN3.js} +1 -1
- package/dist/{channel-options-DjpVPRIl.js → channel-options-C0ayB7mx.js} +1 -1
- package/dist/{channel-options-DTszr7UZ.js → channel-options-CgdgqIte.js} +1 -1
- package/dist/{channel-web-D7bde6n5.js → channel-web-BTTW7H_d.js} +2 -2
- package/dist/{channels-cli-u2oRC89U.js → channels-cli-BcDsE2LA.js} +4 -4
- package/dist/{channels-cli-HhdoLxhz.js → channels-cli-p5hPpQzH.js} +4 -4
- package/dist/{chrome-BR14_3nU.js → chrome-B2PpxswT.js} +7 -7
- package/dist/{chrome-DlM4kwMc.js → chrome-BtogRifc.js} +18 -18
- package/dist/{cli-BmEEG6LF.js → cli-Cwzdze-z.js} +1 -1
- package/dist/{cli-DALx-L2z.js → cli-Oxxb4axp.js} +1 -1
- package/dist/{command-registry-Zu61QmVf.js → command-registry-C8q1jb3h.js} +9 -9
- package/dist/{common-BB2PeD4P.js → common-BJE3S8zA.js} +2 -2
- package/dist/{completion-cli-sZBZnfMK.js → completion-cli-CIcsx6ic.js} +1 -1
- package/dist/{completion-cli-C-q-FkeT.js → completion-cli-DQd6XSG4.js} +2 -2
- package/dist/{config-BA8Xs1ek.js → config-CYlbDcBt.js} +34 -34
- package/dist/{config-cli-CGOyIowg.js → config-cli-BmW3yfH6.js} +1 -1
- package/dist/{config-cli-BWKb4EMZ.js → config-cli-CZLDgS2E.js} +1 -1
- package/dist/{configure-DOqQjooh.js → configure-B0_p6Z1n.js} +3 -3
- package/dist/{configure-Vvq-cip8.js → configure-CRaYQ6hS.js} +3 -3
- package/dist/{deliver-CV4a0MBa.js → deliver-BwXnLuWH.js} +16 -16
- package/dist/{deliver-DOrBYvPC.js → deliver-C7HjLIB7.js} +1 -1
- package/dist/{deps-CtD8VF2g.js → deps-i6fBS1Dw.js} +1 -1
- package/dist/{doctor-DtN-z3_C.js → doctor-AUivq-af.js} +4 -4
- package/dist/{doctor-C4_8AvIH.js → doctor-Cs7rfmA-.js} +4 -4
- package/dist/{doctor-completion-I1dEiTU-.js → doctor-completion-C2PR6GJF.js} +1 -1
- package/dist/{doctor-completion-CHjJchGS.js → doctor-completion-CtBAIy0Z.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-C9rZpEqA.js → exec-C_bNT00b.js} +17 -17
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-Dyb5pqye.js → fetch-mr22CaT4.js} +2 -2
- package/dist/{frontmatter-Bk_vZq47.js → frontmatter-BetN20QN.js} +2 -2
- package/dist/{gateway-cli-CjGNIUv4.js → gateway-cli-BgGnL3cE.js} +9 -9
- package/dist/{gateway-cli-DLgphSfL.js → gateway-cli-M8r3XcpJ.js} +9 -9
- package/dist/{github-copilot-token-BXEGgIt5.js → github-copilot-token-U5JrmjNt.js} +7 -7
- package/dist/{health-B7GSkRWi.js → health-BqoIIu1u.js} +2 -2
- package/dist/{health-CZTNBGMI.js → health-shfUNbPM.js} +2 -2
- package/dist/{heartbeat-visibility-B9nOsKDd.js → heartbeat-visibility-BEMg5PJB.js} +1 -1
- package/dist/{heartbeat-visibility-Dgp5aP37.js → heartbeat-visibility-B_kubgRp.js} +1 -1
- package/dist/{hooks-cli-CB0R6yP9.js → hooks-cli-99NPDBK1.js} +2 -2
- package/dist/{hooks-cli-C8IQCUf9.js → hooks-cli-ec5DFn5g.js} +2 -2
- package/dist/{image-CIO7-OG5.js → image-CRFk69Io.js} +1 -1
- package/dist/{image-DVTZYmDL.js → image-DN3RgnPr.js} +4 -4
- package/dist/{image-ops-7EDUjzca.js → image-ops-CKPJXWk4.js} +9 -9
- package/dist/index.js +9 -9
- package/dist/{ir-eyTjTBlP.js → ir-C-hSqOPD.js} +6 -6
- package/dist/llm-slug-generator.js +32 -32
- package/dist/{login-NEYiBobK.js → login-BFkQgAbM.js} +1 -1
- package/dist/{login-CfzZlhYy.js → login-CmhHGO4I.js} +1 -1
- package/dist/{login-CrD6iwIT.js → login-CwQj2jUX.js} +1 -1
- package/dist/{login-CFjSEIg1.js → login-Dydm4XDa.js} +3 -3
- package/dist/{login-qr-B92LRmnh.js → login-qr-B_NTKK4T.js} +1 -1
- package/dist/{login-qr-LM0fkvty.js → login-qr-BrIxb_5N.js} +8 -8
- package/dist/{login-qr-CmkMkiw0.js → login-qr-CEOlIdRe.js} +1 -1
- package/dist/{login-qr-D3hsc4br.js → login-qr-CF5T7Eew.js} +1 -1
- package/dist/{manager-ihPMEKim.js → manager-Ec86Dapd.js} +10 -10
- package/dist/{model-auth-BBAJ-iuC.js → model-auth-COYibYBO.js} +8 -8
- package/dist/{models-VeXFWmzm.js → models-D688pDKn.js} +2 -2
- package/dist/{models-cli-fOdGdULJ.js → models-cli-CcHjNOe3.js} +3 -3
- package/dist/{models-cli-QFp-Qadk.js → models-cli-GWtfGvki.js} +2 -2
- package/dist/{onboard-DkkjXP5u.js → onboard-BmB1TAqN.js} +2 -2
- package/dist/{onboard-ApR__J6N.js → onboard-C5_njUCe.js} +2 -2
- package/dist/{onboard-channels-Oo2BI8vk.js → onboard-channels-BATBIQiN.js} +1 -1
- package/dist/{onboard-channels-CTkeYXWn.js → onboard-channels-BeXdUwL0.js} +1 -1
- package/dist/{onboarding-BvGs6yhQ.js → onboarding-Cjbb0fRA.js} +3 -3
- package/dist/{onboarding-DE9maYL1.js → onboarding-txZtcVMA.js} +3 -3
- package/dist/{onboarding.finalize-DFyOM5B6.js → onboarding.finalize-BI8zTyGF.js} +6 -6
- package/dist/{onboarding.finalize-CS-chLDk.js → onboarding.finalize-CSj3Rf0J.js} +5 -5
- package/dist/{outbound-N8cZjkHg.js → outbound-C8YnTFjo.js} +5 -5
- package/dist/{outbound-attachment-BAu7a9Bk.js → outbound-attachment-C8Qf4dh8.js} +2 -2
- package/dist/{outbound-send-deps-SJCtmIUG.js → outbound-send-deps-BCi2C-Sb.js} +1 -1
- package/dist/{paths-CMYSfM3T.js → paths-Bbik2tb_.js} +2 -2
- package/dist/{paths-CyR9Pa1R.js → paths-CkkDESQ2.js} +5 -5
- package/dist/{pi-auth-json-BX0whbu8.js → pi-auth-json-MhfZXNOP.js} +6 -6
- package/dist/{pi-embedded-D_ek_HF_.js → pi-embedded-8ou24X6D.js} +18 -18
- package/dist/{pi-embedded-helpers-DHT11gwA.js → pi-embedded-helpers-DmwtjJVo.js} +48 -48
- package/dist/{pi-embedded-helpers-D3YxFr03.js → pi-embedded-helpers-Dow6Qreh.js} +4 -4
- package/dist/{pi-embedded-DyKQ3bSU.js → pi-embedded-wVlKSjNK.js} +120 -120
- package/dist/{plugin-registry-Dcizpoio.js → plugin-registry-D_bG1PT_.js} +1 -1
- package/dist/{plugin-registry-DBpayaga.js → plugin-registry-N4ZFQdQ9.js} +1 -1
- package/dist/plugin-sdk/{active-listener-CFLZdKRQ.js → active-listener-CkyAenz6.js} +2 -2
- package/dist/plugin-sdk/{agent-scope-ip6rBrUD.js → agent-scope-DWZdK6Cr.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-C0NlyreL.js → audio-preflight-BzSvof9i.js} +12 -12
- package/dist/plugin-sdk/{channel-web-Za6SnC7J.js → channel-web-BXr_pHKk.js} +11 -11
- package/dist/plugin-sdk/{chrome-OZ5Ge8PR.js → chrome-BLYh1Ek9.js} +1 -1
- package/dist/plugin-sdk/{common-pKa0kElY.js → common-STTVkT-Z.js} +2 -2
- package/dist/plugin-sdk/{config-DelXkt58.js → config-iUJxJaTT.js} +8 -8
- package/dist/plugin-sdk/{deliver-ebYNQy_5.js → deliver-Bkdn7hYJ.js} +6 -6
- package/dist/plugin-sdk/{exec-C5lqk9X4.js → exec-9HIVkGqi.js} +2 -2
- package/dist/plugin-sdk/{fetch-Cw_7QfME.js → fetch-DjHoyhHv.js} +2 -2
- package/dist/plugin-sdk/{image-2KL1DOmN.js → image-DolmBtru.js} +4 -4
- package/dist/plugin-sdk/{image-ops-zm4O3fkk.js → image-ops-DvO68zWD.js} +4 -4
- package/dist/plugin-sdk/index.js +23 -23
- package/dist/plugin-sdk/{ir-BEwiHV7R.js → ir-D6TOa8wy.js} +4 -4
- package/dist/plugin-sdk/{login-DG-oB1Gg.js → login-CGRU_9Nh.js} +3 -3
- package/dist/plugin-sdk/{login-qr-DjYOgNGQ.js → login-qr-D6D-dPg-.js} +5 -5
- package/dist/plugin-sdk/{manager-Cqyl7HDP.js → manager-DSG4npLd.js} +5 -5
- package/dist/plugin-sdk/{model-selection-DHMRsTNB.js → model-selection-BfTuBvS4.js} +2 -2
- package/dist/plugin-sdk/{outbound-DT2nH6dY.js → outbound-BuWEi6UJ.js} +4 -4
- package/dist/plugin-sdk/{paths-wRVSwmkX.js → paths-6C0IeDIg.js} +1 -1
- package/dist/plugin-sdk/{pi-auth-json-XTF0mVQ6.js → pi-auth-json-CdSpUvvH.js} +3 -3
- package/dist/plugin-sdk/{pi-embedded-helpers-C3_rwWkJ.js → pi-embedded-helpers-rNIrRqeN.js} +13 -13
- package/dist/plugin-sdk/{pw-ai-BYr2wRwE.js → pw-ai-DHGDCfpy.js} +2 -2
- package/dist/plugin-sdk/{qmd-manager-CY7j7J3V.js → qmd-manager-D0FXZkrS.js} +4 -4
- package/dist/plugin-sdk/{reply-CnWG5ty5.js → reply-BvOTUN2t.js} +35 -35
- package/dist/plugin-sdk/{runner-DxPwS4ed.js → runner-CaaUwzMJ.js} +7 -7
- package/dist/plugin-sdk/{session-BO6X9uoj.js → session-Cjs4HuZk.js} +9 -4
- package/dist/plugin-sdk/{sqlite-CKrK6KKr.js → sqlite-QNHsO4bW.js} +2 -2
- package/dist/plugin-sdk/{tool-images-C4GaQjrF.js → tool-images-BuctNDly.js} +2 -2
- package/dist/plugin-sdk/web-CUrXnjRV.js +30 -0
- package/dist/plugin-sdk/{whatsapp-actions-C5T64qvX.js → whatsapp-actions-3adtwpVJ.js} +11 -11
- package/dist/{plugins-cli-Dc9-hwnS.js → plugins-cli-CFOLjXM-.js} +2 -2
- package/dist/{plugins-cli-ByM99YMv.js → plugins-cli-D2KHK9jR.js} +2 -2
- package/dist/{program-CxbZh7UH.js → program-B9I5xkOF.js} +7 -7
- package/dist/{program-context-BAwPjqcT.js → program-context-C3C2WLNP.js} +17 -17
- package/dist/{provider-auth-helpers-BHnRj7nc.js → provider-auth-helpers-DIPDa8Lw.js} +1 -1
- package/dist/{provider-auth-helpers-iolF14w8.js → provider-auth-helpers-DYPDXQQP.js} +1 -1
- package/dist/{pw-ai-xh9cPTDX.js → pw-ai-BCyIw4W4.js} +3 -3
- package/dist/{pw-ai-QsOEPS_1.js → pw-ai-Bbd79y0r.js} +1 -1
- package/dist/{qmd-manager-DtmZgEoS.js → qmd-manager-CgC5sB-T.js} +6 -6
- package/dist/{register.agent-BBVjFp8Y.js → register.agent-BedOGhk-.js} +7 -7
- package/dist/{register.agent-C4IrpTkN.js → register.agent-JL4_r2Jb.js} +6 -6
- package/dist/{register.configure-CUZo4Aot.js → register.configure-D_-8trFJ.js} +6 -6
- package/dist/{register.configure-aZaemwQh.js → register.configure-U45T1EJ-.js} +6 -6
- package/dist/{register.maintenance-BUk55ZfL.js → register.maintenance-BNhGCK92.js} +7 -7
- package/dist/{register.maintenance-k-FF9sjN.js → register.maintenance-TMdlbc45.js} +8 -8
- package/dist/{register.message-rDz6Pyj3.js → register.message-BdQletmJ.js} +3 -3
- package/dist/{register.message-C85LDxMG.js → register.message-DKw_hGiP.js} +3 -3
- package/dist/{register.onboard-qQ-XzgeJ.js → register.onboard-D5LHgdqV.js} +4 -4
- package/dist/{register.onboard-DoeqvAhF.js → register.onboard-DVHlSfZa.js} +4 -4
- package/dist/{register.setup-BYePf2X9.js → register.setup-CAVftQvz.js} +4 -4
- package/dist/{register.setup-UW5rhwoL.js → register.setup-Dfhxwzgk.js} +4 -4
- package/dist/{register.status-health-sessions-C7tVEUfl.js → register.status-health-sessions-YCJQ83my.js} +3 -3
- package/dist/{register.status-health-sessions-D-e34zX_.js → register.status-health-sessions-ixyM5rDz.js} +3 -3
- package/dist/{register.subclis-tuSSdE3-.js → register.subclis-D-kjKwwz.js} +9 -9
- package/dist/{reply-jLqhHIBQ.js → reply-d6yV4wB_.js} +4 -4
- package/dist/{retry-B0RhK9tX.js → retry-D1bxhFWp.js} +1 -1
- package/dist/{run-main-B3U7jH0W.js → run-main-D5duEqg3.js} +14 -14
- package/dist/{runner-nMdrG8eK.js → runner-DGYLHL8R.js} +7 -7
- package/dist/{runner-DED-FFOX.js → runner-oDUAvejt.js} +1 -1
- package/dist/{send-BRIcpOAj.js → send-CKSrJ7se.js} +5 -5
- package/dist/{send-DzhCsWw9.js → send-DULTJ0oK.js} +7 -7
- package/dist/{send-CNibEQip.js → send-Df7eglyR.js} +6 -6
- package/dist/{send-CWOrEtrR.js → send-DjP-Miy_.js} +7 -7
- package/dist/{send-BMQRcdbF.js → send-z4yxEOnF.js} +4 -4
- package/dist/{server-node-events-CKA4Mn5e.js → server-node-events-BE6fD68d.js} +3 -3
- package/dist/{server-node-events-CF_WTOvc.js → server-node-events-C51Bayv9.js} +3 -3
- package/dist/{session-BrloLgwj.js → session-2uX9t1PO.js} +13 -8
- package/dist/{session-D0vLMCo1.js → session-B5I8E41_.js} +7 -2
- package/dist/{session-EJQdFRC5.js → session-Bu5MF744.js} +7 -2
- package/dist/{session-CJ3QUnhn.js → session-ZppYapGg.js} +7 -2
- package/dist/{sqlite-Bfoh6OgV.js → sqlite-CBMbuGLX.js} +4 -4
- package/dist/{status-D0bufmRu.js → status-8g-vfjfP.js} +2 -2
- package/dist/{status-DfjRvBXf.js → status-BRNeaZhV.js} +1 -1
- package/dist/{status-DrjhxuYR.js → status-D0P0XQqw.js} +1 -1
- package/dist/{status-DVBJLUIs.js → status-NfZ6FkuQ.js} +2 -2
- package/dist/{store-B6Y3aOaY.js → store-m4I2z_5t.js} +2 -2
- package/dist/{subagent-registry-Do5aAYdm.js → subagent-registry-DJBVFvb4.js} +4 -4
- package/dist/{tables-BhgdJIJu.js → tables-7DihLyDw.js} +1 -1
- package/dist/{tool-images-DRiKq4of.js → tool-images-hzyBQ0Og.js} +2 -2
- package/dist/{update-cli-COHKHs55.js → update-cli-BOXR9slg.js} +7 -7
- package/dist/{update-cli-Dz5XBQ_v.js → update-cli-BZ2fDrwx.js} +8 -8
- package/dist/{update-runner-DIgoatPE.js → update-runner-B55O98W8.js} +1 -1
- package/dist/{update-runner-rbu-IrlQ.js → update-runner-BZFeJzUi.js} +1 -1
- package/dist/{web-B-mup9LH.js → web-By5urMji.js} +4 -4
- package/dist/{web-BTK9UUaM.js → web-C5vqAHQC.js} +36 -36
- package/dist/{web-DIO2jYwG.js → web-CtSLAgT_.js} +3 -3
- package/dist/{web-RzuY5nXI.js → web-DoaI-RpC.js} +8 -8
- package/dist/{whatsapp-actions-x16Ismcy.js → whatsapp-actions-C4JR_6XT.js} +14 -14
- package/dist/{workspace-LSLFINSz.js → workspace-CgGZnIx_.js} +5 -5
- package/package.json +2 -1
- package/dist/plugin-sdk/web-DY7ps8Jl.js +0 -30
|
@@ -12,7 +12,7 @@ import { F as VERSION, I as loadDotEnv } from "./config-B4-Vvu6M.js";
|
|
|
12
12
|
import "./client-gZv0X5tz.js";
|
|
13
13
|
import "./call-CeM4F1rK.js";
|
|
14
14
|
import "./message-channel-CZpVDeRr.js";
|
|
15
|
-
import "./subagent-registry-
|
|
15
|
+
import "./subagent-registry-DJBVFvb4.js";
|
|
16
16
|
import "./sessions-D-LiJehh.js";
|
|
17
17
|
import "./deliver-a9TlmfSI.js";
|
|
18
18
|
import "./plugins-bX81iDy5.js";
|
|
@@ -77,9 +77,9 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-DLNEUoxZ.js";
|
|
|
77
77
|
import "./catalog-D8aoRgov.js";
|
|
78
78
|
import "./note-Ct8WrG6i.js";
|
|
79
79
|
import "./plugin-auto-enable-HOn7pv4J.js";
|
|
80
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
80
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-N4ZFQdQ9.js";
|
|
81
81
|
import { t as assertSupportedRuntime } from "./runtime-guard-BJ-Lma1A.js";
|
|
82
|
-
import { t as emitCliBanner } from "./banner-
|
|
82
|
+
import { t as emitCliBanner } from "./banner-D3tgjbUi.js";
|
|
83
83
|
import "./doctor-config-flow-BADnjHsM.js";
|
|
84
84
|
import { n as ensureConfigReady } from "./config-guard-BM6aqv0G.js";
|
|
85
85
|
import process$1 from "node:process";
|
|
@@ -94,7 +94,7 @@ const routeHealth = {
|
|
|
94
94
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
95
95
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
96
96
|
if (timeoutMs === null) return false;
|
|
97
|
-
const { healthCommand } = await import("./health-
|
|
97
|
+
const { healthCommand } = await import("./health-shfUNbPM.js").then((n) => n.i);
|
|
98
98
|
await healthCommand({
|
|
99
99
|
json,
|
|
100
100
|
timeoutMs,
|
|
@@ -114,7 +114,7 @@ const routeStatus = {
|
|
|
114
114
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
115
115
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
116
116
|
if (timeoutMs === null) return false;
|
|
117
|
-
const { statusCommand } = await import("./status-
|
|
117
|
+
const { statusCommand } = await import("./status-8g-vfjfP.js").then((n) => n.t);
|
|
118
118
|
await statusCommand({
|
|
119
119
|
json,
|
|
120
120
|
deep,
|
|
@@ -148,7 +148,7 @@ const routeAgentsList = {
|
|
|
148
148
|
run: async (argv) => {
|
|
149
149
|
const json = hasFlag(argv, "--json");
|
|
150
150
|
const bindings = hasFlag(argv, "--bindings");
|
|
151
|
-
const { agentsListCommand } = await import("./agents-
|
|
151
|
+
const { agentsListCommand } = await import("./agents-jAnRMd-A.js").then((n) => n.t);
|
|
152
152
|
await agentsListCommand({
|
|
153
153
|
json,
|
|
154
154
|
bindings
|
|
@@ -219,7 +219,7 @@ const routes = [
|
|
|
219
219
|
const pathArg = getCommandPositionals(argv)[2];
|
|
220
220
|
if (!pathArg) return false;
|
|
221
221
|
const json = hasFlag(argv, "--json");
|
|
222
|
-
const { runConfigGet } = await import("./config-cli-
|
|
222
|
+
const { runConfigGet } = await import("./config-cli-BmW3yfH6.js");
|
|
223
223
|
await runConfigGet({
|
|
224
224
|
path: pathArg,
|
|
225
225
|
json
|
|
@@ -232,7 +232,7 @@ const routes = [
|
|
|
232
232
|
run: async (argv) => {
|
|
233
233
|
const pathArg = getCommandPositionals(argv)[2];
|
|
234
234
|
if (!pathArg) return false;
|
|
235
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
235
|
+
const { runConfigUnset } = await import("./config-cli-BmW3yfH6.js");
|
|
236
236
|
await runConfigUnset({ path: pathArg });
|
|
237
237
|
return true;
|
|
238
238
|
}
|
|
@@ -246,7 +246,7 @@ const routes = [
|
|
|
246
246
|
const local = hasFlag(argv, "--local");
|
|
247
247
|
const json = hasFlag(argv, "--json");
|
|
248
248
|
const plain = hasFlag(argv, "--plain");
|
|
249
|
-
const { modelsListCommand } = await import("./models-
|
|
249
|
+
const { modelsListCommand } = await import("./models-D688pDKn.js").then((n) => n.t);
|
|
250
250
|
await modelsListCommand({
|
|
251
251
|
all,
|
|
252
252
|
local,
|
|
@@ -277,7 +277,7 @@ const routes = [
|
|
|
277
277
|
const plain = hasFlag(argv, "--plain");
|
|
278
278
|
const check = hasFlag(argv, "--check");
|
|
279
279
|
const probe = hasFlag(argv, "--probe");
|
|
280
|
-
const { modelsStatusCommand } = await import("./models-
|
|
280
|
+
const { modelsStatusCommand } = await import("./models-D688pDKn.js").then((n) => n.t);
|
|
281
281
|
await modelsStatusCommand({
|
|
282
282
|
json,
|
|
283
283
|
plain,
|
|
@@ -355,7 +355,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
355
355
|
assertSupportedRuntime();
|
|
356
356
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
357
357
|
enableConsoleCapture();
|
|
358
|
-
const { buildProgram } = await import("./program-
|
|
358
|
+
const { buildProgram } = await import("./program-B9I5xkOF.js");
|
|
359
359
|
const program = buildProgram();
|
|
360
360
|
installUnhandledRejectionHandler();
|
|
361
361
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -368,10 +368,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
368
368
|
const { getProgramContext } = await import("./program-context-D2pNx-CZ.js").then((n) => n.n);
|
|
369
369
|
const ctx = getProgramContext(program);
|
|
370
370
|
if (ctx) {
|
|
371
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
371
|
+
const { registerCoreCliByName } = await import("./command-registry-C8q1jb3h.js").then((n) => n.t);
|
|
372
372
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
373
373
|
}
|
|
374
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
374
|
+
const { registerSubCliByName } = await import("./register.subclis-D-kjKwwz.js").then((n) => n.i);
|
|
375
375
|
await registerSubCliByName(program, primary);
|
|
376
376
|
}
|
|
377
377
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -379,7 +379,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
379
379
|
primary,
|
|
380
380
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
381
381
|
})) {
|
|
382
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
382
|
+
const { registerPluginCliCommands } = await import("./cli-Oxxb4axp.js");
|
|
383
383
|
const { loadConfig } = await import("./config-B4-Vvu6M.js").then((n) => n.t);
|
|
384
384
|
registerPluginCliCommands(program, loadConfig());
|
|
385
385
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ct as shouldLogVerbose, n as runExec, ot as logVerbose } from "./exec-
|
|
2
|
-
import { A as kindFromMime, E as getFileExtension, O as isAudioFileName, Y as normalizeChatType, w as detectMime } from "./image-ops-
|
|
3
|
-
import { E as normalizeProviderId, M as normalizeGoogleModelId, _ as resolveOpenClawAgentDir, i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-
|
|
1
|
+
import { ct as shouldLogVerbose, n as runExec, ot as logVerbose } from "./exec-C_bNT00b.js";
|
|
2
|
+
import { A as kindFromMime, E as getFileExtension, O as isAudioFileName, Y as normalizeChatType, w as detectMime } from "./image-ops-CKPJXWk4.js";
|
|
3
|
+
import { E as normalizeProviderId, M as normalizeGoogleModelId, _ as resolveOpenClawAgentDir, i as resolveApiKeyForProvider, r as requireApiKey } from "./model-auth-COYibYBO.js";
|
|
4
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
5
|
+
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-DN3RgnPr.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-ijQXfnJ1.js";
|
|
7
|
-
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-
|
|
7
|
+
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-mr22CaT4.js";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -829,7 +829,7 @@ async function loadModelCatalog(params) {
|
|
|
829
829
|
});
|
|
830
830
|
try {
|
|
831
831
|
await ensureOpenClawModelsJson(params?.config ?? loadConfig());
|
|
832
|
-
await (await import("./pi-auth-json-
|
|
832
|
+
await (await import("./pi-auth-json-MhfZXNOP.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
|
|
833
833
|
const piSdk = await importPiSdk();
|
|
834
834
|
const agentDir = resolveOpenClawAgentDir();
|
|
835
835
|
const { join } = await import("node:path");
|
|
@@ -2,7 +2,7 @@ import { it as logVerbose, n as runExec, ot as shouldLogVerbose } from "./exec-D
|
|
|
2
2
|
import { C as resolveApiKeyForProvider, S as requireApiKey, U as resolveOpenClawAgentDir, p as normalizeGoogleModelId, s as normalizeProviderId } from "./model-selection-Cb6822pn.js";
|
|
3
3
|
import { C as detectMime, D as isAudioFileName, J as normalizeChatType, T as getFileExtension, k as kindFromMime } from "./image-ops-B9jnR447.js";
|
|
4
4
|
import { n as loadConfig } from "./config-Ejc5JKGl.js";
|
|
5
|
-
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-
|
|
5
|
+
import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-CRFk69Io.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-CmZi0_-L.js";
|
|
7
7
|
import { i as fetchWithSsrFGuard, n as fetchRemoteMedia, t as MediaFetchError } from "./fetch-CE6hQpN5.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { P as mediaKindFromMime } from "./image-ops-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
5
|
-
import { c as resolveMarkdownTableMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
2
|
+
import { P as mediaKindFromMime } from "./image-ops-CKPJXWk4.js";
|
|
3
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
4
|
+
import { n as resolveSignalAccount } from "./accounts-BvmssTEF.js";
|
|
5
|
+
import { c as resolveMarkdownTableMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-C-hSqOPD.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-ijQXfnJ1.js";
|
|
7
7
|
import { t as resolveFetch } from "./fetch-D8nvt_Mr.js";
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C8Qf4dh8.js";
|
|
9
9
|
import { randomUUID } from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/signal/format.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { _t as resolvePreferredOpenClawTmpDir } from "./exec-
|
|
3
|
-
import { N as maxBytesForKind, Q as normalizeDiscordToken, T as extensionForMime, Z as resolveDiscordAccount } from "./image-ops-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { _t as resolvePreferredOpenClawTmpDir } from "./exec-C_bNT00b.js";
|
|
3
|
+
import { N as maxBytesForKind, Q as normalizeDiscordToken, T as extensionForMime, Z as resolveDiscordAccount } from "./image-ops-CKPJXWk4.js";
|
|
4
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
5
5
|
import { n as ensureTargetId, r as requireTargetKind, t as buildMessagingTarget } from "./targets-B3t7Q-86.js";
|
|
6
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
7
|
-
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkMode, o as loadWebMediaRaw } from "./ir-
|
|
6
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-D1bxhFWp.js";
|
|
7
|
+
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, h as resolveChunkMode, o as loadWebMediaRaw } from "./ir-C-hSqOPD.js";
|
|
8
8
|
import { t as resolveFetch } from "./fetch-D8nvt_Mr.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-Bqd9Aibe.js";
|
|
10
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity
|
|
11
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
10
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity--HqvQlN3.js";
|
|
11
|
+
import { t as convertMarkdownTables } from "./tables-7DihLyDw.js";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { execFile } from "node:child_process";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { it as danger, l as createSubsystemLogger, ot as logVerbose } from "./exec-
|
|
3
|
-
import { E as getFileExtension, H as resolveTelegramAccount, P as mediaKindFromMime, j as normalizeMimeType, k as isGifMedia } from "./image-ops-
|
|
4
|
-
import { Y as isTruthyEnvValue } from "./model-auth-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { it as danger, l as createSubsystemLogger, ot as logVerbose } from "./exec-C_bNT00b.js";
|
|
3
|
+
import { E as getFileExtension, H as resolveTelegramAccount, P as mediaKindFromMime, j as normalizeMimeType, k as isGifMedia } from "./image-ops-CKPJXWk4.js";
|
|
4
|
+
import { Y as isTruthyEnvValue } from "./model-auth-COYibYBO.js";
|
|
5
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
6
6
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-8mFQsaX1.js";
|
|
7
7
|
import { t as redactSensitiveText } from "./redact-C1ne-kC_.js";
|
|
8
|
-
import { a as loadWebMedia, c as resolveMarkdownTableMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
8
|
+
import { a as loadWebMedia, c as resolveMarkdownTableMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-C-hSqOPD.js";
|
|
9
9
|
import { t as renderMarkdownWithMarkers } from "./render-DSLzcBxk.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-D8nvt_Mr.js";
|
|
11
11
|
import { n as normalizePollInput } from "./polls-Bqd9Aibe.js";
|
|
12
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity
|
|
12
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity--HqvQlN3.js";
|
|
13
13
|
import { t as makeProxyFetch } from "./proxy-D9Y1zsMX.js";
|
|
14
14
|
import process$1 from "node:process";
|
|
15
15
|
import * as net$1 from "node:net";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { K as normalizeE164, X as resolveUserPath } from "./exec-
|
|
3
|
-
import { P as mediaKindFromMime } from "./image-ops-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { c as resolveMarkdownTableMode } from "./ir-
|
|
7
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
8
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
2
|
+
import { K as normalizeE164, X as resolveUserPath } from "./exec-C_bNT00b.js";
|
|
3
|
+
import { P as mediaKindFromMime } from "./image-ops-CKPJXWk4.js";
|
|
4
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-CyxQBpl8.js";
|
|
6
|
+
import { c as resolveMarkdownTableMode } from "./ir-C-hSqOPD.js";
|
|
7
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C8Qf4dh8.js";
|
|
8
|
+
import { t as convertMarkdownTables } from "./tables-7DihLyDw.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ot as logVerbose } from "./exec-
|
|
3
|
-
import { G as resolveSlackAccount, J as resolveSlackBotToken } from "./image-ops-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
2
|
+
import { ot as logVerbose } from "./exec-C_bNT00b.js";
|
|
3
|
+
import { G as resolveSlackAccount, J as resolveSlackBotToken } from "./image-ops-CKPJXWk4.js";
|
|
4
|
+
import { n as loadConfig } from "./config-CYlbDcBt.js";
|
|
5
5
|
import { n as ensureTargetId, r as requireTargetKind, t as buildMessagingTarget } from "./targets-B3t7Q-86.js";
|
|
6
|
-
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, g as resolveTextChunkLimit, h as resolveChunkMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { a as loadWebMedia, c as resolveMarkdownTableMode, f as chunkMarkdownTextWithMode, g as resolveTextChunkLimit, h as resolveChunkMode, n as markdownToIR, t as chunkMarkdownIR } from "./ir-C-hSqOPD.js";
|
|
7
7
|
import { t as renderMarkdownWithMarkers } from "./render-DSLzcBxk.js";
|
|
8
8
|
import { WebClient } from "@slack/web-api";
|
|
9
9
|
|
|
@@ -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 { D as loadSessionEntry, Et as requestHeartbeatNow, O as pruneLegacyStoreKeys, k as resolveGatewaySessionStoreTarget, zr as enqueueSystemEvent } from "./reply-
|
|
4
|
+
import { D as loadSessionEntry, Et as requestHeartbeatNow, O as pruneLegacyStoreKeys, k as resolveGatewaySessionStoreTarget, zr as enqueueSystemEvent } from "./reply-d6yV4wB_.js";
|
|
5
5
|
import { u as normalizeMainKey } from "./session-key-CZ6OwgSB.js";
|
|
6
6
|
import { d as defaultRuntime } from "./subsystem-azPHgTb4.js";
|
|
7
7
|
import "./exec-V7mqHC8U.js";
|
|
@@ -76,9 +76,9 @@ import "./nodes-screen-C6Rc35Bb.js";
|
|
|
76
76
|
import "./control-service-CVqGIdhP.js";
|
|
77
77
|
import "./channel-selection-CuBUJwMM.js";
|
|
78
78
|
import "./delivery-queue-BX5ZlJ58.js";
|
|
79
|
-
import "./deps-
|
|
79
|
+
import "./deps-i6fBS1Dw.js";
|
|
80
80
|
import { t as formatForLog } from "./ws-log-AWzf4qDj.js";
|
|
81
|
-
import { t as agentCommand } from "./agent-
|
|
81
|
+
import { t as agentCommand } from "./agent-BxxBd9wX.js";
|
|
82
82
|
import { randomUUID } from "node:crypto";
|
|
83
83
|
|
|
84
84
|
//#region src/gateway/server-node-events.ts
|
|
@@ -13,7 +13,7 @@ import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
|
13
13
|
import "./client-gZv0X5tz.js";
|
|
14
14
|
import "./call-CeM4F1rK.js";
|
|
15
15
|
import "./message-channel-CZpVDeRr.js";
|
|
16
|
-
import { Jt as requestHeartbeatNow, Tn as enqueueSystemEvent } from "./subagent-registry-
|
|
16
|
+
import { Jt as requestHeartbeatNow, Tn as enqueueSystemEvent } from "./subagent-registry-DJBVFvb4.js";
|
|
17
17
|
import { l as updateSessionStore } from "./sessions-D-LiJehh.js";
|
|
18
18
|
import "./deliver-a9TlmfSI.js";
|
|
19
19
|
import { r as normalizeChannelId } from "./plugins-bX81iDy5.js";
|
|
@@ -73,9 +73,9 @@ import "./progress-689bGXNC.js";
|
|
|
73
73
|
import "./onboard-helpers-Bfg43UBg.js";
|
|
74
74
|
import "./prompt-style-Ws1ofeXe.js";
|
|
75
75
|
import "./pairing-labels-DKrwGHA2.js";
|
|
76
|
-
import "./outbound-send-deps-
|
|
76
|
+
import "./outbound-send-deps-BCi2C-Sb.js";
|
|
77
77
|
import { t as formatForLog } from "./ws-log-BZ1XTQ6n.js";
|
|
78
|
-
import { t as agentCommand } from "./agent-
|
|
78
|
+
import { t as agentCommand } from "./agent-D0LfsEPF.js";
|
|
79
79
|
import { randomUUID } from "node:crypto";
|
|
80
80
|
|
|
81
81
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { X as resolveUserPath, ht as toPinoLikeLogger, it as danger, lt as success, mt as getChildLogger, z as ensureDir } from "./exec-
|
|
1
|
+
import { X as resolveUserPath, ht as toPinoLikeLogger, it as danger, lt as success, mt as getChildLogger, z as ensureDir } from "./exec-C_bNT00b.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
|
|
3
|
-
import { B as resolveWebCredsBackupPath, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, k as VERSION, z as resolveDefaultWebAuthDir } from "./config-
|
|
4
|
-
import
|
|
3
|
+
import { B as resolveWebCredsBackupPath, F as maybeRestoreCredsFromBackup, L as readCredsJsonRaw, V as resolveWebCredsPath, k as VERSION, z as resolveDefaultWebAuthDir } from "./config-CYlbDcBt.js";
|
|
4
|
+
import fsSync from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
7
7
|
import qrcode from "qrcode-terminal";
|
|
@@ -20,16 +20,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
20
20
|
const raw = readCredsJsonRaw(credsPath);
|
|
21
21
|
if (raw) try {
|
|
22
22
|
JSON.parse(raw);
|
|
23
|
-
|
|
23
|
+
fsSync.copyFileSync(credsPath, backupPath);
|
|
24
24
|
try {
|
|
25
|
-
|
|
25
|
+
fsSync.chmodSync(backupPath, 384);
|
|
26
26
|
} catch {}
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
try {
|
|
30
30
|
await Promise.resolve(saveCreds());
|
|
31
31
|
try {
|
|
32
|
-
|
|
32
|
+
fsSync.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
33
33
|
} catch {}
|
|
34
34
|
} catch (err) {
|
|
35
35
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -50,8 +50,13 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
50
50
|
let agent;
|
|
51
51
|
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
52
52
|
if (proxyUrl) try {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
if (proxyUrl.startsWith("socks")) {
|
|
54
|
+
const { SocksProxyAgent } = await import("socks-proxy-agent");
|
|
55
|
+
agent = new SocksProxyAgent(proxyUrl);
|
|
56
|
+
} else {
|
|
57
|
+
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
58
|
+
agent = new HttpsProxyAgent(proxyUrl);
|
|
59
|
+
}
|
|
55
60
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
56
61
|
} catch (err) {
|
|
57
62
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
@@ -50,8 +50,13 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
50
50
|
let agent;
|
|
51
51
|
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
52
52
|
if (proxyUrl) try {
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
if (proxyUrl.startsWith("socks")) {
|
|
54
|
+
const { SocksProxyAgent } = await import("socks-proxy-agent");
|
|
55
|
+
agent = new SocksProxyAgent(proxyUrl);
|
|
56
|
+
} else {
|
|
57
|
+
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
58
|
+
agent = new HttpsProxyAgent(proxyUrl);
|
|
59
|
+
}
|
|
55
60
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
56
61
|
} catch (err) {
|
|
57
62
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
@@ -51,8 +51,13 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
51
51
|
let agent;
|
|
52
52
|
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
53
|
if (proxyUrl) try {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
if (proxyUrl.startsWith("socks")) {
|
|
55
|
+
const { SocksProxyAgent } = await import("socks-proxy-agent");
|
|
56
|
+
agent = new SocksProxyAgent(proxyUrl);
|
|
57
|
+
} else {
|
|
58
|
+
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
59
|
+
agent = new HttpsProxyAgent(proxyUrl);
|
|
60
|
+
}
|
|
56
61
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
57
62
|
} catch (err) {
|
|
58
63
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
@@ -51,8 +51,13 @@ async function createWaSocket(printQr, verbose, opts = {}) {
|
|
|
51
51
|
let agent;
|
|
52
52
|
const proxyUrl = process.env.HTTPS_PROXY || process.env.HTTP_PROXY;
|
|
53
53
|
if (proxyUrl) try {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
if (proxyUrl.startsWith("socks")) {
|
|
55
|
+
const { SocksProxyAgent } = await import("socks-proxy-agent");
|
|
56
|
+
agent = new SocksProxyAgent(proxyUrl);
|
|
57
|
+
} else {
|
|
58
|
+
const { HttpsProxyAgent } = await import("https-proxy-agent");
|
|
59
|
+
agent = new HttpsProxyAgent(proxyUrl);
|
|
60
|
+
}
|
|
56
61
|
sessionLogger.info(`Using proxy agent for WhatsApp WebSocket: ${proxyUrl.replace(/\/\/.*@/, "//***@")}`);
|
|
57
62
|
} catch (err) {
|
|
58
63
|
sessionLogger.warn({ err }, "Failed to create proxy agent, connecting directly");
|
|
@@ -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-C_bNT00b.js";
|
|
2
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-Bbik2tb_.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 fsSync 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
|
+
fsSync.mkdirSync(dir, { recursive: true });
|
|
14
14
|
} catch {}
|
|
15
15
|
return dir;
|
|
16
16
|
}
|
|
@@ -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-DJBVFvb4.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-shfUNbPM.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,4 +1,4 @@
|
|
|
1
|
-
import { kt as loadOpenClawPlugins } from "./reply-
|
|
1
|
+
import { kt as loadOpenClawPlugins } from "./reply-d6yV4wB_.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-DJBVFvb4.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-d6yV4wB_.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-BqoIIu1u.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";
|
|
@@ -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-C_bNT00b.js";
|
|
2
|
+
import { T as extensionForMime, w as detectMime } from "./image-ops-CKPJXWk4.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-CF5T7Eew.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-CmhHGO4I.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-CF5T7Eew.js");
|
|
50114
50114
|
return webLoginQrPromise;
|
|
50115
50115
|
}
|
|
50116
50116
|
function loadWebChannel() {
|
|
50117
|
-
webChannelPromise ??= import("./web-
|
|
50117
|
+
webChannelPromise ??= import("./web-CtSLAgT_.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-C_bNT00b.js";
|
|
2
|
+
import { a as resizeToJpeg, n as getImageMetadata } from "./image-ops-CKPJXWk4.js";
|
|
3
3
|
|
|
4
4
|
//#region src/agents/tool-images.ts
|
|
5
5
|
const MAX_IMAGE_DIMENSION_PX = 2e3;
|
|
@@ -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-d6yV4wB_.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-C3C2WLNP.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-CIcsx6ic.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-BqoIIu1u.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-B55O98W8.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-AUivq-af.js";
|
|
114
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C2PR6GJF.js";
|
|
115
115
|
import os from "node:os";
|
|
116
116
|
import path from "node:path";
|
|
117
117
|
import fs from "node:fs/promises";
|