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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/dist/{agent-scope-BudmZlc1.js → agent-scope-CoIdVzmg.js} +3 -3
  2. package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
  3. package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-FwkD42Me.js} +6 -6
  4. package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
  5. package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-1bTDnvBU.js} +2 -2
  6. package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-CCjuApbs.js} +27 -27
  7. package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
  8. package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
  9. package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DgFYIaIw.js} +26 -26
  10. package/dist/build-info.json +3 -3
  11. package/dist/bundled/boot-md/handler.js +58 -58
  12. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  13. package/dist/bundled/command-logger/handler.js +2 -2
  14. package/dist/bundled/session-journal/handler.js +58 -58
  15. package/dist/bundled/session-memory/handler.js +58 -58
  16. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  17. package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
  18. package/dist/{chat-content-CL44f6Ub.js → chat-content-BdADRLL0.js} +36 -36
  19. package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-DQ2kyZpc.js} +34 -34
  20. package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
  21. package/dist/{chunk-BHQuzJtJ.js → chunk-BAxcOCcV.js} +3 -3
  22. package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
  23. package/dist/{command-queue-CyJUnsMn.js → command-queue-CRm1AADE.js} +1 -1
  24. package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
  25. package/dist/{commands-registry-CNVoO37I.js → commands-registry-CtR9mXss.js} +2 -2
  26. package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
  27. package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
  28. package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
  29. package/dist/{credentials-DnIj4HtR.js → credentials-BhiiI_Nr.js} +1 -1
  30. package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
  31. package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
  32. package/dist/{deliver-DUUEMT-w.js → deliver-BufoibUD.js} +29 -29
  33. package/dist/{diagnostic-YRGuisNG.js → diagnostic-BSnQ1U_E.js} +3 -3
  34. package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
  35. package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
  36. package/dist/entry.js +2 -2
  37. package/dist/{errors-DnS9ngr1.js → errors-BzL6hu4G.js} +1 -1
  38. package/dist/extensionAPI.js +40 -40
  39. package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
  40. package/dist/{fetch-ChtdmCYU.js → fetch-DUVm-Rj1.js} +8 -8
  41. package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DmpLwwor.js} +1 -1
  42. package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
  43. package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-BySb6coS.js} +2 -2
  44. package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
  45. package/dist/{frontmatter-CqznVm7P.js → frontmatter-NYeLKFIP.js} +3 -3
  46. package/dist/{fs-safe-D96d8swI.js → fs-safe-DOdeIkaS.js} +26 -26
  47. package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
  48. package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
  49. package/dist/{image-ops-BiBI-uAf.js → image-ops-DEUr_rAC.js} +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/{ir-Drj2D5Gr.js → ir-B0rUqFWs.js} +5 -5
  52. package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
  53. package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-D7ywm6_7.js} +1 -1
  54. package/dist/llm-slug-generator.js +58 -58
  55. package/dist/{manager-C9H5Oflk.js → manager-3Exjl08V.js} +18 -18
  56. package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
  57. package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
  58. package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-lzV8Hoxc.js} +2 -2
  59. package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
  60. package/dist/{model-selection-2-pBJbaC.js → model-selection-_StPBPAp.js} +80 -80
  61. package/dist/{models-config-7yfOGOZY.js → models-config-D3M9er_C.js} +2 -2
  62. package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
  63. package/dist/{nudge-CcGwhSSL.js → nudge-B06CLLon.js} +35 -35
  64. package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
  65. package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
  66. package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
  67. package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
  68. package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
  69. package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
  70. package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
  71. package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
  72. package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CCQDMmDH.js} +2 -2
  73. package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
  74. package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
  75. package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
  76. package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-aXY57qPv.js} +1 -1
  77. package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
  78. package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-DGpkqagr.js} +251 -251
  79. package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
  80. package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
  81. package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-BTuzuVh1.js} +7 -7
  82. package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
  83. package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
  84. package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
  85. package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
  86. package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
  87. package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
  88. package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
  89. package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
  90. package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
  91. package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
  92. package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
  93. package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
  94. package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
  95. package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
  96. package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
  97. package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
  98. package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
  99. package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
  100. package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
  101. package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
  102. package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
  103. package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
  104. package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
  105. package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
  106. package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
  107. package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
  108. package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
  109. package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
  110. package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
  111. package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
  112. package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
  113. package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
  114. package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
  115. package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
  116. package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
  117. package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
  118. package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
  119. package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
  120. package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
  121. package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
  122. package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
  123. package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
  124. package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
  125. package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
  126. package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
  127. package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
  128. package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
  129. package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
  130. package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
  131. package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
  132. package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
  133. package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
  134. package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
  135. package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
  136. package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
  137. package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
  138. package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
  139. package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
  140. package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
  141. package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
  142. package/dist/plugin-sdk/testing.js +44 -44
  143. package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
  144. package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
  145. package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
  146. package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
  147. package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
  148. package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
  149. package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
  150. package/dist/{proxy-env-DdoaBr4H.js → proxy-env-dFmQfhFb.js} +1 -1
  151. package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-B2n3DHPt.js} +14 -14
  152. package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
  153. package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
  154. package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-jLSZ3VID.js} +12 -12
  155. package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-BN4oVeLu.js} +1 -1
  156. package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
  157. package/dist/{query-expansion-gzgHhq68.js → query-expansion-UPsVmvEm.js} +13 -13
  158. package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
  159. package/dist/{recorder-ciGDu2oO.js → recorder-DvYXNusz.js} +2 -2
  160. package/dist/{redact-Cp-v7ZNA.js → redact-CysJDryP.js} +1 -1
  161. package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
  162. package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
  163. package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
  164. package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
  165. package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
  166. package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
  167. package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
  168. package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
  169. package/dist/{replies-EZyamg1p.js → replies-DfoUf3N4.js} +5 -5
  170. package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
  171. package/dist/{reply-directives-DMPiBIx3.js → reply-directives-DsGD4aw1.js} +2 -2
  172. package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-gWrzAQtZ.js} +1 -1
  173. package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
  174. package/dist/{resolve-route-GBqD8iPk.js → resolve-route-RQpYXVl1.js} +4 -4
  175. package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
  176. package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
  177. package/dist/{runs-EvR8ugp4.js → runs-DGr28sFu.js} +9 -9
  178. package/dist/{send-BVfxa93K.js → send-C-m_74Nc.js} +8 -8
  179. package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
  180. package/dist/{send-B5XVAKWg.js → send-DFsyNWFI.js} +7 -7
  181. package/dist/{send-BCEsHNBh.js → send-DYRbKT7y.js} +6 -6
  182. package/dist/{send-12uxFQQR.js → send-DkJqx60r.js} +8 -8
  183. package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
  184. package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
  185. package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
  186. package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
  187. package/dist/{session-meta-C_fW_AWG.js → session-meta-DVKEsZNl.js} +1 -1
  188. package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
  189. package/dist/{sessions-DODCZ4JK.js → sessions-CzjW7wiR.js} +5 -5
  190. package/dist/{skill-commands-5VtV6o_q.js → skill-commands-BfK22Jmi.js} +7 -7
  191. package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
  192. package/dist/{skills-B3DYwqF5.js → skills-D6riKXOf.js} +21 -21
  193. package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
  194. package/dist/{store-DnvoAjAE.js → store-Bt16sey6.js} +7 -7
  195. package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
  196. package/dist/{tables-CuZTAY1e.js → tables-tChtQWdX.js} +1 -1
  197. package/dist/{tokens-C8E7C2l5.js → tokens-C2ll8wSq.js} +1 -1
  198. package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-D0CRFNOH.js} +2 -2
  199. package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
  200. package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
  201. package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
  202. package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DJedyUge.js} +2 -2
  203. package/dist/{workspace-DOy2M7yN.js → workspace-xnzx7wEV.js} +26 -26
  204. package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
  205. package/dist/{ws-D916JacH.js → ws-DLbfGWAn.js} +1 -1
  206. package/extensions/acpx/package.json +1 -1
  207. package/extensions/anthropic/package.json +1 -1
  208. package/extensions/bifrost/package.json +1 -1
  209. package/extensions/bluebubbles/package.json +1 -1
  210. package/extensions/copilot-proxy/package.json +1 -1
  211. package/extensions/deepgram/package.json +1 -1
  212. package/extensions/deepinfra/package.json +1 -1
  213. package/extensions/diagnostics-otel/package.json +1 -1
  214. package/extensions/diffs/package.json +1 -1
  215. package/extensions/discord/package.json +1 -1
  216. package/extensions/dream-cycle/package.json +1 -1
  217. package/extensions/elevenlabs/package.json +1 -1
  218. package/extensions/feishu/package.json +1 -1
  219. package/extensions/gemini-search/package.json +1 -1
  220. package/extensions/google/package.json +1 -1
  221. package/extensions/google-gemini-cli-auth/package.json +1 -1
  222. package/extensions/googlechat/package.json +1 -1
  223. package/extensions/grok-search/package.json +1 -1
  224. package/extensions/groq/package.json +1 -1
  225. package/extensions/imessage/package.json +1 -1
  226. package/extensions/irc/package.json +1 -1
  227. package/extensions/kimi-search/package.json +1 -1
  228. package/extensions/kokoro/package.json +1 -1
  229. package/extensions/learning-core/package.json +1 -1
  230. package/extensions/line/package.json +1 -1
  231. package/extensions/llm-task/package.json +1 -1
  232. package/extensions/lobster/package.json +1 -1
  233. package/extensions/matrix/CHANGELOG.md +1 -1
  234. package/extensions/matrix/package.json +1 -1
  235. package/extensions/mattermost/package.json +1 -1
  236. package/extensions/memory-core/package.json +1 -1
  237. package/extensions/memory-lancedb/package.json +1 -1
  238. package/extensions/minimax/package.json +1 -1
  239. package/extensions/minimax-portal-auth/package.json +1 -1
  240. package/extensions/mistral/package.json +1 -1
  241. package/extensions/moonshot/package.json +1 -1
  242. package/extensions/msteams/CHANGELOG.md +1 -1
  243. package/extensions/msteams/package.json +1 -1
  244. package/extensions/nextcloud-talk/package.json +1 -1
  245. package/extensions/nostr/CHANGELOG.md +1 -1
  246. package/extensions/nostr/package.json +1 -1
  247. package/extensions/open-prose/package.json +1 -1
  248. package/extensions/openai/package.json +1 -1
  249. package/extensions/openai-realtime/package.json +1 -1
  250. package/extensions/openrouter/package.json +1 -1
  251. package/extensions/perplexity-search/package.json +1 -1
  252. package/extensions/searxng-search/package.json +1 -1
  253. package/extensions/signal/package.json +1 -1
  254. package/extensions/slack/package.json +1 -1
  255. package/extensions/synology-chat/package.json +1 -1
  256. package/extensions/telegram/package.json +1 -1
  257. package/extensions/tlon/package.json +1 -1
  258. package/extensions/twitch/CHANGELOG.md +1 -1
  259. package/extensions/twitch/package.json +1 -1
  260. package/extensions/ui-surfaces/package.json +1 -1
  261. package/extensions/voice-call/CHANGELOG.md +1 -1
  262. package/extensions/voice-call/package.json +1 -1
  263. package/extensions/whatsapp/package.json +1 -1
  264. package/extensions/zai/package.json +1 -1
  265. package/extensions/zalo/CHANGELOG.md +1 -1
  266. package/extensions/zalo/package.json +1 -1
  267. package/extensions/zalouser/CHANGELOG.md +1 -1
  268. package/extensions/zalouser/package.json +1 -1
  269. package/package.json +1 -1
  270. package/dist/github-copilot-token-DrVydgnY.js +0 -106
  271. package/dist/paths-BIDPYPVC.js +0 -233
  272. package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
  273. package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
  274. package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
  275. package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
  276. package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
  277. package/dist/subsystem-DoQFckDJ.js +0 -2777
@@ -1,19 +1,19 @@
1
- import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-jBCtIiJH.js";
2
- import { on as loadConfig } from "./registry-B-9fRLtl.js";
3
- import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-BRH2eiRx.js";
4
- import { a as isErrno } from "./errors-DUGujS2U.js";
5
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DcS-vU0o.js";
6
- import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-BzjQAveZ.js";
1
+ import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
2
+ import { U as loadConfig } from "./model-selection-DFW5CGMj.js";
3
+ import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-CQigqc-W.js";
4
+ import { a as isErrno } from "./errors-B_bbUZmd.js";
5
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CFEZK0gv.js";
6
+ import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-RzbogHFe.js";
7
7
  import path from "node:path";
8
- import { createHmac } from "node:crypto";
9
- import fs from "node:fs";
8
+ import syncFs from "node:fs";
10
9
  import os from "node:os";
11
- import fs$1 from "node:fs/promises";
10
+ import fs from "node:fs/promises";
12
11
  import { execFileSync, spawn } from "node:child_process";
12
+ import { createHmac } from "node:crypto";
13
+ import net from "node:net";
13
14
  import http, { createServer } from "node:http";
14
15
  import https from "node:https";
15
- import net from "node:net";
16
- import WebSocket, { WebSocketServer } from "ws";
16
+ import WebSocket$1, { WebSocketServer } from "ws";
17
17
 
18
18
  //#region src/browser/constants.ts
19
19
  const DEFAULT_OPENCLAW_BROWSER_ENABLED = true;
@@ -66,28 +66,28 @@ function invalidPath(scopeLabel) {
66
66
  }
67
67
  async function resolveRealPathIfExists(targetPath) {
68
68
  try {
69
- return await fs$1.realpath(targetPath);
69
+ return await fs.realpath(targetPath);
70
70
  } catch {
71
71
  return;
72
72
  }
73
73
  }
74
74
  async function resolveTrustedRootRealPath(rootDir) {
75
75
  try {
76
- const rootLstat = await fs$1.lstat(rootDir);
76
+ const rootLstat = await fs.lstat(rootDir);
77
77
  if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
78
- return await fs$1.realpath(rootDir);
78
+ return await fs.realpath(rootDir);
79
79
  } catch {
80
80
  return;
81
81
  }
82
82
  }
83
83
  async function validateCanonicalPathWithinRoot(params) {
84
84
  try {
85
- const candidateLstat = await fs$1.lstat(params.candidatePath);
85
+ const candidateLstat = await fs.lstat(params.candidatePath);
86
86
  if (candidateLstat.isSymbolicLink()) return "invalid";
87
87
  if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
88
88
  if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
89
89
  if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
90
- const candidateRealPath = await fs$1.realpath(params.candidatePath);
90
+ const candidateRealPath = await fs.realpath(params.candidatePath);
91
91
  return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
92
92
  } catch (err) {
93
93
  return isNotFoundPathError(err) ? "not-found" : "invalid";
@@ -165,7 +165,7 @@ async function resolveCheckedPathsWithinRoot(params) {
165
165
  };
166
166
  if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
167
167
  try {
168
- const resolvedExistingPath = await fs$1.realpath(raw);
168
+ const resolvedExistingPath = await fs.realpath(raw);
169
169
  const relativePath = path.relative(rootRealPath, resolvedExistingPath);
170
170
  if (!isInRoot(relativePath)) return lexicalPathResult;
171
171
  return {
@@ -501,7 +501,7 @@ async function ensureChromeExtensionRelayServer(opts) {
501
501
  let extensionWs = null;
502
502
  const cdpClients = /* @__PURE__ */ new Set();
503
503
  const connectedTargets = /* @__PURE__ */ new Map();
504
- const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
504
+ const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
505
505
  const hasConnectedTargets = () => connectedTargets.size > 0;
506
506
  let extensionDisconnectCleanupTimer = null;
507
507
  const extensionReconnectWaiters = /* @__PURE__ */ new Set();
@@ -553,7 +553,7 @@ async function ensureChromeExtensionRelayServer(opts) {
553
553
  let nextExtensionId = 1;
554
554
  const sendToExtension = async (payload) => {
555
555
  const ws = extensionWs;
556
- if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
556
+ if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
557
557
  ws.send(JSON.stringify(payload));
558
558
  return await new Promise((resolve, reject) => {
559
559
  const timer = setTimeout(() => {
@@ -570,12 +570,12 @@ async function ensureChromeExtensionRelayServer(opts) {
570
570
  const broadcastToCdpClients = (evt) => {
571
571
  const msg = JSON.stringify(evt);
572
572
  for (const ws of cdpClients) {
573
- if (ws.readyState !== WebSocket.OPEN) continue;
573
+ if (ws.readyState !== WebSocket$1.OPEN) continue;
574
574
  ws.send(msg);
575
575
  }
576
576
  };
577
577
  const sendResponseToCdp = (ws, res) => {
578
- if (ws.readyState !== WebSocket.OPEN) return;
578
+ if (ws.readyState !== WebSocket$1.OPEN) return;
579
579
  ws.send(JSON.stringify(res));
580
580
  };
581
581
  const dropConnectedTargetSession = (sessionId) => {
@@ -829,7 +829,7 @@ async function ensureChromeExtensionRelayServer(opts) {
829
829
  rejectUpgrade(socket, 401, "Unauthorized");
830
830
  return;
831
831
  }
832
- if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
832
+ if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
833
833
  try {
834
834
  extensionWs.terminate();
835
835
  } catch {}
@@ -862,7 +862,7 @@ async function ensureChromeExtensionRelayServer(opts) {
862
862
  clearExtensionDisconnectCleanupTimer();
863
863
  flushExtensionReconnectWaiters(true);
864
864
  const ping = setInterval(() => {
865
- if (ws.readyState !== WebSocket.OPEN) return;
865
+ if (ws.readyState !== WebSocket$1.OPEN) return;
866
866
  ws.send(JSON.stringify({ method: "ping" }));
867
867
  }, 5e3);
868
868
  ws.on("message", (data) => {
@@ -1218,7 +1218,7 @@ function openCdpWebSocket(wsUrl, opts) {
1218
1218
  const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
1219
1219
  const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
1220
1220
  const agent = getDirectAgentForCdp(wsUrl);
1221
- return new WebSocket(wsUrl, {
1221
+ return new WebSocket$1(wsUrl, {
1222
1222
  handshakeTimeout: handshakeTimeoutMs,
1223
1223
  ...Object.keys(headers).length ? { headers } : {},
1224
1224
  ...agent ? { agent } : {}
@@ -1503,7 +1503,7 @@ const CHROMIUM_EXE_NAMES = new Set([
1503
1503
  ]);
1504
1504
  function exists$1(filePath) {
1505
1505
  try {
1506
- return fs.existsSync(filePath);
1506
+ return syncFs.existsSync(filePath);
1507
1507
  } catch {
1508
1508
  return false;
1509
1509
  }
@@ -1646,7 +1646,7 @@ function findDesktopFilePath(desktopId) {
1646
1646
  }
1647
1647
  function readDesktopExecLine(desktopPath) {
1648
1648
  try {
1649
- const lines = fs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
1649
+ const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
1650
1650
  for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
1651
1651
  } catch {}
1652
1652
  return null;
@@ -1904,7 +1904,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
1904
1904
  const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
1905
1905
  function resolveLsofCommandSync() {
1906
1906
  for (const candidate of LSOF_CANDIDATES) try {
1907
- fs.accessSync(candidate, fs.constants.X_OK);
1907
+ syncFs.accessSync(candidate, syncFs.constants.X_OK);
1908
1908
  return candidate;
1909
1909
  } catch {}
1910
1910
  return "lsof";
@@ -1949,8 +1949,8 @@ function decoratedMarkerPath(userDataDir) {
1949
1949
  }
1950
1950
  function safeReadJson(filePath) {
1951
1951
  try {
1952
- if (!fs.existsSync(filePath)) return null;
1953
- const raw = fs.readFileSync(filePath, "utf-8");
1952
+ if (!syncFs.existsSync(filePath)) return null;
1953
+ const raw = syncFs.readFileSync(filePath, "utf-8");
1954
1954
  const parsed = JSON.parse(raw);
1955
1955
  if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
1956
1956
  return parsed;
@@ -1959,8 +1959,8 @@ function safeReadJson(filePath) {
1959
1959
  }
1960
1960
  }
1961
1961
  function safeWriteJson(filePath, data) {
1962
- fs.mkdirSync(path.dirname(filePath), { recursive: true });
1963
- fs.writeFileSync(filePath, JSON.stringify(data, null, 2));
1962
+ syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
1963
+ syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
1964
1964
  }
1965
1965
  function setDeep(obj, keys, value) {
1966
1966
  let node = obj;
@@ -2087,7 +2087,7 @@ function decorateOpenClawProfile(userDataDir, opts) {
2087
2087
  }
2088
2088
  safeWriteJson(preferencesPath, prefs);
2089
2089
  try {
2090
- fs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
2090
+ syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
2091
2091
  } catch {}
2092
2092
  }
2093
2093
  function ensureProfileCleanExit(userDataDir) {
@@ -2103,7 +2103,7 @@ function ensureProfileCleanExit(userDataDir) {
2103
2103
  const log = createSubsystemLogger("browser").child("chrome");
2104
2104
  function exists(filePath) {
2105
2105
  try {
2106
- return fs.existsSync(filePath);
2106
+ return syncFs.existsSync(filePath);
2107
2107
  } catch {
2108
2108
  return false;
2109
2109
  }
@@ -2201,7 +2201,7 @@ async function launchOpenClawChrome(resolved, profile) {
2201
2201
  const exe = resolveBrowserExecutable(resolved);
2202
2202
  if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
2203
2203
  const userDataDir = resolveOpenClawUserDataDir(profile.name);
2204
- fs.mkdirSync(userDataDir, { recursive: true });
2204
+ syncFs.mkdirSync(userDataDir, { recursive: true });
2205
2205
  const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_OPENCLAW_BROWSER_COLOR).toUpperCase());
2206
2206
  const spawnOnce = () => {
2207
2207
  const args = [
@@ -1,9 +1,9 @@
1
1
  import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
2
- import { U as loadConfig } from "./model-selection-DkRYDpst.js";
3
- import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-CWxX8WDm.js";
4
- import { a as isErrno } from "./errors-B_bbUZmd.js";
5
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CFEZK0gv.js";
6
- import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-C0UK-5dm.js";
2
+ import { U as loadConfig } from "./model-selection-_StPBPAp.js";
3
+ import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-DLbfGWAn.js";
4
+ import { a as isErrno } from "./errors-BzL6hu4G.js";
5
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DOdeIkaS.js";
6
+ import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-dFmQfhFb.js";
7
7
  import path from "node:path";
8
8
  import syncFs from "node:fs";
9
9
  import os from "node:os";
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
2
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
3
3
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
4
- import { G as normalizeAccountId } from "./workspace-DOy2M7yN.js";
5
- import { Or as resolveAccountEntry, Pr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-2-pBJbaC.js";
4
+ import { G as normalizeAccountId } from "./workspace-xnzx7wEV.js";
5
+ import { Or as resolveAccountEntry, Pr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-_StPBPAp.js";
6
6
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-B64kVeCJ.js";
7
7
 
8
8
  //#region src/auto-reply/chunk.ts
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { nt as normalizeAccountId } from "./agent-scope-Js3kUihf.js";
3
3
  import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-DkRYDpst.js";
5
+ import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-DFW5CGMj.js";
6
6
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-C9CqDW38.js";
7
7
 
8
8
  //#region src/auto-reply/chunk.ts
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-YRGuisNG.js";
2
+ import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-BSnQ1U_E.js";
3
3
  import { t as CommandLane } from "./lanes-DBBnME5O.js";
4
4
 
5
5
  //#region src/process/command-queue.ts
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { Ft as getPrimaryCommand, Rt as hasHelpOrVersion } from "./globals-3lUHnZas.js";
3
- import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-3YVvoBSB.js";
3
+ import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-Cn5DS2Th.js";
4
4
 
5
5
  //#region src/cli/program/command-registry.ts
6
6
  var command_registry_exports = /* @__PURE__ */ __exportAll({
@@ -22,7 +22,7 @@ const coreEntries = [
22
22
  hasSubcommands: false
23
23
  }],
24
24
  register: async ({ program }) => {
25
- (await import("./register.setup-BAiTfEey.js")).registerSetupCommand(program);
25
+ (await import("./register.setup-BdAQ_7gM.js")).registerSetupCommand(program);
26
26
  }
27
27
  },
28
28
  {
@@ -32,7 +32,7 @@ const coreEntries = [
32
32
  hasSubcommands: false
33
33
  }],
34
34
  register: async ({ program }) => {
35
- (await import("./register.onboard-C-lkIY7d.js")).registerOnboardCommand(program);
35
+ (await import("./register.onboard-DqGIfQsO.js")).registerOnboardCommand(program);
36
36
  }
37
37
  },
38
38
  {
@@ -79,7 +79,7 @@ const coreEntries = [
79
79
  }
80
80
  ],
81
81
  register: async ({ program }) => {
82
- (await import("./register.maintenance-CFd160fT.js")).registerMaintenanceCommands(program);
82
+ (await import("./register.maintenance-CNiAi_Bg.js")).registerMaintenanceCommands(program);
83
83
  }
84
84
  },
85
85
  {
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { tt as escapeRegExp } from "./subsystem-DoQFckDJ.js";
2
+ import { tt as escapeRegExp } from "./subsystem-DynBFcQj.js";
3
3
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
4
- import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, Ut as getActivePluginRegistry, Zn as listChannelDocks, tr as normalizeChannelId, u as resolveConfiguredModelRef } from "./model-selection-2-pBJbaC.js";
4
+ import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, Ut as getActivePluginRegistry, Zn as listChannelDocks, tr as normalizeChannelId, u as resolveConfiguredModelRef } from "./model-selection-_StPBPAp.js";
5
5
  import { r as listThinkingLevels } from "./thinking-CcoiS9V4.js";
6
6
 
7
7
  //#region src/config/commands.ts
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { tt as escapeRegExp } from "./subsystem-DynBFcQj.js";
3
3
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
4
- import { Ma as DEFAULT_PROVIDER, Wt as getActivePluginRegistry, ar as normalizeChannelId, ja as DEFAULT_MODEL, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-DkRYDpst.js";
4
+ import { Ma as DEFAULT_PROVIDER, Wt as getActivePluginRegistry, ar as normalizeChannelId, ja as DEFAULT_MODEL, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-DFW5CGMj.js";
5
5
  import { r as listThinkingLevels } from "./thinking-D6R5MauW.js";
6
6
 
7
7
  //#region src/config/commands.ts
@@ -3,8 +3,8 @@ import { p as theme, yt as pathExists } from "./globals-3lUHnZas.js";
3
3
  import { g as resolveStateDir } from "./paths-BMo6kTge.js";
4
4
  import { i as routeLogsToStderr } from "./subsystem-xTuYkxuQ.js";
5
5
  import { t as formatDocsLink } from "./links-CuEUTasJ.js";
6
- import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-3YVvoBSB.js";
7
- import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-xYf1aBOy.js";
6
+ import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Cn5DS2Th.js";
7
+ import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Ip0F63vx.js";
8
8
  import { t as getProgramContext } from "./program-context-CtfWJUBU.js";
9
9
  import os from "node:os";
10
10
  import path from "node:path";
@@ -3,7 +3,7 @@ import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
3
3
  import { I as theme, p as pathExists } from "./utils-CASlmNOg.js";
4
4
  import { i as routeLogsToStderr } from "./subsystem-B1Y59yp3.js";
5
5
  import { t as formatDocsLink } from "./links-B1LIUWso.js";
6
- import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-X8qIC1Px.js";
6
+ import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BM_flY1J.js";
7
7
  import os from "node:os";
8
8
  import path from "node:path";
9
9
  import fs from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { Ca as resolveSecretInputRef } from "./model-selection-2-pBJbaC.js";
1
+ import { Ca as resolveSecretInputRef } from "./model-selection-_StPBPAp.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {
@@ -1,4 +1,4 @@
1
- import { Oa as resolveSecretInputRef } from "./model-selection-DkRYDpst.js";
1
+ import { Oa as resolveSecretInputRef } from "./model-selection-DFW5CGMj.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {
@@ -2,18 +2,18 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { K as normalizeAgentId, c as resolveDefaultAgentId, ft as parseAgentSessionKey, nt as normalizeAccountId, q as normalizeMainKey, rt as normalizeOptionalAccountId } from "./agent-scope-Js3kUihf.js";
3
3
  import { l as resolveStateDir } from "./paths-B_gs59ga.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
5
- import { Cn as loadSessionStore, Kt as getActivePluginRegistryVersion, Mn as updateSessionStoreEntry, Sn as listConfiguredSessionStorageAgentIds, U as loadConfig, Wt as getActivePluginRegistry, Xn as resolveStorePath, ar as normalizeChannelId, er as getChannelDock, hn as getConversationReadQuery, pn as StorageReadAccessError, rr as getChannelPlugin, va as resolveOpenClawAgentDir } from "./model-selection-DkRYDpst.js";
6
- import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-B-dL4q0P.js";
5
+ import { Cn as loadSessionStore, Kt as getActivePluginRegistryVersion, Mn as updateSessionStoreEntry, Sn as listConfiguredSessionStorageAgentIds, U as loadConfig, Wt as getActivePluginRegistry, Xn as resolveStorePath, ar as normalizeChannelId, er as getChannelDock, hn as getConversationReadQuery, pn as StorageReadAccessError, rr as getChannelPlugin, va as resolveOpenClawAgentDir } from "./model-selection-DFW5CGMj.js";
6
+ import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-A1wDmvXO.js";
7
7
  import { n as generateSecureUuid } from "./secure-random-CXrBi7Jq.js";
8
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-DtaSiJ_7.js";
8
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-B7yKTLAY.js";
9
9
  import { i as hasErrnoCode } from "./errors-B_bbUZmd.js";
10
- import { t as ensureOpenClawModelsJson } from "./models-config-BaSANr-E.js";
11
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-BzeUsif1.js";
12
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-CGvXEMAJ.js";
13
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CzhZ9VCB.js";
14
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-bMw-LLuz.js";
15
- import { t as parseReplyDirectives } from "./reply-directives-DarQZxqY.js";
16
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DJypuRge.js";
10
+ import { t as ensureOpenClawModelsJson } from "./models-config-tNRAxYqz.js";
11
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-JiVpsY-F.js";
12
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BBj2TedD.js";
13
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
14
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CrrbzX7U.js";
15
+ import { t as parseReplyDirectives } from "./reply-directives-D4Hftiqp.js";
16
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-FQrlCKRx.js";
17
17
  import path from "node:path";
18
18
  import syncFs from "node:fs";
19
19
  import { createHash } from "node:crypto";
@@ -351,7 +351,7 @@ function ensureContextWindowCacheLoaded() {
351
351
  await ensureOpenClawModelsJson(cfg);
352
352
  } catch {}
353
353
  try {
354
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-B5oKc4R3.js").then((n) => n.r);
354
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DiGB5xAq.js").then((n) => n.r);
355
355
  const agentDir = resolveOpenClawAgentDir();
356
356
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
357
357
  applyDiscoveredContextWindows({
@@ -1,22 +1,22 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { l as resolveDefaultAgentId } from "./agent-scope-BudmZlc1.js";
3
- import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
4
- import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
5
- import { F as normalizeAgentId, G as normalizeAccountId, I as normalizeMainKey, K as normalizeOptionalAccountId, tt as parseAgentSessionKey } from "./workspace-DOy2M7yN.js";
6
- import { $n as getChannelPlugin, Gt as getActivePluginRegistryVersion, Kn as resolveStorePath, On as updateSessionStoreEntry, U as loadConfig, Ut as getActivePluginRegistry, Xn as getChannelDock, bn as loadSessionStore, fn as getConversationReadQuery, pa as resolveOpenClawAgentDir, tr as normalizeChannelId, un as StorageReadAccessError, yn as listConfiguredSessionStorageAgentIds } from "./model-selection-2-pBJbaC.js";
7
- import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-DODCZ4JK.js";
2
+ import { l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
3
+ import { l as resolveStateDir } from "./paths-B_gs59ga.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
5
+ import { F as normalizeAgentId, G as normalizeAccountId, I as normalizeMainKey, K as normalizeOptionalAccountId, tt as parseAgentSessionKey } from "./workspace-xnzx7wEV.js";
6
+ import { $n as getChannelPlugin, Gt as getActivePluginRegistryVersion, Kn as resolveStorePath, On as updateSessionStoreEntry, U as loadConfig, Ut as getActivePluginRegistry, Xn as getChannelDock, bn as loadSessionStore, fn as getConversationReadQuery, pa as resolveOpenClawAgentDir, tr as normalizeChannelId, un as StorageReadAccessError, yn as listConfiguredSessionStorageAgentIds } from "./model-selection-_StPBPAp.js";
7
+ import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-CzjW7wiR.js";
8
8
  import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
9
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-CL44f6Ub.js";
10
- import { i as hasErrnoCode } from "./errors-DnS9ngr1.js";
11
- import { t as ensureOpenClawModelsJson } from "./models-config-7yfOGOZY.js";
12
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-ChtdmCYU.js";
13
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BHQuzJtJ.js";
14
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BvoP0b-H.js";
15
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-DfRORyCc.js";
16
- import { t as parseReplyDirectives } from "./reply-directives-DMPiBIx3.js";
17
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-12uxFQQR.js";
9
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-BdADRLL0.js";
10
+ import { i as hasErrnoCode } from "./errors-BzL6hu4G.js";
11
+ import { t as ensureOpenClawModelsJson } from "./models-config-D3M9er_C.js";
12
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-DUVm-Rj1.js";
13
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BAxcOCcV.js";
14
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
15
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bn5_bObR.js";
16
+ import { t as parseReplyDirectives } from "./reply-directives-DsGD4aw1.js";
17
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DkJqx60r.js";
18
18
  import path from "node:path";
19
- import fs from "node:fs";
19
+ import syncFs from "node:fs";
20
20
  import { createHash } from "node:crypto";
21
21
  import { setTimeout } from "node:timers/promises";
22
22
 
@@ -372,7 +372,7 @@ function ensureContextWindowCacheLoaded() {
372
372
  await ensureOpenClawModelsJson(cfg);
373
373
  } catch {}
374
374
  try {
375
- const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-B44lshxv.js").then((n) => n.r);
375
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-BTuzuVh1.js").then((n) => n.r);
376
376
  const agentDir = resolveOpenClawAgentDir();
377
377
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
378
378
  applyDiscoveredContextWindows({
@@ -688,7 +688,7 @@ function listExistingAgentIdsFromDisk() {
688
688
  const root = resolveStateDir();
689
689
  const agentsDir = path.join(root, "agents");
690
690
  try {
691
- return fs.readdirSync(agentsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => normalizeAgentId(entry.name)).filter(Boolean);
691
+ return syncFs.readdirSync(agentsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => normalizeAgentId(entry.name)).filter(Boolean);
692
692
  } catch {
693
693
  return [];
694
694
  }
@@ -889,11 +889,11 @@ function resolveFailedDir(stateDir) {
889
889
  /** Ensure the queue directory (and failed/ subdirectory) exist. */
890
890
  async function ensureQueueDir(stateDir) {
891
891
  const queueDir = resolveQueueDir(stateDir);
892
- await fs.promises.mkdir(queueDir, {
892
+ await syncFs.promises.mkdir(queueDir, {
893
893
  recursive: true,
894
894
  mode: 448
895
895
  });
896
- await fs.promises.mkdir(resolveFailedDir(stateDir), {
896
+ await syncFs.promises.mkdir(resolveFailedDir(stateDir), {
897
897
  recursive: true,
898
898
  mode: 448
899
899
  });
@@ -923,18 +923,18 @@ async function enqueueDelivery(params, stateDir) {
923
923
  const filePath = path.join(queueDir, `${id}.json`);
924
924
  const tmp = `${filePath}.${process.pid}.tmp`;
925
925
  const json = JSON.stringify(entry, null, 2);
926
- await fs.promises.writeFile(tmp, json, {
926
+ await syncFs.promises.writeFile(tmp, json, {
927
927
  encoding: "utf-8",
928
928
  mode: 384
929
929
  });
930
- await fs.promises.rename(tmp, filePath);
930
+ await syncFs.promises.rename(tmp, filePath);
931
931
  return id;
932
932
  }
933
933
  /** Remove a successfully delivered entry from the queue. */
934
934
  async function ackDelivery(id, stateDir) {
935
935
  const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
936
936
  try {
937
- await fs.promises.unlink(filePath);
937
+ await syncFs.promises.unlink(filePath);
938
938
  } catch (err) {
939
939
  if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
940
940
  }
@@ -961,22 +961,22 @@ async function failDelivery(id, error, stateDir) {
961
961
  return serializeByKey(filePath, () => failDeliveryWrite(filePath, error));
962
962
  }
963
963
  async function failDeliveryWrite(filePath, error) {
964
- const raw = await fs.promises.readFile(filePath, "utf-8");
964
+ const raw = await syncFs.promises.readFile(filePath, "utf-8");
965
965
  const entry = JSON.parse(raw);
966
966
  entry.retryCount += 1;
967
967
  entry.lastAttemptAt = Date.now();
968
968
  entry.lastError = error;
969
969
  const tmp = `${filePath}.${process.pid}.tmp`;
970
- await fs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
970
+ await syncFs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
971
971
  encoding: "utf-8",
972
972
  mode: 384
973
973
  });
974
- await fs.promises.rename(tmp, filePath);
974
+ await syncFs.promises.rename(tmp, filePath);
975
975
  }
976
976
  /** Read a queue entry raw; null when the file is missing. */
977
977
  async function readEntryFile(filePath) {
978
978
  try {
979
- const raw = await fs.promises.readFile(filePath, "utf-8");
979
+ const raw = await syncFs.promises.readFile(filePath, "utf-8");
980
980
  return JSON.parse(raw);
981
981
  } catch (err) {
982
982
  if (hasErrnoCode(err, "ENOENT")) return null;
@@ -998,11 +998,11 @@ function markDeliveryPhase(filePath, transition) {
998
998
  const next = transition(entry);
999
999
  if (!next.advanced) return next;
1000
1000
  const tmp = `${filePath}.${process.pid}.tmp`;
1001
- await fs.promises.writeFile(tmp, JSON.stringify(next.entry, null, 2), {
1001
+ await syncFs.promises.writeFile(tmp, JSON.stringify(next.entry, null, 2), {
1002
1002
  encoding: "utf-8",
1003
1003
  mode: 384
1004
1004
  });
1005
- await fs.promises.rename(tmp, filePath);
1005
+ await syncFs.promises.rename(tmp, filePath);
1006
1006
  return next;
1007
1007
  });
1008
1008
  }
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
3
3
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
4
- import { L as resolveAgentIdFromSessionKey } from "./workspace-DOy2M7yN.js";
4
+ import { L as resolveAgentIdFromSessionKey } from "./workspace-xnzx7wEV.js";
5
5
  import { t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
6
6
  import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DJQj3Ka7.js";
7
7
  import { t as redactIdentifier } from "./redact-identifier-C_VCQ34e.js";
8
- import { t as redactSensitiveText } from "./redact-Cp-v7ZNA.js";
8
+ import { t as redactSensitiveText } from "./redact-CysJDryP.js";
9
9
  import { createHash } from "node:crypto";
10
10
 
11
11
  //#region src/agents/command-poll-backoff.ts
@@ -1,7 +1,7 @@
1
1
  import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
2
2
  import { r as resolveCliName } from "./command-format-C8lewPDO.js";
3
3
  import { t as note } from "./note-D_lQmF8n.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-od6mAB_x.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BFHL_SSq.js";
5
5
  import { spawnSync } from "node:child_process";
6
6
  import path from "node:path";
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Wicu3YQr.js";
2
2
  import { r as resolveCliName } from "./command-format-dyB8APhj.js";
3
3
  import { t as note } from "./note-DuVpD9Sh.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BIuMSnSA.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-EqOcxJpx.js";
5
5
  import path from "node:path";
6
6
  import { spawnSync } from "node:child_process";
7
7
 
package/dist/entry.js CHANGED
@@ -381,7 +381,7 @@ if (!isMainModule({
381
381
  }
382
382
  function tryHandleRootHelpFastPath(argv) {
383
383
  if (!isRootHelpInvocation(argv)) return false;
384
- import("./program-CcLb8Psv.js").then(({ buildProgram }) => {
384
+ import("./program-DYZ4XAFZ.js").then(({ buildProgram }) => {
385
385
  buildProgram().outputHelp();
386
386
  }).catch((error) => {
387
387
  console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
@@ -400,7 +400,7 @@ if (!isMainModule({
400
400
  applyCliProfileEnv({ profile: parsed.profile });
401
401
  process$1.argv = parsed.argv;
402
402
  }
403
- if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-BBLzm5df.js").then(({ runCli }) => runCli(process$1.argv)).then(() => flushStdio()).then(() => process$1.exit(process$1.exitCode ?? 0)).catch(async (error) => {
403
+ if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-BYnz7Ou5.js").then(({ runCli }) => runCli(process$1.argv)).then(() => flushStdio()).then(() => process$1.exit(process$1.exitCode ?? 0)).catch(async (error) => {
404
404
  console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
405
405
  await flushStdio();
406
406
  process$1.exit(process$1.exitCode ?? 1);
@@ -1,4 +1,4 @@
1
- import { t as redactSensitiveText } from "./redact-Cp-v7ZNA.js";
1
+ import { t as redactSensitiveText } from "./redact-CysJDryP.js";
2
2
 
3
3
  //#region src/infra/errors.ts
4
4
  function extractErrorCode(err) {