wednesdayai 0.5.1-dev.24 → 0.5.1-dev.25

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 (266) hide show
  1. package/dist/{agent-scope-DCgndASv.js → agent-scope-BKsGMXqc.js} +3 -3
  2. package/dist/{agent-turn-runner-CEjdyv-R.js → agent-turn-runner-LKV3FMwQ.js} +6 -6
  3. package/dist/{api-key-rotation-dv2YbGr8.js → api-key-rotation-DZNFm4xG.js} +2 -2
  4. package/dist/{audio-preflight-C4_SRws-.js → audio-preflight-DQous9JR.js} +29 -29
  5. package/dist/{audio-transcription-runner-Ct0kBrps.js → audio-transcription-runner-BK3cV_ad.js} +26 -26
  6. package/dist/build-info.json +3 -3
  7. package/dist/bundled/boot-md/handler.js +60 -60
  8. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  9. package/dist/bundled/command-logger/handler.js +2 -2
  10. package/dist/bundled/session-journal/handler.js +60 -60
  11. package/dist/bundled/session-memory/handler.js +60 -60
  12. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  13. package/dist/{channel-activity-Kn1_ykXE.js → channel-activity-BAxUpg5h.js} +3 -3
  14. package/dist/{chat-content-1fhcKTem.js → chat-content-BWkiC3u3.js} +34 -34
  15. package/dist/{chrome-DIGxu4IF.js → chrome-Dzgbe0zH.js} +23 -23
  16. package/dist/{chunk-CEygNI3g.js → chunk-Bvf22vTh.js} +3 -3
  17. package/dist/{command-queue-BIc3C-hI.js → command-queue-BOMFLCHM.js} +1 -1
  18. package/dist/{commands-registry-Cof4HjvY.js → commands-registry-Da3c0MbL.js} +2 -2
  19. package/dist/config.js +9 -9
  20. package/dist/{deliver-DrYdFhBN.js → deliver-CJjQbaJE.js} +29 -29
  21. package/dist/{diagnostic-N82VS3Qp.js → diagnostic-Dn_o8RGN.js} +5 -5
  22. package/dist/{plugin-sdk/errors-B671D37F.js → errors-1FTZDNVR.js} +1 -1
  23. package/dist/{fetch-B1ohBh6A.js → fetch-CnDdghbc.js} +8 -8
  24. package/dist/{fetch-guard-BXzVwvnJ.js → fetch-guard-B6BYdjiQ.js} +3 -3
  25. package/dist/{frontmatter-Cw_6jMAR.js → frontmatter-DvbDhvt1.js} +3 -3
  26. package/dist/{fs-safe-BK5ALzKD.js → fs-safe-IYMDplSg.js} +26 -26
  27. package/dist/{image-ops-C-5VgbLB.js → image-ops-BuzZGoUm.js} +1 -1
  28. package/dist/{ir-DioI2VyB.js → ir-CBsM7qoP.js} +5 -5
  29. package/dist/{legacy-names-CghFcfry.js → legacy-names-Ckds5WWe.js} +1 -1
  30. package/dist/llm-slug-generator.js +60 -60
  31. package/dist/{logger-J4xjy-6D.js → logger-BeXVb5cn.js} +1 -1
  32. package/dist/{manager-D728Thsn.js → manager-BujYLKny.js} +18 -18
  33. package/dist/{markdown-tables-DfLMw9ti.js → markdown-tables-WuCFdPlC.js} +2 -2
  34. package/dist/{model-selection-BHGpQSa9.js → model-selection-CHi8o17y.js} +83 -83
  35. package/dist/{models-config-CJUMccZW.js → models-config-CAlyknIh.js} +2 -2
  36. package/dist/{outbound-attachment-DtVXUXnX.js → outbound-attachment-C6mfyze2.js} +2 -2
  37. package/dist/{outbound-message-hooks-7ErHCBLv.js → outbound-message-hooks-jUzcd2OQ.js} +5 -5
  38. package/dist/{path-alias-guards-E9ntDORB.js → path-alias-guards-BgOxr6f8.js} +1 -1
  39. package/dist/{pi-embedded-C1EQ2NQD.js → pi-embedded-aOKwlbog.js} +268 -268
  40. package/dist/{pi-embedded-utils-j-G6as7X.js → pi-embedded-utils-BGvDJMAA.js} +3 -3
  41. package/dist/{pi-model-discovery-BaH_6win.js → pi-model-discovery-CYfRyzsD.js} +7 -7
  42. package/dist/plugin-sdk/{agent-scope-BNKfH4PO.js → agent-scope-B5NskkwN.js} +2 -2
  43. package/dist/plugin-sdk/{agent-turn-execute-Dg4sVJSk.js → agent-turn-execute-C6g1y27e.js} +12 -12
  44. package/dist/plugin-sdk/agent-turn-execute-PXSa6POm.js +64 -0
  45. package/dist/plugin-sdk/{agent-turn-runner-CD9Y0Gsf.js → agent-turn-runner-BkP71ySA.js} +4 -4
  46. package/dist/plugin-sdk/agent-turn-runner-Cwg_qJSY.js +11 -0
  47. package/dist/plugin-sdk/{agent-turn-runner-D9SfXrDG.js → agent-turn-runner-DTwcFLVR.js} +7 -7
  48. package/dist/plugin-sdk/{api-key-rotation-BoeGT5k6.js → api-key-rotation-Dd5GYq7W.js} +2 -2
  49. package/dist/plugin-sdk/{audio-preflight-DpVKYTBy.js → audio-preflight-BTA2w6a8.js} +2 -2
  50. package/dist/plugin-sdk/{audio-preflight-GgmY1Zte.js → audio-preflight-CsMLbzm_.js} +5 -5
  51. package/dist/plugin-sdk/audio-preflight-OHqqRPPw.js +31 -0
  52. package/dist/plugin-sdk/{audio-transcription-runner-0gef4Ef0.js → audio-transcription-runner-2bpzZm3F.js} +1 -1
  53. package/dist/plugin-sdk/{audio-transcription-runner-BhFy0i3B.js → audio-transcription-runner-CW4PtJOr.js} +11 -11
  54. package/dist/plugin-sdk/{auth-profiles-DhZNx6fQ.js → auth-profiles-CxOZbtpA.js} +4 -4
  55. package/dist/plugin-sdk/{channel-activity-BlGuAYdc.js → channel-activity-WL5SZ4Ub.js} +3 -3
  56. package/dist/plugin-sdk/{chat-content-Dpzf2nbZ.js → chat-content-CCOQCwrz.js} +3 -3
  57. package/dist/plugin-sdk/{chat-content-BnSpex4r.js → chat-content-Csto0UEZ.js} +13 -13
  58. package/dist/plugin-sdk/{chrome-D9DwZOSC.js → chrome-C2bUQR0d.js} +8 -8
  59. package/dist/plugin-sdk/{chrome-CBH4Uiy-.js → chrome-DzzIT4YD.js} +13 -13
  60. package/dist/plugin-sdk/{chunk-DKwQiXuF.js → chunk-CWDKrXV-.js} +3 -3
  61. package/dist/plugin-sdk/{chunk-jn4LDLDQ.js → chunk-C_GT4tj0.js} +5 -5
  62. package/dist/plugin-sdk/{command-detection--t4OkqFt.js → command-detection-YLMxiTkq.js} +95 -95
  63. package/dist/plugin-sdk/{command-queue-Dd0-b1-g.js → command-queue-84-UYysZ.js} +1 -1
  64. package/dist/plugin-sdk/{command-queue-DfIjyemM.js → command-queue-BlcsvUrS.js} +7 -7
  65. package/dist/plugin-sdk/{command-queue-Cm8QKC0F.js → command-queue-J0ZpvnYU.js} +1 -1
  66. package/dist/plugin-sdk/{commands-registry-COgT-iaa.js → commands-registry-Bq1VWa2x.js} +2 -2
  67. package/dist/plugin-sdk/{commands-registry-C6FHOrPa.js → commands-registry-oILscT9a.js} +5 -5
  68. package/dist/plugin-sdk/{config-D2katwYr.js → config-Cp7sIoSP.js} +6 -6
  69. package/dist/plugin-sdk/{deliver-CeWz5Axp.js → deliver-1ptGm5gu.js} +14 -14
  70. package/dist/plugin-sdk/{deliver-CZVPDUrt.js → deliver-CT3Lk2kq.js} +1 -1
  71. package/dist/plugin-sdk/{deliver-D6hs0zDt.js → deliver-dkNTCb3Z.js} +3 -3
  72. package/dist/plugin-sdk/deliver-vvTRXMdO.js +35 -0
  73. package/dist/plugin-sdk/{diagnostic-ZVJ6ZVA6.js → diagnostic-BCs9q4kf.js} +6 -6
  74. package/dist/plugin-sdk/{diagnostic-Bi52EuT5.js → diagnostic-C-Clqb63.js} +1 -1
  75. package/dist/plugin-sdk/{diagnostic-DD94QWnh.js → diagnostic-W-ES89_S.js} +5 -5
  76. package/dist/{errors-COs_vQr3.js → plugin-sdk/errors-BAcXagTa.js} +1 -1
  77. package/dist/plugin-sdk/{fetch-guard-DWRMXy-Z.js → fetch-guard-5esEIw3C.js} +3 -3
  78. package/dist/plugin-sdk/{fs-safe-CR39I5to.js → fs-safe-Qut4VUn8.js} +3 -3
  79. package/dist/plugin-sdk/{image-ops-C0wvHJkm.js → image-ops-B9MP8BwT.js} +1 -1
  80. package/dist/plugin-sdk/index.js +56 -56
  81. package/dist/plugin-sdk/{ir-CRNn4Wzv.js → ir-D6Bn5lOZ.js} +5 -5
  82. package/dist/plugin-sdk/{local-roots-D2LPLxOo.js → local-roots-1beRdBcS.js} +7 -7
  83. package/dist/plugin-sdk/{logger-F5PKgK4h.js → logger-DYxRK_FZ.js} +1 -1
  84. package/dist/plugin-sdk/manager-BgK1sRAg.js +16 -0
  85. package/dist/plugin-sdk/{manager-WrO0qTfU.js → manager-Dxv2YpgS.js} +7 -7
  86. package/dist/plugin-sdk/{markdown-tables-DunxiRpT.js → markdown-tables-5CSf45sS.js} +2 -2
  87. package/dist/plugin-sdk/markdown-tables-Q5ogPPem.js +9 -0
  88. package/dist/plugin-sdk/{models-config-DJUNPvmU.js → models-config-Dj4jLPMw.js} +2 -2
  89. package/dist/plugin-sdk/{monitor-BrUwRgsT.js → monitor-BHeL2-is.js} +32 -32
  90. package/dist/plugin-sdk/{outbound-attachment-Bw8Ac2Eh.js → outbound-attachment-DiQNpfYY.js} +2 -2
  91. package/dist/plugin-sdk/{path-alias-guards-DvB3vS9N.js → path-alias-guards-Cr_8wxeu.js} +1 -1
  92. package/dist/plugin-sdk/{pi-embedded-utils-CeNVVYT3.js → pi-embedded-utils-BmeLQMRx.js} +1 -1
  93. package/dist/plugin-sdk/{pi-embedded-utils-DCbfW5pR.js → pi-embedded-utils-Bx8SkKxs.js} +3 -3
  94. package/dist/plugin-sdk/{pi-model-discovery-_OwU2G2N.js → pi-model-discovery-CHCoH08E.js} +1 -1
  95. package/dist/plugin-sdk/{pi-model-discovery-Bt6iAhJo.js → pi-model-discovery-mXT8DqbW.js} +5 -5
  96. package/dist/plugin-sdk/provider-dispatcher-Bg7ik_9P.js +64 -0
  97. package/dist/plugin-sdk/{provider-dispatcher-Bx_RMlu-.js → provider-dispatcher-BkEWKVLB.js} +12 -12
  98. package/dist/plugin-sdk/{provider-image-DH8Jro3J.js → provider-image-BSV8WjkR.js} +1 -1
  99. package/dist/plugin-sdk/{provider-image-Cp4O6erC.js → provider-image-M3j6w2Xu.js} +6 -6
  100. package/dist/plugin-sdk/{provider-image-CBXOs7yQ.js → provider-image-QDVfXKph.js} +4 -4
  101. package/dist/plugin-sdk/provider-image-fv7acwPs.js +25 -0
  102. package/dist/plugin-sdk/{proxy-DhVCl72V.js → proxy-K3jUjtIm.js} +1 -1
  103. package/dist/plugin-sdk/proxy-LKdqVD6u.js +7 -0
  104. package/dist/plugin-sdk/{proxy-fetch-BSTGvynk.js → proxy-fetch-Dt3HV6r3.js} +1 -1
  105. package/dist/plugin-sdk/{pw-ai-BAIve7qq.js → pw-ai-CsU7HGvR.js} +10 -10
  106. package/dist/plugin-sdk/{pw-ai-BP4Kwaqc.js → pw-ai-QlS2E2LB.js} +1 -1
  107. package/dist/plugin-sdk/{qmd-manager-Dk95qYn7.js → qmd-manager-BHhDDFrn.js} +8 -8
  108. package/dist/plugin-sdk/{query-expansion-CmmZw3Kz.js → query-expansion-BY2L8oSD.js} +2 -2
  109. package/dist/plugin-sdk/{recorder-CSYSJRCO.js → recorder-B_7zTSFA.js} +2 -2
  110. package/dist/plugin-sdk/{redact-YbcPIGWf.js → redact-C9Eu_AUI.js} +1 -1
  111. package/dist/plugin-sdk/{replies-CXs4_abR.js → replies-B3XUIs0b.js} +5 -5
  112. package/dist/plugin-sdk/replies-C4T9Nsqz.js +27 -0
  113. package/dist/plugin-sdk/{reply-directives-DjbLtWjg.js → reply-directives-D1IqpiHJ.js} +2 -2
  114. package/dist/plugin-sdk/{reply-prefix-DA4xCsnL.js → reply-prefix-Bf8Iqq8v.js} +1 -1
  115. package/dist/plugin-sdk/reply-prefix-C38vv65Y.js +7 -0
  116. package/dist/plugin-sdk/{resolve-route-Ouh7ZVw1.js → resolve-route-D0I4Llwy.js} +4 -4
  117. package/dist/plugin-sdk/{resolve-route-BDoLW8xr.js → resolve-route-JQF7nqo1.js} +5 -5
  118. package/dist/plugin-sdk/{runs-C1Lvxfri.js → runs-8iACp6xv.js} +3 -3
  119. package/dist/plugin-sdk/{runs-s1XnmHHC.js → runs-C75mB4si.js} +8 -8
  120. package/dist/plugin-sdk/{runs-DG49eFuR.js → runs-D0UdtKVI.js} +5 -5
  121. package/dist/plugin-sdk/runs-S1n4U4AS.js +27 -0
  122. package/dist/plugin-sdk/send--m_QWAPO.js +23 -0
  123. package/dist/plugin-sdk/{send-sl6DLsL2.js → send-4vK7xjJW.js} +15 -15
  124. package/dist/plugin-sdk/{send-YzrHr_2V.js → send-7iASSBg6.js} +6 -6
  125. package/dist/plugin-sdk/{send-BguPpGBL.js → send-BP8o2l4w.js} +2 -2
  126. package/dist/plugin-sdk/send-C4wz_kt5.js +28 -0
  127. package/dist/plugin-sdk/{send-DlYcVutL.js → send-CRZe2naD.js} +8 -8
  128. package/dist/plugin-sdk/{send-CcEF6VcP.js → send-CYZi6dwK.js} +1 -1
  129. package/dist/plugin-sdk/{send-Dzf8uETw.js → send-CzU3DnG8.js} +7 -7
  130. package/dist/plugin-sdk/send-D9H-XXzx.js +25 -0
  131. package/dist/plugin-sdk/{send-C6oFuvTF.js → send-DHH7532s.js} +6 -6
  132. package/dist/plugin-sdk/{send-BRN7Zt5N.js → send-Dhapzixp.js} +19 -19
  133. package/dist/plugin-sdk/send-DnFCjogv.js +24 -0
  134. package/dist/plugin-sdk/{session-context-BKcnHr0H.js → session-context-DVrSm2pD.js} +4 -4
  135. package/dist/plugin-sdk/session-meta-CT3hQSl7.js +13 -0
  136. package/dist/plugin-sdk/{session-meta-Ov3Sv55D.js → session-meta-Cho9XVh8.js} +1 -1
  137. package/dist/plugin-sdk/{sessions-CLYE50YG.js → sessions-D5KTt-gq.js} +4 -4
  138. package/dist/plugin-sdk/{skill-commands-B3IuCuE6.js → skill-commands-Bv0tfv2Q.js} +4 -4
  139. package/dist/plugin-sdk/skill-commands-Clq-qaMe.js +13 -0
  140. package/dist/plugin-sdk/{skills-DcowK80n.js → skills-DO7OTK36.js} +6 -6
  141. package/dist/plugin-sdk/{ssrf-CkGpmmN1.js → ssrf-DPY1teOB.js} +1 -1
  142. package/dist/plugin-sdk/{store-B5Jssa25.js → store-nKIf4x6Y.js} +2 -2
  143. package/dist/plugin-sdk/{subagent-registry-B4EmS6cu.js → subagent-registry-DA50ITkO.js} +12 -12
  144. package/dist/plugin-sdk/subagent-registry-DSh4cze1.js +64 -0
  145. package/dist/plugin-sdk/{subsystem-C-lWCqvG.js → subsystem-CPqF9wja.js} +4 -4
  146. package/dist/plugin-sdk/{tables-CG00Lb4u.js → tables-CatynEzT.js} +1 -1
  147. package/dist/plugin-sdk/testing.js +12 -12
  148. package/dist/plugin-sdk/{tokens-Ctmmv-sn.js → tokens-DdbQh5HH.js} +1 -1
  149. package/dist/plugin-sdk/{tool-loop-detection-ys8oxWQM.js → tool-loop-detection-DazBiexb.js} +1 -1
  150. package/dist/plugin-sdk/{user-run-recording-CTKs_Jv9.js → user-run-recording-BXyHfYg3.js} +2 -2
  151. package/dist/plugin-sdk/user-run-recording-D80GJNVP.js +11 -0
  152. package/dist/{provider-image-CFq0C_z0.js → provider-image-CNBkTbhu.js} +6 -6
  153. package/dist/{proxy-CrSpy5Aw.js → proxy-Ds4gxPy8.js} +1 -1
  154. package/dist/{proxy-env-BxR4m86L.js → proxy-env-DAf-b2bM.js} +1 -1
  155. package/dist/{proxy-fetch-g109vqdt.js → proxy-fetch-M3YAp_Kv.js} +1 -1
  156. package/dist/{pw-ai-Dhm8_p5G.js → pw-ai-BcibeG9a.js} +14 -14
  157. package/dist/{qmd-manager-CU9iEql0.js → qmd-manager-C3UBJiCk.js} +12 -12
  158. package/dist/{query-expansion-B_2rETEo.js → query-expansion-BT5lS0um.js} +13 -13
  159. package/dist/{recorder-Clg9Kbqu.js → recorder-B08vNxya.js} +2 -2
  160. package/dist/{redact-DpE5Tg36.js → redact-CKI6SufO.js} +1 -1
  161. package/dist/{replies-Cty02S3t.js → replies-BHkXhmOj.js} +5 -5
  162. package/dist/{reply-directives-BIh2AkNd.js → reply-directives-DkfwzHl4.js} +2 -2
  163. package/dist/{reply-prefix-C-DjHvQK.js → reply-prefix-DS2s69iC.js} +1 -1
  164. package/dist/{resolve-route-DKZiteo6.js → resolve-route-DxuZn3_M.js} +5 -5
  165. package/dist/{runs-Ot6reoKK.js → runs-DFvW_PVw.js} +9 -9
  166. package/dist/{send-BXHsjIHr.js → send-2aTk7PU-.js} +28 -28
  167. package/dist/{send-Bf4geLyV.js → send-D2WSE41A.js} +8 -8
  168. package/dist/{send-CsDSBjFo.js → send-mILKKt54.js} +6 -6
  169. package/dist/{send-bwKTbNlJ.js → send-odd2G3DX.js} +7 -7
  170. package/dist/{send-DQvfLvpJ.js → send-yIxOvEiz.js} +6 -6
  171. package/dist/{session-meta-5XI6vLtM.js → session-meta-B8B6RwSE.js} +1 -1
  172. package/dist/{sessions-DF9biCmh.js → sessions-DC7A0bw-.js} +5 -5
  173. package/dist/{skill-commands-CAOvM2sb.js → skill-commands-DdVSQNce.js} +8 -8
  174. package/dist/{skills-VN1CJK6W.js → skills-BXMjgvRl.js} +21 -21
  175. package/dist/{store-HgGweM4u.js → store-BVdeIl7N.js} +7 -7
  176. package/dist/{tables-DkwNUhx1.js → tables-yHwb0GsI.js} +1 -1
  177. package/dist/{tokens-PMai9bNL.js → tokens-CXBau-U0.js} +1 -1
  178. package/dist/{tool-loop-detection-BqyMjpvr.js → tool-loop-detection-Bw8B0hV3.js} +2 -2
  179. package/dist/{user-run-recording-B1HujJiT.js → user-run-recording-8MZq1Us4.js} +2 -2
  180. package/dist/{workspace-Bj1Jegt-.js → workspace-DK2ZEkpT.js} +27 -27
  181. package/extensions/acpx/package.json +1 -1
  182. package/extensions/anthropic/package.json +1 -1
  183. package/extensions/bifrost/package.json +1 -1
  184. package/extensions/bluebubbles/package.json +1 -1
  185. package/extensions/copilot-proxy/package.json +1 -1
  186. package/extensions/deepgram/package.json +1 -1
  187. package/extensions/deepinfra/package.json +1 -1
  188. package/extensions/diagnostics-otel/package.json +1 -1
  189. package/extensions/diffs/package.json +1 -1
  190. package/extensions/discord/package.json +1 -1
  191. package/extensions/dream-cycle/package.json +1 -1
  192. package/extensions/elevenlabs/package.json +1 -1
  193. package/extensions/feishu/package.json +1 -1
  194. package/extensions/gemini-search/package.json +1 -1
  195. package/extensions/google/package.json +1 -1
  196. package/extensions/google-gemini-cli-auth/package.json +1 -1
  197. package/extensions/googlechat/package.json +1 -1
  198. package/extensions/grok-search/package.json +1 -1
  199. package/extensions/groq/package.json +1 -1
  200. package/extensions/imessage/package.json +1 -1
  201. package/extensions/irc/package.json +1 -1
  202. package/extensions/kimi-search/package.json +1 -1
  203. package/extensions/learning-core/package.json +1 -1
  204. package/extensions/line/package.json +1 -1
  205. package/extensions/llm-task/package.json +1 -1
  206. package/extensions/lobster/package.json +1 -1
  207. package/extensions/matrix/CHANGELOG.md +1 -1
  208. package/extensions/matrix/package.json +1 -1
  209. package/extensions/mattermost/package.json +1 -1
  210. package/extensions/memory-core/package.json +1 -1
  211. package/extensions/memory-lancedb/package.json +1 -1
  212. package/extensions/minimax/package.json +1 -1
  213. package/extensions/minimax-portal-auth/package.json +1 -1
  214. package/extensions/mistral/package.json +1 -1
  215. package/extensions/moonshot/package.json +1 -1
  216. package/extensions/msteams/CHANGELOG.md +1 -1
  217. package/extensions/msteams/package.json +1 -1
  218. package/extensions/nextcloud-talk/package.json +1 -1
  219. package/extensions/nostr/CHANGELOG.md +1 -1
  220. package/extensions/nostr/package.json +1 -1
  221. package/extensions/open-prose/package.json +1 -1
  222. package/extensions/openai/package.json +1 -1
  223. package/extensions/openai-realtime/package.json +1 -1
  224. package/extensions/openrouter/package.json +1 -1
  225. package/extensions/perplexity-search/package.json +1 -1
  226. package/extensions/searxng-search/package.json +1 -1
  227. package/extensions/signal/package.json +1 -1
  228. package/extensions/slack/package.json +1 -1
  229. package/extensions/synology-chat/package.json +1 -1
  230. package/extensions/telegram/package.json +1 -1
  231. package/extensions/tlon/package.json +1 -1
  232. package/extensions/twitch/CHANGELOG.md +1 -1
  233. package/extensions/twitch/package.json +1 -1
  234. package/extensions/ui-surfaces/package.json +1 -1
  235. package/extensions/voice-call/CHANGELOG.md +1 -1
  236. package/extensions/voice-call/package.json +1 -1
  237. package/extensions/whatsapp/package.json +1 -1
  238. package/extensions/zai/package.json +1 -1
  239. package/extensions/zalo/CHANGELOG.md +1 -1
  240. package/extensions/zalo/package.json +1 -1
  241. package/extensions/zalouser/CHANGELOG.md +1 -1
  242. package/extensions/zalouser/package.json +1 -1
  243. package/package.json +1 -1
  244. package/dist/github-copilot-token-DYYKoDuV.js +0 -106
  245. package/dist/paths-BIDPYPVC.js +0 -233
  246. package/dist/plugin-sdk/agent-turn-execute-W6H2j8kO.js +0 -64
  247. package/dist/plugin-sdk/agent-turn-runner-BTedsvG2.js +0 -11
  248. package/dist/plugin-sdk/audio-preflight-CJ3oP-bs.js +0 -31
  249. package/dist/plugin-sdk/deliver-DaxxC7pS.js +0 -35
  250. package/dist/plugin-sdk/manager-DsV_4p9J.js +0 -16
  251. package/dist/plugin-sdk/markdown-tables-xTvb6uxj.js +0 -9
  252. package/dist/plugin-sdk/provider-dispatcher-BVBAjHBR.js +0 -64
  253. package/dist/plugin-sdk/provider-image-Wa7xYnAo.js +0 -25
  254. package/dist/plugin-sdk/proxy-BFnRHQ1U.js +0 -7
  255. package/dist/plugin-sdk/replies-RqNUByIO.js +0 -27
  256. package/dist/plugin-sdk/reply-prefix-30s91NpV.js +0 -7
  257. package/dist/plugin-sdk/runs-XrgntIht.js +0 -27
  258. package/dist/plugin-sdk/send-8sjelrtn.js +0 -25
  259. package/dist/plugin-sdk/send-BjroMkud.js +0 -24
  260. package/dist/plugin-sdk/send-CwcdQ1wT.js +0 -28
  261. package/dist/plugin-sdk/send-DuyWQ4Q4.js +0 -23
  262. package/dist/plugin-sdk/session-meta-JkAHgftu.js +0 -13
  263. package/dist/plugin-sdk/skill-commands-CZKr2EYZ.js +0 -13
  264. package/dist/plugin-sdk/subagent-registry-28cuPTO-.js +0 -64
  265. package/dist/plugin-sdk/user-run-recording-DIcSd0VJ.js +0 -11
  266. package/dist/subsystem-BZy3aWdW.js +0 -2761
@@ -1,68 +1,68 @@
1
- import { c as resolveAgentWorkspaceDir } from "../../agent-scope-DCgndASv.js";
2
- import { l as resolveStateDir } from "../../paths-BIDPYPVC.js";
3
- import { t as createSubsystemLogger } from "../../subsystem-BZy3aWdW.js";
4
- import { N as resolveAgentIdFromSessionKey } from "../../workspace-Bj1Jegt-.js";
5
- import "../../logger-J4xjy-6D.js";
6
- import "../../model-selection-BHGpQSa9.js";
7
- import "../../github-copilot-token-DYYKoDuV.js";
8
- import "../../legacy-names-CghFcfry.js";
9
- import "../../send-bwKTbNlJ.js";
10
- import "../../send-Bf4geLyV.js";
11
- import "../../pi-embedded-C1EQ2NQD.js";
12
- import "../../tokens-PMai9bNL.js";
13
- import "../../sessions-DF9biCmh.js";
1
+ import { c as resolveAgentWorkspaceDir } from "../../agent-scope-BKsGMXqc.js";
2
+ import { l as resolveStateDir } from "../../paths-B_gs59ga.js";
3
+ import { t as createSubsystemLogger } from "../../subsystem-BaT-AAVZ.js";
4
+ import { N as resolveAgentIdFromSessionKey } from "../../workspace-DK2ZEkpT.js";
5
+ import "../../logger-BeXVb5cn.js";
6
+ import "../../model-selection-CHi8o17y.js";
7
+ import "../../github-copilot-token-DHoyZ4I0.js";
8
+ import "../../legacy-names-Ckds5WWe.js";
9
+ import "../../send-odd2G3DX.js";
10
+ import "../../send-D2WSE41A.js";
11
+ import "../../pi-embedded-aOKwlbog.js";
12
+ import "../../tokens-CXBau-U0.js";
13
+ import "../../sessions-DC7A0bw-.js";
14
14
  import "../../diagnostic-events-DGRcTqIH.js";
15
- import "../../diagnostic-N82VS3Qp.js";
15
+ import "../../diagnostic-Dn_o8RGN.js";
16
16
  import "../../diagnostic-session-state-Bnyx-w0F.js";
17
- import "../../redact-DpE5Tg36.js";
18
- import "../../command-queue-BIc3C-hI.js";
19
- import "../../send-BXHsjIHr.js";
20
- import "../../image-ops-C-5VgbLB.js";
21
- import "../../pi-model-discovery-BaH_6win.js";
22
- import "../../chat-content-1fhcKTem.js";
23
- import "../../chrome-DIGxu4IF.js";
24
- import "../../frontmatter-Cw_6jMAR.js";
25
- import "../../skills-VN1CJK6W.js";
26
- import "../../path-alias-guards-E9ntDORB.js";
27
- import "../../errors-COs_vQr3.js";
28
- import { c as writeFileWithinRoot } from "../../fs-safe-BK5ALzKD.js";
29
- import "../../proxy-env-BxR4m86L.js";
30
- import "../../store-HgGweM4u.js";
17
+ import "../../redact-CKI6SufO.js";
18
+ import "../../command-queue-BOMFLCHM.js";
19
+ import "../../send-2aTk7PU-.js";
20
+ import "../../image-ops-BuzZGoUm.js";
21
+ import "../../pi-model-discovery-CYfRyzsD.js";
22
+ import "../../chat-content-BWkiC3u3.js";
23
+ import "../../chrome-Dzgbe0zH.js";
24
+ import "../../frontmatter-DvbDhvt1.js";
25
+ import "../../skills-BXMjgvRl.js";
26
+ import "../../path-alias-guards-BgOxr6f8.js";
27
+ import "../../errors-1FTZDNVR.js";
28
+ import { c as writeFileWithinRoot } from "../../fs-safe-IYMDplSg.js";
29
+ import "../../proxy-env-DAf-b2bM.js";
30
+ import "../../store-BVdeIl7N.js";
31
31
  import "../../thinking-CcoiS9V4.js";
32
- import "../../models-config-CJUMccZW.js";
33
- import "../../audio-transcription-runner-Ct0kBrps.js";
34
- import "../../pi-embedded-utils-j-G6as7X.js";
35
- import "../../provider-image-CFq0C_z0.js";
36
- import "../../fetch-B1ohBh6A.js";
37
- import "../../fetch-guard-BXzVwvnJ.js";
38
- import "../../proxy-fetch-g109vqdt.js";
39
- import "../../api-key-rotation-dv2YbGr8.js";
40
- import "../../reply-prefix-C-DjHvQK.js";
41
- import "../../chunk-CEygNI3g.js";
42
- import "../../markdown-tables-DfLMw9ti.js";
43
- import "../../ir-DioI2VyB.js";
32
+ import "../../models-config-CAlyknIh.js";
33
+ import "../../audio-transcription-runner-BK3cV_ad.js";
34
+ import "../../pi-embedded-utils-BGvDJMAA.js";
35
+ import "../../provider-image-CNBkTbhu.js";
36
+ import "../../fetch-CnDdghbc.js";
37
+ import "../../fetch-guard-B6BYdjiQ.js";
38
+ import "../../proxy-fetch-M3YAp_Kv.js";
39
+ import "../../api-key-rotation-DZNFm4xG.js";
40
+ import "../../reply-prefix-DS2s69iC.js";
41
+ import "../../chunk-Bvf22vTh.js";
42
+ import "../../markdown-tables-WuCFdPlC.js";
43
+ import "../../ir-CBsM7qoP.js";
44
44
  import "../../render-2Ztmr_V0.js";
45
- import "../../commands-registry-Cof4HjvY.js";
46
- import "../../user-run-recording-B1HujJiT.js";
47
- import "../../recorder-Clg9Kbqu.js";
48
- import "../../agent-turn-runner-CEjdyv-R.js";
49
- import "../../skill-commands-CAOvM2sb.js";
50
- import "../../runs-Ot6reoKK.js";
51
- import "../../outbound-message-hooks-7ErHCBLv.js";
52
- import { S as transcriptEntriesToMessages, b as formatSessionMessageLines, x as readFullTranscriptEntriesFromBackend } from "../../deliver-DrYdFhBN.js";
45
+ import "../../commands-registry-Da3c0MbL.js";
46
+ import "../../user-run-recording-8MZq1Us4.js";
47
+ import "../../recorder-B08vNxya.js";
48
+ import "../../agent-turn-runner-LKV3FMwQ.js";
49
+ import "../../skill-commands-DdVSQNce.js";
50
+ import "../../runs-DFvW_PVw.js";
51
+ import "../../outbound-message-hooks-jUzcd2OQ.js";
52
+ import { S as transcriptEntriesToMessages, b as formatSessionMessageLines, x as readFullTranscriptEntriesFromBackend } from "../../deliver-CJjQbaJE.js";
53
53
  import "../../fetch-BVyUaG_D.js";
54
- import "../../channel-activity-Kn1_ykXE.js";
55
- import "../../tables-DkwNUhx1.js";
56
- import "../../reply-directives-BIh2AkNd.js";
57
- import "../../send-CsDSBjFo.js";
58
- import "../../outbound-attachment-DtVXUXnX.js";
59
- import "../../send-DQvfLvpJ.js";
60
- import "../../resolve-route-DKZiteo6.js";
61
- import "../../proxy-CrSpy5Aw.js";
62
- import "../../replies-Cty02S3t.js";
63
- import "../../session-meta-5XI6vLtM.js";
64
- import "../../manager-D728Thsn.js";
65
- import "../../query-expansion-B_2rETEo.js";
54
+ import "../../channel-activity-BAxUpg5h.js";
55
+ import "../../tables-yHwb0GsI.js";
56
+ import "../../reply-directives-DkfwzHl4.js";
57
+ import "../../send-mILKKt54.js";
58
+ import "../../outbound-attachment-C6mfyze2.js";
59
+ import "../../send-yIxOvEiz.js";
60
+ import "../../resolve-route-DxuZn3_M.js";
61
+ import "../../proxy-Ds4gxPy8.js";
62
+ import "../../replies-BHkXhmOj.js";
63
+ import "../../session-meta-B8B6RwSE.js";
64
+ import "../../manager-BujYLKny.js";
65
+ import "../../query-expansion-BT5lS0um.js";
66
66
  import { generateSlugViaLLM } from "../../llm-slug-generator.js";
67
67
  import { t as resolveHookConfig } from "../../config-BUBmzm--.js";
68
68
  import path from "node:path";
@@ -1 +1 @@
1
- 5b8f93d7978481c788bdf7da2216afec2af4da3c3d2c8d32f99ebe574cec384e
1
+ 6ceb230fa2065bc448226708cea41218d8c4ffe0a45f1ab51891431635e3f08e
@@ -1,6 +1,6 @@
1
- import { t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
2
- import { b as resolveRetryConfig, x as retryAsync } from "./model-selection-BHGpQSa9.js";
3
- import { i as formatErrorMessage } from "./errors-COs_vQr3.js";
1
+ import { t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
2
+ import { b as resolveRetryConfig, x as retryAsync } from "./model-selection-CHi8o17y.js";
3
+ import { i as formatErrorMessage } from "./errors-1FTZDNVR.js";
4
4
  import { RateLimitError } from "@buape/carbon";
5
5
 
6
6
  //#region src/infra/retry-policy.ts
@@ -1,26 +1,26 @@
1
- import { f as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-DCgndASv.js";
2
- import { n as STATE_DIR, o as resolveGatewayPort } from "./paths-BIDPYPVC.js";
3
- import { P as openBoundaryFile, o as defaultRuntime, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger, z as resolvePathViaExistingAncestorSync } from "./subsystem-BZy3aWdW.js";
4
- import { N as resolveAgentIdFromSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as normalizeAgentId, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-Bj1Jegt-.js";
5
- import { Da as resolveSecretInputRef, H as createConfigIO, It as CHANNEL_IDS, Jr as acquireSessionWriteLock, K as writeConfigFile, U as loadConfig, Zi as resolveSecretRefValues, na as secretRefKey, ot as getBlockedNetworkModeReason, yr as formatCliCommand } from "./model-selection-BHGpQSa9.js";
6
- import { s as parseBooleanValue } from "./legacy-names-CghFcfry.js";
7
- import { At as sanitizeToolCallIdsForCloudCodeAssist, F as resolveAgentMainSessionKey, P as canonicalizeMainSessionAlias } from "./sessions-DF9biCmh.js";
1
+ import { f as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-BKsGMXqc.js";
2
+ import { n as STATE_DIR, o as resolveGatewayPort } from "./paths-B_gs59ga.js";
3
+ import { P as openBoundaryFile, o as defaultRuntime, pt as truncateUtf16Safe, st as resolveUserPath, t as createSubsystemLogger, z as resolvePathViaExistingAncestorSync } from "./subsystem-BaT-AAVZ.js";
4
+ import { N as resolveAgentIdFromSessionKey, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as normalizeAgentId, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME } from "./workspace-DK2ZEkpT.js";
5
+ import { Da as resolveSecretInputRef, H as createConfigIO, It as CHANNEL_IDS, Jr as acquireSessionWriteLock, K as writeConfigFile, U as loadConfig, Zi as resolveSecretRefValues, na as secretRefKey, ot as getBlockedNetworkModeReason, yr as formatCliCommand } from "./model-selection-CHi8o17y.js";
6
+ import { s as parseBooleanValue } from "./legacy-names-Ckds5WWe.js";
7
+ import { At as sanitizeToolCallIdsForCloudCodeAssist, F as resolveAgentMainSessionKey, P as canonicalizeMainSessionAlias } from "./sessions-DC7A0bw-.js";
8
8
  import { t as generateSecureToken } from "./secure-random-BEYczWtd.js";
9
- import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-C-5VgbLB.js";
10
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_ENABLED, K as DEFAULT_BROWSER_EVALUATE_ENABLED, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, Y as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_COLOR, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-DIGxu4IF.js";
11
- import { d as resolveSandboxPath, h as sanitizeEnvVars, o as syncSkillsToWorkspace, u as resolveSandboxInputPath } from "./skills-VN1CJK6W.js";
12
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-E9ntDORB.js";
13
- import { i as formatErrorMessage, n as extractErrorCode } from "./errors-COs_vQr3.js";
14
- import { n as SsrFBlockedError } from "./proxy-env-BxR4m86L.js";
15
- import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-HgGweM4u.js";
9
+ import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BuzZGoUm.js";
10
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_ENABLED, K as DEFAULT_BROWSER_EVALUATE_ENABLED, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, W as DEFAULT_AI_SNAPSHOT_MAX_CHARS, Y as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_COLOR, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-Dzgbe0zH.js";
11
+ import { d as resolveSandboxPath, h as sanitizeEnvVars, o as syncSkillsToWorkspace, u as resolveSandboxInputPath } from "./skills-BXMjgvRl.js";
12
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BgOxr6f8.js";
13
+ import { i as formatErrorMessage, n as extractErrorCode } from "./errors-1FTZDNVR.js";
14
+ import { n as SsrFBlockedError } from "./proxy-env-DAf-b2bM.js";
15
+ import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-BVdeIl7N.js";
16
16
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Cj-XaaTu.js";
17
17
  import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Dbx8t3Tf.js";
18
18
  import { r as writeJsonAtomic } from "./json-files-DBtcstGX.js";
19
19
  import { o as normalizeThinkLevel } from "./thinking-CcoiS9V4.js";
20
20
  import path, { posix } from "node:path";
21
- import fs, { existsSync } from "node:fs";
21
+ import syncFs, { existsSync } from "node:fs";
22
22
  import os from "node:os";
23
- import fs$1 from "node:fs/promises";
23
+ import fs from "node:fs/promises";
24
24
  import { spawn } from "node:child_process";
25
25
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
26
26
  import express from "express";
@@ -1268,7 +1268,7 @@ function isModuleNotFoundError(err) {
1268
1268
  }
1269
1269
  async function loadPwAiModule(mode) {
1270
1270
  try {
1271
- return await import("./pw-ai-Dhm8_p5G.js");
1271
+ return await import("./pw-ai-BcibeG9a.js");
1272
1272
  } catch (err) {
1273
1273
  if (mode === "soft") return null;
1274
1274
  if (isModuleNotFoundError(err)) return null;
@@ -1426,7 +1426,7 @@ async function withPlaywrightRouteContext(params) {
1426
1426
  //#endregion
1427
1427
  //#region src/browser/routes/output-paths.ts
1428
1428
  async function ensureOutputRootDir(rootDir) {
1429
- await fs$1.mkdir(rootDir, { recursive: true });
1429
+ await fs.mkdir(rootDir, { recursive: true });
1430
1430
  }
1431
1431
  async function resolveWritableOutputPathOrRespond(params) {
1432
1432
  if (params.ensureRootDir) await ensureOutputRootDir(params.rootDir);
@@ -3044,11 +3044,11 @@ async function movePathToTrash(targetPath) {
3044
3044
  return targetPath;
3045
3045
  } catch {
3046
3046
  const trashDir = path.join(os.homedir(), ".Trash");
3047
- fs.mkdirSync(trashDir, { recursive: true });
3047
+ syncFs.mkdirSync(trashDir, { recursive: true });
3048
3048
  const base = path.basename(targetPath);
3049
3049
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
3050
- if (fs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3051
- fs.renameSync(targetPath, dest);
3050
+ if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3051
+ syncFs.renameSync(targetPath, dest);
3052
3052
  return dest;
3053
3053
  }
3054
3054
  }
@@ -3135,7 +3135,7 @@ function createBrowserProfilesService(ctx) {
3135
3135
  } catch {}
3136
3136
  const userDataDir = resolveOpenClawUserDataDir(name);
3137
3137
  const profileDir = path.dirname(userDataDir);
3138
- if (fs.existsSync(profileDir)) {
3138
+ if (syncFs.existsSync(profileDir)) {
3139
3139
  await movePathToTrash(profileDir);
3140
3140
  deleted = true;
3141
3141
  }
@@ -3633,7 +3633,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3633
3633
  //#region src/browser/server-context.reset.ts
3634
3634
  async function closePlaywrightBrowserConnection() {
3635
3635
  try {
3636
- await (await import("./pw-ai-Dhm8_p5G.js")).closePlaywrightBrowserConnection();
3636
+ await (await import("./pw-ai-BcibeG9a.js")).closePlaywrightBrowserConnection();
3637
3637
  } catch {}
3638
3638
  }
3639
3639
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
@@ -3651,7 +3651,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
3651
3651
  if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
3652
3652
  if (profileState.running) await stopRunningBrowser();
3653
3653
  await closePlaywrightBrowserConnection();
3654
- if (!fs.existsSync(userDataDir)) return {
3654
+ if (!syncFs.existsSync(userDataDir)) return {
3655
3655
  moved: false,
3656
3656
  from: userDataDir
3657
3657
  };
@@ -4343,7 +4343,7 @@ async function withRegistryLock(registryPath, fn) {
4343
4343
  }
4344
4344
  async function readRegistryFromFile(registryPath, mode) {
4345
4345
  try {
4346
- const raw = await fs$1.readFile(registryPath, "utf-8");
4346
+ const raw = await fs.readFile(registryPath, "utf-8");
4347
4347
  const parsed = JSON.parse(raw);
4348
4348
  if (isRegistryFile(parsed)) return parsed;
4349
4349
  if (mode === "fallback") return { entries: [] };
@@ -5714,7 +5714,7 @@ var SandboxFsBridgeImpl = class {
5714
5714
  if (guarded.reason !== "path") {
5715
5715
  if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
5716
5716
  }
5717
- } else fs.closeSync(guarded.fd);
5717
+ } else syncFs.closeSync(guarded.fd);
5718
5718
  const canonicalContainerPath = await this.resolveCanonicalContainerPath({
5719
5719
  containerPath: target.containerPath,
5720
5720
  allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
@@ -5725,7 +5725,7 @@ var SandboxFsBridgeImpl = class {
5725
5725
  }
5726
5726
  pathIsExistingDirectory(hostPath) {
5727
5727
  try {
5728
- return fs.statSync(hostPath).isDirectory();
5728
+ return syncFs.statSync(hostPath).isDirectory();
5729
5729
  } catch {
5730
5730
  return false;
5731
5731
  }
@@ -5967,7 +5967,7 @@ function formatSandboxToolPolicyBlockedMessage(params) {
5967
5967
  //#endregion
5968
5968
  //#region src/agents/sandbox/workspace.ts
5969
5969
  async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
5970
- await fs$1.mkdir(workspaceDir, { recursive: true });
5970
+ await fs.mkdir(workspaceDir, { recursive: true });
5971
5971
  if (seedFrom) {
5972
5972
  const seed = resolveUserPath(seedFrom);
5973
5973
  const files = [
@@ -5983,7 +5983,7 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
5983
5983
  const src = path.join(seed, name);
5984
5984
  const dest = path.join(workspaceDir, name);
5985
5985
  try {
5986
- await fs$1.access(dest);
5986
+ await fs.access(dest);
5987
5987
  } catch {
5988
5988
  try {
5989
5989
  const opened = await openBoundaryFile({
@@ -5993,13 +5993,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
5993
5993
  });
5994
5994
  if (!opened.ok) continue;
5995
5995
  try {
5996
- const content = fs.readFileSync(opened.fd, "utf-8");
5997
- await fs$1.writeFile(dest, content, {
5996
+ const content = syncFs.readFileSync(opened.fd, "utf-8");
5997
+ await fs.writeFile(dest, content, {
5998
5998
  encoding: "utf-8",
5999
5999
  flag: "wx"
6000
6000
  });
6001
6001
  } finally {
6002
- fs.closeSync(opened.fd);
6002
+ syncFs.closeSync(opened.fd);
6003
6003
  }
6004
6004
  } catch {}
6005
6005
  }
@@ -6033,7 +6033,7 @@ async function ensureSandboxWorkspaceLayout(params) {
6033
6033
  const message = error instanceof Error ? error.message : JSON.stringify(error);
6034
6034
  defaultRuntime.error?.(`Sandbox skill sync failed: ${message}`);
6035
6035
  }
6036
- } else await fs$1.mkdir(workspaceDir, { recursive: true });
6036
+ } else await fs.mkdir(workspaceDir, { recursive: true });
6037
6037
  return {
6038
6038
  agentWorkspaceDir,
6039
6039
  scopeKey,
@@ -6043,7 +6043,7 @@ async function ensureSandboxWorkspaceLayout(params) {
6043
6043
  }
6044
6044
  async function resolveSandboxDockerUser(params) {
6045
6045
  if (params.docker.user?.trim()) return params.docker;
6046
- const stat = params.stat ?? ((workspaceDir) => fs$1.stat(workspaceDir));
6046
+ const stat = params.stat ?? ((workspaceDir) => fs.stat(workspaceDir));
6047
6047
  try {
6048
6048
  const workspaceStat = await stat(params.workspaceDir);
6049
6049
  const uid = Number.isInteger(workspaceStat.uid) ? workspaceStat.uid : null;
@@ -1,12 +1,12 @@
1
- import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
2
- import { U as loadConfig, _t as normalizeIpAddress, ft as isIpInCidr, gt as isPrivateOrLoopbackIpAddress, ht as isLoopbackIpAddress } from "./model-selection-BHGpQSa9.js";
3
- import { s as isErrno } from "./errors-COs_vQr3.js";
4
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-BK5ALzKD.js";
5
- import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-BxR4m86L.js";
1
+ import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
2
+ import { U as loadConfig, _t as normalizeIpAddress, ft as isIpInCidr, gt as isPrivateOrLoopbackIpAddress, ht as isLoopbackIpAddress } from "./model-selection-CHi8o17y.js";
3
+ import { s as isErrno } from "./errors-1FTZDNVR.js";
4
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-IYMDplSg.js";
5
+ import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-DAf-b2bM.js";
6
6
  import path from "node:path";
7
- import fs from "node:fs";
7
+ import syncFs from "node:fs";
8
8
  import os from "node:os";
9
- import fs$1 from "node:fs/promises";
9
+ import fs from "node:fs/promises";
10
10
  import { execFileSync, spawn } from "node:child_process";
11
11
  import { createHmac } from "node:crypto";
12
12
  import net from "node:net";
@@ -203,28 +203,28 @@ function invalidPath(scopeLabel) {
203
203
  }
204
204
  async function resolveRealPathIfExists(targetPath) {
205
205
  try {
206
- return await fs$1.realpath(targetPath);
206
+ return await fs.realpath(targetPath);
207
207
  } catch {
208
208
  return;
209
209
  }
210
210
  }
211
211
  async function resolveTrustedRootRealPath(rootDir) {
212
212
  try {
213
- const rootLstat = await fs$1.lstat(rootDir);
213
+ const rootLstat = await fs.lstat(rootDir);
214
214
  if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
215
- return await fs$1.realpath(rootDir);
215
+ return await fs.realpath(rootDir);
216
216
  } catch {
217
217
  return;
218
218
  }
219
219
  }
220
220
  async function validateCanonicalPathWithinRoot(params) {
221
221
  try {
222
- const candidateLstat = await fs$1.lstat(params.candidatePath);
222
+ const candidateLstat = await fs.lstat(params.candidatePath);
223
223
  if (candidateLstat.isSymbolicLink()) return "invalid";
224
224
  if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
225
225
  if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
226
226
  if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
227
- const candidateRealPath = await fs$1.realpath(params.candidatePath);
227
+ const candidateRealPath = await fs.realpath(params.candidatePath);
228
228
  return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
229
229
  } catch (err) {
230
230
  return isNotFoundPathError(err) ? "not-found" : "invalid";
@@ -302,7 +302,7 @@ async function resolveCheckedPathsWithinRoot(params) {
302
302
  };
303
303
  if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
304
304
  try {
305
- const resolvedExistingPath = await fs$1.realpath(raw);
305
+ const resolvedExistingPath = await fs.realpath(raw);
306
306
  const relativePath = path.relative(rootRealPath, resolvedExistingPath);
307
307
  if (!isInRoot(relativePath)) return lexicalPathResult;
308
308
  return {
@@ -1650,7 +1650,7 @@ const CHROMIUM_EXE_NAMES = new Set([
1650
1650
  ]);
1651
1651
  function exists$1(filePath) {
1652
1652
  try {
1653
- return fs.existsSync(filePath);
1653
+ return syncFs.existsSync(filePath);
1654
1654
  } catch {
1655
1655
  return false;
1656
1656
  }
@@ -1793,7 +1793,7 @@ function findDesktopFilePath(desktopId) {
1793
1793
  }
1794
1794
  function readDesktopExecLine(desktopPath) {
1795
1795
  try {
1796
- const lines = fs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
1796
+ const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
1797
1797
  for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
1798
1798
  } catch {}
1799
1799
  return null;
@@ -2051,7 +2051,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
2051
2051
  const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
2052
2052
  function resolveLsofCommandSync() {
2053
2053
  for (const candidate of LSOF_CANDIDATES) try {
2054
- fs.accessSync(candidate, fs.constants.X_OK);
2054
+ syncFs.accessSync(candidate, syncFs.constants.X_OK);
2055
2055
  return candidate;
2056
2056
  } catch {}
2057
2057
  return "lsof";
@@ -2096,8 +2096,8 @@ function decoratedMarkerPath(userDataDir) {
2096
2096
  }
2097
2097
  function safeReadJson(filePath) {
2098
2098
  try {
2099
- if (!fs.existsSync(filePath)) return null;
2100
- const raw = fs.readFileSync(filePath, "utf-8");
2099
+ if (!syncFs.existsSync(filePath)) return null;
2100
+ const raw = syncFs.readFileSync(filePath, "utf-8");
2101
2101
  const parsed = JSON.parse(raw);
2102
2102
  if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
2103
2103
  return parsed;
@@ -2106,8 +2106,8 @@ function safeReadJson(filePath) {
2106
2106
  }
2107
2107
  }
2108
2108
  function safeWriteJson(filePath, data) {
2109
- fs.mkdirSync(path.dirname(filePath), { recursive: true });
2110
- fs.writeFileSync(filePath, JSON.stringify(data, null, 2));
2109
+ syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
2110
+ syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
2111
2111
  }
2112
2112
  function setDeep(obj, keys, value) {
2113
2113
  let node = obj;
@@ -2234,7 +2234,7 @@ function decorateOpenClawProfile(userDataDir, opts) {
2234
2234
  }
2235
2235
  safeWriteJson(preferencesPath, prefs);
2236
2236
  try {
2237
- fs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
2237
+ syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
2238
2238
  } catch {}
2239
2239
  }
2240
2240
  function ensureProfileCleanExit(userDataDir) {
@@ -2250,7 +2250,7 @@ function ensureProfileCleanExit(userDataDir) {
2250
2250
  const log = createSubsystemLogger("browser").child("chrome");
2251
2251
  function exists(filePath) {
2252
2252
  try {
2253
- return fs.existsSync(filePath);
2253
+ return syncFs.existsSync(filePath);
2254
2254
  } catch {
2255
2255
  return false;
2256
2256
  }
@@ -2348,7 +2348,7 @@ async function launchOpenClawChrome(resolved, profile) {
2348
2348
  const exe = resolveBrowserExecutable(resolved);
2349
2349
  if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
2350
2350
  const userDataDir = resolveOpenClawUserDataDir(profile.name);
2351
- fs.mkdirSync(userDataDir, { recursive: true });
2351
+ syncFs.mkdirSync(userDataDir, { recursive: true });
2352
2352
  const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_OPENCLAW_BROWSER_COLOR).toUpperCase());
2353
2353
  const spawnOnce = () => {
2354
2354
  const args = [
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-BZy3aWdW.js";
3
- import { V as normalizeAccountId } from "./workspace-Bj1Jegt-.js";
4
- import { Fr as INTERNAL_MESSAGE_CHANNEL, kr as resolveAccountEntry } from "./model-selection-BHGpQSa9.js";
2
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-BaT-AAVZ.js";
3
+ import { V as normalizeAccountId } from "./workspace-DK2ZEkpT.js";
4
+ import { Fr as INTERNAL_MESSAGE_CHANNEL, kr as resolveAccountEntry } from "./model-selection-CHi8o17y.js";
5
5
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-RrqZTgHp.js";
6
6
 
7
7
  //#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-N82VS3Qp.js";
2
+ import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-Dn_o8RGN.js";
3
3
  import { t as CommandLane } from "./lanes-DTaUAkeG.js";
4
4
 
5
5
  //#region src/process/command-queue.ts
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { tt as escapeRegExp } from "./subsystem-BZy3aWdW.js";
2
+ import { tt as escapeRegExp } from "./subsystem-BaT-AAVZ.js";
3
3
  import { t as isPlainObject } from "./plain-object-CLm2c5Nu.js";
4
- import { Aa as DEFAULT_MODEL, Gt as getActivePluginRegistry, Jn as normalizeChannelId, Xn as listChannelDocks, ja as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-BHGpQSa9.js";
4
+ import { Aa as DEFAULT_MODEL, Gt as getActivePluginRegistry, Jn as normalizeChannelId, Xn as listChannelDocks, ja as DEFAULT_PROVIDER, u as resolveConfiguredModelRef } from "./model-selection-CHi8o17y.js";
5
5
  import { r as listThinkingLevels } from "./thinking-CcoiS9V4.js";
6
6
 
7
7
  //#region src/config/commands.ts
package/dist/config.js CHANGED
@@ -7,7 +7,7 @@ import { isDeepStrictEqual, promisify } from "node:util";
7
7
  import JSON5 from "json5";
8
8
  import dotenv from "dotenv";
9
9
  import { Logger } from "tslog";
10
- import fs$1 from "node:fs/promises";
10
+ import fsp from "node:fs/promises";
11
11
  import zlib from "node:zlib";
12
12
  import chalk, { Chalk } from "chalk";
13
13
  import { execFile, execFileSync } from "node:child_process";
@@ -6582,7 +6582,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
6582
6582
  await held.handle.close();
6583
6583
  } catch {}
6584
6584
  try {
6585
- await fs$1.rm(held.lockPath, { force: true });
6585
+ await fsp.rm(held.lockPath, { force: true });
6586
6586
  } catch {}
6587
6587
  })();
6588
6588
  try {
@@ -6661,7 +6661,7 @@ function registerCleanupHandlers() {
6661
6661
  }
6662
6662
  async function readLockPayload(lockPath) {
6663
6663
  try {
6664
- const raw = await fs$1.readFile(lockPath, "utf8");
6664
+ const raw = await fsp.readFile(lockPath, "utf8");
6665
6665
  const parsed = JSON.parse(raw);
6666
6666
  const payload = {};
6667
6667
  if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
@@ -6705,7 +6705,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
6705
6705
  if (!details.stale) return false;
6706
6706
  if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
6707
6707
  try {
6708
- const stat = await fs$1.stat(lockPath);
6708
+ const stat = await fsp.stat(lockPath);
6709
6709
  return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
6710
6710
  } catch (error) {
6711
6711
  return error?.code !== "ENOENT";
@@ -6723,10 +6723,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
6723
6723
  const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
6724
6724
  const sessionFile = path.resolve(params.sessionFile);
6725
6725
  const sessionDir = path.dirname(sessionFile);
6726
- await fs$1.mkdir(sessionDir, { recursive: true });
6726
+ await fsp.mkdir(sessionDir, { recursive: true });
6727
6727
  let normalizedDir = sessionDir;
6728
6728
  try {
6729
- normalizedDir = await fs$1.realpath(sessionDir);
6729
+ normalizedDir = await fsp.realpath(sessionDir);
6730
6730
  } catch {}
6731
6731
  const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
6732
6732
  const lockPath = `${normalizedSessionFile}.lock`;
@@ -6744,7 +6744,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
6744
6744
  attempt += 1;
6745
6745
  let handle = null;
6746
6746
  try {
6747
- handle = await fs$1.open(lockPath, "wx");
6747
+ handle = await fsp.open(lockPath, "wx");
6748
6748
  const createdAt = (/* @__PURE__ */ new Date()).toISOString();
6749
6749
  const starttime = processIdentity.getProcessStartTime(process.pid);
6750
6750
  const lockPayload = {
@@ -6770,7 +6770,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
6770
6770
  await handle.close();
6771
6771
  } catch {}
6772
6772
  try {
6773
- await fs$1.rm(lockPath, { force: true });
6773
+ await fsp.rm(lockPath, { force: true });
6774
6774
  } catch {}
6775
6775
  }
6776
6776
  if (err.code !== "EEXIST") throw err;
@@ -6785,7 +6785,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
6785
6785
  stale: true,
6786
6786
  staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
6787
6787
  } : inspected, staleMs, nowMs)) {
6788
- await fs$1.rm(lockPath, { force: true });
6788
+ await fsp.rm(lockPath, { force: true });
6789
6789
  continue;
6790
6790
  }
6791
6791
  const delay = Math.min(1e3, 50 * attempt);