@multiplytech/openclaw 2026.2.15-pairing-code.4 → 2026.2.15-pairing-code.5

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.
Files changed (182) hide show
  1. package/dist/{accounts-CyxQBpl8.js → accounts-Bu2DSNpQ.js} +1 -1
  2. package/dist/{accounts-BvmssTEF.js → accounts-DyinIlq4.js} +1 -1
  3. package/dist/{active-listener-BruG-udz.js → active-listener-BIBYF9eG.js} +1 -1
  4. package/dist/{agent-D0LfsEPF.js → agent-CHHEtTV9.js} +2 -2
  5. package/dist/{agent-BxxBd9wX.js → agent-Zea8l0V4.js} +2 -2
  6. package/dist/{agent-scope-DUn-XVYs.js → agent-scope-BIw4Bz2L.js} +3 -3
  7. package/dist/{agents-jAnRMd-A.js → agents-C3RVyjuy.js} +2 -2
  8. package/dist/{audio-preflight-CbR1q2CT.js → audio-preflight-BHSwqB70.js} +17 -17
  9. package/dist/{auth-choice-B6AdPtCu.js → auth-choice-BL4n2N2D.js} +1 -1
  10. package/dist/{auth-choice-GrNENivg.js → auth-choice-Uz72AGbr.js} +1 -1
  11. package/dist/{banner-D3tgjbUi.js → banner-SSVP1FWh.js} +1 -1
  12. package/dist/build-info.json +3 -3
  13. package/dist/bundled/boot-md/handler.js +38 -38
  14. package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
  15. package/dist/bundled/command-logger/handler.js +1 -1
  16. package/dist/bundled/session-memory/handler.js +32 -32
  17. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  18. package/dist/{channel-activity--HqvQlN3.js → channel-activity-C4rZNocg.js} +1 -1
  19. package/dist/{channel-options-CgdgqIte.js → channel-options-BZj8yDQM.js} +1 -1
  20. package/dist/{channel-options-C0ayB7mx.js → channel-options-CW6tO8o9.js} +1 -1
  21. package/dist/{channel-web-BTTW7H_d.js → channel-web-URuEiSie.js} +2 -2
  22. package/dist/{channels-cli-p5hPpQzH.js → channels-cli-BxhcVdVg.js} +4 -4
  23. package/dist/{channels-cli-BcDsE2LA.js → channels-cli-DNfdNX1p.js} +4 -4
  24. package/dist/{chrome-BtogRifc.js → chrome-DlM4kwMc.js} +18 -18
  25. package/dist/{cli-Oxxb4axp.js → cli-BXBLYStc.js} +1 -1
  26. package/dist/{cli-Cwzdze-z.js → cli-BbNg2Udd.js} +1 -1
  27. package/dist/{command-registry-C8q1jb3h.js → command-registry-BliDXGVX.js} +9 -9
  28. package/dist/{common-BJE3S8zA.js → common-BB2PeD4P.js} +2 -2
  29. package/dist/{completion-cli-CIcsx6ic.js → completion-cli-BCKnCxmp.js} +1 -1
  30. package/dist/{completion-cli-DQd6XSG4.js → completion-cli-Cu-1Snpp.js} +2 -2
  31. package/dist/{config-CYlbDcBt.js → config-BA8Xs1ek.js} +34 -34
  32. package/dist/{config-cli-BmW3yfH6.js → config-cli-CVnBnw5y.js} +1 -1
  33. package/dist/{config-cli-CZLDgS2E.js → config-cli-D5ZKAfqw.js} +1 -1
  34. package/dist/{configure-CRaYQ6hS.js → configure-Dg3rt98q.js} +3 -3
  35. package/dist/{configure-B0_p6Z1n.js → configure-DgvISeIJ.js} +3 -3
  36. package/dist/{deliver-BwXnLuWH.js → deliver-CV4a0MBa.js} +16 -16
  37. package/dist/{deps-i6fBS1Dw.js → deps-6dSUgps7.js} +1 -1
  38. package/dist/{doctor-AUivq-af.js → doctor-BUO6pA-b.js} +4 -4
  39. package/dist/{doctor-Cs7rfmA-.js → doctor-CFwtoIem.js} +4 -4
  40. package/dist/{doctor-completion-CtBAIy0Z.js → doctor-completion-Bnz5cgZw.js} +1 -1
  41. package/dist/{doctor-completion-C2PR6GJF.js → doctor-completion-DNqw5VHX.js} +1 -1
  42. package/dist/entry.js +1 -1
  43. package/dist/{exec-C_bNT00b.js → exec-C9rZpEqA.js} +17 -17
  44. package/dist/extensionAPI.js +1 -1
  45. package/dist/{fetch-mr22CaT4.js → fetch-Dyb5pqye.js} +2 -2
  46. package/dist/{frontmatter-BetN20QN.js → frontmatter-Bk_vZq47.js} +2 -2
  47. package/dist/{gateway-cli-M8r3XcpJ.js → gateway-cli-BDf6AIk0.js} +9 -9
  48. package/dist/{gateway-cli-BgGnL3cE.js → gateway-cli-n2Z2-dmf.js} +9 -9
  49. package/dist/{github-copilot-token-U5JrmjNt.js → github-copilot-token-BXEGgIt5.js} +7 -7
  50. package/dist/{health-BqoIIu1u.js → health-5OQ86AsB.js} +2 -2
  51. package/dist/{health-shfUNbPM.js → health-BLNgO5Lg.js} +2 -2
  52. package/dist/{heartbeat-visibility-BEMg5PJB.js → heartbeat-visibility-kOc5LBl6.js} +1 -1
  53. package/dist/{heartbeat-visibility-B_kubgRp.js → heartbeat-visibility-pSnRANG0.js} +1 -1
  54. package/dist/{hooks-cli-99NPDBK1.js → hooks-cli-8vqegwLk.js} +2 -2
  55. package/dist/{hooks-cli-ec5DFn5g.js → hooks-cli-BQvnwV0N.js} +2 -2
  56. package/dist/{image-DN3RgnPr.js → image-DVTZYmDL.js} +4 -4
  57. package/dist/{image-ops-CKPJXWk4.js → image-ops-7EDUjzca.js} +9 -9
  58. package/dist/index.js +9 -9
  59. package/dist/{ir-C-hSqOPD.js → ir-eyTjTBlP.js} +6 -6
  60. package/dist/llm-slug-generator.js +32 -32
  61. package/dist/{login-BFkQgAbM.js → login-BQj4vJAc.js} +1 -1
  62. package/dist/{login-CwQj2jUX.js → login-Bub9YVmf.js} +1 -1
  63. package/dist/{login-CmhHGO4I.js → login-CKe4hvQG.js} +1 -1
  64. package/dist/{login-Dydm4XDa.js → login-DfLZ1ase.js} +3 -3
  65. package/dist/{login-qr-CF5T7Eew.js → login-qr-5lWL8Guw.js} +1 -1
  66. package/dist/{login-qr-BrIxb_5N.js → login-qr-C9eD5pGf.js} +8 -8
  67. package/dist/{login-qr-CEOlIdRe.js → login-qr-Cq7e7xsV.js} +1 -1
  68. package/dist/{login-qr-B_NTKK4T.js → login-qr-MG7FhnKs.js} +1 -1
  69. package/dist/{manager-Ec86Dapd.js → manager-ihPMEKim.js} +10 -10
  70. package/dist/{model-auth-COYibYBO.js → model-auth-BBAJ-iuC.js} +8 -8
  71. package/dist/{models-D688pDKn.js → models-D9P-iylf.js} +2 -2
  72. package/dist/{models-cli-CcHjNOe3.js → models-cli-BhTQK54t.js} +3 -3
  73. package/dist/{models-cli-GWtfGvki.js → models-cli-DCKEfmuF.js} +2 -2
  74. package/dist/{onboard-BmB1TAqN.js → onboard-DGIC3v2L.js} +2 -2
  75. package/dist/{onboard-channels-BATBIQiN.js → onboard-channels-BxI6pALE.js} +1 -1
  76. package/dist/{onboard-channels-BeXdUwL0.js → onboard-channels-yzWQkeRm.js} +1 -1
  77. package/dist/{onboard-C5_njUCe.js → onboard-ovaqc36s.js} +2 -2
  78. package/dist/{onboarding-txZtcVMA.js → onboarding-C6_GQJ3F.js} +3 -3
  79. package/dist/{onboarding-Cjbb0fRA.js → onboarding-ClCcjvNg.js} +3 -3
  80. package/dist/{onboarding.finalize-BI8zTyGF.js → onboarding.finalize-BhPaoWku.js} +6 -6
  81. package/dist/{onboarding.finalize-CSj3Rf0J.js → onboarding.finalize-CXti-VnH.js} +5 -5
  82. package/dist/{outbound-C8YnTFjo.js → outbound-N8cZjkHg.js} +5 -5
  83. package/dist/{outbound-attachment-C8Qf4dh8.js → outbound-attachment-BAu7a9Bk.js} +2 -2
  84. package/dist/{outbound-send-deps-BCi2C-Sb.js → outbound-send-deps-CrIPn6Gv.js} +1 -1
  85. package/dist/{paths-Bbik2tb_.js → paths-CMYSfM3T.js} +2 -2
  86. package/dist/{paths-CkkDESQ2.js → paths-CyR9Pa1R.js} +5 -5
  87. package/dist/{pi-auth-json-MhfZXNOP.js → pi-auth-json-BX0whbu8.js} +6 -6
  88. package/dist/{pi-embedded-wVlKSjNK.js → pi-embedded-B16QA3OJ.js} +120 -120
  89. package/dist/{pi-embedded-8ou24X6D.js → pi-embedded-BhSNemDy.js} +4 -4
  90. package/dist/{pi-embedded-helpers-DmwtjJVo.js → pi-embedded-helpers-DHT11gwA.js} +48 -48
  91. package/dist/{plugin-registry-N4ZFQdQ9.js → plugin-registry-7l0uWKmB.js} +1 -1
  92. package/dist/{plugin-registry-D_bG1PT_.js → plugin-registry-BMw_9a49.js} +1 -1
  93. package/dist/plugin-sdk/{active-listener-CkyAenz6.js → active-listener-CFLZdKRQ.js} +2 -2
  94. package/dist/plugin-sdk/{agent-scope-DWZdK6Cr.js → agent-scope-ip6rBrUD.js} +1 -1
  95. package/dist/plugin-sdk/{audio-preflight-BzSvof9i.js → audio-preflight-C0NlyreL.js} +12 -12
  96. package/dist/plugin-sdk/{channel-web-BXr_pHKk.js → channel-web-B715iUQW.js} +11 -11
  97. package/dist/plugin-sdk/{chrome-BLYh1Ek9.js → chrome-OZ5Ge8PR.js} +1 -1
  98. package/dist/plugin-sdk/{common-STTVkT-Z.js → common-pKa0kElY.js} +2 -2
  99. package/dist/plugin-sdk/{config-iUJxJaTT.js → config-DelXkt58.js} +8 -8
  100. package/dist/plugin-sdk/{deliver-Bkdn7hYJ.js → deliver-ebYNQy_5.js} +6 -6
  101. package/dist/plugin-sdk/{exec-9HIVkGqi.js → exec-C5lqk9X4.js} +2 -2
  102. package/dist/plugin-sdk/{fetch-DjHoyhHv.js → fetch-Cw_7QfME.js} +2 -2
  103. package/dist/plugin-sdk/{image-DolmBtru.js → image-2KL1DOmN.js} +4 -4
  104. package/dist/plugin-sdk/{image-ops-DvO68zWD.js → image-ops-zm4O3fkk.js} +4 -4
  105. package/dist/plugin-sdk/index.js +23 -23
  106. package/dist/plugin-sdk/{ir-D6TOa8wy.js → ir-BEwiHV7R.js} +4 -4
  107. package/dist/plugin-sdk/{login-CGRU_9Nh.js → login-BPMBJ2ja.js} +3 -3
  108. package/dist/plugin-sdk/{login-qr-D6D-dPg-.js → login-qr-gTXEo28v.js} +5 -5
  109. package/dist/plugin-sdk/{manager-DSG4npLd.js → manager-Cqyl7HDP.js} +5 -5
  110. package/dist/plugin-sdk/{model-selection-BfTuBvS4.js → model-selection-DHMRsTNB.js} +2 -2
  111. package/dist/plugin-sdk/{outbound-BuWEi6UJ.js → outbound-DT2nH6dY.js} +4 -4
  112. package/dist/plugin-sdk/{paths-6C0IeDIg.js → paths-wRVSwmkX.js} +1 -1
  113. package/dist/plugin-sdk/{pi-auth-json-CdSpUvvH.js → pi-auth-json-XTF0mVQ6.js} +3 -3
  114. package/dist/plugin-sdk/{pi-embedded-helpers-rNIrRqeN.js → pi-embedded-helpers-C3_rwWkJ.js} +13 -13
  115. package/dist/plugin-sdk/{pw-ai-DHGDCfpy.js → pw-ai-BYr2wRwE.js} +2 -2
  116. package/dist/plugin-sdk/{qmd-manager-D0FXZkrS.js → qmd-manager-CY7j7J3V.js} +4 -4
  117. package/dist/plugin-sdk/{reply-BvOTUN2t.js → reply-BCjRFrxS.js} +35 -35
  118. package/dist/plugin-sdk/{runner-CaaUwzMJ.js → runner-DxPwS4ed.js} +7 -7
  119. package/dist/plugin-sdk/{session-Cjs4HuZk.js → session-CMKy7hKx.js} +3 -3
  120. package/dist/plugin-sdk/{sqlite-QNHsO4bW.js → sqlite-CKrK6KKr.js} +2 -2
  121. package/dist/plugin-sdk/{tool-images-BuctNDly.js → tool-images-C4GaQjrF.js} +2 -2
  122. package/dist/plugin-sdk/web-Dez1c43V.js +30 -0
  123. package/dist/plugin-sdk/{whatsapp-actions-3adtwpVJ.js → whatsapp-actions-C5T64qvX.js} +11 -11
  124. package/dist/{plugins-cli-D2KHK9jR.js → plugins-cli-BsfnFYsL.js} +2 -2
  125. package/dist/{plugins-cli-CFOLjXM-.js → plugins-cli-CNB8Yt37.js} +2 -2
  126. package/dist/{program-B9I5xkOF.js → program-CAd9g5sW.js} +7 -7
  127. package/dist/{program-context-C3C2WLNP.js → program-context-_ii-SbA0.js} +17 -17
  128. package/dist/{provider-auth-helpers-DYPDXQQP.js → provider-auth-helpers-CCnbp35r.js} +1 -1
  129. package/dist/{provider-auth-helpers-DIPDa8Lw.js → provider-auth-helpers-D_lWKYII.js} +1 -1
  130. package/dist/{pw-ai-BCyIw4W4.js → pw-ai-xh9cPTDX.js} +3 -3
  131. package/dist/{qmd-manager-CgC5sB-T.js → qmd-manager-DtmZgEoS.js} +6 -6
  132. package/dist/{register.agent-BedOGhk-.js → register.agent-BSdFQsCq.js} +7 -7
  133. package/dist/{register.agent-JL4_r2Jb.js → register.agent-dQKDHNyK.js} +6 -6
  134. package/dist/{register.configure-U45T1EJ-.js → register.configure-BN9zCFxE.js} +6 -6
  135. package/dist/{register.configure-D_-8trFJ.js → register.configure-Bk2X8wFI.js} +6 -6
  136. package/dist/{register.maintenance-TMdlbc45.js → register.maintenance-COHaTp3w.js} +8 -8
  137. package/dist/{register.maintenance-BNhGCK92.js → register.maintenance-d-1O5gtF.js} +7 -7
  138. package/dist/{register.message-BdQletmJ.js → register.message-CfNc9leD.js} +3 -3
  139. package/dist/{register.message-DKw_hGiP.js → register.message-DUrPTA8L.js} +3 -3
  140. package/dist/{register.onboard-DVHlSfZa.js → register.onboard-DtyoTIKL.js} +4 -4
  141. package/dist/{register.onboard-D5LHgdqV.js → register.onboard-aCV1lrPF.js} +4 -4
  142. package/dist/{register.setup-CAVftQvz.js → register.setup-Bb73DdhE.js} +4 -4
  143. package/dist/{register.setup-Dfhxwzgk.js → register.setup-BgyHWmCs.js} +4 -4
  144. package/dist/{register.status-health-sessions-YCJQ83my.js → register.status-health-sessions-DLABBIKC.js} +3 -3
  145. package/dist/{register.status-health-sessions-ixyM5rDz.js → register.status-health-sessions-OOi_L5uN.js} +3 -3
  146. package/dist/{register.subclis-D-kjKwwz.js → register.subclis-CDZvm5LU.js} +9 -9
  147. package/dist/{reply-d6yV4wB_.js → reply-D9JN_rwA.js} +4 -4
  148. package/dist/{retry-D1bxhFWp.js → retry-B0RhK9tX.js} +1 -1
  149. package/dist/{run-main-D5duEqg3.js → run-main-BnvBDAQk.js} +14 -14
  150. package/dist/{runner-DGYLHL8R.js → runner-nMdrG8eK.js} +7 -7
  151. package/dist/{send-z4yxEOnF.js → send-BMQRcdbF.js} +4 -4
  152. package/dist/{send-CKSrJ7se.js → send-BRIcpOAj.js} +5 -5
  153. package/dist/{send-Df7eglyR.js → send-CNibEQip.js} +6 -6
  154. package/dist/{send-DjP-Miy_.js → send-CWOrEtrR.js} +7 -7
  155. package/dist/{send-DULTJ0oK.js → send-DzhCsWw9.js} +7 -7
  156. package/dist/{server-node-events-BE6fD68d.js → server-node-events-5_nsFo-O.js} +3 -3
  157. package/dist/{server-node-events-C51Bayv9.js → server-node-events-BHXuG6Pd.js} +3 -3
  158. package/dist/{session-B5I8E41_.js → session-CP0yShzI.js} +1 -1
  159. package/dist/{session-2uX9t1PO.js → session-C__ZeV6y.js} +7 -7
  160. package/dist/{session-Bu5MF744.js → session-sO1d78EF.js} +1 -1
  161. package/dist/{session-ZppYapGg.js → session-zCwG7NHS.js} +1 -1
  162. package/dist/{sqlite-CBMbuGLX.js → sqlite-Bfoh6OgV.js} +4 -4
  163. package/dist/{status-8g-vfjfP.js → status-CQB4pZ8j.js} +2 -2
  164. package/dist/{status-NfZ6FkuQ.js → status-Cuj1dGBb.js} +2 -2
  165. package/dist/{status-BRNeaZhV.js → status-Dnim-lZW.js} +1 -1
  166. package/dist/{status-D0P0XQqw.js → status-TVzePU0v.js} +1 -1
  167. package/dist/{store-m4I2z_5t.js → store-B6Y3aOaY.js} +2 -2
  168. package/dist/{subagent-registry-DJBVFvb4.js → subagent-registry-2rHQ_z7c.js} +4 -4
  169. package/dist/{tables-7DihLyDw.js → tables-BhgdJIJu.js} +1 -1
  170. package/dist/{tool-images-hzyBQ0Og.js → tool-images-DRiKq4of.js} +2 -2
  171. package/dist/{update-cli-BZ2fDrwx.js → update-cli-C5qlFKHT.js} +8 -8
  172. package/dist/{update-cli-BOXR9slg.js → update-cli-DKb91txa.js} +7 -7
  173. package/dist/{update-runner-BZFeJzUi.js → update-runner-BOA-zXJF.js} +1 -1
  174. package/dist/{update-runner-B55O98W8.js → update-runner-D6ZdwFLX.js} +1 -1
  175. package/dist/{web-DoaI-RpC.js → web-B-3vMKvG.js} +3 -3
  176. package/dist/{web-C5vqAHQC.js → web-BCAfeY97.js} +36 -36
  177. package/dist/{web-CtSLAgT_.js → web-CRrtqTfC.js} +3 -3
  178. package/dist/{web-By5urMji.js → web-CmgBQX8I.js} +4 -4
  179. package/dist/{whatsapp-actions-C4JR_6XT.js → whatsapp-actions-x16Ismcy.js} +14 -14
  180. package/dist/{workspace-CgGZnIx_.js → workspace-LSLFINSz.js} +5 -5
  181. package/package.json +1 -1
  182. package/dist/plugin-sdk/web-CUrXnjRV.js +0 -30
@@ -46018,7 +46018,7 @@ function createWhatsAppLoginTool() {
46018
46018
  force: Type.Optional(Type.Boolean())
46019
46019
  }),
46020
46020
  execute: async (_toolCallId, args) => {
46021
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CEOlIdRe.js");
46021
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-Cq7e7xsV.js");
46022
46022
  if ((args?.action ?? "start") === "wait") {
46023
46023
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
46024
46024
  return {
@@ -61235,15 +61235,15 @@ function loadWebOutbound() {
61235
61235
  return webOutboundPromise;
61236
61236
  }
61237
61237
  function loadWebLogin() {
61238
- webLoginPromise ??= import("./login-CwQj2jUX.js").then((n) => n.n);
61238
+ webLoginPromise ??= import("./login-Bub9YVmf.js").then((n) => n.n);
61239
61239
  return webLoginPromise;
61240
61240
  }
61241
61241
  function loadWebLoginQr() {
61242
- webLoginQrPromise ??= import("./login-qr-CEOlIdRe.js");
61242
+ webLoginQrPromise ??= import("./login-qr-Cq7e7xsV.js");
61243
61243
  return webLoginQrPromise;
61244
61244
  }
61245
61245
  function loadWebChannel() {
61246
- webChannelPromise ??= import("./web-DoaI-RpC.js");
61246
+ webChannelPromise ??= import("./web-B-3vMKvG.js");
61247
61247
  return webChannelPromise;
61248
61248
  }
61249
61249
  function loadWhatsAppActions() {
@@ -1,25 +1,25 @@
1
- import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-CkkDESQ2.js";
2
- import { C as normalizeAccountId$1, E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveOpenClawPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-CgGZnIx_.js";
3
- import { B as escapeRegExp, C as requireActivePluginRegistry, F as CONFIG_DIR, K as normalizeE164, X as resolveUserPath, _t as resolvePreferredOpenClawTmpDir, d as defaultRuntime, g as CHAT_CHANNEL_ORDER, h as CHANNEL_IDS, l as createSubsystemLogger, n as runExec, rt as truncateUtf16Safe, v as getChatChannelMeta } from "./exec-C_bNT00b.js";
4
- import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-DUn-XVYs.js";
5
- import { G as resolveSlackAccount, H as resolveTelegramAccount, K as resolveSlackReplyToMode, L as normalizeChannelId, Y as normalizeChatType, Z as resolveDiscordAccount, _ as listDeliverableMessageChannels, a as resizeToJpeg, n as getImageMetadata, v as normalizeMessageChannel, z as normalizeWhatsAppTarget } from "./image-ops-CKPJXWk4.js";
1
+ import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-CyR9Pa1R.js";
2
+ import { C as normalizeAccountId$1, E as resolveAgentIdFromSessionKey, T as normalizeMainKey, _ as DEFAULT_AGENT_ID, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, h as resolveOpenClawPackageRootSync, i as DEFAULT_HEARTBEAT_FILENAME, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as normalizeAgentId, y as buildAgentMainSessionKey } from "./workspace-LSLFINSz.js";
3
+ import { B as escapeRegExp, C as requireActivePluginRegistry, F as CONFIG_DIR, K as normalizeE164, X as resolveUserPath, _t as resolvePreferredOpenClawTmpDir, d as defaultRuntime, g as CHAT_CHANNEL_ORDER, h as CHANNEL_IDS, l as createSubsystemLogger, n as runExec, rt as truncateUtf16Safe, v as getChatChannelMeta } from "./exec-C9rZpEqA.js";
4
+ import { n as resolveAgentConfig, u as resolveSessionAgentId } from "./agent-scope-BIw4Bz2L.js";
5
+ import { G as resolveSlackAccount, H as resolveTelegramAccount, K as resolveSlackReplyToMode, L as normalizeChannelId, Y as normalizeChatType, Z as resolveDiscordAccount, _ as listDeliverableMessageChannels, a as resizeToJpeg, n as getImageMetadata, v as normalizeMessageChannel, z as normalizeWhatsAppTarget } from "./image-ops-7EDUjzca.js";
6
6
  import { t as parseBooleanValue } from "./boolean-Bb19hm9Y.js";
7
- import { y as isPidAlive } from "./model-auth-COYibYBO.js";
7
+ import { y as isPidAlive } from "./model-auth-BBAJ-iuC.js";
8
8
  import { t as formatCliCommand } from "./command-format-BmTFj7S4.js";
9
- import { A as resolveWhatsAppAccount, _ as resolveEnableState, a as writeConfigFile, d as parseDurationMs, g as normalizePluginsConfig, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as resolveMemorySlotDecision } from "./config-CYlbDcBt.js";
10
- import { n as resolveSignalAccount } from "./accounts-BvmssTEF.js";
11
- import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, 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_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-BtogRifc.js";
12
- import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveOpenClawManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-BetN20QN.js";
9
+ import { A as resolveWhatsAppAccount, _ as resolveEnableState, a as writeConfigFile, d as parseDurationMs, g as normalizePluginsConfig, n as loadConfig, p as loadPluginManifestRegistry, s as parseByteSize, t as createConfigIO, v as resolveMemorySlotDecision } from "./config-BA8Xs1ek.js";
10
+ import { n as resolveSignalAccount } from "./accounts-DyinIlq4.js";
11
+ import { A as DEFAULT_OPENCLAW_BROWSER_ENABLED, D as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, E as DEFAULT_AI_SNAPSHOT_MAX_CHARS, O as DEFAULT_BROWSER_EVALUATE_ENABLED, T as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as fetchOk, i as launchOpenClawChrome, j as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, k as DEFAULT_OPENCLAW_BROWSER_COLOR, 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_AI_SNAPSHOT_EFFICIENT_DEPTH, x as isLoopbackHost, y as stopChromeExtensionRelayServer } from "./chrome-DlM4kwMc.js";
12
+ import { a as parseFrontmatterBlock, c as resolveRuntimePlatform, i as resolveOpenClawManifestBlock, n as normalizeStringList, o as hasBinary, r as parseFrontmatterBool, s as isConfigPathTruthyWithDefaults, t as getFrontmatterString } from "./frontmatter-Bk_vZq47.js";
13
13
  import { n as formatErrorMessage, t as extractErrorCode } from "./errors-8mFQsaX1.js";
14
- import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-m4I2z_5t.js";
15
- import { t as resolveIMessageAccount } from "./accounts-CyxQBpl8.js";
16
- import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Bbik2tb_.js";
14
+ import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-B6Y3aOaY.js";
15
+ import { t as resolveIMessageAccount } from "./accounts-Bu2DSNpQ.js";
16
+ import { n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CMYSfM3T.js";
17
17
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-5cC8ciFz.js";
18
- import { t as sanitizeContentBlocksImages } from "./tool-images-hzyBQ0Og.js";
18
+ import { t as sanitizeContentBlocksImages } from "./tool-images-DRiKq4of.js";
19
19
  import fs from "node:fs/promises";
20
20
  import os from "node:os";
21
21
  import path from "node:path";
22
- import fsSync, { existsSync } from "node:fs";
22
+ import fs$1, { existsSync } from "node:fs";
23
23
  import { spawn } from "node:child_process";
24
24
  import { fileURLToPath } from "node:url";
25
25
  import { CURRENT_SESSION_VERSION, SessionManager, formatSkillsForPrompt, loadSkillsFromDir } from "@mariozechner/pi-coding-agent";
@@ -1029,13 +1029,13 @@ function shortPath(value) {
1029
1029
  //#region src/agents/skills/bundled-dir.ts
1030
1030
  function looksLikeSkillsDir(dir) {
1031
1031
  try {
1032
- const entries = fsSync.readdirSync(dir, { withFileTypes: true });
1032
+ const entries = fs$1.readdirSync(dir, { withFileTypes: true });
1033
1033
  for (const entry of entries) {
1034
1034
  if (entry.name.startsWith(".")) continue;
1035
1035
  const fullPath = path.join(dir, entry.name);
1036
1036
  if (entry.isFile() && entry.name.endsWith(".md")) return true;
1037
1037
  if (entry.isDirectory()) {
1038
- if (fsSync.existsSync(path.join(fullPath, "SKILL.md"))) return true;
1038
+ if (fs$1.existsSync(path.join(fullPath, "SKILL.md"))) return true;
1039
1039
  }
1040
1040
  }
1041
1041
  } catch {
@@ -1050,7 +1050,7 @@ function resolveBundledSkillsDir(opts = {}) {
1050
1050
  const execPath = opts.execPath ?? process.execPath;
1051
1051
  const execDir = path.dirname(execPath);
1052
1052
  const sibling = path.join(execDir, "skills");
1053
- if (fsSync.existsSync(sibling)) return sibling;
1053
+ if (fs$1.existsSync(sibling)) return sibling;
1054
1054
  } catch {}
1055
1055
  try {
1056
1056
  const moduleUrl = opts.moduleUrl ?? import.meta.url;
@@ -1106,7 +1106,7 @@ function resolvePluginSkillDirs(params) {
1106
1106
  const trimmed = raw.trim();
1107
1107
  if (!trimmed) continue;
1108
1108
  const candidate = path.resolve(record.rootDir, trimmed);
1109
- if (!fsSync.existsSync(candidate)) {
1109
+ if (!fs$1.existsSync(candidate)) {
1110
1110
  log$1.warn(`plugin skill path not found (${record.id}): ${candidate}`);
1111
1111
  continue;
1112
1112
  }
@@ -1133,7 +1133,7 @@ async function serializeByKey(key, task) {
1133
1133
 
1134
1134
  //#endregion
1135
1135
  //#region src/agents/skills/workspace.ts
1136
- const fsp = fsSync.promises;
1136
+ const fsp = fs$1.promises;
1137
1137
  const skillsLogger = createSubsystemLogger("skills");
1138
1138
  const skillCommandDebugOnce = /* @__PURE__ */ new Set();
1139
1139
  function debugSkillCommandOnce(messageKey, message, meta) {
@@ -1226,7 +1226,7 @@ function loadSkillEntries(workspaceDir, opts) {
1226
1226
  return Array.from(merged.values()).map((skill) => {
1227
1227
  let frontmatter = {};
1228
1228
  try {
1229
- frontmatter = parseFrontmatter(fsSync.readFileSync(skill.filePath, "utf-8"));
1229
+ frontmatter = parseFrontmatter(fs$1.readFileSync(skill.filePath, "utf-8"));
1230
1230
  } catch {}
1231
1231
  return {
1232
1232
  skill,
@@ -1465,7 +1465,7 @@ function isModuleNotFoundError(err) {
1465
1465
  }
1466
1466
  async function loadPwAiModule(mode) {
1467
1467
  try {
1468
- return await import("./pw-ai-BCyIw4W4.js");
1468
+ return await import("./pw-ai-xh9cPTDX.js");
1469
1469
  } catch (err) {
1470
1470
  if (mode === "soft") return null;
1471
1471
  if (isModuleNotFoundError(err)) return null;
@@ -3123,11 +3123,11 @@ async function movePathToTrash(targetPath) {
3123
3123
  return targetPath;
3124
3124
  } catch {
3125
3125
  const trashDir = path.join(os.homedir(), ".Trash");
3126
- fsSync.mkdirSync(trashDir, { recursive: true });
3126
+ fs$1.mkdirSync(trashDir, { recursive: true });
3127
3127
  const base = path.basename(targetPath);
3128
3128
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
3129
- if (fsSync.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
3130
- fsSync.renameSync(targetPath, dest);
3129
+ if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${Math.random()}`);
3130
+ fs$1.renameSync(targetPath, dest);
3131
3131
  return dest;
3132
3132
  }
3133
3133
  }
@@ -3205,7 +3205,7 @@ function createBrowserProfilesService(ctx) {
3205
3205
  } catch {}
3206
3206
  const userDataDir = resolveOpenClawUserDataDir(name);
3207
3207
  const profileDir = path.dirname(userDataDir);
3208
- if (fsSync.existsSync(profileDir)) {
3208
+ if (fs$1.existsSync(profileDir)) {
3209
3209
  await movePathToTrash(profileDir);
3210
3210
  deleted = true;
3211
3211
  }
@@ -3835,13 +3835,13 @@ function createProfileContext(opts, profile) {
3835
3835
  const userDataDir = resolveOpenClawUserDataDir(profile.name);
3836
3836
  const profileState = getProfileState();
3837
3837
  if (await isHttpReachable(300) && !profileState.running) try {
3838
- await (await import("./pw-ai-BCyIw4W4.js")).closePlaywrightBrowserConnection();
3838
+ await (await import("./pw-ai-xh9cPTDX.js")).closePlaywrightBrowserConnection();
3839
3839
  } catch {}
3840
3840
  if (profileState.running) await stopRunningBrowser();
3841
3841
  try {
3842
- await (await import("./pw-ai-BCyIw4W4.js")).closePlaywrightBrowserConnection();
3842
+ await (await import("./pw-ai-xh9cPTDX.js")).closePlaywrightBrowserConnection();
3843
3843
  } catch {}
3844
- if (!fsSync.existsSync(userDataDir)) return {
3844
+ if (!fs$1.existsSync(userDataDir)) return {
3845
3845
  moved: false,
3846
3846
  from: userDataDir
3847
3847
  };
@@ -6188,7 +6188,7 @@ function releaseAllLocksSync() {
6188
6188
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
6189
6189
  } catch {}
6190
6190
  try {
6191
- fsSync.rmSync(held.lockPath, { force: true });
6191
+ fs$1.rmSync(held.lockPath, { force: true });
6192
6192
  } catch {}
6193
6193
  HELD_LOCKS.delete(sessionFile);
6194
6194
  }
@@ -6403,7 +6403,7 @@ function isCacheEnabled(ttlMs) {
6403
6403
  }
6404
6404
  function getFileMtimeMs(filePath) {
6405
6405
  try {
6406
- return fsSync.statSync(filePath).mtimeMs;
6406
+ return fs$1.statSync(filePath).mtimeMs;
6407
6407
  } catch {
6408
6408
  return;
6409
6409
  }
@@ -6480,7 +6480,7 @@ function loadSessionStore(storePath, opts = {}) {
6480
6480
  let store = {};
6481
6481
  let mtimeMs = getFileMtimeMs(storePath);
6482
6482
  try {
6483
- const raw = fsSync.readFileSync(storePath, "utf-8");
6483
+ const raw = fs$1.readFileSync(storePath, "utf-8");
6484
6484
  const parsed = JSON.parse(raw);
6485
6485
  if (isSessionStoreRecord(parsed)) store = parsed;
6486
6486
  mtimeMs = getFileMtimeMs(storePath) ?? mtimeMs;
@@ -6618,7 +6618,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
6618
6618
  }
6619
6619
  async function getSessionFileSize(storePath) {
6620
6620
  try {
6621
- return (await fsSync.promises.stat(storePath)).size;
6621
+ return (await fs$1.promises.stat(storePath)).size;
6622
6622
  } catch {
6623
6623
  return null;
6624
6624
  }
@@ -6635,7 +6635,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
6635
6635
  if (fileSize <= maxBytes) return false;
6636
6636
  const backupPath = `${storePath}.bak.${Date.now()}`;
6637
6637
  try {
6638
- await fsSync.promises.rename(storePath, backupPath);
6638
+ await fs$1.promises.rename(storePath, backupPath);
6639
6639
  log.info("rotated session store file", {
6640
6640
  backupPath: path.basename(backupPath),
6641
6641
  sizeBytes: fileSize
@@ -6646,11 +6646,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
6646
6646
  try {
6647
6647
  const dir = path.dirname(storePath);
6648
6648
  const baseName = path.basename(storePath);
6649
- const backups = (await fsSync.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6649
+ const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
6650
6650
  const maxBackups = 3;
6651
6651
  if (backups.length > maxBackups) {
6652
6652
  const toDelete = backups.slice(maxBackups);
6653
- for (const old of toDelete) await fsSync.promises.unlink(path.join(dir, old)).catch(() => void 0);
6653
+ for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
6654
6654
  log.info("cleaned up old session store backups", { deleted: toDelete.length });
6655
6655
  }
6656
6656
  } catch {}
@@ -6687,11 +6687,11 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6687
6687
  await rotateSessionFile(storePath, maintenance.rotateBytes);
6688
6688
  }
6689
6689
  }
6690
- await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6690
+ await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6691
6691
  const json = JSON.stringify(store, null, 2);
6692
6692
  if (process.platform === "win32") {
6693
6693
  try {
6694
- await fsSync.promises.writeFile(storePath, json, "utf-8");
6694
+ await fs$1.promises.writeFile(storePath, json, "utf-8");
6695
6695
  } catch (err) {
6696
6696
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") return;
6697
6697
  throw err;
@@ -6700,21 +6700,21 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6700
6700
  }
6701
6701
  const tmp = `${storePath}.${process.pid}.${crypto.randomUUID()}.tmp`;
6702
6702
  try {
6703
- await fsSync.promises.writeFile(tmp, json, {
6703
+ await fs$1.promises.writeFile(tmp, json, {
6704
6704
  mode: 384,
6705
6705
  encoding: "utf-8"
6706
6706
  });
6707
- await fsSync.promises.rename(tmp, storePath);
6708
- await fsSync.promises.chmod(storePath, 384);
6707
+ await fs$1.promises.rename(tmp, storePath);
6708
+ await fs$1.promises.chmod(storePath, 384);
6709
6709
  } catch (err) {
6710
6710
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) === "ENOENT") {
6711
6711
  try {
6712
- await fsSync.promises.mkdir(path.dirname(storePath), { recursive: true });
6713
- await fsSync.promises.writeFile(storePath, json, {
6712
+ await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
6713
+ await fs$1.promises.writeFile(storePath, json, {
6714
6714
  mode: 384,
6715
6715
  encoding: "utf-8"
6716
6716
  });
6717
- await fsSync.promises.chmod(storePath, 384);
6717
+ await fs$1.promises.chmod(storePath, 384);
6718
6718
  } catch (err2) {
6719
6719
  if ((err2 && typeof err2 === "object" && "code" in err2 ? String(err2.code) : null) === "ENOENT") return;
6720
6720
  throw err2;
@@ -6723,7 +6723,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
6723
6723
  }
6724
6724
  throw err;
6725
6725
  } finally {
6726
- await fsSync.promises.rm(tmp, { force: true });
6726
+ await fs$1.promises.rm(tmp, { force: true });
6727
6727
  }
6728
6728
  }
6729
6729
  async function updateSessionStore(storePath, mutator, opts) {
@@ -6942,8 +6942,8 @@ function resolveMirroredTranscriptText(params) {
6942
6942
  return trimmed ? trimmed : null;
6943
6943
  }
6944
6944
  async function ensureSessionHeader(params) {
6945
- if (fsSync.existsSync(params.sessionFile)) return;
6946
- await fsSync.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6945
+ if (fs$1.existsSync(params.sessionFile)) return;
6946
+ await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
6947
6947
  const header = {
6948
6948
  type: "session",
6949
6949
  version: CURRENT_SESSION_VERSION,
@@ -6951,7 +6951,7 @@ async function ensureSessionHeader(params) {
6951
6951
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
6952
6952
  cwd: process.cwd()
6953
6953
  };
6954
- await fsSync.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, "utf-8");
6954
+ await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, "utf-8");
6955
6955
  }
6956
6956
  async function appendAssistantMessageToSessionTranscript(params) {
6957
6957
  const sessionKey = params.sessionKey.trim();
@@ -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-DJBVFvb4.js";
5
+ import { h as loadOpenClawPlugins } from "./subagent-registry-2rHQ_z7c.js";
6
6
 
7
7
  //#region src/cli/plugin-registry.ts
8
8
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { kt as loadOpenClawPlugins } from "./reply-d6yV4wB_.js";
2
+ import { kt as loadOpenClawPlugins } from "./reply-D9JN_rwA.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";
@@ -1,6 +1,6 @@
1
- import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DWZdK6Cr.js";
1
+ import { w as DEFAULT_ACCOUNT_ID } from "./agent-scope-ip6rBrUD.js";
2
2
  import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
3
- import { r as markdownToIRWithMeta } from "./ir-D6TOa8wy.js";
3
+ import { r as markdownToIRWithMeta } from "./ir-BEwiHV7R.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-9HIVkGqi.js";
1
+ import { K as resolveUserPath, U as pathExists, t as runCommandWithTimeout } from "./exec-C5lqk9X4.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-9HIVkGqi.js";
1
+ import { it as shouldLogVerbose, nt as logVerbose } from "./exec-C5lqk9X4.js";
2
2
  import "./paths-ZQWYGl2V.js";
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";
3
+ import "./model-selection-DHMRsTNB.js";
4
+ import "./config-DelXkt58.js";
5
+ import "./agent-scope-ip6rBrUD.js";
6
+ import "./pi-embedded-helpers-C3_rwWkJ.js";
7
+ import "./image-ops-zm4O3fkk.js";
8
+ import "./fetch-Cw_7QfME.js";
9
9
  import "./github-copilot-token-BmLW2kW0.js";
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";
10
+ import "./paths-wRVSwmkX.js";
11
+ import "./tool-images-C4GaQjrF.js";
12
+ import "./chrome-OZ5Ge8PR.js";
13
+ import { a as runCapability, l as isAudioAttachment, n as createMediaAttachmentCache, r as normalizeMediaAttachments, t as buildProviderRegistry } from "./runner-DxPwS4ed.js";
14
+ import "./image-2KL1DOmN.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-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";
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-BCjRFrxS.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-C5lqk9X4.js";
3
+ import { M as getWebAuthAgeMs, R as readWebSelfId, k as resolveWhatsAppAccount, n as loadConfig } from "./config-DelXkt58.js";
4
+ import { D as buildAgentMainSessionKey, E as DEFAULT_MAIN_KEY, M as normalizeAgentId, k as buildGroupHistoryKey } from "./agent-scope-ip6rBrUD.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-C3_rwWkJ.js";
6
6
  import { t as formatCliCommand } from "./command-format-D8xZiqKN.js";
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";
7
+ import { s as resolveStorePath } from "./paths-wRVSwmkX.js";
8
+ import { i as convertMarkdownTables, r as setActiveWebListener } from "./active-listener-CFLZdKRQ.js";
9
+ import { _ as loadWebMedia, c as chunkMarkdownTextWithMode, d as resolveChunkMode, f as resolveTextChunkLimit, i as resolveMarkdownTableMode, y as getAgentScopedMediaLocalRoots } from "./ir-BEwiHV7R.js";
10
+ import { d as registerUnhandledRejectionHandler } from "./runner-DxPwS4ed.js";
11
+ import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-DT2nH6dY.js";
12
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CMKy7hKx.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-9HIVkGqi.js";
1
+ import { j as CONFIG_DIR, l as createSubsystemLogger } from "./exec-C5lqk9X4.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-DvO68zWD.js";
2
- import { r as sanitizeToolResultImages } from "./tool-images-BuctNDly.js";
1
+ import { o as detectMime } from "./image-ops-zm4O3fkk.js";
2
+ import { r as sanitizeToolResultImages } from "./tool-images-C4GaQjrF.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-9HIVkGqi.js";
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-C5lqk9X4.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-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";
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-DHMRsTNB.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-ip6rBrUD.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 json5 from "json5";
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) => json5.parse(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 ?? 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$1 = json5) {
6079
+ function parseConfigJson5(raw, json5 = JSON5) {
6080
6080
  try {
6081
6081
  return {
6082
6082
  ok: true,
6083
- parsed: json5$1.parse(raw)
6083
+ parsed: json5.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-9HIVkGqi.js";
2
+ import { I as escapeRegExp, S as getActivePluginRegistry, l as createSubsystemLogger } from "./exec-C5lqk9X4.js";
3
3
  import { s as resolveStateDir } from "./paths-ZQWYGl2V.js";
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";
4
+ import { n as loadConfig } from "./config-DelXkt58.js";
5
+ import { j as normalizeAccountId$1 } from "./agent-scope-ip6rBrUD.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-C3_rwWkJ.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-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";
8
+ import { A as normalizeChannelId, O as getChannelPlugin, g as mediaKindFromMime } from "./image-ops-zm4O3fkk.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-BEwiHV7R.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 json5 from "json5";
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 = json5.parse(raw)?.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-9HIVkGqi.js";
1
+ import { c as logWarn } from "./exec-C5lqk9X4.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-DvO68zWD.js";
3
+ import { ht as createPinnedDispatcher, mt as closeDispatcher, o as detectMime, pt as SsrFBlockedError, s as extensionForMime, vt as resolvePinnedHostnameWithPolicy } from "./image-ops-zm4O3fkk.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-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";
2
+ import { J as shortenHomeInString, z as isRecord } from "./exec-C5lqk9X4.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-DHMRsTNB.js";
4
+ import { n as loadConfig } from "./config-DelXkt58.js";
5
+ import { N as sanitizeUserFacingText } from "./pi-embedded-helpers-C3_rwWkJ.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-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";
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-C5lqk9X4.js";
2
+ import { q as isTruthyEnvValue } from "./model-selection-DHMRsTNB.js";
3
+ import { k as resolveWhatsAppAccount } from "./config-DelXkt58.js";
4
+ import { M as normalizeAgentId, c as resolveDefaultAgentId, j as normalizeAccountId, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-ip6rBrUD.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
7
7
  import os from "node:os";