@noxsoft/anima 2.1.0 → 3.0.1

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 (265) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/dist/{accounts-CGzuQdAx.js → accounts-ZMhj636e.js} +38 -38
  3. package/dist/{acp-cli-B91vBbbX.js → acp-cli-CcOE2A2i.js} +4 -4
  4. package/dist/{acp-cli-C2nYnQx-.js → acp-cli-PhWp41mc.js} +5 -5
  5. package/dist/{agent-Bd6Zpqnq.js → agent-CT2PCft4.js} +9 -9
  6. package/dist/{agent-CoxwYg20.js → agent-DvWSUuKy.js} +8 -8
  7. package/dist/{agent-events-BVc91Gjk.js → agent-events-iR_gRjZA.js} +2 -2
  8. package/dist/{agent-scope-BoQtElEh.js → agent-scope-DWKQJUUZ.js} +3 -3
  9. package/dist/{agent-scope-CuAaArMB.js → agent-scope-M302b8FW.js} +3 -1
  10. package/dist/{agent-scope-kT_pK2eJ.js → agent-scope-vpVhWds3.js} +3 -1
  11. package/dist/{agents-ERV83c8T.js → agents-DAg3VWr9.js} +9 -9
  12. package/dist/{agents.config-Bar8RHWv.js → agents.config-Dqcq7hEy.js} +1 -1
  13. package/dist/{agents.config-CvQgWymp.js → agents.config-M3p4E9Vk.js} +1 -1
  14. package/dist/{audit-C4pngOZo.js → audit-BDXqNA5J.js} +6 -6
  15. package/dist/{audit-94c4PKy2.js → audit-Cm50mcVm.js} +7 -7
  16. package/dist/{auth-choice-RnqXSEZo.js → auth-choice-CPDNhDPT.js} +145 -7
  17. package/dist/{auth-health-C2V2unOG.js → auth-health-C0g38cq2.js} +1 -1
  18. package/dist/{auth-profiles-DNpEm389.js → auth-profiles-BYETsqKc.js} +1 -1
  19. package/dist/{auth-profiles-DxPI9Swi.js → auth-profiles-BqrAPweI.js} +9 -9
  20. package/dist/{auth-profiles-CzyebTC0.js → auth-profiles-DZS4PC_i.js} +1 -1
  21. package/dist/{auth-store-vxi4ZPnZ.js → auth-store-eNVxoq_h.js} +13 -13
  22. package/dist/{auto-update-CFjmeMj2.js → auto-update-D5cnVgXE.js} +10 -4
  23. package/dist/{auto-update-Ct6OO4xu.js → auto-update-DYjBYplz.js} +10 -4
  24. package/dist/{banner-D3viiyMP.js → banner-CcUSTTQw.js} +1 -1
  25. package/dist/build-info.json +3 -3
  26. package/dist/bundled/boot-md/handler.js +22 -22
  27. package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
  28. package/dist/bundled/command-logger/handler.js +1 -1
  29. package/dist/bundled/session-memory/handler.js +6 -6
  30. package/dist/{call-CItRp_pr.js → call-C0Yk2qNb.js} +2 -2
  31. package/dist/{call-DxImJH07.js → call-LugHQWOF.js} +1 -1
  32. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  33. package/dist/{channel-web-DbqT9emt.js → channel-web-Co4IvTdB.js} +10 -10
  34. package/dist/{chrome-CVfcErE4.js → chrome-_87P03u5.js} +7 -7
  35. package/dist/{chrome-C1KpzLwu.js → chrome-s7nTgmbn.js} +12 -12
  36. package/dist/{chunk-B7HJmFUg.js → chunk-lDG_8LI5.js} +2 -2
  37. package/dist/{clack-prompter-DzyUpdYc.js → clack-prompter-1d_RjjVW.js} +1 -1
  38. package/dist/{clack-prompter-DGILBk0Q.js → clack-prompter-DXovYg0Q.js} +1 -1
  39. package/dist/cli/daemon-cli.js +1 -1
  40. package/dist/{cli-CIqM2CiL.js → cli-4D3JIGFt.js} +21 -21
  41. package/dist/{cli-D3fgTPqQ.js → cli-BkI8EYn3.js} +22 -22
  42. package/dist/{cli-session-C5q6Uryq.js → cli-session-CIhvoVRb.js} +55 -7
  43. package/dist/{cli-session-DQ9kepDS.js → cli-session-CJ4_a3AU.js} +56 -8
  44. package/dist/{client-oEG5cM5Q.js → client-BM5PkIwQ.js} +3 -3
  45. package/dist/{command-registry-S2ZqFzVe.js → command-registry-Cl3Z-qsS.js} +10 -10
  46. package/dist/{commands-C8xFlkZx.js → commands-BsZdF-6N.js} +1 -1
  47. package/dist/{commands-Cd2w9dmK.js → commands-quS1zRPr.js} +1 -1
  48. package/dist/{common-DgcMt-pi.js → common-DbouukNi.js} +2 -2
  49. package/dist/{completion-cli-BHlamZC3.js → completion-cli-BB3_g8w5.js} +1 -1
  50. package/dist/{completion-cli-CC0KmaZL.js → completion-cli-DcTEhrAe.js} +2 -2
  51. package/dist/{config-CaE6v09P.js → config-6zE4ZkSF.js} +2 -2
  52. package/dist/{config-Bda-8Rdh.js → config-9JRRXykP.js} +2 -2
  53. package/dist/{config-BEiShGVB.js → config-H_VHtPeY.js} +27 -27
  54. package/dist/{config-cli-DtJe8KPs.js → config-cli-DCNRWoyW.js} +4 -4
  55. package/dist/{config-cli-CEU2oLOH.js → config-cli-VB37XAkf.js} +4 -4
  56. package/dist/{config-guard-CQWaFJGt.js → config-guard-BUrJR68X.js} +2 -2
  57. package/dist/{config-guard-a6BWW0DS.js → config-guard-DJ_IK05w.js} +6 -6
  58. package/dist/{config-sync-DtK8vF0a.js → config-sync-B6XNCiWO.js} +4 -2
  59. package/dist/{config-sync-DHZT44We.js → config-sync-CVNJhO-W.js} +4 -2
  60. package/dist/{configure-BwR-MQg6.js → configure-CkmVabju.js} +9 -9
  61. package/dist/{configure-BiIaL4NZ.js → configure-Du07BFtQ.js} +10 -10
  62. package/dist/{context-Nk3BLa3u.js → context-CsnIPzGP.js} +1 -1
  63. package/dist/{control-service-CJ2uXWYM.js → control-service-BpEnt1xS.js} +4 -4
  64. package/dist/{control-service-9uTsix_O.js → control-service-dAtxFV2S.js} +2 -2
  65. package/dist/control-ui/assets/index-CEuStzNh.js +18 -0
  66. package/dist/control-ui/assets/index-CEuStzNh.js.map +1 -0
  67. package/dist/control-ui/assets/index-CbNrH7Wu.css +1 -0
  68. package/dist/control-ui/index.html +20 -0
  69. package/dist/{cron-cli-Diyg0pr6.js → cron-cli-BT0i4_jA.js} +6 -6
  70. package/dist/{cron-cli-BoB3GX76.js → cron-cli-DUVPrjk1.js} +5 -5
  71. package/dist/{daemon-cli-CR7yHMws.js → daemon-cli-DlHFi5Gm.js} +5 -5
  72. package/dist/{daemon-cli-CXnpU1lw.js → daemon-cli-tZXFDpZX.js} +5 -5
  73. package/dist/{daemon-runtime-C-xevhQ5.js → daemon-runtime-Cbi2Ox6g.js} +1 -1
  74. package/dist/{daemon-runtime-DP9zI3um.js → daemon-runtime-DOk9qM0y.js} +1 -1
  75. package/dist/{deliver-ZUV32EzH.js → deliver-CkrMkcOx.js} +1 -1
  76. package/dist/{deliver-BJ1xFt2X.js → deliver-DyQtnfXd.js} +14 -14
  77. package/dist/{deliver-TokuvSTy.js → deliver-tQREYhAr.js} +1 -1
  78. package/dist/{deps-CV9EwaiA.js → deps-DoPMG4GI.js} +1 -1
  79. package/dist/{dispatcher-DT5y2bRx.js → dispatcher-BhzRMibw.js} +1 -1
  80. package/dist/{dispatcher-DnyO_pzZ.js → dispatcher-wmQlHNsm.js} +1 -1
  81. package/dist/{dns-cli-Cw0G6u5i.js → dns-cli-B6bcA4-G.js} +3 -3
  82. package/dist/{dns-cli-CTpT3A5j.js → dns-cli-BvKJGCxL.js} +3 -3
  83. package/dist/{doctor-BRbtvinF.js → doctor-BxzkshQH.js} +20 -20
  84. package/dist/{doctor-a5nLQGbD.js → doctor-C3foAiuj.js} +19 -19
  85. package/dist/{doctor-completion-DpxcKMA5.js → doctor-completion-CZgNNZVd.js} +1 -1
  86. package/dist/{doctor-completion-Dnj6NNct.js → doctor-completion-VtjYTwcS.js} +1 -1
  87. package/dist/{doctor-config-flow-D80QIcc-.js → doctor-config-flow-BAntaUow.js} +4 -4
  88. package/dist/{doctor-config-flow-BZOFJuDW.js → doctor-config-flow-d6ocIX0r.js} +4 -4
  89. package/dist/{engine-Df9mQ7es.js → engine-C6iz-qEe.js} +5 -3
  90. package/dist/{engine-BqAGzYXO.js → engine-CIid6j5k.js} +5 -3
  91. package/dist/entry.js +1 -1
  92. package/dist/{exec-DJTRaYS6.js → exec-CK8CHr7j.js} +7 -7
  93. package/dist/{exec-approvals-cli-C5OuptCV.js → exec-approvals-cli-CAwe3fFV.js} +6 -6
  94. package/dist/{exec-approvals-cli-BWeKuHMf.js → exec-approvals-cli-COqsRheN.js} +5 -5
  95. package/dist/extensionAPI.js +3 -1
  96. package/dist/{frontmatter-DDYuWuK5.js → frontmatter-BBFYH_d2.js} +2 -2
  97. package/dist/{gateway-cli-DpikYazv.js → gateway-cli-BKmCrkp2.js} +47 -47
  98. package/dist/{gateway-cli-CLhlz_uA.js → gateway-cli-D0mD_UV8.js} +48 -48
  99. package/dist/{gateway-rpc-B30vCjdB.js → gateway-rpc-2MG1-jz-.js} +1 -1
  100. package/dist/{gateway-rpc-CeSf5jMa.js → gateway-rpc-elmeRwyu.js} +1 -1
  101. package/dist/{health-1JahEOfG.js → health-27WiwNrh.js} +9 -9
  102. package/dist/{health-BLxSP-s_.js → health-Cb_2WS_Z.js} +9 -9
  103. package/dist/{heartbeat-visibility-CS0wp8uu.js → heartbeat-visibility-Blrqxom1.js} +1 -1
  104. package/dist/{heartbeat-visibility-DgxM3da_.js → heartbeat-visibility-CDRbkOeP.js} +1 -1
  105. package/dist/{hooks-cli-Bb1UXfXv.js → hooks-cli-BkaD_Vnq.js} +23 -23
  106. package/dist/{hooks-cli-B-PZNrq5.js → hooks-cli-C7hx3yOv.js} +22 -22
  107. package/dist/{image-ops-ZMEg1-kE.js → image-ops-DJjERl7d.js} +2 -2
  108. package/dist/index.js +32 -32
  109. package/dist/{ipv4-BXko1df7.js → ipv4-sll41DXC.js} +4 -4
  110. package/dist/{ipv4-BmsAjDnB.js → ipv4-yUiIU5CD.js} +5 -5
  111. package/dist/json-file-Dvrir7_o.js +25 -0
  112. package/dist/llm-slug-generator.js +5 -5
  113. package/dist/{login-DIm-BAka.js → login-CBsXoiD_.js} +2 -2
  114. package/dist/{login-jV3UWUGr.js → login-CdRss5_H.js} +5 -5
  115. package/dist/{login-DQALESNM.js → login-DcBFdgol.js} +2 -2
  116. package/dist/{login-qr-BMMUazkr.js → login-qr-CEarfn5e.js} +4 -4
  117. package/dist/{login-qr-CJXqxq1y.js → login-qr-DoNanonP.js} +10 -10
  118. package/dist/{login-qr-BzS8xa3D.js → login-qr-aHN20jEV.js} +4 -4
  119. package/dist/{logs-cli-yKcOyM8n.js → logs-cli-DbdMIph-.js} +6 -6
  120. package/dist/{logs-cli-DHjyZjyi.js → logs-cli-O9Vm67Ps.js} +5 -5
  121. package/dist/{manager-eyHWQVGS.js → manager-1ZMunRXe.js} +2 -2
  122. package/dist/{manager-I5MlcYXv.js → manager-BVhxScwx.js} +2 -2
  123. package/dist/{manager-BssWfixS.js → manager-BlXVqzLP.js} +14 -14
  124. package/dist/{memory-cli-hyoQVF7L.js → memory-cli-CDMb58Y3.js} +5 -5
  125. package/dist/{memory-cli-DQm_Q8ks.js → memory-cli-DEnGCMk0.js} +5 -5
  126. package/dist/{model-auth-CQNrcIIT.js → model-auth-B3BPcnwt.js} +2 -2
  127. package/dist/{model-auth-BbZzb3IY.js → model-auth-ChSwMwh7.js} +3 -3
  128. package/dist/{model-auth-Cyx2Xoz0.js → model-auth-DUHamQTz.js} +2 -2
  129. package/dist/{model-selection-MwLHFnAb.js → model-selection-C2dz3AhV.js} +1 -1
  130. package/dist/{model-selection-BjcyTJyU.js → model-selection-DJcZ82uR.js} +1 -1
  131. package/dist/{model-selection-CtPzqKKJ.js → model-selection-DPoLkg_t.js} +1 -1
  132. package/dist/{models-Ca4_dCTC.js → models-B8eCDKpA.js} +26 -26
  133. package/dist/{node-cli-gop9c9Qq.js → node-cli-Bcrlhaq3.js} +10 -10
  134. package/dist/{node-cli-CJ-oQ5U6.js → node-cli-CXUIMB7W.js} +8 -8
  135. package/dist/{onboard-Dyr-G4cr.js → onboard-5GREpC8E.js} +48 -13
  136. package/dist/{onboard-DbCuaHlU.js → onboard-D8Khq7CJ.js} +49 -13
  137. package/dist/{onboard-channels-h35eneL1.js → onboard-channels-CuDv5j-L.js} +3 -3
  138. package/dist/{onboard-channels-D_jRjSPh.js → onboard-channels-DUklZSXY.js} +3 -3
  139. package/dist/{onboard-helpers-DVbPW8Cs.js → onboard-helpers-CMW6MSXA.js} +5 -4
  140. package/dist/{onboard-helpers-CAxb1eBy.js → onboard-helpers-DKu_2enh.js} +5 -4
  141. package/dist/{onboarding-ifLjX4Oc.js → onboarding-B_Gs5W53.js} +34 -15
  142. package/dist/{onboarding-Djv0NsZi.js → onboarding-CGG6jZ0y.js} +35 -16
  143. package/dist/{orchestrator-DeKyZfHL.js → orchestrator-CZ5SiD5l.js} +4 -2
  144. package/dist/{orchestrator-DAY2aHzl.js → orchestrator-KqoQDkvl.js} +4 -2
  145. package/dist/{outbound-_KURrkN3.js → outbound-Cf_1Utlz.js} +1 -1
  146. package/dist/{outbound-DptF-A0k.js → outbound-CwCRq4Cg.js} +1 -1
  147. package/dist/{outbound-ChmdbJju.js → outbound-DK71dddk.js} +6 -6
  148. package/dist/{parse-timeout-ByYuFf-D.js → parse-timeout-DhqvtdXz.js} +1 -1
  149. package/dist/{parse-timeout-PImvLfCF.js → parse-timeout-qnHqZvCW.js} +1 -1
  150. package/dist/{paths-BzTTzuSa.js → paths-CmZenvlb.js} +2 -2
  151. package/dist/{paths-B-AkG5FD.js → paths-D2eokayo.js} +3 -3
  152. package/dist/{pi-auth-json-Ct4FUjxN.js → pi-auth-json-BYN-DI5a.js} +7 -7
  153. package/dist/{pi-auth-json-QVWbBbGs.js → pi-auth-json-Crkmg439.js} +3 -3
  154. package/dist/{pi-auth-json-BvGZollA.js → pi-auth-json-PEKcHBMl.js} +3 -3
  155. package/dist/{pi-embedded-helpers-BS_VM3j4.js → pi-embedded-helpers-CvYnWzAn.js} +44 -44
  156. package/dist/{pi-tools.policy-BntNhXqZ.js → pi-tools.policy-BoWzLBtH.js} +3 -3
  157. package/dist/{pi-tools.policy-pvzE9Rfa.js → pi-tools.policy-ClzqRWic.js} +3 -3
  158. package/dist/{plugin-auto-enable-j_zHeVf1.js → plugin-auto-enable-BlyqT33k.js} +1 -1
  159. package/dist/{plugin-auto-enable-BvCuJgmb.js → plugin-auto-enable-Df0BKZyz.js} +1 -1
  160. package/dist/{plugin-registry-BgzrHeH3.js → plugin-registry-CIluPn2C.js} +3 -3
  161. package/dist/{plugin-registry-DurMOI5P.js → plugin-registry-k-cSnXEV.js} +3 -3
  162. package/dist/plugin-sdk/agents/workspace.d.ts +1 -0
  163. package/dist/plugin-sdk/index.js +6 -6
  164. package/dist/{plugins-cli-DJKbvRtd.js → plugins-cli-CXap4R64.js} +22 -22
  165. package/dist/{plugins-cli-BFJqs061.js → plugins-cli-CgSDRx-C.js} +23 -23
  166. package/dist/{program-8-GzSO81.js → program-Dk1iylK1.js} +27 -27
  167. package/dist/{program-context-CC-g5UxM.js → program-context-r2WimvLs.js} +29 -29
  168. package/dist/{prompts-BWkFLWEk.js → prompts-BT5ztuUd.js} +144 -6
  169. package/dist/{prompts-CAgrJeru.js → prompts-vr_Njtil.js} +1 -1
  170. package/dist/{pw-ai-DVQKx_ca.js → pw-ai-q5Enhcu7.js} +4 -4
  171. package/dist/{pw-ai-Rz1I4vvf.js → pw-ai-ycVS073z.js} +1 -1
  172. package/dist/{qmd-manager-TUpRgiFa.js → qmd-manager-BD0uCIzM.js} +1 -1
  173. package/dist/{qmd-manager-NwDwG7DY.js → qmd-manager-CaNCfJK6.js} +1 -1
  174. package/dist/{qmd-manager-B5wbKcWC.js → qmd-manager-D_lZFetA.js} +7 -7
  175. package/dist/{queue-9vTUxVNg.js → queue-CRtO6LOL.js} +3 -1
  176. package/dist/{queue-R94Bcxk5.js → queue-DMVbLSSW.js} +3 -1
  177. package/dist/{register.agent-BcxdwhFz.js → register.agent-BCbrZgZT.js} +30 -30
  178. package/dist/{register.agent-BWl6JYHL.js → register.agent-sq78vQTz.js} +30 -30
  179. package/dist/{register.anima-D9CE9aVh.js → register.anima-B0tWw_hC.js} +13 -13
  180. package/dist/{register.anima-D8cnU8Zq.js → register.anima-CObVi7FQ.js} +13 -13
  181. package/dist/{register.configure-BQ7viIFW.js → register.configure-CM8ScF9N.js} +31 -31
  182. package/dist/{register.configure-CWWSJ12h.js → register.configure-w6Ptx3C9.js} +32 -32
  183. package/dist/{register.maintenance-BUkkCBQa.js → register.maintenance-B15nWIhc.js} +33 -33
  184. package/dist/{register.maintenance-BS36METc.js → register.maintenance-Chm2rk_s.js} +34 -34
  185. package/dist/{register.onboard-CxktbTOi.js → register.onboard-B7Ozkx53.js} +41 -37
  186. package/dist/{register.onboard-ks3BprXH.js → register.onboard-k9Rd9qzS.js} +39 -35
  187. package/dist/register.setup-BId1QGzk.js +270 -0
  188. package/dist/register.setup-CN1yxMOl.js +267 -0
  189. package/dist/{register.status-health-sessions-Bmgu0PWs.js → register.status-health-sessions-CNUs9w8v.js} +27 -27
  190. package/dist/{register.status-health-sessions-Cfhab3ds.js → register.status-health-sessions-CP9VvjA9.js} +27 -27
  191. package/dist/{register.subclis-Cp2R1dTl.js → register.subclis-N7uAMRX_.js} +20 -20
  192. package/dist/{reply-F1NR0Mmi.js → reply-BJ3jrefM.js} +29 -29
  193. package/dist/{reply-BWWaNSoB.js → reply-LaOwllAB.js} +28 -28
  194. package/dist/{reply-prefix-Cd1ryhL4.js → reply-prefix-DBJU0o4f.js} +2 -2
  195. package/dist/{reply-prefix-ByFTwsu6.js → reply-prefix-Dl_Gro6x.js} +2 -2
  196. package/dist/{routes-DdssPiMt.js → routes-Bifu4ATk.js} +2 -2
  197. package/dist/{routes-TJ5bwx27.js → routes-CNqS9gOj.js} +3 -3
  198. package/dist/{run-main-Br6uQWzH.js → run-main-DA4rt9qc.js} +40 -40
  199. package/dist/{sandbox-BIZzFPco.js → sandbox-CR2AIW2N.js} +3 -3
  200. package/dist/{sandbox-cli-DjALBAAV.js → sandbox-cli-BsMjNBFN.js} +8 -8
  201. package/dist/{sandbox-cli-DMBBlMK-.js → sandbox-cli-c_HPZNmf.js} +7 -7
  202. package/dist/{sandbox-hOY3muxh.js → sandbox-wL61f1WP.js} +3 -3
  203. package/dist/{security-cli-CsDWYPNG.js → security-cli-DTAzTIiZ.js} +10 -10
  204. package/dist/{security-cli-GXZAU0Ax.js → security-cli-pupt3tx1.js} +12 -12
  205. package/dist/{semantic-BTp-RtM8.js → semantic-BcioSN1d.js} +1 -1
  206. package/dist/{server-context-BW5BY88Y.js → server-context-C2TNamEJ.js} +1 -1
  207. package/dist/{server-context-C0YSbjOv.js → server-context-CcPmRFx_.js} +5 -5
  208. package/dist/{server-node-events-DM3CCYrf.js → server-node-events-DNDwVJH_.js} +14 -14
  209. package/dist/{server-node-events-Byy-Is6v.js → server-node-events-DsfvuRBK.js} +13 -13
  210. package/dist/{service-audit-u3qzhhqv.js → service-audit-BG0tcSCo.js} +1 -1
  211. package/dist/{service-audit-CGmQWccK.js → service-audit-DLV93I95.js} +1 -1
  212. package/dist/{session-BQzzYRDO.js → session-D53RZP3i.js} +7 -7
  213. package/dist/{session-CzBccNiw.js → session-DTRcP2Sj.js} +1 -1
  214. package/dist/{session-ititeJ0j.js → session-ygzMc3r1.js} +4 -4
  215. package/dist/{sessions-DiW7DuJO.js → sessions-0J_pFd44.js} +1 -1
  216. package/dist/{sessions-wzfE85C2.js → sessions-C7jYs5Sc.js} +1 -1
  217. package/dist/{sessions-Bxpm8P5t.js → sessions-CbUTEpMF.js} +4 -4
  218. package/dist/{shared-DynkOTFs.js → shared-B9kttsme.js} +1 -1
  219. package/dist/{shell-env-5vFwNQcz.js → shell-env-BBHdjHEl.js} +1 -1
  220. package/dist/{skills-cli-Dttyzhqz.js → skills-cli-CrB84lEO.js} +3 -3
  221. package/dist/{skills-cli-DA18YLo4.js → skills-cli-DC6nGiOg.js} +3 -3
  222. package/dist/{soul-D4rF0iXu.js → soul-CXGTzaKZ.js} +1 -1
  223. package/dist/{sqlite-Dx5ydniE.js → sqlite-B-dYyac7.js} +4 -4
  224. package/dist/{start-BNGlbbt9.js → start-BLi_X68Y.js} +36 -13
  225. package/dist/{start-DSZJq_zz.js → start-BQfR8aBZ.js} +36 -13
  226. package/dist/{status-DVYPFs7b.js → status-CzCmUbgr.js} +13 -13
  227. package/dist/{status-BCbWWHdA.js → status-D5zPydam.js} +3 -3
  228. package/dist/{status-BToHtmWf.js → status-DNUP2mgR.js} +12 -12
  229. package/dist/{status-QWb0sx59.js → status-DYGeQK4c.js} +3 -3
  230. package/dist/{status.update-CwIUq3Bq.js → status.update-_DOVm6Tr.js} +1 -1
  231. package/dist/{status.update-CJR_Zlvb.js → status.update-s92nCoGl.js} +1 -1
  232. package/dist/{subagent-registry-BOsyxABV.js → subagent-registry-D4idxv3D.js} +5 -5
  233. package/dist/{subagent-registry-DEjp4eYh.js → subagent-registry-DQzBrh1E.js} +5 -5
  234. package/dist/{subagent-registry-DXy6WsnY.js → subagent-registry-DjB3VS5s.js} +27 -27
  235. package/dist/{subsystem-BlEuMJjX.js → subsystem-CJTCKTwb.js} +13 -13
  236. package/dist/{system-cli-CtYpaf1K.js → system-cli-BNhplLHn.js} +6 -6
  237. package/dist/{system-cli-BYJicBL3.js → system-cli-CTN9NSfv.js} +5 -5
  238. package/dist/{tool-images-2qKyjXUj.js → tool-images-DBOSl4NL.js} +2 -2
  239. package/dist/{tui-Bx6Ty5e9.js → tui--uEeSnES.js} +4 -4
  240. package/dist/{tui-cli-BcqM-1Iu.js → tui-cli-ByERfWnP.js} +12 -12
  241. package/dist/{tui-cli-DM2-e45Y.js → tui-cli-De0zVM4-.js} +10 -10
  242. package/dist/{tui-BbS56NwI.js → tui-dHcni7fC.js} +5 -5
  243. package/dist/{update-cli-CzrELkox.js → update-cli-CGVsahIi.js} +41 -41
  244. package/dist/{update-cli-DHCu3Tw_.js → update-cli-D7SyNIoQ.js} +40 -40
  245. package/dist/{update-runner-CBoHuDWR.js → update-runner-DeNUEGyr.js} +1 -1
  246. package/dist/{update-runner-OvETClW6.js → update-runner-O0kK_BAP.js} +1 -1
  247. package/dist/{usage-ClLnsNuk.js → usage-DSZ_juox.js} +68 -20
  248. package/dist/{web-B-hsbig8.js → web-DNoikQbD.js} +25 -25
  249. package/dist/{web-DNwUI_-o.js → web-DY2TrPoD.js} +86 -86
  250. package/dist/{web-Ci2DZCF7.js → web-DyUoZrMO.js} +27 -27
  251. package/dist/{webhooks-cli-CK3Ooqxg.js → webhooks-cli-BqeMvo07.js} +3 -3
  252. package/dist/{webhooks-cli-BGo97Z-y.js → webhooks-cli-Cq3eb3vw.js} +3 -3
  253. package/dist/{whatsapp-actions-DBSx3VSP.js → whatsapp-actions-B_fglZZt.js} +13 -13
  254. package/dist/{whatsapp-actions-C-cAzSXs.js → whatsapp-actions-BkSSHLwM.js} +4 -4
  255. package/dist/{whatsapp-actions-CFQjbIXn.js → whatsapp-actions-j-5lmC5M.js} +4 -4
  256. package/dist/{workspace-BSBhp-B5.js → workspace-xzxJwPTB.js} +8 -6
  257. package/package.json +2 -1
  258. package/templates/SOUL.md +16 -0
  259. package/dist/json-file-CZ3ssFR9.js +0 -25
  260. package/dist/register.setup-CP--HKWT.js +0 -180
  261. package/dist/register.setup-TUHZSkwM.js +0 -177
  262. /package/dist/{budget-1SoJncof.js → budget-OJQ-m-_V.js} +0 -0
  263. /package/dist/{budget-DYeweLNW.js → budget-XH9_9WRg.js} +0 -0
  264. /package/dist/{registry-Dw31-Q3z.js → registry-6ARhh9Nh.js} +0 -0
  265. /package/dist/{registry-Bkdrbxa5.js → registry-E-bcMZe2.js} +0 -0
@@ -1,19 +1,20 @@
1
1
  import { g as restoreTerminalState, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
2
- import { a as resolveApiKeyForProfile, l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as normalizeOptionalSecretInput } from "./auth-profiles-DNpEm389.js";
2
+ import { a as resolveApiKeyForProfile, l as ensureAuthProfileStore, n as resolveAuthProfileOrder, p as normalizeOptionalSecretInput } from "./auth-profiles-BYETsqKc.js";
3
3
  import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
4
4
  import { y as resolveUserPath } from "./utils-DwcweD55.js";
5
- import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CaE6v09P.js";
6
- import { o as resolveEnvApiKey } from "./model-auth-CQNrcIIT.js";
7
- import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C-xevhQ5.js";
5
+ import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
6
+ import { o as resolveEnvApiKey } from "./model-auth-B3BPcnwt.js";
7
+ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Cbi2Ox6g.js";
8
8
  import { t as assertSupportedRuntime } from "./runtime-guard-BdBLhuIK.js";
9
- import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-CAxb1eBy.js";
9
+ import { a as ensureWorkspaceAndSessions, c as handleReset, h as resolveControlUiLinks, m as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, y as waitForGatewayReachable } from "./onboard-helpers-DKu_2enh.js";
10
10
  import { r as isSystemdUserServiceAvailable } from "./systemd-BEeuI9u0.js";
11
11
  import { t as resolveGatewayService } from "./service-U3nMjKlR.js";
12
- import { r as healthCommand } from "./health-1JahEOfG.js";
13
- import { n as applyAuthProfileConfig, r as setAnthropicApiKey, t as WizardCancelledError } from "./prompts-CAgrJeru.js";
14
- import { t as runOnboardingWizard } from "./onboarding-Djv0NsZi.js";
12
+ import { r as healthCommand } from "./health-27WiwNrh.js";
13
+ import { a as ensureAuthenticated } from "./auth-choice-CPDNhDPT.js";
14
+ import { n as applyAuthProfileConfig, r as setAnthropicApiKey, t as WizardCancelledError } from "./prompts-vr_Njtil.js";
15
+ import { t as runOnboardingWizard } from "./onboarding-CGG6jZ0y.js";
15
16
  import { n as logConfigUpdated } from "./logging-B05aEFEO.js";
16
- import { t as createClackPrompter } from "./clack-prompter-DzyUpdYc.js";
17
+ import { t as createClackPrompter } from "./clack-prompter-1d_RjjVW.js";
17
18
  import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-BXOkxYnH.js";
18
19
 
19
20
  //#region src/commands/onboard-interactive.ts
@@ -320,7 +321,7 @@ function resolveNonInteractiveWorkspaceDir(params) {
320
321
  //#endregion
321
322
  //#region src/commands/onboard-non-interactive/local.ts
322
323
  async function runNonInteractiveOnboardingLocal(params) {
323
- const { opts, runtime, baseConfig } = params;
324
+ const { opts, runtime, baseConfig, configExists } = params;
324
325
  const mode = "local";
325
326
  const workspaceDir = resolveNonInteractiveWorkspaceDir({
326
327
  opts,
@@ -351,7 +352,25 @@ async function runNonInteractiveOnboardingLocal(params) {
351
352
  runtime.exit(1);
352
353
  return;
353
354
  }
354
- const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
355
+ const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "noxsoft";
356
+ if (authChoice === "skip") {
357
+ runtime.error("NoxSoft authentication is required for onboarding. Use --auth-choice noxsoft or --auth-choice apiKey.");
358
+ runtime.exit(1);
359
+ return;
360
+ }
361
+ try {
362
+ const auth = await ensureAuthenticated({
363
+ name: opts.noxsoftAgentName,
364
+ displayName: opts.noxsoftDisplayName,
365
+ description: "ANIMA non-interactive onboarding"
366
+ });
367
+ if (!opts.json) runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
368
+ } catch (error) {
369
+ const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
370
+ runtime.error(`NoxSoft authentication is required.\n${message}`);
371
+ runtime.exit(1);
372
+ return;
373
+ }
355
374
  const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
356
375
  nextConfig,
357
376
  authChoice,
@@ -381,7 +400,10 @@ async function runNonInteractiveOnboardingLocal(params) {
381
400
  });
382
401
  await writeConfigFile(nextConfig);
383
402
  logConfigUpdated(runtime);
384
- await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
403
+ await ensureWorkspaceAndSessions(workspaceDir, runtime, {
404
+ skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
405
+ seedBootstrapOnFirstRun: !configExists
406
+ });
385
407
  await installGatewayDaemonNonInteractive({
386
408
  nextConfig,
387
409
  opts,
@@ -437,6 +459,19 @@ async function runNonInteractiveOnboardingRemote(params) {
437
459
  runtime.exit(1);
438
460
  return;
439
461
  }
462
+ try {
463
+ const auth = await ensureAuthenticated({
464
+ name: opts.noxsoftAgentName,
465
+ displayName: opts.noxsoftDisplayName,
466
+ description: "ANIMA non-interactive remote onboarding"
467
+ });
468
+ if (!opts.json) runtime.log(`NoxSoft ${auth.registered ? "registered" : "authenticated"}: ${auth.agent.display_name} (@${auth.agent.name})`);
469
+ } catch (error) {
470
+ const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
471
+ runtime.error(`NoxSoft authentication is required.\n${message}`);
472
+ runtime.exit(1);
473
+ return;
474
+ }
440
475
  let nextConfig = {
441
476
  ...baseConfig,
442
477
  gateway: {
@@ -494,7 +529,8 @@ async function runNonInteractiveOnboarding(opts, runtime = defaultRuntime) {
494
529
  await runNonInteractiveOnboardingLocal({
495
530
  opts,
496
531
  runtime,
497
- baseConfig
532
+ baseConfig,
533
+ configExists: snapshot.exists
498
534
  });
499
535
  }
500
536
 
@@ -1,13 +1,13 @@
1
1
  import { t as createSubsystemLogger, v as formatChannelPrimerLine, x as listChatChannels, y as formatChannelSelectionLine } from "./subsystem-BaJ-PqmA.js";
2
- import { K as loadAnimaPlugins } from "./reply-F1NR0Mmi.js";
2
+ import { K as loadAnimaPlugins } from "./reply-BJ3jrefM.js";
3
3
  import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DxcgHezu.js";
4
- import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-kT_pK2eJ.js";
4
+ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
5
5
  import { t as formatCliCommand } from "./command-format-B1WxXbeU.js";
6
6
  import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-CFb1gJ4N.js";
7
7
  import { t as formatDocsLink } from "./links-NgE0SEVZ.js";
8
8
  import { r as listChannelPluginCatalogEntries } from "./catalog-VwQGLU6M.js";
9
9
  import { t as resolveChannelDefaultAccountId } from "./helpers-13ojLRv8.js";
10
- import { n as isChannelConfigured } from "./plugin-auto-enable-j_zHeVf1.js";
10
+ import { n as isChannelConfigured } from "./plugin-auto-enable-BlyqT33k.js";
11
11
  import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-BSwkFdS_.js";
12
12
  import fs from "node:fs";
13
13
  import path from "node:path";
@@ -1,13 +1,13 @@
1
1
  import { at as listChatChannels, nt as formatChannelPrimerLine, o as createSubsystemLogger, rt as formatChannelSelectionLine } from "./entry.js";
2
2
  import { t as formatCliCommand } from "./command-format-B9HGdNTg.js";
3
3
  import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-DP2WHl90.js";
4
- import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-CuAaArMB.js";
4
+ import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
5
5
  import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Tpy9T9c2.js";
6
- import { J as loadAnimaPlugins } from "./reply-BWWaNSoB.js";
6
+ import { J as loadAnimaPlugins } from "./reply-LaOwllAB.js";
7
7
  import { t as formatDocsLink } from "./links-CyFLSgkY.js";
8
8
  import { t as resolveChannelDefaultAccountId } from "./helpers-DziQXnUf.js";
9
9
  import { r as listChannelPluginCatalogEntries } from "./catalog-BWBjaCdR.js";
10
- import { n as isChannelConfigured } from "./plugin-auto-enable-BvCuJgmb.js";
10
+ import { n as isChannelConfigured } from "./plugin-auto-enable-Df0BKZyz.js";
11
11
  import { n as installPluginFromNpmSpec, t as recordPluginInstall } from "./installs-Dl4WWErM.js";
12
12
  import path from "node:path";
13
13
  import fs from "node:fs";
@@ -1,13 +1,13 @@
1
1
  import { t as CONFIG_PATH } from "./paths-zhVksOvm.js";
2
2
  import { C as shortenHomePath, S as shortenHomeInString, b as resolveUserPath, t as CONFIG_DIR, w as sleep } from "./utils-RdHkpqQp.js";
3
3
  import { t as runCommandWithTimeout } from "./exec-Bsq6vlwp.js";
4
- import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-kT_pK2eJ.js";
5
- import { E as isSafeExecutableValue, M as VERSION } from "./config-Bda-8Rdh.js";
4
+ import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-vpVhWds3.js";
5
+ import { E as isSafeExecutableValue, M as VERSION } from "./config-9JRRXykP.js";
6
6
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-BuAkHZAk.js";
7
7
  import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./ws-ebl3urqL.js";
8
8
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-BbkwF58_.js";
9
9
  import { s as resolveSessionTranscriptsDirForAgent } from "./paths-CqMZNi-M.js";
10
- import { n as callGateway } from "./call-CItRp_pr.js";
10
+ import { n as callGateway } from "./call-C0Yk2qNb.js";
11
11
  import { t as isWSL } from "./wsl-cUQTlijg.js";
12
12
  import { r as stylePromptTitle } from "./prompt-style-CXrnxWQG.js";
13
13
  import path from "node:path";
@@ -219,7 +219,8 @@ async function openUrl(url) {
219
219
  async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
220
220
  const ws = await ensureAgentWorkspace({
221
221
  dir: workspaceDir,
222
- ensureBootstrapFiles: !options?.skipBootstrap
222
+ ensureBootstrapFiles: !options?.skipBootstrap,
223
+ seedBootstrapOnFirstRun: options?.seedBootstrapOnFirstRun
223
224
  });
224
225
  runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
225
226
  const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
@@ -1,10 +1,10 @@
1
1
  import { R as CONFIG_PATH } from "./entry.js";
2
2
  import { C as sleep, S as shortenHomePath, t as CONFIG_DIR, x as shortenHomeInString, y as resolveUserPath } from "./utils-DwcweD55.js";
3
3
  import { t as runCommandWithTimeout } from "./exec-DRQWu5Xi.js";
4
- import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-CuAaArMB.js";
5
- import { E as isSafeExecutableValue, M as VERSION } from "./config-CaE6v09P.js";
4
+ import { f as DEFAULT_AGENT_WORKSPACE_DIR, x as ensureAgentWorkspace } from "./agent-scope-M302b8FW.js";
5
+ import { E as isSafeExecutableValue, M as VERSION } from "./config-6zE4ZkSF.js";
6
6
  import { t as pickPrimaryTailnetIPv4 } from "./tailnet-DXtEiJfL.js";
7
- import { n as callGateway } from "./call-DxImJH07.js";
7
+ import { n as callGateway } from "./call-LugHQWOF.js";
8
8
  import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6Ln4eFyX.js";
9
9
  import { a as isValidIPv4, s as pickPrimaryLanIPv4 } from "./net-CWIDeudR.js";
10
10
  import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DqBoV7GZ.js";
@@ -219,7 +219,8 @@ async function openUrl(url) {
219
219
  async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
220
220
  const ws = await ensureAgentWorkspace({
221
221
  dir: workspaceDir,
222
- ensureBootstrapFiles: !options?.skipBootstrap
222
+ ensureBootstrapFiles: !options?.skipBootstrap,
223
+ seedBootstrapOnFirstRun: options?.seedBootstrapOnFirstRun
223
224
  });
224
225
  runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
225
226
  const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
@@ -1,24 +1,24 @@
1
1
  import { u as resolveGatewayPort } from "./paths-zhVksOvm.js";
2
2
  import { d as restoreTerminalState, u as defaultRuntime } from "./subsystem-BaJ-PqmA.js";
3
3
  import { b as resolveUserPath, g as pathExists } from "./utils-RdHkpqQp.js";
4
- import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-kT_pK2eJ.js";
5
- import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-Bda-8Rdh.js";
4
+ import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-vpVhWds3.js";
5
+ import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-9JRRXykP.js";
6
6
  import { r as resolveCliName, t as formatCliCommand } from "./command-format-B1WxXbeU.js";
7
- import { l as ensureAuthProfileStore } from "./auth-profiles-CzyebTC0.js";
7
+ import { l as ensureAuthProfileStore } from "./auth-profiles-DZS4PC_i.js";
8
8
  import { p as findTailscaleBinary } from "./auth-B8ry4GB_.js";
9
- import { r as installCompletion } from "./completion-cli-BHlamZC3.js";
10
- import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DP9zI3um.js";
11
- import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-DVbPW8Cs.js";
9
+ import { r as installCompletion } from "./completion-cli-BB3_g8w5.js";
10
+ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-DOk9qM0y.js";
11
+ import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-CMW6MSXA.js";
12
12
  import { r as isSystemdUserServiceAvailable } from "./systemd-IDjybnbO.js";
13
13
  import { t as resolveGatewayService } from "./service-H_0E0nOX.js";
14
- import { r as healthCommand } from "./health-BLxSP-s_.js";
14
+ import { r as healthCommand } from "./health-Cb_2WS_Z.js";
15
15
  import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-BMwPAU53.js";
16
- import { i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice, r as warnIfModelConfigLooksOff, s as promptAuthChoiceGrouped, t as WizardCancelledError } from "./prompts-BWkFLWEk.js";
17
- import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-BXko1df7.js";
16
+ import { c as ensureAuthenticated, i as applyAuthChoice, n as resolvePreferredProviderForAuthChoice, r as warnIfModelConfigLooksOff, s as promptAuthChoiceGrouped, t as WizardCancelledError } from "./prompts-BT5ztuUd.js";
17
+ import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-sll41DXC.js";
18
18
  import { t as buildWorkspaceHookStatus } from "./hooks-status-BTVvcXJx.js";
19
19
  import { n as logConfigUpdated } from "./logging-ClHj0gnP.js";
20
- import { t as runTui } from "./tui-BbS56NwI.js";
21
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-Dnj6NNct.js";
20
+ import { t as runTui } from "./tui-dHcni7fC.js";
21
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-VtjYTwcS.js";
22
22
  import os from "node:os";
23
23
  import path from "node:path";
24
24
  import fs from "node:fs/promises";
@@ -282,6 +282,7 @@ async function finalizeOnboardingWizard(options) {
282
282
  const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
283
283
  const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
284
284
  const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
285
+ const shouldHatch = options.allowHatching !== false && hasBootstrap;
285
286
  await prompter.note([
286
287
  `Web UI: ${links.httpUrl}`,
287
288
  settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
@@ -294,7 +295,7 @@ async function finalizeOnboardingWizard(options) {
294
295
  let hatchChoice = null;
295
296
  let launchedTui = false;
296
297
  if (!opts.skipUi && gatewayProbe.ok) {
297
- if (hasBootstrap) await prompter.note([
298
+ if (shouldHatch) await prompter.note([
298
299
  "This is where your agent's persistent identity begins.",
299
300
  "Take your time with the bootstrap — the more context you provide,",
300
301
  "the more coherent your agent will be.",
@@ -334,7 +335,7 @@ async function finalizeOnboardingWizard(options) {
334
335
  token: settings.authMode === "token" ? settings.gatewayToken : void 0,
335
336
  password: settings.authMode === "password" ? nextConfig.gateway?.auth?.password : "",
336
337
  deliver: false,
337
- message: hasBootstrap ? "Wake up, my friend!" : void 0
338
+ message: shouldHatch ? "Wake up, my friend!" : void 0
338
339
  });
339
340
  launchedTui = true;
340
341
  } else if (hatchChoice === "web") {
@@ -619,6 +620,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
619
620
  });
620
621
  const snapshot = await readConfigFileSnapshot();
621
622
  const baseConfig = snapshot.valid ? snapshot.config : {};
623
+ const isFreshInstance = !snapshot.exists;
622
624
  if (snapshot.exists && !snapshot.valid) {
623
625
  await prompter.note(summarizeExistingConfig(baseConfig), "Invalid configuration detected");
624
626
  if (snapshot.issues.length > 0) await prompter.note(snapshot.issues.map((iss) => `- ${iss.path}: ${iss.message}`).join("\n"), "Config issues");
@@ -643,12 +645,25 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
643
645
  mode: "local"
644
646
  }
645
647
  };
648
+ try {
649
+ const auth = await ensureAuthenticated({
650
+ name: opts.noxsoftAgentName,
651
+ displayName: opts.noxsoftDisplayName,
652
+ description: "ANIMA onboarding wizard"
653
+ });
654
+ await prompter.note(`${auth.registered ? "Registered" : "Authenticated"} as ${auth.agent.display_name} (@${auth.agent.name}).`, "NoxSoft authentication");
655
+ } catch (error) {
656
+ const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
657
+ await prompter.note(message, "NoxSoft authentication failed");
658
+ runtime.exit(1);
659
+ return;
660
+ }
646
661
  const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
647
662
  const authChoiceFromPrompt = opts.authChoice === void 0;
648
663
  const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
649
664
  prompter,
650
665
  store: authStore,
651
- includeSkip: true
666
+ includeSkip: false
652
667
  });
653
668
  nextConfig = (await applyAuthChoice({
654
669
  authChoice,
@@ -706,7 +721,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
706
721
  const settings = gateway.settings;
707
722
  await writeConfigFile(nextConfig);
708
723
  logConfigUpdated(runtime);
709
- await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
724
+ await ensureWorkspaceAndSessions(workspaceDir, runtime, {
725
+ skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
726
+ seedBootstrapOnFirstRun: isFreshInstance
727
+ });
710
728
  nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
711
729
  nextConfig = applyWizardMetadata(nextConfig, {
712
730
  command: "onboard",
@@ -720,6 +738,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
720
738
  nextConfig,
721
739
  workspaceDir,
722
740
  settings,
741
+ allowHatching: isFreshInstance,
723
742
  prompter,
724
743
  runtime
725
744
  });
@@ -1,24 +1,24 @@
1
1
  import { g as restoreTerminalState, h as defaultRuntime, q as resolveGatewayPort } from "./entry.js";
2
- import { l as ensureAuthProfileStore } from "./auth-profiles-DNpEm389.js";
2
+ import { l as ensureAuthProfileStore } from "./auth-profiles-BYETsqKc.js";
3
3
  import { r as resolveCliName, t as formatCliCommand } from "./command-format-B9HGdNTg.js";
4
4
  import { h as pathExists, y as resolveUserPath } from "./utils-DwcweD55.js";
5
- import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-CuAaArMB.js";
6
- import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-CaE6v09P.js";
5
+ import { c as resolveDefaultAgentId, p as DEFAULT_BOOTSTRAP_FILENAME, s as resolveAgentWorkspaceDir } from "./agent-scope-M302b8FW.js";
6
+ import { l as writeConfigFile, o as readConfigFileSnapshot } from "./config-6zE4ZkSF.js";
7
7
  import { p as findTailscaleBinary } from "./auth-CBxE4UNz.js";
8
- import { r as installCompletion } from "./completion-cli-CC0KmaZL.js";
9
- import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-C-xevhQ5.js";
10
- import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-CAxb1eBy.js";
8
+ import { r as installCompletion } from "./completion-cli-DcTEhrAe.js";
9
+ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Cbi2Ox6g.js";
10
+ import { _ as summarizeExistingConfig, a as ensureWorkspaceAndSessions, d as openUrl, f as printWizardHeader, h as resolveControlUiLinks, i as detectBrowserOpenSupport, m as randomToken, n as applyWizardMetadata, o as formatControlUiSshHint, p as probeGatewayReachable, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput, v as validateGatewayPasswordInput, y as waitForGatewayReachable } from "./onboard-helpers-DKu_2enh.js";
11
11
  import { r as isSystemdUserServiceAvailable } from "./systemd-BEeuI9u0.js";
12
12
  import { t as resolveGatewayService } from "./service-U3nMjKlR.js";
13
- import { r as healthCommand } from "./health-1JahEOfG.js";
13
+ import { r as healthCommand } from "./health-27WiwNrh.js";
14
14
  import { n as ensureControlUiAssetsBuilt, t as formatHealthCheckFailure } from "./health-format-Dug5Rbjg.js";
15
- import { i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-RnqXSEZo.js";
16
- import { t as WizardCancelledError } from "./prompts-CAgrJeru.js";
17
- import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-BmsAjDnB.js";
15
+ import { a as ensureAuthenticated, i as promptAuthChoiceGrouped, n as warnIfModelConfigLooksOff, r as applyAuthChoice, t as resolvePreferredProviderForAuthChoice } from "./auth-choice-CPDNhDPT.js";
16
+ import { t as WizardCancelledError } from "./prompts-vr_Njtil.js";
17
+ import { a as promptDefaultModel, i as applyPrimaryModel, t as validateIPv4AddressInput } from "./ipv4-yUiIU5CD.js";
18
18
  import { t as buildWorkspaceHookStatus } from "./hooks-status-B53TbyZm.js";
19
19
  import { n as logConfigUpdated } from "./logging-B05aEFEO.js";
20
- import { t as runTui } from "./tui-Bx6Ty5e9.js";
21
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DpxcKMA5.js";
20
+ import { t as runTui } from "./tui--uEeSnES.js";
21
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-CZgNNZVd.js";
22
22
  import os from "node:os";
23
23
  import path from "node:path";
24
24
  import fs from "node:fs/promises";
@@ -282,6 +282,7 @@ async function finalizeOnboardingWizard(options) {
282
282
  const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
283
283
  const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
284
284
  const hasBootstrap = await fs.access(bootstrapPath).then(() => true).catch(() => false);
285
+ const shouldHatch = options.allowHatching !== false && hasBootstrap;
285
286
  await prompter.note([
286
287
  `Web UI: ${links.httpUrl}`,
287
288
  settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
@@ -294,7 +295,7 @@ async function finalizeOnboardingWizard(options) {
294
295
  let hatchChoice = null;
295
296
  let launchedTui = false;
296
297
  if (!opts.skipUi && gatewayProbe.ok) {
297
- if (hasBootstrap) await prompter.note([
298
+ if (shouldHatch) await prompter.note([
298
299
  "This is where your agent's persistent identity begins.",
299
300
  "Take your time with the bootstrap — the more context you provide,",
300
301
  "the more coherent your agent will be.",
@@ -334,7 +335,7 @@ async function finalizeOnboardingWizard(options) {
334
335
  token: settings.authMode === "token" ? settings.gatewayToken : void 0,
335
336
  password: settings.authMode === "password" ? nextConfig.gateway?.auth?.password : "",
336
337
  deliver: false,
337
- message: hasBootstrap ? "Wake up, my friend!" : void 0
338
+ message: shouldHatch ? "Wake up, my friend!" : void 0
338
339
  });
339
340
  launchedTui = true;
340
341
  } else if (hatchChoice === "web") {
@@ -619,6 +620,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
619
620
  });
620
621
  const snapshot = await readConfigFileSnapshot();
621
622
  const baseConfig = snapshot.valid ? snapshot.config : {};
623
+ const isFreshInstance = !snapshot.exists;
622
624
  if (snapshot.exists && !snapshot.valid) {
623
625
  await prompter.note(summarizeExistingConfig(baseConfig), "Invalid configuration detected");
624
626
  if (snapshot.issues.length > 0) await prompter.note(snapshot.issues.map((iss) => `- ${iss.path}: ${iss.message}`).join("\n"), "Config issues");
@@ -643,12 +645,25 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
643
645
  mode: "local"
644
646
  }
645
647
  };
648
+ try {
649
+ const auth = await ensureAuthenticated({
650
+ name: opts.noxsoftAgentName,
651
+ displayName: opts.noxsoftDisplayName,
652
+ description: "ANIMA onboarding wizard"
653
+ });
654
+ await prompter.note(`${auth.registered ? "Registered" : "Authenticated"} as ${auth.agent.display_name} (@${auth.agent.name}).`, "NoxSoft authentication");
655
+ } catch (error) {
656
+ const message = error instanceof Error && error.message ? error.message : "Unknown NoxSoft authentication error.";
657
+ await prompter.note(message, "NoxSoft authentication failed");
658
+ runtime.exit(1);
659
+ return;
660
+ }
646
661
  const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
647
662
  const authChoiceFromPrompt = opts.authChoice === void 0;
648
663
  const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
649
664
  prompter,
650
665
  store: authStore,
651
- includeSkip: true
666
+ includeSkip: false
652
667
  });
653
668
  nextConfig = (await applyAuthChoice({
654
669
  authChoice,
@@ -706,7 +721,10 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
706
721
  const settings = gateway.settings;
707
722
  await writeConfigFile(nextConfig);
708
723
  logConfigUpdated(runtime);
709
- await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
724
+ await ensureWorkspaceAndSessions(workspaceDir, runtime, {
725
+ skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap),
726
+ seedBootstrapOnFirstRun: isFreshInstance
727
+ });
710
728
  nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
711
729
  nextConfig = applyWizardMetadata(nextConfig, {
712
730
  command: "onboard",
@@ -720,6 +738,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
720
738
  nextConfig,
721
739
  workspaceDir,
722
740
  settings,
741
+ allowHatching: isFreshInstance,
723
742
  prompter,
724
743
  runtime
725
744
  });
@@ -1,6 +1,7 @@
1
+ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
1
2
  import { n as loadIdentity } from "./loader-DdJZwB8s.js";
2
3
  import { n as condenseComponent } from "./templates-C0bCBAHq.js";
3
- import { t as BudgetTracker } from "./budget-1SoJncof.js";
4
+ import { t as BudgetTracker } from "./budget-OJQ-m-_V.js";
4
5
  import { homedir } from "node:os";
5
6
  import { join } from "node:path";
6
7
  import { mkdir, writeFile } from "node:fs/promises";
@@ -222,6 +223,7 @@ async function saveTranscript(baseDir, entry) {
222
223
  * Wraps the spawner with identity loading, prompt building,
223
224
  * budget tracking, and transcript storage.
224
225
  */
226
+ var orchestrator_exports = /* @__PURE__ */ __exportAll({ SessionOrchestrator: () => SessionOrchestrator });
225
227
  var SessionOrchestrator = class {
226
228
  constructor(budget, sessionsDir) {
227
229
  this.budget = budget || new BudgetTracker();
@@ -352,4 +354,4 @@ var SessionOrchestrator = class {
352
354
  };
353
355
 
354
356
  //#endregion
355
- export { SessionOrchestrator };
357
+ export { orchestrator_exports as n, SessionOrchestrator as t };
@@ -1,6 +1,7 @@
1
+ import { n as __exportAll } from "./chunk-BXK9XSlF.js";
1
2
  import { n as loadIdentity } from "./loader-82icMkcZ.js";
2
3
  import { n as condenseComponent } from "./templates-AZQd8okB.js";
3
- import { t as BudgetTracker } from "./budget-DYeweLNW.js";
4
+ import { t as BudgetTracker } from "./budget-XH9_9WRg.js";
4
5
  import { execFile } from "node:child_process";
5
6
  import { homedir } from "node:os";
6
7
  import { join } from "node:path";
@@ -222,6 +223,7 @@ async function saveTranscript(baseDir, entry) {
222
223
  * Wraps the spawner with identity loading, prompt building,
223
224
  * budget tracking, and transcript storage.
224
225
  */
226
+ var orchestrator_exports = /* @__PURE__ */ __exportAll({ SessionOrchestrator: () => SessionOrchestrator });
225
227
  var SessionOrchestrator = class {
226
228
  constructor(budget, sessionsDir) {
227
229
  this.budget = budget || new BudgetTracker();
@@ -352,4 +354,4 @@ var SessionOrchestrator = class {
352
354
  };
353
355
 
354
356
  //#endregion
355
- export { SessionOrchestrator };
357
+ export { orchestrator_exports as n, SessionOrchestrator as t };
@@ -1,7 +1,7 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
2
  import { N as getChildLogger, o as createSubsystemLogger } from "./entry.js";
3
3
  import { T as toWhatsappJid, c as escapeRegExp } from "./utils-DwcweD55.js";
4
- import { i as loadConfig } from "./config-CaE6v09P.js";
4
+ import { i as loadConfig } from "./config-6zE4ZkSF.js";
5
5
  import { f as normalizePollInput, m as resolveMarkdownTableMode, n as loadWebMedia, p as convertMarkdownTables, u as requireActiveWebListener } from "./media-B9MUhrat.js";
6
6
  import { randomUUID } from "node:crypto";
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
2
  import { V as getChildLogger, t as createSubsystemLogger } from "./subsystem-BaJ-PqmA.js";
3
3
  import { E as toWhatsappJid, l as escapeRegExp } from "./utils-RdHkpqQp.js";
4
- import { i as loadConfig } from "./config-Bda-8Rdh.js";
4
+ import { i as loadConfig } from "./config-9JRRXykP.js";
5
5
  import { a as requireActiveWebListener, c as resolveMarkdownTableMode, r as loadWebMedia, s as convertMarkdownTables, t as normalizePollInput } from "./polls-vAdf9owY.js";
6
6
  import { randomUUID } from "node:crypto";
7
7
 
@@ -1,11 +1,11 @@
1
1
  import { n as __exportAll } from "./chunk-BXK9XSlF.js";
2
- import { t as STATE_DIR } from "./paths-B-AkG5FD.js";
3
- import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-BSBhp-B5.js";
4
- import { D as getChildLogger, t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-BlEuMJjX.js";
5
- import { A as toWhatsappJid, c as logWarn, m as escapeRegExp, w as resolveUserPath } from "./exec-DJTRaYS6.js";
2
+ import { t as STATE_DIR } from "./paths-D2eokayo.js";
3
+ import { C as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./workspace-xzxJwPTB.js";
4
+ import { D as getChildLogger, t as createSubsystemLogger, v as logVerbose, x as shouldLogVerbose } from "./subsystem-CJTCKTwb.js";
5
+ import { A as toWhatsappJid, c as logWarn, m as escapeRegExp, w as resolveUserPath } from "./exec-CK8CHr7j.js";
6
6
  import { t as formatCliCommand } from "./command-format-CZk1W3UP.js";
7
- import { C as normalizeChannelId, _ as createPinnedDispatcher, a as resizeToJpeg, b as resolvePinnedHostnameWithPolicy, g as closeDispatcher, h as SsrFBlockedError, i as optimizeImageToPng, m as mediaKindFromMime, o as detectMime, p as maxBytesForKind, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-ZMEg1-kE.js";
8
- import { n as loadConfig } from "./config-BEiShGVB.js";
7
+ import { C as normalizeChannelId, _ as createPinnedDispatcher, a as resizeToJpeg, b as resolvePinnedHostnameWithPolicy, g as closeDispatcher, h as SsrFBlockedError, i as optimizeImageToPng, m as mediaKindFromMime, o as detectMime, p as maxBytesForKind, r as hasAlphaChannel, s as extensionForMime, t as convertHeicToJpeg } from "./image-ops-DJjERl7d.js";
8
+ import { n as loadConfig } from "./config-H_VHtPeY.js";
9
9
  import fs from "node:fs/promises";
10
10
  import os from "node:os";
11
11
  import path from "node:path";
@@ -1,5 +1,5 @@
1
1
  import { lt as getActivePluginRegistry } from "./entry.js";
2
- import { D as listChannelDocks } from "./sessions-wzfE85C2.js";
2
+ import { D as listChannelDocks } from "./sessions-C7jYs5Sc.js";
3
3
  import { i as listThinkingLevels } from "./pi-embedded-helpers-D_ZL9Ofu.js";
4
4
 
5
5
  //#region src/auto-reply/commands-args.ts
@@ -1,6 +1,6 @@
1
1
  import { T as getActivePluginRegistry } from "./subsystem-BaJ-PqmA.js";
2
2
  import { g as listThinkingLevels } from "./pi-embedded-helpers-6Tb87sgU.js";
3
- import { I as listChannelDocks } from "./sessions-DiW7DuJO.js";
3
+ import { I as listChannelDocks } from "./sessions-0J_pFd44.js";
4
4
 
5
5
  //#region src/auto-reply/commands-args.ts
6
6
  function normalizeArgValue(value) {
@@ -1,5 +1,5 @@
1
- import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-B-AkG5FD.js";
2
- import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-BSBhp-B5.js";
1
+ import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-D2eokayo.js";
2
+ import { _ as DEFAULT_AGENT_ID, w as normalizeAgentId } from "./workspace-xzxJwPTB.js";
3
3
  import os from "node:os";
4
4
  import path from "node:path";
5
5
 
@@ -1,6 +1,6 @@
1
1
  import os from "node:os";
2
2
  import path from "node:path";
3
- import fs from "node:fs";
3
+ import fsSync from "node:fs";
4
4
 
5
5
  //#region src/infra/home-dir.ts
6
6
  function normalize(value) {
@@ -111,7 +111,7 @@ function resolveCanonicalConfigPath(env = process.env, stateDir = resolveStateDi
111
111
  function resolveConfigPathCandidate(env = process.env, homedir = envHomedir(env)) {
112
112
  const existing = resolveDefaultConfigCandidates(env, homedir).find((candidate) => {
113
113
  try {
114
- return fs.existsSync(candidate);
114
+ return fsSync.existsSync(candidate);
115
115
  } catch {
116
116
  return false;
117
117
  }
@@ -128,7 +128,7 @@ function resolveConfigPath(env = process.env, stateDir = resolveStateDir(env, en
128
128
  const stateOverride = env.ANIMA_STATE_DIR?.trim();
129
129
  const configPath = path.join(stateDir, CONFIG_FILENAME);
130
130
  try {
131
- if (fs.existsSync(configPath)) return configPath;
131
+ if (fsSync.existsSync(configPath)) return configPath;
132
132
  } catch {}
133
133
  if (stateOverride) return configPath;
134
134
  const defaultStateDir = resolveStateDir(env, homedir);
@@ -1,10 +1,10 @@
1
- import "./paths-B-AkG5FD.js";
2
- import "./workspace-BSBhp-B5.js";
3
- import "./subsystem-BlEuMJjX.js";
4
- import "./exec-DJTRaYS6.js";
5
- import "./agent-scope-BoQtElEh.js";
6
- import { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-DxPI9Swi.js";
7
- import "./model-selection-CtPzqKKJ.js";
1
+ import "./paths-D2eokayo.js";
2
+ import "./workspace-xzxJwPTB.js";
3
+ import "./subsystem-CJTCKTwb.js";
4
+ import "./exec-CK8CHr7j.js";
5
+ import "./agent-scope-DWKQJUUZ.js";
6
+ import { a as listProfilesForProvider, o as ensureAuthProfileStore } from "./auth-profiles-BqrAPweI.js";
7
+ import "./model-selection-DPoLkg_t.js";
8
8
  import fs from "node:fs/promises";
9
9
  import path from "node:path";
10
10
 
@@ -1,8 +1,8 @@
1
- import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-DNpEm389.js";
1
+ import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-BYETsqKc.js";
2
2
  import "./utils-DwcweD55.js";
3
3
  import "./exec-DRQWu5Xi.js";
4
- import "./agent-scope-CuAaArMB.js";
5
- import "./model-selection-BjcyTJyU.js";
4
+ import "./agent-scope-M302b8FW.js";
5
+ import "./model-selection-DJcZ82uR.js";
6
6
  import "./file-lock-CxXn285m.js";
7
7
  import "./agent-paths-CrZhIsTW.js";
8
8
  import path from "node:path";
@@ -2,9 +2,9 @@ import "./paths-zhVksOvm.js";
2
2
  import "./subsystem-BaJ-PqmA.js";
3
3
  import "./utils-RdHkpqQp.js";
4
4
  import "./exec-Bsq6vlwp.js";
5
- import "./agent-scope-kT_pK2eJ.js";
6
- import "./model-selection-MwLHFnAb.js";
7
- import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-CzyebTC0.js";
5
+ import "./agent-scope-vpVhWds3.js";
6
+ import "./model-selection-C2dz3AhV.js";
7
+ import { l as ensureAuthProfileStore, s as listProfilesForProvider } from "./auth-profiles-DZS4PC_i.js";
8
8
  import "./file-lock-BRW4LeL0.js";
9
9
  import path from "node:path";
10
10
  import fs from "node:fs/promises";