wednesdayai 0.5.1-dev.44 → 0.5.1-dev.48

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 (305) hide show
  1. package/dist/{agent-scope-DULvzWts.js → agent-scope-XhXeu6xb.js} +18 -18
  2. package/dist/{agent-scope-CcfVK6UD.js → agent-scope-ZEYA-60U.js} +1 -1
  3. package/dist/{agent-turn-execute-D748vb-X.js → agent-turn-execute-C1y3kP_5.js} +81 -81
  4. package/dist/{agent-turn-execute-BKklRf4d.js → agent-turn-execute-C5ZDAVVQ.js} +168 -168
  5. package/dist/{agent-turn-runner-C7-mljbB.js → agent-turn-runner-D37xtlm6.js} +3 -3
  6. package/dist/{agent-turn-runner-Bwwm8Ptv.js → agent-turn-runner-DB93UP1b.js} +6 -6
  7. package/dist/{agent-turn-runner-DAC1vCsq.js → agent-turn-runner-IwG5iqHK.js} +6 -6
  8. package/dist/{api-key-rotation-7TopVjgj.js → api-key-rotation-BlMQXNFs.js} +2 -2
  9. package/dist/{api-key-rotation-DKsa-hU0.js → api-key-rotation-BwBPY9De.js} +1 -1
  10. package/dist/{api-key-rotation-BIY1IIqH.js → api-key-rotation-Cp30sEHb.js} +2 -2
  11. package/dist/{audio-preflight-DpH4ergs.js → audio-preflight-ARaM1d7_.js} +22 -22
  12. package/dist/{audio-preflight-D29ZWbr9.js → audio-preflight-B4mXS_qz.js} +24 -24
  13. package/dist/{audio-preflight-C2VkX_iV.js → audio-preflight-Ckc8iNFE.js} +14 -14
  14. package/dist/{audio-transcription-runner-BVFt-QWW.js → audio-transcription-runner-B65tBuzm.js} +8 -8
  15. package/dist/{audio-transcription-runner-B7oqNjtj.js → audio-transcription-runner-BsZZfTYv.js} +25 -25
  16. package/dist/{audio-transcription-runner-3NLGLd-v.js → audio-transcription-runner-_IywwZdc.js} +11 -11
  17. package/dist/{auth-BJQIeDr2.js → auth-BSkwykDB.js} +1 -1
  18. package/dist/build-info.json +3 -3
  19. package/dist/bundled/boot-md/handler.js +40 -40
  20. package/dist/bundled/session-journal/handler.js +40 -40
  21. package/dist/bundled/session-memory/handler.js +40 -40
  22. package/dist/{call-vUArkeDj.js → call-BfsHUEL9.js} +6 -6
  23. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  24. package/dist/{chat-content-B8sw5RV2.js → chat-content-C8SBxzVB.js} +24 -24
  25. package/dist/{chat-content-BoGoXWb0.js → chat-content-CssgdJTS.js} +15 -15
  26. package/dist/{chat-content-_y_6NRek.js → chat-content-DAFI7DwH.js} +9 -9
  27. package/dist/{chrome-BN8wz1Ia.js → chrome-BGcyqaN9.js} +6 -6
  28. package/dist/{chrome-EA2x-v7M.js → chrome-D1_Km2Py.js} +15 -15
  29. package/dist/{plugin-sdk/chrome-DL2eNcB9.js → chrome-DSOGaSkI.js} +8 -8
  30. package/dist/{chunk-Co2BBq6m.js → chunk-Bl3bFkc1.js} +3 -3
  31. package/dist/{chunk-D0gjlEAC.js → chunk-D8Ei1sgE.js} +3 -3
  32. package/dist/{chunk-CS6BGepz.js → chunk-Mk3BzTo4.js} +1 -1
  33. package/dist/{command-queue-BsREX8I6.js → command-queue-CYHqLAaZ.js} +1 -1
  34. package/dist/{command-queue-DPL0uYBf.js → command-queue-cMQsA9-X.js} +1 -1
  35. package/dist/{commands-registry-CnvFRavS.js → commands-registry-BiL5Vu_j.js} +1 -1
  36. package/dist/{commands-registry-Bpbkdz9y.js → commands-registry-CeEIPUd4.js} +2 -2
  37. package/dist/{commands-registry-BOqP8POi.js → commands-registry-md12jvN2.js} +2 -2
  38. package/dist/{config-D7E345XX.js → config-C8St6mAq.js} +26 -26
  39. package/dist/config.js +3 -3
  40. package/dist/{credentials-CNT2aFON.js → credentials-BbfhXEsJ.js} +1 -1
  41. package/dist/{credentials-ChM0kvEr.js → credentials-Du4NIj4y.js} +1 -1
  42. package/dist/{credentials-C5_Kcyy4.js → credentials-rHg5DomK.js} +1 -1
  43. package/dist/daemon-cli.js +12 -12
  44. package/dist/{deliver-DwhRsvIU.js → deliver-C2FYVz2h.js} +11 -11
  45. package/dist/{deliver-Dko24cC6.js → deliver-D8bfwcET.js} +14 -14
  46. package/dist/{deliver-DZqeAImU.js → deliver-aIctLOEP.js} +14 -14
  47. package/dist/{diagnostic-BNSZzhBp.js → diagnostic-CHel1NLR.js} +3 -3
  48. package/dist/{diagnostic-D4aQ4rt0.js → diagnostic-O1TZk8ZJ.js} +3 -3
  49. package/dist/{errors-DnOtx_vg.js → errors-0RH1PUyI.js} +1 -1
  50. package/dist/{errors-CN5_QuWi.js → errors-D8k7j4A4.js} +1 -1
  51. package/dist/{fetch-D7UiV_9w.js → fetch-B5m0TTRD.js} +7 -7
  52. package/dist/{fetch-Bd3gVJGS.js → fetch-B6JVlGQz.js} +7 -7
  53. package/dist/{fetch-BaRM29vD.js → fetch-BHAXnEtr.js} +1 -1
  54. package/dist/{fetch-DN73GB88.js → fetch-BjRFaOH-.js} +1 -1
  55. package/dist/{fetch-ABzu5_d4.js → fetch-CSjV0WJZ.js} +1 -1
  56. package/dist/{fetch-DL6b-Ers.js → fetch-DxfQJ1J0.js} +2 -2
  57. package/dist/{fetch-guard-CRXpWx9K.js → fetch-guard-BultwSpi.js} +2 -2
  58. package/dist/{fetch-guard-CWcg0pAh.js → fetch-guard-C8cHPMKd.js} +1 -1
  59. package/dist/{fetch-guard-DbhtcUTr.js → fetch-guard-pMUIU0GM.js} +2 -2
  60. package/dist/{fs-safe-Dud5ltCr.js → fs-safe-Bcqf6cqh.js} +3 -3
  61. package/dist/{fs-safe-blSJPepq.js → fs-safe-qCaN71tM.js} +25 -25
  62. package/dist/{group-c3Qh65PA.js → group-D1ystD_T.js} +7 -7
  63. package/dist/{image-ops-Df6VUynz.js → image-ops-BsxkG0xi.js} +11 -11
  64. package/dist/{image-ops-BYGvGwxN.js → image-ops-WTO9fxZR.js} +1 -1
  65. package/dist/{ir-BsScbUxk.js → ir-Bk7X_LKF.js} +2 -2
  66. package/dist/{ir-4wPQhvNz.js → ir-DURlc744.js} +8 -8
  67. package/dist/{ir-DU47VU35.js → ir-Xj0lako6.js} +5 -5
  68. package/dist/{json-files-DNv3G6Vg.js → json-files-C3L53Qrl.js} +7 -7
  69. package/dist/llm-slug-generator.js +40 -40
  70. package/dist/{manager-DoZ5_BeO.js → manager-BgcW7tpv.js} +14 -14
  71. package/dist/{manager-B_j6KDo2.js → manager-DBM4-TfE.js} +7 -7
  72. package/dist/{manager-CVHOsYvw.js → manager-LsGIUhxa.js} +4 -4
  73. package/dist/{markdown-tables-CRv466QZ.js → markdown-tables-BD3LxqeL.js} +2 -2
  74. package/dist/{markdown-tables-Dc909okk.js → markdown-tables-BxOFKkhW.js} +2 -2
  75. package/dist/{markdown-tables-BGgtMbbO.js → markdown-tables-DzCbga76.js} +1 -1
  76. package/dist/{model-selection-D8yGm_Ti.js → model-selection-C2tyJWrx.js} +1 -1
  77. package/dist/{models-config-BeE1WLnh.js → models-config-BwzDnc-Q.js} +7 -7
  78. package/dist/{models-config-BuKVDvIh.js → models-config-C6XX7gtS.js} +1 -1
  79. package/dist/{models-config-dpGU0cJa.js → models-config-m8SCbEAc.js} +2 -2
  80. package/dist/{net-0_F4C9BZ.js → net-Dy6CRuy7.js} +1 -1
  81. package/dist/{nudge-DZadiso_.js → nudge-BmokWas4.js} +7 -7
  82. package/dist/{nudge-BqkP8YTx.js → nudge-CnaEXWAF.js} +16 -16
  83. package/dist/{nudge-bi3nIppc.js → nudge-DtecrQw2.js} +10 -10
  84. package/dist/{outbound-attachment-C5ekhZcx.js → outbound-attachment-BS7qjOL4.js} +2 -2
  85. package/dist/{outbound-attachment-BnUYvMev.js → outbound-attachment-DsxhMGOu.js} +2 -2
  86. package/dist/{outbound-attachment-9QVYM11r.js → outbound-attachment-IZjJVZqu.js} +1 -1
  87. package/dist/{outbound-message-hooks-CbDkJuWL.js → outbound-message-hooks-Bme6KjMG.js} +2 -2
  88. package/dist/{outbound-message-hooks-DkLpJOdR.js → outbound-message-hooks-Cmbc19Oi.js} +4 -4
  89. package/dist/{outbound-message-hooks-D0h7Pa-R.js → outbound-message-hooks-G0rUejkg.js} +4 -4
  90. package/dist/{path-alias-guards-B9AcbQl6.js → path-alias-guards-CGcezGX3.js} +3 -3
  91. package/dist/{path-alias-guards-DDpV2Sxj.js → path-alias-guards-DC13Y2Rm.js} +1 -1
  92. package/dist/{pi-embedded-CvGEKHow.js → pi-embedded-BJ49IY-x.js} +64 -64
  93. package/dist/{pi-embedded-utils-tIZRG85-.js → pi-embedded-utils-B-YXzLOX.js} +3 -3
  94. package/dist/{pi-embedded-utils-BXjWA82e.js → pi-embedded-utils-CYtnFZHj.js} +3 -3
  95. package/dist/{pi-embedded-utils-BEQIdrgX.js → pi-embedded-utils-DsC7KqbM.js} +1 -1
  96. package/dist/{pi-model-discovery-B8gN8a3d.js → pi-model-discovery-5nUBc878.js} +1 -1
  97. package/dist/{pi-model-discovery-BxM5uNK4.js → pi-model-discovery-CIRCjjeW.js} +1 -1
  98. package/dist/{pi-model-discovery-FspRgCaT.js → pi-model-discovery-CLxFRX8Q.js} +1 -1
  99. package/dist/plugin-sdk/agent-turn-execute-rxqy1IJ0.js +61 -0
  100. package/dist/plugin-sdk/{agent-turn-runner-BgYryOLd.js → agent-turn-runner-D6v10W4M.js} +6 -6
  101. package/dist/plugin-sdk/{api-key-rotation-BKFqVhLv.js → api-key-rotation-BFEqLexA.js} +1 -1
  102. package/dist/plugin-sdk/{audio-preflight-CYWCkE99.js → audio-preflight-C0ub7Fjl.js} +14 -14
  103. package/dist/plugin-sdk/{audio-transcription-runner-CdFuLf8N.js → audio-transcription-runner-CjGXglxV.js} +8 -8
  104. package/dist/plugin-sdk/{auth-profiles-9_o8AApc.js → auth-profiles-B-4RVXfZ.js} +1 -1
  105. package/dist/plugin-sdk/{chat-content-CwXjjIMY.js → chat-content-BNX7Pzy0.js} +9 -9
  106. package/dist/{chrome-C-EhmyOo.js → plugin-sdk/chrome-Cg0gQBOQ.js} +8 -8
  107. package/dist/plugin-sdk/{chunk-D5OO0PA5.js → chunk-BnICCl2r.js} +2 -2
  108. package/dist/plugin-sdk/{command-queue-CjaBVFfL.js → command-queue-CDOrtY8K.js} +2 -2
  109. package/dist/plugin-sdk/{commands-registry-DeutyKFc.js → commands-registry-DCE_R4y0.js} +2 -2
  110. package/dist/plugin-sdk/{credentials-B7CJlMpK.js → credentials-CuwcSHGC.js} +1 -1
  111. package/dist/plugin-sdk/{deliver-DIpYSIPc.js → deliver-Ch9aZhwU.js} +11 -11
  112. package/dist/plugin-sdk/deliver-D9msQObz.js +34 -0
  113. package/dist/plugin-sdk/{diagnostic-CHfH2DLZ.js → diagnostic-DoL_a5Ag.js} +2 -2
  114. package/dist/plugin-sdk/{diagnostic-session-state-BB7PPwvz.js → diagnostic-session-state-xa_X3i6x.js} +1 -1
  115. package/dist/plugin-sdk/{fetch-BY5NV-xE.js → fetch-DwumgIiv.js} +1 -1
  116. package/dist/plugin-sdk/{fetch-BeWeSiGq.js → fetch-bCLlcizq.js} +2 -2
  117. package/dist/plugin-sdk/{fetch-guard-DzrMY5xA.js → fetch-guard-B89VGo5J.js} +1 -1
  118. package/dist/plugin-sdk/{inbound-context-W8c7TVhP.js → inbound-context-BpGAzUP-.js} +1 -1
  119. package/dist/plugin-sdk/{ir-BBs2mkTs.js → ir-DUBVCsOu.js} +2 -2
  120. package/dist/plugin-sdk/manager-D53hBP42.js +14 -0
  121. package/dist/plugin-sdk/{manager-Cf6lxna-.js → manager-D5SJyg1z.js} +4 -4
  122. package/dist/plugin-sdk/{markdown-tables-B3bAe979.js → markdown-tables-B9z3RUEA.js} +2 -2
  123. package/dist/plugin-sdk/{models-config-CwkY2p9D.js → models-config-DmXIbizG.js} +1 -1
  124. package/dist/plugin-sdk/{monitor-BklUJEzI.js → monitor-CP1gk3Bm.js} +77 -77
  125. package/dist/plugin-sdk/{nudge-DoDBSfD0.js → nudge-CHKavKrI.js} +11 -11
  126. package/dist/plugin-sdk/{outbound-attachment-CdtUPMuk.js → outbound-attachment-DBKtqTUS.js} +1 -1
  127. package/dist/plugin-sdk/{pi-embedded-utils-xqolwHfy.js → pi-embedded-utils-BhhGeJmU.js} +1 -1
  128. package/dist/plugin-sdk/{pi-model-discovery-DoXQCzDO.js → pi-model-discovery-DAdG8kKZ.js} +2 -2
  129. package/dist/plugin-sdk/provider-dispatcher-CfTRbczQ.js +61 -0
  130. package/dist/plugin-sdk/{proxy-env-B4sQKFcV.js → proxy-env-4W8_E7-5.js} +1 -1
  131. package/dist/plugin-sdk/{pw-ai-DDEuLQxa.js → pw-ai-BxiGh4_M.js} +4 -4
  132. package/dist/plugin-sdk/{qmd-manager-DJ56bAZL.js → qmd-manager-C0ftlkJ0.js} +2 -2
  133. package/dist/plugin-sdk/{query-expansion-BuDv-utU.js → query-expansion-_or1gqjm.js} +1 -1
  134. package/dist/plugin-sdk/{recorder-uiRf0m6K.js → recorder-_7KHCw0F.js} +1 -1
  135. package/dist/plugin-sdk/{registry-CjtACjoW.js → registry-B2fZdv3f.js} +1 -1
  136. package/dist/plugin-sdk/{replies-BhlAIoj0.js → replies-3qoFL0Ik.js} +4 -4
  137. package/dist/plugin-sdk/{replies-oEhTgdcr.js → replies-Bm97_zq-.js} +11 -11
  138. package/dist/plugin-sdk/{reply-directives-BuoXx89o.js → reply-directives-BxvUWxD5.js} +1 -1
  139. package/dist/plugin-sdk/{reply-prefix-DPnEN5dY.js → reply-prefix-BL_8TUpo.js} +1 -1
  140. package/dist/plugin-sdk/{resolve-route-3cSvtBX8.js → resolve-route-B2cnsn76.js} +2 -2
  141. package/dist/plugin-sdk/{runs-tFyEFKrC.js → runs-1U4vJkOV.js} +7 -7
  142. package/dist/plugin-sdk/{runs-CNgqvBS5.js → runs-D7V4bk1U.js} +12 -12
  143. package/dist/plugin-sdk/{send-BKTR2FyD.js → send--lqcW4uz.js} +4 -4
  144. package/dist/plugin-sdk/send-B9QAaMSh.js +23 -0
  145. package/dist/plugin-sdk/{send-BiE4BNeo.js → send-BCuBSBMx.js} +8 -8
  146. package/dist/plugin-sdk/{send-_6hIsJuy.js → send-BTTeLdxm.js} +6 -6
  147. package/dist/plugin-sdk/{send-NPfoV448.js → send-BdBXInWs.js} +10 -10
  148. package/dist/plugin-sdk/{send-Ci5wXhUs.js → send-C2H4l79q.js} +5 -5
  149. package/dist/plugin-sdk/{send-BNPTKRCl.js → send-Da_Bzzfq.js} +6 -6
  150. package/dist/plugin-sdk/{send-BCPBumfz.js → send-EvSbTa2T.js} +10 -10
  151. package/dist/plugin-sdk/{session-context-BaQ-vf9x.js → session-context-CLpe5Ba3.js} +2 -2
  152. package/dist/plugin-sdk/{session-meta-CEtPeCAW.js → session-meta-CDgl3Kkm.js} +2 -2
  153. package/dist/plugin-sdk/{sessions-Cq3mSm_S.js → sessions-DK6oCQOK.js} +1 -1
  154. package/dist/plugin-sdk/{skill-commands-CcTESJIj.js → skill-commands-DiGdKkfQ.js} +3 -3
  155. package/dist/plugin-sdk/{skills-CIGf4PR8.js → skills-Coq6gsYM.js} +1 -1
  156. package/dist/plugin-sdk/{subagent-registry-BH39-wLb.js → subagent-registry-6vhRKS_0.js} +44 -44
  157. package/dist/plugin-sdk/{tables-DTWhxpIg.js → tables-BwH0lnK4.js} +1 -1
  158. package/dist/plugin-sdk/testing.js +44 -44
  159. package/dist/plugin-sdk/{user-run-recording-CiolYtdZ.js → user-run-recording-x05eYKmS.js} +2 -2
  160. package/dist/plugin-sdk/{ws-JuHkwIMV.js → ws-Y4yq5bFP.js} +1 -1
  161. package/dist/{ports-Clmws_Hh.js → ports-C3fQHCab.js} +3 -3
  162. package/dist/{progress-CPxNhc04.js → progress-CGdAe0WN.js} +4 -4
  163. package/dist/{proxy-env-dRqrG-ln.js → proxy-env-B01lar7S.js} +1 -1
  164. package/dist/{proxy-env-Cj0Bgsg8.js → proxy-env-CpBOG1SR.js} +1 -1
  165. package/dist/{proxy-env-CcZo5Rvj.js → proxy-env-KBZp3sxK.js} +1 -1
  166. package/dist/{pw-ai-D5CyYslZ.js → pw-ai-C_QmGlLz.js} +4 -4
  167. package/dist/{pw-ai-Dem1TRO_.js → pw-ai-DXRkqyiz.js} +13 -13
  168. package/dist/{pw-ai-txZGlq1F.js → pw-ai-fMejPoQC.js} +11 -11
  169. package/dist/{qmd-manager-BxEMIDAD.js → qmd-manager-CzsGwBi2.js} +8 -8
  170. package/dist/{qmd-manager-CfwCcQAr.js → qmd-manager-DeSEoaIW.js} +23 -23
  171. package/dist/{qmd-manager-Bsr0upeE.js → qmd-manager-JcDm4TaV.js} +2 -2
  172. package/dist/{qmd-scope-BdurOZ05.js → qmd-scope-DPmZMzMU.js} +1 -1
  173. package/dist/{qmd-scope-Bo_hGwTh.js → qmd-scope-Da_43AK-.js} +1 -1
  174. package/dist/{query-expansion-DI7jGqRX.js → query-expansion-BBqbrwrA.js} +2 -2
  175. package/dist/{query-expansion-CvnC7tCW.js → query-expansion-DMqvaBet.js} +11 -11
  176. package/dist/{query-expansion-CY-11Ng4.js → query-expansion-DSK6kOZ1.js} +1 -1
  177. package/dist/{recorder-Bgh3e0Bb.js → recorder-Bm6iLbpO.js} +2 -2
  178. package/dist/{recorder-DarAZV54.js → recorder-C9HG73v5.js} +2 -2
  179. package/dist/{recorder-B4t2pNxf.js → recorder-DiZXBqX_.js} +1 -1
  180. package/dist/{redact-D--orJnz.js → redact-C8xjZT-F.js} +1 -1
  181. package/dist/{redact-CUgFzobf.js → redact-CoYHSFJI.js} +1 -1
  182. package/dist/{replies-4Irpbrrq.js → replies-5d6WEMkn.js} +4 -4
  183. package/dist/{replies-Dc6GVOqb.js → replies-Bqqi0vbE.js} +5 -5
  184. package/dist/{replies-CLt6uO_Y.js → replies-DGG3QzgX.js} +5 -5
  185. package/dist/{reply-directives-BZ9K9aOt.js → reply-directives-BpRcHRoT.js} +2 -2
  186. package/dist/{reply-directives-CeWgDasK.js → reply-directives-CKYXOssf.js} +1 -1
  187. package/dist/{reply-directives-MabnZ9XP.js → reply-directives-CiYi8fBw.js} +2 -2
  188. package/dist/{reply-prefix-CkxIPVPM.js → reply-prefix-98PG1Ki7.js} +1 -1
  189. package/dist/{reply-prefix-W4rq5-Rh.js → reply-prefix-BEcGW2XG.js} +1 -1
  190. package/dist/{resolve-route-D8QTP0Ba.js → resolve-route-DNyOPck0.js} +1 -1
  191. package/dist/{resolve-route-D4KpKWjY.js → resolve-route-D__NSsIF.js} +3 -3
  192. package/dist/{resolve-route-D2gpKzx7.js → resolve-route-kCeK1PnG.js} +3 -3
  193. package/dist/{runs-B1ZuRBez.js → runs-C0iRQc_F.js} +8 -8
  194. package/dist/{runs-IXbWQiaF.js → runs-DbFWkqrM.js} +5 -5
  195. package/dist/{runs-BA7oqhbL.js → runs-Z4pls7FK.js} +8 -8
  196. package/dist/{send-B19GFd-Z.js → send--M5kRasW.js} +6 -6
  197. package/dist/{send-CUSwRN-T.js → send-B-mkV3_w.js} +13 -13
  198. package/dist/{send-Iyeo_Hcl.js → send-BHcO0Aru.js} +6 -6
  199. package/dist/{send-CpTYjiqO.js → send-BsfmKipN.js} +6 -6
  200. package/dist/{send-CKsA3C8Q.js → send-DbtWZ2No.js} +8 -8
  201. package/dist/{send-DzCL2yP6.js → send-Dd4wRWhq.js} +7 -7
  202. package/dist/{send-HztE1dsh.js → send-HRB_J7pa.js} +4 -4
  203. package/dist/{send-tqPugX47.js → send-TRtDN-Da.js} +6 -6
  204. package/dist/{send-c9iMxTda.js → send-bV48rJeA.js} +8 -8
  205. package/dist/{send-Bw-KLTGk.js → send-nW_0TzgZ.js} +7 -7
  206. package/dist/{send-DHpP56-Y.js → send-nXTQsLrv.js} +8 -8
  207. package/dist/{send-CgNLbhmB.js → send-wcJqiYt_.js} +5 -5
  208. package/dist/{session-meta--JsYAyya.js → session-meta-D9pWrAgN.js} +1 -1
  209. package/dist/{session-meta-4unJpfHa.js → session-meta-Dek_4XcX.js} +1 -1
  210. package/dist/{session-meta-1ufiCO9g.js → session-meta-DlRRpvJp.js} +1 -1
  211. package/dist/{sessions-Cs4D1U17.js → sessions-Bl0b35sU.js} +4 -4
  212. package/dist/{sessions-DZTUsPsP.js → sessions-CzUTvoXK.js} +1 -1
  213. package/dist/{sessions-CzSCMD0M.js → sessions-DgF-TKoR.js} +4 -4
  214. package/dist/{skill-commands-B_Tcfb-O.js → skill-commands-BQcYbtPM.js} +5 -5
  215. package/dist/{skill-commands-CaTXs4fT.js → skill-commands-Bc0uYZN4.js} +2 -2
  216. package/dist/{skill-commands-CF3aUDWn.js → skill-commands-DctQTJw4.js} +4 -4
  217. package/dist/{skills-BDZw1iZ3.js → skills-BXe5JEVp.js} +6 -6
  218. package/dist/{skills-BnRaKZVE.js → skills-DSEJ9TJa.js} +4 -4
  219. package/dist/{skills-CVDxAodZ.js → skills-DsmuWAV9.js} +1 -1
  220. package/dist/{store-Cj8CEQfL.js → store-D337G2RQ.js} +3 -3
  221. package/dist/{store-BFVWJvSJ.js → store-TSGh1Q6I.js} +8 -8
  222. package/dist/{subsystem-BTMrlJ-R.js → subsystem-B9soUuXQ.js} +7 -7
  223. package/dist/{subsystem-BntNuBAj.js → subsystem-DY5Ww-lX.js} +4 -4
  224. package/dist/{tables-DkRD4akB.js → tables-B8mkmRMC.js} +1 -1
  225. package/dist/{tables-Dy6doVa0.js → tables-CR0_AJTg.js} +1 -1
  226. package/dist/{tables-BX-76dIl.js → tables-DHLC9Fdd.js} +1 -1
  227. package/dist/{tokens-qfLiLlNv.js → tokens-1cA46jIW.js} +1 -1
  228. package/dist/{tokens-Bsyd1rxM.js → tokens-KbWGDYPC.js} +1 -1
  229. package/dist/{tool-loop-detection-CiexABx1.js → tool-loop-detection-B2G2F3vq.js} +1 -1
  230. package/dist/{tool-loop-detection-CurLYMEW.js → tool-loop-detection-CAaJBVkR.js} +1 -1
  231. package/dist/{user-run-recording-BTjOSPH8.js → user-run-recording-DZAbAydi.js} +2 -2
  232. package/dist/{user-run-recording-D8MTR5yF.js → user-run-recording-_gs8p2DT.js} +1 -1
  233. package/dist/{user-run-recording-B6PqDezg.js → user-run-recording-adYvWzsA.js} +2 -2
  234. package/dist/{ws-BdQ780jI.js → ws-CHokDDk3.js} +1 -1
  235. package/dist/{ws-DD3MWZdU.js → ws-DySeXwmc.js} +1 -1
  236. package/extensions/acpx/package.json +1 -1
  237. package/extensions/anthropic/package.json +1 -1
  238. package/extensions/bifrost/package.json +1 -1
  239. package/extensions/bluebubbles/package.json +1 -1
  240. package/extensions/copilot-proxy/package.json +1 -1
  241. package/extensions/deepgram/package.json +1 -1
  242. package/extensions/deepinfra/package.json +1 -1
  243. package/extensions/diagnostics-otel/package.json +1 -1
  244. package/extensions/diffs/package.json +1 -1
  245. package/extensions/discord/package.json +1 -1
  246. package/extensions/dream-cycle/package.json +1 -1
  247. package/extensions/elevenlabs/package.json +1 -1
  248. package/extensions/feishu/package.json +1 -1
  249. package/extensions/gemini-search/package.json +1 -1
  250. package/extensions/google/package.json +1 -1
  251. package/extensions/google-gemini-cli-auth/package.json +1 -1
  252. package/extensions/googlechat/package.json +1 -1
  253. package/extensions/grok-search/package.json +1 -1
  254. package/extensions/groq/package.json +1 -1
  255. package/extensions/identity-oidc/package.json +1 -1
  256. package/extensions/imessage/package.json +1 -1
  257. package/extensions/irc/package.json +1 -1
  258. package/extensions/kimi-search/package.json +1 -1
  259. package/extensions/kokoro/package.json +1 -1
  260. package/extensions/learning-core/package.json +1 -1
  261. package/extensions/line/package.json +1 -1
  262. package/extensions/llm-task/package.json +1 -1
  263. package/extensions/lobster/package.json +1 -1
  264. package/extensions/matrix/CHANGELOG.md +1 -1
  265. package/extensions/matrix/package.json +1 -1
  266. package/extensions/mattermost/package.json +1 -1
  267. package/extensions/memory-core/package.json +1 -1
  268. package/extensions/memory-lancedb/package.json +1 -1
  269. package/extensions/minimax/package.json +1 -1
  270. package/extensions/minimax-portal-auth/package.json +1 -1
  271. package/extensions/mistral/package.json +1 -1
  272. package/extensions/moonshot/package.json +1 -1
  273. package/extensions/msteams/CHANGELOG.md +1 -1
  274. package/extensions/msteams/package.json +1 -1
  275. package/extensions/nextcloud-talk/package.json +1 -1
  276. package/extensions/nostr/CHANGELOG.md +1 -1
  277. package/extensions/nostr/package.json +1 -1
  278. package/extensions/open-prose/package.json +1 -1
  279. package/extensions/openai/package.json +1 -1
  280. package/extensions/openai-realtime/package.json +1 -1
  281. package/extensions/openrouter/package.json +1 -1
  282. package/extensions/perplexity-search/package.json +1 -1
  283. package/extensions/searxng-search/package.json +1 -1
  284. package/extensions/signal/package.json +1 -1
  285. package/extensions/slack/package.json +1 -1
  286. package/extensions/synology-chat/package.json +1 -1
  287. package/extensions/telegram/package.json +1 -1
  288. package/extensions/tlon/package.json +1 -1
  289. package/extensions/twitch/CHANGELOG.md +1 -1
  290. package/extensions/twitch/package.json +1 -1
  291. package/extensions/ui-surfaces/package.json +1 -1
  292. package/extensions/voice-call/CHANGELOG.md +1 -1
  293. package/extensions/voice-call/package.json +1 -1
  294. package/extensions/whatsapp/package.json +1 -1
  295. package/extensions/zai/package.json +1 -1
  296. package/extensions/zalo/CHANGELOG.md +1 -1
  297. package/extensions/zalo/package.json +1 -1
  298. package/extensions/zalouser/CHANGELOG.md +1 -1
  299. package/extensions/zalouser/package.json +1 -1
  300. package/package.json +2 -2
  301. package/dist/plugin-sdk/agent-turn-execute-CNLde0aj.js +0 -61
  302. package/dist/plugin-sdk/deliver-B8wKBFHD.js +0 -34
  303. package/dist/plugin-sdk/manager-B8tH1WcK.js +0 -14
  304. package/dist/plugin-sdk/provider-dispatcher-rB-g7cTm.js +0 -61
  305. package/dist/plugin-sdk/send-DFnkY5LR.js +0 -23
@@ -1,15 +1,15 @@
1
- import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
2
- import { G as loadConfig } from "./model-selection-D8yGm_Ti.js";
3
- import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-BdQ780jI.js";
4
- import { a as isErrno } from "./errors-DnS9ngr1.js";
5
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DU_cJ64Q.js";
6
- import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-CcZo5Rvj.js";
7
- import path from "node:path";
1
+ import { c as loadConfig } from "./config-C8St6mAq.js";
2
+ import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-B9soUuXQ.js";
3
+ import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-DySeXwmc.js";
4
+ import { a as isErrno } from "./errors-D8k7j4A4.js";
5
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-qCaN71tM.js";
6
+ import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-CpBOG1SR.js";
7
+ import { createHmac } from "node:crypto";
8
8
  import fs from "node:fs";
9
9
  import os from "node:os";
10
- import fs$1 from "node:fs/promises";
10
+ import path from "node:path";
11
+ import fsp from "node:fs/promises";
11
12
  import { execFileSync, spawn } from "node:child_process";
12
- import { createHmac } from "node:crypto";
13
13
  import net from "node:net";
14
14
  import http, { createServer } from "node:http";
15
15
  import https from "node:https";
@@ -66,28 +66,28 @@ function invalidPath(scopeLabel) {
66
66
  }
67
67
  async function resolveRealPathIfExists(targetPath) {
68
68
  try {
69
- return await fs$1.realpath(targetPath);
69
+ return await fsp.realpath(targetPath);
70
70
  } catch {
71
71
  return;
72
72
  }
73
73
  }
74
74
  async function resolveTrustedRootRealPath(rootDir) {
75
75
  try {
76
- const rootLstat = await fs$1.lstat(rootDir);
76
+ const rootLstat = await fsp.lstat(rootDir);
77
77
  if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
78
- return await fs$1.realpath(rootDir);
78
+ return await fsp.realpath(rootDir);
79
79
  } catch {
80
80
  return;
81
81
  }
82
82
  }
83
83
  async function validateCanonicalPathWithinRoot(params) {
84
84
  try {
85
- const candidateLstat = await fs$1.lstat(params.candidatePath);
85
+ const candidateLstat = await fsp.lstat(params.candidatePath);
86
86
  if (candidateLstat.isSymbolicLink()) return "invalid";
87
87
  if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
88
88
  if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
89
89
  if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
90
- const candidateRealPath = await fs$1.realpath(params.candidatePath);
90
+ const candidateRealPath = await fsp.realpath(params.candidatePath);
91
91
  return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
92
92
  } catch (err) {
93
93
  return isNotFoundPathError(err) ? "not-found" : "invalid";
@@ -165,7 +165,7 @@ async function resolveCheckedPathsWithinRoot(params) {
165
165
  };
166
166
  if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
167
167
  try {
168
- const resolvedExistingPath = await fs$1.realpath(raw);
168
+ const resolvedExistingPath = await fsp.realpath(raw);
169
169
  const relativePath = path.relative(rootRealPath, resolvedExistingPath);
170
170
  if (!isInRoot(relativePath)) return lexicalPathResult;
171
171
  return {
@@ -1,18 +1,18 @@
1
- import { l as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-B4sQKFcV.js";
2
- import { yn as loadConfig } from "./registry-CjtACjoW.js";
3
- import { at as isPathInside, it as isNotFoundPathError, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger, u as CONFIG_DIR } from "./subsystem-BRH2eiRx.js";
4
- import { a as isErrno } from "./errors-DUGujS2U.js";
5
- import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-ClDI8hSK.js";
6
- import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-JuHkwIMV.js";
1
+ import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
2
+ import { G as loadConfig } from "./model-selection-C2tyJWrx.js";
3
+ import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-CHokDDk3.js";
4
+ import { a as isErrno } from "./errors-DnS9ngr1.js";
5
+ import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DU_cJ64Q.js";
6
+ import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-KBZp3sxK.js";
7
7
  import path from "node:path";
8
- import { createHmac } from "node:crypto";
9
8
  import fs from "node:fs";
10
9
  import os from "node:os";
11
10
  import fs$1 from "node:fs/promises";
12
11
  import { execFileSync, spawn } from "node:child_process";
12
+ import { createHmac } from "node:crypto";
13
+ import net from "node:net";
13
14
  import http, { createServer } from "node:http";
14
15
  import https from "node:https";
15
- import net from "node:net";
16
16
  import WebSocket$1, { WebSocketServer } from "ws";
17
17
 
18
18
  //#region src/browser/constants.ts
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { nn as resolveAccountEntry, r as INTERNAL_MESSAGE_CHANNEL } from "./group-c3Qh65PA.js";
3
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-BntNuBAj.js";
2
+ import { nn as resolveAccountEntry, r as INTERNAL_MESSAGE_CHANNEL } from "./group-D1ystD_T.js";
3
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { $ as normalizeAccountId } from "./agent-scope-CcfVK6UD.js";
5
+ import { $ as normalizeAccountId } from "./agent-scope-ZEYA-60U.js";
6
6
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-DUQkcSIv.js";
7
7
 
8
8
  //#region src/auto-reply/chunk.ts
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { ar as resolveAccountEntry, dr as INTERNAL_MESSAGE_CHANNEL } from "./config-D7E345XX.js";
3
- import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
2
+ import { ar as resolveAccountEntry, dr as INTERNAL_MESSAGE_CHANNEL } from "./config-C8St6mAq.js";
3
+ import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-B9soUuXQ.js";
4
4
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
5
- import { ot as normalizeAccountId } from "./agent-scope-DULvzWts.js";
5
+ import { ot as normalizeAccountId } from "./agent-scope-XhXeu6xb.js";
6
6
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-Dsu9RZ4d.js";
7
7
 
8
8
  //#region src/auto-reply/chunk.ts
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
3
3
  import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
4
4
  import { K as normalizeAccountId } from "./workspace-tcQXjttl.js";
5
- import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-D8yGm_Ti.js";
5
+ import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-C2tyJWrx.js";
6
6
  import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-RrqZTgHp.js";
7
7
 
8
8
  //#region src/auto-reply/chunk.ts
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { t as CommandLane } from "./lanes-CF2oNM6v.js";
3
- import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-BNSZzhBp.js";
3
+ import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-CHel1NLR.js";
4
4
 
5
5
  //#region src/process/command-queue.ts
6
6
  var command_queue_exports = /* @__PURE__ */ __exportAll({
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { t as CommandLane } from "./lanes-DWpYhh13.js";
3
- import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-D4aQ4rt0.js";
3
+ import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-O1TZk8ZJ.js";
4
4
 
5
5
  //#region src/process/command-queue.ts
6
6
  var command_queue_exports = /* @__PURE__ */ __exportAll({
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { tt as escapeRegExp } from "./subsystem-DoQFckDJ.js";
3
3
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
4
- import { Aa as DEFAULT_MODEL, ar as normalizeChannelId, ja as DEFAULT_PROVIDER, qt as getActivePluginRegistry, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-D8yGm_Ti.js";
4
+ import { Aa as DEFAULT_MODEL, ar as normalizeChannelId, ja as DEFAULT_PROVIDER, qt as getActivePluginRegistry, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-C2tyJWrx.js";
5
5
  import { r as listThinkingLevels } from "./thinking-CcoiS9V4.js";
6
6
 
7
7
  //#region src/config/commands.ts
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Ft as normalizeChannelId, Un as resolveConfiguredModelRef, ca as DEFAULT_PROVIDER, jt as listChannelDocks, sa as DEFAULT_MODEL, w as getActivePluginRegistry } from "./group-c3Qh65PA.js";
3
- import { m as escapeRegExp } from "./subsystem-BntNuBAj.js";
2
+ import { Ft as normalizeChannelId, Un as resolveConfiguredModelRef, ca as DEFAULT_PROVIDER, jt as listChannelDocks, sa as DEFAULT_MODEL, w as getActivePluginRegistry } from "./group-D1ystD_T.js";
3
+ import { m as escapeRegExp } from "./subsystem-DY5Ww-lX.js";
4
4
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
5
5
  import { r as listThinkingLevels } from "./thinking-CcoiS9V4.js";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Ja as DEFAULT_PROVIDER, Li as resolveConfiguredModelRef, Mn as normalizeChannelId, On as listChannelDocks, qa as DEFAULT_MODEL, vt as getActivePluginRegistry } from "./config-D7E345XX.js";
3
- import { m as escapeRegExp } from "./subsystem-BTMrlJ-R.js";
2
+ import { Ja as DEFAULT_PROVIDER, Li as resolveConfiguredModelRef, Mn as normalizeChannelId, On as listChannelDocks, qa as DEFAULT_MODEL, vt as getActivePluginRegistry } from "./config-C8St6mAq.js";
3
+ import { m as escapeRegExp } from "./subsystem-B9soUuXQ.js";
4
4
  import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
5
5
  import { r as listThinkingLevels } from "./thinking-BOHpxvdU.js";
6
6
 
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { _ as resolveStateDir, b as resolveRequiredHomeDir, c as resolveDefaultConfigCandidates, g as resolveOAuthPath, h as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, v as expandHomePrefix } from "./paths-C7aURmuZ.js";
3
- import { G as INCLUDE_KEY, J as isBlockedObjectKey, K as readConfigIncludeFileWithGuards, L as getChildLogger, Q as openBoundaryFileSync, U as normalizeConfigPaths, V as createFileLogWriter, W as ConfigIncludeError, Y as isPathInside$1, _ as normalizeE164, at as isPathInside$2, b as resolveUserPath, ct as applyConfigEnvVars, dt as MissingEnvVarError, ft as containsEnvVarReference, g as isRecord$3, k as logVerbose, m as escapeRegExp, n as stripAnsi, pt as resolveConfigEnvVars, q as resolveConfigIncludes, t as createSubsystemLogger, ut as sanitizeHostExecEnv, w as sleep, y as resolveConfigDir } from "./subsystem-BTMrlJ-R.js";
3
+ import { G as INCLUDE_KEY, J as isBlockedObjectKey, K as readConfigIncludeFileWithGuards, L as getChildLogger, Q as openBoundaryFileSync, U as normalizeConfigPaths, V as createFileLogWriter, W as ConfigIncludeError, Y as isPathInside$1, _ as normalizeE164, at as isPathInside$2, b as resolveUserPath, ct as applyConfigEnvVars, dt as MissingEnvVarError, ft as containsEnvVarReference, g as isRecord$3, k as logVerbose, m as escapeRegExp, n as stripAnsi, pt as resolveConfigEnvVars, q as resolveConfigIncludes, t as createSubsystemLogger, ut as sanitizeHostExecEnv, w as sleep, y as resolveConfigDir } from "./subsystem-B9soUuXQ.js";
4
4
  import { n as resolveProcessScopedMap, t as isPlainObject$2 } from "./plain-object-Doc_YkH1.js";
5
- import { B as RAW_PEER_KEY_PREFIX, D as runExec, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, K as expandIdentityLinksToMatchKeys, L as DEFAULT_AGENT_ID, Y as normalizeAgentId, a as resolveAgentEffectiveModelPrimary, at as DEFAULT_ACCOUNT_ID, c as resolveDefaultAgentId, gt as parseAgentSessionKey, n as listAgentIds, ot as normalizeAccountId$1, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, st as normalizeOptionalAccountId, vt as stripAgentSessionKeyPrefix } from "./agent-scope-DULvzWts.js";
5
+ import { B as RAW_PEER_KEY_PREFIX, D as runExec, F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, K as expandIdentityLinksToMatchKeys, L as DEFAULT_AGENT_ID, Y as normalizeAgentId, a as resolveAgentEffectiveModelPrimary, at as DEFAULT_ACCOUNT_ID, c as resolveDefaultAgentId, gt as parseAgentSessionKey, n as listAgentIds, ot as normalizeAccountId$1, r as resolveAgentConfig, s as resolveAgentWorkspaceDir, st as normalizeOptionalAccountId, vt as stripAgentSessionKeyPrefix } from "./agent-scope-XhXeu6xb.js";
6
6
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Dk0djIhM.js";
7
7
  import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-BkRfLUVO.js";
8
8
  import { createRequire } from "node:module";
@@ -13,7 +13,7 @@ import path from "node:path";
13
13
  import { isDeepStrictEqual } from "node:util";
14
14
  import JSON5 from "json5";
15
15
  import dotenv from "dotenv";
16
- import fs$1 from "node:fs/promises";
16
+ import fsp from "node:fs/promises";
17
17
  import { execFileSync, spawn } from "node:child_process";
18
18
  import { fileURLToPath } from "node:url";
19
19
  import { getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai/oauth";
@@ -907,7 +907,7 @@ function isCreatedAtStale(createdAt, staleMs) {
907
907
  }
908
908
  async function readLockPayload$1(lockPath) {
909
909
  try {
910
- const raw = await fs$1.readFile(lockPath, "utf8");
910
+ const raw = await fsp.readFile(lockPath, "utf8");
911
911
  const parsed = JSON.parse(raw);
912
912
  if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
913
913
  const payload = {
@@ -924,7 +924,7 @@ async function readLockPayload$1(lockPath) {
924
924
  }
925
925
  async function chmodIfSupported(filePath, mode) {
926
926
  try {
927
- await fs$1.chmod(filePath, mode);
927
+ await fsp.chmod(filePath, mode);
928
928
  } catch (err) {
929
929
  if (process.platform === "win32") return;
930
930
  throw err;
@@ -933,15 +933,15 @@ async function chmodIfSupported(filePath, mode) {
933
933
  async function resolveNormalizedFilePath(filePath, options) {
934
934
  const resolved = path.resolve(filePath);
935
935
  const dir = path.dirname(resolved);
936
- if (options.directoryMode === void 0) await fs$1.mkdir(dir, { recursive: true });
936
+ if (options.directoryMode === void 0) await fsp.mkdir(dir, { recursive: true });
937
937
  else {
938
- await fs$1.mkdir(dir, {
938
+ await fsp.mkdir(dir, {
939
939
  recursive: true,
940
940
  mode: options.directoryMode
941
941
  });
942
942
  await chmodIfSupported(dir, options.directoryMode);
943
943
  }
944
- const realDir = await fs$1.realpath(dir);
944
+ const realDir = await fsp.realpath(dir);
945
945
  return path.join(realDir, path.basename(resolved));
946
946
  }
947
947
  async function isStaleLock(lockPath, staleMs) {
@@ -956,7 +956,7 @@ async function isStaleLock(lockPath, staleMs) {
956
956
  return false;
957
957
  }
958
958
  try {
959
- const stat = await fs$1.stat(lockPath);
959
+ const stat = await fsp.stat(lockPath);
960
960
  return Date.now() - stat.mtimeMs > staleMs;
961
961
  } catch {
962
962
  return true;
@@ -980,7 +980,7 @@ async function releaseHeldLock$1(normalizedFile) {
980
980
  throw emitLockReleaseWarning("close", current.lockPath, err);
981
981
  }
982
982
  try {
983
- await fs$1.rm(current.lockPath, { force: true });
983
+ await fsp.rm(current.lockPath, { force: true });
984
984
  } catch (err) {
985
985
  current.count = 1;
986
986
  throw emitLockReleaseWarning("remove", current.lockPath, err);
@@ -1003,7 +1003,7 @@ async function acquireFileLock(filePath, options) {
1003
1003
  let attempt = 0;
1004
1004
  let staleReclaims = 0;
1005
1005
  while (attempt < attempts) try {
1006
- const handle = await fs$1.open(lockPath, "wx");
1006
+ const handle = await fsp.open(lockPath, "wx");
1007
1007
  try {
1008
1008
  await handle.writeFile(JSON.stringify({
1009
1009
  pid: process.pid,
@@ -1012,7 +1012,7 @@ async function acquireFileLock(filePath, options) {
1012
1012
  }, null, 2), "utf8");
1013
1013
  } catch (writeErr) {
1014
1014
  await handle.close().catch(() => void 0);
1015
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
1015
+ await fsp.rm(lockPath, { force: true }).catch(() => void 0);
1016
1016
  throw writeErr;
1017
1017
  }
1018
1018
  HELD_LOCKS$1.set(normalizedFile, {
@@ -1028,7 +1028,7 @@ async function acquireFileLock(filePath, options) {
1028
1028
  } catch (err) {
1029
1029
  if (err.code !== "EEXIST") throw err;
1030
1030
  if (await isStaleLock(lockPath, options.stale)) {
1031
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
1031
+ await fsp.rm(lockPath, { force: true }).catch(() => void 0);
1032
1032
  if (staleReclaims < attempts) {
1033
1033
  staleReclaims += 1;
1034
1034
  continue;
@@ -1871,7 +1871,7 @@ function formatWindowsAclSummary(summary) {
1871
1871
  //#region src/security/audit-fs.ts
1872
1872
  async function safeStat(targetPath) {
1873
1873
  try {
1874
- const lst = await fs$1.lstat(targetPath);
1874
+ const lst = await fsp.lstat(targetPath);
1875
1875
  return {
1876
1876
  ok: true,
1877
1877
  isSymlink: lst.isSymbolicLink(),
@@ -1910,7 +1910,7 @@ async function inspectPathPermissions(targetPath, opts) {
1910
1910
  let effectiveMode = st.mode;
1911
1911
  let effectiveIsDir = st.isDir;
1912
1912
  if (st.isSymlink) try {
1913
- const target = await fs$1.stat(targetPath);
1913
+ const target = await fsp.stat(targetPath);
1914
1914
  effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
1915
1915
  effectiveIsDir = target.isDirectory();
1916
1916
  } catch {}
@@ -2192,7 +2192,7 @@ async function assertSecurePath(params) {
2192
2192
  if (stat.isSymlink) {
2193
2193
  if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
2194
2194
  try {
2195
- effectivePath = await fs$1.realpath(effectivePath);
2195
+ effectivePath = await fsp.realpath(effectivePath);
2196
2196
  } catch {
2197
2197
  throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
2198
2198
  }
@@ -2240,7 +2240,7 @@ async function readFileProviderPayload(params) {
2240
2240
  }, timeoutMs);
2241
2241
  });
2242
2242
  try {
2243
- const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2243
+ const payload = await Promise.race([fsp.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2244
2244
  if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
2245
2245
  const text = payload.toString("utf8");
2246
2246
  if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
@@ -11280,7 +11280,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
11280
11280
  await held.handle.close();
11281
11281
  } catch {}
11282
11282
  try {
11283
- await fs$1.rm(held.lockPath, { force: true });
11283
+ await fsp.rm(held.lockPath, { force: true });
11284
11284
  } catch {}
11285
11285
  })();
11286
11286
  try {
@@ -11359,7 +11359,7 @@ function registerCleanupHandlers() {
11359
11359
  }
11360
11360
  async function readLockPayload(lockPath) {
11361
11361
  try {
11362
- const raw = await fs$1.readFile(lockPath, "utf8");
11362
+ const raw = await fsp.readFile(lockPath, "utf8");
11363
11363
  const parsed = JSON.parse(raw);
11364
11364
  const payload = {};
11365
11365
  if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
@@ -11403,7 +11403,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
11403
11403
  if (!details.stale) return false;
11404
11404
  if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
11405
11405
  try {
11406
- const stat = await fs$1.stat(lockPath);
11406
+ const stat = await fsp.stat(lockPath);
11407
11407
  return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
11408
11408
  } catch (error) {
11409
11409
  return error?.code !== "ENOENT";
@@ -11421,10 +11421,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11421
11421
  const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
11422
11422
  const sessionFile = path.resolve(params.sessionFile);
11423
11423
  const sessionDir = path.dirname(sessionFile);
11424
- await fs$1.mkdir(sessionDir, { recursive: true });
11424
+ await fsp.mkdir(sessionDir, { recursive: true });
11425
11425
  let normalizedDir = sessionDir;
11426
11426
  try {
11427
- normalizedDir = await fs$1.realpath(sessionDir);
11427
+ normalizedDir = await fsp.realpath(sessionDir);
11428
11428
  } catch {}
11429
11429
  const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
11430
11430
  const lockPath = `${normalizedSessionFile}.lock`;
@@ -11442,7 +11442,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11442
11442
  attempt += 1;
11443
11443
  let handle = null;
11444
11444
  try {
11445
- handle = await fs$1.open(lockPath, "wx");
11445
+ handle = await fsp.open(lockPath, "wx");
11446
11446
  const createdAt = (/* @__PURE__ */ new Date()).toISOString();
11447
11447
  const starttime = processIdentity.getProcessStartTime(process.pid);
11448
11448
  const lockPayload = {
@@ -11468,7 +11468,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11468
11468
  await handle.close();
11469
11469
  } catch {}
11470
11470
  try {
11471
- await fs$1.rm(lockPath, { force: true });
11471
+ await fsp.rm(lockPath, { force: true });
11472
11472
  } catch {}
11473
11473
  }
11474
11474
  if (err.code !== "EEXIST") throw err;
@@ -11483,7 +11483,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11483
11483
  stale: true,
11484
11484
  staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
11485
11485
  } : inspected, staleMs, nowMs)) {
11486
- await fs$1.rm(lockPath, { force: true });
11486
+ await fsp.rm(lockPath, { force: true });
11487
11487
  continue;
11488
11488
  }
11489
11489
  const delay = Math.min(1e3, 50 * attempt);
@@ -16157,7 +16157,7 @@ function createPluginRegistry(registryParams) {
16157
16157
  configurable: true,
16158
16158
  value: {
16159
16159
  ...registryParams.runtime.signals,
16160
- nudge: async (input) => (await import("./nudge-BqkP8YTx.js").then((n) => n.t)).requestAuthorizedNudge({
16160
+ nudge: async (input) => (await import("./nudge-CnaEXWAF.js").then((n) => n.t)).requestAuthorizedNudge({
16161
16161
  kind: "plugin",
16162
16162
  pluginId: record.id
16163
16163
  }, input)
package/dist/config.js CHANGED
@@ -1,7 +1,7 @@
1
- import { Ba as isSecretRef, E as MODEL_APIS, Gr as getConfigOverrides, Ha as normalizeSecretInputString, Ia as DEFAULT_SECRET_PROVIDER_ALIAS, Jr as unsetConfigOverride, Kr as resetConfigOverrides, La as assertSecretInputResolved, Ra as coerceSecretRef, Ua as parseEnvTemplateSecretRef, Va as normalizeResolvedSecretInputString, Wa as resolveSecretInputRef, Wr as applyConfigOverrides, _ as validateConfigObjectRawWithPlugins, a as createConfigIO, c as loadConfig, d as readConfigFileSnapshotForWrite, f as resolveConfigSnapshotHash, g as validateConfigObjectRaw, h as validateConfigObject, i as clearRuntimeConfigSnapshot, ir as parseToolsBySenderTypedKey, l as parseConfigJson5, m as writeConfigFile, n as advanceRuntimeConfigSnapshot, o as getRuntimeConfigSnapshot, p as setRuntimeConfigSnapshot, qr as setConfigOverride, r as clearConfigCache, rr as TOOLS_BY_SENDER_KEY_TYPES, s as getRuntimeConfigSourceSnapshot, t as migrateLegacyConfig, u as readConfigFileSnapshot, v as validateConfigObjectWithPlugins, za as hasConfiguredSecretInput } from "./config-D7E345XX.js";
1
+ import { Ba as isSecretRef, E as MODEL_APIS, Gr as getConfigOverrides, Ha as normalizeSecretInputString, Ia as DEFAULT_SECRET_PROVIDER_ALIAS, Jr as unsetConfigOverride, Kr as resetConfigOverrides, La as assertSecretInputResolved, Ra as coerceSecretRef, Ua as parseEnvTemplateSecretRef, Va as normalizeResolvedSecretInputString, Wa as resolveSecretInputRef, Wr as applyConfigOverrides, _ as validateConfigObjectRawWithPlugins, a as createConfigIO, c as loadConfig, d as readConfigFileSnapshotForWrite, f as resolveConfigSnapshotHash, g as validateConfigObjectRaw, h as validateConfigObject, i as clearRuntimeConfigSnapshot, ir as parseToolsBySenderTypedKey, l as parseConfigJson5, m as writeConfigFile, n as advanceRuntimeConfigSnapshot, o as getRuntimeConfigSnapshot, p as setRuntimeConfigSnapshot, qr as setConfigOverride, r as clearConfigCache, rr as TOOLS_BY_SENDER_KEY_TYPES, s as getRuntimeConfigSourceSnapshot, t as migrateLegacyConfig, u as readConfigFileSnapshot, v as validateConfigObjectWithPlugins, za as hasConfiguredSecretInput } from "./config-C8St6mAq.js";
2
2
  import { _ as resolveStateDir, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDir, g as resolveOAuthPath, h as resolveOAuthDir, i as isNixMode, l as resolveGatewayLockDir, m as resolveNewStateDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveLegacyStateDirs, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-C7aURmuZ.js";
3
- import "./subsystem-BTMrlJ-R.js";
4
- import "./agent-scope-DULvzWts.js";
3
+ import "./subsystem-B9soUuXQ.js";
4
+ import "./agent-scope-XhXeu6xb.js";
5
5
  import "./github-copilot-token-Dk0djIhM.js";
6
6
 
7
7
  export { CONFIG_PATH, DEFAULT_GATEWAY_PORT, DEFAULT_SECRET_PROVIDER_ALIAS, MODEL_APIS, STATE_DIR, TOOLS_BY_SENDER_KEY_TYPES, advanceRuntimeConfigSnapshot, applyConfigOverrides, assertSecretInputResolved, clearConfigCache, clearRuntimeConfigSnapshot, coerceSecretRef, createConfigIO, getConfigOverrides, getRuntimeConfigSnapshot, getRuntimeConfigSourceSnapshot, hasConfiguredSecretInput, isNixMode, isSecretRef, loadConfig, migrateLegacyConfig, normalizeResolvedSecretInputString, normalizeSecretInputString, parseConfigJson5, parseEnvTemplateSecretRef, parseToolsBySenderTypedKey, readConfigFileSnapshot, readConfigFileSnapshotForWrite, resetConfigOverrides, resolveCanonicalConfigPath, resolveConfigPath, resolveConfigPathCandidate, resolveConfigSnapshotHash, resolveDefaultConfigCandidates, resolveGatewayLockDir, resolveGatewayPort, resolveIsNixMode, resolveLegacyStateDir, resolveLegacyStateDirs, resolveNewStateDir, resolveOAuthDir, resolveOAuthPath, resolveSecretInputRef, resolveStateDir, setConfigOverride, setRuntimeConfigSnapshot, unsetConfigOverride, validateConfigObject, validateConfigObjectRaw, validateConfigObjectRawWithPlugins, validateConfigObjectWithPlugins, writeConfigFile };
@@ -1,4 +1,4 @@
1
- import { ia as resolveSecretInputRef } from "./group-c3Qh65PA.js";
1
+ import { ia as resolveSecretInputRef } from "./group-D1ystD_T.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {
@@ -1,4 +1,4 @@
1
- import { Da as resolveSecretInputRef } from "./model-selection-D8yGm_Ti.js";
1
+ import { Da as resolveSecretInputRef } from "./model-selection-C2tyJWrx.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {
@@ -1,4 +1,4 @@
1
- import { Wa as resolveSecretInputRef } from "./config-D7E345XX.js";
1
+ import { Wa as resolveSecretInputRef } from "./config-C8St6mAq.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {
@@ -1,19 +1,19 @@
1
- import { Fa as VERSION, Ia as formatCliCommand, Ii as resolveGatewayConsoleBasePath, Wr as secretRefKey, gn as readConfigFileSnapshot, hn as loadConfig, ia as resolveSecretInputRef, m as GATEWAY_CLIENT_NAMES, p as GATEWAY_CLIENT_MODES, pn as createConfigIO, ra as normalizeSecretInputString, vn as writeConfigFile, wi as sanitizeTerminalText, xr as resolveSecretRefValues, za as docsSiteUrl } from "./group-c3Qh65PA.js";
1
+ import { Fa as VERSION, Ia as formatCliCommand, Ii as resolveGatewayConsoleBasePath, Wr as secretRefKey, gn as readConfigFileSnapshot, hn as loadConfig, ia as resolveSecretInputRef, m as GATEWAY_CLIENT_NAMES, p as GATEWAY_CLIENT_MODES, pn as createConfigIO, ra as normalizeSecretInputString, vn as writeConfigFile, wi as sanitizeTerminalText, xr as resolveSecretRefValues, za as docsSiteUrl } from "./group-D1ystD_T.js";
2
2
  import { o as resolveGatewayPort, r as resolveConfigPath, s as resolveIsNixMode, u as resolveStateDir } from "./paths-2qlGWRjc.js";
3
- import { C as shortenHomePath, F as isRich, I as theme, P as colorize, _t as isBunRuntime, o as defaultRuntime, ut as collectConfigServiceEnvVars, vt as isNodeRuntime, w as sleep, z as getResolvedLoggerSettings } from "./subsystem-BntNuBAj.js";
4
- import { _ as resolveGatewayWindowsTaskName, a as randomToken, c as isWSLEnv, d as GATEWAY_SERVICE_MARKER, f as normalizeGatewayProfile, g as resolveGatewaySystemdServiceName, h as resolveGatewayServiceDescription, l as GATEWAY_LAUNCH_AGENT_LABEL, m as resolveGatewayProfileSuffix, o as resolveControlUiLinks, p as resolveGatewayLaunchAgentLabel, r as killProcessTree, s as isWSL, t as withProgress, u as GATEWAY_SERVICE_KIND, v as resolveLegacyGatewayLaunchAgentLabels, y as formatDocsLink } from "./progress-CPxNhc04.js";
5
- import "./agent-scope-CcfVK6UD.js";
3
+ import { C as shortenHomePath, F as isRich, I as theme, P as colorize, _t as isBunRuntime, o as defaultRuntime, ut as collectConfigServiceEnvVars, vt as isNodeRuntime, w as sleep, z as getResolvedLoggerSettings } from "./subsystem-DY5Ww-lX.js";
4
+ import { _ as resolveGatewayWindowsTaskName, a as randomToken, c as isWSLEnv, d as GATEWAY_SERVICE_MARKER, f as normalizeGatewayProfile, g as resolveGatewaySystemdServiceName, h as resolveGatewayServiceDescription, l as GATEWAY_LAUNCH_AGENT_LABEL, m as resolveGatewayProfileSuffix, o as resolveControlUiLinks, p as resolveGatewayLaunchAgentLabel, r as killProcessTree, s as isWSL, t as withProgress, u as GATEWAY_SERVICE_KIND, v as resolveLegacyGatewayLaunchAgentLabels, y as formatDocsLink } from "./progress-CGdAe0WN.js";
5
+ import "./agent-scope-ZEYA-60U.js";
6
6
  import "./github-copilot-token-DpUzVZGF.js";
7
- import "./sessions-CzSCMD0M.js";
7
+ import "./sessions-DgF-TKoR.js";
8
8
  import "./diagnostic-events-BOgEuLwf.js";
9
- import "./redact-CUgFzobf.js";
10
- import "./errors-CN5_QuWi.js";
11
- import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-vUArkeDj.js";
9
+ import "./redact-CoYHSFJI.js";
10
+ import "./errors-0RH1PUyI.js";
11
+ import { f as loadGatewayTlsRuntime, n as callGateway } from "./call-BfsHUEL9.js";
12
12
  import "./pairing-files-BElZZJhA.js";
13
- import { t as resolveGatewayAuth } from "./auth-BJQIeDr2.js";
14
- import { o as resolveGatewayBindHost, s as pickPrimaryTailnetIPv4 } from "./net-0_F4C9BZ.js";
15
- import { t as resolveGatewayCredentialsFromConfig } from "./credentials-CNT2aFON.js";
16
- import { a as formatPortDiagnostics, i as classifyPortListener, n as inspectPortUsage } from "./ports-Clmws_Hh.js";
13
+ import { t as resolveGatewayAuth } from "./auth-BSkwykDB.js";
14
+ import { o as resolveGatewayBindHost, s as pickPrimaryTailnetIPv4 } from "./net-Dy6CRuy7.js";
15
+ import { t as resolveGatewayCredentialsFromConfig } from "./credentials-BbfhXEsJ.js";
16
+ import { a as formatPortDiagnostics, i as classifyPortListener, n as inspectPortUsage } from "./ports-C3fQHCab.js";
17
17
  import os from "node:os";
18
18
  import path from "node:path";
19
19
  import fs from "node:fs/promises";
@@ -3,18 +3,18 @@ import { l as resolveDefaultAgentId } from "./agent-scope-rf7oiINF.js";
3
3
  import { l as resolveStateDir } from "./paths-BIDPYPVC.js";
4
4
  import { t as createSubsystemLogger } from "./subsystem-DoQFckDJ.js";
5
5
  import { F as normalizeAgentId, I as normalizeMainKey, K as normalizeAccountId, nt as parseAgentSessionKey, q as normalizeOptionalAccountId } from "./workspace-tcQXjttl.js";
6
- import { Cn as listConfiguredSessionStorageAgentIds, G as loadConfig, Mn as updateSessionStoreEntry, Xn as resolveStorePath, Yt as getActivePluginRegistryVersion, _a as resolveOpenClawAgentDir, ar as normalizeChannelId, er as getChannelDock, gn as getConversationReadQuery, mn as StorageReadAccessError, qt as getActivePluginRegistry, rr as getChannelPlugin, wn as loadSessionStore } from "./model-selection-D8yGm_Ti.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-DZTUsPsP.js";
6
+ import { Cn as listConfiguredSessionStorageAgentIds, G as loadConfig, Mn as updateSessionStoreEntry, Xn as resolveStorePath, Yt as getActivePluginRegistryVersion, _a as resolveOpenClawAgentDir, ar as normalizeChannelId, er as getChannelDock, gn as getConversationReadQuery, mn as StorageReadAccessError, qt as getActivePluginRegistry, rr as getChannelPlugin, wn as loadSessionStore } from "./model-selection-C2tyJWrx.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-CzUTvoXK.js";
8
8
  import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
9
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-_y_6NRek.js";
9
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-DAFI7DwH.js";
10
10
  import { i as hasErrnoCode } from "./errors-DnS9ngr1.js";
11
- import { t as ensureOpenClawModelsJson } from "./models-config-BuKVDvIh.js";
12
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-DL6b-Ers.js";
13
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-CS6BGepz.js";
14
- import { n as resolveMarkdownTableMode } from "./markdown-tables-BGgtMbbO.js";
15
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CbDkJuWL.js";
16
- import { t as parseReplyDirectives } from "./reply-directives-CeWgDasK.js";
17
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CpTYjiqO.js";
11
+ import { t as ensureOpenClawModelsJson } from "./models-config-C6XX7gtS.js";
12
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-DxfQJ1J0.js";
13
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-Mk3BzTo4.js";
14
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-DzCbga76.js";
15
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bme6KjMG.js";
16
+ import { t as parseReplyDirectives } from "./reply-directives-CKYXOssf.js";
17
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-BsfmKipN.js";
18
18
  import path from "node:path";
19
19
  import fs 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-FspRgCaT.js").then((n) => n.r);
375
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CLxFRX8Q.js").then((n) => n.r);
376
376
  const agentDir = resolveOpenClawAgentDir();
377
377
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
378
378
  applyDiscoveredContextWindows({
@@ -1,19 +1,19 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { At as getChannelDock, E as getActivePluginRegistryVersion, Ft as normalizeChannelId, Nt as getChannelPlugin, Ot as resolveStorePath, Y as getConversationReadQuery, dt as updateSessionStoreEntry, hn as loadConfig, nt as listConfiguredSessionStorageAgentIds, q as StorageReadAccessError, qi as resolveOpenClawAgentDir, rt as loadSessionStore, w as getActivePluginRegistry } from "./group-c3Qh65PA.js";
2
+ import { At as getChannelDock, E as getActivePluginRegistryVersion, Ft as normalizeChannelId, Nt as getChannelPlugin, Ot as resolveStorePath, Y as getConversationReadQuery, dt as updateSessionStoreEntry, hn as loadConfig, nt as listConfiguredSessionStorageAgentIds, q as StorageReadAccessError, qi as resolveOpenClawAgentDir, rt as loadSessionStore, w as getActivePluginRegistry } from "./group-D1ystD_T.js";
3
3
  import { u as resolveStateDir } from "./paths-2qlGWRjc.js";
4
- import { t as createSubsystemLogger } from "./subsystem-BntNuBAj.js";
5
- import { $ as normalizeAccountId, H as normalizeAgentId, U as normalizeMainKey, c as resolveDefaultAgentId, et as normalizeOptionalAccountId, lt as parseAgentSessionKey } from "./agent-scope-CcfVK6UD.js";
6
- import { A as eventOrder, Ht as resolveMainSessionKey, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as canonicalizeMainSessionAlias } from "./sessions-CzSCMD0M.js";
7
- import { i as hasErrnoCode } from "./errors-CN5_QuWi.js";
8
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-BoGoXWb0.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-DY5Ww-lX.js";
5
+ import { $ as normalizeAccountId, H as normalizeAgentId, U as normalizeMainKey, c as resolveDefaultAgentId, et as normalizeOptionalAccountId, lt as parseAgentSessionKey } from "./agent-scope-ZEYA-60U.js";
6
+ import { A as eventOrder, Ht as resolveMainSessionKey, K as parseInlineDirectives, a as resolveMirroredTranscriptText, b as getGlobalHookRunner, i as appendAssistantMessageToSessionTranscript, zt as canonicalizeMainSessionAlias } from "./sessions-DgF-TKoR.js";
7
+ import { i as hasErrnoCode } from "./errors-0RH1PUyI.js";
8
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-CssgdJTS.js";
9
9
  import { n as generateSecureUuid } from "./secure-random-CjVlXP5J.js";
10
- import { t as ensureOpenClawModelsJson } from "./models-config-dpGU0cJa.js";
11
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-D7UiV_9w.js";
12
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-Co2BBq6m.js";
13
- import { n as resolveMarkdownTableMode } from "./markdown-tables-Dc909okk.js";
14
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-DkLpJOdR.js";
15
- import { t as parseReplyDirectives } from "./reply-directives-BZ9K9aOt.js";
16
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CKsA3C8Q.js";
10
+ import { t as ensureOpenClawModelsJson } from "./models-config-m8SCbEAc.js";
11
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-B5m0TTRD.js";
12
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-Bl3bFkc1.js";
13
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BxOFKkhW.js";
14
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Cmbc19Oi.js";
15
+ import { t as parseReplyDirectives } from "./reply-directives-BpRcHRoT.js";
16
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DbtWZ2No.js";
17
17
  import fs from "node:fs";
18
18
  import path from "node:path";
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-BxM5uNK4.js").then((n) => n.r);
354
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CIRCjjeW.js").then((n) => n.r);
355
355
  const agentDir = resolveOpenClawAgentDir();
356
356
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
357
357
  applyDiscoveredContextWindows({
@@ -1,19 +1,19 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { An as getChannelPlugin, Cn as resolveStorePath, Dn as getChannelDock, Mn as normalizeChannelId, Ut as getConversationReadQuery, Vt as StorageReadAccessError, Xt as listConfiguredSessionStorageAgentIds, Zt as loadSessionStore, an as updateSessionStoreEntry, bt as getActivePluginRegistryVersion, c as loadConfig, ka as resolveOpenClawAgentDir, vt as getActivePluginRegistry } from "./config-D7E345XX.js";
2
+ import { An as getChannelPlugin, Cn as resolveStorePath, Dn as getChannelDock, Mn as normalizeChannelId, Ut as getConversationReadQuery, Vt as StorageReadAccessError, Xt as listConfiguredSessionStorageAgentIds, Zt as loadSessionStore, an as updateSessionStoreEntry, bt as getActivePluginRegistryVersion, c as loadConfig, ka as resolveOpenClawAgentDir, vt as getActivePluginRegistry } from "./config-C8St6mAq.js";
3
3
  import { _ as resolveStateDir } from "./paths-C7aURmuZ.js";
4
- import { t as createSubsystemLogger } from "./subsystem-BTMrlJ-R.js";
5
- import { X as normalizeMainKey, Y as normalizeAgentId, c as resolveDefaultAgentId, gt as parseAgentSessionKey, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./agent-scope-DULvzWts.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-Cs4D1U17.js";
7
- import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-B8sw5RV2.js";
8
- import { i as hasErrnoCode } from "./errors-DnOtx_vg.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-B9soUuXQ.js";
5
+ import { X as normalizeMainKey, Y as normalizeAgentId, c as resolveDefaultAgentId, gt as parseAgentSessionKey, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./agent-scope-XhXeu6xb.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-Bl0b35sU.js";
7
+ import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-C8SBxzVB.js";
8
+ import { i as hasErrnoCode } from "./errors-D8k7j4A4.js";
9
9
  import { n as generateSecureUuid } from "./secure-random-CYWiC9Ek.js";
10
- import { t as ensureOpenClawModelsJson } from "./models-config-BeE1WLnh.js";
11
- import { i as getAgentScopedMediaLocalRoots } from "./fetch-Bd3gVJGS.js";
12
- import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-D0gjlEAC.js";
13
- import { n as resolveMarkdownTableMode } from "./markdown-tables-CRv466QZ.js";
14
- import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-D0h7Pa-R.js";
15
- import { t as parseReplyDirectives } from "./reply-directives-MabnZ9XP.js";
16
- import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DHpP56-Y.js";
10
+ import { t as ensureOpenClawModelsJson } from "./models-config-BwzDnc-Q.js";
11
+ import { i as getAgentScopedMediaLocalRoots } from "./fetch-B6JVlGQz.js";
12
+ import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-D8Ei1sgE.js";
13
+ import { n as resolveMarkdownTableMode } from "./markdown-tables-BD3LxqeL.js";
14
+ import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-G0rUejkg.js";
15
+ import { t as parseReplyDirectives } from "./reply-directives-CiYi8fBw.js";
16
+ import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-nXTQsLrv.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-B8gN8a3d.js").then((n) => n.r);
354
+ const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-5nUBc878.js").then((n) => n.r);
355
355
  const agentDir = resolveOpenClawAgentDir();
356
356
  const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
357
357
  applyDiscoveredContextWindows({