wednesdayai 0.4.12-dev.711 → 0.4.12-dev.715

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 (425) hide show
  1. package/dist/{acp-cli-DrXF9X9v.js → acp-cli-BYoOiK6T.js} +13 -13
  2. package/dist/{agent-scope-BAXIXdUR.js → agent-scope-CWTkr4pS.js} +20 -20
  3. package/dist/{agent-turn-enqueue-BQ4JOmUN.js → agent-turn-enqueue-Dwz_R_DW.js} +5 -5
  4. package/dist/{agent-turn-recovery-adapter-BRVxIXJY.js → agent-turn-recovery-adapter-DF3vdyE5.js} +3 -3
  5. package/dist/{agent-turn-runner-BGmkN_A8.js → agent-turn-runner-DFZxbjaC.js} +4 -4
  6. package/dist/{agents.config-BnEJCj-p.js → agents.config-C-pTu-0T.js} +2 -2
  7. package/dist/{api-key-rotation-BEJklVjh.js → api-key-rotation-BEt1ZchD.js} +1 -1
  8. package/dist/{audio-preflight-C3XXSW_q.js → audio-preflight-nrbQcAOS.js} +36 -36
  9. package/dist/{audio-transcription-runner-DbLu4y_x.js → audio-transcription-runner-D-d42kdt.js} +26 -26
  10. package/dist/{audit-DIH0DO00.js → audit-C_g-UVNn.js} +29 -29
  11. package/dist/{auth-CO4L12L5.js → auth-DeLQvx-N.js} +4 -4
  12. package/dist/{auth-choice-DvG3v5sy.js → auth-choice-Be8iuCdY.js} +16 -16
  13. package/dist/{auth-choice-pem6VE1T.js → auth-choice-ZsDU-57A.js} +13 -13
  14. package/dist/{auth-choice.apply-helpers-CLYswf6f.js → auth-choice.apply-helpers-CMHfbKNY.js} +1 -1
  15. package/dist/{auth-token-C4PqndxM.js → auth-token-DK8X73K5.js} +2 -2
  16. package/dist/{bonjour-discovery-BBOJN88F.js → bonjour-discovery-C517Q6gA.js} +3 -3
  17. package/dist/{browser-cli-BI1mfCKP.js → browser-cli-DvjIut0z.js} +20 -20
  18. package/dist/build-info.json +3 -3
  19. package/dist/{call-CMjUSitZ.js → call-Cl6Q0T5z.js} +12 -12
  20. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  21. package/dist/{channel-account-context-Dc7AMtZ7.js → channel-account-context-C9otZxLF.js} +6 -6
  22. package/dist/{channel-activity-etjAZzDh.js → channel-activity-CE3dhlxR.js} +2 -2
  23. package/dist/{channel-options-BrBZqoUe.js → channel-options-CdXOmeJN.js} +4 -4
  24. package/dist/{channel-selection-WlHA0Mjg.js → channel-selection-zg0Iqza4.js} +1 -1
  25. package/dist/{channels-cli-DldYF6sZ.js → channels-cli-CBBGSlVe.js} +114 -114
  26. package/dist/{channels-status-issues-CyJj51t4.js → channels-status-issues-C6LrjLpF.js} +1 -1
  27. package/dist/{chrome-CBrgxie9.js → chrome-DXHMnxHS.js} +6 -6
  28. package/dist/{chunk-BTTi6And.js → chunk-BDQQgsxn.js} +2 -2
  29. package/dist/{clack-prompter-CbMy5Zvz.js → clack-prompter-CcVX4jId.js} +5 -5
  30. package/dist/{clawbot-cli-B-d0ta-h.js → clawbot-cli-C-wEI2Wc.js} +16 -16
  31. package/dist/cli-BtY_juql.js +164 -0
  32. package/dist/{client-MNVuOIDb.js → client-BbpMX08n.js} +3 -3
  33. package/dist/{client-profiles-BAQWDfq6.js → client-profiles-BNQu4_Z_.js} +2 -2
  34. package/dist/{clipboard-q7q26OPS.js → clipboard-DcxpnFIc.js} +1 -1
  35. package/dist/{command-queue-Banup9vQ.js → command-queue-B1RxJ6bM.js} +1 -1
  36. package/dist/{command-secret-targets-84-Vq1Kn.js → command-secret-targets-DtDJB3vv.js} +4 -4
  37. package/dist/{commands-registry-DY2vMgw6.js → commands-registry-BMswme6t.js} +3 -3
  38. package/dist/{commands-CpMRpWle.js → commands-tFdLuF5k.js} +1 -1
  39. package/dist/{completion-cli-C0m7BZi2.js → completion-cli-Dbszfn8D.js} +15 -15
  40. package/dist/{config-cli-CLZB8EiO.js → config-cli-3a-9iNyI.js} +11 -11
  41. package/dist/{config-guard-a0CqCfhq.js → config-guard-BwLGp24P.js} +15 -15
  42. package/dist/{config-validation-D1W4dKAT.js → config-validation-DDtU1EJP.js} +2 -2
  43. package/dist/{configure-BoJEz3Lg.js → configure-Dld8IaT8.js} +25 -25
  44. package/dist/{control-ui-assets-D-_OfiOV.js → control-ui-assets-DonecnKL.js} +3 -3
  45. package/dist/{controller-Z7o2nxni.js → controller-0fS4uYcF.js} +1 -1
  46. package/dist/{credentials-DgZP7kxk.js → credentials-Hn2dA0oB.js} +1 -1
  47. package/dist/{cron-cli-BA4vsm3K.js → cron-cli-BuO3qskK.js} +14 -14
  48. package/dist/{daemon-cli-UPL01HBu.js → daemon-cli-C5cAb15Z.js} +19 -19
  49. package/dist/{daemon-install-btuIR9OH.js → daemon-install-CBIxgo4p.js} +11 -11
  50. package/dist/{daemon-install-helpers-CG4IZ_7L.js → daemon-install-helpers-C8mJ0UpL.js} +13 -13
  51. package/dist/{deliver-BpzzrBKl.js → deliver-Bhlx9VG9.js} +9 -9
  52. package/dist/{devices-cli-gtCGUgQz.js → devices-cli-HXNfviPB.js} +13 -13
  53. package/dist/{diagnostic-BRYj59Hw.js → diagnostic-BTSirPP0.js} +3 -3
  54. package/dist/{diagnostics-BTeays6z.js → diagnostics-FIcvxigK.js} +5 -5
  55. package/dist/{directory-cli-DtgQeMLi.js → directory-cli-A6e49xZw.js} +11 -11
  56. package/dist/{dns-cli-QXa894v2.js → dns-cli-BZvwwprO.js} +11 -11
  57. package/dist/{docs-cli-C5Q8gAsv.js → docs-cli-BQ8oTRz4.js} +10 -10
  58. package/dist/{doctor-completion-B19G-I8Y.js → doctor-completion-Ca_SREXp.js} +3 -3
  59. package/dist/{doctor-config-flow-BTbRx17L.js → doctor-config-flow-BSKd49U6.js} +14 -14
  60. package/dist/{enable-BF67ibhx.js → enable-BIAeEt0I.js} +2 -2
  61. package/dist/{env-DtoMyFfk.js → env-ESh4ZX9l.js} +1 -1
  62. package/dist/{exec-Cg_eKCg0.js → exec-CHq-p5L0.js} +2 -2
  63. package/dist/{exec-approvals-C-_jrhwb.js → exec-approvals-D8Tqfo34.js} +1 -1
  64. package/dist/{exec-approvals-allowlist-B2foVOBU.js → exec-approvals-allowlist-0xON2SZW.js} +1 -1
  65. package/dist/{exec-approvals-cli-CwwxNa7v.js → exec-approvals-cli-DsXabPF_.js} +23 -23
  66. package/dist/{exec-safe-bin-runtime-policy-CfsF46fx.js → exec-safe-bin-runtime-policy-KSPaR73B.js} +2 -2
  67. package/dist/{extension-relay-auth-IPIDjhZx.js → extension-relay-auth-C-1c9CZk.js} +10 -10
  68. package/dist/{fetch-guard-BCFGxdCb.js → fetch-guard-CjyGDRXN.js} +3 -3
  69. package/dist/{fs-safe-D3vN4fQ5.js → fs-safe-DD7KXuvI.js} +25 -25
  70. package/dist/{gateway-cli-BtV-wVjj.js → gateway-cli-BTuK5wC4.js} +210 -210
  71. package/dist/{gateway-rpc-CgAHXoCu.js → gateway-rpc-DNsG0xAN.js} +3 -3
  72. package/dist/{gmail-setup-utils-DWxTEPL5.js → gmail-setup-utils-CRvbl5q3.js} +2 -2
  73. package/dist/{health-CDGk5xDG.js → health-DFWpyp9O.js} +9 -9
  74. package/dist/{health-format-B9nTs2HW.js → health-format-_VGfj3fm.js} +1 -1
  75. package/dist/{heartbeat-tick-RHab8Aje.js → heartbeat-tick-CsyeD75h.js} +1 -1
  76. package/dist/{help-format-BC4GRIFN.js → help-format-DqpZruAs.js} +1 -1
  77. package/dist/{hooks-cli-BT0kyUWU.js → hooks-cli-DKZeKlmX.js} +105 -105
  78. package/dist/{hooks-status-Dv9XGWQ9.js → hooks-status-D20U_9R-.js} +2 -2
  79. package/dist/{plugin-sdk/image-ops-DY_SZfXk.js → image-ops-DcqCZEUY.js} +2 -2
  80. package/dist/{incident-install-BdXMiCuu.js → incident-install-cGBLZhud.js} +12 -12
  81. package/dist/index.js +104 -104
  82. package/dist/{inspect-CdQNUkBH.js → inspect-DVHAPbcZ.js} +4 -4
  83. package/dist/{install-safe-path-67wN9WdC.js → install-safe-path-DjFYmzeb.js} +25 -25
  84. package/dist/{installs-BlKgbSFc.js → installs-CnAcm0ba.js} +10 -10
  85. package/dist/{ipv4-m0FxF_em.js → ipv4-PE-rqUZG.js} +2 -2
  86. package/dist/{ir-D--2OWCl.js → ir-DDAVSgbQ.js} +8 -8
  87. package/dist/{issue-format-B1dmuNNd.js → issue-format-D0G927lb.js} +1 -1
  88. package/dist/{lifecycle-core-DfYD23X_.js → lifecycle-core-B3-ezmTx.js} +9 -9
  89. package/dist/{links-DZMDihQ-.js → links-BhLGjTwm.js} +1 -1
  90. package/dist/{live-repair-BGbr6jGR.js → live-repair-RXzcIxWc.js} +11 -11
  91. package/dist/{local-roots-DrpBY-AE.js → local-roots-_qt4-Ma5.js} +5 -5
  92. package/dist/{log-tail-COb9xmHL.js → log-tail-BAg8b5Wq.js} +7 -7
  93. package/dist/{logger-BCqJpXqF.js → logger-0VqfDbvM.js} +2 -2
  94. package/dist/{logging-CuKoRd0b.js → logging-DcZLtf7P.js} +1 -1
  95. package/dist/{logs-cli-BTCW2CK0.js → logs-cli-BdR6-Q3U.js} +19 -19
  96. package/dist/{manager-LX1QQ8aK.js → manager-DehDxi2A.js} +17 -17
  97. package/dist/{markdown-tables-pIjKFnaZ.js → markdown-tables-BEZ0s08w.js} +1 -1
  98. package/dist/{memory-cli-CFyBR_Pp.js → memory-cli-DZyEfnsr.js} +18 -18
  99. package/dist/{model-CR-oCFb_.js → model-BI6n6kVo.js} +2 -2
  100. package/dist/{model-catalog-C300CH2M.js → model-catalog-C7itJJDM.js} +4 -4
  101. package/dist/{model-picker-CFbPs-vi.js → model-picker-Bt7fcUKH.js} +4 -4
  102. package/dist/{model-selection-C8GCtGby.js → model-selection-k68XU4oS.js} +52 -52
  103. package/dist/{models-cli-D0T4sJZO.js → models-cli-C7bSvLGL.js} +109 -109
  104. package/dist/{models-config-CcPjsQTv.js → models-config-Burwt3mB.js} +7 -7
  105. package/dist/{node-cli-BAmgr8kO.js → node-cli-CPo0jR3t.js} +43 -43
  106. package/dist/{node-command-policy-CggBPF1a.js → node-command-policy-B9A0wAU6.js} +1 -1
  107. package/dist/{node-service-yxlqFzdT.js → node-service-BnwLXY5x.js} +1 -1
  108. package/dist/{nodes-cli-Tth7cV2w.js → nodes-cli-D9vz6Yaa.js} +25 -25
  109. package/dist/{nodes-screen-Bu5K5Iky.js → nodes-screen-BRZLdw3g.js} +8 -8
  110. package/dist/{note-xK3tzN__.js → note-DCbCarQS.js} +2 -2
  111. package/dist/{npm-pack-install-Cbcm8AtO.js → npm-pack-install-CFiN84Qw.js} +24 -24
  112. package/dist/{npm-resolution-CD79ResX.js → npm-resolution-B7regLLc.js} +5 -5
  113. package/dist/{oauth-tls-preflight-Ow3-5CVf.js → oauth-tls-preflight-B5akdNNh.js} +1 -1
  114. package/dist/{onboard-DUd7yo33.js → onboard-B_6H9HpS.js} +11 -11
  115. package/dist/{onboard-channels-CEercm9o.js → onboard-channels-CxiuviBR.js} +21 -21
  116. package/dist/{onboard-custom-Cu_HKMT1.js → onboard-custom-x_zbf7qu.js} +4 -4
  117. package/dist/{onboard-helpers-Dxgs6IKs.js → onboard-helpers-ziqfw3UR.js} +13 -13
  118. package/dist/{onboard-hooks-iOe4YWKj.js → onboard-hooks-BaZe-xl6.js} +7 -7
  119. package/dist/{onboard-remote-DEBKk92p.js → onboard-remote-BsnRgDQj.js} +5 -5
  120. package/dist/{onboard-skills-rEFqAB8T.js → onboard-skills-DwbAJ4nt.js} +4 -4
  121. package/dist/{onboarding-Bd05RKZ7.js → onboarding-D9VO9_5U.js} +18 -18
  122. package/dist/{onboarding.finalize-DPQPP-Aj.js → onboarding.finalize-DeJ35Prz.js} +112 -112
  123. package/dist/{onboarding.gateway-config-CgdJWu5V.js → onboarding.gateway-config-DOvEzkIo.js} +17 -17
  124. package/dist/{onboarding.secret-input-BOKPA83p.js → onboarding.secret-input-BCxy1JxD.js} +1 -1
  125. package/dist/{openai-model-default-C4QfTJob.js → openai-model-default-CpqJmHpI.js} +2 -2
  126. package/dist/{openclaw-root-B2l0kAM1.js → openclaw-root-BGUYWYDG.js} +2 -2
  127. package/dist/{operator-commands-B0t7kxcZ.js → operator-commands-BRKxpjt9.js} +5 -5
  128. package/dist/{outbound-attachment-BqIKnptw.js → outbound-attachment-Bg7WvYcG.js} +2 -2
  129. package/dist/{outbound-message-hooks-DOSD8zCU.js → outbound-message-hooks-t1DDjQX_.js} +4 -4
  130. package/dist/{pairing-cli-D9NWToyR.js → pairing-cli-Cmlyczsc.js} +11 -11
  131. package/dist/{pairing-labels-BCnxr7Pt.js → pairing-labels-CGUWaZ3f.js} +1 -1
  132. package/dist/{pairing-store-CL-UFd1J.js → pairing-store-CQ7fjFFo.js} +2 -2
  133. package/dist/{path-alias-guards-DaLVcmyn.js → path-alias-guards-BSmwo1rT.js} +3 -3
  134. package/dist/{path-env-CQ3HfD18.js → path-env-IcDKkMPr.js} +1 -1
  135. package/dist/{path-safety-DSl6BwW9.js → path-safety-DAKUyD-v.js} +1 -1
  136. package/dist/{pi-embedded-helpers-DxQslB8x.js → pi-embedded-helpers-DEHXX7Dr.js} +8 -8
  137. package/dist/{pi-embedded-recovery-adapter-DRzWCwVb.js → pi-embedded-recovery-adapter-MaU4SQ3X.js} +3 -3
  138. package/dist/pi-embedded-recovery-adapter-ZV9u5snz.js +61 -0
  139. package/dist/{pi-embedded-utils-39kuXd-l.js → pi-embedded-utils-BhOMYPQU.js} +2 -2
  140. package/dist/{pi-model-discovery-B9wn9y4o.js → pi-model-discovery-CfUi22Es.js} +1 -1
  141. package/dist/{pi-tools.policy-BViSZbge.js → pi-tools.policy-4GqIom7_.js} +4 -4
  142. package/dist/{plugin-owned-work-recovery-adapter-CnQZf19o.js → plugin-owned-work-recovery-adapter-DHYQi-Bq.js} +8 -8
  143. package/dist/{plugin-registry-DBsuekLm.js → plugin-registry-alYBvHFE.js} +4 -4
  144. package/dist/plugin-sdk/{agent-scope-BYp_CjdU.js → agent-scope-BLF4nZUv.js} +2 -2
  145. package/dist/plugin-sdk/agent-turn-execute-C4MQxaT2.js +61 -0
  146. package/dist/plugin-sdk/{agent-turn-runner-CeC9JbVM.js → agent-turn-runner-YBWX_qXk.js} +6 -6
  147. package/dist/plugin-sdk/agent-turn-runner-e_lJzDgA.js +11 -0
  148. package/dist/plugin-sdk/{api-key-rotation-CDNf_4cI.js → api-key-rotation-XDUKz2gd.js} +2 -2
  149. package/dist/plugin-sdk/{artifacts-BMLMg3MG.js → artifacts-HAYpGlG1.js} +1 -1
  150. package/dist/plugin-sdk/{audio-preflight-BmKL6FNP.js → audio-preflight-BS29OWk3.js} +2 -2
  151. package/dist/plugin-sdk/audio-preflight-DE04bi4M.js +28 -0
  152. package/dist/plugin-sdk/{audio-transcription-runner-TBjJv_mZ.js → audio-transcription-runner-BNafitZj.js} +10 -10
  153. package/dist/plugin-sdk/{auth-profiles-DHZjW8Vk.js → auth-profiles-CCJQoedi.js} +5 -5
  154. package/dist/plugin-sdk/{channel-activity-Dr4PYej7.js → channel-activity-BKwRzYJb.js} +3 -3
  155. package/dist/plugin-sdk/{chrome-BDy1zYAr.js → chrome-D0eLSqkP.js} +4 -4
  156. package/dist/plugin-sdk/{chunk-DGQdf0JN.js → chunk-CDvvv9SU.js} +3 -3
  157. package/dist/plugin-sdk/{chunk-BTSnO1wn.js → chunk-DI-5pBck.js} +6 -6
  158. package/dist/plugin-sdk/{command-detection-w_6bwXGh.js → command-detection-B3xgM_Na.js} +85 -85
  159. package/dist/plugin-sdk/{command-queue-CeaLVs8O.js → command-queue-BnJsJc_w.js} +8 -8
  160. package/dist/plugin-sdk/{command-queue-DFSOdqCK.js → command-queue-CHiQj9Ji.js} +1 -1
  161. package/dist/plugin-sdk/{commands-registry-8sy0wsK_.js → commands-registry-Do_g2It_.js} +6 -6
  162. package/dist/plugin-sdk/{commands-registry-N6f_lsxF.js → commands-registry-DpLk11E7.js} +2 -2
  163. package/dist/plugin-sdk/{config-Biusjzx-.js → config-CQNfmIC8.js} +7 -7
  164. package/dist/plugin-sdk/deliver-D4fWK65M.js +32 -0
  165. package/dist/plugin-sdk/{deliver-BgHA8c9F.js → deliver-L6eu6zyG.js} +11 -11
  166. package/dist/plugin-sdk/{diagnostic-D6hSjxiv.js → diagnostic-C7lPoqyv.js} +5 -5
  167. package/dist/plugin-sdk/{diagnostic-Bni_8VyY.js → diagnostic-DfxuMWHd.js} +7 -7
  168. package/dist/plugin-sdk/{fetch-guard-C1a1KfEb.js → fetch-guard-CZT8FU1i.js} +3 -3
  169. package/dist/plugin-sdk/{fs-safe-CbZ6uRVv.js → fs-safe-B0JgGdXa.js} +3 -3
  170. package/dist/plugin-sdk/{hook-runner-global-BvxlnAyu.js → hook-runner-global-WRI53ibi.js} +3 -3
  171. package/dist/{image-ops-D-__yDh-.js → plugin-sdk/image-ops-kuILYHZv.js} +12 -12
  172. package/dist/plugin-sdk/index.js +54 -54
  173. package/dist/plugin-sdk/{ir-BNohi6ZW.js → ir-Bm7oqkwT.js} +5 -5
  174. package/dist/plugin-sdk/{local-roots-Bm7nDW20.js → local-roots-D-CHzVr1.js} +7 -7
  175. package/dist/plugin-sdk/{logger-D6KsqbNW.js → logger-BSK-0Yjx.js} +1 -1
  176. package/dist/plugin-sdk/manager-BlYRVNJI.js +16 -0
  177. package/dist/plugin-sdk/{manager-B_vK9MbM.js → manager-D2jffdjH.js} +8 -8
  178. package/dist/plugin-sdk/{markdown-tables-G4vK24xc.js → markdown-tables-DIWQQ2W1.js} +2 -2
  179. package/dist/plugin-sdk/markdown-tables-cZSKCBuW.js +10 -0
  180. package/dist/plugin-sdk/{outbound-attachment-Cw7T2Mrt.js → outbound-attachment-CtKKNyms.js} +2 -2
  181. package/dist/plugin-sdk/{path-alias-guards-CVybi_GQ.js → path-alias-guards-CHfCMaeX.js} +1 -1
  182. package/dist/plugin-sdk/{pi-embedded-helpers-B_jgacW8.js → pi-embedded-helpers-BRymkO_1.js} +11 -11
  183. package/dist/plugin-sdk/{pi-embedded-utils-DOXEm_H8.js → pi-embedded-utils-BHmc3RVS.js} +3 -3
  184. package/dist/plugin-sdk/{pi-model-discovery-DWw1ReX-.js → pi-model-discovery-4X7_2_nP.js} +6 -6
  185. package/dist/plugin-sdk/{pi-model-discovery-DWUrLRLg.js → pi-model-discovery-6BBajZds.js} +1 -1
  186. package/dist/plugin-sdk/provider-dispatcher-D7bchiJq.js +61 -0
  187. package/dist/plugin-sdk/provider-image-CNlYbRab.js +22 -0
  188. package/dist/plugin-sdk/{provider-image-CEQrHWYz.js → provider-image-DBye3Ln5.js} +5 -5
  189. package/dist/plugin-sdk/proxy-D2uiu68M.js +7 -0
  190. package/dist/plugin-sdk/{proxy-BWc9guJs.js → proxy-DJ2nskkh.js} +1 -1
  191. package/dist/{proxy-fetch-k-wYHddO.js → plugin-sdk/proxy-fetch-CuQpjpkI.js} +1 -1
  192. package/dist/plugin-sdk/{pw-ai-DQv6Xhce.js → pw-ai-BJrhPMHJ.js} +10 -10
  193. package/dist/plugin-sdk/{qmd-manager-CpV0SFnY.js → qmd-manager-DhW_frb3.js} +8 -8
  194. package/dist/plugin-sdk/{query-expansion-CwmHvvV_.js → query-expansion-NpBeKA8F.js} +3 -3
  195. package/dist/plugin-sdk/{recorder-BXZMRSjO.js → recorder-DdbAQ2HO.js} +4 -4
  196. package/dist/plugin-sdk/{redact-C88Ryyfs.js → redact-CUjmZn2Y.js} +1 -1
  197. package/dist/plugin-sdk/{replies-l2hZAzbt.js → replies-Dw3jvqpR.js} +4 -4
  198. package/dist/plugin-sdk/replies-XUkqz_7S.js +25 -0
  199. package/dist/plugin-sdk/{reply-directives-BwxzQXmX.js → reply-directives-BS8Ge06Z.js} +2 -2
  200. package/dist/plugin-sdk/{reply-prefix-qLQRxqrf.js → reply-prefix-Dt1hESHJ.js} +1 -1
  201. package/dist/plugin-sdk/reply-prefix-MU3uY52y.js +7 -0
  202. package/dist/plugin-sdk/{resolve-route-50KoArP9.js → resolve-route-BpLuk-wC.js} +4 -4
  203. package/dist/plugin-sdk/{resolve-route-6v1HVvWk.js → resolve-route-DiQTL1qI.js} +6 -6
  204. package/dist/plugin-sdk/{runs-CiohhBb8.js → runs-D6fAvItC.js} +7 -7
  205. package/dist/plugin-sdk/runs-R28wdt7j.js +25 -0
  206. package/dist/plugin-sdk/{send-Cv2CGnsK.js → send-BDwTyH6I.js} +8 -8
  207. package/dist/plugin-sdk/{send-DM6RpDCL.js → send-CE_6VOiQ.js} +7 -7
  208. package/dist/plugin-sdk/{send-Cx6gHjnA.js → send-Ce2XBaKF.js} +6 -6
  209. package/dist/plugin-sdk/send-Cg2VXcO0.js +27 -0
  210. package/dist/plugin-sdk/{send-BMSqETcU.js → send-CpXGZgrS.js} +6 -6
  211. package/dist/plugin-sdk/send-DAs6FmWB.js +23 -0
  212. package/dist/plugin-sdk/{send-DO0C4Uva.js → send-GMYUhBtJ.js} +19 -19
  213. package/dist/plugin-sdk/{send-DG4MQPPm.js → send-R0HB1-l-.js} +13 -13
  214. package/dist/plugin-sdk/send-UIQH_kN6.js +25 -0
  215. package/dist/plugin-sdk/send-tASIQF-Q.js +24 -0
  216. package/dist/plugin-sdk/{session-meta-CiqJP0pO.js → session-meta-BU2WXD0N.js} +2 -2
  217. package/dist/plugin-sdk/session-meta-Dd1ZONel.js +10 -0
  218. package/dist/plugin-sdk/{skill-commands-CE_SkRQk.js → skill-commands-BYfWIPfV.js} +5 -5
  219. package/dist/plugin-sdk/skill-commands-C7ZE3rKj.js +14 -0
  220. package/dist/plugin-sdk/{skills-CjW6uGTa.js → skills-BuJjEYto.js} +6 -6
  221. package/dist/plugin-sdk/{ssrf-BUCEDxp5.js → ssrf-DiAz1Z_z.js} +2 -2
  222. package/dist/plugin-sdk/{store-yBNTHg3N.js → store-Bl3Yjf_w.js} +2 -2
  223. package/dist/plugin-sdk/subagent-registry-2P8D5Trx.js +61 -0
  224. package/dist/plugin-sdk/{subsystem-CUUKL6Fr.js → subsystem-B2x33s9h.js} +4 -4
  225. package/dist/plugin-sdk/{tables-DKYi6grj.js → tables-CTmQQyfU.js} +1 -1
  226. package/dist/plugin-sdk/{tokens-ysZUkYZZ.js → tokens-DxJSOoJn.js} +1 -1
  227. package/dist/plugin-sdk/{tool-loop-detection-LsvZ1dIY.js → tool-loop-detection-Buouaxew.js} +1 -1
  228. package/dist/plugin-sdk/user-run-recording-BMikDBXR.js +11 -0
  229. package/dist/plugin-sdk/{user-run-recording-BMaK7jNR.js → user-run-recording-juCW_uQ-.js} +2 -2
  230. package/dist/{plugins-cli-Dr8MUuiG.js → plugins-cli-DnMc_Sn3.js} +108 -108
  231. package/dist/{polling-timeout-DQakFlgy.js → polling-timeout-lNYd7owP.js} +2 -2
  232. package/dist/{ports-D_uxJ7Lw.js → ports-BTxrPqTm.js} +2 -2
  233. package/dist/{ports-CmgxsJei.js → ports-CX4cOSom.js} +6 -6
  234. package/dist/{program-context-Bl-xFa6k.js → program-context-CJuzphrY.js} +47 -47
  235. package/dist/{progress-DVj1IfDI.js → progress-DRMfDm7h.js} +2 -2
  236. package/dist/{prompt-select-styled-BpNRj_0c.js → prompt-select-styled-C-FwsHQX.js} +48 -48
  237. package/dist/{prompt-style-DdJb0dOL.js → prompt-style-D0wRuIYC.js} +1 -1
  238. package/dist/{provider-auth-helpers-DUu-jv0m.js → provider-auth-helpers-DsfkAslg.js} +6 -6
  239. package/dist/{provider-image-GVjHOAmk.js → provider-image-RxbXQIow.js} +6 -6
  240. package/dist/{proxy-XUweXx3b.js → proxy-Df2WAHRA.js} +1 -1
  241. package/dist/{plugin-sdk/proxy-fetch-BYkGxQnh.js → proxy-fetch-Czv8kxaL.js} +1 -1
  242. package/dist/{push-apns--BFmn4qT.js → push-apns-Mp5OOpUH.js} +8 -8
  243. package/dist/{pw-ai-DcOIsodu.js → pw-ai-DmE1ofBV.js} +19 -19
  244. package/dist/{qmd-manager-Cl4D1wtV.js → qmd-manager-DvoTSplw.js} +23 -23
  245. package/dist/{qr-cli-DDaJ5f3a.js → qr-cli-BCIfpQUF.js} +8 -8
  246. package/dist/{query-expansion-DNw0oY0W.js → query-expansion-BD3CL_NZ.js} +13 -13
  247. package/dist/{reconcile-bundled-CoL_d96f.js → reconcile-bundled-BMWDZl32.js} +3 -3
  248. package/dist/{recorder-B9RfsO1r.js → recorder-BntUAL0_.js} +2 -2
  249. package/dist/{recovery-adapter-Bokfvz7s.js → recovery-adapter-BF5ESanQ.js} +2 -2
  250. package/dist/{recovery-adapter-B6QLivR9.js → recovery-adapter-BMqm3Nm4.js} +35 -35
  251. package/dist/{recovery-adapter-CMFB03AL.js → recovery-adapter-NtvPZ47M.js} +4 -4
  252. package/dist/{recovery-prompt-B1_BcmiM.js → recovery-prompt-SkkJ8aCp.js} +1 -1
  253. package/dist/{redact-snapshot-BtpCwP1X.js → redact-snapshot-Cm6wsMRx.js} +2 -2
  254. package/dist/{register.agent-Bv1bLbKG.js → register.agent-B5_L0CjL.js} +121 -121
  255. package/dist/register.configure-BbDac1C1.js +168 -0
  256. package/dist/{register.maintenance-C8FDl5FT.js → register.maintenance-Co2DeyQ1.js} +124 -124
  257. package/dist/{register.message-CAfCYwJP.js → register.message-BWeca9Pc.js} +98 -98
  258. package/dist/{register.onboard-cFRLSpET.js → register.onboard-4mSx6LtC.js} +22 -22
  259. package/dist/{register.setup-Bzi-36J6.js → register.setup-DCRrXbdT.js} +25 -25
  260. package/dist/{register.status-health-sessions-DV7xRpuM.js → register.status-health-sessions-DK12_BeX.js} +114 -114
  261. package/dist/{replay-DzQXXHrC.js → replay-BHfUVVHN.js} +1 -1
  262. package/dist/{replies-Bg8KJkdJ.js → replies-DoejQAqN.js} +4 -4
  263. package/dist/{reply-BsDGtY7Y.js → reply-BIZ2zaUq.js} +186 -186
  264. package/dist/{reply-directives-HkwESo_w.js → reply-directives-D5wW1el3.js} +2 -2
  265. package/dist/{reply-prefix-Cur1savb.js → reply-prefix-D0xrt6Z-.js} +1 -1
  266. package/dist/{resolve-route-C7CVSjFi.js → resolve-route-DnhX9nWr.js} +4 -4
  267. package/dist/{rpc-C1SlEDeI.js → rpc-B2GRFhpM.js} +3 -3
  268. package/dist/{runs-B3mLUDEo.js → runs-Yajg-SST.js} +7 -7
  269. package/dist/{runtime-Dp2vE941.js → runtime-Ch9itsH4.js} +4 -4
  270. package/dist/{runtime-config-collectors-CwBbdMqb.js → runtime-config-collectors-B4N79pBu.js} +1 -1
  271. package/dist/{runtime-guard-kynCEcXy.js → runtime-guard-DYUXYZIl.js} +1 -1
  272. package/dist/{sandbox-BnwxiNjx.js → sandbox-Ft7cM-PQ.js} +18 -18
  273. package/dist/{sandbox-cli-0Umoh6lR.js → sandbox-cli-DvMqiG0-.js} +26 -26
  274. package/dist/{secrets-cli-uctHYxxr.js → secrets-cli-mfGtyiPb.js} +16 -16
  275. package/dist/{security-cli-DgE-l1dY.js → security-cli-p_5UwabW.js} +43 -43
  276. package/dist/{send-BXSNB2Gu.js → send-26KAC8EW.js} +6 -6
  277. package/dist/{send-DkVvmrg9.js → send-9toI8d1j.js} +6 -6
  278. package/dist/{send-ZT3Ekuty.js → send-BA9PXvuC.js} +7 -7
  279. package/dist/{send-DweRAIgI.js → send-Cy2xiH02.js} +13 -13
  280. package/dist/{send-CgTUSkhw.js → send-DQQFc4N0.js} +14 -14
  281. package/dist/{server-context-qqDarnk8.js → server-context-Dezs5R_M.js} +12 -12
  282. package/dist/{server-BiyBJMEv.js → server-l9oy68N_.js} +25 -25
  283. package/dist/{server-lifecycle-E2HPe1NZ.js → server-lifecycle-DcVZS1ln.js} +3 -3
  284. package/dist/{server-middleware-CHvpqowx.js → server-middleware-BND1EkTO.js} +1 -1
  285. package/dist/{server-node-events-uGHyBXqP.js → server-node-events-BaFY8QcO.js} +97 -97
  286. package/dist/{service-CH9BWwSD.js → service-Hy5BSgmp.js} +15 -15
  287. package/dist/{session-consumer-agents-D_hiCJHw.js → session-consumer-agents-DWh7Mygv.js} +1 -1
  288. package/dist/{session-consumer-claim-sweep-aKULSjxA.js → session-consumer-claim-sweep-Bc4Qq0rB.js} +8 -8
  289. package/dist/{session-key-resolution-BlwVEVt_.js → session-key-resolution-DDJD1XYy.js} +4 -4
  290. package/dist/{session-meta-CXWLeYOC.js → session-meta-DzjDKcgW.js} +1 -1
  291. package/dist/{session-storage-DYSvotxA.js → session-storage-D3bntc9N.js} +7 -7
  292. package/dist/{sessions-C6bPQgaD.js → sessions-BQYQBpX0.js} +15 -15
  293. package/dist/{sessions-claims-status-DSufSy2u.js → sessions-claims-status-Bt9unG8h.js} +12 -12
  294. package/dist/{shared-CRF96lZH.js → shared-Bc-7t0_-.js} +2 -2
  295. package/dist/{shared-BFbMaMtM.js → shared-DyT9yMRI.js} +3 -3
  296. package/dist/{skill-commands-D0sJs3ds.js → skill-commands-Be2Bqqsm.js} +7 -7
  297. package/dist/{skill-scanner-D7Edx-Uz.js → skill-scanner-BA3h34y0.js} +7 -7
  298. package/dist/{skills-DT7dF3Z_.js → skills-Buc1RWDY.js} +6 -6
  299. package/dist/{skills-cli-CINDQ2Qe.js → skills-cli-DHvoBCEx.js} +10 -10
  300. package/dist/{skills-install-BUqzygk8.js → skills-install-DqCRPwE1.js} +9 -9
  301. package/dist/{skills-status-K-JYoR_J.js → skills-status-Dufi5_o3.js} +3 -3
  302. package/dist/{ssrf-BsWmJWfu.js → ssrf-B85AIIOO.js} +1 -1
  303. package/dist/{status-CYumLEox.js → status-BYesh62t.js} +34 -34
  304. package/dist/{status.update-CDd1OP3p.js → status.update-BOB92yBQ.js} +2 -2
  305. package/dist/{store-BKJfMltr.js → store-DoqX9VsZ.js} +7 -7
  306. package/dist/{subsystem-DRdkfGsB.js → subsystem-DDZBycwS.js} +1 -1
  307. package/dist/{supervisor-recovery-adapter-BxLO7wjD.js → supervisor-recovery-adapter-CTaDRl_d.js} +8 -8
  308. package/dist/{system-cli-DJd5Vz-h.js → system-cli-B-THY8xp.js} +14 -14
  309. package/dist/{system-run-command-uuNBjw5D.js → system-run-command-AF8TLlEl.js} +2 -2
  310. package/dist/{systemd-LaMffSwB.js → systemd-DsBMxUv1.js} +11 -11
  311. package/dist/{systemd-hints-Cq7MC9oh.js → systemd-hints-WHzM5Tf8.js} +7 -7
  312. package/dist/{systemd-linger-Cv1mTB1q.js → systemd-linger-EvpJ4ZxF.js} +2 -2
  313. package/dist/{table-BntrQEtu.js → table-DoIju7rh.js} +2 -2
  314. package/dist/{tables-CI3gYRvQ.js → tables-CzW-cMQN.js} +1 -1
  315. package/dist/{tailnet-CA8Lq90p.js → tailnet-G5phL2pY.js} +1 -1
  316. package/dist/{tailscale-C-_dOj1h.js → tailscale-DbsrfsUT.js} +3 -3
  317. package/dist/{task-pipeline-boot-nWDIjt5K.js → task-pipeline-boot-CaVeITev.js} +97 -97
  318. package/dist/{task-runlog-retention-BlMTtOsA.js → task-runlog-retention-BZrnJGL1.js} +3 -3
  319. package/dist/{tasks-NzeWQU_K.js → tasks-DXPXCFmn.js} +12 -12
  320. package/dist/{tokens-C6a47LiJ.js → tokens-BvecxQYg.js} +1 -1
  321. package/dist/{tool-display-CwPZlMoS.js → tool-display-D63I3y22.js} +1 -1
  322. package/dist/{tool-loop-detection-BUuXGw31.js → tool-loop-detection-3zBgQ3Bx.js} +2 -2
  323. package/dist/{trash-CYaie1Ci.js → trash-BcRk_NVC.js} +3 -3
  324. package/dist/{tui-CPb7mIZu.js → tui-Bo4LZvgz.js} +8 -8
  325. package/dist/{tui-cli-Csu-daF-.js → tui-cli-hVvCHoLU.js} +32 -32
  326. package/dist/{update-BqKLo08q.js → update-CXf5cJ0D.js} +3 -3
  327. package/dist/{update-cli-DjE99d_9.js → update-cli-BB7ybH-w.js} +134 -134
  328. package/dist/{update-runner-CrNSgmGV.js → update-runner-BYv_ec3N.js} +18 -18
  329. package/dist/{user-run-recording-DjkX5Mx3.js → user-run-recording-CTVI96gC.js} +2 -2
  330. package/dist/{utils-CmAaKeiM.js → utils-CMEUUHmM.js} +7 -7
  331. package/dist/{validation-cli-BRxfq9qy.js → validation-cli-CGimO4ZJ.js} +97 -97
  332. package/dist/{web-cli-DINMU0iQ.js → web-cli-KjTxS3h8.js} +3 -3
  333. package/dist/{web-client-assets-O1Zun47I.js → web-client-assets-CJyKwFRS.js} +1 -1
  334. package/dist/{webhooks-cli-YjIqpt4M.js → webhooks-cli-DJhGZcBz.js} +11 -11
  335. package/dist/{widearea-dns-DZj5625G.js → widearea-dns-DgeeMUtJ.js} +1 -1
  336. package/dist/{with-timeout-6n6HxT65.js → with-timeout-NhJMC1fC.js} +6 -6
  337. package/dist/{workspace-CgJWyvaY.js → workspace-CcKQx_l1.js} +2 -2
  338. package/dist/{workspace-dirs-B9yugPA_.js → workspace-dirs-_vJAsBIN.js} +1 -1
  339. package/dist/{ws-E-wJFDgg.js → ws-BuVK_u9S.js} +2 -2
  340. package/dist/{wsl-CMayUQxI.js → wsl-Baz9nyoY.js} +2 -2
  341. package/extensions/acpx/package.json +1 -1
  342. package/extensions/anthropic/package.json +1 -1
  343. package/extensions/bifrost/package.json +1 -1
  344. package/extensions/bluebubbles/package.json +1 -1
  345. package/extensions/copilot-proxy/package.json +1 -1
  346. package/extensions/deepgram/package.json +1 -1
  347. package/extensions/deepinfra/package.json +1 -1
  348. package/extensions/diagnostics-otel/package.json +1 -1
  349. package/extensions/diffs/package.json +1 -1
  350. package/extensions/discord/package.json +1 -1
  351. package/extensions/dream-cycle/package.json +1 -1
  352. package/extensions/elevenlabs/package.json +1 -1
  353. package/extensions/feishu/package.json +1 -1
  354. package/extensions/gemini-search/package.json +1 -1
  355. package/extensions/google/package.json +1 -1
  356. package/extensions/google-gemini-cli-auth/package.json +1 -1
  357. package/extensions/googlechat/package.json +1 -1
  358. package/extensions/grok-search/package.json +1 -1
  359. package/extensions/groq/package.json +1 -1
  360. package/extensions/imessage/package.json +1 -1
  361. package/extensions/irc/package.json +1 -1
  362. package/extensions/kimi-search/package.json +1 -1
  363. package/extensions/learning-core/package.json +1 -1
  364. package/extensions/line/package.json +1 -1
  365. package/extensions/llm-task/package.json +1 -1
  366. package/extensions/lobster/package.json +1 -1
  367. package/extensions/matrix/CHANGELOG.md +1 -1
  368. package/extensions/matrix/package.json +1 -1
  369. package/extensions/mattermost/package.json +1 -1
  370. package/extensions/memory-core/package.json +1 -1
  371. package/extensions/memory-lancedb/package.json +1 -1
  372. package/extensions/minimax/package.json +1 -1
  373. package/extensions/minimax-portal-auth/package.json +1 -1
  374. package/extensions/mistral/package.json +1 -1
  375. package/extensions/moonshot/package.json +1 -1
  376. package/extensions/msteams/CHANGELOG.md +1 -1
  377. package/extensions/msteams/package.json +1 -1
  378. package/extensions/nextcloud-talk/package.json +1 -1
  379. package/extensions/nostr/CHANGELOG.md +1 -1
  380. package/extensions/nostr/package.json +1 -1
  381. package/extensions/open-prose/package.json +1 -1
  382. package/extensions/openai/package.json +1 -1
  383. package/extensions/openai-realtime/package.json +1 -1
  384. package/extensions/openrouter/package.json +1 -1
  385. package/extensions/perplexity-search/package.json +1 -1
  386. package/extensions/searxng-search/package.json +1 -1
  387. package/extensions/signal/package.json +1 -1
  388. package/extensions/slack/package.json +1 -1
  389. package/extensions/synology-chat/package.json +1 -1
  390. package/extensions/telegram/package.json +1 -1
  391. package/extensions/tlon/package.json +1 -1
  392. package/extensions/twitch/CHANGELOG.md +1 -1
  393. package/extensions/twitch/package.json +1 -1
  394. package/extensions/voice-call/CHANGELOG.md +1 -1
  395. package/extensions/voice-call/package.json +1 -1
  396. package/extensions/whatsapp/package.json +1 -1
  397. package/extensions/zai/package.json +1 -1
  398. package/extensions/zalo/CHANGELOG.md +1 -1
  399. package/extensions/zalo/package.json +1 -1
  400. package/extensions/zalouser/CHANGELOG.md +1 -1
  401. package/extensions/zalouser/package.json +1 -1
  402. package/package.json +3 -2
  403. package/dist/cli-BLPnNVZp.js +0 -164
  404. package/dist/pi-embedded-recovery-adapter-CB8bcT6A.js +0 -61
  405. package/dist/plugin-sdk/agent-turn-execute-DYtSZF3l.js +0 -61
  406. package/dist/plugin-sdk/agent-turn-runner-P-MKFb_i.js +0 -11
  407. package/dist/plugin-sdk/audio-preflight-DlGohKMs.js +0 -28
  408. package/dist/plugin-sdk/deliver-DBCz1GqU.js +0 -32
  409. package/dist/plugin-sdk/manager-ByaW_O4Y.js +0 -16
  410. package/dist/plugin-sdk/markdown-tables-J4hZ7eWU.js +0 -10
  411. package/dist/plugin-sdk/provider-dispatcher-Co_hyl4q.js +0 -61
  412. package/dist/plugin-sdk/provider-image-B_dJDOl5.js +0 -22
  413. package/dist/plugin-sdk/proxy-DwbYzxBy.js +0 -7
  414. package/dist/plugin-sdk/replies-B9uDLFOE.js +0 -25
  415. package/dist/plugin-sdk/reply-prefix-BQMEQam1.js +0 -7
  416. package/dist/plugin-sdk/runs-BQhYekhr.js +0 -25
  417. package/dist/plugin-sdk/send-CeWqZTK0.js +0 -23
  418. package/dist/plugin-sdk/send-CzcKgBBf.js +0 -25
  419. package/dist/plugin-sdk/send-Dvna5ey-.js +0 -27
  420. package/dist/plugin-sdk/send-xPV0QIjh.js +0 -24
  421. package/dist/plugin-sdk/session-meta-n4SCcAbJ.js +0 -10
  422. package/dist/plugin-sdk/skill-commands-BOV3NIbU.js +0 -14
  423. package/dist/plugin-sdk/subagent-registry-jIsL_HVh.js +0 -61
  424. package/dist/plugin-sdk/user-run-recording-DiKcNdjn.js +0 -11
  425. package/dist/register.configure-nGWw6mGM.js +0 -168
@@ -1,14 +1,14 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  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-BBP4yd-2.js";
3
- import { C as truncateUtf16Safe, Dt as MissingEnvVarError, G as createFileLogWriter, L as getChildLogger, O as logVerbose, Ot as containsEnvVarReference, Tt as sanitizeHostExecEnv, at as resolveConfigIncludes, b as sleep, d as isRecord$3, et as normalizeConfigPaths, f as normalizeE164, g as resolveUserPath, it as readConfigIncludeFileWithGuards, kt as resolveConfigEnvVars, m as resolveConfigDir, nt as INCLUDE_KEY, st as isPathInside$1, tt as ConfigIncludeError, ut as openBoundaryFileSync, vt as isPathInside$2, xt as applyConfigEnvVars } from "./utils-CmAaKeiM.js";
3
+ import { C as truncateUtf16Safe, Dt as MissingEnvVarError, G as createFileLogWriter, L as getChildLogger, O as logVerbose, Ot as containsEnvVarReference, Tt as sanitizeHostExecEnv, at as resolveConfigIncludes, b as sleep, d as isRecord$3, et as normalizeConfigPaths, f as normalizeE164, g as resolveUserPath, it as readConfigIncludeFileWithGuards, kt as resolveConfigEnvVars, m as resolveConfigDir, nt as INCLUDE_KEY, st as isPathInside$1, tt as ConfigIncludeError, ut as openBoundaryFileSync, vt as isPathInside$2, xt as applyConfigEnvVars } from "./utils-CMEUUHmM.js";
4
4
  import { t as isBlockedObjectKey } from "./prototype-keys-CHjE1dyx.js";
5
5
  import { t as isPlainObject$2 } from "./plain-object-DHRdTVMa.js";
6
- import { F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-BAXIXdUR.js";
7
- import { l as stripAnsi, t as createSubsystemLogger } from "./subsystem-DRdkfGsB.js";
6
+ import { F as resolveAgentModelPrimaryValue, I as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-CWTkr4pS.js";
7
+ import { l as stripAnsi, t as createSubsystemLogger } from "./subsystem-DDZBycwS.js";
8
8
  import { C as normalizeOptionalAccountId, E as WAKE_GATE_SESSION_KEY_SEGMENT, N as parseAgentSessionKey, S as normalizeAccountId$1, T as HEARTBEAT_SESSION_KEY_SEGMENT, c as expandIdentityLinksToMatchKeys, d as normalizeAgentId, f as normalizeMainKey, h as resolveConfiguredCanonicalIdentity, m as resolveCanonicalIdentity, o as computeIdentityLinkMatchKeys, r as buildAgentMainSessionKey, s as computeIdentityLinkScopedMatchKey, t as DEFAULT_AGENT_ID, w as BACKGROUND_SESSION_KEY_SEGMENT, x as DEFAULT_ACCOUNT_ID } from "./session-key-B1wN38jV.js";
9
- import { n as runExec } from "./exec-Cg_eKCg0.js";
9
+ import { n as runExec } from "./exec-CHq-p5L0.js";
10
10
  import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-D9l3eOWF.js";
11
- import { t as isTruthyEnvValue } from "./env-DtoMyFfk.js";
11
+ import { t as isTruthyEnvValue } from "./env-ESh4ZX9l.js";
12
12
  import { n as resolveHostVersionInfo, t as VERSION } from "./version-D7fFgMO6.js";
13
13
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-CJzkJoeg.js";
14
14
  import { t as createWork } from "./envelope-CtjIakvq.js";
@@ -27,7 +27,7 @@ import fs, { createReadStream } from "node:fs";
27
27
  import os, { userInfo } from "node:os";
28
28
  import path, { join } from "node:path";
29
29
  import JSON5 from "json5";
30
- import fsPromises, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
30
+ import fs$1, { appendFile, chmod, mkdir, open, readFile, rename, rm, stat, writeFile } from "node:fs/promises";
31
31
  import util, { isDeepStrictEqual } from "node:util";
32
32
  import { execFileSync, spawn } from "node:child_process";
33
33
  import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -358,7 +358,7 @@ function isCreatedAtStale(createdAt, staleMs) {
358
358
  }
359
359
  async function readLockPayload$1(lockPath) {
360
360
  try {
361
- const raw = await fsPromises.readFile(lockPath, "utf8");
361
+ const raw = await fs$1.readFile(lockPath, "utf8");
362
362
  const parsed = JSON.parse(raw);
363
363
  if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
364
364
  const payload = {
@@ -375,7 +375,7 @@ async function readLockPayload$1(lockPath) {
375
375
  }
376
376
  async function chmodIfSupported$2(filePath, mode) {
377
377
  try {
378
- await fsPromises.chmod(filePath, mode);
378
+ await fs$1.chmod(filePath, mode);
379
379
  } catch (err) {
380
380
  if (process.platform === "win32") return;
381
381
  throw err;
@@ -384,15 +384,15 @@ async function chmodIfSupported$2(filePath, mode) {
384
384
  async function resolveNormalizedFilePath(filePath, options) {
385
385
  const resolved = path.resolve(filePath);
386
386
  const dir = path.dirname(resolved);
387
- if (options.directoryMode === void 0) await fsPromises.mkdir(dir, { recursive: true });
387
+ if (options.directoryMode === void 0) await fs$1.mkdir(dir, { recursive: true });
388
388
  else {
389
- await fsPromises.mkdir(dir, {
389
+ await fs$1.mkdir(dir, {
390
390
  recursive: true,
391
391
  mode: options.directoryMode
392
392
  });
393
393
  await chmodIfSupported$2(dir, options.directoryMode);
394
394
  }
395
- const realDir = await fsPromises.realpath(dir);
395
+ const realDir = await fs$1.realpath(dir);
396
396
  return path.join(realDir, path.basename(resolved));
397
397
  }
398
398
  async function isStaleLock(lockPath, staleMs) {
@@ -407,7 +407,7 @@ async function isStaleLock(lockPath, staleMs) {
407
407
  return false;
408
408
  }
409
409
  try {
410
- const stat = await fsPromises.stat(lockPath);
410
+ const stat = await fs$1.stat(lockPath);
411
411
  return Date.now() - stat.mtimeMs > staleMs;
412
412
  } catch {
413
413
  return true;
@@ -431,7 +431,7 @@ async function releaseHeldLock$1(normalizedFile) {
431
431
  throw emitLockReleaseWarning("close", current.lockPath, err);
432
432
  }
433
433
  try {
434
- await fsPromises.rm(current.lockPath, { force: true });
434
+ await fs$1.rm(current.lockPath, { force: true });
435
435
  } catch (err) {
436
436
  current.count = 1;
437
437
  throw emitLockReleaseWarning("remove", current.lockPath, err);
@@ -454,7 +454,7 @@ async function acquireFileLock(filePath, options) {
454
454
  let attempt = 0;
455
455
  let staleReclaims = 0;
456
456
  while (attempt < attempts) try {
457
- const handle = await fsPromises.open(lockPath, "wx");
457
+ const handle = await fs$1.open(lockPath, "wx");
458
458
  try {
459
459
  await handle.writeFile(JSON.stringify({
460
460
  pid: process.pid,
@@ -463,7 +463,7 @@ async function acquireFileLock(filePath, options) {
463
463
  }, null, 2), "utf8");
464
464
  } catch (writeErr) {
465
465
  await handle.close().catch(() => void 0);
466
- await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
466
+ await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
467
467
  throw writeErr;
468
468
  }
469
469
  HELD_LOCKS$1.set(normalizedFile, {
@@ -479,7 +479,7 @@ async function acquireFileLock(filePath, options) {
479
479
  } catch (err) {
480
480
  if (err.code !== "EEXIST") throw err;
481
481
  if (await isStaleLock(lockPath, options.stale)) {
482
- await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
482
+ await fs$1.rm(lockPath, { force: true }).catch(() => void 0);
483
483
  if (staleReclaims < attempts) {
484
484
  staleReclaims += 1;
485
485
  continue;
@@ -1782,7 +1782,7 @@ function createIcaclsResetCommand(targetPath, opts) {
1782
1782
  //#region src/security/audit-fs.ts
1783
1783
  async function safeStat(targetPath) {
1784
1784
  try {
1785
- const lst = await fsPromises.lstat(targetPath);
1785
+ const lst = await fs$1.lstat(targetPath);
1786
1786
  return {
1787
1787
  ok: true,
1788
1788
  isSymlink: lst.isSymbolicLink(),
@@ -1821,7 +1821,7 @@ async function inspectPathPermissions(targetPath, opts) {
1821
1821
  let effectiveMode = st.mode;
1822
1822
  let effectiveIsDir = st.isDir;
1823
1823
  if (st.isSymlink) try {
1824
- const target = await fsPromises.stat(targetPath);
1824
+ const target = await fs$1.stat(targetPath);
1825
1825
  effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
1826
1826
  effectiveIsDir = target.isDirectory();
1827
1827
  } catch {}
@@ -2103,7 +2103,7 @@ async function assertSecurePath(params) {
2103
2103
  if (stat.isSymlink) {
2104
2104
  if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
2105
2105
  try {
2106
- effectivePath = await fsPromises.realpath(effectivePath);
2106
+ effectivePath = await fs$1.realpath(effectivePath);
2107
2107
  } catch {
2108
2108
  throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
2109
2109
  }
@@ -2151,7 +2151,7 @@ async function readFileProviderPayload(params) {
2151
2151
  }, timeoutMs);
2152
2152
  });
2153
2153
  try {
2154
- const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2154
+ const payload = await Promise.race([fs$1.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
2155
2155
  if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
2156
2156
  const text = payload.toString("utf8");
2157
2157
  if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
@@ -7116,7 +7116,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
7116
7116
  await held.handle.close();
7117
7117
  } catch {}
7118
7118
  try {
7119
- await fsPromises.rm(held.lockPath, { force: true });
7119
+ await fs$1.rm(held.lockPath, { force: true });
7120
7120
  } catch {}
7121
7121
  })();
7122
7122
  try {
@@ -7195,7 +7195,7 @@ function registerCleanupHandlers() {
7195
7195
  }
7196
7196
  async function readLockPayload(lockPath) {
7197
7197
  try {
7198
- const raw = await fsPromises.readFile(lockPath, "utf8");
7198
+ const raw = await fs$1.readFile(lockPath, "utf8");
7199
7199
  const parsed = JSON.parse(raw);
7200
7200
  const payload = {};
7201
7201
  if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
@@ -7239,7 +7239,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
7239
7239
  if (!details.stale) return false;
7240
7240
  if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
7241
7241
  try {
7242
- const stat = await fsPromises.stat(lockPath);
7242
+ const stat = await fs$1.stat(lockPath);
7243
7243
  return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
7244
7244
  } catch (error) {
7245
7245
  return error?.code !== "ENOENT";
@@ -7257,7 +7257,7 @@ async function cleanStaleLockFiles(params) {
7257
7257
  const nowMs = params.nowMs ?? Date.now();
7258
7258
  let entries = [];
7259
7259
  try {
7260
- entries = await fsPromises.readdir(sessionsDir, { withFileTypes: true });
7260
+ entries = await fs$1.readdir(sessionsDir, { withFileTypes: true });
7261
7261
  } catch (err) {
7262
7262
  if (err.code === "ENOENT") return {
7263
7263
  locks: [],
@@ -7276,7 +7276,7 @@ async function cleanStaleLockFiles(params) {
7276
7276
  removed: false
7277
7277
  };
7278
7278
  if (lockInfo.stale && removeStale) {
7279
- await fsPromises.rm(lockPath, { force: true });
7279
+ await fs$1.rm(lockPath, { force: true });
7280
7280
  lockInfo.removed = true;
7281
7281
  cleaned.push(lockInfo);
7282
7282
  params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
@@ -7295,10 +7295,10 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
7295
7295
  const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
7296
7296
  const sessionFile = path.resolve(params.sessionFile);
7297
7297
  const sessionDir = path.dirname(sessionFile);
7298
- await fsPromises.mkdir(sessionDir, { recursive: true });
7298
+ await fs$1.mkdir(sessionDir, { recursive: true });
7299
7299
  let normalizedDir = sessionDir;
7300
7300
  try {
7301
- normalizedDir = await fsPromises.realpath(sessionDir);
7301
+ normalizedDir = await fs$1.realpath(sessionDir);
7302
7302
  } catch {}
7303
7303
  const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
7304
7304
  const lockPath = `${normalizedSessionFile}.lock`;
@@ -7316,7 +7316,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
7316
7316
  attempt += 1;
7317
7317
  let handle = null;
7318
7318
  try {
7319
- handle = await fsPromises.open(lockPath, "wx");
7319
+ handle = await fs$1.open(lockPath, "wx");
7320
7320
  const createdAt = (/* @__PURE__ */ new Date()).toISOString();
7321
7321
  const starttime = processIdentity.getProcessStartTime(process.pid);
7322
7322
  const lockPayload = {
@@ -7342,7 +7342,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
7342
7342
  await handle.close();
7343
7343
  } catch {}
7344
7344
  try {
7345
- await fsPromises.rm(lockPath, { force: true });
7345
+ await fs$1.rm(lockPath, { force: true });
7346
7346
  } catch {}
7347
7347
  }
7348
7348
  if (err.code !== "EEXIST") throw err;
@@ -7357,7 +7357,7 @@ async function acquireSessionWriteLockWithProcessIdentity(params, processIdentit
7357
7357
  stale: true,
7358
7358
  staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
7359
7359
  } : inspected, staleMs, nowMs)) {
7360
- await fsPromises.rm(lockPath, { force: true });
7360
+ await fs$1.rm(lockPath, { force: true });
7361
7361
  continue;
7362
7362
  }
7363
7363
  const delay = Math.min(1e3, 50 * attempt);
@@ -22890,7 +22890,7 @@ function parseDurationMs(raw, opts) {
22890
22890
  //#region src/infra/json-files.ts
22891
22891
  async function readJsonFile(filePath) {
22892
22892
  try {
22893
- const raw = await fsPromises.readFile(filePath, "utf8");
22893
+ const raw = await fs$1.readFile(filePath, "utf8");
22894
22894
  return JSON.parse(raw);
22895
22895
  } catch {
22896
22896
  return null;
@@ -22905,7 +22905,7 @@ async function writeJsonAtomic(filePath, value, options) {
22905
22905
  }
22906
22906
  async function chmodIfSupported(filePath, mode) {
22907
22907
  try {
22908
- await fsPromises.chmod(filePath, mode);
22908
+ await fs$1.chmod(filePath, mode);
22909
22909
  } catch (err) {
22910
22910
  if (process.platform === "win32") return;
22911
22911
  throw err;
@@ -22916,18 +22916,18 @@ async function writeTextAtomic(filePath, content, options) {
22916
22916
  const payload = options?.appendTrailingNewline && !content.endsWith("\n") ? `${content}\n` : content;
22917
22917
  const mkdirOptions = { recursive: true };
22918
22918
  if (typeof options?.ensureDirMode === "number") mkdirOptions.mode = options.ensureDirMode;
22919
- await fsPromises.mkdir(path.dirname(filePath), mkdirOptions);
22919
+ await fs$1.mkdir(path.dirname(filePath), mkdirOptions);
22920
22920
  const tmp = `${filePath}.${randomUUID()}.tmp`;
22921
22921
  try {
22922
- await fsPromises.writeFile(tmp, payload, {
22922
+ await fs$1.writeFile(tmp, payload, {
22923
22923
  encoding: "utf8",
22924
22924
  mode
22925
22925
  });
22926
22926
  await chmodIfSupported(tmp, mode);
22927
- await fsPromises.rename(tmp, filePath);
22927
+ await fs$1.rename(tmp, filePath);
22928
22928
  await chmodIfSupported(filePath, mode);
22929
22929
  } finally {
22930
- await fsPromises.rm(tmp, { force: true }).catch(() => void 0);
22930
+ await fs$1.rm(tmp, { force: true }).catch(() => void 0);
22931
22931
  }
22932
22932
  }
22933
22933
  function createAsyncLock() {
@@ -23046,7 +23046,7 @@ function validMarker(value) {
23046
23046
  async function readRecord(filePath, validate) {
23047
23047
  let raw;
23048
23048
  try {
23049
- raw = await fsPromises.readFile(filePath, "utf8");
23049
+ raw = await fs$1.readFile(filePath, "utf8");
23050
23050
  } catch (error) {
23051
23051
  if (error.code === "ENOENT") return { status: "absent" };
23052
23052
  return { status: "corrupt" };
@@ -23102,7 +23102,7 @@ async function readDisposition(filePath) {
23102
23102
  async function readDispositionJsonl(filePath) {
23103
23103
  let raw;
23104
23104
  try {
23105
- raw = await fsPromises.readFile(filePath, "utf8");
23105
+ raw = await fs$1.readFile(filePath, "utf8");
23106
23106
  } catch (error) {
23107
23107
  return error.code === "ENOENT" ? { status: "absent" } : { status: "corrupt" };
23108
23108
  }
@@ -23314,27 +23314,27 @@ async function classifyIdentityCorruption(stateDir, category, relativePath, iden
23314
23314
  }
23315
23315
  async function removeLinkedDestination(destination) {
23316
23316
  try {
23317
- await fsPromises.unlink(destination);
23317
+ await fs$1.unlink(destination);
23318
23318
  } catch {}
23319
23319
  }
23320
23320
  async function relocateWithoutReplacing(source, destination) {
23321
23321
  if (path.resolve(source) === path.resolve(destination)) return "same-path";
23322
- await fsPromises.mkdir(path.dirname(destination), { recursive: true });
23322
+ await fs$1.mkdir(path.dirname(destination), { recursive: true });
23323
23323
  try {
23324
- await fsPromises.link(source, destination);
23324
+ await fs$1.link(source, destination);
23325
23325
  } catch (error) {
23326
23326
  if (error.code !== "EEXIST") return "retained";
23327
23327
  try {
23328
- const [sourceBytes, destinationBytes] = await Promise.all([fsPromises.readFile(source), fsPromises.readFile(destination)]);
23328
+ const [sourceBytes, destinationBytes] = await Promise.all([fs$1.readFile(source), fs$1.readFile(destination)]);
23329
23329
  if (!sourceBytes.equals(destinationBytes)) return "retained";
23330
- await fsPromises.unlink(source);
23330
+ await fs$1.unlink(source);
23331
23331
  return "relocated";
23332
23332
  } catch {
23333
23333
  return "retained";
23334
23334
  }
23335
23335
  }
23336
23336
  try {
23337
- await fsPromises.unlink(source);
23337
+ await fs$1.unlink(source);
23338
23338
  return "relocated";
23339
23339
  } catch {
23340
23340
  await removeLinkedDestination(destination);
@@ -23343,14 +23343,14 @@ async function relocateWithoutReplacing(source, destination) {
23343
23343
  }
23344
23344
  async function renameAsideWithoutReplacing(stateDir, source, nowMs) {
23345
23345
  const destination = path.join(stateDir, "recovery", "manifest-corrupt", `${formatSessionArchiveTimestamp(nowMs())}.json`);
23346
- await fsPromises.mkdir(path.dirname(destination), { recursive: true });
23346
+ await fs$1.mkdir(path.dirname(destination), { recursive: true });
23347
23347
  try {
23348
- await fsPromises.link(source, destination);
23348
+ await fs$1.link(source, destination);
23349
23349
  } catch {
23350
23350
  return false;
23351
23351
  }
23352
23352
  try {
23353
- await fsPromises.unlink(source);
23353
+ await fs$1.unlink(source);
23354
23354
  return true;
23355
23355
  } catch {
23356
23356
  await removeLinkedDestination(destination);
@@ -23461,7 +23461,7 @@ async function classifyManifestFileInternal(stateDir, filePath, opts = {}) {
23461
23461
  async function walkFiles(directory, files) {
23462
23462
  let entries;
23463
23463
  try {
23464
- entries = await fsPromises.readdir(directory, { withFileTypes: true });
23464
+ entries = await fs$1.readdir(directory, { withFileTypes: true });
23465
23465
  } catch (error) {
23466
23466
  if (error.code === "ENOENT") return;
23467
23467
  throw error;
@@ -23597,7 +23597,7 @@ async function resumeManifests(stateDir, opts) {
23597
23597
  }
23598
23598
  async function manifestExists(filePath) {
23599
23599
  try {
23600
- await fsPromises.access(filePath);
23600
+ await fs$1.access(filePath);
23601
23601
  return true;
23602
23602
  } catch (error) {
23603
23603
  if (error.code === "ENOENT") return false;
@@ -23608,7 +23608,7 @@ async function hasNewerValidGeneration(stateDir, identity) {
23608
23608
  const directory = path.dirname(manifestPath(stateDir, identity.kind, identity.assetId, identity.sessionId, identity.generationId));
23609
23609
  let names;
23610
23610
  try {
23611
- names = await fsPromises.readdir(directory);
23611
+ names = await fs$1.readdir(directory);
23612
23612
  } catch (error) {
23613
23613
  if (error.code === "ENOENT") return false;
23614
23614
  throw error;
@@ -23640,7 +23640,7 @@ async function clearManifest(stateDir, identity, authorization) {
23640
23640
  else if (authorization === "supersession") authorized = await hasNewerValidGeneration(stateDir, identity);
23641
23641
  if (!authorized) throw new Error(`manifest clear is not authorized by ${authorization}`);
23642
23642
  try {
23643
- await fsPromises.unlink(filePath);
23643
+ await fs$1.unlink(filePath);
23644
23644
  return "cleared";
23645
23645
  } catch (error) {
23646
23646
  if (error.code === "ENOENT") return "already-absent";
@@ -23686,7 +23686,7 @@ function matchesManifest(actual, manifest) {
23686
23686
  }
23687
23687
  async function unlinkIfPresent(filePath) {
23688
23688
  try {
23689
- await fsPromises.unlink(filePath);
23689
+ await fs$1.unlink(filePath);
23690
23690
  } catch (error) {
23691
23691
  if (error.code !== "ENOENT") throw error;
23692
23692
  }