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,73 +1,73 @@
1
- import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-BxT9DAJM.js";
2
- import { $ as getChannelPlugin, $n as resolveAuthProfileOrder, A as refreshConfiguredSessionBindingEntry, Aa as optionalStringEnum, Ai as listChatChannels, An as resolveDefaultModelForAgent, At as resolveChannelGroupRequireMention, Bi as setActivePluginRegistry, Bn as retryAsync, Br as resolveAllowlistCandidatePath, Bt as isGatewayMessageChannel, C as getConfiguredSessionStorageRuntime, Ca as readTaskWorkStates, Ci as discoverOpenClawPlugins, Cn as findNormalizedProviderValue, Cr as unsetConfigValueAtPath, Ct as resolveWhatsAppAccount, D as prepareConfiguredSessionStorageRuntimeActivation, Dn as normalizeProviderId, Dr as resolveTelegramCustomCommands, Dt as resolveDiscordAccount, E as loadSessionStoreFromDisk, Ei as readManifestNamespace, En as normalizeModelRef$2, Er as normalizeTelegramCommandName, Et as listEnabledDiscordAccounts, F as DEFAULT_RESET_TRIGGERS, Fi as getActiveGatewayPluginRegistry, Fr as ASSISTANT_IDENTITY_COLORS, Ft as mergeDeliveryContext, Gi as resolveSlackStreamingMode, Gn as buildStreamErrorAssistantMessage, Gr as unwrapKnownDispatchWrapperInvocation, Gt as resolveGatewayMessageChannel, Hi as mapStreamingModeToSlackLegacyDraftStreamMode, Hn as createOllamaStreamFn, Hr as extractShellWrapperInlineCommand, Ht as isMarkdownCapableMessageChannel, I as mergeSessionEntry, Ia as discardBufferedPluginTaskPasses, Ii as getActivePluginRegistry, Ir as secretRefKey, It as normalizeDeliveryContext, J as resolveSessionTranscriptPath, Jn as getCustomProviderApiKey, Jr as parseDurationMs, Jt as GATEWAY_CLIENT_MODES, K as resolveSessionFilePath, Kn as buildUsageWithNoCost, Kr as unwrapKnownShellMultiplexerInvocation, Kt as resolveMessageChannel, L as resolveFreshSessionTotalTokens, La as listBufferedPluginTaskPasses, Li as getActivePluginRegistryKey, Lr as resolveExecPolicyPreset, Lt as normalizeSessionDeliveryFields, M as updateSessionStore, Ma as applyTargetToParams, Mi as normalizeChannelId$2, Mn as resolveReasoningDefault, Mr as resolveIMessageRemoteAttachmentRoots, Mt as resolveAccountEntry, N as updateSessionStoreEntry, Na as actionHasTarget, Ni as normalizeChatChannelId, Nn as resolveSubagentSpawnModelSelection, Nr as normalizeScpRemoteHost, Nt as deliveryContextFromSession, O as readSessionUpdatedAt, Oa as channelTargetSchema, Oi as CHAT_CHANNEL_ORDER, On as parseModelRef, Ot as normalizeDiscordToken, Pa as actionRequiresTarget, Pi as resolveChannelConfigId, Pn as resolveThinkingDefault, Pr as parseNonNegativeByteSize, Pt as deliveryContextKey, Q as resolveGroupSessionKey, Qi as ensureAuthProfileStore, Qn as resolveModelAuthMode, Qt as resolveSessionLockMaxHoldFromTimeout, R as setSessionRuntimeModel, Ra as replaceBufferedPluginTaskPasses, Rr as DEFAULT_SAFE_BINS, Rt as INTERNAL_MESSAGE_CHANNEL, S as commitPreparedConfiguredSessionStorageRuntimeActivation, Sa as resolveOwnerDisplaySetting, Si as resolveMemorySlotDecision, Sn as buildModelAliasIndex, Sr as setConfigValueAtPath, St as hasAnyWhatsAppAuth, T as loadSessionStore, Ti as safeStatSync, Tn as modelKey, Tr as TELEGRAM_COMMAND_NAME_PATTERN, Tt as createDiscordActionGate, U as SAFE_SESSION_ID_RE, Ui as resolveDiscordPreviewStreamMode, Un as buildAssistantMessage, Ur as isDispatchWrapperExecutable, Ut as listDeliverableMessageChannels, Vi as isSafeExecutableValue, Vn as OLLAMA_NATIVE_BASE_URL, Vr as resolveCommandResolutionFromArgv, Vt as isInternalMessageChannel, W as SESSION_RUN_STORE_FILE_NAME, Wi as resolveSlackNativeStreaming, Wn as buildAssistantMessageWithZeroUsage, Wr as isShellWrapperExecutable, Wt as normalizeMessageChannel, X as resolveStorePath, Xi as listProfilesForProvider, Xn as resolveApiKeyForProvider, Xt as normalizeAccountId$3, Yi as dedupeProfileIds, Yn as requireApiKey, Yt as GATEWAY_CLIENT_NAMES, Z as deriveSessionMetaPatch, Zi as markAuthProfileGood, Zn as resolveEnvApiKey, Zt as acquireSessionWriteLock, _ as getConversationReadQuery, _a as VERSION, _i as BUNDLED_ENABLED_BY_DEFAULT, _n as applyMergePatch, _r as resetConfigOverrides, _t as resolveSlackBotToken, a as normalizePluginHttpPath, aa as readProcessElapsedSeconds, an as isTrustedSafeBinPath, ar as markAuthProfileUsed, at as normalizeAtHashSlug, b as closeConfiguredSessionStorageRuntime, ba as isTruthyEnvValue, bi as normalizePluginsConfig, bn as buildAllowedModelSet, br as getConfigValueAtPath, bt as isWhatsAppGroupJid, c as executePluginCommand, ca as normalizeSecretInput, ci as AVATAR_MAX_BYTES, cn as validateSafeBinArgv, cr as resolveSecretRefValues, ct as normalizeStringEntriesLower, d as matchPluginCommand, da as normalizeResolvedSecretInputString, di as isPathWithinRoot, dn as isWindowsPlatform, dr as isRecord$1, dt as listTelegramAccountIds, ea as resolveAuthStorePathForDisplay, en as loadConfig, et as listChannelPlugins, f as registerPluginCommand, fa as resolveSecretInputRef, fi as isSupportedLocalAvatarExtension, fn as splitCommandChain, fr as parseDotPath, ft as resolveTelegramAccount, g as createConversationReadQuery, ga as DEFAULT_PROVIDER, gi as loadPluginManifestRegistry, gn as resolveSafeBinProfiles, gr as getConfigOverrides, gt as resolveSlackAppToken, h as StorageReadAccessError, ha as DEFAULT_MODEL, hi as validateJsonSchemaValue, hn as normalizeSafeBinProfileFixtures, hr as resolveCliName, ht as resolveSlackReplyToMode, i as createPluginRegistry, ia as isPidAlive, in as getTrustedSafeBinDirs, ir as markAuthProfileFailure, it as normalizeSignalMessagingTarget, j as updateLastRoute, ja as stringEnum, ji as normalizeAnyChannelId, jn as resolveModelRefFromString, jr as resolveIMessageAttachmentRoots, jt as resolveChannelGroupToolsPolicy, k as recordSessionMetaFromInbound, ka as channelTargetsSchema, ki as getChatChannelMeta, kn as resolveConfiguredModelRef, kr as isInboundPathAllowed, kt as resolveChannelGroupPolicy, l as getPluginCommandSpecs, la as coerceSecretRef, li as isAvatarDataUrl, ln as analyzeShellCommand, lr as describeUnknownError$1, lt as createTelegramActionGate, m as triggerInternalHook, ma as DEFAULT_CONTEXT_TOKENS, mn as SAFE_BIN_PROFILES, mr as formatCliCommand, mt as resolveSlackAccount, n as clearRegisteredPluginApis, na as withFileLock, nr as getSoonestCooldownExpiry, nt as getChannelDock, o as buildPluginHealthReport, oa as resolveAuthProfileDisplayLabel, on as listWritableExplicitTrustedSafeBinDirs, or as resolveProfilesUnavailableReason, ot as normalizeHyphenSlug, p as createInternalHookEvent, pa as splitTrailingAuthProfile, pi as buildChannelAccountBindings, pn as splitShellArgs, pr as runTasksWithConcurrency, pt as resolveTelegramToken, q as resolveSessionFilePathOptions, qn as getApiKeyForModel, qt as GATEWAY_CLIENT_IDS, ra as resolveProcessScopedMap, rn as writeConfigFile, rr as isProfileInCooldown, rt as listChannelDocks, s as clearPluginCommands, sn as normalizeTrustedSafeBinDirs, sr as resolveApiKeyForProfile, st as normalizeStringEntries, t as addRegisteredPluginApi, ta as resolveOpenClawAgentDir, tn as readConfigFileSnapshot, tt as normalizeChannelId$1, u as listPluginCommands, ua as hasConfiguredSecretInput, ui as isAvatarHttpUrl, un as buildEnforcedShellCommand, ur as isNonEmptyString, ut as listEnabledTelegramAccounts, va as getShellPathFromLoginShell, vi as applyTestPluginDefaults, vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, vr as setConfigOverride, vt as listEnabledSignalAccounts, wi as isPathInside, wn as isCliProvider, wr as validateConfigObjectWithPlugins, wt as resolveIMessageAccount, x as closeReplacedConfiguredSessionStorageRuntime, xa as parseBooleanValue$1, xi as resolveEffectiveEnableState, xn as buildConfiguredAllowlistKeys, xr as parseConfigPath, xt as normalizeWhatsAppTarget, y as requireSessionStorageRuntime, ya as resolveShellEnvFallbackTimeoutMs, yi as isBundledChannelEnabledByChannelConfig, yn as resolveAgentMaxConcurrent, yr as unsetConfigOverride, yt as resolveSignalAccount, z as parseSessionIndexRecordKey, za as RecoveryAdmissionError, zi as requireActivePluginRegistry, zr as matchAllowlist, zt as isDeliverableMessageChannel } from "./registry-BTK650xq.js";
1
+ import { a as isBlockedHostnameOrIp, d as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-Jn7VToae.js";
2
+ import { $ as getChannelPlugin, $n as resolveAuthProfileOrder, A as refreshConfiguredSessionBindingEntry, Aa as optionalStringEnum, Ai as listChatChannels, An as resolveDefaultModelForAgent, At as resolveChannelGroupRequireMention, Bi as setActivePluginRegistry, Bn as retryAsync, Br as resolveAllowlistCandidatePath, Bt as isGatewayMessageChannel, C as getConfiguredSessionStorageRuntime, Ca as readTaskWorkStates, Ci as discoverOpenClawPlugins, Cn as findNormalizedProviderValue, Cr as unsetConfigValueAtPath, Ct as resolveWhatsAppAccount, D as prepareConfiguredSessionStorageRuntimeActivation, Dn as normalizeProviderId, Dr as resolveTelegramCustomCommands, Dt as resolveDiscordAccount, E as loadSessionStoreFromDisk, Ei as readManifestNamespace, En as normalizeModelRef$2, Er as normalizeTelegramCommandName, Et as listEnabledDiscordAccounts, F as DEFAULT_RESET_TRIGGERS, Fi as getActiveGatewayPluginRegistry, Fr as ASSISTANT_IDENTITY_COLORS, Ft as mergeDeliveryContext, Gi as resolveSlackStreamingMode, Gn as buildStreamErrorAssistantMessage, Gr as unwrapKnownDispatchWrapperInvocation, Gt as resolveGatewayMessageChannel, Hi as mapStreamingModeToSlackLegacyDraftStreamMode, Hn as createOllamaStreamFn, Hr as extractShellWrapperInlineCommand, Ht as isMarkdownCapableMessageChannel, I as mergeSessionEntry, Ia as discardBufferedPluginTaskPasses, Ii as getActivePluginRegistry, Ir as secretRefKey, It as normalizeDeliveryContext, J as resolveSessionTranscriptPath, Jn as getCustomProviderApiKey, Jr as parseDurationMs, Jt as GATEWAY_CLIENT_MODES, K as resolveSessionFilePath, Kn as buildUsageWithNoCost, Kr as unwrapKnownShellMultiplexerInvocation, Kt as resolveMessageChannel, L as resolveFreshSessionTotalTokens, La as listBufferedPluginTaskPasses, Li as getActivePluginRegistryKey, Lr as resolveExecPolicyPreset, Lt as normalizeSessionDeliveryFields, M as updateSessionStore, Ma as applyTargetToParams, Mi as normalizeChannelId$2, Mn as resolveReasoningDefault, Mr as resolveIMessageRemoteAttachmentRoots, Mt as resolveAccountEntry, N as updateSessionStoreEntry, Na as actionHasTarget, Ni as normalizeChatChannelId, Nn as resolveSubagentSpawnModelSelection, Nr as normalizeScpRemoteHost, Nt as deliveryContextFromSession, O as readSessionUpdatedAt, Oa as channelTargetSchema, Oi as CHAT_CHANNEL_ORDER, On as parseModelRef, Ot as normalizeDiscordToken, Pa as actionRequiresTarget, Pi as resolveChannelConfigId, Pn as resolveThinkingDefault, Pr as parseNonNegativeByteSize, Pt as deliveryContextKey, Q as resolveGroupSessionKey, Qi as ensureAuthProfileStore, Qn as resolveModelAuthMode, Qt as resolveSessionLockMaxHoldFromTimeout, R as setSessionRuntimeModel, Ra as replaceBufferedPluginTaskPasses, Rr as DEFAULT_SAFE_BINS, Rt as INTERNAL_MESSAGE_CHANNEL, S as commitPreparedConfiguredSessionStorageRuntimeActivation, Sa as resolveOwnerDisplaySetting, Si as resolveMemorySlotDecision, Sn as buildModelAliasIndex, Sr as setConfigValueAtPath, St as hasAnyWhatsAppAuth, T as loadSessionStore, Ti as safeStatSync, Tn as modelKey, Tr as TELEGRAM_COMMAND_NAME_PATTERN, Tt as createDiscordActionGate, U as SAFE_SESSION_ID_RE, Ui as resolveDiscordPreviewStreamMode, Un as buildAssistantMessage, Ur as isDispatchWrapperExecutable, Ut as listDeliverableMessageChannels, Vi as isSafeExecutableValue, Vn as OLLAMA_NATIVE_BASE_URL, Vr as resolveCommandResolutionFromArgv, Vt as isInternalMessageChannel, W as SESSION_RUN_STORE_FILE_NAME, Wi as resolveSlackNativeStreaming, Wn as buildAssistantMessageWithZeroUsage, Wr as isShellWrapperExecutable, Wt as normalizeMessageChannel, X as resolveStorePath, Xi as listProfilesForProvider, Xn as resolveApiKeyForProvider, Xt as normalizeAccountId$3, Yi as dedupeProfileIds, Yn as requireApiKey, Yt as GATEWAY_CLIENT_NAMES, Z as deriveSessionMetaPatch, Zi as markAuthProfileGood, Zn as resolveEnvApiKey, Zt as acquireSessionWriteLock, _ as getConversationReadQuery, _a as VERSION, _i as BUNDLED_ENABLED_BY_DEFAULT, _n as applyMergePatch, _r as resetConfigOverrides, _t as resolveSlackBotToken, a as normalizePluginHttpPath, aa as readProcessElapsedSeconds, an as isTrustedSafeBinPath, ar as markAuthProfileUsed, at as normalizeAtHashSlug, b as closeConfiguredSessionStorageRuntime, ba as isTruthyEnvValue, bi as normalizePluginsConfig, bn as buildAllowedModelSet, br as getConfigValueAtPath, bt as isWhatsAppGroupJid, c as executePluginCommand, ca as normalizeSecretInput, ci as AVATAR_MAX_BYTES, cn as validateSafeBinArgv, cr as resolveSecretRefValues, ct as normalizeStringEntriesLower, d as matchPluginCommand, da as normalizeResolvedSecretInputString, di as isPathWithinRoot, dn as isWindowsPlatform, dr as isRecord$1, dt as listTelegramAccountIds, ea as resolveAuthStorePathForDisplay, en as loadConfig, et as listChannelPlugins, f as registerPluginCommand, fa as resolveSecretInputRef, fi as isSupportedLocalAvatarExtension, fn as splitCommandChain, fr as parseDotPath, ft as resolveTelegramAccount, g as createConversationReadQuery, ga as DEFAULT_PROVIDER, gi as loadPluginManifestRegistry, gn as resolveSafeBinProfiles, gr as getConfigOverrides, gt as resolveSlackAppToken, h as StorageReadAccessError, ha as DEFAULT_MODEL, hi as validateJsonSchemaValue, hn as normalizeSafeBinProfileFixtures, hr as resolveCliName, ht as resolveSlackReplyToMode, i as createPluginRegistry, ia as isPidAlive, in as getTrustedSafeBinDirs, ir as markAuthProfileFailure, it as normalizeSignalMessagingTarget, j as updateLastRoute, ja as stringEnum, ji as normalizeAnyChannelId, jn as resolveModelRefFromString, jr as resolveIMessageAttachmentRoots, jt as resolveChannelGroupToolsPolicy, k as recordSessionMetaFromInbound, ka as channelTargetsSchema, ki as getChatChannelMeta, kn as resolveConfiguredModelRef, kr as isInboundPathAllowed, kt as resolveChannelGroupPolicy, l as getPluginCommandSpecs, la as coerceSecretRef, li as isAvatarDataUrl, ln as analyzeShellCommand, lr as describeUnknownError$1, lt as createTelegramActionGate, m as triggerInternalHook, ma as DEFAULT_CONTEXT_TOKENS, mn as SAFE_BIN_PROFILES, mr as formatCliCommand, mt as resolveSlackAccount, n as clearRegisteredPluginApis, na as withFileLock, nr as getSoonestCooldownExpiry, nt as getChannelDock, o as buildPluginHealthReport, oa as resolveAuthProfileDisplayLabel, on as listWritableExplicitTrustedSafeBinDirs, or as resolveProfilesUnavailableReason, ot as normalizeHyphenSlug, p as createInternalHookEvent, pa as splitTrailingAuthProfile, pi as buildChannelAccountBindings, pn as splitShellArgs, pr as runTasksWithConcurrency, pt as resolveTelegramToken, q as resolveSessionFilePathOptions, qn as getApiKeyForModel, qt as GATEWAY_CLIENT_IDS, ra as resolveProcessScopedMap, rn as writeConfigFile, rr as isProfileInCooldown, rt as listChannelDocks, s as clearPluginCommands, sn as normalizeTrustedSafeBinDirs, sr as resolveApiKeyForProfile, st as normalizeStringEntries, t as addRegisteredPluginApi, ta as resolveOpenClawAgentDir, tn as readConfigFileSnapshot, tt as normalizeChannelId$1, u as listPluginCommands, ua as hasConfiguredSecretInput, ui as isAvatarHttpUrl, un as buildEnforcedShellCommand, ur as isNonEmptyString, ut as listEnabledTelegramAccounts, va as getShellPathFromLoginShell, vi as applyTestPluginDefaults, vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, vr as setConfigOverride, vt as listEnabledSignalAccounts, wi as isPathInside, wn as isCliProvider, wr as validateConfigObjectWithPlugins, wt as resolveIMessageAccount, x as closeReplacedConfiguredSessionStorageRuntime, xa as parseBooleanValue$1, xi as resolveEffectiveEnableState, xn as buildConfiguredAllowlistKeys, xr as parseConfigPath, xt as normalizeWhatsAppTarget, y as requireSessionStorageRuntime, ya as resolveShellEnvFallbackTimeoutMs, yi as isBundledChannelEnabledByChannelConfig, yn as resolveAgentMaxConcurrent, yr as unsetConfigOverride, yt as resolveSignalAccount, z as parseSessionIndexRecordKey, za as RecoveryAdmissionError, zi as requireActivePluginRegistry, zr as matchAllowlist, zt as isDeliverableMessageChannel } from "./registry-D4bdZvb5.js";
3
3
  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-BIDPYPVC.js";
4
- import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as ensureDir$3, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3 } from "./subsystem-P3MeMKnQ.js";
4
+ import { B as appendFileLog, C as shortenHomePath, D as danger, E as truncateUtf16Safe, F as isRich, G as INCLUDE_KEY, H as normalizeLogLevel, I as theme, J as isBlockedObjectKey, L as getChildLogger, M as shouldLogVerbose, N as warn, P as colorize, Q as openBoundaryFileSync, S as shortenHomeInString, T as sliceUtf16Safe, Z as openBoundaryFile, _ as normalizeE164, a as createNonExitingRuntime, b as resolveUserPath, c as registerActiveProgressLine, d as clampInt, g as isRecord$2, h as formatTerminalLink, j as setVerbose, k as logVerbose, l as unregisterActiveProgressLine, lt as isDangerousHostEnvVarName, m as escapeRegExp, mt as resolvePreferredOpenClawTmpDir, o as defaultRuntime, p as ensureDir$3, s as clearActiveProgressLine, st as normalizeWindowsPathForComparison, t as createSubsystemLogger, u as CONFIG_DIR, w as sleep$3 } from "./subsystem-C4zZI3bH.js";
5
5
  import { t as isPlainObject } from "./plain-object-CLm2c5Nu.js";
6
- import { $ as toAgentStoreSessionKey, A as resolveAgentModelFallbackValues, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as normalizeAgentId, J as resolveCanonicalIdentity, K as normalizeMainKey, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sessionKeyAgentMatches, S as filterBootstrapFilesForSession, U as isKnownAgentMainSessionKey, W as isValidAgentId, X as resolveThreadSessionKeys, Y as resolveConfiguredCanonicalIdentity, Z as sanitizeAgentId, _ as DEFAULT_IDENTITY_FILENAME, at as WAKE_GATE_SESSION_KEY_SEGMENT, c as resolveDefaultAgentId, ct as isAcpSessionKey, d as resolveSessionAgentId, dt as parseAgentSessionKey, et as DEFAULT_ACCOUNT_ID, f as resolveSessionAgentIds, ft as resolveThreadParentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isCronSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as normalizeOptionalAccountId, o as resolveAgentSkillsFilter, ot as deriveSessionChatType, q as resolveAgentIdFromSessionKey, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, st as getSubagentDepth, t as hasConfiguredModelFallbacks, tt as normalizeAccountId$4, u as resolveRunModelFallbacksOverride, ut as isSubagentSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as classifySessionKeyShape } from "./agent-scope-BntS_qwq.js";
7
- import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-D3WPxGxp.js";
6
+ import { $ as toAgentStoreSessionKey, A as resolveAgentModelFallbackValues, C as loadWorkspaceBootstrapFiles, D as runExec, E as runCommandWithTimeout, F as DEVICE_SENDER_PREFIX, G as normalizeAgentId, J as resolveCanonicalIdentity, K as normalizeMainKey, L as buildAgentMainSessionKey, M as toAgentModelListLike, N as DEFAULT_AGENT_ID, O as spawnWithFallback, Q as sessionKeyAgentMatches, S as filterBootstrapFilesForSession, U as isKnownAgentMainSessionKey, W as isValidAgentId, X as resolveThreadSessionKeys, Y as resolveConfiguredCanonicalIdentity, Z as sanitizeAgentId, _ as DEFAULT_IDENTITY_FILENAME, at as WAKE_GATE_SESSION_KEY_SEGMENT, c as resolveDefaultAgentId, ct as isAcpSessionKey, d as resolveSessionAgentId, dt as parseAgentSessionKey, et as DEFAULT_ACCOUNT_ID, f as resolveSessionAgentIds, ft as resolveThreadParentSessionKey, g as DEFAULT_HEARTBEAT_FILENAME, h as DEFAULT_BOOTSTRAP_FILENAME, i as resolveAgentDir, j as resolveAgentModelPrimaryValue, l as resolveEffectiveModelFallbacks, lt as isCronSessionKey, m as DEFAULT_AGENT_WORKSPACE_DIR, n as listAgentIds, nt as normalizeOptionalAccountId, o as resolveAgentSkillsFilter, ot as deriveSessionChatType, q as resolveAgentIdFromSessionKey, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, st as getSubagentDepth, t as hasConfiguredModelFallbacks, tt as normalizeAccountId$4, u as resolveRunModelFallbacksOverride, ut as isSubagentSessionKey, w as resolveOpenClawPackageRoot, x as ensureAgentWorkspace, z as classifySessionKeyShape } from "./agent-scope-BwrU3hdj.js";
7
+ import { i as logWarn, n as logError, r as logInfo, t as logDebug } from "./logger-DyKgSZpY.js";
8
8
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken } from "./github-copilot-token-0cZptJ8H.js";
9
9
  import { n as normalizeChatType, t as resolveConversationLabel } from "./conversation-label-DA_qUFFI.js";
10
- import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-5OUVkrXG.js";
11
- import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, 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, kt as resolveChannelEntryMatchWithFallback, 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-BWBUpUnp.js";
10
+ import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-oZMPIUyN.js";
11
+ import { $ as fetchChannelPermissionsDiscord, A as addRoleDiscord, 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, kt as resolveChannelEntryMatchWithFallback, 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-L3EZWgk1.js";
12
12
  import { n as isDiagnosticsEnabled, t as emitDiagnosticEvent } from "./diagnostic-events-CDas3Sai.js";
13
- import { $ as buildBootstrapContextFiles, A as isRateLimitAssistantError, B as resolveSandboxRuntimeStatus, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, G as getBridgeAuthForPort, H as registerBrowserRoutes, I as isAuthPermanentErrorMessage, J as resolveGatewayCredentialsFromConfig, K as ensureBrowserControlAuth, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, Q as matchesAnyGlobPattern, R as ensureSandboxWorkspaceForSession, S as isAuthAssistantError, T as isCompactionFailureError, U as resolveBrowserConfig, V as createBrowserRouteContext, W as resolveProfile, X as resolveSandboxConfigForAgent, Y as trimToUndefined$1, Z as compileGlobPatterns, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, at as buildPluginToolGroups, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, ct as mergeAlsoAllowPolicy, d as canonicalizeBase64, dt as normalizeToolName, et as resolveBootstrapMaxChars, f as estimateBase64DecodedBytes, ft as resolveToolProfilePolicy, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, it as applyOwnerOnlyToolPolicy, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, lt as stripPluginOnlyAllowlist, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, nt as sanitizeGoogleTurnOrdering, o as normalizeTextForComparison, ot as collectExplicitAllowlist, p as downgradeOpenAIFunctionCallReasoningPairs, q as resolveBrowserControlAuth, r as pickFallbackThinkingLevel, rt as extractTextFromChatContent, s as sanitizeSessionMessagesImages, st as expandPolicyWithPluginGroups, t as validateAnthropicTurns, tt as resolveBootstrapTotalMaxChars, u as resolveImageSanitizationLimits, ut as expandToolGroups, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveSandboxContext } from "./pi-embedded-helpers-CwQOU3Fg.js";
14
- import { $ as SESSION_RUN_STATUSES, A as deriveLegacyActorIdentity, B as getMessageIngress, C as resolveSessionStorageConfig, Ct as toJsonValue$1, D as buildEqualityProjection, E as TASK_RUN_STATUSES, F as userIdFromSessionKey, G as formatZonedTimestamp, H as messageTime, I as buildInboundMetaSystemPrompt, J as derivePromptTokens, K as resolveTimezone, L as collectInboundUserContext, M as extractLegacyTranscriptEntryFields, N as sanitizeJsonb, O as CREATE_CTX_STORAGE_OWNER_SQL, P as sha256, Q as normalizeUsage, R as renderInboundUserContext, S as createSessionStorageRuntimeFromConfig, St as mergePromptContributions, T as TASK_RUN_MODES, U as stripMessageCarriers, V as isRepresentableEpochMs, W as formatMessageStamp, X as hasNonzeroUsage, Y as deriveSessionTotalTokens, Z as makeZeroUsageSnapshot, _ as normalizeInputProvenance, _t as buildPluginRuntimeIdentity, a as resolveMirroredTranscriptText, at as resolveThreadFlag, b as pickLeaf, bt as resolveProviderRuntimeIdentity, c as drainPendingPrimaryWrites, ct as resolveExplicitAgentSessionKey, d as sanitizeToolCallInputs, dt as isSessionArchiveArtifactName, et as resolveSessionKey, f as sanitizeToolUseResultPairing, ft as getGlobalHookRunner, g as hasInterSessionUserProvenance, gt as promptBuildResultToContribution, h as INPUT_PROVENANCE_KIND_VALUES, ht as hasHookForPlugin, i as appendAssistantMessageToSessionTranscript, it as resolveSessionResetType, j as sanitizeAppendEntry, k as HIDDEN_HEARTBEAT_CUSTOM_TYPE, l as guardSessionManager, lt as resolveMainSessionKey, m as sanitizeToolCallIdsForCloudCodeAssist, mt as initializeGlobalHookRunner, n as parseSessionThreadInfo, nt as resolveChannelResetConfig, o as openDbSessionManager, ot as canonicalizeMainSessionAlias, p as stripToolResultDetails, pt as getGlobalPluginRegistry, q as resolveSenderLabel, r as resolveAndPersistSessionFile, rt as resolveSessionResetPolicy, s as runSerializedBySession, st as resolveAgentMainSessionKey, t as extractDeliveryInfo, tt as evaluateSessionFreshness, u as repairToolUseResultPairing, ut as isPrimarySessionTranscriptFileName, v as DB_SESSION_HYDRATION_LIMIT, vt as buildPluginTurnIdentity, w as validateCtxStorage, x as parseInlineDirectives$1, xt as createCurrentUserPromptEnvelope, y as eventOrder, yt as resolveProviderPromptCacheKey, z as attachMessageIngress } from "./sessions-BROdQX63.js";
13
+ import { $ as buildBootstrapContextFiles, A as isRateLimitAssistantError, B as resolveSandboxRuntimeStatus, C as isBillingAssistantError, D as isFailoverAssistantError, E as isContextOverflowError, F as sanitizeUserFacingText, G as getBridgeAuthForPort, H as registerBrowserRoutes, I as isAuthPermanentErrorMessage, J as resolveGatewayCredentialsFromConfig, K as ensureBrowserControlAuth, L as isTimeoutErrorMessage, M as isTransientHttpError, N as parseImageDimensionError, O as isFailoverErrorMessage, P as parseImageSizeError, Q as matchesAnyGlobPattern, R as ensureSandboxWorkspaceForSession, S as isAuthAssistantError, T as isCompactionFailureError, U as resolveBrowserConfig, V as createBrowserRouteContext, W as resolveProfile, X as resolveSandboxConfigForAgent, Y as trimToUndefined$1, Z as compileGlobPatterns, _ as classifyFailoverReason, a as isMessagingToolDuplicateNormalized, at as buildPluginToolGroups, b as formatRawAssistantErrorForUi, c as sanitizeImageBlocks, ct as mergeAlsoAllowPolicy, d as canonicalizeBase64, dt as normalizeToolName, et as resolveBootstrapMaxChars, f as estimateBase64DecodedBytes, ft as resolveToolProfilePolicy, g as BILLING_ERROR_USER_MESSAGE, h as isGoogleModelApi, it as applyOwnerOnlyToolPolicy, j as isRawApiErrorPayload, k as isLikelyContextOverflowError, l as sanitizeToolResultImages, lt as stripPluginOnlyAllowlist, m as downgradeOpenAIReasoningBlocks, n as validateGeminiTurns, nt as sanitizeGoogleTurnOrdering, o as normalizeTextForComparison, ot as collectExplicitAllowlist, p as downgradeOpenAIFunctionCallReasoningPairs, q as resolveBrowserControlAuth, r as pickFallbackThinkingLevel, rt as extractTextFromChatContent, s as sanitizeSessionMessagesImages, st as expandPolicyWithPluginGroups, t as validateAnthropicTurns, tt as resolveBootstrapTotalMaxChars, u as resolveImageSanitizationLimits, ut as expandToolGroups, v as formatAssistantErrorText, w as isCloudCodeAssistFormatError, x as getApiErrorPayloadFingerprint, y as formatBillingErrorMessage, z as resolveSandboxContext } from "./pi-embedded-helpers-CQABRu8W.js";
14
+ import { $ as SESSION_RUN_STATUSES, A as deriveLegacyActorIdentity, B as getMessageIngress, C as resolveSessionStorageConfig, Ct as toJsonValue$1, D as buildEqualityProjection, E as TASK_RUN_STATUSES, F as userIdFromSessionKey, G as formatZonedTimestamp, H as messageTime, I as buildInboundMetaSystemPrompt, J as derivePromptTokens, K as resolveTimezone, L as collectInboundUserContext, M as extractLegacyTranscriptEntryFields, N as sanitizeJsonb, O as CREATE_CTX_STORAGE_OWNER_SQL, P as sha256, Q as normalizeUsage, R as renderInboundUserContext, S as createSessionStorageRuntimeFromConfig, St as mergePromptContributions, T as TASK_RUN_MODES, U as stripMessageCarriers, V as isRepresentableEpochMs, W as formatMessageStamp, X as hasNonzeroUsage, Y as deriveSessionTotalTokens, Z as makeZeroUsageSnapshot, _ as normalizeInputProvenance, _t as buildPluginRuntimeIdentity, a as resolveMirroredTranscriptText, at as resolveThreadFlag, b as pickLeaf, bt as resolveProviderRuntimeIdentity, c as drainPendingPrimaryWrites, ct as resolveExplicitAgentSessionKey, d as sanitizeToolCallInputs, dt as isSessionArchiveArtifactName, et as resolveSessionKey, f as sanitizeToolUseResultPairing, ft as getGlobalHookRunner, g as hasInterSessionUserProvenance, gt as promptBuildResultToContribution, h as INPUT_PROVENANCE_KIND_VALUES, ht as hasHookForPlugin, i as appendAssistantMessageToSessionTranscript, it as resolveSessionResetType, j as sanitizeAppendEntry, k as HIDDEN_HEARTBEAT_CUSTOM_TYPE, l as guardSessionManager, lt as resolveMainSessionKey, m as sanitizeToolCallIdsForCloudCodeAssist, mt as initializeGlobalHookRunner, n as parseSessionThreadInfo, nt as resolveChannelResetConfig, o as openDbSessionManager, ot as canonicalizeMainSessionAlias, p as stripToolResultDetails, pt as getGlobalPluginRegistry, q as resolveSenderLabel, r as resolveAndPersistSessionFile, rt as resolveSessionResetPolicy, s as runSerializedBySession, st as resolveAgentMainSessionKey, t as extractDeliveryInfo, tt as evaluateSessionFreshness, u as repairToolUseResultPairing, ut as isPrimarySessionTranscriptFileName, v as DB_SESSION_HYDRATION_LIMIT, vt as buildPluginTurnIdentity, w as validateCtxStorage, x as parseInlineDirectives$1, xt as createCurrentUserPromptEnvelope, y as eventOrder, yt as resolveProviderPromptCacheKey, z as attachMessageIngress } from "./sessions-kCKcUu0G.js";
15
15
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CukeRixQ.js";
16
- import { t as ensureOpenClawModelsJson } from "./models-config-5o62EXeP.js";
17
- import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, 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, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-tFHwPYyZ.js";
18
- 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-BBfWJHzr.js";
19
- import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-BVB9Mwgh.js";
20
- 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-C4ypwCPM.js";
21
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DXmARbM6.js";
22
- import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-DHoeX993.js";
23
- import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-EN4sbefW.js";
24
- import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BhD_zSpP.js";
25
- 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-BroD2WjS.js";
26
- import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-u0-QqQaA.js";
16
+ import { t as ensureOpenClawModelsJson } from "./models-config-DpPIXvsk.js";
17
+ import { C as loadModelCatalog, S as findModelInCatalog, _ as stripCarriedTranscriptFromBody, a as resolveAutoImageModel, 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, v as buildRandomTempFilePath, w as modelSupportsVision, x as resolveAttachmentKind, y as registerUnhandledRejectionHandler } from "./audio-transcription-runner-BV6mgvKd.js";
18
+ 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-BBZ7A53G.js";
19
+ import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, V as resolveClientIp, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-_RqjLetF.js";
20
+ 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-C8I00Q-d.js";
21
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BCIRwyTT.js";
22
+ import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-D8RbIpnX.js";
23
+ import { a as formatUncaughtError, c as readErrorName, i as formatErrorMessage, o as hasErrnoCode, r as formatErrorChainMessage, t as collectErrorGraphCandidates } from "./errors-CJaXhYu_.js";
24
+ import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-B5q3Ro0t.js";
25
+ 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-DwbVAes_.js";
26
+ import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-8-4eifYe.js";
27
27
  import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
28
28
  import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DK2jwfON.js";
29
29
  import { n as onSessionTranscriptUpdate } from "./transcript-events-UAKcGiUQ.js";
30
30
  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-BUbh2qQQ.js";
31
- import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-CzPKvVDD.js";
32
- import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-C2CyW7ho.js";
33
- import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-BuuSnNb6.js";
34
- import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CwnyN9xD.js";
35
- import { r as makeProxyFetch } from "./proxy-fetch-COwQOlkE.js";
36
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-WnMW5Ivk.js";
37
- import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, D as registerAccount, E as recordWebhook, 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, T as recordUpdate, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as getPairingAdapter, a as reactMessageTelegram, at as firstDefined$1, b as wrapFileReferencesInHtml, bt as resolveTelegramTargetChatType, c as sendStickerTelegram, ct as resolveGroupAllowFromSources, d as extractTelegramErrorText, dt as addChannelAllowFromStoreEntry, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, ft as readChannelAllowFromStore, g as isTelegramEditMayHaveLandedError, gt as writeJsonFileAtomically, h as isTelegramClientRejection, ht as readJsonFileWithFallback, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as upsertChannelPairingRequest, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, ot as isSenderIdAllowed, p as isRecoverableTelegramNetworkError, pt as removeChannelAllowFromStoreEntry, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as mergeDmAllowFromSources, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as listPairingChannels, w as recordState, x as fingerprintTelegramToken, xt as isVoiceCompatibleAudio, y as renderTelegramHtmlText, yt as parseTelegramTarget, z as buildTelegramGroupPeerId } from "./send-DLOdG87V.js";
38
- import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-CaPkWfh4.js";
39
- import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-C9RXYDrV.js";
40
- import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-DXwkkGHl.js";
31
+ import { a as decodeDataUrl, i as coerceImageModelConfig, n as minimaxUnderstandImage, o as resolveProviderVisionModelFromConfig, r as coerceImageAssistantText } from "./provider-image-D68je2De.js";
32
+ import { a as getDefaultMediaLocalRoots, i as getAgentScopedMediaLocalRoots, n as fetchRemoteMedia, r as readResponseWithLimit, t as MediaFetchError } from "./fetch-CtOWHleE.js";
33
+ import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-Dkh_eUF5.js";
34
+ import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CD_yGfZE.js";
35
+ import { r as makeProxyFetch } from "./proxy-fetch-BU0BahZR.js";
36
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DEbpDNUd.js";
37
+ import { $ as resolveTelegramStreamMode, A as splitTelegramCaption, B as buildTelegramParentPeer, C as recordApiRequest, D as registerAccount, E as recordWebhook, 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, T as recordUpdate, U as describeReplyTarget, V as buildTelegramThreadParams, W as expandTextLinks, X as resolveTelegramGroupAllowFromContext, Y as resolveTelegramForumThreadId, Z as resolveTelegramMediaPlaceholder, _ as markdownToTelegramChunks, _t as getPairingAdapter, a as reactMessageTelegram, at as firstDefined$1, b as wrapFileReferencesInHtml, bt as resolveTelegramTargetChatType, c as sendStickerTelegram, ct as resolveGroupAllowFromSources, d as extractTelegramErrorText, dt as addChannelAllowFromStoreEntry, et as resolveTelegramThreadSpec, f as isDefiniteTelegramRequestNonDeliveryError, ft as readChannelAllowFromStore, g as isTelegramEditMayHaveLandedError, gt as writeJsonFileAtomically, h as isTelegramClientRejection, ht as readJsonFileWithFallback, i as editMessageTelegram, it as resolveSenderAllowMatch$1, j as formatTelegramErrorMessage, k as resolveTelegramFetch, l as resolveTelegramVoiceSend, lt as formatLocationText, m as isSafeToRetrySendError, mt as upsertChannelPairingRequest, n as createForumTopicTelegram, nt as normalizeAllowFrom$2, o as sendMessageTelegram, ot as isSenderIdAllowed, p as isRecoverableTelegramNetworkError, pt as removeChannelAllowFromStoreEntry, q as normalizeForwardedContext, r as deleteMessageTelegram, rt as normalizeDmAllowFromWithStore$1, s as sendPollTelegram, st as mergeDmAllowFromSources, t as buildInlineKeyboard, tt as isSenderAllowed$1, u as wasSentByBot, ut as toLocationContext, v as markdownToTelegramHtml, vt as listPairingChannels, w as recordState, x as fingerprintTelegramToken, xt as isVoiceCompatibleAudio, y as renderTelegramHtmlText, yt as parseTelegramTarget, z as buildTelegramGroupPeerId } from "./send-BMsI1uD6.js";
38
+ import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-C7h_latl.js";
39
+ import { A as boundDiagnosticContent, C as logWebhookError, D as refreshRunProgress, E as recordSystemPromptHashComparison, M as resetCommandPollCount, O as startDiagnosticHeartbeat, S as logToolExecutionStarted, T as logWebhookReceived, b as logToolExecutionBlocked, d as logRunCompleted, f as logRunStarted, j as recordCommandPoll, k as stopDiagnosticHeartbeat, l as logModelCallError, o as logMessageProcessed, p as logSessionStateChange, s as logMessageQueued, w as logWebhookProcessed, x as logToolExecutionCompleted } from "./diagnostic-CN6oMklk.js";
40
+ import { r as getDiagnosticSessionState, s as redactChannelCorrelation } from "./diagnostic-session-state-B7xgL4EH.js";
41
41
  import { t as redactIdentifier } from "./redact-identifier-DOBpgWrz.js";
42
42
  import { t as CommandLane } from "./lanes-B3Md-s7F.js";
43
- 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-vzG7C13f.js";
44
- import { a as resolveSessionRunStore, n as deriveSessionRunId, o as getGatewayInstanceId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DbuLLtvO.js";
45
- import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-BI2J0zJw.js";
46
- import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, f as WORKSPACE_LANE_DENIED_REASON, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-BedHKKTA.js";
47
- 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-BIleHXMn.js";
48
- import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-7vW2SpGf.js";
49
- 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-BEVCcXT2.js";
50
- import { A as buildTargetResolverSignature, C as filterMessagingToolDuplicates, D as shouldSuppressReasoningPayload, E as shouldSuppressMessagingToolReplies, M as normalizeTargetForProvider, O as createReplyToModeFilterForChannel, S as applyReplyThreading, T as isRenderablePayload, _ as computeBackoff, a as normalizeReplyPayloadsForDelivery, b as transcriptEntriesToMessages, c as capArrayByJsonBytes, d as loadChannelOutboundAdapter, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as normalizeChannelTargetInput, k as resolveReplyToMode, l as jsonUtf8Bytes, m as stripLeadingInboundMetadata, n as formatOutboundPayloadLog, o as stampReplyActivity, p as extractToolCallNames, r as normalizeOutboundPayloads, s as loadCombinedSessionStoreForGateway, t as deliverOutboundPayloads, u as throwIfAborted, v as sleepWithAbort, w as filterMessagingToolMediaDuplicates, x as applyReplyTagsToPayload, y as readFullTranscriptEntriesFromBackend } from "./deliver-toZqd8Zh.js";
51
- import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-BZc81v9_.js";
52
- import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-Dwt0CYv2.js";
53
- import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-BMIGojZU.js";
54
- import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-DczihS8f.js";
55
- import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-BcF2Y_zX.js";
43
+ 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-hfxtV2VZ.js";
44
+ import { a as resolveSessionRunStore, n as deriveSessionRunId, o as getGatewayInstanceId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BYD1AFnJ.js";
45
+ import { c as getSkillsSnapshotVersion, i as resolveSkillCommandInvocation, l as pruneExpiredPending, n as listSkillCommandsForAgents, o as getRemoteSkillEligibility, r as listSkillCommandsForWorkspace, s as ensureSkillsWatcher, t as listReservedChatSlashCommandNames, u as resolvePairingPaths } from "./skill-commands-By1EYgDs.js";
46
+ import { a as clearDelayedReleaseHold, c as mergeDelayedAgentTurn, d as KeyedAsyncQueue, f as WORKSPACE_LANE_DENIED_REASON, i as agentTurnIdempotencyKey, l as peekDelayedAgentTurn, n as getAgentTurnRuntime, o as enqueueAgentTurn, r as tryGetAgentTurnRuntime, s as isClaimableAgentTurnWorkId, u as setDelayedReleaseHold } from "./agent-turn-runner-EloA-ngm.js";
47
+ 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-D1qOdhcO.js";
48
+ import { a as resolveAgentIdentity, i as resolveAckReaction, o as resolveEffectiveMessagesConfig, r as resolveResponsePrefixTemplate, s as resolveHumanDelayConfig, t as createReplyPrefixOptions } from "./reply-prefix-At8R1bbk.js";
49
+ 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-BLhxw7i-.js";
50
+ import { A as buildTargetResolverSignature, C as filterMessagingToolDuplicates, D as shouldSuppressReasoningPayload, E as shouldSuppressMessagingToolReplies, M as normalizeTargetForProvider, O as createReplyToModeFilterForChannel, S as applyReplyThreading, T as isRenderablePayload, _ as computeBackoff, a as normalizeReplyPayloadsForDelivery, b as transcriptEntriesToMessages, c as capArrayByJsonBytes, d as loadChannelOutboundAdapter, f as countToolResults, g as resolveContextTokensForModel, h as lookupContextTokens, i as normalizeOutboundPayloadsForJson, j as normalizeChannelTargetInput, k as resolveReplyToMode, l as jsonUtf8Bytes, m as stripLeadingInboundMetadata, n as formatOutboundPayloadLog, o as stampReplyActivity, p as extractToolCallNames, r as normalizeOutboundPayloads, s as loadCombinedSessionStoreForGateway, t as deliverOutboundPayloads, u as throwIfAborted, v as sleepWithAbort, w as filterMessagingToolMediaDuplicates, x as applyReplyTagsToPayload, y as readFullTranscriptEntriesFromBackend } from "./deliver-C8XnLLmN.js";
51
+ import { r as normalizeInboundTextNewlines, t as finalizeInboundContext } from "./inbound-context-Cj1CW24W.js";
52
+ import { _ as isNativeCommandsExplicitlyDisabled, a as listChatCommands, b as resolveNativeSkillsEnabled, c as listNativeCommandSpecsForConfig, d as parseCommandArgs, f as resolveCommandArgChoices, g as isCommandFlagEnabled, h as shouldHandleTextCommands, i as isCommandEnabled, l as maybeResolveTextAlias, m as serializeCommandArgs, o as listChatCommandsForConfig, p as resolveCommandArgMenu, r as findCommandByNativeName, s as listNativeCommandSpecs, t as buildCommandTextFromArgs, u as normalizeCommandBody, v as isRestartEnabled, y as resolveNativeCommandsEnabled } from "./commands-registry-DoQyGrD1.js";
53
+ import { i as AGENT_LANE_SUBAGENT, r as AGENT_LANE_NESTED, t as startUserSessionRun } from "./user-run-recording-jrX94Xgo.js";
54
+ import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-BxGrbtmv.js";
55
+ import { a as createDiscordRetryRunner, i as normalizePollInput, n as recordChannelActivity, t as getChannelActivity } from "./channel-activity-gtDRfKPp.js";
56
56
  import { t as buildOutboundMediaLoadOptions } from "./load-options-HhYz4kBT.js";
57
- import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-C_Z6Frew.js";
57
+ import { a as loadWebMedia, i as getDefaultLocalRoots, o as loadWebMediaRaw } from "./ir-1hIR4EkI.js";
58
58
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-BltFuU5F.js";
59
- 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-CKsBY7Vk.js";
60
- import { n as resolveMarkdownTableMode } from "./markdown-tables-6i8RKKOg.js";
61
- import { t as convertMarkdownTables } from "./tables-CCGvyRLO.js";
62
- import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-CBRF9XxL.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-Bp7OXuxt.js";
64
- 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-B2IZ4oJh.js";
65
- import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-CV47F1Ku.js";
66
- import { t as createTelegramPollingTransport } from "./proxy-DL66TxEc.js";
67
- import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-BdqyZKr_.js";
68
- import { t as recordInboundSessionMetaSafe } from "./session-meta-CDira0a-.js";
69
- import { n as resolveMemorySearchConfig } from "./manager-BhIQFB5_.js";
70
- import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-C5IjN8UN.js";
59
+ 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-B_4cunUj.js";
60
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DOSfK4q-.js";
61
+ import { t as convertMarkdownTables } from "./tables-Cgw43QUG.js";
62
+ import { n as splitMediaFromOutput, t as parseReplyDirectives } from "./reply-directives-BpuvbctR.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-B1YGtsp5.js";
64
+ 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-CkImeWwo.js";
65
+ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BE3czYlJ.js";
66
+ import { t as createTelegramPollingTransport } from "./proxy-DaxTPcTO.js";
67
+ import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-5EATH7iw.js";
68
+ import { t as recordInboundSessionMetaSafe } from "./session-meta-BmyS0vEB.js";
69
+ import { n as resolveMemorySearchConfig } from "./manager-Bv-WYxKr.js";
70
+ import { m as normalizeExtraMemoryPaths, p as listMemoryFiles } from "./query-expansion-DgBrAu_0.js";
71
71
  import { createRequire } from "node:module";
72
72
  import * as path$1 from "node:path";
73
73
  import path, { basename, isAbsolute, join } from "node:path";
@@ -76,7 +76,7 @@ import { Type } from "@sinclair/typebox";
76
76
  import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
77
77
  import os, { homedir } from "node:os";
78
78
  import { inspect, isDeepStrictEqual, promisify } from "node:util";
79
- import json5 from "json5";
79
+ import JSON5 from "json5";
80
80
  import * as fs$2 from "node:fs/promises";
81
81
  import fs$1, { open } from "node:fs/promises";
82
82
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
@@ -88,7 +88,7 @@ import { createJiti } from "jiti";
88
88
  import net from "node:net";
89
89
  import { DefaultResourceLoader, SessionManager, SettingsManager, convertToLlm, createAgentSession, createCodingTools, createEditTool, createReadTool, createWriteTool, estimateTokens, generateSummary, serializeConversation } from "@mariozechner/pi-coding-agent";
90
90
  import { createServer } from "node:http";
91
- import WebSocket, { WebSocket as WebSocket$1 } from "ws";
91
+ import WebSocket$1, { WebSocket } from "ws";
92
92
  import { Worker } from "node:worker_threads";
93
93
  import { EdgeTTS } from "node-edge-tts";
94
94
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -10403,7 +10403,7 @@ var GatewayClient = class {
10403
10403
  if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
10404
10404
  });
10405
10405
  }
10406
- this.ws = new WebSocket$1(url, wsOptions);
10406
+ this.ws = new WebSocket(url, wsOptions);
10407
10407
  this.ws.on("open", () => {
10408
10408
  if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
10409
10409
  const tlsError = this.validateTlsFingerprint();
@@ -10599,7 +10599,7 @@ var GatewayClient = class {
10599
10599
  const connectChallengeTimeoutMs = typeof rawConnectDelayMs === "number" && Number.isFinite(rawConnectDelayMs) ? Math.max(250, Math.min(1e4, rawConnectDelayMs)) : 2e3;
10600
10600
  if (this.connectTimer) clearTimeout(this.connectTimer);
10601
10601
  this.connectTimer = setTimeout(() => {
10602
- if (this.connectSent || this.ws?.readyState !== WebSocket$1.OPEN) return;
10602
+ if (this.connectSent || this.ws?.readyState !== WebSocket.OPEN) return;
10603
10603
  this.opts.onConnectError?.(/* @__PURE__ */ new Error("gateway connect challenge timeout"));
10604
10604
  this.ws?.close(1008, "connect challenge timeout");
10605
10605
  }, connectChallengeTimeoutMs);
@@ -10641,7 +10641,7 @@ var GatewayClient = class {
10641
10641
  return null;
10642
10642
  }
10643
10643
  async request(method, params, opts) {
10644
- if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
10644
+ if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
10645
10645
  const id = randomUUID();
10646
10646
  const frame = {
10647
10647
  type: "req",
@@ -13751,7 +13751,7 @@ async function routeReply(params) {
13751
13751
  const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
13752
13752
  const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
13753
13753
  try {
13754
- const { deliverOutboundPayloads } = await import("./deliver-Ylr7F4Jx.js");
13754
+ const { deliverOutboundPayloads } = await import("./deliver-ChO-3nNl.js");
13755
13755
  const outboundSession = buildOutboundSessionContext({
13756
13756
  cfg,
13757
13757
  agentId: resolvedAgentId,
@@ -15309,7 +15309,7 @@ async function sendTranscriptEcho(params) {
15309
15309
  }
15310
15310
  const text = formatEchoTranscript(transcript, params.format ?? DEFAULT_ECHO_TRANSCRIPT_FORMAT);
15311
15311
  try {
15312
- const { deliverOutboundPayloads } = await import("./deliver-Ylr7F4Jx.js");
15312
+ const { deliverOutboundPayloads } = await import("./deliver-ChO-3nNl.js");
15313
15313
  await deliverOutboundPayloads({
15314
15314
  cfg,
15315
15315
  channel: normalizedChannel,
@@ -31987,7 +31987,7 @@ function normalizeSessionKey(value) {
31987
31987
  function readSessionStore(storePath) {
31988
31988
  try {
31989
31989
  const raw = fs.readFileSync(storePath, "utf-8");
31990
- const parsed = json5.parse(raw);
31990
+ const parsed = JSON5.parse(raw);
31991
31991
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
31992
31992
  } catch {}
31993
31993
  return {};
@@ -33661,7 +33661,7 @@ async function createModelSelectionState(params) {
33661
33661
  }
33662
33662
  }
33663
33663
  if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
33664
- const { ensureAuthProfileStore } = await import("./auth-profiles-BqbRQTQJ.js");
33664
+ const { ensureAuthProfileStore } = await import("./auth-profiles-CtjMIn_l.js");
33665
33665
  const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
33666
33666
  const providerKey = normalizeProviderId(provider);
33667
33667
  if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
@@ -53504,7 +53504,7 @@ async function deliverSessionMaintenanceWarning(params) {
53504
53504
  return;
53505
53505
  }
53506
53506
  try {
53507
- const { deliverOutboundPayloads } = await import("./deliver-Ylr7F4Jx.js");
53507
+ const { deliverOutboundPayloads } = await import("./deliver-ChO-3nNl.js");
53508
53508
  const outboundSession = buildOutboundSessionContext({
53509
53509
  cfg: params.cfg,
53510
53510
  sessionKey: params.sessionKey
@@ -55479,7 +55479,7 @@ function requestNudge(input, cfg = loadConfig(), deps) {
55479
55479
  const { backbone, runner } = getAgentTurnRuntime();
55480
55480
  const id = await enqueueAgentTurn(backbone, payload);
55481
55481
  if (!isClaimableAgentTurnWorkId(id)) return;
55482
- const { runMainAgentTurn } = await import("./agent-turn-execute-BwFp-5vp.js");
55482
+ const { runMainAgentTurn } = await import("./agent-turn-execute-Cce6XX-x.js");
55483
55483
  await runner.claimAndExecute({
55484
55484
  workId: id,
55485
55485
  execute: (claim) => runMainAgentTurn(claim.message.payload)
@@ -56643,7 +56643,7 @@ async function handleHeartbeatError(params) {
56643
56643
  const AGENT_TURN_PROMPT = "Process the pending system events for this session.";
56644
56644
  async function ackAnnounceExecuted(payload) {
56645
56645
  if (payload.kind !== "announce") return;
56646
- const { markSubagentAnnounceExecuted } = await import("./subagent-registry-DAjLze-9.js");
56646
+ const { markSubagentAnnounceExecuted } = await import("./subagent-registry-Tm7ptjnY.js");
56647
56647
  for (const runId of [payload.runId, ...payload.mergedRunIds ?? []]) try {
56648
56648
  await markSubagentAnnounceExecuted(runId);
56649
56649
  } catch {}
@@ -56911,7 +56911,7 @@ const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
56911
56911
  let subagentRegistryAccessPromise;
56912
56912
  const STALLED_SIBLING_ANNOUNCE_HOLD_MS = 5 * 6e4;
56913
56913
  function loadSubagentRegistryAccess() {
56914
- if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-DAjLze-9.js").catch((err) => {
56914
+ if (!subagentRegistryAccessPromise) subagentRegistryAccessPromise = import("./subagent-registry-Tm7ptjnY.js").catch((err) => {
56915
56915
  const message = err instanceof Error && err.message ? err.message : String(err);
56916
56916
  defaultRuntime.log(`[warn] subagent registry access import failed: ${message}`);
56917
56917
  subagentRegistryAccessPromise = void 0;
@@ -59523,8 +59523,8 @@ function shouldEmitLoopWarning(state, warningKey, count) {
59523
59523
  async function recordLoopOutcome(args) {
59524
59524
  if (!args.ctx?.sessionKey) return;
59525
59525
  try {
59526
- const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DXwkkGHl.js").then((n) => n.n);
59527
- const { recordToolCallOutcome } = await import("./tool-loop-detection-Cl-kndb5.js");
59526
+ const { getDiagnosticSessionState } = await import("./diagnostic-session-state-B7xgL4EH.js").then((n) => n.n);
59527
+ const { recordToolCallOutcome } = await import("./tool-loop-detection-D71m0Vho.js");
59528
59528
  recordToolCallOutcome(getDiagnosticSessionState({
59529
59529
  sessionKey: args.ctx.sessionKey,
59530
59530
  sessionId: args.ctx?.agentId
@@ -59550,9 +59550,9 @@ async function runBeforeToolCallHook(args) {
59550
59550
  const toolName = normalizeToolName(args.toolName || "tool");
59551
59551
  const params = args.params;
59552
59552
  if (args.ctx?.sessionKey) {
59553
- const { getDiagnosticSessionState } = await import("./diagnostic-session-state-DXwkkGHl.js").then((n) => n.n);
59554
- const { logToolLoopAction } = await import("./diagnostic-C9RXYDrV.js").then((n) => n.n);
59555
- const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-Cl-kndb5.js");
59553
+ const { getDiagnosticSessionState } = await import("./diagnostic-session-state-B7xgL4EH.js").then((n) => n.n);
59554
+ const { logToolLoopAction } = await import("./diagnostic-CN6oMklk.js").then((n) => n.n);
59555
+ const { detectToolCallLoop, recordToolCall } = await import("./tool-loop-detection-D71m0Vho.js");
59556
59556
  const sessionState = getDiagnosticSessionState({
59557
59557
  sessionKey: args.ctx.sessionKey,
59558
59558
  sessionId: args.ctx?.agentId
@@ -64715,7 +64715,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
64715
64715
  * Throws if the connection is not open.
64716
64716
  */
64717
64717
  send(event) {
64718
- if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error(`OpenAIWebSocketManager: cannot send — connection is not open (readyState=${this.ws?.readyState ?? "no socket"})`);
64718
+ 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"})`);
64719
64719
  this.ws.send(JSON.stringify(event));
64720
64720
  }
64721
64721
  /**
@@ -64732,7 +64732,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
64732
64732
  * Returns true if the WebSocket is currently open and ready to send.
64733
64733
  */
64734
64734
  isConnected() {
64735
- return this.ws !== null && this.ws.readyState === WebSocket.OPEN;
64735
+ return this.ws !== null && this.ws.readyState === WebSocket$1.OPEN;
64736
64736
  }
64737
64737
  /**
64738
64738
  * Permanently closes the WebSocket connection and disables auto-reconnect.
@@ -64742,7 +64742,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
64742
64742
  this._cancelRetryTimer();
64743
64743
  if (this.ws) {
64744
64744
  this.ws.removeAllListeners();
64745
- if (this.ws.readyState === WebSocket.OPEN || this.ws.readyState === WebSocket.CONNECTING) this.ws.close(1e3, "Client closed");
64745
+ if (this.ws.readyState === WebSocket$1.OPEN || this.ws.readyState === WebSocket$1.CONNECTING) this.ws.close(1e3, "Client closed");
64746
64746
  this.ws = null;
64747
64747
  }
64748
64748
  }
@@ -64752,7 +64752,7 @@ var OpenAIWebSocketManager = class extends EventEmitter {
64752
64752
  reject(/* @__PURE__ */ new Error("OpenAIWebSocketManager: apiKey is required before connecting."));
64753
64753
  return;
64754
64754
  }
64755
- const socket = new WebSocket(this.wsUrl, { headers: {
64755
+ const socket = new WebSocket$1(this.wsUrl, { headers: {
64756
64756
  Authorization: `Bearer ${this.apiKey}`,
64757
64757
  "OpenAI-Beta": "responses-websocket=v1"
64758
64758
  } });
@@ -77189,7 +77189,7 @@ async function describeStickerImage(params) {
77189
77189
  logVerbose(`telegram: describing sticker with ${provider}/${model}`);
77190
77190
  try {
77191
77191
  const buffer = await fs$1.readFile(imagePath);
77192
- const { describeImageWithModel } = await import("./provider-image-DWd6BVaa.js");
77192
+ const { describeImageWithModel } = await import("./provider-image-CgjlJoRM.js");
77193
77193
  return (await describeImageWithModel({
77194
77194
  buffer,
77195
77195
  fileName: "sticker.webp",
@@ -78902,7 +78902,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
78902
78902
  let transcript;
78903
78903
  let carry;
78904
78904
  if (needsPreflightTranscription) try {
78905
- const { transcribeFirstAudio } = await import("./audio-preflight-DnSQiHZq.js");
78905
+ const { transcribeFirstAudio } = await import("./audio-preflight-CIbD3Xbl.js");
78906
78906
  const uploadable = audioAttachments.filter((att) => typeof att.url === "string" && att.url.length > 0);
78907
78907
  if (uploadable.length > 0) {
78908
78908
  const preflight = await transcribeFirstAudio({
@@ -86147,23 +86147,23 @@ function createDefaultDeps() {
86147
86147
  };
86148
86148
  },
86149
86149
  sendMessageTelegram: async (...args) => {
86150
- const { sendMessageTelegram } = await import("./send-BgxlAosd.js");
86150
+ const { sendMessageTelegram } = await import("./send-TpHwYJfZ.js");
86151
86151
  return await sendMessageTelegram(...args);
86152
86152
  },
86153
86153
  sendMessageDiscord: async (...args) => {
86154
- const { sendMessageDiscord } = await import("./send-9utMN023.js");
86154
+ const { sendMessageDiscord } = await import("./send-DUsgxmrg.js");
86155
86155
  return await sendMessageDiscord(...args);
86156
86156
  },
86157
86157
  sendMessageSlack: async (...args) => {
86158
- const { sendMessageSlack } = await import("./send-C63J3Amu.js");
86158
+ const { sendMessageSlack } = await import("./send-B7_JrwGp.js");
86159
86159
  return await sendMessageSlack(...args);
86160
86160
  },
86161
86161
  sendMessageSignal: async (...args) => {
86162
- const { sendMessageSignal } = await import("./send-DCajCBVK.js");
86162
+ const { sendMessageSignal } = await import("./send-D5B_iaha.js");
86163
86163
  return await sendMessageSignal(...args);
86164
86164
  },
86165
86165
  sendMessageIMessage: async (...args) => {
86166
- const { sendMessageIMessage } = await import("./send-BF-hOuvi.js");
86166
+ const { sendMessageIMessage } = await import("./send-DrqMoTV8.js");
86167
86167
  return await sendMessageIMessage(...args);
86168
86168
  }
86169
86169
  };
@@ -89693,7 +89693,7 @@ function createDiscordGatewayPlugin(params) {
89693
89693
  return super.registerClient(client);
89694
89694
  }
89695
89695
  createWebSocket(url) {
89696
- return new WebSocket(url, { agent: wsAgent });
89696
+ return new WebSocket$1(url, { agent: wsAgent });
89697
89697
  }
89698
89698
  }
89699
89699
  return new ProxyGatewayPlugin();
@@ -98522,7 +98522,7 @@ function readSlackExternalArgMenuToken(raw) {
98522
98522
  }
98523
98523
  let commandsRegistry;
98524
98524
  async function getCommandsRegistry() {
98525
- if (!commandsRegistry) commandsRegistry = await import("./commands-registry-Dwt0CYv2.js").then((n) => n.n);
98525
+ if (!commandsRegistry) commandsRegistry = await import("./commands-registry-DoQyGrD1.js").then((n) => n.n);
98526
98526
  return commandsRegistry;
98527
98527
  }
98528
98528
  function encodeSlackCommandArgValue(parts) {
@@ -98852,14 +98852,14 @@ async function registerSlackMonitorSlashCommands(params) {
98852
98852
  const channelName = channelInfo?.name;
98853
98853
  const roomLabel = channelName ? `#${channelName}` : `#${command.channel_id}`;
98854
98854
  const [{ resolveAgentRoute }, { finalizeInboundContext }, { dispatchReplyWithDispatcher }] = await Promise.all([
98855
- import("./resolve-route-CV47F1Ku.js").then((n) => n.r),
98856
- import("./inbound-context-BZc81v9_.js").then((n) => n.n),
98857
- import("./provider-dispatcher-DHxWVUdq.js")
98855
+ import("./resolve-route-BE3czYlJ.js").then((n) => n.r),
98856
+ import("./inbound-context-Cj1CW24W.js").then((n) => n.n),
98857
+ import("./provider-dispatcher-DkrRNMRt.js")
98858
98858
  ]);
98859
98859
  const [{ resolveConversationLabel }, { createReplyPrefixOptions }, { recordInboundSessionMetaSafe }] = await Promise.all([
98860
98860
  import("./conversation-label-D3nMf3rZ.js"),
98861
- import("./reply-prefix-7vW2SpGf.js").then((n) => n.n),
98862
- import("./session-meta-CDira0a-.js").then((n) => n.n)
98861
+ import("./reply-prefix-At8R1bbk.js").then((n) => n.n),
98862
+ import("./session-meta-BmyS0vEB.js").then((n) => n.n)
98863
98863
  ]);
98864
98864
  const route = resolveAgentRoute({
98865
98865
  cfg,
@@ -98924,9 +98924,9 @@ async function registerSlackMonitorSlashCommands(params) {
98924
98924
  });
98925
98925
  const deliverSlashPayloads = async (replies) => {
98926
98926
  const [{ deliverSlackSlashReplies }, { resolveChunkMode, resolveChunkNewlinePacking }, { resolveMarkdownTableMode }] = await Promise.all([
98927
- import("./replies-cDhzGDSg.js"),
98928
- import("./chunk-CKsBY7Vk.js").then((n) => n.s),
98929
- import("./markdown-tables-6i8RKKOg.js").then((n) => n.t)
98927
+ import("./replies-DjseHhhD.js"),
98928
+ import("./chunk-B_4cunUj.js").then((n) => n.s),
98929
+ import("./markdown-tables-DOSfK4q-.js").then((n) => n.t)
98930
98930
  ]);
98931
98931
  await deliverSlackSlashReplies({
98932
98932
  replies,
@@ -98980,7 +98980,7 @@ async function registerSlackMonitorSlashCommands(params) {
98980
98980
  let nativeCommands = [];
98981
98981
  if (nativeEnabled) {
98982
98982
  reg = await getCommandsRegistry();
98983
- const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-BI2J0zJw.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
98983
+ const skillCommands = nativeSkillsEnabled ? (await import("./skill-commands-By1EYgDs.js").then((n) => n.a)).listSkillCommandsForAgents({ cfg }) : [];
98984
98984
  nativeCommands = reg.listNativeCommandSpecsForConfig(cfg, {
98985
98985
  skillCommands,
98986
98986
  provider: "slack"
@@ -99499,8 +99499,8 @@ async function auditTelegramGroupMembership(params) {
99499
99499
  groups: [],
99500
99500
  elapsedMs: Date.now() - started
99501
99501
  };
99502
- const fetcher = params.proxyUrl ? (await import("./proxy-DL66TxEc.js").then((n) => n.n)).makeProxyFetch(params.proxyUrl) : fetch;
99503
- const { fetchWithTimeout } = await import("./fetch-timeout-BuuSnNb6.js").then((n) => n.r);
99502
+ const fetcher = params.proxyUrl ? (await import("./proxy-DaxTPcTO.js").then((n) => n.n)).makeProxyFetch(params.proxyUrl) : fetch;
99503
+ const { fetchWithTimeout } = await import("./fetch-timeout-Dkh_eUF5.js").then((n) => n.r);
99504
99504
  const base = `${TELEGRAM_API_BASE$1}/bot${token}`;
99505
99505
  const groups = [];
99506
99506
  for (const chatId of params.groupIds) try {
@@ -102058,7 +102058,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
102058
102058
  let audioPreflightCarry;
102059
102059
  const audioConfigEnabled = cfg.tools?.media?.audio && cfg.tools.media.audio.enabled !== false;
102060
102060
  if (hasAudio && !hasUserText && !disableAudioPreflight && (isGroup && requireMention && mentionRegexes.length > 0 || audioConfigEnabled === true)) try {
102061
- const { transcribeFirstAudio } = await import("./audio-preflight-DnSQiHZq.js");
102061
+ const { transcribeFirstAudio } = await import("./audio-preflight-CIbD3Xbl.js");
102062
102062
  const preflight = await transcribeFirstAudio({
102063
102063
  ctx: {
102064
102064
  MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
@@ -106527,7 +106527,7 @@ async function getMemorySearchManager(params) {
106527
106527
  if (cached) return { manager: cached };
106528
106528
  }
106529
106529
  try {
106530
- const { QmdMemoryManager } = await import("./qmd-manager-3BvkxX1K.js");
106530
+ const { QmdMemoryManager } = await import("./qmd-manager-gObDFq48.js");
106531
106531
  const primary = await QmdMemoryManager.create({
106532
106532
  cfg: params.cfg,
106533
106533
  agentId: params.agentId,
@@ -106539,7 +106539,7 @@ async function getMemorySearchManager(params) {
106539
106539
  const wrapper = new FallbackMemoryManager({
106540
106540
  primary,
106541
106541
  fallbackFactory: async () => {
106542
- const { MemoryIndexManager } = await import("./manager-CAtCdTlQ.js");
106542
+ const { MemoryIndexManager } = await import("./manager-DZRns-zT.js");
106543
106543
  return await MemoryIndexManager.get(params);
106544
106544
  }
106545
106545
  }, () => {
@@ -106554,7 +106554,7 @@ async function getMemorySearchManager(params) {
106554
106554
  }
106555
106555
  }
106556
106556
  try {
106557
- const { MemoryIndexManager } = await import("./manager-CAtCdTlQ.js");
106557
+ const { MemoryIndexManager } = await import("./manager-DZRns-zT.js");
106558
106558
  return { manager: await MemoryIndexManager.get(params) };
106559
106559
  } catch (err) {
106560
106560
  return {
@@ -111613,7 +111613,7 @@ function createPluginRuntime(options = {}) {
111613
111613
  workStates: readTaskWorkStates
111614
111614
  },
111615
111615
  resolveLearningWorkspaceDir: (agentId) => resolveLearningWorkspaceDir(loadConfig(), agentId),
111616
- sessions: { startUserRun: async (params) => (await import("./user-run-recording-BMIGojZU.js").then((n) => n.n)).startUserSessionRun(params) }
111616
+ sessions: { startUserRun: async (params) => (await import("./user-run-recording-jrX94Xgo.js").then((n) => n.n)).startUserSessionRun(params) }
111617
111617
  };
111618
111618
  Object.defineProperty(runtime, "analysis", {
111619
111619
  enumerable: true,
@@ -0,0 +1,11 @@
1
+ import "./paths-oi7j9L8A.js";
2
+ import "./subsystem-C-lWCqvG.js";
3
+ import "./agent-scope-TP3VeVXz.js";
4
+ import "./config-BCC2evTy.js";
5
+ import "./github-copilot-token-BnKQ-aRX.js";
6
+ import "./logger-F5PKgK4h.js";
7
+ import "./diagnostic-events-Ba8-RH3Z.js";
8
+ import { t as startUserSessionRun } from "./user-run-recording-sYzx_YS9.js";
9
+ import "./recorder-CQfs9NgO.js";
10
+
11
+ export { startUserSessionRun };
@@ -1,7 +1,7 @@
1
- import { f as __exportAll } from "./proxy-env-BxT9DAJM.js";
2
- import { t as createSubsystemLogger } from "./subsystem-P3MeMKnQ.js";
1
+ import { f as __exportAll } from "./proxy-env-Jn7VToae.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-C4zZI3bH.js";
3
3
  import { t as CommandLane } from "./lanes-B3Md-s7F.js";
4
- import { a as resolveSessionRunStore, i as summarizeSessionRunPrompt, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-DbuLLtvO.js";
4
+ import { a as resolveSessionRunStore, i as summarizeSessionRunPrompt, n as deriveSessionRunId, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-BYD1AFnJ.js";
5
5
  import { randomUUID } from "node:crypto";
6
6
 
7
7
  //#region src/agents/lanes.ts
@@ -1,6 +1,6 @@
1
- import { t as createSubsystemLogger } from "./subsystem-CPqF9wja.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-C-lWCqvG.js";
2
2
  import { t as CommandLane } from "./lanes-DtESSyRO.js";
3
- import { i as summarizeSessionRunPrompt, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-3slDSZHg.js";
3
+ import { i as summarizeSessionRunPrompt, n as deriveSessionRunId, o as resolveSessionRunStore, r as inferSessionRunKind, t as createSessionRunRecorder } from "./recorder-CQfs9NgO.js";
4
4
  import { randomUUID } from "node:crypto";
5
5
 
6
6
  //#region src/agents/lanes.ts