@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { kt as loadOpenClawPlugins } from "./reply-
|
|
2
|
+
import { kt as loadOpenClawPlugins } from "./reply-d6yV4wB_.js";
|
|
3
3
|
import { E as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-azPHgTb4.js";
|
|
4
4
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-aaTVOkax.js";
|
|
5
5
|
import { i as loadConfig } from "./config-Cdu_GkcK.js";
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { j as getActivePluginRegistry, o as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-D47kRViK.js";
|
|
4
4
|
import { i as loadConfig } from "./config-B4-Vvu6M.js";
|
|
5
|
-
import { h as loadOpenClawPlugins } from "./subagent-registry-
|
|
5
|
+
import { h as loadOpenClawPlugins } from "./subagent-registry-DJBVFvb4.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
1
|
+
import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DWZdK6Cr.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
3
|
-
import { r as markdownToIRWithMeta } from "./ir-
|
|
3
|
+
import { r as markdownToIRWithMeta } from "./ir-D6TOa8wy.js";
|
|
4
4
|
|
|
5
5
|
//#region src/polls.ts
|
|
6
6
|
function normalizePollInput(input, options = {}) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as resolveUserPath, U as pathExists, t as runCommandWithTimeout } from "./exec-
|
|
1
|
+
import { K as resolveUserPath, U as pathExists, t as runCommandWithTimeout } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { it as shouldLogVerbose, nt as logVerbose } from "./exec-
|
|
1
|
+
import { it as shouldLogVerbose, nt as logVerbose } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
|
-
import "./model-selection-
|
|
4
|
-
import "./config-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./pi-embedded-helpers-
|
|
7
|
-
import "./image-ops-
|
|
8
|
-
import "./fetch-
|
|
3
|
+
import "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import "./config-iUJxJaTT.js";
|
|
5
|
+
import "./agent-scope-DWZdK6Cr.js";
|
|
6
|
+
import "./pi-embedded-helpers-rNIrRqeN.js";
|
|
7
|
+
import "./image-ops-DvO68zWD.js";
|
|
8
|
+
import "./fetch-DjHoyhHv.js";
|
|
9
9
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
10
|
-
import "./paths-
|
|
11
|
-
import "./tool-images-
|
|
12
|
-
import "./chrome-
|
|
13
|
-
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-
|
|
14
|
-
import "./image-
|
|
10
|
+
import "./paths-6C0IeDIg.js";
|
|
11
|
+
import "./tool-images-BuctNDly.js";
|
|
12
|
+
import "./chrome-BLYh1Ek9.js";
|
|
13
|
+
import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-CaaUwzMJ.js";
|
|
14
|
+
import "./image-DolmBtru.js";
|
|
15
15
|
import "./pi-model-discovery-DX1x3UsN.js";
|
|
16
16
|
import "./redact-CZWjP0qB.js";
|
|
17
17
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { A as finalizeInboundContext, Ct as normalizeMentionText, H as recordChannelActivity, Ht as createDedupeCache, S as shouldComputeCommandAuthorized, St as buildMentionRegexes, Xt as resolveIdentityNamePrefix, Zt as resolveMessagePrefix, _ as createInboundDebouncer, b as resolveEnvelopeFormatOptions, c as computeBackoff, d as upsertChannelPairingRequest, dt as resolveMentionGating, et as formatLocationText, f as buildPairingReply, g as dispatchReplyWithBufferedBlockDispatcher, gt as buildHistoryContextFromEntries, h as formatDurationPrecise, ht as DEFAULT_GROUP_HISTORY_LIMIT, k as enqueueSystemEvent, l as sleepWithAbort, m as resolveAgentRoute, n as normalizeGroupActivation, ot as createReplyPrefixOptions, p as buildAgentSessionKey, r as parseActivationCommand, t as getReplyFromConfig, tt as toLocationContext, u as readChannelAllowFromStore, ut as shouldAckReactionForWhatsApp, v as resolveInboundDebounceMs, x as hasControlCommand, xt as recordPendingHistoryEntryIfEnabled, y as formatInboundEnvelope } from "./reply-
|
|
2
|
-
import { B as isSelfChatMode, G as resolveJidToE164, H as normalizeE164, M as clamp, Q as toWhatsappJid, V as jidToE164, X as sleep, f as defaultRuntime, it as shouldLogVerbose, l as createSubsystemLogger, nt as logVerbose, ut as getChildLogger, x as normalizeChatChannelId } from "./exec-
|
|
3
|
-
import { M as getWebAuthAgeMs, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-
|
|
4
|
-
import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-
|
|
5
|
-
import { Ft as loadSessionStore, It as readSessionUpdatedAt, Lt as recordSessionMetaFromInbound, Mn as resolveChannelGroupPolicy, Nn as resolveChannelGroupRequireMention, Rt as updateLastRoute, jt as saveMediaBuffer, sn as resolveGroupSessionKey } from "./pi-embedded-helpers-
|
|
1
|
+
import { A as finalizeInboundContext, Ct as normalizeMentionText, H as recordChannelActivity, Ht as createDedupeCache, S as shouldComputeCommandAuthorized, St as buildMentionRegexes, Xt as resolveIdentityNamePrefix, Zt as resolveMessagePrefix, _ as createInboundDebouncer, b as resolveEnvelopeFormatOptions, c as computeBackoff, d as upsertChannelPairingRequest, dt as resolveMentionGating, et as formatLocationText, f as buildPairingReply, g as dispatchReplyWithBufferedBlockDispatcher, gt as buildHistoryContextFromEntries, h as formatDurationPrecise, ht as DEFAULT_GROUP_HISTORY_LIMIT, k as enqueueSystemEvent, l as sleepWithAbort, m as resolveAgentRoute, n as normalizeGroupActivation, ot as createReplyPrefixOptions, p as buildAgentSessionKey, r as parseActivationCommand, t as getReplyFromConfig, tt as toLocationContext, u as readChannelAllowFromStore, ut as shouldAckReactionForWhatsApp, v as resolveInboundDebounceMs, x as hasControlCommand, xt as recordPendingHistoryEntryIfEnabled, y as formatInboundEnvelope } from "./reply-BvOTUN2t.js";
|
|
2
|
+
import { B as isSelfChatMode, G as resolveJidToE164, H as normalizeE164, M as clamp, Q as toWhatsappJid, V as jidToE164, X as sleep, f as defaultRuntime, it as shouldLogVerbose, l as createSubsystemLogger, nt as logVerbose, ut as getChildLogger, x as normalizeChatChannelId } from "./exec-9HIVkGqi.js";
|
|
3
|
+
import { M as getWebAuthAgeMs, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-iUJxJaTT.js";
|
|
4
|
+
import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-DWZdK6Cr.js";
|
|
5
|
+
import { Ft as loadSessionStore, It as readSessionUpdatedAt, Lt as recordSessionMetaFromInbound, Mn as resolveChannelGroupPolicy, Nn as resolveChannelGroupRequireMention, Rt as updateLastRoute, jt as saveMediaBuffer, sn as resolveGroupSessionKey } from "./pi-embedded-helpers-rNIrRqeN.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
7
|
-
import { s as resolveStorePath } from "./paths-
|
|
8
|
-
import { i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-
|
|
9
|
-
import { _ as loadWebMedia, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, i as resolveMarkdownTableMode, y as getAgentScopedMediaLocalRoots } from "./ir-
|
|
10
|
-
import { d as registerUnhandledRejectionHandler } from "./runner-
|
|
11
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
12
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
7
|
+
import { s as resolveStorePath } from "./paths-6C0IeDIg.js";
|
|
8
|
+
import { i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-CkyAenz6.js";
|
|
9
|
+
import { _ as loadWebMedia, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, i as resolveMarkdownTableMode, y as getAgentScopedMediaLocalRoots } from "./ir-D6TOa8wy.js";
|
|
10
|
+
import { d as registerUnhandledRejectionHandler } from "./runner-CaaUwzMJ.js";
|
|
11
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-BuWEi6UJ.js";
|
|
12
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Cjs4HuZk.js";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
14
14
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as CONFIG_DIR, l as createSubsystemLogger } from "./exec-
|
|
1
|
+
import { j as CONFIG_DIR, l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { i as isErrno } from "./errors-CB-Jxwa7.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { o as detectMime } from "./image-ops-DvO68zWD.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-BuctNDly.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { K as resolveUserPath, R as isPlainObject$2, V as jidToE164, W as resolveConfigDir, at as success, f as defaultRuntime, g as CHANNEL_IDS, tt as info, ut as getChildLogger, x as normalizeChatChannelId, z as isRecord } from "./exec-
|
|
1
|
+
import { K as resolveUserPath, R as isPlainObject$2, V as jidToE164, W as resolveConfigDir, at as success, f as defaultRuntime, g as CHANNEL_IDS, tt as info, ut as getChildLogger, x as normalizeChatChannelId, z as isRecord } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { G as shouldDeferShellEnvFallback, K as shouldEnableShellEnvFallback, U as loadShellEnvFallback, W as resolveShellEnvFallbackTimeoutMs, c as parseModelRef, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
4
|
-
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID, c as resolveDefaultAgentId, j as normalizeAccountId, s as resolveAgentWorkspaceDir, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
3
|
+
import { G as shouldDeferShellEnvFallback, K as shouldEnableShellEnvFallback, U as loadShellEnvFallback, W as resolveShellEnvFallbackTimeoutMs, c as parseModelRef, z as DEFAULT_CONTEXT_TOKENS } from "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID, c as resolveDefaultAgentId, j as normalizeAccountId, s as resolveAgentWorkspaceDir, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DWZdK6Cr.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
6
6
|
import { createRequire } from "node:module";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
|
-
import
|
|
10
|
+
import json5 from "json5";
|
|
11
11
|
import fs$1 from "node:fs/promises";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -2892,7 +2892,7 @@ var IncludeProcessor = class IncludeProcessor {
|
|
|
2892
2892
|
};
|
|
2893
2893
|
const defaultResolver = {
|
|
2894
2894
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
2895
|
-
parseJson: (raw) =>
|
|
2895
|
+
parseJson: (raw) => json5.parse(raw)
|
|
2896
2896
|
};
|
|
2897
2897
|
/**
|
|
2898
2898
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -6065,7 +6065,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
6065
6065
|
function normalizeDeps(overrides = {}) {
|
|
6066
6066
|
return {
|
|
6067
6067
|
fs: overrides.fs ?? fs,
|
|
6068
|
-
json5: overrides.json5 ??
|
|
6068
|
+
json5: overrides.json5 ?? json5,
|
|
6069
6069
|
env: overrides.env ?? process.env,
|
|
6070
6070
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
6071
6071
|
configPath: overrides.configPath ?? "",
|
|
@@ -6076,11 +6076,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
6076
6076
|
if (env !== process.env) return;
|
|
6077
6077
|
loadDotEnv({ quiet: true });
|
|
6078
6078
|
}
|
|
6079
|
-
function parseConfigJson5(raw, json5 =
|
|
6079
|
+
function parseConfigJson5(raw, json5$1 = json5) {
|
|
6080
6080
|
try {
|
|
6081
6081
|
return {
|
|
6082
6082
|
ok: true,
|
|
6083
|
-
parsed: json5.parse(raw)
|
|
6083
|
+
parsed: json5$1.parse(raw)
|
|
6084
6084
|
};
|
|
6085
6085
|
} catch (err) {
|
|
6086
6086
|
return {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { I as escapeRegExp, S as getActivePluginRegistry, l as createSubsystemLogger } from "./exec-
|
|
2
|
+
import { I as escapeRegExp, S as getActivePluginRegistry, l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { j as normalizeAccountId$1 } from "./agent-scope-
|
|
6
|
-
import { Nt as appendAssistantMessageToSessionTranscript, On as resolveSignalAccount, Pt as resolveMirroredTranscriptText, cn as getChannelDock, i as isMessagingToolDuplicate, jt as saveMediaBuffer } from "./pi-embedded-helpers-
|
|
4
|
+
import { n as loadConfig } from "./config-iUJxJaTT.js";
|
|
5
|
+
import { j as normalizeAccountId$1 } from "./agent-scope-DWZdK6Cr.js";
|
|
6
|
+
import { Nt as appendAssistantMessageToSessionTranscript, On as resolveSignalAccount, Pt as resolveMirroredTranscriptText, cn as getChannelDock, i as isMessagingToolDuplicate, jt as saveMediaBuffer } from "./pi-embedded-helpers-rNIrRqeN.js";
|
|
7
7
|
import { n as fetchWithTimeout } from "./fetch-timeout-BD-UJHcc.js";
|
|
8
|
-
import { A as normalizeChannelId, O as getChannelPlugin, g as mediaKindFromMime } from "./image-ops-
|
|
9
|
-
import { _ as loadWebMedia, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, h as parseFenceSpans, i as resolveMarkdownTableMode, n as markdownToIR, o as chunkByParagraph, t as chunkMarkdownIR, y as getAgentScopedMediaLocalRoots } from "./ir-
|
|
8
|
+
import { A as normalizeChannelId, O as getChannelPlugin, g as mediaKindFromMime } from "./image-ops-DvO68zWD.js";
|
|
9
|
+
import { _ as loadWebMedia, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, h as parseFenceSpans, i as resolveMarkdownTableMode, n as markdownToIR, o as chunkByParagraph, t as chunkMarkdownIR, y as getAgentScopedMediaLocalRoots } from "./ir-D6TOa8wy.js";
|
|
10
10
|
import { t as resolveFetch } from "./fetch-4S_PaC9f.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -4,7 +4,7 @@ import path from "node:path";
|
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
|
-
import
|
|
7
|
+
import json5 from "json5";
|
|
8
8
|
import chalk, { Chalk } from "chalk";
|
|
9
9
|
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
import { promisify } from "node:util";
|
|
@@ -154,7 +154,7 @@ function readLoggingConfig() {
|
|
|
154
154
|
try {
|
|
155
155
|
if (!fs.existsSync(configPath)) return;
|
|
156
156
|
const raw = fs.readFileSync(configPath, "utf-8");
|
|
157
|
-
const logging =
|
|
157
|
+
const logging = json5.parse(raw)?.logging;
|
|
158
158
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
159
159
|
return logging;
|
|
160
160
|
} catch {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as logWarn } from "./exec-
|
|
1
|
+
import { c as logWarn } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { t as bindAbortRelay } from "./fetch-timeout-BD-UJHcc.js";
|
|
3
|
-
import { ht as createPinnedDispatcher, mt as closeDispatcher, o as detectMime, pt as SsrFBlockedError, s as extensionForMime, vt as resolvePinnedHostnameWithPolicy } from "./image-ops-
|
|
3
|
+
import { ht as createPinnedDispatcher, mt as closeDispatcher, o as detectMime, pt as SsrFBlockedError, s as extensionForMime, vt as resolvePinnedHostnameWithPolicy } from "./image-ops-DvO68zWD.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/net/fetch-guard.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { J as shortenHomeInString, z as isRecord } from "./exec-
|
|
3
|
-
import { I as resolveOpenClawAgentDir, L as normalizeSecretInput, S as requireApiKey, _ as resolveImplicitProviders, b as getApiKeyForModel, g as resolveImplicitCopilotProvider, h as resolveImplicitBedrockProvider, m as normalizeProviders } from "./model-selection-
|
|
4
|
-
import { n as loadConfig } from "./config-
|
|
5
|
-
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
2
|
+
import { J as shortenHomeInString, z as isRecord } from "./exec-9HIVkGqi.js";
|
|
3
|
+
import { I as resolveOpenClawAgentDir, L as normalizeSecretInput, S as requireApiKey, _ as resolveImplicitProviders, b as getApiKeyForModel, g as resolveImplicitCopilotProvider, h as resolveImplicitBedrockProvider, m as normalizeProviders } from "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import { n as loadConfig } from "./config-iUJxJaTT.js";
|
|
5
|
+
import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-rNIrRqeN.js";
|
|
6
6
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DX1x3UsN.js";
|
|
7
7
|
import { n as redactToolDetail } from "./redact-CZWjP0qB.js";
|
|
8
8
|
import path from "node:path";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as requireActivePluginRegistry, H as normalizeE164, S as getActivePluginRegistry, _ as CHAT_CHANNEL_ORDER, g as CHANNEL_IDS, n as runExec, x as normalizeChatChannelId, y as normalizeAnyChannelId } from "./exec-
|
|
2
|
-
import { q as isTruthyEnvValue } from "./model-selection-
|
|
3
|
-
import { k as resolveWhatsAppAccount } from "./config-
|
|
4
|
-
import { M as normalizeAgentId, c as resolveDefaultAgentId, j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
1
|
+
import { C as requireActivePluginRegistry, H as normalizeE164, S as getActivePluginRegistry, _ as CHAT_CHANNEL_ORDER, g as CHANNEL_IDS, n as runExec, x as normalizeChatChannelId, y as normalizeAnyChannelId } from "./exec-9HIVkGqi.js";
|
|
2
|
+
import { q as isTruthyEnvValue } from "./model-selection-BfTuBvS4.js";
|
|
3
|
+
import { k as resolveWhatsAppAccount } from "./config-iUJxJaTT.js";
|
|
4
|
+
import { M as normalizeAgentId, c as resolveDefaultAgentId, j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DWZdK6Cr.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { $ as resolveControlCommandGate, $t as BLUEBUBBLES_ACTIONS, At as resolveNestedAllowlistDecision, B as resolveDiscordChannelAllowlist, Bt as readRequestBodyWithLimit, D as createReceiptCard, Dt as normalizeChannelSlug, E as stripMarkdown, Et as buildChannelKeyCandidates, F as parseChatTargetPrefixesOrThrow, Ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, G as emitDiagnosticEvent, Gt as pruneExpiredPending, Ht as createDedupeCache, I as resolveServicePrefixedAllowTarget, It as RequestBodyLimitError, J as missingTargetError, Jt as writeJsonAtomic, K as isDiagnosticsEnabled, Kt as readJsonFile, L as resolveServicePrefixedTarget, Lt as installRequestBodyLimitGuard, M as resolveSlackChannelAllowlist, Mt as isWSLEnv, N as normalizeIMessageHandle, Nt as isWSLSync, O as attachFooterText, Ot as resolveChannelEntryMatch, P as parseChatAllowTargetPrefixes, Pt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Q as recordInboundSession, Qt as registerPluginHttpRoute, R as detectBinary, Rt as isRequestBodyLimitError, T as processLineMessage, Tt as resolveAllowlistMatchSimple, U as parseDiscordTarget, Ut as generatePairingToken, V as collectDiscordAuditChannelIds, Vt as requestBodyErrorToText, W as normalizeDiscordSlug, Wt as createAsyncLock, X as optionalStringEnum, Y as formatDocsLink, Yt as resolveAckReaction, Z as stringEnum, _t as buildPendingHistoryContextFromMap, a as normalizeAccountId$1, at as createReplyPrefixContext, bt as recordPendingHistoryEntry, ct as removeAckReactionAfterReply, dt as resolveMentionGating, en as BLUEBUBBLES_ACTION_NAMES, et as formatLocationText, ft as resolveMentionGatingWithBypass, ht as DEFAULT_GROUP_HISTORY_LIMIT, i as listLineAccountIds, it as logTypingFailure, j as resolveSlackUserAllowlist, jt as isWSL2Sync, kt as resolveChannelEntryMatchWithFallback, lt as shouldAckReaction, mt as summarizeMapping, nn as CHANNEL_MESSAGE_ACTION_NAMES, nt as logAckFailure, o as resolveDefaultLineAccountId, ot as createReplyPrefixOptions, pt as mergeAllowlist, q as onDiagnosticEvent, qt as resolvePairingPaths, rt as logInboundDrop, s as resolveLineAccount, st as createTypingCallbacks, tn as BLUEBUBBLES_GROUP_ACTIONS, tt as toLocationContext, ut as shouldAckReactionForWhatsApp, vt as clearHistoryEntries, w as hasMarkdownToConvert, wt as formatAllowlistMatchMeta, xt as recordPendingHistoryEntryIfEnabled, yt as clearHistoryEntriesIfEnabled, z as resolveDiscordUserAllowlist, zt as readJsonBodyWithLimit } from "./reply-
|
|
2
|
-
import { H as normalizeE164, I as escapeRegExp, M as clamp, U as pathExists, X as sleep, _t as normalizePluginHttpPath, dt as registerLogTransport, j as CONFIG_DIR, q as safeParseJson, t as runCommandWithTimeout, u as stripAnsi, v as getChatChannelMeta, z as isRecord } from "./exec-
|
|
1
|
+
import { $ as resolveControlCommandGate, $t as BLUEBUBBLES_ACTIONS, At as resolveNestedAllowlistDecision, B as resolveDiscordChannelAllowlist, Bt as readRequestBodyWithLimit, D as createReceiptCard, Dt as normalizeChannelSlug, E as stripMarkdown, Et as buildChannelKeyCandidates, F as parseChatTargetPrefixesOrThrow, Ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, G as emitDiagnosticEvent, Gt as pruneExpiredPending, Ht as createDedupeCache, I as resolveServicePrefixedAllowTarget, It as RequestBodyLimitError, J as missingTargetError, Jt as writeJsonAtomic, K as isDiagnosticsEnabled, Kt as readJsonFile, L as resolveServicePrefixedTarget, Lt as installRequestBodyLimitGuard, M as resolveSlackChannelAllowlist, Mt as isWSLEnv, N as normalizeIMessageHandle, Nt as isWSLSync, O as attachFooterText, Ot as resolveChannelEntryMatch, P as parseChatAllowTargetPrefixes, Pt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, Q as recordInboundSession, Qt as registerPluginHttpRoute, R as detectBinary, Rt as isRequestBodyLimitError, T as processLineMessage, Tt as resolveAllowlistMatchSimple, U as parseDiscordTarget, Ut as generatePairingToken, V as collectDiscordAuditChannelIds, Vt as requestBodyErrorToText, W as normalizeDiscordSlug, Wt as createAsyncLock, X as optionalStringEnum, Y as formatDocsLink, Yt as resolveAckReaction, Z as stringEnum, _t as buildPendingHistoryContextFromMap, a as normalizeAccountId$1, at as createReplyPrefixContext, bt as recordPendingHistoryEntry, ct as removeAckReactionAfterReply, dt as resolveMentionGating, en as BLUEBUBBLES_ACTION_NAMES, et as formatLocationText, ft as resolveMentionGatingWithBypass, ht as DEFAULT_GROUP_HISTORY_LIMIT, i as listLineAccountIds, it as logTypingFailure, j as resolveSlackUserAllowlist, jt as isWSL2Sync, kt as resolveChannelEntryMatchWithFallback, lt as shouldAckReaction, mt as summarizeMapping, nn as CHANNEL_MESSAGE_ACTION_NAMES, nt as logAckFailure, o as resolveDefaultLineAccountId, ot as createReplyPrefixOptions, pt as mergeAllowlist, q as onDiagnosticEvent, qt as resolvePairingPaths, rt as logInboundDrop, s as resolveLineAccount, st as createTypingCallbacks, tn as BLUEBUBBLES_GROUP_ACTIONS, tt as toLocationContext, ut as shouldAckReactionForWhatsApp, vt as clearHistoryEntries, w as hasMarkdownToConvert, wt as formatAllowlistMatchMeta, xt as recordPendingHistoryEntryIfEnabled, yt as clearHistoryEntriesIfEnabled, z as resolveDiscordUserAllowlist, zt as readJsonBodyWithLimit } from "./reply-BvOTUN2t.js";
|
|
2
|
+
import { H as normalizeE164, I as escapeRegExp, M as clamp, U as pathExists, X as sleep, _t as normalizePluginHttpPath, dt as registerLogTransport, j as CONFIG_DIR, q as safeParseJson, t as runCommandWithTimeout, u as stripAnsi, v as getChatChannelMeta, z as isRecord } from "./exec-9HIVkGqi.js";
|
|
3
3
|
import "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { X as withFileLock, Y as acquireFileLock, q as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { $ as DmConfigSchema, A as resolveWhatsAppAuthDir, D as listWhatsAppAccountIds, G as GoogleChatConfigSchema, J as SignalConfigSchema, K as IMessageConfigSchema, O as resolveDefaultWhatsAppAccountId, Q as BlockStreamingCoalesceSchema, U as WhatsAppConfigSchema, W as DiscordConfigSchema, X as TelegramConfigSchema, Y as SlackConfigSchema, Z as ToolPolicySchema, at as TtsConfigSchema, ct as normalizeAllowFrom, et as DmPolicySchema, it as TtsAutoSchema, k as resolveWhatsAppAccount, lt as requireOpenAllowFrom, nt as MarkdownConfigSchema, ot as TtsModeSchema, q as MSTeamsConfigSchema, rt as MarkdownTableModeSchema, st as TtsProviderSchema, tt as GroupPolicySchema } from "./config-
|
|
6
|
-
import { j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
7
|
-
import { M as isSilentReplyText, j as SILENT_REPLY_TOKEN, k as resolveChannelMediaMaxBytes } from "./deliver-
|
|
8
|
-
import { An as resolveDefaultIMessageAccountId, Cn as resolveWhatsAppGroupToolPolicy, Dn as resolveDefaultSignalAccountId, En as listSignalAccountIds, Fn as resolveToolsBySender, On as resolveSignalAccount, Sn as resolveWhatsAppGroupRequireMention, _n as resolveIMessageGroupToolPolicy, bn as resolveTelegramGroupRequireMention, dn as resolveBlueBubblesGroupToolPolicy, fn as resolveDiscordGroupRequireMention, gn as resolveIMessageGroupRequireMention, hn as resolveGoogleChatGroupToolPolicy, jn as resolveIMessageAccount, kn as listIMessageAccountIds, kt as extractOriginalFilename, mn as resolveGoogleChatGroupRequireMention, pn as resolveDiscordGroupToolPolicy, un as resolveBlueBubblesGroupRequireMention, vn as resolveSlackGroupRequireMention, wn as buildSlackThreadingToolContext, xn as resolveTelegramGroupToolPolicy, yn as resolveSlackGroupToolPolicy } from "./pi-embedded-helpers-
|
|
4
|
+
import { X as withFileLock, Y as acquireFileLock, q as isTruthyEnvValue } from "./model-selection-BfTuBvS4.js";
|
|
5
|
+
import { $ as DmConfigSchema, A as resolveWhatsAppAuthDir, D as listWhatsAppAccountIds, G as GoogleChatConfigSchema, J as SignalConfigSchema, K as IMessageConfigSchema, O as resolveDefaultWhatsAppAccountId, Q as BlockStreamingCoalesceSchema, U as WhatsAppConfigSchema, W as DiscordConfigSchema, X as TelegramConfigSchema, Y as SlackConfigSchema, Z as ToolPolicySchema, at as TtsConfigSchema, ct as normalizeAllowFrom, et as DmPolicySchema, it as TtsAutoSchema, k as resolveWhatsAppAccount, lt as requireOpenAllowFrom, nt as MarkdownConfigSchema, ot as TtsModeSchema, q as MSTeamsConfigSchema, rt as MarkdownTableModeSchema, st as TtsProviderSchema, tt as GroupPolicySchema } from "./config-iUJxJaTT.js";
|
|
6
|
+
import { j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DWZdK6Cr.js";
|
|
7
|
+
import { M as isSilentReplyText, j as SILENT_REPLY_TOKEN, k as resolveChannelMediaMaxBytes } from "./deliver-Bkdn7hYJ.js";
|
|
8
|
+
import { An as resolveDefaultIMessageAccountId, Cn as resolveWhatsAppGroupToolPolicy, Dn as resolveDefaultSignalAccountId, En as listSignalAccountIds, Fn as resolveToolsBySender, On as resolveSignalAccount, Sn as resolveWhatsAppGroupRequireMention, _n as resolveIMessageGroupToolPolicy, bn as resolveTelegramGroupRequireMention, dn as resolveBlueBubblesGroupToolPolicy, fn as resolveDiscordGroupRequireMention, gn as resolveIMessageGroupRequireMention, hn as resolveGoogleChatGroupToolPolicy, jn as resolveIMessageAccount, kn as listIMessageAccountIds, kt as extractOriginalFilename, mn as resolveGoogleChatGroupRequireMention, pn as resolveDiscordGroupToolPolicy, un as resolveBlueBubblesGroupRequireMention, vn as resolveSlackGroupRequireMention, wn as buildSlackThreadingToolContext, xn as resolveTelegramGroupToolPolicy, yn as resolveSlackGroupToolPolicy } from "./pi-embedded-helpers-rNIrRqeN.js";
|
|
9
9
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
10
|
-
import { B as normalizeSlackMessagingTarget, F as listTelegramDirectoryGroupsFromConfig, I as listTelegramDirectoryPeersFromConfig, K as isWhatsAppGroupJid, L as listWhatsAppDirectoryGroupsFromConfig, M as listDiscordDirectoryPeersFromConfig, N as listSlackDirectoryGroupsFromConfig, P as listSlackDirectoryPeersFromConfig, R as listWhatsAppDirectoryPeersFromConfig, X as resolveDefaultTelegramAccountId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _t as isPrivateIpAddress, c as getFileExtension, ct as listDiscordAccountIds, dt as resolveDiscordAccount, et as listEnabledSlackAccounts, gt as isBlockedHostname, it as resolveSlackReplyToMode, j as listDiscordDirectoryGroupsFromConfig, nt as resolveDefaultSlackAccountId, o as detectMime, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, tt as listSlackAccountIds, ut as resolveDefaultDiscordAccountId, z as looksLikeSlackTargetId } from "./image-ops-
|
|
11
|
-
import { i as fetchWithSsrFGuard } from "./fetch-
|
|
10
|
+
import { B as normalizeSlackMessagingTarget, F as listTelegramDirectoryGroupsFromConfig, I as listTelegramDirectoryPeersFromConfig, K as isWhatsAppGroupJid, L as listWhatsAppDirectoryGroupsFromConfig, M as listDiscordDirectoryPeersFromConfig, N as listSlackDirectoryGroupsFromConfig, P as listSlackDirectoryPeersFromConfig, R as listWhatsAppDirectoryPeersFromConfig, X as resolveDefaultTelegramAccountId, Y as listTelegramAccountIds, Z as resolveTelegramAccount, _t as isPrivateIpAddress, c as getFileExtension, ct as listDiscordAccountIds, dt as resolveDiscordAccount, et as listEnabledSlackAccounts, gt as isBlockedHostname, it as resolveSlackReplyToMode, j as listDiscordDirectoryGroupsFromConfig, nt as resolveDefaultSlackAccountId, o as detectMime, pt as SsrFBlockedError, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, tt as listSlackAccountIds, ut as resolveDefaultDiscordAccountId, z as looksLikeSlackTargetId } from "./image-ops-DvO68zWD.js";
|
|
11
|
+
import { i as fetchWithSsrFGuard } from "./fetch-DjHoyhHv.js";
|
|
12
12
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
13
13
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
14
|
-
import "./paths-
|
|
15
|
-
import "./tool-images-
|
|
16
|
-
import { a as readNumberParam, i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-
|
|
17
|
-
import "./active-listener-
|
|
18
|
-
import { _ as loadWebMedia } from "./ir-
|
|
19
|
-
import "./manager-
|
|
20
|
-
import "./chrome-
|
|
21
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
22
|
-
import "./runner-
|
|
23
|
-
import "./image-
|
|
14
|
+
import "./paths-6C0IeDIg.js";
|
|
15
|
+
import "./tool-images-BuctNDly.js";
|
|
16
|
+
import { a as readNumberParam, i as jsonResult, l as readStringParam, o as readReactionParams, t as createActionGate } from "./common-STTVkT-Z.js";
|
|
17
|
+
import "./active-listener-CkyAenz6.js";
|
|
18
|
+
import { _ as loadWebMedia } from "./ir-D6TOa8wy.js";
|
|
19
|
+
import "./manager-DSG4npLd.js";
|
|
20
|
+
import "./chrome-BLYh1Ek9.js";
|
|
21
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-BXr_pHKk.js";
|
|
22
|
+
import "./runner-CaaUwzMJ.js";
|
|
23
|
+
import "./image-DolmBtru.js";
|
|
24
24
|
import "./pi-model-discovery-DX1x3UsN.js";
|
|
25
25
|
import "./redact-CZWjP0qB.js";
|
|
26
|
-
import "./sqlite-
|
|
26
|
+
import "./sqlite-QNHsO4bW.js";
|
|
27
27
|
import "./proxy-CLlXFbH0.js";
|
|
28
|
-
import "./outbound-
|
|
29
|
-
import "./session-
|
|
30
|
-
import { t as loginWeb } from "./login-
|
|
28
|
+
import "./outbound-BuWEi6UJ.js";
|
|
29
|
+
import "./session-Cjs4HuZk.js";
|
|
30
|
+
import { t as loginWeb } from "./login-CGRU_9Nh.js";
|
|
31
31
|
import path from "node:path";
|
|
32
32
|
import fs, { createWriteStream } from "node:fs";
|
|
33
33
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { K as resolveUserPath, it as shouldLogVerbose, nt as logVerbose } from "./exec-
|
|
1
|
+
import { K as resolveUserPath, it as shouldLogVerbose, nt as logVerbose } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { j as normalizeAccountId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { A as normalizeChannelId, _ as INTERNAL_MESSAGE_CHANNEL, a as resizeToJpeg, g as mediaKindFromMime, h as maxBytesForKind, i as optimizeImageToPng, o as detectMime, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-
|
|
5
|
-
import { n as fetchRemoteMedia } from "./fetch-
|
|
3
|
+
import { j as normalizeAccountId, s as resolveAgentWorkspaceDir } from "./agent-scope-DWZdK6Cr.js";
|
|
4
|
+
import { A as normalizeChannelId, _ as INTERNAL_MESSAGE_CHANNEL, a as resizeToJpeg, g as mediaKindFromMime, h as maxBytesForKind, i as optimizeImageToPng, o as detectMime, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-DvO68zWD.js";
|
|
5
|
+
import { n as fetchRemoteMedia } from "./fetch-DjHoyhHv.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-
|
|
3
|
-
import { P as logoutWeb, k as resolveWhatsAppAccount, n as loadConfig } from "./config-
|
|
2
|
+
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-9HIVkGqi.js";
|
|
3
|
+
import { P as logoutWeb, k as resolveWhatsAppAccount, n as loadConfig } from "./config-iUJxJaTT.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
5
|
-
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-
|
|
5
|
+
import { i as waitForWaConnection, n as formatError, t as createWaSocket } from "./session-Cjs4HuZk.js";
|
|
6
6
|
import { stdin, stdout } from "node:process";
|
|
7
7
|
import readline from "node:readline/promises";
|
|
8
8
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-
|
|
1
|
+
import { at as success, et as danger, f as defaultRuntime, s as logInfo, tt as info } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
|
-
import "./model-selection-
|
|
4
|
-
import { H as webAuthExists, P as logoutWeb, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-
|
|
5
|
-
import "./agent-scope-
|
|
3
|
+
import "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import { H as webAuthExists, P as logoutWeb, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-iUJxJaTT.js";
|
|
5
|
+
import "./agent-scope-DWZdK6Cr.js";
|
|
6
6
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
7
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
7
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-Cjs4HuZk.js";
|
|
8
8
|
import { randomUUID } from "node:crypto";
|
|
9
9
|
import { DisconnectReason } from "@whiskeysockets/baileys";
|
|
10
10
|
import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { $ as truncateUtf16Safe, K as resolveUserPath, N as clampInt, P as clampNumber$1, X as sleep, l as createSubsystemLogger } from "./exec-
|
|
2
|
+
import { $ as truncateUtf16Safe, K as resolveUserPath, N as clampInt, P as clampNumber$1, X as sleep, l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
|
|
3
3
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { C as resolveApiKeyForProvider, S as requireApiKey, q as isTruthyEnvValue } from "./model-selection-
|
|
5
|
-
import { n as resolveAgentConfig, r as resolveAgentDir$1, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { C as resolveApiKeyForProvider, S as requireApiKey, q as isTruthyEnvValue } from "./model-selection-BfTuBvS4.js";
|
|
5
|
+
import { n as resolveAgentConfig, r as resolveAgentDir$1, s as resolveAgentWorkspaceDir } from "./agent-scope-DWZdK6Cr.js";
|
|
6
6
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
7
|
-
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-
|
|
7
|
+
import { o as resolveSessionTranscriptsDirForAgent } from "./paths-6C0IeDIg.js";
|
|
8
8
|
import { n as onSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
9
|
-
import { a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-
|
|
9
|
+
import { a as buildFileEntry, c as ensureDir, d as listMemoryFiles, f as normalizeExtraMemoryPaths, h as runWithConcurrency, i as sessionPathForFile, l as hashText, m as remapChunkLines, n as buildSessionEntry, o as chunkMarkdown, p as parseEmbedding, r as listSessionFilesForAgent, s as cosineSimilarity, t as requireNodeSqlite, u as isMemoryPath } from "./sqlite-QNHsO4bW.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { K as resolveUserPath, l as createSubsystemLogger } from "./exec-
|
|
2
|
+
import { K as resolveUserPath, l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
|
|
3
3
|
import { o as resolveOAuthPath, s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
4
|
-
import { T as DEFAULT_AGENT_ID, a as resolveAgentModelPrimary } from "./agent-scope-
|
|
4
|
+
import { T as DEFAULT_AGENT_ID, a as resolveAgentModelPrimary } from "./agent-scope-DWZdK6Cr.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
6
6
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BmLW2kW0.js";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { I as escapeRegExp, Q as toWhatsappJid, l as createSubsystemLogger, ut as getChildLogger } from "./exec-
|
|
3
|
-
import { n as loadConfig } from "./config-
|
|
4
|
-
import { i as convertMarkdownTables, n as requireActiveWebListener, s as normalizePollInput } from "./active-listener-
|
|
5
|
-
import { _ as loadWebMedia, i as resolveMarkdownTableMode } from "./ir-
|
|
2
|
+
import { I as escapeRegExp, Q as toWhatsappJid, l as createSubsystemLogger, ut as getChildLogger } from "./exec-9HIVkGqi.js";
|
|
3
|
+
import { n as loadConfig } from "./config-iUJxJaTT.js";
|
|
4
|
+
import { i as convertMarkdownTables, n as requireActiveWebListener, s as normalizePollInput } from "./active-listener-CkyAenz6.js";
|
|
5
|
+
import { _ as loadWebMedia, i as resolveMarkdownTableMode } from "./ir-D6TOa8wy.js";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
|
|
8
8
|
//#region src/markdown/whatsapp.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-ZQWYGl2V.js";
|
|
2
|
-
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-
|
|
2
|
+
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-DWZdK6Cr.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./exec-
|
|
1
|
+
import "./exec-9HIVkGqi.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-
|
|
4
|
-
import "./agent-scope-
|
|
3
|
+
import { M as listProfilesForProvider, P as ensureAuthProfileStore } from "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import "./agent-scope-DWZdK6Cr.js";
|
|
5
5
|
import "./github-copilot-token-BmLW2kW0.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-
|
|
1
|
+
import { $ as truncateUtf16Safe, C as requireActivePluginRegistry, H as normalizeE164, I as escapeRegExp, K as resolveUserPath, W as resolveConfigDir, _ as CHAT_CHANNEL_ORDER, f as defaultRuntime, g as CHANNEL_IDS, j as CONFIG_DIR, l as createSubsystemLogger, mt as resolvePreferredOpenClawTmpDir, n as runExec, v as getChatChannelMeta } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-
|
|
4
|
-
import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-
|
|
5
|
-
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-
|
|
3
|
+
import { J as parseBooleanValue, Z as isPidAlive } from "./model-selection-BfTuBvS4.js";
|
|
4
|
+
import { a as writeConfigFile, d as LEGACY_MANIFEST_KEYS, dt as parseDurationMs, f as MANIFEST_KEY, g as resolveMemorySlotDecision, h as resolveEnableState, k as resolveWhatsAppAccount, l as loadPluginManifestRegistry, m as normalizePluginsConfig, n as loadConfig, s as parseByteSize, t as createConfigIO } from "./config-iUJxJaTT.js";
|
|
5
|
+
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-DWZdK6Cr.js";
|
|
6
6
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-CB-Jxwa7.js";
|
|
7
|
-
import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-
|
|
7
|
+
import { A as normalizeChannelId, S as normalizeMessageChannel, Z as resolveTelegramAccount, a as resizeToJpeg, dt as resolveDiscordAccount, it as resolveSlackReplyToMode, n as getImageMetadata, o as detectMime, q as normalizeWhatsAppTarget, rt as resolveSlackAccount, s as extensionForMime, st as normalizeChatType, x as listDeliverableMessageChannels } from "./image-ops-DvO68zWD.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
9
|
-
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
9
|
+
import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-6C0IeDIg.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BiU0SOrl.js";
|
|
11
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
12
|
-
import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-
|
|
11
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-BuctNDly.js";
|
|
12
|
+
import { C as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, D as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, E as DEFAULT_OPENCLAW_BROWSER_ENABLED, O as isLoopbackHost, S as DEFAULT_AI_SNAPSHOT_MAX_CHARS, T as DEFAULT_OPENCLAW_BROWSER_COLOR, a as resolveOpenClawUserDataDir, b as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, l as createTargetViaCdp, m as fetchJson, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as ensureChromeExtensionRelayServer, w as DEFAULT_BROWSER_EVALUATE_ENABLED, x as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, y as stopChromeExtensionRelayServer } from "./chrome-BLYh1Ek9.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import fs, { createWriteStream, existsSync } from "node:fs";
|
|
15
15
|
import os from "node:os";
|
|
16
|
-
import
|
|
16
|
+
import json5 from "json5";
|
|
17
17
|
import fs$1 from "node:fs/promises";
|
|
18
18
|
import { spawn } from "node:child_process";
|
|
19
19
|
import { fileURLToPath } from "node:url";
|
|
@@ -3292,7 +3292,7 @@ function resolveOpenClawManifestBlock(params) {
|
|
|
3292
3292
|
const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
|
|
3293
3293
|
if (!raw) return;
|
|
3294
3294
|
try {
|
|
3295
|
-
const parsed =
|
|
3295
|
+
const parsed = json5.parse(raw);
|
|
3296
3296
|
if (!parsed || typeof parsed !== "object") return;
|
|
3297
3297
|
const manifestKeys = [MANIFEST_KEY, ...LEGACY_MANIFEST_KEYS];
|
|
3298
3298
|
for (const key of manifestKeys) {
|
|
@@ -4026,7 +4026,7 @@ function isModuleNotFoundError(err) {
|
|
|
4026
4026
|
}
|
|
4027
4027
|
async function loadPwAiModule(mode) {
|
|
4028
4028
|
try {
|
|
4029
|
-
return await import("./pw-ai-
|
|
4029
|
+
return await import("./pw-ai-DHGDCfpy.js");
|
|
4030
4030
|
} catch (err) {
|
|
4031
4031
|
if (mode === "soft") return null;
|
|
4032
4032
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -6396,11 +6396,11 @@ function createProfileContext(opts, profile) {
|
|
|
6396
6396
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
6397
6397
|
const profileState = getProfileState();
|
|
6398
6398
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
6399
|
-
await (await import("./pw-ai-
|
|
6399
|
+
await (await import("./pw-ai-DHGDCfpy.js")).closePlaywrightBrowserConnection();
|
|
6400
6400
|
} catch {}
|
|
6401
6401
|
if (profileState.running) await stopRunningBrowser();
|
|
6402
6402
|
try {
|
|
6403
|
-
await (await import("./pw-ai-
|
|
6403
|
+
await (await import("./pw-ai-DHGDCfpy.js")).closePlaywrightBrowserConnection();
|
|
6404
6404
|
} catch {}
|
|
6405
6405
|
if (!fs.existsSync(userDataDir)) return {
|
|
6406
6406
|
moved: false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { mt as resolvePreferredOpenClawTmpDir } from "./exec-
|
|
1
|
+
import { mt as resolvePreferredOpenClawTmpDir } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import "./paths-ZQWYGl2V.js";
|
|
3
3
|
import { n as formatErrorMessage } from "./errors-CB-Jxwa7.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
|
|
5
|
-
import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-
|
|
5
|
+
import { _ as withCdpSocket, d as normalizeCdpWsUrl, g as getHeadersWithAuth, m as fetchJson, p as appendCdpPath, t as getChromeWebSocketUrl, u as formatAriaSnapshot } from "./chrome-BLYh1Ek9.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import crypto from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { l as createSubsystemLogger } from "./exec-
|
|
1
|
+
import { l as createSubsystemLogger } from "./exec-9HIVkGqi.js";
|
|
2
2
|
import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
|
|
3
|
-
import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import "./paths-
|
|
3
|
+
import { V as parseAgentSessionKey, s as resolveAgentWorkspaceDir } from "./agent-scope-DWZdK6Cr.js";
|
|
4
|
+
import "./paths-6C0IeDIg.js";
|
|
5
5
|
import "./redact-CZWjP0qB.js";
|
|
6
|
-
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-
|
|
6
|
+
import { n as buildSessionEntry, r as listSessionFilesForAgent, t as requireNodeSqlite } from "./sqlite-QNHsO4bW.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import os from "node:os";
|
|
9
9
|
import fs from "node:fs/promises";
|