wednesdayai 0.5.1-dev.40 → 0.5.1-dev.42

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 (277) hide show
  1. package/dist/{agent-scope-BudmZlc1.js → agent-scope-CoIdVzmg.js} +3 -3
  2. package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
  3. package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-FwkD42Me.js} +6 -6
  4. package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
  5. package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-1bTDnvBU.js} +2 -2
  6. package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-CCjuApbs.js} +27 -27
  7. package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
  8. package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
  9. package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DgFYIaIw.js} +26 -26
  10. package/dist/build-info.json +3 -3
  11. package/dist/bundled/boot-md/handler.js +58 -58
  12. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  13. package/dist/bundled/command-logger/handler.js +2 -2
  14. package/dist/bundled/session-journal/handler.js +58 -58
  15. package/dist/bundled/session-memory/handler.js +58 -58
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
  18. package/dist/{chat-content-CL44f6Ub.js → chat-content-BdADRLL0.js} +36 -36
  19. package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-DQ2kyZpc.js} +34 -34
  20. package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
  21. package/dist/{chunk-BHQuzJtJ.js → chunk-BAxcOCcV.js} +3 -3
  22. package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
  23. package/dist/{command-queue-CyJUnsMn.js → command-queue-CRm1AADE.js} +1 -1
  24. package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
  25. package/dist/{commands-registry-CNVoO37I.js → commands-registry-CtR9mXss.js} +2 -2
  26. package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
  27. package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
  28. package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
  29. package/dist/{credentials-DnIj4HtR.js → credentials-BhiiI_Nr.js} +1 -1
  30. package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
  31. package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
  32. package/dist/{deliver-DUUEMT-w.js → deliver-BufoibUD.js} +29 -29
  33. package/dist/{diagnostic-YRGuisNG.js → diagnostic-BSnQ1U_E.js} +3 -3
  34. package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
  35. package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
  36. package/dist/entry.js +2 -2
  37. package/dist/{errors-DnS9ngr1.js → errors-BzL6hu4G.js} +1 -1
  38. package/dist/extensionAPI.js +40 -40
  39. package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
  40. package/dist/{fetch-ChtdmCYU.js → fetch-DUVm-Rj1.js} +8 -8
  41. package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DmpLwwor.js} +1 -1
  42. package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
  43. package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-BySb6coS.js} +2 -2
  44. package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
  45. package/dist/{frontmatter-CqznVm7P.js → frontmatter-NYeLKFIP.js} +3 -3
  46. package/dist/{fs-safe-D96d8swI.js → fs-safe-DOdeIkaS.js} +26 -26
  47. package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
  48. package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
  49. package/dist/{image-ops-BiBI-uAf.js → image-ops-DEUr_rAC.js} +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/{ir-Drj2D5Gr.js → ir-B0rUqFWs.js} +5 -5
  52. package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
  53. package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-D7ywm6_7.js} +1 -1
  54. package/dist/llm-slug-generator.js +58 -58
  55. package/dist/{manager-C9H5Oflk.js → manager-3Exjl08V.js} +18 -18
  56. package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
  57. package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
  58. package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-lzV8Hoxc.js} +2 -2
  59. package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
  60. package/dist/{model-selection-2-pBJbaC.js → model-selection-_StPBPAp.js} +80 -80
  61. package/dist/{models-config-7yfOGOZY.js → models-config-D3M9er_C.js} +2 -2
  62. package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
  63. package/dist/{nudge-CcGwhSSL.js → nudge-B06CLLon.js} +35 -35
  64. package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
  65. package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
  66. package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
  67. package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
  68. package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
  69. package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
  70. package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
  71. package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
  72. package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CCQDMmDH.js} +2 -2
  73. package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
  74. package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
  75. package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
  76. package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-aXY57qPv.js} +1 -1
  77. package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
  78. package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-DGpkqagr.js} +251 -251
  79. package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
  80. package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
  81. package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-BTuzuVh1.js} +7 -7
  82. package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
  83. package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
  84. package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
  85. package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
  86. package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
  87. package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
  88. package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
  89. package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
  90. package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
  91. package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
  92. package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
  93. package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
  94. package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
  95. package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
  96. package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
  97. package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
  98. package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
  99. package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
  100. package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
  101. package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
  102. package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
  103. package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
  104. package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
  105. package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
  106. package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
  107. package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
  108. package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
  109. package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
  110. package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
  111. package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
  112. package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
  113. package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
  114. package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
  115. package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
  116. package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
  117. package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
  118. package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
  119. package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
  120. package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
  121. package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
  122. package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
  123. package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
  124. package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
  125. package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
  126. package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
  127. package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
  128. package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
  129. package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
  130. package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
  131. package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
  132. package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
  133. package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
  134. package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
  135. package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
  136. package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
  137. package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
  138. package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
  139. package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
  140. package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
  141. package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
  142. package/dist/plugin-sdk/testing.js +44 -44
  143. package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
  144. package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
  145. package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
  146. package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
  147. package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
  148. package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
  149. package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
  150. package/dist/{proxy-env-DdoaBr4H.js → proxy-env-dFmQfhFb.js} +1 -1
  151. package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-B2n3DHPt.js} +14 -14
  152. package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
  153. package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
  154. package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-jLSZ3VID.js} +12 -12
  155. package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-BN4oVeLu.js} +1 -1
  156. package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
  157. package/dist/{query-expansion-gzgHhq68.js → query-expansion-UPsVmvEm.js} +13 -13
  158. package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
  159. package/dist/{recorder-ciGDu2oO.js → recorder-DvYXNusz.js} +2 -2
  160. package/dist/{redact-Cp-v7ZNA.js → redact-CysJDryP.js} +1 -1
  161. package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
  162. package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
  163. package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
  164. package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
  165. package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
  166. package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
  167. package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
  168. package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
  169. package/dist/{replies-EZyamg1p.js → replies-DfoUf3N4.js} +5 -5
  170. package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
  171. package/dist/{reply-directives-DMPiBIx3.js → reply-directives-DsGD4aw1.js} +2 -2
  172. package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-gWrzAQtZ.js} +1 -1
  173. package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
  174. package/dist/{resolve-route-GBqD8iPk.js → resolve-route-RQpYXVl1.js} +4 -4
  175. package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
  176. package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
  177. package/dist/{runs-EvR8ugp4.js → runs-DGr28sFu.js} +9 -9
  178. package/dist/{send-BVfxa93K.js → send-C-m_74Nc.js} +8 -8
  179. package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
  180. package/dist/{send-B5XVAKWg.js → send-DFsyNWFI.js} +7 -7
  181. package/dist/{send-BCEsHNBh.js → send-DYRbKT7y.js} +6 -6
  182. package/dist/{send-12uxFQQR.js → send-DkJqx60r.js} +8 -8
  183. package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
  184. package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
  185. package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
  186. package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
  187. package/dist/{session-meta-C_fW_AWG.js → session-meta-DVKEsZNl.js} +1 -1
  188. package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
  189. package/dist/{sessions-DODCZ4JK.js → sessions-CzjW7wiR.js} +5 -5
  190. package/dist/{skill-commands-5VtV6o_q.js → skill-commands-BfK22Jmi.js} +7 -7
  191. package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
  192. package/dist/{skills-B3DYwqF5.js → skills-D6riKXOf.js} +21 -21
  193. package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
  194. package/dist/{store-DnvoAjAE.js → store-Bt16sey6.js} +7 -7
  195. package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
  196. package/dist/{tables-CuZTAY1e.js → tables-tChtQWdX.js} +1 -1
  197. package/dist/{tokens-C8E7C2l5.js → tokens-C2ll8wSq.js} +1 -1
  198. package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-D0CRFNOH.js} +2 -2
  199. package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
  200. package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
  201. package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
  202. package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DJedyUge.js} +2 -2
  203. package/dist/{workspace-DOy2M7yN.js → workspace-xnzx7wEV.js} +26 -26
  204. package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
  205. package/dist/{ws-D916JacH.js → ws-DLbfGWAn.js} +1 -1
  206. package/extensions/acpx/package.json +1 -1
  207. package/extensions/anthropic/package.json +1 -1
  208. package/extensions/bifrost/package.json +1 -1
  209. package/extensions/bluebubbles/package.json +1 -1
  210. package/extensions/copilot-proxy/package.json +1 -1
  211. package/extensions/deepgram/package.json +1 -1
  212. package/extensions/deepinfra/package.json +1 -1
  213. package/extensions/diagnostics-otel/package.json +1 -1
  214. package/extensions/diffs/package.json +1 -1
  215. package/extensions/discord/package.json +1 -1
  216. package/extensions/dream-cycle/package.json +1 -1
  217. package/extensions/elevenlabs/package.json +1 -1
  218. package/extensions/feishu/package.json +1 -1
  219. package/extensions/gemini-search/package.json +1 -1
  220. package/extensions/google/package.json +1 -1
  221. package/extensions/google-gemini-cli-auth/package.json +1 -1
  222. package/extensions/googlechat/package.json +1 -1
  223. package/extensions/grok-search/package.json +1 -1
  224. package/extensions/groq/package.json +1 -1
  225. package/extensions/imessage/package.json +1 -1
  226. package/extensions/irc/package.json +1 -1
  227. package/extensions/kimi-search/package.json +1 -1
  228. package/extensions/kokoro/package.json +1 -1
  229. package/extensions/learning-core/package.json +1 -1
  230. package/extensions/line/package.json +1 -1
  231. package/extensions/llm-task/package.json +1 -1
  232. package/extensions/lobster/package.json +1 -1
  233. package/extensions/matrix/CHANGELOG.md +1 -1
  234. package/extensions/matrix/package.json +1 -1
  235. package/extensions/mattermost/package.json +1 -1
  236. package/extensions/memory-core/package.json +1 -1
  237. package/extensions/memory-lancedb/package.json +1 -1
  238. package/extensions/minimax/package.json +1 -1
  239. package/extensions/minimax-portal-auth/package.json +1 -1
  240. package/extensions/mistral/package.json +1 -1
  241. package/extensions/moonshot/package.json +1 -1
  242. package/extensions/msteams/CHANGELOG.md +1 -1
  243. package/extensions/msteams/package.json +1 -1
  244. package/extensions/nextcloud-talk/package.json +1 -1
  245. package/extensions/nostr/CHANGELOG.md +1 -1
  246. package/extensions/nostr/package.json +1 -1
  247. package/extensions/open-prose/package.json +1 -1
  248. package/extensions/openai/package.json +1 -1
  249. package/extensions/openai-realtime/package.json +1 -1
  250. package/extensions/openrouter/package.json +1 -1
  251. package/extensions/perplexity-search/package.json +1 -1
  252. package/extensions/searxng-search/package.json +1 -1
  253. package/extensions/signal/package.json +1 -1
  254. package/extensions/slack/package.json +1 -1
  255. package/extensions/synology-chat/package.json +1 -1
  256. package/extensions/telegram/package.json +1 -1
  257. package/extensions/tlon/package.json +1 -1
  258. package/extensions/twitch/CHANGELOG.md +1 -1
  259. package/extensions/twitch/package.json +1 -1
  260. package/extensions/ui-surfaces/package.json +1 -1
  261. package/extensions/voice-call/CHANGELOG.md +1 -1
  262. package/extensions/voice-call/package.json +1 -1
  263. package/extensions/whatsapp/package.json +1 -1
  264. package/extensions/zai/package.json +1 -1
  265. package/extensions/zalo/CHANGELOG.md +1 -1
  266. package/extensions/zalo/package.json +1 -1
  267. package/extensions/zalouser/CHANGELOG.md +1 -1
  268. package/extensions/zalouser/package.json +1 -1
  269. package/package.json +1 -1
  270. package/dist/github-copilot-token-DrVydgnY.js +0 -106
  271. package/dist/paths-BIDPYPVC.js +0 -233
  272. package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
  273. package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
  274. package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
  275. package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
  276. package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
  277. package/dist/subsystem-DoQFckDJ.js +0 -2777
@@ -3,14 +3,14 @@ import { $ as sessionKeyAgentMatches, A as logError, B as classifySessionKeyShap
3
3
  import { a as resolveGatewayLockDir, f as resolveRequiredHomeDir, l as resolveStateDir, o as resolveGatewayPort, r as resolveConfigPath, s as resolveOAuthDir, u as expandHomePrefix } from "./paths-B_gs59ga.js";
4
4
  import { C as appendFileLog, F as openBoundaryFileSync, K as isDangerousHostEnvVarName, O as INCLUDE_KEY, P as openBoundaryFile, Q as clampInt, T as normalizeLogLevel, W as normalizeWindowsPathForComparison, Z as CONFIG_DIR, _ as colorize, a as createNonExitingRuntime, b as getChildLogger, c as registerActiveProgressLine, ct as safeParseJson, dt as sleep$3, f as logVerbose, ft as sliceUtf16Safe, g as warn, h as shouldLogVerbose, it as normalizeE164, j as isBlockedObjectKey, l as unregisterActiveProgressLine, lt as shortenHomeInString, m as setVerbose, mt as resolvePreferredOpenClawTmpDir, nt as formatTerminalLink, o as defaultRuntime, pt as truncateUtf16Safe, rt as isRecord$1, s as clearActiveProgressLine, st as resolveUserPath, t as createSubsystemLogger, tt as escapeRegExp, u as danger, ut as shortenHomePath, v as isRich, y as theme } from "./subsystem-DynBFcQj.js";
5
5
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
6
- import { $ as normalizeScpRemoteHost, $i as resolveSecretRefValues, $n as resolveParentSessionGroupId, $r as CtxProjectionCorruptionError, $t as buildPluginHealthReport, A as requireApiKey, Aa as DEFAULT_CONTEXT_TOKENS, Ai as analyzeShellCommand, An as updateLastRoute, Ar as resolveChannelGroupRequireMention, At as resolveMemorySlotDecision, B as resolveProfilesUnavailableReason, Bi as isShellWrapperExecutable, Br as isGatewayMessageChannel, Bt as normalizeChannelId$2, C as createOllamaStreamFn, Ci as setConfigValueAtPath, Cn as loadSessionStore, Cr as resolveCliName, Ct as validateJsonSchemaValue, D as buildUsageWithNoCost, Da as normalizeResolvedSecretInputString, Di as listWritableExplicitTrustedSafeBinDirs, Dn as recordSessionMetaFromInbound, Dr as resolveDiscordAccount, Dt as isBundledChannelEnabledByChannelConfig, E as buildStreamErrorAssistantMessage, Ea as hasConfiguredSecretInput, Ei as isTrustedSafeBinPath, En as readSessionUpdatedAt, Er as listEnabledDiscordAccounts, Et as applyTestPluginDefaults, F as resolveAuthProfileOrder, Fi as matchAllowlist, Fn as mergeSessionEntry, Fr as mergeDeliveryContext, G as readConfigFileSnapshotForWrite, Gi as normalizeSafeBinProfileFixtures, Gr as resolveGatewayMessageChannel, Gt as getActivePluginRegistryKey, Hi as unwrapKnownShellMultiplexerInvocation, Hr as isMarkdownCapableMessageChannel, Ht as resolveChannelConfigId, I as getSoonestCooldownExpiry, Ii as resolveAllowlistCandidatePath, In as resolveFreshSessionTotalTokens, Ir as normalizeDeliveryContext, It as CHAT_CHANNEL_ORDER, Ji as isSafeExecutableValue, Jn as resolveSessionTranscriptPath, Jr as GATEWAY_CLIENT_MODES, Jt as setActivePluginRegistry, K as writeConfigFile, Ki as resolveSafeBinProfiles, Kn as resolveSessionFilePath, Kr as resolveMessageChannel, L as isProfileInCooldown, Li as resolveCommandResolutionFromArgv, Ln as setSessionRuntimeModel, Lr as normalizeSessionDeliveryFields, Lt as getChatChannelMeta, M as resolveEnvApiKey, Ma as DEFAULT_PROVIDER, Mi as isWindowsPlatform, Mn as updateSessionStoreEntry, Mr as resolveAccountEntry, Mt as isPathInside, N as resolveModelAuthMode, Ni as splitCommandChain, Nr as deliveryContextFromSession, Nt as safeStatSync, O as getApiKeyForModel, Oa as resolveSecretInputRef, Oi as normalizeTrustedSafeBinDirs, On as refreshConfiguredSessionBindingEntry, Or as normalizeDiscordToken, Ot as normalizePluginsConfig, Pi as DEFAULT_SAFE_BINS, Pn as DEFAULT_RESET_TRIGGERS, Pr as deliveryContextKey, Pt as readManifestNamespace, Q as resolveIMessageRemoteAttachmentRoots, Qi as resolveSlackStreamingMode, Qn as resolveGroupSessionKey, Qr as resolveSessionLockMaxHoldFromTimeout, Qt as normalizePluginHttpPath, R as markAuthProfileFailure, Ri as extractShellWrapperInlineCommand, Rn as parseDurationMs, Rr as INTERNAL_MESSAGE_CHANNEL, Rt as listChatChannels, S as OLLAMA_NATIVE_BASE_URL, Sa as resolveAuthProfileDisplayLabel, Si as parseConfigPath, Sr as formatCliCommand, T as buildAssistantMessageWithZeroUsage, Ta as coerceSecretRef, Ti as getTrustedSafeBinDirs, Tn as prepareConfiguredSessionStorageRuntimeActivation, Tr as createDiscordActionGate, Tt as BUNDLED_ENABLED_BY_DEFAULT, U as loadConfig, Ui as splitShellArgs, Un as SAFE_SESSION_ID_RE, Ur as listDeliverableMessageChannels, Ut as getActiveGatewayPluginRegistry, V as resolveApiKeyForProfile, Vi as unwrapKnownDispatchWrapperInvocation, Vr as isInternalMessageChannel, Vt as normalizeChatChannelId, W as readConfigFileSnapshot, Wi as SAFE_BIN_PROFILES, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Wt as getActivePluginRegistry, Xi as resolveDiscordPreviewStreamMode, Xn as resolveStorePath, Xr as normalizeAccountId$2, Xt as clearRegisteredPluginApis, Y as isInboundPathAllowed, Yi as mapStreamingModeToSlackLegacyDraftStreamMode, Yr as GATEWAY_CLIENT_NAMES, Yt as addRegisteredPluginApi, Z as resolveIMessageAttachmentRoots, Zi as resolveSlackNativeStreaming, Zn as deriveSessionMetaPatch, Zr as acquireSessionWriteLock, Zt as createPluginRegistry, _a as resolveAuthStorePathForDisplay, _i as getConfigOverrides, _n as requireSessionStorageRuntime, _r as resolveSignalAccount, _t as isAvatarDataUrl, a as isCliProvider, aa as runTasksWithConcurrency, ai as channelTargetSchema, an as BUILTIN_TTS_PROVIDER_IDS, ar as normalizeChannelId$1, ba as isPidAlive, bi as unsetConfigOverride, bn as commitPreparedConfiguredSessionStorageRuntimeActivation, br as hasAnyWhatsAppAuth, bt as isSupportedLocalAvatarExtension, c as normalizeProviderId, ca as getShellPathFromLoginShell, ci as stringEnum, cn as isBuiltinTtsProvider, cr as normalizeAtHashSlug, d as resolveDefaultModelForAgent, da as parseBooleanValue$1, di as actionRequiresTarget, dn as createInternalHookEvent, dr as normalizeStringEntriesLower, ea as describeUnknownError$1, ei as readTaskWorkStates, en as clearPluginCommands, er as getChannelDock, et as parseNonNegativeByteSize, f as resolveModelRefFromString, fa as resolveOwnerDisplaySetting, fn as triggerInternalHook, fr as resolveSlackAccount, ga as ensureAuthProfileStore, gi as RecoveryAdmissionError, gr as listEnabledSignalAccounts, gt as AVATAR_MAX_BYTES, h as resolveThinkingDefault, ha as markAuthProfileGood, hi as replaceBufferedPluginTaskPasses, hn as getConversationReadQuery, hr as resolveSlackBotToken, i as findNormalizedProviderValue, ia as secretRefKey, in as registerPluginCommand, ir as listChannelPlugins, ja as DEFAULT_MODEL, ji as buildEnforcedShellCommand, jn as updateSessionStore, jr as resolveChannelGroupToolsPolicy, jt as discoverOpenClawPlugins, k as getCustomProviderApiKey, ka as splitTrailingAuthProfile, ki as validateSafeBinArgv, kr as resolveChannelGroupPolicy, kt as resolveEffectiveEnableState, l as parseModelRef, la as resolveShellEnvFallbackTimeoutMs, li as applyTargetToParams, ln as replaceSpeechProviders, lr as normalizeHyphenSlug, m as resolveSubagentSpawnModelSelection, ma as listProfilesForProvider, mi as listBufferedPluginTaskPasses, mn as createConversationReadQuery, mr as resolveSlackAppToken, n as buildConfiguredAllowlistKeys, na as isRecord$2, nn as listPluginCommands, nr as normalizeSignalMessagingTarget, nt as resolveExecPolicyPreset, o as modelKey, oa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, oi as channelTargetsSchema, on as getRegisteredSpeechProviders, or as formatAllowlistMatchMeta, p as resolveReasoningDefault, pa as dedupeProfileIds, pi as discardBufferedPluginTaskPasses, pn as StorageReadAccessError, pr as resolveSlackReplyToMode, q as validateConfigObjectWithPlugins, qi as applyMergePatch, qn as resolveSessionFilePathOptions, qr as GATEWAY_CLIENT_IDS, qt as requireActivePluginRegistry, r as buildModelAliasIndex, ra as parseDotPath, rn as matchPluginCommand, rr as getChannelPlugin, s as normalizeModelRef$2, sa as VERSION, si as optionalStringEnum, sn as getSpeechProvider, sr as resolveAllowlistMatchByCandidates, t as buildAllowedModelSet, ta as isNonEmptyString, tn as executePluginCommand, tr as listChannelDocks, u as resolveConfiguredModelRef, ua as isTruthyEnvValue, ui as actionHasTarget, un as normalizeProviderId$1, ur as normalizeStringEntries, va as resolveOpenClawAgentDir, vi as resetConfigOverrides, vn as closeConfiguredSessionStorageRuntime, vr as isWhatsAppGroupJid, vt as isAvatarHttpUrl, w as buildAssistantMessage, wa as normalizeSecretInput, wi as unsetConfigValueAtPath, wn as loadSessionStoreFromDisk, wr as resolveIMessageAccount, wt as loadPluginManifestRegistry, x as retryAsync, xa as readProcessElapsedSeconds, xi as getConfigValueAtPath, xn as getConfiguredSessionStorageRuntime, xr as resolveWhatsAppAccount, xt as buildChannelAccountBindings, ya as withFileLock$1, yi as setConfigOverride, yn as closeReplacedConfiguredSessionStorageRuntime, yr as normalizeWhatsAppTarget, yt as isPathWithinRoot, z as markAuthProfileUsed, zi as isDispatchWrapperExecutable, zn as parseSessionIndexRecordKey, zr as isDeliverableMessageChannel, zt as normalizeAnyChannelId } from "./model-selection-DkRYDpst.js";
6
+ import { $ as normalizeScpRemoteHost, $i as resolveSecretRefValues, $n as resolveParentSessionGroupId, $r as CtxProjectionCorruptionError, $t as buildPluginHealthReport, A as requireApiKey, Aa as DEFAULT_CONTEXT_TOKENS, Ai as analyzeShellCommand, An as updateLastRoute, Ar as resolveChannelGroupRequireMention, At as resolveMemorySlotDecision, B as resolveProfilesUnavailableReason, Bi as isShellWrapperExecutable, Br as isGatewayMessageChannel, Bt as normalizeChannelId$2, C as createOllamaStreamFn, Ci as setConfigValueAtPath, Cn as loadSessionStore, Cr as resolveCliName, Ct as validateJsonSchemaValue, D as buildUsageWithNoCost, Da as normalizeResolvedSecretInputString, Di as listWritableExplicitTrustedSafeBinDirs, Dn as recordSessionMetaFromInbound, Dr as resolveDiscordAccount, Dt as isBundledChannelEnabledByChannelConfig, E as buildStreamErrorAssistantMessage, Ea as hasConfiguredSecretInput, Ei as isTrustedSafeBinPath, En as readSessionUpdatedAt, Er as listEnabledDiscordAccounts, Et as applyTestPluginDefaults, F as resolveAuthProfileOrder, Fi as matchAllowlist, Fn as mergeSessionEntry, Fr as mergeDeliveryContext, G as readConfigFileSnapshotForWrite, Gi as normalizeSafeBinProfileFixtures, Gr as resolveGatewayMessageChannel, Gt as getActivePluginRegistryKey, Hi as unwrapKnownShellMultiplexerInvocation, Hr as isMarkdownCapableMessageChannel, Ht as resolveChannelConfigId, I as getSoonestCooldownExpiry, Ii as resolveAllowlistCandidatePath, In as resolveFreshSessionTotalTokens, Ir as normalizeDeliveryContext, It as CHAT_CHANNEL_ORDER, Ji as isSafeExecutableValue, Jn as resolveSessionTranscriptPath, Jr as GATEWAY_CLIENT_MODES, Jt as setActivePluginRegistry, K as writeConfigFile, Ki as resolveSafeBinProfiles, Kn as resolveSessionFilePath, Kr as resolveMessageChannel, L as isProfileInCooldown, Li as resolveCommandResolutionFromArgv, Ln as setSessionRuntimeModel, Lr as normalizeSessionDeliveryFields, Lt as getChatChannelMeta, M as resolveEnvApiKey, Ma as DEFAULT_PROVIDER, Mi as isWindowsPlatform, Mn as updateSessionStoreEntry, Mr as resolveAccountEntry, Mt as isPathInside, N as resolveModelAuthMode, Ni as splitCommandChain, Nr as deliveryContextFromSession, Nt as safeStatSync, O as getApiKeyForModel, Oa as resolveSecretInputRef, Oi as normalizeTrustedSafeBinDirs, On as refreshConfiguredSessionBindingEntry, Or as normalizeDiscordToken, Ot as normalizePluginsConfig, Pi as DEFAULT_SAFE_BINS, Pn as DEFAULT_RESET_TRIGGERS, Pr as deliveryContextKey, Pt as readManifestNamespace, Q as resolveIMessageRemoteAttachmentRoots, Qi as resolveSlackStreamingMode, Qn as resolveGroupSessionKey, Qr as resolveSessionLockMaxHoldFromTimeout, Qt as normalizePluginHttpPath, R as markAuthProfileFailure, Ri as extractShellWrapperInlineCommand, Rn as parseDurationMs, Rr as INTERNAL_MESSAGE_CHANNEL, Rt as listChatChannels, S as OLLAMA_NATIVE_BASE_URL, Sa as resolveAuthProfileDisplayLabel, Si as parseConfigPath, Sr as formatCliCommand, T as buildAssistantMessageWithZeroUsage, Ta as coerceSecretRef, Ti as getTrustedSafeBinDirs, Tn as prepareConfiguredSessionStorageRuntimeActivation, Tr as createDiscordActionGate, Tt as BUNDLED_ENABLED_BY_DEFAULT, U as loadConfig, Ui as splitShellArgs, Un as SAFE_SESSION_ID_RE, Ur as listDeliverableMessageChannels, Ut as getActiveGatewayPluginRegistry, V as resolveApiKeyForProfile, Vi as unwrapKnownDispatchWrapperInvocation, Vr as isInternalMessageChannel, Vt as normalizeChatChannelId, W as readConfigFileSnapshot, Wi as SAFE_BIN_PROFILES, Wn as SESSION_RUN_STORE_FILE_NAME, Wr as normalizeMessageChannel, Wt as getActivePluginRegistry, Xi as resolveDiscordPreviewStreamMode, Xn as resolveStorePath, Xr as normalizeAccountId$2, Xt as clearRegisteredPluginApis, Y as isInboundPathAllowed, Yi as mapStreamingModeToSlackLegacyDraftStreamMode, Yr as GATEWAY_CLIENT_NAMES, Yt as addRegisteredPluginApi, Z as resolveIMessageAttachmentRoots, Zi as resolveSlackNativeStreaming, Zn as deriveSessionMetaPatch, Zr as acquireSessionWriteLock, Zt as createPluginRegistry, _a as resolveAuthStorePathForDisplay, _i as getConfigOverrides, _n as requireSessionStorageRuntime, _r as resolveSignalAccount, _t as isAvatarDataUrl, a as isCliProvider, aa as runTasksWithConcurrency, ai as channelTargetSchema, an as BUILTIN_TTS_PROVIDER_IDS, ar as normalizeChannelId$1, ba as isPidAlive, bi as unsetConfigOverride, bn as commitPreparedConfiguredSessionStorageRuntimeActivation, br as hasAnyWhatsAppAuth, bt as isSupportedLocalAvatarExtension, c as normalizeProviderId, ca as getShellPathFromLoginShell, ci as stringEnum, cn as isBuiltinTtsProvider, cr as normalizeAtHashSlug, d as resolveDefaultModelForAgent, da as parseBooleanValue$1, di as actionRequiresTarget, dn as createInternalHookEvent, dr as normalizeStringEntriesLower, ea as describeUnknownError$1, ei as readTaskWorkStates, en as clearPluginCommands, er as getChannelDock, et as parseNonNegativeByteSize, f as resolveModelRefFromString, fa as resolveOwnerDisplaySetting, fn as triggerInternalHook, fr as resolveSlackAccount, ga as ensureAuthProfileStore, gi as RecoveryAdmissionError, gr as listEnabledSignalAccounts, gt as AVATAR_MAX_BYTES, h as resolveThinkingDefault, ha as markAuthProfileGood, hi as replaceBufferedPluginTaskPasses, hn as getConversationReadQuery, hr as resolveSlackBotToken, i as findNormalizedProviderValue, ia as secretRefKey, in as registerPluginCommand, ir as listChannelPlugins, ja as DEFAULT_MODEL, ji as buildEnforcedShellCommand, jn as updateSessionStore, jr as resolveChannelGroupToolsPolicy, jt as discoverOpenClawPlugins, k as getCustomProviderApiKey, ka as splitTrailingAuthProfile, ki as validateSafeBinArgv, kr as resolveChannelGroupPolicy, kt as resolveEffectiveEnableState, l as parseModelRef, la as resolveShellEnvFallbackTimeoutMs, li as applyTargetToParams, ln as replaceSpeechProviders, lr as normalizeHyphenSlug, m as resolveSubagentSpawnModelSelection, ma as listProfilesForProvider, mi as listBufferedPluginTaskPasses, mn as createConversationReadQuery, mr as resolveSlackAppToken, n as buildConfiguredAllowlistKeys, na as isRecord$2, nn as listPluginCommands, nr as normalizeSignalMessagingTarget, nt as resolveExecPolicyPreset, o as modelKey, oa as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, oi as channelTargetsSchema, on as getRegisteredSpeechProviders, or as formatAllowlistMatchMeta, p as resolveReasoningDefault, pa as dedupeProfileIds, pi as discardBufferedPluginTaskPasses, pn as StorageReadAccessError, pr as resolveSlackReplyToMode, q as validateConfigObjectWithPlugins, qi as applyMergePatch, qn as resolveSessionFilePathOptions, qr as GATEWAY_CLIENT_IDS, qt as requireActivePluginRegistry, r as buildModelAliasIndex, ra as parseDotPath, rn as matchPluginCommand, rr as getChannelPlugin, s as normalizeModelRef$2, sa as VERSION, si as optionalStringEnum, sn as getSpeechProvider, sr as resolveAllowlistMatchByCandidates, t as buildAllowedModelSet, ta as isNonEmptyString, tn as executePluginCommand, tr as listChannelDocks, u as resolveConfiguredModelRef, ua as isTruthyEnvValue, ui as actionHasTarget, un as normalizeProviderId$1, ur as normalizeStringEntries, va as resolveOpenClawAgentDir, vi as resetConfigOverrides, vn as closeConfiguredSessionStorageRuntime, vr as isWhatsAppGroupJid, vt as isAvatarHttpUrl, w as buildAssistantMessage, wa as normalizeSecretInput, wi as unsetConfigValueAtPath, wn as loadSessionStoreFromDisk, wr as resolveIMessageAccount, wt as loadPluginManifestRegistry, x as retryAsync, xa as readProcessElapsedSeconds, xi as getConfigValueAtPath, xn as getConfiguredSessionStorageRuntime, xr as resolveWhatsAppAccount, xt as buildChannelAccountBindings, ya as withFileLock$1, yi as setConfigOverride, yn as closeReplacedConfiguredSessionStorageRuntime, yr as normalizeWhatsAppTarget, yt as isPathWithinRoot, z as markAuthProfileUsed, zi as isDispatchWrapperExecutable, zn as parseSessionIndexRecordKey, zr as isDeliverableMessageChannel, zt as normalizeAnyChannelId } from "./model-selection-DFW5CGMj.js";
7
7
  import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-4eNR7tt6.js";
8
8
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-BJeEWDJb.js";
9
9
  import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BYREw_Ba.js";
10
- import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-Cl-ugSMv.js";
11
- import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-Dy4zxtn3.js";
10
+ import { a as createSlackWebClient, c as validateSlackBlocksArray, d as resolveSlackChannelId, i as normalizeSlackOutboundText, l as buildSlackBlocksFallbackText, o as resolveSlackWebClientOptions, s as parseSlackBlocksInput, t as sendMessageSlack, u as parseSlackTarget } from "./send-Dv__vEQx.js";
11
+ import { $ as setChannelPermissionDiscord, A as readMessagesDiscord, At as buildChannelKeyCandidates, B as kickMemberDiscord, C as createThreadDiscord, Ct as shouldEmitDiscordReactionNotification, D as listPinsDiscord, Dt as resolveTimestampMs, E as fetchMessageDiscord, Et as resolveDiscordSystemLocation, F as createScheduledEventDiscord, G as listGuildEmojisDiscord, H as listScheduledEventsDiscord, I as fetchChannelInfoDiscord, J as createChannelDiscord, K as uploadEmojiDiscord, L as fetchMemberInfoDiscord, M as unpinMessageDiscord, Mt as resolveChannelEntryMatchWithFallback, N as addRoleDiscord, O as listThreadsDiscord, Ot as fetchDiscord, P as banMemberDiscord, Q as removeChannelPermissionDiscord, R as fetchRoleInfoDiscord, S as recordChannelActivity, St as resolveGroupDmAllow, T as editMessageDiscord, Tt as formatDiscordUserTag, U as removeRoleDiscord, V as listGuildChannelsDiscord, W as timeoutMemberDiscord, X as editChannelDiscord, Y as deleteChannelDiscord, Z as moveChannelDiscord, _ as sendPollDiscord, _t as resolveDiscordGuildEntry, a as removeReactionDiscord, at as createDiscordClient, b as sendWebhookMessageDiscord, bt as resolveDiscordOwnerAllowFrom, c as formatDiscordComponentEventText, ct as parseDiscordTarget, d as parseDiscordModalCustomId, dt as listDiscordDirectoryPeersLive, et as stripUndefinedFields, f as parseDiscordModalCustomIdForCarbon, ft as isDiscordGroupAllowedByPolicy, g as sendMessageDiscord, gt as resolveDiscordChannelConfigWithFallback, h as resolveDiscordModalEntry, ht as resolveDiscordAllowListMatch, i as removeOwnReactionsDiscord, it as normalizePollInput, j as searchMessagesDiscord, jt as normalizeChannelSlug, k as pinMessageDiscord, kt as applyChannelMatchMeta, l as parseDiscordComponentCustomId, lt as resolveDiscordChannelId, m as resolveDiscordComponentEntry, mt as normalizeDiscordSlug, n as fetchReactionsDiscord, nt as hasAnyGuildPermissionDiscord, o as sendDiscordComponentMessage, ot as createDiscordRestClient, p as readDiscordComponentSpec, pt as normalizeDiscordAllowList, q as uploadStickerDiscord, r as reactMessageDiscord, rt as chunkDiscordTextWithMode, s as createDiscordFormModal, st as createDiscordRetryRunner, tt as fetchChannelPermissionsDiscord, u as parseDiscordComponentCustomIdForCarbon, ut as listDiscordDirectoryGroupsLive, v as sendStickerDiscord, vt as resolveDiscordMemberAccessState, w as deleteMessageDiscord, wt as formatDiscordReactionEmoji, x as getChannelActivity, xt as resolveDiscordShouldRequireMention, y as sendVoiceMessageDiscord, yt as resolveDiscordOwnerAccess, z as fetchVoiceStatusDiscord } from "./send-CS1yI0B4.js";
12
12
  import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-D81t1pbF.js";
13
- import { $ as stripMessageCarriers, A as resolveChannelResetConfig, B as openDbSessionManager, Bt as resolveProviderPromptCacheKey, C as deriveSessionTotalTokens, Ct as openRawToolResultStash, Dt as stripToolResultDetails, E as normalizeUsage, Et as sanitizeToolUseResultPairing, F as resolveAgentMainSessionKey, Ft as initializeGlobalHookRunner, G as sha256, H as drainPendingPrimaryWrites, Ht as createCurrentUserPromptEnvelope, I as resolveExplicitAgentSessionKey, It as hasHookForPlugin, J as renderInboundUserContext, K as buildInboundMetaSystemPrompt, L as resolveMainSessionKey, Lt as promptBuildResultToContribution, M as resolveSessionResetType, Mt as normalizeInputProvenance, N as resolveThreadFlag, Nt as getGlobalHookRunner, O as resolveSessionKey, Ot as canonicalToolCallIdBase, P as canonicalizeMainSessionAlias, Pt as getGlobalPluginRegistry, Q as messageTime, R as isPrimarySessionTranscriptFileName, Rt as buildPluginRuntimeIdentity, S as derivePromptTokens, St as guardSessionManager, T as makeZeroUsageSnapshot, Tt as sanitizeToolCallInputs, U as extractLegacyTranscriptEntryFields, Ut as mergePromptContributions, V as runSerializedBySession, Vt as resolveProviderRuntimeIdentity, W as sanitizeJsonb, Wt as toJsonValue$1, X as getMessageIngress, Y as attachMessageIngress, Z as isRepresentableEpochMs, _ as inferLegacyName, _t as createMessageCharEstimateCache, a as resolveMirroredTranscriptText, at as eventOrder, b as resolveDefaultCronStaggerMs, bt as getToolResultText$1, c as createSessionStorageRuntimeFromConfig, ct as capToolResultContent, dt as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, et as formatMessageStamp, ft as TOOL_RESULT_TEXT_WEIGHT, g as CREATE_CTX_STORAGE_OWNER_SQL, gt as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, h as sanitizeAppendEntry, ht as CHARS_PER_TOKEN_ESTIMATE$2, i as appendAssistantMessageToSessionTranscript, it as DB_SESSION_HYDRATION_LIMIT, j as resolveSessionResetPolicy, jt as hasInterSessionUserProvenance, k as evaluateSessionFreshness, kt as sanitizeToolCallIdsForCloudCodeAssist, l as resolveSessionStorageConfig, lt as HARD_MAX_TOOL_RESULT_CHARS, m as deriveLegacyActorIdentity, mt as truncateToolResultToChars, n as parseSessionThreadInfo, nt as resolveTimezone, o as parseInlineDirectives$1, ot as pickLeaf, p as buildEqualityProjection, pt as truncateTextHeadTail, q as collectInboundUserContext, r as resolveAndPersistSessionFile, rt as resolveSenderLabel, s as attachPgPoolErrorListeners, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tt as formatZonedTimestamp, u as validateCtxStorage, ut as sessionLikelyHasOversizedToolResults, v as normalizeHttpWebhookUrl, vt as estimateContextChars$1, w as hasNonzeroUsage, wt as repairToolUseResultPairing, x as parseAbsoluteTimeMs, xt as isToolResultMessage, y as normalizeCronStaggerMs, yt as estimateMessageCharsCached, z as isSessionArchiveArtifactName, zt as buildPluginTurnIdentity } from "./sessions-B-dL4q0P.js";
13
+ import { $ as stripMessageCarriers, A as resolveChannelResetConfig, B as openDbSessionManager, Bt as resolveProviderPromptCacheKey, C as deriveSessionTotalTokens, Ct as openRawToolResultStash, Dt as stripToolResultDetails, E as normalizeUsage, Et as sanitizeToolUseResultPairing, F as resolveAgentMainSessionKey, Ft as initializeGlobalHookRunner, G as sha256, H as drainPendingPrimaryWrites, Ht as createCurrentUserPromptEnvelope, I as resolveExplicitAgentSessionKey, It as hasHookForPlugin, J as renderInboundUserContext, K as buildInboundMetaSystemPrompt, L as resolveMainSessionKey, Lt as promptBuildResultToContribution, M as resolveSessionResetType, Mt as normalizeInputProvenance, N as resolveThreadFlag, Nt as getGlobalHookRunner, O as resolveSessionKey, Ot as canonicalToolCallIdBase, P as canonicalizeMainSessionAlias, Pt as getGlobalPluginRegistry, Q as messageTime, R as isPrimarySessionTranscriptFileName, Rt as buildPluginRuntimeIdentity, S as derivePromptTokens, St as guardSessionManager, T as makeZeroUsageSnapshot, Tt as sanitizeToolCallInputs, U as extractLegacyTranscriptEntryFields, Ut as mergePromptContributions, V as runSerializedBySession, Vt as resolveProviderRuntimeIdentity, W as sanitizeJsonb, Wt as toJsonValue$1, X as getMessageIngress, Y as attachMessageIngress, Z as isRepresentableEpochMs, _ as inferLegacyName, _t as createMessageCharEstimateCache, a as resolveMirroredTranscriptText, at as eventOrder, b as resolveDefaultCronStaggerMs, bt as getToolResultText$1, c as createSessionStorageRuntimeFromConfig, ct as capToolResultContent, dt as PREEMPTIVE_TOOL_RESULT_COMPACTION_PLACEHOLDER, et as formatMessageStamp, ft as TOOL_RESULT_TEXT_WEIGHT, g as CREATE_CTX_STORAGE_OWNER_SQL, gt as TOOL_RESULT_CHARS_PER_TOKEN_ESTIMATE, h as sanitizeAppendEntry, ht as CHARS_PER_TOKEN_ESTIMATE$2, i as appendAssistantMessageToSessionTranscript, it as DB_SESSION_HYDRATION_LIMIT, j as resolveSessionResetPolicy, jt as hasInterSessionUserProvenance, k as evaluateSessionFreshness, kt as sanitizeToolCallIdsForCloudCodeAssist, l as resolveSessionStorageConfig, lt as HARD_MAX_TOOL_RESULT_CHARS, m as deriveLegacyActorIdentity, mt as truncateToolResultToChars, n as parseSessionThreadInfo, nt as resolveTimezone, o as parseInlineDirectives$1, ot as pickLeaf, p as buildEqualityProjection, pt as truncateTextHeadTail, q as collectInboundUserContext, r as resolveAndPersistSessionFile, rt as resolveSenderLabel, s as attachPgPoolErrorListeners, st as HIDDEN_HEARTBEAT_CUSTOM_TYPE, t as extractDeliveryInfo, tt as formatZonedTimestamp, u as validateCtxStorage, ut as sessionLikelyHasOversizedToolResults, v as normalizeHttpWebhookUrl, vt as estimateContextChars$1, w as hasNonzeroUsage, wt as repairToolUseResultPairing, x as parseAbsoluteTimeMs, xt as isToolResultMessage, y as normalizeCronStaggerMs, yt as estimateMessageCharsCached, z as isSessionArchiveArtifactName, zt as buildPluginTurnIdentity } from "./sessions-A1wDmvXO.js";
14
14
  import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-DMwgeRgr.js";
15
15
  import { n as onSessionTranscriptUpdate } from "./transcript-events-Cg5s4YcQ.js";
16
16
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
@@ -21,49 +21,49 @@ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensi
21
21
  import { t as CommandLane } from "./lanes-BeC8CJL8.js";
22
22
  import { a as getCommandLaneSnapshots, c as isQueuedCommandCancellation, i as enqueueCommandInLane, n as clearCommandLane, o as getQueueSize, s as isGatewayDraining, t as CommandLaneAbortedError } from "./command-queue-K_AfPnin.js";
23
23
  import { _ as mediaKindFromMime, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, h as MAX_IMAGE_BYTES, i as getImageMetadata, l as extensionForMime, m as normalizeMimeType$1, p as kindFromMime, s as resizeToJpeg, u as getFileExtension } from "./image-ops-Dk3eDp_u.js";
24
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-B5oKc4R3.js";
25
- import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-DtaSiJ_7.js";
26
- import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-BRVJGvQa.js";
27
- import { r as isLoopbackHost } from "./ws-CWxX8WDm.js";
28
- import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-GPboJeMC.js";
29
- import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-CMwL1GBr.js";
24
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DiGB5xAq.js";
25
+ import { $ as expandPolicyWithPluginGroups, A as isLikelyContextOverflowError, B as resolveSandboxContext, C as isAuthAssistantError, D as isContextOverflowError, E as isCompactionFailureError, F as parseImageSizeError, G as resolveProfile, H as createBrowserRouteContext, I as sanitizeUserFacingText, J as resolveBrowserControlAuth, K as getBridgeAuthForPort, L as isAuthPermanentErrorMessage, M as isRawApiErrorPayload, N as isTransientHttpError, O as isFailoverAssistantError, P as parseImageDimensionError, Q as collectExplicitAllowlist, R as isTimeoutErrorMessage, S as getApiErrorPayloadFingerprint, T as isCloudCodeAssistFormatError, U as registerBrowserRoutes, V as resolveSandboxRuntimeStatus, W as resolveBrowserConfig, X as applyOwnerOnlyToolPolicy, Y as resolveSandboxConfigForAgent, Z as buildPluginToolGroups, _ as BILLING_ERROR_USER_MESSAGE, at as listCoreToolIds, b as formatBillingErrorMessage, c as sanitizeSessionMessagesImages, ct as buildBootstrapContextFiles, d as resolveImageSanitizationLimits, dt as sanitizeGoogleTurnOrdering, et as mergeAlsoAllowPolicy, f as canonicalizeBase64, g as isGoogleModelApi, h as downgradeOpenAIReasoningBlocks, i as pickFallbackThinkingLevel, it as resolveToolProfilePolicy, j as isRateLimitAssistantError, k as isFailoverErrorMessage, l as sanitizeImageBlocks, lt as resolveBootstrapMaxChars, m as downgradeOpenAIFunctionCallReasoningPairs, n as validateAnthropicTurns, nt as expandToolGroups, o as isMessagingToolDuplicateNormalized, ot as compileGlobPatterns, p as estimateBase64DecodedBytes, q as ensureBrowserControlAuth, r as validateGeminiTurns, rt as normalizeToolName, s as normalizeTextForComparison, st as matchesAnyGlobPattern, t as extractTextFromChatContent, tt as stripPluginOnlyAllowlist, u as sanitizeToolResultImages, ut as resolveBootstrapTotalMaxChars, v as classifyFailoverReason, w as isBillingAssistantError, x as formatRawAssistantErrorForUi, y as formatAssistantErrorText, z as ensureSandboxWorkspaceForSession } from "./chat-content-B7yKTLAY.js";
26
+ import { B as DEFAULT_AI_SNAPSHOT_MAX_CHARS, C as ensureChromeExtensionRelayServer, M as DEFAULT_UPLOAD_DIR, N as resolveExistingPathsWithinRoot, s as resolveLsofCommandSync } from "./chrome-DQ2kyZpc.js";
27
+ import { r as isLoopbackHost } from "./ws-CQigqc-W.js";
28
+ import { r as trimToUndefined, t as resolveGatewayCredentialsFromConfig } from "./credentials-U5jLZxJ-.js";
29
+ import { a as skillsSnapshotSourceDiffers, c as assertMediaNotDataUrl, f as resolveSandboxedMediaSource, i as resolveSkillsPromptForRun, l as assertSandboxPath, m as applySkillEnvOverridesFromSnapshot, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverrides, r as loadWorkspaceSkillEntries, u as resolveSandboxInputPath } from "./skills-D7jLGkoP.js";
30
30
  import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-nWrE5acE.js";
31
31
  import { i as hasErrnoCode, o as readErrorName, r as formatErrorMessage } from "./errors-B_bbUZmd.js";
32
32
  import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-CFEZK0gv.js";
33
- import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-C0UK-5dm.js";
33
+ import { a as isBlockedHostnameOrIp, l as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-RzbogHFe.js";
34
34
  import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-CMoTRwPk.js";
35
35
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CWMxbvLB.js";
36
36
  import { r as writeJsonAtomic } from "./json-files-1Zv08-ZT.js";
37
37
  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-D6R5MauW.js";
38
- import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as DOCS_SITE_URL, N as docsSiteUrl, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveSessionReference, a as buildAgentToAgentReplyContext, b as clearActiveCoordinationDepth, c as resolvePingPongTurns, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentMessageContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as AuthorizationError, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as isAnnounceSkip, p as resolveSandboxedSessionToolContext, r as buildAgentToAgentAnnounceContext, s as isReplySkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as callGatewayLeastPrivilege, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-Chvj0Rw2.js";
39
- import { t as ensureOpenClawModelsJson } from "./models-config-BaSANr-E.js";
40
- import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-MJ65xlDX.js";
41
- import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, 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-BF4B99Db.js";
42
- import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-BzeUsif1.js";
43
- import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-D49piGJ5.js";
38
+ import { A as validateSecretsResolveResult, C as callGateway, D as GatewayClient, E as resolveLeastPrivilegeOperatorScopesForMethod, M as DOCS_SITE_URL, N as docsSiteUrl, O as gatewayErrorReason, S as buildGatewayConnectionDetails, T as randomIdempotencyKey, _ as resolveSessionReference, a as buildAgentToAgentReplyContext, b as clearActiveCoordinationDepth, c as resolvePingPongTurns, d as createSessionVisibilityGuard, f as resolveEffectiveSessionToolsVisibility, g as resolveMainSessionAlias, h as resolveInternalSessionKey, i as buildAgentToAgentMessageContext, j as SESSION_LABEL_MAX_LENGTH, k as gatewayErrorShapeOf, l as AuthorizationError, m as resolveDisplaySessionKey, n as requestAuthorizedNudge, o as isAnnounceSkip, p as resolveSandboxedSessionToolContext, r as buildAgentToAgentAnnounceContext, s as isReplySkip, u as createAgentToAgentPolicy, v as resolveVisibleSessionReference, w as callGatewayLeastPrivilege, x as setActiveCoordinationDepth, y as shouldResolveSessionIdInput } from "./nudge-DklIe0bB.js";
39
+ import { t as ensureOpenClawModelsJson } from "./models-config-tNRAxYqz.js";
40
+ import { C as coerceImageModelConfig, D as loadModelCatalog, E as findModelInCatalog, O as modelSupportsVision, S as coerceImageAssistantText, T as resolveProviderVisionModelFromConfig, _ as stripCarriedTranscriptFromBody, a as resolveMediaAttachmentLocalRoots, c as applyTemplate, d as normalizeMediaUnderstandingChatType, f as resolveMediaUnderstandingScope, i as normalizeMediaAttachments, l as resolveConcurrency, n as buildProviderRegistry, o as runCapability, p as CLI_OUTPUT_MAX_BUFFER, r as createMediaAttachmentCache, s as minimaxUnderstandImage, t as runAudioTranscription, u as resolveTimeoutMs$2, v as buildRandomTempFilePath, w as decodeDataUrl, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-Bk1wu6OC.js";
41
+ import { a as formatReasoningMessage, d as stripThinkingTagsFromText, f as formatToolSummary, 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-D9zLeiKy.js";
42
+ import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit } from "./fetch-JiVpsY-F.js";
43
+ import { a as bindAbortRelay, n as withStrictGuardedFetchMode, o as fetchWithTimeout, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dn6Z6n6a.js";
44
44
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-C9CqDW38.js";
45
- import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-CGvXEMAJ.js";
46
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CzhZ9VCB.js";
47
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-vVwcX8JG.js";
48
- import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-BO2o7Un9.js";
49
- import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-Bax2KSZY.js";
50
- import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BowlGHGe.js";
51
- import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-y0WL6xuI.js";
52
- import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-5zWtWfx5.js";
53
- import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-bMw-LLuz.js";
54
- import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-x1MM90HA.js";
45
+ import { a as chunkText, c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, l as resolveChunkMode, o as chunkTextWithMode, r as chunkMarkdownText, t as chunkByNewline, u as resolveChunkNewlinePacking } from "./chunk-BBj2TedD.js";
46
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
47
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-Bra81NIe.js";
48
+ import { _ as isRestartEnabled, a as listChatCommands, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as isCommandEnabled, l as normalizeCommandBody, m as shouldHandleTextCommands, o as listChatCommandsForConfig, p as serializeCommandArgs, r as findCommandByNativeName, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-b4F_78R4.js";
49
+ import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-CTOXtrSm.js";
50
+ import { a as getGatewayInstanceId, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DRV1SIKe.js";
51
+ import { c as enqueueAgentTurn, d as peekDelayedAgentTurn, f as setDelayedReleaseHold, i as AGENT_TURN_TOPIC, l as isClaimableAgentTurnWorkId, m as KeyedAsyncQueue, p as WORKSPACE_LANE_DENIED_REASON, r as tryGetAgentTurnRuntime, s as clearDelayedReleaseHold, u as mergeDelayedAgentTurn } from "./agent-turn-runner-BkWusthz.js";
52
+ import { _ as endModelCall, a as isEmbeddedPiRunActive, b as onAgentEvent, d as handleMessageEnd, f as handleMessageStart, g as createInlineCodeState, h as buildCodeSpanIndex, i as endInFlightEmbeddedAttempt, l as setActiveEmbeddedRun, m as emitEmbeddedAgentEvent, n as beginInFlightEmbeddedAttempt, o as isEmbeddedPiRunStreaming, p as handleMessageUpdate, r as clearActiveEmbeddedRun, s as queueEmbeddedPiMessage, t as abortEmbeddedPiRun, u as waitForEmbeddedPiRunEnd, v as clearAgentRunContext, x as registerAgentRunContext, y as emitAgentEvent } from "./runs-CAO_rrxJ.js";
53
+ import { a as toInternalMessageReceivedContext, c as toPluginMessageReceivedEvent, d as resolveOutboundSessionId, i as toInternalMessagePreprocessedContext, l as fireAndForgetHook, n as createMessageSentEmitter, o as toInternalMessageTranscribedContext, r as deriveInboundMessageHookContext, s as toPluginMessageContext, t as applyMessageSendingHook, u as buildOutboundSessionContext } from "./outbound-message-hooks-CrrbzX7U.js";
54
+ import { A as resolveReplyToMode, C as applyReplyThreading, D as shouldSuppressMessagingToolReplies, E as isRenderablePayload, M as normalizeChannelTargetInput, N as normalizeTargetForProvider, O as shouldSuppressReasoningPayload, S as applyReplyTagsToPayload, T as filterMessagingToolMediaDuplicates, _ as resolveContextTokensForModel, a as normalizeOutboundPayloadsForJson, b as readFullTranscriptEntriesFromBackend, c as loadCombinedSessionStoreForGateway, d as throwIfAborted, f as loadChannelOutboundAdapter, g as lookupContextTokens, h as stripLeadingInboundMetadata, i as normalizeOutboundPayloads, j as buildTargetResolverSignature, k as createReplyToModeFilterForChannel, l as capArrayByJsonBytes, m as extractToolCallNames, o as normalizeReplyPayloadsForDelivery, p as countToolResults, r as formatOutboundPayloadLog, s as stampReplyActivity, t as deliverOutboundPayloads, u as jsonUtf8Bytes, v as computeBackoff, w as filterMessagingToolDuplicates, x as transcriptEntriesToMessages, y as sleepWithAbort } from "./deliver-BQSIZZRd.js";
55
55
  import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-DhKB2ga9.js";
56
- import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-Cpgrvssj.js";
57
- import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-1Axnvvz6.js";
58
- import { t as convertMarkdownTables } from "./tables-rCzAF-en.js";
59
- import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-DarQZxqY.js";
60
- import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-DJypuRge.js";
61
- import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-DdyIJ_uy.js";
62
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-B15qdahX.js";
63
- import { t as recordInboundSessionMetaSafe } from "./session-meta-DgpwY0ah.js";
64
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-7qxW8HcU.js";
65
- import { n as resolveMemorySearchConfig } from "./manager-DRfrqzWR.js";
66
- import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-BVj0lCGG.js";
56
+ import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DQjTi7nc.js";
57
+ import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames } from "./skill-commands-CZ8IAEbM.js";
58
+ import { t as convertMarkdownTables } from "./tables-BFlTcF5k.js";
59
+ import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-D4Hftiqp.js";
60
+ import { a as resolveSignalRpcContext, c as streamSignalEvents, n as sendReadReceiptSignal, o as signalCheck, r as sendTypingSignal, s as signalRpcRequest, t as sendMessageSignal } from "./send-FQrlCKRx.js";
61
+ import { a as formatIMessageChatTarget, c as parseIMessageTarget, i as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, o as isAllowedIMessageSender, r as createIMessageRpcClient, s as normalizeIMessageHandle, t as sendMessageIMessage } from "./send-T9aTnSyS.js";
62
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-D96zWGGF.js";
63
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-CyokAxEY.js";
64
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$2, t as createSlackReplyDeliveryPlan } from "./replies-BL7cHT2h.js";
65
+ import { n as resolveMemorySearchConfig } from "./manager-DIIInXxQ.js";
66
+ import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-Dm_RIg6M.js";
67
67
  import { t as isQmdScopeAllowed } from "./qmd-scope-BRP7NXq1.js";
68
68
  import { createRequire } from "node:module";
69
69
  import * as path$1 from "node:path";
@@ -84,7 +84,7 @@ import { DefaultResourceLoader, SessionManager, SettingsManager, convertToLlm, c
84
84
  import { EdgeTTS } from "node-edge-tts";
85
85
  import net from "node:net";
86
86
  import { ProxyAgent, fetch as fetch$1 } from "undici";
87
- import WebSocket from "ws";
87
+ import WebSocket$1 from "ws";
88
88
  import { Worker } from "node:worker_threads";
89
89
  import { createJiti } from "jiti";
90
90
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -9623,7 +9623,7 @@ async function routeReply(params) {
9623
9623
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
9624
9624
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
9625
9625
  try {
9626
- const { deliverOutboundPayloads } = await import("./deliver-x1MM90HA.js").then((n) => n.n);
9626
+ const { deliverOutboundPayloads } = await import("./deliver-BQSIZZRd.js").then((n) => n.n);
9627
9627
  const outboundSession = buildOutboundSessionContext({
9628
9628
  cfg,
9629
9629
  agentId: resolvedAgentId,
@@ -11620,7 +11620,7 @@ async function sendTranscriptEcho(params) {
11620
11620
  }
11621
11621
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
11622
11622
  try {
11623
- const { deliverOutboundPayloads } = await import("./deliver-x1MM90HA.js").then((n) => n.n);
11623
+ const { deliverOutboundPayloads } = await import("./deliver-BQSIZZRd.js").then((n) => n.n);
11624
11624
  await deliverOutboundPayloads({
11625
11625
  cfg,
11626
11626
  channel: normalizedChannel,
@@ -31951,7 +31951,7 @@ async function createModelSelectionState(params) {
31951
31951
  }
31952
31952
  }
31953
31953
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
31954
- const { ensureAuthProfileStore } = await import("./model-selection-DkRYDpst.js").then((n) => n.P);
31954
+ const { ensureAuthProfileStore } = await import("./model-selection-DFW5CGMj.js").then((n) => n.P);
31955
31955
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
31956
31956
  const providerKey = normalizeProviderId(provider);
31957
31957
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -51524,7 +51524,7 @@ async function deliverSessionMaintenanceWarning(params) {
51524
51524
  return;
51525
51525
  }
51526
51526
  try {
51527
- const { deliverOutboundPayloads } = await import("./deliver-x1MM90HA.js").then((n) => n.n);
51527
+ const { deliverOutboundPayloads } = await import("./deliver-BQSIZZRd.js").then((n) => n.n);
51528
51528
  const outboundSession = buildOutboundSessionContext({
51529
51529
  cfg: params.cfg,
51530
51530
  sessionKey: params.sessionKey
@@ -62566,7 +62566,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
62566
62566
  let transcript;
62567
62567
  let carry;
62568
62568
  if (needsPreflightTranscription) try {
62569
- const { transcribeFirstAudio } = await import("./audio-preflight-Bdn8EyXv.js");
62569
+ const { transcribeFirstAudio } = await import("./audio-preflight-cWE_jPq7.js");
62570
62570
  const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
62571
62571
  if (uploadable.length > 0) {
62572
62572
  const preflight = await transcribeFirstAudio({
@@ -69836,19 +69836,19 @@ function createDefaultDeps() {
69836
69836
  };
69837
69837
  }),
69838
69838
  sendMessageDiscord: async (...args) => {
69839
- const { sendMessageDiscord } = await import("./send-Dy4zxtn3.js").then((n) => n.t);
69839
+ const { sendMessageDiscord } = await import("./send-CS1yI0B4.js").then((n) => n.t);
69840
69840
  return await sendMessageDiscord(...args);
69841
69841
  },
69842
69842
  sendMessageSlack: async (...args) => {
69843
- const { sendMessageSlack } = await import("./send-Cl-ugSMv.js").then((n) => n.n);
69843
+ const { sendMessageSlack } = await import("./send-Dv__vEQx.js").then((n) => n.n);
69844
69844
  return await sendMessageSlack(...args);
69845
69845
  },
69846
69846
  sendMessageSignal: async (...args) => {
69847
- const { sendMessageSignal } = await import("./send-DJypuRge.js").then((n) => n.i);
69847
+ const { sendMessageSignal } = await import("./send-FQrlCKRx.js").then((n) => n.i);
69848
69848
  return await sendMessageSignal(...args);
69849
69849
  },
69850
69850
  sendMessageIMessage: async (...args) => {
69851
- const { sendMessageIMessage } = await import("./send-DdyIJ_uy.js").then((n) => n.n);
69851
+ const { sendMessageIMessage } = await import("./send-T9aTnSyS.js").then((n) => n.n);
69852
69852
  return await sendMessageIMessage(...args);
69853
69853
  }
69854
69854
  };
@@ -73443,7 +73443,7 @@ var ResilientGatewayPlugin = class extends GatewayPlugin {
73443
73443
  }
73444
73444
  createWebSocket(url) {
73445
73445
  if (!this.wsAgent) return super.createWebSocket(url);
73446
- return new WebSocket(url, { agent: this.wsAgent });
73446
+ return new WebSocket$1(url, { agent: this.wsAgent });
73447
73447
  }
73448
73448
  };
73449
73449
  function createDiscordGatewayPlugin(params) {
@@ -82327,7 +82327,7 @@ function readSlackExternalArgMenuToken(raw) {
82327
82327
  }
82328
82328
  let commandsRegistry;
82329
82329
  async function getCommandsRegistry() {
82330
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-BO2o7Un9.js").then((n) => n.n);
82330
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-b4F_78R4.js").then((n) => n.n);
82331
82331
  return commandsRegistry;
82332
82332
  }
82333
82333
  function encodeSlackCommandArgValue(parts) {
@@ -82657,14 +82657,14 @@ async function registerSlackMonitorSlashCommands(params) {
82657
82657
  const channelName = channelInfo?.name;
82658
82658
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
82659
82659
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
82660
- import("./resolve-route-B15qdahX.js").then((n) => n.r),
82660
+ import("./resolve-route-D96zWGGF.js").then((n) => n.r),
82661
82661
  import("./inbound-context-DhKB2ga9.js").then((n) => n.n),
82662
82662
  Promise.resolve().then(() => provider_dispatcher_exports)
82663
82663
  ]);
82664
82664
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
82665
82665
  import("./conversation-label-BYREw_Ba.js").then((n) => n.t),
82666
82666
  import("./reply-prefix-4eNR7tt6.js").then((n) => n.n),
82667
- import("./session-meta-DgpwY0ah.js").then((n) => n.n)
82667
+ import("./session-meta-CyokAxEY.js").then((n) => n.n)
82668
82668
  ]);
82669
82669
  const route = resolveAgentRoute({
82670
82670
  cfg,
@@ -82729,9 +82729,9 @@ async function registerSlackMonitorSlashCommands(params) {
82729
82729
  });
82730
82730
  const deliverSlashPayloads = async (replies) => {
82731
82731
  const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
82732
- import("./replies-7qxW8HcU.js").then((n) => n.r),
82733
- import("./chunk-CGvXEMAJ.js").then((n) => n.s),
82734
- import("./markdown-tables-CzhZ9VCB.js").then((n) => n.t)
82732
+ import("./replies-BL7cHT2h.js").then((n) => n.r),
82733
+ import("./chunk-BBj2TedD.js").then((n) => n.s),
82734
+ import("./markdown-tables-7TebvIj0.js").then((n) => n.t)
82735
82735
  ]);
82736
82736
  await deliverSlackSlashReplies({
82737
82737
  replies,
@@ -82785,7 +82785,7 @@ async function registerSlackMonitorSlashCommands(params) {
82785
82785
  let nativeCommands = [];
82786
82786
  if (nativeEnabled) {
82787
82787
  reg = await getCommandsRegistry();
82788
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-1Axnvvz6.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
82788
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-CZ8IAEbM.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
82789
82789
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
82790
82790
  skillCommands,
82791
82791
  provider: "slack"
@@ -83729,7 +83729,7 @@ async function getMemorySearchManager(params) {
83729
83729
  if (cached) return { manager: cached };
83730
83730
  }
83731
83731
  try {
83732
- const { QmdMemoryManager } = await import("./qmd-manager-B_ED_NmL.js");
83732
+ const { QmdMemoryManager } = await import("./qmd-manager-C4rOtrQS.js");
83733
83733
  const primary = await QmdMemoryManager.create({
83734
83734
  cfg: params.cfg,
83735
83735
  agentId: params.agentId,
@@ -83741,7 +83741,7 @@ async function getMemorySearchManager(params) {
83741
83741
  const wrapper = new FallbackMemoryManager({
83742
83742
  primary,
83743
83743
  fallbackFactory: async () => {
83744
- const { MemoryIndexManager } = await import("./manager-DRfrqzWR.js").then((n) => n.t);
83744
+ const { MemoryIndexManager } = await import("./manager-DIIInXxQ.js").then((n) => n.t);
83745
83745
  return await MemoryIndexManager.get(params);
83746
83746
  }
83747
83747
  }, () => {
@@ -83756,7 +83756,7 @@ async function getMemorySearchManager(params) {
83756
83756
  }
83757
83757
  }
83758
83758
  try {
83759
- const { MemoryIndexManager } = await import("./manager-DRfrqzWR.js").then((n) => n.t);
83759
+ const { MemoryIndexManager } = await import("./manager-DIIInXxQ.js").then((n) => n.t);
83760
83760
  return { manager: await MemoryIndexManager.get(params) };
83761
83761
  } catch (err) {
83762
83762
  return {
@@ -88921,7 +88921,7 @@ function createPluginRuntime(options = {}) {
88921
88921
  workStates: readTaskWorkStates
88922
88922
  },
88923
88923
  resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
88924
- sessions: { startUserRun: async (params) => (await import("./user-run-recording-Bax2KSZY.js").then((n) => n.n)).startUserSessionRun(params) }
88924
+ sessions: { startUserRun: async (params) => (await import("./user-run-recording-CTOXtrSm.js").then((n) => n.n)).startUserSessionRun(params) }
88925
88925
  };
88926
88926
  Object.defineProperty(runtime, "analysis", {
88927
88927
  enumerable: true,
@@ -95426,7 +95426,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
95426
95426
  * Throws if the connection is not open.
95427
95427
  */
95428
95428
  send(event) {
95429
- if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
95429
+ if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
95430
95430
  this.ws.send(JSON.stringify(event));
95431
95431
  }
95432
95432
  /**
@@ -95443,7 +95443,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
95443
95443
  * Returns true if the WebSocket is currently open and ready to send.
95444
95444
  */
95445
95445
  isConnected() {
95446
- return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
95446
+ return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
95447
95447
  }
95448
95448
  /**
95449
95449
  * Permanently closes the WebSocket connection and disables auto-reconnect.
@@ -95453,7 +95453,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
95453
95453
  this._cancelRetryTimer();
95454
95454
  if (this.ws) {
95455
95455
  this.ws.removeAllListeners();
95456
- if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
95456
+ if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
95457
95457
  this.ws = null;
95458
95458
  }
95459
95459
  }
@@ -95463,7 +95463,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
95463
95463
  reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
95464
95464
  return;
95465
95465
  }
95466
- const socket = new WebSocket(this.wsUrl, { headers: {
95466
+ const socket = new WebSocket$1(this.wsUrl, { headers: {
95467
95467
  Authorization: `Bearer ${this.apiKey}`,
95468
95468
  "OpenAI-Beta": "responses-websocket=v1"
95469
95469
  } });