@qitqode/qitqode-android-arm64 0.1.33 → 0.1.35

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 (386) hide show
  1. package/bundle/{chunk-x4sp99g6.js → chunk-03xppy47.js} +1 -1
  2. package/bundle/chunk-0442cmw2.js +2 -0
  3. package/bundle/{chunk-2vn41ecx.js → chunk-04hvaaje.js} +1 -1
  4. package/bundle/{chunk-6phh70sp.js → chunk-06k6egt2.js} +1 -1
  5. package/bundle/{chunk-x5trw1f5.js → chunk-085pvqr4.js} +1 -1
  6. package/bundle/{chunk-8n20thvd.js → chunk-08f4khsw.js} +2 -2
  7. package/bundle/{chunk-mk1bfzg5.js → chunk-08m0hkdz.js} +1 -1
  8. package/bundle/{chunk-kfxv5rfg.js → chunk-09pkckr1.js} +1 -1
  9. package/bundle/{chunk-6kp07m7p.js → chunk-0c6ep9mc.js} +1 -1
  10. package/bundle/{chunk-0v0vqbn5.js → chunk-0h8wdch6.js} +1 -1
  11. package/bundle/{chunk-t56r99hp.js → chunk-0msqaywp.js} +1 -1
  12. package/bundle/chunk-0x5jn813.js +2 -0
  13. package/bundle/{chunk-yphsjp71.js → chunk-11g2rpv8.js} +1 -1
  14. package/bundle/{chunk-vhe0tth1.js → chunk-11v7vz3y.js} +1 -1
  15. package/bundle/{chunk-1sgahe1s.js → chunk-1byd3wma.js} +1 -1
  16. package/bundle/{chunk-x3y2xzhn.js → chunk-1dtzxt2w.js} +1 -1
  17. package/bundle/{chunk-31qrzrwy.js → chunk-1gf116rg.js} +1 -1
  18. package/bundle/{chunk-05mce0j3.js → chunk-1me21qdc.js} +1 -1
  19. package/bundle/{chunk-rvkrgkeq.js → chunk-1pg6pv0m.js} +1 -1
  20. package/bundle/{chunk-0bbs01f0.js → chunk-1yt5rsew.js} +1 -1
  21. package/bundle/chunk-28t9akfn.js +2 -0
  22. package/bundle/{chunk-52bam8g7.js → chunk-2h1fcqvf.js} +1 -1
  23. package/bundle/{chunk-vykgpaqt.js → chunk-2kens6wh.js} +1 -1
  24. package/bundle/chunk-2scyp9ns.js +2 -0
  25. package/bundle/{chunk-hbbsbyyq.js → chunk-2swch6mx.js} +1 -1
  26. package/bundle/chunk-2tw58kwb.js +2 -0
  27. package/bundle/chunk-2vxx0tax.js +2 -0
  28. package/bundle/chunk-2ybt3p5z.js +2 -0
  29. package/bundle/chunk-2zpkw3ge.js +2 -0
  30. package/bundle/{chunk-zzv0yayn.js → chunk-31g86yn6.js} +1 -1
  31. package/bundle/{chunk-xthkjax9.js → chunk-34p46th6.js} +1 -1
  32. package/bundle/chunk-397be2x0.js +2 -0
  33. package/bundle/chunk-3c78nkgn.js +2 -0
  34. package/bundle/{chunk-g453xy7p.js → chunk-3d91q2qd.js} +1 -1
  35. package/bundle/{chunk-7xm75w1e.js → chunk-3k2b05fv.js} +1 -1
  36. package/bundle/{chunk-tvdmnee6.js → chunk-3mzcr3fw.js} +1 -1
  37. package/bundle/{chunk-enpzvmtc.js → chunk-41v0x1jk.js} +1 -1
  38. package/bundle/chunk-43yv7tz1.js +2 -0
  39. package/bundle/chunk-496ajawz.js +2 -0
  40. package/bundle/{chunk-78ymd20x.js → chunk-499gp5g5.js} +1 -1
  41. package/bundle/{chunk-ea5ph627.js → chunk-4hzm14xt.js} +1 -1
  42. package/bundle/{chunk-rzhdkkpz.js → chunk-4ttf9rjd.js} +1 -1
  43. package/bundle/{chunk-vywnd5sf.js → chunk-4wxxyrxn.js} +1 -1
  44. package/bundle/chunk-4xw14sed.js +2 -0
  45. package/bundle/chunk-536naqqv.js +2 -0
  46. package/bundle/{chunk-0h6rn479.js → chunk-54wh8b12.js} +1 -1
  47. package/bundle/chunk-57nvmhjq.js +2 -0
  48. package/bundle/{chunk-60v5jvgt.js → chunk-5a7fs1hg.js} +1 -1
  49. package/bundle/{chunk-tc18nbmn.js → chunk-5e4fxy99.js} +44 -44
  50. package/bundle/chunk-5he3d7cy.js +2 -0
  51. package/bundle/{chunk-r1zf109g.js → chunk-5qr286w8.js} +1 -1
  52. package/bundle/{chunk-srt5peec.js → chunk-606vpgc4.js} +1 -1
  53. package/bundle/{chunk-gwp17r03.js → chunk-67d5d8mr.js} +1 -1
  54. package/bundle/{chunk-gxq9vh1z.js → chunk-6a1skxcj.js} +1 -1
  55. package/bundle/{chunk-ftnadrks.js → chunk-6a77w77q.js} +1 -1
  56. package/bundle/{chunk-yek0sk2q.js → chunk-6a7c7wnf.js} +1 -1
  57. package/bundle/chunk-6cj7cn5x.js +2 -0
  58. package/bundle/{chunk-fgg9txzb.js → chunk-6gb65bv1.js} +1 -1
  59. package/bundle/{chunk-rh9vnpgr.js → chunk-6ged58yw.js} +1 -1
  60. package/bundle/chunk-6hybp2mt.js +2 -0
  61. package/bundle/{chunk-d6ry9418.js → chunk-6p94fpbn.js} +2 -2
  62. package/bundle/{chunk-xcmgkc57.js → chunk-6styp5dn.js} +1 -1
  63. package/bundle/chunk-6y423jax.js +3 -0
  64. package/bundle/{chunk-ejrhvy38.js → chunk-6ynxf3q7.js} +1 -1
  65. package/bundle/{chunk-cfgvm15x.js → chunk-71zw0qhf.js} +1 -1
  66. package/bundle/chunk-72ghkgcn.js +2 -0
  67. package/bundle/{chunk-bh53dz71.js → chunk-7311jry1.js} +1 -1
  68. package/bundle/{chunk-d07p6fpk.js → chunk-73myw3bj.js} +2 -2
  69. package/bundle/chunk-741teh8k.js +2 -0
  70. package/bundle/{chunk-10bjs581.js → chunk-79agp7v3.js} +2 -2
  71. package/bundle/chunk-7b3wx6kn.js +2 -0
  72. package/bundle/{chunk-40efytmk.js → chunk-7eexey82.js} +1 -1
  73. package/bundle/{chunk-33e9y2aw.js → chunk-7mxt5b0h.js} +1 -1
  74. package/bundle/{chunk-yjf3kyej.js → chunk-7vd91wsd.js} +1 -1
  75. package/bundle/{chunk-nv3eyyaj.js → chunk-81trveht.js} +1 -1
  76. package/bundle/{chunk-dnwefyhv.js → chunk-8762ty72.js} +1 -1
  77. package/bundle/{chunk-qc8rsn4v.js → chunk-891yevv2.js} +1 -1
  78. package/bundle/{chunk-ctpy42xe.js → chunk-8c1ypgw5.js} +1 -1
  79. package/bundle/{chunk-8qswepp2.js → chunk-8ktgy41r.js} +1 -1
  80. package/bundle/{chunk-w18xs2h5.js → chunk-8q73cjyj.js} +1 -1
  81. package/bundle/chunk-8rt63jbm.js +2 -0
  82. package/bundle/{chunk-481k3dag.js → chunk-8vg4fmg2.js} +20 -20
  83. package/bundle/chunk-8y623qdx.js +2 -0
  84. package/bundle/chunk-921vn745.js +2 -0
  85. package/bundle/chunk-945ebhte.js +2 -0
  86. package/bundle/{chunk-4jtxtkj7.js → chunk-94pcpztx.js} +2 -2
  87. package/bundle/chunk-9548cc0c.js +2 -0
  88. package/bundle/{chunk-ff8nb7b3.js → chunk-9ayxg9mq.js} +1 -1
  89. package/bundle/{chunk-a7amey9s.js → chunk-9fxkh84w.js} +1 -1
  90. package/bundle/{chunk-8hytwgwf.js → chunk-9qdr9t8c.js} +1 -1
  91. package/bundle/{chunk-gt31468k.js → chunk-9x25d115.js} +1 -1
  92. package/bundle/{chunk-s08qccxa.js → chunk-9yrypq1r.js} +1 -1
  93. package/bundle/{chunk-zs8kqdsf.js → chunk-a0rp7gh4.js} +2 -2
  94. package/bundle/chunk-a1hzeejj.js +5 -0
  95. package/bundle/{chunk-tq0239xp.js → chunk-a3a1trap.js} +1 -1
  96. package/bundle/{chunk-n9xns8by.js → chunk-a48t0g95.js} +2 -2
  97. package/bundle/{chunk-d8dsdcb3.js → chunk-a949at1c.js} +1 -1
  98. package/bundle/{chunk-n1600mnf.js → chunk-aa8hymcv.js} +1 -1
  99. package/bundle/chunk-akk84fnc.js +2 -0
  100. package/bundle/chunk-aw7j7brm.js +2 -0
  101. package/bundle/{chunk-e1w70zdn.js → chunk-axdzm75h.js} +2 -2
  102. package/bundle/{chunk-js1n8tgv.js → chunk-azhw650z.js} +1 -1
  103. package/bundle/{chunk-t8m74g39.js → chunk-b4knxpqh.js} +1 -1
  104. package/bundle/{chunk-a1kazz9r.js → chunk-b6cybdj3.js} +1 -1
  105. package/bundle/{chunk-jef04wyf.js → chunk-ba3h1pzs.js} +1 -1
  106. package/bundle/{chunk-71xz70r9.js → chunk-bbzztav6.js} +1 -1
  107. package/bundle/{chunk-dactgryw.js → chunk-bj00xk8k.js} +1 -1
  108. package/bundle/{chunk-cxnfy6qk.js → chunk-bk4phk66.js} +1 -1
  109. package/bundle/{chunk-e01wnqvc.js → chunk-bnss5dkk.js} +1 -1
  110. package/bundle/{chunk-fvzwbjh8.js → chunk-bv29k2pf.js} +1 -1
  111. package/bundle/{chunk-v1xjc3s8.js → chunk-by855es0.js} +1 -1
  112. package/bundle/{chunk-zy9w1vkc.js → chunk-c5fa8cb1.js} +1 -1
  113. package/bundle/{chunk-x9rbv6p6.js → chunk-c5pb87yf.js} +1 -1
  114. package/bundle/{chunk-ck2gfaba.js → chunk-c6vfwjg4.js} +1 -1
  115. package/bundle/{chunk-2et3wkjy.js → chunk-ca4r31we.js} +1 -1
  116. package/bundle/chunk-ckbwdrm3.js +2 -0
  117. package/bundle/{chunk-a3aqmm3x.js → chunk-cqj21rfj.js} +1 -1
  118. package/bundle/{chunk-3632wgg1.js → chunk-cs38g1bx.js} +1 -1
  119. package/bundle/{chunk-53bqcctj.js → chunk-cz3h5n1v.js} +1 -1
  120. package/bundle/{chunk-rg0mrprz.js → chunk-d00c1k9w.js} +1 -1
  121. package/bundle/{chunk-p18axz0m.js → chunk-dcndy4sr.js} +1 -1
  122. package/bundle/{chunk-e7ny0b3x.js → chunk-dctj3c22.js} +1 -1
  123. package/bundle/{chunk-vvxmwyrw.js → chunk-df2aswz3.js} +1 -1
  124. package/bundle/{chunk-skqbaadf.js → chunk-dffhkd30.js} +1 -1
  125. package/bundle/chunk-dhc6e1t7.js +2 -0
  126. package/bundle/{chunk-pe29yy6s.js → chunk-dhqaqeq6.js} +1 -1
  127. package/bundle/chunk-dk6rbqvp.js +2 -0
  128. package/bundle/{chunk-te47zdxd.js → chunk-dk975etf.js} +2 -2
  129. package/bundle/chunk-dwajajaq.js +2 -0
  130. package/bundle/{chunk-dryzt12j.js → chunk-dxcrggvq.js} +1 -1
  131. package/bundle/chunk-dyt3n3fe.js +2 -0
  132. package/bundle/{chunk-fn9h4ync.js → chunk-dyv2hqvc.js} +1 -1
  133. package/bundle/{chunk-93p131d5.js → chunk-e6xnynaz.js} +1 -1
  134. package/bundle/{chunk-wefez1gt.js → chunk-e74efvj2.js} +6 -6
  135. package/bundle/chunk-e7ah0e61.js +2 -0
  136. package/bundle/{chunk-tqj69nh6.js → chunk-e7v9trve.js} +2 -2
  137. package/bundle/chunk-e8ws454m.js +2 -0
  138. package/bundle/{chunk-chpr8ekb.js → chunk-ebcdxmdd.js} +1 -1
  139. package/bundle/{chunk-zw815d68.js → chunk-ee23d2nz.js} +2 -2
  140. package/bundle/chunk-efndtzby.js +2 -0
  141. package/bundle/{chunk-gb00fh4z.js → chunk-egn55fa2.js} +3 -3
  142. package/bundle/chunk-eq2pepce.js +2 -0
  143. package/bundle/{chunk-rryytkmg.js → chunk-er38zew1.js} +2 -2
  144. package/bundle/{chunk-mpkvpn2y.js → chunk-eva3nqqb.js} +2 -2
  145. package/bundle/{chunk-s2x0rqj4.js → chunk-exmw8jfa.js} +1 -1
  146. package/bundle/{chunk-famryv52.js → chunk-f3bnn9rf.js} +2 -2
  147. package/bundle/chunk-f693s9vn.js +2 -0
  148. package/bundle/{chunk-0dt0bxz6.js → chunk-fg35hwa0.js} +2 -2
  149. package/bundle/{chunk-ktzq4ha1.js → chunk-fmq0m4k5.js} +1 -1
  150. package/bundle/chunk-ftepqwyq.js +2 -0
  151. package/bundle/chunk-g18ax6yp.js +2 -0
  152. package/bundle/{chunk-jh0bw59r.js → chunk-g4gjz7sq.js} +1 -1
  153. package/bundle/{chunk-g5rabwre.js → chunk-g6cyhxwg.js} +2 -2
  154. package/bundle/chunk-gadyp6mb.js +2 -0
  155. package/bundle/{chunk-q6pn67ps.js → chunk-gckgaqqr.js} +1 -1
  156. package/bundle/{chunk-fgzk49cr.js → chunk-ge8315te.js} +1 -1
  157. package/bundle/{chunk-a1wdeapb.js → chunk-ggydr1ze.js} +1 -1
  158. package/bundle/chunk-gk28ffhg.js +2 -0
  159. package/bundle/{chunk-c11d28qn.js → chunk-gmzrvxnv.js} +2 -2
  160. package/bundle/chunk-gpfc4z4v.js +2 -0
  161. package/bundle/chunk-gqvg02zp.js +2 -0
  162. package/bundle/chunk-gsyt2sv7.js +2 -0
  163. package/bundle/{chunk-3c6p8tm3.js → chunk-gws1rn1v.js} +1 -1
  164. package/bundle/{chunk-hnzegjgv.js → chunk-gy0wm7e1.js} +1 -1
  165. package/bundle/{chunk-pp2eqkse.js → chunk-h3k1dk9m.js} +1 -1
  166. package/bundle/chunk-h8c3dcqt.js +2 -0
  167. package/bundle/chunk-hfq11w4h.js +2 -0
  168. package/bundle/{chunk-01my2y0c.js → chunk-hj3ddt53.js} +1 -1
  169. package/bundle/{chunk-rzt0ge3t.js → chunk-hv6eccx1.js} +4 -4
  170. package/bundle/{chunk-ay8emwym.js → chunk-hw5qyht3.js} +1 -1
  171. package/bundle/chunk-hwf58w1k.js +2 -0
  172. package/bundle/{chunk-kq6b222y.js → chunk-jgjnz82k.js} +1 -1
  173. package/bundle/{chunk-wfb608qf.js → chunk-jkh6eg7d.js} +3 -3
  174. package/bundle/{chunk-5gmjtmc4.js → chunk-jyczz3yh.js} +2 -2
  175. package/bundle/{chunk-np50azpb.js → chunk-k8k8z6b7.js} +2 -2
  176. package/bundle/{chunk-6hpgb8h4.js → chunk-ke7n9t5p.js} +3 -3
  177. package/bundle/{chunk-vcw00k0n.js → chunk-keveg5gx.js} +2 -2
  178. package/bundle/{chunk-dxpj0cxh.js → chunk-kfmz2p27.js} +2 -2
  179. package/bundle/{chunk-xm7wascx.js → chunk-kjyw00jp.js} +1 -1
  180. package/bundle/chunk-kk3ve911.js +2 -0
  181. package/bundle/{chunk-gsar6xda.js → chunk-kmcsz8yv.js} +1 -1
  182. package/bundle/{chunk-4cnwn1rh.js → chunk-kv72hxkp.js} +2 -2
  183. package/bundle/{chunk-kj20f048.js → chunk-kwx9ewe0.js} +1 -1
  184. package/bundle/chunk-m4j7jyrd.js +3 -0
  185. package/bundle/{chunk-5hw6xa49.js → chunk-md8161zd.js} +1 -1
  186. package/bundle/{chunk-xzrb857v.js → chunk-mex0fe9s.js} +1 -1
  187. package/bundle/{chunk-ctaze2hn.js → chunk-mf3sm0pk.js} +1 -1
  188. package/bundle/chunk-mkng9ykt.js +2 -0
  189. package/bundle/{chunk-mzs2pjyc.js → chunk-mpygdb5a.js} +2 -2
  190. package/bundle/{chunk-81qwdg5s.js → chunk-mq6jn47r.js} +1 -1
  191. package/bundle/{chunk-yp8wyzzm.js → chunk-mr8j7rc6.js} +1 -1
  192. package/bundle/{chunk-48nm6v8b.js → chunk-mxvypy3s.js} +1 -1
  193. package/bundle/chunk-n5ypgxrn.js +28 -0
  194. package/bundle/{chunk-h4j5xzc8.js → chunk-n6gtdx5h.js} +1 -1
  195. package/bundle/{chunk-h2afsbm1.js → chunk-n6msxne8.js} +1 -1
  196. package/bundle/{chunk-jbx3s7nw.js → chunk-n96tvjgj.js} +2 -2
  197. package/bundle/{chunk-ftas05da.js → chunk-n9xw9kqc.js} +1 -1
  198. package/bundle/{chunk-v7w4nfn7.js → chunk-nc4wbc89.js} +1 -1
  199. package/bundle/{chunk-9f1z9xce.js → chunk-ngccf7ga.js} +1 -1
  200. package/bundle/{chunk-2bn2b29j.js → chunk-ngk67rt3.js} +1 -1
  201. package/bundle/{chunk-0t4324w5.js → chunk-nj2bbtmx.js} +1 -1
  202. package/bundle/chunk-nj4d554m.js +11 -0
  203. package/bundle/{chunk-dynv30gm.js → chunk-nj61v4n7.js} +1 -1
  204. package/bundle/{chunk-12vef2pr.js → chunk-nkk4fyqf.js} +1 -1
  205. package/bundle/{chunk-gbpvs0fx.js → chunk-nmehsm3w.js} +1 -1
  206. package/bundle/chunk-nr1g57b2.js +2 -0
  207. package/bundle/chunk-p0ahbpxv.js +2 -0
  208. package/bundle/{chunk-73e409hd.js → chunk-p3qkexpk.js} +1 -1
  209. package/bundle/chunk-p7y8z5rd.js +2 -0
  210. package/bundle/{chunk-yhbcbjfk.js → chunk-p825vsjy.js} +1 -1
  211. package/bundle/{chunk-rbk8seme.js → chunk-p9cnzxb8.js} +1 -1
  212. package/bundle/{chunk-15hw2z9t.js → chunk-pkc4ddw1.js} +1 -1
  213. package/bundle/{chunk-1gx18dm5.js → chunk-prh3c44x.js} +1 -1
  214. package/bundle/chunk-pt26gerr.js +2 -0
  215. package/bundle/{chunk-zscer8rc.js → chunk-pxmhe36r.js} +1 -1
  216. package/bundle/{chunk-g7ccdh7r.js → chunk-q8hd01j7.js} +1 -1
  217. package/bundle/{chunk-e10py6yr.js → chunk-qa2j0qmy.js} +1 -1
  218. package/bundle/{chunk-g10d6x57.js → chunk-qddt2gcs.js} +1 -1
  219. package/bundle/{chunk-y3b4k38p.js → chunk-qg2vk5fw.js} +1 -1
  220. package/bundle/{chunk-7z5jh4ra.js → chunk-qkjdr337.js} +1 -1
  221. package/bundle/chunk-qkk1as5n.js +2 -0
  222. package/bundle/{chunk-5q4harvc.js → chunk-qrtc3etn.js} +2 -2
  223. package/bundle/chunk-qsm9xw87.js +2 -0
  224. package/bundle/chunk-qw980y8h.js +2 -0
  225. package/bundle/{chunk-7avcnwv8.js → chunk-qzj6027k.js} +1 -1
  226. package/bundle/{chunk-70ck4v3t.js → chunk-r0k21apr.js} +1 -1
  227. package/bundle/chunk-r2w3gr8d.js +2 -0
  228. package/bundle/chunk-r5bqcpkz.js +2 -0
  229. package/bundle/chunk-r67c858b.js +2 -0
  230. package/bundle/chunk-r9fvfkee.js +2 -0
  231. package/bundle/chunk-rcn0dhbj.js +2 -0
  232. package/bundle/{chunk-69nzndk7.js → chunk-rkwrjphh.js} +1 -1
  233. package/bundle/{chunk-0mx2psfc.js → chunk-rmve21dh.js} +1 -1
  234. package/bundle/chunk-rq47pn3r.js +2 -0
  235. package/bundle/{chunk-b8gjz6bk.js → chunk-rq4w0by4.js} +1 -1
  236. package/bundle/{chunk-jrqb0jwy.js → chunk-rsszcqxd.js} +1 -1
  237. package/bundle/{chunk-xvwvd4kq.js → chunk-rv1stdvb.js} +1 -1
  238. package/bundle/chunk-rvt1tdy8.js +2 -0
  239. package/bundle/{chunk-3bxg5bta.js → chunk-ry7q8xn6.js} +1 -1
  240. package/bundle/{chunk-rjd8gbs5.js → chunk-ryfqwsft.js} +1 -1
  241. package/bundle/chunk-s27xvrft.js +2 -0
  242. package/bundle/{chunk-p9qfbr02.js → chunk-s4qtphwx.js} +1 -1
  243. package/bundle/{chunk-4fgzp2zd.js → chunk-s5nde2kd.js} +1 -1
  244. package/bundle/{chunk-qrsveve6.js → chunk-s8hq6trz.js} +1 -1
  245. package/bundle/chunk-scy39p6q.js +2 -0
  246. package/bundle/{chunk-71sjjjr8.js → chunk-seghf5fc.js} +1 -1
  247. package/bundle/{chunk-2zq4k837.js → chunk-sfes6pp1.js} +1 -1
  248. package/bundle/{chunk-qn6gdhns.js → chunk-sjw56r2n.js} +2 -2
  249. package/bundle/{chunk-htz93dsd.js → chunk-snr44en9.js} +2 -2
  250. package/bundle/{chunk-pfyhg0m7.js → chunk-srpe3v8e.js} +1 -1
  251. package/bundle/{chunk-cphrgyp6.js → chunk-ssk8tkwd.js} +1 -1
  252. package/bundle/{chunk-ccmbckek.js → chunk-st5jaszz.js} +1 -1
  253. package/bundle/{chunk-mrt1z4m8.js → chunk-t2vm08v6.js} +1 -1
  254. package/bundle/{chunk-vrc0h1q7.js → chunk-t3eymzg1.js} +1 -1
  255. package/bundle/{chunk-yv0xrnn9.js → chunk-t5qamf96.js} +1 -1
  256. package/bundle/{chunk-xn70ep9n.js → chunk-tbgczapt.js} +1 -1
  257. package/bundle/chunk-tns5x4w0.js +3 -0
  258. package/bundle/chunk-ttevj0pj.js +2 -0
  259. package/bundle/{chunk-rvfvk2ty.js → chunk-txbwmwxj.js} +1 -1
  260. package/bundle/chunk-v7c54cyj.js +2 -0
  261. package/bundle/chunk-vgefaens.js +2 -0
  262. package/bundle/{chunk-24jg9d61.js → chunk-vsr8mnj6.js} +1 -1
  263. package/bundle/{chunk-6d5rrre9.js → chunk-vszbqv24.js} +1 -1
  264. package/bundle/chunk-vv59b4re.js +2 -0
  265. package/bundle/chunk-vwqy7n3g.js +2 -0
  266. package/bundle/{chunk-n6wt9m2k.js → chunk-vysa9hp4.js} +1 -1
  267. package/bundle/{chunk-a1g7jr3r.js → chunk-w1n4rf6n.js} +1 -1
  268. package/bundle/{chunk-gagtmjmp.js → chunk-wfd5h6ax.js} +2 -2
  269. package/bundle/{chunk-ht5w06x7.js → chunk-wgk7ynt3.js} +2 -2
  270. package/bundle/chunk-wn076jwj.js +2 -0
  271. package/bundle/{chunk-35xk4g91.js → chunk-wvf5q2hz.js} +1 -1
  272. package/bundle/chunk-x0m1qye9.js +2 -0
  273. package/bundle/{chunk-p62gb4wj.js → chunk-x66ycpfs.js} +1 -1
  274. package/bundle/{chunk-48ge2ryx.js → chunk-xgr6jnd6.js} +1 -1
  275. package/bundle/{chunk-2hc5z7b5.js → chunk-xqdrr7xg.js} +1 -1
  276. package/bundle/{chunk-bnap670d.js → chunk-xvntsbb1.js} +1 -1
  277. package/bundle/{chunk-ss2ms1r3.js → chunk-y437vyza.js} +1 -1
  278. package/bundle/chunk-y70aachh.js +2 -0
  279. package/bundle/{chunk-db405hjg.js → chunk-y9zstzed.js} +1 -1
  280. package/bundle/{chunk-pp6vhqrr.js → chunk-yjk6zv2z.js} +1 -1
  281. package/bundle/{chunk-326p5b10.js → chunk-yk97q51d.js} +1 -1
  282. package/bundle/{chunk-kf167jw7.js → chunk-ynwkr3yh.js} +1 -1
  283. package/bundle/{chunk-9bzhxenb.js → chunk-yprmd5b7.js} +2 -2
  284. package/bundle/{chunk-y9q0hb7b.js → chunk-yqk58hf6.js} +2 -2
  285. package/bundle/chunk-ysgxt83y.js +2 -0
  286. package/bundle/{chunk-tt30dybd.js → chunk-yz6898wy.js} +1 -1
  287. package/bundle/{chunk-x562b0xk.js → chunk-z1ay3qd0.js} +1 -1
  288. package/bundle/{chunk-9emq67vc.js → chunk-z7430qxg.js} +1 -1
  289. package/bundle/{chunk-2maqde7w.js → chunk-z8gdmvgg.js} +2 -2
  290. package/bundle/{chunk-3bssxmtg.js → chunk-zddknkw7.js} +1 -1
  291. package/bundle/chunk-ze9e6nt3.js +3 -0
  292. package/bundle/{chunk-vxyy2dp3.js → chunk-zfcp509b.js} +1 -1
  293. package/bundle/{chunk-x7k5yeey.js → chunk-zfn0z4sh.js} +1 -1
  294. package/bundle/{chunk-ag8kz1e7.js → chunk-zh3fny3z.js} +2 -2
  295. package/bundle/{chunk-9k6hz80e.js → chunk-znzan00b.js} +1 -1
  296. package/bundle/chunk-zrp55k47.js +2 -0
  297. package/bundle/chunk-zwdnh860.js +2 -0
  298. package/bundle/{chunk-1vb79bw1.js → chunk-zwnhf4z1.js} +1 -1
  299. package/bundle/index.js +3 -3
  300. package/bundle/parser.worker.js +2 -2
  301. package/bundle/worker.js +1 -1
  302. package/package.json +1 -1
  303. package/bundle/chunk-0e1vkdze.js +0 -2
  304. package/bundle/chunk-0p27fvfr.js +0 -2
  305. package/bundle/chunk-0qs1vx97.js +0 -2
  306. package/bundle/chunk-18bj8z8m.js +0 -28
  307. package/bundle/chunk-19g6dhva.js +0 -2
  308. package/bundle/chunk-1ap7sh2c.js +0 -2
  309. package/bundle/chunk-1rhhhm88.js +0 -2
  310. package/bundle/chunk-1wbjh23g.js +0 -2
  311. package/bundle/chunk-3dadmgxa.js +0 -2
  312. package/bundle/chunk-42p59wm4.js +0 -2
  313. package/bundle/chunk-43xt69m8.js +0 -2
  314. package/bundle/chunk-4512pvca.js +0 -2
  315. package/bundle/chunk-456bmaww.js +0 -2
  316. package/bundle/chunk-48pajrnt.js +0 -2
  317. package/bundle/chunk-4fy9c54h.js +0 -2
  318. package/bundle/chunk-4m5yesw8.js +0 -2
  319. package/bundle/chunk-59y8q9m5.js +0 -2
  320. package/bundle/chunk-5tray1fw.js +0 -3
  321. package/bundle/chunk-5v6b8mr6.js +0 -2
  322. package/bundle/chunk-64ezpbwt.js +0 -2
  323. package/bundle/chunk-6r7z94e6.js +0 -3
  324. package/bundle/chunk-711dc303.js +0 -5
  325. package/bundle/chunk-7mke41x0.js +0 -2
  326. package/bundle/chunk-7ry9cvby.js +0 -2
  327. package/bundle/chunk-7wczs9mx.js +0 -2
  328. package/bundle/chunk-8v96pmqn.js +0 -2
  329. package/bundle/chunk-8y2scz6z.js +0 -2
  330. package/bundle/chunk-8zx7vnx6.js +0 -2
  331. package/bundle/chunk-94a76f8w.js +0 -2
  332. package/bundle/chunk-9ng7jjp7.js +0 -2
  333. package/bundle/chunk-9tpgnjy8.js +0 -2
  334. package/bundle/chunk-a7ym9f0v.js +0 -2
  335. package/bundle/chunk-a8f2xvy3.js +0 -2
  336. package/bundle/chunk-a99cvwta.js +0 -2
  337. package/bundle/chunk-aecc391x.js +0 -2
  338. package/bundle/chunk-avys5mnz.js +0 -2
  339. package/bundle/chunk-axvjd10y.js +0 -2
  340. package/bundle/chunk-b4pphqab.js +0 -2
  341. package/bundle/chunk-b6087ak4.js +0 -2
  342. package/bundle/chunk-bdd97g5y.js +0 -2
  343. package/bundle/chunk-bn0h9dny.js +0 -10
  344. package/bundle/chunk-bnmz683j.js +0 -2
  345. package/bundle/chunk-brkqxbjy.js +0 -2
  346. package/bundle/chunk-c26qxt5g.js +0 -2
  347. package/bundle/chunk-c6zscb38.js +0 -2
  348. package/bundle/chunk-cjww2jmv.js +0 -3
  349. package/bundle/chunk-d2ttw3wf.js +0 -2
  350. package/bundle/chunk-dafmkrhn.js +0 -2
  351. package/bundle/chunk-dgprdym0.js +0 -2
  352. package/bundle/chunk-dsamees2.js +0 -2
  353. package/bundle/chunk-dxje3azs.js +0 -2
  354. package/bundle/chunk-dyqpxx3b.js +0 -2
  355. package/bundle/chunk-etvs6a6y.js +0 -2
  356. package/bundle/chunk-ftn49yn1.js +0 -2
  357. package/bundle/chunk-gwzw92jt.js +0 -2
  358. package/bundle/chunk-hdrbyarv.js +0 -3
  359. package/bundle/chunk-hkqnqw3x.js +0 -2
  360. package/bundle/chunk-hp7tssgv.js +0 -2
  361. package/bundle/chunk-ht0hbdmx.js +0 -2
  362. package/bundle/chunk-m1s19p9n.js +0 -2
  363. package/bundle/chunk-ngm6pqyt.js +0 -2
  364. package/bundle/chunk-ngtavamt.js +0 -2
  365. package/bundle/chunk-nkhc32s3.js +0 -2
  366. package/bundle/chunk-npse2xrd.js +0 -2
  367. package/bundle/chunk-p3pemdns.js +0 -2
  368. package/bundle/chunk-p6e4vqy7.js +0 -2
  369. package/bundle/chunk-pqkjhn8h.js +0 -2
  370. package/bundle/chunk-qd8w2gkd.js +0 -2
  371. package/bundle/chunk-rbbw7bs0.js +0 -2
  372. package/bundle/chunk-rf12t4n5.js +0 -2
  373. package/bundle/chunk-rpgne7xh.js +0 -2
  374. package/bundle/chunk-rvgj1vky.js +0 -2
  375. package/bundle/chunk-ss2jvqrg.js +0 -2
  376. package/bundle/chunk-tt9smgmg.js +0 -2
  377. package/bundle/chunk-tvwwq4b3.js +0 -2
  378. package/bundle/chunk-v2n26eg4.js +0 -2
  379. package/bundle/chunk-v7ezt8k3.js +0 -2
  380. package/bundle/chunk-vqg5q96v.js +0 -2
  381. package/bundle/chunk-x24y7qyd.js +0 -2
  382. package/bundle/chunk-y2d0w09y.js +0 -2
  383. package/bundle/chunk-yb79f79m.js +0 -2
  384. package/bundle/chunk-yjnyzpmt.js +0 -2
  385. package/bundle/chunk-yqbcnsa1.js +0 -2
  386. package/bundle/chunk-z3mra3nm.js +0 -2
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import{K as I}from"./chunk-yt3f3j35.js";import{L as i,N as r}from"./chunk-rh9vnpgr.js";import{wd as c}from"./chunk-tge53d52.js";import{xd as g}from"./chunk-zfd70p01.js";import{yd as y}from"./chunk-j5ymkhry.js";import{zd as k}from"./chunk-xd3xc1vv.js";import{Ad as A}from"./chunk-bzgj60w4.js";import{Fd as w,Gd as u,Id as W,Jd as L,Kd as T,Md as p,Nd as o,Od as b,Pd as P}from"./chunk-p62gb4wj.js";import"./chunk-x4sp99g6.js";import{Rd as z}from"./chunk-yajd975f.js";import{Vf as Y}from"./chunk-rbk8seme.js";import{gh as M}from"./chunk-tc18nbmn.js";import"./chunk-481k3dag.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Dl as s,Xj as R,ol as a}from"./chunk-wefez1gt.js";import{Pl as V}from"./chunk-ccmbckek.js";import{lm as n}from"./chunk-711dc303.js";import"./chunk-qn6gdhns.js";import"./chunk-bn0h9dny.js";import"./chunk-mpkvpn2y.js";import"./chunk-9bzhxenb.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-famryv52.js";import"./chunk-2hc5z7b5.js";import"./chunk-e1w70zdn.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-rryytkmg.js";import"./chunk-te47zdxd.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-0t4324w5.js";import{Qs as l,as as v}from"./chunk-hdrbyarv.js";import{ht as d}from"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import{pH as O}from"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import{FO as H1}from"./chunk-7xm75w1e.js";import f from"path";import{pathToFileURL as J1}from"url";import Q1 from"os";import{access as S1,readdir as X1}from"fs/promises";var q1={en:A,zh:k,ja:c,fr:y,ru:g},B1=q1[I()]??A;function U($,B){let J=B1[$]??A[$]??$;if(!B)return J;return J.replace(/\{(\w+)\}/g,(X,H)=>(H in B)?String(B[H]):`{${H}}`)}import{text as Z1}from"stream/consumers";var D=($,B)=>M.runPromise(O.gen(function*(){yield*(yield*R.Service).set($,B)}));async function t(){let $=await p({message:"Enter your API key",validate:(B)=>B&&B.length>0?void 0:"Required"});if(w($))throw new Y.CancelledError;return $}async function h($,B){let J=$.provider??B;if("refresh"in $){let{type:X,provider:H,refresh:Z,access:j,expires:q,metadata:S,...G}=$;await D(J,{type:"oauth",refresh:Z,access:j,expires:q,...G})}if("key"in $)await D(J,{type:"api",key:$.key,...$.metadata?{metadata:$.metadata}:{}})}async function x($,B,J){let X=0;if(J){let j=$.auth.methods.findIndex((q)=>q.label.toLowerCase()===J.toLowerCase());if(j===-1)W.error(`Unknown method "${J}" for ${B}. Available: ${$.auth.methods.map((q)=>q.label).join(", ")}`),process.exit(1);X=j}else if($.auth.methods.length>1){let j=await b({message:"Login method",options:$.auth.methods.map((q,S)=>({label:q.label,value:S.toString()}))});if(w(j))throw new Y.CancelledError;X=parseInt(j)}let H=$.auth.methods[X];await new Promise((j)=>setTimeout(j,10));let Z={};if(H.prompts)for(let j of H.prompts){if(j.when){let q=Z[j.when.key];if(q===void 0)continue;if(!(j.when.op==="eq"?q===j.when.value:q!==j.when.value))continue}if(j.condition&&!j.condition(Z))continue;if(j.type==="select"){let q=await b({message:j.message,options:j.options});if(w(q))throw new Y.CancelledError;Z[j.key]=q}else{let q=await P({message:j.message,placeholder:j.placeholder,validate:j.validate?(S)=>j.validate(S??""):void 0});if(w(q))throw new Y.CancelledError;Z[j.key]=q}}if(H.type==="oauth"){let j=await H.authorize(Z);if(j.url)W.info("Go to: "+j.url);if(j.method==="auto"){if(j.instructions)W.info(j.instructions);let q=o();q.start("Waiting for authorization...");let S=await j.callback();if(S.type==="failed")q.stop("Failed to authorize",1);if(S.type==="success")await h(S,B),q.stop("Login successful")}if(j.method==="code"){let q=await P({message:"Paste the authorization code here: ",validate:(G)=>G&&G.length>0?void 0:"Required"});if(w(q))throw new Y.CancelledError;let S=await j.callback(q);if(S.type==="failed")W.error("Failed to authorize");if(S.type==="success")await h(S,B),W.success("Login successful")}return T("Done"),!0}if(H.type==="api"){if(H.authorize){let j=await t(),q=await H.authorize(Z);if(q.type==="failed")W.error("Failed to authorize");if(q.type==="success"){let S=q.provider??B;await D(S,{type:"api",key:q.key??j}),W.success("Login successful")}return T("Done"),!0}}return!1}function G1($){let B=new Set,J=[];for(let X of $.hooks){if(!X.auth)continue;let H=X.auth.provider;if(B.has(H))continue;if(B.add(H),Object.hasOwn($.existingProviders,H))continue;if($.disabled.has(H))continue;if($.enabled&&!$.enabled.has(H))continue;J.push({id:H,name:$.providerNames[H]??H})}return J}function m($){let B=$?.loginExtension;if(!B||typeof B!=="object")return;let J=B;if(typeof J.id!=="string"||typeof J.run!=="function")return;return J}async function W1(){try{let J=await import("./chunk-0p27fvfr.js");for(let X of Object.values(J.modules??{})){let H=m(X);if(H)return H}}catch{}let $=f.join(import.meta.dir,"..","..","ext");await S1($).catch(()=>{return});let B=await X1($).catch(()=>[]);for(let J of B.filter((X)=>X.endsWith(".ts")&&!X.endsWith(".d.ts")))try{let X=m(await import(J1(f.join($,J)).href));if(X)return X}catch{}return}var l1=z({command:"providers",aliases:["auth"],describe:"manage AI providers and credentials",builder:($)=>$.command(Y1).command(_1).command(F1).command(K1).demandCommand(),async handler(){}}),Y1=z({command:"list",aliases:["ls"],describe:"list providers and credentials",async handler($){Y.empty();let B=f.join(l.Path.data,"auth.json"),J=Q1.homedir(),X=B===J||B.startsWith(J+f.sep)?"~"+B.slice(J.length):B;L(`Credentials ${Y.Style.TEXT_DIM}${X}`);let H=await M.runPromise(O.gen(function*(){let q=yield*R.Service;return Object.entries(yield*q.all())})),Z=await V.get();for(let[q,S]of H){let G=Z[q]?.name||q;W.info(`${G} ${Y.Style.TEXT_DIM}${S.type}`)}T(`${H.length} credentials`);let j=[];for(let[q,S]of Object.entries(Z))for(let G of S.env)if(process.env[G])j.push({provider:S.name||q,envVar:G});if(j.length>0){Y.empty(),L("Environment");for(let{provider:q,envVar:S}of j)W.info(`${q} ${Y.Style.TEXT_DIM}${S}`);T(`${j.length} environment variable`+(j.length===1?"":"s"))}}}),_1=z({command:"login [url]",describe:"log in to a provider",builder:($)=>$.positional("url",{describe:"qitqode auth provider",type:"string"}).option("provider",{alias:["p"],describe:"provider id or name to log in to (skips provider selection)",type:"string"}).option("method",{alias:["m"],describe:"login method label (skips method selection)",type:"string"}),async handler($){await n.provide({directory:process.cwd(),async fn(){if(Y.empty(),L("Add credential"),$.url){let Q=$.url.replace(/\/+$/,""),_=await fetch(`${Q}/.well-known/opencode`).then((j1)=>j1.json());W.info(`Running \`${_.auth.command.join(" ")}\``);let F=d.spawn(_.auth.command,{stdout:"pipe"});if(!F.stdout){W.error("Failed"),T("Done");return}let[C,N]=await Promise.all([F.exited,Z1(F.stdout)]);if(C!==0){W.error("Failed"),T("Done");return}await D(Q,{type:"wellknown",key:_.auth.env,token:N.trim()}),W.success("Logged into "+Q),T("Done");return}await V.refresh(!0).catch(()=>{});let B=await M.runPromise(s.Service.use((Q)=>Q.get())),J=new Set(B.disabled_providers??[]),X=B.enabled_providers?new Set(B.enabled_providers):void 0,H=await V.get().then((Q)=>{let _={};for(let[F,C]of Object.entries(Q))if((X?X.has(F):!0)&&!J.has(F))_[F]=C;return _}),Z=await M.runPromise(O.gen(function*(){return yield*(yield*a.Service).list()})),j=i,q=G1({hooks:Z,existingProviders:H,disabled:J,enabled:X,providerNames:Object.fromEntries(Object.entries(B.provider??{}).map(([Q,_])=>[Q,_.name]))}),S=[...r(v(H),j,(Q)=>({openai:"ChatGPT Plus/Pro or API key"})[Q.id]),...q.map((Q)=>({label:Q.name,value:Q.id,hint:"plugin"}))],G=await W1(),e=G?[G.id,...G.aliases??[]]:[],K;if(G&&$.provider&&e.includes($.provider)){await G.run();return}else if($.provider){let Q=$.provider,_=S.find((N)=>N.value===Q),F=S.find((N)=>N.label.toLowerCase()===Q.toLowerCase()),C=_??F;if(!C)W.error(`Unknown provider "${Q}"`),process.exit(1);K=C.value}else{let Q=await b({message:U("cli.providers.select"),options:[...G?.menu?[{label:G.menu.label,value:G.id,hint:G.menu.hint}]:[],{label:U("cli.providers.other"),value:"__other__"}]});if(w(Q))throw new Y.CancelledError;if(G&&Q===G.id){await G.run();return}let _=await u({message:U("cli.providers.select"),maxItems:8,options:[...S,{value:"other",label:"Other"}]});if(w(_))throw new Y.CancelledError;K=_}let E=Z.findLast((Q)=>Q.auth?.provider===K);if(E&&E.auth){if(await x({auth:E.auth},K,$.method))return}if(K==="other"){let Q=await P({message:"Enter provider id",validate:(F)=>F&&F.match(/^[0-9a-z-]+$/)?void 0:"a-z, 0-9 and hyphens only"});if(w(Q))throw new Y.CancelledError;K=Q.replace(/^@ai-sdk\//,"");let _=Z.findLast((F)=>F.auth?.provider===K);if(_&&_.auth){if(await x({auth:_.auth},K,$.method))return}W.warn(`This only stores a credential for ${K} - you will need configure it in qitqode.json, check the docs for examples.`)}if(K==="amazon-bedrock")W.info(`Amazon Bedrock authentication priority:
2
+ import{K as I}from"./chunk-yt3f3j35.js";import{L as i,N as r}from"./chunk-6ged58yw.js";import{wd as c}from"./chunk-tge53d52.js";import{xd as g}from"./chunk-zfd70p01.js";import{yd as y}from"./chunk-j5ymkhry.js";import{zd as k}from"./chunk-xd3xc1vv.js";import{Ad as A}from"./chunk-bzgj60w4.js";import{Fd as w,Gd as u,Id as W,Jd as L,Kd as T,Md as p,Nd as o,Od as b,Pd as P}from"./chunk-x66ycpfs.js";import"./chunk-03xppy47.js";import{Rd as z}from"./chunk-yajd975f.js";import{Vf as Y}from"./chunk-p9cnzxb8.js";import{gh as M}from"./chunk-5e4fxy99.js";import"./chunk-8vg4fmg2.js";import"./chunk-zfcp509b.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-md8161zd.js";import"./chunk-yk97q51d.js";import{Dl as s,Xj as R,ol as a}from"./chunk-e74efvj2.js";import{Pl as V}from"./chunk-st5jaszz.js";import{lm as n}from"./chunk-a1hzeejj.js";import"./chunk-sjw56r2n.js";import"./chunk-nj4d554m.js";import"./chunk-eva3nqqb.js";import"./chunk-yprmd5b7.js";import"./chunk-snr44en9.js";import"./chunk-keveg5gx.js";import"./chunk-f3bnn9rf.js";import"./chunk-xqdrr7xg.js";import"./chunk-axdzm75h.js";import"./chunk-94pcpztx.js";import"./chunk-hw5qyht3.js";import"./chunk-z8gdmvgg.js";import"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import"./chunk-g6cyhxwg.js";import"./chunk-n96tvjgj.js";import"./chunk-pkc4ddw1.js";import"./chunk-xgr6jnd6.js";import"./chunk-a48t0g95.js";import"./chunk-yqk58hf6.js";import"./chunk-er38zew1.js";import"./chunk-dk975etf.js";import"./chunk-6p94fpbn.js";import"./chunk-fg35hwa0.js";import"./chunk-79agp7v3.js";import"./chunk-kv72hxkp.js";import"./chunk-nj2bbtmx.js";import{nu as l,zt as v}from"./chunk-tns5x4w0.js";import{Gu as d}from"./chunk-e7v9trve.js";import"./chunk-zh3fny3z.js";import"./chunk-m4j7jyrd.js";import"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-wfd5h6ax.js";import{OI as O}from"./chunk-a0rp7gh4.js";import"./chunk-kfmz2p27.js";import"./chunk-ee23d2nz.js";import{cQ as H1}from"./chunk-3k2b05fv.js";import f from"path";import{pathToFileURL as J1}from"url";import Q1 from"os";import{access as S1,readdir as X1}from"fs/promises";var q1={en:A,zh:k,ja:c,fr:y,ru:g},B1=q1[I()]??A;function U($,B){let J=B1[$]??A[$]??$;if(!B)return J;return J.replace(/\{(\w+)\}/g,(X,H)=>(H in B)?String(B[H]):`{${H}}`)}import{text as Z1}from"stream/consumers";var D=($,B)=>M.runPromise(O.gen(function*(){yield*(yield*R.Service).set($,B)}));async function t(){let $=await p({message:"Enter your API key",validate:(B)=>B&&B.length>0?void 0:"Required"});if(w($))throw new Y.CancelledError;return $}async function h($,B){let J=$.provider??B;if("refresh"in $){let{type:X,provider:H,refresh:Z,access:j,expires:q,metadata:S,...G}=$;await D(J,{type:"oauth",refresh:Z,access:j,expires:q,...G})}if("key"in $)await D(J,{type:"api",key:$.key,...$.metadata?{metadata:$.metadata}:{}})}async function x($,B,J){let X=0;if(J){let j=$.auth.methods.findIndex((q)=>q.label.toLowerCase()===J.toLowerCase());if(j===-1)W.error(`Unknown method "${J}" for ${B}. Available: ${$.auth.methods.map((q)=>q.label).join(", ")}`),process.exit(1);X=j}else if($.auth.methods.length>1){let j=await b({message:"Login method",options:$.auth.methods.map((q,S)=>({label:q.label,value:S.toString()}))});if(w(j))throw new Y.CancelledError;X=parseInt(j)}let H=$.auth.methods[X];await new Promise((j)=>setTimeout(j,10));let Z={};if(H.prompts)for(let j of H.prompts){if(j.when){let q=Z[j.when.key];if(q===void 0)continue;if(!(j.when.op==="eq"?q===j.when.value:q!==j.when.value))continue}if(j.condition&&!j.condition(Z))continue;if(j.type==="select"){let q=await b({message:j.message,options:j.options});if(w(q))throw new Y.CancelledError;Z[j.key]=q}else{let q=await P({message:j.message,placeholder:j.placeholder,validate:j.validate?(S)=>j.validate(S??""):void 0});if(w(q))throw new Y.CancelledError;Z[j.key]=q}}if(H.type==="oauth"){let j=await H.authorize(Z);if(j.url)W.info("Go to: "+j.url);if(j.method==="auto"){if(j.instructions)W.info(j.instructions);let q=o();q.start("Waiting for authorization...");let S=await j.callback();if(S.type==="failed")q.stop("Failed to authorize",1);if(S.type==="success")await h(S,B),q.stop("Login successful")}if(j.method==="code"){let q=await P({message:"Paste the authorization code here: ",validate:(G)=>G&&G.length>0?void 0:"Required"});if(w(q))throw new Y.CancelledError;let S=await j.callback(q);if(S.type==="failed")W.error("Failed to authorize");if(S.type==="success")await h(S,B),W.success("Login successful")}return T("Done"),!0}if(H.type==="api"){if(H.authorize){let j=await t(),q=await H.authorize(Z);if(q.type==="failed")W.error("Failed to authorize");if(q.type==="success"){let S=q.provider??B;await D(S,{type:"api",key:q.key??j}),W.success("Login successful")}return T("Done"),!0}}return!1}function G1($){let B=new Set,J=[];for(let X of $.hooks){if(!X.auth)continue;let H=X.auth.provider;if(B.has(H))continue;if(B.add(H),Object.hasOwn($.existingProviders,H))continue;if($.disabled.has(H))continue;if($.enabled&&!$.enabled.has(H))continue;J.push({id:H,name:$.providerNames[H]??H})}return J}function m($){let B=$?.loginExtension;if(!B||typeof B!=="object")return;let J=B;if(typeof J.id!=="string"||typeof J.run!=="function")return;return J}async function W1(){try{let J=await import("./chunk-ttevj0pj.js");for(let X of Object.values(J.modules??{})){let H=m(X);if(H)return H}}catch{}let $=f.join(import.meta.dir,"..","..","ext");await S1($).catch(()=>{return});let B=await X1($).catch(()=>[]);for(let J of B.filter((X)=>X.endsWith(".ts")&&!X.endsWith(".d.ts")))try{let X=m(await import(J1(f.join($,J)).href));if(X)return X}catch{}return}var l1=z({command:"providers",aliases:["auth"],describe:"manage AI providers and credentials",builder:($)=>$.command(Y1).command(_1).command(F1).command(K1).demandCommand(),async handler(){}}),Y1=z({command:"list",aliases:["ls"],describe:"list providers and credentials",async handler($){Y.empty();let B=f.join(l.Path.data,"auth.json"),J=Q1.homedir(),X=B===J||B.startsWith(J+f.sep)?"~"+B.slice(J.length):B;L(`Credentials ${Y.Style.TEXT_DIM}${X}`);let H=await M.runPromise(O.gen(function*(){let q=yield*R.Service;return Object.entries(yield*q.all())})),Z=await V.get();for(let[q,S]of H){let G=Z[q]?.name||q;W.info(`${G} ${Y.Style.TEXT_DIM}${S.type}`)}T(`${H.length} credentials`);let j=[];for(let[q,S]of Object.entries(Z))for(let G of S.env)if(process.env[G])j.push({provider:S.name||q,envVar:G});if(j.length>0){Y.empty(),L("Environment");for(let{provider:q,envVar:S}of j)W.info(`${q} ${Y.Style.TEXT_DIM}${S}`);T(`${j.length} environment variable`+(j.length===1?"":"s"))}}}),_1=z({command:"login [url]",describe:"log in to a provider",builder:($)=>$.positional("url",{describe:"qitqode auth provider",type:"string"}).option("provider",{alias:["p"],describe:"provider id or name to log in to (skips provider selection)",type:"string"}).option("method",{alias:["m"],describe:"login method label (skips method selection)",type:"string"}),async handler($){await n.provide({directory:process.cwd(),async fn(){if(Y.empty(),L("Add credential"),$.url){let Q=$.url.replace(/\/+$/,""),_=await fetch(`${Q}/.well-known/opencode`).then((j1)=>j1.json());W.info(`Running \`${_.auth.command.join(" ")}\``);let F=d.spawn(_.auth.command,{stdout:"pipe"});if(!F.stdout){W.error("Failed"),T("Done");return}let[C,N]=await Promise.all([F.exited,Z1(F.stdout)]);if(C!==0){W.error("Failed"),T("Done");return}await D(Q,{type:"wellknown",key:_.auth.env,token:N.trim()}),W.success("Logged into "+Q),T("Done");return}await V.refresh(!0).catch(()=>{});let B=await M.runPromise(s.Service.use((Q)=>Q.get())),J=new Set(B.disabled_providers??[]),X=B.enabled_providers?new Set(B.enabled_providers):void 0,H=await V.get().then((Q)=>{let _={};for(let[F,C]of Object.entries(Q))if((X?X.has(F):!0)&&!J.has(F))_[F]=C;return _}),Z=await M.runPromise(O.gen(function*(){return yield*(yield*a.Service).list()})),j=i,q=G1({hooks:Z,existingProviders:H,disabled:J,enabled:X,providerNames:Object.fromEntries(Object.entries(B.provider??{}).map(([Q,_])=>[Q,_.name]))}),S=[...r(v(H),j,(Q)=>({openai:"ChatGPT Plus/Pro or API key"})[Q.id]),...q.map((Q)=>({label:Q.name,value:Q.id,hint:"plugin"}))],G=await W1(),e=G?[G.id,...G.aliases??[]]:[],K;if(G&&$.provider&&e.includes($.provider)){await G.run();return}else if($.provider){let Q=$.provider,_=S.find((N)=>N.value===Q),F=S.find((N)=>N.label.toLowerCase()===Q.toLowerCase()),C=_??F;if(!C)W.error(`Unknown provider "${Q}"`),process.exit(1);K=C.value}else{let Q=await b({message:U("cli.providers.select"),options:[...G?.menu?[{label:G.menu.label,value:G.id,hint:G.menu.hint}]:[],{label:U("cli.providers.other"),value:"__other__"}]});if(w(Q))throw new Y.CancelledError;if(G&&Q===G.id){await G.run();return}let _=await u({message:U("cli.providers.select"),maxItems:8,options:[...S,{value:"other",label:"Other"}]});if(w(_))throw new Y.CancelledError;K=_}let E=Z.findLast((Q)=>Q.auth?.provider===K);if(E&&E.auth){if(await x({auth:E.auth},K,$.method))return}if(K==="other"){let Q=await P({message:"Enter provider id",validate:(F)=>F&&F.match(/^[0-9a-z-]+$/)?void 0:"a-z, 0-9 and hyphens only"});if(w(Q))throw new Y.CancelledError;K=Q.replace(/^@ai-sdk\//,"");let _=Z.findLast((F)=>F.auth?.provider===K);if(_&&_.auth){if(await x({auth:_.auth},K,$.method))return}W.warn(`This only stores a credential for ${K} - you will need configure it in qitqode.json, check the docs for examples.`)}if(K==="amazon-bedrock")W.info(`Amazon Bedrock authentication priority:
3
3
  1. Bearer token (AWS_BEARER_TOKEN_BEDROCK or /connect)
4
4
  2. AWS credential chain (profile, access keys, IAM roles, EKS IRSA)
5
5
 
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{Vr as X}from"./chunk-hdrbyarv.js";function D(j){return j.parserConfiguration({"populate--":!0}).scriptName("qitqode").wrap(100).help("help","show help").alias("help","h").version("version","show version number",X).alias("version","v").option("print-logs",{describe:"print logs to stderr",type:"boolean"}).option("log-level",{describe:"log level",type:"string",choices:["DEBUG","INFO","WARN","ERROR"]}).option("pure",{describe:"run without external plugins",type:"boolean"})}var H={port:{type:"number",describe:"port to listen on",default:0},hostname:{type:"string",describe:"hostname to listen on",default:"127.0.0.1"},mdns:{type:"boolean",describe:"enable mDNS service discovery (defaults hostname to 0.0.0.0)",default:!1},"mdns-domain":{type:"string",describe:"custom domain name for mDNS service (default: qitqode.local)",default:"qitqode.local"},cors:{type:"string",array:!0,describe:"additional domains to allow for CORS",default:[]},"no-auth":{type:"boolean",describe:"allow starting without authentication on non-loopback addresses (DANGEROUS)",default:!1}};function u(j){return j.options(H)}function F(j,z=process.argv){return z.some((B)=>B===j||B.startsWith(`${j}=`))}function P(j,z=process.argv){return F("--port",z)||F("--hostname",z)||F("--mdns",z)||!!j.mdns||j.port!==0||j.hostname!=="127.0.0.1"}function _(j,z,B=process.argv){let J=F("--port",B),Z=F("--hostname",B),$=F("--mdns",B),q=F("--mdns-domain",B),K=$?j.mdns:z?.server?.mdns??j.mdns,M=q?j["mdns-domain"]:z?.server?.mdnsDomain??j["mdns-domain"],N=J?j.port:z?.server?.port??j.port,U=Z?j.hostname:K&&!z?.server?.hostname?"0.0.0.0":z?.server?.hostname??j.hostname,V=z?.server?.cors??[],Y=Array.isArray(j.cors)?j.cors:j.cors?[j.cors]:[],b=[...V,...Y],A=j["no-auth"];return{hostname:U,port:N,mdns:K,mdnsDomain:M,cors:b,noAuth:A}}var k={model:{type:"string",alias:["m"],describe:"model to use in the format of provider/model"},continue:{alias:["c"],describe:"continue the last session",type:"boolean"},session:{alias:["s"],type:"string",describe:"session id to continue"},fork:{type:"boolean",describe:"fork the session when continuing (use with --continue or --session)"},prompt:{type:"string",describe:"prompt to use"},agent:{type:"string",describe:"agent to use"},dark:{type:"boolean",describe:"start in dark theme (overrides saved theme preference for this launch)"},light:{type:"boolean",describe:"start in light theme (overrides saved theme preference for this launch)"},monochrome:{type:"boolean",describe:"start in monochrome accessible rendering \u2014 no color, plain terminal, screen-reader friendly"},headless:{type:"boolean",describe:"headless permissionless mode for AI subagent use \u2014 auto-approves all tool permissions, implies --never-ask"},fullauto:{type:"boolean",describe:"full-auto mode for the interactive TUI \u2014 never asks: starts in build mode, auto-decides questions and auto-approves every tool permission that is not explicitly denied by your config (dangerous!)"},"api-key":{type:"string",describe:"Qortex API key for non-interactive authentication in headless mode (can also be set via $QLEX_API_KEY)"},sso:{type:"boolean",describe:"sign in via SSO device-code flow before starting a headless session \u2014 prints a URL and code, waits for browser approval (requires --headless)"},free:{type:"boolean",describe:"start in Free tier (no cost) \u2014 shorthand for the Free model tier"},default:{type:"boolean",describe:"start in Default tier \u2014 shorthand for the Default model tier"},fast:{type:"boolean",describe:"start in Fast tier \u2014 shorthand for the Fast model tier"},economy:{type:"boolean",describe:"start in Economy tier \u2014 shorthand for the Economy model tier"},power:{type:"boolean",describe:"start in Power tier \u2014 shorthand for the Power model tier"},orchestrated:{type:"boolean",describe:"start in Orchestrated tier \u2014 shorthand for the Orchestrated model tier"}},L=36,W="\x1B[38;5;214m",I="\x1B[0;2m",Q="\x1B[0m";function G(j,z){let B=Math.round(j/100*L),J=`${"\u25A0".repeat(B)}${"\uFF65".repeat(L-B)}`;return`\r${W}${J} ${j.toString().padStart(3)}%${Q} ${I}${z}${Q}`}
2
+ import{st as X}from"./chunk-tns5x4w0.js";function D(j){return j.parserConfiguration({"populate--":!0}).scriptName("qitqode").wrap(100).help("help","show help").alias("help","h").version("version","show version number",X).alias("version","v").option("print-logs",{describe:"print logs to stderr",type:"boolean"}).option("log-level",{describe:"log level",type:"string",choices:["DEBUG","INFO","WARN","ERROR"]}).option("pure",{describe:"run without external plugins",type:"boolean"})}var H={port:{type:"number",describe:"port to listen on",default:0},hostname:{type:"string",describe:"hostname to listen on",default:"127.0.0.1"},mdns:{type:"boolean",describe:"enable mDNS service discovery (defaults hostname to 0.0.0.0)",default:!1},"mdns-domain":{type:"string",describe:"custom domain name for mDNS service (default: qitqode.local)",default:"qitqode.local"},cors:{type:"string",array:!0,describe:"additional domains to allow for CORS",default:[]},"no-auth":{type:"boolean",describe:"allow starting without authentication on non-loopback addresses (DANGEROUS)",default:!1}};function u(j){return j.options(H)}function F(j,z=process.argv){return z.some((B)=>B===j||B.startsWith(`${j}=`))}function P(j,z=process.argv){return F("--port",z)||F("--hostname",z)||F("--mdns",z)||!!j.mdns||j.port!==0||j.hostname!=="127.0.0.1"}function _(j,z,B=process.argv){let J=F("--port",B),Z=F("--hostname",B),$=F("--mdns",B),q=F("--mdns-domain",B),K=$?j.mdns:z?.server?.mdns??j.mdns,M=q?j["mdns-domain"]:z?.server?.mdnsDomain??j["mdns-domain"],N=J?j.port:z?.server?.port??j.port,U=Z?j.hostname:K&&!z?.server?.hostname?"0.0.0.0":z?.server?.hostname??j.hostname,V=z?.server?.cors??[],Y=Array.isArray(j.cors)?j.cors:j.cors?[j.cors]:[],b=[...V,...Y],A=j["no-auth"];return{hostname:U,port:N,mdns:K,mdnsDomain:M,cors:b,noAuth:A}}var k={model:{type:"string",alias:["m"],describe:"model to use in the format of provider/model"},continue:{alias:["c"],describe:"continue the last session",type:"boolean"},session:{alias:["s"],type:"string",describe:"session id to continue"},fork:{type:"boolean",describe:"fork the session when continuing (use with --continue or --session)"},prompt:{type:"string",describe:"prompt to use"},agent:{type:"string",describe:"agent to use"},dark:{type:"boolean",describe:"start in dark theme (overrides saved theme preference for this launch)"},light:{type:"boolean",describe:"start in light theme (overrides saved theme preference for this launch)"},monochrome:{type:"boolean",describe:"start in monochrome accessible rendering \u2014 no color, plain terminal, screen-reader friendly"},headless:{type:"boolean",describe:"headless permissionless mode for AI subagent use \u2014 auto-approves all tool permissions, implies --never-ask"},fullauto:{type:"boolean",describe:"full-auto mode for the interactive TUI \u2014 never asks: starts in build mode, auto-decides questions and auto-approves every tool permission that is not explicitly denied by your config (dangerous!)"},"api-key":{type:"string",describe:"Qortex API key for non-interactive authentication in headless mode (can also be set via $QLEX_API_KEY)"},sso:{type:"boolean",describe:"sign in via SSO device-code flow before starting a headless session \u2014 prints a URL and code, waits for browser approval (requires --headless)"},free:{type:"boolean",describe:"start in Free tier (no cost) \u2014 shorthand for the Free model tier"},default:{type:"boolean",describe:"start in Default tier \u2014 shorthand for the Default model tier"},fast:{type:"boolean",describe:"start in Fast tier \u2014 shorthand for the Fast model tier"},economy:{type:"boolean",describe:"start in Economy tier \u2014 shorthand for the Economy model tier"},power:{type:"boolean",describe:"start in Power tier \u2014 shorthand for the Power model tier"},orchestrated:{type:"boolean",describe:"start in Orchestrated tier \u2014 shorthand for the Orchestrated model tier"}},L=36,W="\x1B[38;5;214m",I="\x1B[0;2m",Q="\x1B[0m";function G(j,z){let B=Math.round(j/100*L),J=`${"\u25A0".repeat(B)}${"\uFF65".repeat(L-B)}`;return`\r${W}${J} ${j.toString().padStart(3)}%${Q} ${I}${z}${Q}`}
3
3
  export{D as Mf,H as Nf,u as Of,P as Pf,_ as Qf,k as Rf,G as Sf};