autohand-cli 0.9.1 → 0.9.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 (432) hide show
  1. package/README.md +103 -79
  2. package/dist/AgentRegistry-BBQRODQC.cjs +18 -0
  3. package/dist/AgentRegistry-JBXZUPML.js +18 -0
  4. package/dist/{CommunitySkillsCache-ZACDPD4J.js → CommunitySkillsCache-CI7UN2DX.js} +2 -2
  5. package/dist/CommunitySkillsCache-XTQ6RMTA.cjs +8 -0
  6. package/dist/{HookManager-2S6AHOC3.js → HookManager-BELBPQQI.js} +1 -1
  7. package/dist/{HookManager-TVEQI5ZU.cjs → HookManager-ZL2CLAJW.cjs} +2 -2
  8. package/dist/{ImportWizard-AF2XL6DS.cjs → ImportWizard-U6CIJREW.cjs} +12 -12
  9. package/dist/{ImportWizard-AEBMAKXE.js → ImportWizard-VJFSWSUQ.js} +3 -3
  10. package/dist/LearnAdvisor-LAURA3IB.cjs +9 -0
  11. package/dist/LearnAdvisor-RFOBXFG7.js +9 -0
  12. package/dist/MemoryManager-3A2VRPF2.js +9 -0
  13. package/dist/MemoryManager-UOEQZIDC.cjs +9 -0
  14. package/dist/{NVIDIAProvider-SJPY3ONR.js → NVIDIAProvider-AFNJNWJM.js} +1 -1
  15. package/dist/NVIDIAProvider-L5GTYRCQ.cjs +14 -0
  16. package/dist/{PermissionManager-MT7KBNNR.js → PermissionManager-N2LDSOYF.js} +3 -3
  17. package/dist/PermissionManager-ZNURIEYR.cjs +11 -0
  18. package/dist/ProviderFactory-3BFS65V7.cjs +13 -0
  19. package/dist/{ProviderFactory-RB4RVAF6.js → ProviderFactory-XUT6BSGB.js} +4 -3
  20. package/dist/SessionManager-LGPQIA57.cjs +10 -0
  21. package/dist/{SessionManager-554PHVPC.js → SessionManager-OR4KDDDS.js} +2 -2
  22. package/dist/{SkillsRegistry-NHHMIUYJ.js → SkillsRegistry-IL3GWROU.js} +2 -2
  23. package/dist/SkillsRegistry-PM34DQNA.cjs +9 -0
  24. package/dist/SubAgent-2WG4QQB5.cjs +13 -0
  25. package/dist/SubAgent-ICGN23TQ.js +13 -0
  26. package/dist/{about-3USFSGOH.js → about-OYVGQMJJ.js} +3 -3
  27. package/dist/{about-QR52U5DD.cjs → about-U2BH7HDR.cjs} +4 -4
  28. package/dist/{acp-5Y2W6OZP.js → acp-JWHGXZL5.js} +169 -103
  29. package/dist/{acp-GSYE75OB.cjs → acp-S37JOBCS.cjs} +184 -118
  30. package/dist/{actionExecutor-KHUU3Z3Q.cjs → actionExecutor-2QEPMELQ.cjs} +13 -13
  31. package/dist/{actionExecutor-PLQJZLZV.js → actionExecutor-6NCCORRB.js} +12 -12
  32. package/dist/add-dir-KFUHSIR2.cjs +11 -0
  33. package/dist/{add-dir-HCERJDBR.js → add-dir-MM2BM2Z2.js} +2 -2
  34. package/dist/agent-DUIYLIVN.js +132 -0
  35. package/dist/agent-YYEHGDAK.cjs +132 -0
  36. package/dist/agents-GBGG4CW7.cjs +19 -0
  37. package/dist/agents-ZH34C72F.js +19 -0
  38. package/dist/agents-new-ERXLS7SB.cjs +17 -0
  39. package/dist/{agents-new-7GAQ25EK.js → agents-new-EVTGPTA4.js} +6 -6
  40. package/dist/{autoSkill-66PKCYTW.js → autoSkill-HEWKJ5JV.js} +2 -2
  41. package/dist/autoSkill-YL6PN6AV.cjs +20 -0
  42. package/dist/automode-4BJ7FNPL.cjs +10 -0
  43. package/dist/{automode-BUF3VGXU.js → automode-S4U7A7Q2.js} +2 -2
  44. package/dist/chrome-45ZXHL5N.cjs +22 -0
  45. package/dist/{chrome-Y3T7EIHG.js → chrome-BBSRVG6S.js} +2 -2
  46. package/dist/chrome-IFVZRHAT.cjs +50 -0
  47. package/dist/chrome-MYE6DNA2.js +22 -0
  48. package/dist/{chunk-45CHNQM6.cjs → chunk-24CEJYEG.cjs} +93 -31
  49. package/dist/{chunk-6JWCGQJU.cjs → chunk-255GIVM2.cjs} +6 -6
  50. package/dist/{chunk-D546G7DA.cjs → chunk-2BDSR2OW.cjs} +98 -75
  51. package/dist/{chunk-PGFLPURU.js → chunk-2BPIR7LA.js} +121 -4
  52. package/dist/{chunk-AOKXYGBQ.cjs → chunk-2NY7OHBF.cjs} +41 -26
  53. package/dist/chunk-2WUNHTXL.js +303 -0
  54. package/dist/{chunk-PQBYFEBL.cjs → chunk-34B6ZO6W.cjs} +124 -7
  55. package/dist/{chunk-5JTTM5SC.js → chunk-3BJN7GAH.js} +1 -1
  56. package/dist/{chunk-3UC6DMFI.cjs → chunk-3CAXECWJ.cjs} +15 -15
  57. package/dist/{chunk-YWH55BWK.cjs → chunk-3CBYUBZC.cjs} +6 -9
  58. package/dist/chunk-3DF3GZQ7.js +277 -0
  59. package/dist/{chunk-KASXKDF2.cjs → chunk-3JURXAL6.cjs} +58 -7
  60. package/dist/{chunk-JV5HVCHU.cjs → chunk-3KWAP2Y3.cjs} +88 -9
  61. package/dist/{chunk-WPE2XHVX.js → chunk-3MCK6UBL.js} +1 -1
  62. package/dist/{chunk-U2QUMKCB.js → chunk-3TH7IK4M.js} +62 -9
  63. package/dist/{chunk-YXM6SA7P.js → chunk-3V77OB3W.js} +3 -3
  64. package/dist/{chunk-MZN6JBRZ.cjs → chunk-3Y5UEK7K.cjs} +4 -4
  65. package/dist/{chunk-BP37FVBM.js → chunk-4GPPSBEZ.js} +3 -3
  66. package/dist/{chunk-4XVLNOFA.js → chunk-5CMBAJ6K.js} +20 -3
  67. package/dist/{chunk-PNIAIOMZ.cjs → chunk-5YRXFBYZ.cjs} +35 -6
  68. package/dist/chunk-6AC2TT26.js +156 -0
  69. package/dist/{chunk-PSAH4ZQB.cjs → chunk-6EIQ6A6U.cjs} +2 -2
  70. package/dist/{chunk-YQDI753V.js → chunk-6HSEDXVF.js} +4 -4
  71. package/dist/{chunk-O5GI6SR3.js → chunk-6NUXK62F.js} +1 -1
  72. package/dist/{chunk-HVCIB4SW.cjs → chunk-6TGCAPYH.cjs} +62 -9
  73. package/dist/{chunk-HZWU6IO3.js → chunk-6W3SZCSP.js} +2 -5
  74. package/dist/{chunk-Q3BS6FPM.js → chunk-73LV3DDZ.js} +4 -4
  75. package/dist/{chunk-ZNGRLCFQ.js → chunk-7BGGLIQF.js} +83 -1
  76. package/dist/{chunk-ZNYZB7XY.cjs → chunk-7EEK7CRR.cjs} +83 -1
  77. package/dist/{chunk-HK5A54AV.cjs → chunk-7TO3PDMV.cjs} +48 -4
  78. package/dist/chunk-7UU22RSH.cjs +277 -0
  79. package/dist/{chunk-XNIMSVS6.cjs → chunk-A3GAM6FM.cjs} +11 -11
  80. package/dist/{chunk-W5QLA6WP.cjs → chunk-A7DJU75T.cjs} +8 -8
  81. package/dist/{chunk-7XTUL7ZD.cjs → chunk-AAAO4ERQ.cjs} +9 -9
  82. package/dist/{chunk-M5DK524Z.js → chunk-AAJLMP57.js} +2 -2
  83. package/dist/chunk-ABR756QN.js +529 -0
  84. package/dist/{chunk-OIGYWOL6.js → chunk-APFGDIPD.js} +3 -1
  85. package/dist/{chunk-PTTZI4QZ.js → chunk-APQYRMYL.js} +4 -4
  86. package/dist/{chunk-CO2AADYU.cjs → chunk-AZKOIF2G.cjs} +55 -17
  87. package/dist/{chunk-P6SLT2F4.cjs → chunk-AZLHUPNC.cjs} +2 -2
  88. package/dist/chunk-B55VCYSQ.cjs +30 -0
  89. package/dist/{chunk-JMJRFSNJ.js → chunk-BLQUMSM3.js} +1 -1
  90. package/dist/{chunk-MGNXABSU.cjs → chunk-BXKPX6K4.cjs} +9 -9
  91. package/dist/{chunk-MQQH4XQH.cjs → chunk-C66FN2LP.cjs} +4 -4
  92. package/dist/{chunk-CECH6QQP.js → chunk-CH7KUFAS.js} +10 -10
  93. package/dist/{chunk-PIXQ2AVM.cjs → chunk-CILSXOPI.cjs} +17 -17
  94. package/dist/{chunk-IEPLQ47J.js → chunk-CM24K6ZT.js} +89 -12
  95. package/dist/chunk-CMEZ42F2.cjs +303 -0
  96. package/dist/{chunk-X5P6QQOB.cjs → chunk-CNQKIWIS.cjs} +100 -23
  97. package/dist/{chunk-AQ5PVHOC.cjs → chunk-CSUGNNJY.cjs} +4 -3
  98. package/dist/{chunk-QRQF3556.js → chunk-D6HB3H3L.js} +25 -10
  99. package/dist/{chunk-XZVDYC5U.js → chunk-D7AYKVKW.js} +2 -2
  100. package/dist/{chunk-3UHRCHKB.cjs → chunk-DLCXWOWT.cjs} +23 -23
  101. package/dist/{chunk-CK4HAHVY.cjs → chunk-DMM2BKSV.cjs} +118 -25
  102. package/dist/{chunk-SPQ7QIQ6.js → chunk-DW3DPV77.js} +1 -1
  103. package/dist/chunk-ECQD2QC3.cjs +33 -0
  104. package/dist/{chunk-SNDDZG5H.js → chunk-EEYOS3UC.js} +90 -70
  105. package/dist/{chunk-DGBPWODD.js → chunk-EF2EN5CR.js} +2 -2
  106. package/dist/{chunk-M7B7RRBK.cjs → chunk-EFXFURDY.cjs} +138 -51
  107. package/dist/chunk-EK34UZPB.cjs +40 -0
  108. package/dist/{chunk-CRTCZ4WL.cjs → chunk-FJR6EZLO.cjs} +3834 -2337
  109. package/dist/{chunk-TYBPTKFT.js → chunk-FPO7YNPQ.js} +1 -1
  110. package/dist/{chunk-X3TI5TJJ.js → chunk-FS4I6BNR.js} +1 -1
  111. package/dist/{chunk-WNJXIACY.js → chunk-FSJ2MNOC.js} +3 -3
  112. package/dist/{chunk-44ZWOBTI.js → chunk-GEHZMC4G.js} +12 -9
  113. package/dist/{chunk-Y5BDE24P.cjs → chunk-GO6C2RAR.cjs} +3 -0
  114. package/dist/{chunk-XW3XCK4E.cjs → chunk-GSMR6V36.cjs} +4 -4
  115. package/dist/{chunk-H426KOGY.js → chunk-GSZWATME.js} +1 -1
  116. package/dist/{chunk-S5JNQIGL.cjs → chunk-GYLGCR6F.cjs} +5 -5
  117. package/dist/{chunk-ONVYXTUT.cjs → chunk-H3OOWNYQ.cjs} +3 -3
  118. package/dist/{chunk-V5ELP2XE.js → chunk-H65446XW.js} +110 -15
  119. package/dist/{chunk-LANGD5CO.js → chunk-H7HXRRHK.js} +45 -1
  120. package/dist/{chunk-RBXBH6EB.cjs → chunk-HN2JTDN5.cjs} +17 -17
  121. package/dist/{chunk-SOVR7S3T.cjs → chunk-HNXUZ5OY.cjs} +2 -2
  122. package/dist/{chunk-AZ47LKD5.cjs → chunk-HOYT3E65.cjs} +3 -3
  123. package/dist/{chunk-P4FUTSVK.js → chunk-HTPY5ESD.js} +3 -3
  124. package/dist/{chunk-5SFV2NCY.cjs → chunk-HVLWH2AF.cjs} +10 -10
  125. package/dist/{chunk-VQHSYAPZ.cjs → chunk-HZTEU4W5.cjs} +62 -93
  126. package/dist/{chunk-4XFHP2SN.cjs → chunk-I5T7LPFP.cjs} +7 -7
  127. package/dist/{chunk-ZPLCAXJW.js → chunk-IB5CJXE7.js} +7 -7
  128. package/dist/{chunk-KM7R5YPS.cjs → chunk-INNXFLDR.cjs} +9 -6
  129. package/dist/{chunk-2ESQR35E.cjs → chunk-JFLEP3T7.cjs} +10 -10
  130. package/dist/chunk-JJGDOBFL.js +40 -0
  131. package/dist/{chunk-5A7ZL64N.js → chunk-JSU46T6K.js} +1 -1
  132. package/dist/{chunk-NB6M6ESM.js → chunk-K6WN6BT4.js} +1 -1
  133. package/dist/{chunk-QQ64HEHP.cjs → chunk-KIQH3SMT.cjs} +34 -31
  134. package/dist/{chunk-MANJ67D3.js → chunk-KPRXHIE2.js} +52 -83
  135. package/dist/{chunk-6HF6XSCC.js → chunk-LIO3RX2Z.js} +2 -2
  136. package/dist/{chunk-NZ3ZWLUW.js → chunk-LOSXLH7P.js} +109 -16
  137. package/dist/{chunk-NZ7GCK7Y.cjs → chunk-LSOR72PB.cjs} +23 -23
  138. package/dist/{chunk-6AYJCDTA.js → chunk-MA3AVDCC.js} +47 -9
  139. package/dist/{chunk-PZZMIYII.js → chunk-ME3S2WIR.js} +3 -3
  140. package/dist/{chunk-2IW5YFJ4.js → chunk-NC2I2M4P.js} +4 -4
  141. package/dist/{chunk-AE2ILW25.cjs → chunk-NC4A4LVC.cjs} +13 -13
  142. package/dist/{chunk-EEHWALXA.js → chunk-NGEK5FCJ.js} +85 -3
  143. package/dist/{chunk-MMKZSJUN.js → chunk-NKW6CHXQ.js} +1 -1
  144. package/dist/{chunk-JB3JCYBJ.js → chunk-NOWCRKP2.js} +4 -3
  145. package/dist/{chunk-3ZOOH44N.js → chunk-NUB2LMB6.js} +2 -2
  146. package/dist/chunk-O246MKIW.cjs +267 -0
  147. package/dist/{chunk-SRMGWMQO.js → chunk-OGFWL2PS.js} +1 -1
  148. package/dist/{chunk-YISPVAXO.cjs → chunk-ONNGAR6W.cjs} +340 -597
  149. package/dist/{chunk-7WAUCLLQ.js → chunk-OOFR6A62.js} +33 -4
  150. package/dist/{chunk-4E7SHPNQ.js → chunk-OZ7FHO7J.js} +2 -2
  151. package/dist/{chunk-NV6LCD2I.cjs → chunk-P5EWGUI2.cjs} +109 -27
  152. package/dist/{chunk-YC5OBZQU.js → chunk-P6BQJPAI.js} +41 -18
  153. package/dist/{chunk-SHRLFX6F.js → chunk-PG2JIU5M.js} +57 -6
  154. package/dist/{chunk-6OECOAK5.cjs → chunk-PI27G2ED.cjs} +25 -8
  155. package/dist/{chunk-TR6NECEZ.js → chunk-PI7LRPL6.js} +1 -1
  156. package/dist/{chunk-GAOPJ5S3.cjs → chunk-PMPEC5HN.cjs} +18 -15
  157. package/dist/{chunk-5GCQ5UMV.cjs → chunk-PYUP7AKY.cjs} +14 -14
  158. package/dist/{chunk-S5QKRA2V.js → chunk-QC5Z3ZT5.js} +2 -2
  159. package/dist/chunk-QDO4L2A7.cjs +156 -0
  160. package/dist/{chunk-LFDPTJYF.cjs → chunk-QDXRI5AM.cjs} +1 -1
  161. package/dist/{chunk-26G7YGOW.js → chunk-QVXMSQOG.js} +84 -21
  162. package/dist/{chunk-SVVP4UUZ.cjs → chunk-R4UKBKDY.cjs} +11 -11
  163. package/dist/{chunk-HG3ZASBH.cjs → chunk-R75AWII3.cjs} +112 -17
  164. package/dist/{chunk-TE4SYTWR.cjs → chunk-RD5PLUIX.cjs} +8 -8
  165. package/dist/{chunk-FFHSCM5M.js → chunk-RGB34CV5.js} +3 -3
  166. package/dist/{chunk-SY2P3Z5W.cjs → chunk-RJCZLFHE.cjs} +96 -32
  167. package/dist/{chunk-22SCR3EV.cjs → chunk-RKWNM2BJ.cjs} +2 -2
  168. package/dist/{chunk-FBQJZKFX.js → chunk-RMVONICR.js} +3 -3
  169. package/dist/{chunk-PY73W5MQ.cjs → chunk-RPSYRJL7.cjs} +10 -4
  170. package/dist/{chunk-HXHE2KAO.js → chunk-RWKU2X7O.js} +7 -4
  171. package/dist/{chunk-NQZH5CR2.cjs → chunk-RZLEGVMH.cjs} +102 -5
  172. package/dist/{chunk-KMP6Y3LJ.js → chunk-S2L3Y677.js} +1 -1
  173. package/dist/{chunk-GSDV75A5.js → chunk-S7KVUIOS.js} +1 -1
  174. package/dist/{chunk-7PT646AL.cjs → chunk-SACJJ6NO.cjs} +5 -3
  175. package/dist/{chunk-LEZEWKPA.js → chunk-SJQU2ZFR.js} +96 -32
  176. package/dist/{chunk-65LRPW5W.js → chunk-SKAQKQFF.js} +12 -2
  177. package/dist/chunk-T4DXP5OP.js +30 -0
  178. package/dist/{chunk-EYHKL4QC.js → chunk-T6FTB6K2.js} +1 -1
  179. package/dist/{chunk-DNSD7DVJ.js → chunk-T6N6GRFT.js} +13 -10
  180. package/dist/{chunk-575PXZX7.js → chunk-TJFKA6A7.js} +82 -3
  181. package/dist/{chunk-HSWWM6AM.js → chunk-TJZUPS4Z.js} +34 -291
  182. package/dist/{chunk-DHUQZ53B.cjs → chunk-TLKHZ425.cjs} +2 -2
  183. package/dist/{chunk-VLGGMQUN.cjs → chunk-TQ24NLXO.cjs} +6 -6
  184. package/dist/{chunk-LUMV3DB2.js → chunk-TWBAU46X.js} +1 -1
  185. package/dist/{chunk-EA2MS25U.cjs → chunk-TZB5XADL.cjs} +4 -4
  186. package/dist/{chunk-U6PLSPMD.cjs → chunk-UAYXZXWU.cjs} +4 -4
  187. package/dist/{chunk-OV3T5MUH.cjs → chunk-UKBFNBDO.cjs} +11 -11
  188. package/dist/{chunk-SZD45IDG.js → chunk-UMJYX5KD.js} +101 -4
  189. package/dist/{chunk-B76FJKEJ.cjs → chunk-USKYTHDL.cjs} +69 -18
  190. package/dist/{chunk-NZQFKXM3.cjs → chunk-VAJUSZMC.cjs} +15 -15
  191. package/dist/{chunk-SDLY4X3G.js → chunk-VGQG4NBJ.js} +2 -2
  192. package/dist/{chunk-KWXGDSYT.js → chunk-VLUIVJ3J.js} +58 -7
  193. package/dist/{chunk-KJ26T7GM.cjs → chunk-VOBINVMV.cjs} +105 -42
  194. package/dist/{chunk-C5QIQQ37.js → chunk-VSHKKCSH.js} +16 -5
  195. package/dist/{chunk-L46OUKW5.cjs → chunk-VSZU3MGA.cjs} +28 -17
  196. package/dist/{chunk-YFXTE422.cjs → chunk-VWHAUB77.cjs} +8 -3
  197. package/dist/{chunk-UWZ4G3SQ.js → chunk-VXGYFX45.js} +4 -4
  198. package/dist/{chunk-C46B72VK.js → chunk-WH6YUQDB.js} +141 -54
  199. package/dist/{chunk-SFFEKZGC.js → chunk-WQ6TD55V.js} +2 -2
  200. package/dist/{chunk-7PJKTSRN.js → chunk-WQWECXTY.js} +3 -3
  201. package/dist/{chunk-DSSCERHI.cjs → chunk-WVDJUJH6.cjs} +2 -2
  202. package/dist/{chunk-JPFRI4L4.js → chunk-X24VIVDZ.js} +210 -26
  203. package/dist/{chunk-7IRQ7JEH.js → chunk-X4NRTLXD.js} +7 -1
  204. package/dist/{chunk-7MY4JHER.js → chunk-X53SHYCG.js} +2 -2
  205. package/dist/{chunk-RFUKZIJF.cjs → chunk-XB2Z4ZAK.cjs} +5 -5
  206. package/dist/{chunk-WJYFLQ7G.cjs → chunk-Y47OJGLB.cjs} +3 -3
  207. package/dist/{chunk-HC2Q6A3E.cjs → chunk-Y4MN27V3.cjs} +361 -177
  208. package/dist/{chunk-ZK6HOR62.js → chunk-YEHFYZFU.js} +7 -2
  209. package/dist/{chunk-FFBDRUO5.cjs → chunk-YICIUY23.cjs} +1 -1
  210. package/dist/{chunk-63ANVAOJ.cjs → chunk-YMXYC777.cjs} +3 -3
  211. package/dist/{chunk-X7XMITIL.cjs → chunk-Z3GRWK6O.cjs} +8 -8
  212. package/dist/{chunk-3ICORF7M.cjs → chunk-Z5GG2KSL.cjs} +4 -4
  213. package/dist/{chunk-I2ZK3AOD.js → chunk-ZER7DYQK.js} +2 -2
  214. package/dist/{chunk-V3SZLWEQ.cjs → chunk-ZFDXZEZJ.cjs} +11 -11
  215. package/dist/{chunk-QBYGMMDD.js → chunk-ZFV4HJA6.js} +66 -4
  216. package/dist/chunk-ZHMYTI5D.cjs +529 -0
  217. package/dist/{chunk-4567QNRB.js → chunk-ZLR2TFBC.js} +3 -0
  218. package/dist/{chunk-OCATAKXV.cjs → chunk-ZTWNU5QZ.cjs} +20 -20
  219. package/dist/{chunk-CCIDL4SA.js → chunk-ZVLVLDYN.js} +2915 -1418
  220. package/dist/clear-AJGXD2BB.cjs +12 -0
  221. package/dist/{clear-Y5TO3RZA.js → clear-HAHDSWKW.js} +3 -3
  222. package/dist/communityInstaller-IRR6M3N6.cjs +22 -0
  223. package/dist/{communityInstaller-RVL4STPS.js → communityInstaller-OLKEUGMX.js} +5 -5
  224. package/dist/completion-G7Z436TF.cjs +17 -0
  225. package/dist/{completion-SE3XYG74.js → completion-ZS3AXJ6A.js} +4 -4
  226. package/dist/{config-7KPHKFTP.js → config-OWYAQPCX.js} +5 -4
  227. package/dist/config-W2BHT2QE.cjs +22 -0
  228. package/dist/{constants-EJFAWJQI.js → constants-AS6K67AA.js} +5 -3
  229. package/dist/constants-B4W5BT7F.cjs +23 -0
  230. package/dist/{export-BJVIDZC4.js → export-5HIU3KMD.js} +4 -4
  231. package/dist/export-GFD32UY2.cjs +15 -0
  232. package/dist/{extractSessionMemories-A2JX5WJ2.js → extractSessionMemories-K6ZVAW2F.js} +1 -1
  233. package/dist/{extractSessionMemories-XL3MS37F.cjs → extractSessionMemories-LLOIJR5U.cjs} +2 -2
  234. package/dist/feature-KP74CZ3F.cjs +14 -0
  235. package/dist/{feature-V4JF5TNJ.js → feature-OPNVMB2E.js} +2 -2
  236. package/dist/features-LT55MURX.cjs +24 -0
  237. package/dist/features-ZDIU26WX.js +24 -0
  238. package/dist/feedback-7WTJFQ6S.js +18 -0
  239. package/dist/feedback-CEOJ3453.cjs +18 -0
  240. package/dist/go-2CY5SZNR.js +16 -0
  241. package/dist/go-O2CSQON4.cjs +16 -0
  242. package/dist/goal-DL2N2AWT.cjs +16 -0
  243. package/dist/goal-IJS7VZSG.js +16 -0
  244. package/dist/help-RNOGDEBA.cjs +12 -0
  245. package/dist/{help-MLIROWKM.js → help-TCWD2IRH.js} +2 -2
  246. package/dist/{history-GQJ6RZD6.js → history-ATOR5OQV.js} +2 -2
  247. package/dist/history-UUSGX2AL.cjs +14 -0
  248. package/dist/{hooks-PPFHCF7T.js → hooks-R3Z5QKUP.js} +5 -5
  249. package/dist/hooks-RWM5UY67.cjs +18 -0
  250. package/dist/{i18n-Q7UZJRPL.js → i18n-4QI4TD4I.js} +1 -1
  251. package/dist/i18n-MFAEU5RV.cjs +33 -0
  252. package/dist/{ide-BUSVE54P.js → ide-6PBTCCUQ.js} +4 -4
  253. package/dist/ide-UE3G7NMQ.cjs +15 -0
  254. package/dist/{import-C7S6UJMW.cjs → import-2IG76KAN.cjs} +6 -4
  255. package/dist/{import-U47DXCA7.js → import-E47QL4DW.js} +2 -2
  256. package/dist/import-NQDNBFUL.cjs +10 -0
  257. package/dist/{import-3VBKI6BN.js → import-VQIHGJWS.js} +6 -4
  258. package/dist/index.cjs +444 -334
  259. package/dist/index.d.cts +38 -0
  260. package/dist/index.d.ts +38 -0
  261. package/dist/index.js +324 -214
  262. package/dist/init-DX3RDGDT.cjs +10 -0
  263. package/dist/{init-Q2O4R42R.js → init-Q54OAAFZ.js} +2 -2
  264. package/dist/{inputPrompt-3CFZDUBH.js → inputPrompt-V2VBDRM7.js} +2 -2
  265. package/dist/inputPrompt-WVGVWAHS.cjs +90 -0
  266. package/dist/language-I6KXAOXD.js +23 -0
  267. package/dist/language-XMIVOH5E.cjs +23 -0
  268. package/dist/learn-JPVVGTKU.js +23 -0
  269. package/dist/learn-NLSHI2MZ.cjs +23 -0
  270. package/dist/login-NABQYLYC.cjs +28 -0
  271. package/dist/login-XPOVFSWN.js +28 -0
  272. package/dist/logout-HNHCGB4Q.js +25 -0
  273. package/dist/logout-SKGDXJSW.cjs +25 -0
  274. package/dist/{mcp-AH3MMUBU.js → mcp-EN73YFGZ.js} +8 -7
  275. package/dist/mcp-TADZCPJQ.cjs +22 -0
  276. package/dist/{mcp-install-IA4ZS2SV.cjs → mcp-install-2GKWWBAS.cjs} +14 -13
  277. package/dist/{mcp-install-222PCKSW.js → mcp-install-3TBTVSHW.js} +9 -8
  278. package/dist/memory-GRXFTDIN.cjs +10 -0
  279. package/dist/{memory-VB46T5H3.js → memory-K2P3CDCH.js} +2 -2
  280. package/dist/{model-SJJG64AM.js → model-DEG22OWA.js} +2 -2
  281. package/dist/model-OSD74T7Z.cjs +10 -0
  282. package/dist/new-4NWBOATU.cjs +12 -0
  283. package/dist/{new-ERZ5C6CN.js → new-KJAP2MB6.js} +3 -3
  284. package/dist/{onboarding-ZQXMPSMJ.js → onboarding-2U5WE2OA.js} +17 -14
  285. package/dist/onboarding-5DZFCO5Q.cjs +39 -0
  286. package/dist/permissions-KY5I6YQ3.cjs +10 -0
  287. package/dist/{permissions-7ACNFK7A.js → permissions-TKYON7PP.js} +2 -2
  288. package/dist/{plan-YYUAXPTL.js → plan-DYHHLZSS.js} +1 -1
  289. package/dist/plan-PYKP652W.cjs +13 -0
  290. package/dist/quit-GSKJL42O.js +14 -0
  291. package/dist/quit-TQSRTBUT.cjs +14 -0
  292. package/dist/{registry-4DXUDKJN.js → registry-EZ4V4TUQ.js} +1339 -1
  293. package/dist/{registry-UEO3ETZ7.cjs → registry-LCWYI4IB.cjs} +1378 -40
  294. package/dist/resume-4VWJXARX.cjs +17 -0
  295. package/dist/{resume-XSXZMDMD.js → resume-TLHWWWFN.js} +5 -5
  296. package/dist/{review-QHP2KP4Q.js → review-CSK4IYTO.js} +1 -1
  297. package/dist/review-XLJEUH5K.cjs +9 -0
  298. package/dist/{rpc-XH7QLN4H.js → rpc-3DLQBDWU.js} +151 -124
  299. package/dist/{rpc-YF54T7JU.cjs → rpc-O36WUU3L.cjs} +169 -142
  300. package/dist/search-DSX2CY4A.cjs +22 -0
  301. package/dist/search-I3QUDUQL.js +22 -0
  302. package/dist/sessionBranching-DVNOUWJT.cjs +19 -0
  303. package/dist/sessionBranching-FKV4CR36.js +19 -0
  304. package/dist/sessions-3JUOT3ED.cjs +10 -0
  305. package/dist/{sessions-NJYHJOEL.js → sessions-VWMDIPOS.js} +2 -2
  306. package/dist/{settings-ZXUQH3DO.js → settings-FT2LZZUV.js} +11 -8
  307. package/dist/settings-RL4KNWHB.cjs +45 -0
  308. package/dist/setup-HQEJVOYT.js +32 -0
  309. package/dist/setup-MN54LKOL.cjs +32 -0
  310. package/dist/share-BUAFZNBX.cjs +17 -0
  311. package/dist/{share-WFAGZ5PY.js → share-CGB6MAVJ.js} +6 -6
  312. package/dist/skills/builtin/code-reviewer/SKILL.md +64 -0
  313. package/dist/skills/builtin/goal-writer/SKILL.md +124 -0
  314. package/dist/{skills-NBTNDVAY.js → skills-7DKR3HRZ.js} +7 -7
  315. package/dist/{skills-OB6RDW7D.js → skills-BBBENOEY.js} +9 -9
  316. package/dist/skills-OQM7IHAF.cjs +29 -0
  317. package/dist/{skills-ZROBG3RZ.cjs → skills-RA2PKL63.cjs} +9 -9
  318. package/dist/{skills-install-ILX6QVEF.cjs → skills-install-D7K476SL.cjs} +15 -15
  319. package/dist/{skills-install-BHTIEMKH.js → skills-install-T4SOKJSL.js} +8 -8
  320. package/dist/{skills-new-YMRP2HNO.js → skills-new-S33NGEU3.js} +6 -6
  321. package/dist/skills-new-UVYH53MD.cjs +18 -0
  322. package/dist/slashCommands-MWOUDSQP.js +111 -0
  323. package/dist/slashCommands-XASURUTV.cjs +111 -0
  324. package/dist/squad-PIIYDFVH.cjs +15 -0
  325. package/dist/squad-VHYOVEJP.js +15 -0
  326. package/dist/status-GHFTXQBL.js +25 -0
  327. package/dist/status-WXMIJIU3.cjs +25 -0
  328. package/dist/statusline-2K7AC6ZQ.js +21 -0
  329. package/dist/statusline-GROI4HOC.cjs +21 -0
  330. package/dist/sync-254WF6JI.cjs +42 -0
  331. package/dist/sync-2DIZN4EH.cjs +24 -0
  332. package/dist/{sync-OCJN4ZSO.js → sync-J6I2ZUKQ.js} +5 -3
  333. package/dist/{sync-7C25MOT2.js → sync-Z3LVSEEV.js} +8 -6
  334. package/dist/{teammate-D77B6QRT.cjs → teammate-EXR76PEQ.cjs} +5 -5
  335. package/dist/{teammate-EZCMHOIL.js → teammate-K4DAOFEQ.js} +5 -5
  336. package/dist/theme-MVQDSU47.js +23 -0
  337. package/dist/theme-QAKEYWJG.cjs +23 -0
  338. package/dist/ui/questionModal.cjs +5 -5
  339. package/dist/ui/questionModal.js +4 -4
  340. package/dist/{undo-GNUTFXCW.js → undo-5AU47JHF.js} +2 -2
  341. package/dist/undo-ME6WKUXZ.cjs +10 -0
  342. package/dist/{usage-QSTNSDAO.js → usage-QTKO2YMD.js} +6 -5
  343. package/dist/usage-TYNJKVER.cjs +25 -0
  344. package/package.json +4 -3
  345. package/dist/AgentRegistry-GOV7FN2O.js +0 -10
  346. package/dist/AgentRegistry-J2C6JBZ3.cjs +0 -10
  347. package/dist/CommunitySkillsCache-22BB3J6H.cjs +0 -8
  348. package/dist/LearnAdvisor-KKEQ5QCV.js +0 -9
  349. package/dist/LearnAdvisor-Q7RAYLPF.cjs +0 -9
  350. package/dist/MemoryManager-PMNAEZMB.cjs +0 -8
  351. package/dist/MemoryManager-QZRLTUB5.js +0 -8
  352. package/dist/NVIDIAProvider-C3FWQOBZ.cjs +0 -14
  353. package/dist/PermissionManager-URCNP5EC.cjs +0 -11
  354. package/dist/ProviderFactory-56N3ECE4.cjs +0 -12
  355. package/dist/SessionManager-2IZGWASQ.cjs +0 -10
  356. package/dist/SkillsRegistry-GMRVONOQ.cjs +0 -9
  357. package/dist/SubAgent-4GOR2FIJ.js +0 -13
  358. package/dist/SubAgent-ZJMDH4FI.cjs +0 -13
  359. package/dist/add-dir-BTAD5OZS.cjs +0 -11
  360. package/dist/agent-B3EVT7NN.cjs +0 -126
  361. package/dist/agent-SATQ3WZ3.js +0 -126
  362. package/dist/agents-44CRJGM7.cjs +0 -18
  363. package/dist/agents-NN4ZAJ7R.js +0 -18
  364. package/dist/agents-new-6D6G4QS6.cjs +0 -17
  365. package/dist/autoSkill-VQLGBELN.cjs +0 -20
  366. package/dist/automode-45DWV4TN.cjs +0 -10
  367. package/dist/chrome-Q2U73HZB.cjs +0 -50
  368. package/dist/chrome-Q54OALOK.cjs +0 -21
  369. package/dist/chrome-ZNJ46OYW.js +0 -21
  370. package/dist/chunk-JCUHCH37.cjs +0 -247
  371. package/dist/chunk-VKOXFT4L.cjs +0 -23
  372. package/dist/clear-QJXU25IF.cjs +0 -12
  373. package/dist/communityInstaller-LXMVKVAV.cjs +0 -22
  374. package/dist/completion-JX4T2ONW.cjs +0 -17
  375. package/dist/config-3224PRW4.cjs +0 -21
  376. package/dist/constants-MCCGUU5F.cjs +0 -21
  377. package/dist/export-KU4557HK.cjs +0 -15
  378. package/dist/feature-K3LG5IJP.cjs +0 -14
  379. package/dist/features-5OJTLKS7.js +0 -23
  380. package/dist/features-VCBJQXCX.cjs +0 -23
  381. package/dist/feedback-D4437VE4.js +0 -18
  382. package/dist/feedback-VZPEHGFY.cjs +0 -18
  383. package/dist/go-X4E6BCD6.js +0 -12
  384. package/dist/go-XREVFS5I.cjs +0 -12
  385. package/dist/goal-4M3J6JS2.cjs +0 -16
  386. package/dist/goal-EI66BV7W.js +0 -16
  387. package/dist/help-GGFS7WHY.cjs +0 -12
  388. package/dist/history-J4LUIOSI.cjs +0 -14
  389. package/dist/hooks-FSRIUS6A.cjs +0 -18
  390. package/dist/i18n-CI6VFXL5.cjs +0 -33
  391. package/dist/ide-YR27BPGM.cjs +0 -15
  392. package/dist/import-DBK4OCDF.cjs +0 -10
  393. package/dist/init-OXTYS72D.cjs +0 -10
  394. package/dist/inputPrompt-JMACL4EB.cjs +0 -90
  395. package/dist/language-EK3M6UBV.cjs +0 -22
  396. package/dist/language-Q3RUGGOW.js +0 -22
  397. package/dist/learn-3DSX7DYG.cjs +0 -23
  398. package/dist/learn-OPOH5L43.js +0 -23
  399. package/dist/login-GST7MWXJ.cjs +0 -27
  400. package/dist/login-Q7DZKAX4.js +0 -27
  401. package/dist/logout-2G7OUK7I.cjs +0 -24
  402. package/dist/logout-FNBBL2UI.js +0 -24
  403. package/dist/mcp-DW7R63IB.cjs +0 -21
  404. package/dist/memory-6NX3DAIY.cjs +0 -10
  405. package/dist/model-64NAELFS.cjs +0 -10
  406. package/dist/new-DU5SOOOY.cjs +0 -12
  407. package/dist/onboarding-2U2BV2KE.cjs +0 -36
  408. package/dist/permissions-GSNNV7RJ.cjs +0 -10
  409. package/dist/plan-XEJMOT55.cjs +0 -13
  410. package/dist/quit-WY6T267G.js +0 -10
  411. package/dist/quit-XIRE2KRE.cjs +0 -10
  412. package/dist/resume-RQZ3WXBP.cjs +0 -17
  413. package/dist/review-UWHWQHCB.cjs +0 -9
  414. package/dist/search-VXXFGZWU.cjs +0 -21
  415. package/dist/search-YAWGX7P7.js +0 -21
  416. package/dist/sessions-OSG3UJEZ.cjs +0 -10
  417. package/dist/settings-SO2UIGWV.cjs +0 -42
  418. package/dist/setup-KG7EGKF5.js +0 -30
  419. package/dist/setup-RSOPCQ57.cjs +0 -30
  420. package/dist/share-ZU3SGACF.cjs +0 -17
  421. package/dist/skills-KBVAQAD2.cjs +0 -29
  422. package/dist/skills-new-B45VQ2PP.cjs +0 -18
  423. package/dist/slashCommands-53VYIBJU.js +0 -105
  424. package/dist/slashCommands-BG2RGGZ6.cjs +0 -105
  425. package/dist/status-CQ2IUOVK.cjs +0 -24
  426. package/dist/status-E7IGNVPC.js +0 -24
  427. package/dist/sync-XRP46IVG.cjs +0 -40
  428. package/dist/sync-ZMFVE7T4.cjs +0 -22
  429. package/dist/theme-KKRDE6P7.cjs +0 -22
  430. package/dist/theme-XF7XIWBQ.js +0 -22
  431. package/dist/undo-U4KN7QQM.cjs +0 -10
  432. package/dist/usage-YDEMQBNQ.cjs +0 -24
@@ -21,10 +21,15 @@ var _chunkWTB7AFL6cjs = require('./chunk-WTB7AFL6.cjs');
21
21
 
22
22
 
23
23
 
24
- var _chunkHC2Q6A3Ecjs = require('./chunk-HC2Q6A3E.cjs');
25
24
 
26
25
 
27
- var _chunkCO2AADYUcjs = require('./chunk-CO2AADYU.cjs');
26
+ var _chunkY4MN27V3cjs = require('./chunk-Y4MN27V3.cjs');
27
+
28
+
29
+ var _chunkCMEZ42F2cjs = require('./chunk-CMEZ42F2.cjs');
30
+
31
+
32
+ var _chunkAZKOIF2Gcjs = require('./chunk-AZKOIF2G.cjs');
28
33
 
29
34
 
30
35
  var _chunkSD3NTC7Dcjs = require('./chunk-SD3NTC7D.cjs');
@@ -33,16 +38,16 @@ var _chunkSD3NTC7Dcjs = require('./chunk-SD3NTC7D.cjs');
33
38
 
34
39
 
35
40
 
36
- var _chunkCK4HAHVYcjs = require('./chunk-CK4HAHVY.cjs');
41
+ var _chunkDMM2BKSVcjs = require('./chunk-DMM2BKSV.cjs');
37
42
 
38
43
 
39
- var _chunkX5P6QQOBcjs = require('./chunk-X5P6QQOB.cjs');
44
+ var _chunkCNQKIWIScjs = require('./chunk-CNQKIWIS.cjs');
40
45
 
41
46
 
42
47
  var _chunkYWTIXHU6cjs = require('./chunk-YWTIXHU6.cjs');
43
48
 
44
49
 
45
- var _chunkKASXKDF2cjs = require('./chunk-KASXKDF2.cjs');
50
+ var _chunk3JURXAL6cjs = require('./chunk-3JURXAL6.cjs');
46
51
 
47
52
 
48
53
 
@@ -53,7 +58,7 @@ var _chunkWGNMOVMTcjs = require('./chunk-WGNMOVMT.cjs');
53
58
 
54
59
 
55
60
 
56
- var _chunkSY2P3Z5Wcjs = require('./chunk-SY2P3Z5W.cjs');
61
+ var _chunkRJCZLFHEcjs = require('./chunk-RJCZLFHE.cjs');
57
62
 
58
63
  // src/onboarding/projectAnalyzer.ts
59
64
  var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
@@ -297,287 +302,6 @@ var ProjectAnalyzer = class {
297
302
  }
298
303
  };
299
304
 
300
- // src/onboarding/agentsGenerator.ts
301
- var AgentsGenerator = class {
302
- /**
303
- * Generate AGENTS.md content
304
- */
305
- generateContent(info, options) {
306
- const sections = [];
307
- sections.push("# AGENTS.md");
308
- sections.push("");
309
- sections.push("This file helps Autohand understand how to work with this project.");
310
- sections.push("");
311
- sections.push(this.generateProjectOverview(info));
312
- if (info.packageManager) {
313
- sections.push(this.generateCommandsSection(info));
314
- }
315
- if (info.testFramework) {
316
- sections.push(this.generateTestingSection(info));
317
- }
318
- if (info.framework) {
319
- const frameworkSection = this.generateFrameworkSection(info);
320
- if (frameworkSection) {
321
- sections.push(frameworkSection);
322
- }
323
- }
324
- sections.push(this.generateCodeStyleSection(info));
325
- sections.push(this.generateConstraintsSection());
326
- if (_optionalChain([options, 'optionalAccess', _3 => _3.customSections])) {
327
- for (const section of options.customSections) {
328
- sections.push(`## ${section.title}`);
329
- sections.push("");
330
- sections.push(section.content);
331
- sections.push("");
332
- }
333
- }
334
- return sections.join("\n");
335
- }
336
- /**
337
- * Generate project overview section
338
- */
339
- generateProjectOverview(info) {
340
- const lines = [];
341
- lines.push("## Project Overview");
342
- lines.push("");
343
- if (info.language) {
344
- lines.push(`- **Language**: ${info.language}`);
345
- }
346
- if (info.framework) {
347
- lines.push(`- **Framework**: ${info.framework}`);
348
- }
349
- if (info.packageManager) {
350
- lines.push(`- **Package Manager**: ${info.packageManager}`);
351
- }
352
- if (info.testFramework) {
353
- lines.push(`- **Test Framework**: ${info.testFramework}`);
354
- }
355
- if (info.buildTool) {
356
- lines.push(`- **Build Tool**: ${info.buildTool}`);
357
- }
358
- lines.push("");
359
- return lines.join("\n");
360
- }
361
- /**
362
- * Generate commands section based on package manager
363
- */
364
- generateCommandsSection(info) {
365
- const lines = [];
366
- lines.push("## Commands");
367
- lines.push("");
368
- const pm = info.packageManager;
369
- if (info.language === "Rust") {
370
- lines.push("- **Build**: `cargo build`");
371
- lines.push("- **Build (release)**: `cargo build --release`");
372
- lines.push("- **Run**: `cargo run`");
373
- lines.push("- **Test**: `cargo test`");
374
- lines.push("- **Check**: `cargo check`");
375
- lines.push("- **Format**: `cargo fmt`");
376
- lines.push("- **Lint**: `cargo clippy`");
377
- } else if (info.language === "Go") {
378
- lines.push("- **Build**: `go build`");
379
- lines.push("- **Run**: `go run .`");
380
- lines.push("- **Test**: `go test ./...`");
381
- lines.push("- **Format**: `go fmt ./...`");
382
- lines.push("- **Vet**: `go vet ./...`");
383
- } else if (info.language === "Python") {
384
- if (pm === "poetry") {
385
- lines.push("- **Install**: `poetry install`");
386
- lines.push("- **Run**: `poetry run python main.py`");
387
- lines.push("- **Add dependency**: `poetry add <package>`");
388
- if (info.testFramework) {
389
- lines.push(`- **Test**: \`poetry run pytest\``);
390
- }
391
- } else if (pm === "pipenv") {
392
- lines.push("- **Install**: `pipenv install`");
393
- lines.push("- **Run**: `pipenv run python main.py`");
394
- if (info.testFramework) {
395
- lines.push(`- **Test**: \`pipenv run pytest\``);
396
- }
397
- } else {
398
- lines.push("- **Install**: `pip install -r requirements.txt`");
399
- lines.push("- **Run**: `python main.py`");
400
- if (info.testFramework) {
401
- lines.push(`- **Test**: \`pytest\``);
402
- }
403
- }
404
- } else {
405
- const run = pm === "npm" ? "npm run" : pm;
406
- const install = pm === "npm" ? "npm install" : `${pm} install`;
407
- lines.push(`- **Install**: \`${install}\``);
408
- lines.push(`- **Dev**: \`${run} dev\``);
409
- lines.push(`- **Build**: \`${run} build\``);
410
- if (info.testFramework) {
411
- lines.push(`- **Test**: \`${run} test\``);
412
- }
413
- if (info.linter) {
414
- lines.push(`- **Lint**: \`${run} lint\``);
415
- }
416
- if (info.formatter) {
417
- lines.push(`- **Format**: \`${run} format\``);
418
- }
419
- }
420
- lines.push("");
421
- return lines.join("\n");
422
- }
423
- /**
424
- * Generate testing section
425
- */
426
- generateTestingSection(info) {
427
- const lines = [];
428
- lines.push("## Testing");
429
- lines.push("");
430
- lines.push(`This project uses **${info.testFramework}** for testing.`);
431
- lines.push("");
432
- lines.push("- Write tests for new features before implementation");
433
- lines.push("- Run tests before committing changes");
434
- lines.push("- Aim for good test coverage on critical paths");
435
- if (info.testFramework === "Vitest" || info.testFramework === "Jest") {
436
- lines.push("- Use `describe` and `it` blocks to organize tests");
437
- lines.push("- Mock external dependencies when appropriate");
438
- } else if (info.testFramework === "pytest") {
439
- lines.push("- Use fixtures for shared test setup");
440
- lines.push("- Use `pytest.mark` for test categorization");
441
- } else if (info.testFramework === "Playwright" || info.testFramework === "Cypress") {
442
- lines.push("- Write E2E tests for critical user flows");
443
- lines.push("- Keep selectors stable and meaningful");
444
- }
445
- lines.push("");
446
- return lines.join("\n");
447
- }
448
- /**
449
- * Generate framework-specific section
450
- */
451
- generateFrameworkSection(info) {
452
- const lines = [];
453
- switch (info.framework) {
454
- case "Next.js":
455
- lines.push("## Next.js Guidelines");
456
- lines.push("");
457
- lines.push("- Use the App Router for new pages (`app/` directory)");
458
- lines.push("- Prefer Server Components by default");
459
- lines.push('- Use `"use client"` only when needed for interactivity');
460
- lines.push("- Keep API routes in `app/api/`");
461
- lines.push("- Use `next/image` for optimized images");
462
- lines.push("- Use `next/link` for client-side navigation");
463
- break;
464
- case "React":
465
- lines.push("## React Guidelines");
466
- lines.push("");
467
- lines.push("- Use functional components with hooks");
468
- lines.push("- Keep components small and focused");
469
- lines.push("- Use custom hooks to share logic");
470
- lines.push("- Prefer composition over inheritance");
471
- lines.push("- Use TypeScript interfaces for props");
472
- break;
473
- case "Vue":
474
- lines.push("## Vue Guidelines");
475
- lines.push("");
476
- lines.push("- Use Composition API for new components");
477
- lines.push("- Keep components in single-file format (.vue)");
478
- lines.push("- Use composables to share logic");
479
- break;
480
- case "Express":
481
- lines.push("## Express Guidelines");
482
- lines.push("");
483
- lines.push("- Use middleware for cross-cutting concerns");
484
- lines.push("- Keep route handlers thin, delegate to services");
485
- lines.push("- Use async/await with proper error handling");
486
- lines.push("- Validate request input before processing");
487
- break;
488
- case "FastAPI":
489
- lines.push("## FastAPI Guidelines");
490
- lines.push("");
491
- lines.push("- Use Pydantic models for request/response validation");
492
- lines.push("- Use dependency injection for shared resources");
493
- lines.push("- Keep endpoints in organized routers");
494
- lines.push("- Use async functions for I/O operations");
495
- break;
496
- case "Django":
497
- lines.push("## Django Guidelines");
498
- lines.push("");
499
- lines.push("- Follow Django project structure conventions");
500
- lines.push("- Use class-based views where appropriate");
501
- lines.push("- Keep business logic in models or services");
502
- lines.push("- Use Django ORM for database operations");
503
- break;
504
- case "Flask":
505
- lines.push("## Flask Guidelines");
506
- lines.push("");
507
- lines.push("- Use blueprints to organize routes");
508
- lines.push("- Keep route handlers focused");
509
- lines.push("- Use Flask extensions for common functionality");
510
- break;
511
- case "NestJS":
512
- lines.push("## NestJS Guidelines");
513
- lines.push("");
514
- lines.push("- Follow module-based architecture");
515
- lines.push("- Use dependency injection");
516
- lines.push("- Use decorators for metadata");
517
- lines.push("- Keep controllers thin, services fat");
518
- break;
519
- default:
520
- return null;
521
- }
522
- lines.push("");
523
- return lines.join("\n");
524
- }
525
- /**
526
- * Generate code style section
527
- */
528
- generateCodeStyleSection(info) {
529
- const lines = [];
530
- lines.push("## Code Style");
531
- lines.push("");
532
- if (info.language === "TypeScript") {
533
- lines.push("- Use strict TypeScript settings");
534
- lines.push("- Define types/interfaces for data structures");
535
- lines.push("- Avoid `any` type - use `unknown` if type is truly unknown");
536
- lines.push("- Use type inference where obvious");
537
- } else if (info.language === "Python") {
538
- lines.push("- Follow PEP 8 style guidelines");
539
- lines.push("- Use type hints for function signatures");
540
- lines.push("- Use docstrings for public functions");
541
- } else if (info.language === "Rust") {
542
- lines.push("- Follow Rust naming conventions (snake_case for functions)");
543
- lines.push("- Use descriptive error types");
544
- lines.push("- Prefer `Result` over panicking");
545
- } else if (info.language === "Go") {
546
- lines.push("- Follow Go idioms and conventions");
547
- lines.push("- Use short variable names in small scopes");
548
- lines.push("- Handle errors explicitly");
549
- }
550
- lines.push("- Follow existing patterns in the codebase");
551
- lines.push("- Use meaningful variable and function names");
552
- lines.push("- Add comments for complex logic");
553
- lines.push("- Keep functions focused and small");
554
- if (info.linter) {
555
- lines.push(`- Run **${info.linter}** before committing`);
556
- }
557
- if (info.formatter) {
558
- lines.push(`- Format code with **${info.formatter}**`);
559
- }
560
- lines.push("");
561
- return lines.join("\n");
562
- }
563
- /**
564
- * Generate constraints section
565
- */
566
- generateConstraintsSection() {
567
- const lines = [];
568
- lines.push("## Constraints");
569
- lines.push("");
570
- lines.push("- Do not modify files outside the project directory");
571
- lines.push("- Ask before making breaking changes");
572
- lines.push("- Prefer editing existing files over creating new ones");
573
- lines.push("- Do not delete files without confirmation");
574
- lines.push("- Keep dependencies minimal - avoid adding new ones without good reason");
575
- lines.push("- Do not commit sensitive data (API keys, secrets, credentials)");
576
- lines.push("");
577
- return lines.join("\n");
578
- }
579
- };
580
-
581
305
  // src/onboarding/setupWizard.ts
582
306
  var _chalk = require('chalk'); var _chalk2 = _interopRequireDefault(_chalk);
583
307
 
@@ -611,7 +335,7 @@ async function commandExists(command, cwd) {
611
335
  function parseUnixProcesses(stdout) {
612
336
  return stdout.split("\n").map((line) => line.trim()).filter(Boolean).map((line) => {
613
337
  const match = line.match(/^\d+\s+(.*)$/);
614
- const commandLine = _nullishCoalesce(_optionalChain([match, 'optionalAccess', _4 => _4[1]]), () => ( line));
338
+ const commandLine = _nullishCoalesce(_optionalChain([match, 'optionalAccess', _3 => _3[1]]), () => ( line));
615
339
  const name = _nullishCoalesce(commandLine.split(/\s+/)[0], () => ( ""));
616
340
  return { name, commandLine };
617
341
  });
@@ -735,7 +459,7 @@ var SetupWizard = class {
735
459
  * Run the full onboarding wizard
736
460
  */
737
461
  async run(options) {
738
- if (!_optionalChain([options, 'optionalAccess', _5 => _5.force]) && this.isAlreadyConfigured()) {
462
+ if (!_optionalChain([options, 'optionalAccess', _4 => _4.force]) && this.isAlreadyConfigured()) {
739
463
  return {
740
464
  success: true,
741
465
  config: {},
@@ -744,7 +468,7 @@ var SetupWizard = class {
744
468
  };
745
469
  }
746
470
  try {
747
- if (!_optionalChain([options, 'optionalAccess', _6 => _6.skipWelcome])) {
471
+ if (!_optionalChain([options, 'optionalAccess', _5 => _5.skipWelcome])) {
748
472
  await this.showWelcome();
749
473
  }
750
474
  await this.promptLanguage();
@@ -797,14 +521,14 @@ var SetupWizard = class {
797
521
  await this.promptPermissions();
798
522
  await this.promptTelemetry();
799
523
  await this.promptAutoReport();
800
- if (!_optionalChain([options, 'optionalAccess', _7 => _7.quickSetup])) {
524
+ if (!_optionalChain([options, 'optionalAccess', _6 => _6.quickSetup])) {
801
525
  await this.promptPreferences();
802
526
  } else {
803
527
  this.state.skipped.push("preferences");
804
528
  }
805
- if (!_optionalChain([options, 'optionalAccess', _8 => _8.quickSetup])) {
806
- const wantsAdvanced = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
807
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.advanced.prompt"),
529
+ if (!_optionalChain([options, 'optionalAccess', _7 => _7.quickSetup])) {
530
+ const wantsAdvanced = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
531
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.advanced.prompt"),
808
532
  defaultValue: false
809
533
  });
810
534
  if (wantsAdvanced) {
@@ -821,12 +545,12 @@ var SetupWizard = class {
821
545
  this.state.skipped.push("advanced", "notifications", "network", "search", "mcp", "agentBehavior", "communitySkills");
822
546
  }
823
547
  await this.promptAgentsFile();
824
- if (!_optionalChain([options, 'optionalAccess', _9 => _9.quickSetup])) {
548
+ if (!_optionalChain([options, 'optionalAccess', _8 => _8.quickSetup])) {
825
549
  await this.promptRegistration();
826
550
  } else {
827
551
  this.state.skipped.push("registration");
828
552
  }
829
- if (!_optionalChain([options, 'optionalAccess', _10 => _10.quickSetup])) {
553
+ if (!_optionalChain([options, 'optionalAccess', _9 => _9.quickSetup])) {
830
554
  const confirmed = await this.promptReviewConfirm();
831
555
  if (!confirmed) {
832
556
  this.state = { currentStep: "welcome", skipped: [], completed: false };
@@ -849,7 +573,7 @@ var SetupWizard = class {
849
573
  if (!this.existingConfig) return false;
850
574
  const provider = this.existingConfig.provider;
851
575
  if (!provider) return false;
852
- const providerConfig = _chunkX5P6QQOBcjs.getProviderConfig.call(void 0, this.existingConfig, provider);
576
+ const providerConfig = _chunkCNQKIWIScjs.getProviderConfig.call(void 0, this.existingConfig, provider);
853
577
  if (!providerConfig) return false;
854
578
  if (provider === "openai") {
855
579
  return this.isOpenAIConfigured(providerConfig);
@@ -859,7 +583,7 @@ var SetupWizard = class {
859
583
  return !!(vertexaiConfig.authToken && vertexaiConfig.authToken.length >= 10);
860
584
  }
861
585
  if (provider === "bedrock") {
862
- return _chunkX5P6QQOBcjs.getProviderConfig.call(void 0, this.existingConfig, "bedrock") !== null;
586
+ return _chunkCNQKIWIScjs.getProviderConfig.call(void 0, this.existingConfig, "bedrock") !== null;
863
587
  }
864
588
  if (this.requiresApiKey(provider)) {
865
589
  const apiKey = providerConfig.apiKey;
@@ -888,19 +612,19 @@ var SetupWizard = class {
888
612
  */
889
613
  async promptProvider() {
890
614
  this.state.currentStep = "provider";
891
- const providers = _chunkHC2Q6A3Ecjs.ProviderFactory.getProviderNames(this.existingConfig);
615
+ const providers = _chunkY4MN27V3cjs.ProviderFactory.getProviderNames(this.existingConfig);
892
616
  const options = providers.map((p) => ({
893
617
  label: this.getProviderDisplayName(p),
894
618
  value: p,
895
619
  description: this.getProviderHint(p)
896
620
  }));
897
- const hasValidExistingProvider = _optionalChain([this, 'access', _11 => _11.existingConfig, 'optionalAccess', _12 => _12.provider]) && this.isProviderConfigured(this.existingConfig.provider);
621
+ const hasValidExistingProvider = _optionalChain([this, 'access', _10 => _10.existingConfig, 'optionalAccess', _11 => _11.provider]) && this.isProviderConfigured(this.existingConfig.provider);
898
622
  let initialIndex = 0;
899
623
  if (hasValidExistingProvider) {
900
624
  initialIndex = providers.indexOf(this.existingConfig.provider);
901
625
  }
902
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
903
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.chooseProvider"),
626
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
627
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.chooseProvider"),
904
628
  options,
905
629
  initialIndex: initialIndex >= 0 ? initialIndex : 0
906
630
  });
@@ -908,7 +632,7 @@ var SetupWizard = class {
908
632
  return null;
909
633
  }
910
634
  const selectedProvider = result.value;
911
- if (!_chunkHC2Q6A3Ecjs.ProviderFactory.isValidProvider(selectedProvider, this.existingConfig)) {
635
+ if (!_chunkY4MN27V3cjs.ProviderFactory.isValidProvider(selectedProvider, this.existingConfig)) {
912
636
  return null;
913
637
  }
914
638
  this.state.provider = selectedProvider;
@@ -919,7 +643,7 @@ var SetupWizard = class {
919
643
  */
920
644
  isProviderConfigured(provider) {
921
645
  if (!this.existingConfig) return false;
922
- const providerConfig = _chunkX5P6QQOBcjs.getProviderConfig.call(void 0, this.existingConfig, provider);
646
+ const providerConfig = _chunkCNQKIWIScjs.getProviderConfig.call(void 0, this.existingConfig, provider);
923
647
  if (!providerConfig) return false;
924
648
  if (provider === "openai") {
925
649
  return this.isOpenAIConfigured(providerConfig);
@@ -941,7 +665,7 @@ var SetupWizard = class {
941
665
  this.state.currentStep = "apiKey";
942
666
  const existingKey = this.getExistingApiKey(provider);
943
667
  if (existingKey && existingKey !== "replace-me") {
944
- const useExisting = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
668
+ const useExisting = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
945
669
  title: `Use existing ${this.getProviderDisplayName(provider)} API key? (ends with ...${existingKey.slice(-4)})`,
946
670
  defaultValue: true
947
671
  });
@@ -950,13 +674,13 @@ var SetupWizard = class {
950
674
  return existingKey;
951
675
  }
952
676
  }
953
- console.log(_chalk2.default.gray("\n " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.apiKeyUrl", { url: this.getApiKeyUrl(provider) }) + "\n"));
954
- const apiKey = await _chunkCK4HAHVYcjs.showPassword.call(void 0, {
955
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.enterApiKey", { provider: this.getProviderDisplayName(provider) }),
956
- placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder"),
677
+ console.log(_chalk2.default.gray("\n " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.apiKeyUrl", { url: this.getApiKeyUrl(provider) }) + "\n"));
678
+ const apiKey = await _chunkDMM2BKSVcjs.showPassword.call(void 0, {
679
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.enterApiKey", { provider: this.getProviderDisplayName(provider) }),
680
+ placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder"),
957
681
  validate: (val) => {
958
- if (!_optionalChain([val, 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()])) return _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.apiKeyRequired");
959
- if (val.length < 10) return _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.apiKeyTooShort");
682
+ if (!_optionalChain([val, 'optionalAccess', _12 => _12.trim, 'call', _13 => _13()])) return _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.apiKeyRequired");
683
+ if (val.length < 10) return _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.apiKeyTooShort");
960
684
  return true;
961
685
  }
962
686
  });
@@ -967,40 +691,40 @@ var SetupWizard = class {
967
691
  return this.state.apiKey;
968
692
  }
969
693
  async promptOpenAIAuthMode() {
970
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
971
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.chooseTitle"),
694
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
695
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.chooseTitle"),
972
696
  options: [
973
697
  {
974
- label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.apiKeyLabel"),
698
+ label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.apiKeyLabel"),
975
699
  value: "api-key",
976
- description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.apiKeyDescription")
700
+ description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.apiKeyDescription")
977
701
  },
978
702
  {
979
- label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.chatgptLabel"),
703
+ label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.chatgptLabel"),
980
704
  value: "chatgpt",
981
- description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.chatgptDescription")
705
+ description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.chatgptDescription")
982
706
  }
983
707
  ],
984
708
  initialIndex: this.getExistingOpenAIAuthMode() === "chatgpt" ? 1 : 0
985
709
  });
986
- return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _15 => _15.value]), () => ( null));
710
+ return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _14 => _14.value]), () => ( null));
987
711
  }
988
712
  async promptOpenAIChatGPTAuth() {
989
713
  const existing = this.getExistingOpenAIChatGPTAuth();
990
- if (existing && !_chunkHC2Q6A3Ecjs.isChatGPTAuthExpired.call(void 0, existing)) {
714
+ if (existing && !_chunkY4MN27V3cjs.isChatGPTAuthExpired.call(void 0, existing)) {
991
715
  this.state.openAIChatGPTAuth = existing;
992
716
  return existing;
993
717
  }
994
718
  try {
995
719
  console.log(_chalk2.default.gray(`
996
- ${_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.starting")}`));
997
- const auth = await _chunkHC2Q6A3Ecjs.authenticateOpenAIChatGPT.call(void 0, {
720
+ ${_chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.starting")}`));
721
+ const auth = await _chunkY4MN27V3cjs.authenticateOpenAIChatGPT.call(void 0, {
998
722
  onPrompt: ({ authorizationUrl, browserOpened }) => {
999
723
  console.log(_chalk2.default.gray(`
1000
- ${_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.browserPrompt")}`));
724
+ ${_chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.browserPrompt")}`));
1001
725
  console.log(_chalk2.default.white(` ${authorizationUrl}`));
1002
- console.log(_chalk2.default.gray(` ${browserOpened ? _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.browserOpened") : _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.openManually")}`));
1003
- console.log(_chalk2.default.gray(` ${_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.waiting")}
726
+ console.log(_chalk2.default.gray(` ${browserOpened ? _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.browserOpened") : _chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.openManually")}`));
727
+ console.log(_chalk2.default.gray(` ${_chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.waiting")}
1004
728
  `));
1005
729
  }
1006
730
  });
@@ -1009,7 +733,7 @@ var SetupWizard = class {
1009
733
  } catch (error) {
1010
734
  const message = error instanceof Error ? error.message : String(error);
1011
735
  console.log(_chalk2.default.red(`
1012
- ${_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.openaiAuth.failed", { message })}`));
736
+ ${_chunkRJCZLFHEcjs.t.call(void 0, "providers.openaiAuth.failed", { message })}`));
1013
737
  throw error;
1014
738
  }
1015
739
  }
@@ -1024,13 +748,30 @@ var SetupWizard = class {
1024
748
  return this.state.model;
1025
749
  }
1026
750
  if (provider === "zai") {
1027
- const options = _chunkHC2Q6A3Ecjs.ZAI_MODELS.map((modelName) => ({
751
+ const options = _chunkY4MN27V3cjs.ZAI_MODELS.map((modelName) => ({
1028
752
  label: modelName,
1029
753
  value: modelName
1030
754
  }));
1031
- const defaultIndex = Math.max(0, _chunkHC2Q6A3Ecjs.ZAI_MODELS.indexOf(defaultModel));
1032
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1033
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
755
+ const defaultIndex = Math.max(0, _chunkY4MN27V3cjs.ZAI_MODELS.indexOf(defaultModel));
756
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
757
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
758
+ options,
759
+ initialIndex: defaultIndex >= 0 ? defaultIndex : 0
760
+ });
761
+ if (!result) {
762
+ return null;
763
+ }
764
+ this.state.model = result.value;
765
+ return this.state.model;
766
+ }
767
+ if (provider === "sakana") {
768
+ const options = _chunkY4MN27V3cjs.SAKANA_MODELS.map((modelName) => ({
769
+ label: modelName,
770
+ value: modelName
771
+ }));
772
+ const defaultIndex = Math.max(0, _chunkY4MN27V3cjs.SAKANA_MODELS.indexOf(defaultModel));
773
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
774
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1034
775
  options,
1035
776
  initialIndex: defaultIndex >= 0 ? defaultIndex : 0
1036
777
  });
@@ -1041,13 +782,13 @@ var SetupWizard = class {
1041
782
  return this.state.model;
1042
783
  }
1043
784
  if (provider === "cerebras") {
1044
- const options = _chunkHC2Q6A3Ecjs.CEREBRAS_MODELS.map((modelName) => ({
785
+ const options = _chunkY4MN27V3cjs.CEREBRAS_MODELS.map((modelName) => ({
1045
786
  label: modelName,
1046
787
  value: modelName
1047
788
  }));
1048
- const defaultIndex = Math.max(0, _chunkHC2Q6A3Ecjs.CEREBRAS_MODELS.indexOf(defaultModel));
1049
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1050
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
789
+ const defaultIndex = Math.max(0, _chunkY4MN27V3cjs.CEREBRAS_MODELS.indexOf(defaultModel));
790
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
791
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1051
792
  options,
1052
793
  initialIndex: defaultIndex >= 0 ? defaultIndex : 0
1053
794
  });
@@ -1058,13 +799,13 @@ var SetupWizard = class {
1058
799
  return this.state.model;
1059
800
  }
1060
801
  if (provider === "deepseek") {
1061
- const options = _chunkHC2Q6A3Ecjs.DEEPSEEK_MODELS.map((modelName) => ({
802
+ const options = _chunkY4MN27V3cjs.DEEPSEEK_MODELS.map((modelName) => ({
1062
803
  label: modelName,
1063
804
  value: modelName
1064
805
  }));
1065
- const defaultIndex = Math.max(0, _chunkHC2Q6A3Ecjs.DEEPSEEK_MODELS.indexOf(defaultModel));
1066
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1067
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
806
+ const defaultIndex = Math.max(0, _chunkY4MN27V3cjs.DEEPSEEK_MODELS.indexOf(defaultModel));
807
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
808
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1068
809
  options,
1069
810
  initialIndex: defaultIndex >= 0 ? defaultIndex : 0
1070
811
  });
@@ -1075,9 +816,9 @@ var SetupWizard = class {
1075
816
  return this.state.model;
1076
817
  }
1077
818
  if (provider === "bedrock") {
1078
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1079
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
1080
- options: _chunkHC2Q6A3Ecjs.BEDROCK_MODELS.map((modelName) => ({
819
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
820
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
821
+ options: _chunkY4MN27V3cjs.BEDROCK_MODELS.map((modelName) => ({
1081
822
  label: modelName,
1082
823
  value: modelName
1083
824
  })),
@@ -1090,14 +831,14 @@ var SetupWizard = class {
1090
831
  return this.state.model;
1091
832
  }
1092
833
  if (provider === "nvidia") {
1093
- const { NVIDIA_MODELS } = await Promise.resolve().then(() => _interopRequireWildcard(require("./NVIDIAProvider-C3FWQOBZ.cjs")));
834
+ const { NVIDIA_MODELS } = await Promise.resolve().then(() => _interopRequireWildcard(require("./NVIDIAProvider-L5GTYRCQ.cjs")));
1094
835
  const options = [...NVIDIA_MODELS].map((modelName) => ({
1095
836
  label: modelName,
1096
837
  value: modelName
1097
838
  }));
1098
839
  const defaultIndex = Math.max(0, [...NVIDIA_MODELS].indexOf(defaultModel));
1099
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1100
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
840
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
841
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1101
842
  options,
1102
843
  initialIndex: defaultIndex >= 0 ? defaultIndex : 0
1103
844
  });
@@ -1107,11 +848,11 @@ var SetupWizard = class {
1107
848
  this.state.model = result.value;
1108
849
  return this.state.model;
1109
850
  }
1110
- const model = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1111
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.enterModelId"),
851
+ const model = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
852
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.enterModelId"),
1112
853
  defaultValue: defaultModel,
1113
854
  validate: (val) => {
1114
- return _optionalChain([val, 'optionalAccess', _16 => _16.trim, 'call', _17 => _17()]) ? true : "Model is required";
855
+ return _optionalChain([val, 'optionalAccess', _15 => _15.trim, 'call', _16 => _16()]) ? true : "Model is required";
1115
856
  }
1116
857
  });
1117
858
  if (!model) {
@@ -1131,8 +872,8 @@ var SetupWizard = class {
1131
872
  { label: "high", value: "high", description: "Thorough reasoning (recommended)" },
1132
873
  { label: "xhigh", value: "xhigh", description: "Maximum reasoning depth" }
1133
874
  ];
1134
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1135
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectReasoningEffort"),
875
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
876
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectReasoningEffort"),
1136
877
  options,
1137
878
  initialIndex: 3
1138
879
  // default to 'high'
@@ -1164,7 +905,7 @@ var SetupWizard = class {
1164
905
  console.log(_chalk2.default.gray(" - API keys or credentials"));
1165
906
  console.log(_chalk2.default.gray(" - Personal information"));
1166
907
  console.log();
1167
- const telemetryEnabled = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
908
+ const telemetryEnabled = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1168
909
  title: "Share anonymous usage data to help improve Autohand?",
1169
910
  defaultValue: true
1170
911
  });
@@ -1197,7 +938,7 @@ var SetupWizard = class {
1197
938
  console.log(_chalk2.default.gray(" - API keys or credentials"));
1198
939
  console.log(_chalk2.default.gray(" - Personal information"));
1199
940
  console.log();
1200
- const autoReportEnabled = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
941
+ const autoReportEnabled = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1201
942
  title: "Automatically report errors to help us fix bugs faster?",
1202
943
  defaultValue: true
1203
944
  });
@@ -1213,7 +954,7 @@ var SetupWizard = class {
1213
954
  */
1214
955
  async promptPreferences() {
1215
956
  this.state.currentStep = "preferences";
1216
- const configurePrefs = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
957
+ const configurePrefs = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1217
958
  title: "Would you like to configure additional preferences? (theme, auto-confirm)",
1218
959
  defaultValue: false
1219
960
  });
@@ -1238,16 +979,16 @@ var SetupWizard = class {
1238
979
  value: themeName,
1239
980
  description: themeDescriptions[themeName]
1240
981
  }));
1241
- const themeResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
982
+ const themeResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1242
983
  title: "Select a theme",
1243
984
  options: themeOptions
1244
985
  });
1245
- const theme = _optionalChain([themeResult, 'optionalAccess', _18 => _18.value]) || "dark";
1246
- const autoConfirm = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
986
+ const theme = _optionalChain([themeResult, 'optionalAccess', _17 => _17.value]) || "dark";
987
+ const autoConfirm = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1247
988
  title: "Auto-confirm non-destructive actions?",
1248
989
  defaultValue: false
1249
990
  });
1250
- const checkForUpdates = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
991
+ const checkForUpdates = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1251
992
  title: "Check for updates on startup?",
1252
993
  defaultValue: true
1253
994
  });
@@ -1261,7 +1002,7 @@ var SetupWizard = class {
1261
1002
  const agentsPath = _path.join.call(void 0, this.workspaceRoot, "AGENTS.md");
1262
1003
  const exists = await _fsextra2.default.pathExists(agentsPath);
1263
1004
  if (exists) {
1264
- const overwrite = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1005
+ const overwrite = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1265
1006
  title: "AGENTS.md already exists. Would you like to regenerate it?",
1266
1007
  defaultValue: false
1267
1008
  });
@@ -1279,7 +1020,7 @@ var SetupWizard = class {
1279
1020
  console.log(_chalk2.default.gray(" AGENTS.md helps Autohand understand your project better."));
1280
1021
  console.log(_chalk2.default.gray(" It contains instructions specific to your codebase."));
1281
1022
  console.log();
1282
- const createAgents = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1023
+ const createAgents = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1283
1024
  title: "Generate AGENTS.md based on your project?",
1284
1025
  defaultValue: true
1285
1026
  });
@@ -1309,7 +1050,7 @@ var SetupWizard = class {
1309
1050
  console.log(_chalk2.default.white(` - Test framework: ${projectInfo.testFramework}`));
1310
1051
  }
1311
1052
  }
1312
- const generator = new AgentsGenerator();
1053
+ const generator = new (0, _chunkCMEZ42F2cjs.AgentsGenerator)();
1313
1054
  const content = generator.generateContent(projectInfo);
1314
1055
  await _fsextra2.default.writeFile(agentsPath, content);
1315
1056
  this.state.agentsFileCreated = true;
@@ -1326,51 +1067,51 @@ var SetupWizard = class {
1326
1067
  this.state.currentStep = "registration";
1327
1068
  console.log();
1328
1069
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1329
- console.log(_chalk2.default.white.bold(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.title")));
1070
+ console.log(_chalk2.default.white.bold(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.title")));
1330
1071
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1331
1072
  console.log();
1332
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.descriptionMandatory")));
1073
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.descriptionMandatory")));
1333
1074
  console.log();
1334
- const authClient = _chunkCO2AADYUcjs.getAuthClient.call(void 0, );
1335
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.initiating")));
1075
+ const authClient = _chunkAZKOIF2Gcjs.getAuthClient.call(void 0, );
1076
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.initiating")));
1336
1077
  const initResult = await authClient.initiateDeviceAuth();
1337
1078
  if (!initResult.success || !initResult.deviceCode || !initResult.userCode) {
1338
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.failed", { error: initResult.error || "Unknown error" })));
1339
- const retry2 = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1340
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.retryPrompt"),
1079
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.failed", { error: initResult.error || "Unknown error" })));
1080
+ const retry2 = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1081
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.retryPrompt"),
1341
1082
  defaultValue: true
1342
1083
  });
1343
1084
  if (retry2) {
1344
1085
  return this.promptRegistration();
1345
1086
  }
1346
1087
  this.state.skipped.push("registration");
1347
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.tryLater")));
1088
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.tryLater")));
1348
1089
  return;
1349
1090
  }
1350
- const authUrl = initResult.verificationUriComplete || `${_chunkKASXKDF2cjs.AUTH_CONFIG.authorizationUrl}?code=${initResult.userCode}`;
1091
+ const authUrl = initResult.verificationUriComplete || `${_chunk3JURXAL6cjs.AUTH_CONFIG.authorizationUrl}?code=${initResult.userCode}`;
1351
1092
  console.log();
1352
- console.log(_chalk2.default.white(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.visit")));
1093
+ console.log(_chalk2.default.white(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.visit")));
1353
1094
  console.log(_chalk2.default.cyan(" " + authUrl));
1354
1095
  console.log();
1355
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.code")));
1096
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.code")));
1356
1097
  console.log(_chalk2.default.bold.yellow(` ${initResult.userCode}`));
1357
1098
  console.log();
1358
1099
  try {
1359
1100
  const open = await Promise.resolve().then(() => _interopRequireWildcard(require("open"))).then((m) => m.default).catch(() => null);
1360
1101
  if (open) {
1361
1102
  await open(authUrl);
1362
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.browserOpened")));
1103
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.browserOpened")));
1363
1104
  } else {
1364
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.openManually")));
1105
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.openManually")));
1365
1106
  }
1366
1107
  } catch (e12) {
1367
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.openManually")));
1108
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.openManually")));
1368
1109
  }
1369
1110
  console.log();
1370
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.waiting")));
1111
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.waiting")));
1371
1112
  const startTime = Date.now();
1372
1113
  const timeout = 3 * 60 * 1e3;
1373
- const pollInterval = initResult.interval ? initResult.interval * 1e3 : _chunkKASXKDF2cjs.AUTH_CONFIG.pollInterval;
1114
+ const pollInterval = initResult.interval ? initResult.interval * 1e3 : _chunk3JURXAL6cjs.AUTH_CONFIG.pollInterval;
1374
1115
  let dots = 0;
1375
1116
  const maxDots = 3;
1376
1117
  while (Date.now() - startTime < timeout) {
@@ -1383,35 +1124,35 @@ var SetupWizard = class {
1383
1124
  this.state.authToken = pollResult.token;
1384
1125
  this.state.authUser = pollResult.user;
1385
1126
  console.log();
1386
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.success", { name: pollResult.user.name || pollResult.user.email })));
1127
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.success", { name: pollResult.user.name || pollResult.user.email })));
1387
1128
  return;
1388
1129
  }
1389
1130
  if (pollResult.status === "expired") {
1390
1131
  process.stdout.write("\r" + " ".repeat(20) + "\r");
1391
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.expired")));
1392
- const retry2 = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1393
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.retryPrompt"),
1132
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.expired")));
1133
+ const retry2 = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1134
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.retryPrompt"),
1394
1135
  defaultValue: true
1395
1136
  });
1396
1137
  if (retry2) {
1397
1138
  return this.promptRegistration();
1398
1139
  }
1399
1140
  this.state.skipped.push("registration");
1400
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.tryLater")));
1141
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.tryLater")));
1401
1142
  return;
1402
1143
  }
1403
1144
  }
1404
1145
  process.stdout.write("\r" + " ".repeat(20) + "\r");
1405
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.timeout")));
1406
- const retry = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1407
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.retryPrompt"),
1146
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.timeout")));
1147
+ const retry = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1148
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.retryPrompt"),
1408
1149
  defaultValue: true
1409
1150
  });
1410
1151
  if (retry) {
1411
1152
  return this.promptRegistration();
1412
1153
  }
1413
1154
  this.state.skipped.push("registration");
1414
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.registration.tryLater")));
1155
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.registration.tryLater")));
1415
1156
  }
1416
1157
  sleep(ms) {
1417
1158
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -1557,21 +1298,21 @@ var SetupWizard = class {
1557
1298
  */
1558
1299
  async promptAzureConfig() {
1559
1300
  this.state.currentStep = "apiKey";
1560
- console.log(_chalk2.default.cyan("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.title")));
1561
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.getStarted") + "\n"));
1562
- console.log(_chalk2.default.yellow(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.setupSteps.title")));
1563
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step1")));
1564
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step2")));
1565
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step3")));
1566
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step4")));
1301
+ console.log(_chalk2.default.cyan("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.title")));
1302
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.getStarted") + "\n"));
1303
+ console.log(_chalk2.default.yellow(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.setupSteps.title")));
1304
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step1")));
1305
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step2")));
1306
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step3")));
1307
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.setupSteps.step4")));
1567
1308
  console.log();
1568
1309
  const authChoices = [
1569
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.authApiKey"), value: "api-key" },
1570
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.authEntraId"), value: "entra-id" },
1571
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.authManagedIdentity"), value: "managed-identity" }
1310
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.authApiKey"), value: "api-key" },
1311
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.authEntraId"), value: "entra-id" },
1312
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.authManagedIdentity"), value: "managed-identity" }
1572
1313
  ];
1573
- const authResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1574
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.selectAuthMethod"),
1314
+ const authResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1315
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.selectAuthMethod"),
1575
1316
  options: authChoices
1576
1317
  });
1577
1318
  if (!authResult) return false;
@@ -1581,27 +1322,27 @@ var SetupWizard = class {
1581
1322
  let clientId;
1582
1323
  let clientSecret;
1583
1324
  if (authMethod === "api-key") {
1584
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.apiKeyLocation") + "\n"));
1585
- apiKey = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showPassword.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterAzureApiKey"), placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder") }), async () => ( void 0));
1325
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.apiKeyLocation") + "\n"));
1326
+ apiKey = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showPassword.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterAzureApiKey"), placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder") }), async () => ( void 0));
1586
1327
  if (!apiKey) return false;
1587
1328
  } else if (authMethod === "entra-id") {
1588
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.entraIdDescription")));
1589
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.entraIdDocs") + "\n"));
1590
- tenantId = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterTenantId") }), async () => ( void 0));
1329
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.entraIdDescription")));
1330
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.entraIdDocs") + "\n"));
1331
+ tenantId = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterTenantId") }), async () => ( void 0));
1591
1332
  if (!tenantId) return false;
1592
- clientId = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterClientId") }), async () => ( void 0));
1333
+ clientId = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterClientId") }), async () => ( void 0));
1593
1334
  if (!clientId) return false;
1594
- clientSecret = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showPassword.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterClientSecret") }), async () => ( void 0));
1335
+ clientSecret = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showPassword.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterClientSecret") }), async () => ( void 0));
1595
1336
  if (!clientSecret) return false;
1596
1337
  } else {
1597
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.managedIdentityDescription")));
1598
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.managedIdentityDocs") + "\n"));
1338
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.managedIdentityDescription")));
1339
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.managedIdentityDocs") + "\n"));
1599
1340
  }
1600
- const endpointChoice = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1601
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.endpointChoice"),
1341
+ const endpointChoice = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1342
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.endpointChoice"),
1602
1343
  options: [
1603
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.endpointStructured"), value: "structured" },
1604
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.endpointUrl"), value: "url" }
1344
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.endpointStructured"), value: "structured" },
1345
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.endpointUrl"), value: "url" }
1605
1346
  ]
1606
1347
  });
1607
1348
  if (!endpointChoice) return false;
@@ -1609,28 +1350,28 @@ var SetupWizard = class {
1609
1350
  let deploymentName;
1610
1351
  let baseUrl;
1611
1352
  if (endpointChoice.value === "structured") {
1612
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.endpointUrlHint")));
1613
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.endpointUrlExample") + "\n"));
1614
- resourceName = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterEndpointOrResource") }), async () => ( void 0));
1353
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.endpointUrlHint")));
1354
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.endpointUrlExample") + "\n"));
1355
+ resourceName = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterEndpointOrResource") }), async () => ( void 0));
1615
1356
  if (!resourceName) return false;
1616
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.deploymentHint")));
1617
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.deploymentNotUrl") + "\n"));
1618
- deploymentName = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterDeploymentName"), defaultValue: "gpt-5.3-codex" }), async () => ( void 0));
1357
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.deploymentHint")));
1358
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.deploymentNotUrl") + "\n"));
1359
+ deploymentName = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterDeploymentName"), defaultValue: "gpt-5.3-codex" }), async () => ( void 0));
1619
1360
  if (!deploymentName) return false;
1620
1361
  if (deploymentName.startsWith("http://") || deploymentName.startsWith("https://")) {
1621
- console.log(_chalk2.default.red("\n\u2717 " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlError")));
1622
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlErrorHint")));
1623
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlErrorLocation") + "\n"));
1362
+ console.log(_chalk2.default.red("\n\u2717 " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlError")));
1363
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlErrorHint")));
1364
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.deploymentUrlErrorLocation") + "\n"));
1624
1365
  return false;
1625
1366
  }
1626
1367
  } else {
1627
- baseUrl = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1628
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.enterFullEndpointUrl"),
1368
+ baseUrl = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1369
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.enterFullEndpointUrl"),
1629
1370
  defaultValue: "https://your-resource.openai.azure.com/openai/deployments/gpt-5.3-codex"
1630
1371
  }), async () => ( void 0));
1631
1372
  if (!baseUrl) return false;
1632
1373
  }
1633
- const apiVersion = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showInput.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.apiVersion"), defaultValue: "2024-10-21" }), async () => ( void 0));
1374
+ const apiVersion = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showInput.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.apiVersion"), defaultValue: "2024-10-21" }), async () => ( void 0));
1634
1375
  if (!apiVersion) return false;
1635
1376
  const model = _nullishCoalesce(deploymentName, () => ( "gpt-5.3-codex"));
1636
1377
  const azureConfig = {
@@ -1647,9 +1388,9 @@ var SetupWizard = class {
1647
1388
  };
1648
1389
  this.state.azureConfig = azureConfig;
1649
1390
  this.state.model = model;
1650
- console.log(_chalk2.default.green("\n\u2713 " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.azure") })));
1651
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.azure.authLabel", { method: authMethod })));
1652
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1391
+ console.log(_chalk2.default.green("\n\u2713 " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkRJCZLFHEcjs.t.call(void 0, "providers.azure") })));
1392
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.azure.authLabel", { method: authMethod })));
1393
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1653
1394
  console.log();
1654
1395
  return true;
1655
1396
  }
@@ -1660,15 +1401,15 @@ var SetupWizard = class {
1660
1401
  */
1661
1402
  async promptVertexAIConfig() {
1662
1403
  this.state.currentStep = "apiKey";
1663
- console.log(_chalk2.default.cyan("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.title")));
1664
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.getStarted") + "\n"));
1665
- const gcloudInstalled = await _chunkHC2Q6A3Ecjs.isGcloudInstalled.call(void 0, );
1666
- const gcloudAccount = gcloudInstalled ? await _chunkHC2Q6A3Ecjs.getGcloudAccount.call(void 0, ) : null;
1667
- const gcloudProject = gcloudInstalled ? await _chunkHC2Q6A3Ecjs.getGcloudProject.call(void 0, ) : null;
1668
- const existingConfig = _optionalChain([this, 'access', _19 => _19.existingConfig, 'optionalAccess', _20 => _20.vertexai]);
1669
- const existingProjectId = _optionalChain([existingConfig, 'optionalAccess', _21 => _21.projectId]);
1670
- const existingEndpoint = _optionalChain([existingConfig, 'optionalAccess', _22 => _22.endpoint]);
1671
- const existingRegion = _optionalChain([existingConfig, 'optionalAccess', _23 => _23.region]);
1404
+ console.log(_chalk2.default.cyan("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.title")));
1405
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.getStarted") + "\n"));
1406
+ const gcloudInstalled = await _chunkY4MN27V3cjs.isGcloudInstalled.call(void 0, );
1407
+ const gcloudAccount = gcloudInstalled ? await _chunkY4MN27V3cjs.getGcloudAccount.call(void 0, ) : null;
1408
+ const gcloudProject = gcloudInstalled ? await _chunkY4MN27V3cjs.getGcloudProject.call(void 0, ) : null;
1409
+ const existingConfig = _optionalChain([this, 'access', _18 => _18.existingConfig, 'optionalAccess', _19 => _19.vertexai]);
1410
+ const existingProjectId = _optionalChain([existingConfig, 'optionalAccess', _20 => _20.projectId]);
1411
+ const existingEndpoint = _optionalChain([existingConfig, 'optionalAccess', _21 => _21.endpoint]);
1412
+ const existingRegion = _optionalChain([existingConfig, 'optionalAccess', _22 => _22.region]);
1672
1413
  if (gcloudInstalled) {
1673
1414
  console.log(_chalk2.default.green(" \u2713 gcloud CLI detected"));
1674
1415
  if (gcloudAccount) {
@@ -1684,19 +1425,19 @@ var SetupWizard = class {
1684
1425
  console.log(_chalk2.default.gray(" https://cloud.google.com/sdk/docs/install"));
1685
1426
  console.log();
1686
1427
  }
1687
- const endpoint = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1688
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.enterEndpoint"),
1428
+ const endpoint = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1429
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.enterEndpoint"),
1689
1430
  defaultValue: existingEndpoint || "aiplatform.googleapis.com"
1690
1431
  });
1691
1432
  if (!endpoint) return false;
1692
- const region = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1693
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.enterRegion"),
1433
+ const region = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1434
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.enterRegion"),
1694
1435
  defaultValue: existingRegion || "global"
1695
1436
  });
1696
1437
  if (!region) return false;
1697
1438
  const defaultProjectId = existingProjectId || gcloudProject || "";
1698
- const projectId = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1699
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.enterProjectId"),
1439
+ const projectId = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1440
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.enterProjectId"),
1700
1441
  defaultValue: defaultProjectId,
1701
1442
  placeholder: "YOUR_PROJECT_ID"
1702
1443
  });
@@ -1704,7 +1445,7 @@ var SetupWizard = class {
1704
1445
  let authToken;
1705
1446
  if (gcloudInstalled) {
1706
1447
  console.log(_chalk2.default.gray("\n Fetching access token from gcloud..."));
1707
- const tokenResult = await _chunkHC2Q6A3Ecjs.getGcloudAccessToken.call(void 0, );
1448
+ const tokenResult = await _chunkY4MN27V3cjs.getGcloudAccessToken.call(void 0, );
1708
1449
  if (tokenResult.token) {
1709
1450
  console.log(_chalk2.default.green(" \u2713 Access token obtained (valid for ~25 minutes)"));
1710
1451
  console.log(_chalk2.default.gray(" Tokens are automatically refreshed when using gcloud."));
@@ -1713,30 +1454,30 @@ var SetupWizard = class {
1713
1454
  console.log(_chalk2.default.yellow(` \u26A0 ${tokenResult.error}`));
1714
1455
  console.log(_chalk2.default.gray(" Please enter token manually or run: gcloud auth login"));
1715
1456
  console.log();
1716
- const manualToken = await _chunkCK4HAHVYcjs.showPassword.call(void 0, {
1717
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.enterAuthToken"),
1718
- placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder")
1457
+ const manualToken = await _chunkDMM2BKSVcjs.showPassword.call(void 0, {
1458
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.enterAuthToken"),
1459
+ placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder")
1719
1460
  });
1720
1461
  if (!manualToken) return false;
1721
1462
  authToken = manualToken;
1722
1463
  }
1723
1464
  } else {
1724
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.authTokenHint")));
1725
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.authTokenCommand")));
1465
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.authTokenHint")));
1466
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.authTokenCommand")));
1726
1467
  console.log();
1727
- const manualToken = await _chunkCK4HAHVYcjs.showPassword.call(void 0, {
1728
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.vertexai.enterAuthToken"),
1729
- placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder")
1468
+ const manualToken = await _chunkDMM2BKSVcjs.showPassword.call(void 0, {
1469
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.vertexai.enterAuthToken"),
1470
+ placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder")
1730
1471
  });
1731
1472
  if (!manualToken) return false;
1732
1473
  authToken = manualToken;
1733
1474
  }
1734
- const modelOptions = _chunkHC2Q6A3Ecjs.VERTEX_AI_CODING_MODELS.map((name) => ({
1475
+ const modelOptions = _chunkY4MN27V3cjs.VERTEX_AI_CODING_MODELS.map((name) => ({
1735
1476
  label: name,
1736
1477
  value: name
1737
1478
  }));
1738
- const modelResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1739
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
1479
+ const modelResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1480
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1740
1481
  options: modelOptions,
1741
1482
  allowCustomInput: true
1742
1483
  });
@@ -1753,8 +1494,8 @@ var SetupWizard = class {
1753
1494
  projectId,
1754
1495
  model
1755
1496
  };
1756
- console.log(_chalk2.default.green("\n\u2713 " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.vertexai") })));
1757
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1497
+ console.log(_chalk2.default.green("\n\u2713 " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkRJCZLFHEcjs.t.call(void 0, "providers.vertexai") })));
1498
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1758
1499
  if (gcloudInstalled) {
1759
1500
  console.log(_chalk2.default.gray(" Token auto-refresh enabled via gcloud CLI"));
1760
1501
  }
@@ -1763,49 +1504,49 @@ var SetupWizard = class {
1763
1504
  }
1764
1505
  async promptBedrockConfig() {
1765
1506
  this.state.currentStep = "apiKey";
1766
- console.log(_chalk2.default.cyan("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.title")));
1767
- console.log(_chalk2.default.gray(_chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.getStarted") + "\n"));
1768
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.awsCredentialsHint")));
1769
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modelAccessHint") + "\n"));
1770
- const existing = _optionalChain([this, 'access', _24 => _24.existingConfig, 'optionalAccess', _25 => _25.bedrock]);
1771
- const apiMode = await this.promptBedrockApiMode(_optionalChain([existing, 'optionalAccess', _26 => _26.apiMode]));
1507
+ console.log(_chalk2.default.cyan("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.title")));
1508
+ console.log(_chalk2.default.gray(_chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.getStarted") + "\n"));
1509
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.awsCredentialsHint")));
1510
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modelAccessHint") + "\n"));
1511
+ const existing = _optionalChain([this, 'access', _23 => _23.existingConfig, 'optionalAccess', _24 => _24.bedrock]);
1512
+ const apiMode = await this.promptBedrockApiMode(_optionalChain([existing, 'optionalAccess', _25 => _25.apiMode]));
1772
1513
  if (!apiMode) return false;
1773
- const authMode = await this.promptBedrockAuthMode(apiMode, _optionalChain([existing, 'optionalAccess', _27 => _27.authMode]));
1514
+ const authMode = await this.promptBedrockAuthMode(apiMode, _optionalChain([existing, 'optionalAccess', _26 => _26.authMode]));
1774
1515
  if (!authMode) return false;
1775
- let apiKey = _optionalChain([existing, 'optionalAccess', _28 => _28.apiKey]);
1516
+ let apiKey = _optionalChain([existing, 'optionalAccess', _27 => _27.apiKey]);
1776
1517
  if (authMode === "bedrock-api-key") {
1777
- console.log(_chalk2.default.gray("\n" + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.apiKeyHint") + "\n"));
1778
- apiKey = await _asyncNullishCoalesce(await _chunkCK4HAHVYcjs.showPassword.call(void 0, {
1779
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.enterApiKey", { provider: this.getProviderDisplayName("bedrock") }),
1780
- placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder"),
1518
+ console.log(_chalk2.default.gray("\n" + _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.apiKeyHint") + "\n"));
1519
+ apiKey = await _asyncNullishCoalesce(await _chunkDMM2BKSVcjs.showPassword.call(void 0, {
1520
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.enterApiKey", { provider: this.getProviderDisplayName("bedrock") }),
1521
+ placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder"),
1781
1522
  validate: (val) => {
1782
- if (!_optionalChain([val, 'optionalAccess', _29 => _29.trim, 'call', _30 => _30()])) return _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.apiKeyRequired");
1783
- if (val.length < 10) return _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.apiKeyTooShort");
1523
+ if (!_optionalChain([val, 'optionalAccess', _28 => _28.trim, 'call', _29 => _29()])) return _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.apiKeyRequired");
1524
+ if (val.length < 10) return _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.apiKeyTooShort");
1784
1525
  return true;
1785
1526
  }
1786
1527
  }), async () => ( void 0));
1787
1528
  if (!apiKey) return false;
1788
1529
  }
1789
- const region = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1790
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.enterRegion"),
1791
- defaultValue: _optionalChain([existing, 'optionalAccess', _31 => _31.region]) || process.env.AWS_REGION || process.env.AWS_DEFAULT_REGION || _chunkHC2Q6A3Ecjs.BEDROCK_DEFAULT_REGION
1530
+ const region = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1531
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.enterRegion"),
1532
+ defaultValue: _optionalChain([existing, 'optionalAccess', _30 => _30.region]) || process.env.AWS_REGION || process.env.AWS_DEFAULT_REGION || _chunkY4MN27V3cjs.BEDROCK_DEFAULT_REGION
1792
1533
  });
1793
1534
  if (!region) return false;
1794
- const profile = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1795
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.enterProfile"),
1796
- defaultValue: _optionalChain([existing, 'optionalAccess', _32 => _32.profile]) || "",
1535
+ const profile = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1536
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.enterProfile"),
1537
+ defaultValue: _optionalChain([existing, 'optionalAccess', _31 => _31.profile]) || "",
1797
1538
  placeholder: "enterprise-prod"
1798
1539
  });
1799
- const endpoint = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1800
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.enterEndpoint"),
1801
- defaultValue: _optionalChain([existing, 'optionalAccess', _33 => _33.endpoint]) || "",
1802
- placeholder: _chunkHC2Q6A3Ecjs.resolveBedrockEndpoint.call(void 0, apiMode, region)
1540
+ const endpoint = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1541
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.enterEndpoint"),
1542
+ defaultValue: _optionalChain([existing, 'optionalAccess', _32 => _32.endpoint]) || "",
1543
+ placeholder: _chunkY4MN27V3cjs.resolveBedrockEndpoint.call(void 0, apiMode, region)
1803
1544
  });
1804
- const modelResult = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1805
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.selectModel"),
1806
- options: _chunkHC2Q6A3Ecjs.BEDROCK_MODELS.map((name) => ({ label: name, value: name })),
1545
+ const modelResult = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1546
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.selectModel"),
1547
+ options: _chunkY4MN27V3cjs.BEDROCK_MODELS.map((name) => ({ label: name, value: name })),
1807
1548
  allowCustomInput: true,
1808
- initialIndex: Math.max(0, [..._chunkHC2Q6A3Ecjs.BEDROCK_MODELS].indexOf(_optionalChain([existing, 'optionalAccess', _34 => _34.model]) || _chunkHC2Q6A3Ecjs.BEDROCK_DEFAULT_MODEL))
1549
+ initialIndex: Math.max(0, [..._chunkY4MN27V3cjs.BEDROCK_MODELS].indexOf(_optionalChain([existing, 'optionalAccess', _33 => _33.model]) || _chunkY4MN27V3cjs.BEDROCK_DEFAULT_MODEL))
1809
1550
  });
1810
1551
  if (!modelResult) return false;
1811
1552
  const model = String(modelResult.value).trim();
@@ -1816,51 +1557,51 @@ var SetupWizard = class {
1816
1557
  region: region.trim(),
1817
1558
  apiMode,
1818
1559
  authMode,
1819
- ..._optionalChain([profile, 'optionalAccess', _35 => _35.trim, 'call', _36 => _36()]) && { profile: profile.trim() },
1820
- ..._optionalChain([endpoint, 'optionalAccess', _37 => _37.trim, 'call', _38 => _38()]) && { endpoint: endpoint.trim() },
1560
+ ..._optionalChain([profile, 'optionalAccess', _34 => _34.trim, 'call', _35 => _35()]) && { profile: profile.trim() },
1561
+ ..._optionalChain([endpoint, 'optionalAccess', _36 => _36.trim, 'call', _37 => _37()]) && { endpoint: endpoint.trim() },
1821
1562
  ...authMode === "bedrock-api-key" && apiKey ? { apiKey } : {}
1822
1563
  };
1823
- console.log(_chalk2.default.green("\n\u2713 " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.bedrock") })));
1824
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1564
+ console.log(_chalk2.default.green("\n\u2713 " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.configuredSuccessfully", { provider: _chunkRJCZLFHEcjs.t.call(void 0, "providers.bedrock") })));
1565
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.modelLabel", { model })));
1825
1566
  return true;
1826
1567
  }
1827
1568
  async promptBedrockApiMode(current) {
1828
1569
  const options = [
1829
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeConverse"), value: "converse", description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeConverseHint") },
1830
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIChat"), value: "openai-chat", description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIChatHint") },
1831
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIResponses"), value: "openai-responses", description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIResponsesHint") }
1570
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeConverse"), value: "converse", description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeConverseHint") },
1571
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIChat"), value: "openai-chat", description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIChatHint") },
1572
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIResponses"), value: "openai-responses", description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.modeOpenAIResponsesHint") }
1832
1573
  ];
1833
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1834
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.chooseApiMode"),
1574
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1575
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.chooseApiMode"),
1835
1576
  options,
1836
1577
  initialIndex: Math.max(0, options.findIndex((option) => option.value === (current || "converse")))
1837
1578
  });
1838
- return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _39 => _39.value]), () => ( null));
1579
+ return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _38 => _38.value]), () => ( null));
1839
1580
  }
1840
1581
  async promptBedrockAuthMode(apiMode, current) {
1841
- const authMode = _chunkHC2Q6A3Ecjs.resolveBedrockAuthMode.call(void 0, apiMode, current);
1842
- const options = apiMode === "converse" ? [{ label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.authAwsCredentials"), value: "aws-credentials", description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.authAwsCredentialsHint") }] : [{ label: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.authBedrockApiKey"), value: "bedrock-api-key", description: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.authBedrockApiKeyHint") }];
1843
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1844
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.chooseAuthMode"),
1582
+ const authMode = _chunkY4MN27V3cjs.resolveBedrockAuthMode.call(void 0, apiMode, current);
1583
+ const options = apiMode === "converse" ? [{ label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.authAwsCredentials"), value: "aws-credentials", description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.authAwsCredentialsHint") }] : [{ label: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.authBedrockApiKey"), value: "bedrock-api-key", description: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.authBedrockApiKeyHint") }];
1584
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1585
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.chooseAuthMode"),
1845
1586
  options,
1846
1587
  initialIndex: Math.max(0, options.findIndex((option) => option.value === authMode))
1847
1588
  });
1848
- return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _40 => _40.value]), () => ( null));
1589
+ return _nullishCoalesce(_optionalChain([result, 'optionalAccess', _39 => _39.value]), () => ( null));
1849
1590
  }
1850
1591
  /**
1851
1592
  * Prompt for language selection
1852
1593
  */
1853
1594
  async promptLanguage() {
1854
1595
  this.state.currentStep = "language";
1855
- const detected = _chunkSY2P3Z5Wcjs.detectLocale.call(void 0, );
1856
- console.log(_chalk2.default.gray("\n " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.language.detected", { language: _chunkSY2P3Z5Wcjs.LANGUAGE_DISPLAY_NAMES[detected.locale] })));
1857
- const options = _chunkSY2P3Z5Wcjs.SUPPORTED_LOCALES.map((locale) => ({
1858
- label: _chunkSY2P3Z5Wcjs.LANGUAGE_DISPLAY_NAMES[locale],
1596
+ const detected = _chunkRJCZLFHEcjs.detectLocale.call(void 0, );
1597
+ console.log(_chalk2.default.gray("\n " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.language.detected", { language: _chunkRJCZLFHEcjs.LANGUAGE_DISPLAY_NAMES[detected.locale] })));
1598
+ const options = _chunkRJCZLFHEcjs.SUPPORTED_LOCALES.map((locale) => ({
1599
+ label: _chunkRJCZLFHEcjs.LANGUAGE_DISPLAY_NAMES[locale],
1859
1600
  value: locale
1860
1601
  }));
1861
- const initialIndex = _chunkSY2P3Z5Wcjs.SUPPORTED_LOCALES.indexOf(detected.locale);
1862
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
1863
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.language.prompt"),
1602
+ const initialIndex = _chunkRJCZLFHEcjs.SUPPORTED_LOCALES.indexOf(detected.locale);
1603
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1604
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.language.prompt"),
1864
1605
  options,
1865
1606
  initialIndex: initialIndex >= 0 ? initialIndex : 0
1866
1607
  });
@@ -1871,8 +1612,8 @@ var SetupWizard = class {
1871
1612
  const selectedLocale = result.value;
1872
1613
  this.state.locale = selectedLocale;
1873
1614
  if (selectedLocale !== detected.locale) {
1874
- await _chunkSY2P3Z5Wcjs.changeLanguage.call(void 0, selectedLocale);
1875
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.language.changed", { language: _chunkSY2P3Z5Wcjs.LANGUAGE_DISPLAY_NAMES[selectedLocale] })));
1615
+ await _chunkRJCZLFHEcjs.changeLanguage.call(void 0, selectedLocale);
1616
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.language.changed", { language: _chunkRJCZLFHEcjs.LANGUAGE_DISPLAY_NAMES[selectedLocale] })));
1876
1617
  }
1877
1618
  }
1878
1619
  /**
@@ -1882,20 +1623,20 @@ var SetupWizard = class {
1882
1623
  if (!this.state.provider || !this.state.apiKey) return;
1883
1624
  if (!this.requiresApiKey(this.state.provider)) return;
1884
1625
  const baseUrl = this.getDefaultBaseUrl(this.state.provider);
1885
- console.log(_chalk2.default.gray("\n " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.apiKeyValidation.validating")));
1626
+ console.log(_chalk2.default.gray("\n " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.apiKeyValidation.validating")));
1886
1627
  try {
1887
1628
  const response = await fetch(`${baseUrl}/models`, {
1888
1629
  headers: { Authorization: `Bearer ${this.state.apiKey}` },
1889
1630
  signal: AbortSignal.timeout(1e4)
1890
1631
  });
1891
1632
  if (response.ok) {
1892
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.apiKeyValidation.success")));
1633
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.apiKeyValidation.success")));
1893
1634
  } else {
1894
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.apiKeyValidation.failed", { error: `HTTP ${response.status}` })));
1895
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.apiKeyValidation.hint")));
1635
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.apiKeyValidation.failed", { error: `HTTP ${response.status}` })));
1636
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.apiKeyValidation.hint")));
1896
1637
  }
1897
1638
  } catch (e13) {
1898
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.apiKeyValidation.skipped")));
1639
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.apiKeyValidation.skipped")));
1899
1640
  }
1900
1641
  }
1901
1642
  /**
@@ -1913,24 +1654,24 @@ var SetupWizard = class {
1913
1654
  };
1914
1655
  const endpoint = endpoints[provider];
1915
1656
  if (!endpoint) return true;
1916
- console.log(_chalk2.default.gray("\n " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.connectionTest.testing", { provider: this.getProviderDisplayName(provider) })));
1657
+ console.log(_chalk2.default.gray("\n " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.connectionTest.testing", { provider: this.getProviderDisplayName(provider) })));
1917
1658
  try {
1918
1659
  const response = await fetch(endpoint, { signal: AbortSignal.timeout(5e3) });
1919
1660
  if (response.ok) {
1920
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.connectionTest.success", { provider: this.getProviderDisplayName(provider) })));
1661
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.connectionTest.success", { provider: this.getProviderDisplayName(provider) })));
1921
1662
  return true;
1922
1663
  }
1923
1664
  throw new Error(`HTTP ${response.status}`);
1924
1665
  } catch (error) {
1925
1666
  const errorMsg = error instanceof Error ? error.message : "Unknown error";
1926
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.connectionTest.failed", { provider: this.getProviderDisplayName(provider), error: errorMsg })));
1667
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.connectionTest.failed", { provider: this.getProviderDisplayName(provider), error: errorMsg })));
1927
1668
  const hintKey = `setup.connectionTest.hint${provider.charAt(0).toUpperCase() + provider.slice(1)}`;
1928
- const hint = _chunkSY2P3Z5Wcjs.t.call(void 0, hintKey);
1669
+ const hint = _chunkRJCZLFHEcjs.t.call(void 0, hintKey);
1929
1670
  if (hint !== hintKey) {
1930
1671
  console.log(_chalk2.default.gray(" " + hint));
1931
1672
  }
1932
- const continueAnyway = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1933
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.connectionTest.continueAnyway"),
1673
+ const continueAnyway = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1674
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.connectionTest.continueAnyway"),
1934
1675
  defaultValue: true
1935
1676
  });
1936
1677
  return continueAnyway;
@@ -1948,7 +1689,7 @@ var SetupWizard = class {
1948
1689
  console.log(_chalk2.default.yellow(" llama.cpp is not installed and no supported package manager was detected."));
1949
1690
  } else {
1950
1691
  console.log(_chalk2.default.yellow(` llama.cpp is not installed. Autohand can install it with: ${probe.installPlan.label}`));
1951
- const shouldInstall = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
1692
+ const shouldInstall = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1952
1693
  title: "Install llama.cpp now?",
1953
1694
  defaultValue: true
1954
1695
  });
@@ -1973,8 +1714,8 @@ var SetupWizard = class {
1973
1714
  }
1974
1715
  }
1975
1716
  }
1976
- const port = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
1977
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.llamacpp.serverPort"),
1717
+ const port = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1718
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.llamacpp.serverPort"),
1978
1719
  defaultValue: String(_nullishCoalesce(detectedPort, () => ( 80)))
1979
1720
  });
1980
1721
  if (!port) {
@@ -1990,28 +1731,28 @@ var SetupWizard = class {
1990
1731
  this.state.currentStep = "permissions";
1991
1732
  console.log();
1992
1733
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1993
- console.log(_chalk2.default.white.bold(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.title")));
1734
+ console.log(_chalk2.default.white.bold(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.title")));
1994
1735
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
1995
1736
  console.log();
1996
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.description")));
1737
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.description")));
1997
1738
  console.log();
1998
1739
  const options = [
1999
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.interactive"), value: "interactive" },
2000
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.unrestricted"), value: "unrestricted" },
2001
- { label: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.restricted"), value: "restricted" }
1740
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.interactive"), value: "interactive" },
1741
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.unrestricted"), value: "unrestricted" },
1742
+ { label: _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.restricted"), value: "restricted" }
2002
1743
  ];
2003
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
2004
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.title"),
1744
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1745
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.title"),
2005
1746
  options
2006
1747
  });
2007
- const mode = _nullishCoalesce(_optionalChain([result, 'optionalAccess', _41 => _41.value]), () => ( "interactive"));
1748
+ const mode = _nullishCoalesce(_optionalChain([result, 'optionalAccess', _40 => _40.value]), () => ( "interactive"));
2008
1749
  this.state.permissionMode = mode;
2009
1750
  if (mode === "unrestricted") {
2010
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.warning")));
1751
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.warning")));
2011
1752
  }
2012
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.set", { mode })));
2013
- const rememberSession = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2014
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.permissions.rememberPrompt"),
1753
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.set", { mode })));
1754
+ const rememberSession = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1755
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.permissions.rememberPrompt"),
2015
1756
  defaultValue: true
2016
1757
  });
2017
1758
  this.state.rememberSession = rememberSession;
@@ -2021,16 +1762,16 @@ var SetupWizard = class {
2021
1762
  */
2022
1763
  async checkWorkspaceStep() {
2023
1764
  this.state.currentStep = "workspaceSafety";
2024
- console.log(_chalk2.default.gray("\n " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.workspaceSafety.checking")));
1765
+ console.log(_chalk2.default.gray("\n " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.workspaceSafety.checking")));
2025
1766
  const result = _chunkWGNMOVMTcjs.checkWorkspaceSafety.call(void 0, this.workspaceRoot);
2026
1767
  if (result.safe) {
2027
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.workspaceSafety.safe")));
1768
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.workspaceSafety.safe")));
2028
1769
  return true;
2029
1770
  }
2030
1771
  _chunkWGNMOVMTcjs.printDangerousWorkspaceWarning.call(void 0, this.workspaceRoot, result);
2031
- console.log(_chalk2.default.yellow(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.workspaceSafety.unsafe", { reason: result.reason || "" })));
2032
- const continueUnsafe = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2033
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.workspaceSafety.continueUnsafe"),
1772
+ console.log(_chalk2.default.yellow(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.workspaceSafety.unsafe", { reason: result.reason || "" })));
1773
+ const continueUnsafe = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1774
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.workspaceSafety.continueUnsafe"),
2034
1775
  defaultValue: false
2035
1776
  });
2036
1777
  return continueUnsafe;
@@ -2042,19 +1783,19 @@ var SetupWizard = class {
2042
1783
  this.state.currentStep = "notifications";
2043
1784
  console.log();
2044
1785
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
2045
- console.log(_chalk2.default.white.bold(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.notifications.title")));
1786
+ console.log(_chalk2.default.white.bold(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.notifications.title")));
2046
1787
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
2047
1788
  console.log();
2048
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.notifications.description")));
1789
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.notifications.description")));
2049
1790
  console.log();
2050
- const enabled = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2051
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.notifications.enablePrompt"),
1791
+ const enabled = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1792
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.notifications.enablePrompt"),
2052
1793
  defaultValue: true
2053
1794
  });
2054
1795
  let sound = true;
2055
1796
  if (enabled) {
2056
- sound = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2057
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.notifications.soundPrompt"),
1797
+ sound = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1798
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.notifications.soundPrompt"),
2058
1799
  defaultValue: true
2059
1800
  });
2060
1801
  }
@@ -2065,16 +1806,16 @@ var SetupWizard = class {
2065
1806
  */
2066
1807
  async promptNetwork() {
2067
1808
  this.state.currentStep = "network";
2068
- const needCustom = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2069
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.network.needCustom"),
1809
+ const needCustom = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1810
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.network.needCustom"),
2070
1811
  defaultValue: false
2071
1812
  });
2072
1813
  if (!needCustom) {
2073
1814
  this.state.skipped.push("network");
2074
1815
  return;
2075
1816
  }
2076
- const maxRetriesStr = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
2077
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.network.maxRetries"),
1817
+ const maxRetriesStr = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1818
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.network.maxRetries"),
2078
1819
  defaultValue: "3",
2079
1820
  validate: (val) => {
2080
1821
  const n = parseInt(val, 10);
@@ -2082,8 +1823,8 @@ var SetupWizard = class {
2082
1823
  return true;
2083
1824
  }
2084
1825
  });
2085
- const timeoutStr = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
2086
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.network.timeout"),
1826
+ const timeoutStr = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1827
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.network.timeout"),
2087
1828
  defaultValue: "30000",
2088
1829
  validate: (val) => {
2089
1830
  const n = parseInt(val, 10);
@@ -2107,17 +1848,17 @@ var SetupWizard = class {
2107
1848
  { label: "DuckDuckGo", value: "duckduckgo", description: "Privacy-focused, no API key needed" },
2108
1849
  { label: "Parallel.ai", value: "parallel", description: "AI-optimized search (requires API key)" }
2109
1850
  ];
2110
- const result = await _chunkCK4HAHVYcjs.showModal.call(void 0, {
2111
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.search.prompt"),
1851
+ const result = await _chunkDMM2BKSVcjs.showModal.call(void 0, {
1852
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.search.prompt"),
2112
1853
  options
2113
1854
  });
2114
- const provider = _nullishCoalesce(_optionalChain([result, 'optionalAccess', _42 => _42.value]), () => ( "google"));
1855
+ const provider = _nullishCoalesce(_optionalChain([result, 'optionalAccess', _41 => _41.value]), () => ( "google"));
2115
1856
  const searchState = { provider };
2116
1857
  if (provider === "brave") {
2117
- const key = await _chunkCK4HAHVYcjs.showPassword.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.search.braveKeyPrompt"), placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder") });
1858
+ const key = await _chunkDMM2BKSVcjs.showPassword.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.search.braveKeyPrompt"), placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder") });
2118
1859
  if (key) searchState.braveApiKey = key;
2119
1860
  } else if (provider === "parallel") {
2120
- const key = await _chunkCK4HAHVYcjs.showPassword.call(void 0, { title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.search.parallelKeyPrompt"), placeholder: _chunkSY2P3Z5Wcjs.t.call(void 0, "ui.apiKeyPlaceholder") });
1861
+ const key = await _chunkDMM2BKSVcjs.showPassword.call(void 0, { title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.search.parallelKeyPrompt"), placeholder: _chunkRJCZLFHEcjs.t.call(void 0, "ui.apiKeyPlaceholder") });
2121
1862
  if (key) searchState.parallelApiKey = key;
2122
1863
  }
2123
1864
  this.state.search = searchState;
@@ -2128,15 +1869,15 @@ var SetupWizard = class {
2128
1869
  async promptMcp() {
2129
1870
  this.state.currentStep = "mcp";
2130
1871
  console.log();
2131
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.mcp.description")));
1872
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.mcp.description")));
2132
1873
  console.log();
2133
- const enabled = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2134
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.mcp.enablePrompt"),
1874
+ const enabled = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1875
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.mcp.enablePrompt"),
2135
1876
  defaultValue: true
2136
1877
  });
2137
1878
  this.state.mcpEnabled = enabled;
2138
1879
  if (enabled) {
2139
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.mcp.enabled")));
1880
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.mcp.enabled")));
2140
1881
  }
2141
1882
  }
2142
1883
  /**
@@ -2144,8 +1885,8 @@ var SetupWizard = class {
2144
1885
  */
2145
1886
  async promptAgentBehavior() {
2146
1887
  this.state.currentStep = "agentBehavior";
2147
- const maxIterStr = await _chunkCK4HAHVYcjs.showInput.call(void 0, {
2148
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.agent.maxIterationsPrompt"),
1888
+ const maxIterStr = await _chunkDMM2BKSVcjs.showInput.call(void 0, {
1889
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.agent.maxIterationsPrompt"),
2149
1890
  defaultValue: "100",
2150
1891
  validate: (val) => {
2151
1892
  const n = parseInt(val, 10);
@@ -2153,15 +1894,15 @@ var SetupWizard = class {
2153
1894
  return true;
2154
1895
  }
2155
1896
  });
2156
- const debug = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2157
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.agent.debugPrompt"),
1897
+ const debug = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1898
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.agent.debugPrompt"),
2158
1899
  defaultValue: false
2159
1900
  });
2160
1901
  this.state.agentSettings = {
2161
1902
  maxIterations: parseInt(maxIterStr || "100", 10),
2162
1903
  debug
2163
1904
  };
2164
- console.log(_chalk2.default.green(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.agent.set")));
1905
+ console.log(_chalk2.default.green(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.agent.set")));
2165
1906
  }
2166
1907
  /**
2167
1908
  * Prompt for community skills
@@ -2169,10 +1910,10 @@ var SetupWizard = class {
2169
1910
  async promptCommunitySkills() {
2170
1911
  this.state.currentStep = "communitySkills";
2171
1912
  console.log();
2172
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.communitySkills.description")));
1913
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.communitySkills.description")));
2173
1914
  console.log();
2174
- const enabled = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2175
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.communitySkills.enablePrompt"),
1915
+ const enabled = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1916
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.communitySkills.enablePrompt"),
2176
1917
  defaultValue: true
2177
1918
  });
2178
1919
  this.state.communitySkillsEnabled = enabled;
@@ -2184,20 +1925,20 @@ var SetupWizard = class {
2184
1925
  this.state.currentStep = "reviewSummary";
2185
1926
  console.log();
2186
1927
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
2187
- console.log(_chalk2.default.white.bold(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.review.title")));
1928
+ console.log(_chalk2.default.white.bold(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.review.title")));
2188
1929
  console.log(_chalk2.default.gray(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500"));
2189
1930
  console.log();
2190
1931
  if (this.state.locale) {
2191
- console.log(_chalk2.default.white(` Language: ${_chunkSY2P3Z5Wcjs.LANGUAGE_DISPLAY_NAMES[this.state.locale]}`));
1932
+ console.log(_chalk2.default.white(` Language: ${_chunkRJCZLFHEcjs.LANGUAGE_DISPLAY_NAMES[this.state.locale]}`));
2192
1933
  }
2193
1934
  if (this.state.provider) {
2194
- console.log(_chalk2.default.white(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.review.provider", { provider: this.getProviderDisplayName(this.state.provider) })));
1935
+ console.log(_chalk2.default.white(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.review.provider", { provider: this.getProviderDisplayName(this.state.provider) })));
2195
1936
  }
2196
1937
  if (this.state.model) {
2197
- console.log(_chalk2.default.white(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.review.model", { model: this.state.model })));
1938
+ console.log(_chalk2.default.white(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.review.model", { model: this.state.model })));
2198
1939
  }
2199
1940
  if (this.state.reasoningEffort) {
2200
- console.log(_chalk2.default.white(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.config.reasoningEffortLabel", { level: this.state.reasoningEffort })));
1941
+ console.log(_chalk2.default.white(" " + _chunkRJCZLFHEcjs.t.call(void 0, "providers.config.reasoningEffortLabel", { level: this.state.reasoningEffort })));
2201
1942
  }
2202
1943
  if (this.state.permissionMode) {
2203
1944
  console.log(_chalk2.default.white(` Permissions: ${this.state.permissionMode}`));
@@ -2207,7 +1948,7 @@ var SetupWizard = class {
2207
1948
  if (this.state.notifications) {
2208
1949
  console.log(_chalk2.default.white(` Notifications: ${this.state.notifications.enabled ? "enabled" : "disabled"}`));
2209
1950
  }
2210
- if (_optionalChain([this, 'access', _43 => _43.state, 'access', _44 => _44.search, 'optionalAccess', _45 => _45.provider])) {
1951
+ if (_optionalChain([this, 'access', _42 => _42.state, 'access', _43 => _43.search, 'optionalAccess', _44 => _44.provider])) {
2211
1952
  console.log(_chalk2.default.white(` Search: ${this.state.search.provider}`));
2212
1953
  }
2213
1954
  if (this.state.mcpEnabled !== void 0) {
@@ -2217,12 +1958,12 @@ var SetupWizard = class {
2217
1958
  console.log(_chalk2.default.white(` Account: ${this.state.authUser.email}`));
2218
1959
  }
2219
1960
  console.log();
2220
- const confirmed = await _chunkCK4HAHVYcjs.showConfirm.call(void 0, {
2221
- title: _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.review.confirm"),
1961
+ const confirmed = await _chunkDMM2BKSVcjs.showConfirm.call(void 0, {
1962
+ title: _chunkRJCZLFHEcjs.t.call(void 0, "setup.review.confirm"),
2222
1963
  defaultValue: true
2223
1964
  });
2224
1965
  if (!confirmed) {
2225
- console.log(_chalk2.default.gray(" " + _chunkSY2P3Z5Wcjs.t.call(void 0, "setup.review.goBack")));
1966
+ console.log(_chalk2.default.gray(" " + _chunkRJCZLFHEcjs.t.call(void 0, "setup.review.goBack")));
2226
1967
  }
2227
1968
  return confirmed;
2228
1969
  }
@@ -2234,23 +1975,24 @@ var SetupWizard = class {
2234
1975
  }
2235
1976
  // Helper methods
2236
1977
  requiresApiKey(provider) {
2237
- return provider === "openrouter" || provider === "llmgateway" || provider === "zai" || provider === "vertexai" || provider === "xai" || provider === "cerebras" || provider === "nvidia" || provider === "deepseek";
1978
+ return provider === "openrouter" || provider === "llmgateway" || provider === "zai" || provider === "sakana" || provider === "vertexai" || provider === "xai" || provider === "cerebras" || provider === "nvidia" || provider === "deepseek";
2238
1979
  }
2239
1980
  getProviderDisplayName(provider) {
2240
- return _chunkSY2P3Z5Wcjs.t.call(void 0, `providers.${provider}`);
1981
+ return _chunkRJCZLFHEcjs.t.call(void 0, `providers.${provider}`);
2241
1982
  }
2242
1983
  getProviderHint(provider) {
2243
- return _chunkSY2P3Z5Wcjs.t.call(void 0, `providers.hints.${provider}`);
1984
+ return _chunkRJCZLFHEcjs.t.call(void 0, `providers.hints.${provider}`);
2244
1985
  }
2245
1986
  getApiKeyUrl(provider) {
2246
1987
  const urls = {
2247
- openrouter: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.openrouter.apiKeyUrl"),
2248
- openai: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.openai.apiKeyUrl"),
2249
- llmgateway: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.llmgateway.apiKeyUrl"),
2250
- zai: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.zai.apiKeyUrl"),
2251
- nvidia: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.nvidia.apiKeyUrl"),
2252
- deepseek: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.deepseek.apiKeyUrl"),
2253
- bedrock: _chunkSY2P3Z5Wcjs.t.call(void 0, "providers.wizard.bedrock.apiKeyUrl")
1988
+ openrouter: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.openrouter.apiKeyUrl"),
1989
+ openai: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.openai.apiKeyUrl"),
1990
+ llmgateway: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.llmgateway.apiKeyUrl"),
1991
+ zai: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.zai.apiKeyUrl"),
1992
+ sakana: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.sakana.apiKeyUrl"),
1993
+ nvidia: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.nvidia.apiKeyUrl"),
1994
+ deepseek: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.deepseek.apiKeyUrl"),
1995
+ bedrock: _chunkRJCZLFHEcjs.t.call(void 0, "providers.wizard.bedrock.apiKeyUrl")
2254
1996
  };
2255
1997
  return urls[provider] || "";
2256
1998
  }
@@ -2263,13 +2005,14 @@ var SetupWizard = class {
2263
2005
  mlx: "mlx-community/Llama-3.2-3B-Instruct-4bit",
2264
2006
  llmgateway: "gpt-4o",
2265
2007
  azure: "gpt-5.3-codex",
2266
- zai: "glm-4.5",
2008
+ zai: "glm-5.2",
2009
+ sakana: "fugu",
2267
2010
  vertexai: "zai-org/glm-5-maas",
2268
2011
  xai: "grok-4.20-reasoning",
2269
2012
  cerebras: "zai-glm-4.7",
2270
2013
  nvidia: "mistralai/mixtral-8x7b-instruct-v0.1",
2271
2014
  deepseek: "deepseek-v4-flash",
2272
- bedrock: _chunkHC2Q6A3Ecjs.BEDROCK_DEFAULT_MODEL
2015
+ bedrock: _chunkY4MN27V3cjs.BEDROCK_DEFAULT_MODEL
2273
2016
  };
2274
2017
  return defaults[provider] || "";
2275
2018
  }
@@ -2282,39 +2025,40 @@ var SetupWizard = class {
2282
2025
  mlx: "http://localhost:8080",
2283
2026
  llmgateway: "https://api.llmgateway.io/v1",
2284
2027
  azure: "https://{resourceName}.openai.azure.com",
2285
- zai: _chunkHC2Q6A3Ecjs.ZAI_DEFAULT_BASE_URL,
2028
+ zai: _chunkY4MN27V3cjs.ZAI_DEFAULT_BASE_URL,
2029
+ sakana: _chunkY4MN27V3cjs.SAKANA_DEFAULT_BASE_URL,
2286
2030
  vertexai: "https://aiplatform.googleapis.com",
2287
2031
  xai: "https://api.x.ai/v1",
2288
- cerebras: _chunkHC2Q6A3Ecjs.CEREBRAS_DEFAULT_BASE_URL,
2032
+ cerebras: _chunkY4MN27V3cjs.CEREBRAS_DEFAULT_BASE_URL,
2289
2033
  nvidia: "https://integrate.api.nvidia.com/v1",
2290
- deepseek: _chunkHC2Q6A3Ecjs.DEEPSEEK_DEFAULT_BASE_URL,
2291
- bedrock: `https://bedrock-runtime.${_chunkHC2Q6A3Ecjs.BEDROCK_DEFAULT_REGION}.amazonaws.com`
2034
+ deepseek: _chunkY4MN27V3cjs.DEEPSEEK_DEFAULT_BASE_URL,
2035
+ bedrock: `https://bedrock-runtime.${_chunkY4MN27V3cjs.BEDROCK_DEFAULT_REGION}.amazonaws.com`
2292
2036
  };
2293
2037
  return urls[provider] || "";
2294
2038
  }
2295
2039
  getExistingApiKey(provider) {
2296
2040
  if (!this.existingConfig) return null;
2297
2041
  const config = this.existingConfig[provider];
2298
- return _optionalChain([config, 'optionalAccess', _46 => _46.apiKey]) || null;
2042
+ return _optionalChain([config, 'optionalAccess', _45 => _45.apiKey]) || null;
2299
2043
  }
2300
2044
  getExistingOpenAIAuthMode() {
2301
- const config = _optionalChain([this, 'access', _47 => _47.existingConfig, 'optionalAccess', _48 => _48.openai]);
2302
- return _optionalChain([config, 'optionalAccess', _49 => _49.authMode]) === "chatgpt" ? "chatgpt" : "api-key";
2045
+ const config = _optionalChain([this, 'access', _46 => _46.existingConfig, 'optionalAccess', _47 => _47.openai]);
2046
+ return _optionalChain([config, 'optionalAccess', _48 => _48.authMode]) === "chatgpt" ? "chatgpt" : "api-key";
2303
2047
  }
2304
2048
  getExistingOpenAIChatGPTAuth() {
2305
- const auth = _optionalChain([this, 'access', _50 => _50.existingConfig, 'optionalAccess', _51 => _51.openai, 'optionalAccess', _52 => _52.chatgptAuth]);
2049
+ const auth = _optionalChain([this, 'access', _49 => _49.existingConfig, 'optionalAccess', _50 => _50.openai, 'optionalAccess', _51 => _51.chatgptAuth]);
2306
2050
  return auth && auth.accessToken && auth.accountId ? auth : null;
2307
2051
  }
2308
2052
  isOpenAIConfigured(config) {
2309
2053
  if (config.authMode === "chatgpt") {
2310
- return !!_optionalChain([config, 'access', _53 => _53.chatgptAuth, 'optionalAccess', _54 => _54.accessToken]) && !!_optionalChain([config, 'access', _55 => _55.chatgptAuth, 'optionalAccess', _56 => _56.accountId]);
2054
+ return !!_optionalChain([config, 'access', _52 => _52.chatgptAuth, 'optionalAccess', _53 => _53.accessToken]) && !!_optionalChain([config, 'access', _54 => _54.chatgptAuth, 'optionalAccess', _55 => _55.accountId]);
2311
2055
  }
2312
2056
  return !!config.apiKey && config.apiKey !== "replace-me" && config.apiKey.length >= 10;
2313
2057
  }
2314
2058
  isCancellation(error) {
2315
2059
  if (error && typeof error === "object") {
2316
2060
  const e = error;
2317
- return e.code === "ERR_USE_AFTER_CLOSE" || _optionalChain([e, 'access', _57 => _57.message, 'optionalAccess', _58 => _58.includes, 'call', _59 => _59("cancelled")]) || _optionalChain([e, 'access', _60 => _60.message, 'optionalAccess', _61 => _61.includes, 'call', _62 => _62("canceled")]);
2061
+ return e.code === "ERR_USE_AFTER_CLOSE" || _optionalChain([e, 'access', _56 => _56.message, 'optionalAccess', _57 => _57.includes, 'call', _58 => _58("cancelled")]) || _optionalChain([e, 'access', _59 => _59.message, 'optionalAccess', _60 => _60.includes, 'call', _61 => _61("canceled")]);
2318
2062
  }
2319
2063
  return false;
2320
2064
  }
@@ -2331,8 +2075,7 @@ var SetupWizard = class {
2331
2075
 
2332
2076
 
2333
2077
 
2334
-
2335
- exports.ProjectAnalyzer = ProjectAnalyzer; exports.AgentsGenerator = AgentsGenerator; exports.probeLlamaCppEnvironment = probeLlamaCppEnvironment; exports.installLlamaCpp = installLlamaCpp; exports.SetupWizard = SetupWizard;
2078
+ exports.ProjectAnalyzer = ProjectAnalyzer; exports.probeLlamaCppEnvironment = probeLlamaCppEnvironment; exports.installLlamaCpp = installLlamaCpp; exports.SetupWizard = SetupWizard;
2336
2079
  /**
2337
2080
  * @license
2338
2081
  * Copyright 2025 Autohand AI LLC