wednesdayai 0.5.1-dev.4 → 0.5.1-dev.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (262) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  3. package/dist/plugin-sdk/{agent-scope-BntS_qwq.js → agent-scope-BwrU3hdj.js} +2 -2
  4. package/dist/plugin-sdk/{agent-scope-CFW5ldmo.js → agent-scope-TP3VeVXz.js} +2 -2
  5. package/dist/plugin-sdk/agent-turn-execute-Cce6XX-x.js +64 -0
  6. package/dist/plugin-sdk/agent-turn-execute-QUgsxv1P.js +64 -0
  7. package/dist/plugin-sdk/{agent-turn-runner-CAcj7_Y_.js → agent-turn-runner-BTTRSKwn.js} +7 -7
  8. package/dist/plugin-sdk/agent-turn-runner-D3UmlMEE.js +11 -0
  9. package/dist/plugin-sdk/{agent-turn-runner-BedHKKTA.js → agent-turn-runner-EloA-ngm.js} +7 -7
  10. package/dist/plugin-sdk/{api-key-rotation-BxhP_yog.js → api-key-rotation-4v1TX-Ws.js} +2 -2
  11. package/dist/plugin-sdk/{api-key-rotation-B_0yiHst.js → api-key-rotation-AzSUwXL4.js} +2 -2
  12. package/dist/plugin-sdk/audio-preflight-A8qP8lUV.js +31 -0
  13. package/dist/plugin-sdk/{audio-preflight-DnSQiHZq.js → audio-preflight-CIbD3Xbl.js} +24 -24
  14. package/dist/plugin-sdk/{audio-preflight-BT0IByBo.js → audio-preflight-jDFgI1f_.js} +2 -2
  15. package/dist/plugin-sdk/{audio-transcription-runner-CoOlZM2R.js → audio-transcription-runner-BLJIB3ZW.js} +11 -11
  16. package/dist/plugin-sdk/{audio-transcription-runner-tFHwPYyZ.js → audio-transcription-runner-BV6mgvKd.js} +12 -12
  17. package/dist/plugin-sdk/{auth-profiles-CsZjDRcG.js → auth-profiles-C1pJPdvd.js} +4 -4
  18. package/dist/plugin-sdk/{auth-profiles-BqbRQTQJ.js → auth-profiles-CtjMIn_l.js} +4 -4
  19. package/dist/plugin-sdk/{channel-activity-Dp4CE_ch.js → channel-activity-B_6qtTG4.js} +3 -3
  20. package/dist/plugin-sdk/{channel-activity-BcF2Y_zX.js → channel-activity-gtDRfKPp.js} +3 -3
  21. package/dist/plugin-sdk/{chat-content-BH8ndgOw.js → chat-content-BsqurQQQ.js} +13 -13
  22. package/dist/plugin-sdk/{chrome-RtbcTThi.js → chrome-DlRKh9lL.js} +5 -5
  23. package/dist/plugin-sdk/{chrome-BVB9Mwgh.js → chrome-_RqjLetF.js} +13 -13
  24. package/dist/plugin-sdk/{chunk-CKsBY7Vk.js → chunk-B_4cunUj.js} +4 -4
  25. package/dist/plugin-sdk/{chunk-3IsNnAQx.js → chunk-BwUvzg1r.js} +5 -5
  26. package/dist/plugin-sdk/{chunk-tixHeLu8.js → chunk-aGO7kHLH.js} +3 -3
  27. package/dist/plugin-sdk/{command-detection-uevZPnA1.js → command-detection-yvJR3y9x.js} +86 -86
  28. package/dist/plugin-sdk/{command-queue-L4l_SVOU.js → command-queue-BIt2YLUc.js} +7 -7
  29. package/dist/plugin-sdk/{command-queue-CIi5vHsL.js → command-queue-CYajBD9R.js} +1 -1
  30. package/dist/plugin-sdk/{command-queue-vzG7C13f.js → command-queue-hfxtV2VZ.js} +2 -2
  31. package/dist/plugin-sdk/{commands-registry-B6HlXATT.js → commands-registry-B4iFZoJp.js} +2 -2
  32. package/dist/plugin-sdk/{commands-registry-Dwt0CYv2.js → commands-registry-DoQyGrD1.js} +3 -3
  33. package/dist/plugin-sdk/{commands-registry-pi8AmhLU.js → commands-registry-smH4Pt3V.js} +5 -5
  34. package/dist/plugin-sdk/{config-BlovpRkr.js → config-BCC2evTy.js} +6 -6
  35. package/dist/plugin-sdk/deliver-BF4o4_Om.js +35 -0
  36. package/dist/plugin-sdk/{deliver-toZqd8Zh.js → deliver-C8XnLLmN.js} +14 -14
  37. package/dist/plugin-sdk/{deliver-BtOENUiW.js → deliver-CVhbA8ZW.js} +14 -14
  38. package/dist/plugin-sdk/deliver-ChO-3nNl.js +35 -0
  39. package/dist/plugin-sdk/{diagnostic-C9RXYDrV.js → diagnostic-CN6oMklk.js} +7 -7
  40. package/dist/plugin-sdk/{diagnostic-DkJb7Zrm.js → diagnostic-D6R7K0ew.js} +6 -6
  41. package/dist/plugin-sdk/{diagnostic-BJkmWwdS.js → diagnostic-DRP5KdyK.js} +5 -5
  42. package/dist/plugin-sdk/{diagnostic-session-state-DXwkkGHl.js → diagnostic-session-state-B7xgL4EH.js} +1 -1
  43. package/dist/plugin-sdk/{errors-Dvgol7qW.js → errors-CJaXhYu_.js} +1 -1
  44. package/dist/plugin-sdk/{errors-EN4sbefW.js → errors-DpdRHNmy.js} +1 -1
  45. package/dist/plugin-sdk/{fetch-DczihS8f.js → fetch-BxGrbtmv.js} +1 -1
  46. package/dist/plugin-sdk/{fetch-C2CyW7ho.js → fetch-CtOWHleE.js} +7 -7
  47. package/dist/plugin-sdk/{fetch-guard-CwnyN9xD.js → fetch-guard-CD_yGfZE.js} +4 -4
  48. package/dist/plugin-sdk/{fetch-guard-DlplGuvc.js → fetch-guard-MO5BZ0Dq.js} +3 -3
  49. package/dist/plugin-sdk/{fetch-timeout-BuuSnNb6.js → fetch-timeout-Dkh_eUF5.js} +1 -1
  50. package/dist/plugin-sdk/{fs-safe-BhD_zSpP.js → fs-safe-B5q3Ro0t.js} +3 -3
  51. package/dist/plugin-sdk/{fs-safe-Qut4VUn8.js → fs-safe-CR39I5to.js} +3 -3
  52. package/dist/plugin-sdk/{image-ops-IXNGoKAc.js → image-ops-DwbVAes_.js} +1 -1
  53. package/dist/plugin-sdk/{image-ops-BroD2WjS.js → image-ops-H-vPWGJL.js} +1 -1
  54. package/dist/plugin-sdk/{inbound-context-BZc81v9_.js → inbound-context-Cj1CW24W.js} +1 -1
  55. package/dist/plugin-sdk/index.js +56 -56
  56. package/dist/plugin-sdk/{ir-C_Z6Frew.js → ir-1hIR4EkI.js} +5 -5
  57. package/dist/plugin-sdk/{ir-BNx43gmh.js → ir-BhuKIc3K.js} +5 -5
  58. package/dist/plugin-sdk/{local-roots-COMd_udK.js → local-roots-go0E-zDs.js} +7 -7
  59. package/dist/plugin-sdk/{logger-D3WPxGxp.js → logger-DyKgSZpY.js} +1 -1
  60. package/dist/plugin-sdk/{logger-DYxRK_FZ.js → logger-F5PKgK4h.js} +1 -1
  61. package/dist/plugin-sdk/manager-9--A8CC8.js +16 -0
  62. package/dist/plugin-sdk/{manager-BhIQFB5_.js → manager-Bv-WYxKr.js} +7 -7
  63. package/dist/plugin-sdk/{manager-Ba1vAXCS.js → manager-DGe7Goo3.js} +7 -7
  64. package/dist/plugin-sdk/manager-DZRns-zT.js +16 -0
  65. package/dist/plugin-sdk/{markdown-tables-Cut6dFwp.js → markdown-tables-BzFyeRbZ.js} +2 -2
  66. package/dist/plugin-sdk/{markdown-tables-6i8RKKOg.js → markdown-tables-DOSfK4q-.js} +3 -3
  67. package/dist/plugin-sdk/markdown-tables-eRpnazxM.js +9 -0
  68. package/dist/plugin-sdk/{models-config-DXZfAqEq.js → models-config-DgkkafOG.js} +2 -2
  69. package/dist/plugin-sdk/{models-config-5o62EXeP.js → models-config-DpPIXvsk.js} +2 -2
  70. package/dist/plugin-sdk/{outbound-attachment-BWjKbOK8.js → outbound-attachment-BEtnw2Ma.js} +2 -2
  71. package/dist/plugin-sdk/{outbound-attachment-D4dIr_aY.js → outbound-attachment-BLUVbZYd.js} +2 -2
  72. package/dist/plugin-sdk/{outbound-message-hooks-BEVCcXT2.js → outbound-message-hooks-BLhxw7i-.js} +4 -4
  73. package/dist/plugin-sdk/{path-alias-guards-DXmARbM6.js → path-alias-guards-BCIRwyTT.js} +1 -1
  74. package/dist/plugin-sdk/{path-alias-guards-Cr_8wxeu.js → path-alias-guards-DvB3vS9N.js} +1 -1
  75. package/dist/plugin-sdk/{pi-embedded-helpers-CwQOU3Fg.js → pi-embedded-helpers-CQABRu8W.js} +13 -13
  76. package/dist/plugin-sdk/{pi-embedded-utils-BBfWJHzr.js → pi-embedded-utils-BBZ7A53G.js} +3 -3
  77. package/dist/plugin-sdk/{pi-embedded-utils-Bjg5xZhD.js → pi-embedded-utils-CtJvy4lZ.js} +3 -3
  78. package/dist/plugin-sdk/{pi-model-discovery-BkZDn3Gx.js → pi-model-discovery-CKdqFvN5.js} +1 -1
  79. package/dist/plugin-sdk/{pi-model-discovery-WnMW5Ivk.js → pi-model-discovery-DEbpDNUd.js} +2 -2
  80. package/dist/plugin-sdk/{pi-model-discovery-voChsPIr.js → pi-model-discovery-eL65YdmU.js} +5 -5
  81. package/dist/plugin-sdk/provider-dispatcher-Bxwph08R.js +64 -0
  82. package/dist/plugin-sdk/provider-dispatcher-DkrRNMRt.js +64 -0
  83. package/dist/plugin-sdk/provider-image-B3c4WxLc.js +25 -0
  84. package/dist/plugin-sdk/provider-image-CgjlJoRM.js +25 -0
  85. package/dist/plugin-sdk/{provider-image-CzPKvVDD.js → provider-image-D68je2De.js} +6 -6
  86. package/dist/plugin-sdk/{provider-image-BpqD6iNd.js → provider-image-mA_fjICs.js} +6 -6
  87. package/dist/plugin-sdk/proxy-BFnRHQ1U.js +7 -0
  88. package/dist/plugin-sdk/{proxy-DL66TxEc.js → proxy-DaxTPcTO.js} +2 -2
  89. package/dist/plugin-sdk/{proxy-K3jUjtIm.js → proxy-DhVCl72V.js} +1 -1
  90. package/dist/plugin-sdk/{proxy-env-BxT9DAJM.js → proxy-env-Jn7VToae.js} +1 -1
  91. package/dist/plugin-sdk/{proxy-fetch-Dt3HV6r3.js → proxy-fetch-BSTGvynk.js} +1 -1
  92. package/dist/plugin-sdk/{proxy-fetch-COwQOlkE.js → proxy-fetch-BU0BahZR.js} +1 -1
  93. package/dist/plugin-sdk/{pw-ai-CEnuiS0b.js → pw-ai-DKeznbXF.js} +10 -10
  94. package/dist/plugin-sdk/{pw-ai-JTlxM4Ca.js → pw-ai-DKs5DLHf.js} +10 -10
  95. package/dist/plugin-sdk/{qmd-manager-Dhk5jUWF.js → qmd-manager-D4Sr189L.js} +8 -8
  96. package/dist/plugin-sdk/{qmd-manager-3BvkxX1K.js → qmd-manager-gObDFq48.js} +8 -8
  97. package/dist/plugin-sdk/{query-expansion-C5IjN8UN.js → query-expansion-DgBrAu_0.js} +2 -2
  98. package/dist/plugin-sdk/{query-expansion-C-2YFmhb.js → query-expansion-DnOhfOZI.js} +2 -2
  99. package/dist/plugin-sdk/{recorder-DbuLLtvO.js → recorder-BYD1AFnJ.js} +2 -2
  100. package/dist/plugin-sdk/{recorder-3slDSZHg.js → recorder-CQfs9NgO.js} +2 -2
  101. package/dist/plugin-sdk/{redact-BsKvnSMw.js → redact-9t-aGcjC.js} +1 -1
  102. package/dist/plugin-sdk/{redact-DHoeX993.js → redact-D8RbIpnX.js} +1 -1
  103. package/dist/plugin-sdk/{registry-BTK650xq.js → registry-D4bdZvb5.js} +6 -6
  104. package/dist/plugin-sdk/{replies-BdqyZKr_.js → replies-5EATH7iw.js} +5 -5
  105. package/dist/plugin-sdk/replies-BAlKdkc_.js +27 -0
  106. package/dist/plugin-sdk/{replies-CRq1-NLj.js → replies-C4D9qN4L.js} +5 -5
  107. package/dist/plugin-sdk/replies-DjseHhhD.js +27 -0
  108. package/dist/plugin-sdk/{reply-directives-CBRF9XxL.js → reply-directives-BpuvbctR.js} +2 -2
  109. package/dist/plugin-sdk/{reply-directives-Dmi1oUMc.js → reply-directives-BubE1FgU.js} +2 -2
  110. package/dist/plugin-sdk/{reply-prefix-7vW2SpGf.js → reply-prefix-At8R1bbk.js} +2 -2
  111. package/dist/plugin-sdk/{reply-prefix-DYqhul2m.js → reply-prefix-B9hDFdUH.js} +1 -1
  112. package/dist/plugin-sdk/reply-prefix-Dad1_NtZ.js +7 -0
  113. package/dist/plugin-sdk/{resolve-route-CV47F1Ku.js → resolve-route-BE3czYlJ.js} +5 -5
  114. package/dist/plugin-sdk/{resolve-route-Chk1jdvx.js → resolve-route-BMibXRvM.js} +4 -4
  115. package/dist/plugin-sdk/{resolve-route-_hRHHPvb.js → resolve-route-CfUBkFIi.js} +5 -5
  116. package/dist/plugin-sdk/runs-9EpmaU8B.js +27 -0
  117. package/dist/plugin-sdk/runs-C3bPlBvH.js +27 -0
  118. package/dist/plugin-sdk/{runs-BIleHXMn.js → runs-D1qOdhcO.js} +9 -9
  119. package/dist/plugin-sdk/{runs-CiVTcjCP.js → runs-DobCXCqw.js} +8 -8
  120. package/dist/plugin-sdk/send-6D7GAGnF.js +25 -0
  121. package/dist/plugin-sdk/{send-Bp7OXuxt.js → send-B1YGtsp5.js} +8 -8
  122. package/dist/plugin-sdk/send-B7_JrwGp.js +23 -0
  123. package/dist/plugin-sdk/{send-DLOdG87V.js → send-BMsI1uD6.js} +15 -15
  124. package/dist/plugin-sdk/{send-Cxlw65vp.js → send-BZT1qn7s.js} +7 -7
  125. package/dist/plugin-sdk/{send-Bk3noDDx.js → send-BhHEk8tc.js} +19 -19
  126. package/dist/plugin-sdk/send-BvcZlEsm.js +24 -0
  127. package/dist/plugin-sdk/{send-Ci7zIMvq.js → send-C7FC2_Q1.js} +14 -14
  128. package/dist/plugin-sdk/send-CHwonc2U.js +23 -0
  129. package/dist/plugin-sdk/send-CZJOwT5g.js +28 -0
  130. package/dist/plugin-sdk/{send-B2IZ4oJh.js → send-CkImeWwo.js} +6 -6
  131. package/dist/plugin-sdk/send-D5B_iaha.js +24 -0
  132. package/dist/plugin-sdk/{send-CXDGSlxk.js → send-DLq_SulC.js} +8 -8
  133. package/dist/plugin-sdk/{send-9utMN023.js → send-DUsgxmrg.js} +20 -20
  134. package/dist/plugin-sdk/{send-dOtZKtyg.js → send-DgXK2Sht.js} +6 -6
  135. package/dist/plugin-sdk/send-DrqMoTV8.js +25 -0
  136. package/dist/plugin-sdk/{send-BWBUpUnp.js → send-L3EZWgk1.js} +9 -9
  137. package/dist/plugin-sdk/send-TpHwYJfZ.js +28 -0
  138. package/dist/plugin-sdk/{send-r5pqYGvb.js → send-VBsAVV5D.js} +6 -6
  139. package/dist/plugin-sdk/{send-5OUVkrXG.js → send-oZMPIUyN.js} +7 -7
  140. package/dist/plugin-sdk/{session-context-DNxZT-oO.js → session-context-B4yjRyYg.js} +4 -4
  141. package/dist/plugin-sdk/{session-meta-CDira0a-.js → session-meta-BmyS0vEB.js} +2 -2
  142. package/dist/plugin-sdk/session-meta-DV9wvzqd.js +13 -0
  143. package/dist/plugin-sdk/{session-meta-DZgrfRW1.js → session-meta-q4p2AM36.js} +1 -1
  144. package/dist/plugin-sdk/{sessions-DCdCZifY.js → sessions-32S3hO1_.js} +4 -4
  145. package/dist/plugin-sdk/{sessions-BROdQX63.js → sessions-kCKcUu0G.js} +4 -4
  146. package/dist/plugin-sdk/skill-commands-BPPFG0Wf.js +13 -0
  147. package/dist/plugin-sdk/{skill-commands-b3iSl0Nm.js → skill-commands-BpuutYdB.js} +4 -4
  148. package/dist/plugin-sdk/{skill-commands-BI2J0zJw.js → skill-commands-By1EYgDs.js} +5 -5
  149. package/dist/plugin-sdk/{skills-BOyYIe1f.js → skills-BMgm-BbH.js} +6 -6
  150. package/dist/plugin-sdk/{skills-C4ypwCPM.js → skills-C8I00Q-d.js} +6 -6
  151. package/dist/plugin-sdk/{ssrf-Dcn7oAbr.js → ssrf-DhXDGxCV.js} +1 -1
  152. package/dist/plugin-sdk/{store-u0-QqQaA.js → store-8-4eifYe.js} +2 -2
  153. package/dist/plugin-sdk/{store-Cj2e3_LE.js → store-DTS2orWI.js} +2 -2
  154. package/dist/plugin-sdk/subagent-registry-8GitpDxd.js +64 -0
  155. package/dist/plugin-sdk/subagent-registry-Tm7ptjnY.js +64 -0
  156. package/dist/plugin-sdk/{subsystem-CPqF9wja.js → subsystem-C-lWCqvG.js} +4 -4
  157. package/dist/plugin-sdk/{subsystem-P3MeMKnQ.js → subsystem-C4zZI3bH.js} +4 -4
  158. package/dist/plugin-sdk/{tables-Zpn3VFzD.js → tables-BDQxqINo.js} +1 -1
  159. package/dist/plugin-sdk/{tables-CCGvyRLO.js → tables-Cgw43QUG.js} +1 -1
  160. package/dist/plugin-sdk/testing.js +57 -57
  161. package/dist/plugin-sdk/{tokens-CaPkWfh4.js → tokens-C7h_latl.js} +1 -1
  162. package/dist/plugin-sdk/{tokens-DdbQh5HH.js → tokens-Ctmmv-sn.js} +1 -1
  163. package/dist/plugin-sdk/{tool-loop-detection-Cl-kndb5.js → tool-loop-detection-D71m0Vho.js} +1 -1
  164. package/dist/plugin-sdk/{tool-loop-detection-DazBiexb.js → tool-loop-detection-ys8oxWQM.js} +1 -1
  165. package/dist/plugin-sdk/{tools-5PLHgm1q.js → tools-Dqiu5Rtk.js} +103 -103
  166. package/dist/plugin-sdk/user-run-recording-DcFi_O_v.js +11 -0
  167. package/dist/plugin-sdk/{user-run-recording-BMIGojZU.js → user-run-recording-jrX94Xgo.js} +3 -3
  168. package/dist/plugin-sdk/{user-run-recording-fIo7R6gu.js → user-run-recording-sYzx_YS9.js} +2 -2
  169. package/extensions/acpx/package.json +1 -1
  170. package/extensions/anthropic/package.json +1 -1
  171. package/extensions/bifrost/package.json +1 -1
  172. package/extensions/bluebubbles/package.json +1 -1
  173. package/extensions/copilot-proxy/package.json +1 -1
  174. package/extensions/deepgram/package.json +1 -1
  175. package/extensions/deepinfra/package.json +1 -1
  176. package/extensions/diagnostics-otel/package.json +1 -1
  177. package/extensions/diffs/package.json +1 -1
  178. package/extensions/discord/package.json +1 -1
  179. package/extensions/dream-cycle/package.json +1 -1
  180. package/extensions/elevenlabs/package.json +1 -1
  181. package/extensions/feishu/package.json +1 -1
  182. package/extensions/gemini-search/package.json +1 -1
  183. package/extensions/google/package.json +1 -1
  184. package/extensions/google-gemini-cli-auth/package.json +1 -1
  185. package/extensions/googlechat/package.json +1 -1
  186. package/extensions/grok-search/package.json +1 -1
  187. package/extensions/groq/package.json +1 -1
  188. package/extensions/imessage/package.json +1 -1
  189. package/extensions/irc/package.json +1 -1
  190. package/extensions/kimi-search/package.json +1 -1
  191. package/extensions/learning-core/package.json +1 -1
  192. package/extensions/line/package.json +1 -1
  193. package/extensions/llm-task/package.json +1 -1
  194. package/extensions/lobster/package.json +1 -1
  195. package/extensions/matrix/CHANGELOG.md +1 -1
  196. package/extensions/matrix/package.json +1 -1
  197. package/extensions/mattermost/package.json +1 -1
  198. package/extensions/memory-core/package.json +1 -1
  199. package/extensions/memory-lancedb/package.json +1 -1
  200. package/extensions/minimax/package.json +1 -1
  201. package/extensions/minimax-portal-auth/package.json +1 -1
  202. package/extensions/mistral/package.json +1 -1
  203. package/extensions/moonshot/package.json +1 -1
  204. package/extensions/msteams/CHANGELOG.md +1 -1
  205. package/extensions/msteams/package.json +1 -1
  206. package/extensions/nextcloud-talk/package.json +1 -1
  207. package/extensions/nostr/CHANGELOG.md +1 -1
  208. package/extensions/nostr/package.json +1 -1
  209. package/extensions/open-prose/package.json +1 -1
  210. package/extensions/openai/package.json +1 -1
  211. package/extensions/openai-realtime/package.json +1 -1
  212. package/extensions/openrouter/package.json +1 -1
  213. package/extensions/perplexity-search/package.json +1 -1
  214. package/extensions/searxng-search/package.json +1 -1
  215. package/extensions/signal/package.json +1 -1
  216. package/extensions/slack/package.json +1 -1
  217. package/extensions/synology-chat/package.json +1 -1
  218. package/extensions/telegram/package.json +1 -1
  219. package/extensions/tlon/package.json +1 -1
  220. package/extensions/twitch/CHANGELOG.md +1 -1
  221. package/extensions/twitch/package.json +1 -1
  222. package/extensions/voice-call/CHANGELOG.md +1 -1
  223. package/extensions/voice-call/package.json +1 -1
  224. package/extensions/whatsapp/package.json +1 -1
  225. package/extensions/zai/package.json +1 -1
  226. package/extensions/zalo/CHANGELOG.md +1 -1
  227. package/extensions/zalo/package.json +1 -1
  228. package/extensions/zalouser/CHANGELOG.md +1 -1
  229. package/extensions/zalouser/package.json +1 -1
  230. package/package.json +2 -1
  231. package/dist/plugin-sdk/agent-turn-execute-BwFp-5vp.js +0 -64
  232. package/dist/plugin-sdk/agent-turn-execute-DxPLVY2Z.js +0 -64
  233. package/dist/plugin-sdk/agent-turn-runner-BMtReBBg.js +0 -11
  234. package/dist/plugin-sdk/audio-preflight-Clg9co00.js +0 -31
  235. package/dist/plugin-sdk/deliver-YSn1a0jh.js +0 -35
  236. package/dist/plugin-sdk/deliver-Ylr7F4Jx.js +0 -35
  237. package/dist/plugin-sdk/manager-BF7Nh56D.js +0 -16
  238. package/dist/plugin-sdk/manager-CAtCdTlQ.js +0 -16
  239. package/dist/plugin-sdk/markdown-tables-DFhDdoLc.js +0 -9
  240. package/dist/plugin-sdk/provider-dispatcher-BWeMuUya.js +0 -64
  241. package/dist/plugin-sdk/provider-dispatcher-DHxWVUdq.js +0 -64
  242. package/dist/plugin-sdk/provider-image-CTV791nD.js +0 -25
  243. package/dist/plugin-sdk/provider-image-DWd6BVaa.js +0 -25
  244. package/dist/plugin-sdk/proxy-LKdqVD6u.js +0 -7
  245. package/dist/plugin-sdk/replies-cDhzGDSg.js +0 -27
  246. package/dist/plugin-sdk/replies-tFoggbkQ.js +0 -27
  247. package/dist/plugin-sdk/reply-prefix-DnBHHOzt.js +0 -7
  248. package/dist/plugin-sdk/runs-BN8_iCtN.js +0 -27
  249. package/dist/plugin-sdk/runs-CvXF3S03.js +0 -27
  250. package/dist/plugin-sdk/send-BF-hOuvi.js +0 -25
  251. package/dist/plugin-sdk/send-BgxlAosd.js +0 -28
  252. package/dist/plugin-sdk/send-C63J3Amu.js +0 -23
  253. package/dist/plugin-sdk/send-CDpa5Qcp.js +0 -28
  254. package/dist/plugin-sdk/send-D1nrYA_Q.js +0 -23
  255. package/dist/plugin-sdk/send-DCajCBVK.js +0 -24
  256. package/dist/plugin-sdk/send-RbfGqemm.js +0 -25
  257. package/dist/plugin-sdk/send-cNXgIKQA.js +0 -24
  258. package/dist/plugin-sdk/session-meta-cpZsNDnJ.js +0 -13
  259. package/dist/plugin-sdk/skill-commands-C2k-S4-3.js +0 -13
  260. package/dist/plugin-sdk/subagent-registry-DAjLze-9.js +0 -64
  261. package/dist/plugin-sdk/subagent-registry-DWVCwaRZ.js +0 -64
  262. package/dist/plugin-sdk/user-run-recording-BwYDxsDO.js +0 -11
@@ -1,8 +1,8 @@
1
- import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-BxT9DAJM.js";
2
- import { ai as normalizeIpAddress, ei as isIpInCidr, en as loadConfig, ii as isPrivateOrLoopbackIpAddress, ri as isLoopbackIpAddress } from "./registry-BTK650xq.js";
3
- import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-P3MeMKnQ.js";
4
- import { s as isErrno } from "./errors-EN4sbefW.js";
5
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BhD_zSpP.js";
1
+ import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-Jn7VToae.js";
2
+ import { ai as normalizeIpAddress, ei as isIpInCidr, en as loadConfig, ii as isPrivateOrLoopbackIpAddress, ri as isLoopbackIpAddress } from "./registry-D4bdZvb5.js";
3
+ import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-C4zZI3bH.js";
4
+ import { s as isErrno } from "./errors-CJaXhYu_.js";
5
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-B5q3Ro0t.js";
6
6
  import path from "node:path";
7
7
  import { createHmac } from "node:crypto";
8
8
  import fs from "node:fs";
@@ -12,7 +12,7 @@ import { execFileSync, spawn } from "node:child_process";
12
12
  import net from "node:net";
13
13
  import http, { createServer } from "node:http";
14
14
  import https from "node:https";
15
- import WebSocket, { WebSocketServer } from "ws";
15
+ import WebSocket$1, { WebSocketServer } from "ws";
16
16
  import { Buffer as Buffer$1 } from "node:buffer";
17
17
 
18
18
  //#region src/browser/constants.ts
@@ -648,7 +648,7 @@ async function ensureChromeExtensionRelayServer(opts) {
648
648
  let extensionWs = null;
649
649
  const cdpClients = /* @__PURE__ */ new Set();
650
650
  const connectedTargets = /* @__PURE__ */ new Map();
651
- const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
651
+ const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
652
652
  const hasConnectedTargets = () => connectedTargets.size > 0;
653
653
  let extensionDisconnectCleanupTimer = null;
654
654
  const extensionReconnectWaiters = /* @__PURE__ */ new Set();
@@ -700,7 +700,7 @@ async function ensureChromeExtensionRelayServer(opts) {
700
700
  let nextExtensionId = 1;
701
701
  const sendToExtension = async (payload) => {
702
702
  const ws = extensionWs;
703
- if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
703
+ if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
704
704
  ws.send(JSON.stringify(payload));
705
705
  return await new Promise((resolve, reject) => {
706
706
  const timer = setTimeout(() => {
@@ -717,12 +717,12 @@ async function ensureChromeExtensionRelayServer(opts) {
717
717
  const broadcastToCdpClients = (evt) => {
718
718
  const msg = JSON.stringify(evt);
719
719
  for (const ws of cdpClients) {
720
- if (ws.readyState !== WebSocket.OPEN) continue;
720
+ if (ws.readyState !== WebSocket$1.OPEN) continue;
721
721
  ws.send(msg);
722
722
  }
723
723
  };
724
724
  const sendResponseToCdp = (ws, res) => {
725
- if (ws.readyState !== WebSocket.OPEN) return;
725
+ if (ws.readyState !== WebSocket$1.OPEN) return;
726
726
  ws.send(JSON.stringify(res));
727
727
  };
728
728
  const dropConnectedTargetSession = (sessionId) => {
@@ -976,7 +976,7 @@ async function ensureChromeExtensionRelayServer(opts) {
976
976
  rejectUpgrade(socket, 401, "Unauthorized");
977
977
  return;
978
978
  }
979
- if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
979
+ if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
980
980
  try {
981
981
  extensionWs.terminate();
982
982
  } catch {}
@@ -1009,7 +1009,7 @@ async function ensureChromeExtensionRelayServer(opts) {
1009
1009
  clearExtensionDisconnectCleanupTimer();
1010
1010
  flushExtensionReconnectWaiters(true);
1011
1011
  const ping = setInterval(() => {
1012
- if (ws.readyState !== WebSocket.OPEN) return;
1012
+ if (ws.readyState !== WebSocket$1.OPEN) return;
1013
1013
  ws.send(JSON.stringify({ method: "ping" }));
1014
1014
  }, 5e3);
1015
1015
  ws.on("message", (data) => {
@@ -1365,7 +1365,7 @@ function openCdpWebSocket(wsUrl, opts) {
1365
1365
  const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
1366
1366
  const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
1367
1367
  const agent = getDirectAgentForCdp(wsUrl);
1368
- return new WebSocket(wsUrl, {
1368
+ return new WebSocket$1(wsUrl, {
1369
1369
  handshakeTimeout: handshakeTimeoutMs,
1370
1370
  ...Object.keys(headers).length ? { headers } : {},
1371
1371
  ...agent ? { agent } : {}
@@ -1,7 +1,7 @@
1
- import { f as __exportAll } from "./proxy-env-BxT9DAJM.js";
2
- import { Mt as resolveAccountEntry, Rt as INTERNAL_MESSAGE_CHANNEL } from "./registry-BTK650xq.js";
3
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-P3MeMKnQ.js";
4
- import { tt as normalizeAccountId } from "./agent-scope-BntS_qwq.js";
1
+ import { f as __exportAll } from "./proxy-env-Jn7VToae.js";
2
+ import { Mt as resolveAccountEntry, Rt as INTERNAL_MESSAGE_CHANNEL } from "./registry-D4bdZvb5.js";
3
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-C4zZI3bH.js";
4
+ import { tt as normalizeAccountId } from "./agent-scope-BwrU3hdj.js";
5
5
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-BltFuU5F.js";
6
6
 
7
7
  //#region src/auto-reply/chunk.ts
@@ -1,9 +1,9 @@
1
1
  import "./paths-oi7j9L8A.js";
2
- import "./subsystem-CPqF9wja.js";
3
- import "./agent-scope-CFW5ldmo.js";
4
- import "./config-BlovpRkr.js";
2
+ import "./subsystem-C-lWCqvG.js";
3
+ import "./agent-scope-TP3VeVXz.js";
4
+ import "./config-BCC2evTy.js";
5
5
  import "./github-copilot-token-BnKQ-aRX.js";
6
- import "./logger-DYxRK_FZ.js";
7
- import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, r as chunkByParagraph, s as chunkTextWithMode, t as __resetChunkDeliveryDeprecationStateForTests, u as resolveChunkNewlinePacking } from "./chunk-tixHeLu8.js";
6
+ import "./logger-F5PKgK4h.js";
7
+ import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, r as chunkByParagraph, s as chunkTextWithMode, t as __resetChunkDeliveryDeprecationStateForTests, u as resolveChunkNewlinePacking } from "./chunk-aGO7kHLH.js";
8
8
 
9
9
  export { __resetChunkDeliveryDeprecationStateForTests, chunkByNewline, chunkByParagraph, chunkMarkdownText, chunkMarkdownTextWithMode, chunkText, chunkTextWithMode, resolveChunkDelivery, resolveChunkMode, resolveChunkNewlinePacking, resolveTextChunkLimit };
@@ -1,6 +1,6 @@
1
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-CPqF9wja.js";
2
- import { nt as normalizeAccountId } from "./agent-scope-CFW5ldmo.js";
3
- import { Ei as INTERNAL_MESSAGE_CHANNEL, bi as resolveAccountEntry } from "./config-BlovpRkr.js";
1
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-C-lWCqvG.js";
2
+ import { nt as normalizeAccountId } from "./agent-scope-TP3VeVXz.js";
3
+ import { Ei as INTERNAL_MESSAGE_CHANNEL, bi as resolveAccountEntry } from "./config-BCC2evTy.js";
4
4
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-CTMKhqLk.js";
5
5
 
6
6
  //#region src/auto-reply/chunk.ts
@@ -1,79 +1,79 @@
1
1
  import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, n as STATE_DIR, o as resolveGatewayPort, r as resolveConfigPath, u as expandHomePrefix } from "./paths-oi7j9L8A.js";
2
- import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$3, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-CPqF9wja.js";
2
+ import { $ as resolveUserPath, Ct as normalizeLogLevel, G as formatTerminalLink, K as isRecord$1, M as normalizeWindowsPathForComparison, P as isDangerousHostEnvVarName, S as openBoundaryFileSync, U as ensureDir$3, V as clampInt, W as escapeRegExp, Y as normalizeE164, _t as theme, a as createNonExitingRuntime, c as registerActiveProgressLine, dt as setVerbose, ft as shouldLogVerbose, gt as isRich, h as INCLUDE_KEY, ht as colorize, it as sliceUtf16Safe, l as unregisterActiveProgressLine, lt as logVerbose, mt as warn, nt as shortenHomePath, o as defaultRuntime, ot as truncateUtf16Safe, rt as sleep$3, s as clearActiveProgressLine, st as danger, t as createSubsystemLogger, tt as shortenHomeInString, u as appendFileLog, v as isBlockedObjectKey, vt as getChildLogger, wt as resolvePreferredOpenClawTmpDir, x as openBoundaryFile, z as CONFIG_DIR } from "./subsystem-C-lWCqvG.js";
3
3
  import { t as isPlainObject } from "./plain-object-BTbonVRI.js";
4
- import { $ as sessionKeyAgentMatches, A as resolveAgentModelFallbackValues, B as classifySessionKeyShape, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as isValidAgentId, J as resolveAgentIdFromSessionKey, K as normalizeAgentId, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sanitizeAgentId, S as filterBootstrapFilesForSession, W as isKnownAgentMainSessionKey, X as resolveConfiguredCanonicalIdentity, Y as resolveCanonicalIdentity, Z as resolveThreadSessionKeys, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, ct as getSubagentDepth, d as resolveSessionAgentId, dt as isSubagentSessionKey, et as toAgentStoreSessionKey, f as resolveSessionAgentIds, ft as parseAgentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isAcpSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as normalizeAccountId$3, o as resolveAgentSkillsFilter, ot as WAKE_GATE_SESSION_KEY_SEGMENT, pt as resolveThreadParentSessionKey, q as normalizeMainKey, r as resolveAgentConfig, rt as normalizeOptionalAccountId, s as resolveAgentWorkspaceDir, st as deriveSessionChatType, t as hasConfiguredModelFallbacks, tt as DEFAULT_ACCOUNT_ID, u as resolveRunModelFallbacksOverride, ut as isCronSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-CFW5ldmo.js";
5
- import { $a as parseModelRef, $o as resolveAuthStorePathForDisplay, Aa as unwrapKnownDispatchWrapperInvocation, Ai as isMarkdownCapableMessageChannel, Ao as markAuthProfileUsed, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveSlackNativeStreaming, Bi as resolveSessionLockMaxHoldFromTimeout, Bn as resolveGroupSessionKey, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as DEFAULT_SAFE_BINS, Ci as mergeDeliveryContext, Cn as mergeSessionEntry, Co as resolveModelAuthMode, Cr as normalizeAtHashSlug, Cs as isTruthyEnvValue, Ct as normalizeAnyChannelId, Da as extractShellWrapperInlineCommand, Di as isDeliverableMessageChannel, Dn as parseSessionIndexRecordKey, Do as getSoonestCooldownExpiry, Dr as createTelegramActionGate, Dt as getActiveGatewayPluginRegistry, Ea as resolveCommandResolutionFromArgv, Ei as INTERNAL_MESSAGE_CHANNEL, En as parseDurationMs, Er as normalizeStringEntriesLower, Et as resolveChannelConfigId, Fa as resolveSafeBinProfiles, Fi as GATEWAY_CLIENT_IDS, Fn as resolveSessionFilePathOptions, Fo as describeUnknownError$1, Ft as createPluginRegistry, Ga as buildAllowedModelSet, Go as resolveCliName, Gr as listEnabledSignalAccounts, Hn as listChannelPlugins, Hr as resolveSlackReplyToMode, Ht as matchPluginCommand, Ia as applyMergePatch, Ii as GATEWAY_CLIENT_MODES, In as resolveSessionTranscriptPath, Io as isNonEmptyString, It as normalizePluginHttpPath, Ja as findNormalizedProviderValue, Ji as optionalStringEnum, Jo as dedupeProfileIds, Jr as resolveSignalAccount, Ka as buildConfiguredAllowlistKeys, Ki as channelTargetSchema, La as isSafeExecutableValue, Li as GATEWAY_CLIENT_NAMES, Lo as isRecord$2, Lt as buildPluginHealthReport, Ma as splitShellArgs, Mi as normalizeMessageChannel, Mn as SESSION_RUN_STORE_FILE_NAME, Mo as resolveApiKeyForProfile, Mr as resolveTelegramToken, Mt as setActivePluginRegistry, Na as SAFE_BIN_PROFILES, Ni as resolveGatewayMessageChannel, Nr as buildChannelAccountBindings, Nt as addRegisteredPluginApi, Oa as isDispatchWrapperExecutable, Oi as isGatewayMessageChannel, Oo as isProfileInCooldown, Or as listEnabledTelegramAccounts, Ot as getActivePluginRegistry, Pa as normalizeSafeBinProfileFixtures, Pi as resolveMessageChannel, Pn as resolveSessionFilePath, Po as resolveSecretRefValues, Pt as clearRegisteredPluginApis, Qa as normalizeProviderId, Qi as actionRequiresTarget, Ra as mapStreamingModeToSlackLegacyDraftStreamMode, Ri as normalizeAccountId$4, Rn as resolveStorePath, Ro as parseDotPath, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as splitCommandChain, Si as deliveryContextKey, Sn as DEFAULT_RESET_TRIGGERS, So as resolveEnvApiKey, Ss as resolveShellEnvFallbackTimeoutMs, St as listChatChannels, Ta as resolveAllowlistCandidatePath, Ti as normalizeSessionDeliveryFields, Tn as setSessionRuntimeModel, Tr as normalizeStringEntries, Ts as resolveOwnerDisplaySetting, Tt as normalizeChatChannelId, Ua as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Un as normalizeChannelId$1, Uo as runTasksWithConcurrency, Ur as resolveSlackAppToken, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as resolveSlackStreamingMode, Vi as readTaskWorkStates, Vn as getChannelPlugin, Vo as secretRefKey, Vr as resolveSlackAccount, Vt as listPluginCommands, Wa as resolveAgentMaxConcurrent, Wo as formatCliCommand, Wr as resolveSlackBotToken, Xa as modelKey, Xi as applyTargetToParams, Xo as markAuthProfileGood, Ya as isCliProvider, Yi as stringEnum, Yo as listProfilesForProvider, Za as normalizeModelRef$2, Zi as actionHasTarget, Zo as ensureAuthProfileStore, _ as resolveTelegramCustomCommands, _a as normalizeTrustedSafeBinDirs, _i as resolveChannelGroupRequireMention, _n as refreshConfiguredSessionBindingEntry, _o as buildUsageWithNoCost, _s as DEFAULT_CONTEXT_TOKENS, _t as safeStatSync, a as writeConfigFile, aa as RecoveryAdmissionError, ao as resolveThinkingDefault, ar as getChannelDock, as as readProcessElapsedSeconds, at as isPathWithinRoot, ba as buildEnforcedShellCommand, bi as resolveAccountEntry, bn as updateSessionStoreEntry, bo as requireApiKey, bs as VERSION, bt as CHAT_CHANNEL_ORDER, ca as setConfigOverride, cn as closeReplacedConfiguredSessionStorageRuntime, cr as normalizeSignalMessagingTarget, cs as normalizeSecretInput, ct as loadPluginManifestRegistry, da as parseConfigPath, do as retryAsync, ds as hasConfiguredSecretInput, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as resolveConfiguredModelRef, er as parseSlackTarget, es as resolveOpenClawAgentDir, fa as setConfigValueAtPath, fi as listEnabledDiscordAccounts, fn as loadSessionStore, fo as OLLAMA_NATIVE_BASE_URL, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as listWritableExplicitTrustedSafeBinDirs, gi as resolveChannelGroupPolicy, gn as recordSessionMetaFromInbound, go as buildStreamErrorAssistantMessage, gs as splitTrailingAuthProfile, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as isTrustedSafeBinPath, hi as normalizeDiscordToken, hn as readSessionUpdatedAt, ho as buildAssistantMessageWithZeroUsage, hs as resolveSecretInputRef, ht as discoverOpenClawPlugins, ia as replaceBufferedPluginTaskPasses, in as getConversationReadQuery, io as resolveSubagentSpawnModelSelection, is as isPidAlive, it as isAvatarHttpUrl, ja as unwrapKnownShellMultiplexerInvocation, ji as listDeliverableMessageChannels, jn as SAFE_SESSION_ID_RE, jo as resolveProfilesUnavailableReason, jr as resolveTelegramAccount, jt as requireActivePluginRegistry, ka as isShellWrapperExecutable, ki as isInternalMessageChannel, ko as markAuthProfileFailure, kr as listTelegramAccountIds, kt as getActivePluginRegistryKey, la as unsetConfigOverride, li as resolveIMessageAccount, ln as commitPreparedConfiguredSessionStorageRuntimeActivation, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as getTrustedSafeBinDirs, mi as resolveDiscordAccount, mn as prepareConfiguredSessionStorageRuntimeActivation, mo as buildAssistantMessage, mt as resolveMemorySlotDecision, n as loadConfig, na as discardBufferedPluginTaskPasses, ni as normalizeWhatsAppTarget, nn as StorageReadAccessError, no as resolveModelRefFromString, ns as withFileLock, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as getConfigOverrides, oi as resolveWhatsAppAccount, on as requireSessionStorageRuntime, or as listChannelDocks, os as resolveAuthProfileDisplayLabel, ot as isSupportedLocalAvatarExtension, pa as unsetConfigValueAtPath, pn as loadSessionStoreFromDisk, po as createOllamaStreamFn, ps as normalizeResolvedSecretInputString, pt as resolveEffectiveEnableState, qa as buildModelAliasIndex, qi as channelTargetsSchema, r as readConfigFileSnapshot, ra as listBufferedPluginTaskPasses, ri as hasAnyWhatsAppAuth, rn as createConversationReadQuery, ro as resolveReasoningDefault, rs as resolveProcessScopedMap, rt as isAvatarDataUrl, sa as resetConfigOverrides, sn as closeConfiguredSessionStorageRuntime, st as validateJsonSchemaValue, ti as isWhatsAppGroupJid, tn as triggerInternalHook, to as resolveDefaultModelForAgent, tr as resolveSlackChannelId, ua as getConfigValueAtPath, ui as createDiscordActionGate, un as getConfiguredSessionStorageRuntime, us as coerceSecretRef, ut as applyTestPluginDefaults, va as validateSafeBinArgv, vi as resolveChannelGroupToolsPolicy, vn as updateLastRoute, vo as getApiKeyForModel, vs as DEFAULT_MODEL, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as matchAllowlist, wi as normalizeDeliveryContext, wn as resolveFreshSessionTotalTokens, wo as resolveAuthProfileOrder, wr as normalizeHyphenSlug, ws as parseBooleanValue$1, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as isWindowsPlatform, xi as deliveryContextFromSession, xo as resolveApiKeyForProvider, xs as getShellPathFromLoginShell, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as analyzeShellCommand, yn as updateSessionStore, yo as getCustomProviderApiKey, ys as DEFAULT_PROVIDER, za as resolveDiscordPreviewStreamMode, zi as acquireSessionWriteLock, zn as deriveSessionMetaPatch, zt as executePluginCommand } from "./config-BlovpRkr.js";
4
+ import { $ as sessionKeyAgentMatches, A as resolveAgentModelFallbackValues, B as classifySessionKeyShape, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as isValidAgentId, J as resolveAgentIdFromSessionKey, K as normalizeAgentId, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sanitizeAgentId, S as filterBootstrapFilesForSession, W as isKnownAgentMainSessionKey, X as resolveConfiguredCanonicalIdentity, Y as resolveCanonicalIdentity, Z as resolveThreadSessionKeys, _ as DEFAULT_IDENTITY_FILENAME, c as resolveDefaultAgentId, ct as getSubagentDepth, d as resolveSessionAgentId, dt as isSubagentSessionKey, et as toAgentStoreSessionKey, f as resolveSessionAgentIds, ft as parseAgentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isAcpSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as normalizeAccountId$3, o as resolveAgentSkillsFilter, ot as WAKE_GATE_SESSION_KEY_SEGMENT, pt as resolveThreadParentSessionKey, q as normalizeMainKey, r as resolveAgentConfig, rt as normalizeOptionalAccountId, s as resolveAgentWorkspaceDir, st as deriveSessionChatType, t as hasConfiguredModelFallbacks, tt as DEFAULT_ACCOUNT_ID, u as resolveRunModelFallbacksOverride, ut as isCronSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace } from "./agent-scope-TP3VeVXz.js";
5
+ import { $a as parseModelRef, $o as resolveAuthStorePathForDisplay, Aa as unwrapKnownDispatchWrapperInvocation, Ai as isMarkdownCapableMessageChannel, Ao as markAuthProfileUsed, B as ASSISTANT_IDENTITY_COLORS, Ba as resolveSlackNativeStreaming, Bi as resolveSessionLockMaxHoldFromTimeout, Bn as resolveGroupSessionKey, Bt as getPluginCommandSpecs, C as normalizeScpRemoteHost, Ca as DEFAULT_SAFE_BINS, Ci as mergeDeliveryContext, Cn as mergeSessionEntry, Co as resolveModelAuthMode, Cr as normalizeAtHashSlug, Cs as isTruthyEnvValue, Ct as normalizeAnyChannelId, Da as extractShellWrapperInlineCommand, Di as isDeliverableMessageChannel, Dn as parseSessionIndexRecordKey, Do as getSoonestCooldownExpiry, Dr as createTelegramActionGate, Dt as getActiveGatewayPluginRegistry, Ea as resolveCommandResolutionFromArgv, Ei as INTERNAL_MESSAGE_CHANNEL, En as parseDurationMs, Er as normalizeStringEntriesLower, Et as resolveChannelConfigId, Fa as resolveSafeBinProfiles, Fi as GATEWAY_CLIENT_IDS, Fn as resolveSessionFilePathOptions, Fo as describeUnknownError$1, Ft as createPluginRegistry, Ga as buildAllowedModelSet, Go as resolveCliName, Gr as listEnabledSignalAccounts, Hn as listChannelPlugins, Hr as resolveSlackReplyToMode, Ht as matchPluginCommand, Ia as applyMergePatch, Ii as GATEWAY_CLIENT_MODES, In as resolveSessionTranscriptPath, Io as isNonEmptyString, It as normalizePluginHttpPath, Ja as findNormalizedProviderValue, Ji as optionalStringEnum, Jo as dedupeProfileIds, Jr as resolveSignalAccount, Ka as buildConfiguredAllowlistKeys, Ki as channelTargetSchema, La as isSafeExecutableValue, Li as GATEWAY_CLIENT_NAMES, Lo as isRecord$2, Lt as buildPluginHealthReport, Ma as splitShellArgs, Mi as normalizeMessageChannel, Mn as SESSION_RUN_STORE_FILE_NAME, Mo as resolveApiKeyForProfile, Mr as resolveTelegramToken, Mt as setActivePluginRegistry, Na as SAFE_BIN_PROFILES, Ni as resolveGatewayMessageChannel, Nr as buildChannelAccountBindings, Nt as addRegisteredPluginApi, Oa as isDispatchWrapperExecutable, Oi as isGatewayMessageChannel, Oo as isProfileInCooldown, Or as listEnabledTelegramAccounts, Ot as getActivePluginRegistry, Pa as normalizeSafeBinProfileFixtures, Pi as resolveMessageChannel, Pn as resolveSessionFilePath, Po as resolveSecretRefValues, Pt as clearRegisteredPluginApis, Qa as normalizeProviderId, Qi as actionRequiresTarget, Ra as mapStreamingModeToSlackLegacyDraftStreamMode, Ri as normalizeAccountId$4, Rn as resolveStorePath, Ro as parseDotPath, Rt as clearPluginCommands, S as resolveIMessageRemoteAttachmentRoots, Sa as splitCommandChain, Si as deliveryContextKey, Sn as DEFAULT_RESET_TRIGGERS, So as resolveEnvApiKey, Ss as resolveShellEnvFallbackTimeoutMs, St as listChatChannels, Ta as resolveAllowlistCandidatePath, Ti as normalizeSessionDeliveryFields, Tn as setSessionRuntimeModel, Tr as normalizeStringEntries, Ts as resolveOwnerDisplaySetting, Tt as normalizeChatChannelId, Ua as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, Un as normalizeChannelId$1, Uo as runTasksWithConcurrency, Ur as resolveSlackAppToken, Ut as registerPluginCommand, V as resolveExecPolicyPreset, Va as resolveSlackStreamingMode, Vi as readTaskWorkStates, Vn as getChannelPlugin, Vo as secretRefKey, Vr as resolveSlackAccount, Vt as listPluginCommands, Wa as resolveAgentMaxConcurrent, Wo as formatCliCommand, Wr as resolveSlackBotToken, Xa as modelKey, Xi as applyTargetToParams, Xo as markAuthProfileGood, Ya as isCliProvider, Yi as stringEnum, Yo as listProfilesForProvider, Za as normalizeModelRef$2, Zi as actionHasTarget, Zo as ensureAuthProfileStore, _ as resolveTelegramCustomCommands, _a as normalizeTrustedSafeBinDirs, _i as resolveChannelGroupRequireMention, _n as refreshConfiguredSessionBindingEntry, _o as buildUsageWithNoCost, _s as DEFAULT_CONTEXT_TOKENS, _t as safeStatSync, a as writeConfigFile, aa as RecoveryAdmissionError, ao as resolveThinkingDefault, ar as getChannelDock, as as readProcessElapsedSeconds, at as isPathWithinRoot, ba as buildEnforcedShellCommand, bi as resolveAccountEntry, bn as updateSessionStoreEntry, bo as requireApiKey, bs as VERSION, bt as CHAT_CHANNEL_ORDER, ca as setConfigOverride, cn as closeReplacedConfiguredSessionStorageRuntime, cr as normalizeSignalMessagingTarget, cs as normalizeSecretInput, ct as loadPluginManifestRegistry, da as parseConfigPath, do as retryAsync, ds as hasConfiguredSecretInput, dt as isBundledChannelEnabledByChannelConfig, en as createInternalHookEvent, eo as resolveConfiguredModelRef, er as parseSlackTarget, es as resolveOpenClawAgentDir, fa as setConfigValueAtPath, fi as listEnabledDiscordAccounts, fn as loadSessionStore, fo as OLLAMA_NATIVE_BASE_URL, ft as normalizePluginsConfig, g as normalizeTelegramCommandName, ga as listWritableExplicitTrustedSafeBinDirs, gi as resolveChannelGroupPolicy, gn as recordSessionMetaFromInbound, go as buildStreamErrorAssistantMessage, gs as splitTrailingAuthProfile, gt as isPathInside, h as TELEGRAM_COMMAND_NAME_PATTERN, ha as isTrustedSafeBinPath, hi as normalizeDiscordToken, hn as readSessionUpdatedAt, ho as buildAssistantMessageWithZeroUsage, hs as resolveSecretInputRef, ht as discoverOpenClawPlugins, ia as replaceBufferedPluginTaskPasses, in as getConversationReadQuery, io as resolveSubagentSpawnModelSelection, is as isPidAlive, it as isAvatarHttpUrl, ja as unwrapKnownShellMultiplexerInvocation, ji as listDeliverableMessageChannels, jn as SAFE_SESSION_ID_RE, jo as resolveProfilesUnavailableReason, jr as resolveTelegramAccount, jt as requireActivePluginRegistry, ka as isShellWrapperExecutable, ki as isInternalMessageChannel, ko as markAuthProfileFailure, kr as listTelegramAccountIds, kt as getActivePluginRegistryKey, la as unsetConfigOverride, li as resolveIMessageAccount, ln as commitPreparedConfiguredSessionStorageRuntimeActivation, lt as BUNDLED_ENABLED_BY_DEFAULT, ma as getTrustedSafeBinDirs, mi as resolveDiscordAccount, mn as prepareConfiguredSessionStorageRuntimeActivation, mo as buildAssistantMessage, mt as resolveMemorySlotDecision, n as loadConfig, na as discardBufferedPluginTaskPasses, ni as normalizeWhatsAppTarget, nn as StorageReadAccessError, no as resolveModelRefFromString, ns as withFileLock, nt as AVATAR_MAX_BYTES, o as validateConfigObjectWithPlugins, oa as getConfigOverrides, oi as resolveWhatsAppAccount, on as requireSessionStorageRuntime, or as listChannelDocks, os as resolveAuthProfileDisplayLabel, ot as isSupportedLocalAvatarExtension, pa as unsetConfigValueAtPath, pn as loadSessionStoreFromDisk, po as createOllamaStreamFn, ps as normalizeResolvedSecretInputString, pt as resolveEffectiveEnableState, qa as buildModelAliasIndex, qi as channelTargetsSchema, r as readConfigFileSnapshot, ra as listBufferedPluginTaskPasses, ri as hasAnyWhatsAppAuth, rn as createConversationReadQuery, ro as resolveReasoningDefault, rs as resolveProcessScopedMap, rt as isAvatarDataUrl, sa as resetConfigOverrides, sn as closeConfiguredSessionStorageRuntime, st as validateJsonSchemaValue, ti as isWhatsAppGroupJid, tn as triggerInternalHook, to as resolveDefaultModelForAgent, tr as resolveSlackChannelId, ua as getConfigValueAtPath, ui as createDiscordActionGate, un as getConfiguredSessionStorageRuntime, us as coerceSecretRef, ut as applyTestPluginDefaults, va as validateSafeBinArgv, vi as resolveChannelGroupToolsPolicy, vn as updateLastRoute, vo as getApiKeyForModel, vs as DEFAULT_MODEL, vt as readManifestNamespace, w as parseNonNegativeByteSize, wa as matchAllowlist, wi as normalizeDeliveryContext, wn as resolveFreshSessionTotalTokens, wo as resolveAuthProfileOrder, wr as normalizeHyphenSlug, ws as parseBooleanValue$1, wt as normalizeChannelId$2, x as resolveIMessageAttachmentRoots, xa as isWindowsPlatform, xi as deliveryContextFromSession, xo as resolveApiKeyForProvider, xs as getShellPathFromLoginShell, xt as getChatChannelMeta, y as isInboundPathAllowed, ya as analyzeShellCommand, yn as updateSessionStore, yo as getCustomProviderApiKey, ys as DEFAULT_PROVIDER, za as resolveDiscordPreviewStreamMode, zi as acquireSessionWriteLock, zn as deriveSessionMetaPatch, zt as executePluginCommand } from "./config-BCC2evTy.js";
6
6
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BnKQ-aRX.js";
7
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DYxRK_FZ.js";
7
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-F5PKgK4h.js";
8
8
  import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-DA_qUFFI.js";
9
- import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-CXDGSlxk.js";
10
- import { A as eventOrder, At as resolveExplicitAgentSessionKey, C as buildPluginRuntimeIdentity, Ct as evaluateSessionFreshness, Dt as resolveThreadFlag, E as resolveProviderRuntimeIdentity, Et as resolveSessionResetType, G as deriveLegacyActorIdentity, H as buildEqualityProjection, I as validateCtxStorage, J as sanitizeJsonb, K as sanitizeAppendEntry, L as TASK_RUN_MODES, M as parseInlineDirectives$1, Mt as isPrimarySessionTranscriptFileName, N as createSessionStorageRuntimeFromConfig, Nt as isSessionArchiveArtifactName, Ot as canonicalizeMainSessionAlias, P as resolveSessionStorageConfig, R as TASK_RUN_STATUSES, S as promptBuildResultToContribution, St as resolveSessionKey, T as resolveProviderPromptCacheKey, Tt as resolveSessionResetPolicy, U as CREATE_CTX_STORAGE_OWNER_SQL, W as HIDDEN_HEARTBEAT_CUSTOM_TYPE, X as userIdFromSessionKey, Y as sha256, Z as createCurrentUserPromptEnvelope, _ as normalizeInputProvenance, _t as deriveSessionTotalTokens, a as resolveMirroredTranscriptText, at as renderInboundUserContext, b as initializeGlobalHookRunner, bt as normalizeUsage, c as drainPendingPrimaryWrites, ct as isRepresentableEpochMs, d as sanitizeToolCallInputs, dt as formatMessageStamp, et as mergePromptContributions, f as sanitizeToolUseResultPairing, g as hasInterSessionUserProvenance, gt as derivePromptTokens, h as INPUT_PROVENANCE_KIND_VALUES, ht as resolveSenderLabel, i as appendAssistantMessageToSessionTranscript, it as collectInboundUserContext, j as pickLeaf, jt as resolveMainSessionKey, k as DB_SESSION_HYDRATION_LIMIT, kt as resolveAgentMainSessionKey, l as guardSessionManager, lt as messageTime, m as sanitizeToolCallIdsForCloudCodeAssist, mt as resolveTimezone, n as parseSessionThreadInfo, o as openDbSessionManager, ot as attachMessageIngress, p as stripToolResultDetails, pt as formatZonedTimestamp, q as extractLegacyTranscriptEntryFields, r as resolveAndPersistSessionFile, rt as buildInboundMetaSystemPrompt, s as runSerializedBySession, st as getMessageIngress, t as extractDeliveryInfo, tt as toJsonValue$1, u as repairToolUseResultPairing, ut as stripMessageCarriers, v as getGlobalHookRunner, vt as hasNonzeroUsage, w as buildPluginTurnIdentity, wt as resolveChannelResetConfig, x as hasHookForPlugin, xt as SESSION_RUN_STATUSES, y as getGlobalPluginRegistry, yt as makeZeroUsageSnapshot } from "./sessions-DCdCZifY.js";
9
+ import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, At as resolveChannelEntryMatchWithFallback, B as removeRoleDiscord, C as fetchMessageDiscord, Ct as resolveDiscordSystemLocation, D as readMessagesDiscord, Dt as buildChannelKeyCandidates, E as pinMessageDiscord, Et as applyChannelMatchMeta, F as fetchRoleInfoDiscord, G as createChannelDiscord, H as listGuildEmojisDiscord, I as fetchVoiceStatusDiscord, J as moveChannelDiscord, K as deleteChannelDiscord, L as kickMemberDiscord, M as createScheduledEventDiscord, N as fetchChannelInfoDiscord, O as searchMessagesDiscord, Ot as normalizeChannelSlug, P as fetchMemberInfoDiscord, R as listGuildChannelsDiscord, S as editMessageDiscord, St as formatDiscordUserTag, T as listThreadsDiscord, Tt as fetchDiscord, U as uploadEmojiDiscord, V as timeoutMemberDiscord, W as uploadStickerDiscord, X as setChannelPermissionDiscord, Y as removeChannelPermissionDiscord, Z as stripUndefinedFields, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as createThreadDiscord, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as createDiscordRestClient, j as banMemberDiscord, k as unpinMessageDiscord, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as chunkDiscordTextWithMode, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as editChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as listPinsDiscord, wt as resolveTimestampMs, x as deleteMessageDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listScheduledEventsDiscord } from "./send-DLq_SulC.js";
10
+ import { A as eventOrder, At as resolveExplicitAgentSessionKey, C as buildPluginRuntimeIdentity, Ct as evaluateSessionFreshness, Dt as resolveThreadFlag, E as resolveProviderRuntimeIdentity, Et as resolveSessionResetType, G as deriveLegacyActorIdentity, H as buildEqualityProjection, I as validateCtxStorage, J as sanitizeJsonb, K as sanitizeAppendEntry, L as TASK_RUN_MODES, M as parseInlineDirectives$1, Mt as isPrimarySessionTranscriptFileName, N as createSessionStorageRuntimeFromConfig, Nt as isSessionArchiveArtifactName, Ot as canonicalizeMainSessionAlias, P as resolveSessionStorageConfig, R as TASK_RUN_STATUSES, S as promptBuildResultToContribution, St as resolveSessionKey, T as resolveProviderPromptCacheKey, Tt as resolveSessionResetPolicy, U as CREATE_CTX_STORAGE_OWNER_SQL, W as HIDDEN_HEARTBEAT_CUSTOM_TYPE, X as userIdFromSessionKey, Y as sha256, Z as createCurrentUserPromptEnvelope, _ as normalizeInputProvenance, _t as deriveSessionTotalTokens, a as resolveMirroredTranscriptText, at as renderInboundUserContext, b as initializeGlobalHookRunner, bt as normalizeUsage, c as drainPendingPrimaryWrites, ct as isRepresentableEpochMs, d as sanitizeToolCallInputs, dt as formatMessageStamp, et as mergePromptContributions, f as sanitizeToolUseResultPairing, g as hasInterSessionUserProvenance, gt as derivePromptTokens, h as INPUT_PROVENANCE_KIND_VALUES, ht as resolveSenderLabel, i as appendAssistantMessageToSessionTranscript, it as collectInboundUserContext, j as pickLeaf, jt as resolveMainSessionKey, k as DB_SESSION_HYDRATION_LIMIT, kt as resolveAgentMainSessionKey, l as guardSessionManager, lt as messageTime, m as sanitizeToolCallIdsForCloudCodeAssist, mt as resolveTimezone, n as parseSessionThreadInfo, o as openDbSessionManager, ot as attachMessageIngress, p as stripToolResultDetails, pt as formatZonedTimestamp, q as extractLegacyTranscriptEntryFields, r as resolveAndPersistSessionFile, rt as buildInboundMetaSystemPrompt, s as runSerializedBySession, st as getMessageIngress, t as extractDeliveryInfo, tt as toJsonValue$1, u as repairToolUseResultPairing, ut as stripMessageCarriers, v as getGlobalHookRunner, vt as hasNonzeroUsage, w as buildPluginTurnIdentity, wt as resolveChannelResetConfig, x as hasHookForPlugin, xt as SESSION_RUN_STATUSES, y as getGlobalPluginRegistry, yt as makeZeroUsageSnapshot } from "./sessions-32S3hO1_.js";
11
11
  import { a as isDiagnosticsEnabled, i as emitDiagnosticEvent } from "./diagnostic-events-Ba8-RH3Z.js";
12
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-BsKvnSMw.js";
13
- import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-Dvgol7qW.js";
12
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-9t-aGcjC.js";
13
+ import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-DpdRHNmy.js";
14
14
  import { n as onSessionTranscriptUpdate } from "./transcript-events-C9cNWasT.js";
15
15
  import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BZzAoyap.js";
16
16
  import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BAyIy498.js";
17
- import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-Dp4CE_ch.js";
17
+ import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-B_6qtTG4.js";
18
18
  import { t as buildOutboundMediaLoadOptions } from "./load-options-DNSaiajj.js";
19
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cr_8wxeu.js";
20
- import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-Qut4VUn8.js";
21
- 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-IXNGoKAc.js";
22
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-DlplGuvc.js";
23
- import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-Dcn7oAbr.js";
24
- import { r as makeProxyFetch } from "./proxy-fetch-Dt3HV6r3.js";
19
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DvB3vS9N.js";
20
+ import { i as openFileWithinRoot, l as writeFileWithinRoot, n as copyFileWithinRoot, o as readFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CR39I5to.js";
21
+ 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-H-vPWGJL.js";
22
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-MO5BZ0Dq.js";
23
+ import { a as isBlockedHostnameOrIp, l as normalizeHostname, t as SsrFBlockedError } from "./ssrf-DhXDGxCV.js";
24
+ import { r as makeProxyFetch } from "./proxy-fetch-BSTGvynk.js";
25
25
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-r2f8797y.js";
26
- import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-COMd_udK.js";
27
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BNx43gmh.js";
26
+ import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-go0E-zDs.js";
27
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-BhuKIc3K.js";
28
28
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-CTMKhqLk.js";
29
- import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-tixHeLu8.js";
30
- import { t as resolveMarkdownTableMode } from "./markdown-tables-Cut6dFwp.js";
31
- import { t as convertMarkdownTables } from "./tables-Zpn3VFzD.js";
32
- import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-CAcj7_Y_.js";
33
- import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-dOtZKtyg.js";
34
- import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, Ct as firstDefined$1, D as registerAccount, E as recordWebhook, Et as resolveGroupAllowFromSources, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as releaseAccountOwner, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as getTelegramFleetSupervisor, St as listPairingChannels, T as recordUpdate, Tt as mergeDmAllowFromSources, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as removeChannelAllowFromStoreEntry, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as wrapFileReferencesInHtml, bt as writeJsonFileAtomically, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as extractTelegramErrorText, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, h as isTelegramClientRejection, ht as readChannelAllowFromStore, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as addChannelAllowFromStoreEntry, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as upsertChannelPairingRequest, w as recordState, wt as isSenderIdAllowed, x as fingerprintTelegramToken, xt as getPairingAdapter, y as renderTelegramHtmlText, yt as readJsonFileWithFallback, z as buildTelegramGroupPeerId } from "./send-Ci7zIMvq.js";
29
+ import { a as chunkMarkdownTextWithMode, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownText, l as resolveChunkMode, n as chunkByNewline, o as chunkText, s as chunkTextWithMode, u as resolveChunkNewlinePacking } from "./chunk-aGO7kHLH.js";
30
+ import { t as resolveMarkdownTableMode } from "./markdown-tables-BzFyeRbZ.js";
31
+ import { t as convertMarkdownTables } from "./tables-BDQxqINo.js";
32
+ import { a as enqueueAgentTurn, c as peekDelayedAgentTurn, i as clearDelayedReleaseHold, l as setDelayedReleaseHold, n as tryGetAgentTurnRuntime, o as isClaimableAgentTurnWorkId, p as KeyedAsyncQueue, r as agentTurnIdempotencyKey, s as mergeDelayedAgentTurn, t as getAgentTurnRuntime, u as WORKSPACE_LANE_DENIED_REASON } from "./agent-turn-runner-BTTRSKwn.js";
33
+ import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-DgXK2Sht.js";
34
+ import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, Ct as firstDefined$1, D as registerAccount, E as recordWebhook, Et as resolveGroupAllowFromSources, F as buildGroupLabel, G as extractTelegramLocation, H as buildTypingThreadParams, I as buildSenderLabel, J as resolveTelegramDirectPeerId, K as hasBotMention, L as buildSenderName, M as withTelegramApiErrorLogging, N as loadCronStore, O as releaseAccountOwner, P as resolveCronStorePath, Q as resolveTelegramReplyId, R as buildTelegramGroupFrom, S as getTelegramFleetSupervisor, St as listPairingChannels, T as recordUpdate, Tt as mergeDmAllowFromSources, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as removeChannelAllowFromStoreEntry, a as reactMessageTelegram, at as isVoiceCompatibleAudio, b as wrapFileReferencesInHtml, bt as writeJsonFileAtomically, c as sendStickerTelegram, ct as resolveTelegramTargetChatType, d as extractTelegramErrorText, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, g as isTelegramEditMayHaveLandedError, h as isTelegramClientRejection, ht as readChannelAllowFromStore, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as addChannelAllowFromStoreEntry, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, p as isRecoverableTelegramNetworkError, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as parseTelegramTarget, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as upsertChannelPairingRequest, w as recordState, wt as isSenderIdAllowed, x as fingerprintTelegramToken, xt as getPairingAdapter, y as renderTelegramHtmlText, yt as readJsonFileWithFallback, z as buildTelegramGroupPeerId } from "./send-C7FC2_Q1.js";
35
35
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-6tlCSeCB.js";
36
- import { $ as resolveToolProfilePolicy, A as parseImageSizeError, B as resolveProfile, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as resolveSandboxContext, G as applyOwnerOnlyToolPolicy, H as ensureBrowserControlAuth, I as resolveSandboxRuntimeStatus, J as expandPolicyWithPluginGroups, K as buildPluginToolGroups, L as createBrowserRouteContext, M as isAuthPermanentErrorMessage, N as isTimeoutErrorMessage, O as isTransientHttpError, P as ensureSandboxWorkspaceForSession, Q as normalizeToolName, R as registerBrowserRoutes, S as isContextOverflowError, T as isLikelyContextOverflowError, U as resolveBrowserControlAuth, V as getBridgeAuthForPort, W as resolveSandboxConfigForAgent, X as stripPluginOnlyAllowlist, Y as mergeAlsoAllowPolicy, Z as expandToolGroups, _ as getApiErrorPayloadFingerprint, at as sanitizeGoogleTurnOrdering, b as isCloudCodeAssistFormatError, c as sanitizeSessionMessagesImages, ct as sanitizeImageBlocks, d as isGoogleModelApi, dt as canonicalizeBase64, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as estimateBase64DecodedBytes, g as formatRawAssistantErrorForUi, h as formatBillingErrorMessage, i as pickFallbackThinkingLevel, it as resolveBootstrapTotalMaxChars, j as sanitizeUserFacingText, k as parseImageDimensionError, l as downgradeOpenAIFunctionCallReasoningPairs, lt as sanitizeToolResultImages, m as formatAssistantErrorText, n as validateAnthropicTurns, nt as buildBootstrapContextFiles, o as isMessagingToolDuplicateNormalized, ot as resolveGatewayCredentialsFromConfig, p as classifyFailoverReason, q as collectExplicitAllowlist, r as validateGeminiTurns, rt as resolveBootstrapMaxChars, s as normalizeTextForComparison, st as trimToUndefined$1, t as extractTextFromChatContent, tt as matchesAnyGlobPattern, u as downgradeOpenAIReasoningBlocks, ut as resolveImageSanitizationLimits, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError, z as resolveBrowserConfig } from "./chat-content-BH8ndgOw.js";
37
- import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-Cxlw65vp.js";
38
- import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-CoOlZM2R.js";
39
- import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-DYqhul2m.js";
40
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-DdbQh5HH.js";
41
- import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-b3iSl0Nm.js";
42
- import { a as skillsSnapshotSourceDiffers, 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-BOyYIe1f.js";
43
- import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-RtbcTThi.js";
44
- import { A as normalizeTargetForProvider, C as isRenderablePayload, D as resolveReplyToMode, E as createReplyToModeFilterForChannel, M as transcriptEntriesToMessages, O as buildTargetResolverSignature, S as filterMessagingToolMediaDuplicates, T as shouldSuppressReasoningPayload, _ as sleepWithAbort, a as normalizeReplyPayloadsForDelivery, b as applyReplyThreading, c as loadCombinedSessionStoreForGateway, d as countToolResults, f as extractToolCallNames, g as computeBackoff, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as readFullTranscriptEntriesFromBackend, k as normalizeChannelTargetInput, l as capArrayByJsonBytes, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as stripLeadingInboundMetadata, v as loadChannelOutboundAdapter, w as shouldSuppressMessagingToolReplies, x as filterMessagingToolDuplicates, y as applyReplyTagsToPayload } from "./deliver-BtOENUiW.js";
45
- import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-DNxZT-oO.js";
46
- import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-Cj2e3_LE.js";
47
- import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-B6HlXATT.js";
36
+ import { $ as resolveToolProfilePolicy, A as parseImageSizeError, B as resolveProfile, C as isFailoverAssistantError, D as isRawApiErrorPayload, E as isRateLimitAssistantError, F as resolveSandboxContext, G as applyOwnerOnlyToolPolicy, H as ensureBrowserControlAuth, I as resolveSandboxRuntimeStatus, J as expandPolicyWithPluginGroups, K as buildPluginToolGroups, L as createBrowserRouteContext, M as isAuthPermanentErrorMessage, N as isTimeoutErrorMessage, O as isTransientHttpError, P as ensureSandboxWorkspaceForSession, Q as normalizeToolName, R as registerBrowserRoutes, S as isContextOverflowError, T as isLikelyContextOverflowError, U as resolveBrowserControlAuth, V as getBridgeAuthForPort, W as resolveSandboxConfigForAgent, X as stripPluginOnlyAllowlist, Y as mergeAlsoAllowPolicy, Z as expandToolGroups, _ as getApiErrorPayloadFingerprint, at as sanitizeGoogleTurnOrdering, b as isCloudCodeAssistFormatError, c as sanitizeSessionMessagesImages, ct as sanitizeImageBlocks, d as isGoogleModelApi, dt as canonicalizeBase64, et as compileGlobPatterns, f as BILLING_ERROR_USER_MESSAGE, ft as estimateBase64DecodedBytes, g as formatRawAssistantErrorForUi, h as formatBillingErrorMessage, i as pickFallbackThinkingLevel, it as resolveBootstrapTotalMaxChars, j as sanitizeUserFacingText, k as parseImageDimensionError, l as downgradeOpenAIFunctionCallReasoningPairs, lt as sanitizeToolResultImages, m as formatAssistantErrorText, n as validateAnthropicTurns, nt as buildBootstrapContextFiles, o as isMessagingToolDuplicateNormalized, ot as resolveGatewayCredentialsFromConfig, p as classifyFailoverReason, q as collectExplicitAllowlist, r as validateGeminiTurns, rt as resolveBootstrapMaxChars, s as normalizeTextForComparison, st as trimToUndefined$1, t as extractTextFromChatContent, tt as matchesAnyGlobPattern, u as downgradeOpenAIReasoningBlocks, ut as resolveImageSanitizationLimits, v as isAuthAssistantError, w as isFailoverErrorMessage, x as isCompactionFailureError, y as isBillingAssistantError, z as resolveBrowserConfig } from "./chat-content-BsqurQQQ.js";
37
+ import { a as createSlackWebClient, c as validateSlackBlocksArray, i as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, r as normalizeSlackOutboundText, s as parseSlackBlocksInput, t as sendMessageSlack } from "./send-BZT1qn7s.js";
38
+ import { S as modelSupportsVision, T as buildRandomTempFilePath, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, b as findModelInCatalog, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as resolveTimeoutMs$2, w as registerUnhandledRejectionHandler, x as loadModelCatalog, y as resolveAttachmentKind } from "./audio-transcription-runner-BLJIB3ZW.js";
39
+ import { a as resolveAgentIdentity, i as resolveAckReaction, n as createReplyPrefixOptions, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig } from "./reply-prefix-B9hDFdUH.js";
40
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-Ctmmv-sn.js";
41
+ import { a as getRemoteSkillEligibility, c as getSkillsSnapshotVersion, d as pruneExpiredPending, f as resolvePairingPaths, i as resolveSkillCommandInvocation, l as generatePairingToken, n as listSkillCommandsForAgents, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as rejectPendingPairingRequest } from "./skill-commands-BpuutYdB.js";
42
+ import { a as skillsSnapshotSourceDiffers, 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-BMgm-BbH.js";
43
+ import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, J as resolveClientIp, K as isLoopbackHost, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, Y as rawDataToString, q as isSecureWebSocketUrl, s as resolveLsofCommandSync } from "./chrome-DlRKh9lL.js";
44
+ import { A as normalizeTargetForProvider, C as isRenderablePayload, D as resolveReplyToMode, E as createReplyToModeFilterForChannel, M as transcriptEntriesToMessages, O as buildTargetResolverSignature, S as filterMessagingToolMediaDuplicates, T as shouldSuppressReasoningPayload, _ as sleepWithAbort, a as normalizeReplyPayloadsForDelivery, b as applyReplyThreading, c as loadCombinedSessionStoreForGateway, d as countToolResults, f as extractToolCallNames, g as computeBackoff, h as resolveContextTokensForModel, i as normalizeOutboundPayloadsForJson, j as readFullTranscriptEntriesFromBackend, k as normalizeChannelTargetInput, l as capArrayByJsonBytes, m as lookupContextTokens, n as formatOutboundPayloadLog, o as throwIfAborted, p as jsonUtf8Bytes, r as normalizeOutboundPayloads, s as stampReplyActivity, t as deliverOutboundPayloads, u as stripLeadingInboundMetadata, v as loadChannelOutboundAdapter, w as shouldSuppressMessagingToolReplies, x as filterMessagingToolDuplicates, y as applyReplyTagsToPayload } from "./deliver-CVhbA8ZW.js";
45
+ import { a as deriveInboundMessageHookContext, c as toInternalMessageTranscribedContext, d as fireAndForgetHook, i as createMessageSentEmitter, l as toPluginMessageContext, n as resolveOutboundSessionId, o as toInternalMessagePreprocessedContext, r as applyMessageSendingHook, s as toInternalMessageReceivedContext, t as buildOutboundSessionContext, u as toPluginMessageReceivedEvent } from "./session-context-B4yjRyYg.js";
46
+ import { a as saveMediaBuffer, i as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-DTS2orWI.js";
47
+ import { C as resolveNativeCommandsEnabled, S as isRestartEnabled, a as isCommandEnabled, b as isCommandFlagEnabled, c as listChatCommands, d as listNativeCommandSpecsForConfig, f as maybeResolveTextAlias, g as resolveCommandArgMenu, h as resolveCommandArgChoices, l as listChatCommandsForConfig, m as parseCommandArgs, n as buildCommandTextFromArgs, p as normalizeCommandBody, r as findCommandByNativeName, u as listNativeCommandSpecs, v as serializeCommandArgs, w as resolveNativeSkillsEnabled, x as isNativeCommandsExplicitlyDisabled, y as shouldHandleTextCommands } from "./commands-registry-B4iFZoJp.js";
48
48
  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-DW5zml_e.js";
49
49
  import { t as redactIdentifier } from "./redact-identifier-BTIWtaa-.js";
50
- import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-BJkmWwdS.js";
50
+ import { D as recordSystemPromptHashComparison, E as logWebhookReceived, F as resetCommandPollCount, M as stopDiagnosticHeartbeat, N as boundDiagnosticContent, O as refreshRunProgress, P as recordCommandPoll, S as logToolExecutionStarted, T as logWebhookProcessed, a as logMessageProcessed, b as logToolExecutionBlocked, c as logModelCallError, d as logRunStarted, f as logSessionStateChange, j as startDiagnosticHeartbeat, o as logMessageQueued, u as logRunCompleted, w as logWebhookError, x as logToolExecutionCompleted } from "./diagnostic-DRP5KdyK.js";
51
51
  import { n as getDiagnosticSessionState, o as redactChannelCorrelation } from "./diagnostic-session-state-D_Vrp41k.js";
52
52
  import { t as CommandLane } from "./lanes-DtESSyRO.js";
53
- import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-CIi5vHsL.js";
54
- import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-fIo7R6gu.js";
55
- import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-3slDSZHg.js";
53
+ import { a as enqueueCommandInLane, c as isGatewayDraining, i as clearCommandLane, l as isQueuedCommandCancellation, o as getCommandLaneSnapshots, s as getQueueSize, t as CommandLaneAbortedError } from "./command-queue-CYajBD9R.js";
54
+ import { n as AGENT_LANE_NESTED, r as AGENT_LANE_SUBAGENT, t as startUserSessionRun } from "./user-run-recording-sYzx_YS9.js";
55
+ import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-CQfs9NgO.js";
56
56
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-BUw50iLW.js";
57
- import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-BkZDn3Gx.js";
58
- import { t as ensureOpenClawModelsJson } from "./models-config-DXZfAqEq.js";
59
- import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-Bjg5xZhD.js";
60
- import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-BpqD6iNd.js";
57
+ import { i as discoverModels, r as discoverAuthStorage } from "./pi-model-discovery-CKdqFvN5.js";
58
+ import { t as ensureOpenClawModelsJson } from "./models-config-DgkkafOG.js";
59
+ import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, g as isInsideCode, h as findCodeRegions, l as stripDowngradedToolCallText, m as stripReasoningTagsFromText, n as extractAssistantThinking, o as inferToolMetaFromArgs, p as resolveToolDisplay, s as isAssistantMessage, t as extractAssistantText$1, u as stripMinimaxToolCallXml } from "./pi-embedded-utils-CtJvy4lZ.js";
60
+ import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-mA_fjICs.js";
61
61
  import { n as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-lJN4H6fT.js";
62
- import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-CiVTcjCP.js";
63
- import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-r5pqYGvb.js";
64
- import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-Dmi1oUMc.js";
65
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-Chk1jdvx.js";
66
- import { t as createTelegramPollingTransport } from "./proxy-K3jUjtIm.js";
67
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CRq1-NLj.js";
68
- import { t as recordInboundSessionMetaSafe } from "./session-meta-DZgrfRW1.js";
69
- import { n as resolveMemorySearchConfig } from "./manager-Ba1vAXCS.js";
70
- import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-C-2YFmhb.js";
62
+ import { _ as clearAgentRunContext, a as isEmbeddedPiRunActive, b as registerAgentRunContext, c as setActiveEmbeddedRun, d as handleMessageStart, f as handleMessageUpdate, g as endModelCall, h as createInlineCodeState, i as endInFlightEmbeddedAttempt, l as waitForEmbeddedPiRunEnd, m as buildCodeSpanIndex, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as emitEmbeddedAgentEvent, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as handleMessageEnd, v as emitAgentEvent, y as onAgentEvent } from "./runs-DobCXCqw.js";
63
+ import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-VBsAVV5D.js";
64
+ import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BubE1FgU.js";
65
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BMibXRvM.js";
66
+ import { t as createTelegramPollingTransport } from "./proxy-DhVCl72V.js";
67
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-C4D9qN4L.js";
68
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-q4p2AM36.js";
69
+ import { n as resolveMemorySearchConfig } from "./manager-DGe7Goo3.js";
70
+ import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-DnOhfOZI.js";
71
71
  import { createRequire } from "node:module";
72
72
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
73
73
  import * as path$1 from "node:path";
74
74
  import path, { basename, isAbsolute, join } from "node:path";
75
75
  import { inspect, isDeepStrictEqual, promisify } from "node:util";
76
- import json5 from "json5";
76
+ import JSON5 from "json5";
77
77
  import os, { homedir } from "node:os";
78
78
  import * as fs$2 from "node:fs/promises";
79
79
  import fs$1, { open } from "node:fs/promises";
@@ -17784,7 +17784,7 @@ async function sendTranscriptEcho(params) {
17784
17784
  }
17785
17785
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
17786
17786
  try {
17787
- const { deliverOutboundPayloads } = await import("./deliver-YSn1a0jh.js");
17787
+ const { deliverOutboundPayloads } = await import("./deliver-BF4o4_Om.js");
17788
17788
  await deliverOutboundPayloads({
17789
17789
  cfg,
17790
17790
  channel: normalizedChannel,
@@ -25587,7 +25587,7 @@ async function routeReply(params) {
25587
25587
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
25588
25588
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
25589
25589
  try {
25590
- const { deliverOutboundPayloads } = await import("./deliver-YSn1a0jh.js");
25590
+ const { deliverOutboundPayloads } = await import("./deliver-BF4o4_Om.js");
25591
25591
  const outboundSession = buildOutboundSessionContext({
25592
25592
  cfg,
25593
25593
  agentId: resolvedAgentId,
@@ -27929,7 +27929,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
27929
27929
  const { backbone, runner } = getAgentTurnRuntime();
27930
27930
  const id = await enqueueAgentTurn(backbone, payload);
27931
27931
  if (!isClaimableAgentTurnWorkId(id)) return;
27932
- const { runMainAgentTurn } = await import("./agent-turn-execute-DxPLVY2Z.js");
27932
+ const { runMainAgentTurn } = await import("./agent-turn-execute-QUgsxv1P.js");
27933
27933
  await runner.claimAndExecute({
27934
27934
  workId: id,
27935
27935
  execute: (claim) => runMainAgentTurn(claim.message.payload)
@@ -29093,7 +29093,7 @@ async function handleHeartbeatError(params) {
29093
29093
  const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
29094
29094
  async function ackAnnounceExecuted(payload) {
29095
29095
  if (payload.kind !== "announce") return;
29096
- const { markSubagentAnnounceExecuted } = await import("./subagent-registry-DWVCwaRZ.js");
29096
+ const { markSubagentAnnounceExecuted } = await import("./subagent-registry-8GitpDxd.js");
29097
29097
  for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
29098
29098
  await markSubagentAnnounceExecuted(runId);
29099
29099
  } catch {}
@@ -29360,7 +29360,7 @@ function normalizeSessionKey(value) {
29360
29360
  function readSessionStore(storePath) {
29361
29361
  try {
29362
29362
  const raw = fs.readFileSync(storePath, "utf-8");
29363
- const parsed = json5.parse(raw);
29363
+ const parsed = JSON5.parse(raw);
29364
29364
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
29365
29365
  } catch {}
29366
29366
  return {};
@@ -29589,7 +29589,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
29589
29589
  let subagentRegistryAccessPromise;
29590
29590
  const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
29591
29591
  function loadSubagentRegistryAccess() {
29592
- if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-DWVCwaRZ.js").catch((err) => {
29592
+ if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-8GitpDxd.js").catch((err) => {
29593
29593
  const message = err instanceof Error && err.message ? err.message : String(err);
29594
29594
  defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
29595
29595
  subagentRegistryAccessPromise = void 0;
@@ -42934,7 +42934,7 @@ async function createModelSelectionState(params) {
42934
42934
  }
42935
42935
  }
42936
42936
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
42937
- const { ensureAuthProfileStore } = await import("./auth-profiles-CsZjDRcG.js");
42937
+ const { ensureAuthProfileStore } = await import("./auth-profiles-C1pJPdvd.js");
42938
42938
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
42939
42939
  const providerKey = normalizeProviderId(provider);
42940
42940
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -60954,7 +60954,7 @@ async function deliverSessionMaintenanceWarning(params) {
60954
60954
  return;
60955
60955
  }
60956
60956
  try {
60957
- const { deliverOutboundPayloads } = await import("./deliver-YSn1a0jh.js");
60957
+ const { deliverOutboundPayloads } = await import("./deliver-BF4o4_Om.js");
60958
60958
  const outboundSession = buildOutboundSessionContext({
60959
60959
  cfg: params.cfg,
60960
60960
  sessionKey: params.sessionKey
@@ -66349,7 +66349,7 @@ async function describeStickerImage(params) {
66349
66349
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
66350
66350
  try {
66351
66351
  const buffer = await fs$1.readFile(imagePath);
66352
- const { describeImageWithModel } = await import("./provider-image-CTV791nD.js");
66352
+ const { describeImageWithModel } = await import("./provider-image-B3c4WxLc.js");
66353
66353
  return (await describeImageWithModel({
66354
66354
  buffer,
66355
66355
  fileName: "sticker.webp",
@@ -67617,7 +67617,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
67617
67617
  let transcript;
67618
67618
  let carry;
67619
67619
  if (needsPreflightTranscription) try {
67620
- const { transcribeFirstAudio } = await import("./audio-preflight-Clg9co00.js");
67620
+ const { transcribeFirstAudio } = await import("./audio-preflight-A8qP8lUV.js");
67621
67621
  const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
67622
67622
  if (uploadable.length > 0) {
67623
67623
  const preflight = await transcribeFirstAudio({
@@ -74795,23 +74795,23 @@ function createDefaultDeps() {
74795
74795
  };
74796
74796
  },
74797
74797
  sendMessageTelegram: async (...args) => {
74798
- const { sendMessageTelegram } = await import("./send-CDpa5Qcp.js");
74798
+ const { sendMessageTelegram } = await import("./send-CZJOwT5g.js");
74799
74799
  return await sendMessageTelegram(...args);
74800
74800
  },
74801
74801
  sendMessageDiscord: async (...args) => {
74802
- const { sendMessageDiscord } = await import("./send-Bk3noDDx.js");
74802
+ const { sendMessageDiscord } = await import("./send-BhHEk8tc.js");
74803
74803
  return await sendMessageDiscord(...args);
74804
74804
  },
74805
74805
  sendMessageSlack: async (...args) => {
74806
- const { sendMessageSlack } = await import("./send-D1nrYA_Q.js");
74806
+ const { sendMessageSlack } = await import("./send-CHwonc2U.js");
74807
74807
  return await sendMessageSlack(...args);
74808
74808
  },
74809
74809
  sendMessageSignal: async (...args) => {
74810
- const { sendMessageSignal } = await import("./send-cNXgIKQA.js");
74810
+ const { sendMessageSignal } = await import("./send-BvcZlEsm.js");
74811
74811
  return await sendMessageSignal(...args);
74812
74812
  },
74813
74813
  sendMessageIMessage: async (...args) => {
74814
- const { sendMessageIMessage } = await import("./send-RbfGqemm.js");
74814
+ const { sendMessageIMessage } = await import("./send-6D7GAGnF.js");
74815
74815
  return await sendMessageIMessage(...args);
74816
74816
  }
74817
74817
  };
@@ -86326,7 +86326,7 @@ function readSlackExternalArgMenuToken(raw) {
86326
86326
  }
86327
86327
  let commandsRegistry;
86328
86328
  async function getCommandsRegistry() {
86329
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-pi8AmhLU.js");
86329
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-smH4Pt3V.js");
86330
86330
  return commandsRegistry;
86331
86331
  }
86332
86332
  function encodeSlackCommandArgValue(parts) {
@@ -86656,14 +86656,14 @@ async function registerSlackMonitorSlashCommands(params) {
86656
86656
  const channelName = channelInfo?.name;
86657
86657
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
86658
86658
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
86659
- import("./resolve-route-_hRHHPvb.js"),
86659
+ import("./resolve-route-CfUBkFIi.js"),
86660
86660
  import("./inbound-context-CCKCHVrn.js"),
86661
- import("./provider-dispatcher-BWeMuUya.js")
86661
+ import("./provider-dispatcher-Bxwph08R.js")
86662
86662
  ]);
86663
86663
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
86664
86664
  import("./conversation-label-D3nMf3rZ.js"),
86665
- import("./reply-prefix-DnBHHOzt.js"),
86666
- import("./session-meta-cpZsNDnJ.js")
86665
+ import("./reply-prefix-Dad1_NtZ.js"),
86666
+ import("./session-meta-DV9wvzqd.js")
86667
86667
  ]);
86668
86668
  const route = resolveAgentRoute({
86669
86669
  cfg,
@@ -86728,9 +86728,9 @@ async function registerSlackMonitorSlashCommands(params) {
86728
86728
  });
86729
86729
  const deliverSlashPayloads = async (replies) => {
86730
86730
  const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
86731
- import("./replies-tFoggbkQ.js"),
86732
- import("./chunk-3IsNnAQx.js"),
86733
- import("./markdown-tables-DFhDdoLc.js")
86731
+ import("./replies-BAlKdkc_.js"),
86732
+ import("./chunk-BwUvzg1r.js"),
86733
+ import("./markdown-tables-eRpnazxM.js")
86734
86734
  ]);
86735
86735
  await deliverSlackSlashReplies({
86736
86736
  replies,
@@ -86784,7 +86784,7 @@ async function registerSlackMonitorSlashCommands(params) {
86784
86784
  let nativeCommands = [];
86785
86785
  if (nativeEnabled) {
86786
86786
  reg = await getCommandsRegistry();
86787
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-C2k-S4-3.js")).listSkillCommandsForAgents({ cfg }) : [];
86787
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BPPFG0Wf.js")).listSkillCommandsForAgents({ cfg }) : [];
86788
86788
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
86789
86789
  skillCommands,
86790
86790
  provider: "slack"
@@ -87303,7 +87303,7 @@ async function auditTelegramGroupMembership(params) {
87303
87303
  groups: [],
87304
87304
  elapsedMs: Date.now() - started
87305
87305
  };
87306
- const fetcher = params.proxyUrl ? (await import("./proxy-LKdqVD6u.js")).makeProxyFetch(params.proxyUrl) : fetch;
87306
+ const fetcher = params.proxyUrl ? (await import("./proxy-BFnRHQ1U.js")).makeProxyFetch(params.proxyUrl) : fetch;
87307
87307
  const { fetchWithTimeout } = await import("./fetch-timeout-C7tnRm-P.js");
87308
87308
  const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
87309
87309
  const groups = [];
@@ -89862,7 +89862,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
89862
89862
  let audioPreflightCarry;
89863
89863
  const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
89864
89864
  if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
89865
- const { transcribeFirstAudio } = await import("./audio-preflight-Clg9co00.js");
89865
+ const { transcribeFirstAudio } = await import("./audio-preflight-A8qP8lUV.js");
89866
89866
  const preflight = await transcribeFirstAudio({
89867
89867
  ctx: {
89868
89868
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -94323,7 +94323,7 @@ async function getMemorySearchManager(params) {
94323
94323
  if (cached) return { manager: cached };
94324
94324
  }
94325
94325
  try {
94326
- const { QmdMemoryManager } = await import("./qmd-manager-Dhk5jUWF.js");
94326
+ const { QmdMemoryManager } = await import("./qmd-manager-D4Sr189L.js");
94327
94327
  const primary = await QmdMemoryManager.create({
94328
94328
  cfg: params.cfg,
94329
94329
  agentId: params.agentId,
@@ -94335,7 +94335,7 @@ async function getMemorySearchManager(params) {
94335
94335
  const wrapper = new FallbackMemoryManager({
94336
94336
  primary,
94337
94337
  fallbackFactory: async () => {
94338
- const { MemoryIndexManager } = await import("./manager-BF7Nh56D.js");
94338
+ const { MemoryIndexManager } = await import("./manager-9--A8CC8.js");
94339
94339
  return await MemoryIndexManager.get(params);
94340
94340
  }
94341
94341
  }, () => {
@@ -94350,7 +94350,7 @@ async function getMemorySearchManager(params) {
94350
94350
  }
94351
94351
  }
94352
94352
  try {
94353
- const { MemoryIndexManager } = await import("./manager-BF7Nh56D.js");
94353
+ const { MemoryIndexManager } = await import("./manager-9--A8CC8.js");
94354
94354
  return { manager: await MemoryIndexManager.get(params) };
94355
94355
  } catch (err) {
94356
94356
  return {
@@ -99398,7 +99398,7 @@ function createPluginRuntime(options = {}) {
99398
99398
  workStates: readTaskWorkStates
99399
99399
  },
99400
99400
  resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
99401
- sessions: { startUserRun: async (params) => (await import("./user-run-recording-BwYDxsDO.js")).startUserSessionRun(params) }
99401
+ sessions: { startUserRun: async (params) => (await import("./user-run-recording-DcFi_O_v.js")).startUserSessionRun(params) }
99402
99402
  };
99403
99403
  Object.defineProperty(runtime, "analysis", {
99404
99404
  enumerable: true,
@@ -100929,7 +100929,7 @@ async function recordLoopOutcome(args) {
100929
100929
  if (!args.ctx?.sessionKey) return;
100930
100930
  try {
100931
100931
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-D69TmAGf.js");
100932
- const { recordToolCallOutcome } = await import("./tool-loop-detection-DazBiexb.js");
100932
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-ys8oxWQM.js");
100933
100933
  recordToolCallOutcome(getDiagnosticSessionState({
100934
100934
  sessionKey: args.ctx.sessionKey,
100935
100935
  sessionId: args.ctx?.agentId
@@ -100956,8 +100956,8 @@ async function runBeforeToolCallHook(args) {
100956
100956
  const params = args.params;
100957
100957
  if (args.ctx?.sessionKey) {
100958
100958
  const { getDiagnosticSessionState } = await import("./diagnostic-session-state-D69TmAGf.js");
100959
- const { logToolLoopAction } = await import("./diagnostic-DkJb7Zrm.js");
100960
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-DazBiexb.js");
100959
+ const { logToolLoopAction } = await import("./diagnostic-D6R7K0ew.js");
100960
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-ys8oxWQM.js");
100961
100961
  const sessionState = getDiagnosticSessionState({
100962
100962
  sessionKey: args.ctx.sessionKey,
100963
100963
  sessionId: args.ctx?.agentId