@lawpath-tech/openclaw 2026.2.21-13 → 2026.2.21-14

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 (215) hide show
  1. package/dist/{agents-Acsw6oEr.js → agents-DXo_nCMW.js} +4 -4
  2. package/dist/{agents.config-DA4Kt9C5.js → agents.config-PHgENTF1.js} +1 -1
  3. package/dist/{agents.config-BAILtL0e.js → agents.config-pLrAz6D_.js} +1 -1
  4. package/dist/{audio-preflight-B45_FIbf.js → audio-preflight-BElMqBWP.js} +5 -5
  5. package/dist/{audio-preflight-UmMU18Rf.js → audio-preflight-CLIayR4n.js} +5 -5
  6. package/dist/{audio-preflight-DTxmK1ti.js → audio-preflight-CajAB1S6.js} +5 -5
  7. package/dist/{audio-preflight-C56sndLt.js → audio-preflight-DqxLWNAl.js} +4 -4
  8. package/dist/{audit-BYAONEme.js → audit-DCuFEWyK.js} +3 -3
  9. package/dist/{audit-C1XET3ZE.js → audit-DFMXfcQb.js} +3 -3
  10. package/dist/{auth-choice-Cc9nPCSG.js → auth-choice-DDRnyyn0.js} +6 -3
  11. package/dist/{auth-choice-B0ExtimG.js → auth-choice-zzVAI1zT.js} +6 -3
  12. package/dist/{banner-l8hdGVT6.js → banner-qpNVJvdM.js} +1 -1
  13. package/dist/build-info.json +3 -3
  14. package/dist/bundled/boot-md/handler.js +8 -8
  15. package/dist/bundled/session-memory/handler.js +8 -8
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{channel-options-DU0lH77F.js → channel-options-BaaRROfp.js} +1 -1
  18. package/dist/{channel-options-BOgY_qkz.js → channel-options-OXDbIb5G.js} +1 -1
  19. package/dist/{channel-web-Bn_o0ClJ.js → channel-web-CXmvb1yo.js} +2 -2
  20. package/dist/{channels-cli-HyoLT0X_.js → channels-cli-BZeZ4R1p.js} +12 -12
  21. package/dist/{channels-cli-B8iPHVyY.js → channels-cli-DfzGU21z.js} +12 -12
  22. package/dist/{chrome-DBIqeaeX.js → chrome-CnYcE5rb.js} +7 -7
  23. package/dist/{cli-CB8wKUFa.js → cli-CfKvNvBr.js} +9 -9
  24. package/dist/{cli-BjW27QBR.js → cli-NIjSgQgx.js} +9 -9
  25. package/dist/{command-registry-43P-_3eW.js → command-registry-COGXqGzR.js} +9 -9
  26. package/dist/{completion-cli-BrkMcxdh.js → completion-cli-BLpNFMaT.js} +1 -1
  27. package/dist/{completion-cli-CSoJQQhc.js → completion-cli-DILThCHO.js} +2 -2
  28. package/dist/{config-cli-Cuv_T0Jj.js → config-cli-B5iBwzDy.js} +1 -1
  29. package/dist/{config-cli-CV3y1IAq.js → config-cli-CHINvJjW.js} +1 -1
  30. package/dist/{configure-BHGABgNw.js → configure-BIOKWoSb.js} +4 -4
  31. package/dist/{configure-80FWz9jT.js → configure-C6CsB_n0.js} +4 -4
  32. package/dist/{deliver-J2cVd3TS.js → deliver-C2-v1uHE.js} +1 -1
  33. package/dist/{deliver-BTK-PB1e.js → deliver-CfxEkk-n.js} +1 -1
  34. package/dist/{deliver-BLkQFTzD.js → deliver-Yl1F_MO9.js} +1 -1
  35. package/dist/{deliver-meQdcFaA.js → deliver-_9JR3MQl.js} +1 -1
  36. package/dist/{docs-cli-yYoJ8vbM.js → docs-cli-DfU7l2IC.js} +1 -1
  37. package/dist/{docs-cli-NEAwfi_8.js → docs-cli-xcx0x6hH.js} +1 -1
  38. package/dist/{doctor-completion-CszISgAZ.js → doctor-completion-B72VBsCH.js} +1 -1
  39. package/dist/{doctor-completion-xnrUSWAw.js → doctor-completion-daP22D7U.js} +1 -1
  40. package/dist/entry.js +1 -1
  41. package/dist/extensionAPI.js +7 -7
  42. package/dist/{gateway-cli-ElJ71Lxb.js → gateway-cli-BVIugsqZ.js} +20 -20
  43. package/dist/{gateway-cli-1XLrLurk.js → gateway-cli-C7M7Hi_c.js} +20 -20
  44. package/dist/{health-BfWYn33I.js → health-BtVKvlTj.js} +2 -2
  45. package/dist/{health-DEibfTDK.js → health-cZbT8z7E.js} +2 -2
  46. package/dist/{hooks-cli-D-nL8J6w.js → hooks-cli-BygrS6Fx.js} +10 -10
  47. package/dist/{hooks-cli-wQnxbc8T.js → hooks-cli-CFb-1prH.js} +10 -10
  48. package/dist/{image-DuT8yGCI.js → image-BwcjSXSW.js} +1 -1
  49. package/dist/{image-Dozs-5EW.js → image-D-Su_Vlp.js} +1 -1
  50. package/dist/{image-C8HOu4vb.js → image-DDR3QoP8.js} +1 -1
  51. package/dist/{image-Cj9tfO74.js → image-uuT0dSvF.js} +1 -1
  52. package/dist/index.js +14 -14
  53. package/dist/llm-slug-generator.js +8 -8
  54. package/dist/{models-DFRcZ415.js → models-B_hZBEN4.js} +2 -2
  55. package/dist/{models-cli-CwEUrjU_.js → models-cli-BnwtiYk8.js} +11 -11
  56. package/dist/{models-cli-t1rYl_DG.js → models-cli-DStgE9Cm.js} +10 -10
  57. package/dist/{onboard-CE7hjJi-.js → onboard-BqyUNTWu.js} +2 -2
  58. package/dist/{onboard-BgexsYYf.js → onboard-UiWEY6IW.js} +2 -2
  59. package/dist/{onboard-channels-vQihczqp.js → onboard-channels-CW3fTeQI.js} +1 -1
  60. package/dist/{onboard-channels-Cb8T_ers.js → onboard-channels-Dx7ZUktV.js} +1 -1
  61. package/dist/{onboard-skills--fjELPeT.js → onboard-skills-CQJwGqkU.js} +2 -2
  62. package/dist/{onboard-skills-C-uF-16j.js → onboard-skills-TEHaysLP.js} +2 -2
  63. package/dist/{onboarding-BIEWyZPf.js → onboarding-CMQtGqo9.js} +4 -4
  64. package/dist/{onboarding-CX9LQxj2.js → onboarding-hV7z_eC_.js} +4 -4
  65. package/dist/{onboarding.finalize-BUNWcC3i.js → onboarding.finalize-Bup3uZ9n.js} +15 -15
  66. package/dist/{onboarding.finalize-COQ2A83D.js → onboarding.finalize-Ck_ACqU_.js} +14 -14
  67. package/dist/{pi-embedded-BywyyGi2.js → pi-embedded-BWA4KLB_.js} +22 -17
  68. package/dist/{pi-embedded-KtxTxaXU.js → pi-embedded-DPkt0xxi.js} +27 -22
  69. package/dist/{pi-embedded-helpers-C4Annkh_.js → pi-embedded-helpers-BjXA0K8b.js} +1 -1
  70. package/dist/{pi-embedded-helpers-Dl_FdUMU.js → pi-embedded-helpers-Bybzwgll.js} +1 -1
  71. package/dist/{pi-embedded-helpers-B6070OEj.js → pi-embedded-helpers-DMA3limQ.js} +5 -5
  72. package/dist/{pi-embedded-helpers-C_U_c_EU.js → pi-embedded-helpers-FIgrwMdk.js} +1 -1
  73. package/dist/{pi-tools.policy-yLrAeeZu.js → pi-tools.policy-2e2wN_1V.js} +1 -1
  74. package/dist/{pi-tools.policy-DSLVZzX5.js → pi-tools.policy-qhaJaIFe.js} +1 -1
  75. package/dist/{plugin-registry-CtLhKV8N.js → plugin-registry-BMho0b08.js} +1 -1
  76. package/dist/{plugin-registry-BrN1y1ig.js → plugin-registry-V8ccvA2d.js} +1 -1
  77. package/dist/plugin-sdk/{accounts-fnLsjAOi.js → accounts-Ciwy7Yxd.js} +3 -3
  78. package/dist/plugin-sdk/{accounts-BcQo4OUu.js → accounts-DUBJHEgi.js} +1 -1
  79. package/dist/plugin-sdk/{accounts-DEsAwvaZ.js → accounts-wSu5JyDM.js} +1 -1
  80. package/dist/plugin-sdk/{active-listener-CeaKSm29.js → active-listener-Bnau4oiu.js} +1 -1
  81. package/dist/plugin-sdk/{agent-scope-DnU66cJq.js → agent-scope-j9eoKDzr.js} +2 -2
  82. package/dist/plugin-sdk/agents/compaction.d.ts +2 -0
  83. package/dist/plugin-sdk/{api-key-rotation-DRhVpAS4.js → api-key-rotation-BKOzXMVg.js} +1 -1
  84. package/dist/plugin-sdk/{audio-preflight-zFFuY6Bd.js → audio-preflight-4vffLZR4.js} +24 -24
  85. package/dist/plugin-sdk/{bindings-HAeLX6mi.js → bindings-BxwR115d.js} +2 -2
  86. package/dist/plugin-sdk/{channel-activity-WgE8Z4Bb.js → channel-activity-CCnr-9bS.js} +1 -1
  87. package/dist/plugin-sdk/{channel-web-DfA1sgI9.js → channel-web-BP-qKsfm.js} +22 -22
  88. package/dist/plugin-sdk/{chrome-NvVwZ3Xn.js → chrome-CAPUVzg9.js} +3 -3
  89. package/dist/plugin-sdk/{chunk-CQk9vawA.js → chunk-DyzO7IVo.js} +1 -1
  90. package/dist/plugin-sdk/{command-format-DHXa0Clc.js → command-format-DcBXOX9Z.js} +1 -1
  91. package/dist/plugin-sdk/{commands-registry-C0vBsgUy.js → commands-registry-C-WjNyFR.js} +4 -4
  92. package/dist/plugin-sdk/{config-C1a-yGCa.js → config-DxWaFEai.js} +9 -9
  93. package/dist/plugin-sdk/{deliver-D4QMj1KQ.js → deliver-j3DLAHmV.js} +10 -10
  94. package/dist/plugin-sdk/{diagnostic-Up1aMyxZ.js → diagnostic-DKyVS3IK.js} +1 -1
  95. package/dist/plugin-sdk/{image-Bu6pmW6i.js → image-BhV_XGSx.js} +4 -4
  96. package/dist/plugin-sdk/{image-ops-6S8Fa1d6.js → image-ops-Bjog8bLM.js} +1 -1
  97. package/dist/plugin-sdk/index.js +53 -53
  98. package/dist/plugin-sdk/{ir-yosTlCQ0.js → ir-98uc6iQ2.js} +4 -4
  99. package/dist/plugin-sdk/{local-roots-CW6TWE2a.js → local-roots-9jdLho_V.js} +3 -3
  100. package/dist/plugin-sdk/{login-CkOX36_Y.js → login-DTf65Ckq.js} +7 -7
  101. package/dist/plugin-sdk/{login-qr-DyxTgmGK.js → login-qr-CRlrA1Km.js} +9 -9
  102. package/dist/plugin-sdk/{manager-CtapJqej.js → manager-B44bHk5P.js} +8 -8
  103. package/dist/plugin-sdk/{manifest-registry-DvEm2HHf.js → manifest-registry-sgHvjA6E.js} +1 -1
  104. package/dist/plugin-sdk/{markdown-tables-OYHjLFmr.js → markdown-tables-DV9FqwR1.js} +1 -1
  105. package/dist/plugin-sdk/{message-channel-DY9wVB2A.js → message-channel-DmB4bGFh.js} +1 -1
  106. package/dist/plugin-sdk/{model-selection-TMsqRl-p.js → model-selection-BALQkWtM.js} +4 -4
  107. package/dist/plugin-sdk/{outbound-Cs6LZhj-.js → outbound-CjucU9tz.js} +7 -7
  108. package/dist/plugin-sdk/{outbound-attachment-C1DtqQQb.js → outbound-attachment-BGKevRhJ.js} +2 -2
  109. package/dist/plugin-sdk/{pi-auth-json-Dpj7O31p.js → pi-auth-json-CYvT0sDr.js} +5 -5
  110. package/dist/plugin-sdk/{pi-embedded-helpers-DBCtPcLq.js → pi-embedded-helpers-DQd-G9Yf.js} +17 -17
  111. package/dist/plugin-sdk/{plugins-BizZYn_y.js → plugins-DwNa_Bjz.js} +4 -4
  112. package/dist/plugin-sdk/{pw-ai-CtYVo9Ju.js → pw-ai-mUE_oZph.js} +8 -8
  113. package/dist/plugin-sdk/{qmd-manager-qSSWvVwi.js → qmd-manager-CxvLwD3u.js} +4 -4
  114. package/dist/plugin-sdk/{registry-DL-33c9X.js → registry-O1yza0Vh.js} +2 -2
  115. package/dist/plugin-sdk/{replies-YDjHVGij.js → replies-BLJ6SuWd.js} +3 -3
  116. package/dist/plugin-sdk/{reply-Dl9JHnGW.js → reply-CEPjyDUz.js} +86 -81
  117. package/dist/plugin-sdk/{reply-prefix-DNmkrWtV.js → reply-prefix-Ohtg483v.js} +1 -1
  118. package/dist/plugin-sdk/{resolve-outbound-target-DCb1ht31.js → resolve-outbound-target-vib4nnNx.js} +2 -2
  119. package/dist/plugin-sdk/{resolve-route-BDLDhEh_.js → resolve-route-DM-CdB9Z.js} +3 -3
  120. package/dist/plugin-sdk/{retry-5P3d0rYw.js → retry-JFNwfUew.js} +1 -1
  121. package/dist/plugin-sdk/{runner-DvYaPG7_.js → runner-CsA0T0xW.js} +9 -9
  122. package/dist/plugin-sdk/{send-DZQYUVIY.js → send-BzXVnK8V.js} +10 -10
  123. package/dist/plugin-sdk/{send-3DmbiJfM.js → send-C-9MUMZ2.js} +6 -6
  124. package/dist/plugin-sdk/{send-DU1Pnsmd.js → send-CAhPO5Zx.js} +7 -7
  125. package/dist/plugin-sdk/{send-BsKrW0Xh.js → send-D4OqVuu3.js} +6 -6
  126. package/dist/plugin-sdk/{send-CNMXFSjB.js → send-DQL4fKTV.js} +10 -10
  127. package/dist/plugin-sdk/{session-D38ojZ3_.js → session-B-KGD6AG.js} +4 -4
  128. package/dist/plugin-sdk/{skill-commands-D7degVS7.js → skill-commands-BKx7u1Af.js} +5 -5
  129. package/dist/plugin-sdk/{skills-DBG2n4rQ.js → skills-DeKBQV6I.js} +8 -8
  130. package/dist/plugin-sdk/{sqlite-ulpcowfN.js → sqlite-DUu0dwic.js} +1 -1
  131. package/dist/plugin-sdk/{store-CMGBlFGX.js → store-gutZwMLb.js} +2 -2
  132. package/dist/plugin-sdk/{subsystem-C9WnrKN8.js → subsystem-C4Rh0kdL.js} +1 -1
  133. package/dist/plugin-sdk/{tables-DzujD35V.js → tables-DhuVe5ji.js} +1 -1
  134. package/dist/plugin-sdk/{target-errors-KOPdGMxQ.js → target-errors-2VrFN2Zl.js} +2 -2
  135. package/dist/plugin-sdk/{thinking-BiNjzudU.js → thinking-DK3F1Tth.js} +5 -5
  136. package/dist/plugin-sdk/{tokens-2475WU2Z.js → tokens-K9ITCatc.js} +1 -1
  137. package/dist/plugin-sdk/{tool-images-BlYojiWx.js → tool-images-Bu_rB65-.js} +2 -2
  138. package/dist/plugin-sdk/{tool-loop-detection-D0ADW0h2.js → tool-loop-detection-BBRtoox8.js} +2 -2
  139. package/dist/plugin-sdk/web-D4y93xJs.js +65 -0
  140. package/dist/plugin-sdk/{whatsapp-actions-Bffbt65T.js → whatsapp-actions-DfsMoZFo.js} +21 -21
  141. package/dist/{plugins-cli-CP_m4f99.js → plugins-cli-lhrGoBR6.js} +10 -10
  142. package/dist/{plugins-cli-ByB9fyeR.js → plugins-cli-wgfI0UQj.js} +10 -10
  143. package/dist/{program-context-DFA11MB9.js → program-context-CYp1q7xa.js} +23 -23
  144. package/dist/{program-B51CfijA.js → program-qNT3rmIP.js} +15 -15
  145. package/dist/{prompt-select-styled-kNFZiNLD.js → prompt-select-styled-BpgjFqTI.js} +6 -6
  146. package/dist/{prompt-select-styled-y8kycqep.js → prompt-select-styled-p5JadbTq.js} +6 -6
  147. package/dist/{provider-auth-helpers-AORB3hk9.js → provider-auth-helpers-BsIbiBsc.js} +1 -1
  148. package/dist/{provider-auth-helpers-TZ3D-fXq.js → provider-auth-helpers-DxcFCj8l.js} +1 -1
  149. package/dist/{push-apns-CSSSwhDY.js → push-apns-CMufCHlT.js} +1 -1
  150. package/dist/{push-apns-BTcu7pip.js → push-apns-DQDCcwGD.js} +1 -1
  151. package/dist/{pw-ai-BW_4y-Af.js → pw-ai-MQ_9Ke4J.js} +1 -1
  152. package/dist/{register.agent-C4G2zuxZ.js → register.agent-CBvpDk67.js} +13 -13
  153. package/dist/{register.agent-xMmK5W-R.js → register.agent-Cjpe5f-4.js} +14 -14
  154. package/dist/{register.configure-aXmgTNuB.js → register.configure-BjV-wg8r.js} +17 -17
  155. package/dist/{register.configure-CeFYJnjt.js → register.configure-BxI9OSem.js} +17 -17
  156. package/dist/{register.maintenance-BD4w3mhl.js → register.maintenance-BCkPVvOs.js} +17 -17
  157. package/dist/{register.maintenance-h74is0GZ.js → register.maintenance-CoPFUBJ-.js} +16 -16
  158. package/dist/{register.message-42he49is.js → register.message-BUScfcdy.js} +10 -10
  159. package/dist/{register.message-Cx6UTHOb.js → register.message-CH6_vxmF.js} +10 -10
  160. package/dist/{register.onboard-CgQM-nZ7.js → register.onboard-BkllczKE.js} +12 -12
  161. package/dist/{register.onboard-CnByKpp_.js → register.onboard-Is41-WCP.js} +12 -12
  162. package/dist/{register.setup-B4qai0DZ.js → register.setup-BY9ptdcQ.js} +12 -12
  163. package/dist/{register.setup-CkW4jPu_.js → register.setup-L894MNBL.js} +12 -12
  164. package/dist/{register.status-health-sessions-DHHGaJsX.js → register.status-health-sessions-CwaHztvD.js} +13 -13
  165. package/dist/{register.status-health-sessions-DNqvYowR.js → register.status-health-sessions-ge_NArau.js} +13 -13
  166. package/dist/{register.subclis-CSqyRt2t.js → register.subclis-B1ec--fE.js} +15 -15
  167. package/dist/{reply-V8UXM1XU.js → reply-CTXyfK4C.js} +24 -19
  168. package/dist/{run-main-B3sc7X8M.js → run-main-D22E5VAa.js} +22 -22
  169. package/dist/{runner-CbkB3vpb.js → runner-7CvZzaDq.js} +1 -1
  170. package/dist/{runner-D4U7RPrD.js → runner-C847b4l8.js} +1 -1
  171. package/dist/{runner-DzmbTP-U.js → runner-CVUxRjqk.js} +1 -1
  172. package/dist/{runner-DkWpm1Ly.js → runner-DwPwvW7O.js} +1 -1
  173. package/dist/{sandbox-BMaHJcKh.js → sandbox-CnjxZiX6.js} +1 -1
  174. package/dist/{sandbox-BouZCtAZ.js → sandbox-Dx7rhTNq.js} +1 -1
  175. package/dist/{sandbox-cli-BOIxnYTT.js → sandbox-cli-BFaKObCn.js} +2 -2
  176. package/dist/{sandbox-cli-CNuDSwRd.js → sandbox-cli-BPn1XzP4.js} +2 -2
  177. package/dist/{security-cli-yUbF8tfT.js → security-cli-BLxQVHSr.js} +4 -4
  178. package/dist/{security-cli-BdxPszWY.js → security-cli-BWl2xTKB.js} +4 -4
  179. package/dist/{server-node-events-D5Fen-q2.js → server-node-events-CsVXbnH8.js} +10 -10
  180. package/dist/{server-node-events-Dm6MSKk0.js → server-node-events-Ds-geRQN.js} +10 -10
  181. package/dist/{session-dirs-CRnGB63U.js → session-dirs-DLl5kMOW.js} +1 -1
  182. package/dist/{session-dirs-BmVdF2KM.js → session-dirs-pMZ0GUme.js} +1 -1
  183. package/dist/{skill-commands-WUe5qD2m.js → skill-commands-BaMzGjOE.js} +1 -1
  184. package/dist/{skill-commands-Cpmn3Org.js → skill-commands-Bt5B72pd.js} +1 -1
  185. package/dist/{skill-commands-CZAnHEpp.js → skill-commands-eR3egMMt.js} +1 -1
  186. package/dist/{skill-commands-BdHYzdEB.js → skill-commands-j1K-cIeH.js} +1 -1
  187. package/dist/{skills-0xyvB-8h.js → skills-C3qtO85j.js} +1 -1
  188. package/dist/{skills-BiH90q2q.js → skills-D873e5Tc.js} +1 -1
  189. package/dist/{skills-DZ5N398o.js → skills-DpbAF0wq.js} +1 -1
  190. package/dist/{skills-BZ3AnzBD.js → skills-L6sb1hQe.js} +1 -1
  191. package/dist/{skills-cli-BfP1am_D.js → skills-cli-DAFKeROB.js} +4 -4
  192. package/dist/{skills-cli-e6dKuMzN.js → skills-cli-GRGIeeSV.js} +4 -4
  193. package/dist/{skills-install-BOt50Tao.js → skills-install-BQNBjQvM.js} +1 -1
  194. package/dist/{skills-install-jtm7_1nn.js → skills-install-Dcs7EklJ.js} +1 -1
  195. package/dist/{skills-status-CMdWT0WL.js → skills-status-C7F1IVPW.js} +1 -1
  196. package/dist/{skills-status-CwscTRzQ.js → skills-status-CcVQgk7_.js} +1 -1
  197. package/dist/{status-2w8d47j-.js → status-8gGID0gX.js} +5 -5
  198. package/dist/{status-DQEnKbht.js → status-Dt0VMQqC.js} +5 -5
  199. package/dist/{status-BjjDHl4v.js → status-S7xe2t8Z.js} +1 -1
  200. package/dist/{status-Bi_g-8aS.js → status-nC_ZJtIq.js} +1 -1
  201. package/dist/{subagent-registry-DGNGenUN.js → subagent-registry-UPLweIBk.js} +24 -19
  202. package/dist/{tui-BPSckkGa.js → tui-0T4T9APo.js} +1 -1
  203. package/dist/{tui-Dn3NzP7B.js → tui-DrqUwYM0.js} +1 -1
  204. package/dist/{tui-cli-DYhd0RT6.js → tui-cli-BeefgxQw.js} +4 -4
  205. package/dist/{tui-cli-Dscc8usx.js → tui-cli-a6p89FUg.js} +4 -4
  206. package/dist/{update-cli-DHAT02hj.js → update-cli-DC0ncFXD.js} +17 -17
  207. package/dist/{update-cli-CLaJrUF4.js → update-cli-XNlYaLwU.js} +16 -16
  208. package/dist/{web-H55ayBNa.js → web-BwA6g_BZ.js} +9 -9
  209. package/dist/{web-Ciz1i7yI.js → web-CPVm8WTc.js} +10 -10
  210. package/dist/{web-BpYdg2HU.js → web-ChhsHjUp.js} +8 -8
  211. package/dist/{web-aUEiU7C4.js → web-DDJ4-k3Q.js} +7 -7
  212. package/dist/{webhooks-cli-Do7FxZZn.js → webhooks-cli-BaFlLT8b.js} +1 -1
  213. package/dist/{webhooks-cli-XKB_0xb7.js → webhooks-cli-LMRP1VXt.js} +1 -1
  214. package/package.json +5 -5
  215. package/dist/plugin-sdk/web-BFEz8bk-.js +0 -65
@@ -1,72 +1,72 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { _ as isCronSessionKey, b as resolveThreadParentSessionKey, c as normalizeMainKey, d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, g as isAcpSessionKey, h as getSubagentDepth, l as resolveAgentIdFromSessionKey, o as classifySessionKeyShape, p as normalizeAccountId$2, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveThreadSessionKeys, v as isSubagentSessionKey, y as parseAgentSessionKey } from "./session-key-C_0eELjb.js";
3
- import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-fnLsjAOi.js";
3
+ import { c as logoutWeb, f as readWebSelfId, g as webAuthExists, o as getWebAuthAgeMs, r as resolveWhatsAppAccount, s as logWebSelfId } from "./accounts-Ciwy7Yxd.js";
4
4
  import { c as expandHomePrefix, i as resolveGatewayPort, n as resolveConfigPath, s as resolveStateDir, t as STATE_DIR, u as resolveRequiredHomeDir } from "./paths-DVWx7USN.js";
5
5
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-Cg0YPPSu.js";
6
- import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-BizZYn_y.js";
6
+ import { A as resolveSlackBotToken, C as resolveTelegramToken, D as resolveSlackAccount, F as resolveDiscordAccount, I as normalizeDiscordToken, N as listEnabledDiscordAccounts, S as resolveTelegramAccount, _ as normalizeWhatsAppTarget, b as listTelegramAccountIds, g as isWhatsAppGroupJid, h as resolveSlackChannelId, j as createDiscordActionGate, k as resolveSlackAppToken, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin, v as createTelegramActionGate, y as listEnabledTelegramAccounts } from "./plugins-DwNa_Bjz.js";
7
7
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-ChYuW7LE.js";
8
8
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-b2Zm8y7X.js";
9
- import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredOpenClawTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-DL-33c9X.js";
10
- import { n as retryAsync } from "./retry-5P3d0rYw.js";
11
- import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-DZQYUVIY.js";
12
- import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-C1a-yGCa.js";
13
- import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-C9WnrKN8.js";
14
- import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DHXa0Clc.js";
15
- import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as DEFAULT_CONTEXT_TOKENS, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-TMsqRl-p.js";
16
- import { A as logInfo, C as resolveOpenClawPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-DnU66cJq.js";
17
- import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-DvEm2HHf.js";
9
+ import { $ as isRich, A as normalizeE164, D as isRecord$1, E as formatTerminalLink, H as isPlainObject, I as shortenHomeInString, J as setVerbose, K as logVerbose, L as shortenHomePath, P as resolveUserPath, Q as colorize, R as sleep$1, S as clampInt, T as escapeRegExp, U as danger, V as truncateUtf16Safe, Y as shouldLogVerbose, Z as warn, _ as matchPluginCommand, a as normalizeAnyChannelId, b as CONFIG_DIR, ct as normalizeLogLevel, d as createPluginRegistry, et as theme, f as normalizePluginHttpPath, g as listPluginCommands, h as getPluginCommandSpecs, l as requireActivePluginRegistry, m as executePluginCommand, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as clearPluginCommands, r as DEFAULT_CHAT_CHANNEL, tt as getChildLogger, u as setActivePluginRegistry, ut as resolvePreferredOpenClawTmpDir, v as createInternalHookEvent, w as ensureDir$3, y as triggerInternalHook, z as sliceUtf16Safe } from "./registry-O1yza0Vh.js";
10
+ import { n as retryAsync } from "./retry-JFNwfUew.js";
11
+ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, At as fetchDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, E as listThreadsDiscord, Et as normalizeChannelSlug, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as resolveChannelEntryMatchWithFallback, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as buildChannelKeyCandidates, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendPollDiscord, _t as resolveDiscordShouldRequireMention, a as removeReactionDiscord, at as resolveDiscordChannelId, b as sendWebhookMessageDiscord, bt as formatDiscordReactionEmoji, c as formatDiscordComponentEventText, ct as allowListMatches$1, d as parseDiscordModalCustomId, dt as normalizeDiscordSlug, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordAllowListMatch, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordMemberAccessState, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, l as parseDiscordComponentCustomId, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordComponentEntry, mt as resolveDiscordGuildEntry, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordAllowList, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as applyChannelMatchMeta, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-BzXVnK8V.js";
12
+ import { B as getConfigOverrides, C as resolveIMessageRemoteAttachmentRoots, G as parseConfigPath, H as setConfigOverride, J as isSafeExecutableValue, K as setConfigValueAtPath, R as parseDurationMs, S as resolveIMessageAttachmentRoots, U as unsetConfigOverride, V as resetConfigOverrides, W as getConfigValueAtPath, X as resolveAgentMaxConcurrent, Y as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Z as VERSION, _ as normalizeTelegramCommandName, a as writeConfigFile, b as isInboundPathAllowed, g as TELEGRAM_COMMAND_NAME_PATTERN, i as resolveConfigSnapshotHash, n as loadConfig, o as validateConfigObjectWithPlugins, q as unsetConfigValueAtPath, r as readConfigFileSnapshot, v as resolveTelegramCustomCommands, w as normalizeScpRemoteHost, z as validateJsonSchemaValue } from "./config-DxWaFEai.js";
13
+ import { a as clearActiveProgressLine, i as defaultRuntime, o as registerActiveProgressLine, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger } from "./subsystem-C4Rh0kdL.js";
14
+ import { i as parseBooleanValue$1, n as resolveCliName, r as isTruthyEnvValue, t as formatCliCommand } from "./command-format-DcBXOX9Z.js";
15
+ import { A as getSoonestCooldownExpiry, B as resolveOpenClawAgentDir, C as getCustomProviderApiKey, D as resolveModelAuthMode, E as resolveEnvApiKey, F as dedupeProfileIds, G as normalizeSecretInput, H as withFileLock, I as listProfilesForProvider, J as DEFAULT_MODEL, K as resolveAuthProfileDisplayLabel, L as markAuthProfileGood, M as markAuthProfileFailure, N as markAuthProfileUsed, P as resolveApiKeyForProfile, Q as resolveShellEnvFallbackTimeoutMs, R as ensureAuthProfileStore, S as getApiKeyForModel, T as resolveApiKeyForProvider, X as getShellPathFromLoginShell, Y as DEFAULT_PROVIDER, a as isCliProvider, b as OLLAMA_NATIVE_BASE_URL, c as normalizeProviderId, d as resolveDefaultModelForAgent, f as resolveModelRefFromString, i as findNormalizedProviderValue, j as isProfileInCooldown, k as resolveAuthProfileOrder, m as resolveThinkingDefault, n as buildConfiguredAllowlistKeys, o as modelKey, p as resolveSubagentSpawnModelSelection, q as DEFAULT_CONTEXT_TOKENS, r as buildModelAliasIndex, s as normalizeModelRef$2, t as buildAllowedModelSet, u as resolveConfiguredModelRef, w as requireApiKey, x as createOllamaStreamFn, z as resolveAuthStorePathForDisplay } from "./model-selection-BALQkWtM.js";
16
+ import { A as logInfo, C as resolveOpenClawPackageRoot, D as spawnWithFallback, E as runExec, O as logDebug, S as loadWorkspaceBootstrapFiles, T as runCommandWithTimeout, a as resolveAgentModelPrimary, b as ensureAgentWorkspace, c as resolveDefaultAgentId, d as resolveSessionAgentIds, g as DEFAULT_IDENTITY_FILENAME, i as resolveAgentModelFallbacksOverride, j as logWarn, k as logError, l as resolveEffectiveModelFallbacks, m as DEFAULT_BOOTSTRAP_FILENAME, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_AGENT_WORKSPACE_DIR, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentId, x as filterBootstrapFilesForSession } from "./agent-scope-j9eoKDzr.js";
17
+ import { c as normalizePluginsConfig, f as isPathInsideWithRealpath, i as safeStatSync, l as resolveEnableState, n as discoverOpenClawPlugins, p as isDangerousHostEnvVarName, r as isPathInside, s as applyTestPluginDefaults, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-sgHvjA6E.js";
18
18
  import { n as formatErrorMessage, r as formatUncaughtError } from "./errors-Bv8oZiTO.js";
19
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-WgE8Z4Bb.js";
19
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-CCnr-9bS.js";
20
20
  import { n as normalizePollInput } from "./polls-3WJMd-G-.js";
21
- import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-6S8Fa1d6.js";
21
+ import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-Bjog8bLM.js";
22
22
  import { a as isBlockedHostnameOrIp, c as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DKZ8eBrk.js";
23
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-CW6TWE2a.js";
24
- import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-yosTlCQ0.js";
25
- import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-CQk9vawA.js";
26
- import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DY9wVB2A.js";
23
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, t as getAgentScopedMediaLocalRoots } from "./local-roots-9jdLho_V.js";
24
+ import { a as loadWebMedia, i as getDefaultLocalRoots } from "./ir-98uc6iQ2.js";
25
+ import { a as chunkText, c as resolveChunkMode, d as findFenceSpanAt, f as isSafeFenceBreak, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, o as chunkTextWithMode, p as parseFenceSpans, r as chunkMarkdownText, t as chunkByNewline } from "./chunk-DyzO7IVo.js";
26
+ import { a as isMarkdownCapableMessageChannel, c as resolveGatewayMessageChannel, d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, i as isInternalMessageChannel, l as resolveMessageChannel, n as isDeliverableMessageChannel, o as listDeliverableMessageChannels, r as isGatewayMessageChannel, s as normalizeMessageChannel, t as INTERNAL_MESSAGE_CHANNEL, u as GATEWAY_CLIENT_IDS } from "./message-channel-DmB4bGFh.js";
27
27
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
28
- import { n as resolveMarkdownTableMode } from "./markdown-tables-OYHjLFmr.js";
29
- import { t as convertMarkdownTables } from "./tables-DzujD35V.js";
30
- import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-DU1Pnsmd.js";
31
- import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-BlYojiWx.js";
32
- import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-KOPdGMxQ.js";
33
- import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-3DmbiJfM.js";
34
- import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-CNMXFSjB.js";
35
- import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-DvYaPG7_.js";
36
- import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-DNmkrWtV.js";
37
- import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-2475WU2Z.js";
38
- import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-D7degVS7.js";
39
- import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-DBG2n4rQ.js";
40
- import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-NvVwZ3Xn.js";
41
- import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-BiNjzudU.js";
42
- import { r as resolveIMessageAccount } from "./accounts-DEsAwvaZ.js";
43
- import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BcQo4OUu.js";
44
- import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-D4QMj1KQ.js";
45
- import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-DBCtPcLq.js";
28
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DV9FqwR1.js";
29
+ import { t as convertMarkdownTables } from "./tables-DhuVe5ji.js";
30
+ import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-CAhPO5Zx.js";
31
+ import { i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, r as sanitizeToolResultImages } from "./tool-images-Bu_rB65-.js";
32
+ import { a as createActionGate, c as jsonResult, d as readReactionParams, f as readStringArrayParam, l as parseAvailableTags, m as readStringParam, n as missingTargetError, o as imageResult, p as readStringOrNumberParam, r as unknownTargetError, s as imageResultFromFile, t as ambiguousTargetError, u as readNumberParam } from "./target-errors-2VrFN2Zl.js";
33
+ import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-C-9MUMZ2.js";
34
+ import { $ as parseTelegramTarget, A as hasBotMention, B as resolveSenderAllowMatch, C as buildTelegramGroupPeerId, D as describeReplyTarget, E as buildTypingThreadParams, F as resolveTelegramReplyId, G as readChannelAllowFromStore, H as isSenderIdAllowed, I as resolveTelegramStreamMode, J as upsertChannelPairingRequest, L as resolveTelegramThreadSpec, M as resolveTelegramForumThreadId, N as resolveTelegramGroupAllowFromContext, O as expandTextLinks, P as resolveTelegramMediaPlaceholder, Q as isVoiceCompatibleAudio, R as isSenderAllowed$1, S as buildTelegramGroupFrom, T as buildTelegramThreadParams, U as mergeAllowFromSources, V as firstDefined$1, W as addChannelAllowFromStoreEntry, X as listPairingChannels, Y as getPairingAdapter, Z as withTelegramApiErrorLogging, _ as resolveTelegramFetch, a as reactMessageTelegram, b as buildSenderLabel, c as sendStickerTelegram, d as wasSentByBot, et as resolveTelegramTargetChatType, f as isRecoverableTelegramNetworkError, g as wrapFileReferencesInHtml, h as renderTelegramHtmlText, i as editMessageTelegram, j as normalizeForwardedContext, k as extractTelegramLocation, m as markdownToTelegramHtml, n as createForumTopicTelegram, nt as toLocationContext, o as sendMessageTelegram, p as markdownToTelegramChunks, q as removeChannelAllowFromStoreEntry, r as deleteMessageTelegram, s as sendPollTelegram, t as buildInlineKeyboard, tt as formatLocationText, u as resolveTelegramVoiceSend, v as splitTelegramCaption, w as buildTelegramParentPeer, x as buildSenderName, y as buildGroupLabel, z as normalizeAllowFromWithStore$1 } from "./send-DQL4fKTV.js";
35
+ import { _ as CLI_OUTPUT_MAX_BUFFER, a as resolveMediaAttachmentLocalRoots, c as loadModelCatalog, d as resolveAttachmentKind, f as registerUnhandledRejectionHandler, g as resolveMediaUnderstandingScope, h as normalizeMediaUnderstandingChatType, i as resolveAutoImageModel, l as modelSupportsVision, m as resolveTimeoutMs$1, n as createMediaAttachmentCache, o as runCapability, p as resolveConcurrency, r as normalizeMediaAttachments, s as findModelInCatalog, t as buildProviderRegistry, v as applyTemplate, y as buildRandomTempFilePath } from "./runner-CsA0T0xW.js";
36
+ import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-Ohtg483v.js";
37
+ import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-K9ITCatc.js";
38
+ import { c as getSkillsSnapshotVersion, d as resolvePairingPaths, f as createAsyncLock, i as resolveSkillCommandInvocation, l as generatePairingToken, m as writeJsonAtomic, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, p as readJsonFile, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as pruneExpiredPending } from "./skill-commands-BKx7u1Af.js";
39
+ import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-DeKBQV6I.js";
40
+ import { M as isSecureWebSocketUrl, N as rawDataToString, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, x as ensureChromeExtensionRelayServer } from "./chrome-CAPUVzg9.js";
41
+ import { A as normalizeHyphenSlug, F as resolveChannelGroupRequireMention, I as resolveChannelGroupToolsPolicy, M as normalizeStringEntriesLower, P as resolveChannelGroupPolicy, a as normalizeReasoningLevel, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, j as normalizeStringEntries, k as normalizeAtHashSlug, l as resolveResponseUsageMode, m as normalizeSignalMessagingTarget, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-DK3F1Tth.js";
42
+ import { r as resolveIMessageAccount } from "./accounts-wSu5JyDM.js";
43
+ import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-DUBJHEgi.js";
44
+ import { C as getGlobalHookRunner, S as throwIfAborted, _ as normalizeTargetForProvider, a as normalizeOutboundPayloadsForJson, b as splitMediaFromOutput, c as applyReplyThreading, d as isRenderablePayload, f as shouldSuppressMessagingToolReplies, g as normalizeChannelTargetInput, h as buildTargetResolverSignature, i as normalizeOutboundPayloads, l as filterMessagingToolDuplicates, m as resolveReplyToMode, o as normalizeReplyPayloadsForDelivery, p as createReplyToModeFilterForChannel, r as formatOutboundPayloadLog, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as filterMessagingToolMediaDuplicates, v as parseReplyDirectives, w as initializeGlobalHookRunner, x as parseInlineDirectives$1, y as MEDIA_TOKEN_RE } from "./deliver-j3DLAHmV.js";
45
+ import { $ as normalizeToolName, A as isTransientHttpError, At as countToolResults, B as resolveProfile, Bt as resolveChannelResetConfig, C as isContextOverflowError, Ct as deliveryContextKey, D as isRateLimitAssistantError, Dt as normalizeAccountId$3, E as isLikelyContextOverflowError, Et as normalizeSessionDeliveryFields, F as resolveSandboxContext, Ft as normalizeInputProvenance, G as resolveBrowserControlAuth, Gt as resolveFreshSessionTotalTokens, H as resolveExistingPathsWithinRoot, Ht as resolveSessionResetType, I as resolveSandboxRuntimeStatus, It as acquireSessionWriteLock, J as buildPluginToolGroups, Jt as resolveMainSessionKey, K as resolveSandboxConfigForAgent, Kt as canonicalizeMainSessionAlias, L as createBrowserRouteContext, Lt as resolveSessionLockMaxHoldFromTimeout, M as parseImageSizeError, Mt as INPUT_PROVENANCE_KIND_VALUES, N as sanitizeUserFacingText, Nt as applyInputProvenanceToUserMessage, O as isRawApiErrorPayload, Ot as archiveSessionTranscripts, P as ensureSandboxWorkspaceForSession, Pt as hasInterSessionUserProvenance, Q as mergeAlsoAllowPolicy, R as registerBrowserRoutes, Rt as resolveSessionKey, S as isCompactionFailureError, St as deliveryContextFromSession, T as isFailoverErrorMessage, Tt as normalizeDeliveryContext, U as getBridgeAuthForPort, Ut as resolveThreadFlag, V as DEFAULT_UPLOAD_DIR, Vt as resolveSessionResetPolicy, W as ensureBrowserControlAuth, Wt as DEFAULT_RESET_TRIGGERS, X as expandPolicyWithPluginGroups, Xt as resolveGroupSessionKey, Y as collectExplicitAllowlist, Yt as deriveSessionMetaPatch, Z as expandToolGroups, _ as formatRawAssistantErrorForUi, _t as updateLastRoute, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isBillingAssistantError, bt as isCacheEnabled, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as isAntigravityClaude, dt as appendAssistantMessageToSessionTranscript, et as resolveToolProfilePolicy, f as isGoogleModelApi, g as formatBillingErrorMessage, gt as recordSessionMetaFromInbound, h as formatAssistantErrorText, ht as readSessionUpdatedAt, it as buildBootstrapContextFiles, j as parseImageDimensionError, jt as extractToolCallNames, k as isTimeoutErrorMessage, kt as capArrayByJsonBytes, l as extractToolResultId, lt as extractDeliveryInfo, m as classifyFailoverReason, mt as loadSessionStore, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as BILLING_ERROR_USER_MESSAGE, pt as resolveAndPersistSessionFile, q as applyOwnerOnlyToolPolicy, qt as resolveExplicitAgentSessionKey, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as stripPluginOnlyAllowlist, u as downgradeOpenAIReasoningBlocks, ut as parseSessionThreadInfo, v as getApiErrorPayloadFingerprint, vt as updateSessionStore, w as isFailoverAssistantError, wt as mergeDeliveryContext, x as isCloudCodeAssistFormatError, xt as resolveCacheTtlMs$1, y as isAuthAssistantError, yt as updateSessionStoreEntry, z as resolveBrowserConfig, zt as evaluateSessionFreshness } from "./pi-embedded-helpers-DQd-G9Yf.js";
46
46
  import { n as resolveConversationLabel } from "./conversation-label-yNSj43Jt.js";
47
47
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-BNQjLbn7.js";
48
48
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-x1D4Vniz.js";
49
- import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-Up1aMyxZ.js";
50
- import { i as saveMediaBuffer, r as getMediaDir } from "./store-CMGBlFGX.js";
49
+ import { a as logMessageProcessed, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, i as logLaneEnqueue, l as logWebhookProcessed, m as isDiagnosticsEnabled, o as logMessageQueued, p as emitDiagnosticEvent, r as logLaneDequeue, s as logSessionStateChange, t as diag, u as logWebhookReceived } from "./diagnostic-DKyVS3IK.js";
50
+ import { i as saveMediaBuffer, r as getMediaDir } from "./store-gutZwMLb.js";
51
51
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-D5EzMeL_.js";
52
- import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-Bu6pmW6i.js";
52
+ import { S as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as extractTextFromChatContent, c as extractAssistantThinking, d as formatReasoningMessage, f as inferToolMetaFromArgs, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractThinkingFromTaggedStream, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as isAssistantMessage, r as coerceImageAssistantText, s as extractAssistantText$1, u as extractThinkingFromTaggedText, v as resolveToolDisplay, x as ensureOpenClawModelsJson, y as stripReasoningTagsFromText } from "./image-BhV_XGSx.js";
53
53
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-LbcEa65a.js";
54
- import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-ulpcowfN.js";
54
+ import { d as listMemoryFiles, f as normalizeExtraMemoryPaths, v as runTasksWithConcurrency } from "./sqlite-DUu0dwic.js";
55
55
  import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
56
- import { n as resolveMemorySearchConfig } from "./manager-CtapJqej.js";
57
- import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-C0vBsgUy.js";
58
- import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-BsKrW0Xh.js";
56
+ import { n as resolveMemorySearchConfig } from "./manager-B44bHk5P.js";
57
+ import { _ as resolveNativeCommandsEnabled, a as listChatCommandsForConfig, c as normalizeCommandBody, d as resolveCommandArgMenu, f as serializeCommandArgs, g as isRestartEnabled, h as isNativeCommandsExplicitlyDisabled, i as listChatCommands, l as parseCommandArgs, m as isCommandFlagEnabled, o as listNativeCommandSpecs, p as shouldHandleTextCommands, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as resolveCommandArgChoices, v as resolveNativeSkillsEnabled } from "./commands-registry-C-WjNyFR.js";
58
+ import { c as signalRpcRequest, l as streamSignalEvents, n as sendReadReceiptSignal, o as resolveSignalRpcContext, r as sendTypingSignal, s as signalCheck, t as sendMessageSignal } from "./send-D4OqVuu3.js";
59
59
  import { t as makeProxyFetch } from "./proxy-MquBDehr.js";
60
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BDLDhEh_.js";
61
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-YDjHVGij.js";
62
- import { t as getActiveWebListener } from "./active-listener-CeaKSm29.js";
60
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DM-CdB9Z.js";
61
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BLJ6SuWd.js";
62
+ import { t as getActiveWebListener } from "./active-listener-Bnau4oiu.js";
63
63
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-CBq0jVRw.js";
64
64
  import { createRequire } from "node:module";
65
65
  import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
66
66
  import * as path$1 from "node:path";
67
67
  import path from "node:path";
68
68
  import os, { homedir } from "node:os";
69
- import json5 from "json5";
69
+ import JSON5 from "json5";
70
70
  import { ApplicationCommandOptionType, ButtonStyle, ChannelType, PermissionFlagsBits, Routes, StickerFormatType } from "discord-api-types/v10";
71
71
  import { Button, ChannelSelectMenu, ChannelType as ChannelType$1, Client, Command, CommandWithSubcommands, Container, MentionableSelectMenu, MessageCreateListener, MessageReactionAddListener, MessageReactionRemoveListener, MessageType, Modal, PresenceUpdateListener, ReadyListener, RoleSelectMenu, Row, Separator, StringSelectMenu, TextDisplay, UserSelectMenu, serializePayload } from "@buape/carbon";
72
72
  import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
@@ -7787,7 +7787,7 @@ async function createModelSelectionState(params) {
7787
7787
  }
7788
7788
  }
7789
7789
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
7790
- const { ensureAuthProfileStore } = await import("./model-selection-TMsqRl-p.js").then((n) => n.O);
7790
+ const { ensureAuthProfileStore } = await import("./model-selection-BALQkWtM.js").then((n) => n.O);
7791
7791
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
7792
7792
  const providerKey = normalizeProviderId(provider);
7793
7793
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -11539,7 +11539,7 @@ async function getMemorySearchManager(params) {
11539
11539
  if (cached) return { manager: cached };
11540
11540
  }
11541
11541
  try {
11542
- const { QmdMemoryManager } = await import("./qmd-manager-qSSWvVwi.js");
11542
+ const { QmdMemoryManager } = await import("./qmd-manager-CxvLwD3u.js");
11543
11543
  const primary = await QmdMemoryManager.create({
11544
11544
  cfg: params.cfg,
11545
11545
  agentId: params.agentId,
@@ -11551,7 +11551,7 @@ async function getMemorySearchManager(params) {
11551
11551
  const wrapper = new FallbackMemoryManager({
11552
11552
  primary,
11553
11553
  fallbackFactory: async () => {
11554
- const { MemoryIndexManager } = await import("./manager-CtapJqej.js").then((n) => n.t);
11554
+ const { MemoryIndexManager } = await import("./manager-B44bHk5P.js").then((n) => n.t);
11555
11555
  return await MemoryIndexManager.get(params);
11556
11556
  }
11557
11557
  }, () => QMD_MANAGER_CACHE.delete(cacheKey));
@@ -11564,7 +11564,7 @@ async function getMemorySearchManager(params) {
11564
11564
  }
11565
11565
  }
11566
11566
  try {
11567
- const { MemoryIndexManager } = await import("./manager-CtapJqej.js").then((n) => n.t);
11567
+ const { MemoryIndexManager } = await import("./manager-B44bHk5P.js").then((n) => n.t);
11568
11568
  return { manager: await MemoryIndexManager.get(params) };
11569
11569
  } catch (err) {
11570
11570
  return {
@@ -12623,7 +12623,7 @@ function normalizeSessionKey(value) {
12623
12623
  function readSessionStore(storePath) {
12624
12624
  try {
12625
12625
  const raw = fs.readFileSync(storePath, "utf-8");
12626
- const parsed = json5.parse(raw);
12626
+ const parsed = JSON5.parse(raw);
12627
12627
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
12628
12628
  } catch {}
12629
12629
  return {};
@@ -15480,7 +15480,7 @@ async function routeReply(params) {
15480
15480
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
15481
15481
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
15482
15482
  try {
15483
- const { deliverOutboundPayloads } = await import("./deliver-D4QMj1KQ.js").then((n) => n.n);
15483
+ const { deliverOutboundPayloads } = await import("./deliver-j3DLAHmV.js").then((n) => n.n);
15484
15484
  return {
15485
15485
  ok: true,
15486
15486
  messageId: (await deliverOutboundPayloads({
@@ -17958,7 +17958,7 @@ async function describeStickerImage(params) {
17958
17958
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
17959
17959
  try {
17960
17960
  const buffer = await fs$1.readFile(imagePath);
17961
- const { describeImageWithModel } = await import("./image-Bu6pmW6i.js").then((n) => n.n);
17961
+ const { describeImageWithModel } = await import("./image-BhV_XGSx.js").then((n) => n.n);
17962
17962
  return (await describeImageWithModel({
17963
17963
  buffer,
17964
17964
  fileName: "sticker.webp",
@@ -18369,7 +18369,7 @@ function createWhatsAppLoginTool() {
18369
18369
  force: Type.Optional(Type.Boolean())
18370
18370
  }),
18371
18371
  execute: async (_toolCallId, args) => {
18372
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-DyxTgmGK.js");
18372
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CRlrA1Km.js");
18373
18373
  if ((args?.action ?? "start") === "wait") {
18374
18374
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
18375
18375
  return {
@@ -20236,7 +20236,7 @@ async function preflightDiscordMessage(params) {
20236
20236
  let preflightTranscript;
20237
20237
  const hasAudioAttachment = message.attachments?.some((att) => att.contentType?.startsWith("audio/"));
20238
20238
  if (!isDirectMessage && shouldRequireMention && hasAudioAttachment && !baseText && mentionRegexes.length > 0) try {
20239
- const { transcribeFirstAudio } = await import("./audio-preflight-zFFuY6Bd.js");
20239
+ const { transcribeFirstAudio } = await import("./audio-preflight-4vffLZR4.js");
20240
20240
  const audioPaths = message.attachments?.filter((att) => att.contentType?.startsWith("audio/")).map((att) => att.url) ?? [];
20241
20241
  if (audioPaths.length > 0) preflightTranscript = await transcribeFirstAudio({
20242
20242
  ctx: {
@@ -26836,27 +26836,27 @@ async function runWithImageModelFallback(params) {
26836
26836
  function createDefaultDeps() {
26837
26837
  return {
26838
26838
  sendMessageWhatsApp: async (...args) => {
26839
- const { sendMessageWhatsApp } = await import("./web-BFEz8bk-.js");
26839
+ const { sendMessageWhatsApp } = await import("./web-D4y93xJs.js");
26840
26840
  return await sendMessageWhatsApp(...args);
26841
26841
  },
26842
26842
  sendMessageTelegram: async (...args) => {
26843
- const { sendMessageTelegram } = await import("./send-CNMXFSjB.js").then((n) => n.l);
26843
+ const { sendMessageTelegram } = await import("./send-DQL4fKTV.js").then((n) => n.l);
26844
26844
  return await sendMessageTelegram(...args);
26845
26845
  },
26846
26846
  sendMessageDiscord: async (...args) => {
26847
- const { sendMessageDiscord } = await import("./send-DZQYUVIY.js").then((n) => n.t);
26847
+ const { sendMessageDiscord } = await import("./send-BzXVnK8V.js").then((n) => n.t);
26848
26848
  return await sendMessageDiscord(...args);
26849
26849
  },
26850
26850
  sendMessageSlack: async (...args) => {
26851
- const { sendMessageSlack } = await import("./send-3DmbiJfM.js").then((n) => n.n);
26851
+ const { sendMessageSlack } = await import("./send-C-9MUMZ2.js").then((n) => n.n);
26852
26852
  return await sendMessageSlack(...args);
26853
26853
  },
26854
26854
  sendMessageSignal: async (...args) => {
26855
- const { sendMessageSignal } = await import("./send-BsKrW0Xh.js").then((n) => n.i);
26855
+ const { sendMessageSignal } = await import("./send-D4OqVuu3.js").then((n) => n.i);
26856
26856
  return await sendMessageSignal(...args);
26857
26857
  },
26858
26858
  sendMessageIMessage: async (...args) => {
26859
- const { sendMessageIMessage } = await import("./send-DU1Pnsmd.js").then((n) => n.n);
26859
+ const { sendMessageIMessage } = await import("./send-CAhPO5Zx.js").then((n) => n.n);
26860
26860
  return await sendMessageIMessage(...args);
26861
26861
  }
26862
26862
  };
@@ -37127,7 +37127,7 @@ function readSlackExternalArgMenuToken(raw) {
37127
37127
  }
37128
37128
  let commandsRegistry;
37129
37129
  async function getCommandsRegistry() {
37130
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-C0vBsgUy.js").then((n) => n.n);
37130
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-C-WjNyFR.js").then((n) => n.n);
37131
37131
  return commandsRegistry;
37132
37132
  }
37133
37133
  function encodeSlackCommandArgValue(parts) {
@@ -37469,11 +37469,11 @@ async function registerSlackMonitorSlashCommands(params) {
37469
37469
  const channelName = channelInfo?.name;
37470
37470
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
37471
37471
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
37472
- import("./resolve-route-BDLDhEh_.js").then((n) => n.r),
37472
+ import("./resolve-route-DM-CdB9Z.js").then((n) => n.r),
37473
37473
  import("./inbound-context-D5EzMeL_.js").then((n) => n.n),
37474
37474
  Promise.resolve().then(() => provider_dispatcher_exports)
37475
37475
  ]);
37476
- const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-DNmkrWtV.js").then((n) => n.r)]);
37476
+ const [{ resolveConversationLabel }, { createReplyPrefixOptions }] = await Promise.all([import("./conversation-label-yNSj43Jt.js").then((n) => n.t), import("./reply-prefix-Ohtg483v.js").then((n) => n.r)]);
37477
37477
  const route = resolveAgentRoute({
37478
37478
  cfg,
37479
37479
  channel: "slack",
@@ -37530,9 +37530,9 @@ async function registerSlackMonitorSlashCommands(params) {
37530
37530
  });
37531
37531
  const deliverSlashPayloads = async (replies) => {
37532
37532
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
37533
- import("./replies-YDjHVGij.js").then((n) => n.r),
37534
- import("./chunk-CQk9vawA.js").then((n) => n.s),
37535
- import("./markdown-tables-OYHjLFmr.js").then((n) => n.t)
37533
+ import("./replies-BLJ6SuWd.js").then((n) => n.r),
37534
+ import("./chunk-DyzO7IVo.js").then((n) => n.s),
37535
+ import("./markdown-tables-DV9FqwR1.js").then((n) => n.t)
37536
37536
  ]);
37537
37537
  await deliverSlackSlashReplies({
37538
37538
  replies,
@@ -37585,7 +37585,7 @@ async function registerSlackMonitorSlashCommands(params) {
37585
37585
  let nativeCommands = [];
37586
37586
  if (nativeEnabled) {
37587
37587
  reg = await getCommandsRegistry();
37588
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-D7degVS7.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
37588
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BKx7u1Af.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
37589
37589
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
37590
37590
  skillCommands,
37591
37591
  provider: "slack"
@@ -42366,7 +42366,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, storeAllowFro
42366
42366
  const hasAudio = allMedia.some((media) => media.contentType?.startsWith("audio/"));
42367
42367
  let preflightTranscript;
42368
42368
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0) try {
42369
- const { transcribeFirstAudio } = await import("./audio-preflight-zFFuY6Bd.js");
42369
+ const { transcribeFirstAudio } = await import("./audio-preflight-4vffLZR4.js");
42370
42370
  preflightTranscript = await transcribeFirstAudio({
42371
42371
  ctx: {
42372
42372
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -44511,23 +44511,23 @@ let webLoginQrPromise = null;
44511
44511
  let webChannelPromise = null;
44512
44512
  let whatsappActionsPromise = null;
44513
44513
  function loadWebOutbound() {
44514
- webOutboundPromise ??= import("./outbound-Cs6LZhj-.js").then((n) => n.t);
44514
+ webOutboundPromise ??= import("./outbound-CjucU9tz.js").then((n) => n.t);
44515
44515
  return webOutboundPromise;
44516
44516
  }
44517
44517
  function loadWebLogin() {
44518
- webLoginPromise ??= import("./login-CkOX36_Y.js").then((n) => n.n);
44518
+ webLoginPromise ??= import("./login-DTf65Ckq.js").then((n) => n.n);
44519
44519
  return webLoginPromise;
44520
44520
  }
44521
44521
  function loadWebLoginQr() {
44522
- webLoginQrPromise ??= import("./login-qr-DyxTgmGK.js");
44522
+ webLoginQrPromise ??= import("./login-qr-CRlrA1Km.js");
44523
44523
  return webLoginQrPromise;
44524
44524
  }
44525
44525
  function loadWebChannel() {
44526
- webChannelPromise ??= import("./web-BFEz8bk-.js");
44526
+ webChannelPromise ??= import("./web-D4y93xJs.js");
44527
44527
  return webChannelPromise;
44528
44528
  }
44529
44529
  function loadWhatsAppActions() {
44530
- whatsappActionsPromise ??= import("./whatsapp-actions-Bffbt65T.js");
44530
+ whatsappActionsPromise ??= import("./whatsapp-actions-DfsMoZFo.js");
44531
44531
  return whatsappActionsPromise;
44532
44532
  }
44533
44533
  function createPluginRuntime() {
@@ -59661,7 +59661,7 @@ async function recordLoopOutcome(args) {
59661
59661
  if (!args.ctx?.sessionKey) return;
59662
59662
  try {
59663
59663
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
59664
- const { recordToolCallOutcome } = await import("./tool-loop-detection-D0ADW0h2.js");
59664
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-BBRtoox8.js");
59665
59665
  recordToolCallOutcome(getDiagnosticSessionState({
59666
59666
  sessionKey: args.ctx.sessionKey,
59667
59667
  sessionId: args.ctx?.agentId
@@ -59682,8 +59682,8 @@ async function runBeforeToolCallHook(args) {
59682
59682
  const params = args.params;
59683
59683
  if (args.ctx?.sessionKey) {
59684
59684
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
59685
- const { logToolLoopAction } = await import("./diagnostic-Up1aMyxZ.js").then((n) => n.n);
59686
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-D0ADW0h2.js");
59685
+ const { logToolLoopAction } = await import("./diagnostic-DKyVS3IK.js").then((n) => n.n);
59686
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-BBRtoox8.js");
59687
59687
  const sessionState = getDiagnosticSessionState({
59688
59688
  sessionKey: args.ctx.sessionKey,
59689
59689
  sessionId: args.ctx?.agentId
@@ -62093,7 +62093,7 @@ async function summarizeChunks(params) {
62093
62093
  if (params.messages.length === 0) return params.previousSummary ?? DEFAULT_SUMMARY_FALLBACK;
62094
62094
  const chunks = chunkMessagesByMaxTokens(stripToolResultDetails(params.messages), params.maxChunkTokens);
62095
62095
  let summary = params.previousSummary;
62096
- for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.signal, params.customInstructions, summary), {
62096
+ for (const chunk of chunks) summary = await retryAsync(() => generateSummary(chunk, params.model, params.reserveTokens, params.apiKey, params.headers, params.signal, params.customInstructions, summary), {
62097
62097
  attempts: 3,
62098
62098
  minDelayMs: 500,
62099
62099
  maxDelayMs: 5e3,
@@ -62318,8 +62318,8 @@ function compactionSafeguardExtension(api) {
62318
62318
  modifiedFiles
62319
62319
  }
62320
62320
  } };
62321
- const apiKey = await ctx.modelRegistry.getApiKey(model);
62322
- if (!apiKey) return { compaction: {
62321
+ const requestAuth = await ctx.modelRegistry.getApiKeyAndHeaders(model);
62322
+ if (!requestAuth.ok || !requestAuth.apiKey && !requestAuth.headers) return { compaction: {
62323
62323
  summary: fallbackSummary,
62324
62324
  firstKeptEntryId: preparation.firstKeptEntryId,
62325
62325
  tokensBefore: preparation.tokensBefore,
@@ -62328,6 +62328,8 @@ function compactionSafeguardExtension(api) {
62328
62328
  modifiedFiles
62329
62329
  }
62330
62330
  } };
62331
+ const apiKey = requestAuth.apiKey ?? "";
62332
+ const headers = requestAuth.headers;
62331
62333
  try {
62332
62334
  const runtime = getCompactionSafeguardRuntime(ctx.sessionManager);
62333
62335
  const modelContextWindow = resolveContextWindowTokens$1(model);
@@ -62358,6 +62360,7 @@ function compactionSafeguardExtension(api) {
62358
62360
  messages: pruned.droppedMessagesList,
62359
62361
  model,
62360
62362
  apiKey,
62363
+ headers,
62361
62364
  signal,
62362
62365
  reserveTokens: Math.max(1, Math.floor(preparation.settings.reserveTokens)),
62363
62366
  maxChunkTokens: droppedMaxChunkTokens,
@@ -62379,6 +62382,7 @@ function compactionSafeguardExtension(api) {
62379
62382
  messages: messagesToSummarize,
62380
62383
  model,
62381
62384
  apiKey,
62385
+ headers,
62382
62386
  signal,
62383
62387
  reserveTokens,
62384
62388
  maxChunkTokens,
@@ -62391,6 +62395,7 @@ function compactionSafeguardExtension(api) {
62391
62395
  messages: turnPrefixMessages,
62392
62396
  model,
62393
62397
  apiKey,
62398
+ headers,
62394
62399
  signal,
62395
62400
  reserveTokens,
62396
62401
  maxChunkTokens,
@@ -76410,7 +76415,7 @@ async function deliverSessionMaintenanceWarning(params) {
76410
76415
  return;
76411
76416
  }
76412
76417
  try {
76413
- const { deliverOutboundPayloads } = await import("./deliver-D4QMj1KQ.js").then((n) => n.n);
76418
+ const { deliverOutboundPayloads } = await import("./deliver-j3DLAHmV.js").then((n) => n.n);
76414
76419
  await deliverOutboundPayloads({
76415
76420
  cfg: params.cfg,
76416
76421
  channel,
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { n as resolveAgentConfig } from "./agent-scope-DnU66cJq.js";
2
+ import { n as resolveAgentConfig } from "./agent-scope-j9eoKDzr.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,5 +1,5 @@
1
- import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-BizZYn_y.js";
2
- import { n as missingTargetError } from "./target-errors-KOPdGMxQ.js";
1
+ import { _ as normalizeWhatsAppTarget, g as isWhatsAppGroupJid } from "./plugins-DwNa_Bjz.js";
2
+ import { n as missingTargetError } from "./target-errors-2VrFN2Zl.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-C_0eELjb.js";
3
- import { Y as shouldLogVerbose } from "./registry-DL-33c9X.js";
4
- import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-DnU66cJq.js";
3
+ import { Y as shouldLogVerbose } from "./registry-O1yza0Vh.js";
4
+ import { O as logDebug, c as resolveDefaultAgentId } from "./agent-scope-j9eoKDzr.js";
5
5
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
6
- import { t as listBindings } from "./bindings-HAeLX6mi.js";
6
+ import { t as listBindings } from "./bindings-BxwR115d.js";
7
7
 
8
8
  //#region src/routing/resolve-route.ts
9
9
  var resolve_route_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { R as sleep } from "./registry-DL-33c9X.js";
1
+ import { R as sleep } from "./registry-O1yza0Vh.js";
2
2
 
3
3
  //#region src/infra/retry.ts
4
4
  const DEFAULT_RETRY_CONFIG = {
@@ -1,13 +1,13 @@
1
1
  import { n as fetchWithTimeout } from "./fetch-timeout-ChYuW7LE.js";
2
- import { K as logVerbose, Y as shouldLogVerbose } from "./registry-DL-33c9X.js";
3
- import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-C1a-yGCa.js";
4
- import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-TMsqRl-p.js";
5
- import { E as runExec } from "./agent-scope-DnU66cJq.js";
6
- import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-6S8Fa1d6.js";
7
- import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-CW6TWE2a.js";
2
+ import { K as logVerbose, Y as shouldLogVerbose } from "./registry-O1yza0Vh.js";
3
+ import { S as resolveIMessageAttachmentRoots, b as isInboundPathAllowed, n as loadConfig, x as mergeInboundPathRoots, y as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS } from "./config-DxWaFEai.js";
4
+ import { B as resolveOpenClawAgentDir, T as resolveApiKeyForProvider, c as normalizeProviderId, h as normalizeGoogleModelId, w as requireApiKey } from "./model-selection-BALQkWtM.js";
5
+ import { E as runExec } from "./agent-scope-j9eoKDzr.js";
6
+ import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-Bjog8bLM.js";
7
+ import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, o as fetchWithSsrFGuard, r as MediaFetchError } from "./local-roots-9jdLho_V.js";
8
8
  import { t as normalizeChatType } from "./chat-type-CEMQNtWX.js";
9
- import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-Bu6pmW6i.js";
10
- import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-DRhVpAS4.js";
9
+ import { t as describeImageWithModel, x as ensureOpenClawModelsJson } from "./image-BhV_XGSx.js";
10
+ import { n as executeWithApiKeyRotation, r as parseGeminiAuth, t as collectProviderApiKeysForExecution } from "./api-key-rotation-BKOzXMVg.js";
11
11
  import { constants } from "node:fs";
12
12
  import path from "node:path";
13
13
  import os from "node:os";
@@ -899,7 +899,7 @@ async function loadModelCatalog(params) {
899
899
  });
900
900
  try {
901
901
  await ensureOpenClawModelsJson(params?.config ?? loadConfig());
902
- await (await import("./pi-auth-json-Dpj7O31p.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
902
+ await (await import("./pi-auth-json-CYvT0sDr.js")).ensurePiAuthJsonFromAuthProfiles(resolveOpenClawAgentDir());
903
903
  const piSdk = await importPiSdk();
904
904
  const agentDir = resolveOpenClawAgentDir();
905
905
  const { join } = await import("node:path");
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-BizZYn_y.js";
2
+ import { B as parseTargetPrefixes, F as resolveDiscordAccount, I as normalizeDiscordToken, L as buildMessagingTarget, R as ensureTargetId, V as requireTargetKind, z as parseTargetMention } from "./plugins-DwNa_Bjz.js";
3
3
  import { t as resolveFetch } from "./fetch-b2Zm8y7X.js";
4
- import { ut as resolvePreferredOpenClawTmpDir } from "./registry-DL-33c9X.js";
5
- import { n as retryAsync, t as resolveRetryConfig } from "./retry-5P3d0rYw.js";
6
- import { n as loadConfig } from "./config-C1a-yGCa.js";
7
- import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-WgE8Z4Bb.js";
4
+ import { ut as resolvePreferredOpenClawTmpDir } from "./registry-O1yza0Vh.js";
5
+ import { n as retryAsync, t as resolveRetryConfig } from "./retry-JFNwfUew.js";
6
+ import { n as loadConfig } from "./config-DxWaFEai.js";
7
+ import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-CCnr-9bS.js";
8
8
  import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-3WJMd-G-.js";
9
- import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-6S8Fa1d6.js";
10
- import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-yosTlCQ0.js";
11
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-CQk9vawA.js";
12
- import { n as resolveMarkdownTableMode } from "./markdown-tables-OYHjLFmr.js";
13
- import { t as convertMarkdownTables } from "./tables-DzujD35V.js";
9
+ import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-Bjog8bLM.js";
10
+ import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-98uc6iQ2.js";
11
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-DyzO7IVo.js";
12
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DV9FqwR1.js";
13
+ import { t as convertMarkdownTables } from "./tables-DhuVe5ji.js";
14
14
  import path from "node:path";
15
15
  import { ButtonStyle, ChannelType, MessageFlags, PermissionFlagsBits, Routes, TextInputStyle } from "discord-api-types/v10";
16
16
  import { Button, ChannelSelectMenu, CheckboxGroup, Container, Embed, File, Label, LinkButton, MediaGallery, MentionableSelectMenu, Modal, RadioGroup, RequestClient, RoleSelectMenu, Row, Section, Separator, StringSelectMenu, TextDisplay, TextInput, Thumbnail, UserSelectMenu, parseCustomId, serializePayload } from "@buape/carbon";
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-BizZYn_y.js";
3
- import { K as logVerbose } from "./registry-DL-33c9X.js";
4
- import { n as loadConfig } from "./config-C1a-yGCa.js";
5
- import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-yosTlCQ0.js";
6
- import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-CQk9vawA.js";
7
- import { n as resolveMarkdownTableMode } from "./markdown-tables-OYHjLFmr.js";
2
+ import { A as resolveSlackBotToken, D as resolveSlackAccount, m as parseSlackTarget } from "./plugins-DwNa_Bjz.js";
3
+ import { K as logVerbose } from "./registry-O1yza0Vh.js";
4
+ import { n as loadConfig } from "./config-DxWaFEai.js";
5
+ import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-98uc6iQ2.js";
6
+ import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DyzO7IVo.js";
7
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DV9FqwR1.js";
8
8
  import { t as renderMarkdownWithMarkers } from "./render-BiJZ5W4Z.js";
9
9
  import { WebClient } from "@slack/web-api";
10
10
 
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { A as normalizeE164, P as resolveUserPath } from "./registry-DL-33c9X.js";
3
- import { n as loadConfig } from "./config-C1a-yGCa.js";
4
- import { v as mediaKindFromMime } from "./image-ops-6S8Fa1d6.js";
5
- import { n as resolveMarkdownTableMode } from "./markdown-tables-OYHjLFmr.js";
6
- import { t as convertMarkdownTables } from "./tables-DzujD35V.js";
7
- import { r as resolveIMessageAccount } from "./accounts-DEsAwvaZ.js";
8
- import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-C1DtqQQb.js";
2
+ import { A as normalizeE164, P as resolveUserPath } from "./registry-O1yza0Vh.js";
3
+ import { n as loadConfig } from "./config-DxWaFEai.js";
4
+ import { v as mediaKindFromMime } from "./image-ops-Bjog8bLM.js";
5
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DV9FqwR1.js";
6
+ import { t as convertMarkdownTables } from "./tables-DhuVe5ji.js";
7
+ import { r as resolveIMessageAccount } from "./accounts-wSu5JyDM.js";
8
+ import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BGKevRhJ.js";
9
9
  import { spawn } from "node:child_process";
10
10
  import { createInterface } from "node:readline";
11
11