openclaw-multi-auto 1.2.4 → 1.2.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 (289) hide show
  1. package/dist/{accounts-C_lW3Ag9.js → accounts-BOzyfwW4.js} +2 -2
  2. package/dist/{accounts-C9HcPI9h.js → accounts-L9ByEpnP.js} +2 -2
  3. package/dist/{accounts-Tgelvk0C.js → accounts-yfBeCZtS.js} +17 -17
  4. package/dist/{active-listener-BEdprTkn.js → active-listener-D1yqT1cw.js} +2 -2
  5. package/dist/{api-key-rotation-BJpKWXy0.js → api-key-rotation-DtsNS2Nb.js} +2 -2
  6. package/dist/{audio-preflight-5FEeDooz.js → audio-preflight-DDBLZBdb.js} +4 -4
  7. package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-DoPfNXDz.js} +32 -32
  8. package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-CzjuH3uL.js} +12 -12
  9. package/dist/{audio-transcription-runner-B-UvoDjZ.js → audio-transcription-runner-DZbSWT9E.js} +1 -1
  10. package/dist/{audit-membership-runtime-Dntemq07.js → audit-membership-runtime-DWyHWAHM.js} +4 -4
  11. package/dist/build-info.json +3 -3
  12. package/dist/bundled/boot-md/handler.js +51 -51
  13. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  14. package/dist/bundled/command-logger/handler.js +2 -2
  15. package/dist/bundled/session-memory/handler.js +51 -51
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{channel-activity-BDnjYF7B.js → channel-activity-xHOMiarp.js} +3 -3
  18. package/dist/{chrome-D45SyhQL.js → chrome-CMU2WVFh.js} +8 -8
  19. package/dist/{chrome-DxxEKrY7.js → chrome-DlhJHqj8.js} +26 -26
  20. package/dist/{commands-registry-D5qXbFJn.js → commands-registry-V1zZ5pPC.js} +4 -4
  21. package/dist/{deliver-B9cys0EZ.js → deliver-BXVcFIHL.js} +1 -1
  22. package/dist/{deliver-DbdywYJE.js → deliver-CApVJA_l.js} +21 -21
  23. package/dist/deliver-runtime-D1z-h5eg.js +36 -0
  24. package/dist/{deliver-runtime-DhaQJ0pI.js → deliver-runtime-DTaIS-1i.js} +3 -3
  25. package/dist/deps-send-discord.runtime-DnbhTFX9.js +26 -0
  26. package/dist/deps-send-imessage.runtime-BOiQ6mDx.js +25 -0
  27. package/dist/deps-send-signal.runtime-CTcl388M.js +24 -0
  28. package/dist/deps-send-slack.runtime-CCqBz4Kg.js +22 -0
  29. package/dist/deps-send-telegram.runtime-DGSKTCpH.js +27 -0
  30. package/dist/{deps-send-whatsapp.runtime-DvTL2tzN.js → deps-send-whatsapp.runtime-CIZqFAqb.js} +7 -7
  31. package/dist/deps-send-whatsapp.runtime-Dz_4fi2D.js +60 -0
  32. package/dist/{diagnostic-Co6Kghr-.js → diagnostic-Bn4PZjMZ.js} +2 -2
  33. package/dist/{errors-xt401nuk.js → errors-CCLeFWAg.js} +1 -1
  34. package/dist/extensionAPI.js +6 -6
  35. package/dist/{fetch-DuraYswo.js → fetch-BlJWzEP6.js} +5 -5
  36. package/dist/{fetch-guard-DWr0d00H.js → fetch-guard-ChYBwfiy.js} +2 -2
  37. package/dist/{frontmatter-BkTfEZ93.js → frontmatter-CvaMP376.js} +3 -3
  38. package/dist/{fs-safe-CTYUrIgQ.js → fs-safe-0jAo_Whb.js} +4 -4
  39. package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
  40. package/dist/{image-eT7Y-nP5.js → image-B3Mz7N5I.js} +6 -6
  41. package/dist/{image-DAOPwVXi.js → image-BCVLo0qw.js} +1 -1
  42. package/dist/{image-ops-BuUnEOE0.js → image-ops-CehkHxmW.js} +2 -2
  43. package/dist/image-runtime-DWjhow2W.js +29 -0
  44. package/dist/{image-runtime-wlCLVvVv.js → image-runtime-DtCKpMPZ.js} +3 -3
  45. package/dist/{ir-B83looB-.js → ir-DAP-B-Xw.js} +8 -8
  46. package/dist/{legacy-names-DOC03BkU.js → legacy-names-TyzbVqa_.js} +1 -1
  47. package/dist/llm-slug-generator.js +51 -51
  48. package/dist/{logger-BfjWMCSD.js → logger-DMZQQtxK.js} +7 -7
  49. package/dist/{login-CrIwcrVI.js → login-DiCctRo1.js} +5 -5
  50. package/dist/{login-qr-BpPDZdl_.js → login-qr-MUbXgjtd.js} +10 -10
  51. package/dist/{manager-1bvuGrNR.js → manager-BW_NSIMl.js} +13 -13
  52. package/dist/manager-runtime-BN6VevdC.js +18 -0
  53. package/dist/{model-selection-Dna0Gz1k.js → model-selection-idoqPmw0.js} +43 -43
  54. package/dist/{outbound-ChDjtuD6.js → outbound-C2kanETZ.js} +6 -6
  55. package/dist/{outbound-attachment-DqHlD21U.js → outbound-attachment-DBrYWX8h.js} +2 -2
  56. package/dist/{path-alias-guards-BzvdLvTI.js → path-alias-guards-DqXRZmsL.js} +1 -1
  57. package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
  58. package/dist/{paths-Bkr-BCxW.js → paths-CCxysrzL.js} +4 -4
  59. package/dist/{pi-embedded-DYU79yGe.js → pi-embedded-CgQ_W6Xs.js} +24 -24
  60. package/dist/{pi-embedded-BQQa91aA.js → pi-embedded-bcjMe3wj.js} +167 -167
  61. package/dist/{pi-embedded-helpers-uTRAmQ4n.js → pi-embedded-helpers-CwuBTKza.js} +3 -3
  62. package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-D5yyGEvA.js} +52 -52
  63. package/dist/pi-model-discovery-BGgOlX8N.js +134 -0
  64. package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +11 -0
  65. package/dist/{pi-tools.before-tool-call.runtime-Cwab_5W1.js → pi-tools.before-tool-call.runtime-BuLxSyx9.js} +9 -9
  66. package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
  67. package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
  68. package/dist/plugin-sdk/accounts-CJWOBzwB.js +35 -0
  69. package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
  70. package/dist/plugin-sdk/accounts-DP1-L-QS.js +288 -0
  71. package/dist/plugin-sdk/accounts-DZhWlEg3.js +46 -0
  72. package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-B_sLJTXM.js} +2 -2
  73. package/dist/plugin-sdk/active-listener-CkPnMUkB.js +50 -0
  74. package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BRE4X2tf.js} +2 -2
  75. package/dist/plugin-sdk/api-key-rotation-BXnNsojA.js +181 -0
  76. package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
  77. package/dist/plugin-sdk/audio-preflight-DGEUDxxR.js +69 -0
  78. package/dist/plugin-sdk/audio-transcription-runner-DkoPNPYt.js +2176 -0
  79. package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
  80. package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
  81. package/dist/plugin-sdk/audit-membership-runtime-DSBHHw7o.js +58 -0
  82. package/dist/plugin-sdk/channel-activity-F3d0yUwy.js +94 -0
  83. package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
  84. package/dist/plugin-sdk/channel-web-QF7EpjeP.js +2256 -0
  85. package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
  86. package/dist/plugin-sdk/chrome-BXoCyCkY.js +2415 -0
  87. package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
  88. package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
  89. package/dist/plugin-sdk/commands-registry-t7cXBTfN.js +1125 -0
  90. package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
  91. package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
  92. package/dist/plugin-sdk/config-BkEnz2Po.js +17913 -0
  93. package/dist/plugin-sdk/deliver-B6AG_l67.js +1694 -0
  94. package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
  95. package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
  96. package/dist/plugin-sdk/deliver-runtime-D585kJZc.js +32 -0
  97. package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
  98. package/dist/plugin-sdk/deps-send-discord.runtime-a_OKY2js.js +23 -0
  99. package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
  100. package/dist/plugin-sdk/deps-send-imessage.runtime-Baxy9TD4.js +22 -0
  101. package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
  102. package/dist/plugin-sdk/deps-send-signal.runtime-BwXoCrFl.js +21 -0
  103. package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
  104. package/dist/plugin-sdk/deps-send-slack.runtime-CLmKjgso.js +19 -0
  105. package/dist/plugin-sdk/deps-send-telegram.runtime-BKfdBKnZ.js +24 -0
  106. package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
  107. package/dist/plugin-sdk/deps-send-whatsapp.runtime-BOTwkbx_.js +57 -0
  108. package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
  109. package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
  110. package/dist/plugin-sdk/diagnostic-CsP-lEkI.js +319 -0
  111. package/dist/plugin-sdk/{errors-CtMWwS2Z.js → errors-B3cHyZZA.js} +1 -1
  112. package/dist/plugin-sdk/errors-DaiAM-yU.js +54 -0
  113. package/dist/plugin-sdk/fetch-guard-DETCcJzQ.js +156 -0
  114. package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
  115. package/dist/plugin-sdk/fs-safe-B8y811FR.js +352 -0
  116. package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
  117. package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
  118. package/dist/plugin-sdk/image-DjTEkYZE.js +2310 -0
  119. package/dist/plugin-sdk/image-ops-BSiMpAw4.js +584 -0
  120. package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
  121. package/dist/plugin-sdk/image-runtime-6xPp8m5a.js +25 -0
  122. package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
  123. package/dist/plugin-sdk/index.js +50 -50
  124. package/dist/plugin-sdk/ir-DQ7_HbvK.js +1296 -0
  125. package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
  126. package/dist/plugin-sdk/local-roots-BUP4YBmR.js +186 -0
  127. package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
  128. package/dist/plugin-sdk/logger-CZY9KIoY.js +1163 -0
  129. package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
  130. package/dist/plugin-sdk/login-BxEKLlCo.js +57 -0
  131. package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
  132. package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
  133. package/dist/plugin-sdk/login-qr-BQIpMPr9.js +320 -0
  134. package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
  135. package/dist/plugin-sdk/manager-I6KbPihW.js +3917 -0
  136. package/dist/plugin-sdk/manager-runtime-CFfYYWIQ.js +15 -0
  137. package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
  138. package/dist/plugin-sdk/mattermost.js +3 -3
  139. package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
  140. package/dist/plugin-sdk/outbound-NS6UHnB6.js +212 -0
  141. package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
  142. package/dist/plugin-sdk/outbound-attachment-Dy6fyf6H.js +19 -0
  143. package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-DBjLbIX_.js} +1 -1
  144. package/dist/plugin-sdk/path-alias-guards-sWayacde.js +43 -0
  145. package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
  146. package/dist/plugin-sdk/paths-vTM3Lh3X.js +166 -0
  147. package/dist/plugin-sdk/pi-embedded-helpers-1R1gu7eX.js +9627 -0
  148. package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
  149. package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
  150. package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
  151. package/dist/plugin-sdk/pi-model-discovery-runtime-Do9o-dUd.js +8 -0
  152. package/dist/{pi-model-discovery-Dymwdjt0.js → plugin-sdk/pi-model-discovery-v-XPUOOf.js} +2 -2
  153. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-D4sFsIks.js +354 -0
  154. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
  155. package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
  156. package/dist/plugin-sdk/plugins-DeBZB9l_.js +864 -0
  157. package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
  158. package/dist/plugin-sdk/{proxy-fetch-Ch95c_Y2.js → proxy-fetch-ChxOhWF4.js} +1 -1
  159. package/dist/{proxy-fetch-B2pEfjbR.js → plugin-sdk/proxy-fetch-uDXGKG3Z.js} +1 -1
  160. package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
  161. package/dist/plugin-sdk/pw-ai-DEOmCSSC.js +1938 -0
  162. package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
  163. package/dist/plugin-sdk/qmd-manager-HyYKoEch.js +1448 -0
  164. package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
  165. package/dist/plugin-sdk/query-expansion-CeyKUeDW.js +1011 -0
  166. package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
  167. package/dist/{redact-COik8ET1.js → plugin-sdk/redact-DjVX-1N3.js} +1 -1
  168. package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
  169. package/dist/plugin-sdk/reply-DAo_Jt8K.js +97916 -0
  170. package/dist/plugin-sdk/resolve-outbound-target-B42qgQS9.js +40 -0
  171. package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
  172. package/dist/plugin-sdk/run-with-concurrency-Bt_ks0Qa.js +1994 -0
  173. package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
  174. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-B6W989eF.js +10 -0
  175. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
  176. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-c_GDFy37.js +19 -0
  177. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
  178. package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
  179. package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
  180. package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
  181. package/dist/plugin-sdk/send-CQpMudwO.js +2587 -0
  182. package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
  183. package/dist/plugin-sdk/send-DQHLzVyO.js +414 -0
  184. package/dist/plugin-sdk/send-DTB24bEF.js +3135 -0
  185. package/dist/plugin-sdk/send-DfHadjZ_.js +503 -0
  186. package/dist/plugin-sdk/send-XXlW2iny.js +540 -0
  187. package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
  188. package/dist/plugin-sdk/session-6TF6MyaC.js +169 -0
  189. package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
  190. package/dist/plugin-sdk/skill-commands-CkGeFUMl.js +342 -0
  191. package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
  192. package/dist/plugin-sdk/skills-CBkHBYPq.js +1428 -0
  193. package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
  194. package/dist/plugin-sdk/slash-commands.runtime-CxliuGaP.js +13 -0
  195. package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
  196. package/dist/plugin-sdk/slash-dispatch.runtime-DFaeYlJQ.js +52 -0
  197. package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
  198. package/dist/plugin-sdk/slash-skill-commands.runtime-0M0OLCxq.js +16 -0
  199. package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
  200. package/dist/plugin-sdk/ssrf-cFtplYtS.js +202 -0
  201. package/dist/plugin-sdk/store-5nyxY3WU.js +81 -0
  202. package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
  203. package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
  204. package/dist/plugin-sdk/subagent-registry-runtime-DCtmDwna.js +52 -0
  205. package/dist/plugin-sdk/tables-C47P4GTN.js +55 -0
  206. package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
  207. package/dist/{target-errors-mnlwhAjP.js → plugin-sdk/target-errors-Blia4S69.js} +2 -2
  208. package/dist/plugin-sdk/thinking-Bo2eosVa.js +1206 -0
  209. package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
  210. package/dist/plugin-sdk/{tokens-B1PW5Ayy.js → tokens-BDr0Z9o3.js} +1 -1
  211. package/dist/{tokens-q32vI39c.js → plugin-sdk/tokens-DgNRBwIg.js} +1 -1
  212. package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-Gk_-0y2N.js} +2 -2
  213. package/dist/plugin-sdk/tool-images-eEfOVkzf.js +274 -0
  214. package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
  215. package/dist/plugin-sdk/web-CVxZbXyH.js +56 -0
  216. package/dist/plugin-sdk/whatsapp-actions-Bw0H9g-n.js +80 -0
  217. package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
  218. package/dist/plugin-sdk/whatsapp.js +50 -50
  219. package/dist/{plugins-4Rj4OjLY.js → plugins-CWkRQYDj.js} +11 -11
  220. package/dist/{proxy-env-DlmzDx8x.js → proxy-env-Cq5gdrbj.js} +1 -1
  221. package/dist/proxy-fetch-CCjEYbFm.js +38 -0
  222. package/dist/{pw-ai-DNMjFMqH.js → pw-ai-CDQDCfUa.js} +14 -14
  223. package/dist/{pw-ai-GcYO6HPE.js → pw-ai-CmphSzHx.js} +1 -1
  224. package/dist/{qmd-manager-BtIKUaO9.js → qmd-manager-BsYsO9Ii.js} +10 -10
  225. package/dist/{query-expansion-CX-1fS52.js → query-expansion-DtLc3wjL.js} +6 -6
  226. package/dist/redact-ClbcYG1J.js +319 -0
  227. package/dist/{run-with-concurrency-BgYfgkXT.js → run-with-concurrency-D_ZpbgEG.js} +4 -4
  228. package/dist/runtime-whatsapp-login.runtime-IeylZEl4.js +13 -0
  229. package/dist/runtime-whatsapp-outbound.runtime-ClBRuLsq.js +22 -0
  230. package/dist/{send-dfu6_rgf.js → send-BQERFNyo.js} +5 -5
  231. package/dist/{send-L7gRiwyd.js → send-Bj776ESJ.js} +7 -7
  232. package/dist/{send-PE6cwoTe.js → send-DcxmcFi_.js} +8 -8
  233. package/dist/{send-6lz6rNVP.js → send-Dx2RkUOZ.js} +6 -6
  234. package/dist/{send-BHTiZcH3.js → send-vmONuVgL.js} +26 -26
  235. package/dist/{session-D8ImowSs.js → session-A4QhBRvH.js} +8 -8
  236. package/dist/{skill-commands-DNqJ-kwn.js → skill-commands-CMzBZKG2.js} +9 -9
  237. package/dist/{skills-7ODkHQYp.js → skills-CE_iqvM5.js} +22 -22
  238. package/dist/slash-commands.runtime-Cpn2tYW4.js +16 -0
  239. package/dist/{slash-dispatch.runtime-Dh053pQK.js → slash-dispatch.runtime-131yup2e.js} +6 -6
  240. package/dist/slash-dispatch.runtime-CWbpp23S.js +56 -0
  241. package/dist/slash-skill-commands.runtime-DKMvvdDW.js +20 -0
  242. package/dist/{store-D89wDcz9.js → store--eR1R_UX.js} +2 -2
  243. package/dist/subagent-registry-runtime-DEVpAaAP.js +56 -0
  244. package/dist/{subagent-registry-runtime-DSi5mnCQ.js → subagent-registry-runtime-DbSf_Je6.js} +6 -6
  245. package/dist/{subsystem-B45WV3qB.js → subsystem-Di1z8l0Z.js} +14 -14
  246. package/dist/{tables-mE4cJBN2.js → tables-d739Y1xW.js} +1 -1
  247. package/dist/target-errors-CBI2Ga0y.js +195 -0
  248. package/dist/{thinking-BeGmb5k6.js → thinking-DXYisHiZ.js} +7 -7
  249. package/dist/tokens-DxnY9ui_.js +52 -0
  250. package/dist/{tool-images-RZdHiZcG.js → tool-images-2cBx1W8h.js} +2 -2
  251. package/dist/{web-1hWJDzNA.js → web-MR9d7KyB.js} +6 -6
  252. package/dist/{web-Btj-e8kN.js → web-NWKn8ABz.js} +55 -55
  253. package/dist/{whatsapp-actions-BHbJJyqw.js → whatsapp-actions-iEArE_Ez.js} +21 -21
  254. package/dist/{workspace-U-DyR64O.js → workspace-CUVC6GX1.js} +20 -20
  255. package/package.json +1 -1
  256. package/scripts/create-instance.sh +142 -92
  257. package/dist/deliver-runtime-BFs7iAZF.js +0 -36
  258. package/dist/deps-send-discord.runtime-DZUccI6Z.js +0 -26
  259. package/dist/deps-send-imessage.runtime-CF3OpoqY.js +0 -25
  260. package/dist/deps-send-signal.runtime-Cw4-ozeO.js +0 -24
  261. package/dist/deps-send-slack.runtime-BDsDhS1P.js +0 -22
  262. package/dist/deps-send-telegram.runtime-D_4xVasO.js +0 -27
  263. package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +0 -60
  264. package/dist/image-runtime-BcAK3n8a.js +0 -29
  265. package/dist/manager-runtime-FO1Sx3W8.js +0 -18
  266. package/dist/pi-model-discovery-runtime-BeY4EUPp.js +0 -11
  267. package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
  268. package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
  269. package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
  270. package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
  271. package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
  272. package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
  273. package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
  274. package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
  275. package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
  276. package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
  277. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
  278. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
  279. package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
  280. package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
  281. package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
  282. package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
  283. package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
  284. package/dist/runtime-whatsapp-login.runtime-DUb55byQ.js +0 -13
  285. package/dist/runtime-whatsapp-outbound.runtime-Bii_xSfI.js +0 -22
  286. package/dist/slash-commands.runtime-CVw6566g.js +0 -16
  287. package/dist/slash-dispatch.runtime-B9Ygtzi4.js +0 -56
  288. package/dist/slash-skill-commands.runtime-DxZ4z5h6.js +0 -20
  289. package/dist/subagent-registry-runtime-DL1Wv7nA.js +0 -56
@@ -1,7 +1,7 @@
1
- import { r as resolveConfigPath } from "./paths-Cvc9EM8Y.js";
1
+ import { r as resolveConfigPath } from "./paths-C6TxBCvO.js";
2
2
  import os from "node:os";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import syncFs from "node:fs";
5
5
  import chalk, { Chalk } from "chalk";
6
6
  import { Logger } from "tslog";
7
7
  import JSON5 from "json5";
@@ -54,15 +54,15 @@ function getCommandPathInternal(argv, depth, opts) {
54
54
  //#endregion
55
55
  //#region src/infra/tmp-openclaw-dir.ts
56
56
  const POSIX_OPENCLAW_TMP_DIR = process.env.OPENCLAW_TMP_DIR ?? "/tmp/openclaw";
57
- const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
57
+ const TMP_DIR_ACCESS_MODE = syncFs.constants.W_OK | syncFs.constants.X_OK;
58
58
  function isNodeErrorWithCode(err, code) {
59
59
  return typeof err === "object" && err !== null && "code" in err && err.code === code;
60
60
  }
61
61
  function resolvePreferredOpenClawTmpDir(options = {}) {
62
- const accessSync = options.accessSync ?? fs.accessSync;
63
- const chmodSync = options.chmodSync ?? fs.chmodSync;
64
- const lstatSync = options.lstatSync ?? fs.lstatSync;
65
- const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
62
+ const accessSync = options.accessSync ?? syncFs.accessSync;
63
+ const chmodSync = options.chmodSync ?? syncFs.chmodSync;
64
+ const lstatSync = options.lstatSync ?? syncFs.lstatSync;
65
+ const mkdirSync = options.mkdirSync ?? syncFs.mkdirSync;
66
66
  const warn = options.warn ?? ((message) => console.warn(message));
67
67
  const getuid = options.getuid ?? (() => {
68
68
  try {
@@ -155,8 +155,8 @@ function resolvePreferredOpenClawTmpDir(options = {}) {
155
155
  function readLoggingConfig() {
156
156
  const configPath = resolveConfigPath();
157
157
  try {
158
- if (!fs.existsSync(configPath)) return;
159
- const raw = fs.readFileSync(configPath, "utf-8");
158
+ if (!syncFs.existsSync(configPath)) return;
159
+ const raw = syncFs.readFileSync(configPath, "utf-8");
160
160
  const logging = JSON5.parse(raw)?.logging;
161
161
  if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
162
162
  return logging;
@@ -344,7 +344,7 @@ function buildLogger(settings) {
344
344
  for (const transport of externalTransports) attachExternalTransport(logger, transport);
345
345
  return logger;
346
346
  }
347
- fs.mkdirSync(path.dirname(settings.file), { recursive: true });
347
+ syncFs.mkdirSync(path.dirname(settings.file), { recursive: true });
348
348
  if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
349
349
  let currentFileBytes = getCurrentLogFileBytes(settings.file);
350
350
  let warnedAboutSizeCap = false;
@@ -383,14 +383,14 @@ function resolveMaxLogFileBytes(raw) {
383
383
  }
384
384
  function getCurrentLogFileBytes(file) {
385
385
  try {
386
- return fs.statSync(file).size;
386
+ return syncFs.statSync(file).size;
387
387
  } catch {
388
388
  return 0;
389
389
  }
390
390
  }
391
391
  function appendLogLine(file, line) {
392
392
  try {
393
- fs.appendFileSync(file, line, { encoding: "utf8" });
393
+ syncFs.appendFileSync(file, line, { encoding: "utf8" });
394
394
  return true;
395
395
  } catch {
396
396
  return false;
@@ -442,14 +442,14 @@ function isRollingPath(file) {
442
442
  }
443
443
  function pruneOldRollingLogs(dir) {
444
444
  try {
445
- const entries = fs.readdirSync(dir, { withFileTypes: true });
445
+ const entries = syncFs.readdirSync(dir, { withFileTypes: true });
446
446
  const cutoff = Date.now() - MAX_LOG_AGE_MS;
447
447
  for (const entry of entries) {
448
448
  if (!entry.isFile()) continue;
449
449
  if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
450
450
  const fullPath = path.join(dir, entry.name);
451
451
  try {
452
- if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
452
+ if (syncFs.statSync(fullPath).mtimeMs < cutoff) syncFs.rmSync(fullPath, { force: true });
453
453
  } catch {}
454
454
  }
455
455
  } catch {}
@@ -1,4 +1,4 @@
1
- import { r as markdownToIRWithMeta } from "./ir-B83looB-.js";
1
+ import { r as markdownToIRWithMeta } from "./ir-DAP-B-Xw.js";
2
2
  import { t as renderMarkdownWithMarkers } from "./render-DW7AcFdD.js";
3
3
 
4
4
  //#region src/markdown/tables.ts
@@ -0,0 +1,195 @@
1
+ import { b as detectMime } from "./image-ops-CehkHxmW.js";
2
+ import { r as sanitizeToolResultImages } from "./tool-images-2cBx1W8h.js";
3
+ import fs from "node:fs/promises";
4
+
5
+ //#region src/agents/tools/common.ts
6
+ var ToolInputError = class extends Error {
7
+ constructor(message) {
8
+ super(message);
9
+ this.status = 400;
10
+ this.name = "ToolInputError";
11
+ }
12
+ };
13
+ var ToolAuthorizationError = class extends ToolInputError {
14
+ constructor(message) {
15
+ super(message);
16
+ this.status = 403;
17
+ this.name = "ToolAuthorizationError";
18
+ }
19
+ };
20
+ function createActionGate(actions) {
21
+ return (key, defaultValue = true) => {
22
+ const value = actions?.[key];
23
+ if (value === void 0) return defaultValue;
24
+ return value !== false;
25
+ };
26
+ }
27
+ function toSnakeCaseKey(key) {
28
+ return key.replace(/([A-Z]+)([A-Z][a-z])/g, "$1_$2").replace(/([a-z0-9])([A-Z])/g, "$1_$2").toLowerCase();
29
+ }
30
+ function readParamRaw(params, key) {
31
+ if (Object.hasOwn(params, key)) return params[key];
32
+ const snakeKey = toSnakeCaseKey(key);
33
+ if (snakeKey !== key && Object.hasOwn(params, snakeKey)) return params[snakeKey];
34
+ }
35
+ function readStringParam(params, key, options = {}) {
36
+ const { required = false, trim = true, label = key, allowEmpty = false } = options;
37
+ const raw = readParamRaw(params, key);
38
+ if (typeof raw !== "string") {
39
+ if (required) throw new ToolInputError(`${label} required`);
40
+ return;
41
+ }
42
+ const value = trim ? raw.trim() : raw;
43
+ if (!value && !allowEmpty) {
44
+ if (required) throw new ToolInputError(`${label} required`);
45
+ return;
46
+ }
47
+ return value;
48
+ }
49
+ function readStringOrNumberParam(params, key, options = {}) {
50
+ const { required = false, label = key } = options;
51
+ const raw = readParamRaw(params, key);
52
+ if (typeof raw === "number" && Number.isFinite(raw)) return String(raw);
53
+ if (typeof raw === "string") {
54
+ const value = raw.trim();
55
+ if (value) return value;
56
+ }
57
+ if (required) throw new ToolInputError(`${label} required`);
58
+ }
59
+ function readNumberParam(params, key, options = {}) {
60
+ const { required = false, label = key, integer = false } = options;
61
+ const raw = readParamRaw(params, key);
62
+ let value;
63
+ if (typeof raw === "number" && Number.isFinite(raw)) value = raw;
64
+ else if (typeof raw === "string") {
65
+ const trimmed = raw.trim();
66
+ if (trimmed) {
67
+ const parsed = Number.parseFloat(trimmed);
68
+ if (Number.isFinite(parsed)) value = parsed;
69
+ }
70
+ }
71
+ if (value === void 0) {
72
+ if (required) throw new ToolInputError(`${label} required`);
73
+ return;
74
+ }
75
+ return integer ? Math.trunc(value) : value;
76
+ }
77
+ function readStringArrayParam(params, key, options = {}) {
78
+ const { required = false, label = key } = options;
79
+ const raw = readParamRaw(params, key);
80
+ if (Array.isArray(raw)) {
81
+ const values = raw.filter((entry) => typeof entry === "string").map((entry) => entry.trim()).filter(Boolean);
82
+ if (values.length === 0) {
83
+ if (required) throw new ToolInputError(`${label} required`);
84
+ return;
85
+ }
86
+ return values;
87
+ }
88
+ if (typeof raw === "string") {
89
+ const value = raw.trim();
90
+ if (!value) {
91
+ if (required) throw new ToolInputError(`${label} required`);
92
+ return;
93
+ }
94
+ return [value];
95
+ }
96
+ if (required) throw new ToolInputError(`${label} required`);
97
+ }
98
+ function readReactionParams(params, options) {
99
+ const emojiKey = options.emojiKey ?? "emoji";
100
+ const removeKey = options.removeKey ?? "remove";
101
+ const remove = typeof params[removeKey] === "boolean" ? params[removeKey] : false;
102
+ const emoji = readStringParam(params, emojiKey, {
103
+ required: true,
104
+ allowEmpty: true
105
+ });
106
+ if (remove && !emoji) throw new ToolInputError(options.removeErrorMessage);
107
+ return {
108
+ emoji,
109
+ remove,
110
+ isEmpty: !emoji
111
+ };
112
+ }
113
+ function jsonResult(payload) {
114
+ return {
115
+ content: [{
116
+ type: "text",
117
+ text: JSON.stringify(payload, null, 2)
118
+ }],
119
+ details: payload
120
+ };
121
+ }
122
+ async function imageResult(params) {
123
+ return await sanitizeToolResultImages({
124
+ content: [{
125
+ type: "text",
126
+ text: params.extraText ?? `MEDIA:${params.path}`
127
+ }, {
128
+ type: "image",
129
+ data: params.base64,
130
+ mimeType: params.mimeType
131
+ }],
132
+ details: {
133
+ path: params.path,
134
+ ...params.details
135
+ }
136
+ }, params.label, params.imageSanitization);
137
+ }
138
+ async function imageResultFromFile(params) {
139
+ const buf = await fs.readFile(params.path);
140
+ const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
141
+ return await imageResult({
142
+ label: params.label,
143
+ path: params.path,
144
+ base64: buf.toString("base64"),
145
+ mimeType,
146
+ extraText: params.extraText,
147
+ details: params.details,
148
+ imageSanitization: params.imageSanitization
149
+ });
150
+ }
151
+ /**
152
+ * Validate and parse an `availableTags` parameter from untrusted input.
153
+ * Returns `undefined` when the value is missing or not an array.
154
+ * Entries that lack a string `name` are silently dropped.
155
+ */
156
+ function parseAvailableTags(raw) {
157
+ if (raw === void 0 || raw === null) return;
158
+ if (!Array.isArray(raw)) return;
159
+ const result = raw.filter((t) => typeof t === "object" && t !== null && typeof t.name === "string").map((t) => ({
160
+ ...t.id !== void 0 && typeof t.id === "string" ? { id: t.id } : {},
161
+ name: t.name,
162
+ ...typeof t.moderated === "boolean" ? { moderated: t.moderated } : {},
163
+ ...t.emoji_id === null || typeof t.emoji_id === "string" ? { emoji_id: t.emoji_id } : {},
164
+ ...t.emoji_name === null || typeof t.emoji_name === "string" ? { emoji_name: t.emoji_name } : {}
165
+ }));
166
+ return result.length ? result : void 0;
167
+ }
168
+
169
+ //#endregion
170
+ //#region src/infra/outbound/target-errors.ts
171
+ function missingTargetMessage(provider, hint) {
172
+ return `Delivering to ${provider} requires target${formatTargetHint(hint)}`;
173
+ }
174
+ function missingTargetError(provider, hint) {
175
+ return new Error(missingTargetMessage(provider, hint));
176
+ }
177
+ function ambiguousTargetMessage(provider, raw, hint) {
178
+ return `Ambiguous target "${raw}" for ${provider}. Provide a unique name or an explicit id.${formatTargetHint(hint, true)}`;
179
+ }
180
+ function ambiguousTargetError(provider, raw, hint) {
181
+ return new Error(ambiguousTargetMessage(provider, raw, hint));
182
+ }
183
+ function unknownTargetMessage(provider, raw, hint) {
184
+ return `Unknown target "${raw}" for ${provider}.${formatTargetHint(hint, true)}`;
185
+ }
186
+ function unknownTargetError(provider, raw, hint) {
187
+ return new Error(unknownTargetMessage(provider, raw, hint));
188
+ }
189
+ function formatTargetHint(hint, withLabel = false) {
190
+ if (!hint) return "";
191
+ return withLabel ? ` Hint: ${hint}` : ` ${hint}`;
192
+ }
193
+
194
+ //#endregion
195
+ export { ToolInputError as a, imageResultFromFile as c, readNumberParam as d, readReactionParams as f, readStringParam as h, ToolAuthorizationError as i, jsonResult as l, readStringOrNumberParam as m, missingTargetError as n, createActionGate as o, readStringArrayParam as p, unknownTargetError as r, imageResult as s, ambiguousTargetError as t, parseAvailableTags as u };
@@ -1,10 +1,10 @@
1
- import { G as normalizeAccountId } from "./workspace-U-DyR64O.js";
2
- import { h as normalizeE164, u as escapeRegExp } from "./logger-BfjWMCSD.js";
3
- import { Ht as CHAT_CHANNEL_ORDER, Ut as getChatChannelMeta, Zt as requireActivePluginRegistry } from "./model-selection-Dna0Gz1k.js";
4
- import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-4Rj4OjLY.js";
5
- import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-Tgelvk0C.js";
6
- import { n as resolveSignalAccount } from "./accounts-C9HcPI9h.js";
7
- import { t as resolveIMessageAccount } from "./accounts-C_lW3Ag9.js";
1
+ import { G as normalizeAccountId } from "./workspace-CUVC6GX1.js";
2
+ import { h as normalizeE164, u as escapeRegExp } from "./logger-DMZQQtxK.js";
3
+ import { Ht as CHAT_CHANNEL_ORDER, Ut as getChatChannelMeta, Zt as requireActivePluginRegistry } from "./model-selection-idoqPmw0.js";
4
+ import { a as normalizeWhatsAppTarget, b as resolveDiscordAccount, l as resolveTelegramAccount, m as resolveSlackReplyToMode, p as resolveSlackAccount } from "./plugins-CWkRQYDj.js";
5
+ import { h as resolveAccountEntry, n as resolveWhatsAppAccount } from "./accounts-yfBeCZtS.js";
6
+ import { n as resolveSignalAccount } from "./accounts-L9ByEpnP.js";
7
+ import { t as resolveIMessageAccount } from "./accounts-BOzyfwW4.js";
8
8
 
9
9
  //#region src/config/types.tools.ts
10
10
  const TOOLS_BY_SENDER_KEY_TYPES = [
@@ -0,0 +1,52 @@
1
+ import { u as escapeRegExp } from "./logger-DMZQQtxK.js";
2
+
3
+ //#region src/auto-reply/tokens.ts
4
+ const HEARTBEAT_TOKEN = "HEARTBEAT_OK";
5
+ const SILENT_REPLY_TOKEN = "NO_REPLY";
6
+ const silentExactRegexByToken = /* @__PURE__ */ new Map();
7
+ const silentTrailingRegexByToken = /* @__PURE__ */ new Map();
8
+ function getSilentExactRegex(token) {
9
+ const cached = silentExactRegexByToken.get(token);
10
+ if (cached) return cached;
11
+ const escaped = escapeRegExp(token);
12
+ const regex = new RegExp(`^\\s*${escaped}\\s*$`);
13
+ silentExactRegexByToken.set(token, regex);
14
+ return regex;
15
+ }
16
+ function getSilentTrailingRegex(token) {
17
+ const cached = silentTrailingRegexByToken.get(token);
18
+ if (cached) return cached;
19
+ const escaped = escapeRegExp(token);
20
+ const regex = new RegExp(`(?:^|\\s+|\\*+)${escaped}\\s*$`);
21
+ silentTrailingRegexByToken.set(token, regex);
22
+ return regex;
23
+ }
24
+ function isSilentReplyText(text, token = SILENT_REPLY_TOKEN) {
25
+ if (!text) return false;
26
+ return getSilentExactRegex(token).test(text);
27
+ }
28
+ /**
29
+ * Strip a trailing silent reply token from mixed-content text.
30
+ * Returns the remaining text with the token removed (trimmed).
31
+ * If the result is empty, the entire message should be treated as silent.
32
+ */
33
+ function stripSilentToken(text, token = SILENT_REPLY_TOKEN) {
34
+ return text.replace(getSilentTrailingRegex(token), "").trim();
35
+ }
36
+ function isSilentReplyPrefixText(text, token = SILENT_REPLY_TOKEN) {
37
+ if (!text) return false;
38
+ const trimmed = text.trimStart();
39
+ if (!trimmed) return false;
40
+ if (trimmed !== trimmed.toUpperCase()) return false;
41
+ const normalized = trimmed.toUpperCase();
42
+ if (!normalized) return false;
43
+ if (normalized.length < 2) return false;
44
+ if (/[^A-Z_]/.test(normalized)) return false;
45
+ const tokenUpper = token.toUpperCase();
46
+ if (!tokenUpper.startsWith(normalized)) return false;
47
+ if (normalized.includes("_")) return true;
48
+ return tokenUpper === SILENT_REPLY_TOKEN && normalized === "NO";
49
+ }
50
+
51
+ //#endregion
52
+ export { stripSilentToken as a, isSilentReplyText as i, SILENT_REPLY_TOKEN as n, isSilentReplyPrefixText as r, HEARTBEAT_TOKEN as t };
@@ -1,5 +1,5 @@
1
- import { t as createSubsystemLogger } from "./subsystem-B45WV3qB.js";
2
- import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BuUnEOE0.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-Di1z8l0Z.js";
2
+ import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CehkHxmW.js";
3
3
 
4
4
  //#region src/media/base64.ts
5
5
  function estimateBase64DecodedBytes(base64) {
@@ -2,7 +2,7 @@ import { G as buildAgentMainSessionKey, W as DEFAULT_MAIN_KEY, X as normalizeAge
2
2
  import "./paths-CaA28K0s.js";
3
3
  import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-DLNJPYG_.js";
4
4
  import { Y as loadConfig, pr as formatCliCommand } from "./model-selection-CGn4LwFd.js";
5
- import { A as computeBackoff, C as formatInboundEnvelope, D as resolveAgentRoute, E as buildAgentSessionKey, F as hasControlCommand, I as shouldComputeCommandAuthorized, K as resolveIdentityNamePrefix, L as buildMentionRegexes, M as formatDurationPrecise, N as enqueueSystemEvent, O as normalizeGroupActivation, P as finalizeInboundContext, R as normalizeMentionText, S as resolveInboundDebounceMs, T as getReplyFromConfig, _ as resolvePinnedMainDmOwnerFromAllowlist, a as createReplyPrefixOptions, c as DEFAULT_GROUP_HISTORY_LIMIT, d as resolveDefaultGroupPolicy, f as resolveOpenProviderRuntimeGroupPolicy, g as resolveDmGroupAccessWithLists, h as resolveDmGroupAccessWithCommandGate, i as resolveInboundSessionEnvelopeContext, j as sleepWithAbort, k as parseActivationCommand, l as buildHistoryContextFromEntries, m as readStoreAllowFromForDmPolicy, o as buildPairingReply, p as warnMissingProviderGroupPolicyFallbackOnce, q as resolveMessagePrefix, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as shouldAckReactionForWhatsApp, w as createDedupeCache, x as createInboundDebouncer, y as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-DYU79yGe.js";
5
+ import { A as computeBackoff, C as formatInboundEnvelope, D as resolveAgentRoute, E as buildAgentSessionKey, F as hasControlCommand, I as shouldComputeCommandAuthorized, K as resolveIdentityNamePrefix, L as buildMentionRegexes, M as formatDurationPrecise, N as enqueueSystemEvent, O as normalizeGroupActivation, P as finalizeInboundContext, R as normalizeMentionText, S as resolveInboundDebounceMs, T as getReplyFromConfig, _ as resolvePinnedMainDmOwnerFromAllowlist, a as createReplyPrefixOptions, c as DEFAULT_GROUP_HISTORY_LIMIT, d as resolveDefaultGroupPolicy, f as resolveOpenProviderRuntimeGroupPolicy, g as resolveDmGroupAccessWithLists, h as resolveDmGroupAccessWithCommandGate, i as resolveInboundSessionEnvelopeContext, j as sleepWithAbort, k as parseActivationCommand, l as buildHistoryContextFromEntries, m as readStoreAllowFromForDmPolicy, o as buildPairingReply, p as warnMissingProviderGroupPolicyFallbackOnce, q as resolveMessagePrefix, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as shouldAckReactionForWhatsApp, w as createDedupeCache, x as createInboundDebouncer, y as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-CgQ_W6Xs.js";
6
6
  import "./github-copilot-token-BWXANsA6.js";
7
7
  import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-BnMXBaoj.js";
8
8
  import "./tokens-J9QxdfW4.js";
@@ -10,14 +10,14 @@ import "./plugins-D32XloiU.js";
10
10
  import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-CSwQwmi-.js";
11
11
  import "./send-gxHdLxHb.js";
12
12
  import "./send-coHgGFcr.js";
13
- import "./deliver-B9cys0EZ.js";
13
+ import "./deliver-BXVcFIHL.js";
14
14
  import "./diagnostic-B6424ZSe.js";
15
15
  import "./accounts-D0b225eZ.js";
16
16
  import "./image-ops-Cdb65Ugz.js";
17
17
  import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-DEuQpTH0.js";
18
18
  import "./pi-model-discovery-BKJwRHhi.js";
19
- import { At as resolveGroupSessionKey, J as updateLastRoute, K as recordSessionMetaFromInbound, W as loadSessionStore } from "./pi-embedded-helpers-uTRAmQ4n.js";
20
- import "./chrome-D45SyhQL.js";
19
+ import { At as resolveGroupSessionKey, J as updateLastRoute, K as recordSessionMetaFromInbound, W as loadSessionStore } from "./pi-embedded-helpers-CwuBTKza.js";
20
+ import "./chrome-CMU2WVFh.js";
21
21
  import "./skills-DhJjHaBz.js";
22
22
  import "./path-alias-guards-B6LFrksx.js";
23
23
  import "./redact-DBcTOmRL.js";
@@ -28,8 +28,8 @@ import { i as saveMediaBuffer } from "./store-CSSX03Wl.js";
28
28
  import "./accounts-CTAmvqQt.js";
29
29
  import { s as resolveStorePath } from "./paths-BgCTr3-D.js";
30
30
  import "./tool-images-DpgWhBLv.js";
31
- import "./image-DAOPwVXi.js";
32
- import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-B-UvoDjZ.js";
31
+ import "./image-BCVLo0qw.js";
32
+ import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-DZbSWT9E.js";
33
33
  import { i as getAgentScopedMediaLocalRoots } from "./fetch-Bz-lmDr4.js";
34
34
  import "./fetch-guard-BiA86VyP.js";
35
35
  import "./api-key-rotation-xR-rxS2R.js";
@@ -1,61 +1,61 @@
1
- import "./run-with-concurrency-BgYfgkXT.js";
2
- import "./paths-Cvc9EM8Y.js";
3
- import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-B45WV3qB.js";
4
- import { F as buildGroupHistoryKey, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, R as normalizeAgentId } from "./workspace-U-DyR64O.js";
5
- import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-BfjWMCSD.js";
6
- import { X as loadConfig, lr as formatCliCommand } from "./model-selection-Dna0Gz1k.js";
7
- import "./github-copilot-token-BDioPmd6.js";
8
- import "./legacy-names-DOC03BkU.js";
9
- import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-BeGmb5k6.js";
10
- import "./tokens-q32vI39c.js";
11
- import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-BQQa91aA.js";
12
- import "./plugins-4Rj4OjLY.js";
13
- import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-Tgelvk0C.js";
14
- import "./send-6lz6rNVP.js";
15
- import "./send-PE6cwoTe.js";
16
- import "./deliver-DbdywYJE.js";
17
- import "./diagnostic-Co6Kghr-.js";
18
- import "./accounts-C9HcPI9h.js";
19
- import "./image-ops-BuUnEOE0.js";
20
- import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-BHTiZcH3.js";
21
- import "./pi-model-discovery-Dymwdjt0.js";
22
- import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-CLXm10bV.js";
23
- import "./chrome-DxxEKrY7.js";
24
- import "./frontmatter-BkTfEZ93.js";
25
- import "./skills-7ODkHQYp.js";
26
- import "./path-alias-guards-BzvdLvTI.js";
27
- import "./redact-COik8ET1.js";
28
- import "./errors-xt401nuk.js";
29
- import "./fs-safe-CTYUrIgQ.js";
30
- import "./proxy-env-DlmzDx8x.js";
31
- import { i as saveMediaBuffer } from "./store-D89wDcz9.js";
32
- import "./accounts-C_lW3Ag9.js";
33
- import { s as resolveStorePath } from "./paths-Bkr-BCxW.js";
34
- import "./tool-images-RZdHiZcG.js";
35
- import "./image-eT7Y-nP5.js";
36
- import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-gLFfz8fr.js";
37
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-DuraYswo.js";
38
- import "./fetch-guard-DWr0d00H.js";
39
- import "./api-key-rotation-BJpKWXy0.js";
40
- import "./proxy-fetch-B2pEfjbR.js";
41
- import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-B83looB-.js";
1
+ import "./run-with-concurrency-D_ZpbgEG.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import { i as defaultRuntime, p as shouldLogVerbose, t as createSubsystemLogger, u as logVerbose, y as getChildLogger } from "./subsystem-Di1z8l0Z.js";
4
+ import { F as buildGroupHistoryKey, M as DEFAULT_MAIN_KEY, N as buildAgentMainSessionKey, R as normalizeAgentId } from "./workspace-CUVC6GX1.js";
5
+ import { C as sleep, T as toWhatsappJid, h as normalizeE164, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164 } from "./logger-DMZQQtxK.js";
6
+ import { X as loadConfig, lr as formatCliCommand } from "./model-selection-idoqPmw0.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-TyzbVqa_.js";
9
+ import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-DXYisHiZ.js";
10
+ import "./tokens-DxnY9ui_.js";
11
+ import { A as normalizeGroupActivation, B as normalizeMentionText, C as createInboundDebouncer, D as getReplyFromConfig, E as createDedupeCache, F as enqueueSystemEvent, I as finalizeInboundContext, K as resolveIdentityNamePrefix, L as hasControlCommand, M as computeBackoff, N as sleepWithAbort, O as buildAgentSessionKey, P as formatDurationPrecise, R as shouldComputeCommandAuthorized, T as formatInboundEnvelope, _ as resolveDmGroupAccessWithCommandGate, b as shouldAckReactionForWhatsApp, c as buildPairingReply, d as buildHistoryContextFromEntries, f as recordPendingHistoryEntryIfEnabled, g as readStoreAllowFromForDmPolicy, h as warnMissingProviderGroupPolicyFallbackOnce, i as resolveInboundSessionEnvelopeContext, j as parseActivationCommand, k as resolveAgentRoute, l as resolveMentionGating, m as resolveOpenProviderRuntimeGroupPolicy, p as resolveDefaultGroupPolicy, q as resolveMessagePrefix, s as createReplyPrefixOptions, u as DEFAULT_GROUP_HISTORY_LIMIT, v as resolveDmGroupAccessWithLists, w as resolveInboundDebounceMs, x as dispatchReplyWithBufferedBlockDispatcher, y as resolvePinnedMainDmOwnerFromAllowlist, z as buildMentionRegexes } from "./pi-embedded-bcjMe3wj.js";
12
+ import "./plugins-CWkRQYDj.js";
13
+ import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-yfBeCZtS.js";
14
+ import "./send-Dx2RkUOZ.js";
15
+ import "./send-DcxmcFi_.js";
16
+ import "./deliver-CApVJA_l.js";
17
+ import "./diagnostic-Bn4PZjMZ.js";
18
+ import "./accounts-L9ByEpnP.js";
19
+ import "./image-ops-CehkHxmW.js";
20
+ import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-vmONuVgL.js";
21
+ import "./pi-model-discovery-BGgOlX8N.js";
22
+ import { At as resolveGroupSessionKey, K as recordSessionMetaFromInbound, W as loadSessionStore, q as updateLastRoute } from "./pi-embedded-helpers-D5yyGEvA.js";
23
+ import "./chrome-DlhJHqj8.js";
24
+ import "./frontmatter-CvaMP376.js";
25
+ import "./skills-CE_iqvM5.js";
26
+ import "./path-alias-guards-DqXRZmsL.js";
27
+ import "./redact-ClbcYG1J.js";
28
+ import "./errors-CCLeFWAg.js";
29
+ import "./fs-safe-0jAo_Whb.js";
30
+ import "./proxy-env-Cq5gdrbj.js";
31
+ import { i as saveMediaBuffer } from "./store--eR1R_UX.js";
32
+ import "./accounts-BOzyfwW4.js";
33
+ import { s as resolveStorePath } from "./paths-CCxysrzL.js";
34
+ import "./tool-images-2cBx1W8h.js";
35
+ import "./image-B3Mz7N5I.js";
36
+ import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-CzjuH3uL.js";
37
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-BlJWzEP6.js";
38
+ import "./fetch-guard-ChYBwfiy.js";
39
+ import "./api-key-rotation-DtsNS2Nb.js";
40
+ import "./proxy-fetch-CCjEYbFm.js";
41
+ import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, s as resolveMarkdownTableMode } from "./ir-DAP-B-Xw.js";
42
42
  import "./render-DW7AcFdD.js";
43
- import "./target-errors-mnlwhAjP.js";
44
- import "./commands-registry-D5qXbFJn.js";
45
- import "./skill-commands-DNqJ-kwn.js";
43
+ import "./target-errors-CBI2Ga0y.js";
44
+ import "./commands-registry-V1zZ5pPC.js";
45
+ import "./skill-commands-CMzBZKG2.js";
46
46
  import "./fetch-BfuG8uZ8.js";
47
- import { n as recordChannelActivity } from "./channel-activity-BDnjYF7B.js";
48
- import { t as convertMarkdownTables } from "./tables-mE4cJBN2.js";
49
- import "./send-dfu6_rgf.js";
50
- import "./outbound-attachment-DqHlD21U.js";
51
- import "./send-L7gRiwyd.js";
52
- import { r as setActiveWebListener } from "./active-listener-BEdprTkn.js";
47
+ import { n as recordChannelActivity } from "./channel-activity-xHOMiarp.js";
48
+ import { t as convertMarkdownTables } from "./tables-d739Y1xW.js";
49
+ import "./send-BQERFNyo.js";
50
+ import "./outbound-attachment-DBrYWX8h.js";
51
+ import "./send-Bj776ESJ.js";
52
+ import { r as setActiveWebListener } from "./active-listener-D1yqT1cw.js";
53
53
  import "./proxy-CecQTx_Z.js";
54
- import "./manager-1bvuGrNR.js";
55
- import "./query-expansion-CX-1fS52.js";
56
- import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./outbound-ChDjtuD6.js";
57
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-D8ImowSs.js";
58
- import { t as loginWeb } from "./login-CrIwcrVI.js";
54
+ import "./manager-BW_NSIMl.js";
55
+ import "./query-expansion-DtLc3wjL.js";
56
+ import { i as markdownToWhatsApp, r as sendReactionWhatsApp, t as sendMessageWhatsApp } from "./outbound-C2kanETZ.js";
57
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-A4QhBRvH.js";
58
+ import { t as loginWeb } from "./login-DiCctRo1.js";
59
59
  import { randomUUID } from "node:crypto";
60
60
  import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
61
61
 
@@ -1,25 +1,25 @@
1
- import "./run-with-concurrency-BgYfgkXT.js";
2
- import "./paths-Cvc9EM8Y.js";
3
- import "./subsystem-B45WV3qB.js";
4
- import "./workspace-U-DyR64O.js";
5
- import "./logger-BfjWMCSD.js";
6
- import "./model-selection-Dna0Gz1k.js";
7
- import "./github-copilot-token-BDioPmd6.js";
8
- import "./legacy-names-DOC03BkU.js";
9
- import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-4Rj4OjLY.js";
10
- import { n as resolveWhatsAppAccount } from "./accounts-Tgelvk0C.js";
11
- import "./image-ops-BuUnEOE0.js";
12
- import "./path-alias-guards-BzvdLvTI.js";
13
- import "./fs-safe-CTYUrIgQ.js";
14
- import "./proxy-env-DlmzDx8x.js";
15
- import "./tool-images-RZdHiZcG.js";
16
- import "./fetch-DuraYswo.js";
17
- import "./fetch-guard-DWr0d00H.js";
18
- import "./ir-B83looB-.js";
1
+ import "./run-with-concurrency-D_ZpbgEG.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-Di1z8l0Z.js";
4
+ import "./workspace-CUVC6GX1.js";
5
+ import "./logger-DMZQQtxK.js";
6
+ import "./model-selection-idoqPmw0.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-TyzbVqa_.js";
9
+ import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-CWkRQYDj.js";
10
+ import { n as resolveWhatsAppAccount } from "./accounts-yfBeCZtS.js";
11
+ import "./image-ops-CehkHxmW.js";
12
+ import "./path-alias-guards-DqXRZmsL.js";
13
+ import "./fs-safe-0jAo_Whb.js";
14
+ import "./proxy-env-Cq5gdrbj.js";
15
+ import "./tool-images-2cBx1W8h.js";
16
+ import "./fetch-BlJWzEP6.js";
17
+ import "./fetch-guard-ChYBwfiy.js";
18
+ import "./ir-DAP-B-Xw.js";
19
19
  import "./render-DW7AcFdD.js";
20
- import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-mnlwhAjP.js";
21
- import "./tables-mE4cJBN2.js";
22
- import { r as sendReactionWhatsApp } from "./outbound-ChDjtuD6.js";
20
+ import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-CBI2Ga0y.js";
21
+ import "./tables-d739Y1xW.js";
22
+ import { r as sendReactionWhatsApp } from "./outbound-C2kanETZ.js";
23
23
 
24
24
  //#region src/whatsapp/resolve-outbound-target.ts
25
25
  function resolveWhatsAppOutboundTarget(params) {