openclaw-multi-auto 1.2.9 → 1.3.0

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 (430) hide show
  1. package/dist/{accounts-C_lW3Ag9.js → accounts-BOzyfwW4.js} +2 -2
  2. package/dist/{accounts-BVgYdU9W.js → accounts-BtEMxtPK.js} +1 -1
  3. package/dist/{accounts-BU-CeDai.js → accounts-CUYZBSKh.js} +1 -1
  4. package/dist/{accounts-C9HcPI9h.js → accounts-L9ByEpnP.js} +2 -2
  5. package/dist/{accounts-DJaYqD2E.js → accounts-khXX75l1.js} +7 -7
  6. package/dist/{accounts-Tgelvk0C.js → accounts-yfBeCZtS.js} +17 -17
  7. package/dist/{acp-cli-oWFHnS7i.js → acp-cli-CA2oCCEA.js} +8 -8
  8. package/dist/{active-listener-BEdprTkn.js → active-listener-D1yqT1cw.js} +2 -2
  9. package/dist/{agent-scope-BRElciAf.js → agent-scope-NQ9CtXYN.js} +17 -17
  10. package/dist/{agents-CujsWz9d.js → agents-BWVlofyv.js} +14 -14
  11. package/dist/{agents.config-C42STger.js → agents.config-QVfqc4C-.js} +2 -2
  12. package/dist/{api-key-rotation-BJpKWXy0.js → api-key-rotation-DtsNS2Nb.js} +2 -2
  13. package/dist/{api-key-rotation-BbuLHl0_.js → api-key-rotation-Vix80AUw.js} +1 -1
  14. package/dist/{audio-preflight-Yg1vzPE1.js → audio-preflight-DUtdCXjJ.js} +34 -34
  15. package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-DoPfNXDz.js} +32 -32
  16. package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-CzjuH3uL.js} +12 -12
  17. package/dist/{audio-transcription-runner-D1cvrZ6s.js → audio-transcription-runner-DYKvqK54.js} +23 -23
  18. package/dist/{audit-membership-runtime-Dntemq07.js → audit-membership-runtime-DWyHWAHM.js} +4 -4
  19. package/dist/{audit-DtlAv66L.js → audit-oC--RZy0.js} +29 -29
  20. package/dist/{auth-Mj21c_GN.js → auth-YB6m93-M.js} +1 -1
  21. package/dist/{auth-choice-CEycltU4.js → auth-choice-CsSQLEkP.js} +13 -13
  22. package/dist/{auth-choice-CGHVedXa.js → auth-choice-gp-h1aBd.js} +11 -11
  23. package/dist/{auth-choice.apply-helpers-D4YQXYfc.js → auth-choice.apply-helpers-CPpuynsT.js} +1 -1
  24. package/dist/{auth-profiles-CdLTlJLc.js → auth-profiles-15pq9j9V.js} +16 -16
  25. package/dist/{auth-token-7kzDLVhb.js → auth-token-Bwn8N6KA.js} +1 -1
  26. package/dist/{banner-CpzKVd4-.js → banner-hcZ0XNXv.js} +2 -2
  27. package/dist/{bonjour-discovery-BuS9wF_p.js → bonjour-discovery-2btw06uD.js} +1 -1
  28. package/dist/{browser-cli-BVtbvQ3Z.js → browser-cli-C4PdLYHy.js} +12 -12
  29. package/dist/build-info.json +3 -3
  30. package/dist/bundled/boot-md/handler.js +51 -51
  31. package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
  32. package/dist/bundled/command-logger/handler.js +2 -2
  33. package/dist/bundled/session-memory/handler.js +51 -51
  34. package/dist/{call-Dp9SDkqK.js → call-CZgRbVYm.js} +10 -10
  35. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  36. package/dist/{channel-account-context-ESLVGdUf.js → channel-account-context-BYiOuxnf.js} +5 -5
  37. package/dist/{channel-activity-LfmEkdDN.js → channel-activity-D9K6yeu8.js} +1 -1
  38. package/dist/{channel-activity-BDnjYF7B.js → channel-activity-xHOMiarp.js} +3 -3
  39. package/dist/{channel-options-CsYaFB_4.js → channel-options-DJkf_8wi.js} +3 -3
  40. package/dist/{channel-selection-DFJsYFPo.js → channel-selection-BpIsCVV5.js} +1 -1
  41. package/dist/{channel-web-DzRsJEE4.js → channel-web-wb1My1Yi.js} +17 -17
  42. package/dist/{channels-cli-CpfeOXtJ.js → channels-cli-DlQONtY9.js} +93 -93
  43. package/dist/{channels-status-issues-6V9ktlZD.js → channels-status-issues-Hj-GOSVm.js} +1 -1
  44. package/dist/{chrome-DxxEKrY7.js → chrome-DlhJHqj8.js} +26 -26
  45. package/dist/{chrome-CyM61Cn2.js → chrome-L_icBVLq.js} +4 -4
  46. package/dist/{clawbot-cli-COtnakIJ.js → clawbot-cli-CyTZUVIJ.js} +11 -11
  47. package/dist/cli/daemon-cli.js +1 -1
  48. package/dist/{cli-jnT1hYPO.js → cli-CNTrB-ni.js} +73 -73
  49. package/dist/{client-C-wA75vx.js → client-g0366Z73.js} +2 -2
  50. package/dist/{command-registry-g5tDqdAU.js → command-registry-VOmumlmD.js} +11 -11
  51. package/dist/{command-secret-targets-u3eWn-W3.js → command-secret-targets-CIMuIdbL.js} +4 -4
  52. package/dist/{commands-C8pWcFs_.js → commands-DU7At3rY.js} +1 -1
  53. package/dist/{commands-registry-J6nVL3BQ.js → commands-registry-B_WUa9KB.js} +3 -3
  54. package/dist/{commands-registry-D5qXbFJn.js → commands-registry-V1zZ5pPC.js} +4 -4
  55. package/dist/{completion-cli-DQsyli3B.js → completion-cli-pqdmKVTo.js} +13 -13
  56. package/dist/{config-cli-DUycVHoC.js → config-cli-BqznmzlM.js} +7 -7
  57. package/dist/{config-guard--Obk2MGi.js → config-guard-D8jiLjr7.js} +3 -3
  58. package/dist/{config-validation-iOxszdEd.js → config-validation-BngLiGoq.js} +3 -3
  59. package/dist/{configure-Al_pz_5z.js → configure-B--Umf_O.js} +17 -17
  60. package/dist/{control-ui-assets-DpjfNcTC.js → control-ui-assets-C9ewbI8z.js} +1 -1
  61. package/dist/{cron-cli-CQ5EZw_b.js → cron-cli-DCRPpI1m.js} +11 -11
  62. package/dist/{daemon-cli-Bb80Mzv5.js → daemon-cli-DtBzKM_d.js} +15 -15
  63. package/dist/{daemon-install-B09ifLcJ.js → daemon-install-ckPBUAjJ.js} +4 -4
  64. package/dist/{daemon-install-helpers-CYpECiEx.js → daemon-install-helpers-BWf-PrgA.js} +11 -11
  65. package/dist/{deliver-DbdywYJE.js → deliver-CApVJA_l.js} +21 -21
  66. package/dist/{deliver-CxF9h9PE.js → deliver-b93aBgie.js} +7 -7
  67. package/dist/deliver-runtime-CdWd-JQI.js +61 -0
  68. package/dist/deliver-runtime-D1z-h5eg.js +36 -0
  69. package/dist/deps-send-discord.runtime-BltWu9GW.js +36 -0
  70. package/dist/deps-send-discord.runtime-DnbhTFX9.js +26 -0
  71. package/dist/deps-send-imessage.runtime-BOiQ6mDx.js +25 -0
  72. package/dist/deps-send-imessage.runtime-CdCif3t7.js +35 -0
  73. package/dist/deps-send-signal.runtime-CTcl388M.js +24 -0
  74. package/dist/deps-send-signal.runtime-fHqkSmMW.js +34 -0
  75. package/dist/deps-send-slack.runtime-CCqBz4Kg.js +22 -0
  76. package/dist/deps-send-slack.runtime-CkyZO7ln.js +32 -0
  77. package/dist/{deps-send-telegram.runtime-B6wp3kx8.js → deps-send-telegram.runtime-C--B69CN.js} +16 -16
  78. package/dist/deps-send-telegram.runtime-DGSKTCpH.js +27 -0
  79. package/dist/deps-send-whatsapp.runtime-BkoMLlCM.js +119 -0
  80. package/dist/deps-send-whatsapp.runtime-Dz_4fi2D.js +60 -0
  81. package/dist/{devices-cli-C0dUbeL4.js → devices-cli-D6V059Dh.js} +8 -8
  82. package/dist/{diagnostic-Co6Kghr-.js → diagnostic-Bn4PZjMZ.js} +2 -2
  83. package/dist/{diagnostic-BfiudAAN.js → diagnostic-BpP9UBCE.js} +1 -1
  84. package/dist/{diagnostics-DCWM_8Ur.js → diagnostics---0c2_jo.js} +5 -5
  85. package/dist/{directory-cli-Dlws13Di.js → directory-cli-RYC34-EU.js} +7 -7
  86. package/dist/{dns-cli-But7QdAw.js → dns-cli-CElNoV5S.js} +5 -5
  87. package/dist/{dock-BbUkruOF.js → dock-nA2DVPCV.js} +4 -4
  88. package/dist/{docs-cli-Ck2IKAtw.js → docs-cli-Bv7ltPvi.js} +4 -4
  89. package/dist/{doctor-completion-Nat1HXE1.js → doctor-completion-CQIiN7rY.js} +2 -2
  90. package/dist/{doctor-config-flow-WCCoUXeB.js → doctor-config-flow-BOAryh5P.js} +15 -15
  91. package/dist/{enable-C3H8BtN4.js → enable-688HYBNS.js} +1 -1
  92. package/dist/entry.js +2 -2
  93. package/dist/{plugin-sdk/errors-CtMWwS2Z.js → errors-CCLeFWAg.js} +1 -1
  94. package/dist/{exec-approvals-allowlist-ySf2Yo5n.js → exec-approvals-allowlist-C0Eya3rT.js} +1 -1
  95. package/dist/{exec-approvals-cli-DhLLOys6.js → exec-approvals-cli-BYYerKp8.js} +16 -16
  96. package/dist/{exec-safe-bin-runtime-policy-DnXViOlF.js → exec-safe-bin-runtime-policy-BmJmfDRo.js} +2 -2
  97. package/dist/{fetch-D-SiVqBm.js → fetch-BhAHVdwx.js} +3 -3
  98. package/dist/{fetch-DuraYswo.js → fetch-BlJWzEP6.js} +5 -5
  99. package/dist/{fetch-guard-CKYBfJ66.js → fetch-guard-BbBdhWz_.js} +1 -1
  100. package/dist/{fetch-guard-DWr0d00H.js → fetch-guard-ChYBwfiy.js} +2 -2
  101. package/dist/{frontmatter-BkTfEZ93.js → frontmatter-CvaMP376.js} +3 -3
  102. package/dist/{fs-safe-CTYUrIgQ.js → fs-safe-0jAo_Whb.js} +4 -4
  103. package/dist/{fs-safe-jMDpsYew.js → fs-safe-CFLs-j60.js} +24 -24
  104. package/dist/{gateway-cli--atF6LYo.js → gateway-cli-DOYWSRqa.js} +153 -153
  105. package/dist/{gateway-rpc-DYyQQ1z9.js → gateway-rpc-w6t8Eq_1.js} +1 -1
  106. package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
  107. package/dist/{health-BDJ72U4Z.js → health-C1EstYHd.js} +11 -11
  108. package/dist/{hooks-cli-r0UX8B9a.js → hooks-cli-BFMve5sG.js} +81 -81
  109. package/dist/{hooks-status-CxBdpBry.js → hooks-status-DBnEWOEP.js} +1 -1
  110. package/dist/{image-eT7Y-nP5.js → image-B3Mz7N5I.js} +6 -6
  111. package/dist/{image-CyHTO86Q.js → image-Bw71y73Q.js} +5 -5
  112. package/dist/{image-ops-pjs5W0CZ.js → image-ops-AJL9tN3_.js} +10 -10
  113. package/dist/{image-ops-BuUnEOE0.js → image-ops-CehkHxmW.js} +2 -2
  114. package/dist/image-runtime-6jhrqcle.js +55 -0
  115. package/dist/image-runtime-DWjhow2W.js +29 -0
  116. package/dist/{inspect-BeU4yMp2.js → inspect-CUxeDA8c.js} +4 -4
  117. package/dist/{install-safe-path-BiL8OJvK.js → install-safe-path-BX58wFBl.js} +25 -25
  118. package/dist/{installs-BwKmG0Uy.js → installs-B-xr0Fzq.js} +9 -9
  119. package/dist/{ipv4-BoGwfnEw.js → ipv4-C4Yt-xid.js} +1 -1
  120. package/dist/{ir-B83looB-.js → ir-DAP-B-Xw.js} +8 -8
  121. package/dist/{ir-Da7Ahsqc.js → ir-otKVkb4a.js} +8 -8
  122. package/dist/{issue-format-CJ89_-9v.js → issue-format-DSksfKiV.js} +1 -1
  123. package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
  124. package/dist/{legacy-names-DOC03BkU.js → legacy-names-TyzbVqa_.js} +1 -1
  125. package/dist/{lifecycle-core-BzuWBBm8.js → lifecycle-core-DVwen0ks.js} +5 -5
  126. package/dist/llm-slug-generator.js +51 -51
  127. package/dist/{logger-BfjWMCSD.js → logger-DMZQQtxK.js} +7 -7
  128. package/dist/{login-VkQ9MW3d.js → login-BcRaGQb6.js} +3 -3
  129. package/dist/{login-CrIwcrVI.js → login-DiCctRo1.js} +5 -5
  130. package/dist/{login-qr-BVMQ-xQz.js → login-qr-C9D47WEZ.js} +6 -6
  131. package/dist/{login-qr-BpPDZdl_.js → login-qr-MUbXgjtd.js} +10 -10
  132. package/dist/{logs-cli-DWHhSnWs.js → logs-cli-B3TG2lp8.js} +9 -9
  133. package/dist/{manager-1bvuGrNR.js → manager-BW_NSIMl.js} +13 -13
  134. package/dist/{manager-BUBwl6M6.js → manager-iwcRf3Xc.js} +14 -14
  135. package/dist/manager-runtime-BN6VevdC.js +18 -0
  136. package/dist/{manager-runtime-H9iQnw64.js → manager-runtime-D3KqpRT7.js} +9 -9
  137. package/dist/{manifest-registry-DVviqWVY.js → manifest-registry-CJb8odRF.js} +1 -1
  138. package/dist/{memory-cli-DarWCbU6.js → memory-cli-DGsJx7YM.js} +12 -12
  139. package/dist/{model-BLV8y_N-.js → model-B792l3Cn.js} +2 -2
  140. package/dist/{model-catalog-DTcBkUlX.js → model-catalog-DZ6kl2Ko.js} +3 -3
  141. package/dist/{model-picker-D-fTOOzb.js → model-picker-6fHys0wK.js} +4 -4
  142. package/dist/{model-selection-Dna0Gz1k.js → model-selection-idoqPmw0.js} +43 -43
  143. package/dist/{models-CmjutMmh.js → models-DerrMmwF.js} +17 -17
  144. package/dist/{models-cli-BZFQX22p.js → models-cli-BkTZg_4v.js} +78 -78
  145. package/dist/{models-config-DNcDbV_G.js → models-config-Dabs9Kdv.js} +6 -6
  146. package/dist/{net-D5fSREu4.js → net-BAIqYNz0.js} +2 -2
  147. package/dist/{node-cli-Cnq-PJTp.js → node-cli-DoEq4zeG.js} +33 -33
  148. package/dist/{node-command-policy-B5BMBBJP.js → node-command-policy-DRhSc90G.js} +1 -1
  149. package/dist/{node-service-BpYZAvpl.js → node-service-CcgtNIeT.js} +1 -1
  150. package/dist/{nodes-cli-CkrDOWpv.js → nodes-cli--d9RiCnK.js} +16 -16
  151. package/dist/{nodes-screen-DfsQohWd.js → nodes-screen-BTND5VDq.js} +7 -7
  152. package/dist/{npm-pack-install-E-mkrZ55.js → npm-pack-install-CGUDOSKz.js} +18 -18
  153. package/dist/{npm-resolution-BUUmg5ON.js → npm-resolution-CAoULCWM.js} +4 -4
  154. package/dist/{onboard-DINGSS9R.js → onboard-CMZRkPVc.js} +6 -6
  155. package/dist/{onboard-channels-Di4MjWDY.js → onboard-channels-SlJu6XWJ.js} +21 -21
  156. package/dist/{onboard-custom-DITBQuWQ.js → onboard-custom-EzfL89yz.js} +4 -4
  157. package/dist/{onboard-helpers-DO7u2ZOy.js → onboard-helpers-lGpaVp03.js} +10 -10
  158. package/dist/{onboard-hooks-K02_ZWDq.js → onboard-hooks-B7TMiJoY.js} +4 -4
  159. package/dist/{onboard-remote-5-ugiSN2.js → onboard-remote-nvWS7on7.js} +4 -4
  160. package/dist/{onboard-skills-CSzbC2KZ.js → onboard-skills-hz91W03u.js} +4 -4
  161. package/dist/{onboarding-BM4dvUK6.js → onboarding-CTPuMVQI.js} +14 -14
  162. package/dist/{onboarding.finalize-p_RDh7ET.js → onboarding.finalize-DLzl5ZOg.js} +87 -87
  163. package/dist/{onboarding.gateway-config-DldlRfms.js → onboarding.gateway-config-C4MoTr60.js} +18 -18
  164. package/dist/{onboarding.secret-input-BIRIJiCU.js → onboarding.secret-input-BFD0OW4X.js} +1 -1
  165. package/dist/{openai-model-default-CY2Nk4cn.js → openai-model-default-h4LbSR7f.js} +2 -2
  166. package/dist/{openclaw-root-BFfBQ6FD.js → openclaw-root-BU3lu8pM.js} +8 -8
  167. package/dist/{outbound-ChDjtuD6.js → outbound-C2kanETZ.js} +6 -6
  168. package/dist/{outbound-attachment-DfWsfe2N.js → outbound-attachment-CAJBGcna.js} +2 -2
  169. package/dist/{outbound-attachment-DqHlD21U.js → outbound-attachment-DBrYWX8h.js} +2 -2
  170. package/dist/{outbound-DPdJe7e1.js → outbound-kbHYt1JW.js} +3 -3
  171. package/dist/{pairing-cli-D2VZxWg3.js → pairing-cli-CXbmkz7Z.js} +8 -8
  172. package/dist/{pairing-labels-D4rnJ5pJ.js → pairing-labels-CaPLIhlh.js} +1 -1
  173. package/dist/{pairing-store-BXArq4hn.js → pairing-store-Brs9aNn_.js} +3 -3
  174. package/dist/{path-alias-guards-DbNvNQar.js → path-alias-guards-DhIwq92y.js} +3 -3
  175. package/dist/{path-alias-guards-BzvdLvTI.js → path-alias-guards-DqXRZmsL.js} +1 -1
  176. package/dist/{path-safety-ClQO4BB6.js → path-safety-BjIM4N4t.js} +1 -1
  177. package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
  178. package/dist/{paths-Bkr-BCxW.js → paths-CCxysrzL.js} +4 -4
  179. package/dist/{paths-BB_1ZWOj.js → paths-Cv63xST_.js} +9 -9
  180. package/dist/{pi-embedded-BQQa91aA.js → pi-embedded-bcjMe3wj.js} +167 -167
  181. package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-D5yyGEvA.js} +52 -52
  182. package/dist/{pi-embedded-helpers-oXDyXTD8.js → pi-embedded-helpers-DC2OtKrl.js} +6 -6
  183. package/dist/{pi-model-discovery-Dymwdjt0.js → pi-model-discovery-BGgOlX8N.js} +7 -7
  184. package/dist/{pi-model-discovery-CECkJMCt.js → pi-model-discovery-DOb5RTev.js} +1 -1
  185. package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +11 -0
  186. package/dist/{pi-model-discovery-runtime-g7UP-SFR.js → pi-model-discovery-runtime-DShjmiiF.js} +5 -5
  187. package/dist/{pi-tools.before-tool-call.runtime-Df7B-ggW.js → pi-tools.before-tool-call.runtime-B079pVah.js} +5 -5
  188. package/dist/{pi-tools.before-tool-call.runtime-Cwab_5W1.js → pi-tools.before-tool-call.runtime-BuLxSyx9.js} +9 -9
  189. package/dist/{pi-tools.policy-CydUEzFi.js → pi-tools.policy-DZ-X86Va.js} +5 -5
  190. package/dist/{plugin-auto-enable-BE4ZVjAL.js → plugin-auto-enable-BCMqEDjQ.js} +3 -3
  191. package/dist/{plugin-registry-DXW3eyib.js → plugin-registry-BPlCWMur.js} +3 -3
  192. package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
  193. package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
  194. package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
  195. package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-CkPnMUkB.js} +2 -2
  196. package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BXnNsojA.js} +2 -2
  197. package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
  198. package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
  199. package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
  200. package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
  201. package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
  202. package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
  203. package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
  204. package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
  205. package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
  206. package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
  207. package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
  208. package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
  209. package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
  210. package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
  211. package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
  212. package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
  213. package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
  214. package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
  215. package/dist/{errors-xt401nuk.js → plugin-sdk/errors-B3cHyZZA.js} +1 -1
  216. package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
  217. package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
  218. package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
  219. package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
  220. package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
  221. package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
  222. package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
  223. package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
  224. package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
  225. package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
  226. package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
  227. package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
  228. package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
  229. package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
  230. package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-sWayacde.js} +1 -1
  231. package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
  232. package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
  233. package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
  234. package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
  235. package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
  236. package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
  237. package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
  238. package/dist/{proxy-fetch-B2pEfjbR.js → plugin-sdk/proxy-fetch-uDXGKG3Z.js} +1 -1
  239. package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
  240. package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
  241. package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
  242. package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
  243. package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
  244. package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
  245. package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
  246. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
  247. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
  248. package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
  249. package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
  250. package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
  251. package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
  252. package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
  253. package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
  254. package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
  255. package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
  256. package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
  257. package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
  258. package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
  259. package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
  260. package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
  261. package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
  262. package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
  263. package/dist/{tokens-q32vI39c.js → plugin-sdk/tokens-BDr0Z9o3.js} +1 -1
  264. package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-eEfOVkzf.js} +2 -2
  265. package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
  266. package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
  267. package/dist/plugin-sdk/whatsapp.js +50 -50
  268. package/dist/{plugins-4Rj4OjLY.js → plugins-CWkRQYDj.js} +11 -11
  269. package/dist/{plugins-VAZrrfgw.js → plugins-DCxT-37x.js} +2 -2
  270. package/dist/{plugins-cli-BQJOOVMx.js → plugins-cli-D9ILEfyb.js} +83 -83
  271. package/dist/{ports-DMkRSlnH.js → ports-BlCLhwbc.js} +1 -1
  272. package/dist/{ports-DogAV7pa.js → ports-CER5YPnN.js} +2 -2
  273. package/dist/{program-BA11qFx1.js → program-CV56xn7w.js} +81 -81
  274. package/dist/{prompt-select-styled-B0GS28ia.js → prompt-select-styled-BOa5I_PU.js} +40 -40
  275. package/dist/{provider-auth-helpers-CrGL-jik.js → provider-auth-helpers-c6mNCUXO.js} +5 -5
  276. package/dist/{proxy-env-wKO3g8Yv.js → proxy-env-BMrSVckF.js} +1 -1
  277. package/dist/{proxy-env-DlmzDx8x.js → proxy-env-Cq5gdrbj.js} +1 -1
  278. package/dist/{plugin-sdk/proxy-fetch-Ch95c_Y2.js → proxy-fetch-CCjEYbFm.js} +1 -1
  279. package/dist/{push-apns-BEwBjZ0a.js → push-apns-FOkPD05E.js} +5 -5
  280. package/dist/{pw-ai-DNMjFMqH.js → pw-ai-CDQDCfUa.js} +14 -14
  281. package/dist/{pw-ai-CnbxziFP.js → pw-ai-CxBU3aK5.js} +18 -18
  282. package/dist/{qmd-manager-BtIKUaO9.js → qmd-manager-BsYsO9Ii.js} +10 -10
  283. package/dist/{qmd-manager-Dp6PJ8zQ.js → qmd-manager-DEJMqoGd.js} +20 -20
  284. package/dist/{qr-cli-CFz9kS5X.js → qr-cli-BD2jK4fg.js} +2 -2
  285. package/dist/{query-expansion-BrSWVbaE.js → query-expansion-1UTIWjP6.js} +12 -12
  286. package/dist/{query-expansion-CX-1fS52.js → query-expansion-DtLc3wjL.js} +6 -6
  287. package/dist/{redact-COik8ET1.js → redact-ClbcYG1J.js} +1 -1
  288. package/dist/{redact-snapshot-Bs4goggz.js → redact-snapshot-D_qQD4A-.js} +1 -1
  289. package/dist/{register.agent-D641ju8B.js → register.agent-tbPA5YAy.js} +94 -94
  290. package/dist/register.configure-DuwRrXc2.js +165 -0
  291. package/dist/{register.maintenance-BFkk8MEH.js → register.maintenance-DrqDlV5b.js} +95 -95
  292. package/dist/{register.message-D5uE_Hop.js → register.message-CoKXNaU0.js} +74 -74
  293. package/dist/{register.onboard-zHFvSwFr.js → register.onboard-CSWOSL9O.js} +18 -18
  294. package/dist/{register.setup-uTbv3_P1.js → register.setup-DBx5JX6h.js} +21 -21
  295. package/dist/{register.status-health-sessions-CB7t-JQx.js → register.status-health-sessions-D1bPtfep.js} +88 -88
  296. package/dist/{register.subclis-MEiNmuy5.js → register.subclis-QGJNmjss.js} +31 -31
  297. package/dist/{rpc-DVfuVmy9.js → rpc-DkMrTUww.js} +1 -1
  298. package/dist/{run-main-mrvunzuy.js → run-main-CPftxqTe.js} +92 -92
  299. package/dist/{run-with-concurrency-BgYfgkXT.js → run-with-concurrency-D_ZpbgEG.js} +4 -4
  300. package/dist/{runtime-C87FQrrv.js → runtime-MAH2Oph4.js} +3 -3
  301. package/dist/{runtime-config-collectors-BQaC477D.js → runtime-config-collectors-BJMV6Mt1.js} +1 -1
  302. package/dist/{runtime-whatsapp-login.runtime-DjdgScUI.js → runtime-whatsapp-login.runtime-CGYWl9eB.js} +7 -7
  303. package/dist/runtime-whatsapp-login.runtime-IeylZEl4.js +13 -0
  304. package/dist/runtime-whatsapp-outbound.runtime-ClBRuLsq.js +22 -0
  305. package/dist/{runtime-whatsapp-outbound.runtime-B74K7opl.js → runtime-whatsapp-outbound.runtime-hZEfYaRM.js} +15 -15
  306. package/dist/{sandbox-Ct-_lzi1.js → sandbox-0TbzPJaS.js} +18 -18
  307. package/dist/{sandbox-cli-C3RoXFRE.js → sandbox-cli-NLaxffXl.js} +25 -25
  308. package/dist/{secrets-cli-B3hqCxvs.js → secrets-cli-KLGbYet6.js} +11 -11
  309. package/dist/{security-cli-DcHIyXr7.js → security-cli-EIEkcYVb.js} +42 -42
  310. package/dist/{send-dfu6_rgf.js → send-BQERFNyo.js} +5 -5
  311. package/dist/{send-CnRP4P-G.js → send-BW-ZtYG3.js} +5 -5
  312. package/dist/{send-L7gRiwyd.js → send-Bj776ESJ.js} +7 -7
  313. package/dist/{send-2zKwf9NW.js → send-BtZAqquW.js} +11 -11
  314. package/dist/{send-DAQAKa9Z.js → send-CxgWxXZc.js} +6 -6
  315. package/dist/{send-5o2p_xjn.js → send-DAMtu9kK.js} +4 -4
  316. package/dist/{send-PE6cwoTe.js → send-DcxmcFi_.js} +8 -8
  317. package/dist/{send-6lz6rNVP.js → send-Dx2RkUOZ.js} +6 -6
  318. package/dist/{send-u1Bo4CSn.js → send-sC6ka831.js} +8 -8
  319. package/dist/{send-BHTiZcH3.js → send-vmONuVgL.js} +26 -26
  320. package/dist/{server-context-8pDe2iyd.js → server-context-HJVwPQYn.js} +12 -12
  321. package/dist/{server-Ci4xtuR9.js → server-kUElNhlY.js} +20 -20
  322. package/dist/{server-lifecycle-k5daSrde.js → server-lifecycle-BE32unpZ.js} +2 -2
  323. package/dist/{server-middleware-DMiFT9xU.js → server-middleware-AS2VOYkK.js} +1 -1
  324. package/dist/{server-node-events-BmnPjNXE.js → server-node-events-DkbZzI6P.js} +74 -74
  325. package/dist/{service-BhOFtHSw.js → service-CyStNr3d.js} +15 -15
  326. package/dist/{session-D8ImowSs.js → session-A4QhBRvH.js} +8 -8
  327. package/dist/{session-DkOjpX3_.js → session-CaCx4rPH.js} +1 -1
  328. package/dist/{session-utils-DKRmXD2l.js → session-utils-CGqb1oeq.js} +6 -6
  329. package/dist/{sessions-svLGrv0Z.js → sessions-BV6HNW4h.js} +4 -4
  330. package/dist/{sessions-BOWPuhe5.js → sessions-BmVDW-7q.js} +15 -15
  331. package/dist/{shared-CjuadLFV.js → shared-DUQavBtY.js} +3 -3
  332. package/dist/{shared-CbAkLNrg.js → shared-JW74idb0.js} +1 -1
  333. package/dist/{skill-commands-DNqJ-kwn.js → skill-commands-CMzBZKG2.js} +9 -9
  334. package/dist/{skill-commands-TpUsdjev.js → skill-commands-WtIJG0CI.js} +5 -5
  335. package/dist/{skill-scanner-BZvvItef.js → skill-scanner-DIFsGcqE.js} +6 -6
  336. package/dist/{skills-DR-vacol.js → skills-7T9PwwL6.js} +3 -3
  337. package/dist/{skills-7ODkHQYp.js → skills-CE_iqvM5.js} +22 -22
  338. package/dist/{skills-cli-oay0tY8Z.js → skills-cli-DPavvthL.js} +5 -5
  339. package/dist/{skills-install-Vmi7xYfa.js → skills-install-BoLfaoWv.js} +6 -6
  340. package/dist/{skills-status-BmN697ff.js → skills-status-CK5Gnf6i.js} +1 -1
  341. package/dist/{slash-commands.runtime-BfaheruW.js → slash-commands.runtime-CMGx2xHy.js} +11 -11
  342. package/dist/slash-commands.runtime-Cpn2tYW4.js +16 -0
  343. package/dist/slash-dispatch.runtime-BAeJXa56.js +114 -0
  344. package/dist/slash-dispatch.runtime-CWbpp23S.js +56 -0
  345. package/dist/{slash-skill-commands.runtime-D34BKAN-.js → slash-skill-commands.runtime-ChU2tck2.js} +15 -15
  346. package/dist/slash-skill-commands.runtime-DKMvvdDW.js +20 -0
  347. package/dist/{status-BcQchPaC.js → status-Bp-K1BEf.js} +27 -27
  348. package/dist/{status.update-B20UBTDq.js → status.update-ZYUSggzS.js} +2 -2
  349. package/dist/{store-D89wDcz9.js → store--eR1R_UX.js} +2 -2
  350. package/dist/{store-DDkqo1sO.js → store-DeASfYEV.js} +5 -5
  351. package/dist/{subagent-registry-CPxHbyN5.js → subagent-registry-8qHIVhRq.js} +149 -149
  352. package/dist/subagent-registry-runtime-DEVpAaAP.js +56 -0
  353. package/dist/subagent-registry-runtime-DVomlbm6.js +114 -0
  354. package/dist/{subsystem-B45WV3qB.js → subsystem-Di1z8l0Z.js} +14 -14
  355. package/dist/{system-cli-D2yIJoKU.js → system-cli-C2xNfuQM.js} +9 -9
  356. package/dist/{system-run-command-BmhbnLTE.js → system-run-command-BPWZk7KI.js} +1 -1
  357. package/dist/{systemd-DjWVSbAG.js → systemd-Cf-0XKYu.js} +9 -9
  358. package/dist/{systemd-hints-Do-aQ9jw.js → systemd-hints-CYllYKO0.js} +6 -6
  359. package/dist/{systemd-linger-DpmnYgKU.js → systemd-linger-zllO90bD.js} +1 -1
  360. package/dist/{tables-BxyIF0w4.js → tables-CV7Afb0h.js} +1 -1
  361. package/dist/{tables-mE4cJBN2.js → tables-d739Y1xW.js} +1 -1
  362. package/dist/{tailnet-0_FsdHP-.js → tailnet-DJFUq7_R.js} +1 -1
  363. package/dist/{target-errors-mnlwhAjP.js → target-errors-CBI2Ga0y.js} +2 -2
  364. package/dist/{target-errors-KOHiT_JA.js → target-errors-iVxliVqA.js} +4 -4
  365. package/dist/{thinking-BeGmb5k6.js → thinking-DXYisHiZ.js} +7 -7
  366. package/dist/{plugin-sdk/tokens-B1PW5Ayy.js → tokens-DxnY9ui_.js} +1 -1
  367. package/dist/{tool-images-RZdHiZcG.js → tool-images-2cBx1W8h.js} +2 -2
  368. package/dist/{tool-images-CNPfeCmU.js → tool-images-Bn6dB14u.js} +1 -1
  369. package/dist/{tui-DL6NZZEa.js → tui-DTVy-YhN.js} +6 -6
  370. package/dist/{tui-cli-BNAYhvpu.js → tui-cli-CexRLJ3a.js} +32 -32
  371. package/dist/{update-DlS-d52F.js → update-DijPxK0g.js} +3 -3
  372. package/dist/{update-cli-D8-DqIs2.js → update-cli-9NslG4yR.js} +104 -104
  373. package/dist/{update-runner-CzTQ7BJT.js → update-runner-B6_UqreW.js} +16 -16
  374. package/dist/web-DGoa03ue.js +118 -0
  375. package/dist/{web-Btj-e8kN.js → web-NWKn8ABz.js} +55 -55
  376. package/dist/{webhooks-cli-QdaQhvbT.js → webhooks-cli-B4ZcXTtw.js} +6 -6
  377. package/dist/{whatsapp-actions-Bp8F0cOF.js → whatsapp-actions-Jm4VW1Ve.js} +17 -17
  378. package/dist/{whatsapp-actions-BHbJJyqw.js → whatsapp-actions-iEArE_Ez.js} +21 -21
  379. package/dist/{with-timeout-BMMWHlH3.js → with-timeout-C8-tY12i.js} +3 -3
  380. package/dist/{workspace-v76gFdZu.js → workspace-CIGzK2_w.js} +1 -1
  381. package/dist/{workspace-U-DyR64O.js → workspace-CUVC6GX1.js} +20 -20
  382. package/dist/{workspace-dirs-Cz_Zgtg2.js → workspace-dirs-D4SMysgC.js} +1 -1
  383. package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
  384. package/package.json +1 -1
  385. package/scripts/npm_publish.sh +34 -46
  386. package/vendor/libsignal-node/package.json +1 -2
  387. package/dist/deliver-runtime-BFs7iAZF.js +0 -36
  388. package/dist/deliver-runtime-DixuU_uB.js +0 -61
  389. package/dist/deps-send-discord.runtime-CDcLcDSt.js +0 -36
  390. package/dist/deps-send-discord.runtime-DZUccI6Z.js +0 -26
  391. package/dist/deps-send-imessage.runtime-BGPUVMIE.js +0 -35
  392. package/dist/deps-send-imessage.runtime-CF3OpoqY.js +0 -25
  393. package/dist/deps-send-signal.runtime-Cw4-ozeO.js +0 -24
  394. package/dist/deps-send-signal.runtime-DQDD44_O.js +0 -34
  395. package/dist/deps-send-slack.runtime-BDsDhS1P.js +0 -22
  396. package/dist/deps-send-slack.runtime-Cpy77gBG.js +0 -32
  397. package/dist/deps-send-telegram.runtime-D_4xVasO.js +0 -27
  398. package/dist/deps-send-whatsapp.runtime-D2sVAclS.js +0 -119
  399. package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +0 -60
  400. package/dist/image-runtime-B2qh5seQ.js +0 -55
  401. package/dist/image-runtime-BcAK3n8a.js +0 -29
  402. package/dist/manager-runtime-FO1Sx3W8.js +0 -18
  403. package/dist/pi-model-discovery-runtime-BeY4EUPp.js +0 -11
  404. package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
  405. package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
  406. package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
  407. package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
  408. package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
  409. package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
  410. package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
  411. package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
  412. package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
  413. package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
  414. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
  415. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
  416. package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
  417. package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
  418. package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
  419. package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
  420. package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
  421. package/dist/register.configure-BrDOSLIq.js +0 -165
  422. package/dist/runtime-whatsapp-login.runtime-DUb55byQ.js +0 -13
  423. package/dist/runtime-whatsapp-outbound.runtime-Bii_xSfI.js +0 -22
  424. package/dist/slash-commands.runtime-CVw6566g.js +0 -16
  425. package/dist/slash-dispatch.runtime-B9Ygtzi4.js +0 -56
  426. package/dist/slash-dispatch.runtime-D0xInkf3.js +0 -114
  427. package/dist/slash-skill-commands.runtime-DxZ4z5h6.js +0 -20
  428. package/dist/subagent-registry-runtime-DL1Wv7nA.js +0 -56
  429. package/dist/subagent-registry-runtime-SkB2tTaE.js +0 -114
  430. package/dist/web-DWiOofzq.js +0 -118
@@ -1,29 +1,29 @@
1
- import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-BgYfgkXT.js";
2
- import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-Cvc9EM8Y.js";
3
- import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-B45WV3qB.js";
4
- import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-U-DyR64O.js";
5
- import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-BfjWMCSD.js";
6
- import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-Dna0Gz1k.js";
7
- import { c as parseBooleanValue } from "./legacy-names-DOC03BkU.js";
8
- import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-BeGmb5k6.js";
9
- import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-4Rj4OjLY.js";
1
+ import { f as resolveSessionAgentId, i as resolveAgentConfig } from "./run-with-concurrency-D_ZpbgEG.js";
2
+ import { a as resolveGatewayPort, d as resolveRequiredHomeDir, n as STATE_DIR } from "./paths-C6TxBCvO.js";
3
+ import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-Di1z8l0Z.js";
4
+ import { B as resolveAgentIdFromSessionKey, K as normalizeOptionalAccountId, N as buildAgentMainSessionKey, R as normalizeAgentId, T as resolvePathViaExistingAncestorSync, _ as runExec, a as DEFAULT_IDENTITY_FILENAME, b as openBoundaryFile, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, j as DEFAULT_AGENT_ID, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, z as normalizeMainKey } from "./workspace-CUVC6GX1.js";
5
+ import { E as truncateUtf16Safe, h as normalizeE164, y as resolveUserPath } from "./logger-DMZQQtxK.js";
6
+ import { Vt as CHANNEL_IDS, W as resolveSecretRefValues, X as loadConfig, Y as createConfigIO, _r as resolveSecretInputRef, cr as isPidAlive, et as writeConfigFile, ft as secretRefKey, ht as parseByteSize, lr as formatCliCommand, mt as parseDurationMs, or as resolveProcessScopedMap, pt as getBlockedNetworkModeReason, sr as getProcessStartTime } from "./model-selection-idoqPmw0.js";
7
+ import { c as parseBooleanValue } from "./legacy-names-TyzbVqa_.js";
8
+ import { d as getChannelDock, o as normalizeThinkLevel, v as normalizeHyphenSlug } from "./thinking-DXYisHiZ.js";
9
+ import { _ as normalizeChatType, r as normalizeChannelId } from "./plugins-CWkRQYDj.js";
10
10
  import { t as generateSecureToken } from "./secure-random-CXrBi7Jq.js";
11
- import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BuUnEOE0.js";
12
- import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-DxxEKrY7.js";
13
- import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-7ODkHQYp.js";
14
- import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-BzvdLvTI.js";
15
- import { n as extractErrorCode, r as formatErrorMessage } from "./errors-xt401nuk.js";
16
- import { n as SsrFBlockedError } from "./proxy-env-DlmzDx8x.js";
17
- import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-D89wDcz9.js";
11
+ import { i as getImageMetadata, m as normalizeMessageChannel, n as buildImageResizeSideGrid, p as listDeliverableMessageChannels, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-CehkHxmW.js";
12
+ import { C as ensureChromeExtensionRelayServer, D as PROFILE_POST_RESTART_WS_TIMEOUT_MS, E as PROFILE_ATTACH_RETRY_TIMEOUT_MS, G as DEFAULT_BROWSER_EVALUATE_ENABLED, H as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, I as resolveWritablePathWithinRoot, J as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, K as DEFAULT_OPENCLAW_BROWSER_COLOR, M as DEFAULT_TRACE_DIR, N as DEFAULT_UPLOAD_DIR, O as resolveCdpReachabilityTimeouts, P as resolveExistingPathsWithinRoot, R as normalizeBrowserFormField, T as CDP_JSON_NEW_TIMEOUT_MS, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, V as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, W as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, _ as withBrowserNavigationPolicy, a as resolveOpenClawUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchOpenClawChrome, j as DEFAULT_DOWNLOAD_DIR, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopOpenClawChrome, p as snapshotAria, q as DEFAULT_OPENCLAW_BROWSER_ENABLED, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as isLoopbackHost } from "./chrome-DlhJHqj8.js";
13
+ import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CE_iqvM5.js";
14
+ import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-DqXRZmsL.js";
15
+ import { n as extractErrorCode, r as formatErrorMessage } from "./errors-CCLeFWAg.js";
16
+ import { n as SsrFBlockedError } from "./proxy-env-Cq5gdrbj.js";
17
+ import { i as saveMediaBuffer, n as ensureMediaDir } from "./store--eR1R_UX.js";
18
18
  import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-B89VigUN.js";
19
19
  import { i as writeTextAtomic, r as writeJsonAtomic } from "./json-files-D7-rxoSr.js";
20
- import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Bkr-BCxW.js";
20
+ import { a as resolveSessionTranscriptPathInDir, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-CCxysrzL.js";
21
21
  import { t as emitSessionTranscriptUpdate } from "./transcript-events-uYL2gEou.js";
22
- import { t as sanitizeContentBlocksImages } from "./tool-images-RZdHiZcG.js";
22
+ import { t as sanitizeContentBlocksImages } from "./tool-images-2cBx1W8h.js";
23
23
  import fs from "node:fs/promises";
24
24
  import os from "node:os";
25
25
  import path, { posix } from "node:path";
26
- import fs$1, { existsSync } from "node:fs";
26
+ import syncFs, { existsSync } from "node:fs";
27
27
  import { spawn } from "node:child_process";
28
28
  import crypto, { createHash, timingSafeEqual } from "node:crypto";
29
29
  import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
@@ -1278,7 +1278,7 @@ function isModuleNotFoundError(err) {
1278
1278
  }
1279
1279
  async function loadPwAiModule(mode) {
1280
1280
  try {
1281
- return await import("./pw-ai-DNMjFMqH.js");
1281
+ return await import("./pw-ai-CDQDCfUa.js");
1282
1282
  } catch (err) {
1283
1283
  if (mode === "soft") return null;
1284
1284
  if (isModuleNotFoundError(err)) return null;
@@ -3055,11 +3055,11 @@ async function movePathToTrash(targetPath) {
3055
3055
  return targetPath;
3056
3056
  } catch {
3057
3057
  const trashDir = path.join(os.homedir(), ".Trash");
3058
- fs$1.mkdirSync(trashDir, { recursive: true });
3058
+ syncFs.mkdirSync(trashDir, { recursive: true });
3059
3059
  const base = path.basename(targetPath);
3060
3060
  let dest = path.join(trashDir, `${base}-${Date.now()}`);
3061
- if (fs$1.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3062
- fs$1.renameSync(targetPath, dest);
3061
+ if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
3062
+ syncFs.renameSync(targetPath, dest);
3063
3063
  return dest;
3064
3064
  }
3065
3065
  }
@@ -3146,7 +3146,7 @@ function createBrowserProfilesService(ctx) {
3146
3146
  } catch {}
3147
3147
  const userDataDir = resolveOpenClawUserDataDir(name);
3148
3148
  const profileDir = path.dirname(userDataDir);
3149
- if (fs$1.existsSync(profileDir)) {
3149
+ if (syncFs.existsSync(profileDir)) {
3150
3150
  await movePathToTrash(profileDir);
3151
3151
  deleted = true;
3152
3152
  }
@@ -3644,7 +3644,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
3644
3644
  //#region src/browser/server-context.reset.ts
3645
3645
  async function closePlaywrightBrowserConnection() {
3646
3646
  try {
3647
- await (await import("./pw-ai-DNMjFMqH.js")).closePlaywrightBrowserConnection();
3647
+ await (await import("./pw-ai-CDQDCfUa.js")).closePlaywrightBrowserConnection();
3648
3648
  } catch {}
3649
3649
  }
3650
3650
  function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
@@ -3662,7 +3662,7 @@ function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, i
3662
3662
  if (await isHttpReachable(300) && !profileState.running) await closePlaywrightBrowserConnection();
3663
3663
  if (profileState.running) await stopRunningBrowser();
3664
3664
  await closePlaywrightBrowserConnection();
3665
- if (!fs$1.existsSync(userDataDir)) return {
3665
+ if (!syncFs.existsSync(userDataDir)) return {
3666
3666
  moved: false,
3667
3667
  from: userDataDir
3668
3668
  };
@@ -4410,7 +4410,7 @@ function releaseAllLocksSync() {
4410
4410
  if (typeof held.handle.close === "function") held.handle.close().catch(() => {});
4411
4411
  } catch {}
4412
4412
  try {
4413
- fs$1.rmSync(held.lockPath, { force: true });
4413
+ syncFs.rmSync(held.lockPath, { force: true });
4414
4414
  } catch {}
4415
4415
  HELD_LOCKS.delete(sessionFile);
4416
4416
  }
@@ -6008,7 +6008,7 @@ var SandboxFsBridgeImpl = class {
6008
6008
  if (guarded.reason !== "path") {
6009
6009
  if (!(options.allowedType === "directory" && this.pathIsExistingDirectory(target.hostPath))) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
6010
6010
  }
6011
- } else fs$1.closeSync(guarded.fd);
6011
+ } else syncFs.closeSync(guarded.fd);
6012
6012
  const canonicalContainerPath = await this.resolveCanonicalContainerPath({
6013
6013
  containerPath: target.containerPath,
6014
6014
  allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
@@ -6019,7 +6019,7 @@ var SandboxFsBridgeImpl = class {
6019
6019
  }
6020
6020
  pathIsExistingDirectory(hostPath) {
6021
6021
  try {
6022
- return fs$1.statSync(hostPath).isDirectory();
6022
+ return syncFs.statSync(hostPath).isDirectory();
6023
6023
  } catch {
6024
6024
  return false;
6025
6025
  }
@@ -6820,14 +6820,14 @@ function resolveSessionTranscriptCandidates(sessionId, storePath, sessionFile, a
6820
6820
  function canonicalizePathForComparison$1(filePath) {
6821
6821
  const resolved = path.resolve(filePath);
6822
6822
  try {
6823
- return fs$1.realpathSync(resolved);
6823
+ return syncFs.realpathSync(resolved);
6824
6824
  } catch {
6825
6825
  return resolved;
6826
6826
  }
6827
6827
  }
6828
6828
  function archiveFileOnDisk(filePath, reason) {
6829
6829
  const archived = `${filePath}.${reason}.${formatSessionArchiveTimestamp()}`;
6830
- fs$1.renameSync(filePath, archived);
6830
+ syncFs.renameSync(filePath, archived);
6831
6831
  return archived;
6832
6832
  }
6833
6833
  /**
@@ -6843,7 +6843,7 @@ function archiveSessionTranscripts(opts) {
6843
6843
  const relative = path.relative(storeDir, candidatePath);
6844
6844
  if (!relative || relative.startsWith("..") || path.isAbsolute(relative)) continue;
6845
6845
  }
6846
- if (!fs$1.existsSync(candidatePath)) continue;
6846
+ if (!syncFs.existsSync(candidatePath)) continue;
6847
6847
  try {
6848
6848
  archived.push(archiveFileOnDisk(candidatePath, opts.reason));
6849
6849
  } catch {}
@@ -6861,15 +6861,15 @@ async function cleanupArchivedSessionTranscripts(opts) {
6861
6861
  let removed = 0;
6862
6862
  let scanned = 0;
6863
6863
  for (const dir of directories) {
6864
- const entries = await fs$1.promises.readdir(dir).catch(() => []);
6864
+ const entries = await syncFs.promises.readdir(dir).catch(() => []);
6865
6865
  for (const entry of entries) {
6866
6866
  const timestamp = parseSessionArchiveTimestamp(entry, reason);
6867
6867
  if (timestamp == null) continue;
6868
6868
  scanned += 1;
6869
6869
  if (now - timestamp <= opts.olderThanMs) continue;
6870
6870
  const fullPath = path.join(dir, entry);
6871
- if (!(await fs$1.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6872
- await fs$1.promises.rm(fullPath).catch(() => void 0);
6871
+ if (!(await syncFs.promises.stat(fullPath).catch(() => null))?.isFile()) continue;
6872
+ await syncFs.promises.rm(fullPath).catch(() => void 0);
6873
6873
  removed += 1;
6874
6874
  }
6875
6875
  }
@@ -6999,7 +6999,7 @@ function isCacheEnabled(ttlMs) {
6999
6999
  }
7000
7000
  function getFileStatSnapshot(filePath) {
7001
7001
  try {
7002
- const stats = fs$1.statSync(filePath);
7002
+ const stats = syncFs.statSync(filePath);
7003
7003
  return {
7004
7004
  mtimeMs: stats.mtimeMs,
7005
7005
  sizeBytes: stats.size
@@ -7018,7 +7018,7 @@ const NOOP_LOGGER = {
7018
7018
  function canonicalizePathForComparison(filePath) {
7019
7019
  const resolved = path.resolve(filePath);
7020
7020
  try {
7021
- return fs$1.realpathSync(resolved);
7021
+ return syncFs.realpathSync(resolved);
7022
7022
  } catch {
7023
7023
  return resolved;
7024
7024
  }
@@ -7076,12 +7076,12 @@ function resolveReferencedSessionTranscriptPaths(params) {
7076
7076
  return referenced;
7077
7077
  }
7078
7078
  async function readSessionsDirFiles(sessionsDir) {
7079
- const dirEntries = await fs$1.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7079
+ const dirEntries = await syncFs.promises.readdir(sessionsDir, { withFileTypes: true }).catch(() => []);
7080
7080
  const files = [];
7081
7081
  for (const dirent of dirEntries) {
7082
7082
  if (!dirent.isFile()) continue;
7083
7083
  const filePath = path.join(sessionsDir, dirent.name);
7084
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7084
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7085
7085
  if (!stat?.isFile()) continue;
7086
7086
  files.push({
7087
7087
  path: filePath,
@@ -7094,9 +7094,9 @@ async function readSessionsDirFiles(sessionsDir) {
7094
7094
  return files;
7095
7095
  }
7096
7096
  async function removeFileIfExists(filePath) {
7097
- const stat = await fs$1.promises.stat(filePath).catch(() => null);
7097
+ const stat = await syncFs.promises.stat(filePath).catch(() => null);
7098
7098
  if (!stat?.isFile()) return 0;
7099
- await fs$1.promises.rm(filePath, { force: true }).catch(() => void 0);
7099
+ await syncFs.promises.rm(filePath, { force: true }).catch(() => void 0);
7100
7100
  return stat.size;
7101
7101
  }
7102
7102
  async function removeFileForBudget(params) {
@@ -7455,7 +7455,7 @@ function capEntryCount(store, overrideMax, opts = {}) {
7455
7455
  }
7456
7456
  async function getSessionFileSize(storePath) {
7457
7457
  try {
7458
- return (await fs$1.promises.stat(storePath)).size;
7458
+ return (await syncFs.promises.stat(storePath)).size;
7459
7459
  } catch {
7460
7460
  return null;
7461
7461
  }
@@ -7472,7 +7472,7 @@ async function rotateSessionFile(storePath, overrideBytes) {
7472
7472
  if (fileSize <= maxBytes) return false;
7473
7473
  const backupPath = `${storePath}.bak.${Date.now()}`;
7474
7474
  try {
7475
- await fs$1.promises.rename(storePath, backupPath);
7475
+ await syncFs.promises.rename(storePath, backupPath);
7476
7476
  log$2.info("rotated session store file", {
7477
7477
  backupPath: path.basename(backupPath),
7478
7478
  sizeBytes: fileSize
@@ -7483,11 +7483,11 @@ async function rotateSessionFile(storePath, overrideBytes) {
7483
7483
  try {
7484
7484
  const dir = path.dirname(storePath);
7485
7485
  const baseName = path.basename(storePath);
7486
- const backups = (await fs$1.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7486
+ const backups = (await syncFs.promises.readdir(dir)).filter((f) => f.startsWith(`${baseName}.bak.`)).toSorted().toReversed();
7487
7487
  const maxBackups = 3;
7488
7488
  if (backups.length > maxBackups) {
7489
7489
  const toDelete = backups.slice(maxBackups);
7490
- for (const old of toDelete) await fs$1.promises.unlink(path.join(dir, old)).catch(() => void 0);
7490
+ for (const old of toDelete) await syncFs.promises.unlink(path.join(dir, old)).catch(() => void 0);
7491
7491
  log$2.info("cleaned up old session store backups", { deleted: toDelete.length });
7492
7492
  }
7493
7493
  } catch {}
@@ -7610,7 +7610,7 @@ function loadSessionStore(storePath, opts = {}) {
7610
7610
  const maxReadAttempts = process.platform === "win32" ? 3 : 1;
7611
7611
  const retryBuf = maxReadAttempts > 1 ? new Int32Array(new SharedArrayBuffer(4)) : void 0;
7612
7612
  for (let attempt = 0; attempt < maxReadAttempts; attempt++) try {
7613
- const raw = fs$1.readFileSync(storePath, "utf-8");
7613
+ const raw = syncFs.readFileSync(storePath, "utf-8");
7614
7614
  if (raw.length === 0 && attempt < maxReadAttempts - 1) {
7615
7615
  Atomics.wait(retryBuf, 0, 0, 50);
7616
7616
  continue;
@@ -7764,7 +7764,7 @@ async function saveSessionStoreUnlocked(storePath, store, opts) {
7764
7764
  });
7765
7765
  }
7766
7766
  }
7767
- await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
7767
+ await syncFs.promises.mkdir(path.dirname(storePath), { recursive: true });
7768
7768
  const json = JSON.stringify(store, null, 2);
7769
7769
  if (getSerializedSessionStore(storePath) === json) {
7770
7770
  updateSessionStoreWriteCaches({
@@ -8101,8 +8101,8 @@ function resolveMirroredTranscriptText(params) {
8101
8101
  return trimmed ? trimmed : null;
8102
8102
  }
8103
8103
  async function ensureSessionHeader(params) {
8104
- if (fs$1.existsSync(params.sessionFile)) return;
8105
- await fs$1.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8104
+ if (syncFs.existsSync(params.sessionFile)) return;
8105
+ await syncFs.promises.mkdir(path.dirname(params.sessionFile), { recursive: true });
8106
8106
  const header = {
8107
8107
  type: "session",
8108
8108
  version: CURRENT_SESSION_VERSION,
@@ -8110,7 +8110,7 @@ async function ensureSessionHeader(params) {
8110
8110
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
8111
8111
  cwd: process.cwd()
8112
8112
  };
8113
- await fs$1.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8113
+ await syncFs.promises.writeFile(params.sessionFile, `${JSON.stringify(header)}\n`, {
8114
8114
  encoding: "utf-8",
8115
8115
  mode: 384
8116
8116
  });
@@ -8345,13 +8345,13 @@ async function ensureSandboxWorkspace(workspaceDir, seedFrom, skipBootstrap) {
8345
8345
  });
8346
8346
  if (!opened.ok) continue;
8347
8347
  try {
8348
- const content = fs$1.readFileSync(opened.fd, "utf-8");
8348
+ const content = syncFs.readFileSync(opened.fd, "utf-8");
8349
8349
  await fs.writeFile(dest, content, {
8350
8350
  encoding: "utf-8",
8351
8351
  flag: "wx"
8352
8352
  });
8353
8353
  } finally {
8354
- fs$1.closeSync(opened.fd);
8354
+ syncFs.closeSync(opened.fd);
8355
8355
  }
8356
8356
  } catch {}
8357
8357
  }
@@ -1,10 +1,10 @@
1
1
  import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
2
2
  import { T as truncateUtf16Safe } from "./utils-6WlODK5w.js";
3
- import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Ct-_lzi1.js";
4
- import { t as sanitizeContentBlocksImages } from "./tool-images-CNPfeCmU.js";
3
+ import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-0TbzPJaS.js";
4
+ import { t as sanitizeContentBlocksImages } from "./tool-images-Bn6dB14u.js";
5
5
  import { s as normalizeThinkLevel } from "./thinking-CrcT589P.js";
6
6
  import path from "node:path";
7
- import fs from "node:fs/promises";
7
+ import fsPromises from "node:fs/promises";
8
8
  import { createHash } from "node:crypto";
9
9
 
10
10
  //#region src/agents/pi-embedded-helpers/bootstrap.ts
@@ -108,10 +108,10 @@ function clampToBudget(content, budget) {
108
108
  async function ensureSessionHeader(params) {
109
109
  const file = params.sessionFile;
110
110
  try {
111
- await fs.stat(file);
111
+ await fsPromises.stat(file);
112
112
  return;
113
113
  } catch {}
114
- await fs.mkdir(path.dirname(file), { recursive: true });
114
+ await fsPromises.mkdir(path.dirname(file), { recursive: true });
115
115
  const entry = {
116
116
  type: "session",
117
117
  version: 2,
@@ -119,7 +119,7 @@ async function ensureSessionHeader(params) {
119
119
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
120
120
  cwd: params.cwd
121
121
  };
122
- await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
122
+ await fsPromises.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
123
123
  }
124
124
  function buildBootstrapContextFiles(files, opts) {
125
125
  const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-Dna0Gz1k.js";
2
+ import { c as normalizeProviderId, nr as ensureAuthProfileStore } from "./model-selection-idoqPmw0.js";
3
3
  import path from "node:path";
4
- import fs from "node:fs";
4
+ import syncFs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
6
6
 
7
7
  //#region src/agents/pi-auth-credentials.ts
@@ -70,10 +70,10 @@ function isRecord(value) {
70
70
  }
71
71
  function scrubLegacyStaticAuthJsonEntries(pathname) {
72
72
  if (process.env.OPENCLAW_AUTH_STORE_READONLY === "1") return;
73
- if (!fs.existsSync(pathname)) return;
73
+ if (!syncFs.existsSync(pathname)) return;
74
74
  let parsed;
75
75
  try {
76
- parsed = JSON.parse(fs.readFileSync(pathname, "utf8"));
76
+ parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
77
77
  } catch {
78
78
  return;
79
79
  }
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
87
87
  }
88
88
  if (!changed) return;
89
89
  if (Object.keys(parsed).length === 0) {
90
- fs.rmSync(pathname, { force: true });
90
+ syncFs.rmSync(pathname, { force: true });
91
91
  return;
92
92
  }
93
- fs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
- fs.chmodSync(pathname, 384);
93
+ syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
94
+ syncFs.chmodSync(pathname, 384);
95
95
  }
96
96
  function createAuthStorage(AuthStorageLike, path, creds) {
97
97
  const withInMemory = AuthStorageLike;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Sr as normalizeProviderId, er as ensureAuthProfileStore } from "./auth-profiles-CdLTlJLc.js";
2
+ import { Sr as normalizeProviderId, er as ensureAuthProfileStore } from "./auth-profiles-15pq9j9V.js";
3
3
  import path from "node:path";
4
4
  import fs from "node:fs";
5
5
  import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
@@ -0,0 +1,11 @@
1
+ import "./run-with-concurrency-D_ZpbgEG.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import "./subsystem-Di1z8l0Z.js";
4
+ import "./workspace-CUVC6GX1.js";
5
+ import "./logger-DMZQQtxK.js";
6
+ import "./model-selection-idoqPmw0.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-TyzbVqa_.js";
9
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-BGgOlX8N.js";
10
+
11
+ export { discoverAuthStorage, discoverModels };
@@ -2,10 +2,10 @@ import "./globals-ENg_AXRt.js";
2
2
  import "./paths-BMo6kTge.js";
3
3
  import "./subsystem-BmoaLBy-.js";
4
4
  import "./boolean-DtWR5bt3.js";
5
- import "./auth-profiles-CdLTlJLc.js";
6
- import "./agent-scope-BRElciAf.js";
5
+ import "./auth-profiles-15pq9j9V.js";
6
+ import "./agent-scope-NQ9CtXYN.js";
7
7
  import "./utils-6WlODK5w.js";
8
- import "./openclaw-root-BFfBQ6FD.js";
8
+ import "./openclaw-root-BU3lu8pM.js";
9
9
  import "./logger-9wCpWqHD.js";
10
10
  import "./exec-GR2kPVc1.js";
11
11
  import "./registry-C3qkO1RG.js";
@@ -13,7 +13,7 @@ import "./github-copilot-token-Byc_YVYE.js";
13
13
  import "./host-env-security-lcjXF83D.js";
14
14
  import "./version-DdJhsIqk.js";
15
15
  import "./env-vars-mSSOl7Rv.js";
16
- import "./manifest-registry-DVviqWVY.js";
17
- import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-CECkJMCt.js";
16
+ import "./manifest-registry-CJb8odRF.js";
17
+ import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DOb5RTev.js";
18
18
 
19
19
  export { discoverAuthStorage, discoverModels };
@@ -2,10 +2,10 @@ import "./globals-ENg_AXRt.js";
2
2
  import "./paths-BMo6kTge.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
4
4
  import "./boolean-DtWR5bt3.js";
5
- import "./auth-profiles-CdLTlJLc.js";
6
- import "./agent-scope-BRElciAf.js";
5
+ import "./auth-profiles-15pq9j9V.js";
6
+ import "./agent-scope-NQ9CtXYN.js";
7
7
  import { E as isPlainObject } from "./utils-6WlODK5w.js";
8
- import "./openclaw-root-BFfBQ6FD.js";
8
+ import "./openclaw-root-BU3lu8pM.js";
9
9
  import "./logger-9wCpWqHD.js";
10
10
  import "./exec-GR2kPVc1.js";
11
11
  import "./registry-C3qkO1RG.js";
@@ -13,8 +13,8 @@ import "./github-copilot-token-Byc_YVYE.js";
13
13
  import "./host-env-security-lcjXF83D.js";
14
14
  import "./version-DdJhsIqk.js";
15
15
  import "./env-vars-mSSOl7Rv.js";
16
- import "./manifest-registry-DVviqWVY.js";
17
- import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-BfiudAAN.js";
16
+ import "./manifest-registry-CJb8odRF.js";
17
+ import { h as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-BpP9UBCE.js";
18
18
  import { createHash } from "node:crypto";
19
19
 
20
20
  //#region src/agents/tool-loop-detection.ts
@@ -1,12 +1,12 @@
1
- import "./run-with-concurrency-BgYfgkXT.js";
2
- import "./paths-Cvc9EM8Y.js";
3
- import { t as createSubsystemLogger } from "./subsystem-B45WV3qB.js";
4
- import "./workspace-U-DyR64O.js";
5
- import { D as isPlainObject } from "./logger-BfjWMCSD.js";
6
- import "./model-selection-Dna0Gz1k.js";
7
- import "./github-copilot-token-BDioPmd6.js";
8
- import "./legacy-names-DOC03BkU.js";
9
- import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-Co6Kghr-.js";
1
+ import "./run-with-concurrency-D_ZpbgEG.js";
2
+ import "./paths-C6TxBCvO.js";
3
+ import { t as createSubsystemLogger } from "./subsystem-Di1z8l0Z.js";
4
+ import "./workspace-CUVC6GX1.js";
5
+ import { D as isPlainObject } from "./logger-DMZQQtxK.js";
6
+ import "./model-selection-idoqPmw0.js";
7
+ import "./github-copilot-token-D13V9YBz.js";
8
+ import "./legacy-names-TyzbVqa_.js";
9
+ import { p as getDiagnosticSessionState, s as logToolLoopAction } from "./diagnostic-Bn4PZjMZ.js";
10
10
  import { createHash } from "node:crypto";
11
11
 
12
12
  //#region src/agents/tool-loop-detection.ts
@@ -1,10 +1,10 @@
1
- import { Vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-CdLTlJLc.js";
2
- import { i as resolveAgentConfig } from "./agent-scope-BRElciAf.js";
1
+ import { Vn as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./auth-profiles-15pq9j9V.js";
2
+ import { i as resolveAgentConfig } from "./agent-scope-NQ9CtXYN.js";
3
3
  import { D as resolveThreadParentSessionKey, c as normalizeAgentId, u as resolveAgentIdFromSessionKey } from "./session-key-k6urs9r-.js";
4
- import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-BbUkruOF.js";
4
+ import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-nA2DVPCV.js";
5
5
  import { l as normalizeMessageChannel } from "./message-channel-CIqYyQ36.js";
6
- import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-Ct-_lzi1.js";
7
- import { i as readChannelAllowFromStore } from "./pairing-store-BXArq4hn.js";
6
+ import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-0TbzPJaS.js";
7
+ import { i as readChannelAllowFromStore } from "./pairing-store-Brs9aNn_.js";
8
8
  import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-DzfdGdp7.js";
9
9
 
10
10
  //#region src/channels/command-gating.ts
@@ -1,9 +1,9 @@
1
- import { Sr as normalizeProviderId } from "./auth-profiles-CdLTlJLc.js";
1
+ import { Sr as normalizeProviderId } from "./auth-profiles-15pq9j9V.js";
2
2
  import { t as CONFIG_DIR, u as isRecord, v as resolveUserPath } from "./utils-6WlODK5w.js";
3
3
  import { a as getChatChannelMeta, l as normalizeChatChannelId, o as listChatChannels } from "./registry-C3qkO1RG.js";
4
4
  import { n as MANIFEST_KEY } from "./legacy-names-DswREgBV.js";
5
- import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-DVviqWVY.js";
6
- import { t as hasAnyWhatsAppAuth } from "./accounts-DJaYqD2E.js";
5
+ import { n as loadPluginManifestRegistry, r as discoverOpenClawPlugins } from "./manifest-registry-CJb8odRF.js";
6
+ import { t as hasAnyWhatsAppAuth } from "./accounts-khXX75l1.js";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs";
9
9
 
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
3
- import { z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
4
- import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BRElciAf.js";
3
+ import { z as loadConfig } from "./auth-profiles-15pq9j9V.js";
4
+ import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
5
5
  import { u as getActivePluginRegistry } from "./registry-C3qkO1RG.js";
6
- import { b as loadOpenClawPlugins } from "./subagent-registry-CPxHbyN5.js";
6
+ import { b as loadOpenClawPlugins } from "./subagent-registry-8qHIVhRq.js";
7
7
 
8
8
  //#region src/cli/plugin-registry.ts
9
9
  var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-BR1DXa8T.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-C1j7HSL0.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-C_KCHwvf.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CNCCkdEF.js";
3
3
 
4
4
  //#region src/imessage/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
@@ -1,5 +1,5 @@
1
- import { ot as normalizeAccountId } from "./run-with-concurrency-BR1DXa8T.js";
2
- import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-C1j7HSL0.js";
1
+ import { ot as normalizeAccountId } from "./run-with-concurrency-C_KCHwvf.js";
2
+ import { v as resolveAccountEntry, y as createAccountListHelpers } from "./accounts-CNCCkdEF.js";
3
3
 
4
4
  //#region src/signal/accounts.ts
5
5
  const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
@@ -1,6 +1,6 @@
1
- import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-BR1DXa8T.js";
2
- import { Tr as formatCliCommand } from "./config-CHQrpx-Q.js";
3
- import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-DHIIvMxj.js";
1
+ import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId, st as normalizeOptionalAccountId } from "./run-with-concurrency-C_KCHwvf.js";
2
+ import { Tr as formatCliCommand } from "./config-B1z-UxQ3.js";
3
+ import { B as success, G as getChildLogger, I as info, j as defaultRuntime, m as jidToE164, y as resolveUserPath } from "./logger-CvPFVOgT.js";
4
4
  import { o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
@@ -1,5 +1,5 @@
1
- import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-BR1DXa8T.js";
2
- import { Tr as formatCliCommand } from "./config-CHQrpx-Q.js";
1
+ import { at as DEFAULT_ACCOUNT_ID } from "./run-with-concurrency-C_KCHwvf.js";
2
+ import { Tr as formatCliCommand } from "./config-B1z-UxQ3.js";
3
3
  import crypto from "node:crypto";
4
4
 
5
5
  //#region src/logging/redact-identifier.ts
@@ -1,5 +1,5 @@
1
- import { Ht as normalizeProviderId } from "./config-CHQrpx-Q.js";
2
- import { r as formatErrorMessage } from "./errors-CtMWwS2Z.js";
1
+ import { Ht as normalizeProviderId } from "./config-B1z-UxQ3.js";
2
+ import { r as formatErrorMessage } from "./errors-B3cHyZZA.js";
3
3
 
4
4
  //#region src/infra/gemini-auth.ts
5
5
  /**
@@ -1,31 +1,31 @@
1
- import "./run-with-concurrency-BR1DXa8T.js";
2
- import "./config-CHQrpx-Q.js";
3
- import { L as logVerbose, z as shouldLogVerbose } from "./logger-DHIIvMxj.js";
1
+ import "./run-with-concurrency-C_KCHwvf.js";
2
+ import "./config-B1z-UxQ3.js";
3
+ import { L as logVerbose, z as shouldLogVerbose } from "./logger-CvPFVOgT.js";
4
4
  import "./paths-0d8fBoC4.js";
5
- import "./accounts-C1j7HSL0.js";
6
- import "./plugins-CbCt4osF.js";
7
- import "./thinking-URzkT-3p.js";
8
- import "./accounts-DyFCXtHv.js";
9
- import "./image-ops-BnZKcbd6.js";
10
- import "./pi-embedded-helpers-DnA_OCzP.js";
11
- import "./accounts-BJAXxY46.js";
5
+ import "./accounts-CNCCkdEF.js";
6
+ import "./plugins-C4USiH29.js";
7
+ import "./thinking-DOnsR_A8.js";
8
+ import "./accounts-BslAlVYS.js";
9
+ import "./image-ops-Cbzr4U9l.js";
10
+ import "./pi-embedded-helpers-DIxXkGJf.js";
11
+ import "./accounts-C3m65--E.js";
12
12
  import "./github-copilot-token-CKKBybuX.js";
13
- import "./paths-DopV9PQG.js";
14
- import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-CB53F7_7.js";
15
- import "./image-BwjYjRHx.js";
16
- import "./chrome-f00sZkDX.js";
17
- import "./skills-QudILG6e.js";
18
- import "./path-alias-guards-C7Vm5DZ1.js";
19
- import "./redact-hp9TOulW.js";
20
- import "./errors-CtMWwS2Z.js";
21
- import "./fs-safe-DtfhxbrI.js";
22
- import "./proxy-env-C63mMdas.js";
23
- import "./store-BbDQw3g6.js";
24
- import "./tool-images-xpqbP6RR.js";
25
- import "./fetch-guard-CxYB5Kg6.js";
26
- import "./api-key-rotation-8nyyt1kx.js";
27
- import "./local-roots-KhjQw04O.js";
28
- import "./proxy-fetch-Ch95c_Y2.js";
13
+ import "./paths-Dpg3qxcl.js";
14
+ import { i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, p as isAudioAttachment, t as runAudioTranscription } from "./audio-transcription-runner-DnxvOS1-.js";
15
+ import "./image-B2mQW9Rb.js";
16
+ import "./chrome-CjNTuJML.js";
17
+ import "./skills-Cw_vXEJb.js";
18
+ import "./path-alias-guards-sWayacde.js";
19
+ import "./redact-Bvxt1T_Q.js";
20
+ import "./errors-B3cHyZZA.js";
21
+ import "./fs-safe-BaKqI3G4.js";
22
+ import "./proxy-env-ET-rp8eg.js";
23
+ import "./store-CMHj6IIw.js";
24
+ import "./tool-images-eEfOVkzf.js";
25
+ import "./fetch-guard-Dcgod0tg.js";
26
+ import "./api-key-rotation-BXnNsojA.js";
27
+ import "./local-roots-CIPRxA-4.js";
28
+ import "./proxy-fetch-uDXGKG3Z.js";
29
29
 
30
30
  //#region src/media-understanding/audio-preflight.ts
31
31
  /**