@bitseek/claw 1.2.8 → 1.2.9

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 (337) hide show
  1. package/dist/{accounts-B3zSNWIv.js → accounts-2NNZ6Hbp.js} +1 -1
  2. package/dist/{accounts-BQHz8_1_.js → accounts-Cv5CUnT4.js} +7 -7
  3. package/dist/{accounts-DTfEeXyO.js → accounts-NHpMJ0aq.js} +1 -1
  4. package/dist/{acp-cli-C24-lylb.js → acp-cli-CyPiQ0lt.js} +8 -8
  5. package/dist/{agent-scope-CJelRKYY.js → agent-scope-CY2-lUIY.js} +1 -1
  6. package/dist/{agents-BCJbDk2P.js → agents-BC3wwrO-.js} +15 -15
  7. package/dist/{agents.config-DoxV5m9v.js → agents.config-CeG5P331.js} +2 -2
  8. package/dist/{agents.config-DQBEXhzA.js → agents.config-rRQ8xZUr.js} +1 -1
  9. package/dist/{api-key-rotation-xfk-b2Sv.js → api-key-rotation-Cf7QM5M_.js} +1 -1
  10. package/dist/{audio-preflight-Dl40LQzr.js → audio-preflight-iuCPDl1D.js} +36 -36
  11. package/dist/{audio-transcription-runner-jiDE7Pt8.js → audio-transcription-runner-CGADiTRL.js} +22 -22
  12. package/dist/{audit-Bgu8Ommg.js → audit-Bjz6AFn-.js} +29 -29
  13. package/dist/{auth-B3HDYw4G.js → auth-anvTU0Sb.js} +1 -1
  14. package/dist/{auth-choice-DYXCDlGW.js → auth-choice-Co_Dl_bs.js} +14 -14
  15. package/dist/{auth-choice-CP6K5htW.js → auth-choice-Dx1VT2I8.js} +12 -12
  16. package/dist/{auth-choice-CdsMUqKA.js → auth-choice-eimtfK0N.js} +1 -1
  17. package/dist/{auth-choice.apply-helpers-DR-eUj_5.js → auth-choice.apply-helpers-Du585kvU.js} +1 -1
  18. package/dist/{auth-profiles-D_x1_5v_.js → auth-profiles-CyG9VwU_.js} +16 -16
  19. package/dist/{auth-token-BDQ5b9Wx.js → auth-token-Cfvmvs2X.js} +1 -1
  20. package/dist/{banner-V_1v329B.js → banner-7O0OkDQ4.js} +2 -2
  21. package/dist/{bindings-Hx6KNJeg.js → bindings-DGvp9FdD.js} +1 -1
  22. package/dist/{bonjour-discovery-DiHs5j0y.js → bonjour-discovery-Dv9UQh6g.js} +1 -1
  23. package/dist/{browser-cli-BMupJSz_.js → browser-cli-C1OEYX9g.js} +12 -12
  24. package/dist/build-info.json +3 -3
  25. package/dist/bundled/boot-md/handler.js +1 -1
  26. package/dist/bundled/session-memory/handler.js +1 -1
  27. package/dist/{call-CzoM7hPS.js → call-CmAGfSJE.js} +10 -10
  28. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  29. package/dist/{channel-account-context-BV3Q0XnD.js → channel-account-context-BrHQ7XHF.js} +5 -5
  30. package/dist/{channel-options-Dsjb-V1F.js → channel-options-BnZ1nSBu.js} +3 -3
  31. package/dist/{channel-options-Bnnem_wD.js → channel-options-uEYF4WRA.js} +1 -1
  32. package/dist/{channel-selection-D8KYuWir.js → channel-selection-DGtYwfd7.js} +1 -1
  33. package/dist/{channel-web-KY6EP9HT.js → channel-web-BJJUEEKO.js} +1 -1
  34. package/dist/{channel-web-wuxrfEJh.js → channel-web-lHPdbnjv.js} +18 -18
  35. package/dist/{channels-cli-OZeQkPMG.js → channels-cli-DEE_p7e9.js} +95 -95
  36. package/dist/{channels-cli-tJkvzsqO.js → channels-cli-GwM8DZvP.js} +6 -6
  37. package/dist/{channels-status-issues-CCNiQcg9.js → channels-status-issues-BWcKByy7.js} +1 -1
  38. package/dist/{chrome-DuDCGdf-.js → chrome-DeZyLFsG.js} +4 -4
  39. package/dist/{clawbot-cli-COQB6-NK.js → clawbot-cli-C6oL4o77.js} +5 -5
  40. package/dist/cli/daemon-cli.js +1 -1
  41. package/dist/{cli-DOS1lPNs.js → cli-BLZW83kS.js} +1 -1
  42. package/dist/{cli-YeYpjq2c.js → cli-CD5xP9w9.js} +76 -76
  43. package/dist/{client-BvL3EdiZ.js → client-vUKV2o6h.js} +2 -2
  44. package/dist/{command-registry-Keal8P25.js → command-registry-B41say0S.js} +13 -13
  45. package/dist/{commands-C67IbXs7.js → commands-d8L0zY8O.js} +1 -1
  46. package/dist/{commands-registry-D0_D5hFV.js → commands-registry-C78O6aNi.js} +3 -3
  47. package/dist/{completion-cli-B_pSnPVY.js → completion-cli-BuLkcc9o.js} +1 -1
  48. package/dist/{completion-cli-BWcHEWr6.js → completion-cli-DSxTjQik.js} +13 -13
  49. package/dist/{config-cli-hwawfBlS.js → config-cli-BMtY1oFI.js} +7 -7
  50. package/dist/{config-cli-DZpbwWvz.js → config-cli-D4EnfBqh.js} +1 -1
  51. package/dist/{config-guard-CcE0LvHm.js → config-guard-Bztdn_pu.js} +3 -3
  52. package/dist/{config-validation-DO7QURfM.js → config-validation-CAkiRwLK.js} +3 -3
  53. package/dist/{configure-CLMtWGiL.js → configure-CBB1YbMN.js} +3 -3
  54. package/dist/{configure-l-lM74c1.js → configure-Dz9z2cyD.js} +17 -17
  55. package/dist/{control-ui-assets-Dx8wiZQ_.js → control-ui-assets-BGvtXBkm.js} +1 -1
  56. package/dist/{cron-cli-xl75rAFd.js → cron-cli-nslB2EKF.js} +12 -12
  57. package/dist/{daemon-cli-BSy0rtO2.js → daemon-cli-D8I8RTf0.js} +15 -15
  58. package/dist/{daemon-install-d2OYSlQz.js → daemon-install-CKree1OU.js} +4 -4
  59. package/dist/{daemon-install-helpers-D28keNLu.js → daemon-install-helpers-CBCbs7y1.js} +11 -11
  60. package/dist/{dashboard-DXvihe_P.js → dashboard-dc7KG5Fm.js} +2 -2
  61. package/dist/{deliver-Df8pSQk6.js → deliver-BRwFsEUd.js} +7 -7
  62. package/dist/{devices-cli-D6CoUTi_.js → devices-cli-jakb5Fk0.js} +8 -8
  63. package/dist/{diagnostic-Bvatw1Xn.js → diagnostic-DjxUqpmL.js} +1 -1
  64. package/dist/{diagnostics-ABz8E7c-.js → diagnostics-DR9Z0mN5.js} +5 -5
  65. package/dist/{directory-cli-Dkil59xj.js → directory-cli-3FgAtenS.js} +8 -8
  66. package/dist/{dns-cli-CJydclW8.js → dns-cli-DUsjD4em.js} +5 -5
  67. package/dist/{dock-DT8sACcR.js → dock-CoclJnwp.js} +4 -4
  68. package/dist/{docs-cli-BkufgU5Y.js → docs-cli-CpIeooaU.js} +4 -4
  69. package/dist/{doctor-completion-sKCaOE5l.js → doctor-completion-BIt5xBwC.js} +1 -1
  70. package/dist/{doctor-completion-leOuoRMt.js → doctor-completion-BSR7Om4e.js} +2 -2
  71. package/dist/{doctor-config-flow-BrXA2e34.js → doctor-config-flow-DUdUJgfq.js} +15 -15
  72. package/dist/{enable-CinNZxRH.js → enable-BNycqpJc.js} +1 -1
  73. package/dist/entry.js +2 -2
  74. package/dist/{exec-approvals-allowlist-B4DS6FIn.js → exec-approvals-allowlist-CFjPSbxI.js} +1 -1
  75. package/dist/{exec-approvals-cli-Cani2Hjk.js → exec-approvals-cli-D8lFWgJj.js} +16 -16
  76. package/dist/{exec-safe-bin-runtime-policy-BP6ImlkB.js → exec-safe-bin-runtime-policy-CpMj95vJ.js} +2 -2
  77. package/dist/extensionAPI.js +1 -1
  78. package/dist/{fetch-DC-NMnAU.js → fetch-DOjg912W.js} +3 -3
  79. package/dist/{fetch-guard-B62rgaSw.js → fetch-guard-Csbz9pui.js} +1 -1
  80. package/dist/{fs-safe-CJDtl_QU.js → fs-safe-BqJ9egpm.js} +24 -24
  81. package/dist/{gateway-cli-jL3MSRHB.js → gateway-cli-CanylfLh.js} +8 -8
  82. package/dist/{gateway-cli-BlVNebTw.js → gateway-cli-VrzgkvsB.js} +161 -161
  83. package/dist/{gateway-rpc-C7KYwonl.js → gateway-rpc-B5Spvviy.js} +1 -1
  84. package/dist/{health-Du8dO3vn.js → health-BX20asqJ.js} +1 -1
  85. package/dist/{health-CDEXWvnu.js → health-D4cJIlo7.js} +14 -14
  86. package/dist/{hooks-cli-Deo01lF6.js → hooks-cli-BPg6BqOl.js} +84 -84
  87. package/dist/{hooks-cli-DUIQuGjr.js → hooks-cli-Cs2Ovk-O.js} +2 -2
  88. package/dist/{hooks-status-DE20AAEu.js → hooks-status-6tcOdcYp.js} +1 -1
  89. package/dist/{image-UpBiPNsk.js → image-CI4JYwnc.js} +5 -5
  90. package/dist/{plugin-sdk/image-ops-C9GXWF3o.js → image-ops-B2L37gT8.js} +11 -11
  91. package/dist/index.js +6 -6
  92. package/dist/{inspect-Bmurt9te.js → inspect-BzuEXYfa.js} +4 -4
  93. package/dist/{install-safe-path-BB9b_AvF.js → install-safe-path-C8QJ5yjB.js} +25 -25
  94. package/dist/{installs-BXcYytvn.js → installs-CWbEA1d1.js} +9 -9
  95. package/dist/{ipv4-BB1Ro6so.js → ipv4-DQS0lTwQ.js} +1 -1
  96. package/dist/{ir-DziC-P4Z.js → ir-CEwBpxhC.js} +6 -6
  97. package/dist/{issue-format-DF2YB-kZ.js → issue-format-D8MobWNt.js} +1 -1
  98. package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
  99. package/dist/{lifecycle-core-CJd181-h.js → lifecycle-core-CiAE4s92.js} +5 -5
  100. package/dist/llm-slug-generator.js +1 -1
  101. package/dist/{login-C_YjM9eH.js → login-CdHg3Emc.js} +3 -3
  102. package/dist/{login-qr-DujJqOuy.js → login-qr-DXecO0Tb.js} +6 -6
  103. package/dist/{logs-cli-Bc1A5X-r.js → logs-cli-D8UCmwyR.js} +9 -9
  104. package/dist/{manager-7hZXEYTj.js → manager-DWpiNvlg.js} +14 -14
  105. package/dist/{manifest-registry-Kbw8YPsZ.js → manifest-registry-CBF8Vfz8.js} +1 -1
  106. package/dist/{markdown-tables-BYHgyUjA.js → markdown-tables-DQlQMRGZ.js} +1 -1
  107. package/dist/{memory-cli-CuT-iG2F.js → memory-cli-BUrf60e_.js} +12 -12
  108. package/dist/{model-DmBmzJI6.js → model-DMZUvZJo.js} +2 -2
  109. package/dist/{model-catalog-D1X8r3WJ.js → model-catalog-DFi9HgWu.js} +3 -3
  110. package/dist/{model-picker-C56N_rW7.js → model-picker-Dt7Rl38k.js} +4 -4
  111. package/dist/{models-CgguB_MH.js → models-CukrcW4u.js} +18 -18
  112. package/dist/{models-cli-CHUbcM_y.js → models-cli-C-FMLbe_.js} +2 -2
  113. package/dist/{models-cli-BEb0DHSP.js → models-cli-DTjBGjrI.js} +81 -81
  114. package/dist/{models-config-CmrBGsQs.js → models-config-AePb9RAo.js} +6 -6
  115. package/dist/{net-BXeYv7Iu.js → net-C75G4fup.js} +2 -2
  116. package/dist/{node-cli-DSoqxwqZ.js → node-cli-D4Tj8JOq.js} +33 -33
  117. package/dist/{node-command-policy-pJ6IPNBA.js → node-command-policy-BZq5AebG.js} +1 -1
  118. package/dist/{node-service-DUUObpwl.js → node-service-B0FIwOsW.js} +1 -1
  119. package/dist/{nodes-cli-BKGcOJ8A.js → nodes-cli-DL-855N8.js} +16 -16
  120. package/dist/{nodes-screen-DcxCMjOs.js → nodes-screen-BHwVUMr8.js} +7 -7
  121. package/dist/{npm-pack-install-D5pJ8KzT.js → npm-pack-install-qErvgXGZ.js} +18 -18
  122. package/dist/{npm-resolution-T8SphiP5.js → npm-resolution-C_FZOBlT.js} +5 -5
  123. package/dist/{npm-resolution-Dv7nYiaP.js → npm-resolution-oBSNTx2S.js} +1 -1
  124. package/dist/{onboard-KHObANUh.js → onboard-B-f5pmgG.js} +2 -2
  125. package/dist/{onboard-BCcjGKBR.js → onboard-DktYC_iu.js} +6 -6
  126. package/dist/{onboard-channels-CRpmgX82.js → onboard-channels-Bbzz_NPd.js} +1 -1
  127. package/dist/{onboard-channels-BLZ8FdVP.js → onboard-channels-DGipWl1h.js} +20 -20
  128. package/dist/{onboard-custom-CZR1K96w.js → onboard-custom-B5F-69pM.js} +3 -3
  129. package/dist/{onboard-custom.shared-B9NXcXpv.js → onboard-custom.shared-CBgv6y4h.js} +2 -2
  130. package/dist/{onboard-helpers-CczYNQDJ.js → onboard-helpers-D8lLbK3A.js} +11 -11
  131. package/dist/{onboard-hooks-o0B0p8tR.js → onboard-hooks-DBif0Jq8.js} +4 -4
  132. package/dist/{onboard-remote-DtLQyBJB.js → onboard-remote-loJ1Jn9Q.js} +3 -3
  133. package/dist/{onboard-skills-Brzj5oDF.js → onboard-skills-JtcIUHsb.js} +4 -4
  134. package/dist/{onboarding-BTXvw1Ro.js → onboarding-D0IraL8k.js} +13 -13
  135. package/dist/{onboarding-DQNTd5J7.js → onboarding-Kp0zZunD.js} +3 -3
  136. package/dist/{onboarding.finalize-CHYENeNO.js → onboarding.finalize-CJ23anMx.js} +5 -5
  137. package/dist/{onboarding.finalize-D0qfP3rB.js → onboarding.finalize-DHitw2tg.js} +89 -89
  138. package/dist/{onboarding.gateway-config-D-gZxjbU.js → onboarding.gateway-config-uLDVSdpl.js} +18 -18
  139. package/dist/{openai-model-default-BNYNbslY.js → openai-model-default-B1Dlue6a.js} +2 -2
  140. package/dist/{outbound-_RTZSBES.js → outbound-BZyqP8d-.js} +4 -4
  141. package/dist/{outbound-attachment-CXINK8df.js → outbound-attachment-DM-h2uQ1.js} +2 -2
  142. package/dist/{pairing-cli-DiKgOlKC.js → pairing-cli-DR836bYa.js} +9 -9
  143. package/dist/{pairing-labels-CFSUHOmk.js → pairing-labels-x4akYNb7.js} +1 -1
  144. package/dist/{pairing-store-BfzlN-z9.js → pairing-store-rFuiIoGM.js} +3 -3
  145. package/dist/{path-alias-guards-Cg9ZP1NN.js → path-alias-guards-laKq24fx.js} +3 -3
  146. package/dist/{path-safety-__ACzYqx.js → path-safety-Cr4WZsHE.js} +1 -1
  147. package/dist/{paths-BjoSX1aC.js → paths-B_L2Zoe-.js} +9 -9
  148. package/dist/{pi-embedded-Bacc2S0h.js → pi-embedded-BgVoy_Nm.js} +42 -6
  149. package/dist/{pi-embedded-Claxav22.js → pi-embedded-DdMbqfLM.js} +42 -6
  150. package/dist/{pi-embedded-helpers-CrD8I6qf.js → pi-embedded-helpers-CEMPdfif.js} +6 -6
  151. package/dist/{pi-model-discovery-BZ2RCD_u.js → pi-model-discovery-RrejIg26.js} +1 -1
  152. package/dist/{pi-tools.policy-upaoJyu4.js → pi-tools.policy-dUeXHcQL.js} +5 -5
  153. package/dist/{plugin-auto-enable-DER6qA6X.js → plugin-auto-enable-S_lBQAKI.js} +3 -3
  154. package/dist/{plugin-registry-CxFikiLF.js → plugin-registry-CIUGSWLT.js} +3 -3
  155. package/dist/{plugin-registry-TOEmbMc4.js → plugin-registry-pa6LjTdT.js} +1 -1
  156. package/dist/plugin-sdk/{accounts-AbI8uETR.js → accounts-BZrkOo6-.js} +1 -1
  157. package/dist/plugin-sdk/{accounts-4WE2wtsW.js → accounts-COLYAAOx.js} +1 -1
  158. package/dist/plugin-sdk/{accounts-BYcizTXn.js → accounts-D_pT5EjF.js} +3 -3
  159. package/dist/plugin-sdk/{active-listener-pnqLAUOh.js → active-listener-DxBXcWm_.js} +1 -1
  160. package/dist/plugin-sdk/{agent-scope-_j3fIYCK.js → agent-scope-DT5pxpJB.js} +3 -3
  161. package/dist/plugin-sdk/agents/context.d.ts +2 -0
  162. package/dist/plugin-sdk/{api-key-rotation-CYI51U_M.js → api-key-rotation-Dl6Ad7Nj.js} +2 -2
  163. package/dist/plugin-sdk/{audio-preflight-BTRRjPew.js → audio-preflight-CkPj4OVY.js} +33 -33
  164. package/dist/plugin-sdk/{audio-transcription-runner-DFZS7uCO.js → audio-transcription-runner-BBn9jEMg.js} +10 -10
  165. package/dist/plugin-sdk/{bindings-CxxzC7gn.js → bindings-BSfhEjKN.js} +2 -2
  166. package/dist/plugin-sdk/{channel-activity-B3yZ-f-m.js → channel-activity-DAEbma-o.js} +3 -3
  167. package/dist/plugin-sdk/{channel-web-D2q54sK-.js → channel-web-BaFUnG0F.js} +23 -23
  168. package/dist/plugin-sdk/{chrome-oPevdeh5.js → chrome-Dn0G4NoF.js} +7 -7
  169. package/dist/plugin-sdk/{chunk-BPyPeheZ.js → chunk-cvtXztAT.js} +1 -1
  170. package/dist/plugin-sdk/{command-format-DvyMEXQo.js → command-format-BOJz3y1v.js} +1 -1
  171. package/dist/plugin-sdk/{commands-registry-Dk8re8Lz.js → commands-registry-CZWv_JwZ.js} +5 -5
  172. package/dist/plugin-sdk/{config-D7I2_X4P.js → config-DAwOhnVF.js} +10 -10
  173. package/dist/plugin-sdk/{deliver-NrIHn0__.js → deliver-PdH-MCq8.js} +11 -11
  174. package/dist/plugin-sdk/{diagnostic-DL3k_wRi.js → diagnostic-BZvj-qNu.js} +2 -2
  175. package/dist/plugin-sdk/{dock-CjdkiLH7.js → dock-BdR3OYZn.js} +6 -6
  176. package/dist/plugin-sdk/{errors-DFTN4h2I.js → errors-jusxdu7M.js} +1 -1
  177. package/dist/plugin-sdk/{fetch-guard-BivEyA4v.js → fetch-guard-Dary6WwJ.js} +2 -2
  178. package/dist/plugin-sdk/{fs-safe-B256n7Ff.js → fs-safe-DMCE0ej9.js} +3 -3
  179. package/dist/plugin-sdk/{image-CkPzr3XN.js → image-B3A2l2ep.js} +6 -6
  180. package/dist/{image-ops-BGTBZMuE.js → plugin-sdk/image-ops-DulHE5Qc.js} +1 -1
  181. package/dist/plugin-sdk/index.js +64 -64
  182. package/dist/plugin-sdk/{ir-BIm-jvIK.js → ir-BFXiJrsN.js} +6 -6
  183. package/dist/plugin-sdk/{local-roots-2AOXGUXW.js → local-roots-DssN60r6.js} +4 -4
  184. package/dist/plugin-sdk/{logger-CNhs9eKJ.js → logger-Cr-x0vMf.js} +1 -1
  185. package/dist/plugin-sdk/{login-BcLiF9tC.js → login-D0ul3-6C.js} +6 -6
  186. package/dist/plugin-sdk/{login-qr-GyPUodKJ.js → login-qr-XWKTFBuI.js} +9 -9
  187. package/dist/plugin-sdk/{manager-DYLqNUb4.js → manager-DGx_cF54.js} +10 -10
  188. package/dist/plugin-sdk/{markdown-tables-D9mmqMKi.js → markdown-tables-CsQpDNU5.js} +1 -1
  189. package/dist/plugin-sdk/{message-channel-_CEZcqxE.js → message-channel-CvNq-esz.js} +1 -1
  190. package/dist/plugin-sdk/{outbound-DdTsUaXa.js → outbound-D29FHlQl.js} +7 -7
  191. package/dist/plugin-sdk/{outbound-attachment--hkuIDR1.js → outbound-attachment-DRHrZUOx.js} +2 -2
  192. package/dist/plugin-sdk/{path-alias-guards-BqUCBfUg.js → path-alias-guards-DpKV1B5p.js} +1 -1
  193. package/dist/plugin-sdk/{pi-embedded-helpers-CTfvZz83.js → pi-embedded-helpers-CKEUWckk.js} +17 -17
  194. package/dist/plugin-sdk/{pi-model-discovery-CK3Ih_kq.js → pi-model-discovery-BPeQq9XM.js} +1 -1
  195. package/dist/plugin-sdk/{plugins-BpHAMNJ1.js → plugins-DF_dKXTR.js} +6 -6
  196. package/dist/plugin-sdk/{proxy-BJdRZOnJ.js → proxy-BfmEDoun.js} +1 -1
  197. package/dist/plugin-sdk/{proxy-fetch-jmbopGcm.js → proxy-fetch-BpHIgvBk.js} +1 -1
  198. package/dist/plugin-sdk/{pw-ai-D0Kx7w1D.js → pw-ai-BmmXDjtm.js} +13 -13
  199. package/dist/plugin-sdk/{qmd-manager-BDcutPp9.js → qmd-manager-3hQbqkm5.js} +8 -8
  200. package/dist/plugin-sdk/{query-expansion-C_X8SyEA.js → query-expansion-BOGLUWB7.js} +2 -2
  201. package/dist/plugin-sdk/{redact-DH8u23pF.js → redact-BOuKZWXa.js} +1 -1
  202. package/dist/plugin-sdk/{registry-HF8_S7QO.js → registry-Cv-oHUj1.js} +2 -2
  203. package/dist/plugin-sdk/{replies-DbjvV4gf.js → replies-CddwWBTJ.js} +3 -3
  204. package/dist/plugin-sdk/{reply-Cs_Ks2Mr.js → reply-BCRC0yeW.js} +133 -97
  205. package/dist/plugin-sdk/{reply-prefix-KODsMNJ-.js → reply-prefix-DXthVxCx.js} +1 -1
  206. package/dist/plugin-sdk/{resolve-outbound-target-BPT4aNiD.js → resolve-outbound-target-D3Y4F2Le.js} +2 -2
  207. package/dist/plugin-sdk/{resolve-route-De2B5QY_.js → resolve-route-DuwYYn4a.js} +4 -4
  208. package/dist/plugin-sdk/{retry-pZ8iKytf.js → retry-BMcrIz7L.js} +1 -1
  209. package/dist/plugin-sdk/{send-C-Rd2stz.js → send-B0ztz6QC.js} +6 -6
  210. package/dist/plugin-sdk/{send-BoNw1Bki.js → send-C5USYGq7.js} +8 -8
  211. package/dist/plugin-sdk/{send-1uW-uqPf.js → send-D0AaWnIj.js} +7 -7
  212. package/dist/plugin-sdk/{send-wCqsQs_s.js → send-DEyQJTzd.js} +10 -10
  213. package/dist/plugin-sdk/{send-CZIN8SDx.js → send-DJzwu8kk.js} +15 -15
  214. package/dist/plugin-sdk/{session-ooYcB82T.js → session-BA7tVDpV.js} +5 -5
  215. package/dist/plugin-sdk/{session-meta-7J-uHiM_.js → session-meta-ChWvKVWj.js} +1 -1
  216. package/dist/plugin-sdk/{sessions-lAIo5l8W.js → sessions-BXps6YzJ.js} +6 -6
  217. package/dist/plugin-sdk/{skill-commands-D1Q6hGS4.js → skill-commands-B20uUsji.js} +5 -5
  218. package/dist/plugin-sdk/{skills-BWSDv2F_.js → skills-DXOTei42.js} +8 -8
  219. package/dist/plugin-sdk/{ssrf-JKDwTi8i.js → ssrf-Doxv9M7Q.js} +1 -1
  220. package/dist/plugin-sdk/{store-BMeqzQAf.js → store-BZbE1V-C.js} +2 -2
  221. package/dist/plugin-sdk/{subsystem-B0V8LFBA.js → subsystem-CM1s2lDT.js} +2 -2
  222. package/dist/plugin-sdk/{tables-DCSeBGBz.js → tables-BhH8EIqU.js} +1 -1
  223. package/dist/{target-errors-C5LA-JI-.js → plugin-sdk/target-errors-QZay02Cv.js} +2 -2
  224. package/dist/plugin-sdk/{tokens-DF2_VTJy.js → tokens-DIE-Bf72.js} +1 -1
  225. package/dist/plugin-sdk/{tool-images-BbsgbHMZ.js → tool-images-heXfaJdb.js} +2 -2
  226. package/dist/plugin-sdk/{tool-loop-detection-JkCpGrfk.js → tool-loop-detection-CygMSQUK.js} +2 -2
  227. package/dist/plugin-sdk/{utils-BfVxx6bk.js → utils-BcL6KGZf.js} +1 -1
  228. package/dist/plugin-sdk/web-BDHHRoXS.js +72 -0
  229. package/dist/plugin-sdk/{whatsapp-actions-tVcrGNQc.js → whatsapp-actions-CRean1yN.js} +25 -25
  230. package/dist/{plugins-vsjS_m58.js → plugins-C4cYqW07.js} +2 -2
  231. package/dist/{plugins-cli-Clo_uyvq.js → plugins-cli-CqDquUh9.js} +2 -2
  232. package/dist/{plugins-cli-bHHZzKd-.js → plugins-cli-DnLeUBfn.js} +86 -86
  233. package/dist/{ports-sCOQUaAP.js → ports-DRaxdQmm.js} +2 -2
  234. package/dist/{ports-zWusnrvP.js → ports-tfS1haOJ.js} +1 -1
  235. package/dist/{program-BI6W1Gll.js → program-3T_oL3TY.js} +84 -84
  236. package/dist/{program-context-D2D7wH7Q.js → program-context-D2U9PEv9.js} +17 -17
  237. package/dist/{prompt-select-styled-CdBJ0FWT.js → prompt-select-styled-Bir77erd.js} +4 -4
  238. package/dist/{prompt-select-styled-FGF3Su20.js → prompt-select-styled-BylOR7bV.js} +39 -39
  239. package/dist/{provider-auth-helpers-BFsLtU8g.js → provider-auth-helpers-BEFKXIJE.js} +5 -5
  240. package/dist/{provider-auth-helpers-D_akOb8A.js → provider-auth-helpers-fK9RpOiF.js} +1 -1
  241. package/dist/{proxy-env-BQIJPH4j.js → proxy-env-BoopXu2J.js} +1 -1
  242. package/dist/{push-apns-DvNRo3EQ.js → push-apns-C7oC1J4F.js} +1 -1
  243. package/dist/{push-apns-BSlKJa83.js → push-apns-sUecrS7L.js} +5 -5
  244. package/dist/{pw-ai-BeJ_96rV.js → pw-ai-CG7D8D2P.js} +15 -15
  245. package/dist/{qmd-manager-BNohLpRA.js → qmd-manager-Bo22w5wm.js} +20 -20
  246. package/dist/{qr-cli-CCHyao8J.js → qr-cli-DiKa2ySu.js} +1 -1
  247. package/dist/{query-expansion-BrM3X6-L.js → query-expansion-Ba9OpCm9.js} +12 -12
  248. package/dist/{redact-snapshot-C1Yp9Q7B.js → redact-snapshot-Dioor4fY.js} +1 -1
  249. package/dist/{register.agent-DowGjvNc.js → register.agent-DVy4TdwU.js} +6 -6
  250. package/dist/{register.agent-C-OmdJMe.js → register.agent-FAGOpOS3.js} +97 -97
  251. package/dist/{register.configure-BZLa_c3k.js → register.configure-BzG1EPPb.js} +7 -7
  252. package/dist/register.configure-aZwsNSkf.js +175 -0
  253. package/dist/{register.init-B1pIa3ys.js → register.init-B-wUDJAX.js} +15 -15
  254. package/dist/{register.maintenance-f8NCHf6u.js → register.maintenance-B6f_YUQN.js} +99 -99
  255. package/dist/{register.maintenance-DTx6vUDv.js → register.maintenance-ClYMbiJl.js} +7 -7
  256. package/dist/{register.message-DE-eKss6.js → register.message-BkAe3KaX.js} +2 -2
  257. package/dist/{register.message-5hKmcWaB.js → register.message-WkJ5viuk.js} +77 -77
  258. package/dist/{register.onboard-DmymXZNT.js → register.onboard-BUBCEjZ_.js} +2 -2
  259. package/dist/{register.onboard-tT7keiju.js → register.onboard-DvpF9feG.js} +18 -18
  260. package/dist/{register.setup-DjHaiqnA.js → register.setup-CA7jtsG8.js} +21 -21
  261. package/dist/{register.setup-D9AvFexw.js → register.setup-Dlmt8cdD.js} +2 -2
  262. package/dist/{register.start-CyYd_xbF.js → register.start-3Hnjf8NZ.js} +17 -17
  263. package/dist/{register.status-health-sessions-Cbva8fTK.js → register.status-health-sessions-BfIwzFQw.js} +3 -3
  264. package/dist/{register.status-health-sessions-lOM_lb6H.js → register.status-health-sessions-CY2i61By.js} +91 -91
  265. package/dist/{register.subclis-pmPhNoRB.js → register.subclis-D72jBDzj.js} +31 -31
  266. package/dist/{replies-Ckd7Lwt0.js → replies-BDnb0prE.js} +1 -1
  267. package/dist/{reply-D8Yu6-Ie.js → reply-BOAv4F33.js} +42 -6
  268. package/dist/{reply-prefix-DpXMFuAa.js → reply-prefix-H_GSyyzN.js} +1 -1
  269. package/dist/{resolve-route-Cnto8LMw.js → resolve-route-ByAwAiq5.js} +2 -2
  270. package/dist/{rpc-CnRUZWNJ.js → rpc-DQa5fiBV.js} +1 -1
  271. package/dist/{run-main-D5C2p24j.js → run-main-DOntWJzb.js} +95 -95
  272. package/dist/{runtime-D4y0Gdfj.js → runtime-D-Knnx0g.js} +2 -2
  273. package/dist/{sandbox-Tai-w14a.js → sandbox-DI_zIUpo.js} +18 -18
  274. package/dist/{sandbox-cli-uwsF36Ea.js → sandbox-cli-Cn6OxK6L.js} +26 -26
  275. package/dist/{secrets-cli-DzeSuhpa.js → secrets-cli-Cf2fFK2m.js} +10 -10
  276. package/dist/{security-cli-Dzelqio0.js → security-cli-DS-dXNUv.js} +43 -43
  277. package/dist/{send-e1X1pfda.js → send-BCLu4NEE.js} +6 -6
  278. package/dist/{send-BpXRh0BM.js → send-BTswySBz.js} +11 -11
  279. package/dist/{send-CQJKPGw4.js → send-CZ2O-5pP.js} +6 -6
  280. package/dist/{send-sj8Hu26l.js → send-D0X-8aPh.js} +8 -8
  281. package/dist/{send-Cpaj_bKB.js → send-ZyB64ntO.js} +5 -5
  282. package/dist/{server-Cr92VI8t.js → server-C88L-6UW.js} +19 -19
  283. package/dist/{server-context-YLHmGfYV.js → server-context-CjPCwa4T.js} +12 -12
  284. package/dist/{server-lifecycle-B23lXM3Y.js → server-lifecycle-HLBzAVdX.js} +2 -2
  285. package/dist/{server-middleware-CKSnhiM2.js → server-middleware-DHxnFjIL.js} +1 -1
  286. package/dist/{server-node-events-yFZiE04b.js → server-node-events-CyVS1c_n.js} +77 -77
  287. package/dist/{server-node-events-nakjzVDn.js → server-node-events-DAuQ0Pk2.js} +2 -2
  288. package/dist/{service-Bjqlh_fF.js → service-CFfCS51c.js} +15 -15
  289. package/dist/{session-DcnQHb9Q.js → session-ApCom0An.js} +1 -1
  290. package/dist/{session-meta-DF1WT4cr.js → session-meta-Cew1QAYN.js} +1 -1
  291. package/dist/{session-utils-BncMg1bn.js → session-utils-DYJSA9qa.js} +46 -10
  292. package/dist/{sessions-B2mnwD21.js → sessions-BXz4gdq6.js} +15 -15
  293. package/dist/{sessions-C2Xfck_9.js → sessions-CeXgGBJ1.js} +4 -4
  294. package/dist/{shared-BojXguFB.js → shared-Cd4Yi_Q8.js} +3 -3
  295. package/dist/{shared-_j1K2VJ9.js → shared-Cl1av01k.js} +1 -1
  296. package/dist/{skill-commands-CYucDd3C.js → skill-commands-Cpr3Poo2.js} +5 -5
  297. package/dist/{skill-scanner-CSJqt034.js → skill-scanner-3QHafkQH.js} +6 -6
  298. package/dist/{skills-BCgFAMj3.js → skills-D4S-gyVf.js} +3 -3
  299. package/dist/{skills-cli-BM1iUpGc.js → skills-cli-CAhlFcYR.js} +5 -5
  300. package/dist/{skills-install-e4_jXT_J.js → skills-install-DyneupGw.js} +6 -6
  301. package/dist/{skills-status-DG-bH5mO.js → skills-status-DQzBD0Y7.js} +1 -1
  302. package/dist/{status-CQYA6EJN.js → status-C6WYtjMU.js} +2 -2
  303. package/dist/{status-mS4bWnIW.js → status-VYa-lFs6.js} +26 -26
  304. package/dist/{status.update-YC9VNJxl.js → status.update-BdgtGtkx.js} +2 -2
  305. package/dist/{store-U8cs0QvT.js → store-TdzSHRPN.js} +5 -5
  306. package/dist/{subagent-registry-CXBreqUP.js → subagent-registry-DlmrBMrv.js} +156 -156
  307. package/dist/{system-cli-B_PUKo6-.js → system-cli-BYGGFlhn.js} +9 -9
  308. package/dist/{system-run-command-GKGzGztn.js → system-run-command-XHAlbx5q.js} +1 -1
  309. package/dist/{systemd-HiU4Gzoc.js → systemd-DRGkJYMb.js} +9 -9
  310. package/dist/{systemd-hints-BDIASQOF.js → systemd-hints-C5HK00QG.js} +6 -6
  311. package/dist/{systemd-linger-DfrE-63p.js → systemd-linger-DME-3IVk.js} +1 -1
  312. package/dist/{tables-DVXe5x1J.js → tables-BOsRa7CS.js} +1 -1
  313. package/dist/{tailnet-C1XBcWue.js → tailnet-CfP3A6g2.js} +1 -1
  314. package/dist/{plugin-sdk/target-errors-0u6pegQv.js → target-errors-DPJ9HFp9.js} +4 -4
  315. package/dist/{tool-images-CnpAosfi.js → tool-images-CmgHk8xk.js} +1 -1
  316. package/dist/{tui-CLK0s6TM.js → tui-C16rnfcv.js} +6 -6
  317. package/dist/{tui-cli-DTdNoN6U.js → tui-cli-Ct7mmQhr.js} +33 -33
  318. package/dist/{update-DLc3UsVC.js → update-DOvgIBRu.js} +3 -3
  319. package/dist/{update-cli-C2EagLTi.js → update-cli-BnefEkIB.js} +107 -107
  320. package/dist/{update-cli-DiT2fFEK.js → update-cli-CWNpH8nb.js} +7 -7
  321. package/dist/{update-runner-C9noXbfV.js → update-runner-BSQpjT4r.js} +16 -16
  322. package/dist/{update-runner-DO6RodZW.js → update-runner-CE9BNhOu.js} +1 -1
  323. package/dist/{web-CDHXvGxm.js → web-C1PpWeXj.js} +1 -1
  324. package/dist/web-C1Zm__bd.js +127 -0
  325. package/dist/{web-DbdjX4Hg.js → web-C_RqjNux.js} +2 -2
  326. package/dist/{web-DJKitOpu.js → web-DBuATjw6.js} +1 -1
  327. package/dist/{webhooks-cli-c5SaGz4J.js → webhooks-cli-DyIIpN1Q.js} +6 -6
  328. package/dist/{whatsapp-actions-CnjEOFOZ.js → whatsapp-actions-Dmv3vDs5.js} +19 -19
  329. package/dist/{with-timeout-DurSJobr.js → with-timeout-Cf-HNLSj.js} +3 -3
  330. package/dist/{workspace-DWBFoy1G.js → workspace-A5CNJccm.js} +1 -1
  331. package/dist/{workspace-BHfqkuYN.js → workspace-DzeL98px.js} +23 -23
  332. package/dist/{workspace-dirs-BOgNOBjy.js → workspace-dirs-Bevk6X_8.js} +1 -1
  333. package/dist/{wsl-BDRu1-pk.js → wsl-DksyFTBT.js} +2 -2
  334. package/package.json +1 -1
  335. package/dist/plugin-sdk/web-B35hdNQ-.js +0 -72
  336. package/dist/register.configure-CaSRlI6h.js +0 -175
  337. package/dist/web-BKrNiKsU.js +0 -127
@@ -1,79 +1,79 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { C as resolveThreadParentSessionKey, S as parseAgentSessionKey, _ as deriveSessionChatType, b as isCronSessionKey, c as normalizeAgentId, d as resolveThreadSessionKeys, f as sanitizeAgentId, g as isBlockedObjectKey, h as normalizeOptionalAccountId, l as normalizeMainKey, m as normalizeAccountId$2, o as classifySessionKeyShape, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, s as isValidAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, v as getSubagentDepth, x as isSubagentSessionKey, y as isAcpSessionKey } from "./session-key-CVIXEtLx.js";
3
- import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-BYcizTXn.js";
3
+ import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth } from "./accounts-D_pT5EjF.js";
4
4
  import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, p as resolveCliName, r as resolveConfigPath } from "./paths-C__vjTc0.js";
5
5
  import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-WHEJfZD4.js";
6
- import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-D7I2_X4P.js";
7
- import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-B0V8LFBA.js";
8
- import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BfVxx6bk.js";
9
- import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-DvyMEXQo.js";
10
- import { A as spawnWithFallback, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace } from "./agent-scope-_j3fIYCK.js";
11
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-CNhs9eKJ.js";
6
+ import { $n as resolveAuthProfileDisplayLabel, An as resolveApiKeyForProvider, At as buildEnforcedShellCommand, Bn as resolveApiKeyForProfile, Bt as unwrapKnownDispatchWrapperInvocation, C as resolveIMessageRemoteAttachmentRoots, Cn as buildAssistantMessage, Ct as unsetConfigValueAtPath, Dn as getApiKeyForModel, Dt as normalizeTrustedSafeBinDirs, En as buildUsageWithNoCost, Et as listWritableExplicitTrustedSafeBinDirs, Fn as getSoonestCooldownExpiry, Ft as resolveAllowlistCandidatePath, Gn as ensureAuthProfileStore, Gt as resolveSafeBinProfiles, Hn as dedupeProfileIds, Ht as splitShellArgs, In as isProfileInCooldown, It as resolveCommandResolutionFromArgv, Jt as mapStreamingModeToSlackLegacyDraftStreamMode, Kn as resolveAuthStorePathForDisplay, Kt as applyMergePatch, Ln as markAuthProfileFailure, Lt as extractShellWrapperInlineCommand, Mn as resolveModelAuthMode, Mt as splitCommandChain, Nt as DEFAULT_SAFE_BINS, On as getCustomProviderApiKey, Ot as validateSafeBinArgv, Pn as resolveAuthProfileOrder, Pt as matchAllowlist, Rn as markAuthProfileUsed, Rt as isDispatchWrapperExecutable, S as resolveIMessageAttachmentRoots, Sn as createOllamaStreamFn, St as setConfigValueAtPath, T as parseNonNegativeByteSize, Tn as buildStreamErrorAssistantMessage, Tt as isTrustedSafeBinPath, Un as listProfilesForProvider, Ut as SAFE_BIN_PROFILES, V as parseDurationMs, Vt as unwrapKnownShellMultiplexerInvocation, Wn as markAuthProfileGood, Wt as normalizeSafeBinProfileFixtures, Xt as resolveSlackNativeStreaming, Yn as withFileLock, Yt as resolveDiscordPreviewStreamMode, Zt as resolveSlackStreamingMode, _ as normalizeTelegramCommandName, _t as resetConfigOverrides, a as resolveConfigSnapshotHash, an as findNormalizedProviderValue, ar as DEFAULT_PROVIDER, at as validateJsonSchemaValue, b as isInboundPathAllowed, bt as getConfigValueAtPath, cn as normalizeModelRef$2, cr as resolveShellEnvFallbackTimeoutMs, ct as isPathInside, dn as resolveDefaultModelForAgent, dt as MANIFEST_KEY, en as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, et as AVATAR_MAX_BYTES, fn as resolveModelRefFromString, ft as applyTestPluginDefaults, g as TELEGRAM_COMMAND_NAME_PATTERN, gt as getConfigOverrides, hn as resolveThinkingDefault, ht as resolveMemorySlotDecision, in as buildModelAliasIndex, ir as DEFAULT_MODEL, it as isSupportedLocalAvatarExtension, jn as resolveEnvApiKey, jt as isWindowsPlatform, kn as requireApiKey, kt as analyzeShellCommand, ln as normalizeProviderId, lr as isDangerousHostEnvVarName, lt as safeStatSync, mn as resolveSubagentSpawnModelSelection, mt as resolveEffectiveEnableState, n as loadConfig, nn as buildAllowedModelSet, nr as splitTrailingAuthProfile, nt as isAvatarHttpUrl, o as writeConfigFile, on as isCliProvider, or as VERSION, ot as loadPluginManifestRegistry, pn as resolveReasoningDefault, pt as normalizePluginsConfig, qn as resolveOpenClawAgentDir, qt as isSafeExecutableValue, r as readConfigFileSnapshot, rn as buildConfiguredAllowlistKeys, rr as DEFAULT_CONTEXT_TOKENS, rt as isPathWithinRoot, s as validateConfigObjectWithPlugins, sn as modelKey, sr as getShellPathFromLoginShell, st as discoverOpenClawPlugins, tn as resolveAgentMaxConcurrent, tr as normalizeSecretInput, tt as isAvatarDataUrl, un as resolveConfiguredModelRef, ur as resolveOwnerDisplaySetting, v as resolveTelegramCustomCommands, vt as setConfigOverride, w as normalizeScpRemoteHost, wn as buildAssistantMessageWithZeroUsage, wt as getTrustedSafeBinDirs, xn as OLLAMA_NATIVE_BASE_URL, xt as parseConfigPath, yt as unsetConfigOverride, zn as resolveProfilesUnavailableReason, zt as isShellWrapperExecutable } from "./config-DAwOhnVF.js";
7
+ import { D as consumeRootOptionToken, E as FLAG_TERMINATOR, T as resolvePreferredOpenClawTmpDir, _ as isRich, a as clearActiveProgressLine, c as danger, f as setVerbose, g as colorize, h as warn, i as defaultRuntime, o as registerActiveProgressLine, p as shouldLogVerbose, r as createNonExitingRuntime, s as unregisterActiveProgressLine, t as createSubsystemLogger, u as logVerbose, v as theme, w as normalizeLogLevel, y as getChildLogger } from "./subsystem-CM1s2lDT.js";
8
+ import { C as isPlainObject, S as truncateUtf16Safe, _ as shortenHomeInString, a as ensureDir$3, b as sliceUtf16Safe, c as isRecord$1, d as normalizeE164, h as resolveUserPath, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, v as shortenHomePath, y as sleep$1 } from "./utils-BcL6KGZf.js";
9
+ import { n as isTruthyEnvValue, r as parseBooleanValue$1, t as formatCliCommand } from "./command-format-BOJz3y1v.js";
10
+ import { A as spawnWithFallback, C as loadWorkspaceBootstrapFiles, E as resolveOpenClawPackageRoot, G as resolveAgentModelPrimaryValue, H as normalizeWindowsPathForComparison, K as toAgentModelListLike, M as openBoundaryFile, N as openBoundaryFileSync, O as runCommandWithTimeout, S as filterBootstrapFilesForSession, W as resolveAgentModelFallbackValues, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, d as resolveSessionAgentId, f as resolveSessionAgentIds, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, k as runExec, l as resolveEffectiveModelFallbacks, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, o as resolveAgentSkillsFilter, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, t as hasConfiguredModelFallbacks, u as resolveRunModelFallbacksOverride, w as resolveWorkspaceAttachmentsRoot, x as ensureAgentWorkspace } from "./agent-scope-DT5pxpJB.js";
11
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-Cr-x0vMf.js";
12
12
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-Ckp-v-FK.js";
13
- import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-HF8_S7QO.js";
14
- import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-CjdkiLH7.js";
15
- 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-_CEZcqxE.js";
16
- import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-lAIo5l8W.js";
13
+ import { _ as getPluginCommandSpecs, a as normalizeAnyChannelId, b as createInternalHookEvent, c as getActivePluginRegistry, d as requireActivePluginRegistry, f as setActivePluginRegistry, g as executePluginCommand, h as clearPluginCommands, i as listChatChannels, l as getActivePluginRegistryKey, m as normalizePluginHttpPath, n as CHAT_CHANNEL_ORDER, o as normalizeChannelId$1, p as createPluginRegistry, r as getChatChannelMeta, s as normalizeChatChannelId, v as listPluginCommands, x as triggerInternalHook, y as matchPluginCommand } from "./registry-Cv-oHUj1.js";
14
+ import { B as normalizeStringEntriesLower, F as resolveChannelGroupToolsPolicy, L as normalizeAtHashSlug, N as resolveChannelGroupPolicy, P as resolveChannelGroupRequireMention, R as normalizeHyphenSlug, n as listChannelDocks, o as normalizeSignalMessagingTarget, t as getChannelDock, z as normalizeStringEntries } from "./dock-BdR3OYZn.js";
15
+ 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-CvNq-esz.js";
16
+ import { A as acquireSessionWriteLock, B as resolveFreshSessionTotalTokens, C as extractToolCallNames, D as hasInterSessionUserProvenance, E as applyInputProvenanceToUserMessage, F as resolveSessionResetPolicy, G as resolveMainSessionKey, H as canonicalizeMainSessionAlias, I as resolveSessionResetType, K as deriveSessionMetaPatch, L as resolveThreadFlag, M as resolveSessionKey, N as evaluateSessionFreshness, O as normalizeInputProvenance, P as resolveChannelResetConfig, R as DEFAULT_RESET_TRIGGERS, S as countToolResults, T as INPUT_PROVENANCE_KIND_VALUES, V as setSessionRuntimeModel, W as resolveExplicitAgentSessionKey, _ as normalizeDeliveryContext, a as resolveAndPersistSessionFile, b as archiveSessionTranscripts, c as recordSessionMetaFromInbound, d as updateSessionStoreEntry, f as isCacheEnabled, g as mergeDeliveryContext, h as deliveryContextKey, j as resolveSessionLockMaxHoldFromTimeout, k as jsonUtf8Bytes, l as updateLastRoute, m as deliveryContextFromSession, n as parseSessionThreadInfo, o as loadSessionStore, p as resolveCacheTtlMs$1, q as resolveGroupSessionKey, r as appendAssistantMessageToSessionTranscript, s as readSessionUpdatedAt, t as extractDeliveryInfo, u as updateSessionStore, v as normalizeSessionDeliveryFields, w as parseInlineDirectives$1, x as capArrayByJsonBytes, y as normalizeAccountId$3, z as mergeSessionEntry } from "./sessions-BXps6YzJ.js";
17
17
  import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
18
18
  import { n as resolveConversationLabel } from "./conversation-label-nAHBBt-I.js";
19
19
  import { t as resolveAccountEntry } from "./account-lookup-BCxEEOS8.js";
20
- import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-BpHAMNJ1.js";
21
- import { r as resolveIMessageAccount } from "./accounts-4WE2wtsW.js";
22
- import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-AbI8uETR.js";
23
- import { t as buildChannelAccountBindings } from "./bindings-CxxzC7gn.js";
24
- import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, 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 isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-wCqsQs_s.js";
20
+ import { A as resolveSlackAccount, B as resolveDiscordAccount, C as resolveTelegramAccount, F as normalizeWhatsAppTarget, I as createDiscordActionGate, M as resolveSlackAppToken, N as resolveSlackBotToken, P as isWhatsAppGroupJid, R as listEnabledDiscordAccounts, V as normalizeDiscordToken, b as listEnabledTelegramAccounts, h as resolveSlackChannelId, j as resolveSlackReplyToMode, m as parseSlackTarget, n as listChannelPlugins, r as normalizeChannelId$2, t as getChannelPlugin, w as resolveTelegramToken, x as listTelegramAccountIds, y as createTelegramActionGate } from "./plugins-DF_dKXTR.js";
21
+ import { r as resolveIMessageAccount } from "./accounts-COLYAAOx.js";
22
+ import { i as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-BZrkOo6-.js";
23
+ import { t as buildChannelAccountBindings } from "./bindings-BSfhEjKN.js";
24
+ import { $ as fetchChannelPermissionsDiscord, A as unpinMessageDiscord, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveTimestampMs, D as pinMessageDiscord, Dt as normalizeChannelSlug, E as listThreadsDiscord, Et as buildChannelKeyCandidates, 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, P as fetchChannelInfoDiscord, Q as stripUndefinedFields, R as kickMemberDiscord, S as deleteMessageDiscord, St as resolveDiscordSystemLocation, T as listPinsDiscord, Tt as applyChannelMatchMeta, 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 isDiscordGroupAllowedByPolicy, d as parseDiscordModalCustomId, dt as resolveDiscordAllowListMatch, et as hasAnyGuildPermissionDiscord, f as parseDiscordModalCustomIdForCarbon, ft as resolveDiscordChannelConfigWithFallback, g as sendMessageDiscord, gt as resolveDiscordOwnerAllowFrom, h as resolveDiscordModalEntry, ht as resolveDiscordOwnerAccess, i as removeOwnReactionsDiscord, it as parseDiscordTarget, j as addRoleDiscord, k as searchMessagesDiscord, kt as resolveChannelEntryMatchWithFallback, l as parseDiscordComponentCustomId, lt as normalizeDiscordAllowList, m as resolveDiscordComponentEntry, mt as resolveDiscordMemberAccessState, n as fetchReactionsDiscord, nt as createDiscordClient, o as sendDiscordComponentMessage, ot as listDiscordDirectoryGroupsLive, p as readDiscordComponentSpec, pt as resolveDiscordGuildEntry, q as deleteChannelDiscord, r as reactMessageDiscord, rt as createDiscordRestClient, s as createDiscordFormModal, st as listDiscordDirectoryPeersLive, tt as chunkDiscordTextWithMode, u as parseDiscordComponentCustomIdForCarbon, ut as normalizeDiscordSlug, v as sendStickerDiscord, vt as resolveGroupDmAllow, w as fetchMessageDiscord, wt as fetchDiscord, x as createThreadDiscord, xt as formatDiscordUserTag, y as sendVoiceMessageDiscord, yt as shouldEmitDiscordReactionNotification, z as listGuildChannelsDiscord } from "./send-DEyQJTzd.js";
25
25
  import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-DlLOyPPw.js";
26
26
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-BLPb80aT.js";
27
27
  import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-Bitiknz-.js";
28
28
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-C-qHqfzG.js";
29
29
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BEtAimXS.js";
30
- import { n as retryAsync } from "./retry-pZ8iKytf.js";
31
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DH8u23pF.js";
32
- import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-DFTN4h2I.js";
33
- import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-B3yZ-f-m.js";
30
+ import { n as retryAsync } from "./retry-BMcrIz7L.js";
31
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-BOuKZWXa.js";
32
+ import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-jusxdu7M.js";
33
+ import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-DAEbma-o.js";
34
34
  import { t as buildOutboundMediaLoadOptions } from "./load-options-TTlmt77_.js";
35
35
  import { n as normalizePollInput } from "./polls-DN23oxyB.js";
36
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BqUCBfUg.js";
37
- import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-B256n7Ff.js";
38
- import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-C9GXWF3o.js";
39
- import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-JKDwTi8i.js";
40
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BivEyA4v.js";
41
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-2AOXGUXW.js";
42
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BIm-jvIK.js";
43
- 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-BPyPeheZ.js";
44
- import { n as resolveMarkdownTableMode } from "./markdown-tables-D9mmqMKi.js";
45
- import { t as convertMarkdownTables } from "./tables-DCSeBGBz.js";
46
- 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-1uW-uqPf.js";
47
- import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-CZIN8SDx.js";
48
- import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-BbsgbHMZ.js";
49
- import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-0u6pegQv.js";
50
- import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-BoNw1Bki.js";
51
- import { _ as resolveMediaUnderstandingScope, a as resolveAutoImageModel, b as buildRandomTempFilePath, c as findModelInCatalog, d as registerUnhandledRejectionHandler, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as resolveAttachmentKind, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./audio-transcription-runner-DFZS7uCO.js";
52
- import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-KODsMNJ-.js";
53
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DF2_VTJy.js";
54
- import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-D1Q6hGS4.js";
55
- 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-BWSDv2F_.js";
56
- import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-oPevdeh5.js";
57
- import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-NrIHn0__.js";
58
- 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-DL3k_wRi.js";
59
- import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-BMeqzQAf.js";
60
- import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-CTfvZz83.js";
36
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DpKV1B5p.js";
37
+ import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-DMCE0ej9.js";
38
+ import { c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime } from "./image-ops-DulHE5Qc.js";
39
+ import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-Doxv9M7Q.js";
40
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dary6WwJ.js";
41
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-DssN60r6.js";
42
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BFXiJrsN.js";
43
+ 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-cvtXztAT.js";
44
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-CsQpDNU5.js";
45
+ import { t as convertMarkdownTables } from "./tables-BhH8EIqU.js";
46
+ 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-D0AaWnIj.js";
47
+ import { A as describeReplyTarget, B as resolveTelegramStreamMode, C as buildSenderLabel, D as buildTelegramParentPeer, E as buildTelegramGroupPeerId, F as resolveTelegramDirectPeerId, G as resolveSenderAllowMatch$1, H as isSenderAllowed$1, I as resolveTelegramForumThreadId, J as parseTelegramTarget, K as isVoiceCompatibleAudio, L as resolveTelegramGroupAllowFromContext, M as extractTelegramLocation, N as hasBotMention, O as buildTelegramThreadParams, P as normalizeForwardedContext, R as resolveTelegramMediaPlaceholder, S as buildGroupLabel, T as buildTelegramGroupFrom, U as normalizeAllowFrom$2, V as resolveTelegramThreadSpec, W as normalizeDmAllowFromWithStore$1, X as formatLocationText, Y as resolveTelegramTargetChatType, Z as toLocationContext, _ as renderTelegramHtmlText, a as reactMessageTelegram, at as upsertChannelPairingRequest, b as splitTelegramCaption, c as sendStickerTelegram, ct as getPairingAdapter, d as loadCronStore, dt as isSenderIdAllowed, f as resolveCronStorePath, ft as mergeDmAllowFromSources, g as markdownToTelegramHtml, h as markdownToTelegramChunks, i as editMessageTelegram, it as removeChannelAllowFromStoreEntry, j as expandTextLinks, k as buildTypingThreadParams, lt as listPairingChannels, m as isRecoverableTelegramNetworkError, n as createForumTopicTelegram, nt as readChannelAllowFromStore, o as sendMessageTelegram, ot as readJsonFileWithFallback, p as wasSentByBot, pt as resolveGroupAllowFromSources, r as deleteMessageTelegram, s as sendPollTelegram, st as writeJsonFileAtomically, t as buildInlineKeyboard, tt as addChannelAllowFromStoreEntry, u as resolveTelegramVoiceSend, ut as firstDefined$1, v as wrapFileReferencesInHtml, w as buildSenderName, x as withTelegramApiErrorLogging, y as resolveTelegramFetch, z as resolveTelegramReplyId } from "./send-DJzwu8kk.js";
48
+ import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-heXfaJdb.js";
49
+ import { a as ToolInputError, c as imageResultFromFile, d as readNumberParam, f as readReactionParams, h as readStringParam, l as jsonResult, m as readStringOrNumberParam, n as missingTargetError, o as createActionGate, p as readStringArrayParam, r as unknownTargetError, s as imageResult, t as ambiguousTargetError, u as parseAvailableTags } from "./target-errors-QZay02Cv.js";
50
+ import { a as buildSlackBlocksFallbackText, c as parseSlackBlocksInput, i as normalizeSlackOutboundText, l as validateSlackBlocksArray, o as createSlackWebClient, s as resolveSlackWebClientOptions, t as sendMessageSlack } from "./send-C5USYGq7.js";
51
+ import { _ as resolveMediaUnderstandingScope, a as resolveAutoImageModel, b as buildRandomTempFilePath, c as findModelInCatalog, d as registerUnhandledRejectionHandler, g as normalizeMediaUnderstandingChatType, h as resolveTimeoutMs$2, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as resolveAttachmentKind, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as CLI_OUTPUT_MAX_BUFFER, y as applyTemplate } from "./audio-transcription-runner-BBn9jEMg.js";
52
+ import { a as resolveAckReaction, c as resolveHumanDelayConfig, i as resolveResponsePrefixTemplate, n as createReplyPrefixOptions, o as resolveAgentIdentity, s as resolveEffectiveMessagesConfig } from "./reply-prefix-DXthVxCx.js";
53
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DIE-Bf72.js";
54
+ import { c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-B20uUsji.js";
55
+ 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-DXOTei42.js";
56
+ import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as rawDataToString, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-Dn0G4NoF.js";
57
+ import { A as initializeGlobalHookRunner, C as shouldSuppressReasoningPayload, D as normalizeChannelTargetInput, E as buildTargetResolverSignature, O as normalizeTargetForProvider, S as shouldSuppressMessagingToolReplies, T as resolveReplyToMode, _ as applyReplyTagsToPayload, a as normalizeOutboundPayloadsForJson, b as filterMessagingToolMediaDuplicates, c as parseReplyDirectives, d as toInternalMessagePreprocessedContext, f as toInternalMessageReceivedContext, g as fireAndForgetHook, h as toPluginMessageReceivedEvent, i as normalizeOutboundPayloads, k as getGlobalHookRunner, l as splitMediaFromOutput, m as toPluginMessageContext, o as normalizeReplyPayloadsForDelivery, p as toInternalMessageTranscribedContext, r as formatOutboundPayloadLog, s as throwIfAborted, t as deliverOutboundPayloads, u as deriveInboundMessageHookContext, v as applyReplyThreading, w as createReplyToModeFilterForChannel, x as isRenderablePayload, y as filterMessagingToolDuplicates } from "./deliver-PdH-MCq8.js";
58
+ 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-BZvj-qNu.js";
59
+ import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-BZbE1V-C.js";
60
+ import { $ as expandToolGroups, A as isRawApiErrorPayload, B as registerBrowserRoutes, C as isCloudCodeAssistFormatError, D as isFailoverErrorMessage, E as isFailoverAssistantError, F as sanitizeUserFacingText, G as resolveBrowserControlAuth, H as resolveProfile, I as ensureSandboxWorkspaceForSession, J as buildPluginToolGroups, K as resolveSandboxConfigForAgent, L as resolveSandboxContext, M as isTransientHttpError, N as parseImageDimensionError, O as isLikelyContextOverflowError, P as parseImageSizeError, Q as stripPluginOnlyAllowlist, R as resolveSandboxRuntimeStatus, S as isBillingAssistantError, T as isContextOverflowError, U as getBridgeAuthForPort, V as resolveBrowserConfig, W as ensureBrowserControlAuth, X as expandPolicyWithPluginGroups, Y as collectExplicitAllowlist, Z as mergeAlsoAllowPolicy, _ as formatBillingErrorMessage, a as isMessagingToolDuplicateNormalized, at as ensureSessionHeader, b as isAuthAssistantError, c as extractToolCallsFromAssistant, ct as sanitizeGoogleTurnOrdering, d as downgradeOpenAIFunctionCallReasoningPairs, et as normalizeToolName, f as downgradeOpenAIReasoningBlocks, g as formatAssistantErrorText, h as classifyFailoverReason, it as buildBootstrapContextFiles, j as isTimeoutErrorMessage, k as isRateLimitAssistantError, l as extractToolResultId, lt as resolveGatewayCredentialsFromConfig, m as BILLING_ERROR_USER_MESSAGE, n as validateGeminiTurns, nt as compileGlobPatterns, o as normalizeTextForComparison, ot as resolveBootstrapMaxChars, p as isGoogleModelApi, q as applyOwnerOnlyToolPolicy, r as pickFallbackThinkingLevel, rt as matchesAnyGlobPattern, s as sanitizeSessionMessagesImages, st as resolveBootstrapTotalMaxChars, t as validateAnthropicTurns, tt as resolveToolProfilePolicy, u as sanitizeToolCallIdsForCloudCodeAssist, ut as trimToUndefined$1, v as formatRawAssistantErrorForUi, w as isCompactionFailureError, x as isAuthPermanentErrorMessage, y as getApiErrorPayloadFingerprint, z as createBrowserRouteContext } from "./pi-embedded-helpers-CKEUWckk.js";
61
61
  import { a as normalizeReasoningLevel, c as normalizeVerboseLevel, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking } from "./thinking-DGaZRXAR.js";
62
62
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DZb6zIHq.js";
63
- import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, 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 formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-CkPzr3XN.js";
64
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CK3Ih_kq.js";
63
+ import { C as extractTextFromChatContent, S as isInsideCode, T as minimaxUnderstandImage, _ as stripThinkingTagsFromText, a as decodeDataUrl, b as stripReasoningTagsFromText, 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 formatToolSummary, w as ensureOpenClawModelsJson, x as findCodeRegions, y as resolveToolDisplay } from "./image-B3A2l2ep.js";
64
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BPeQq9XM.js";
65
65
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-C5PtFEje.js";
66
- import { t as makeProxyFetch } from "./proxy-fetch-jmbopGcm.js";
67
- import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-Dk8re8Lz.js";
66
+ import { t as makeProxyFetch } from "./proxy-fetch-BpHIgvBk.js";
67
+ import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-CZWv_JwZ.js";
68
68
  import { r as getDiagnosticSessionState } from "./diagnostic-session-state-Wd5tNeQG.js";
69
69
  import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-4RHRb_OP.js";
70
- import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-C-Rd2stz.js";
71
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-De2B5QY_.js";
72
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DbjvV4gf.js";
73
- import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-pnqLAUOh.js";
74
- import { t as recordInboundSessionMetaSafe } from "./session-meta-7J-uHiM_.js";
75
- import { n as resolveMemorySearchConfig } from "./manager-DYLqNUb4.js";
76
- import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C_X8SyEA.js";
70
+ import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-B0ztz6QC.js";
71
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DuwYYn4a.js";
72
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CddwWBTJ.js";
73
+ import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-DxBXcWm_.js";
74
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-ChWvKVWj.js";
75
+ import { n as resolveMemorySearchConfig } from "./manager-DGx_cF54.js";
76
+ import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-BOGLUWB7.js";
77
77
  import { createRequire } from "node:module";
78
78
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
79
79
  import * as path$1 from "node:path";
@@ -83,7 +83,7 @@ import * as fs$2 from "node:fs/promises";
83
83
  import fs$1 from "node:fs/promises";
84
84
  import crypto, { X509Certificate, createHash, createHmac, randomBytes, randomUUID } from "node:crypto";
85
85
  import { inspect, promisify } from "node:util";
86
- import JSON5 from "json5";
86
+ import json5 from "json5";
87
87
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
88
88
  import { fileURLToPath } from "node:url";
89
89
  import { complete, completeSimple, createAssistantMessageEventStream, streamSimple } from "@mariozechner/pi-ai";
@@ -7852,7 +7852,7 @@ async function sendTranscriptEcho(params) {
7852
7852
  }
7853
7853
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
7854
7854
  try {
7855
- const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
7855
+ const { deliverOutboundPayloads } = await import("./deliver-PdH-MCq8.js").then((n) => n.n);
7856
7856
  await deliverOutboundPayloads({
7857
7857
  cfg,
7858
7858
  channel: normalizedChannel,
@@ -22359,7 +22359,7 @@ async function routeReply(params) {
22359
22359
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
22360
22360
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
22361
22361
  try {
22362
- const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
22362
+ const { deliverOutboundPayloads } = await import("./deliver-PdH-MCq8.js").then((n) => n.n);
22363
22363
  const outboundSession = buildOutboundSessionContext({
22364
22364
  cfg,
22365
22365
  agentId: resolvedAgentId,
@@ -22843,7 +22843,7 @@ function normalizeSessionKey(value) {
22843
22843
  function readSessionStore(storePath) {
22844
22844
  try {
22845
22845
  const raw = fs.readFileSync(storePath, "utf-8");
22846
- const parsed = JSON5.parse(raw);
22846
+ const parsed = json5.parse(raw);
22847
22847
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
22848
22848
  } catch {}
22849
22849
  return {};
@@ -32250,7 +32250,7 @@ async function describeStickerImage(params) {
32250
32250
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
32251
32251
  try {
32252
32252
  const buffer = await fs$1.readFile(imagePath);
32253
- const { describeImageWithModel } = await import("./image-CkPzr3XN.js").then((n) => n.n);
32253
+ const { describeImageWithModel } = await import("./image-B3A2l2ep.js").then((n) => n.n);
32254
32254
  return (await describeImageWithModel({
32255
32255
  buffer,
32256
32256
  fileName: "sticker.webp",
@@ -33517,7 +33517,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
33517
33517
  const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
33518
33518
  let transcript;
33519
33519
  if (needsPreflightTranscription) try {
33520
- const { transcribeFirstAudio } = await import("./audio-preflight-BTRRjPew.js");
33520
+ const { transcribeFirstAudio } = await import("./audio-preflight-CkPj4OVY.js");
33521
33521
  const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
33522
33522
  if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
33523
33523
  ctx: {
@@ -36029,16 +36029,38 @@ async function resolveSessionAuthProfileOverride(params) {
36029
36029
  //#region src/agents/context.ts
36030
36030
  const ANTHROPIC_1M_MODEL_PREFIXES$1 = ["claude-opus-4", "claude-sonnet-4"];
36031
36031
  const ANTHROPIC_CONTEXT_1M_TOKENS = 1048576;
36032
+ function resolveBareModelId(modelId) {
36033
+ const trimmed = modelId.trim();
36034
+ if (!trimmed) return "";
36035
+ const slash = trimmed.lastIndexOf("/");
36036
+ return slash >= 0 ? trimmed.slice(slash + 1).trim() : trimmed;
36037
+ }
36038
+ function cacheContextWindow(params) {
36039
+ const { cache, bareCache, modelId, contextWindow, preferSmaller } = params;
36040
+ const existing = cache.get(modelId);
36041
+ if (existing === void 0 || (preferSmaller ? contextWindow < existing : contextWindow !== existing)) cache.set(modelId, contextWindow);
36042
+ const bareModelId = resolveBareModelId(modelId);
36043
+ if (!bareModelId) return;
36044
+ const existingBare = bareCache.get(bareModelId);
36045
+ if (existingBare === void 0 || contextWindow < existingBare) bareCache.set(bareModelId, contextWindow);
36046
+ }
36032
36047
  function applyDiscoveredContextWindows(params) {
36048
+ const bareCache = params.bareCache ?? /* @__PURE__ */ new Map();
36033
36049
  for (const model of params.models) {
36034
36050
  if (!model?.id) continue;
36035
36051
  const contextWindow = typeof model.contextWindow === "number" ? Math.trunc(model.contextWindow) : void 0;
36036
36052
  if (!contextWindow || contextWindow <= 0) continue;
36037
- const existing = params.cache.get(model.id);
36038
- if (existing === void 0 || contextWindow < existing) params.cache.set(model.id, contextWindow);
36053
+ cacheContextWindow({
36054
+ cache: params.cache,
36055
+ bareCache,
36056
+ modelId: model.id,
36057
+ contextWindow,
36058
+ preferSmaller: true
36059
+ });
36039
36060
  }
36040
36061
  }
36041
36062
  function applyConfiguredContextWindows(params) {
36063
+ const bareCache = params.bareCache ?? /* @__PURE__ */ new Map();
36042
36064
  const providers = params.modelsConfig?.providers;
36043
36065
  if (!providers || typeof providers !== "object") return;
36044
36066
  for (const provider of Object.values(providers)) {
@@ -36047,11 +36069,18 @@ function applyConfiguredContextWindows(params) {
36047
36069
  const modelId = typeof model?.id === "string" ? model.id : void 0;
36048
36070
  const contextWindow = typeof model?.contextWindow === "number" ? model.contextWindow : void 0;
36049
36071
  if (!modelId || !contextWindow || contextWindow <= 0) continue;
36050
- params.cache.set(modelId, contextWindow);
36072
+ cacheContextWindow({
36073
+ cache: params.cache,
36074
+ bareCache,
36075
+ modelId,
36076
+ contextWindow,
36077
+ preferSmaller: false
36078
+ });
36051
36079
  }
36052
36080
  }
36053
36081
  }
36054
36082
  const MODEL_CACHE = /* @__PURE__ */ new Map();
36083
+ const BARE_MODEL_CACHE = /* @__PURE__ */ new Map();
36055
36084
  let loadPromise = null;
36056
36085
  let configuredWindowsPrimed = false;
36057
36086
  function getCommandPathFromArgv(argv) {
@@ -36082,6 +36111,7 @@ function primeConfiguredContextWindows() {
36082
36111
  const cfg = loadConfig();
36083
36112
  applyConfiguredContextWindows({
36084
36113
  cache: MODEL_CACHE,
36114
+ bareCache: BARE_MODEL_CACHE,
36085
36115
  modelsConfig: cfg.models
36086
36116
  });
36087
36117
  return cfg;
@@ -36098,16 +36128,18 @@ function ensureContextWindowCacheLoaded() {
36098
36128
  await ensureOpenClawModelsJson(cfg);
36099
36129
  } catch {}
36100
36130
  try {
36101
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CK3Ih_kq.js").then((n) => n.r);
36131
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-BPeQq9XM.js").then((n) => n.r);
36102
36132
  const agentDir = resolveOpenClawAgentDir();
36103
36133
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
36104
36134
  applyDiscoveredContextWindows({
36105
36135
  cache: MODEL_CACHE,
36136
+ bareCache: BARE_MODEL_CACHE,
36106
36137
  models: typeof modelRegistry.getAvailable === "function" ? modelRegistry.getAvailable() : modelRegistry.getAll()
36107
36138
  });
36108
36139
  } catch {}
36109
36140
  applyConfiguredContextWindows({
36110
36141
  cache: MODEL_CACHE,
36142
+ bareCache: BARE_MODEL_CACHE,
36111
36143
  modelsConfig: cfg.models
36112
36144
  });
36113
36145
  })().catch(() => {});
@@ -36116,7 +36148,11 @@ function ensureContextWindowCacheLoaded() {
36116
36148
  function lookupContextTokens(modelId) {
36117
36149
  if (!modelId) return;
36118
36150
  ensureContextWindowCacheLoaded();
36119
- return MODEL_CACHE.get(modelId);
36151
+ const direct = MODEL_CACHE.get(modelId);
36152
+ if (direct !== void 0) return direct;
36153
+ const bareModelId = resolveBareModelId(modelId);
36154
+ if (!bareModelId) return;
36155
+ return BARE_MODEL_CACHE.get(bareModelId);
36120
36156
  }
36121
36157
  if (!shouldSkipEagerContextWindowWarmup()) ensureContextWindowCacheLoaded();
36122
36158
  function resolveConfiguredModelParams(cfg, provider, model) {
@@ -36444,7 +36480,7 @@ async function createModelSelectionState(params) {
36444
36480
  }
36445
36481
  }
36446
36482
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
36447
- const { ensureAuthProfileStore } = await import("./config-D7I2_X4P.js").then((n) => n.Nn);
36483
+ const { ensureAuthProfileStore } = await import("./config-DAwOhnVF.js").then((n) => n.Nn);
36448
36484
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
36449
36485
  const providerKey = normalizeProviderId(provider);
36450
36486
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -41123,27 +41159,27 @@ function createOutboundSendDepsFromCliSource(deps) {
41123
41159
  function createDefaultDeps() {
41124
41160
  return {
41125
41161
  sendMessageWhatsApp: async (...args) => {
41126
- const { sendMessageWhatsApp } = await import("./web-B35hdNQ-.js");
41162
+ const { sendMessageWhatsApp } = await import("./web-BDHHRoXS.js");
41127
41163
  return await sendMessageWhatsApp(...args);
41128
41164
  },
41129
41165
  sendMessageTelegram: async (...args) => {
41130
- const { sendMessageTelegram } = await import("./send-CZIN8SDx.js").then((n) => n.l);
41166
+ const { sendMessageTelegram } = await import("./send-DJzwu8kk.js").then((n) => n.l);
41131
41167
  return await sendMessageTelegram(...args);
41132
41168
  },
41133
41169
  sendMessageDiscord: async (...args) => {
41134
- const { sendMessageDiscord } = await import("./send-wCqsQs_s.js").then((n) => n.t);
41170
+ const { sendMessageDiscord } = await import("./send-DEyQJTzd.js").then((n) => n.t);
41135
41171
  return await sendMessageDiscord(...args);
41136
41172
  },
41137
41173
  sendMessageSlack: async (...args) => {
41138
- const { sendMessageSlack } = await import("./send-BoNw1Bki.js").then((n) => n.n);
41174
+ const { sendMessageSlack } = await import("./send-C5USYGq7.js").then((n) => n.n);
41139
41175
  return await sendMessageSlack(...args);
41140
41176
  },
41141
41177
  sendMessageSignal: async (...args) => {
41142
- const { sendMessageSignal } = await import("./send-C-Rd2stz.js").then((n) => n.i);
41178
+ const { sendMessageSignal } = await import("./send-B0ztz6QC.js").then((n) => n.i);
41143
41179
  return await sendMessageSignal(...args);
41144
41180
  },
41145
41181
  sendMessageIMessage: async (...args) => {
41146
- const { sendMessageIMessage } = await import("./send-1uW-uqPf.js").then((n) => n.n);
41182
+ const { sendMessageIMessage } = await import("./send-D0AaWnIj.js").then((n) => n.n);
41147
41183
  return await sendMessageIMessage(...args);
41148
41184
  }
41149
41185
  };
@@ -52576,7 +52612,7 @@ function readSlackExternalArgMenuToken(raw) {
52576
52612
  }
52577
52613
  let commandsRegistry;
52578
52614
  async function getCommandsRegistry() {
52579
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Dk8re8Lz.js").then((n) => n.n);
52615
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-CZWv_JwZ.js").then((n) => n.n);
52580
52616
  return commandsRegistry;
52581
52617
  }
52582
52618
  function encodeSlackCommandArgValue(parts) {
@@ -52906,14 +52942,14 @@ async function registerSlackMonitorSlashCommands(params) {
52906
52942
  const channelName = channelInfo?.name;
52907
52943
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
52908
52944
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
52909
- import("./resolve-route-De2B5QY_.js").then((n) => n.r),
52945
+ import("./resolve-route-DuwYYn4a.js").then((n) => n.r),
52910
52946
  import("./inbound-context-DZb6zIHq.js").then((n) => n.n),
52911
52947
  Promise.resolve().then(() => provider_dispatcher_exports)
52912
52948
  ]);
52913
52949
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
52914
52950
  import("./conversation-label-nAHBBt-I.js").then((n) => n.t),
52915
- import("./reply-prefix-KODsMNJ-.js").then((n) => n.r),
52916
- import("./session-meta-7J-uHiM_.js").then((n) => n.n)
52951
+ import("./reply-prefix-DXthVxCx.js").then((n) => n.r),
52952
+ import("./session-meta-ChWvKVWj.js").then((n) => n.n)
52917
52953
  ]);
52918
52954
  const route = resolveAgentRoute({
52919
52955
  cfg,
@@ -52978,9 +53014,9 @@ async function registerSlackMonitorSlashCommands(params) {
52978
53014
  });
52979
53015
  const deliverSlashPayloads = async (replies) => {
52980
53016
  const [{ deliverSlackSlashReplies }, { resolveChunkMode }, { resolveMarkdownTableMode }] = await Promise.all([
52981
- import("./replies-DbjvV4gf.js").then((n) => n.r),
52982
- import("./chunk-BPyPeheZ.js").then((n) => n.s),
52983
- import("./markdown-tables-D9mmqMKi.js").then((n) => n.t)
53017
+ import("./replies-CddwWBTJ.js").then((n) => n.r),
53018
+ import("./chunk-cvtXztAT.js").then((n) => n.s),
53019
+ import("./markdown-tables-CsQpDNU5.js").then((n) => n.t)
52984
53020
  ]);
52985
53021
  await deliverSlackSlashReplies({
52986
53022
  replies,
@@ -53033,7 +53069,7 @@ async function registerSlackMonitorSlashCommands(params) {
53033
53069
  let nativeCommands = [];
53034
53070
  if (nativeEnabled) {
53035
53071
  reg = await getCommandsRegistry();
53036
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-D1Q6hGS4.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53072
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-B20uUsji.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
53037
53073
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
53038
53074
  skillCommands,
53039
53075
  provider: "slack"
@@ -53619,7 +53655,7 @@ async function auditTelegramGroupMembership(params) {
53619
53655
  groups: [],
53620
53656
  elapsedMs: Date.now() - started
53621
53657
  };
53622
- const fetcher = params.proxyUrl ? (await import("./proxy-BJdRZOnJ.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53658
+ const fetcher = params.proxyUrl ? (await import("./proxy-BfmEDoun.js").then((n) => n.t)).makeProxyFetch(params.proxyUrl) : fetch;
53623
53659
  const { fetchWithTimeout } = await import("./fetch-timeout-C-qHqfzG.js").then((n) => n.r);
53624
53660
  const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
53625
53661
  const groups = [];
@@ -58373,7 +58409,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
58373
58409
  const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
58374
58410
  let preflightTranscript;
58375
58411
  if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
58376
- const { transcribeFirstAudio } = await import("./audio-preflight-BTRRjPew.js");
58412
+ const { transcribeFirstAudio } = await import("./audio-preflight-CkPj4OVY.js");
58377
58413
  preflightTranscript = await transcribeFirstAudio({
58378
58414
  ctx: {
58379
58415
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -61071,7 +61107,7 @@ function createWhatsAppLoginTool() {
61071
61107
  force: Type.Optional(Type.Boolean())
61072
61108
  }),
61073
61109
  execute: async (_toolCallId, args) => {
61074
- const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-GyPUodKJ.js");
61110
+ const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-XWKTFBuI.js");
61075
61111
  if ((args?.action ?? "start") === "wait") {
61076
61112
  const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
61077
61113
  return {
@@ -61146,23 +61182,23 @@ let webLoginQrPromise = null;
61146
61182
  let webChannelPromise = null;
61147
61183
  let whatsappActionsPromise = null;
61148
61184
  function loadWebOutbound() {
61149
- webOutboundPromise ??= import("./outbound-DdTsUaXa.js").then((n) => n.t);
61185
+ webOutboundPromise ??= import("./outbound-D29FHlQl.js").then((n) => n.t);
61150
61186
  return webOutboundPromise;
61151
61187
  }
61152
61188
  function loadWebLogin() {
61153
- webLoginPromise ??= import("./login-BcLiF9tC.js").then((n) => n.n);
61189
+ webLoginPromise ??= import("./login-D0ul3-6C.js").then((n) => n.n);
61154
61190
  return webLoginPromise;
61155
61191
  }
61156
61192
  function loadWebLoginQr() {
61157
- webLoginQrPromise ??= import("./login-qr-GyPUodKJ.js");
61193
+ webLoginQrPromise ??= import("./login-qr-XWKTFBuI.js");
61158
61194
  return webLoginQrPromise;
61159
61195
  }
61160
61196
  function loadWebChannel() {
61161
- webChannelPromise ??= import("./web-B35hdNQ-.js");
61197
+ webChannelPromise ??= import("./web-BDHHRoXS.js");
61162
61198
  return webChannelPromise;
61163
61199
  }
61164
61200
  function loadWhatsAppActions() {
61165
- whatsappActionsPromise ??= import("./whatsapp-actions-tVcrGNQc.js");
61201
+ whatsappActionsPromise ??= import("./whatsapp-actions-CRean1yN.js");
61166
61202
  return whatsappActionsPromise;
61167
61203
  }
61168
61204
  function createRuntimeWhatsApp() {
@@ -61612,7 +61648,7 @@ async function getMemorySearchManager(params) {
61612
61648
  if (cached) return { manager: cached };
61613
61649
  }
61614
61650
  try {
61615
- const { QmdMemoryManager } = await import("./qmd-manager-BDcutPp9.js");
61651
+ const { QmdMemoryManager } = await import("./qmd-manager-3hQbqkm5.js");
61616
61652
  const primary = await QmdMemoryManager.create({
61617
61653
  cfg: params.cfg,
61618
61654
  agentId: params.agentId,
@@ -61624,7 +61660,7 @@ async function getMemorySearchManager(params) {
61624
61660
  const wrapper = new FallbackMemoryManager({
61625
61661
  primary,
61626
61662
  fallbackFactory: async () => {
61627
- const { MemoryIndexManager } = await import("./manager-DYLqNUb4.js").then((n) => n.t);
61663
+ const { MemoryIndexManager } = await import("./manager-DGx_cF54.js").then((n) => n.t);
61628
61664
  return await MemoryIndexManager.get(params);
61629
61665
  }
61630
61666
  }, () => {
@@ -61639,7 +61675,7 @@ async function getMemorySearchManager(params) {
61639
61675
  }
61640
61676
  }
61641
61677
  try {
61642
- const { MemoryIndexManager } = await import("./manager-DYLqNUb4.js").then((n) => n.t);
61678
+ const { MemoryIndexManager } = await import("./manager-DGx_cF54.js").then((n) => n.t);
61643
61679
  return { manager: await MemoryIndexManager.get(params) };
61644
61680
  } catch (err) {
61645
61681
  return {
@@ -73271,7 +73307,7 @@ async function recordLoopOutcome(args) {
73271
73307
  if (!args.ctx?.sessionKey) return;
73272
73308
  try {
73273
73309
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73274
- const { recordToolCallOutcome } = await import("./tool-loop-detection-JkCpGrfk.js");
73310
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-CygMSQUK.js");
73275
73311
  recordToolCallOutcome(getDiagnosticSessionState({
73276
73312
  sessionKey: args.ctx.sessionKey,
73277
73313
  sessionId: args.ctx?.agentId
@@ -73292,8 +73328,8 @@ async function runBeforeToolCallHook(args) {
73292
73328
  const params = args.params;
73293
73329
  if (args.ctx?.sessionKey) {
73294
73330
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-Wd5tNeQG.js").then((n) => n.n);
73295
- const { logToolLoopAction } = await import("./diagnostic-DL3k_wRi.js").then((n) => n.n);
73296
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-JkCpGrfk.js");
73331
+ const { logToolLoopAction } = await import("./diagnostic-BZvj-qNu.js").then((n) => n.n);
73332
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-CygMSQUK.js");
73297
73333
  const sessionState = getDiagnosticSessionState({
73298
73334
  sessionKey: args.ctx.sessionKey,
73299
73335
  sessionId: args.ctx?.agentId
@@ -91337,7 +91373,7 @@ async function deliverSessionMaintenanceWarning(params) {
91337
91373
  return;
91338
91374
  }
91339
91375
  try {
91340
- const { deliverOutboundPayloads } = await import("./deliver-NrIHn0__.js").then((n) => n.n);
91376
+ const { deliverOutboundPayloads } = await import("./deliver-PdH-MCq8.js").then((n) => n.n);
91341
91377
  const outboundSession = buildOutboundSessionContext({
91342
91378
  cfg: params.cfg,
91343
91379
  sessionKey: params.sessionKey
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { r as resolveAgentConfig } from "./agent-scope-_j3fIYCK.js";
2
+ import { r as resolveAgentConfig } from "./agent-scope-DT5pxpJB.js";
3
3
 
4
4
  //#region src/agents/identity.ts
5
5
  const DEFAULT_ACK_REACTION = "👀";
@@ -1,5 +1,5 @@
1
- import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-BpHAMNJ1.js";
2
- import { n as missingTargetError } from "./target-errors-0u6pegQv.js";
1
+ import { F as normalizeWhatsAppTarget, P as isWhatsAppGroupJid } from "./plugins-DF_dKXTR.js";
2
+ import { n as missingTargetError } from "./target-errors-QZay02Cv.js";
3
3
 
4
4
  //#region src/whatsapp/resolve-outbound-target.ts
5
5
  function resolveWhatsAppOutboundTarget(params) {
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { c as normalizeAgentId, f as sanitizeAgentId, i as buildAgentPeerSessionKey, m as normalizeAccountId, n as DEFAULT_MAIN_KEY, p as DEFAULT_ACCOUNT_ID, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID } from "./session-key-CVIXEtLx.js";
3
- import { p as shouldLogVerbose } from "./subsystem-B0V8LFBA.js";
4
- import { c as resolveDefaultAgentId } from "./agent-scope-_j3fIYCK.js";
5
- import { t as logDebug } from "./logger-CNhs9eKJ.js";
3
+ import { p as shouldLogVerbose } from "./subsystem-CM1s2lDT.js";
4
+ import { c as resolveDefaultAgentId } from "./agent-scope-DT5pxpJB.js";
5
+ import { t as logDebug } from "./logger-Cr-x0vMf.js";
6
6
  import { t as normalizeChatType } from "./chat-type-C4pAlbsI.js";
7
- import { n as listBindings } from "./bindings-CxxzC7gn.js";
7
+ import { n as listBindings } from "./bindings-BSfhEjKN.js";
8
8
 
9
9
  //#region src/routing/resolve-route.ts
10
10
  var resolve_route_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { y as sleep } from "./utils-BfVxx6bk.js";
1
+ import { y as sleep } from "./utils-BcL6KGZf.js";
2
2
 
3
3
  //#region src/infra/retry.ts
4
4
  const DEFAULT_RETRY_CONFIG = {