wednesdayai 0.5.1-dev.41 → 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 (298) hide show
  1. package/dist/{agent-scope-DUbhjnHb.js → agent-scope-BJFJ0deZ.js} +18 -18
  2. package/dist/{agent-scope-CXfIHPTl.js → agent-scope-CoIdVzmg.js} +2 -2
  3. package/dist/{agent-turn-execute-8DU-jztX.js → agent-turn-execute-CIlMMXNu.js} +168 -168
  4. package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
  5. package/dist/{agent-turn-runner-BJqs23F_.js → agent-turn-runner-FwkD42Me.js} +6 -6
  6. package/dist/{agent-turn-runner-DHc4lH66.js → agent-turn-runner-SxjOzPCD.js} +6 -6
  7. package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
  8. package/dist/{api-key-rotation-PK29aYV9.js → api-key-rotation-1bTDnvBU.js} +2 -2
  9. package/dist/{api-key-rotation-B8RAiYZ_.js → api-key-rotation-BWj1Itf-.js} +2 -2
  10. package/dist/{audio-preflight-DaYu-alJ.js → audio-preflight-CCjuApbs.js} +25 -25
  11. package/dist/{audio-preflight-Cio-wP6C.js → audio-preflight-CKxOmHZL.js} +22 -22
  12. package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
  13. package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
  14. package/dist/{audio-transcription-runner-DW04B1B-.js → audio-transcription-runner-DgFYIaIw.js} +12 -12
  15. package/dist/{audio-transcription-runner-D_-_mf4m.js → audio-transcription-runner-DrIyj8a5.js} +25 -25
  16. package/dist/build-info.json +3 -3
  17. package/dist/bundled/boot-md/handler.js +55 -55
  18. package/dist/bundled/bootstrap-extra-files/handler.js +4 -4
  19. package/dist/bundled/command-logger/handler.js +1 -1
  20. package/dist/bundled/session-journal/handler.js +55 -55
  21. package/dist/bundled/session-memory/handler.js +55 -55
  22. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  23. package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
  24. package/dist/{chat-content-DIjp-kW-.js → chat-content-BdADRLL0.js} +17 -17
  25. package/dist/{chat-content-tQ21BnhN.js → chat-content-BgW4rG28.js} +24 -24
  26. package/dist/{chrome-DxiDoVpi.js → chrome-DNTX4D1k.js} +13 -13
  27. package/dist/{chrome-C9TkYQeh.js → chrome-DQ2kyZpc.js} +14 -14
  28. package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
  29. package/dist/{chunk-DCCRrNDr.js → chunk-BAxcOCcV.js} +3 -3
  30. package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
  31. package/dist/{chunk-50mU2Avf.js → chunk-BEuk6eCG.js} +3 -3
  32. package/dist/{command-queue-De2GI8TP.js → command-queue-CRm1AADE.js} +1 -1
  33. package/dist/{command-queue-yDJ733aN.js → command-queue-D_saM8MV.js} +1 -1
  34. package/dist/{commands-registry-CzTzqbi9.js → commands-registry-C-BDBl_b.js} +2 -2
  35. package/dist/{commands-registry-C3LKhQLY.js → commands-registry-CtR9mXss.js} +2 -2
  36. package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
  37. package/dist/{config-D5tWLhng.js → config-CPcuaNsB.js} +26 -26
  38. package/dist/config.js +3 -3
  39. package/dist/{credentials-DdZjLLBj.js → credentials-2Kd9Ahu7.js} +1 -1
  40. package/dist/{credentials-BAWD9O8L.js → credentials-BhiiI_Nr.js} +1 -1
  41. package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
  42. package/dist/{deliver-Cqo4_R0v.js → deliver-Ap_fWjsf.js} +14 -14
  43. package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
  44. package/dist/{deliver-DeMElZFE.js → deliver-BufoibUD.js} +15 -15
  45. package/dist/{diagnostic-Nq6B3DZr.js → diagnostic--vAGyKdB.js} +3 -3
  46. package/dist/{diagnostic-BqFtliY1.js → diagnostic-BSnQ1U_E.js} +3 -3
  47. package/dist/{plugin-sdk/errors-BcCM5PTR.js → errors-BzL6hu4G.js} +1 -1
  48. package/dist/{errors-D8k7j4A4.js → errors-DnOtx_vg.js} +1 -1
  49. package/dist/extensionAPI.js +40 -40
  50. package/dist/{fetch-TzOudNO4.js → fetch-BJ9kDOw8.js} +7 -7
  51. package/dist/{fetch-CLvElPgY.js → fetch-DJPbv7La.js} +1 -1
  52. package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
  53. package/dist/{fetch-CHncmQms.js → fetch-DUVm-Rj1.js} +7 -7
  54. package/dist/{fetch-DG4n5iR6.js → fetch-DmpLwwor.js} +1 -1
  55. package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
  56. package/dist/{fetch-guard-kz-XQlCx.js → fetch-guard-BySb6coS.js} +2 -2
  57. package/dist/{fetch-guard-BZlxmZcA.js → fetch-guard-CRERUrFK.js} +2 -2
  58. package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
  59. package/dist/{frontmatter-BDLxOane.js → frontmatter-NYeLKFIP.js} +3 -3
  60. package/dist/{fs-safe-BH37Yhl8.js → fs-safe-C3qJHn62.js} +25 -25
  61. package/dist/{fs-safe-BjrptUz1.js → fs-safe-DOdeIkaS.js} +3 -3
  62. package/dist/{plugin-sdk/image-ops-1WkFRYfC.js → image-ops-BTgGxcIG.js} +2 -2
  63. package/dist/{image-ops-BWgZn39_.js → image-ops-DEUr_rAC.js} +1 -1
  64. package/dist/{plugin-sdk/ir-BnNIPrDz.js → ir-B0rUqFWs.js} +5 -5
  65. package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
  66. package/dist/{ir-Btci3Wse.js → ir-IKFrcD2H.js} +8 -8
  67. package/dist/{json-files-C3L53Qrl.js → json-files-DNv3G6Vg.js} +7 -7
  68. package/dist/{legacy-names-BKv-k5-D.js → legacy-names-D7ywm6_7.js} +1 -1
  69. package/dist/llm-slug-generator.js +55 -55
  70. package/dist/{manager-Nw8a10KA.js → manager-3Exjl08V.js} +7 -7
  71. package/dist/{manager-BPk0HUHz.js → manager-Cb_Lde6Q.js} +14 -14
  72. package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
  73. package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
  74. package/dist/{markdown-tables-BJqhUgli.js → markdown-tables-Crj_Y0Qx.js} +2 -2
  75. package/dist/{markdown-tables-By4yQcHS.js → markdown-tables-lzV8Hoxc.js} +2 -2
  76. package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
  77. package/dist/{model-selection-JA-6f5ss.js → model-selection-_StPBPAp.js} +9 -9
  78. package/dist/{models-config-Cbzv_acs.js → models-config-D3M9er_C.js} +2 -2
  79. package/dist/{models-config-TH00YNHC.js → models-config-DkEpc_7A.js} +7 -7
  80. package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
  81. package/dist/{nudge-Da1ePscI.js → nudge-B06CLLon.js} +9 -9
  82. package/dist/{nudge-DVGzMWUi.js → nudge-BR_K1LnT.js} +16 -16
  83. package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
  84. package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
  85. package/dist/{outbound-attachment-CZwlqfbE.js → outbound-attachment-CCQDMmDH.js} +2 -2
  86. package/dist/{outbound-attachment-DAUmCye_.js → outbound-attachment-DFIzmC4e.js} +2 -2
  87. package/dist/{outbound-message-hooks-CIrC0qAA.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
  88. package/dist/{outbound-message-hooks-Bqu2fu_R.js → outbound-message-hooks-C9zh-qk0.js} +4 -4
  89. package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
  90. package/dist/{path-alias-guards-CGcezGX3.js → path-alias-guards-B9AcbQl6.js} +3 -3
  91. package/dist/{plugin-sdk/path-alias-guards-D1I2TIj4.js → path-alias-guards-aXY57qPv.js} +1 -1
  92. package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
  93. package/dist/{pi-embedded-W4tWwQw6.js → pi-embedded-DGpkqagr.js} +80 -80
  94. package/dist/{pi-embedded-utils-DF7kfQx2.js → pi-embedded-utils-CQ3KPjMe.js} +3 -3
  95. package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
  96. package/dist/{pi-embedded-utils-B6eeyw2H.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
  97. package/dist/{pi-model-discovery-ym24jTFO.js → pi-model-discovery-BTuzuVh1.js} +1 -1
  98. package/dist/{pi-model-discovery-VTZCKDCd.js → pi-model-discovery-C4WE3mR2.js} +1 -1
  99. package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
  100. package/dist/plugin-sdk/{agent-scope-BnbrZIzh.js → agent-scope-Cy5bPtkD.js} +1 -1
  101. package/dist/plugin-sdk/{agent-turn-execute-Bj1_MqWi.js → agent-turn-execute-Cr_GYkDb.js} +79 -79
  102. package/dist/plugin-sdk/{agent-turn-runner-zbex5xar.js → agent-turn-runner-CBR6kAt-.js} +6 -6
  103. package/dist/plugin-sdk/{api-key-rotation-Dpyf5O6z.js → api-key-rotation-BKcVxTy8.js} +2 -2
  104. package/dist/plugin-sdk/{audio-preflight-DlNHpUpW.js → audio-preflight-BVKGoA22.js} +23 -23
  105. package/dist/plugin-sdk/{audio-transcription-runner-BNWmQAJ3.js → audio-transcription-runner-Cvfignlt.js} +10 -10
  106. package/dist/plugin-sdk/{chrome-DwoV5WFU.js → chrome-Djvom4Ij.js} +6 -6
  107. package/dist/plugin-sdk/{chunk-CBTJQenE.js → chunk-Bh4ffo9K.js} +3 -3
  108. package/dist/plugin-sdk/{command-queue-hSL_BIod.js → command-queue-DxcAKezg.js} +1 -1
  109. package/dist/plugin-sdk/{commands-registry-vhM5U22x.js → commands-registry-CCiWhIrU.js} +2 -2
  110. package/dist/plugin-sdk/{credentials-oF38Hm9r.js → credentials-BFdx8hCQ.js} +1 -1
  111. package/dist/plugin-sdk/{deliver-CkQB8s_s.js → deliver-Cf-VdZA7.js} +14 -14
  112. package/dist/plugin-sdk/{diagnostic-nUTVaBEe.js → diagnostic-BpXW-Rhw.js} +3 -3
  113. package/dist/{errors-BWpk4nzX.js → plugin-sdk/errors-BH3DYZVB.js} +1 -1
  114. package/dist/plugin-sdk/{fetch-DV_cKD5m.js → fetch-B9WuvLLv.js} +7 -7
  115. package/dist/plugin-sdk/{fetch-BNHoA66Z.js → fetch-BxGJD3sH.js} +1 -1
  116. package/dist/plugin-sdk/{fetch-guard-Dpd7hJ0h.js → fetch-guard-CJhIVznN.js} +2 -2
  117. package/dist/plugin-sdk/{fs-safe-CnAPtYPG.js → fs-safe-BQ8e0fFk.js} +3 -3
  118. package/dist/{image-ops-C54shfkj.js → plugin-sdk/image-ops-CqatVl0e.js} +12 -12
  119. package/dist/{ir-SWdqg35s.js → plugin-sdk/ir-C1cLQG0N.js} +5 -5
  120. package/dist/plugin-sdk/{manager-uIw894nB.js → manager-xGWNrW5i.js} +7 -7
  121. package/dist/plugin-sdk/{markdown-tables-D6Jl1s9s.js → markdown-tables-DnMUQn1V.js} +2 -2
  122. package/dist/plugin-sdk/{model-auth-Beiv1ujI.js → model-auth-pNsZhRxq.js} +7 -7
  123. package/dist/plugin-sdk/{models-config-DrzOHxl5.js → models-config-d-LFEKVs.js} +2 -2
  124. package/dist/plugin-sdk/{nudge-czM3OOTT.js → nudge-BvirROp6.js} +8 -8
  125. package/dist/plugin-sdk/{openai-compatible-video-Dy57wpNv.js → openai-compatible-video-BxPbkLMy.js} +7 -7
  126. package/dist/plugin-sdk/{outbound-attachment-BoSR20RK.js → outbound-attachment-DkIWM5yK.js} +2 -2
  127. package/dist/plugin-sdk/{outbound-message-hooks-eUNVCJ0m.js → outbound-message-hooks-DsAvrOUy.js} +4 -4
  128. package/dist/{path-alias-guards-CgO2FpVx.js → plugin-sdk/path-alias-guards-CF0cvXKB.js} +1 -1
  129. package/dist/plugin-sdk/{pi-embedded-helpers-BRSkUtFR.js → pi-embedded-helpers-Ctve63Vr.js} +15 -15
  130. package/dist/plugin-sdk/{pi-embedded-utils-DcsHTJ1m.js → pi-embedded-utils-cecBA96E.js} +3 -3
  131. package/dist/plugin-sdk/{pi-model-discovery-HVno_0HD.js → pi-model-discovery-CMOEq078.js} +1 -1
  132. package/dist/plugin-sdk/provider-media-understanding.js +20 -20
  133. package/dist/plugin-sdk/{pw-ai-B1OqkFDb.js → pw-ai-Bl2Z9GYg.js} +10 -10
  134. package/dist/plugin-sdk/{qmd-manager-Ip6QnhA7.js → qmd-manager-DY9c1S_2.js} +8 -8
  135. package/dist/plugin-sdk/{qmd-scope-DMNjwnEQ.js → qmd-scope-C3rw3Qjd.js} +1 -1
  136. package/dist/plugin-sdk/{query-expansion-DV-ECmRb.js → query-expansion-BhXha2GI.js} +2 -2
  137. package/dist/plugin-sdk/{recorder-XQ8ZjG7j.js → recorder-DccHbgBz.js} +2 -2
  138. package/dist/plugin-sdk/{redact-C3T6IWmQ.js → redact-CXDVzhSq.js} +1 -1
  139. package/dist/plugin-sdk/{replies-HCqRS_IF.js → replies-CyyZdjYH.js} +5 -5
  140. package/dist/plugin-sdk/{reply-directives-Bn4oBJnk.js → reply-directives-CXKYiQC1.js} +2 -2
  141. package/dist/{reply-prefix-BTUna5vE.js → plugin-sdk/reply-prefix-DL3DiQEo.js} +1 -1
  142. package/dist/plugin-sdk/{resolve-route-Djrs4IWv.js → resolve-route-CsiTWvoi.js} +3 -3
  143. package/dist/plugin-sdk/{runs-DN-UxJ44.js → runs-ByM3uA8B.js} +8 -8
  144. package/dist/plugin-sdk/{send-DnJb7LiP.js → send-BwuMsQ_p.js} +8 -8
  145. package/dist/plugin-sdk/{send-AstP-BDn.js → send-D0UAWWai.js} +8 -8
  146. package/dist/plugin-sdk/{send-D3hVSNy0.js → send-Dgf6n9kX.js} +6 -6
  147. package/dist/plugin-sdk/{send-D5C72eu6.js → send-qUR5w2lM.js} +7 -7
  148. package/dist/plugin-sdk/{session-meta-pKpwf1nQ.js → session-meta-B_alDqcD.js} +1 -1
  149. package/dist/plugin-sdk/{sessions-BfBjVuaP.js → sessions-CkJfRajZ.js} +4 -4
  150. package/dist/plugin-sdk/{skill-commands-Bk_STwKa.js → skill-commands-D5O0FXiW.js} +4 -4
  151. package/dist/plugin-sdk/{skills-BArFQgKX.js → skills-ByCpoIW7.js} +6 -6
  152. package/dist/plugin-sdk/{ssrf-B2UnPTf3.js → ssrf-aLKAjCHj.js} +1 -1
  153. package/dist/plugin-sdk/{store-D8eITlWs.js → store-KaVQ5gHj.js} +2 -2
  154. package/dist/plugin-sdk/{subsystem-Btq0amiz.js → subsystem-DGPv0F8I.js} +4 -4
  155. package/dist/plugin-sdk/{tables-Bj_zeTwr.js → tables-CONj5xDV.js} +1 -1
  156. package/dist/plugin-sdk/{tokens-mfZMXas7.js → tokens-DUGBy1gM.js} +1 -1
  157. package/dist/plugin-sdk/{tool-loop-detection-CnFqoQKh.js → tool-loop-detection-Cl4-Vsd_.js} +1 -1
  158. package/dist/plugin-sdk/{user-run-recording-DQBPNzif.js → user-run-recording--8aaZMPs.js} +2 -2
  159. package/dist/plugin-sdk/{ws-DN6RmfyQ.js → ws-C7BGsi5P.js} +1 -1
  160. package/dist/{proxy-env-DKs0W5v1.js → proxy-env-Bw8nAERJ.js} +1 -1
  161. package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
  162. package/dist/{proxy-env-DtzLr6mZ.js → proxy-env-dFmQfhFb.js} +1 -1
  163. package/dist/{pw-ai-KPNOiYzf.js → pw-ai-B2n3DHPt.js} +12 -12
  164. package/dist/{pw-ai-CEk9Jaqd.js → pw-ai-C6ZFN6As.js} +13 -13
  165. package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
  166. package/dist/{qmd-manager-BmiJlIMN.js → qmd-manager-BZSlXT1A.js} +23 -23
  167. package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
  168. package/dist/{qmd-manager-BFUaPUn-.js → qmd-manager-jLSZ3VID.js} +10 -10
  169. package/dist/{qmd-scope-DLLTbQwp.js → qmd-scope-BN4oVeLu.js} +1 -1
  170. package/dist/{qmd-scope-CUCeRWxr.js → qmd-scope-BOfwIKTy.js} +1 -1
  171. package/dist/{query-expansion-DLN1Vjgr.js → query-expansion-BDAO12Ha.js} +11 -11
  172. package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
  173. package/dist/{query-expansion-CbOJZTFH.js → query-expansion-UPsVmvEm.js} +2 -2
  174. package/dist/{recorder-jnBdoV4s.js → recorder-Bp_onP2d.js} +2 -2
  175. package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
  176. package/dist/{recorder-CndF3Klo.js → recorder-DvYXNusz.js} +2 -2
  177. package/dist/{redact-C8xjZT-F.js → redact-CysJDryP.js} +1 -1
  178. package/dist/{redact-B6sHOW29.js → redact-D--orJnz.js} +1 -1
  179. package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
  180. package/dist/{replies-CoEfccKv.js → replies-DAavcLc9.js} +5 -5
  181. package/dist/{replies-lKn2Mrkb.js → replies-DfoUf3N4.js} +5 -5
  182. package/dist/{reply-directives-BclP76MA.js → reply-directives-B_wfvntf.js} +2 -2
  183. package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
  184. package/dist/{reply-directives-Djre3xI1.js → reply-directives-DsGD4aw1.js} +2 -2
  185. package/dist/{plugin-sdk/reply-prefix-CCyygbH2.js → reply-prefix-C08CPcgE.js} +1 -1
  186. package/dist/{reply-prefix-DiyN1oc7.js → reply-prefix-gWrzAQtZ.js} +1 -1
  187. package/dist/{resolve-route-ClI5pltd.js → resolve-route-BP1OpZqn.js} +3 -3
  188. package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
  189. package/dist/{resolve-route-BmA3wi9D.js → resolve-route-RQpYXVl1.js} +4 -4
  190. package/dist/{runs-efmPtrdw.js → runs-Bf_VVVBE.js} +8 -8
  191. package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
  192. package/dist/{runs-DffCseDM.js → runs-DGr28sFu.js} +8 -8
  193. package/dist/{send-TVImOmCV.js → send-BOm8dqOB.js} +13 -13
  194. package/dist/{send-ChgWfhHL.js → send-C-m_74Nc.js} +8 -8
  195. package/dist/{send-B3c56zXa.js → send-C0kXNcyD.js} +8 -8
  196. package/dist/{send-CLnmNoGF.js → send-CNMPyQyQ.js} +7 -7
  197. package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
  198. package/dist/{send-BZrEBJKt.js → send-DFsyNWFI.js} +7 -7
  199. package/dist/{send-NLqVlKnJ.js → send-DYRbKT7y.js} +6 -6
  200. package/dist/{send-Co-6tb50.js → send-DkJqx60r.js} +8 -8
  201. package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
  202. package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
  203. package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
  204. package/dist/{send-DkHxW8Pg.js → send-oHqfck_E.js} +6 -6
  205. package/dist/{session-meta-CE9Oi0tA.js → session-meta-BCY_pfg7.js} +1 -1
  206. package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
  207. package/dist/{session-meta-DDeeNkQv.js → session-meta-DVKEsZNl.js} +1 -1
  208. package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
  209. package/dist/{sessions-DkSPJ2k9.js → sessions-CzjW7wiR.js} +4 -4
  210. package/dist/{sessions-BgTvNzNv.js → sessions-IqyeyMXp.js} +4 -4
  211. package/dist/{skill-commands-K9_D6a_V.js → skill-commands-BfK22Jmi.js} +4 -4
  212. package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
  213. package/dist/{skill-commands-BOG-33Ja.js → skill-commands-DYJDIogS.js} +5 -5
  214. package/dist/{skills-CrNvxe8D.js → skills-D6riKXOf.js} +6 -6
  215. package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
  216. package/dist/{skills-Ci9t7Gax.js → skills-jb4bSwT6.js} +4 -4
  217. package/dist/{store-DJPbhmBq.js → store-Bt16sey6.js} +2 -2
  218. package/dist/{store-B6wZFu_5.js → store-CsI6l-8d.js} +7 -7
  219. package/dist/{subsystem-B9soUuXQ.js → subsystem-BTMrlJ-R.js} +7 -7
  220. package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
  221. package/dist/{tables-CYp9eWuv.js → tables-BTIafSNy.js} +1 -1
  222. package/dist/{tables-BaYGY_Hk.js → tables-tChtQWdX.js} +1 -1
  223. package/dist/{tokens-DwuYAzrE.js → tokens-C2ll8wSq.js} +1 -1
  224. package/dist/{tokens-KbWGDYPC.js → tokens-qfLiLlNv.js} +1 -1
  225. package/dist/{tool-loop-detection-B2G2F3vq.js → tool-loop-detection-CiexABx1.js} +1 -1
  226. package/dist/{tool-loop-detection-BwJFCGqI.js → tool-loop-detection-D0CRFNOH.js} +1 -1
  227. package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
  228. package/dist/{user-run-recording-B_-S5l8q.js → user-run-recording-D-7cPbdf.js} +2 -2
  229. package/dist/{user-run-recording-DIqKTo0U.js → user-run-recording-DJedyUge.js} +2 -2
  230. package/dist/{workspace-D5PKyvm-.js → workspace-xnzx7wEV.js} +1 -1
  231. package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
  232. package/dist/{ws-CSU92Z2r.js → ws-D51UDdBH.js} +1 -1
  233. package/dist/{ws-CmKUpGwq.js → ws-DLbfGWAn.js} +1 -1
  234. package/extensions/acpx/package.json +1 -1
  235. package/extensions/anthropic/package.json +1 -1
  236. package/extensions/bifrost/package.json +1 -1
  237. package/extensions/bluebubbles/package.json +1 -1
  238. package/extensions/copilot-proxy/package.json +1 -1
  239. package/extensions/deepgram/package.json +1 -1
  240. package/extensions/deepinfra/package.json +1 -1
  241. package/extensions/diagnostics-otel/package.json +1 -1
  242. package/extensions/diffs/package.json +1 -1
  243. package/extensions/discord/package.json +1 -1
  244. package/extensions/dream-cycle/package.json +1 -1
  245. package/extensions/elevenlabs/package.json +1 -1
  246. package/extensions/feishu/package.json +1 -1
  247. package/extensions/gemini-search/package.json +1 -1
  248. package/extensions/google/package.json +1 -1
  249. package/extensions/google-gemini-cli-auth/package.json +1 -1
  250. package/extensions/googlechat/package.json +1 -1
  251. package/extensions/grok-search/package.json +1 -1
  252. package/extensions/groq/package.json +1 -1
  253. package/extensions/imessage/package.json +1 -1
  254. package/extensions/irc/package.json +1 -1
  255. package/extensions/kimi-search/package.json +1 -1
  256. package/extensions/kokoro/package.json +1 -1
  257. package/extensions/learning-core/package.json +1 -1
  258. package/extensions/line/package.json +1 -1
  259. package/extensions/llm-task/package.json +1 -1
  260. package/extensions/lobster/package.json +1 -1
  261. package/extensions/matrix/CHANGELOG.md +1 -1
  262. package/extensions/matrix/package.json +1 -1
  263. package/extensions/mattermost/package.json +1 -1
  264. package/extensions/memory-core/package.json +1 -1
  265. package/extensions/memory-lancedb/package.json +1 -1
  266. package/extensions/minimax/package.json +1 -1
  267. package/extensions/minimax-portal-auth/package.json +1 -1
  268. package/extensions/mistral/package.json +1 -1
  269. package/extensions/moonshot/package.json +1 -1
  270. package/extensions/msteams/CHANGELOG.md +1 -1
  271. package/extensions/msteams/package.json +1 -1
  272. package/extensions/nextcloud-talk/package.json +1 -1
  273. package/extensions/nostr/CHANGELOG.md +1 -1
  274. package/extensions/nostr/package.json +1 -1
  275. package/extensions/open-prose/package.json +1 -1
  276. package/extensions/openai/package.json +1 -1
  277. package/extensions/openai-realtime/package.json +1 -1
  278. package/extensions/openrouter/package.json +1 -1
  279. package/extensions/perplexity-search/package.json +1 -1
  280. package/extensions/searxng-search/package.json +1 -1
  281. package/extensions/signal/package.json +1 -1
  282. package/extensions/slack/package.json +1 -1
  283. package/extensions/synology-chat/package.json +1 -1
  284. package/extensions/telegram/package.json +1 -1
  285. package/extensions/tlon/package.json +1 -1
  286. package/extensions/twitch/CHANGELOG.md +1 -1
  287. package/extensions/twitch/package.json +1 -1
  288. package/extensions/ui-surfaces/package.json +1 -1
  289. package/extensions/voice-call/CHANGELOG.md +1 -1
  290. package/extensions/voice-call/package.json +1 -1
  291. package/extensions/whatsapp/package.json +1 -1
  292. package/extensions/zai/package.json +1 -1
  293. package/extensions/zalo/CHANGELOG.md +1 -1
  294. package/extensions/zalo/package.json +1 -1
  295. package/extensions/zalouser/CHANGELOG.md +1 -1
  296. package/extensions/zalouser/package.json +1 -1
  297. package/package.json +1 -1
  298. package/dist/subsystem-cFv2jJm-.js +0 -2777
@@ -1,19 +1,19 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { An as normalizeChannelId, Da as resolveOpenClawAgentDir, Jt as listConfiguredSessionStorageAgentIds, On as getChannelPlugin, Tn as getChannelDock, Vt as getConversationReadQuery, Yt as loadSessionStore, c as loadConfig, gt as getActivePluginRegistry, rn as updateSessionStoreEntry, vt as getActivePluginRegistryVersion, xn as resolveStorePath, zt as StorageReadAccessError } from "./config-D5tWLhng.js";
2
+ import { An as normalizeChannelId, Da as resolveOpenClawAgentDir, Jt as listConfiguredSessionStorageAgentIds, On as getChannelPlugin, Tn as getChannelDock, Vt as getConversationReadQuery, Yt as loadSessionStore, c as loadConfig, gt as getActivePluginRegistry, rn as updateSessionStoreEntry, vt as getActivePluginRegistryVersion, xn as resolveStorePath, zt as StorageReadAccessError } from "./config-CPcuaNsB.js";
3
3
  import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
4
- import { t as createSubsystemLogger } from "./subsystem-B9soUuXQ.js";
5
- import { X as normalizeMainKey, Y as normalizeAgentId, at as normalizeAccountId, c as resolveDefaultAgentId, ht as parseAgentSessionKey, ot as normalizeOptionalAccountId } from "./agent-scope-DUbhjnHb.js";
6
- import { A as eventOrder, It as canonicalizeMainSessionAlias, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as resolveMainSessionKey } from "./sessions-BgTvNzNv.js";
7
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-tQ21BnhN.js";
8
- import { i as hasErrnoCode } from "./errors-D8k7j4A4.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
5
+ import { X as normalizeMainKey, Y as normalizeAgentId, at as normalizeAccountId, c as resolveDefaultAgentId, ht as parseAgentSessionKey, ot as normalizeOptionalAccountId } from "./agent-scope-BJFJ0deZ.js";
6
+ import { A as eventOrder, It as canonicalizeMainSessionAlias, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as resolveMainSessionKey } from "./sessions-IqyeyMXp.js";
7
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-BgW4rG28.js";
8
+ import { i as hasErrnoCode } from "./errors-DnOtx_vg.js";
9
9
  import { n as generateSecureUuid } from "./secure-random-CYWiC9Ek.js";
10
- import { t as ensureOpenClawModelsJson } from "./models-config-TH00YNHC.js";
11
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-TzOudNO4.js";
12
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-50mU2Avf.js";
13
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BJqhUgli.js";
14
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bqu2fu_R.js";
15
- import { t as parseReplyDirectives } from "./reply-directives-BclP76MA.js";
16
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-B3c56zXa.js";
10
+ import { t as ensureOpenClawModelsJson } from "./models-config-DkEpc_7A.js";
11
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-BJ9kDOw8.js";
12
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BEuk6eCG.js";
13
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-Crj_Y0Qx.js";
14
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-C9zh-qk0.js";
15
+ import { t as parseReplyDirectives } from "./reply-directives-B_wfvntf.js";
16
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-C0kXNcyD.js";
17
17
  import { createHash } from "node:crypto";
18
18
  import fs from "node:fs";
19
19
  import path from "node:path";
@@ -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-VTZCKDCd.js").then((n) => n.r);
354
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-C4WE3mR2.js").then((n) => n.r);
355
355
  const agentDir = resolveOpenClawAgentDir();
356
356
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
357
357
  applyDiscoveredContextWindows({
@@ -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,20 +1,20 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { l as resolveDefaultAgentId } from "./agent-scope-CXfIHPTl.js";
2
+ import { l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
3
3
  import { l as resolveStateDir } from "./paths-B_gs59ga.js";
4
- import { t as createSubsystemLogger } from "./subsystem-cFv2jJm-.js";
5
- import { F as normalizeAgentId, G as normalizeAccountId, I as normalizeMainKey, K as normalizeOptionalAccountId, tt as parseAgentSessionKey } from "./workspace-D5PKyvm-.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-JA-6f5ss.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-DkSPJ2k9.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-DIjp-kW-.js";
10
- import { i as hasErrnoCode } from "./errors-BWpk4nzX.js";
11
- import { t as ensureOpenClawModelsJson } from "./models-config-Cbzv_acs.js";
12
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-CHncmQms.js";
13
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-DCCRrNDr.js";
14
- import { n as resolveMarkdownTableMode } from "./markdown-tables-By4yQcHS.js";
15
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CIrC0qAA.js";
16
- import { t as parseReplyDirectives } from "./reply-directives-Djre3xI1.js";
17
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-Co-6tb50.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
19
  import syncFs from "node:fs";
20
20
  import { createHash } from "node:crypto";
@@ -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-ym24jTFO.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({
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-B9soUuXQ.js";
2
+ import { t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
3
3
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
4
- import { Z as resolveAgentIdFromSessionKey } from "./agent-scope-DUbhjnHb.js";
4
+ import { Z as resolveAgentIdFromSessionKey } from "./agent-scope-BJFJ0deZ.js";
5
5
  import { t as redactIdentifier } from "./redact-identifier-bNChjxxW.js";
6
6
  import { t as emitDiagnosticEvent } from "./diagnostic-events-DGRcTqIH.js";
7
- import { t as redactSensitiveText } from "./redact-C8xjZT-F.js";
7
+ import { t as redactSensitiveText } from "./redact-D--orJnz.js";
8
8
  import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-B2VnYC0m.js";
9
9
  import { createHash } from "node:crypto";
10
10
 
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { t as createSubsystemLogger } from "./subsystem-cFv2jJm-.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-D5PKyvm-.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-B6sHOW29.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,4 +1,4 @@
1
- import { t as redactSensitiveText } from "./redact-C3T6IWmQ.js";
1
+ import { t as redactSensitiveText } from "./redact-CysJDryP.js";
2
2
 
3
3
  //#region src/infra/errors.ts
4
4
  function extractErrorCode(err) {
@@ -1,4 +1,4 @@
1
- import { t as redactSensitiveText } from "./redact-C8xjZT-F.js";
1
+ import { t as redactSensitiveText } from "./redact-D--orJnz.js";
2
2
 
3
3
  //#region src/infra/errors.ts
4
4
  function extractErrorCode(err) {
@@ -1,61 +1,61 @@
1
1
  import { i as resolveAgentDir, s as resolveAgentWorkspaceDir, x as ensureAgentWorkspace } from "./agent-scope-Js3kUihf.js";
2
2
  import "./paths-B_gs59ga.js";
3
3
  import "./subsystem-DynBFcQj.js";
4
- import { Cn as loadSessionStore, Kn as resolveSessionFilePath, Ma as DEFAULT_PROVIDER, Xn as resolveStorePath, h as resolveThinkingDefault, ja as DEFAULT_MODEL, kn as saveSessionStore } from "./model-selection-DkRYDpst.js";
4
+ import { Cn as loadSessionStore, Kn as resolveSessionFilePath, Ma as DEFAULT_PROVIDER, Xn as resolveStorePath, h as resolveThinkingDefault, ja as DEFAULT_MODEL, kn as saveSessionStore } from "./model-selection-DFW5CGMj.js";
5
5
  import { a as resolveAgentIdentity } from "./reply-prefix-4eNR7tt6.js";
6
6
  import "./github-copilot-token-BJeEWDJb.js";
7
- import "./send-Cl-ugSMv.js";
8
- import "./send-Dy4zxtn3.js";
7
+ import "./send-Dv__vEQx.js";
8
+ import "./send-CS1yI0B4.js";
9
9
  import "./tokens-D81t1pbF.js";
10
- import { a as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-BSVP6xD2.js";
11
- import "./sessions-B-dL4q0P.js";
10
+ import { a as resolveAgentTimeoutMs, t as runEmbeddedPiAgent } from "./pi-embedded-CL5jkXds.js";
11
+ import "./sessions-A1wDmvXO.js";
12
12
  import "./diagnostic-events-DMwgeRgr.js";
13
13
  import "./diagnostic-XckGznW_.js";
14
14
  import "./diagnostic-session-state-CkpWUesj.js";
15
15
  import "./redact-DsVjtfGq.js";
16
16
  import "./command-queue-K_AfPnin.js";
17
17
  import "./image-ops-Dk3eDp_u.js";
18
- import "./pi-model-discovery-B5oKc4R3.js";
19
- import "./chat-content-DtaSiJ_7.js";
20
- import "./chrome-BRVJGvQa.js";
21
- import "./ws-CWxX8WDm.js";
22
- import "./skills-CMwL1GBr.js";
18
+ import "./pi-model-discovery-DiGB5xAq.js";
19
+ import "./chat-content-B7yKTLAY.js";
20
+ import "./chrome-DQ2kyZpc.js";
21
+ import "./ws-CQigqc-W.js";
22
+ import "./skills-D7jLGkoP.js";
23
23
  import "./path-alias-guards-nWrE5acE.js";
24
24
  import "./errors-B_bbUZmd.js";
25
25
  import "./fs-safe-CFEZK0gv.js";
26
- import "./proxy-env-C0UK-5dm.js";
26
+ import "./proxy-env-RzbogHFe.js";
27
27
  import "./store-CMoTRwPk.js";
28
28
  import "./thinking-D6R5MauW.js";
29
- import "./nudge-Chvj0Rw2.js";
30
- import "./models-config-BaSANr-E.js";
31
- import "./audio-transcription-runner-MJ65xlDX.js";
32
- import "./pi-embedded-utils-BF4B99Db.js";
33
- import "./fetch-BzeUsif1.js";
34
- import "./fetch-guard-D49piGJ5.js";
35
- import "./api-key-rotation-DAI1NT_a.js";
36
- import "./chunk-CGvXEMAJ.js";
37
- import "./markdown-tables-CzhZ9VCB.js";
38
- import "./ir-vVwcX8JG.js";
29
+ import "./nudge-DklIe0bB.js";
30
+ import "./models-config-tNRAxYqz.js";
31
+ import "./audio-transcription-runner-Bk1wu6OC.js";
32
+ import "./pi-embedded-utils-D9zLeiKy.js";
33
+ import "./fetch-JiVpsY-F.js";
34
+ import "./fetch-guard-Dn6Z6n6a.js";
35
+ import "./api-key-rotation-1GnreUfv.js";
36
+ import "./chunk-BBj2TedD.js";
37
+ import "./markdown-tables-7TebvIj0.js";
38
+ import "./ir-Bra81NIe.js";
39
39
  import "./render-95l30zcf.js";
40
- import "./commands-registry-BO2o7Un9.js";
41
- import "./user-run-recording-Bax2KSZY.js";
42
- import "./recorder-BowlGHGe.js";
43
- import "./agent-turn-runner-y0WL6xuI.js";
40
+ import "./commands-registry-b4F_78R4.js";
41
+ import "./user-run-recording-CTOXtrSm.js";
42
+ import "./recorder-DRV1SIKe.js";
43
+ import "./agent-turn-runner-BkWusthz.js";
44
44
  import "./pairing-files-IkbpvWkm.js";
45
- import "./runs-5zWtWfx5.js";
46
- import "./outbound-message-hooks-bMw-LLuz.js";
47
- import "./deliver-x1MM90HA.js";
48
- import "./fetch-Cpgrvssj.js";
49
- import "./skill-commands-1Axnvvz6.js";
50
- import "./tables-rCzAF-en.js";
51
- import "./reply-directives-DarQZxqY.js";
52
- import "./send-DJypuRge.js";
53
- import "./outbound-attachment-DegoJUYB.js";
54
- import "./send-DdyIJ_uy.js";
55
- import "./resolve-route-B15qdahX.js";
56
- import "./session-meta-DgpwY0ah.js";
57
- import "./replies-7qxW8HcU.js";
58
- import "./manager-DRfrqzWR.js";
59
- import "./query-expansion-BVj0lCGG.js";
45
+ import "./runs-CAO_rrxJ.js";
46
+ import "./outbound-message-hooks-CrrbzX7U.js";
47
+ import "./deliver-BQSIZZRd.js";
48
+ import "./fetch-DQjTi7nc.js";
49
+ import "./skill-commands-CZ8IAEbM.js";
50
+ import "./tables-BFlTcF5k.js";
51
+ import "./reply-directives-D4Hftiqp.js";
52
+ import "./send-FQrlCKRx.js";
53
+ import "./outbound-attachment-BeSAM8qU.js";
54
+ import "./send-T9aTnSyS.js";
55
+ import "./resolve-route-D96zWGGF.js";
56
+ import "./session-meta-CyokAxEY.js";
57
+ import "./replies-BL7cHT2h.js";
58
+ import "./manager-DIIInXxQ.js";
59
+ import "./query-expansion-Dm_RIg6M.js";
60
60
 
61
61
  export { DEFAULT_MODEL, DEFAULT_PROVIDER, ensureAgentWorkspace, loadSessionStore, resolveAgentDir, resolveAgentIdentity, resolveAgentTimeoutMs, resolveAgentWorkspaceDir, resolveSessionFilePath, resolveStorePath, resolveThinkingDefault, runEmbeddedPiAgent, saveSessionStore };
@@ -1,13 +1,13 @@
1
- import { c as loadConfig } from "./config-D5tWLhng.js";
1
+ import { c as loadConfig } from "./config-CPcuaNsB.js";
2
2
  import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
3
- import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-B9soUuXQ.js";
3
+ import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-BTMrlJ-R.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { s as resolveAgentWorkspaceDir } from "./agent-scope-DUbhjnHb.js";
6
- import { t as redactSensitiveText } from "./redact-C8xjZT-F.js";
7
- import { n as formatErrorChainMessage } from "./errors-D8k7j4A4.js";
8
- import { c as detectMime, l as extensionForMime } from "./image-ops-C54shfkj.js";
5
+ import { s as resolveAgentWorkspaceDir } from "./agent-scope-BJFJ0deZ.js";
6
+ import { t as redactSensitiveText } from "./redact-D--orJnz.js";
7
+ import { n as formatErrorChainMessage } from "./errors-DnOtx_vg.js";
8
+ import { c as detectMime, l as extensionForMime } from "./image-ops-BTgGxcIG.js";
9
9
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-D91c_y3Q.js";
10
- import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BZlxmZcA.js";
10
+ import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-CRERUrFK.js";
11
11
  import path from "node:path";
12
12
 
13
13
  //#region src/media/local-roots.ts
@@ -1,4 +1,4 @@
1
- import { a as bindAbortRelay } from "./fetch-guard-kz-XQlCx.js";
1
+ import { a as bindAbortRelay } from "./fetch-guard-CRERUrFK.js";
2
2
 
3
3
  //#region src/infra/fetch.ts
4
4
  const wrapFetchWithAbortSignalMarker = Symbol.for("openclaw.fetch.abort-signal-wrapped");
@@ -1,4 +1,4 @@
1
- import { a as bindAbortRelay } from "./fetch-guard-D49piGJ5.js";
1
+ import { a as bindAbortRelay } from "./fetch-guard-Dn6Z6n6a.js";
2
2
 
3
3
  //#region src/infra/fetch.ts
4
4
  const wrapFetchWithAbortSignalMarker = Symbol.for("openclaw.fetch.abort-signal-wrapped");
@@ -1,13 +1,13 @@
1
- import { c as resolveAgentWorkspaceDir } from "./agent-scope-CXfIHPTl.js";
1
+ import { c as resolveAgentWorkspaceDir } from "./agent-scope-CoIdVzmg.js";
2
2
  import { l as resolveStateDir } from "./paths-B_gs59ga.js";
3
- import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-cFv2jJm-.js";
3
+ import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-DynBFcQj.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { U as loadConfig } from "./model-selection-JA-6f5ss.js";
6
- import { t as redactSensitiveText } from "./redact-B6sHOW29.js";
7
- import { c as detectMime, l as extensionForMime } from "./image-ops-BWgZn39_.js";
8
- import { n as formatErrorChainMessage } from "./errors-BWpk4nzX.js";
5
+ import { U as loadConfig } from "./model-selection-_StPBPAp.js";
6
+ import { t as redactSensitiveText } from "./redact-CysJDryP.js";
7
+ import { c as detectMime, l as extensionForMime } from "./image-ops-DEUr_rAC.js";
8
+ import { n as formatErrorChainMessage } from "./errors-BzL6hu4G.js";
9
9
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-Cj-XaaTu.js";
10
- import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-kz-XQlCx.js";
10
+ import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-BySb6coS.js";
11
11
  import path from "node:path";
12
12
 
13
13
  //#region src/media/local-roots.ts
@@ -1,4 +1,4 @@
1
- import { a as bindAbortRelay } from "./fetch-guard-BZlxmZcA.js";
1
+ import { a as bindAbortRelay } from "./fetch-guard-BySb6coS.js";
2
2
 
3
3
  //#region src/infra/fetch.ts
4
4
  const wrapFetchWithAbortSignalMarker = Symbol.for("openclaw.fetch.abort-signal-wrapped");
@@ -2,12 +2,12 @@ import { s as resolveAgentWorkspaceDir } from "./agent-scope-Js3kUihf.js";
2
2
  import { l as resolveStateDir } from "./paths-B_gs59ga.js";
3
3
  import { mt as resolvePreferredOpenClawTmpDir } from "./subsystem-DynBFcQj.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { U as loadConfig } from "./model-selection-DkRYDpst.js";
5
+ import { U as loadConfig } from "./model-selection-DFW5CGMj.js";
6
6
  import { t as redactSensitiveText } from "./redact-DsVjtfGq.js";
7
7
  import { c as detectMime, l as extensionForMime } from "./image-ops-Dk3eDp_u.js";
8
8
  import { n as formatErrorChainMessage } from "./errors-B_bbUZmd.js";
9
9
  import { t as resolveNetworkSsrFPolicy } from "./ssrf-config-CWMxbvLB.js";
10
- import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-D49piGJ5.js";
10
+ import { n as withStrictGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dn6Z6n6a.js";
11
11
  import path from "node:path";
12
12
 
13
13
  //#region src/media/local-roots.ts
@@ -1,5 +1,5 @@
1
- import { S as logWarn, x as logInfo } from "./workspace-D5PKyvm-.js";
2
- import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-DtzLr6mZ.js";
1
+ import { S as logWarn, x as logInfo } from "./workspace-xnzx7wEV.js";
2
+ import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-dFmQfhFb.js";
3
3
  import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
4
4
 
5
5
  //#region src/utils/fetch-timeout.ts
@@ -1,5 +1,5 @@
1
- import { M as logWarn, j as logInfo } from "./agent-scope-DUbhjnHb.js";
2
- import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-DKs0W5v1.js";
1
+ import { M as logWarn, j as logInfo } from "./agent-scope-BJFJ0deZ.js";
2
+ import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-Bw8nAERJ.js";
3
3
  import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
4
4
 
5
5
  //#region src/utils/fetch-timeout.ts
@@ -1,5 +1,5 @@
1
1
  import { M as logWarn, j as logInfo } from "./agent-scope-Js3kUihf.js";
2
- import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-C0UK-5dm.js";
2
+ import { c as resolvePinnedHostnameWithPolicy, i as createPinnedDispatcher, n as SsrFBlockedError, o as isPrivateIpAddress, r as closeDispatcher, t as hasProxyEnvConfigured } from "./proxy-env-RzbogHFe.js";
3
3
  import { EnvHttpProxyAgent, FormData, ProxyAgent, fetch as fetch$1 } from "undici";
4
4
 
5
5
  //#region src/utils/fetch-timeout.ts
@@ -1,7 +1,7 @@
1
- import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-BKv-k5-D.js";
1
+ import { s as parseBooleanValue, t as readManifestNamespace } from "./legacy-names-D7ywm6_7.js";
2
2
  import path from "node:path";
3
3
  import syncFs from "node:fs";
4
- import json5 from "json5";
4
+ import JSON5 from "json5";
5
5
  import YAML from "yaml";
6
6
 
7
7
  //#region src/shared/config-eval.ts
@@ -258,7 +258,7 @@ function resolveOpenClawManifestBlock(params) {
258
258
  const raw = getFrontmatterString(params.frontmatter, params.key ?? "metadata");
259
259
  if (!raw) return;
260
260
  try {
261
- const parsed = json5.parse(raw);
261
+ const parsed = JSON5.parse(raw);
262
262
  if (!parsed || typeof parsed !== "object") return;
263
263
  return readManifestNamespace(parsed);
264
264
  } catch {
@@ -1,12 +1,12 @@
1
1
  import { v as expandHomePrefix } from "./paths-C7aURmuZ.js";
2
- import { $ as sameFileIdentity, at as isPathInside, it as isNotFoundPathError, ot as isSymlinkOpenError, rt as hasNodeErrorCode } from "./subsystem-B9soUuXQ.js";
3
- import { M as logWarn } from "./agent-scope-DUbhjnHb.js";
4
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-CGcezGX3.js";
2
+ import { $ as sameFileIdentity, at as isPathInside, it as isNotFoundPathError, ot as isSymlinkOpenError, rt as hasNodeErrorCode } from "./subsystem-BTMrlJ-R.js";
3
+ import { M as logWarn } from "./agent-scope-BJFJ0deZ.js";
4
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-B9AcbQl6.js";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { constants } from "node:fs";
7
7
  import os from "node:os";
8
8
  import path from "node:path";
9
- import fsp from "node:fs/promises";
9
+ import fs$1 from "node:fs/promises";
10
10
  import { pipeline } from "node:stream/promises";
11
11
 
12
12
  //#region src/infra/fs-safe.ts
@@ -25,19 +25,19 @@ const ensureTrailingSep = (value) => value.endsWith(path.sep) ? value : value +
25
25
  async function expandRelativePathWithHome(relativePath) {
26
26
  let home = process.env.HOME || process.env.USERPROFILE || os.homedir();
27
27
  try {
28
- home = await fsp.realpath(home);
28
+ home = await fs$1.realpath(home);
29
29
  } catch {}
30
30
  return expandHomePrefix(relativePath, { home });
31
31
  }
32
32
  async function openVerifiedLocalFile(filePath, options) {
33
33
  try {
34
- if ((await fsp.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
34
+ if ((await fs$1.lstat(filePath)).isDirectory()) throw new SafeOpenError("not-file", "not a file");
35
35
  } catch (err) {
36
36
  if (err instanceof SafeOpenError) throw err;
37
37
  }
38
38
  let handle;
39
39
  try {
40
- handle = await fsp.open(filePath, OPEN_READ_FLAGS);
40
+ handle = await fs$1.open(filePath, OPEN_READ_FLAGS);
41
41
  } catch (err) {
42
42
  if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "file not found");
43
43
  if (isSymlinkOpenError(err)) throw new SafeOpenError("symlink", "symlink open blocked", { cause: err });
@@ -45,13 +45,13 @@ async function openVerifiedLocalFile(filePath, options) {
45
45
  throw err;
46
46
  }
47
47
  try {
48
- const [stat, lstat] = await Promise.all([handle.stat(), fsp.lstat(filePath)]);
48
+ const [stat, lstat] = await Promise.all([handle.stat(), fs$1.lstat(filePath)]);
49
49
  if (lstat.isSymbolicLink()) throw new SafeOpenError("symlink", "symlink not allowed");
50
50
  if (!stat.isFile()) throw new SafeOpenError("not-file", "not a file");
51
51
  if (options?.rejectHardlinks && stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
52
52
  if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during read");
53
- const realPath = await fsp.realpath(filePath);
54
- const realStat = await fsp.stat(realPath);
53
+ const realPath = await fs$1.realpath(filePath);
54
+ const realStat = await fs$1.stat(realPath);
55
55
  if (options?.rejectHardlinks && realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
56
56
  if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
57
57
  return {
@@ -69,7 +69,7 @@ async function openVerifiedLocalFile(filePath, options) {
69
69
  async function resolvePathWithinRoot(params) {
70
70
  let rootReal;
71
71
  try {
72
- rootReal = await fsp.realpath(params.rootDir);
72
+ rootReal = await fs$1.realpath(params.rootDir);
73
73
  } catch (err) {
74
74
  if (isNotFoundPathError(err)) throw new SafeOpenError("not-found", "root dir not found");
75
75
  throw err;
@@ -170,7 +170,7 @@ function buildAtomicWriteTempPath(targetPath) {
170
170
  return path.join(dir, `.${base}.${process.pid}.${randomUUID()}.tmp`);
171
171
  }
172
172
  async function writeTempFileForAtomicReplace(params) {
173
- const tempHandle = await fsp.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
173
+ const tempHandle = await fs$1.open(params.tempPath, OPEN_WRITE_CREATE_FLAGS, params.mode);
174
174
  try {
175
175
  if (typeof params.data === "string") await tempHandle.writeFile(params.data, params.encoding ?? "utf8");
176
176
  else await tempHandle.writeFile(params.data);
@@ -180,7 +180,7 @@ async function writeTempFileForAtomicReplace(params) {
180
180
  }
181
181
  }
182
182
  async function verifyAtomicWriteResult(params) {
183
- const rootWithSep = ensureTrailingSep(await fsp.realpath(params.rootDir));
183
+ const rootWithSep = ensureTrailingSep(await fs$1.realpath(params.rootDir));
184
184
  const opened = await openVerifiedLocalFile(params.targetPath, { rejectHardlinks: true });
185
185
  try {
186
186
  if (!sameFileIdentity(opened.stat, params.expectedStat)) throw new SafeOpenError("path-mismatch", "path changed during write");
@@ -191,13 +191,13 @@ async function verifyAtomicWriteResult(params) {
191
191
  }
192
192
  async function resolveOpenedFileRealPathForHandle(handle, ioPath) {
193
193
  try {
194
- return await fsp.realpath(ioPath);
194
+ return await fs$1.realpath(ioPath);
195
195
  } catch (err) {
196
196
  if (!isNotFoundPathError(err)) throw err;
197
197
  }
198
198
  const fdCandidates = process.platform === "linux" ? [`/proc/self/fd/${handle.fd}`, `/dev/fd/${handle.fd}`] : process.platform === "win32" ? [] : [`/dev/fd/${handle.fd}`];
199
199
  for (const fdPath of fdCandidates) try {
200
- return await fsp.realpath(fdPath);
200
+ return await fs$1.realpath(fdPath);
201
201
  } catch {}
202
202
  throw new SafeOpenError("path-mismatch", "unable to resolve opened file path");
203
203
  }
@@ -212,10 +212,10 @@ async function openWritableFileWithinRoot(params) {
212
212
  } catch (err) {
213
213
  throw new SafeOpenError("invalid-path", "path alias escape blocked", { cause: err });
214
214
  }
215
- if (params.mkdir !== false) await fsp.mkdir(path.dirname(resolved), { recursive: true });
215
+ if (params.mkdir !== false) await fs$1.mkdir(path.dirname(resolved), { recursive: true });
216
216
  let ioPath = resolved;
217
217
  try {
218
- const resolvedRealPath = await fsp.realpath(resolved);
218
+ const resolvedRealPath = await fs$1.realpath(resolved);
219
219
  if (!isPathInside(rootWithSep, resolvedRealPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
220
220
  ioPath = resolvedRealPath;
221
221
  } catch (err) {
@@ -227,10 +227,10 @@ async function openWritableFileWithinRoot(params) {
227
227
  let createdForWrite = false;
228
228
  try {
229
229
  try {
230
- handle = await fsp.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
230
+ handle = await fs$1.open(ioPath, OPEN_WRITE_EXISTING_FLAGS, fileMode);
231
231
  } catch (err) {
232
232
  if (!isNotFoundPathError(err)) throw err;
233
- handle = await fsp.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
233
+ handle = await fs$1.open(ioPath, OPEN_WRITE_CREATE_FLAGS, fileMode);
234
234
  createdForWrite = true;
235
235
  }
236
236
  } catch (err) {
@@ -244,7 +244,7 @@ async function openWritableFileWithinRoot(params) {
244
244
  if (!stat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
245
245
  if (stat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
246
246
  try {
247
- const lstat = await fsp.lstat(ioPath);
247
+ const lstat = await fs$1.lstat(ioPath);
248
248
  if (lstat.isSymbolicLink() || !lstat.isFile()) throw new SafeOpenError("invalid-path", "path is not a regular file under root");
249
249
  if (!sameFileIdentity(stat, lstat)) throw new SafeOpenError("path-mismatch", "path changed during write");
250
250
  } catch (err) {
@@ -252,7 +252,7 @@ async function openWritableFileWithinRoot(params) {
252
252
  }
253
253
  const realPath = await resolveOpenedFileRealPathForHandle(handle, ioPath);
254
254
  openedRealPath = realPath;
255
- const realStat = await fsp.stat(realPath);
255
+ const realStat = await fs$1.stat(realPath);
256
256
  if (!sameFileIdentity(stat, realStat)) throw new SafeOpenError("path-mismatch", "path mismatch");
257
257
  if (realStat.nlink > 1) throw new SafeOpenError("invalid-path", "hardlinked path not allowed");
258
258
  if (!isPathInside(rootWithSep, realPath)) throw new SafeOpenError("outside-workspace", "file is outside workspace root");
@@ -267,7 +267,7 @@ async function openWritableFileWithinRoot(params) {
267
267
  const cleanupCreatedPath = createdForWrite && err instanceof SafeOpenError;
268
268
  const cleanupPath = openedRealPath ?? ioPath;
269
269
  await handle.close().catch(() => {});
270
- if (cleanupCreatedPath) await fsp.rm(cleanupPath, { force: true }).catch(() => {});
270
+ if (cleanupCreatedPath) await fs$1.rm(cleanupPath, { force: true }).catch(() => {});
271
271
  throw err;
272
272
  }
273
273
  }
@@ -290,7 +290,7 @@ async function writeFileWithinRoot(params) {
290
290
  encoding: params.encoding,
291
291
  mode: targetMode || 384
292
292
  });
293
- await fsp.rename(tempPath, destinationPath);
293
+ await fs$1.rename(tempPath, destinationPath);
294
294
  tempPath = null;
295
295
  try {
296
296
  await verifyAtomicWriteResult({
@@ -303,7 +303,7 @@ async function writeFileWithinRoot(params) {
303
303
  throw err;
304
304
  }
305
305
  } finally {
306
- if (tempPath) await fsp.rm(tempPath, { force: true }).catch(() => {});
306
+ if (tempPath) await fs$1.rm(tempPath, { force: true }).catch(() => {});
307
307
  }
308
308
  }
309
309
  async function copyFileWithinRoot(params) {
@@ -331,7 +331,7 @@ async function copyFileWithinRoot(params) {
331
331
  });
332
332
  await pipeline(sourceStream, targetStream);
333
333
  } catch (err) {
334
- if (target?.createdForWrite) await fsp.rm(target.openedRealPath, { force: true }).catch(() => {});
334
+ if (target?.createdForWrite) await fs$1.rm(target.openedRealPath, { force: true }).catch(() => {});
335
335
  throw err;
336
336
  } finally {
337
337
  if (!sourceClosedByStream) await source.handle.close().catch(() => {});
@@ -1,7 +1,7 @@
1
1
  import { u as expandHomePrefix } from "./paths-B_gs59ga.js";
2
- import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-cFv2jJm-.js";
3
- import { S as logWarn } from "./workspace-D5PKyvm-.js";
4
- import { n as assertNoPathAliasEscape } from "./path-alias-guards-CgO2FpVx.js";
2
+ import { B as hasNodeErrorCode, H as isPathInside, I as sameFileIdentity, U as isSymlinkOpenError, V as isNotFoundPathError } from "./subsystem-DynBFcQj.js";
3
+ import { S as logWarn } from "./workspace-xnzx7wEV.js";
4
+ import { n as assertNoPathAliasEscape } from "./path-alias-guards-aXY57qPv.js";
5
5
  import path from "node:path";
6
6
  import { constants } from "node:fs";
7
7
  import os from "node:os";
@@ -1,6 +1,6 @@
1
- import { D as runExec } from "./agent-scope-BnbrZIzh.js";
2
- import path from "node:path";
1
+ import { D as runExec } from "./agent-scope-BJFJ0deZ.js";
3
2
  import os from "node:os";
3
+ import path from "node:path";
4
4
  import fs from "node:fs/promises";
5
5
  import { fileTypeFromBuffer } from "file-type";
6
6