@qitqode/qitqode-android-arm64 0.1.26 → 0.1.27
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.
- package/bundle/chunk-02y04bsz.js +2 -0
- package/bundle/{chunk-x3z8q0ep.js → chunk-04tw0r4s.js} +1 -1
- package/bundle/chunk-07ws99b1.js +2 -0
- package/bundle/chunk-09c4ngag.js +2 -0
- package/bundle/{chunk-se195e52.js → chunk-09kba1hg.js} +2 -2
- package/bundle/{chunk-pfn1db1m.js → chunk-0a0vat1h.js} +2 -2
- package/bundle/{chunk-txty44v2.js → chunk-0eqwm9a8.js} +2 -2
- package/bundle/chunk-0jgst767.js +2 -0
- package/bundle/chunk-0psrr9vp.js +2 -0
- package/bundle/chunk-0srrmwqs.js +2 -0
- package/bundle/{chunk-eq33vmze.js → chunk-0x3sbyny.js} +2 -2
- package/bundle/chunk-0zkejr6k.js +2 -0
- package/bundle/{chunk-z2q3mg73.js → chunk-12bssxd4.js} +2 -2
- package/bundle/chunk-14n6rvh2.js +2 -0
- package/bundle/{chunk-1qbm1k9y.js → chunk-17psxhve.js} +3 -3
- package/bundle/{chunk-hz1hd1bd.js → chunk-1bhvt33f.js} +1 -1
- package/bundle/{chunk-49tqzsy0.js → chunk-1dwcga8g.js} +2 -2
- package/bundle/{chunk-9qtf8khv.js → chunk-1fbeendk.js} +1 -1
- package/bundle/chunk-1fja3j80.js +2 -0
- package/bundle/chunk-1j73cnvz.js +2 -0
- package/bundle/{chunk-eqaym8gm.js → chunk-1qshjfzm.js} +1 -1
- package/bundle/{chunk-d31yrcrn.js → chunk-1rp1cvmc.js} +2 -2
- package/bundle/{chunk-vx837ete.js → chunk-1sgby720.js} +1 -1
- package/bundle/{chunk-wefjbwv6.js → chunk-1t9jne14.js} +1 -1
- package/bundle/chunk-1yddn03z.js +2 -0
- package/bundle/{chunk-qngs31yf.js → chunk-26nfphsg.js} +1 -1
- package/bundle/{chunk-kkdgzeva.js → chunk-27yxgy03.js} +2 -2
- package/bundle/{chunk-b79k456s.js → chunk-2ahqhh4z.js} +1 -1
- package/bundle/{chunk-fx7w497c.js → chunk-2bn4b42t.js} +1 -1
- package/bundle/{chunk-4k70wrhf.js → chunk-2dzk5txw.js} +1 -1
- package/bundle/{chunk-56qm8xpt.js → chunk-2jmxt3fb.js} +1 -1
- package/bundle/{chunk-r1yqmd4y.js → chunk-2km50rd3.js} +1 -1
- package/bundle/{chunk-j87bvp1b.js → chunk-2q96x1t5.js} +1 -1
- package/bundle/{chunk-77e1wh0j.js → chunk-2rs39vj2.js} +2 -2
- package/bundle/{chunk-qb5qemtp.js → chunk-2tnarng3.js} +1 -1
- package/bundle/{chunk-cr06m77n.js → chunk-2vepzgek.js} +2 -2
- package/bundle/{chunk-s86fj82v.js → chunk-2wcv3sq5.js} +2 -2
- package/bundle/{chunk-k7h6tfzj.js → chunk-371r2111.js} +1 -1
- package/bundle/{chunk-5jtd006j.js → chunk-37n34pzd.js} +2 -2
- package/bundle/chunk-38g8yzw0.js +2 -0
- package/bundle/chunk-3bkd0ar3.js +2 -0
- package/bundle/{chunk-6nkcfncg.js → chunk-3bmzjznz.js} +1 -1
- package/bundle/chunk-3c7d3dqt.js +3 -0
- package/bundle/{chunk-7n2kpqh5.js → chunk-3nwve06r.js} +1 -1
- package/bundle/{chunk-ptf09vmp.js → chunk-3nyqh1d6.js} +1 -1
- package/bundle/{chunk-7rxsj310.js → chunk-463f9wre.js} +2 -2
- package/bundle/{chunk-cyjzqa5p.js → chunk-47b084yv.js} +204 -202
- package/bundle/{chunk-6s2f5sv4.js → chunk-48fvrggx.js} +1 -1
- package/bundle/chunk-4amgp4yd.js +3 -0
- package/bundle/chunk-4k7kbhps.js +2 -0
- package/bundle/{chunk-f3c9667r.js → chunk-4qqkqrn9.js} +2 -2
- package/bundle/chunk-4sz3jbc5.js +2 -0
- package/bundle/{chunk-1n4w8dya.js → chunk-4tbwha3m.js} +2 -2
- package/bundle/{chunk-admgf65a.js → chunk-4ypcf4tg.js} +1 -1
- package/bundle/chunk-4z4p492c.js +3 -0
- package/bundle/chunk-55b9699f.js +2 -0
- package/bundle/{chunk-dv5zf5gz.js → chunk-5a5t01ka.js} +1 -1
- package/bundle/{chunk-880msfsd.js → chunk-5fgx6fa4.js} +1 -1
- package/bundle/{chunk-t1vtdgd6.js → chunk-5fz8tph5.js} +1 -1
- package/bundle/{chunk-e57d1he9.js → chunk-5qam3c8r.js} +1 -1
- package/bundle/{chunk-fffj9447.js → chunk-61c62e5s.js} +2 -2
- package/bundle/chunk-6d9wsjxm.js +2 -0
- package/bundle/{chunk-f6y7a5w3.js → chunk-6fp8a9ek.js} +2 -2
- package/bundle/chunk-6gz9cthq.js +2 -0
- package/bundle/{chunk-st74db4c.js → chunk-6hv59ere.js} +1 -1
- package/bundle/{chunk-56pwz1kk.js → chunk-6nbzdb0r.js} +1 -1
- package/bundle/{chunk-8ahpk8td.js → chunk-6p7yg5sr.js} +1 -1
- package/bundle/chunk-6q87abbr.js +2 -0
- package/bundle/{chunk-kfk1zqc1.js → chunk-6qy1ghrx.js} +1 -1
- package/bundle/chunk-730a2d1k.js +2 -0
- package/bundle/chunk-7bd0x9vf.js +2 -0
- package/bundle/chunk-7czkntef.js +2 -0
- package/bundle/chunk-7ex57nyh.js +2 -0
- package/bundle/chunk-7gpczxbh.js +2 -0
- package/bundle/chunk-7j0bgeh2.js +2 -0
- package/bundle/{chunk-w3pzv615.js → chunk-7jbz3dgt.js} +1 -1
- package/bundle/{chunk-0ndvy0nh.js → chunk-7ppd2phw.js} +2 -2
- package/bundle/chunk-7py443fe.js +2 -0
- package/bundle/{chunk-ykxde207.js → chunk-7yrhe3xq.js} +2 -2
- package/bundle/{chunk-3s0d17xe.js → chunk-89q1y7tc.js} +1 -1
- package/bundle/{chunk-9wm41z2f.js → chunk-89v6dgpp.js} +2 -2
- package/bundle/chunk-8cdm8gh2.js +2 -0
- package/bundle/chunk-90q5sae0.js +2 -0
- package/bundle/{chunk-ygwe0vf1.js → chunk-90zd5rss.js} +2 -2
- package/bundle/chunk-9grvepmd.js +2 -0
- package/bundle/chunk-9hrh15p2.js +2 -0
- package/bundle/{chunk-t7tstr83.js → chunk-9j1qqdr2.js} +1 -1
- package/bundle/{chunk-hkmb3zer.js → chunk-9t84mh6t.js} +2 -2
- package/bundle/{chunk-58gp7wbg.js → chunk-a1p2f16h.js} +2 -2
- package/bundle/{chunk-fk8cctjy.js → chunk-a1pw9r6f.js} +2 -2
- package/bundle/chunk-a2qz9m10.js +2 -0
- package/bundle/{chunk-0w5npkgr.js → chunk-ab6cabxh.js} +1 -1
- package/bundle/{chunk-jzcz92pq.js → chunk-ad46r434.js} +2 -2
- package/bundle/{chunk-qmhcbdkg.js → chunk-ak5ngp50.js} +2 -2
- package/bundle/{chunk-j7zs1yg2.js → chunk-apbgb4h0.js} +1 -1
- package/bundle/chunk-av6ezvxm.js +2 -0
- package/bundle/{chunk-s2za1y84.js → chunk-aztre27e.js} +1 -1
- package/bundle/{chunk-xdv9xt0y.js → chunk-b0syck9r.js} +2 -2
- package/bundle/{chunk-sdsggxm4.js → chunk-b2z0kjss.js} +2 -2
- package/bundle/{chunk-s1h0k1yj.js → chunk-b3dqcbsc.js} +1 -1
- package/bundle/{chunk-xdwej3ae.js → chunk-b75gpv0q.js} +1 -1
- package/bundle/chunk-b7mg883n.js +3 -0
- package/bundle/{chunk-ewvgbg68.js → chunk-b8tw709r.js} +1 -1
- package/bundle/{chunk-7fmy4cvn.js → chunk-b9za12y1.js} +1 -1
- package/bundle/{chunk-dazye86e.js → chunk-baet4zev.js} +2 -2
- package/bundle/{chunk-hybq019j.js → chunk-be216spx.js} +2 -2
- package/bundle/chunk-beksar7w.js +2 -0
- package/bundle/chunk-bg66rqrx.js +2 -0
- package/bundle/{chunk-cn10hn58.js → chunk-brpx707p.js} +1 -1
- package/bundle/{chunk-32zrch7h.js → chunk-bss414qz.js} +1 -1
- package/bundle/{chunk-vthm5q05.js → chunk-btneef3z.js} +1 -1
- package/bundle/{chunk-5mec6cde.js → chunk-btz9jvec.js} +1 -1
- package/bundle/{chunk-6nk3wx6f.js → chunk-bvkq0a5q.js} +1 -1
- package/bundle/{chunk-kn318ev4.js → chunk-c01z3cvg.js} +2 -2
- package/bundle/{chunk-4nck07pc.js → chunk-c0796v8j.js} +2 -2
- package/bundle/{chunk-z559gc3n.js → chunk-c5e6sk9c.js} +1 -1
- package/bundle/chunk-c7yy1km8.js +2 -0
- package/bundle/{chunk-453wpzg6.js → chunk-c8k32724.js} +1 -1
- package/bundle/{chunk-2q76qax6.js → chunk-cafzcmrg.js} +2 -2
- package/bundle/{chunk-g6dgc5af.js → chunk-cdhmc0t0.js} +1 -1
- package/bundle/{chunk-xc3fadkh.js → chunk-chmrvbbj.js} +1 -1
- package/bundle/{chunk-6vb26adv.js → chunk-cpmmvwgw.js} +1 -1
- package/bundle/{chunk-vpqd0t8a.js → chunk-crx18k6g.js} +2 -2
- package/bundle/{chunk-14ag9ea0.js → chunk-ct48575c.js} +1 -1
- package/bundle/chunk-ct6dv8st.js +2 -0
- package/bundle/{chunk-5ymj2q6j.js → chunk-cvdxgsq1.js} +2 -2
- package/bundle/{chunk-41ftye7w.js → chunk-cvwa142e.js} +1 -1
- package/bundle/chunk-cy9s1ma5.js +2 -0
- package/bundle/{chunk-fxb6vjcb.js → chunk-d5bxan80.js} +2 -2
- package/bundle/{chunk-p0k4sv89.js → chunk-d6r4xwtg.js} +4 -4
- package/bundle/{chunk-vyjsng14.js → chunk-deae0y1j.js} +1 -1
- package/bundle/{chunk-rf625fxx.js → chunk-dfnv7vkn.js} +1 -1
- package/bundle/{chunk-06x1p3t4.js → chunk-dhjp0zx2.js} +1 -1
- package/bundle/{chunk-xak2r993.js → chunk-dq9kpj4a.js} +2 -2
- package/bundle/{chunk-kp84yba1.js → chunk-dqed63ek.js} +1 -1
- package/bundle/{chunk-7tbvr236.js → chunk-drs1gv2b.js} +1 -1
- package/bundle/{chunk-xqxpjbqk.js → chunk-ds69qc8b.js} +1 -1
- package/bundle/chunk-dtv1vp0d.js +2 -0
- package/bundle/chunk-dvk2wwjj.js +2 -0
- package/bundle/{chunk-tyy4gx61.js → chunk-dzxzcb2e.js} +1 -1
- package/bundle/chunk-e0jy9qxd.js +2 -0
- package/bundle/{chunk-t6xm49ea.js → chunk-eb9mytjq.js} +1 -1
- package/bundle/{chunk-hjratj6g.js → chunk-ecn8gbtz.js} +1 -1
- package/bundle/chunk-erg0ske8.js +2 -0
- package/bundle/chunk-ew51rwdp.js +9 -0
- package/bundle/{chunk-3bb7y9pq.js → chunk-exh6cg1r.js} +2 -2
- package/bundle/{chunk-afhg3w2j.js → chunk-f45tp3e3.js} +1 -1
- package/bundle/chunk-f72pppr7.js +2 -0
- package/bundle/{chunk-fk3praj7.js → chunk-fddsgvjy.js} +1 -1
- package/bundle/{chunk-pnj8s20t.js → chunk-fff3151r.js} +1 -1
- package/bundle/{chunk-0mekr486.js → chunk-fkgv2hqd.js} +1 -1
- package/bundle/{chunk-zvsafnkp.js → chunk-fnbpap62.js} +2 -2
- package/bundle/{chunk-5yaahmjb.js → chunk-g1dwbvkg.js} +1 -1
- package/bundle/{chunk-1xkwm21b.js → chunk-g3dhsmbt.js} +3 -3
- package/bundle/{chunk-c0k8j498.js → chunk-g7rjtehn.js} +1 -1
- package/bundle/chunk-gbyy8sh5.js +2 -0
- package/bundle/{chunk-e58pdw5k.js → chunk-gf0pdgjs.js} +2 -2
- package/bundle/{chunk-0m2tj2h9.js → chunk-ggqst87g.js} +1 -1
- package/bundle/chunk-gk34kh8p.js +2 -0
- package/bundle/{chunk-1yx4jesj.js → chunk-gm85xefs.js} +1 -1
- package/bundle/chunk-gn50xqbd.js +2 -0
- package/bundle/{chunk-wmrq9qqf.js → chunk-gsez13bg.js} +1 -1
- package/bundle/{chunk-njzpswgt.js → chunk-gsvdt4kq.js} +7 -7
- package/bundle/{chunk-s54c8fpf.js → chunk-h0rpmne5.js} +1 -1
- package/bundle/chunk-h7s2w1e2.js +2 -0
- package/bundle/chunk-h7yya9pv.js +7610 -0
- package/bundle/{chunk-91khd3fq.js → chunk-h9pvnp5c.js} +1 -1
- package/bundle/chunk-hgxdg1y5.js +2 -0
- package/bundle/{chunk-07net7s8.js → chunk-hj5y7fvk.js} +1 -1
- package/bundle/chunk-hmv2cdnz.js +2 -0
- package/bundle/chunk-ht81ensf.js +2 -0
- package/bundle/chunk-j59ktwny.js +2 -0
- package/bundle/{chunk-3zn71txs.js → chunk-j5kb0y1m.js} +1 -1
- package/bundle/{chunk-6wdwwpsc.js → chunk-j5y10dn6.js} +2 -2
- package/bundle/{chunk-qpv4438m.js → chunk-j6emx6jn.js} +2 -2
- package/bundle/{chunk-x36jhtex.js → chunk-j8efst22.js} +1 -1
- package/bundle/{chunk-z3hj5bfd.js → chunk-j94bdaav.js} +2 -2
- package/bundle/{chunk-z4ae6jmb.js → chunk-j9pcnkkq.js} +3 -3
- package/bundle/{chunk-ppvmy940.js → chunk-jg7s9rqz.js} +2 -2
- package/bundle/chunk-jh3nw7fd.js +2 -0
- package/bundle/chunk-jh6yvzee.js +2 -0
- package/bundle/{chunk-y2ch07yv.js → chunk-jje0srjq.js} +2 -2
- package/bundle/{chunk-nxjbbq5h.js → chunk-jm1ptn8n.js} +1 -1
- package/bundle/chunk-jmz2mq3t.js +2 -0
- package/bundle/{chunk-2yb59jwr.js → chunk-jnabd9gn.js} +1 -1
- package/bundle/chunk-k309zez0.js +3 -0
- package/bundle/chunk-k3fn3yed.js +2 -0
- package/bundle/{chunk-wg42cxrw.js → chunk-k7gq9bra.js} +1 -1
- package/bundle/{chunk-n07rsssz.js → chunk-k9b1jcqw.js} +1 -1
- package/bundle/{chunk-qan3kwbv.js → chunk-kavhpdvb.js} +1 -1
- package/bundle/{chunk-qm9ezq93.js → chunk-kdcnder5.js} +1 -1
- package/bundle/{chunk-28vnspd4.js → chunk-kfsb2stm.js} +1 -1
- package/bundle/{chunk-kvz0vzsn.js → chunk-knpt9n8f.js} +1 -1
- package/bundle/chunk-kpw6nghv.js +2 -0
- package/bundle/{chunk-cbmw8fy2.js → chunk-kqn9h2gk.js} +1 -1
- package/bundle/{chunk-9zrwbxx0.js → chunk-ksyh6h3a.js} +2 -2
- package/bundle/{chunk-kbyk7hyn.js → chunk-m02zt1a3.js} +2 -2
- package/bundle/{chunk-yqtfvgrp.js → chunk-m1h5a4vg.js} +1 -1
- package/bundle/{chunk-kpnfndkg.js → chunk-m2ekhbdp.js} +1 -1
- package/bundle/{chunk-atbm0pnt.js → chunk-m2x9xhha.js} +2 -2
- package/bundle/chunk-m5ghbt5y.js +2 -0
- package/bundle/{chunk-7ryv0f5h.js → chunk-m612agnk.js} +1 -1
- package/bundle/{chunk-05amr7y9.js → chunk-m67tcnk4.js} +1 -1
- package/bundle/{chunk-2sy1wx99.js → chunk-m8yv4sd2.js} +1 -1
- package/bundle/{chunk-vy9xre57.js → chunk-mdck9s88.js} +1 -1
- package/bundle/{chunk-613kegcn.js → chunk-mgk9sh16.js} +1 -1
- package/bundle/{chunk-7e1aw8rw.js → chunk-mk6cddvd.js} +1 -1
- package/bundle/chunk-mn41f9qv.js +2 -0
- package/bundle/chunk-mqjf9sbm.js +2 -0
- package/bundle/{chunk-n10atvac.js → chunk-msegx0t7.js} +1 -1
- package/bundle/{chunk-8bzwgcjb.js → chunk-mskwkcgj.js} +1 -1
- package/bundle/chunk-n5gwrrbb.js +2 -0
- package/bundle/{chunk-1xpx1t40.js → chunk-n8h6x2en.js} +2 -2
- package/bundle/chunk-nfjhem1c.js +2 -0
- package/bundle/{chunk-j0ftbmex.js → chunk-ngchsw2g.js} +2 -2
- package/bundle/{chunk-3rgct4bd.js → chunk-nj4d554m.js} +1 -1
- package/bundle/{chunk-d2n09yvh.js → chunk-njnwdgvd.js} +2 -2
- package/bundle/{chunk-w4hbw37v.js → chunk-nt4e3em9.js} +1 -1
- package/bundle/chunk-nx90tvwg.js +2 -0
- package/bundle/{chunk-f416n3mp.js → chunk-nxbkh4k9.js} +2 -2
- package/bundle/chunk-nxyyn2ra.js +2 -0
- package/bundle/{chunk-md7vpe1e.js → chunk-nzehfpxp.js} +1 -1
- package/bundle/chunk-p5tceb4k.js +2 -0
- package/bundle/{chunk-3w64fpwn.js → chunk-p68rwmhc.js} +2 -2
- package/bundle/{chunk-nszqy06d.js → chunk-pekm54ce.js} +1 -1
- package/bundle/{chunk-fvy5w4dh.js → chunk-pget15wc.js} +1 -1
- package/bundle/{chunk-tedrfa7d.js → chunk-phxrg7aw.js} +2 -2
- package/bundle/{chunk-81engf0t.js → chunk-ppfjf7qx.js} +1 -1
- package/bundle/{chunk-s5krbdvd.js → chunk-q1v2pytx.js} +1 -1
- package/bundle/{chunk-w01gjnty.js → chunk-q6ztpfcs.js} +2 -2
- package/bundle/{chunk-yvj021eg.js → chunk-qhc90p4a.js} +2 -2
- package/bundle/chunk-qjgm3e2p.js +2 -0
- package/bundle/{chunk-qkwhgfjt.js → chunk-qjjch1zt.js} +2 -2
- package/bundle/{chunk-f3rrd2p6.js → chunk-qjn86fc0.js} +1 -1
- package/bundle/{chunk-qq71akpw.js → chunk-qrey2gwb.js} +2 -2
- package/bundle/chunk-qt1wffbh.js +3 -0
- package/bundle/{chunk-z2m09m4w.js → chunk-qt2c4bty.js} +1 -1
- package/bundle/{chunk-pjbbdm96.js → chunk-qv2s39dv.js} +2 -2
- package/bundle/chunk-r08957sm.js +11 -0
- package/bundle/chunk-r1616dce.js +2 -0
- package/bundle/chunk-s07j8hfy.js +2 -0
- package/bundle/{chunk-01gwb793.js → chunk-s3yna2wm.js} +1 -1
- package/bundle/{chunk-0vqrakhw.js → chunk-s6bar2f9.js} +1 -1
- package/bundle/chunk-sbyey0qb.js +2 -0
- package/bundle/{chunk-ze00x1xb.js → chunk-scnz207s.js} +2 -2
- package/bundle/{chunk-xcs2jbz9.js → chunk-sermjas1.js} +1 -1
- package/bundle/chunk-sj5v361q.js +2 -0
- package/bundle/chunk-smtvgr3w.js +2 -0
- package/bundle/{chunk-ynfbz3sz.js → chunk-snm5q21k.js} +2 -2
- package/bundle/{chunk-4920vf6a.js → chunk-srh4xvsj.js} +1 -1
- package/bundle/{chunk-m7txgh5w.js → chunk-stezw26z.js} +1 -1
- package/bundle/{chunk-g7vahvkz.js → chunk-szr0f7k2.js} +1 -1
- package/bundle/{chunk-vw673y0t.js → chunk-t12xrrfr.js} +2 -2
- package/bundle/{chunk-6fpfr8tk.js → chunk-tj78jsp9.js} +1 -1
- package/bundle/chunk-tpndnprb.js +2 -0
- package/bundle/{chunk-jdkxeqw5.js → chunk-tr8sf0dk.js} +1 -1
- package/bundle/{chunk-hyckncza.js → chunk-v2zp22r3.js} +2 -2
- package/bundle/{chunk-0cehm5fn.js → chunk-v4xcysh0.js} +1 -1
- package/bundle/{chunk-7qxn24qa.js → chunk-v965rsr8.js} +2 -2
- package/bundle/{chunk-0304b7xg.js → chunk-va316nee.js} +1 -1
- package/bundle/chunk-vfdhqf4h.js +28 -0
- package/bundle/{chunk-6h2faxs9.js → chunk-vg2fmyje.js} +2 -2
- package/bundle/{chunk-yt1yk4j1.js → chunk-vj62pc0h.js} +1 -1
- package/bundle/{chunk-2jn2hd12.js → chunk-vkskqhag.js} +2 -2
- package/bundle/{chunk-hk8j5ht8.js → chunk-vn7nkrqb.js} +2 -2
- package/bundle/{chunk-g8wvr7a1.js → chunk-vsjyr170.js} +2 -2
- package/bundle/chunk-vwxfgea7.js +2 -0
- package/bundle/chunk-w0kgcz1t.js +2 -0
- package/bundle/{chunk-zjvzc0my.js → chunk-w87a3mzm.js} +1 -1
- package/bundle/chunk-wajmd3r7.js +2 -0
- package/bundle/{chunk-9p83me3p.js → chunk-whxjkz9a.js} +2 -2
- package/bundle/chunk-wksczmes.js +2 -0
- package/bundle/{chunk-2kdn66xt.js → chunk-wnqwb6fd.js} +1 -1
- package/bundle/chunk-wrw22v0a.js +616 -0
- package/bundle/chunk-wsxta33r.js +2 -0
- package/bundle/{chunk-rvrjw0fy.js → chunk-wsy0m70r.js} +1 -1
- package/bundle/{chunk-w2gpgapp.js → chunk-wy46mbwt.js} +1 -1
- package/bundle/{chunk-cqhpbfcn.js → chunk-wz0zcddf.js} +3 -3
- package/bundle/{chunk-q2exgz82.js → chunk-x067eetw.js} +1 -1
- package/bundle/{chunk-fkat2pw6.js → chunk-xc5044tm.js} +1 -1
- package/bundle/chunk-xck0sq3k.js +2 -0
- package/bundle/chunk-xjyhtm8r.js +2 -0
- package/bundle/{chunk-wg5dv21f.js → chunk-xn2ds2s4.js} +2 -2
- package/bundle/{chunk-rs0nx844.js → chunk-xpc2zgj7.js} +2 -2
- package/bundle/{chunk-54pk7nna.js → chunk-xrxyrr00.js} +1 -1
- package/bundle/{chunk-zna6neq5.js → chunk-xs3xtz6x.js} +1 -1
- package/bundle/{chunk-crap29f6.js → chunk-xxbqhg9n.js} +1 -1
- package/bundle/{chunk-gaxbbxk6.js → chunk-y062spw2.js} +1 -1
- package/bundle/{chunk-bse8p94q.js → chunk-y2v09y71.js} +1 -1
- package/bundle/chunk-y9p87bfd.js +2 -0
- package/bundle/{chunk-g4qwkcdv.js → chunk-yajd975f.js} +1 -1
- package/bundle/{chunk-5dm3p5r6.js → chunk-ydp0q1hk.js} +1 -1
- package/bundle/{chunk-gxa2r4zc.js → chunk-yfkvjphe.js} +1 -1
- package/bundle/chunk-ygc5qegv.js +2 -0
- package/bundle/{chunk-kbg3k1az.js → chunk-yhk7d1j0.js} +1 -1
- package/bundle/chunk-yhwx62yf.js +2 -0
- package/bundle/chunk-yjqmzm51.js +2 -0
- package/bundle/{chunk-49ypxzfx.js → chunk-yjtdgcq5.js} +1 -1
- package/bundle/{chunk-mg239rc3.js → chunk-yp0a8q29.js} +3 -3
- package/bundle/{chunk-p31yg62z.js → chunk-yq3m8190.js} +2 -2
- package/bundle/{chunk-rze20q68.js → chunk-yt3f3j35.js} +1 -1
- package/bundle/{chunk-tfggzzqw.js → chunk-ywkvq7zb.js} +1 -1
- package/bundle/chunk-z4z8hk7e.js +2 -0
- package/bundle/chunk-z7y9pdj7.js +2 -0
- package/bundle/chunk-z8g819cz.js +2 -0
- package/bundle/{chunk-h56jxxvj.js → chunk-z8v2tsz2.js} +1 -1
- package/bundle/{chunk-vztxv9dj.js → chunk-zb0me4kk.js} +1 -1
- package/bundle/{chunk-7ez3ye6e.js → chunk-zcm2jdr5.js} +1 -1
- package/bundle/chunk-zqv7fx25.js +2 -0
- package/bundle/{chunk-hb4d06q0.js → chunk-zrc54vc4.js} +2 -2
- package/bundle/chunk-zs2a1f20.js +2 -0
- package/bundle/chunk-zt1nbwmm.js +2 -0
- package/bundle/{chunk-fd9zrmhr.js → chunk-ztc3gm8y.js} +2 -2
- package/bundle/{chunk-08y06vgt.js → chunk-zxaaxb99.js} +2 -2
- package/bundle/{chunk-x3931we7.js → chunk-zyhdxggp.js} +2 -2
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/qffi.node +0 -0
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-09ecxdmd.js +0 -2
- package/bundle/chunk-0jaj2g7x.js +0 -2
- package/bundle/chunk-0nr2925m.js +0 -2
- package/bundle/chunk-0wbq1y92.js +0 -2
- package/bundle/chunk-12pxszgn.js +0 -2
- package/bundle/chunk-1337582e.js +0 -2
- package/bundle/chunk-182jf8fz.js +0 -2
- package/bundle/chunk-1ht3zcsh.js +0 -2
- package/bundle/chunk-25zkavr0.js +0 -2
- package/bundle/chunk-2cm91ktc.js +0 -3
- package/bundle/chunk-2jfd82jk.js +0 -2
- package/bundle/chunk-2k7bbzj2.js +0 -2
- package/bundle/chunk-30081kwd.js +0 -2
- package/bundle/chunk-3kdhvq0p.js +0 -3
- package/bundle/chunk-3vag59se.js +0 -2
- package/bundle/chunk-3x5v6sjw.js +0 -2
- package/bundle/chunk-43ep9d7a.js +0 -2
- package/bundle/chunk-48j09m6e.js +0 -3
- package/bundle/chunk-4qqja22v.js +0 -2
- package/bundle/chunk-5gazgxt5.js +0 -2
- package/bundle/chunk-63znhwx0.js +0 -2
- package/bundle/chunk-6hmyy7n6.js +0 -2
- package/bundle/chunk-7dyddrpk.js +0 -2
- package/bundle/chunk-7penjsgq.js +0 -2
- package/bundle/chunk-7t5gzkj6.js +0 -2
- package/bundle/chunk-89vgt8vq.js +0 -2
- package/bundle/chunk-8e8n82f9.js +0 -2
- package/bundle/chunk-97exhw9j.js +0 -2
- package/bundle/chunk-9cvkaht5.js +0 -2
- package/bundle/chunk-akdvstd9.js +0 -2
- package/bundle/chunk-ave2e4sa.js +0 -2
- package/bundle/chunk-axnwehc7.js +0 -2
- package/bundle/chunk-bmzyxspj.js +0 -2
- package/bundle/chunk-bvaqpfv8.js +0 -2
- package/bundle/chunk-cxb05cdg.js +0 -2
- package/bundle/chunk-cxe92z5c.js +0 -2
- package/bundle/chunk-d5wp85kw.js +0 -2
- package/bundle/chunk-dm5xnb4t.js +0 -2
- package/bundle/chunk-dpeqsvan.js +0 -2
- package/bundle/chunk-drxtmg5c.js +0 -2
- package/bundle/chunk-e9pfdjcy.js +0 -2
- package/bundle/chunk-ejn5hfzd.js +0 -2
- package/bundle/chunk-ek1fawsj.js +0 -3
- package/bundle/chunk-ernd18jb.js +0 -2
- package/bundle/chunk-ff9b4cg8.js +0 -2
- package/bundle/chunk-fpff6a4q.js +0 -2
- package/bundle/chunk-gq361kdt.js +0 -2
- package/bundle/chunk-hbagpppv.js +0 -2
- package/bundle/chunk-hf473xav.js +0 -2
- package/bundle/chunk-hr88054m.js +0 -2
- package/bundle/chunk-j3czd7v2.js +0 -28
- package/bundle/chunk-j9m2d6t5.js +0 -2
- package/bundle/chunk-jd9edy2s.js +0 -2
- package/bundle/chunk-jwtdbx31.js +0 -2
- package/bundle/chunk-kbjwdv1x.js +0 -8223
- package/bundle/chunk-krkxrej2.js +0 -2
- package/bundle/chunk-m26mcy8p.js +0 -2
- package/bundle/chunk-m62wgqp1.js +0 -2
- package/bundle/chunk-m84cn9c6.js +0 -2
- package/bundle/chunk-mvc7pvtq.js +0 -2
- package/bundle/chunk-nfp9xtca.js +0 -3
- package/bundle/chunk-ngz5xw45.js +0 -3
- package/bundle/chunk-p5t9mq8r.js +0 -2
- package/bundle/chunk-pfbykat1.js +0 -2
- package/bundle/chunk-qd0nvn4z.js +0 -2
- package/bundle/chunk-qh99kv2j.js +0 -2
- package/bundle/chunk-qyrafh4m.js +0 -2
- package/bundle/chunk-rc37cw86.js +0 -2
- package/bundle/chunk-rmpty636.js +0 -2
- package/bundle/chunk-rz54qjew.js +0 -2
- package/bundle/chunk-s3wjwxme.js +0 -2
- package/bundle/chunk-s4ncnbgd.js +0 -2
- package/bundle/chunk-snz3w30x.js +0 -2
- package/bundle/chunk-srw748gr.js +0 -2
- package/bundle/chunk-tn167yyz.js +0 -2
- package/bundle/chunk-v1xwe58d.js +0 -2
- package/bundle/chunk-vh05n2x3.js +0 -2
- package/bundle/chunk-vrfegg5f.js +0 -2
- package/bundle/chunk-w12tky28.js +0 -2
- package/bundle/chunk-w9ct698t.js +0 -2
- package/bundle/chunk-wms4skr9.js +0 -11
- package/bundle/chunk-wr5hdsst.js +0 -9
- package/bundle/chunk-wxnqgh8t.js +0 -2
- package/bundle/chunk-wzmte7sy.js +0 -3
- package/bundle/chunk-x0h1jdxt.js +0 -2
- package/bundle/chunk-x6hsmnhz.js +0 -2
- package/bundle/chunk-xg9e0enb.js +0 -2
- package/bundle/chunk-xtxxb25n.js +0 -2
- package/bundle/chunk-y3s7sh1e.js +0 -2
- package/bundle/chunk-ydvheqw9.js +0 -2
- package/bundle/chunk-yxnq0d7k.js +0 -2
- package/bundle/chunk-z2raegj9.js +0 -2
- package/bundle/chunk-z3pyhmg6.js +0 -2
- package/bundle/chunk-z7pg6sw1.js +0 -2
- package/bundle/chunk-z84376c6.js +0 -2
- package/bundle/chunk-zn8th65r.js +0 -2
- package/bundle/chunk-ztv1brgn.js +0 -2
- package/bundle/chunk-zyxvd9fj.js +0 -2
package/bundle/chunk-krkxrej2.js
DELETED
package/bundle/chunk-m26mcy8p.js
DELETED
package/bundle/chunk-m62wgqp1.js
DELETED
package/bundle/chunk-m84cn9c6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{a,b,c,d,e,f}from"./chunk-wms4skr9.js";import"./chunk-g8wvr7a1.js";import"./chunk-kn318ev4.js";import"./chunk-txty44v2.js";import"./chunk-0vqrakhw.js";import"./chunk-y2ch07yv.js";import"./chunk-kkdgzeva.js";import"./chunk-g4qwkcdv.js";import"./chunk-0ndvy0nh.js";import"./chunk-wr5hdsst.js";import"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";export{e as statusEffect,a as resolveApiKeyFlag,d as logoutEffect,c as loginEffect,b as apiKeyLoginEffect,f as AuthCommand};
|
package/bundle/chunk-mvc7pvtq.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$f as e,Xf as a,Yf as b,Zf as c,_f as d}from"./chunk-f416n3mp.js";import"./chunk-dazye86e.js";import"./chunk-3bb7y9pq.js";import"./chunk-wr5hdsst.js";import"./chunk-nfp9xtca.js";import"./chunk-nfg7nt13.js";import"./chunk-ze00x1xb.js";import"./chunk-sdsggxm4.js";import"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";export{c as url,b as openapi,d as listen,e as Server,a as Default};
|
package/bundle/chunk-nfp9xtca.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{GP as o}from"./chunk-s2za1y84.js";var i=(t)=>`standard-openapi: ${t}`,s=new Map,r=async(t)=>{let e=s.get(t);if(e)return e;let a;switch(t){case"valibot":a=(await import("./chunk-kvz0vzsn.js")).default();break;case"zod":a=(await import("./chunk-1337582e.js")).default();break;default:a=(await import("./chunk-pfbykat1.js")).default()}return s.set(t,a),a},d=async(t,e={})=>{let a=await r(t["~standard"].vendor),{components:n={},options:c}=e;return{schema:await a(t,{components:n,options:c}),components:Object.keys(n).length>0?n:void 0}};
|
|
3
|
-
export{i as Gg,d as Hg};
|
package/bundle/chunk-ngz5xw45.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{N as o}from"./chunk-8ahpk8td.js";import{O as i}from"./chunk-vpqd0t8a.js";import{Dd as p}from"./chunk-3kdhvq0p.js";import{Qd as n}from"./chunk-g4qwkcdv.js";import{Uf as B}from"./chunk-0ndvy0nh.js";import{$f as l}from"./chunk-f416n3mp.js";import"./chunk-dazye86e.js";import"./chunk-3bb7y9pq.js";import"./chunk-wr5hdsst.js";import"./chunk-nfp9xtca.js";import"./chunk-nfg7nt13.js";import"./chunk-ze00x1xb.js";import"./chunk-sdsggxm4.js";import{kh as d,uh as g}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import{Uk as f}from"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import{mp as D}from"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import{$t as x,It as u,St as I}from"./chunk-08y06vgt.js";import{tu as y}from"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";import Q from"path";import{pathToFileURL as a}from"url";import{EOL as O}from"os";function $(j){let K=j.state;return{input:K.input,metadata:"metadata"in K?K.metadata:{},part:j}}function C(j){let K=j.description?B.Style.TEXT_DIM+` ${j.description}`+B.Style.TEXT_NORMAL:"";B.println(B.Style.TEXT_NORMAL+j.icon,B.Style.TEXT_NORMAL+j.title+K)}function b(j,K){if(B.empty(),C(j),!K?.trim())return;B.println(K),B.empty()}function c(j){let K=j.state,V="input"in K?K.input:void 0,Y=("title"in K&&K.title?K.title:void 0)||(V&&typeof V==="object"&&Object.keys(V).length>0?JSON.stringify(V):"Unknown");C({icon:"\u2699",title:`${j.tool} ${Y}`})}function t(j){let K=j.path??"",V=`${j.kind} "${j.pattern}"`,Y=K?`in ${T(K)}`:"",H=j.count===void 0?Y:`${Y}${Y?" \xB7 ":""}${j.count} ${j.count===1?"match":"matches"}`;C({icon:"\u2731",title:V,...H&&{description:H}})}function r(j){t({kind:"Glob",pattern:j.input.pattern,path:j.input.path,count:j.metadata.count})}function jj(j){t({kind:"Grep",pattern:j.input.pattern,path:j.input.path,count:j.metadata.matches})}function Bj(j){let K=T(j.input.filePath),V=Object.entries(j.input).filter(([H,S])=>{if(H==="filePath")return!1;return typeof S==="string"||typeof S==="number"||typeof S==="boolean"}),Y=V.length?`[${V.map(([H,S])=>`${H}=${S}`).join(", ")}]`:void 0;C({icon:"\u2192",title:`Read ${K}`,...Y&&{description:Y}})}function Gj(j){b({icon:"\u2190",title:`Write ${T(j.input.filePath)}`},j.part.state.status==="completed"?j.part.state.output:void 0)}function Jj(j){C({icon:"%",title:`WebFetch ${j.input.url}`})}function Kj(j){let K=T(j.input.filePath),V=j.metadata.diff;b({icon:"\u2190",title:`Edit ${K}`},V)}function Mj(j){C({icon:"\u25C7",title:`Exa Code Search "${j.input.query}"`})}function Nj(j){C({icon:"\u25C8",title:`Web Search "${j.input.query}"`})}function k(j){let K=j.part.state.input?.operation??j.part.state.input,V=j.part.state.status,Y=typeof K?.subagent_type==="string"&&K.subagent_type.trim().length>0?K.subagent_type:"unknown",H=u.titlecase(Y),S=typeof K?.description==="string"&&K.description.trim().length>0?K.description:void 0,w=V==="error"?"\u2717":V==="running"?"\u2022":"\u2713",L=S??`${H} Task`;C({icon:w,title:L,description:S?`${H} Agent`:void 0})}function Vj(j){C({icon:"\u2192",title:`Skill "${j.input.name}"`})}function Xj(j){let K=j.part.state.status==="completed"?j.part.state.output?.trim():void 0;b({icon:"$",title:`${j.input.command}`},K)}function T(j){if(!j)return"";if(Q.isAbsolute(j))return Q.relative(process.cwd(),j)||".";return j}var Tj=n({command:"run [message..]",describe:"run qitqode with a message",builder:(j)=>{return j.positional("message",{describe:"message to send",type:"string",array:!0,default:[]}).option("command",{describe:"the command to run, use message for args",type:"string"}).option("continue",{alias:["c"],describe:"continue the last session",type:"boolean"}).option("session",{alias:["s"],describe:"session id to continue",type:"string"}).option("fork",{describe:"fork the session before continuing (requires --continue or --session)",type:"boolean"}).option("share",{type:"boolean",describe:"share the session"}).option("model",{type:"string",alias:["m"],describe:"model to use in the format of provider/model"}).option("agent",{type:"string",describe:"agent to use"}).option("format",{type:"string",choices:["default","json"],default:"default",describe:"format: default (formatted) or json (raw JSON events)"}).option("file",{alias:["f"],type:"string",array:!0,describe:"file(s) to attach to message"}).option("title",{type:"string",describe:"title for the session (uses truncated prompt if no value provided)"}).option("attach",{type:"string",describe:"attach to a running qitqode server (e.g., http://localhost:4096)"}).option("password",{alias:["p"],type:"string",describe:"basic auth password (defaults to QITQODE_SERVER_PASSWORD)"}).option("dir",{type:"string",describe:"directory to run in, path on remote server if attaching"}).option("port",{type:"number",describe:"port for the local server (defaults to random port if no value provided)"}).option("variant",{type:"string",describe:"model variant (provider-specific reasoning effort, e.g., high, max, minimal)"}).option("thinking",{type:"boolean",describe:"show thinking blocks",default:!1}).option("dangerously-skip-permissions",{type:"boolean",describe:"auto-approve permissions that are not explicitly denied (dangerous!)",default:!1})},handler:async(j)=>{let K=[...j.message,...j["--"]||[]].join(" "),V=(()=>{if(!j.dir)return;if(j.attach)return j.dir;try{return process.chdir(j.dir),process.cwd()}catch{B.error("Failed to change directory to "+j.dir),process.exit(1)}})(),Y=[];if(j.file){let M=Array.isArray(j.file)?j.file:[j.file];for(let X of M){let N=Q.resolve(process.cwd(),X);if(!await y.exists(N))B.error(`File not found: ${X}`),process.exit(1);let W=await y.isDir(N)?"application/x-directory":"text/plain";Y.push({type:"file",url:a(N).href,filename:Q.basename(N),mime:W})}}if(!process.stdin.isTTY)K+=`
|
|
3
|
-
`+await Bun.stdin.text();if(K.trim().length===0&&!j.command)B.error("You must provide a message or a command"),process.exit(1);if(j.fork&&!j.continue&&!j.session)B.error("--fork requires --continue or --session"),process.exit(1);let H=[{permission:"question",action:"deny",pattern:"*"},{permission:"plan_enter",action:"deny",pattern:"*"},{permission:"plan_exit",action:"deny",pattern:"*"}];function S(){if(j.title===void 0)return;if(j.title!=="")return j.title;return K.slice(0,50)+(K.length>50?"...":"")}async function w(M){let X=j.continue?(await M.session.list()).data?.find((Z)=>!Z.parentID)?.id:j.session;if(X&&j.fork)return(await M.session.fork({sessionID:X})).data?.id;if(X)return X;let N=S();return(await M.session.create({title:N,permission:H})).data?.id}async function L(M,X){let N=await M.config.get();if(!N.data)return;if(N.data.share!=="auto"&&!I.QITQODE_AUTO_SHARE&&!j.share)return;let W=await M.session.share({sessionID:X}).catch((Z)=>{if(Z instanceof Error&&Z.message.includes("disabled"))B.println(B.Style.TEXT_DANGER_BOLD+"! "+Z.message);return{error:Z}});if(!W.error&&"data"in W&&W.data?.share?.url)B.println(B.Style.TEXT_INFO_BOLD+"~ "+W.data.share.url)}async function h(M){function X(G){try{if(G.tool==="bash")return Xj($(G));if(G.tool==="glob")return r($(G));if(G.tool==="grep")return jj($(G));if(G.tool==="read")return Bj($(G));if(G.tool==="write")return Gj($(G));if(G.tool==="webfetch")return Jj($(G));if(G.tool==="edit")return Kj($(G));if(G.tool==="codesearch")return Mj($(G));if(G.tool==="websearch")return Nj($(G));if(G.tool==="actor")return k($(G));if(G.tool==="skill")return Vj($(G));return c(G)}catch{return c(G)}}function N(G,q){if(j.format==="json")return process.stdout.write(JSON.stringify({type:G,timestamp:Date.now(),sessionID:A,...q})+O),!0;return!1}let W=await M.event.subscribe(),Z;async function e(G){let q=new Map,z=x.create({service:"cli.run"}),E=W.stream[Symbol.asyncIterator](),F=G.completion.then(()=>"DONE");try{while(!0){let P=await Promise.race([E.next(),F]);if(P==="DONE")break;if(P.done)break;let _=P.value;if(G.onEvent(_),z.debug("event received",{type:_.type}),_.type==="message.updated"&&_.properties.info.role==="assistant"&&j.format!=="json"&&q.get("start")!==!0)B.empty(),B.println(`> ${_.properties.info.agent} \xB7 ${_.properties.info.modelID}`),B.empty(),q.set("start",!0);if(_.type==="message.part.updated"){let J=_.properties.part;if(J.sessionID!==A)continue;if(J.type==="tool"&&(J.state.status==="completed"||J.state.status==="error")){if(N("tool_use",{part:J}))continue;if(J.state.status==="completed"){X(J);continue}C({icon:"\u2717",title:`${J.tool} failed`}),B.error(J.state.error)}if(J.type==="tool"&&J.tool==="actor"&&J.state.status==="running"&&j.format!=="json"){if(q.get(J.id)===!0)continue;k($(J)),q.set(J.id,!0)}if(J.type==="step-start"){if(N("step_start",{part:J}))continue}if(J.type==="step-finish"){if(N("step_finish",{part:J}))continue}if(J.type==="text"&&J.time?.end){if(N("text",{part:J}))continue;let R=J.text.trim();if(!R)continue;if(!process.stdout.isTTY){process.stdout.write(R+O);continue}B.empty(),B.println(R),B.empty()}if(J.type==="reasoning"&&J.time?.end&&j.thinking){if(N("reasoning",{part:J}))continue;let R=J.text.trim();if(!R)continue;let U=`Thinking: ${R}`;if(process.stdout.isTTY){B.empty(),B.println(`${B.Style.TEXT_DIM}\x1B[3m${U}\x1B[0m${B.Style.TEXT_NORMAL}`),B.empty();continue}process.stdout.write(U+O)}}if(_.type==="session.error"){let J=_.properties;if(J.sessionID!==A||!J.error)continue;let R=String(J.error.name);if("data"in J.error&&J.error.data&&"message"in J.error.data)R=String(J.error.data.message);if(Z=Z?Z+O+R:R,N("error",{error:J.error}))continue;B.error(R)}if(_.type==="permission.asked"){let J=_.properties;if(J.sessionID!==A)continue;if(j["dangerously-skip-permissions"])await M.permission.reply({requestID:J.id,reply:"once"});else B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL+`permission requested: ${J.permission} (${J.patterns.join(", ")}); auto-rejecting`),await M.permission.reply({requestID:J.id,reply:"reject"})}}}finally{G.stop(),await E.return?.(void 0).catch(()=>{})}}let v=await(async()=>{if(!j.agent)return;let G=j.agent;if(j.attach){let z=await M.app.agents(void 0,{throwOnError:!0}).then((F)=>F.data??[]).catch(()=>{return});if(!z){B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL,`failed to list agents from ${j.attach}. Falling back to default agent`);return}let E=z.find((F)=>F.name===G);if(!E){B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL,`agent "${G}" not found. Falling back to default agent`);return}if(E.mode==="subagent"){B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL,`agent "${G}" is a subagent, not a primary agent. Falling back to default agent`);return}return G}let q=await g.runPromise(d.Service.use((z)=>z.get(G)));if(!q){B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL,`agent "${G}" not found. Falling back to default agent`);return}if(q.mode==="subagent"){B.println(B.Style.TEXT_WARNING_BOLD+"!",B.Style.TEXT_NORMAL,`agent "${G}" is a subagent, not a primary agent. Falling back to default agent`);return}return G})(),A=await w(M);if(!A)B.error("Session not found"),process.exit(1);await L(M,A);let s=x.create({service:"cli.run.poll"}),m=o({sessionID:A,query:async()=>{try{return(await M.session.status()).data?.[A]}catch(G){throw s.debug("session.status query failed",{error:G}),G}}});if(e(m).catch((G)=>{console.error(G),process.exit(1)}),j.command)await M.session.command({sessionID:A,agent:v,model:j.model,command:j.command,arguments:K,variant:j.variant});else{let G=j.model?f.parseModel(j.model):void 0;await M.session.prompt({sessionID:A,agent:v,model:G,variant:j.variant,parts:[...Y,{type:"text",text:K}]})}m.markStarted()}if(j.attach){let M=i({password:j.password}),X=D({baseUrl:j.attach,directory:V,headers:M});return await h(X)}await p(process.cwd(),async()=>{let X=D({baseUrl:"http://qitqode.internal",fetch:async(N,W)=>{let Z=new Request(N,W);return l.Default().app.fetch(Z)}});await h(X)})}});export{Tj as RunCommand};
|
package/bundle/chunk-p5t9mq8r.js
DELETED
package/bundle/chunk-pfbykat1.js
DELETED
package/bundle/chunk-qd0nvn4z.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{lg as a,mg as b,ng as c}from"./chunk-dazye86e.js";import"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";export{b as run,a as encodeDir,c as ClaudeImport};
|
package/bundle/chunk-qh99kv2j.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{dl as a}from"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";export{a as Session};
|
package/bundle/chunk-qyrafh4m.js
DELETED
package/bundle/chunk-rc37cw86.js
DELETED
package/bundle/chunk-rmpty636.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{t as a,u as b,v as c,w as d,x as e,y as f,z as g}from"./chunk-9zrwbxx0.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-7qxn24qa.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-z2q3mg73.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-s2za1y84.js";export{e as waitForDependencies,c as layer,f as get,d as defaultLayer,g as TuiConfig,b as Service,a as Info};
|
package/bundle/chunk-rz54qjew.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Ed as m,Hd as P,Id as R,Jd as k,Kd as O,Md as q,Nd as $,Od as I}from"./chunk-y2ch07yv.js";import"./chunk-kkdgzeva.js";import{Qd as h}from"./chunk-g4qwkcdv.js";import{Uf as r}from"./chunk-0ndvy0nh.js";import{kh as E,uh as L}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import{Fj as N,Uk as x}from"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import{Ol as i}from"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import{Rt as j}from"./chunk-08y06vgt.js";import{tu as C}from"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import{CP as F}from"./chunk-s2za1y84.js";import u from"path";import U from"fs/promises";var T=F(N(),1);import{EOL as S}from"os";var c=["bash","read","write","edit","glob","grep","webfetch","actor","task"],B=h({command:"create",describe:"create a new agent",builder:(o)=>o.option("path",{type:"string",describe:"directory path to generate the agent file"}).option("description",{type:"string",describe:"what the agent should do"}).option("mode",{type:"string",describe:"agent mode",choices:["all","primary","subagent"]}).option("tools",{type:"string",describe:`comma-separated list of tools to enable (default: all). Available: "${c.join(", ")}"`}).option("model",{type:"string",alias:["m"],describe:"model to use in the format of provider/model"}),async handler(o){await i.provide({directory:process.cwd(),async fn(){let{path:l,description:t,mode:s,tools:p}=o,d=l&&t&&s&&p!==void 0;if(!d)r.empty(),R("Create agent");let D=i.project,g;if(l)g=u.join(l,"agent");else{let e="global";if(D.vcs==="git"){let n=await $({message:"Location",options:[{label:"Current project",value:"project",hint:i.worktree},{label:"Global",value:"global",hint:j.Path.config}]});if(m(n))throw new r.CancelledError;e=n}g=u.join(e==="global"?j.Path.config:u.join(i.worktree,".qitqode"),"agent")}let b;if(t)b=t;else{let e=await I({message:"Description",placeholder:"What should this agent do?",validate:(n)=>n&&n.length>0?void 0:"Required"});if(m(e))throw new r.CancelledError;b=e}let w=q();w.start("Generating agent configuration...");let G=o.model?x.parseModel(o.model):void 0,f=await L.runPromise(E.Service.use((e)=>e.generate({description:b,model:G}))).catch((e)=>{if(w.stop(`LLM failed to generate agent: ${e.message}`,1),d)process.exit(1);throw new r.CancelledError});w.stop(`Agent ${f.identifier} generated`);let y;if(p!==void 0)y=p?p.split(",").map((e)=>e.trim()):c;else{let e=await O({message:"Select tools to enable (Space to toggle)",options:c.map((n)=>({label:n,value:n})),initialValues:c});if(m(e))throw new r.CancelledError;y=e}let v;if(s)v=s;else{let e=await $({message:"Agent mode",options:[{label:"All",value:"all",hint:"Can function in both primary and subagent roles"},{label:"Primary",value:"primary",hint:"Acts as a primary/main agent"},{label:"Subagent",value:"subagent",hint:"Can be used as a subagent by other agents"}],initialValue:"all"});if(m(e))throw new r.CancelledError;v=e}let A={};for(let e of c)if(!y.includes(e))A[e]=!1;let M={description:f.whenToUse,mode:v};if(Object.keys(A).length>0)M.tools=A;let V=T.default.stringify(f.systemPrompt,M),a=u.join(g,`${f.identifier}.md`);if(await U.mkdir(g,{recursive:!0}),await C.exists(a)){if(d)console.error(`Error: Agent file already exists: ${a}`),process.exit(1);throw P.error(`Agent file already exists: ${a}`),new r.CancelledError}if(await C.write(a,V),d)console.log(a);else P.success(`Agent created: ${a}`),k("Done")}})}}),J=h({command:"list",describe:"list all available agents",async handler(){await i.provide({directory:process.cwd(),async fn(){let l=(await L.runPromise(E.Service.use((t)=>t.list()))).sort((t,s)=>{if(t.native!==s.native)return t.native?-1:1;return t.name.localeCompare(s.name)});for(let t of l)process.stdout.write(`${t.name} (${t.mode})`+S),process.stdout.write(` ${JSON.stringify(t.permission,null,2)}`+S)}})}}),ne=h({command:"agent",describe:"manage agents",builder:(o)=>o.command(B).command(J).demandCommand(),async handler(){}});export{ne as AgentCommand};
|
package/bundle/chunk-s3wjwxme.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{nf as h}from"./chunk-hk8j5ht8.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-s2za1y84.js";var v=(q)=>{return h({baseURL:"https://gateway.ai.cloudflare.com/v1/compat",name:"Unified",...q||{}})},x=v();export{x as unified,v as createUnified};
|
package/bundle/chunk-s4ncnbgd.js
DELETED
package/bundle/chunk-snz3w30x.js
DELETED
package/bundle/chunk-srw748gr.js
DELETED
package/bundle/chunk-tn167yyz.js
DELETED
package/bundle/chunk-v1xwe58d.js
DELETED
package/bundle/chunk-vh05n2x3.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Dd as s}from"./chunk-3kdhvq0p.js";import{Qd as r}from"./chunk-g4qwkcdv.js";import{Mg as u,Ng as g,Wg as q,jh as z,kh as B,uh as i}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import{Oj as G,Pj as V,Sj as S,Uk as x,_j as $,dl as K,el as J,yk as f}from"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import{Ml as R,Ol as p}from"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import{$t as w,Rt as U}from"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import{RO as A,qI as c}from"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import{HP as v,IP as P}from"./chunk-s2za1y84.js";import{EOL as X}from"os";var k=r({command:"config",describe:"show resolved configuration",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(J.Service.use((o)=>o.get()));process.stdout.write(JSON.stringify(e,null,2)+X)})}});import{EOL as y}from"os";var Y=r({command:"search <query>",describe:"search files by query",builder:(e)=>e.positional("query",{type:"string",demandOption:!0,description:"Search query"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.search({query:e.query})));process.stdout.write(o.join(y)+y)})}}),Z=r({command:"read <path>",describe:"read file contents as JSON",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to read"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.read(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),H=r({command:"status",describe:"show file status information",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(g.Service.use((o)=>o.status()));process.stdout.write(JSON.stringify(e,null,2)+y)})}}),ee=r({command:"list <path>",describe:"list files in a directory",builder:(e)=>e.positional("path",{type:"string",demandOption:!0,description:"File path to list"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(g.Service.use((t)=>t.list(e.path)));process.stdout.write(JSON.stringify(o,null,2)+y)})}}),oe=r({command:"tree [dir]",describe:"show directory tree",builder:(e)=>e.positional("dir",{type:"string",description:"Directory to tree",default:process.cwd()}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:e.dir,limit:200})));console.log(JSON.stringify(o,null,2))})}}),L=r({command:"file",describe:"file system debugging utilities",builder:(e)=>e.command(Z).command(H).command(ee).command(Y).command(oe).demandCommand(),async handler(){}});import{EOL as D}from"os";var E=r({command:"lsp",describe:"LSP debugging utilities",builder:(e)=>e.command(te).command(re).command(ie).demandCommand(),async handler(){}}),te=r({command:"diagnostics <file>",describe:"get diagnostics for a file",builder:(e)=>e.positional("file",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(S.Service.use((t)=>c.gen(function*(){return yield*t.touchFile(e.file,!0),yield*c.sleep(1000),yield*t.diagnostics()})));process.stdout.write(JSON.stringify(o,null,2)+D)})}}),re=r({command:"symbols <query>",describe:"search workspace symbols",builder:(e)=>e.positional("query",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.workspaceSymbol(e.query)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}}),ie=r({command:"document-symbols <uri>",describe:"get symbols from a document",builder:(e)=>e.positional("uri",{type:"string",demandOption:!0}),async handler(e){await s(process.cwd(),async()=>{let n=[];try{const o=v(n,w.Default.time("document-symbols"),0);let t=await i.runPromise(S.Service.use((d)=>d.documentSymbol(e.uri)));process.stdout.write(JSON.stringify(t,null,2)+D)}catch(a){var m=a,l=1}finally{P(n,m,l)}})}});import{EOL as C}from"os";var F=r({command:"rg",describe:"ripgrep debugging utilities",builder:(e)=>e.command(se).command(ne).command(ae).demandCommand(),async handler(){}}),se=r({command:"tree",describe:"show file tree using ripgrep",builder:(e)=>e.option("limit",{type:"number"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.tree({cwd:p.directory,limit:e.limit})));process.stdout.write(o+C)})}}),ne=r({command:"files",describe:"list files using ripgrep",builder:(e)=>e.option("query",{type:"string",description:"Filter files by query"}).option("glob",{type:"string",description:"Glob pattern to match files"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(c.gen(function*(){return yield*(yield*u.Service).files({cwd:p.directory,glob:e.glob?[e.glob]:void 0}).pipe(A.take(e.limit??1/0),A.runCollect,c.map((n)=>[...n]))}));process.stdout.write(o.join(C)+C)})}}),ae=r({command:"search <pattern>",describe:"search file contents using ripgrep",builder:(e)=>e.positional("pattern",{type:"string",demandOption:!0,description:"Search pattern"}).option("glob",{type:"array",description:"File glob patterns"}).option("limit",{type:"number",description:"Limit number of results"}),async handler(e){await s(process.cwd(),async()=>{let o=await i.runPromise(u.Service.use((t)=>t.search({cwd:p.directory,pattern:e.pattern,glob:e.glob,limit:e.limit})));process.stdout.write(JSON.stringify(o.items,null,2)+C)})}});import{EOL as me}from"os";var T=r({command:"scrap",describe:"list all known projects",builder:(e)=>e,async handler(){let e=w.Default.time("scrap"),o=await R.list();process.stdout.write(JSON.stringify(o,null,2)+me),e.stop()}});import{EOL as ce}from"os";var j=r({command:"skill",describe:"list all available skills",builder:(e)=>e,async handler(){await s(process.cwd(),async()=>{let e=await i.runPromise(c.gen(function*(){return yield*(yield*q.Service).all()}));process.stdout.write(JSON.stringify(e,null,2)+ce)})}});var M=r({command:"snapshot",describe:"snapshot debugging utilities",builder:(e)=>e.command(de).command(le).command(pe).demandCommand(),async handler(){}}),I=(e)=>s(process.cwd(),async()=>{console.log(await i.runPromise($.Service.use(e)))}),_=(e)=>e.positional("hash",{type:"string",description:"hash",demandOption:!0}),de=r({command:"track",describe:"track current snapshot state",async handler(){await I((e)=>e.track())}}),le=r({command:"patch <hash>",describe:"show patch for a snapshot hash",builder:_,async handler(e){await I((o)=>o.patch(e.hash))}}),pe=r({command:"diff <hash>",describe:"show diff for a snapshot hash",builder:_,async handler(e){await I((o)=>o.diff(e.hash))}});import{EOL as b}from"os";import{basename as ue}from"path";var Q=r({command:"agent <name>",describe:"show agent configuration details",builder:(e)=>e.positional("name",{type:"string",demandOption:!0,description:"Agent name"}).option("tool",{type:"string",description:"Tool id to execute"}).option("params",{type:"string",description:"Tool params as a JSON object"}),async handler(e){await s(process.cwd(),async()=>{let o=e.name,t=await i.runPromise(B.Service.use((d)=>d.get(o)));if(!t)process.stderr.write(`Agent ${o} not found, run '${ue(process.execPath)} agent list' to get an agent list`+b),process.exit(1);let n=await fe(t),a=await ye(t,n),m=e.tool;if(m){let d=n.find((W)=>W.id===m);if(!d)process.stderr.write(`Tool ${m} not found for agent ${o}`+b),process.exit(1);if(a[m]===!1)process.stderr.write(`Tool ${m} is disabled for agent ${o}`+b),process.exit(1);let h=ge(e.params),O=await we(t),N=await d.execute(h,O);process.stdout.write(JSON.stringify({tool:m,input:h,result:N},null,2)+b);return}let l={...t,tools:a};process.stdout.write(JSON.stringify(l,null,2)+b)})}});async function fe(e){return i.runPromise(c.gen(function*(){let o=yield*x.Service,t=yield*z.Service,n=e.model??(yield*o.defaultModel());return yield*t.tools({...n,agent:e})}))}async function ye(e,o){let t=f.disabled(o.map((a)=>a.id),e.permission),n={};for(let a of o)n[a.id]=!t.has(a.id);return n}function ge(e){if(!e)return{};let o=e.trim();if(o.length===0)return{};let t=(()=>{try{return JSON.parse(o)}catch{throw Error("Failed to parse --params. Provide a valid JSON object.")}})();if(!t||typeof t!=="object"||Array.isArray(t))throw Error("Tool params must be an object.");return t}async function we(e){let{session:o,messageID:t}=await i.runPromise(c.gen(function*(){let a=yield*K.Service,m=yield*a.create({title:`Debug tool run (${e.name})`}),l=G.ascending(),d=e.model?e.model:yield*c.gen(function*(){return yield*(yield*x.Service).defaultModel()}),h=Date.now(),O={id:l,sessionID:m.id,role:"assistant",time:{created:h},parentID:l,modelID:d.modelID,providerID:d.providerID,mode:"debug",agent:e.name,path:{cwd:p.directory,root:p.worktree},cost:0,tokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}}};return yield*a.updateMessage(O),{session:m,messageID:l}})),n=f.merge(e.permission,o.permission??[]);return{sessionID:o.id,messageID:t,callID:V.ascending(),agent:e.name,abort:new AbortController().signal,messages:[],metadata:()=>c.void,ask(a){return c.sync(()=>{for(let m of a.patterns)if(f.evaluate(a.permission,m,n).action==="deny")throw new f.DeniedError({ruleset:n})})}}}var jo=r({command:"debug",describe:"debugging and troubleshooting tools",builder:(e)=>e.command(k).command(E).command(F).command(L).command(T).command(j).command(M).command(Q).command(be).command({command:"wait",describe:"wait indefinitely (for debugging)",async handler(){await s(process.cwd(),async()=>{await new Promise((o)=>setTimeout(o,86400000))})}}).demandCommand(),async handler(){}}),be=r({command:"paths",describe:"show global paths (data, config, cache, state)",handler(){for(let[e,o]of Object.entries(U.Path))console.log(e.padEnd(10),o)}});export{jo as DebugCommand};
|
package/bundle/chunk-vrfegg5f.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$t as n,Bt as c,Ct as d,Dt as e,Ft as f,Gt as h,Ht as i,It as j,Jt as k,Lt as l,Mt as m,pt as a}from"./chunk-08y06vgt.js";import{iu as b,tu as g}from"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-s2za1y84.js";export{f as getEnvInfo,a as Wildcard,m as Token,l as Rpc,b as Process,n as Log,k as Lock,j as Locale,i as LocalContext,h as Keybind,g as Filesystem,e as EffectUtil,d as Color,c as Archive};
|
package/bundle/chunk-w12tky28.js
DELETED
package/bundle/chunk-w9ct698t.js
DELETED
package/bundle/chunk-wms4skr9.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{g as x}from"./chunk-g8wvr7a1.js";import{i as B}from"./chunk-kn318ev4.js";import{G as S}from"./chunk-txty44v2.js";import{H as A,I as R}from"./chunk-0vqrakhw.js";import{Qd as $}from"./chunk-g4qwkcdv.js";import{Uf as j}from"./chunk-0ndvy0nh.js";import{Bg as v,Cg as F,Dg as K,Fg as k,rg as Y,sg as _,tg as w,ug as O,yg as b}from"./chunk-wr5hdsst.js";import{uh as Z}from"./chunk-kbjwdv1x.js";import{kp as T,pp as W}from"./chunk-qmhcbdkg.js";import{qI as H}from"./chunk-ynfbz3sz.js";var X="forgewise",d=(J,z=process.env)=>J.trim()||z.QLEX_API_KEY?.trim()||"",u=(J)=>H.gen(function*(){let z=J.trim();if(!z)yield*H.sync(()=>{j.println(j.Style.TEXT_DANGER+"Error: API key cannot be empty."+j.Style.TEXT_NORMAL)}),process.exit(1);yield*(yield*T.Service).set(X,{type:"api",key:z,metadata:{method:"api-key"}}),yield*B(j.Style.TEXT_SUCCESS+"Signed in with API key."+j.Style.TEXT_NORMAL)}).pipe(H.withSpan("forgewise.login.apikey"));async function p(){let J=!w();try{return await F({tryOpen:J,onCode:(z)=>{if(process.stdout.write(`
|
|
3
|
-
`),process.stdout.write(" To sign in, open: "+z.verificationUri+`
|
|
4
|
-
`),process.stdout.write(" and enter code: "+z.userCode+`
|
|
5
|
-
`),z.verificationUriComplete)process.stdout.write(`
|
|
6
|
-
Or open this link directly:
|
|
7
|
-
`+z.verificationUriComplete+`
|
|
8
|
-
`);process.stdout.write(`
|
|
9
|
-
Waiting for approval... (ctrl+c to cancel)
|
|
10
|
-
`)}})}catch(z){if(z instanceof _)return K();throw z}}var U=()=>H.gen(function*(){let J=yield*H.tryPromise({try:()=>O(),catch:(M)=>M}).pipe(H.catch((M)=>H.succeed(M)));if(J instanceof Error){let M=J;if(M instanceof Y)return yield*H.sync(()=>{j.println(j.Style.TEXT_DANGER+"Error: "+M.message+j.Style.TEXT_NORMAL),process.exit(1)});throw M}let z=yield*H.tryPromise({try:()=>p(),catch:(M)=>M});if(z instanceof Error)yield*H.sync(()=>{j.println(j.Style.TEXT_DANGER+"Login failed: "+z.message+j.Style.TEXT_NORMAL)}),process.exit(1);let N=yield*T.Service,V=yield*H.promise(()=>k(z.access_token));if(V)yield*N.set(X,R(z,V));else yield*N.set(X,A(z,{rotateRefreshToken:!0}));yield*B(j.Style.TEXT_SUCCESS+`Signed in as ${z.name||z.email} (${z.email})`+j.Style.TEXT_NORMAL)}).pipe(H.withSpan("forgewise.login")),I=()=>H.gen(function*(){let J=yield*T.Service;if(!(yield*J.get(X))){yield*H.sync(()=>j.println("Not signed in to Forgewise."));return}yield*J.remove(X),yield*B("Signed out from Forgewise.")}).pipe(H.withSpan("forgewise.logout")),G=(J)=>H.gen(function*(){let z=yield*H.tryPromise({try:()=>b(J),catch:()=>null}).pipe(H.orElseSucceed(()=>null));if(z)return j.Style.TEXT_DIM+" | "+j.Style.TEXT_NORMAL+"Qredits: "+j.Style.TEXT_HIGHLIGHT_BOLD+S(z.balance)+j.Style.TEXT_NORMAL;return j.Style.TEXT_DIM+" | "+j.Style.TEXT_NORMAL+j.Style.TEXT_DIM+"Qredits: unavailable"+j.Style.TEXT_NORMAL}),o=()=>H.gen(function*(){if((yield*x())==="revoked")return;let J=yield*H.promise(()=>W());if(!J){yield*H.sync(()=>j.println("Forgewise: Not signed in"));return}let N=yield*(yield*T.Service).get(X),V=(N&&N.type==="api"?N.metadata:void 0)??{},M=yield*v(J);if(J.method==="api-key"){let q=V.email,g=q?`Signed in as ${q} (API key)`:"Signed in with API key",s=M.accessToken?yield*G(M):j.Style.TEXT_DIM+" \u2014 balance needs an account sign-in (`qitqode auth login`)"+j.Style.TEXT_NORMAL;yield*H.sync(()=>j.println(j.Style.TEXT_SUCCESS+"Forgewise: "+j.Style.TEXT_NORMAL+g+s));return}let L=V.email??"(unknown)",P=V.name??"",y=V.sub,D=Number(V.expires_at??0),Q=D>0&&Date.now()>D,h=P?`${P} (${L})`:L,m=Q?j.Style.TEXT_WARNING+" [token expired \u2014 run `qitqode auth login` to refresh]"+j.Style.TEXT_NORMAL:j.Style.TEXT_DIM+` (expires ${new Date(D).toLocaleString()})`+j.Style.TEXT_NORMAL,C="";if(!Q&&y)C=yield*G({key:J.key,method:"sso"});yield*H.sync(()=>j.println(j.Style.TEXT_SUCCESS+"Forgewise: "+j.Style.TEXT_NORMAL+h+m+C))}).pipe(H.withSpan("forgewise.status")),Hj=$({command:"auth <command>",describe:"Sign in or out of Forgewise",builder:(J)=>J.command($({command:"login",describe:"Sign in with Forgewise Accounts (opens browser) or a Qortex API key",builder:(z)=>z.option("api-key",{type:"string",describe:"Sign in by pasting a Qortex API key instead of using the browser (defaults to $QLEX_API_KEY when the flag is passed without a value)"}),async handler(z){j.empty();let N=z.apiKey;if(N!==void 0){let V=d(N);await Z.runPromise(u(V));return}await Z.runPromise(U())}})).command($({command:"logout",describe:"Sign out from Forgewise",builder:(z)=>z,async handler(){j.empty(),await Z.runPromise(I())}})).command($({command:"status",describe:"Show current Forgewise sign-in status",builder:(z)=>z,async handler(){j.empty(),await Z.runPromise(o())}})).demandCommand(),async handler(){}});
|
|
11
|
-
export{d as a,u as b,U as c,I as d,o as e,Hj as f};
|
package/bundle/chunk-wr5hdsst.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Eh as U}from"./chunk-3w64fpwn.js";import{kp as a,up as y,yp as d}from"./chunk-qmhcbdkg.js";import{$t as s,St as o}from"./chunk-08y06vgt.js";import{qI as M}from"./chunk-ynfbz3sz.js";class G extends Error{cause;constructor(J,Z){super(J);this.name="ForgewiseError",this.cause=Z}}class q extends G{constructor(J="Device flow is not supported by this issuer."){super(J);this.name="DeviceFlowUnsupportedError"}}var r="https://app.forgewise.tech",e="forgewise-cli";function I(...J){return J.find((Z)=>Z!==void 0&&Z.trim().length>0)}function J1(){return!!process.env.REPLIT_DEV_DOMAIN}async function K(){let J=process.env.ACCOUNTS_ISSUER,Z=process.env.FORGEWISE_CLIENT_ID;if(J&&Z)return{issuer:J.replace(/\/+$/,""),clientId:Z};let $;try{$=await y()}catch{$=void 0}let X=I(J,$?.issuer,r).replace(/\/+$/,""),Y=I(Z,$?.clientId,e);return{issuer:X,clientId:Y}}function P(J,Z,$){if(J>=200&&J<300)return{kind:"success"};let X=Z?.error??"";if(X==="authorization_pending")return{kind:"wait",intervalMs:$};if(X==="slow_down")return{kind:"wait",intervalMs:$+5000};if(X==="access_denied")return{kind:"fatal",message:"Sign-in was denied in the browser."};if(X==="expired_token")return{kind:"fatal",message:"The sign-in code expired before it was approved. Try again."};return{kind:"fatal",message:`Device sign-in failed: ${Z?.error_description||X||`HTTP ${J}`}`}}import E from"http";var v="/callback",b=[51737,51738],L=new Set;function k(J){return J.replace(/[&<>\"']/g,(Z)=>{switch(Z){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return"'"}})}function C(J){return`http://127.0.0.1:${J}${v}`}async function Z1(J){return new Promise((Z,$)=>{let X=E.createServer();X.listen(J,"127.0.0.1",()=>{X.close(()=>Z(J))}),X.on("error",$)})}async function h(){for(let J of b){if(L.has(J))continue;L.add(J);try{return await Z1(J)}catch{L.delete(J)}}throw new G(`Could not bind to any loopback port (tried ${b.join(", ")}). Free one of those ports and retry.`)}function O(J,Z,$,X){return new Promise((Y,V)=>{let x=()=>L.delete(J),N=E.createServer((z,Q)=>{try{let W=new URL(z.url??"/",`http://localhost:${J}`);if(W.pathname!==v){Q.writeHead(404),Q.end();return}let B=W.searchParams.get("code"),D=W.searchParams.get("state"),S=W.searchParams.get("error"),j=W.searchParams.get("error_description");if(S){let t=`${k(S)}${j?": "+k(j):""}`;Q.writeHead(200,{"Content-Type":"text/html"}),Q.end(`<html><body style="font-family:sans-serif;padding:2rem"><h2>Authorization failed</h2><p>${t}</p><p>You can close this tab.</p></body></html>`),N.close(),V(new G(`Authorization error: ${S}${j?" \u2014 "+j:""}`));return}if(!B||D!==Z){Q.writeHead(400),Q.end("Invalid request");return}Q.writeHead(200,{"Content-Type":"text/html"}),Q.end('<html><body style="font-family:sans-serif;padding:2rem"><h2>Signed in! You can close this tab.</h2><p>Return to your terminal to continue.</p></body></html>'),N.close(),Y({code:B})}catch(W){N.close(),V(W)}});if($?.aborted){x(),V(new G("Login cancelled"));return}let H=()=>{x(),N.close(()=>V(new G("Login cancelled")))};if($?.addEventListener("abort",H,{once:!0}),$?.aborted){H();return}N.listen(J,"127.0.0.1",()=>{x(),X?.()}),N.on("error",(z)=>{x(),V(z)})})}function g(J,Z){return new Promise(($,X)=>{if(Z?.aborted){X(new G("Login cancelled"));return}let Y,V=()=>{clearTimeout(Y),Z?.removeEventListener("abort",V),X(new G("Login cancelled"))};if(Y=setTimeout(()=>{Z?.removeEventListener("abort",V),$()},J),Z?.addEventListener("abort",V,{once:!0}),Z?.aborted)V()})}function m(J,Z=300000){if(!J)return!1;return Date.now()>=J-Z}async function $1(J){let{issuer:Z}=await K();return d({issuer:Z,...J.accessToken?{accessToken:J.accessToken}:{}})}import R from"crypto";var u="openid profile email",F=(J)=>J.toString("base64url");function p(){let J=F(R.randomBytes(32)),Z=F(R.createHash("sha256").update(J).digest()),$=F(R.randomBytes(16));return{verifier:J,challenge:Z,state:$}}function c(J){let Z=new URL(`${J.issuer}/api/oauth/authorize`);return Z.searchParams.set("response_type","code"),Z.searchParams.set("client_id",J.clientId),Z.searchParams.set("redirect_uri",J.redirectUri),Z.searchParams.set("scope",u),Z.searchParams.set("state",J.state),Z.searchParams.set("code_challenge",J.challenge),Z.searchParams.set("code_challenge_method","S256"),Z.toString()}async function T(J,Z){let $=await fetch(`${J}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${Z.access_token}`}});if(!$.ok)throw new G(`Failed to fetch user profile (${$.status})`);let X=await $.json();if(!X.sub)throw new G("Userinfo response is missing required 'sub' field \u2014 the server returned an invalid user profile.");return{sub:X.sub,name:X.name??"",email:X.email??"",access_token:Z.access_token,expires_at:Date.now()+(Z.expires_in??3600)*1000,...Z.refresh_token?{refresh_token:Z.refresh_token}:{}}}async function f(J){let Z=await fetch(`${J.issuer}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:J.code,redirect_uri:J.redirectUri,client_id:J.clientId,code_verifier:J.verifier}).toString(),signal:J.signal??null});if(!Z.ok){let X=await Z.text().catch(()=>"");throw new G(`Token exchange failed (${Z.status}): ${X}`)}let $=await Z.json();return T(J.issuer,$)}async function X1(J,Z,$=5000){let X=new AbortController,Y=setTimeout(()=>X.abort(),$);try{let V=await fetch(`${J}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${Z}`},signal:X.signal});if(V.status===401||V.status===403)return!1;if(!V.ok)return null;return!0}catch{return null}finally{clearTimeout(Y)}}async function w(J){let{issuer:Z,clientId:$}=await K(),X;try{X=await fetch(`${Z}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",client_id:$,refresh_token:J}).toString()})}catch(V){throw new G(`Could not reach the sign-in server to refresh the session: ${V instanceof Error?V.message:String(V)}`,V)}if(!X.ok){let V=await X.json().catch(()=>{return});if(V?.error==="invalid_grant")return"invalid_grant";throw new G(`Token refresh failed (${X.status}): ${V?.error??""}`)}let Y=await X.json();return T(Z,Y)}async function i(J){let Z;try{Z=await fetch(`${J.issuer}/api/oauth/device_authorization`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:J.clientId,scope:u}).toString(),signal:J.signal??null})}catch{if(J.signal?.aborted)throw new G("Login cancelled");throw new q}if(Z.status===404||Z.status===405||Z.status===501)throw new q;if(!Z.ok){let X=await Z.text().catch(()=>"");throw new G(`Device authorization failed (${Z.status}): ${X}`)}let $;try{$=await Z.json()}catch{throw new q}if(!$.device_code||!$.user_code||!$.verification_uri)throw new q;return{deviceCode:$.device_code,info:{userCode:$.user_code,verificationUri:$.verification_uri,verificationUriComplete:$.verification_uri_complete,expiresAt:Date.now()+($.expires_in??900)*1000},intervalMs:Math.max(1,$.interval??5)*1000}}async function l(J){let Z;try{Z=await fetch(`${J.issuer}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:J.deviceCode,client_id:J.clientId}).toString(),signal:J.signal??null})}catch{if(J.signal?.aborted)throw new G("Login cancelled");return{kind:"wait",intervalMs:J.currentIntervalMs}}let $;try{$=await Z.json()}catch{$=void 0}let X=P(Z.status,$,J.currentIntervalMs);if(X.kind==="success"){if(!$?.access_token)throw new G("Token endpoint returned success without an access_token.");return{kind:"success",profile:await T(J.issuer,{access_token:$.access_token,expires_in:$.expires_in})}}if(X.kind==="fatal")throw new G(X.message);return{kind:"wait",intervalMs:X.intervalMs}}var A="forgewise",V1=()=>M.gen(function*(){let J=yield*a.Service,Z=yield*J.get(A);if(!Z||Z.type!=="api")return;let $=Z.metadata??{},X=$.access_token;if(!X)return;let Y=Number($.access_token_expires_at??0);if(!m(Y))return X;let V=$.refresh_token;if(!V)return;let x=yield*M.promise(()=>w(V).catch(()=>null));if(!x||x==="invalid_grant")return;let N=yield*J.get(A);if(!N||N.type!=="api"||N.key!==Z.key)return x.access_token;let H={...N,metadata:{...N.metadata??{},access_token:x.access_token,access_token_expires_at:String(x.expires_at),...x.refresh_token?{refresh_token:x.refresh_token}:{}}};return yield*M.orElseSucceed(J.set(A,H),()=>{return}),x.access_token}),Y1=(J)=>M.gen(function*(){if(J.method==="sso")return{key:J.key,method:"sso",accessToken:J.key};let Z=yield*V1();return{key:J.key,method:"api-key",accessToken:Z}});var x1=300000;async function n(){let{issuer:J,clientId:Z}=await K(),{verifier:$,challenge:X,state:Y}=p(),V=await h(),x=C(V),N=c({issuer:J,clientId:Z,redirectUri:x,challenge:X,state:Y});return{issuer:J,clientId:Z,verifier:$,port:V,redirectUri:x,authorizeStr:N,state:Y}}async function G1(J){let{issuer:Z,clientId:$}=await K(),{deviceCode:X,info:Y,intervalMs:V}=await i({issuer:Z,clientId:$,signal:J.signal});if(J.onCode(Y),J.tryOpen){let N=Y.verificationUriComplete??Y.verificationUri;U(N)}let x=V;while(Date.now()<Y.expiresAt){await g(x,J.signal);let N=await l({issuer:Z,clientId:$,deviceCode:X,currentIntervalMs:x,signal:J.signal});if(N.kind==="success")return N.profile;x=N.intervalMs}throw new G("The sign-in code expired before it was approved. Try again.")}async function N1(){let{issuer:J,clientId:Z,verifier:$,port:X,redirectUri:Y,authorizeStr:V,state:x}=await n();process.stdout.write(`
|
|
3
|
-
`),process.stdout.write(` Opening Forgewise sign-in in your browser...
|
|
4
|
-
`),process.stdout.write(" Sign-in URL: "+V+`
|
|
5
|
-
`),process.stdout.write(`
|
|
6
|
-
`),process.stdout.write(` Waiting for the browser to complete sign-in... (ctrl+c to cancel)
|
|
7
|
-
`);let{code:N}=await O(X,x,void 0,()=>{U(V)});return process.stdout.write(`
|
|
8
|
-
Exchanging authorization code...
|
|
9
|
-
`),f({issuer:J,clientId:Z,code:N,redirectUri:Y,verifier:$})}async function Q1(J={}){if(J.signal?.aborted)throw new G("Login cancelled");let{issuer:Z,clientId:$,verifier:X,port:Y,redirectUri:V,authorizeStr:x,state:N}=await n(),H=()=>{if(J.onUrl?.(x),J.tryOpen!==!1)U(x)},z=new AbortController,Q=()=>z.abort();J.signal?.addEventListener("abort",Q,{once:!0});let W=!1,B=setTimeout(()=>{W=!0,z.abort()},x1);try{let{code:D}=await O(Y,N,z.signal,H);return await f({issuer:Z,clientId:$,code:D,redirectUri:V,verifier:X,signal:z.signal})}catch(D){if(W)throw new G("Sign-in timed out. Run login again to retry.");throw D}finally{clearTimeout(B),J.signal?.removeEventListener("abort",Q)}}var _=s.create({service:"auth.forgewise.checkout"}),W1="qitqode",z1=5000;async function q1(J){let $=`${new URL(o.QITQODE_BACKEND_URL).origin}/auth/keys/checkout`;try{let X=await fetch($,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${J}`},body:JSON.stringify({app:W1}),signal:AbortSignal.timeout(z1)});if(!X.ok)return _.warn("API key checkout returned non-200; falling back to Bearer credential",{status:X.status,url:$}),null;let Y=await X.json();if(typeof Y?.key!=="string"||!Y.key)return _.warn("API key checkout response missing key field; falling back to Bearer credential",{url:$}),null;return _.info("API key checkout succeeded; credential upgraded to api-key method",{url:$}),Y.key}catch(X){return _.warn("API key checkout failed; falling back to Bearer credential",{url:$,error:X instanceof Error?X.message:String(X)}),null}}export{G as rg,q as sg,J1 as tg,K as ug,P as vg,C as wg,m as xg,$1 as yg,X1 as zg,w as Ag,Y1 as Bg,G1 as Cg,N1 as Dg,Q1 as Eg,q1 as Fg};
|
package/bundle/chunk-wxnqgh8t.js
DELETED
package/bundle/chunk-wzmte7sy.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{$f as E}from"./chunk-f416n3mp.js";import"./chunk-dazye86e.js";import"./chunk-3bb7y9pq.js";import"./chunk-wr5hdsst.js";import"./chunk-nfp9xtca.js";import"./chunk-nfg7nt13.js";import"./chunk-ze00x1xb.js";import"./chunk-sdsggxm4.js";import"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import{GP as z}from"./chunk-s2za1y84.js";var J={command:"generate",handler:async()=>{let A=await E.openapi();for(let q of Object.values(A.paths))for(let y of["get","post","put","delete","patch"]){let k=q[y];if(!k?.operationId)continue;k["x-codeSamples"]=[{lang:"js",source:['import { createQitQodeClient } from "@qitqode/sdk"',"","const client = createQitQodeClient()",`await client.${k.operationId}({`," ...","})"].join(`
|
|
3
|
-
`)}]}let F=JSON.stringify(A,null,2),B=await import("./chunk-1xkwm21b.js"),C=await import("./chunk-afhg3w2j.js"),D=await import("./chunk-k7h6tfzj.js"),G=await(B.format??B.default?.format)(F,{parser:"json",plugins:[C.default??C,D.default??D],printWidth:120});await new Promise((q,y)=>{process.stdout.write(G,(k)=>{if(k)y(k);else q()})})}};export{J as GenerateCommand};
|
package/bundle/chunk-x0h1jdxt.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{ke as a,le as b,me as c,ne as d,oe as e,pe as f,qe as g}from"./chunk-0w5npkgr.js";import"./chunk-z4ae6jmb.js";import"./chunk-xak2r993.js";import"./chunk-5ymj2q6j.js";import"./chunk-s2za1y84.js";export{g as fromEnv,c as ENV_SESSION,b as ENV_SECRET,a as ENV_KEY,d as ENV_EXPIRATION,e as ENV_CREDENTIAL_SCOPE,f as ENV_ACCOUNT_ID};
|
package/bundle/chunk-x6hsmnhz.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{th as a,uh as b}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import"./chunk-njzpswgt.js";import"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";export{b as AppRuntime,a as AppLayer};
|
package/bundle/chunk-xg9e0enb.js
DELETED
package/bundle/chunk-xtxxb25n.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Fp as a,Gp as b,Hp as c,Ip as d,Jp as e,Kp as f,Lp as g,Mp as h,Np as i}from"./chunk-1n4w8dya.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-s2za1y84.js";export{i as gateway,h as createGatewayProvider,h as createGateway,g as GatewayResponseError,d as GatewayRateLimitError,e as GatewayModelNotFoundError,c as GatewayInvalidRequestError,f as GatewayInternalServerError,a as GatewayError,b as GatewayAuthenticationError};
|
package/bundle/chunk-y3s7sh1e.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Qd as b}from"./chunk-g4qwkcdv.js";import{Uf as t}from"./chunk-0ndvy0nh.js";import{uh as u}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import{$j as m,Uk as y}from"./chunk-njzpswgt.js";import{ql as v}from"./chunk-2cm91ktc.js";import{Ol as a}from"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import{qI as s}from"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";import{EOL as f}from"os";var M=b({command:"models [provider]",describe:"list all available models",builder:(r)=>{return r.positional("provider",{describe:"provider ID to filter models by",type:"string",array:!1}).option("verbose",{describe:"use more verbose model output (includes metadata like costs)",type:"boolean"}).option("refresh",{describe:"refresh the models cache from models.dev",type:"boolean"})},handler:async(r)=>{if(r.refresh)await v.refresh(!0),t.println(t.Style.TEXT_SUCCESS_BOLD+"Models cache refreshed"+t.Style.TEXT_NORMAL);await a.provide({directory:process.cwd(),async fn(){await u.runPromise(s.gen(function*(){let n=yield*(yield*y.Service).list(),l=(e,o)=>{let i=n[e],d=Object.entries(i.models).sort(([c],[p])=>c.localeCompare(p));for(let[c,p]of d)if(process.stdout.write(`${e}/${c}`),process.stdout.write(f),o)process.stdout.write(JSON.stringify(p,null,2)),process.stdout.write(f)};if(r.provider){let e=m.make(r.provider);if(!n[e]){yield*s.sync(()=>t.error(`Provider not found: ${r.provider}`));return}yield*s.sync(()=>l(e,r.verbose));return}let h=Object.keys(n).sort((e,o)=>{let i=e.startsWith("opencode"),d=o.startsWith("opencode");if(i&&!d)return-1;if(!i&&d)return 1;return e.localeCompare(o)});yield*s.sync(()=>{for(let e of h)l(m.make(e),r.verbose)})}))}})}});export{M as ModelsCommand};
|
package/bundle/chunk-ydvheqw9.js
DELETED
package/bundle/chunk-yxnq0d7k.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import{Hd as q,Id as K,Jd as D,Md as L,Nd as N}from"./chunk-y2ch07yv.js";import"./chunk-kkdgzeva.js";import{Uf as B}from"./chunk-0ndvy0nh.js";import{uh as G}from"./chunk-kbjwdv1x.js";import"./chunk-ek1fawsj.js";import"./chunk-3w64fpwn.js";import"./chunk-pfn1db1m.js";import"./chunk-h56jxxvj.js";import"./chunk-x36jhtex.js";import"./chunk-fk8cctjy.js";import"./chunk-fxb6vjcb.js";import"./chunk-njzpswgt.js";import{gl as C}from"./chunk-2cm91ktc.js";import"./chunk-ygwe0vf1.js";import"./chunk-1qbm1k9y.js";import"./chunk-3rgct4bd.js";import"./chunk-atbm0pnt.js";import"./chunk-s86fj82v.js";import"./chunk-58gp7wbg.js";import"./chunk-w4hbw37v.js";import"./chunk-qmhcbdkg.js";import"./chunk-7qxn24qa.js";import"./chunk-vx837ete.js";import"./chunk-ppvmy940.js";import"./chunk-1n4w8dya.js";import"./chunk-7ryv0f5h.js";import"./chunk-p31yg62z.js";import"./chunk-5mec6cde.js";import"./chunk-cqtkxwd8.js";import"./chunk-0mekr486.js";import"./chunk-x3931we7.js";import"./chunk-w01gjnty.js";import"./chunk-nxjbbq5h.js";import"./chunk-z559gc3n.js";import"./chunk-kbyk7hyn.js";import"./chunk-6h2faxs9.js";import"./chunk-4nck07pc.js";import"./chunk-d2n09yvh.js";import"./chunk-f3c9667r.js";import"./chunk-qpv4438m.js";import"./chunk-hybq019j.js";import"./chunk-z2q3mg73.js";import"./chunk-n07rsssz.js";import{Ws as J}from"./chunk-08y06vgt.js";import"./chunk-9p83me3p.js";import"./chunk-9wm41z2f.js";import"./chunk-48j09m6e.js";import"./chunk-se195e52.js";import"./chunk-vw673y0t.js";import"./chunk-tedrfa7d.js";import"./chunk-ynfbz3sz.js";import"./chunk-rs0nx844.js";import"./chunk-qkwhgfjt.js";import"./chunk-s2za1y84.js";var X={command:"upgrade [target]",describe:"upgrade qitqode to the latest or a specific version",builder:(z)=>{return z.positional("target",{describe:"version to upgrade to, for ex '0.1.48' or 'v0.1.48'",type:"string"}).option("method",{alias:"m",describe:"installation method to use",type:"string",choices:["curl","npm","pnpm","bun","brew","choco","scoop"]})},handler:async(z)=>{B.empty(),B.println(B.logo(" ")),B.empty(),K("Upgrade");let O=await G.runPromise(C.Service.use((j)=>j.method())),E=z.method??O;if(E==="unknown"){if(q.error(`qitqode is installed to ${process.execPath} and may be managed by a package manager`),!await N({message:"Install anyways?",options:[{label:"Yes",value:!0},{label:"No",value:!1}],initialValue:!1})){D("Done");return}}q.info("Using method: "+E);let F=z.target?z.target.replace(/^v/,""):await G.runPromise(C.Service.use((j)=>j.latest()));if(J===F){q.warn(`qitqode upgrade skipped: ${F} is already installed`),D("Done");return}q.info(`From ${J} \u2192 ${F}`);let H=L();H.start("Upgrading...");let x=await G.runPromise(C.Service.use((j)=>j.upgrade(E,F))).catch((j)=>j);if(x){if(H.stop("Upgrade failed",1),x instanceof C.UpgradeFailedError)if(E==="choco"&&x.stderr.includes("not running from an elevated command shell"))q.error("Please run the terminal as Administrator and try again");else q.error(x.stderr);else if(x instanceof Error)q.error(x.message);D("Done");return}H.stop("Upgrade complete"),D("Done")}};export{X as UpgradeCommand};
|
package/bundle/chunk-z2raegj9.js
DELETED
package/bundle/chunk-z3pyhmg6.js
DELETED
package/bundle/chunk-z7pg6sw1.js
DELETED
package/bundle/chunk-z84376c6.js
DELETED
package/bundle/chunk-zn8th65r.js
DELETED
package/bundle/chunk-ztv1brgn.js
DELETED
package/bundle/chunk-zyxvd9fj.js
DELETED