@visorcraft/idlehands 4.4.0 → 4.4.2

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 (256) hide show
  1. package/dist/{accounts-BDVs8LTu.js → accounts-B8cGzkjD.js} +1 -1
  2. package/dist/{accounts-Dk8mJIrQ.js → accounts-BQC_GRUB.js} +6 -6
  3. package/dist/{accounts-CIvVRRHb.js → accounts-D5tB_lO0.js} +1 -1
  4. package/dist/{agent-scope-DyP_tr7s.js → agent-scope-Bxq1eWbA.js} +4 -4
  5. package/dist/{agent-via-gateway-DvLTdMBj.js → agent-via-gateway-B82avysM.js} +1 -1
  6. package/dist/{agent-via-gateway-CPvgY5VA.js → agent-via-gateway-BLv_oSL5.js} +1 -1
  7. package/dist/{agent-via-gateway-OzQZlQpB.js → agent-via-gateway-BZBYIS74.js} +2 -2
  8. package/dist/{agent-via-gateway-CTti0dK7.js → agent-via-gateway-spHKNacF.js} +60 -60
  9. package/dist/{agents-BEuHL8Zr.js → agents-DFsifqti.js} +4 -4
  10. package/dist/{agents.config-BjMP6yqX.js → agents.config-B-HneNqt.js} +1 -1
  11. package/dist/{agents.config-BDQ4Bu0B.js → agents.config-LJG8mKGJ.js} +1 -1
  12. package/dist/{anton-Dwp3KlQs.js → anton-BHVfJEmp.js} +1 -1
  13. package/dist/{anton-C8SARtai.js → anton-CH-O1fKX.js} +5 -5
  14. package/dist/{anton-DCJl8crN.js → anton-DDY9C7_9.js} +1 -1
  15. package/dist/{anton-F-OwKPyb.js → anton-DYkdgFjS.js} +1 -1
  16. package/dist/{audio-preflight-DdYPJah_.js → audio-preflight-CwOVlM_o.js} +35 -35
  17. package/dist/{auth-choice-BHISFUGz.js → auth-choice-BwuBROMy.js} +1 -1
  18. package/dist/{auth-choice-Dam79K-y.js → auth-choice-tTRqUPHJ.js} +1 -1
  19. package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
  20. package/dist/{banner-ascZEgmt.js → banner-DUYqUnZh.js} +1 -1
  21. package/dist/{bindings-D3b5Fmc9.js → bindings-CLZIJ0Eo.js} +2 -2
  22. package/dist/build-info.json +3 -3
  23. package/dist/bundled/boot-md/handler.js +60 -60
  24. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  25. package/dist/bundled/command-logger/handler.js +3 -3
  26. package/dist/bundled/session-memory/handler.js +60 -60
  27. package/dist/{plugin-sdk/channel-activity-loOg1DRw.js → channel-activity-DdL3RAv_.js} +3 -3
  28. package/dist/{channel-options-CAfv1NVr.js → channel-options-DgE4bKnZ.js} +1 -1
  29. package/dist/{channel-options-BdjtX9_O.js → channel-options-w859WR9f.js} +1 -1
  30. package/dist/{channel-web-BZe8v7Di.js → channel-web-6DakWPLw.js} +2 -2
  31. package/dist/{channel-web-B23k1s4A.js → channel-web-DRFHkK-t.js} +2 -2
  32. package/dist/{channels-cli-v8qMY1yM.js → channels-cli-3a9CzVGj.js} +7 -7
  33. package/dist/{channels-cli-Bfz9P0IR.js → channels-cli-DTM2c23f.js} +7 -7
  34. package/dist/{chrome-RZ6-DZcL.js → chrome-CrBtckYY.js} +17 -17
  35. package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
  36. package/dist/{cli-HkluaDt1.js → cli-BYiKVK4i.js} +2 -2
  37. package/dist/{cli-DyId4irC.js → cli-C7BI3Wn6.js} +2 -2
  38. package/dist/{command-registry-Bs5y1F2v.js → command-registry-BtbFeRGU.js} +10 -10
  39. package/dist/{commands-registry-C_zNi-Ou.js → commands-registry-Cy_UQS_3.js} +5 -5
  40. package/dist/{completion-cli-CGXtQf6t.js → completion-cli-BB2Y8nfx.js} +1 -1
  41. package/dist/{completion-cli-BmHAqqY4.js → completion-cli-BGz3hkuH.js} +2 -2
  42. package/dist/{config-cli-BdJDJv0a.js → config-cli-DOmnPiGC.js} +1 -1
  43. package/dist/{config-cli-CEehCZa0.js → config-cli-b1s6P-RG.js} +1 -1
  44. package/dist/{configure-C5087mSP.js → configure-BQsgmT59.js} +3 -3
  45. package/dist/{configure-C44gmCt3.js → configure-D4tLHdxZ.js} +3 -3
  46. package/dist/daemon-cli.js +6 -6
  47. package/dist/{deliver-BQeDhZSa.js → deliver-DReSDWa4.js} +20 -20
  48. package/dist/{deps-CchkM1ea.js → deps-1S6DoURA.js} +1 -1
  49. package/dist/{deps-SgroTRjf.js → deps-BZOU70bs.js} +1 -1
  50. package/dist/{deps-UTcCCmJ6.js → deps-D0XOoTym.js} +6 -6
  51. package/dist/{deps-CfQJK6WP.js → deps-D3ku734-.js} +1 -1
  52. package/dist/{diagnostic-4owMk4vH.js → diagnostic-BvlZ0Sot.js} +1 -1
  53. package/dist/{dock-BgOmHcbh.js → dock-ejUetwTC.js} +6 -6
  54. package/dist/{doctor-completion-DsaJMlSu.js → doctor-completion-BfAWZyFl.js} +1 -1
  55. package/dist/{doctor-completion-Cgl5S3K0.js → doctor-completion-DOFXmBLZ.js} +1 -1
  56. package/dist/{emergency-stop-B2KUQyt8.js → emergency-stop-3LJcS7w-.js} +2 -2
  57. package/dist/emergency-stop-BXmSbO38.js +113 -0
  58. package/dist/{emergency-stop-DjURYr3Z.js → emergency-stop-DXwma2EI.js} +2 -2
  59. package/dist/{emergency-stop-BCRW03p2.js → emergency-stop-Dpdosd7y.js} +2 -2
  60. package/dist/entry.js +1 -1
  61. package/dist/{env-B5G1qwGc.js → env-q-PhWbb_.js} +1 -1
  62. package/dist/{plugin-sdk/errors-CMcD8Lhh.js → errors-C4SHjIZK.js} +1 -1
  63. package/dist/extensionAPI.js +2 -2
  64. package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-CcfDZXe9.js} +1 -1
  65. package/dist/{frontmatter-BOudmHMS.js → frontmatter-pTUG4Sx_.js} +2 -2
  66. package/dist/{fs-safe-CYUaAFO9.js → fs-safe-2l05hI1Y.js} +2 -2
  67. package/dist/{gateway-cli-BmwR5tHy.js → gateway-cli-B2CLa9rg.js} +9 -9
  68. package/dist/{gateway-cli-Cx3sGYvO.js → gateway-cli-CzXEYocw.js} +9 -9
  69. package/dist/{gemini-auth-DwwgHLvI.js → gemini-auth-DnP8lfQK.js} +2 -2
  70. package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
  71. package/dist/{health-DXbufVL-.js → health-C2A5ilGU.js} +1 -1
  72. package/dist/{health-F0lUmHT3.js → health-Dn7CVhrN.js} +1 -1
  73. package/dist/{hooks-cli-6t3DpWin.js → hooks-cli-BxGuMBUi.js} +3 -3
  74. package/dist/{hooks-cli-CsWYWkar.js → hooks-cli-CT8pLj_8.js} +3 -3
  75. package/dist/{image-4HTajysw.js → image-DBhgEUm0.js} +6 -6
  76. package/dist/{image-ops-D1KtygWz.js → image-ops-J8P5zOFm.js} +1 -1
  77. package/dist/index.js +7 -7
  78. package/dist/{ir-B7IBoKLy.js → ir-BT5aAdU9.js} +5 -5
  79. package/dist/llm-slug-generator.js +60 -60
  80. package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
  81. package/dist/{login-B8EuUm6R.js → login-CtL3gtbh.js} +6 -6
  82. package/dist/{login-qr-DS_9MrMo.js → login-qr-D090cMcd.js} +11 -11
  83. package/dist/{manager-CaFxh6F8.js → manager-1TS0xG0C.js} +15 -15
  84. package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-R8VTpfE9.js} +1 -1
  85. package/dist/{message-channel-C8QtrwEU.js → message-channel-ZdI1-uUh.js} +1 -1
  86. package/dist/{model-selection-D5g8tXIY.js → model-selection-C5BhfuPa.js} +41 -41
  87. package/dist/{models-awPyoUpk.js → models-CGtrW3AC.js} +2 -2
  88. package/dist/{models-cli-D_PfTekq.js → models-cli-0TPj_c8R.js} +4 -4
  89. package/dist/{models-cli-CsA9GN5G.js → models-cli-BvUKtS_w.js} +3 -3
  90. package/dist/{npm-resolution-BKPKKKLt.js → npm-resolution-Anabxb6_.js} +1 -1
  91. package/dist/{npm-resolution-BpQ2o-Eh.js → npm-resolution-Ox7X74-Z.js} +1 -1
  92. package/dist/{onboard-C9KRYbrH.js → onboard-B3m0Seri.js} +2 -2
  93. package/dist/{onboard-BiT3YReS.js → onboard-DsqTjPex.js} +2 -2
  94. package/dist/{onboard-channels-C6b-o1TK.js → onboard-channels-14qYfbpr.js} +1 -1
  95. package/dist/{onboard-channels-_XLjSBKm.js → onboard-channels-DFXKCp3G.js} +1 -1
  96. package/dist/{onboarding-BfAhtIYl.js → onboarding-BJYyNWSX.js} +3 -3
  97. package/dist/{onboarding-By12Oyni.js → onboarding-nIZFJ6yX.js} +3 -3
  98. package/dist/{onboarding.finalize-yL217Gdr.js → onboarding.finalize-B1qxBzUX.js} +6 -6
  99. package/dist/{onboarding.finalize-CAgcobAs.js → onboarding.finalize-Bi1nDMyy.js} +7 -7
  100. package/dist/{outbound-Dq9yoBDJ.js → outbound-D3dHUVkO.js} +6 -6
  101. package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-IfeZJAKk.js} +2 -2
  102. package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BZmt6hFb.js} +1 -1
  103. package/dist/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
  104. package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
  105. package/dist/{pi-embedded-BfPWx2YM.js → pi-embedded-D-vbVu50.js} +67 -37
  106. package/dist/{pi-embedded-helpers-DBkYJKhY.js → pi-embedded-helpers-BcRw0T_g.js} +24 -24
  107. package/dist/{pi-embedded-tWfE4dVB.js → pi-embedded-wUyn4Zjf.js} +235 -205
  108. package/dist/{pi-model-discovery-BMRRgVlz.js → pi-model-discovery-DMEzBdm5.js} +7 -7
  109. package/dist/{plugin-registry-ZgC7HA0z.js → plugin-registry-DHavGgu-.js} +1 -1
  110. package/dist/{plugin-registry-7DC8-ZZJ.js → plugin-registry-ReGTT2Qn.js} +1 -1
  111. package/dist/plugin-sdk/{accounts-CBVAw5_G.js → accounts-B9nfRzyn.js} +1 -1
  112. package/dist/plugin-sdk/{accounts-BLYMokxV.js → accounts-Kt6ygPsC.js} +2 -2
  113. package/dist/plugin-sdk/{accounts-C5tHm1UI.js → accounts-mjFAny5F.js} +1 -1
  114. package/dist/plugin-sdk/{agent-scope-jl80I5G9.js → agent-scope-CU41EMlR.js} +2 -2
  115. package/dist/plugin-sdk/{agent-via-gateway-C9v2r0O2.js → agent-via-gateway-BaZViUVq.js} +55 -55
  116. package/dist/plugin-sdk/agents/tool-stubs.d.ts +2 -1
  117. package/dist/plugin-sdk/{anton-7I_gkw4v.js → anton-y9DWQk_X.js} +4 -4
  118. package/dist/plugin-sdk/{api-key-rotation-BUIqfXnG.js → api-key-rotation-DPA6ftN7.js} +2 -2
  119. package/dist/plugin-sdk/{audio-preflight-URcQAxhH.js → audio-preflight-DL4zZ6SH.js} +30 -30
  120. package/dist/plugin-sdk/{auth-store-DaPWgQTx.js → auth-store-DycBvVqL.js} +1 -1
  121. package/dist/plugin-sdk/{bindings-xXgmJGxj.js → bindings-BDKKHGv-.js} +2 -2
  122. package/dist/{channel-activity-D_TMOGQ0.js → plugin-sdk/channel-activity-TcS_VfJk.js} +3 -3
  123. package/dist/plugin-sdk/{channel-web-B7qyJbrs.js → channel-web-CLQ55z3e.js} +24 -24
  124. package/dist/plugin-sdk/{chrome-CPVAOm0b.js → chrome-CaJve-Gp.js} +6 -6
  125. package/dist/plugin-sdk/{chunk-PW4MBmaN.js → chunk-DZr5xuqv.js} +1 -1
  126. package/dist/plugin-sdk/{commands-registry-DQCQbF8W.js → commands-registry-DWTMC5Bl.js} +5 -5
  127. package/dist/plugin-sdk/{config-04otsq-i.js → config-DXRuYZaI.js} +10 -10
  128. package/dist/plugin-sdk/{deliver-DfopPK17.js → deliver-DbtR2D87.js} +10 -10
  129. package/dist/plugin-sdk/{deps-Gj9jRY77.js → deps-DNbYvt5g.js} +6 -6
  130. package/dist/plugin-sdk/{diagnostic-ByA6zvzu.js → diagnostic-B8VzcqLf.js} +1 -1
  131. package/dist/plugin-sdk/{dock-DKQYtT6-.js → dock-CMURqoee.js} +6 -6
  132. package/dist/plugin-sdk/{emergency-stop-B7_VgSkO.js → emergency-stop-DQXrdDYX.js} +55 -55
  133. package/dist/plugin-sdk/{env-5XecRTLs.js → env-qurSiOO2.js} +1 -1
  134. package/dist/{errors-C_0nm4TJ.js → plugin-sdk/errors-UqLewZJL.js} +1 -1
  135. package/dist/plugin-sdk/{fetch-guard-DwdUEdmT.js → fetch-guard-C174s8ZV.js} +1 -1
  136. package/dist/plugin-sdk/{fs-safe-qsx2_8-o.js → fs-safe-CCXTOK7j.js} +2 -2
  137. package/dist/plugin-sdk/{image-B-gM6mxU.js → image-D-9PH0zg.js} +6 -6
  138. package/dist/plugin-sdk/{image-ops-CXSUo-AM.js → image-ops-BRYGGDwL.js} +1 -1
  139. package/dist/plugin-sdk/index.js +60 -60
  140. package/dist/plugin-sdk/{ir-kdDGpPMq.js → ir-Bv0Zbp2E.js} +5 -5
  141. package/dist/plugin-sdk/{local-roots-DjB6DYeI.js → local-roots-bHCsSVt_.js} +4 -4
  142. package/dist/plugin-sdk/{login-Bpe2s20d.js → login-B8HpBurd.js} +6 -6
  143. package/dist/plugin-sdk/{login-qr-C9ndp3tg.js → login-qr-DQnS-xlm.js} +8 -8
  144. package/dist/plugin-sdk/{manager-CBBlTnh3.js → manager-CKed0ZZE.js} +10 -10
  145. package/dist/plugin-sdk/{markdown-tables-Drtwd4J5.js → markdown-tables-DfUQHRZY.js} +1 -1
  146. package/dist/plugin-sdk/{message-channel-CQ0qkGHj.js → message-channel-DiMXmQeQ.js} +1 -1
  147. package/dist/plugin-sdk/{outbound-D6g6crrp.js → outbound-DNK06gip.js} +6 -6
  148. package/dist/plugin-sdk/{outbound-attachment-BisU5Vji.js → outbound-attachment-Bs7fNaqv.js} +2 -2
  149. package/dist/plugin-sdk/{path-alias-guards-C_uBEYb4.js → path-alias-guards-yyy61qHh.js} +1 -1
  150. package/dist/plugin-sdk/{pi-embedded-helpers-D48bhP-9.js → pi-embedded-helpers-BoeRlyoL.js} +16 -16
  151. package/dist/plugin-sdk/{pi-model-discovery-DCBTaRzI.js → pi-model-discovery-BLPN0Tzs.js} +1 -1
  152. package/dist/plugin-sdk/{plugins-NTjIvHYk.js → plugins-DRPlVBr_.js} +5 -5
  153. package/dist/plugin-sdk/{pw-ai-YGZXROMl.js → pw-ai-V3n0xLn-.js} +10 -10
  154. package/dist/plugin-sdk/{qmd-manager-juzrnopq.js → qmd-manager-BckPBwZX.js} +5 -5
  155. package/dist/plugin-sdk/{query-expansion-xBXvzdkL.js → query-expansion-CPqK-tTR.js} +2 -2
  156. package/dist/plugin-sdk/{redact-B6VQH3UQ.js → redact-Ub8sMBBC.js} +1 -1
  157. package/dist/plugin-sdk/{replies-DXdzWcMN.js → replies-CzsaFa8u.js} +3 -3
  158. package/dist/plugin-sdk/{reply-nvcQV3Q_.js → reply-DWcAkFIT.js} +151 -121
  159. package/dist/plugin-sdk/{reply-prefix--mxmTL7A.js → reply-prefix-BqV0o7_7.js} +1 -1
  160. package/dist/plugin-sdk/{resolve-outbound-target-CnUtsDch.js → resolve-outbound-target-DAdNGEqG.js} +2 -2
  161. package/dist/plugin-sdk/{resolve-route-BZABUE4J.js → resolve-route-C5mAwY-o.js} +3 -3
  162. package/dist/{retry-BeB9WenR.js → plugin-sdk/retry-2OVzZJMZ.js} +1 -1
  163. package/dist/plugin-sdk/{runner-C2xaoYAR.js → runner-C_iZbSwz.js} +10 -10
  164. package/dist/plugin-sdk/{send-CKQ89Lq9.js → send-BUYJmPie.js} +6 -6
  165. package/dist/plugin-sdk/{send-CFkuTXvq.js → send-BsxSmaWa.js} +7 -7
  166. package/dist/plugin-sdk/{send-BgTqMJLI.js → send-CBYbDScb.js} +10 -10
  167. package/dist/plugin-sdk/{send-dmYAtUT5.js → send-D-cZm1Y5.js} +7 -7
  168. package/dist/plugin-sdk/{send-CRhcec-_.js → send-Dt8bXHE8.js} +13 -13
  169. package/dist/plugin-sdk/{session-OpE6SSAs.js → session-C9uqVmuk.js} +3 -3
  170. package/dist/plugin-sdk/{sessions-CG-k8Acv.js → sessions-B4ApxPY1.js} +6 -6
  171. package/dist/plugin-sdk/{skill-commands-BHBpmuX9.js → skill-commands-B8suoqwn.js} +5 -5
  172. package/dist/plugin-sdk/{skills-33Wy6_4b.js → skills-Dl2nq6QI.js} +8 -8
  173. package/dist/plugin-sdk/{store-CCCXwngh.js → store-BI3rLJdW.js} +2 -2
  174. package/dist/plugin-sdk/{subsystem-DWPzKeZ0.js → subsystem-lJo9gqAK.js} +1 -1
  175. package/dist/plugin-sdk/{tables-CF9W23Rd.js → tables-C4X_nAUQ.js} +1 -1
  176. package/dist/plugin-sdk/{target-errors-DaH0qYtL.js → target-errors-CXh6e9ZE.js} +2 -2
  177. package/dist/plugin-sdk/{tokens-Y97UKh4C.js → tokens-CU9S3S7t.js} +1 -1
  178. package/dist/{tool-images-CcGZpzmq.js → plugin-sdk/tool-images-Cf9aWlVu.js} +2 -2
  179. package/dist/plugin-sdk/{tool-loop-detection-Cv8wyfAi.js → tool-loop-detection-DuwkSqZL.js} +2 -2
  180. package/dist/plugin-sdk/{utils-Dyj2wV4e.js → utils-dP-FpIgu.js} +2 -2
  181. package/dist/plugin-sdk/web-CNw6-P_B.js +71 -0
  182. package/dist/plugin-sdk/{whatsapp-actions-Cp6vXAA8.js → whatsapp-actions-CEAXpexT.js} +23 -23
  183. package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
  184. package/dist/{plugins-cli-DACLE21S.js → plugins-cli-C13WMPnF.js} +3 -3
  185. package/dist/{plugins-cli-kePQvJ9L.js → plugins-cli-CO4FVaiO.js} +3 -3
  186. package/dist/{program-VV9u5uPU.js → program-B_vfCOU2.js} +8 -8
  187. package/dist/{program-context-j94K3IXR.js → program-context-BmSQ_Sf4.js} +18 -18
  188. package/dist/{prompt-select-styled-BSqCn36X.js → prompt-select-styled-B5ZwrfX0.js} +4 -4
  189. package/dist/{prompt-select-styled-BH51ROGD.js → prompt-select-styled-BC7OSZ1q.js} +4 -4
  190. package/dist/{provider-auth-helpers-BAB3PaaB.js → provider-auth-helpers-CDu8gosd.js} +1 -1
  191. package/dist/{provider-auth-helpers-DMSF8Mhq.js → provider-auth-helpers-D0A6E5jr.js} +1 -1
  192. package/dist/{push-apns-Cou7KeCj.js → push-apns-BofP21zS.js} +1 -1
  193. package/dist/{push-apns-CGUwMKT-.js → push-apns-Dc8RVDXC.js} +1 -1
  194. package/dist/{pw-ai-5GRjEp4v.js → pw-ai-D3GtQQoU.js} +13 -13
  195. package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-BRvg3Rx2.js} +8 -8
  196. package/dist/{query-expansion-DEq020GG.js → query-expansion-DHuNyU-_.js} +5 -5
  197. package/dist/{redact-Bvpf-ATQ.js → redact-1Y0KPNtr.js} +1 -1
  198. package/dist/{register.agent-YCGBKv-d.js → register.agent-CMlS5uBQ.js} +9 -9
  199. package/dist/{register.agent-ColbJEk3.js → register.agent-CV7M3tu9.js} +8 -8
  200. package/dist/{register.configure-C5g7670Q.js → register.configure-BnNziB2G.js} +8 -8
  201. package/dist/{register.configure-CfUo6nvs.js → register.configure-CMB0aDJp.js} +8 -8
  202. package/dist/{register.maintenance-53FGiO0K.js → register.maintenance-BdWGNtkz.js} +8 -8
  203. package/dist/{register.maintenance-CBNoQia-.js → register.maintenance-X6asZwHw.js} +9 -9
  204. package/dist/{register.message-0nKlUSrH.js → register.message-BuggdGjG.js} +3 -3
  205. package/dist/{register.message-CaFp4DAP.js → register.message-DnOPNIGk.js} +3 -3
  206. package/dist/{register.onboard-B3NgvEwe.js → register.onboard-BDhpm8TD.js} +2 -2
  207. package/dist/{register.onboard-B9IJ3wUe.js → register.onboard-CHHu9Skd.js} +2 -2
  208. package/dist/{register.orchestrator-anton-Cxnh52UP.js → register.orchestrator-anton-B-tuZR0z.js} +2 -2
  209. package/dist/{register.orchestrator-anton-HIi6nBvo.js → register.orchestrator-anton-SlFmmH1n.js} +2 -2
  210. package/dist/{register.setup-y7C2w79N.js → register.setup-A8U_6S1I.js} +2 -2
  211. package/dist/{register.setup-DyxAeyO2.js → register.setup-D7mmwdPD.js} +2 -2
  212. package/dist/{register.status-health-sessions-5wREP3Tq.js → register.status-health-sessions-DVocz8ib.js} +4 -4
  213. package/dist/{register.status-health-sessions-DbzCxLhd.js → register.status-health-sessions-haba-O-6.js} +4 -4
  214. package/dist/{register.subclis-BEDdoF6M.js → register.subclis-B-zDlWeV.js} +9 -9
  215. package/dist/{replies-uBXwI7WM.js → replies-BxRl_2Nq.js} +3 -3
  216. package/dist/{reply-vDM22Gez.js → reply-7AXQ38dZ.js} +67 -37
  217. package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-DCljZiIB.js} +1 -1
  218. package/dist/{resolve-route-DuttYY7A.js → resolve-route-ClcifpKn.js} +4 -4
  219. package/dist/{plugin-sdk/retry-Bh7jveNm.js → retry-CG6cMRDQ.js} +1 -1
  220. package/dist/{run-main-BKjpcqq8.js → run-main-Cy6gYOh3.js} +15 -15
  221. package/dist/{runner-Cy6GWdoL.js → runner-BZBK277H.js} +11 -11
  222. package/dist/{send-Ce_lAnef.js → send-B7Fzlmlo.js} +7 -7
  223. package/dist/{send-BskvGZej.js → send-BGyVbnFP.js} +7 -7
  224. package/dist/{send-DvjrOg1z.js → send-DcN-QeVO.js} +6 -6
  225. package/dist/{send-rp8dzIy4.js → send-n1vT5TEb.js} +24 -24
  226. package/dist/{send-C4z2HAbE.js → send-qNmymshG.js} +10 -10
  227. package/dist/{server-node-events-B7IQ1nzZ.js → server-node-events-ChBhFPg3.js} +3 -3
  228. package/dist/{server-node-events-CraqSZJR.js → server-node-events-Dbr2WR-0.js} +3 -3
  229. package/dist/{session-BbwP0jac.js → session-BMqBZ_fq.js} +7 -7
  230. package/dist/{sessions-DA2oWrdb.js → sessions-BA3_G98W.js} +41 -41
  231. package/dist/{skill-commands-AySApC-2.js → skill-commands-DnTjl_m1.js} +9 -9
  232. package/dist/{skills-B3wf7ZnA.js → skills-DRGt1G_o.js} +22 -22
  233. package/dist/{status-ZUnD4Pgf.js → status-BompBfRg.js} +2 -2
  234. package/dist/{status-D9fTji6b.js → status-Cy7Zcfzv.js} +2 -2
  235. package/dist/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
  236. package/dist/{subagent-registry-l7V3IoLe.js → subagent-registry-DDIoRVFV.js} +67 -37
  237. package/dist/{subsystem-tzu-rIAJ.js → subsystem-D7ZepYT1.js} +1 -1
  238. package/dist/{tables-5k-zOZ-s.js → tables-Co_R_WKs.js} +1 -1
  239. package/dist/{target-errors-BPfQrPim.js → target-errors-B1mcM4WR.js} +2 -2
  240. package/dist/{tokens-BRLyURxW.js → tokens-DGajj8M9.js} +1 -1
  241. package/dist/{plugin-sdk/tool-images-BMRkn_yk.js → tool-images-Duuqr4bN.js} +2 -2
  242. package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-CjWRg_4q.js} +3 -3
  243. package/dist/{update-cli-CMn89gww.js → update-cli-1s_O26hF.js} +8 -8
  244. package/dist/{update-cli-D02DhEE9.js → update-cli-DywvLvxF.js} +9 -9
  245. package/dist/{update-runner-C44em-38.js → update-runner-2yf_p333.js} +1 -1
  246. package/dist/{update-runner-BSsZSlwa.js → update-runner-DfTjwukX.js} +1 -1
  247. package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
  248. package/dist/{web-CiVRDtta.js → web-59hB8x7z.js} +3 -3
  249. package/dist/{web-DLIXLq_L.js → web-C4vEw_Lp.js} +3 -3
  250. package/dist/{web-Dkl33QN0.js → web-DxQjSHSJ.js} +66 -66
  251. package/dist/{web-bCfwH31U.js → web-WBETd448.js} +3 -3
  252. package/dist/{whatsapp-actions-C_BWc4tJ.js → whatsapp-actions-DmI59VQd.js} +25 -25
  253. package/dist/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
  254. package/package.json +1 -1
  255. package/dist/emergency-stop-CjVqAFw-.js +0 -113
  256. package/dist/plugin-sdk/web-BzOC1x6m.js +0 -71
@@ -1,16 +1,16 @@
1
- import "./agent-scope-DyP_tr7s.js";
2
- import "./paths-BYNVLNi_.js";
3
- import "./subsystem-tzu-rIAJ.js";
4
- import { T as info, j as success, w as danger } from "./utils-CTFLl_ji.js";
1
+ import "./agent-scope-Bxq1eWbA.js";
2
+ import "./paths-DQpv9a3Q.js";
3
+ import "./subsystem-D7ZepYT1.js";
4
+ import { T as info, j as success, w as danger } from "./utils-D9wGoiU9.js";
5
5
  import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
6
- import { x as logInfo } from "./workspace-DBFSzT6O.js";
7
- import { R as loadConfig } from "./model-selection-D5g8tXIY.js";
8
- import "./github-copilot-token-Dgt6cnsM.js";
6
+ import { x as logInfo } from "./workspace-tAtkoD_r.js";
7
+ import { R as loadConfig } from "./model-selection-C5BhfuPa.js";
8
+ import "./github-copilot-token-BjmEQcmi.js";
9
9
  import "./boolean-CE7i9tBR.js";
10
- import "./env-B5G1qwGc.js";
11
- import { n as resolveWhatsAppAccount } from "./accounts-Dk8mJIrQ.js";
12
- import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-DXT-l7fO.js";
13
- import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BbwP0jac.js";
10
+ import "./env-q-PhWbb_.js";
11
+ import { n as resolveWhatsAppAccount } from "./accounts-BQC_GRUB.js";
12
+ import { a as logoutWeb, l as readWebSelfId, p as webAuthExists } from "./auth-store-Bb4aajHu.js";
13
+ import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BMqBZ_fq.js";
14
14
  import { randomUUID } from "node:crypto";
15
15
  import { DisconnectReason } from "@whiskeysockets/baileys";
16
16
  import QRCodeModule from "qrcode-terminal/vendor/QRCode/index.js";
@@ -1,21 +1,21 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
3
- import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
4
- import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
5
- import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-CTFLl_ji.js";
6
- import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-D5g8tXIY.js";
7
- import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
8
- import { n as formatErrorMessage } from "./errors-C_0nm4TJ.js";
9
- import { l as resolveSessionTranscriptsDirForAgent } from "./paths-D_qUel1T.js";
2
+ import { i as resolveAgentDir, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-Bxq1eWbA.js";
3
+ import { d as resolveStateDir } from "./paths-DQpv9a3Q.js";
4
+ import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
5
+ import { S as truncateUtf16Safe, h as resolveUserPath, i as clampNumber, r as clampInt } from "./utils-D9wGoiU9.js";
6
+ import { T as resolveApiKeyForProvider, w as requireApiKey } from "./model-selection-C5BhfuPa.js";
7
+ import { t as isTruthyEnvValue } from "./env-q-PhWbb_.js";
8
+ import { n as formatErrorMessage } from "./errors-C4SHjIZK.js";
9
+ import { l as resolveSessionTranscriptsDirForAgent } from "./paths-D3p7ZvM6.js";
10
10
  import { n as onSessionTranscriptUpdate } from "./transcript-events-_OimdA_2.js";
11
- import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-DwwgHLvI.js";
12
- import { t as fetchWithSsrFGuard } from "./fetch-guard-iuQsIjqN.js";
13
- import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-DEq020GG.js";
14
- import { n as retryAsync } from "./retry-BeB9WenR.js";
11
+ import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-DnP8lfQK.js";
12
+ import { t as fetchWithSsrFGuard } from "./fetch-guard-CcfDZXe9.js";
13
+ import { _ as isFileMissingError, a as sessionPathForFile, c as cosineSimilarity, d as isMemoryPath, f as listMemoryFiles, g as runWithConcurrency, h as remapChunkLines, i as listSessionFilesForAgent, l as ensureDir, m as parseEmbedding, n as requireNodeSqlite, o as buildFileEntry, p as normalizeExtraMemoryPaths, r as buildSessionEntry, s as chunkMarkdown, t as extractKeywords, u as hashText, v as statRegularFile } from "./query-expansion-DHuNyU-_.js";
14
+ import { n as retryAsync } from "./retry-CG6cMRDQ.js";
15
15
  import fs from "node:fs/promises";
16
16
  import os from "node:os";
17
17
  import path from "node:path";
18
- import syncFs from "node:fs";
18
+ import fs$1 from "node:fs";
19
19
  import { randomUUID } from "node:crypto";
20
20
  import { createInterface } from "node:readline";
21
21
  import { Readable } from "node:stream";
@@ -627,7 +627,7 @@ function canAutoSelectLocal(options) {
627
627
  if (/^(hf:|https?:)/i.test(modelPath)) return false;
628
628
  const resolved = resolveUserPath(modelPath);
629
629
  try {
630
- return syncFs.statSync(resolved).isFile();
630
+ return fs$1.statSync(resolved).isFile();
631
631
  } catch {
632
632
  return false;
633
633
  }
@@ -2135,7 +2135,7 @@ var MemoryManagerSyncOps = class {
2135
2135
  ]);
2136
2136
  const additionalPaths = normalizeExtraMemoryPaths(this.workspaceDir, this.settings.extraPaths);
2137
2137
  for (const entry of additionalPaths) try {
2138
- const stat = syncFs.lstatSync(entry);
2138
+ const stat = fs$1.lstatSync(entry);
2139
2139
  if (stat.isSymbolicLink()) continue;
2140
2140
  if (stat.isDirectory()) {
2141
2141
  watchPaths.add(path.join(entry, "**", "*.md"));
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
3
- import { r as normalizeChannelId } from "./plugins-CRB60mCJ.js";
3
+ import { r as normalizeChannelId } from "./plugins-DYr-HHj0.js";
4
4
  import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
5
5
 
6
6
  //#region src/config/markdown-tables.ts
@@ -1,4 +1,4 @@
1
- import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-tzu-rIAJ.js";
1
+ import { c as normalizeChatChannelId, l as getActivePluginRegistry, n as CHANNEL_IDS } from "./subsystem-D7ZepYT1.js";
2
2
 
3
3
  //#region src/gateway/protocol/client-info.ts
4
4
  const GATEWAY_CLIENT_IDS = {
@@ -1,21 +1,21 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
- import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-DyP_tr7s.js";
3
- import { a as resolveConfigPathCandidate, c as resolveIsNixMode, d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, n as STATE_DIR, o as resolveDefaultConfigCandidates, r as resolveCanonicalConfigPath, s as resolveGatewayPort, t as DEFAULT_GATEWAY_PORT, u as resolveOAuthPath } from "./paths-BYNVLNi_.js";
4
- import { c as normalizeChatChannelId, n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
5
- import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-CTFLl_ji.js";
2
+ import { a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, g as toAgentModelListLike, h as resolveAgentModelPrimaryValue, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-Bxq1eWbA.js";
3
+ import { a as resolveConfigPathCandidate, c as resolveIsNixMode, d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, n as STATE_DIR, o as resolveDefaultConfigCandidates, r as resolveCanonicalConfigPath, s as resolveGatewayPort, t as DEFAULT_GATEWAY_PORT, u as resolveOAuthPath } from "./paths-DQpv9a3Q.js";
4
+ import { c as normalizeChatChannelId, n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
5
+ import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-D9wGoiU9.js";
6
6
  import { h as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-CuLPSMu_.js";
7
- import { C as canUseBoundaryFileOpen, T as openBoundaryFileSync, _ as runExec, j as isPathInside$2 } from "./workspace-DBFSzT6O.js";
8
- import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-Dgt6cnsM.js";
7
+ import { C as canUseBoundaryFileOpen, T as openBoundaryFileSync, _ as runExec, j as isPathInside$2 } from "./workspace-tAtkoD_r.js";
8
+ import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-BjmEQcmi.js";
9
9
  import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
10
- import { t as isTruthyEnvValue } from "./env-B5G1qwGc.js";
10
+ import { t as isTruthyEnvValue } from "./env-q-PhWbb_.js";
11
11
  import { n as MANIFEST_KEY } from "./legacy-names-B4ZvHEmO.js";
12
- import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-BgOmHcbh.js";
12
+ import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-ejUetwTC.js";
13
13
  import { t as runTasksWithConcurrency } from "./run-with-concurrency-CEV6qf-x.js";
14
14
  import { createRequire } from "node:module";
15
15
  import fs from "node:fs/promises";
16
16
  import os from "node:os";
17
17
  import path from "node:path";
18
- import syncFs from "node:fs";
18
+ import fs$1 from "node:fs";
19
19
  import JSON5 from "json5";
20
20
  import { isDeepStrictEqual } from "node:util";
21
21
  import { execFileSync, execSync, spawn } from "node:child_process";
@@ -238,7 +238,7 @@ function resolveAuthProfileDisplayLabel(params) {
238
238
  function isZombieProcess(pid) {
239
239
  if (process.platform !== "linux") return false;
240
240
  try {
241
- return syncFs.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
241
+ return fs$1.readFileSync(`/proc/${pid}/status`, "utf8").match(/^State:\s+(\S)/m)?.[1] === "Z";
242
242
  } catch {
243
243
  return false;
244
244
  }
@@ -512,7 +512,7 @@ function resolveAuthStorePathForDisplay(agentDir) {
512
512
  return pathname.startsWith("~") ? pathname : resolveUserPath(pathname);
513
513
  }
514
514
  function ensureAuthStoreFile(pathname) {
515
- if (syncFs.existsSync(pathname)) return;
515
+ if (fs$1.existsSync(pathname)) return;
516
516
  saveJsonFile(pathname, {
517
517
  version: AUTH_STORE_VERSION,
518
518
  profiles: {}
@@ -774,7 +774,7 @@ function loadAuthProfileStoreForAgent(agentDir, options) {
774
774
  if (shouldWrite && legacy !== null) {
775
775
  const legacyPath = resolveLegacyAuthStorePath(agentDir);
776
776
  try {
777
- syncFs.unlinkSync(legacyPath);
777
+ fs$1.unlinkSync(legacyPath);
778
778
  } catch (err) {
779
779
  if (err?.code !== "ENOENT") log$6.warn("failed to delete legacy auth.json after migration", {
780
780
  err,
@@ -962,7 +962,7 @@ function loadDotEnv(opts) {
962
962
  const quiet = opts?.quiet ?? true;
963
963
  dotenv.config({ quiet });
964
964
  const globalEnvPath = path.join(resolveConfigDir(process.env), ".env");
965
- if (!syncFs.existsSync(globalEnvPath)) return;
965
+ if (!fs$1.existsSync(globalEnvPath)) return;
966
966
  dotenv.config({
967
967
  quiet,
968
968
  path: globalEnvPath,
@@ -1085,7 +1085,7 @@ function resolveTimeoutMs(timeoutMs) {
1085
1085
  function readEtcShells() {
1086
1086
  if (cachedEtcShells !== void 0) return cachedEtcShells;
1087
1087
  try {
1088
- const entries = syncFs.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1088
+ const entries = fs$1.readFileSync("/etc/shells", "utf8").split(/\r?\n/).map((line) => line.trim()).filter((line) => line.length > 0 && !line.startsWith("#") && path.isAbsolute(line));
1089
1089
  cachedEtcShells = new Set(entries);
1090
1090
  } catch {
1091
1091
  cachedEtcShells = null;
@@ -1488,7 +1488,7 @@ function resolveActiveTalkProviderConfig(talk) {
1488
1488
  };
1489
1489
  }
1490
1490
  function readTalkApiKeyFromProfile(deps = {}) {
1491
- const fsImpl = deps.fs ?? syncFs;
1491
+ const fsImpl = deps.fs ?? fs$1;
1492
1492
  const osImpl = deps.os ?? os;
1493
1493
  const pathImpl = deps.path ?? path;
1494
1494
  const home = osImpl.homedir();
@@ -2220,7 +2220,7 @@ var IncludeProcessor = class IncludeProcessor {
2220
2220
  const normalized = path.normalize(resolved);
2221
2221
  if (!isPathInside$1(this.rootDir, normalized)) throw new ConfigIncludeError(`Include path escapes config directory: ${includePath} (root: ${this.rootDir})`, includePath);
2222
2222
  try {
2223
- const real = syncFs.realpathSync(normalized);
2223
+ const real = fs$1.realpathSync(normalized);
2224
2224
  if (!isPathInside$1(this.rootRealDir, real)) throw new ConfigIncludeError(`Include path resolves outside config directory (symlink): ${includePath} (root: ${this.rootDir})`, includePath);
2225
2225
  } catch (err) {
2226
2226
  if (err instanceof ConfigIncludeError) throw err;
@@ -2262,13 +2262,13 @@ var IncludeProcessor = class IncludeProcessor {
2262
2262
  };
2263
2263
  function safeRealpath(target) {
2264
2264
  try {
2265
- return syncFs.realpathSync(target);
2265
+ return fs$1.realpathSync(target);
2266
2266
  } catch {
2267
2267
  return target;
2268
2268
  }
2269
2269
  }
2270
2270
  function readConfigIncludeFileWithGuards(params) {
2271
- const ioFs = params.ioFs ?? syncFs;
2271
+ const ioFs = params.ioFs ?? fs$1;
2272
2272
  const maxBytes = params.maxBytes ?? MAX_INCLUDE_FILE_BYTES;
2273
2273
  if (!canUseBoundaryFileOpen(ioFs)) return ioFs.readFileSync(params.resolvedPath, "utf-8");
2274
2274
  const opened = openBoundaryFileSync({
@@ -2291,7 +2291,7 @@ function readConfigIncludeFileWithGuards(params) {
2291
2291
  }
2292
2292
  }
2293
2293
  const defaultResolver = {
2294
- readFile: (p) => syncFs.readFileSync(p, "utf-8"),
2294
+ readFile: (p) => fs$1.readFileSync(p, "utf-8"),
2295
2295
  readFileWithGuards: ({ includePath, resolvedPath, rootRealDir }) => readConfigIncludeFileWithGuards({
2296
2296
  includePath,
2297
2297
  resolvedPath,
@@ -4238,8 +4238,8 @@ const DEFAULT_SAFE_BINS = [
4238
4238
  ];
4239
4239
  function isExecutableFile(filePath) {
4240
4240
  try {
4241
- if (!syncFs.statSync(filePath).isFile()) return false;
4242
- if (process.platform !== "win32") syncFs.accessSync(filePath, syncFs.constants.X_OK);
4241
+ if (!fs$1.statSync(filePath).isFile()) return false;
4242
+ if (process.platform !== "win32") fs$1.accessSync(filePath, fs$1.constants.X_OK);
4243
4243
  return true;
4244
4244
  } catch {
4245
4245
  return false;
@@ -4283,7 +4283,7 @@ function normalizeMatchTarget(value) {
4283
4283
  }
4284
4284
  function tryRealpath(value) {
4285
4285
  try {
4286
- return syncFs.realpathSync(value);
4286
+ return fs$1.realpathSync(value);
4287
4287
  } catch {
4288
4288
  return null;
4289
4289
  }
@@ -5164,7 +5164,7 @@ function listWritableExplicitTrustedSafeBinDirs(entries) {
5164
5164
  for (const dir of resolved) {
5165
5165
  let stat;
5166
5166
  try {
5167
- stat = syncFs.statSync(dir);
5167
+ stat = fs$1.statSync(dir);
5168
5168
  } catch {
5169
5169
  continue;
5170
5170
  }
@@ -5528,13 +5528,13 @@ function resolveBundledPluginsDir() {
5528
5528
  try {
5529
5529
  const execDir = path.dirname(process.execPath);
5530
5530
  const sibling = path.join(execDir, "extensions");
5531
- if (syncFs.existsSync(sibling)) return sibling;
5531
+ if (fs$1.existsSync(sibling)) return sibling;
5532
5532
  } catch {}
5533
5533
  try {
5534
5534
  let cursor = path.dirname(fileURLToPath(import.meta.url));
5535
5535
  for (let i = 0; i < 6; i += 1) {
5536
5536
  const candidate = path.join(cursor, "extensions");
5537
- if (syncFs.existsSync(candidate)) return candidate;
5537
+ if (fs$1.existsSync(candidate)) return candidate;
5538
5538
  const parent = path.dirname(cursor);
5539
5539
  if (parent === cursor) break;
5540
5540
  cursor = parent;
@@ -5553,7 +5553,7 @@ function normalizeStringList(value) {
5553
5553
  function resolvePluginManifestPath(rootDir) {
5554
5554
  for (const filename of PLUGIN_MANIFEST_FILENAMES) {
5555
5555
  const candidate = path.join(rootDir, filename);
5556
- if (syncFs.existsSync(candidate)) return candidate;
5556
+ if (fs$1.existsSync(candidate)) return candidate;
5557
5557
  }
5558
5558
  return path.join(rootDir, PLUGIN_MANIFEST_FILENAME);
5559
5559
  }
@@ -5578,7 +5578,7 @@ function loadPluginManifest(rootDir) {
5578
5578
  }
5579
5579
  let raw;
5580
5580
  try {
5581
- raw = JSON.parse(syncFs.readFileSync(opened.fd, "utf-8"));
5581
+ raw = JSON.parse(fs$1.readFileSync(opened.fd, "utf-8"));
5582
5582
  } catch (err) {
5583
5583
  return {
5584
5584
  ok: false,
@@ -5586,7 +5586,7 @@ function loadPluginManifest(rootDir) {
5586
5586
  manifestPath
5587
5587
  };
5588
5588
  } finally {
5589
- syncFs.closeSync(opened.fd);
5589
+ fs$1.closeSync(opened.fd);
5590
5590
  }
5591
5591
  if (!isRecord$3(raw)) return {
5592
5592
  ok: false,
@@ -5645,7 +5645,7 @@ function safeRealpathSync(targetPath, cache) {
5645
5645
  const cached = cache?.get(targetPath);
5646
5646
  if (cached) return cached;
5647
5647
  try {
5648
- const resolved = syncFs.realpathSync(targetPath);
5648
+ const resolved = fs$1.realpathSync(targetPath);
5649
5649
  cache?.set(targetPath, resolved);
5650
5650
  return resolved;
5651
5651
  } catch {
@@ -5654,7 +5654,7 @@ function safeRealpathSync(targetPath, cache) {
5654
5654
  }
5655
5655
  function safeStatSync(targetPath) {
5656
5656
  try {
5657
- return syncFs.statSync(targetPath);
5657
+ return fs$1.statSync(targetPath);
5658
5658
  } catch {
5659
5659
  return null;
5660
5660
  }
@@ -5782,12 +5782,12 @@ function readPackageManifest(dir) {
5782
5782
  });
5783
5783
  if (!opened.ok) return null;
5784
5784
  try {
5785
- const raw = syncFs.readFileSync(opened.fd, "utf-8");
5785
+ const raw = fs$1.readFileSync(opened.fd, "utf-8");
5786
5786
  return JSON.parse(raw);
5787
5787
  } catch {
5788
5788
  return null;
5789
5789
  } finally {
5790
- syncFs.closeSync(opened.fd);
5790
+ fs$1.closeSync(opened.fd);
5791
5791
  }
5792
5792
  }
5793
5793
  function resolvePackageExtensions(manifest) {
@@ -5844,14 +5844,14 @@ function resolvePackageEntrySource(params) {
5844
5844
  return null;
5845
5845
  }
5846
5846
  const safeSource = opened.path;
5847
- syncFs.closeSync(opened.fd);
5847
+ fs$1.closeSync(opened.fd);
5848
5848
  return safeSource;
5849
5849
  }
5850
5850
  function discoverInDirectory(params) {
5851
- if (!syncFs.existsSync(params.dir)) return;
5851
+ if (!fs$1.existsSync(params.dir)) return;
5852
5852
  let entries = [];
5853
5853
  try {
5854
- entries = syncFs.readdirSync(params.dir, { withFileTypes: true });
5854
+ entries = fs$1.readdirSync(params.dir, { withFileTypes: true });
5855
5855
  } catch (err) {
5856
5856
  params.diagnostics.push({
5857
5857
  level: "warn",
@@ -5914,7 +5914,7 @@ function discoverInDirectory(params) {
5914
5914
  "index.js",
5915
5915
  "index.mjs",
5916
5916
  "index.cjs"
5917
- ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => syncFs.existsSync(candidate));
5917
+ ].map((candidate) => path.join(fullPath, candidate)).find((candidate) => fs$1.existsSync(candidate));
5918
5918
  if (indexFile && isExtensionFile(indexFile)) addCandidate({
5919
5919
  candidates: params.candidates,
5920
5920
  diagnostics: params.diagnostics,
@@ -5932,7 +5932,7 @@ function discoverInDirectory(params) {
5932
5932
  }
5933
5933
  function discoverFromPath(params) {
5934
5934
  const resolved = resolveUserPath(params.rawPath);
5935
- if (!syncFs.existsSync(resolved)) {
5935
+ if (!fs$1.existsSync(resolved)) {
5936
5936
  params.diagnostics.push({
5937
5937
  level: "error",
5938
5938
  message: `plugin path not found: ${resolved}`,
@@ -5940,7 +5940,7 @@ function discoverFromPath(params) {
5940
5940
  });
5941
5941
  return;
5942
5942
  }
5943
- const stat = syncFs.statSync(resolved);
5943
+ const stat = fs$1.statSync(resolved);
5944
5944
  if (stat.isFile()) {
5945
5945
  if (!isExtensionFile(resolved)) {
5946
5946
  params.diagnostics.push({
@@ -6000,7 +6000,7 @@ function discoverFromPath(params) {
6000
6000
  "index.js",
6001
6001
  "index.mjs",
6002
6002
  "index.cjs"
6003
- ].map((candidate) => path.join(resolved, candidate)).find((candidate) => syncFs.existsSync(candidate));
6003
+ ].map((candidate) => path.join(resolved, candidate)).find((candidate) => fs$1.existsSync(candidate));
6004
6004
  if (indexFile && isExtensionFile(indexFile)) {
6005
6005
  addCandidate({
6006
6006
  candidates: params.candidates,
@@ -6114,7 +6114,7 @@ function buildCacheKey(params) {
6114
6114
  }
6115
6115
  function safeStatMtimeMs(filePath) {
6116
6116
  try {
6117
- return syncFs.statSync(filePath).mtimeMs;
6117
+ return fs$1.statSync(filePath).mtimeMs;
6118
6118
  } catch {
6119
6119
  return null;
6120
6120
  }
@@ -10634,7 +10634,7 @@ function resolveConfigPathForDeps(deps) {
10634
10634
  }
10635
10635
  function normalizeDeps(overrides = {}) {
10636
10636
  return {
10637
- fs: overrides.fs ?? syncFs,
10637
+ fs: overrides.fs ?? fs$1,
10638
10638
  json5: overrides.json5 ?? JSON5,
10639
10639
  env: overrides.env ?? process.env,
10640
10640
  homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
@@ -5,7 +5,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
5
5
  import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
6
6
  import { r as resolveForwardCompatModel } from "./model-CJrOUPDY.js";
7
7
  import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DSGYVXZ_.js";
8
- import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-l7V3IoLe.js";
8
+ import { $t as buildAuthHealthSummary, Qt as DEFAULT_OAUTH_WARN_MS, St as describeFailoverError, _n as formatUsageWindowSummary, en as formatRemainingShort, hn as loadProviderUsageSummary, s as runEmbeddedPiAgent, vn as resolveUsageProviderId, yn as maskApiKey } from "./subagent-registry-DDIoRVFV.js";
9
9
  import { l as resolveSessionTranscriptsDirForAgent, o as resolveSessionTranscriptPath } from "./paths-CC17i2eK.js";
10
10
  import { t as ensureIdleHandsModelsJson } from "./models-config-BXEhHPnv.js";
11
11
  import { n as loadModelCatalog } from "./model-catalog-DhBQWADs.js";
@@ -19,7 +19,7 @@ import { n as redactSecrets } from "./format-oh9Nicqr.js";
19
19
  import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-DuAKpPuv.js";
20
20
  import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Dg9vclI_.js";
21
21
  import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
22
- import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BAB3PaaB.js";
22
+ import { a as createVpsAwareOAuthHandlers, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CDu8gosd.js";
23
23
  import path from "node:path";
24
24
  import fs from "node:fs/promises";
25
25
  import { complete, getEnvApiKey, getModel } from "@mariozechner/pi-ai";
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
25
25
  import "./auth-store-D9BmR4S6.js";
26
26
  import "./send-CuXAB8LA.js";
27
27
  import "./send-lf9ld4To.js";
28
- import "./subagent-registry-l7V3IoLe.js";
28
+ import "./subagent-registry-DDIoRVFV.js";
29
29
  import "./paths-CC17i2eK.js";
30
30
  import "./chat-envelope-Dedaetiq.js";
31
31
  import "./client-udFMSDes.js";
@@ -108,7 +108,7 @@ import { n as runCommandWithRuntime, t as resolveOptionFromCommand } from "./cli
108
108
  import "./help-format-CldHB7lS.js";
109
109
  import "./progress-B76RkFx7.js";
110
110
  import "./replies-CmTF3tWU.js";
111
- import "./deps-CfQJK6WP.js";
111
+ import "./deps-D3ku734-.js";
112
112
  import "./onboard-helpers-_Uk9P3FF.js";
113
113
  import "./prompt-style-XmK49QYK.js";
114
114
  import "./pairing-labels-CLdV_RlM.js";
@@ -118,8 +118,8 @@ import "./table-aJzHv5Oe.js";
118
118
  import "./shared-DuAKpPuv.js";
119
119
  import "./auth-token-Dg9vclI_.js";
120
120
  import "./logging-MF6Thoxk.js";
121
- import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-BAB3PaaB.js";
122
- import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-awPyoUpk.js";
121
+ import { c as githubCopilotLoginCommand } from "./provider-auth-helpers-CDu8gosd.js";
122
+ import { C as modelsAliasesListCommand, S as modelsAliasesAddCommand, _ as modelsAuthOrderSetCommand, a as modelsStatusCommand, b as modelsAuthPasteTokenCommand, c as modelsImageFallbacksClearCommand, d as modelsFallbacksAddCommand, f as modelsFallbacksClearCommand, g as modelsAuthOrderGetCommand, h as modelsAuthOrderClearCommand, i as modelsScanCommand, l as modelsImageFallbacksListCommand, m as modelsFallbacksRemoveCommand, n as modelsSetImageCommand, o as modelsListCommand, p as modelsFallbacksListCommand, r as modelsSetCommand, s as modelsImageFallbacksAddCommand, u as modelsImageFallbacksRemoveCommand, v as modelsAuthAddCommand, w as modelsAliasesRemoveCommand, x as modelsAuthSetupTokenCommand, y as modelsAuthLoginCommand } from "./models-CGtrW3AC.js";
123
123
 
124
124
  //#region src/cli/models-cli.ts
125
125
  function runModelsCommand(action) {
@@ -1,7 +1,7 @@
1
1
  import { t as CONFIG_PATH } from "./paths-Cn44w-EB.js";
2
2
  import { B as theme, R as colorize, S as shortenHomePath, z as isRich$1 } from "./utils-CXzXXV2o.js";
3
3
  import "./thinking-EAliFiVK.js";
4
- import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-vDM22Gez.js";
4
+ import { Jt as maskApiKey, St as resolveUsageProviderId, a as DEFAULT_OAUTH_WARN_MS, d as runEmbeddedPiAgent, o as buildAuthHealthSummary, qt as describeFailoverError, s as formatRemainingShort, xt as formatUsageWindowSummary, yt as loadProviderUsageSummary } from "./reply-7AXQ38dZ.js";
5
5
  import { A as resolveDefaultAgentWorkspaceDir, M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, a as resolveAgentDir, c as resolveAgentModelFallbacksOverride, d as resolveDefaultAgentId, s as resolveAgentExplicitModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
6
6
  import "./subsystem-CGZX2PBV.js";
7
7
  import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
@@ -103,7 +103,7 @@ import "./resolve-route-D_AbcmD6.js";
103
103
  import "./replies-Bt95GAew.js";
104
104
  import "./skill-commands-23SP2OFQ.js";
105
105
  import "./workspace-dirs-SsExQ3Bz.js";
106
- import "./deps-SgroTRjf.js";
106
+ import "./deps-BZOU70bs.js";
107
107
  import "./plugin-auto-enable-DyNeRjEL.js";
108
108
  import "./channel-selection-ZxRkxpuF.js";
109
109
  import "./outbound-attachment-Bot3bRnK.js";
@@ -124,7 +124,7 @@ import { n as redactSecrets } from "./format-BK5XIv_A.js";
124
124
  import { a as isLocalBaseUrl, c as normalizeAlias, d as resolveModelTarget, f as updateConfig, i as formatTokenK, l as resolveKnownAgentId, n as ensureFlagCompatibility, o as loadValidConfigOrThrow, r as formatMs, s as mergePrimaryFallbackConfig, t as applyDefaultModelPrimaryUpdate, u as resolveModelKeysFromEntries } from "./shared-MZ5J3-zw.js";
125
125
  import { d as applyAuthProfileConfig, n as validateAnthropicSetupToken } from "./auth-token-Bry7XspO.js";
126
126
  import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
127
- import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-DMSF8Mhq.js";
127
+ import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-D0A6E5jr.js";
128
128
  import path from "node:path";
129
129
  import fs from "node:fs/promises";
130
130
  import crypto from "node:crypto";
@@ -1,4 +1,4 @@
1
- import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-vDM22Gez.js";
1
+ import { ht as loadIdleHandsPlugins, mt as createPluginLoaderLogger } from "./reply-7AXQ38dZ.js";
2
2
  import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
3
3
  import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
4
4
  import { It as loadConfig } from "./model-selection-BzMkl275.js";
@@ -1,7 +1,7 @@
1
1
  import { s as createSubsystemLogger } from "./entry.js";
2
2
  import { j as loadConfig } from "./auth-profiles-02PVCKaE.js";
3
3
  import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
4
- import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-l7V3IoLe.js";
4
+ import { _ as loadIdleHandsPlugins, g as createPluginLoaderLogger } from "./subagent-registry-DDIoRVFV.js";
5
5
 
6
6
  //#region src/plugins/status.ts
7
7
  const log = createSubsystemLogger("plugins");
@@ -7,7 +7,7 @@ import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
7
7
  import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
8
8
  import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
9
9
  import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CRT3STlu.js";
10
- import { t as runOnboardingWizard } from "./onboarding-By12Oyni.js";
10
+ import { t as runOnboardingWizard } from "./onboarding-nIZFJ6yX.js";
11
11
  import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
12
12
  import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DHfeIfN6.js";
13
13
  import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-D12380q3.js";
@@ -250,7 +250,7 @@ async function runNonInteractiveOnboardingLocal(params) {
250
250
  }
251
251
  const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
252
252
  if (!opts.skipHealth) {
253
- const { healthCommand } = await import("./health-F0lUmHT3.js").then((n) => n.i);
253
+ const { healthCommand } = await import("./health-Dn7CVhrN.js").then((n) => n.i);
254
254
  await waitForGatewayReachable({
255
255
  url: resolveControlUiLinks({
256
256
  bind: gatewayResult.bind,
@@ -8,7 +8,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-X6f4YmTM.js";
8
8
  import { t as WizardCancelledError } from "./prompts-9ZBCWbQB.js";
9
9
  import { t as createClackPrompter } from "./clack-prompter-CvbZsmjW.js";
10
10
  import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BGXzfrm4.js";
11
- import { t as runOnboardingWizard } from "./onboarding-BfAhtIYl.js";
11
+ import { t as runOnboardingWizard } from "./onboarding-BJYyNWSX.js";
12
12
  import { n as logConfigUpdated } from "./logging-B0-9lotb.js";
13
13
  import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-CWpV5eF5.js";
14
14
  import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-DWHdfsgm.js";
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
251
251
  }
252
252
  const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
253
253
  if (!opts.skipHealth) {
254
- const { healthCommand } = await import("./health-DXbufVL-.js").then((n) => n.i);
254
+ const { healthCommand } = await import("./health-C2A5ilGU.js").then((n) => n.i);
255
255
  await waitForGatewayReachable({
256
256
  url: resolveControlUiLinks({
257
257
  bind: gatewayResult.bind,
@@ -9,7 +9,7 @@ import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveD
9
9
  import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-frp6YB8O.js";
10
10
  import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-COaz4Gk1.js";
11
11
  import { dt as normalizeDiscordSlug } from "./send-lf9ld4To.js";
12
- import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-l7V3IoLe.js";
12
+ import { Nn as resolveSlackUserAllowlist, Pn as resolveDiscordUserAllowlist, T as resolveDiscordChannelAllowlist, _ as loadIdleHandsPlugins, g as createPluginLoaderLogger, y as resolveSlackChannelAllowlist } from "./subagent-registry-DDIoRVFV.js";
13
13
  import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-Bqk5Vib2.js";
14
14
  import { s as normalizeIMessageHandle } from "./send-Df8cWzZN.js";
15
15
  import { t as formatDocsLink } from "./links-fKzK3pnZ.js";
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { h as pathExists, m as normalizeE164, t as CONFIG_DIR } from "./utils-CXzXXV2o.js";
3
- import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-vDM22Gez.js";
3
+ import { Ar as resolveSlackUserAllowlist, At as resolveDiscordChannelAllowlist, ht as loadIdleHandsPlugins, jr as resolveDiscordUserAllowlist, mt as createPluginLoaderLogger, wt as resolveSlackChannelAllowlist } from "./reply-7AXQ38dZ.js";
4
4
  import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
5
5
  import { g as listChatChannels, m as formatChannelSelectionLine, p as formatChannelPrimerLine, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
6
6
  import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-Cuihcz_O.js";
@@ -231,7 +231,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
231
231
  const { ensureAuthProfileStore } = await import("./model-selection-BzMkl275.js").then((n) => n.ot);
232
232
  const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-CiRp6avH.js").then((n) => n.t);
233
233
  const { promptCustomApiConfig } = await import("./onboard-custom-wmVFQd-a.js").then((n) => n.r);
234
- const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-Dam79K-y.js").then((n) => n.t);
234
+ const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-tTRqUPHJ.js").then((n) => n.t);
235
235
  const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-CDFxd1-T.js").then((n) => n.i);
236
236
  const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
237
237
  const authChoiceFromPrompt = opts.authChoice === void 0;
@@ -285,7 +285,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
285
285
  if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
286
286
  else {
287
287
  const { listChannelPlugins } = await import("./plugins-D46VZh7u.js").then((n) => n.i);
288
- const { setupChannels } = await import("./onboard-channels-_XLjSBKm.js").then((n) => n.n);
288
+ const { setupChannels } = await import("./onboard-channels-DFXKCp3G.js").then((n) => n.n);
289
289
  const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
290
290
  nextConfig = await setupChannels(nextConfig, runtime, prompter, {
291
291
  allowSignalInstall: true,
@@ -311,7 +311,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
311
311
  mode
312
312
  });
313
313
  await writeConfigFile(nextConfig);
314
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-yL217Gdr.js");
314
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-B1qxBzUX.js");
315
315
  const { launchedTui } = await finalizeOnboardingWizard({
316
316
  flow,
317
317
  opts,
@@ -230,7 +230,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
230
230
  const { ensureAuthProfileStore } = await import("./auth-profiles-02PVCKaE.js").then((n) => n.t);
231
231
  const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-kycZqH8q.js").then((n) => n.t);
232
232
  const { promptCustomApiConfig } = await import("./onboard-custom-Cm5FRAaS.js").then((n) => n.r);
233
- const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BHISFUGz.js").then((n) => n.t);
233
+ const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-BwuBROMy.js").then((n) => n.t);
234
234
  const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-6G4lLHXK.js").then((n) => n.i);
235
235
  const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
236
236
  const authChoiceFromPrompt = opts.authChoice === void 0;
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
284
284
  if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
285
285
  else {
286
286
  const { listChannelPlugins } = await import("./plugins-CCrfZ49T.js").then((n) => n.i);
287
- const { setupChannels } = await import("./onboard-channels-C6b-o1TK.js").then((n) => n.n);
287
+ const { setupChannels } = await import("./onboard-channels-14qYfbpr.js").then((n) => n.n);
288
288
  const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
289
289
  nextConfig = await setupChannels(nextConfig, runtime, prompter, {
290
290
  allowSignalInstall: true,
@@ -310,7 +310,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
310
310
  mode
311
311
  });
312
312
  await writeConfigFile(nextConfig);
313
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CAgcobAs.js");
313
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-Bi1nDMyy.js");
314
314
  const { launchedTui } = await finalizeOnboardingWizard({
315
315
  flow,
316
316
  opts,