activeclaw 2026.4.5 → 2026.4.9

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 (379) hide show
  1. package/dist/{acp-cli-DFNJuSr1.js → acp-cli-DAoO2PiM.js} +9 -9
  2. package/dist/{acp-cli-CYNmIkev.js → acp-cli-e3Nru-Yh.js} +5 -5
  3. package/dist/{agent-CCHm3dnF.js → agent-CMfazMZh.js} +11 -11
  4. package/dist/{agent-BLSLlPLk.js → agent-JPiOsp4w.js} +8 -8
  5. package/dist/{agent-scope-Dv5h0qQE.js → agent-scope-BrJT9Gf9.js} +17 -17
  6. package/dist/{agents-BxHLH0uE.js → agents-BFneTNaM.js} +7 -7
  7. package/dist/{agents.config-CxFlr00u.js → agents.config-63M2f6aF.js} +2 -2
  8. package/dist/{agents.config-BF0K3aA6.js → agents.config-CLmETqUQ.js} +1 -1
  9. package/dist/{api-key-rotation-cqcPDbSb.js → api-key-rotation--yH6WXh1.js} +1 -1
  10. package/dist/{api-key-rotation-BbIb9aas.js → api-key-rotation-BHAUzS3H.js} +2 -2
  11. package/dist/{api-key-rotation-Cyf-Q4MB.js → api-key-rotation-DeP9Nazr.js} +2 -2
  12. package/dist/{api-key-rotation-CpK2-BOi.js → api-key-rotation-ysMjkqBD.js} +1 -1
  13. package/dist/{audio-preflight-L-LZWSbn.js → audio-preflight-Bc4dihum.js} +16 -16
  14. package/dist/{audio-preflight-DRfaJpBd.js → audio-preflight-DPH8sex1.js} +8 -8
  15. package/dist/{audio-preflight-ugqpHAQh.js → audio-preflight-Dd3C7mtQ.js} +14 -14
  16. package/dist/{audio-preflight-BWsuQsJe.js → audio-preflight-DqbhN1m7.js} +4 -4
  17. package/dist/{audio-transcription-runner-Uz2dTIDx.js → audio-transcription-runner-B02iDYTW.js} +23 -23
  18. package/dist/{audio-transcription-runner-CovQeJJ8.js → audio-transcription-runner-B8jxT-MB.js} +6 -6
  19. package/dist/{audio-transcription-runner-BjxrFZhs.js → audio-transcription-runner-DIwGKsNI.js} +4 -4
  20. package/dist/{audio-transcription-runner-Bt0PplM9.js → audio-transcription-runner-TUBV75w0.js} +11 -11
  21. package/dist/{audit-CmbdapG_.js → audit-Cg4EdF12.js} +21 -21
  22. package/dist/{audit-membership-runtime-D-ZeUv63.js → audit-membership-runtime-DK2vsxHN.js} +6 -6
  23. package/dist/{audit-Dk_eftLe.js → audit-u873Aqoz.js} +7 -7
  24. package/dist/{auth-CCGOm7j4.js → auth-B7N969mv.js} +1 -1
  25. package/dist/{auth-Cp-1JzUb.js → auth-Bu24hYWH.js} +1 -1
  26. package/dist/{auth-choice-tokGZmzT.js → auth-choice-CBs23Eut.js} +13 -13
  27. package/dist/{auth-choice-DMcjsacO.js → auth-choice-DKqoMQkv.js} +14 -14
  28. package/dist/{auth-choice-CzIHMC2n.js → auth-choice-DWfkvDEv.js} +18 -18
  29. package/dist/{auth-choice-BOV3mxdG.js → auth-choice-LkLMeioa.js} +12 -12
  30. package/dist/{auth-choice.apply-helpers-alZH2ST_.js → auth-choice.apply-helpers-CJra1kZX.js} +1 -1
  31. package/dist/{auth-choice.apply-helpers-C0zKQkgn.js → auth-choice.apply-helpers-D_qbnasd.js} +1 -1
  32. package/dist/{auth-profiles-B5hyImOM.js → auth-profiles-D9Wn945p.js} +12 -0
  33. package/dist/{auth-token-BHnzfcUl.js → auth-token-BE6nISKT.js} +1 -1
  34. package/dist/{auth-token-Bzfws-T-.js → auth-token-DeLPA2C5.js} +1 -1
  35. package/dist/{banner-MJMqAYlg.js → banner-Ctm-KPnO.js} +1 -1
  36. package/dist/{bonjour-discovery-B4Fsf8u3.js → bonjour-discovery-CHN01_kY.js} +1 -1
  37. package/dist/{bonjour-discovery-LLqnJbvr.js → bonjour-discovery-Cak-jClv.js} +1 -1
  38. package/dist/build-info.json +3 -3
  39. package/dist/bundled/boot-md/handler.js +27 -27
  40. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  41. package/dist/bundled/command-logger/handler.js +2 -2
  42. package/dist/bundled/session-memory/handler.js +26 -26
  43. package/dist/{call-CKFLqNkw.js → call-7be5mSn_.js} +9 -9
  44. package/dist/{call-5htJiVxi.js → call-Ce8vjHmH.js} +2 -2
  45. package/dist/{channel-account-context-BI023AHZ.js → channel-account-context-D9S5HJn4.js} +6 -6
  46. package/dist/{channel-account-context-CZgEeotA.js → channel-account-context-XxNxKPcm.js} +1 -1
  47. package/dist/{channel-options-DAKPziI3.js → channel-options-DbKTl72b.js} +2 -2
  48. package/dist/{channel-options-DiGuGjgV.js → channel-options-a0rwBOBp.js} +2 -2
  49. package/dist/{channel-selection-CrnnQqyM.js → channel-selection-Cz7kZ_dd.js} +1 -1
  50. package/dist/{channel-selection-Dh-j4PE7.js → channel-selection-DMlnEgJc.js} +1 -1
  51. package/dist/channels/plugins/actions/telegram.js +12 -0
  52. package/dist/{channels-cli-Lcff68v5.js → channels-cli-2VIPyG8m.js} +55 -55
  53. package/dist/{channels-cli-DvKsiDcY.js → channels-cli-BG1xCXaW.js} +40 -40
  54. package/dist/{chunk-cNotV828.js → chunk-B0PHAL_m.js} +1 -1
  55. package/dist/{chunk-DB_LA-72.js → chunk-BSmRwqjw.js} +2 -2
  56. package/dist/{chunk-I6GfHIkA.js → chunk-D4AO1AEe.js} +1 -1
  57. package/dist/{cleanup-utils-6oONTdk-.js → cleanup-utils-DuGSE7QL.js} +4 -4
  58. package/dist/cli/daemon-cli.js +1 -1
  59. package/dist/{cli-CX0-e1Do.js → cli-He5MwTZv.js} +31 -31
  60. package/dist/{cli-Nb2Rv2SE.js → cli-McCicHl-.js} +39 -39
  61. package/dist/{command-registry-B1NKrz1S.js → command-registry-B4XSKnqk.js} +12 -12
  62. package/dist/{command-secret-targets-DXU9DFeM.js → command-secret-targets-BQ5lbER9.js} +3 -3
  63. package/dist/{command-secret-targets-CpKxsR1T.js → command-secret-targets-lNjgc0CR.js} +3 -3
  64. package/dist/{compact-qJ63Ml29.js → compact-DBxHCU3Q.js} +44 -35
  65. package/dist/compact.runtime-D3MiFKq0.js +66 -0
  66. package/dist/{compact.runtime-Cl5rju7L.js → compact.runtime-DKQKkff5.js} +9 -9
  67. package/dist/{compact.runtime-B7P5LnIa.js → compact.runtime-DcTpLwZ5.js} +31 -31
  68. package/dist/compact.runtime-DvhVgC1j.js +28 -0
  69. package/dist/{completion-cli-BkGeOB0Y.js → completion-cli-BXlBKnlj.js} +2 -2
  70. package/dist/{completion-cli-DQ5HyrvM.js → completion-cli-C0IxNzBH.js} +12 -12
  71. package/dist/{config-cli-CiLzQLbQ.js → config-cli-C4ryG2Rf.js} +4 -4
  72. package/dist/{config-cli-BKXR8uQg.js → config-cli-rH6YNttY.js} +8 -8
  73. package/dist/{config-guard-DKS3Bjiu.js → config-guard-DpwVMnwc.js} +3 -3
  74. package/dist/{config-guard-C5v1W26E.js → config-guard-ahuxxM-z.js} +15 -15
  75. package/dist/{config-validation-DsiQ4Ig0.js → config-validation-C7b6auM4.js} +2 -2
  76. package/dist/{config-validation-BKR2V3xN.js → config-validation-CanHLJ8X.js} +2 -2
  77. package/dist/{configure-JCyEZ5Fd.js → configure-BfCm4pl9.js} +17 -17
  78. package/dist/{configure-B7kIEfSP.js → configure-CuFhFIhR.js} +12 -12
  79. package/dist/{connection-auth-DoyMyMj7.js → connection-auth-Uq6_taV8.js} +1 -1
  80. package/dist/{connection-auth-_DWNXAV0.js → connection-auth-tv7E7e3R.js} +1 -1
  81. package/dist/{cron-cli-_jyWnQpP.js → cron-cli-DeTrhoKQ.js} +4 -4
  82. package/dist/{cron-cli-BS6spxkO.js → cron-cli-gWy7x5uI.js} +8 -8
  83. package/dist/{daemon-cli-BtKr1oQT.js → daemon-cli-DhF5rs_a.js} +7 -7
  84. package/dist/{daemon-cli-Be1vZo5e.js → daemon-cli-qKu_98e8.js} +12 -12
  85. package/dist/daemon-cli.js +12 -0
  86. package/dist/{daemon-install-DL5tMI7L.js → daemon-install-C3mTkJtr.js} +13 -13
  87. package/dist/{daemon-install-CAzURxv-.js → daemon-install-DVTKAzGi.js} +6 -6
  88. package/dist/{deliver-kqa-lgew.js → deliver-BBYhSw-z.js} +4 -4
  89. package/dist/{deliver-DZveowc3.js → deliver-D2j_qrPV.js} +18 -18
  90. package/dist/{deliver-CODiAnbo.js → deliver-DIDeQhCe.js} +1 -1
  91. package/dist/{deliver-C1juSywI.js → deliver-DvOSE6dK.js} +3 -3
  92. package/dist/deliver-runtime-B_vg9NSW.js +14 -0
  93. package/dist/{deliver-runtime-C6qB5ZVb.js → deliver-runtime-C0Wbfid0.js} +4 -4
  94. package/dist/{deliver-runtime-BsHI7dwo.js → deliver-runtime-DT4PMHlo.js} +9 -9
  95. package/dist/{deliver-runtime-D7Dud7B5.js → deliver-runtime-JgwxHubA.js} +2 -2
  96. package/dist/{deps-CLLCZe9I.js → deps-Y7mMaM9D.js} +1 -1
  97. package/dist/{deps-send-telegram.runtime-JtJ6ati5.js → deps-send-telegram.runtime-BIAuW6ip.js} +6 -6
  98. package/dist/deps-send-telegram.runtime-BMbKZ8Sj.js +19 -0
  99. package/dist/{deps-send-telegram.runtime-oajdQ06q.js → deps-send-telegram.runtime-C3q7fofC.js} +13 -13
  100. package/dist/{diagnostic-BXoxaU4W.js → diagnostic-Bbd8nFqt.js} +1 -1
  101. package/dist/{diagnostic-Booor3n0.js → diagnostic-BgC5_P-R.js} +1 -1
  102. package/dist/{diagnostic-BpFQ24Me.js → diagnostic-DGCbVfrY.js} +1 -1
  103. package/dist/{diagnostic-xdfzrdaY.js → diagnostic-G-xDRRdG.js} +2 -2
  104. package/dist/{diagnostics-DU5X6chC.js → diagnostics-C-VDJRVJ.js} +5 -5
  105. package/dist/{directory-cli-BuAiyESe.js → directory-cli-C1uCNh_L.js} +2 -2
  106. package/dist/{directory-cli-CjmZMS9e.js → directory-cli-kNyyepbw.js} +6 -6
  107. package/dist/{dns-cli-VjcjpJaH.js → dns-cli-Bl34g-49.js} +6 -6
  108. package/dist/{dns-cli-C3NikSdN.js → dns-cli-C4NOhwp6.js} +2 -2
  109. package/dist/{docs-cli-Dnr7p-iL.js → docs-cli-Cg3LkXnq.js} +4 -4
  110. package/dist/{doctor-completion-Cd5Nl3yQ.js → doctor-completion-BMhNBLlZ.js} +2 -2
  111. package/dist/{doctor-completion-Cr_mm4ZQ.js → doctor-completion-Bhzly0Le.js} +1 -1
  112. package/dist/{doctor-config-flow-CACQt_iy.js → doctor-config-flow-BaPH3aqI.js} +6 -6
  113. package/dist/{doctor-config-flow-Cte0zkRl.js → doctor-config-flow-BcXzOsQs.js} +13 -13
  114. package/dist/{enable-Cf9rGPag.js → enable-DevEDLTp.js} +1 -1
  115. package/dist/{enable-DW4lKjBU.js → enable-yZG-yiAJ.js} +1 -1
  116. package/dist/entry.js +2 -2
  117. package/dist/{env-DGWeP3w5.js → env-Bhn5CLil.js} +1 -1
  118. package/dist/{errors-B27FlGCB.js → errors-Bqf8bSUd.js} +1 -1
  119. package/dist/{exec-approvals-allowlist-CWZm-Xjt.js → exec-approvals-allowlist-BSEL6MhC.js} +1 -1
  120. package/dist/{exec-approvals-allowlist-DnjttVeB.js → exec-approvals-allowlist-Be63T3oT.js} +1 -1
  121. package/dist/{exec-approvals-cli-BHD1xE9Q.js → exec-approvals-cli-BXOXf0aV.js} +5 -5
  122. package/dist/{exec-approvals-cli-BRCUDW6B.js → exec-approvals-cli-Ckca7X8L.js} +14 -14
  123. package/dist/{exec-safe-bin-runtime-policy-CObmLqq8.js → exec-safe-bin-runtime-policy-BnTNRx5O.js} +2 -2
  124. package/dist/{exec-safe-bin-runtime-policy-CjDG3QJD.js → exec-safe-bin-runtime-policy-DbbnAmrV.js} +2 -2
  125. package/dist/extensionAPI.js +9 -9
  126. package/dist/{fetch-aXWb4Ao5.js → fetch-BWClp-zV.js} +3 -3
  127. package/dist/{fetch-C-yIjbz-.js → fetch-DAiV9-bR.js} +1 -1
  128. package/dist/{fetch-3V1gxxYH.js → fetch-LN1gb6p0.js} +1 -1
  129. package/dist/{fetch-guard-DDQrBzBv.js → fetch-guard-Bd5oI7xu.js} +3 -3
  130. package/dist/{fetch-guard-Dsd8UoGA.js → fetch-guard-DGuF8Mhb.js} +1 -1
  131. package/dist/{fetch-guard-DkMZHPzY.js → fetch-guard-dTCN4rW8.js} +1 -1
  132. package/dist/{fetch-BXs0KCX9.js → fetch-hiM4UODI.js} +1 -1
  133. package/dist/{frontmatter-_kVsuvOa.js → frontmatter-CC95HXlE.js} +3 -3
  134. package/dist/{fs-safe-BLWbfoa6.js → fs-safe-B_UpcQBp.js} +34 -34
  135. package/dist/{fs-safe-DqIZh4BQ.js → fs-safe-hxxMXweE.js} +4 -4
  136. package/dist/{gateway-cli-BOZLG619.js → gateway-cli-X1ZtTIn1.js} +55 -55
  137. package/dist/{gateway-cli-C88jp3Aw.js → gateway-cli-nYAUoRqi.js} +99 -99
  138. package/dist/{gateway-install-token-BnQ74gB8.js → gateway-install-token-B7z4nya5.js} +4 -4
  139. package/dist/{gateway-install-token-qIxBiiV_.js → gateway-install-token-CVO9K6d2.js} +15 -15
  140. package/dist/{gateway-rpc-D5FI-w_h.js → gateway-rpc-ACgYuynD.js} +2 -2
  141. package/dist/{gateway-rpc-DZUx1OqN.js → gateway-rpc-DX5S8s8b.js} +2 -2
  142. package/dist/{github-copilot-token-DJKrUYl0.js → github-copilot-token-CLlAnyEf.js} +7 -7
  143. package/dist/{health-DhuzyE57.js → health-D22GmS6O.js} +4 -4
  144. package/dist/{health-DKId61cm.js → health-I2eelBJ0.js} +10 -10
  145. package/dist/{history-cli-BcwU3MKy.js → history-cli-D-sy-eCF.js} +25 -25
  146. package/dist/{history-cli-DPC2tW70.js → history-cli-HSiD9qOC.js} +11 -11
  147. package/dist/{hooks-cli-K9Olbeoq.js → hooks-cli-B8yce8aT.js} +46 -46
  148. package/dist/{hooks-cli-D4EdsaZd.js → hooks-cli-BpGVDC8n.js} +32 -32
  149. package/dist/{hooks-status-DFoUaWp1.js → hooks-status-0HInFKiT.js} +1 -1
  150. package/dist/{image-xmUgWF9P.js → image-B4HCDVUj.js} +3 -3
  151. package/dist/{image-DAEA1-oq.js → image-BUEhx-b4.js} +5 -5
  152. package/dist/{image-B-QmrXyQ.js → image-DHFliGoO.js} +4 -4
  153. package/dist/{image-Hryb3xjW.js → image-kqy5P4_2.js} +2 -2
  154. package/dist/{image-runtime-Bq4LW7no.js → image-runtime-8ygTiDaV.js} +3 -3
  155. package/dist/{image-runtime-EqNC780Y.js → image-runtime-BKnEMJR7.js} +7 -7
  156. package/dist/{image-runtime-CqQexlZf.js → image-runtime-BtQeLPdH.js} +2 -2
  157. package/dist/image-runtime-DYqTmna6.js +12 -0
  158. package/dist/index.js +47 -47
  159. package/dist/{inspect-3xM6J2Z_.js → inspect-0yj9c1e2.js} +9 -9
  160. package/dist/{inspect-5BGzxifc.js → inspect-CmvIDefh.js} +1 -1
  161. package/dist/{installs-Cg8kKBcv.js → installs-DPimnX51.js} +7 -7
  162. package/dist/{ipv4-DZ8ZOnQk.js → ipv4-DPsEPkzz.js} +1 -1
  163. package/dist/{ipv4-BllQnUqi.js → ipv4-DkllL_TQ.js} +1 -1
  164. package/dist/{issue-format-BnnZmmHz.js → issue-format-DbKknWy1.js} +1 -1
  165. package/dist/{issue-format-Dbw0ZKZU.js → issue-format-hszNX8Io.js} +1 -1
  166. package/dist/llm-slug-generator.js +26 -26
  167. package/dist/{local-roots-B0MExwb7.js → local-roots-BZvUgFKO.js} +1 -1
  168. package/dist/{local-roots-ysSrZ6CP.js → local-roots-CyRw91V8.js} +3 -3
  169. package/dist/{logger-3NSI7j4D.js → logger-BA9koAaC.js} +6 -6
  170. package/dist/{logging-CM1xI8yT.js → logging-4UnG2dJ0.js} +1 -1
  171. package/dist/{logging-B9OKCko2.js → logging-59CroxmQ.js} +2 -2
  172. package/dist/{logging-C7WfrX3j.js → logging-BHhuGbN8.js} +1 -1
  173. package/dist/{logs-cli-DogTg6BW.js → logs-cli-B3BYjCxR.js} +8 -8
  174. package/dist/{logs-cli-DEIVxAcb.js → logs-cli-CZ-nwWSh.js} +4 -4
  175. package/dist/{manager-CwuAu16U.js → manager-BLYILa5H.js} +14 -14
  176. package/dist/{manager-D4NBKxDJ.js → manager-BaDp-h4i.js} +23 -23
  177. package/dist/{manager-BTf5kl5K.js → manager-DF7UBoKp.js} +3 -3
  178. package/dist/{manager-CxuSPBL7.js → manager-DFiUW_Ha.js} +2 -2
  179. package/dist/{manager-runtime-BUGnXZoY.js → manager-runtime-BCkunkcv.js} +4 -4
  180. package/dist/{manager-runtime-DJeYdbHj.js → manager-runtime-CPUoaf4n.js} +3 -3
  181. package/dist/manager-runtime-DMIUcUdt.js +15 -0
  182. package/dist/{manager-runtime-CirDe6Yc.js → manager-runtime-DxOKojtv.js} +10 -10
  183. package/dist/{memory-qo2PyyGc.js → memory-adblmZ7U.js} +5 -5
  184. package/dist/{memory-cli-B3Wdf8cX.js → memory-cli-BLSGcKsi.js} +3 -3
  185. package/dist/{memory-cli-DhQM5b25.js → memory-cli-C5dGMHKl.js} +12 -12
  186. package/dist/{model-catalog-C6EpVMgn.js → model-catalog-BtBiWr2U.js} +3 -3
  187. package/dist/{model-catalog-C8EYz2dm.js → model-catalog-DlYPcFqP.js} +3 -3
  188. package/dist/{model-picker-C_xmxZQw.js → model-picker-BZvJOgpa.js} +4 -4
  189. package/dist/{model-picker-93hk8EPQ.js → model-picker-BdabNhjk.js} +3 -3
  190. package/dist/{model-selection-BrTh8v9L.js → model-selection-CvKAj7nY.js} +102 -90
  191. package/dist/{model-selection-CftqhKNS.js → model-selection-DU-DNNW7.js} +63 -51
  192. package/dist/{model-selection-CS_9NrTE.js → model-selection-PlvJPOJ9.js} +12 -0
  193. package/dist/{models-Bol0QzVD.js → models-BouiRS5o.js} +12 -12
  194. package/dist/{models-cli-kMKsts8T.js → models-cli-CXzAbJ5D.js} +38 -38
  195. package/dist/{models-cli-DrLVOzUK.js → models-cli-KmmlfVy4.js} +50 -50
  196. package/dist/{models-config-B9HFg-NI.js → models-config-Cg9vUkxp.js} +1 -1
  197. package/dist/{models-config-yo6Auh6b.js → models-config-xqqHZFkg.js} +7 -7
  198. package/dist/{npm-pack-install-BNF-iM37.js → npm-pack-install-BlYIroXs.js} +54 -54
  199. package/dist/{npm-resolution-BO6SGdLs.js → npm-resolution-Bn1LgQFf.js} +2 -2
  200. package/dist/{npm-resolution-Dc-9fZOQ.js → npm-resolution-BtQxqgSa.js} +4 -4
  201. package/dist/{ollama-setup-Bhphyk4x.js → ollama-setup-C0EKmICU.js} +2 -2
  202. package/dist/{ollama-setup-DrJZug5K.js → ollama-setup-bTrV2RqI.js} +2 -2
  203. package/dist/{onboard-DoZZHyp1.js → onboard-Cve2lx8Q.js} +7 -7
  204. package/dist/{onboard-C88F-Y13.js → onboard-DUlLUrme.js} +7 -7
  205. package/dist/{onboard-channels-D8cEPFj3.js → onboard-channels-C3Fr6P4C.js} +9 -9
  206. package/dist/{onboard-channels-CKg0sLah.js → onboard-channels-D9mYZZtF.js} +5 -5
  207. package/dist/{onboard-custom-CaacLXtg.js → onboard-custom-C3vRGHsc.js} +4 -4
  208. package/dist/{onboard-custom-CIE9LcFk.js → onboard-custom-W8wE0yre.js} +4 -4
  209. package/dist/{onboard-helpers-xbYuvLLu.js → onboard-helpers-C-tI0ORj.js} +8 -8
  210. package/dist/{onboard-helpers-B1g1N_R7.js → onboard-helpers-Dt3bHndL.js} +3 -3
  211. package/dist/{onboard-hooks-D2rz49Q8.js → onboard-hooks-BKK6FS_-.js} +4 -4
  212. package/dist/{onboard-remote-irbTZQ8D.js → onboard-remote-CnGUK4s9.js} +4 -4
  213. package/dist/{onboard-remote-DR0hiGln.js → onboard-remote-DUkT-5yX.js} +4 -4
  214. package/dist/{onboarding-CuMZLiwZ.js → onboarding-B47HB8MD.js} +14 -14
  215. package/dist/{onboarding-CGx-wanB.js → onboarding-Dj9u7X0q.js} +15 -15
  216. package/dist/{onboarding.finalize-4_qfJYB5.js → onboarding.finalize-C-pR8_RE.js} +52 -52
  217. package/dist/{onboarding.finalize-CT3LVJ86.js → onboarding.finalize-JG_vd8zz.js} +40 -40
  218. package/dist/{onboarding.gateway-config-BLn29YYn.js → onboarding.gateway-config-CllJn7mn.js} +11 -11
  219. package/dist/{onboarding.gateway-config-DBTVHN2e.js → onboarding.gateway-config-JJXnuJ29.js} +7 -7
  220. package/dist/{onboarding.secret-input-DSFE38xZ.js → onboarding.secret-input-Bmjiy8T4.js} +1 -1
  221. package/dist/{onboarding.secret-input-BI289pRS.js → onboarding.secret-input-DkAfkFVQ.js} +1 -1
  222. package/dist/{openai-codex-model-default-CvwSM6Hd.js → openai-codex-model-default-5GXfiA_D.js} +3 -3
  223. package/dist/{openai-codex-model-default-CNxuNGcG.js → openai-codex-model-default-BYIJH6vZ.js} +2 -2
  224. package/dist/{openai-model-default-BJAcSXF0.js → openai-model-default-DvF5RAGp.js} +2 -2
  225. package/dist/{openai-model-default-CHxnrkRk.js → openai-model-default-GgDZhvmV.js} +2 -2
  226. package/dist/{openclaw-root-B6cGCDGF.js → openclaw-root-DbbVtnL2.js} +8 -8
  227. package/dist/{outbound-send-deps-BfOiemtW.js → outbound-send-deps-ClezclXA.js} +1 -1
  228. package/dist/{outbound-send-deps-Ds9befoI.js → outbound-send-deps-DBVk1Se1.js} +1 -1
  229. package/dist/{pairing-cli-KQ0Gil81.js → pairing-cli-CYBWOxx2.js} +6 -6
  230. package/dist/{pairing-cli-DopHOckK.js → pairing-cli-rMFQX66I.js} +2 -2
  231. package/dist/{pairing-store-4ajjzoih.js → pairing-store-BeeSJLPy.js} +1 -1
  232. package/dist/{pairing-store-CGmLbKax.js → pairing-store-Dr8a_B6n.js} +1 -1
  233. package/dist/{path-alias-guards-DJQOJx9a.js → path-alias-guards-DBFU_Tqb.js} +3 -3
  234. package/dist/{path-safety-9zsLqD77.js → path-safety-CfDs7X4h.js} +1 -1
  235. package/dist/{paths-E3CbCLxE.js → paths-Bg_l6kdG.js} +7 -7
  236. package/dist/{paths-DHNo4U8q.js → paths-L_hqOE5A.js} +5 -5
  237. package/dist/{pi-embedded-Lk0-wBVJ.js → pi-embedded-XOWzcU4v.js} +29 -20
  238. package/dist/{pi-embedded-LWGrAjSd.js → pi-embedded-cW_upWzb.js} +125 -116
  239. package/dist/{pi-model-discovery-CocLN2I9.js → pi-model-discovery-7pqY2wzA.js} +1 -1
  240. package/dist/{pi-model-discovery-BfCU9u9n.js → pi-model-discovery-BOkx-R2x.js} +7 -7
  241. package/dist/{pi-model-discovery-DmsAxxli.js → pi-model-discovery-DFqVpswz.js} +1 -1
  242. package/dist/{pi-model-discovery-BHnYQuJe.js → pi-model-discovery-DQwd8eWZ.js} +1 -1
  243. package/dist/{pi-model-discovery-runtime-BB9O_19w.js → pi-model-discovery-runtime-BKwEjlY0.js} +6 -6
  244. package/dist/{pi-model-discovery-runtime-BM8W_E1B.js → pi-model-discovery-runtime-C_LjYTlu.js} +2 -2
  245. package/dist/{pi-model-discovery-runtime-DlSVUM4a.js → pi-model-discovery-runtime-DkNoyqZg.js} +2 -2
  246. package/dist/pi-model-discovery-runtime-uYSpi8_B.js +12 -0
  247. package/dist/{pi-tools.before-tool-call.runtime-YTBO0yhV.js → pi-tools.before-tool-call.runtime-CXBOjjBj.js} +2 -2
  248. package/dist/{pi-tools.before-tool-call.runtime-CbaZrfQj.js → pi-tools.before-tool-call.runtime-DfImcnUe.js} +2 -2
  249. package/dist/{pi-tools.before-tool-call.runtime-CZVSauJE.js → pi-tools.before-tool-call.runtime-gCJet3xa.js} +10 -10
  250. package/dist/{pi-tools.before-tool-call.runtime-yg3vl2rw.js → pi-tools.before-tool-call.runtime-mhmSMpSo.js} +6 -6
  251. package/dist/{pi-tools.policy-B8nfuYT3.js → pi-tools.policy-D6UiE_gG.js} +2 -2
  252. package/dist/{plugin-auto-enable-POm3kIKs.js → plugin-auto-enable-BYUBkHiG.js} +2 -2
  253. package/dist/{plugin-auto-enable-DKIdWd3o.js → plugin-auto-enable-fQ-uJndS.js} +1 -1
  254. package/dist/{plugin-install-plan-BhKQJYE9.js → plugin-install-plan-Dc8oPEOd.js} +1 -1
  255. package/dist/{plugin-registry-DMXyfhbZ.js → plugin-registry-B2Xg5cIZ.js} +2 -2
  256. package/dist/{plugin-registry-BLdJsHwq.js → plugin-registry-Cvr7jdxU.js} +3 -3
  257. package/dist/plugin-sdk/compat.js +12 -0
  258. package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +12 -0
  259. package/dist/plugin-sdk/config/zod-schema.agents.d.ts +12 -0
  260. package/dist/plugin-sdk/config/zod-schema.d.ts +12 -0
  261. package/dist/plugin-sdk/index.js +12 -0
  262. package/dist/plugin-sdk/telegram.js +12 -0
  263. package/dist/{plugins-cli-Mefrnu70.js → plugins-cli-B65JT-pj.js} +33 -33
  264. package/dist/{plugins-cli-Ckbdtcng.js → plugins-cli-Crxf_ppT.js} +49 -49
  265. package/dist/{ports-DoRPPhz1.js → ports-BKzkl2Nt.js} +2 -2
  266. package/dist/{ports-BgVXI3Be.js → ports-C6HO6zSD.js} +2 -2
  267. package/dist/{probe-auth-ClUveUpg.js → probe-auth-BhN3PhE1.js} +3 -3
  268. package/dist/{probe-auth-Dzz0uFIe.js → probe-auth-CBWjkGhd.js} +2 -2
  269. package/dist/{program-D992fHH9.js → program-Da383ALS.js} +38 -38
  270. package/dist/{program-context-CKwgiqKA.js → program-context-BCpzWqA0.js} +35 -35
  271. package/dist/{prompt-select-styled-8JBrpJWx.js → prompt-select-styled-CX2-E6Ws.js} +17 -17
  272. package/dist/{prompt-select-styled-Dj1guzwc.js → prompt-select-styled-DJXH3Ik2.js} +28 -28
  273. package/dist/{provider-auth-helpers-YFTUV89g.js → provider-auth-helpers-3K1-dUeB.js} +5 -5
  274. package/dist/{provider-auth-helpers-Bt0HFLar.js → provider-auth-helpers-CuFWByxX.js} +5 -5
  275. package/dist/{proxy-fetch-CuFiQFud.js → proxy-fetch-Spr_UMJ3.js} +1 -1
  276. package/dist/{qmd-manager-oxRfJV8J.js → qmd-manager-D5-UET4f.js} +7 -7
  277. package/dist/{qmd-manager-nnyEgnFp.js → qmd-manager-ZIMvAkMU.js} +20 -20
  278. package/dist/{query-expansion-CcJjpvgi.js → query-expansion-Czp8kqRG.js} +4 -4
  279. package/dist/{read-only-account-inspect-CWAyFOOe.js → read-only-account-inspect-sMyuBIwr.js} +3 -3
  280. package/dist/{redact-snapshot-CHOdPFBK.js → redact-snapshot-BhnwKwS_.js} +1 -1
  281. package/dist/{redact-snapshot-D2yDzyhm.js → redact-snapshot-esDYkCHN.js} +1 -1
  282. package/dist/{register.agent-DJ14KYnV.js → register.agent-C4BazelG.js} +65 -65
  283. package/dist/{register.agent-CDre9OAT.js → register.agent-F4PYdKIV.js} +49 -49
  284. package/dist/{register.backup-D0G-W10-.js → register.backup-DQtt76Pg.js} +1 -1
  285. package/dist/{register.backup-BDdG0ZZu.js → register.backup-DtwFlodN.js} +22 -22
  286. package/dist/register.configure-DuYlUfX0.js +117 -0
  287. package/dist/{register.configure-MZ2oMFlt.js → register.configure-uivoHsx6.js} +53 -53
  288. package/dist/{register.maintenance-8vlFCAL5.js → register.maintenance-CncGXJcn.js} +46 -46
  289. package/dist/{register.maintenance-CB5u00DB.js → register.maintenance-D1NhSg9p.js} +59 -59
  290. package/dist/{register.message-LPqeYXRd.js → register.message-CkSYWM9C.js} +33 -33
  291. package/dist/{register.message-B3Iqneie.js → register.message-pasYrjfU.js} +42 -42
  292. package/dist/{register.onboard-DHr-W74h.js → register.onboard-9kXyD5aU.js} +13 -13
  293. package/dist/{register.onboard-CTTwVj8d.js → register.onboard-CgARW4Sc.js} +8 -8
  294. package/dist/{register.setup-C3kh_TbN.js → register.setup-BtmboGlC.js} +16 -16
  295. package/dist/{register.setup-Dqfw5uEI.js → register.setup-D5oaiM2k.js} +8 -8
  296. package/dist/{register.status-health-sessions-QpojEQ9d.js → register.status-health-sessions-BaiIULJw.js} +52 -52
  297. package/dist/{register.status-health-sessions-DRKMAlro.js → register.status-health-sessions-QJWioUTw.js} +40 -40
  298. package/dist/{register.subclis-iSDvGATC.js → register.subclis-BJi9Wx12.js} +23 -23
  299. package/dist/{reply-Bf21Hr1C.js → reply-9_WxyHfF.js} +126 -117
  300. package/dist/{run-log-BqSHMnAd.js → run-log-D3XR2BLm.js} +13 -13
  301. package/dist/{run-log-CjYAiVe8.js → run-log-Q89iJgvA.js} +1 -1
  302. package/dist/{run-main-qumIkFEs.js → run-main--Va-DnXT.js} +51 -51
  303. package/dist/{runtime-B8hPSCRB.js → runtime-DpfmBWKQ.js} +2 -2
  304. package/dist/{runtime-CCYCyl1P.js → runtime-hakwcpul.js} +3 -3
  305. package/dist/{runtime-web-tools-gpT7ZniL.js → runtime-web-tools-BZcX_oAn.js} +2 -2
  306. package/dist/{runtime-web-tools-CRJ-iI9c.js → runtime-web-tools-CWlvqBpH.js} +2 -2
  307. package/dist/{sandbox-cli-cb2ui3Pc.js → sandbox-cli-BLBFMAgV.js} +1 -1
  308. package/dist/{sandbox-cli-BwX10ANz.js → sandbox-cli-CWgKwadY.js} +5 -5
  309. package/dist/{search-manager-CjC4g5lJ.js → search-manager-Bj4BRNiF.js} +1 -1
  310. package/dist/{secret-file-BaxohaZh.js → secret-file-9CYwZJSc.js} +1 -1
  311. package/dist/{secret-file-DcuJtucq.js → secret-file-BCAZa3Jw.js} +1 -1
  312. package/dist/{secrets-cli-BSv3yeQa.js → secrets-cli-B-LFbTtv.js} +10 -10
  313. package/dist/{secrets-cli-CYAGIMSW.js → secrets-cli-DOf7NbbB.js} +6 -6
  314. package/dist/{security-cli-Dk67sFGR.js → security-cli-B2iw16q9.js} +21 -21
  315. package/dist/{security-cli-CPjzUYo3.js → security-cli-DbRGAdz_.js} +10 -10
  316. package/dist/{send-DAr4cmzw.js → send-BeUTtwRC.js} +11 -11
  317. package/dist/{send-CP84wq9N.js → send-CU6MWFln.js} +28 -28
  318. package/dist/{send-CeA0VP-c.js → send-TlYsQWZw.js} +4 -4
  319. package/dist/{service-Cfk6VWeP.js → service-kXk8K3mn.js} +13 -13
  320. package/dist/{session-utils-G8TPVqDh.js → session-utils-5dTolcMA.js} +3 -3
  321. package/dist/{sessions-DghMB51-.js → sessions-CNRe8TkE.js} +2 -2
  322. package/dist/{shared-C6ksnJEO.js → shared-C_hG8rgh.js} +1 -1
  323. package/dist/{skill-scanner-B8J7JGHG.js → skill-scanner-djTgcKux.js} +7 -7
  324. package/dist/{skills-Mq1GCIyL.js → skills-D7xInzjY.js} +2 -2
  325. package/dist/{sqlite-DMwlw8gY.js → sqlite-BXiqNpZr.js} +14 -14
  326. package/dist/{status-BkoerIVk.js → status-BWvpeDQr.js} +1 -1
  327. package/dist/{status-DN1kwt_G.js → status-CjUDl8qO.js} +22 -22
  328. package/dist/{status-CLNIJHL1.js → status-DdFy329n.js} +13 -13
  329. package/dist/{status-C2lZy-Fn.js → status-DlhZNZRA.js} +1 -1
  330. package/dist/{status.update-CVnOl9T7.js → status.update-BC8_WNUD.js} +1 -1
  331. package/dist/{status.update-B7WMKBpu.js → status.update-s77gig85.js} +3 -3
  332. package/dist/subagent-registry-runtime-CrS70feQ.js +28 -0
  333. package/dist/{subagent-registry-runtime-BejBDRIf.js → subagent-registry-runtime-D68_xG8d.js} +9 -9
  334. package/dist/{subagent-registry-runtime-sAeDnTD0.js → subagent-registry-runtime-D8jeUc09.js} +31 -31
  335. package/dist/{subagent-registry-runtime-C2amjBau.js → subagent-registry-runtime-DLTR5fch.js} +39 -39
  336. package/dist/{subsystem-Br253I8q.js → subsystem-CDH9S_yW.js} +14 -14
  337. package/dist/{system-cli-C_xi1PG1.js → system-cli-CJfVDX21.js} +4 -4
  338. package/dist/{system-cli-CmjCyWeV.js → system-cli-CgYFKf5C.js} +8 -8
  339. package/dist/{systemd-linger-8q_0YAMa.js → systemd-linger-CQCpuIm8.js} +1 -1
  340. package/dist/{systemd-B5QGtWUt.js → systemd-lqHMKF03.js} +11 -11
  341. package/dist/{tailnet-BII1rF_F.js → tailnet-Dd530XEB.js} +1 -1
  342. package/dist/{tailnet-GA0Saj6K.js → tailnet-lUwvztzP.js} +1 -1
  343. package/dist/{update-cli-Cta7h1PN.js → update-cli-CTNv6NnW.js} +69 -69
  344. package/dist/{update-cli-DT51qYuH.js → update-cli-Ca6a5zyc.js} +49 -49
  345. package/dist/{update-B16VTBdW.js → update-lBwZcNEP.js} +2 -2
  346. package/dist/{update-runner-D0FkcfIv.js → update-runner-CSPTpzlG.js} +4 -4
  347. package/dist/{update-runner-Dk9ujIjY.js → update-runner-DgI58_4p.js} +16 -16
  348. package/dist/{webhooks-cli-DUi__sSq.js → webhooks-cli-D5ytuSnf.js} +1 -1
  349. package/dist/{webhooks-cli-fEwB1QWy.js → webhooks-cli-DGY-qrop.js} +5 -5
  350. package/dist/{workspace-DaDGuTlc.js → workspace-DY5PSKK1.js} +1 -1
  351. package/dist/{workspace-DRRA3YH5.js → workspace-DiYGwuGk.js} +20 -20
  352. package/dist/{writer-CBLUHPFY.js → writer-ChWOWmJt.js} +1 -1
  353. package/dist/{writer-DW7GwLNb.js → writer-Mpvw_WMM.js} +8 -8
  354. package/extensions/acpx/node_modules/.bin/acpx +3 -7
  355. package/extensions/diagnostics-otel/node_modules/.bin/acorn +3 -7
  356. package/extensions/diffs/node_modules/.bin/playwright-core +3 -7
  357. package/extensions/googlechat/node_modules/.bin/openclaw +17 -0
  358. package/extensions/hub/src/inbound.ts +16 -0
  359. package/extensions/matrix/node_modules/.bin/markdown-it +17 -0
  360. package/extensions/memory-core/node_modules/.bin/openclaw +17 -0
  361. package/extensions/memory-core/package.json +11 -0
  362. package/extensions/memory-lancedb/node_modules/.bin/arrow2csv +3 -7
  363. package/extensions/memory-lancedb/node_modules/.bin/openai +3 -7
  364. package/extensions/tlon/node_modules/.bin/tlon +17 -0
  365. package/package.json +2 -2
  366. package/dist/compact.runtime-B3XexHCz.js +0 -28
  367. package/dist/compact.runtime-BTNt86Cy.js +0 -66
  368. package/dist/deliver-runtime-DP7LMYJz.js +0 -14
  369. package/dist/deps-send-telegram.runtime-CNQMFHHL.js +0 -19
  370. package/dist/image-runtime-BKlmPwGz.js +0 -12
  371. package/dist/manager-runtime-BIERqG19.js +0 -15
  372. package/dist/pi-model-discovery-runtime-BRBH9-81.js +0 -12
  373. package/dist/register.configure-B6etuAnH.js +0 -117
  374. package/dist/subagent-registry-runtime-BBvfeFxp.js +0 -28
  375. package/extensions/google-antigravity-auth/node_modules/.bin/openclaw +0 -21
  376. package/extensions/memory-core/node_modules/.bin/nlc +0 -21
  377. package/extensions/memory-core/node_modules/.bin/node-llama-cpp +0 -21
  378. package/extensions/memory-core/node_modules/.bin/tsc +0 -21
  379. package/extensions/memory-core/node_modules/.bin/tsserver +0 -21
@@ -1,11 +1,11 @@
1
1
  import "./paths-BJV7vkaX.js";
2
2
  import { A as theme, O as colorize, k as isRich$1, p as defaultRuntime } from "./subsystem-Dk5WUhC2.js";
3
3
  import { y as shortenHomePath } from "./utils-CGU7Q77u.js";
4
- import { A as resolveApiKeyForProvider, Ca as resolveSecretRefString, Ct as resolveAuthProfileEligibility, D as getCustomProviderApiKey, Do as parseDurationMs, Ha as createConfigIO, M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, P as resolveUsableCustomProviderApiKey, Tc as DEFAULT_PROVIDER, Wa as loadConfig, Xs as shouldEnableShellEnvFallback, Ya as readConfigFileSnapshotForWrite, Za as setRuntimeConfigSnapshot, _c as resolveAuthProfileDisplayLabel, c as modelKey, d as normalizeProviderId, f as parseModelRef, g as resolveDefaultModelForAgent, h as resolveConfiguredModelRef, ht as isNonSecretApiKeyMarker, i as findNormalizedProviderValue, ic as upsertAuthProfile, j as resolveAwsSdkEnvVarName, kt as resolveProfileUnusableUntilForDisplay, mc as resolveOpenClawAgentDir, pc as resolveAuthStorePathForDisplay, qs as getShellEnvAppliedKeys, r as buildModelAliasIndex, rc as setAuthProfileOrder, sc as ensureAuthProfileStore, tc as listProfilesForProvider, v as resolveModelRefFromString, wc as DEFAULT_MODEL, wt as resolveAuthProfileOrder } from "./model-selection-CftqhKNS.js";
5
- import { Dt as formatUsageWindowSummary, K as runEmbeddedPiAgent, Ot as resolveUsageProviderId, Tt as loadProviderUsageSummary, c as buildAuthHealthSummary, l as formatRemainingShort, o as maskApiKey, s as DEFAULT_OAUTH_WARN_MS, sn as describeFailoverError, xr as resolveModelWithRegistry } from "./reply-Bf21Hr1C.js";
6
- import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Dv5h0qQE.js";
4
+ import { A as resolveApiKeyForProvider, Ca as resolveSecretRefString, Ct as resolveAuthProfileEligibility, D as getCustomProviderApiKey, Do as parseDurationMs, Ha as createConfigIO, M as resolveEnvApiKey, O as hasUsableCustomProviderApiKey, P as resolveUsableCustomProviderApiKey, Tc as DEFAULT_PROVIDER, Wa as loadConfig, Xs as shouldEnableShellEnvFallback, Ya as readConfigFileSnapshotForWrite, Za as setRuntimeConfigSnapshot, _c as resolveAuthProfileDisplayLabel, c as modelKey, d as normalizeProviderId, f as parseModelRef, g as resolveDefaultModelForAgent, h as resolveConfiguredModelRef, ht as isNonSecretApiKeyMarker, i as findNormalizedProviderValue, ic as upsertAuthProfile, j as resolveAwsSdkEnvVarName, kt as resolveProfileUnusableUntilForDisplay, mc as resolveOpenClawAgentDir, pc as resolveAuthStorePathForDisplay, qs as getShellEnvAppliedKeys, r as buildModelAliasIndex, rc as setAuthProfileOrder, sc as ensureAuthProfileStore, tc as listProfilesForProvider, v as resolveModelRefFromString, wc as DEFAULT_MODEL, wt as resolveAuthProfileOrder } from "./model-selection-DU-DNNW7.js";
5
+ import { Dt as formatUsageWindowSummary, K as runEmbeddedPiAgent, Ot as resolveUsageProviderId, Tt as loadProviderUsageSummary, c as buildAuthHealthSummary, l as formatRemainingShort, o as maskApiKey, s as DEFAULT_OAUTH_WARN_MS, sn as describeFailoverError, xr as resolveModelWithRegistry } from "./reply-9_WxyHfF.js";
6
+ import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
7
7
  import { r as normalizeStringEntries } from "./string-normalization-B7Qb9jnK.js";
8
- import "./openclaw-root-B6cGCDGF.js";
8
+ import "./openclaw-root-DbbVtnL2.js";
9
9
  import "./logger-m0MK99MT.js";
10
10
  import "./exec-B8ip-O6u.js";
11
11
  import { i as coerceSecretRef, l as normalizeSecretInputString } from "./types.secrets-ZqKzSyNC.js";
@@ -15,74 +15,74 @@ import "./boolean-CJxfhBkG.js";
15
15
  import "./env-6my-UEm4.js";
16
16
  import "./env-overrides-CSdE_DWV.js";
17
17
  import "./registry-BKJyEPHE.js";
18
- import "./skills-Mq1GCIyL.js";
18
+ import "./skills-D7xInzjY.js";
19
19
  import "./frontmatter-DTFXPyoL.js";
20
- import "./path-alias-guards-DJQOJx9a.js";
20
+ import "./path-alias-guards-DBFU_Tqb.js";
21
21
  import "./plugins-Delv1GbW.js";
22
22
  import { i as resolveSessionTranscriptPath, s as resolveSessionTranscriptsDirForAgent } from "./paths-DHrunYJK.js";
23
23
  import "./chat-envelope-CKaJSmSH.js";
24
- import "./audio-transcription-runner-Uz2dTIDx.js";
25
- import "./image-DAEA1-oq.js";
26
- import "./models-config-yo6Auh6b.js";
27
- import "./fetch-guard-Dsd8UoGA.js";
28
- import "./api-key-rotation-Cyf-Q4MB.js";
29
- import "./fetch-C-yIjbz-.js";
30
- import "./errors-B27FlGCB.js";
31
- import "./local-roots-B0MExwb7.js";
32
- import { n as loadModelCatalog } from "./model-catalog-C6EpVMgn.js";
24
+ import "./audio-transcription-runner-B02iDYTW.js";
25
+ import "./image-BUEhx-b4.js";
26
+ import "./models-config-xqqHZFkg.js";
27
+ import "./fetch-guard-DGuF8Mhb.js";
28
+ import "./api-key-rotation-DeP9Nazr.js";
29
+ import "./fetch-DAiV9-bR.js";
30
+ import "./errors-Bqf8bSUd.js";
31
+ import "./local-roots-BZvUgFKO.js";
32
+ import { n as loadModelCatalog } from "./model-catalog-BtBiWr2U.js";
33
33
  import "./proxy-fetch-Cbsa1-1O.js";
34
- import "./deliver-kqa-lgew.js";
34
+ import "./deliver-BBYhSw-z.js";
35
35
  import "./commands-CH9PY2Dm.js";
36
- import "./chunk-I6GfHIkA.js";
37
- import "./call-CKFLqNkw.js";
38
- import "./tailnet-GA0Saj6K.js";
39
- import "./read-only-account-inspect-CWAyFOOe.js";
40
- import "./send-DAr4cmzw.js";
41
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CocLN2I9.js";
36
+ import "./chunk-D4AO1AEe.js";
37
+ import "./call-7be5mSn_.js";
38
+ import "./tailnet-lUwvztzP.js";
39
+ import "./read-only-account-inspect-sMyuBIwr.js";
40
+ import "./send-BeUTtwRC.js";
41
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-7pqY2wzA.js";
42
42
  import "./delivery-queue-BjDC-rSc.js";
43
- import "./diagnostic-Booor3n0.js";
44
- import "./exec-approvals-allowlist-CWZm-Xjt.js";
45
- import "./exec-safe-bin-runtime-policy-CjDG3QJD.js";
46
- import "./fs-safe-BLWbfoa6.js";
43
+ import "./diagnostic-BgC5_P-R.js";
44
+ import "./exec-approvals-allowlist-BSEL6MhC.js";
45
+ import "./exec-safe-bin-runtime-policy-DbbnAmrV.js";
46
+ import "./fs-safe-B_UpcQBp.js";
47
47
  import "./format-relative-CsSUDXfJ.js";
48
- import "./logging-B9OKCko2.js";
49
- import "./runtime-web-tools-gpT7ZniL.js";
50
- import "./runtime-CCYCyl1P.js";
48
+ import "./logging-59CroxmQ.js";
49
+ import "./runtime-web-tools-BZcX_oAn.js";
50
+ import "./runtime-hakwcpul.js";
51
51
  import "./stagger-BtegmH1U.js";
52
- import "./channel-selection-CrnnQqyM.js";
53
- import "./plugin-auto-enable-POm3kIKs.js";
54
- import "./writer-DW7GwLNb.js";
55
- import "./pairing-store-CGmLbKax.js";
52
+ import "./channel-selection-Cz7kZ_dd.js";
53
+ import "./plugin-auto-enable-BYUBkHiG.js";
54
+ import "./writer-Mpvw_WMM.js";
55
+ import "./pairing-store-Dr8a_B6n.js";
56
56
  import "./session-cost-usage-1EN6nQFQ.js";
57
57
  import "./fetch-CLE5aXgx.js";
58
- import "./sqlite-DMwlw8gY.js";
58
+ import "./sqlite-BXiqNpZr.js";
59
59
  import "./store-BYAXpd4r.js";
60
- import "./connection-auth-_DWNXAV0.js";
61
- import "./memory-qo2PyyGc.js";
62
- import "./manager-D4NBKxDJ.js";
60
+ import "./connection-auth-tv7E7e3R.js";
61
+ import "./memory-adblmZ7U.js";
62
+ import "./manager-BaDp-h4i.js";
63
63
  import { t as formatDocsLink } from "./links-BM5olEmW.js";
64
64
  import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli-utils-B1CUwwWQ.js";
65
- import { i as getModelsCommandSecretTargetIds, o as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-DXU9DFeM.js";
65
+ import { i as getModelsCommandSecretTargetIds, o as resolveCommandSecretRefsViaGateway } from "./command-secret-targets-BQ5lbER9.js";
66
66
  import "./help-format-CVafmYlm.js";
67
67
  import { r as withProgressTotals } from "./progress-DVG93Lop.js";
68
- import "./memory-cli-DhQM5b25.js";
68
+ import "./memory-cli-C5dGMHKl.js";
69
69
  import "./provider-env-vars-CyHs_bH9.js";
70
70
  import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Dc8jJv7n.js";
71
71
  import "./note-BiaAdUTc.js";
72
72
  import { t as createClackPrompter } from "./clack-prompter-CGBSivpQ.js";
73
- import "./issue-format-Dbw0ZKZU.js";
74
- import { u as openUrl } from "./onboard-helpers-xbYuvLLu.js";
73
+ import "./issue-format-hszNX8Io.js";
74
+ import { u as openUrl } from "./onboard-helpers-C-tI0ORj.js";
75
75
  import { n as renderTable, t as getTerminalTableWidth } from "./table-ByNbkdzT.js";
76
76
  import { t as inferParamBFromIdOrName } from "./model-param-b-ZEeJbsZk.js";
77
77
  import { n as redactSecrets } from "./format-V-MeeFrY.js";
78
- import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f as resolveModelKeysFromEntries, i as ensureFlagCompatibility, l as mergePrimaryFallbackConfig, m as updateConfig, n as applyOpenAICodexModelDefault, o as formatTokenK, p as resolveModelTarget, r as applyDefaultModelPrimaryUpdate, s as isLocalBaseUrl, t as OPENAI_CODEX_DEFAULT_MODEL, u as normalizeAlias } from "./openai-codex-model-default-CvwSM6Hd.js";
79
- import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Bzfws-T-.js";
78
+ import { a as formatMs, c as loadValidConfigOrThrow, d as resolveKnownAgentId, f as resolveModelKeysFromEntries, i as ensureFlagCompatibility, l as mergePrimaryFallbackConfig, m as updateConfig, n as applyOpenAICodexModelDefault, o as formatTokenK, p as resolveModelTarget, r as applyDefaultModelPrimaryUpdate, s as isLocalBaseUrl, t as OPENAI_CODEX_DEFAULT_MODEL, u as normalizeAlias } from "./openai-codex-model-default-5GXfiA_D.js";
79
+ import { Mt as writeOAuthCredentials, h as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-DeLPA2C5.js";
80
80
  import { t as isRemoteEnvironment } from "./oauth-env-B6Y28TeU.js";
81
- import { n as logConfigUpdated } from "./logging-CM1xI8yT.js";
82
- import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-YFTUV89g.js";
81
+ import { n as logConfigUpdated } from "./logging-4UnG2dJ0.js";
82
+ import { a as loginOpenAICodexOAuth, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-3K1-dUeB.js";
83
83
  import "./oauth-tls-preflight-QW7NJxrV.js";
84
84
  import path from "node:path";
85
- import fs from "node:fs/promises";
85
+ import fsPromises from "node:fs/promises";
86
86
  import crypto from "node:crypto";
87
87
  import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
88
88
  import { Type } from "@sinclair/typebox";
@@ -1049,8 +1049,8 @@ function printModelTable(rows, runtime, opts = {}) {
1049
1049
  //#region src/commands/models/list.list-command.ts
1050
1050
  async function modelsListCommand(opts, runtime) {
1051
1051
  ensureFlagCompatibility(opts);
1052
- const { ensureAuthProfileStore } = await import("./model-selection-CftqhKNS.js").then((n) => n.St);
1053
- const { ensureOpenClawModelsJson } = await import("./models-config-yo6Auh6b.js").then((n) => n.n);
1052
+ const { ensureAuthProfileStore } = await import("./model-selection-DU-DNNW7.js").then((n) => n.St);
1053
+ const { ensureOpenClawModelsJson } = await import("./models-config-xqqHZFkg.js").then((n) => n.n);
1054
1054
  const { sourceConfig, resolvedConfig: cfg } = await loadModelsConfigWithSource({
1055
1055
  commandName: "models list",
1056
1056
  runtime
@@ -1465,7 +1465,7 @@ async function probeTarget(params) {
1465
1465
  };
1466
1466
  const sessionId = `probe-${target.provider}-${crypto.randomUUID()}`;
1467
1467
  const sessionFile = resolveSessionTranscriptPath(sessionId, agentId);
1468
- await fs.mkdir(sessionDir, { recursive: true });
1468
+ await fsPromises.mkdir(sessionDir, { recursive: true });
1469
1469
  const start = Date.now();
1470
1470
  try {
1471
1471
  await runEmbeddedPiAgent({
@@ -1520,7 +1520,7 @@ async function runTargetsWithConcurrency(params) {
1520
1520
  const agentDir = resolveOpenClawAgentDir();
1521
1521
  const workspaceDir = resolveAgentWorkspaceDir(cfg, agentId) ?? resolveDefaultAgentWorkspaceDir();
1522
1522
  const sessionDir = resolveSessionTranscriptsDirForAgent(agentId);
1523
- await fs.mkdir(workspaceDir, { recursive: true });
1523
+ await fsPromises.mkdir(workspaceDir, { recursive: true });
1524
1524
  let completed = 0;
1525
1525
  const results = Array.from({ length: targets.length });
1526
1526
  let cursor = 0;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
- import { Jo as resolveOpenClawAgentDir, Mi as loadConfig, Pi as projectConfigOntoRuntimeSourceSnapshot, To as createConfigRuntimeEnv, bs as normalizeProviders, hc as isNonSecretApiKeyMarker, ji as getRuntimeConfigSourceSnapshot, xs as resolveImplicitProviders } from "./auth-profiles-B5hyImOM.js";
2
+ import { Jo as resolveOpenClawAgentDir, Mi as loadConfig, Pi as projectConfigOntoRuntimeSourceSnapshot, To as createConfigRuntimeEnv, bs as normalizeProviders, hc as isNonSecretApiKeyMarker, ji as getRuntimeConfigSourceSnapshot, xs as resolveImplicitProviders } from "./auth-profiles-D9Wn945p.js";
3
3
  import { u as isRecord } from "./utils-qah6hFG0.js";
4
4
  import path from "node:path";
5
5
  import fs from "node:fs/promises";
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
2
  import { d as isRecord } from "./utils-CGU7Q77u.js";
3
- import { Ka as projectConfigOntoRuntimeSourceSnapshot, T as resolveImplicitProviders, Ua as getRuntimeConfigSourceSnapshot, Wa as loadConfig, ht as isNonSecretApiKeyMarker, mc as resolveOpenClawAgentDir, w as normalizeProviders, zs as createConfigRuntimeEnv } from "./model-selection-CftqhKNS.js";
3
+ import { Ka as projectConfigOntoRuntimeSourceSnapshot, T as resolveImplicitProviders, Ua as getRuntimeConfigSourceSnapshot, Wa as loadConfig, ht as isNonSecretApiKeyMarker, mc as resolveOpenClawAgentDir, w as normalizeProviders, zs as createConfigRuntimeEnv } from "./model-selection-DU-DNNW7.js";
4
4
  import path from "node:path";
5
- import fs from "node:fs/promises";
5
+ import fsPromises from "node:fs/promises";
6
6
  //#region src/agents/models-config.merge.ts
7
7
  function isPositiveFiniteTokenLimit(value) {
8
8
  return typeof value === "number" && Number.isFinite(value) && value > 0;
@@ -198,7 +198,7 @@ var models_config_exports = /* @__PURE__ */ __exportAll({ ensureOpenClawModelsJs
198
198
  const MODELS_JSON_WRITE_LOCKS = /* @__PURE__ */ new Map();
199
199
  async function readExistingModelsFile(pathname) {
200
200
  try {
201
- const raw = await fs.readFile(pathname, "utf8");
201
+ const raw = await fsPromises.readFile(pathname, "utf8");
202
202
  return {
203
203
  raw,
204
204
  parsed: JSON.parse(raw)
@@ -211,12 +211,12 @@ async function readExistingModelsFile(pathname) {
211
211
  }
212
212
  }
213
213
  async function ensureModelsFileMode(pathname) {
214
- await fs.chmod(pathname, 384).catch(() => {});
214
+ await fsPromises.chmod(pathname, 384).catch(() => {});
215
215
  }
216
216
  async function writeModelsFileAtomic(targetPath, contents) {
217
217
  const tempPath = `${targetPath}.${process.pid}.${Date.now()}.tmp`;
218
- await fs.writeFile(tempPath, contents, { mode: 384 });
219
- await fs.rename(tempPath, targetPath);
218
+ await fsPromises.writeFile(tempPath, contents, { mode: 384 });
219
+ await fsPromises.rename(tempPath, targetPath);
220
220
  }
221
221
  function resolveModelsConfigInput(config) {
222
222
  const runtimeSource = getRuntimeConfigSourceSnapshot();
@@ -265,7 +265,7 @@ async function ensureOpenClawModelsJson(config, agentDirOverride) {
265
265
  wrote: false
266
266
  };
267
267
  }
268
- await fs.mkdir(agentDir, {
268
+ await fsPromises.mkdir(agentDir, {
269
269
  recursive: true,
270
270
  mode: 448
271
271
  });
@@ -1,13 +1,13 @@
1
1
  import { g as resolveUserPath } from "./utils-CGU7Q77u.js";
2
- import { f as isNotFoundPathError, p as isPathInside, s as sameFileIdentity } from "./openclaw-root-B6cGCDGF.js";
2
+ import { f as isNotFoundPathError, p as isPathInside, s as sameFileIdentity } from "./openclaw-root-DbbVtnL2.js";
3
3
  import { t as runCommandWithTimeout } from "./exec-B8ip-O6u.js";
4
4
  import { h as parseRegistryNpmSpec, m as isPrereleaseResolutionAllowed, p as formatPrereleaseResolutionError } from "./env-overrides-CSdE_DWV.js";
5
- import { a as openFileWithinRoot, o as openWritableFileWithinRoot, r as copyFileWithinRoot, t as SafeOpenError } from "./fs-safe-BLWbfoa6.js";
6
- import { n as resolveSafeBaseDir } from "./path-safety-9zsLqD77.js";
5
+ import { a as openFileWithinRoot, o as openWritableFileWithinRoot, r as copyFileWithinRoot, t as SafeOpenError } from "./fs-safe-B_UpcQBp.js";
6
+ import { n as resolveSafeBaseDir } from "./path-safety-CfDs7X4h.js";
7
7
  import { constants } from "node:fs";
8
8
  import os from "node:os";
9
9
  import path from "node:path";
10
- import fs$1 from "node:fs/promises";
10
+ import fsPromises from "node:fs/promises";
11
11
  import { randomUUID } from "node:crypto";
12
12
  import { pipeline } from "node:stream/promises";
13
13
  import { Readable, Transform } from "node:stream";
@@ -59,10 +59,10 @@ function symlinkTraversalError$1(originalPath) {
59
59
  return new ArchiveSecurityError("destination-symlink-traversal", `${ERROR_ARCHIVE_ENTRY_TRAVERSES_SYMLINK}: ${originalPath}`);
60
60
  }
61
61
  async function prepareArchiveDestinationDir(destDir) {
62
- const stat = await fs$1.lstat(destDir);
62
+ const stat = await fsPromises.lstat(destDir);
63
63
  if (stat.isSymbolicLink()) throw new ArchiveSecurityError("destination-symlink", "archive destination is a symlink");
64
64
  if (!stat.isDirectory()) throw new ArchiveSecurityError("destination-not-directory", "archive destination is not a directory");
65
- return await fs$1.realpath(destDir);
65
+ return await fsPromises.realpath(destDir);
66
66
  }
67
67
  async function assertNoSymlinkTraversal(params) {
68
68
  const parts = params.relPath.split(/[\\/]+/).filter(Boolean);
@@ -71,7 +71,7 @@ async function assertNoSymlinkTraversal(params) {
71
71
  current = path.join(current, part);
72
72
  let stat;
73
73
  try {
74
- stat = await fs$1.lstat(current);
74
+ stat = await fsPromises.lstat(current);
75
75
  } catch (err) {
76
76
  if (isNotFoundPathError(err)) continue;
77
77
  throw err;
@@ -82,7 +82,7 @@ async function assertNoSymlinkTraversal(params) {
82
82
  async function assertResolvedInsideDestination(params) {
83
83
  let resolved;
84
84
  try {
85
- resolved = await fs$1.realpath(params.targetPath);
85
+ resolved = await fsPromises.realpath(params.targetPath);
86
86
  } catch (err) {
87
87
  if (isNotFoundPathError(err)) return;
88
88
  throw err;
@@ -96,7 +96,7 @@ async function prepareArchiveOutputPath(params) {
96
96
  originalPath: params.originalPath
97
97
  });
98
98
  if (params.isDirectory) {
99
- await fs$1.mkdir(params.outPath, { recursive: true });
99
+ await fsPromises.mkdir(params.outPath, { recursive: true });
100
100
  await assertResolvedInsideDestination({
101
101
  destinationRealDir: params.destinationRealDir,
102
102
  targetPath: params.outPath,
@@ -105,7 +105,7 @@ async function prepareArchiveOutputPath(params) {
105
105
  return;
106
106
  }
107
107
  const parentDir = path.dirname(params.outPath);
108
- await fs$1.mkdir(parentDir, { recursive: true });
108
+ await fsPromises.mkdir(parentDir, { recursive: true });
109
109
  await assertResolvedInsideDestination({
110
110
  destinationRealDir: params.destinationRealDir,
111
111
  targetPath: parentDir,
@@ -119,14 +119,14 @@ async function applyStagedEntryMode(params) {
119
119
  targetPath: destinationPath,
120
120
  originalPath: params.originalPath
121
121
  });
122
- if (params.mode !== 0) await fs$1.chmod(destinationPath, params.mode).catch(() => void 0);
122
+ if (params.mode !== 0) await fsPromises.chmod(destinationPath, params.mode).catch(() => void 0);
123
123
  }
124
124
  async function withStagedArchiveDestination(params) {
125
- const stagingDir = await fs$1.mkdtemp(path.join(params.destinationRealDir, ".openclaw-archive-"));
125
+ const stagingDir = await fsPromises.mkdtemp(path.join(params.destinationRealDir, ".openclaw-archive-"));
126
126
  try {
127
127
  return await params.run(stagingDir);
128
128
  } finally {
129
- await fs$1.rm(stagingDir, {
129
+ await fsPromises.rm(stagingDir, {
130
130
  recursive: true,
131
131
  force: true
132
132
  }).catch(() => void 0);
@@ -134,13 +134,13 @@ async function withStagedArchiveDestination(params) {
134
134
  }
135
135
  async function mergeExtractedTreeIntoDestination(params) {
136
136
  const walk = async (currentSourceDir) => {
137
- const entries = await fs$1.readdir(currentSourceDir, { withFileTypes: true });
137
+ const entries = await fsPromises.readdir(currentSourceDir, { withFileTypes: true });
138
138
  for (const entry of entries) {
139
139
  const sourcePath = path.join(currentSourceDir, entry.name);
140
140
  const relPath = path.relative(params.sourceDir, sourcePath);
141
141
  const originalPath = relPath.split(path.sep).join("/");
142
142
  const destinationPath = path.join(params.destinationDir, relPath);
143
- const sourceStat = await fs$1.lstat(sourcePath);
143
+ const sourceStat = await fsPromises.lstat(sourcePath);
144
144
  if (sourceStat.isSymbolicLink()) throw symlinkTraversalError$1(originalPath);
145
145
  if (sourceStat.isDirectory()) {
146
146
  await prepareArchiveOutputPath({
@@ -208,9 +208,9 @@ function resolveArchiveKind(filePath) {
208
208
  async function resolvePackedRootDir(extractDir) {
209
209
  const direct = path.join(extractDir, "package");
210
210
  try {
211
- if ((await fs$1.stat(direct)).isDirectory()) return direct;
211
+ if ((await fsPromises.stat(direct)).isDirectory()) return direct;
212
212
  } catch {}
213
- const dirs = (await fs$1.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
213
+ const dirs = (await fsPromises.readdir(extractDir, { withFileTypes: true })).filter((entry) => entry.isDirectory()).map((entry) => entry.name);
214
214
  if (dirs.length !== 1) throw new Error(`unexpected archive layout (dirs: ${dirs.join(", ")})`);
215
215
  const onlyDir = dirs[0];
216
216
  if (!onlyDir) throw new Error("unexpected archive layout (no package dir found)");
@@ -295,12 +295,12 @@ async function openZipOutputFile(params) {
295
295
  async function cleanupPartialRegularFile(filePath) {
296
296
  let stat;
297
297
  try {
298
- stat = await fs$1.lstat(filePath);
298
+ stat = await fsPromises.lstat(filePath);
299
299
  } catch (err) {
300
300
  if (isNotFoundPathError(err)) return;
301
301
  throw err;
302
302
  }
303
- if (stat.isFile()) await fs$1.unlink(filePath).catch(() => void 0);
303
+ if (stat.isFile()) await fsPromises.unlink(filePath).catch(() => void 0);
304
304
  }
305
305
  function buildArchiveAtomicTempPath(targetPath) {
306
306
  return path.join(path.dirname(targetPath), `.${path.basename(targetPath)}.${process.pid}.${randomUUID()}.tmp`);
@@ -357,20 +357,20 @@ async function writeZipFileEntry(params) {
357
357
  let handleClosedByStream = false;
358
358
  try {
359
359
  tempPath = buildArchiveAtomicTempPath(destinationPath);
360
- tempHandle = await fs$1.open(tempPath, OPEN_WRITE_CREATE_FLAGS, targetMode || 438);
360
+ tempHandle = await fsPromises.open(tempPath, OPEN_WRITE_CREATE_FLAGS, targetMode || 438);
361
361
  const writable = tempHandle.createWriteStream();
362
362
  writable.once("close", () => {
363
363
  handleClosedByStream = true;
364
364
  });
365
365
  await pipeline(readable, createExtractBudgetTransform({ onChunkBytes: params.budget.addBytes }), writable);
366
- tempStat = await fs$1.stat(tempPath);
366
+ tempStat = await fsPromises.stat(tempPath);
367
367
  if (!tempStat) throw new Error("zip temp write did not produce file metadata");
368
368
  if (!handleClosedByStream) {
369
369
  await tempHandle.close().catch(() => void 0);
370
370
  handleClosedByStream = true;
371
371
  }
372
372
  tempHandle = null;
373
- await fs$1.rename(tempPath, destinationPath);
373
+ await fsPromises.rename(tempPath, destinationPath);
374
374
  tempPath = null;
375
375
  const verifiedPath = await verifyZipWriteResult({
376
376
  destinationRealDir: params.destinationRealDir,
@@ -379,10 +379,10 @@ async function writeZipFileEntry(params) {
379
379
  });
380
380
  if (typeof params.entry.unixPermissions === "number") {
381
381
  const mode = params.entry.unixPermissions & 511;
382
- if (mode !== 0) await fs$1.chmod(verifiedPath, mode).catch(() => void 0);
382
+ if (mode !== 0) await fsPromises.chmod(verifiedPath, mode).catch(() => void 0);
383
383
  }
384
384
  } catch (err) {
385
- if (tempPath) await fs$1.rm(tempPath, { force: true }).catch(() => void 0);
385
+ if (tempPath) await fsPromises.rm(tempPath, { force: true }).catch(() => void 0);
386
386
  else await cleanupPartialRegularFile(destinationPath).catch(() => void 0);
387
387
  if (err instanceof SafeOpenError) throw symlinkTraversalError(params.entry.name);
388
388
  throw err;
@@ -393,8 +393,8 @@ async function writeZipFileEntry(params) {
393
393
  async function extractZip(params) {
394
394
  const limits = resolveExtractLimits(params.limits);
395
395
  const destinationRealDir = await prepareArchiveDestinationDir(params.destDir);
396
- if ((await fs$1.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
397
- const buffer = await fs$1.readFile(params.archivePath);
396
+ if ((await fsPromises.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
397
+ const buffer = await fsPromises.readFile(params.archivePath);
398
398
  const zip = await JSZip.loadAsync(buffer);
399
399
  const entries = Object.values(zip.files);
400
400
  const strip = Math.max(0, Math.floor(params.stripComponents ?? 0));
@@ -468,7 +468,7 @@ async function extractArchive(params) {
468
468
  if (kind === "tar") {
469
469
  await withTimeout((async () => {
470
470
  const limits = resolveExtractLimits(params.limits);
471
- if ((await fs$1.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
471
+ if ((await fsPromises.stat(params.archivePath)).size > limits.maxArchiveBytes) throw new Error(ERROR_ARCHIVE_SIZE_EXCEEDS_LIMIT);
472
472
  const destinationRealDir = await prepareArchiveDestinationDir(params.destDir);
473
473
  await withStagedArchiveDestination({
474
474
  destinationRealDir,
@@ -513,14 +513,14 @@ async function extractArchive(params) {
513
513
  }
514
514
  async function fileExists(filePath) {
515
515
  try {
516
- await fs$1.stat(filePath);
516
+ await fsPromises.stat(filePath);
517
517
  return true;
518
518
  } catch {
519
519
  return false;
520
520
  }
521
521
  }
522
522
  async function readJsonFile(filePath) {
523
- const raw = await fs$1.readFile(filePath, "utf-8");
523
+ const raw = await fsPromises.readFile(filePath, "utf-8");
524
524
  return JSON.parse(raw);
525
525
  }
526
526
  //#endregion
@@ -536,11 +536,11 @@ function buildNpmResolutionFields(resolution) {
536
536
  };
537
537
  }
538
538
  async function withTempDir(prefix, fn) {
539
- const tmpDir = await fs$1.mkdtemp(path.join(os.tmpdir(), prefix));
539
+ const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
540
540
  try {
541
541
  return await fn(tmpDir);
542
542
  } finally {
543
- await fs$1.rm(tmpDir, {
543
+ await fsPromises.rm(tmpDir, {
544
544
  recursive: true,
545
545
  force: true
546
546
  }).catch(() => void 0);
@@ -625,12 +625,12 @@ function parsePackedArchiveFromStdout(stdout) {
625
625
  }
626
626
  }
627
627
  async function findPackedArchiveInDir(cwd) {
628
- const archives = (await fs$1.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
628
+ const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
629
629
  if (archives.length === 0) return;
630
630
  if (archives.length === 1) return archives[0]?.name;
631
631
  const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
632
632
  name: entry.name,
633
- mtimeMs: (await fs$1.stat(path.join(cwd, entry.name))).mtimeMs
633
+ mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
634
634
  })));
635
635
  sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
636
636
  return sortedByMtime[0]?.name;
@@ -694,13 +694,13 @@ async function resolveExistingInstallPath(inputPath) {
694
694
  return {
695
695
  ok: true,
696
696
  resolvedPath,
697
- stat: await fs$1.stat(resolvedPath)
697
+ stat: await fsPromises.stat(resolvedPath)
698
698
  };
699
699
  }
700
700
  async function withExtractedArchiveRoot(params) {
701
701
  return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
702
702
  const extractDir = path.join(tmpDir, "extract");
703
- await fs$1.mkdir(extractDir, { recursive: true });
703
+ await fsPromises.mkdir(extractDir, { recursive: true });
704
704
  params.logger?.info?.(`Extracting ${params.archivePath}…`);
705
705
  try {
706
706
  await extractArchive({
@@ -772,13 +772,13 @@ async function assertCanonicalPathWithinBase(params) {
772
772
  const baseDir = path.resolve(params.baseDir);
773
773
  const candidatePath = path.resolve(params.candidatePath);
774
774
  if (!isPathInside(baseDir, candidatePath)) throw new Error(`Invalid path: must stay within ${params.boundaryLabel}`);
775
- const baseLstat = await fs$1.lstat(baseDir);
775
+ const baseLstat = await fsPromises.lstat(baseDir);
776
776
  if (!baseLstat.isDirectory() || baseLstat.isSymbolicLink()) throw new Error(`Invalid ${params.boundaryLabel}: base directory must be a real directory`);
777
- const baseRealPath = await fs$1.realpath(baseDir);
777
+ const baseRealPath = await fsPromises.realpath(baseDir);
778
778
  const validateDirectory = async (dirPath) => {
779
- const dirLstat = await fs$1.lstat(dirPath);
779
+ const dirLstat = await fsPromises.lstat(dirPath);
780
780
  if (!dirLstat.isDirectory() || dirLstat.isSymbolicLink()) throw new Error(`Invalid path: must stay within ${params.boundaryLabel}`);
781
- if (!isPathInside(baseRealPath, await fs$1.realpath(dirPath))) throw new Error(`Invalid path: must stay within ${params.boundaryLabel}`);
781
+ if (!isPathInside(baseRealPath, await fsPromises.realpath(dirPath))) throw new Error(`Invalid path: must stay within ${params.boundaryLabel}`);
782
782
  };
783
783
  try {
784
784
  await validateDirectory(candidatePath);
@@ -800,7 +800,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
800
800
  const manifestPath = path.join(targetDir, "package.json");
801
801
  let manifestRaw = "";
802
802
  try {
803
- manifestRaw = await fs$1.readFile(manifestPath, "utf-8");
803
+ manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
804
804
  } catch {
805
805
  return;
806
806
  }
@@ -820,7 +820,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
820
820
  if (filteredEntries.length === Object.keys(devDependencies).length) return;
821
821
  if (filteredEntries.length === 0) delete manifest.devDependencies;
822
822
  else manifest.devDependencies = Object.fromEntries(filteredEntries);
823
- await fs$1.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
823
+ await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
824
824
  }
825
825
  async function assertInstallBoundaryPaths(params) {
826
826
  for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
@@ -836,13 +836,13 @@ function isInstallBaseChangedError(error) {
836
836
  return error instanceof Error && error.message === INSTALL_BASE_CHANGED_ERROR_MESSAGE;
837
837
  }
838
838
  async function assertInstallBaseStable(params) {
839
- const baseLstat = await fs$1.lstat(params.installBaseDir);
839
+ const baseLstat = await fsPromises.lstat(params.installBaseDir);
840
840
  if (!baseLstat.isDirectory() || baseLstat.isSymbolicLink()) throw new Error(INSTALL_BASE_CHANGED_ERROR_MESSAGE);
841
- if (await fs$1.realpath(params.installBaseDir) !== params.expectedRealPath) throw new Error(INSTALL_BASE_CHANGED_ERROR_MESSAGE);
841
+ if (await fsPromises.realpath(params.installBaseDir) !== params.expectedRealPath) throw new Error(INSTALL_BASE_CHANGED_ERROR_MESSAGE);
842
842
  }
843
843
  async function cleanupInstallTempDir(dirPath) {
844
844
  if (!dirPath) return;
845
- await fs$1.rm(dirPath, {
845
+ await fsPromises.rm(dirPath, {
846
846
  recursive: true,
847
847
  force: true
848
848
  }).catch(() => void 0);
@@ -852,7 +852,7 @@ async function resolveInstallPublishTarget(params) {
852
852
  const targetResolved = path.resolve(params.targetDir);
853
853
  const targetRelativePath = path.relative(installBaseResolved, targetResolved);
854
854
  if (!isRelativePathInsideBase(targetRelativePath)) throw new Error("invalid install target path");
855
- const installBaseRealPath = await fs$1.realpath(params.installBaseDir);
855
+ const installBaseRealPath = await fsPromises.realpath(params.installBaseDir);
856
856
  return {
857
857
  installBaseRealPath,
858
858
  canonicalTargetDir: path.join(installBaseRealPath, targetRelativePath)
@@ -861,7 +861,7 @@ async function resolveInstallPublishTarget(params) {
861
861
  async function installPackageDir(params) {
862
862
  params.logger?.info?.(`Installing to ${params.targetDir}…`);
863
863
  const installBaseDir = path.dirname(params.targetDir);
864
- await fs$1.mkdir(installBaseDir, { recursive: true });
864
+ await fsPromises.mkdir(installBaseDir, { recursive: true });
865
865
  await assertInstallBoundaryPaths({
866
866
  installBaseDir,
867
867
  candidatePaths: [params.targetDir]
@@ -897,7 +897,7 @@ async function installPackageDir(params) {
897
897
  };
898
898
  const restoreBackup = async () => {
899
899
  if (!backupDir) return;
900
- await fs$1.rename(backupDir, canonicalTargetDir).catch(() => void 0);
900
+ await fsPromises.rename(backupDir, canonicalTargetDir).catch(() => void 0);
901
901
  backupDir = null;
902
902
  };
903
903
  try {
@@ -905,8 +905,8 @@ async function installPackageDir(params) {
905
905
  installBaseDir: installBaseRealPath,
906
906
  candidatePaths: [canonicalTargetDir]
907
907
  });
908
- stageDir = await fs$1.mkdtemp(path.join(installBaseRealPath, ".openclaw-install-stage-"));
909
- await fs$1.cp(params.sourceDir, stageDir, { recursive: true });
908
+ stageDir = await fsPromises.mkdtemp(path.join(installBaseRealPath, ".openclaw-install-stage-"));
909
+ await fsPromises.cp(params.sourceDir, stageDir, { recursive: true });
910
910
  } catch (err) {
911
911
  return await fail(`${params.copyErrorPrefix}: ${String(err)}`, err);
912
912
  }
@@ -935,7 +935,7 @@ async function installPackageDir(params) {
935
935
  const backupRoot = path.join(installBaseRealPath, ".openclaw-install-backups");
936
936
  backupDir = path.join(backupRoot, `${path.basename(canonicalTargetDir)}-${Date.now()}`);
937
937
  try {
938
- await fs$1.mkdir(backupRoot, { recursive: true });
938
+ await fsPromises.mkdir(backupRoot, { recursive: true });
939
939
  await assertInstallBoundaryPaths({
940
940
  installBaseDir: installBaseRealPath,
941
941
  candidatePaths: [backupDir]
@@ -944,7 +944,7 @@ async function installPackageDir(params) {
944
944
  installBaseDir,
945
945
  expectedRealPath: installBaseRealPath
946
946
  });
947
- await fs$1.rename(canonicalTargetDir, backupDir);
947
+ await fsPromises.rename(canonicalTargetDir, backupDir);
948
948
  } catch (err) {
949
949
  return await fail(`${params.copyErrorPrefix}: ${String(err)}`, err);
950
950
  }
@@ -954,7 +954,7 @@ async function installPackageDir(params) {
954
954
  installBaseDir,
955
955
  expectedRealPath: installBaseRealPath
956
956
  });
957
- await fs$1.rename(stageDir, canonicalTargetDir);
957
+ await fsPromises.rename(stageDir, canonicalTargetDir);
958
958
  stageDir = null;
959
959
  } catch (err) {
960
960
  return await fail(`${params.copyErrorPrefix}: ${String(err)}`, err);
@@ -968,7 +968,7 @@ async function installPackageDir(params) {
968
968
  if (isInstallBaseChangedError(err)) params.logger?.warn?.(INSTALL_BASE_CHANGED_BACKUP_WARNING);
969
969
  backupDir = null;
970
970
  }
971
- if (backupDir) await fs$1.rm(backupDir, {
971
+ if (backupDir) await fsPromises.rm(backupDir, {
972
972
  recursive: true,
973
973
  force: true
974
974
  }).catch(() => void 0);
@@ -984,7 +984,7 @@ async function installPackageDirWithManifestDeps(params) {
984
984
  //#endregion
985
985
  //#region src/infra/install-target.ts
986
986
  async function resolveCanonicalInstallTarget(params) {
987
- await fs$1.mkdir(params.baseDir, { recursive: true });
987
+ await fsPromises.mkdir(params.baseDir, { recursive: true });
988
988
  const targetDirResult = resolveSafeInstallDir({
989
989
  baseDir: params.baseDir,
990
990
  id: params.id,
@@ -1,7 +1,7 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-BEF5zTJO.js";
2
- import { Mi as loadConfig } from "./auth-profiles-B5hyImOM.js";
2
+ import { Mi as loadConfig } from "./auth-profiles-D9Wn945p.js";
3
3
  import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-OAwT1oHV.js";
4
- import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-qJ63Ml29.js";
4
+ import { c as loadOpenClawPlugins, s as createPluginLoaderLogger } from "./compact-DBxHCU3Q.js";
5
5
  import { m as buildNpmResolutionFields } from "./npm-pack-install-BOSZVlA5.js";
6
6
  import path from "node:path";
7
7
  //#region src/plugins/status.ts
@@ -1,8 +1,8 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-Dk5WUhC2.js";
2
- import { Wa as loadConfig } from "./model-selection-CftqhKNS.js";
3
- import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-Bf21Hr1C.js";
4
- import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dv5h0qQE.js";
5
- import { m as buildNpmResolutionFields } from "./npm-pack-install-BNF-iM37.js";
2
+ import { Wa as loadConfig } from "./model-selection-DU-DNNW7.js";
3
+ import { D as loadOpenClawPlugins, Hn as createPluginLoaderLogger } from "./reply-9_WxyHfF.js";
4
+ import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BrJT9Gf9.js";
5
+ import { m as buildNpmResolutionFields } from "./npm-pack-install-BlYIroXs.js";
6
6
  import path from "node:path";
7
7
  //#region src/plugins/status.ts
8
8
  const log = createSubsystemLogger("plugins");
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
- import { ac as upsertAuthProfileWithLock, ct as fetchOllamaModels, lt as resolveOllamaApiBase, ot as OLLAMA_DEFAULT_BASE_URL, st as buildOllamaModelDefinition } from "./model-selection-CftqhKNS.js";
2
+ import { ac as upsertAuthProfileWithLock, ct as fetchOllamaModels, lt as resolveOllamaApiBase, ot as OLLAMA_DEFAULT_BASE_URL, st as buildOllamaModelDefinition } from "./model-selection-DU-DNNW7.js";
3
3
  import { t as WizardCancelledError } from "./prompts-BAsxDmRr.js";
4
- import { u as openUrl } from "./onboard-helpers-xbYuvLLu.js";
4
+ import { u as openUrl } from "./onboard-helpers-C-tI0ORj.js";
5
5
  import { n as applyAgentDefaultModelPrimary, t as isRemoteEnvironment } from "./oauth-env-B6Y28TeU.js";
6
6
  //#region src/commands/ollama-setup.ts
7
7
  var ollama_setup_exports = /* @__PURE__ */ __exportAll({
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-DUslC3ob.js";
2
- import { cc as fetchOllamaModels, lc as resolveOllamaApiBase, oc as OLLAMA_DEFAULT_BASE_URL, sc as buildOllamaModelDefinition, zo as upsertAuthProfileWithLock } from "./auth-profiles-B5hyImOM.js";
2
+ import { cc as fetchOllamaModels, lc as resolveOllamaApiBase, oc as OLLAMA_DEFAULT_BASE_URL, sc as buildOllamaModelDefinition, zo as upsertAuthProfileWithLock } from "./auth-profiles-D9Wn945p.js";
3
3
  import { t as WizardCancelledError } from "./prompts-DT1GFNGw.js";
4
- import { u as openUrl } from "./onboard-helpers-B1g1N_R7.js";
4
+ import { u as openUrl } from "./onboard-helpers-Dt3bHndL.js";
5
5
  import { n as applyAgentDefaultModelPrimary, t as isRemoteEnvironment } from "./oauth-env-NWN2T4c2.js";
6
6
  //#region src/commands/ollama-setup.ts
7
7
  var ollama_setup_exports = /* @__PURE__ */ __exportAll({