wednesdayai 0.4.12-dev.729 → 0.4.12-dev.730

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 (443) hide show
  1. package/dist/{acp-cli-I7YUgqCR.js → acp-cli-BP69XOSe.js} +13 -13
  2. package/dist/{agent-scope-Ppgyx_kd.js → agent-scope-CxydHZjT.js} +21 -21
  3. package/dist/{agent-turn-enqueue-CW_401rj.js → agent-turn-enqueue-D-72TPFG.js} +5 -5
  4. package/dist/{agent-turn-enqueue-DoWWsxog.js → agent-turn-enqueue-DKRQcdxb.js} +6 -6
  5. package/dist/{agent-turn-execute-A0TURQhp.js → agent-turn-execute-Bh97uBaG.js} +194 -194
  6. package/dist/{agent-turn-recovery-adapter-BNI0O8Mj.js → agent-turn-recovery-adapter-DZsBJig8.js} +3 -3
  7. package/dist/{agent-turn-recovery-adapter-CJ4g6khf.js → agent-turn-recovery-adapter-TZIfB8s6.js} +1 -1
  8. package/dist/{agent-turn-runner-BVBnEVO0.js → agent-turn-runner-Bv9LuLHR.js} +2 -2
  9. package/dist/{agent-turn-runner-B10CqZVv.js → agent-turn-runner-Cea0N8hZ.js} +5 -5
  10. package/dist/{agent-turn-runner-CM3MQTJU.js → agent-turn-runner-DtRDx5nj.js} +1 -1
  11. package/dist/{agent-turn-runner-DzGi5c4M.js → agent-turn-runner-rlaI8UZh.js} +2 -2
  12. package/dist/{agents-CqGOYUmk.js → agents-CcRZaVIM.js} +20 -20
  13. package/dist/{agents.config-CfQTsYDc.js → agents.config-BIAN7yD0.js} +3 -3
  14. package/dist/{agents.config-iuJI5Qb7.js → agents.config-BR-2_pQX.js} +1 -1
  15. package/dist/{api-uxkyeSmH.js → api-CoJEjegK.js} +1 -1
  16. package/dist/{api-key-rotation-CtZSwE0N.js → api-key-rotation-BfX7mRma.js} +1 -1
  17. package/dist/{artifacts-BjWykx-p.js → artifacts-mmiw3Aqi.js} +1 -1
  18. package/dist/{audio-preflight-BYkASiuL.js → audio-preflight-BeM0QH9O.js} +38 -38
  19. package/dist/{audio-preflight-CLEofd1a.js → audio-preflight-CPGaMcl9.js} +6 -6
  20. package/dist/{audio-transcription-runner-C6aQCxFd.js → audio-transcription-runner-1caiMqoM.js} +1 -1
  21. package/dist/{audio-transcription-runner-0S6456vW.js → audio-transcription-runner-BQ-xozUJ.js} +26 -26
  22. package/dist/{audit-DdxXEcHv.js → audit-DEW5Bp17.js} +33 -33
  23. package/dist/{audit-D7HwuhC3.js → audit-vLZ-GPkj.js} +3 -3
  24. package/dist/{auth-CZ7-R3rC.js → auth-CzqOUm43.js} +4 -4
  25. package/dist/{auth-choice-rhHVvoEZ.js → auth-choice-BgRokiZf.js} +17 -17
  26. package/dist/{auth-choice-_Ngg8dJn.js → auth-choice-DG23ZlyE.js} +13 -13
  27. package/dist/{auth-choice-DzVb3c4S.js → auth-choice-DIu_6W5c.js} +1 -1
  28. package/dist/{auth-choice.apply-helpers-BMrtYUQo.js → auth-choice.apply-helpers-BuqGJPas.js} +1 -1
  29. package/dist/{auth-token-DFBrANaQ.js → auth-token-Die78Dee.js} +2 -2
  30. package/dist/{banner-BqEUBSwB.js → banner-CpVH8pYW.js} +4 -4
  31. package/dist/{bonjour-discovery-CojQUMEO.js → bonjour-discovery-DsPDdJ75.js} +3 -3
  32. package/dist/{browser-cli-BOoKWbUB.js → browser-cli-Cfne-bZg.js} +21 -21
  33. package/dist/build-info.json +3 -3
  34. package/dist/bundled/boot-md/handler.js +2 -2
  35. package/dist/bundled/session-journal/handler.js +2 -2
  36. package/dist/bundled/session-memory/handler.js +2 -2
  37. package/dist/{call-BGJB7J3q.js → call-5i352x9j.js} +12 -12
  38. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  39. package/dist/{channel-account-context-B0BYG0hd.js → channel-account-context-BRw1RtQ_.js} +7 -7
  40. package/dist/{channel-activity-CUFBYpfH.js → channel-activity-C08pUdDN.js} +2 -2
  41. package/dist/{channel-options-C3u2Sg1X.js → channel-options-BAPGXbiT.js} +3 -3
  42. package/dist/{channel-options-C1IIAhgv.js → channel-options-Cz9kTenL.js} +1 -1
  43. package/dist/{channel-selection-A64KNpWH.js → channel-selection-EeyjFzad.js} +1 -1
  44. package/dist/{channels-cli-YNVo_J7T.js → channels-cli-BidTgEPd.js} +123 -123
  45. package/dist/{channels-cli-Dz1fY7Ks.js → channels-cli-DRrzM0ls.js} +22 -22
  46. package/dist/{channels-status-issues-BLHnC4d_.js → channels-status-issues-Cab9ixM6.js} +1 -1
  47. package/dist/{chrome-93M6AryA.js → chrome-BLqsc9fh.js} +6 -6
  48. package/dist/{chunk-BIErRWoV.js → chunk-CyVpre5Y.js} +3 -3
  49. package/dist/{clack-prompter-shjXV_CK.js → clack-prompter-ThJZQZ7f.js} +5 -5
  50. package/dist/{clawbot-cli-Cts0cOiE.js → clawbot-cli-wZlRKczI.js} +17 -17
  51. package/dist/cli/daemon-cli.js +1 -1
  52. package/dist/cli-BdacdmTo.js +166 -0
  53. package/dist/{cli-DKuWVT_o.js → cli-CmSRQF8z.js} +18 -18
  54. package/dist/{client-CcJEvW7d.js → client-EEggbMMG.js} +3 -3
  55. package/dist/{client-profiles-CDNULV1v.js → client-profiles-L4VajtTA.js} +2 -2
  56. package/dist/{clipboard-ueGeqjzM.js → clipboard-DHS-_ANO.js} +1 -1
  57. package/dist/{command-queue-g1tNC8Vs.js → command-queue-C9EZpC0r.js} +1 -1
  58. package/dist/{command-queue-BXX9dOOY.js → command-queue-Df8m2C14.js} +1 -1
  59. package/dist/{command-registry-D7a2MHeF.js → command-registry-DJ2RcG6i.js} +14 -14
  60. package/dist/{command-secret-targets-BX0CPQr-.js → command-secret-targets-BLUddYry.js} +4 -4
  61. package/dist/{commands-B4ce9Pyw.js → commands-DcCuNsWv.js} +1 -1
  62. package/dist/{commands-registry-CcbNhUWz.js → commands-registry-Dh2bmHYX.js} +3 -3
  63. package/dist/{completion-cli-Bw457ikU.js → completion-cli-CF1KcRLT.js} +16 -16
  64. package/dist/{completion-cli-BDOVwJNU.js → completion-cli-CSlJsSsc.js} +1 -1
  65. package/dist/{config-B_l7dU75.js → config-Wy1wQZjq.js} +58 -58
  66. package/dist/{config-cli-DdgtqEUK.js → config-cli-CeTT4CIX.js} +1 -1
  67. package/dist/{config-cli-BS_Dn2U3.js → config-cli-DzLfLd1l.js} +15 -15
  68. package/dist/{config-guard-D8pceOYu.js → config-guard-CxJY7cYj.js} +4 -4
  69. package/dist/{config-validation-bWS01yvf.js → config-validation-tSgClPKz.js} +4 -4
  70. package/dist/{configure-DyjgsBKI.js → configure-BvTYT92W.js} +3 -3
  71. package/dist/{configure-B3bu-lE9.js → configure-DY6FxXGJ.js} +25 -25
  72. package/dist/{control-ui-assets-Dz1n0dDI.js → control-ui-assets-CUNJ-wZT.js} +3 -3
  73. package/dist/{controller-CqvurxyG.js → controller-BSfjG3lf.js} +1 -1
  74. package/dist/{credentials-DcWx5UdN.js → credentials-CZpBSFEO.js} +1 -1
  75. package/dist/{cron-cli-stdpJx8z.js → cron-cli-CaLjTgrD.js} +16 -16
  76. package/dist/{daemon-cli-C2KlymGb.js → daemon-cli-kHqIPg4E.js} +19 -19
  77. package/dist/{daemon-install-Bb0jLWtP.js → daemon-install-D6QY6h-a.js} +11 -11
  78. package/dist/{daemon-install-helpers-D9sQQxjq.js → daemon-install-helpers-BpCzt6Hc.js} +13 -13
  79. package/dist/{deliver-DUBuu2uJ.js → deliver-CKHf6BfA.js} +11 -11
  80. package/dist/{deliver-C2Wz9PWj.js → deliver-iL5dyQ_w.js} +1 -1
  81. package/dist/{devices-cli-BhvJltFw.js → devices-cli-ysWdBZx4.js} +14 -14
  82. package/dist/{diagnostic-DuMnWlrO.js → diagnostic-CsiKdkkn.js} +4 -4
  83. package/dist/{diagnostic-C5wYymNQ.js → diagnostic-DBsNslQA.js} +1 -1
  84. package/dist/{diagnostics-brY1xU9j.js → diagnostics-DXe05OkI.js} +5 -5
  85. package/dist/{directory-cli-Brg7vqSd.js → directory-cli-Cnuwint-.js} +13 -13
  86. package/dist/{dm-policy-shared-yJEiBvgY.js → dm-policy-shared-BFynL_iX.js} +5 -5
  87. package/dist/{dns-cli-LuV21OdM.js → dns-cli-NCsBWdX6.js} +12 -12
  88. package/dist/{docs-cli-DjorWzOU.js → docs-cli-N_pc80nZ.js} +12 -12
  89. package/dist/{doctor-completion-C3mNG21F.js → doctor-completion-B1eLtCOM.js} +3 -3
  90. package/dist/{doctor-completion-BJHSi6k4.js → doctor-completion-B1qmR3tQ.js} +1 -1
  91. package/dist/{doctor-config-flow-CTSGH57H.js → doctor-config-flow-DDN0ovwf.js} +19 -19
  92. package/dist/{enable-Cg6VGOzr.js → enable-B1kzYvA6.js} +2 -2
  93. package/dist/entry.js +4 -4
  94. package/dist/{exec-B6VJhiff.js → exec-DtX60IXR.js} +2 -2
  95. package/dist/{exec-approvals-BsebcahG.js → exec-approvals-C4CZ1V0m.js} +2 -2
  96. package/dist/{exec-approvals-allowlist-BJCk_TPq.js → exec-approvals-allowlist-DlF01Fkm.js} +1 -1
  97. package/dist/{exec-approvals-cli-CpZFCJhK.js → exec-approvals-cli-DDsgcVGo.js} +26 -26
  98. package/dist/{exec-safe-bin-runtime-policy-DNVd_94E.js → exec-safe-bin-runtime-policy-BH45jyJz.js} +2 -2
  99. package/dist/{extension-relay-auth-Dicdw7Xi.js → extension-relay-auth-DeehlFvz.js} +10 -10
  100. package/dist/extensionAPI.js +2 -2
  101. package/dist/{fetch-B6tx3m8j.js → fetch-COk8GnL3.js} +5 -5
  102. package/dist/{fetch-guard-D9Baq9VL.js → fetch-guard-BpcmLYcl.js} +3 -3
  103. package/dist/{frontmatter-DTtFYkCc.js → frontmatter-pi3glMFx.js} +2 -2
  104. package/dist/{fs-safe-DDz2ygyq.js → fs-safe-DSWE-pxQ.js} +25 -25
  105. package/dist/{gateway-cli-DNzVSEgi.js → gateway-cli-BeaoqfXG.js} +41 -41
  106. package/dist/{gateway-cli-DCEGccnP.js → gateway-cli-yWMVCCLt.js} +222 -222
  107. package/dist/{gateway-rpc-c8XzfYDl.js → gateway-rpc-C2PqTIDi.js} +3 -3
  108. package/dist/{globals-NHZhvbUb.js → globals-DzEfsMsj.js} +11 -11
  109. package/dist/{gmail-setup-utils-D4Dn4Vqi.js → gmail-setup-utils-uAAzkjJP.js} +3 -3
  110. package/dist/{health-CohIvGFu.js → health-DDFoa_vd.js} +11 -11
  111. package/dist/{health-B9kSP1yr.js → health-DFxVZQP8.js} +2 -2
  112. package/dist/{health-format-BS-M5J8K.js → health-format-B1ElAx-F.js} +1 -1
  113. package/dist/{heartbeat-tick-CNXKuUx8.js → heartbeat-tick-CVUubxop.js} +2 -2
  114. package/dist/{help-format-Bsgr8mqL.js → help-format-aPNS9ayu.js} +1 -1
  115. package/dist/{helpers-BYFW2nSK.js → helpers-BNMarGmo.js} +1 -1
  116. package/dist/{hooks-cli-BC7PXwrl.js → hooks-cli-Il6c46Hj.js} +111 -111
  117. package/dist/{hooks-cli-UgeEAR7U.js → hooks-cli-WT_iEJLp.js} +19 -19
  118. package/dist/{hooks-status-n4KWKh1Y.js → hooks-status-xDCStRjI.js} +3 -3
  119. package/dist/{image-ops-BXRKcOTd.js → image-ops-CAEEQmlt.js} +11 -11
  120. package/dist/{incident-install-DRZu7hrx.js → incident-install-K_JM0Dou.js} +13 -13
  121. package/dist/index.js +22 -22
  122. package/dist/{inspect-C2g9LrbN.js → inspect-DNbhm85u.js} +4 -4
  123. package/dist/{install-safe-path-BqxzjzC-.js → install-safe-path-D7s18Vq0.js} +25 -25
  124. package/dist/{installs-yixcXYPn.js → installs-ttC39JR4.js} +10 -10
  125. package/dist/{ipv4-BcWFaVPH.js → ipv4-vPs-MXPy.js} +2 -2
  126. package/dist/{ir-CnD8edWb.js → ir-DkcivUQx.js} +8 -8
  127. package/dist/{issue-format-YjkCmJ-x.js → issue-format-C5dvpWCs.js} +1 -1
  128. package/dist/{lifecycle-core-BH4dnQtI.js → lifecycle-core-D4FpkyNE.js} +9 -9
  129. package/dist/{links-DtN6Zip4.js → links-DMJmXnBC.js} +1 -1
  130. package/dist/{live-repair-CbBURFc-.js → live-repair-Bz_jXKsv.js} +12 -12
  131. package/dist/llm-slug-generator.js +2 -2
  132. package/dist/{log-tail-DSgUyVuy.js → log-tail-3lDge34F.js} +7 -7
  133. package/dist/{logger-TMWfboh4.js → logger-BH0Ng0XL.js} +2 -2
  134. package/dist/{logging-DXugoHqu.js → logging-CSynrPc7.js} +1 -1
  135. package/dist/{logs-cli-BhvP6zOH.js → logs-cli-BpRiX5pm.js} +20 -20
  136. package/dist/{manager-DeJU6IQ3.js → manager-B9U2B9ZD.js} +17 -17
  137. package/dist/{manager-B2ZPvPP9.js → manager-CJIpzjld.js} +10 -10
  138. package/dist/{manager-Bw3BvR19.js → manager-DPzBUqR_.js} +1 -1
  139. package/dist/{markdown-tables-Cvm3FY0g.js → markdown-tables-DDn13kBS.js} +2 -2
  140. package/dist/{memory-cli-DWRwQYct.js → memory-cli-DhTo1Zod.js} +19 -19
  141. package/dist/{model-iLCMc1K1.js → model-DK1--R8G.js} +2 -2
  142. package/dist/{model-catalog-IZAm7vxT.js → model-catalog-Bo-Fyihc.js} +4 -4
  143. package/dist/{model-picker-TEQP1kqG.js → model-picker-yfyn372D.js} +4 -4
  144. package/dist/{models-C8nsMRLQ.js → models-DQ8P8kP3.js} +24 -24
  145. package/dist/{models-cli-C_tHirnw.js → models-cli-BgcR4Exx.js} +18 -18
  146. package/dist/{models-cli-B4xLIOFc.js → models-cli-DYWhxPkO.js} +111 -111
  147. package/dist/{models-config-COyV_5JN.js → models-config-DJTO7ngW.js} +7 -7
  148. package/dist/{node-cli-1r7DXmyR.js → node-cli-DWicnGBi.js} +3 -3
  149. package/dist/{node-cli-CcOYQNYG.js → node-cli-TVPaLcV6.js} +43 -43
  150. package/dist/{node-command-policy-DQ3xpsxF.js → node-command-policy-DXW0gACZ.js} +1 -1
  151. package/dist/{node-service-D4loK5LL.js → node-service-B2PMocVE.js} +1 -1
  152. package/dist/{nodes-cli-duW7tvW5.js → nodes-cli-D7zwQnbg.js} +26 -26
  153. package/dist/{nodes-screen-Cj7gGqy5.js → nodes-screen-BNh2me3N.js} +8 -8
  154. package/dist/{note-CzdXZOFH.js → note-CIEfvmda.js} +2 -2
  155. package/dist/{npm-pack-install-DC954ztS.js → npm-pack-install-DcfhfmQD.js} +23 -23
  156. package/dist/{npm-resolution-DjNRsPrE.js → npm-resolution-CfUBQFfN.js} +1 -1
  157. package/dist/{npm-resolution-7CvMNako.js → npm-resolution-D4Qm28gZ.js} +5 -5
  158. package/dist/{oauth-tls-preflight-D5qAcith.js → oauth-tls-preflight-S1P1M9Ik.js} +1 -1
  159. package/dist/{onboard-BRwdSaEZ.js → onboard-BvD9jey6.js} +2 -2
  160. package/dist/{onboard-DOq-9xkW.js → onboard-CBNCu0qo.js} +11 -11
  161. package/dist/{onboard-channels-DtFBZO3K.js → onboard-channels-Cfm1xNhD.js} +1 -1
  162. package/dist/{onboard-channels-RKPslaou.js → onboard-channels-F6-jE9Q4.js} +24 -24
  163. package/dist/{onboard-custom-B_IbBJHN.js → onboard-custom-DOGTl-wh.js} +4 -4
  164. package/dist/{onboard-helpers-CV2_sx_X.js → onboard-helpers-CrNbGK-_.js} +14 -14
  165. package/dist/{onboard-hooks-PDzAZcds.js → onboard-hooks-HF8fUNGq.js} +8 -8
  166. package/dist/{onboard-remote-Cc7ortQZ.js → onboard-remote-C3wAKiOr.js} +5 -5
  167. package/dist/{onboard-skills-D2WP55Qf.js → onboard-skills-_Y4g6XMV.js} +4 -4
  168. package/dist/{onboarding-CZB-jEDP.js → onboarding-D7zNU656.js} +18 -18
  169. package/dist/{onboarding-CUNJUHYe.js → onboarding-DAAosO4y.js} +3 -3
  170. package/dist/{onboarding.finalize-tQDsF0Ht.js → onboarding.finalize-DRyZQ35t.js} +23 -23
  171. package/dist/{onboarding.finalize-zo8Tr42K.js → onboarding.finalize-DswgDFUV.js} +119 -119
  172. package/dist/{onboarding.gateway-config-CcAYavIB.js → onboarding.gateway-config-B966E_Je.js} +18 -18
  173. package/dist/{onboarding.secret-input-hdMynEhM.js → onboarding.secret-input-rEXj_hwb.js} +1 -1
  174. package/dist/{openai-model-default-DgwEDHMc.js → openai-model-default-C7JSp9AY.js} +2 -2
  175. package/dist/{openclaw-root-CboPaWH8.js → openclaw-root-COWNwQGN.js} +2 -2
  176. package/dist/{operator-commands-DPTwKc1Q.js → operator-commands-Bt-GMvlt.js} +7 -7
  177. package/dist/{operator-commands-5zFJBNls.js → operator-commands-WclkbpNn.js} +2 -2
  178. package/dist/{outbound-attachment-eSRdTa0O.js → outbound-attachment-BqLrqvUz.js} +2 -2
  179. package/dist/{outbound-message-hooks-DCmApMZ7.js → outbound-message-hooks-BaL31mgo.js} +5 -5
  180. package/dist/{pairing-cli-BwAqmcbZ.js → pairing-cli--mX6NBbQ.js} +12 -12
  181. package/dist/{pairing-labels-Cmy5jzFo.js → pairing-labels-Cga04_F-.js} +1 -1
  182. package/dist/{pairing-store-C_emmXE4.js → pairing-store-baQ6verU.js} +3 -3
  183. package/dist/{path-alias-guards-Dn6kxDaO.js → path-alias-guards-CwFH4u4Y.js} +3 -3
  184. package/dist/{path-safety-BevSBibF.js → path-safety-bfKwXs6i.js} +1 -1
  185. package/dist/{pi-embedded-BXlLe43L.js → pi-embedded-C9hhorcY.js} +4 -4
  186. package/dist/{pi-embedded-w8WHdwfz.js → pi-embedded-DnsjQY9z.js} +4 -4
  187. package/dist/{pi-embedded-helpers-DIrkDh67.js → pi-embedded-helpers-BN8Yurrq.js} +8 -8
  188. package/dist/{pi-embedded-helpers-CGmQ4q3V.js → pi-embedded-helpers-CTXJgU8t.js} +1 -1
  189. package/dist/{pi-embedded-recovery-adapter-C-NuyPbb.js → pi-embedded-recovery-adapter-DZGloafF.js} +7 -7
  190. package/dist/{pi-embedded-recovery-adapter-B2XOvHxn.js → pi-embedded-recovery-adapter-bRl54qXI.js} +35 -35
  191. package/dist/{pi-embedded-utils-BdxZbV9G.js → pi-embedded-utils-CKNzzRk4.js} +1 -1
  192. package/dist/{pi-embedded-utils-CPX6p6Wq.js → pi-embedded-utils-DbCTbP_M.js} +2 -2
  193. package/dist/{pi-model-discovery-xwVo_Za1.js → pi-model-discovery-YsMuufO6.js} +1 -1
  194. package/dist/{pi-tools.policy-CeC8xqRL.js → pi-tools.policy-D4DT9S9M.js} +1 -1
  195. package/dist/{pid-alive-C13jc975.js → pid-alive-BkVX-P5U.js} +1 -1
  196. package/dist/{plugin-owned-work-recovery-adapter-CTpAqPxI.js → plugin-owned-work-recovery-adapter-qw7iAOXJ.js} +9 -9
  197. package/dist/{plugin-registry-B2PFGUgH.js → plugin-registry-Bb5cRSlw.js} +1 -1
  198. package/dist/{plugin-registry-B9UcnywB.js → plugin-registry-CctiIjXS.js} +4 -4
  199. package/dist/plugin-sdk/{agent-turn-execute-CvcGPIWd.js → agent-turn-execute-DLOD3wIK.js} +12 -12
  200. package/dist/plugin-sdk/{agent-turn-execute-Du5-PizP.js → agent-turn-execute-DiYinYcI.js} +2 -2
  201. package/dist/plugin-sdk/{agent-turn-runner-Dy2l1QuN.js → agent-turn-runner-BB3xBOkd.js} +3 -3
  202. package/dist/plugin-sdk/{agent-turn-runner-L6nWVyBs.js → agent-turn-runner-CP3CvHV_.js} +4 -4
  203. package/dist/plugin-sdk/{agent-turn-runner-BeIHlu2z.js → agent-turn-runner-Dz8mhXhJ.js} +1 -1
  204. package/dist/plugin-sdk/{audio-preflight-CVnT3CVi.js → audio-preflight-CdnIoP9g.js} +5 -5
  205. package/dist/plugin-sdk/{audio-transcription-runner-ff3d2MOe.js → audio-transcription-runner-ErPyMiHI.js} +1 -1
  206. package/dist/plugin-sdk/{chrome-D_wgFXHF.js → chrome-2r09CGaD.js} +8 -8
  207. package/dist/plugin-sdk/{command-detection-BRxqdaeL.js → command-detection-BHkl3aqL.js} +8 -8
  208. package/dist/plugin-sdk/{command-queue-CoRZcHy1.js → command-queue-BBOur699.js} +1 -1
  209. package/dist/plugin-sdk/{deliver-Cysu3ebt.js → deliver-0l2lZQiz.js} +3 -3
  210. package/dist/plugin-sdk/{deliver-BPg9MhVY.js → deliver-oSzFg9Zh.js} +1 -1
  211. package/dist/plugin-sdk/{diagnostic-CxHjTbyN.js → diagnostic-DQU_mY9i.js} +1 -1
  212. package/dist/plugin-sdk/index.js +2 -2
  213. package/dist/plugin-sdk/{pi-embedded-helpers-3gQz4b-b.js → pi-embedded-helpers-CNresdUf.js} +3 -3
  214. package/dist/plugin-sdk/{pi-embedded-utils-B49ia5m9.js → pi-embedded-utils-BEsRXBxc.js} +1 -1
  215. package/dist/plugin-sdk/{provider-dispatcher-B6b1Tdf0.js → provider-dispatcher-B8jJvLuR.js} +12 -12
  216. package/dist/plugin-sdk/{provider-dispatcher-B_iAXu2L.js → provider-dispatcher-hEp4znDa.js} +2 -2
  217. package/dist/plugin-sdk/{provider-image-VB9UOYSc.js → provider-image-CLWV4QQx.js} +4 -4
  218. package/dist/plugin-sdk/{provider-image-BKK0zQaJ.js → provider-image-WXG9I5WJ.js} +1 -1
  219. package/dist/plugin-sdk/{pw-ai-Zbmk8kti.js → pw-ai-kQB2ywnc.js} +1 -1
  220. package/dist/plugin-sdk/{runs-BmnkOAK5.js → runs-BcvvvV1J.js} +5 -5
  221. package/dist/plugin-sdk/{runs-Cr3XjmfA.js → runs-DE0G2LLI.js} +3 -3
  222. package/dist/plugin-sdk/{send-BrY7hRBo.js → send-CAiazzHI.js} +1 -1
  223. package/dist/plugin-sdk/{send-BcjKhfe8.js → send-Cn7YLM0P.js} +2 -2
  224. package/dist/plugin-sdk/{subagent-registry-BKwSNawW.js → subagent-registry-DD2djKv0.js} +2 -2
  225. package/dist/plugin-sdk/{subagent-registry-CIa1HABo.js → subagent-registry-UCbHoVJ2.js} +12 -12
  226. package/dist/plugin-sdk/testing.js +12 -12
  227. package/dist/plugin-sdk/{tools-DaFWYu0p.js → tools-yY7tjcsw.js} +35 -35
  228. package/dist/{plugins-cli-1_-Vf-1l.js → plugins-cli-6xqfmKxn.js} +114 -114
  229. package/dist/{plugins-cli-DksAX0ZH.js → plugins-cli-BhFLmnOz.js} +19 -19
  230. package/dist/{polling-timeout-CkFkpq_s.js → polling-timeout-x98FlzJG.js} +3 -3
  231. package/dist/{ports-dAGF3BJj.js → ports-B3y3yrTs.js} +2 -2
  232. package/dist/{ports-CLSVg-y-.js → ports-BzAUXaPL.js} +3 -3
  233. package/dist/{program-CBA0lcpg.js → program-C9Qgghl2.js} +110 -110
  234. package/dist/{program-context-DT5nb3SH.js → program-context-1o3YvOVB.js} +22 -22
  235. package/dist/{progress-C9R_51fN.js → progress-B5oGktxz.js} +2 -2
  236. package/dist/{prompt-select-styled-6JwLDntm.js → prompt-select-styled-BQSHxNZN.js} +50 -50
  237. package/dist/{prompt-select-styled-NPt5vMpO.js → prompt-select-styled-Nu1AAYTo.js} +7 -7
  238. package/dist/{prompt-style-B28wDUyJ.js → prompt-style-0wL61aMk.js} +1 -1
  239. package/dist/{provider-auth-helpers-CEgvqik4.js → provider-auth-helpers-SxWqAhy1.js} +6 -6
  240. package/dist/{provider-image-g7zj1qnV.js → provider-image-BNv43756.js} +1 -1
  241. package/dist/{provider-image-aaxt6RAc.js → provider-image-GRI3ijiz.js} +6 -6
  242. package/dist/{proxy-CkTukFRT.js → proxy-ZTZCSX-m.js} +1 -1
  243. package/dist/{proxy-env-C4AxlnMs.js → proxy-env-CCYLPZqe.js} +1 -1
  244. package/dist/{proxy-fetch-1FMAlfeR.js → proxy-fetch-CZr5_YhZ.js} +1 -1
  245. package/dist/{push-apns-CFg1Pls0.js → push-apns-BBk7vMkD.js} +2 -2
  246. package/dist/{push-apns-CzI1yOz3.js → push-apns-CQyCSGes.js} +10 -10
  247. package/dist/{pw-ai-CdFOuZvs.js → pw-ai-DbW_Bkcx.js} +1 -1
  248. package/dist/{pw-ai-Dt33khMR.js → pw-ai-ge-z9mqK.js} +20 -20
  249. package/dist/{qmd-manager-BhetUUi5.js → qmd-manager-CUcr1mRz.js} +25 -25
  250. package/dist/{qr-cli-B_Pgraov.js → qr-cli-DGwCKU0G.js} +8 -8
  251. package/dist/{query-expansion-DMbjUCTJ.js → query-expansion-B4NP6yYt.js} +14 -14
  252. package/dist/{reconcile-bundled-BoVqHall.js → reconcile-bundled-4XBos81c.js} +3 -3
  253. package/dist/{recorder-BvsmIV06.js → recorder-B0k_MKgq.js} +4 -4
  254. package/dist/{recovery-adapter-B4vChz-g.js → recovery-adapter-BIlkWPdE.js} +3 -3
  255. package/dist/{recovery-adapter-CKVSN97E.js → recovery-adapter-Bo68TZ6b.js} +2 -2
  256. package/dist/{recovery-adapter-CceBubi1.js → recovery-adapter-Ch6Lpdvn.js} +3 -3
  257. package/dist/{recovery-adapter-mRcci7h2.js → recovery-adapter-DwNfvaLJ.js} +1 -1
  258. package/dist/{recovery-adapter-AyGJinhV.js → recovery-adapter-oenmjmOn.js} +7 -7
  259. package/dist/{recovery-prompt-DqlKavmj.js → recovery-prompt-TDeXDlMW.js} +1 -1
  260. package/dist/{redact-snapshot-DN2rZBNX.js → redact-snapshot-A7NLIiwR.js} +5 -5
  261. package/dist/{register.agent-DutRzrDw.js → register.agent-B9Hg0vf2.js} +21 -21
  262. package/dist/{register.agent-Bn9JYMpq.js → register.agent-D3_1aKeG.js} +124 -124
  263. package/dist/register.configure-4XbHAmwj.js +170 -0
  264. package/dist/{register.configure-xWvz_EH_.js → register.configure-DAnWVJBA.js} +22 -22
  265. package/dist/{register.maintenance-C-WBHuPN.js → register.maintenance-CC3S9JmF.js} +131 -131
  266. package/dist/{register.maintenance-CVWnFB5G.js → register.maintenance-Chb5KnZ1.js} +24 -24
  267. package/dist/{register.message-DeS_ZYNe.js → register.message-Bq38RXah.js} +104 -104
  268. package/dist/{register.message-CAfIrnM2.js → register.message-DLtovAgJ.js} +19 -19
  269. package/dist/{register.onboard-C0OyLZD3.js → register.onboard-4vT5Xjc4.js} +2 -2
  270. package/dist/{register.onboard-DD2wOgqE.js → register.onboard-BMXxAu95.js} +23 -23
  271. package/dist/{register.setup-BbohcO_k.js → register.setup-D2bCcb0v.js} +2 -2
  272. package/dist/{register.setup-CBDKdAuo.js → register.setup-fpmCv1_b.js} +28 -28
  273. package/dist/{register.status-health-sessions-B6c4a4og.js → register.status-health-sessions-Ds4IsnQw.js} +121 -121
  274. package/dist/{register.status-health-sessions-8pYJLyOn.js → register.status-health-sessions-RCBhd23C.js} +21 -21
  275. package/dist/{register.subclis-Cl9g9lxA.js → register.subclis-BkKWZGVK.js} +34 -34
  276. package/dist/{replay-DTUqQwQf.js → replay-SxJXbQMf.js} +1 -1
  277. package/dist/{replies-zxrU3Tlk.js → replies-CI-WAhGv.js} +4 -4
  278. package/dist/{reply-CBqjA8n7.js → reply-Ct_Nttkg.js} +27 -27
  279. package/dist/{reply-directives-C7J_kRAY.js → reply-directives-DjJmEA55.js} +2 -2
  280. package/dist/{reply-prefix-DQs4kcQX.js → reply-prefix-EVut-MnZ.js} +1 -1
  281. package/dist/{resolve-route-c5P6_dQM.js → resolve-route-B5nwCVT3.js} +5 -5
  282. package/dist/{rpc-DzvZPivH.js → rpc-Dg7Qb-TD.js} +3 -3
  283. package/dist/{run-main-D4QMp_dA.js → run-main-DFrkQ_9h.js} +123 -123
  284. package/dist/{runs-aQfLgwCB.js → runs-DD81n7Ms.js} +3 -3
  285. package/dist/{runs-DSFjMpng.js → runs-fddM4kFw.js} +7 -7
  286. package/dist/{runtime-Cr79MQoI.js → runtime-B9bvj6Qk.js} +4 -4
  287. package/dist/{runtime-config-collectors-do8FUpaL.js → runtime-config-collectors-0bUIcOaI.js} +1 -1
  288. package/dist/{runtime-guard-B1qwuALe.js → runtime-guard-D9TCGAy5.js} +1 -1
  289. package/dist/{sandbox-BWNy2kKu.js → sandbox-CTl9v7Zl.js} +19 -19
  290. package/dist/{sandbox-Cwa9IoDE.js → sandbox-DOTsK9wx.js} +1 -1
  291. package/dist/{sandbox-cli-OzJuP-NO.js → sandbox-cli-Dbco2fmj.js} +29 -29
  292. package/dist/{sandbox-cli-D7bBMoyk.js → sandbox-cli-Dni8o7vC.js} +2 -2
  293. package/dist/{secrets-cli-CuDyP904.js → secrets-cli-DF_Gm1ne.js} +18 -18
  294. package/dist/{security-cli-DG2tPUA1.js → security-cli-Csr_oecn.js} +4 -4
  295. package/dist/{security-cli-CuUjDnHc.js → security-cli-PByAeZXI.js} +46 -46
  296. package/dist/{send-DnUxCZe9.js → send-BgWc92i5.js} +7 -7
  297. package/dist/{send-2z5d8MNL.js → send-Byoa_3gu.js} +1 -1
  298. package/dist/{send-CCM9Q6bQ.js → send-CrP3wO_5.js} +15 -15
  299. package/dist/{send-D7jSVo_g.js → send-DLkrlosm.js} +6 -6
  300. package/dist/{send-B7qZuE28.js → send-DiY7W1su.js} +14 -14
  301. package/dist/{send-D20u05DD.js → send-wFJCwq2b.js} +6 -6
  302. package/dist/{server-DwmiIbpy.js → server-BL9VNWdw.js} +26 -26
  303. package/dist/{server-C7fLuSa8.js → server-CDY9yWOl.js} +4 -4
  304. package/dist/{server-context-DynQOaQg.js → server-context-9rNFuDom.js} +12 -12
  305. package/dist/{server-context-8stiwx24.js → server-context-Bj1ur5Oz.js} +2 -2
  306. package/dist/{server-lifecycle-BIVcQYRv.js → server-lifecycle-Bp3jx730.js} +1 -1
  307. package/dist/{server-lifecycle-D6K5clGz.js → server-lifecycle-DSO272t7.js} +3 -3
  308. package/dist/{server-middleware-v9W3NbYv.js → server-middleware-DYNp96xm.js} +1 -1
  309. package/dist/{server-node-events-BMt_M17o.js → server-node-events-BwK321yc.js} +104 -104
  310. package/dist/{server-node-events-BSBNXNIr.js → server-node-events-DgxhwOwJ.js} +19 -19
  311. package/dist/{service-sEfdnvlL.js → service-Bgu5Jb1v.js} +15 -15
  312. package/dist/{session-consumer-agents-UmHVjny8.js → session-consumer-agents-DAH-kXNx.js} +1 -1
  313. package/dist/{session-consumer-claim-sweep-Cj9dsF9C.js → session-consumer-claim-sweep-BSXd3X9B.js} +9 -9
  314. package/dist/{session-cost-usage-LPAN7gwx.js → session-cost-usage-EMOsv4X6.js} +3 -3
  315. package/dist/{session-key-DOZk0n1g.js → session-key-DUkQn_1S.js} +1 -1
  316. package/dist/{session-key-resolution-hIMY6OcY.js → session-key-resolution-CJwcMEFa.js} +5 -5
  317. package/dist/{session-meta-BDUMkHJb.js → session-meta-fp99Ucj0.js} +2 -2
  318. package/dist/{session-storage-Q7_7zqHG.js → session-storage-Cv--6bmD.js} +8 -8
  319. package/dist/{session-utils-DgeX06NV.js → session-utils-CqNuZUiP.js} +8 -8
  320. package/dist/{session-visibility-nhFy_Gw1.js → session-visibility-DDVDfSgP.js} +1 -1
  321. package/dist/{sessions-BxMxYroM.js → sessions-07wpEhac.js} +6 -6
  322. package/dist/{sessions-DZ8P5diO.js → sessions-BZDMSv9h.js} +18 -18
  323. package/dist/{sessions-C_jFLMEh.js → sessions-BwZJJVht.js} +6 -6
  324. package/dist/{sessions-claims-status-t1wpfQOP.js → sessions-claims-status-oxEV_8dP.js} +13 -13
  325. package/dist/{shared-CJ6JfVC4.js → shared-CMnRp0WD.js} +4 -4
  326. package/dist/{shared-obDhggWf.js → shared-D-BmVOFv.js} +2 -2
  327. package/dist/{skill-commands-B7CuemwQ.js → skill-commands-D8oby-tg.js} +7 -7
  328. package/dist/{skill-scanner-BxTzIAOh.js → skill-scanner-CZtMQPss.js} +7 -7
  329. package/dist/{skills-cli-BbHYlMC7.js → skills-cli-n5H-N1cq.js} +11 -11
  330. package/dist/{skills-install-DVhyMvdI.js → skills-install--byu1k9q.js} +10 -10
  331. package/dist/{skills-DeS5IuN9.js → skills-is3ptAyK.js} +7 -7
  332. package/dist/{skills-status-C7Zpodqv.js → skills-status-W21GYLbg.js} +4 -4
  333. package/dist/{status-B_6KFA2c.js → status-BfyTowAG.js} +38 -38
  334. package/dist/{status-KfElvy9J.js → status-D4HIujTf.js} +5 -5
  335. package/dist/{status.update-BMspb099.js → status.update-B1eq7pdk.js} +2 -2
  336. package/dist/{store-DJzisOaQ.js → store-DhI4pUSq.js} +7 -7
  337. package/dist/{subsystem-CnWdoPKw.js → subsystem-hb8IlZoK.js} +1 -1
  338. package/dist/{supervisor-BQDbdMGN.js → supervisor-Zyuzbqyy.js} +2 -2
  339. package/dist/{supervisor-recovery-adapter-N6EUk8-8.js → supervisor-recovery-adapter-DTYM-NtU.js} +9 -9
  340. package/dist/{system-cli-B0-oIiYA.js → system-cli-_hIBzh2q.js} +15 -15
  341. package/dist/{system-run-command-CM2z0iTS.js → system-run-command-s2Tv4J5i.js} +2 -2
  342. package/dist/{systemd-5fQ38YAS.js → systemd-T59ZX7hx.js} +11 -11
  343. package/dist/{systemd-hints-Bg_lvqW1.js → systemd-hints-CvSycleX.js} +9 -9
  344. package/dist/{systemd-linger-C20mA76T.js → systemd-linger-DO8CH_6c.js} +2 -2
  345. package/dist/{table-Dh1-mIyu.js → table-D3ffCcko.js} +2 -2
  346. package/dist/{tables-DR5pT4X-.js → tables-B4TgPkaN.js} +1 -1
  347. package/dist/{tailnet-CzWmlGVj.js → tailnet-WoH6OAwd.js} +1 -1
  348. package/dist/{tailscale-CvPUJvZS.js → tailscale-CZstSM_6.js} +2 -2
  349. package/dist/{task-pipeline-boot-Ce3PbnWC.js → task-pipeline-boot-KeVASmJb.js} +19 -19
  350. package/dist/{task-pipeline-boot-BrIBh2as.js → task-pipeline-boot-fQcIficV.js} +103 -103
  351. package/dist/{task-runlog-retention-Ccy6500r.js → task-runlog-retention-BL9X61tX.js} +2 -2
  352. package/dist/{task-runlog-retention-CKaDA84s.js → task-runlog-retention-_NAHcblu.js} +5 -5
  353. package/dist/{tasks-Bb8K1o9w.js → tasks-COKlHjUw.js} +13 -13
  354. package/dist/{tokens-ZXYKMPyD.js → tokens-Cv29oi2m.js} +1 -1
  355. package/dist/{tool-display-DorcgRYO.js → tool-display-C4RBYVSp.js} +1 -1
  356. package/dist/{tool-loop-detection-I5BtAA42.js → tool-loop-detection-HY9HSq9r.js} +2 -2
  357. package/dist/{trash-n9DbVlPq.js → trash-C7Ej284e.js} +3 -3
  358. package/dist/{tui-ryPvmZxo.js → tui-cfhCpw02.js} +9 -9
  359. package/dist/{tui-cli-CUysqEul.js → tui-cli-B2wBAyhp.js} +4 -4
  360. package/dist/{tui-cli-DWng-d8I.js → tui-cli-BWFTsmKk.js} +34 -34
  361. package/dist/{tui-AmM0FZrJ.js → tui-kMJhhJ7-.js} +1 -1
  362. package/dist/{update-DHDJZALz.js → update-DuRR-bjT.js} +3 -3
  363. package/dist/{update-cli-BiiWrX-b.js → update-cli-BVU7mNge.js} +141 -141
  364. package/dist/{update-cli-BoBS_5AA.js → update-cli-DcR4OrvV.js} +24 -24
  365. package/dist/{update-runner-tH30mnIz.js → update-runner-BChTTDr6.js} +18 -18
  366. package/dist/{update-runner-W_Tfzgw5.js → update-runner-Bv7o_DkR.js} +1 -1
  367. package/dist/{user-run-recording-8SPArkeP.js → user-run-recording-CXcaMyeC.js} +2 -2
  368. package/dist/{validation-cli-DHYbbZSf.js → validation-cli-BtMLqpQV.js} +103 -103
  369. package/dist/{validation-cli-lq97iRX5.js → validation-cli-DWr4aaEj.js} +19 -19
  370. package/dist/{web-cli-DI1nu_Wf.js → web-cli-BaKAD5an.js} +3 -3
  371. package/dist/{web-client-assets-OrZLUEre.js → web-client-assets-QQcA7AGj.js} +1 -1
  372. package/dist/{webhooks-cli-hHB0C7Z_.js → webhooks-cli-DskNYYRT.js} +13 -13
  373. package/dist/{widearea-dns-C8y2THbl.js → widearea-dns-B-wnhlHs.js} +1 -1
  374. package/dist/{with-timeout-DaYVHGfP.js → with-timeout-CQ_KubTO.js} +2 -2
  375. package/dist/{with-timeout-CJixlkca.js → with-timeout-CumbEUij.js} +6 -6
  376. package/dist/{workspace-sbrDBGDT.js → workspace-CbjGomBJ.js} +3 -3
  377. package/dist/{workspace-dirs-BHMnsvJx.js → workspace-dirs-DTAkF1kC.js} +1 -1
  378. package/dist/{ws-DIjS49am.js → ws-Bq_zwewv.js} +2 -2
  379. package/dist/{wsl-BJW8nTyL.js → wsl-CgXDjE09.js} +2 -2
  380. package/extensions/acpx/package.json +1 -1
  381. package/extensions/anthropic/package.json +1 -1
  382. package/extensions/bifrost/package.json +1 -1
  383. package/extensions/bluebubbles/package.json +1 -1
  384. package/extensions/copilot-proxy/package.json +1 -1
  385. package/extensions/deepgram/package.json +1 -1
  386. package/extensions/deepinfra/package.json +1 -1
  387. package/extensions/diagnostics-otel/package.json +1 -1
  388. package/extensions/diffs/package.json +1 -1
  389. package/extensions/discord/package.json +1 -1
  390. package/extensions/dream-cycle/package.json +1 -1
  391. package/extensions/elevenlabs/package.json +1 -1
  392. package/extensions/feishu/package.json +1 -1
  393. package/extensions/gemini-search/package.json +1 -1
  394. package/extensions/google/package.json +1 -1
  395. package/extensions/google-gemini-cli-auth/package.json +1 -1
  396. package/extensions/googlechat/package.json +1 -1
  397. package/extensions/grok-search/package.json +1 -1
  398. package/extensions/groq/package.json +1 -1
  399. package/extensions/imessage/package.json +1 -1
  400. package/extensions/irc/package.json +1 -1
  401. package/extensions/kimi-search/package.json +1 -1
  402. package/extensions/learning-core/package.json +1 -1
  403. package/extensions/line/package.json +1 -1
  404. package/extensions/llm-task/package.json +1 -1
  405. package/extensions/lobster/package.json +1 -1
  406. package/extensions/matrix/CHANGELOG.md +1 -1
  407. package/extensions/matrix/package.json +1 -1
  408. package/extensions/mattermost/package.json +1 -1
  409. package/extensions/memory-core/package.json +1 -1
  410. package/extensions/memory-lancedb/package.json +1 -1
  411. package/extensions/minimax/package.json +1 -1
  412. package/extensions/minimax-portal-auth/package.json +1 -1
  413. package/extensions/mistral/package.json +1 -1
  414. package/extensions/moonshot/package.json +1 -1
  415. package/extensions/msteams/CHANGELOG.md +1 -1
  416. package/extensions/msteams/package.json +1 -1
  417. package/extensions/nextcloud-talk/package.json +1 -1
  418. package/extensions/nostr/CHANGELOG.md +1 -1
  419. package/extensions/nostr/package.json +1 -1
  420. package/extensions/open-prose/package.json +1 -1
  421. package/extensions/openai/package.json +1 -1
  422. package/extensions/openai-realtime/package.json +1 -1
  423. package/extensions/openrouter/package.json +1 -1
  424. package/extensions/perplexity-search/package.json +1 -1
  425. package/extensions/searxng-search/package.json +1 -1
  426. package/extensions/signal/package.json +1 -1
  427. package/extensions/slack/package.json +1 -1
  428. package/extensions/synology-chat/package.json +1 -1
  429. package/extensions/telegram/package.json +1 -1
  430. package/extensions/tlon/package.json +1 -1
  431. package/extensions/twitch/CHANGELOG.md +1 -1
  432. package/extensions/twitch/package.json +1 -1
  433. package/extensions/voice-call/CHANGELOG.md +1 -1
  434. package/extensions/voice-call/package.json +1 -1
  435. package/extensions/whatsapp/package.json +1 -1
  436. package/extensions/zai/package.json +1 -1
  437. package/extensions/zalo/CHANGELOG.md +1 -1
  438. package/extensions/zalo/package.json +1 -1
  439. package/extensions/zalouser/CHANGELOG.md +1 -1
  440. package/extensions/zalouser/package.json +1 -1
  441. package/package.json +1 -1
  442. package/dist/cli-Bao_Zkv0.js +0 -166
  443. package/dist/register.configure-CE9sH5t0.js +0 -170
@@ -1,17 +1,17 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { $ as applyConfigEnvVars, Et as sleep, F as readConfigIncludeFileWithGuards, H as openBoundaryFileSync, I as resolveConfigIncludes, L as isBlockedObjectKey, M as ConfigIncludeError, N as INCLUDE_KEY, Ot as truncateUtf16Safe, S as createFileLogWriter, St as resolveUserPath, X as isPathInside$2, _t as isRecord$3, a as logVerbose, at as MissingEnvVarError, bt as resolveConfigDir, j as normalizeConfigPaths, m as getChildLogger, ot as containsEnvVarReference, rt as sanitizeHostExecEnv, st as resolveConfigEnvVars, vt as normalizeE164, z as isPathInside$1 } from "./globals-NHZhvbUb.js";
2
+ import { $ as applyConfigEnvVars, Et as sleep, F as readConfigIncludeFileWithGuards, H as openBoundaryFileSync, I as resolveConfigIncludes, L as isBlockedObjectKey, M as ConfigIncludeError, N as INCLUDE_KEY, Ot as truncateUtf16Safe, S as createFileLogWriter, St as resolveUserPath, X as isPathInside$2, _t as isRecord$3, a as logVerbose, at as MissingEnvVarError, bt as resolveConfigDir, j as normalizeConfigPaths, m as getChildLogger, ot as containsEnvVarReference, rt as sanitizeHostExecEnv, st as resolveConfigEnvVars, vt as normalizeE164, z as isPathInside$1 } from "./globals-DzEfsMsj.js";
3
3
  import { _ as expandHomePrefix, a as resolveCanonicalConfigPath, c as resolveDefaultConfigCandidates, d as resolveIsNixMode, f as resolveLegacyStateDirs, g as resolveStateDir, h as resolveOAuthPath, i as isNixMode, l as resolveGatewayLockDir, m as resolveOAuthDir, n as DEFAULT_GATEWAY_PORT, o as resolveConfigPath, p as resolveNewStateDir, r as STATE_DIR, s as resolveConfigPathCandidate, t as CONFIG_PATH, u as resolveGatewayPort, y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
4
4
  import { t as isPlainObject$2 } from "./plain-object-CLm2c5Nu.js";
5
- import { l as stripAnsi, t as createSubsystemLogger } from "./subsystem-CnWdoPKw.js";
5
+ import { l as stripAnsi, t as createSubsystemLogger } from "./subsystem-hb8IlZoK.js";
6
6
  import { r as isTruthyEnvValue } from "./entry.js";
7
7
  import { n as resolveHostVersionInfo, t as VERSION } from "./version-D_9__Xw6.js";
8
- import { D as BACKGROUND_SESSION_KEY_SEGMENT, E as normalizeOptionalAccountId, I as parseAgentSessionKey, O as HEARTBEAT_SESSION_KEY_SEGMENT, T as normalizeAccountId$1, _ as resolveConfiguredCanonicalIdentity, a as buildAgentMainSessionKey, c as computeIdentityLinkMatchKeys, g as resolveCanonicalIdentity, i as RAW_PEER_KEY_PREFIX, k as WAKE_GATE_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, m as normalizeMainKey, p as normalizeAgentId, t as DEFAULT_AGENT_ID, u as expandIdentityLinksToMatchKeys, w as DEFAULT_ACCOUNT_ID } from "./session-key-DOZk0n1g.js";
9
- import { F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Ppgyx_kd.js";
10
- import { n as runExec } from "./exec-B6VJhiff.js";
8
+ import { D as BACKGROUND_SESSION_KEY_SEGMENT, E as normalizeOptionalAccountId, I as parseAgentSessionKey, O as HEARTBEAT_SESSION_KEY_SEGMENT, T as normalizeAccountId$1, _ as resolveConfiguredCanonicalIdentity, a as buildAgentMainSessionKey, c as computeIdentityLinkMatchKeys, g as resolveCanonicalIdentity, i as RAW_PEER_KEY_PREFIX, k as WAKE_GATE_SESSION_KEY_SEGMENT, l as computeIdentityLinkScopedMatchKey, m as normalizeMainKey, p as normalizeAgentId, t as DEFAULT_AGENT_ID, u as expandIdentityLinksToMatchKeys, w as DEFAULT_ACCOUNT_ID } from "./session-key-DUkQn_1S.js";
9
+ import { F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-CxydHZjT.js";
10
+ import { n as runExec } from "./exec-DtX60IXR.js";
11
11
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DS1iTsaA.js";
12
- import { n as isPidAlive, t as getProcessStartTime } from "./pid-alive-C13jc975.js";
12
+ import { n as isPidAlive, t as getProcessStartTime } from "./pid-alive-BkVX-P5U.js";
13
13
  import { t as formatCliCommand } from "./command-format-CUvskdil.js";
14
- import { c as resolveSessionFilePath, d as resolveSessionTranscriptPathInDir, h as runTasksWithConcurrency, i as parseSessionArchiveTimestamp, m as resolveStorePath, n as isPrimarySessionTranscriptFileName, r as isSessionArchiveArtifactName, s as resolveDefaultSessionStorePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPath } from "./artifacts-BjWykx-p.js";
14
+ import { c as resolveSessionFilePath, d as resolveSessionTranscriptPathInDir, h as runTasksWithConcurrency, i as parseSessionArchiveTimestamp, m as resolveStorePath, n as isPrimarySessionTranscriptFileName, r as isSessionArchiveArtifactName, s as resolveDefaultSessionStorePath, t as formatSessionArchiveTimestamp, u as resolveSessionTranscriptPath } from "./artifacts-mmiw3Aqi.js";
15
15
  import { t as createWork } from "./envelope-Digt3Lnf.js";
16
16
  import { a as serializeRetryPolicy, i as parseRetryPolicy, n as computeNextAvailableAtMs, r as isRetryExhausted, t as DEFAULT_TASK_RETRY_POLICY } from "./retry-policy-FBwX2QEP.js";
17
17
  import { n as resolveConversationLabel, r as normalizeChatType } from "./conversation-label-Bpw8crN9.js";
@@ -26,8 +26,8 @@ import { fileURLToPath, pathToFileURL } from "node:url";
26
26
  import os, { userInfo } from "node:os";
27
27
  import path, { join } from "node:path";
28
28
  import fs, { createReadStream } from "node:fs";
29
- import JSON5 from "json5";
30
- import fs$1, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
29
+ import json5 from "json5";
30
+ import fsPromises, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
31
31
  import util, { isDeepStrictEqual } from "node:util";
32
32
  import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
33
33
  import dotenv from "dotenv";
@@ -661,7 +661,7 @@ function isCreatedAtStale(createdAt, staleMs) {
661
661
  }
662
662
  async function readLockPayload$1(lockPath) {
663
663
  try {
664
- const raw = await fs$1.readFile(lockPath, "utf8");
664
+ const raw = await fsPromises.readFile(lockPath, "utf8");
665
665
  const parsed = JSON.parse(raw);
666
666
  if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
667
667
  const payload = {
@@ -678,7 +678,7 @@ async function readLockPayload$1(lockPath) {
678
678
  }
679
679
  async function chmodIfSupported$2(filePath, mode) {
680
680
  try {
681
- await fs$1.chmod(filePath, mode);
681
+ await fsPromises.chmod(filePath, mode);
682
682
  } catch (err) {
683
683
  if (process.platform === "win32") return;
684
684
  throw err;
@@ -687,15 +687,15 @@ async function chmodIfSupported$2(filePath, mode) {
687
687
  async function resolveNormalizedFilePath(filePath, options) {
688
688
  const resolved = path.resolve(filePath);
689
689
  const dir = path.dirname(resolved);
690
- if (options.directoryMode === void 0) await fs$1.mkdir(dir, { recursive: true });
690
+ if (options.directoryMode === void 0) await fsPromises.mkdir(dir, { recursive: true });
691
691
  else {
692
- await fs$1.mkdir(dir, {
692
+ await fsPromises.mkdir(dir, {
693
693
  recursive: true,
694
694
  mode: options.directoryMode
695
695
  });
696
696
  await chmodIfSupported$2(dir, options.directoryMode);
697
697
  }
698
- const realDir = await fs$1.realpath(dir);
698
+ const realDir = await fsPromises.realpath(dir);
699
699
  return path.join(realDir, path.basename(resolved));
700
700
  }
701
701
  async function isStaleLock(lockPath, staleMs) {
@@ -710,7 +710,7 @@ async function isStaleLock(lockPath, staleMs) {
710
710
  return false;
711
711
  }
712
712
  try {
713
- const stat = await fs$1.stat(lockPath);
713
+ const stat = await fsPromises.stat(lockPath);
714
714
  return Date.now() - stat.mtimeMs > staleMs;
715
715
  } catch {
716
716
  return true;
@@ -734,7 +734,7 @@ async function releaseHeldLock$1(normalizedFile) {
734
734
  throw emitLockReleaseWarning("close", current.lockPath, err);
735
735
  }
736
736
  try {
737
- await fs$1.rm(current.lockPath, { force: true });
737
+ await fsPromises.rm(current.lockPath, { force: true });
738
738
  } catch (err) {
739
739
  current.count = 1;
740
740
  throw emitLockReleaseWarning("remove", current.lockPath, err);
@@ -757,7 +757,7 @@ async function acquireFileLock(filePath, options) {
757
757
  let attempt = 0;
758
758
  let staleReclaims = 0;
759
759
  while (attempt < attempts) try {
760
- const handle = await fs$1.open(lockPath, "wx");
760
+ const handle = await fsPromises.open(lockPath, "wx");
761
761
  try {
762
762
  await handle.writeFile(JSON.stringify({
763
763
  pid: process.pid,
@@ -766,7 +766,7 @@ async function acquireFileLock(filePath, options) {
766
766
  }, null, 2), "utf8");
767
767
  } catch (writeErr) {
768
768
  await handle.close().catch(() => void 0);
769
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
769
+ await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
770
770
  throw writeErr;
771
771
  }
772
772
  HELD_LOCKS$1.set(normalizedFile, {
@@ -782,7 +782,7 @@ async function acquireFileLock(filePath, options) {
782
782
  } catch (err) {
783
783
  if (err.code !== "EEXIST") throw err;
784
784
  if (await isStaleLock(lockPath, options.stale)) {
785
- await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
785
+ await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
786
786
  if (staleReclaims < attempts) {
787
787
  staleReclaims += 1;
788
788
  continue;
@@ -1747,7 +1747,7 @@ function createIcaclsResetCommand(targetPath, opts) {
1747
1747
  //#region src/security/audit-fs.ts
1748
1748
  async function safeStat(targetPath) {
1749
1749
  try {
1750
- const lst = await fs$1.lstat(targetPath);
1750
+ const lst = await fsPromises.lstat(targetPath);
1751
1751
  return {
1752
1752
  ok: true,
1753
1753
  isSymlink: lst.isSymbolicLink(),
@@ -1786,7 +1786,7 @@ async function inspectPathPermissions(targetPath, opts) {
1786
1786
  let effectiveMode = st.mode;
1787
1787
  let effectiveIsDir = st.isDir;
1788
1788
  if (st.isSymlink) try {
1789
- const target = await fs$1.stat(targetPath);
1789
+ const target = await fsPromises.stat(targetPath);
1790
1790
  effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
1791
1791
  effectiveIsDir = target.isDirectory();
1792
1792
  } catch {}
@@ -2068,7 +2068,7 @@ async function assertSecurePath(params) {
2068
2068
  if (stat.isSymlink) {
2069
2069
  if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
2070
2070
  try {
2071
- effectivePath = await fs$1.realpath(effectivePath);
2071
+ effectivePath = await fsPromises.realpath(effectivePath);
2072
2072
  } catch {
2073
2073
  throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
2074
2074
  }
@@ -2116,7 +2116,7 @@ async function readFileProviderPayload(params) {
2116
2116
  }, timeoutMs);
2117
2117
  });
2118
2118
  try {
2119
- const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2119
+ const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2120
2120
  if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
2121
2121
  const text = payload.toString("utf8");
2122
2122
  if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
@@ -11045,7 +11045,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
11045
11045
  await held.handle.close();
11046
11046
  } catch {}
11047
11047
  try {
11048
- await fs$1.rm(held.lockPath, { force: true });
11048
+ await fsPromises.rm(held.lockPath, { force: true });
11049
11049
  } catch {}
11050
11050
  })();
11051
11051
  try {
@@ -11124,7 +11124,7 @@ function registerCleanupHandlers() {
11124
11124
  }
11125
11125
  async function readLockPayload(lockPath) {
11126
11126
  try {
11127
- const raw = await fs$1.readFile(lockPath, "utf8");
11127
+ const raw = await fsPromises.readFile(lockPath, "utf8");
11128
11128
  const parsed = JSON.parse(raw);
11129
11129
  const payload = {};
11130
11130
  if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
@@ -11168,7 +11168,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
11168
11168
  if (!details.stale) return false;
11169
11169
  if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
11170
11170
  try {
11171
- const stat = await fs$1.stat(lockPath);
11171
+ const stat = await fsPromises.stat(lockPath);
11172
11172
  return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
11173
11173
  } catch (error) {
11174
11174
  return error?.code !== "ENOENT";
@@ -11186,7 +11186,7 @@ async function cleanStaleLockFiles(params) {
11186
11186
  const nowMs = params.nowMs ?? Date.now();
11187
11187
  let entries = [];
11188
11188
  try {
11189
- entries = await fs$1.readdir(sessionsDir, { withFileTypes: true });
11189
+ entries = await fsPromises.readdir(sessionsDir, { withFileTypes: true });
11190
11190
  } catch (err) {
11191
11191
  if (err.code === "ENOENT") return {
11192
11192
  locks: [],
@@ -11205,7 +11205,7 @@ async function cleanStaleLockFiles(params) {
11205
11205
  removed: false
11206
11206
  };
11207
11207
  if (lockInfo.stale && removeStale) {
11208
- await fs$1.rm(lockPath, { force: true });
11208
+ await fsPromises.rm(lockPath, { force: true });
11209
11209
  lockInfo.removed = true;
11210
11210
  cleaned.push(lockInfo);
11211
11211
  params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
@@ -11224,10 +11224,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11224
11224
  const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
11225
11225
  const sessionFile = path.resolve(params.sessionFile);
11226
11226
  const sessionDir = path.dirname(sessionFile);
11227
- await fs$1.mkdir(sessionDir, { recursive: true });
11227
+ await fsPromises.mkdir(sessionDir, { recursive: true });
11228
11228
  let normalizedDir = sessionDir;
11229
11229
  try {
11230
- normalizedDir = await fs$1.realpath(sessionDir);
11230
+ normalizedDir = await fsPromises.realpath(sessionDir);
11231
11231
  } catch {}
11232
11232
  const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
11233
11233
  const lockPath = `${normalizedSessionFile}.lock`;
@@ -11245,7 +11245,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11245
11245
  attempt += 1;
11246
11246
  let handle = null;
11247
11247
  try {
11248
- handle = await fs$1.open(lockPath, "wx");
11248
+ handle = await fsPromises.open(lockPath, "wx");
11249
11249
  const createdAt = (/* @__PURE__ */ new Date()).toISOString();
11250
11250
  const starttime = processIdentity.getProcessStartTime(process.pid);
11251
11251
  const lockPayload = {
@@ -11271,7 +11271,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11271
11271
  await handle.close();
11272
11272
  } catch {}
11273
11273
  try {
11274
- await fs$1.rm(lockPath, { force: true });
11274
+ await fsPromises.rm(lockPath, { force: true });
11275
11275
  } catch {}
11276
11276
  }
11277
11277
  if (err.code !== "EEXIST") throw err;
@@ -11286,7 +11286,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
11286
11286
  stale: true,
11287
11287
  staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
11288
11288
  } : inspected, staleMs, nowMs)) {
11289
- await fs$1.rm(lockPath, { force: true });
11289
+ await fsPromises.rm(lockPath, { force: true });
11290
11290
  continue;
11291
11291
  }
11292
11292
  const delay = Math.min(1e3, 50 * attempt);
@@ -27149,7 +27149,7 @@ function parseDurationMs(raw, opts) {
27149
27149
  //#region src/infra/json-files.ts
27150
27150
  async function readJsonFile(filePath) {
27151
27151
  try {
27152
- const raw = await fs$1.readFile(filePath, "utf8");
27152
+ const raw = await fsPromises.readFile(filePath, "utf8");
27153
27153
  return JSON.parse(raw);
27154
27154
  } catch {
27155
27155
  return null;
@@ -27164,7 +27164,7 @@ async function writeJsonAtomic(filePath, value, options) {
27164
27164
  }
27165
27165
  async function chmodIfSupported(filePath, mode) {
27166
27166
  try {
27167
- await fs$1.chmod(filePath, mode);
27167
+ await fsPromises.chmod(filePath, mode);
27168
27168
  } catch (err) {
27169
27169
  if (process.platform === "win32") return;
27170
27170
  throw err;
@@ -27175,18 +27175,18 @@ async function writeTextAtomic(filePath, content, options) {
27175
27175
  const payload = options?.appendTrailingNewline && !content.endsWith("\n") ? `${content}\n` : content;
27176
27176
  const mkdirOptions = { recursive: true };
27177
27177
  if (typeof options?.ensureDirMode === "number") mkdirOptions.mode = options.ensureDirMode;
27178
- await fs$1.mkdir(path.dirname(filePath), mkdirOptions);
27178
+ await fsPromises.mkdir(path.dirname(filePath), mkdirOptions);
27179
27179
  const tmp = `${filePath}.${randomUUID()}.tmp`;
27180
27180
  try {
27181
- await fs$1.writeFile(tmp, payload, {
27181
+ await fsPromises.writeFile(tmp, payload, {
27182
27182
  encoding: "utf8",
27183
27183
  mode
27184
27184
  });
27185
27185
  await chmodIfSupported(tmp, mode);
27186
- await fs$1.rename(tmp, filePath);
27186
+ await fsPromises.rename(tmp, filePath);
27187
27187
  await chmodIfSupported(filePath, mode);
27188
27188
  } finally {
27189
- await fs$1.rm(tmp, { force: true }).catch(() => void 0);
27189
+ await fsPromises.rm(tmp, { force: true }).catch(() => void 0);
27190
27190
  }
27191
27191
  }
27192
27192
  function createAsyncLock() {
@@ -27305,7 +27305,7 @@ function validMarker(value) {
27305
27305
  async function readRecord(filePath, validate) {
27306
27306
  let raw;
27307
27307
  try {
27308
- raw = await fs$1.readFile(filePath, "utf8");
27308
+ raw = await fsPromises.readFile(filePath, "utf8");
27309
27309
  } catch (error) {
27310
27310
  if (error.code === "ENOENT") return { status: "absent" };
27311
27311
  return { status: "corrupt" };
@@ -27361,7 +27361,7 @@ async function readDisposition(filePath) {
27361
27361
  async function readDispositionJsonl(filePath) {
27362
27362
  let raw;
27363
27363
  try {
27364
- raw = await fs$1.readFile(filePath, "utf8");
27364
+ raw = await fsPromises.readFile(filePath, "utf8");
27365
27365
  } catch (error) {
27366
27366
  return error.code === "ENOENT" ? { status: "absent" } : { status: "corrupt" };
27367
27367
  }
@@ -27573,27 +27573,27 @@ async function classifyIdentityCorruption(stateDir, category, relativePath, iden
27573
27573
  }
27574
27574
  async function removeLinkedDestination(destination) {
27575
27575
  try {
27576
- await fs$1.unlink(destination);
27576
+ await fsPromises.unlink(destination);
27577
27577
  } catch {}
27578
27578
  }
27579
27579
  async function relocateWithoutReplacing(source, destination) {
27580
27580
  if (path.resolve(source) === path.resolve(destination)) return "same-path";
27581
- await fs$1.mkdir(path.dirname(destination), { recursive: true });
27581
+ await fsPromises.mkdir(path.dirname(destination), { recursive: true });
27582
27582
  try {
27583
- await fs$1.link(source, destination);
27583
+ await fsPromises.link(source, destination);
27584
27584
  } catch (error) {
27585
27585
  if (error.code !== "EEXIST") return "retained";
27586
27586
  try {
27587
- const [sourceBytes, destinationBytes] = await Promise.all([fs$1.readFile(source), fs$1.readFile(destination)]);
27587
+ const [sourceBytes, destinationBytes] = await Promise.all([fsPromises.readFile(source), fsPromises.readFile(destination)]);
27588
27588
  if (!sourceBytes.equals(destinationBytes)) return "retained";
27589
- await fs$1.unlink(source);
27589
+ await fsPromises.unlink(source);
27590
27590
  return "relocated";
27591
27591
  } catch {
27592
27592
  return "retained";
27593
27593
  }
27594
27594
  }
27595
27595
  try {
27596
- await fs$1.unlink(source);
27596
+ await fsPromises.unlink(source);
27597
27597
  return "relocated";
27598
27598
  } catch {
27599
27599
  await removeLinkedDestination(destination);
@@ -27602,14 +27602,14 @@ async function relocateWithoutReplacing(source, destination) {
27602
27602
  }
27603
27603
  async function renameAsideWithoutReplacing(stateDir, source, nowMs) {
27604
27604
  const destination = path.join(stateDir, "recovery", "manifest-corrupt", `${formatSessionArchiveTimestamp(nowMs())}.json`);
27605
- await fs$1.mkdir(path.dirname(destination), { recursive: true });
27605
+ await fsPromises.mkdir(path.dirname(destination), { recursive: true });
27606
27606
  try {
27607
- await fs$1.link(source, destination);
27607
+ await fsPromises.link(source, destination);
27608
27608
  } catch {
27609
27609
  return false;
27610
27610
  }
27611
27611
  try {
27612
- await fs$1.unlink(source);
27612
+ await fsPromises.unlink(source);
27613
27613
  return true;
27614
27614
  } catch {
27615
27615
  await removeLinkedDestination(destination);
@@ -27720,7 +27720,7 @@ async function classifyManifestFileInternal(stateDir, filePath, opts = {}) {
27720
27720
  async function walkFiles(directory, files) {
27721
27721
  let entries;
27722
27722
  try {
27723
- entries = await fs$1.readdir(directory, { withFileTypes: true });
27723
+ entries = await fsPromises.readdir(directory, { withFileTypes: true });
27724
27724
  } catch (error) {
27725
27725
  if (error.code === "ENOENT") return;
27726
27726
  throw error;
@@ -27856,7 +27856,7 @@ async function resumeManifests(stateDir, opts) {
27856
27856
  }
27857
27857
  async function manifestExists(filePath) {
27858
27858
  try {
27859
- await fs$1.access(filePath);
27859
+ await fsPromises.access(filePath);
27860
27860
  return true;
27861
27861
  } catch (error) {
27862
27862
  if (error.code === "ENOENT") return false;
@@ -27867,7 +27867,7 @@ async function hasNewerValidGeneration(stateDir, identity) {
27867
27867
  const directory = path.dirname(manifestPath(stateDir, identity.kind, identity.assetId, identity.sessionId, identity.generationId));
27868
27868
  let names;
27869
27869
  try {
27870
- names = await fs$1.readdir(directory);
27870
+ names = await fsPromises.readdir(directory);
27871
27871
  } catch (error) {
27872
27872
  if (error.code === "ENOENT") return false;
27873
27873
  throw error;
@@ -27899,7 +27899,7 @@ async function clearManifest(stateDir, identity, authorization) {
27899
27899
  else if (authorization === "supersession") authorized = await hasNewerValidGeneration(stateDir, identity);
27900
27900
  if (!authorized) throw new Error(`manifest clear is not authorized by ${authorization}`);
27901
27901
  try {
27902
- await fs$1.unlink(filePath);
27902
+ await fsPromises.unlink(filePath);
27903
27903
  return "cleared";
27904
27904
  } catch (error) {
27905
27905
  if (error.code === "ENOENT") return "already-absent";
@@ -27945,7 +27945,7 @@ function matchesManifest(actual, manifest) {
27945
27945
  }
27946
27946
  async function unlinkIfPresent(filePath) {
27947
27947
  try {
27948
- await fs$1.unlink(filePath);
27948
+ await fsPromises.unlink(filePath);
27949
27949
  } catch (error) {
27950
27950
  if (error.code !== "ENOENT") throw error;
27951
27951
  }
@@ -39734,7 +39734,7 @@ function resolveConfigPathForDeps(deps) {
39734
39734
  function normalizeDeps(overrides = {}) {
39735
39735
  return {
39736
39736
  fs: overrides.fs ?? fs,
39737
- json5: overrides.json5 ?? JSON5,
39737
+ json5: overrides.json5 ?? json5,
39738
39738
  env: overrides.env ?? process.env,
39739
39739
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
39740
39740
  configPath: overrides.configPath ?? "",
@@ -39745,11 +39745,11 @@ function maybeLoadDotEnvForConfig(env) {
39745
39745
  if (env !== process.env) return;
39746
39746
  loadDotEnv({ quiet: true });
39747
39747
  }
39748
- function parseConfigJson5(raw, json5 = JSON5) {
39748
+ function parseConfigJson5(raw, json5$1 = json5) {
39749
39749
  try {
39750
39750
  return {
39751
39751
  ok: true,
39752
- parsed: json5.parse(raw)
39752
+ parsed: json5$1.parse(raw)
39753
39753
  };
39754
39754
  } catch (err) {
39755
39755
  return {
@@ -309,7 +309,7 @@ async function runConfigValidate(opts = {}) {
309
309
  }
310
310
  function registerConfigCli(program) {
311
311
  const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/users/cli/config", "docs.wednesdayai.dev/users/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
312
- const { configureCommandFromSectionsArg } = await import("./configure-DyjgsBKI.js").then((n) => n.t);
312
+ const { configureCommandFromSectionsArg } = await import("./configure-BvTYT92W.js").then((n) => n.t);
313
313
  await configureCommandFromSectionsArg(opts.section, defaultRuntime);
314
314
  });
315
315
  cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
@@ -1,25 +1,25 @@
1
- import { L as isBlockedObjectKey, Tt as shortenHomePath, l as success, n as info, p as theme, t as danger } from "./globals-NHZhvbUb.js";
1
+ import { L as isBlockedObjectKey, Tt as shortenHomePath, l as success, n as info, p as theme, t as danger } from "./globals-DzEfsMsj.js";
2
2
  import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
3
- import { m as defaultRuntime } from "./subsystem-CnWdoPKw.js";
3
+ import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
4
4
  import "./boolean-C71HJEcH.js";
5
- import { c as readConfigFileSnapshot, f as writeConfigFile } from "./config-B_l7dU75.js";
5
+ import { c as readConfigFileSnapshot, f as writeConfigFile } from "./config-Wy1wQZjq.js";
6
6
  import "./version-D_9__Xw6.js";
7
- import "./agent-scope-Ppgyx_kd.js";
8
- import "./logger-TMWfboh4.js";
9
- import "./exec-B6VJhiff.js";
7
+ import "./agent-scope-CxydHZjT.js";
8
+ import "./logger-BH0Ng0XL.js";
9
+ import "./exec-DtX60IXR.js";
10
10
  import "./github-copilot-token-DS1iTsaA.js";
11
- import "./pid-alive-C13jc975.js";
11
+ import "./pid-alive-BkVX-P5U.js";
12
12
  import { t as formatCliCommand } from "./command-format-CUvskdil.js";
13
- import "./artifacts-BjWykx-p.js";
13
+ import "./artifacts-mmiw3Aqi.js";
14
14
  import "./retry-policy-FBwX2QEP.js";
15
15
  import "./task-run-types-B6n0W8Rb.js";
16
16
  import "./redact-dcExQ0l1.js";
17
17
  import "./errors-DZFFjLFB.js";
18
18
  import "./static-server-CSKym6UB.js";
19
- import { t as redactConfigObject } from "./redact-snapshot-DN2rZBNX.js";
20
- import { t as formatDocsLink } from "./links-DtN6Zip4.js";
21
- import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-YjkCmJ-x.js";
22
- import JSON5 from "json5";
19
+ import { t as redactConfigObject } from "./redact-snapshot-A7NLIiwR.js";
20
+ import { t as formatDocsLink } from "./links-DMJmXnBC.js";
21
+ import { n as formatConfigIssueLines, r as normalizeConfigIssues } from "./issue-format-C5dvpWCs.js";
22
+ import json5 from "json5";
23
23
 
24
24
  //#region src/cli/config-cli.ts
25
25
  const OLLAMA_API_KEY_PATH = [
@@ -77,12 +77,12 @@ function parsePath(raw) {
77
77
  function parseValue(raw, opts) {
78
78
  const trimmed = raw.trim();
79
79
  if (opts.strictJson) try {
80
- return JSON5.parse(trimmed);
80
+ return json5.parse(trimmed);
81
81
  } catch (err) {
82
82
  throw new Error(`Failed to parse JSON5 value: ${String(err)}`, { cause: err });
83
83
  }
84
84
  try {
85
- return JSON5.parse(trimmed);
85
+ return json5.parse(trimmed);
86
86
  } catch {
87
87
  return raw;
88
88
  }
@@ -308,7 +308,7 @@ async function runConfigValidate(opts = {}) {
308
308
  }
309
309
  function registerConfigCli(program) {
310
310
  const cmd = program.command("config").description("Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/users/cli/config", "docs.wednesdayai.dev/users/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
311
- const { configureCommandFromSectionsArg } = await import("./configure-B3bu-lE9.js").then((n) => n.t);
311
+ const { configureCommandFromSectionsArg } = await import("./configure-DY6FxXGJ.js").then((n) => n.t);
312
312
  await configureCommandFromSectionsArg(opts.section, defaultRuntime);
313
313
  });
314
314
  cmd.command("get").description("Get a config value by dot path").argument("<path>", "Config path (dot or bracket notation)").option("--json", "Output JSON", false).action(async (path, opts) => {
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { Tt as shortenHomePath, Ut as shouldMigrateStateFromPath, d as colorize, f as isRich, p as theme } from "./globals-NHZhvbUb.js";
3
- import { c as readConfigFileSnapshot } from "./config-B_l7dU75.js";
2
+ import { Tt as shortenHomePath, Ut as shouldMigrateStateFromPath, d as colorize, f as isRich, p as theme } from "./globals-DzEfsMsj.js";
3
+ import { c as readConfigFileSnapshot } from "./config-Wy1wQZjq.js";
4
4
  import { t as formatCliCommand } from "./command-format-CUvskdil.js";
5
- import { n as formatConfigIssueLines } from "./issue-format-YjkCmJ-x.js";
6
- import { n as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CTSGH57H.js";
5
+ import { n as formatConfigIssueLines } from "./issue-format-C5dvpWCs.js";
6
+ import { n as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-DDN0ovwf.js";
7
7
 
8
8
  //#region src/cli/program/config-guard.ts
9
9
  var config_guard_exports = /* @__PURE__ */ __exportAll({
@@ -1,8 +1,8 @@
1
- import { Ba as normalizeChannelId, Ra as getChannelPlugin, c as readConfigFileSnapshot } from "./config-B_l7dU75.js";
2
- import { p as normalizeAgentId, w as DEFAULT_ACCOUNT_ID } from "./session-key-DOZk0n1g.js";
1
+ import { Ba as normalizeChannelId, Ra as getChannelPlugin, c as readConfigFileSnapshot } from "./config-Wy1wQZjq.js";
2
+ import { p as normalizeAgentId, w as DEFAULT_ACCOUNT_ID } from "./session-key-DUkQn_1S.js";
3
3
  import { t as formatCliCommand } from "./command-format-CUvskdil.js";
4
- import { t as resolveChannelDefaultAccountId } from "./helpers-BYFW2nSK.js";
5
- import { n as formatConfigIssueLines } from "./issue-format-YjkCmJ-x.js";
4
+ import { t as resolveChannelDefaultAccountId } from "./helpers-BNMarGmo.js";
5
+ import { n as formatConfigIssueLines } from "./issue-format-C5dvpWCs.js";
6
6
 
7
7
  //#region src/commands/agents.bindings.ts
8
8
  function bindingMatchKey(match) {
@@ -12,15 +12,15 @@ import { n as withProgress } from "./progress-Cbn-oYkW.js";
12
12
  import { t as note$1 } from "./note-DNloJfK7.js";
13
13
  import { t as WizardCancelledError } from "./prompts-1Bda-OqX.js";
14
14
  import { t as createClackPrompter } from "./clack-prompter-5Rt5HC77.js";
15
- import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-DtFBZO3K.js";
15
+ import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-Cfm1xNhD.js";
16
16
  import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-6Xe4iL6g.js";
17
17
  import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-mYDSc4SR.js";
18
18
  import { t as resolveGatewayService } from "./service-BYi3UODF.js";
19
- import { r as healthCommand } from "./health-B9kSP1yr.js";
19
+ import { r as healthCommand } from "./health-DFxVZQP8.js";
20
20
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-3-KmlKzl.js";
21
21
  import { n as logConfigUpdated } from "./logging-2kovqtbn.js";
22
22
  import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-DChcYKRD.js";
23
- import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DzVb3c4S.js";
23
+ import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DIu_6W5c.js";
24
24
  import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-DLfaJgMw.js";
25
25
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CzdYcYLi.js";
26
26
  import { a as promptCustomApiConfig } from "./onboard-custom-CzLAOBGa.js";
@@ -1,35 +1,35 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { St as resolveUserPath, Tt as shortenHomePath } from "./globals-NHZhvbUb.js";
2
+ import { St as resolveUserPath, Tt as shortenHomePath } from "./globals-DzEfsMsj.js";
3
3
  import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
4
- import { m as defaultRuntime } from "./subsystem-CnWdoPKw.js";
5
- import { Au as ensureAuthProfileStore, Ra as getChannelPlugin, c as readConfigFileSnapshot, ed as normalizeSecretInputString, f as writeConfigFile, o as loadConfig, za as listChannelPlugins } from "./config-B_l7dU75.js";
4
+ import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
5
+ import { Au as ensureAuthProfileStore, Ra as getChannelPlugin, c as readConfigFileSnapshot, ed as normalizeSecretInputString, f as writeConfigFile, o as loadConfig, za as listChannelPlugins } from "./config-Wy1wQZjq.js";
6
6
  import { t as formatCliCommand } from "./command-format-CUvskdil.js";
7
- import { a as findTailscaleBinary } from "./tailscale-CvPUJvZS.js";
7
+ import { a as findTailscaleBinary } from "./tailscale-CZstSM_6.js";
8
8
  import { n as docsSiteUrl } from "./docs-site-CaMj3dUw.js";
9
- import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-CV2_sx_X.js";
10
- import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-B28wDUyJ.js";
11
- import { n as withProgress } from "./progress-C9R_51fN.js";
12
- import { t as note$1 } from "./note-CzdXZOFH.js";
9
+ import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, g as resolveControlUiLinks, h as randomToken, m as probeGatewayReachable, n as applyWizardMetadata, p as printWizardHeader, s as guardCancel, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as summarizeExistingConfig, y as validateGatewayPasswordInput } from "./onboard-helpers-CrNbGK-_.js";
10
+ import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-0wL61aMk.js";
11
+ import { n as withProgress } from "./progress-B5oGktxz.js";
12
+ import { t as note$1 } from "./note-CIEfvmda.js";
13
13
  import { t as WizardCancelledError } from "./prompts-BCG1qd2x.js";
14
- import { t as createClackPrompter } from "./clack-prompter-shjXV_CK.js";
15
- import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-RKPslaou.js";
16
- import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-D9sQQxjq.js";
14
+ import { t as createClackPrompter } from "./clack-prompter-ThJZQZ7f.js";
15
+ import { r as setupChannels, t as noteChannelStatus } from "./onboard-channels-F6-jE9Q4.js";
16
+ import { n as gatewayInstallErrorHint, t as buildGatewayInstallPlan } from "./daemon-install-helpers-BpCzt6Hc.js";
17
17
  import { n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-aQhinwSL.js";
18
- import { t as resolveGatewayService } from "./service-sEfdnvlL.js";
19
- import { r as healthCommand } from "./health-CohIvGFu.js";
20
- import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-Dz1n0dDI.js";
21
- import { n as logConfigUpdated } from "./logging-DXugoHqu.js";
18
+ import { t as resolveGatewayService } from "./service-Bgu5Jb1v.js";
19
+ import { r as healthCommand } from "./health-DDFoa_vd.js";
20
+ import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CUNJ-wZT.js";
21
+ import { n as logConfigUpdated } from "./logging-CSynrPc7.js";
22
22
  import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-CSp4AxpO.js";
23
- import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-_Ngg8dJn.js";
24
- import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-TEQP1kqG.js";
25
- import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C20mA76T.js";
26
- import { a as promptCustomApiConfig } from "./onboard-custom-B_IbBJHN.js";
27
- import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-BcWFaVPH.js";
28
- import { t as formatHealthCheckFailure } from "./health-format-BS-M5J8K.js";
29
- import { n as promptRemoteGatewayConfig } from "./onboard-remote-Cc7ortQZ.js";
30
- import { n as setupSkills } from "./onboard-skills-D2WP55Qf.js";
23
+ import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice } from "./auth-choice-DG23ZlyE.js";
24
+ import { a as promptDefaultModel, n as applyModelFallbacksFromSelection, o as promptModelAllowlist, r as applyPrimaryModel, t as applyModelAllowlist } from "./model-picker-yfyn372D.js";
25
+ import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-DO8CH_6c.js";
26
+ import { a as promptCustomApiConfig } from "./onboard-custom-DOGTl-wh.js";
27
+ import { a as maybeAddTailnetOriginToControlUiAllowedOrigins, i as TAILSCALE_MISSING_BIN_NOTE_LINES, n as TAILSCALE_DOCS_LINES, r as TAILSCALE_EXPOSURE_OPTIONS, t as validateIPv4AddressInput } from "./ipv4-vPs-MXPy.js";
28
+ import { t as formatHealthCheckFailure } from "./health-format-B1ElAx-F.js";
29
+ import { n as promptRemoteGatewayConfig } from "./onboard-remote-C3wAKiOr.js";
30
+ import { n as setupSkills } from "./onboard-skills-_Y4g6XMV.js";
31
31
  import path from "node:path";
32
- import fs from "node:fs/promises";
32
+ import fsPromises from "node:fs/promises";
33
33
  import { confirm, intro, outro, select, text } from "@clack/prompts";
34
34
 
35
35
  //#region src/commands/configure.shared.ts
@@ -749,7 +749,7 @@ async function runConfigureWizard(opts, runtime = defaultRuntime) {
749
749
  ].map((name) => path.join(workspaceDir, name));
750
750
  if ((await Promise.all(indicators.map(async (candidate) => {
751
751
  try {
752
- await fs.access(candidate);
752
+ await fsPromises.access(candidate);
753
753
  return true;
754
754
  } catch {
755
755
  return false;
@@ -1,6 +1,6 @@
1
- import { m as defaultRuntime } from "./subsystem-CnWdoPKw.js";
2
- import { t as runCommandWithTimeout } from "./exec-B6VJhiff.js";
3
- import { n as resolveOpenClawPackageRoot, r as resolveOpenClawPackageRootSync, t as isCorePackageName } from "./openclaw-root-CboPaWH8.js";
1
+ import { m as defaultRuntime } from "./subsystem-hb8IlZoK.js";
2
+ import { t as runCommandWithTimeout } from "./exec-DtX60IXR.js";
3
+ import { n as resolveOpenClawPackageRoot, r as resolveOpenClawPackageRootSync, t as isCorePackageName } from "./openclaw-root-COWNwQGN.js";
4
4
  import { fileURLToPath } from "node:url";
5
5
  import path from "node:path";
6
6
  import fs from "node:fs";
@@ -1,5 +1,5 @@
1
1
  import { g as resolveStateDir } from "./paths-BMo6kTge.js";
2
- import { n as isPidAlive, t as getProcessStartTime } from "./pid-alive-C13jc975.js";
2
+ import { n as isPidAlive, t as getProcessStartTime } from "./pid-alive-BkVX-P5U.js";
3
3
  import { t as withTimeout } from "./with-timeout-C5wK8tm-.js";
4
4
  import { createRequire } from "node:module";
5
5
  import path from "node:path";
@@ -1,4 +1,4 @@
1
- import { td as resolveSecretInputRef } from "./config-B_l7dU75.js";
1
+ import { td as resolveSecretInputRef } from "./config-Wy1wQZjq.js";
2
2
 
3
3
  //#region src/gateway/credentials.ts
4
4
  function trimToUndefined(value) {