@qitqode/qitqode-android-arm64 0.1.22 → 0.1.23
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-mbmc1mg0.js → chunk-0136n3jt.js} +1 -1
- package/bundle/{chunk-wm3b050v.js → chunk-05badzhy.js} +1 -1
- package/bundle/{chunk-p64fb4rm.js → chunk-07szgr15.js} +1 -1
- package/bundle/{chunk-jtbf88gw.js → chunk-0svy8w30.js} +2 -2
- package/bundle/{chunk-c88rh38d.js → chunk-0vhsc0yh.js} +1 -1
- package/bundle/{chunk-y0fxwgrv.js → chunk-101y7ce2.js} +1 -1
- package/bundle/{chunk-x6gzygc3.js → chunk-12cd1yj9.js} +1 -1
- package/bundle/chunk-1by6y9tm.js +2 -0
- package/bundle/{chunk-fkdbba26.js → chunk-1eg8mr1q.js} +1 -1
- package/bundle/{chunk-cx0z3mm3.js → chunk-1gg4c0pq.js} +1 -1
- package/bundle/{chunk-cckshvkb.js → chunk-1gjh45v5.js} +1 -1
- package/bundle/chunk-1p7wqmxp.js +2 -0
- package/bundle/{chunk-th189x63.js → chunk-1v47v7vm.js} +1 -1
- package/bundle/{chunk-zt8kghd2.js → chunk-1vx26nt2.js} +1 -1
- package/bundle/{chunk-ee5r4h0v.js → chunk-1w8b88y5.js} +1 -1
- package/bundle/{chunk-mt8zem33.js → chunk-21hnx8rx.js} +1 -1
- package/bundle/chunk-22pvftx8.js +2 -0
- package/bundle/{chunk-j2k4wxsk.js → chunk-22tf95dw.js} +1 -1
- package/bundle/{chunk-hrnx60em.js → chunk-22vvjp4g.js} +2 -2
- package/bundle/{chunk-3nc9wy1m.js → chunk-24r5h0fx.js} +2 -2
- package/bundle/{chunk-kywg73qz.js → chunk-26m5yn5d.js} +1 -1
- package/bundle/{chunk-n4spe0sv.js → chunk-26mt118z.js} +1 -1
- package/bundle/{chunk-t2n6fmpy.js → chunk-29hmwttd.js} +2 -2
- package/bundle/{chunk-abc7ccfd.js → chunk-2adsn1ca.js} +1 -1
- package/bundle/chunk-2bce1njy.js +2 -0
- package/bundle/{chunk-6hkv9411.js → chunk-2e76kpa6.js} +1 -1
- package/bundle/{chunk-7276th89.js → chunk-2e9a9brg.js} +1 -1
- package/bundle/{chunk-ne8ftsv3.js → chunk-2es79khv.js} +3 -3
- package/bundle/{chunk-6v4mhtha.js → chunk-2qj66wf5.js} +1 -1
- package/bundle/{chunk-x1naayst.js → chunk-2qy760rf.js} +1 -1
- package/bundle/{chunk-3f6t3wde.js → chunk-2wcwbp3t.js} +152 -152
- package/bundle/{chunk-6pe3xzkk.js → chunk-338hbnza.js} +1 -1
- package/bundle/{chunk-5a80qybt.js → chunk-36c2avm4.js} +1 -1
- package/bundle/{chunk-9fdv5d8a.js → chunk-381j1hqf.js} +1 -1
- package/bundle/{chunk-y2tnzn1y.js → chunk-3cpqdake.js} +1 -1
- package/bundle/chunk-3gsvbfqz.js +2 -0
- package/bundle/chunk-3j6nrrva.js +4 -0
- package/bundle/{chunk-9g05wsae.js → chunk-3ne6j2h5.js} +1 -1
- package/bundle/{chunk-b5h8vd5n.js → chunk-3sem578c.js} +1 -1
- package/bundle/{chunk-cm31dbwq.js → chunk-3vgnqaem.js} +1 -1
- package/bundle/{chunk-c9afcdba.js → chunk-3w9k7yxx.js} +1 -1
- package/bundle/{chunk-xtjsfqam.js → chunk-3wzpdvpg.js} +1 -1
- package/bundle/{chunk-fyd31m33.js → chunk-3xf7q4ww.js} +1 -1
- package/bundle/chunk-3xrhxyz9.js +2 -0
- package/bundle/chunk-3zdyrnvp.js +2 -0
- package/bundle/{chunk-73d0dy03.js → chunk-44amvtcs.js} +1 -1
- package/bundle/chunk-4nhbgva1.js +2 -0
- package/bundle/{chunk-1zb95qfx.js → chunk-576zfh1s.js} +1 -1
- package/bundle/{chunk-n1wawwry.js → chunk-58w4dhb6.js} +1 -1
- package/bundle/chunk-5ch23jj3.js +2 -0
- package/bundle/{chunk-rvz05kxy.js → chunk-5d18fd4p.js} +1 -1
- package/bundle/{chunk-8x6x3g16.js → chunk-5dpev64z.js} +1 -1
- package/bundle/chunk-5hzkd9te.js +2 -0
- package/bundle/{chunk-t813v629.js → chunk-5vwhfa42.js} +1 -1
- package/bundle/{chunk-gzwcj7c9.js → chunk-5vyper2h.js} +1 -1
- package/bundle/{chunk-bjw39da9.js → chunk-5wr5gpaa.js} +1 -1
- package/bundle/{chunk-xjdxyeja.js → chunk-5x19yah0.js} +1 -1
- package/bundle/{chunk-zfw873yt.js → chunk-62yja34m.js} +1 -1
- package/bundle/{chunk-h9ftcgs2.js → chunk-63pvqy8n.js} +3 -3
- package/bundle/chunk-662x3gq6.js +2 -0
- package/bundle/{chunk-xa0f5g9z.js → chunk-6an0pk19.js} +1 -1
- package/bundle/{chunk-4gfryje2.js → chunk-6j07cgna.js} +1 -1
- package/bundle/chunk-6ybqwnp7.js +2 -0
- package/bundle/{chunk-4se8cbmb.js → chunk-70gfpkxv.js} +1 -1
- package/bundle/chunk-7365jzj1.js +2 -0
- package/bundle/{chunk-x1dfc7qd.js → chunk-799c17nk.js} +1 -1
- package/bundle/chunk-7amvpgng.js +2 -0
- package/bundle/{chunk-68jsyydc.js → chunk-7bxe5s20.js} +1 -1
- package/bundle/chunk-7dcz5ytp.js +2 -0
- package/bundle/chunk-7h7bwjmm.js +2 -0
- package/bundle/{chunk-ck65rcxb.js → chunk-7m4camry.js} +1 -1
- package/bundle/{chunk-vpp88hhd.js → chunk-7n994qss.js} +209 -209
- package/bundle/{chunk-s1mx3bkw.js → chunk-7pr4jxkn.js} +1 -1
- package/bundle/{chunk-98nh88th.js → chunk-7tb9fjvq.js} +2 -2
- package/bundle/{chunk-dgsg31vm.js → chunk-7tthc48p.js} +1 -1
- package/bundle/chunk-7vk5fhhv.js +2 -0
- package/bundle/chunk-7vqw9wge.js +2 -0
- package/bundle/chunk-7vxk5t11.js +2 -0
- package/bundle/{chunk-xz7dccwp.js → chunk-83fm5xcn.js} +1 -1
- package/bundle/{chunk-awdpkgxf.js → chunk-863s0tqa.js} +1 -1
- package/bundle/{chunk-3degq6rv.js → chunk-87pzwjjj.js} +3 -3
- package/bundle/{chunk-78wt9ad8.js → chunk-88kt6qmd.js} +1 -1
- package/bundle/chunk-8b644ae2.js +2 -0
- package/bundle/{chunk-mbkw9s6e.js → chunk-8e2wwdgb.js} +1 -1
- package/bundle/{chunk-hmm1m733.js → chunk-8hh5ejmr.js} +2 -2
- package/bundle/{chunk-y3x5m3e8.js → chunk-8k4mkrdw.js} +1 -1
- package/bundle/{chunk-j6cpsxva.js → chunk-9jjjzmvn.js} +1 -1
- package/bundle/{chunk-8r4xs1q9.js → chunk-9n6f9n1c.js} +1 -1
- package/bundle/{chunk-pp44xnd7.js → chunk-9tq5yt3t.js} +1 -1
- package/bundle/{chunk-qq9pvscd.js → chunk-9y65kbcf.js} +2 -2
- package/bundle/{chunk-vqxyph4q.js → chunk-9yaw0hbp.js} +1 -1
- package/bundle/{chunk-18xhxdsh.js → chunk-9zg3y89v.js} +1 -1
- package/bundle/{chunk-bbznk59q.js → chunk-a3te67a5.js} +2 -2
- package/bundle/{chunk-h7rxnbf0.js → chunk-ac69b9tm.js} +1 -1
- package/bundle/{chunk-50aznc8e.js → chunk-afpwjn78.js} +2 -2
- package/bundle/{chunk-6r4gn18m.js → chunk-agx5m1ev.js} +1 -1
- package/bundle/{chunk-en7nxqvn.js → chunk-agyxa9nj.js} +1 -1
- package/bundle/{chunk-61ndvjmm.js → chunk-an5sr6gw.js} +1 -1
- package/bundle/{chunk-2p6w3w8f.js → chunk-apv1v4tk.js} +2 -2
- package/bundle/{chunk-n9gzj085.js → chunk-ar1by07g.js} +1 -1
- package/bundle/chunk-av2q0ffj.js +2 -0
- package/bundle/{chunk-bn6mg34g.js → chunk-avk3wfch.js} +2 -2
- package/bundle/{chunk-n68xjm4p.js → chunk-ax9yyznf.js} +1 -1
- package/bundle/chunk-azna4wdf.js +2 -0
- package/bundle/chunk-b192q4m0.js +2 -0
- package/bundle/{chunk-b5x3zghc.js → chunk-b2k9yafd.js} +2 -2
- package/bundle/{chunk-fjtq8164.js → chunk-b8z4hgq0.js} +1 -1
- package/bundle/chunk-bh46627y.js +2 -0
- package/bundle/{chunk-6w15nfph.js → chunk-bkaprkf6.js} +1 -1
- package/bundle/{chunk-0ddhkapd.js → chunk-bqeyh2gx.js} +2 -2
- package/bundle/{chunk-tcp31yv0.js → chunk-brrtcqrc.js} +1 -1
- package/bundle/{chunk-m79gd4yt.js → chunk-bwgnmy92.js} +1 -1
- package/bundle/{chunk-1eqcgkyq.js → chunk-bwvjft74.js} +1 -1
- package/bundle/chunk-c267ggx2.js +2 -0
- package/bundle/{chunk-60dxyp37.js → chunk-c38ppnm8.js} +1 -1
- package/bundle/{chunk-4xpfmpjf.js → chunk-c546xxjk.js} +1 -1
- package/bundle/chunk-c6kxegws.js +2 -0
- package/bundle/{chunk-w8xaw2dv.js → chunk-c7dt464m.js} +1 -1
- package/bundle/{chunk-ha5qct06.js → chunk-cbfjjbfd.js} +1 -1
- package/bundle/chunk-cek3cfz4.js +2 -0
- package/bundle/{chunk-x8w2xgx6.js → chunk-cwkdc1cc.js} +1 -1
- package/bundle/{chunk-jrwfx6d8.js → chunk-cz8nnm2a.js} +1 -1
- package/bundle/{chunk-z9b0ydw1.js → chunk-dn1jryxz.js} +1 -1
- package/bundle/{chunk-s4epqtge.js → chunk-dq1wprmb.js} +1 -1
- package/bundle/{chunk-dhvwrrqx.js → chunk-dsny9dh8.js} +2 -2
- package/bundle/{chunk-db7hykjs.js → chunk-ecczet3b.js} +1 -1
- package/bundle/{chunk-qryeqw9s.js → chunk-ejy5404v.js} +1 -1
- package/bundle/{chunk-qwf258sw.js → chunk-eqed7tvt.js} +1 -1
- package/bundle/{chunk-ht1hqsaa.js → chunk-erh9y0sx.js} +1 -1
- package/bundle/{chunk-skjx57kv.js → chunk-ete0y35c.js} +1 -1
- package/bundle/{chunk-qe8zp79w.js → chunk-f1mmzzsn.js} +1 -1
- package/bundle/chunk-f66cvq2q.js +2 -0
- package/bundle/{chunk-bdzgtazc.js → chunk-f958hsha.js} +1 -1
- package/bundle/{chunk-2bbvvh0d.js → chunk-febbrhev.js} +1 -1
- package/bundle/{chunk-j1kqhxnq.js → chunk-fhjpfzjc.js} +1 -1
- package/bundle/{chunk-c2w3bqsa.js → chunk-fnect0ny.js} +1 -1
- package/bundle/{chunk-t7v8wzr9.js → chunk-fp5mvrrx.js} +2 -2
- package/bundle/chunk-fq4v97xn.js +2 -0
- package/bundle/{chunk-6nhgkw5r.js → chunk-fvwys8ej.js} +1 -1
- package/bundle/{chunk-dcyzpkww.js → chunk-fw1f6br4.js} +1 -1
- package/bundle/{chunk-jee9y4t0.js → chunk-fzzze6zd.js} +1 -1
- package/bundle/{chunk-8wzc27e3.js → chunk-g0vzdt58.js} +1 -1
- package/bundle/{chunk-hf0gny5t.js → chunk-g2ec45xj.js} +1 -1
- package/bundle/chunk-g3pb8rad.js +2 -0
- package/bundle/{chunk-3xbtg0hn.js → chunk-g5g9r3v5.js} +1 -1
- package/bundle/{chunk-yy91rm3y.js → chunk-g6gs7cc6.js} +1 -1
- package/bundle/{chunk-h5wh2d49.js → chunk-g6tw5dvr.js} +1 -1
- package/bundle/{chunk-b3x13ndd.js → chunk-g7742sqm.js} +1 -1
- package/bundle/{chunk-btjcs9ee.js → chunk-g7g3zm4v.js} +1 -1
- package/bundle/{chunk-ymv05pbt.js → chunk-g8zrn0at.js} +1 -1
- package/bundle/chunk-gc1yetqd.js +2 -0
- package/bundle/{chunk-67wvdfs5.js → chunk-gjsaw7wm.js} +1 -1
- package/bundle/chunk-gtckkn15.js +2 -0
- package/bundle/chunk-gtzreftf.js +2 -0
- package/bundle/{chunk-tepesp0b.js → chunk-gz8x3915.js} +1 -1
- package/bundle/{chunk-zy0zn8yx.js → chunk-gzse9pab.js} +1 -1
- package/bundle/{chunk-40vz0fhv.js → chunk-hg7kfd0t.js} +1 -1
- package/bundle/{chunk-43xq4p51.js → chunk-hk1ha5fj.js} +1 -1
- package/bundle/{chunk-jfy6bfvv.js → chunk-hqv0s6sw.js} +1 -1
- package/bundle/{chunk-xce77xex.js → chunk-hs8qwx4n.js} +1 -1
- package/bundle/{chunk-k19zvbzh.js → chunk-hvcdemxe.js} +1 -1
- package/bundle/chunk-j5vahbw1.js +2 -0
- package/bundle/{chunk-tq258v8s.js → chunk-jazpapb9.js} +1 -1
- package/bundle/chunk-jek1cnfk.js +3 -0
- package/bundle/chunk-jevrajsx.js +2 -0
- package/bundle/{chunk-m9bc5csy.js → chunk-jge74hh4.js} +1 -1
- package/bundle/{chunk-rpy4rgmm.js → chunk-jq6y56m5.js} +1 -1
- package/bundle/{chunk-6emme4kp.js → chunk-jvkqvgae.js} +1 -1
- package/bundle/chunk-jzdks7bv.js +2 -0
- package/bundle/{chunk-hzexvrnj.js → chunk-k0arcqnt.js} +1 -1
- package/bundle/{chunk-f72j5yx8.js → chunk-k0v37hc6.js} +1 -1
- package/bundle/chunk-k1e7w7w5.js +2 -0
- package/bundle/{chunk-5z8gpy3x.js → chunk-k1ht1sjr.js} +1 -1
- package/bundle/{chunk-thbjhgw0.js → chunk-k33xx2z9.js} +1 -1
- package/bundle/{chunk-496rb1e4.js → chunk-k3pvgwgc.js} +1 -1
- package/bundle/{chunk-1123xk5a.js → chunk-k5294ajv.js} +1 -1
- package/bundle/chunk-k6vf6vq6.js +2 -0
- package/bundle/{chunk-ah9cm91p.js → chunk-kbhby60s.js} +1 -1
- package/bundle/{chunk-01gtn79f.js → chunk-kdr6nxmk.js} +2 -2
- package/bundle/{chunk-ng85b73s.js → chunk-kfdqfha0.js} +1 -1
- package/bundle/{chunk-msqx5bb0.js → chunk-kktcccep.js} +1 -1
- package/bundle/chunk-kn391hb2.js +2 -0
- package/bundle/{chunk-aznbvrbm.js → chunk-kn9skc0g.js} +1 -1
- package/bundle/{chunk-q2weasmk.js → chunk-knmba0q6.js} +1 -1
- package/bundle/chunk-knnemqfm.js +3 -0
- package/bundle/{chunk-gvj8qg7x.js → chunk-kpkbyek5.js} +2 -2
- package/bundle/chunk-kx4b39v6.js +2 -0
- package/bundle/{chunk-qafcfb4x.js → chunk-ky840wjj.js} +1 -1
- package/bundle/{chunk-7yw60h8j.js → chunk-m34zrf70.js} +1 -1
- package/bundle/{chunk-pcctf3gs.js → chunk-m3gsrb1x.js} +1 -1
- package/bundle/{chunk-a3a9bbk7.js → chunk-m81z3zgm.js} +1 -1
- package/bundle/{chunk-30233h8f.js → chunk-m8njvpb8.js} +1 -1
- package/bundle/{chunk-x4c8drpe.js → chunk-m8tfv36b.js} +1 -1
- package/bundle/chunk-mah572rs.js +2 -0
- package/bundle/{chunk-0qmaxpkv.js → chunk-mg03szpz.js} +1 -1
- package/bundle/chunk-mg6nwfw3.js +2 -0
- package/bundle/{chunk-30p5pm3w.js → chunk-mj7rk4xs.js} +1 -1
- package/bundle/{chunk-jatba8z8.js → chunk-mt8btwrv.js} +1 -1
- package/bundle/{chunk-2bxy8zm1.js → chunk-mwbcmvmh.js} +2 -2
- package/bundle/{chunk-pqyds00j.js → chunk-mwjhyj53.js} +1 -1
- package/bundle/{chunk-0jv8r99k.js → chunk-my0kzcby.js} +6 -6
- package/bundle/{chunk-1d6ret10.js → chunk-n889mwgv.js} +1 -1
- package/bundle/{chunk-fa03gsff.js → chunk-naq602da.js} +1 -1
- package/bundle/{chunk-fssgbz70.js → chunk-nb0gc3sx.js} +1 -1
- package/bundle/{chunk-prrrw8t8.js → chunk-ntfh16rj.js} +1 -1
- package/bundle/{chunk-x4b0ywbs.js → chunk-p33fchnf.js} +1 -1
- package/bundle/chunk-pdgrang4.js +2 -0
- package/bundle/{chunk-cpkega70.js → chunk-px15ev1g.js} +1 -1
- package/bundle/{chunk-t4c0zy2s.js → chunk-q1472d56.js} +1 -1
- package/bundle/{chunk-f8xnn26j.js → chunk-q1nvfmrm.js} +1 -1
- package/bundle/{chunk-0vw5a7m9.js → chunk-qkn4039t.js} +1 -1
- package/bundle/{chunk-10qkxzhh.js → chunk-qr2ave8f.js} +1 -1
- package/bundle/{chunk-mqt5qh3t.js → chunk-qx9j6nz1.js} +1 -1
- package/bundle/{chunk-bwyf1bvf.js → chunk-qzd0q1jg.js} +1 -1
- package/bundle/{chunk-7hx0pza2.js → chunk-r0sjwtfc.js} +2 -2
- package/bundle/chunk-r3q82hz3.js +2 -0
- package/bundle/chunk-r4ygs0jv.js +2 -0
- package/bundle/chunk-r6xhxvjv.js +2 -0
- package/bundle/{chunk-djcsvcby.js → chunk-r79mz5kd.js} +1 -1
- package/bundle/chunk-r99pnfra.js +2 -0
- package/bundle/{chunk-qxrjbw22.js → chunk-rjjgnvdk.js} +1 -1
- package/bundle/{chunk-9hrpcnt8.js → chunk-rmmyjyr9.js} +1 -1
- package/bundle/chunk-rq4xdyst.js +2 -0
- package/bundle/chunk-rsd3v7cg.js +2 -0
- package/bundle/{chunk-n39gqxkz.js → chunk-rwanncah.js} +2 -2
- package/bundle/chunk-rxsgbdv0.js +2 -0
- package/bundle/chunk-s4x1jhj3.js +2 -0
- package/bundle/{chunk-ntmn6epc.js → chunk-s75chpxq.js} +1 -1
- package/bundle/{chunk-pkdk0ppc.js → chunk-s7sksztt.js} +2 -2
- package/bundle/{chunk-56cty7nr.js → chunk-scb48j07.js} +2 -2
- package/bundle/{chunk-fgtyrvan.js → chunk-sgq94p3x.js} +1 -1
- package/bundle/{chunk-meaa7wrs.js → chunk-shav33fq.js} +2 -2
- package/bundle/{chunk-zz192a31.js → chunk-shxny9x9.js} +1 -1
- package/bundle/{chunk-t1f7jeat.js → chunk-sjqgmp12.js} +2 -2
- package/bundle/chunk-sx760d9d.js +2 -0
- package/bundle/{chunk-351wfvhp.js → chunk-t42kh492.js} +2 -2
- package/bundle/{chunk-07b36w5g.js → chunk-t66hycva.js} +1 -1
- package/bundle/{chunk-1kje2a6g.js → chunk-t86vj45b.js} +1 -1
- package/bundle/{chunk-fzhgxcej.js → chunk-tfpwfczs.js} +1 -1
- package/bundle/chunk-tmjd3evp.js +8 -0
- package/bundle/chunk-tp1d856p.js +2 -0
- package/bundle/chunk-tpxs00p5.js +2 -0
- package/bundle/chunk-tqk12r89.js +2 -0
- package/bundle/chunk-tycgrqgq.js +2 -0
- package/bundle/{chunk-p20ft5mj.js → chunk-tydvpy1s.js} +2 -2
- package/bundle/{chunk-rry321tn.js → chunk-v1hvnq7y.js} +1 -1
- package/bundle/{chunk-khkv9s5c.js → chunk-v1y3pbfv.js} +1 -1
- package/bundle/chunk-v32cyrg2.js +2 -0
- package/bundle/chunk-v7pypmvk.js +2 -0
- package/bundle/{chunk-mgp034y0.js → chunk-vay29sqp.js} +1 -1
- package/bundle/chunk-vbqyddy8.js +2 -0
- package/bundle/chunk-vgx86f2r.js +2 -0
- package/bundle/{chunk-r8ddb02d.js → chunk-vxc5q0wk.js} +2 -2
- package/bundle/chunk-w0jvqdez.js +2 -0
- package/bundle/{chunk-2qy62cv4.js → chunk-w32tj884.js} +2 -2
- package/bundle/{chunk-8t1whx0k.js → chunk-w6t1qmeg.js} +1 -1
- package/bundle/{chunk-aftpj9fe.js → chunk-w6zgm4vn.js} +1 -1
- package/bundle/chunk-w79yek40.js +2 -0
- package/bundle/chunk-w7nxsfbd.js +3 -0
- package/bundle/{chunk-wfb9dwmc.js → chunk-w8r4gjea.js} +1 -1
- package/bundle/chunk-w9vv1whr.js +2 -0
- package/bundle/chunk-wcea06cr.js +2 -0
- package/bundle/chunk-wcx4bbvn.js +2 -0
- package/bundle/chunk-wdw183vh.js +2 -0
- package/bundle/{chunk-hkmx6w54.js → chunk-wf2mj6de.js} +1 -1
- package/bundle/{chunk-jyh2g13j.js → chunk-wk11xsdh.js} +1 -1
- package/bundle/chunk-wqd3svh6.js +2 -0
- package/bundle/chunk-wqe5spdq.js +2 -0
- package/bundle/chunk-wqww2byk.js +2 -0
- package/bundle/chunk-wybd806z.js +2 -0
- package/bundle/chunk-x1vb00hr.js +2 -0
- package/bundle/chunk-xafh07r3.js +2 -0
- package/bundle/chunk-xgzjcsad.js +2 -0
- package/bundle/{chunk-t8365msg.js → chunk-xjr0xy58.js} +1 -1
- package/bundle/{chunk-zbvf09bm.js → chunk-xn0xhd0w.js} +1 -1
- package/bundle/chunk-xnbfy5jy.js +2 -0
- package/bundle/{chunk-2epf5806.js → chunk-xqzbcs8x.js} +1 -1
- package/bundle/{chunk-h6htvj2y.js → chunk-xtj5qqsw.js} +1 -1
- package/bundle/chunk-xxed39zx.js +3 -0
- package/bundle/{chunk-7w01dxp9.js → chunk-y0qaz8db.js} +1 -1
- package/bundle/{chunk-s6qdtfty.js → chunk-y2h0adg5.js} +2 -2
- package/bundle/{chunk-adgrn60n.js → chunk-y3qf1kg9.js} +1 -1
- package/bundle/{chunk-h725tttx.js → chunk-y62tnk9q.js} +1 -1
- package/bundle/{chunk-4qegdkss.js → chunk-y68fp4kt.js} +1 -1
- package/bundle/chunk-y6pzag4n.js +2 -0
- package/bundle/chunk-y7w6fjwt.js +2 -0
- package/bundle/{chunk-a2ty2e0g.js → chunk-yccm7cfm.js} +2 -2
- package/bundle/{chunk-5mrjxapq.js → chunk-yffkcska.js} +1 -1
- package/bundle/{chunk-mr7ya5kc.js → chunk-ypff4a5n.js} +1 -1
- package/bundle/{chunk-anqjy235.js → chunk-yr4evt94.js} +1 -1
- package/bundle/{chunk-b1t8d1s8.js → chunk-yyarzhw3.js} +1 -1
- package/bundle/chunk-z195gv71.js +2 -0
- package/bundle/{chunk-v9sfzkg5.js → chunk-z1hd38wp.js} +1 -1
- package/bundle/{chunk-8rcpj28e.js → chunk-z65snfyw.js} +1 -1
- package/bundle/{chunk-h99n5rv7.js → chunk-zx90w4mt.js} +1 -1
- package/bundle/{chunk-er5q8nhp.js → chunk-zzdbrxkh.js} +1 -1
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-04ezvjjf.js +0 -2
- package/bundle/chunk-0msr85tj.js +0 -2
- package/bundle/chunk-0qrpg3n8.js +0 -2
- package/bundle/chunk-0w8ztgmg.js +0 -2
- package/bundle/chunk-0y2nwncb.js +0 -2
- package/bundle/chunk-0zh8tykf.js +0 -2
- package/bundle/chunk-21z1vfgm.js +0 -2
- package/bundle/chunk-2ec8msmq.js +0 -2
- package/bundle/chunk-2n5m61m9.js +0 -2
- package/bundle/chunk-362z696e.js +0 -2
- package/bundle/chunk-367rm03h.js +0 -2
- package/bundle/chunk-43k17qzb.js +0 -2
- package/bundle/chunk-4r574drd.js +0 -2
- package/bundle/chunk-6c2xn1ab.js +0 -2
- package/bundle/chunk-6rak9ez9.js +0 -2
- package/bundle/chunk-71dbq1d0.js +0 -2
- package/bundle/chunk-73r1zvgw.js +0 -2
- package/bundle/chunk-7az1bpy8.js +0 -2
- package/bundle/chunk-7bm1t462.js +0 -2
- package/bundle/chunk-7nq8126b.js +0 -2
- package/bundle/chunk-80a0d0js.js +0 -2
- package/bundle/chunk-9ac4h2d9.js +0 -2
- package/bundle/chunk-9zp746aj.js +0 -2
- package/bundle/chunk-a0vpemkf.js +0 -2
- package/bundle/chunk-atjzxp7b.js +0 -2
- package/bundle/chunk-ax4f4fbm.js +0 -2
- package/bundle/chunk-aybmm0jf.js +0 -2
- package/bundle/chunk-b2scgkye.js +0 -2
- package/bundle/chunk-bbpze4hq.js +0 -2
- package/bundle/chunk-c6wrjyep.js +0 -2
- package/bundle/chunk-ce3c03mh.js +0 -2
- package/bundle/chunk-cqaw6hka.js +0 -2
- package/bundle/chunk-cxbkhs5y.js +0 -2
- package/bundle/chunk-d9vs6zd0.js +0 -2
- package/bundle/chunk-dj3rct8v.js +0 -2
- package/bundle/chunk-ds162xgb.js +0 -3
- package/bundle/chunk-e1zv873k.js +0 -2
- package/bundle/chunk-eb0ksh4x.js +0 -2
- package/bundle/chunk-efxshjyz.js +0 -2
- package/bundle/chunk-enry018j.js +0 -2
- package/bundle/chunk-f03yje8k.js +0 -3
- package/bundle/chunk-fydd2nmw.js +0 -2
- package/bundle/chunk-g2bw2qf5.js +0 -2
- package/bundle/chunk-h9a4zzr4.js +0 -2
- package/bundle/chunk-hkqcpdmt.js +0 -3
- package/bundle/chunk-jx3kvzka.js +0 -2
- package/bundle/chunk-k6eyc1wv.js +0 -8
- package/bundle/chunk-k9m536te.js +0 -2
- package/bundle/chunk-kv58j3yk.js +0 -2
- package/bundle/chunk-m3sr6xdg.js +0 -2
- package/bundle/chunk-mmyhzhzt.js +0 -2
- package/bundle/chunk-mw60bmaf.js +0 -2
- package/bundle/chunk-nk42gy65.js +0 -2
- package/bundle/chunk-ps8xnz0h.js +0 -2
- package/bundle/chunk-pvn4dz8e.js +0 -2
- package/bundle/chunk-pw3tnt2j.js +0 -2
- package/bundle/chunk-pzajshbc.js +0 -2
- package/bundle/chunk-qvcnvqvf.js +0 -2
- package/bundle/chunk-qy9s3nmy.js +0 -2
- package/bundle/chunk-r0zsgad8.js +0 -4
- package/bundle/chunk-r4hkkcj4.js +0 -2
- package/bundle/chunk-r50kjthp.js +0 -2
- package/bundle/chunk-rbrkvj3x.js +0 -2
- package/bundle/chunk-rhgfyvth.js +0 -2
- package/bundle/chunk-rjdpw6at.js +0 -2
- package/bundle/chunk-s6c5c940.js +0 -2
- package/bundle/chunk-s79zd152.js +0 -2
- package/bundle/chunk-ssfgge5z.js +0 -2
- package/bundle/chunk-tdqbsbyb.js +0 -2
- package/bundle/chunk-tk6gjy9d.js +0 -3
- package/bundle/chunk-tsfpkwvr.js +0 -2
- package/bundle/chunk-v07wtbmt.js +0 -2
- package/bundle/chunk-v6kenrks.js +0 -2
- package/bundle/chunk-v7dfqwxx.js +0 -2
- package/bundle/chunk-vf7hhxsa.js +0 -2
- package/bundle/chunk-vmhq6cyz.js +0 -2
- package/bundle/chunk-vvs87e61.js +0 -2
- package/bundle/chunk-w6z123g2.js +0 -2
- package/bundle/chunk-wg0849tq.js +0 -2
- package/bundle/chunk-xj0ba60b.js +0 -2
- package/bundle/chunk-xtfcdgwe.js +0 -2
- package/bundle/chunk-ye6j8k26.js +0 -2
- package/bundle/chunk-zmqmccbc.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Bf as V}from"./chunk-67wvdfs5.js";import{pr as e}from"./chunk-hmm1m733.js";import{kP as N}from"./chunk-gvj8qg7x.js";import{lP as z}from"./chunk-fa03gsff.js";var gJ=z(V(),1);var t=z(N(),1),D=z(V(),1);var RJ=z(N(),1);var A=z(N(),1),p=z(V(),1),M=z(e(),1);var c;function VJ(){if(c===void 0)try{let J=globalThis.process.argv0;c=J?`unknown_service:${J}`:"unknown_service"}catch{c="unknown_service"}return c}var x=(J)=>{return J!==null&&typeof J==="object"&&typeof J.then==="function"};class i{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(J,$){let W=new i({},$);return W._rawAttributes=jJ(J),W._asyncAttributesPending=J.filter(([Z,Q])=>x(Q)).length>0,W}constructor(J,$){let W=J.attributes??{};this._rawAttributes=Object.entries(W).map(([Z,Q])=>{if(x(Q))this._asyncAttributesPending=!0;return[Z,Q]}),this._rawAttributes=jJ(this._rawAttributes),this._schemaUrl=iJ($?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let J=0;J<this._rawAttributes.length;J++){let[$,W]=this._rawAttributes[J];this._rawAttributes[J]=[$,x(W)?await W:W]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending)A.diag.error("Accessing resource attributes before async attributes settled");if(this._memoizedAttributes)return this._memoizedAttributes;let J={};for(let[$,W]of this._rawAttributes){if(x(W)){A.diag.debug(`Unsettled resource attribute ${$} skipped`);continue}if(W!=null)J[$]??=W}if(!this._asyncAttributesPending)this._memoizedAttributes=J;return J}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(J){if(J==null)return this;let $=oJ(this,J),W=$?{schemaUrl:$}:void 0;return i.FromAttributeList([...J.getRawAttributes(),...this.getRawAttributes()],W)}}function DJ(J,$){return i.FromAttributeList(Object.entries(J),$)}function JJ(){return DJ({[M.ATTR_SERVICE_NAME]:VJ(),[M.ATTR_TELEMETRY_SDK_LANGUAGE]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_LANGUAGE],[M.ATTR_TELEMETRY_SDK_NAME]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_NAME],[M.ATTR_TELEMETRY_SDK_VERSION]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_VERSION]})}function jJ(J){return J.map(([$,W])=>{if(x(W))return[$,W.catch((Z)=>{A.diag.debug("promise rejection for resource attribute: %s - %s",$,Z);return})];return[$,W]})}function iJ(J){if(typeof J==="string"||J===void 0)return J;A.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",J);return}function oJ(J,$){let W=J?.schemaUrl,Z=$?.schemaUrl,Q=W===void 0||W==="",q=Z===void 0||Z==="";if(Q)return Z;if(q)return W;if(W===Z)return W;A.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',W,Z);return}var H=z(N(),1),E=z(V(),1);var G=z(N(),1),Y=z(V(),1),h=z(e(),1);var MJ="exception";var C=Symbol.for("nodejs.util.inspect.custom");function R(J){let $={};for(let[W,Z]of J.getRawAttributes()){if(typeof Z?.then==="function")continue;if(Z!=null)$[W]??=Z}return $}function b(J,$,W,Z,Q){if(typeof W==="number"&&W<0){let X=`[${J}]`;return Z?.stylize?Z.stylize(X,"special"):X}if(typeof Q!=="function"||!Z)return $;let q={...Z,depth:Z.depth==null?Z.depth:Z.depth-1};return`${J} ${Q($,q)}`}class $J{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:G.SpanStatusCode.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(J){let $=Date.now();if(this._spanContext=J.spanContext,this._performanceStartTime=Y.otperformance.now(),this._performanceOffset=$-(this._performanceStartTime+Y.otperformance.timeOrigin),this._startTimeProvided=J.startTime!=null,this._spanLimits=J.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=J.spanProcessor,this.name=J.name,this.parentSpanContext=J.parentSpanContext,this.kind=J.kind,J.links)for(let W of J.links)this.addLink(W);if(this.startTime=this._getTime(J.startTime??$),this.resource=J.resource,this.instrumentationScope=J.scope,this._recordEndMetrics=J.recordEndMetrics,J.attributes!=null)this.setAttributes(J.attributes);this._spanProcessor.onStart(this,J.context)}spanContext(){return this._spanContext}setAttribute(J,$){if($==null||this._isSpanEnded())return this;if(J.length===0)return G.diag.warn(`Invalid attribute key: ${J}`),this;if(!Y.isAttributeValue($))return G.diag.warn(`Invalid attribute value set for key: ${J}`),this;let{attributeCountLimit:W}=this._spanLimits,Z=!Object.prototype.hasOwnProperty.call(this.attributes,J);if(W!==void 0&&this._attributesCount>=W&&Z)return this._droppedAttributesCount++,this;if(this.attributes[J]=this._truncateToSize($),Z)this._attributesCount++;return this}setAttributes(J){for(let $ in J)if(Object.prototype.hasOwnProperty.call(J,$))this.setAttribute($,J[$]);return this}addEvent(J,$,W){if(this._isSpanEnded())return this;let{eventCountLimit:Z}=this._spanLimits;if(Z===0)return G.diag.warn("No events allowed."),this._droppedEventsCount++,this;if(Z!==void 0&&this.events.length>=Z){if(this._droppedEventsCount===0)G.diag.debug("Dropping extra events.");this.events.shift(),this._droppedEventsCount++}if(Y.isTimeInput($)){if(!Y.isTimeInput(W))W=$;$=void 0}let Q=Y.sanitizeAttributes($),{attributePerEventCountLimit:q}=this._spanLimits,X={},w=0,K=0;for(let U in Q){if(!Object.prototype.hasOwnProperty.call(Q,U))continue;let m=Q[U];if(q!==void 0&&K>=q){w++;continue}X[U]=this._truncateToSize(m),K++}return this.events.push({name:J,attributes:X,time:this._getTime(W),droppedAttributesCount:w}),this}addLink(J){if(this._isSpanEnded())return this;let{linkCountLimit:$}=this._spanLimits;if($===0)return this._droppedLinksCount++,this;if($!==void 0&&this.links.length>=$){if(this._droppedLinksCount===0)G.diag.debug("Dropping extra links.");this.links.shift(),this._droppedLinksCount++}let{attributePerLinkCountLimit:W}=this._spanLimits,Z=Y.sanitizeAttributes(J.attributes),Q={},q=0,X=0;for(let K in Z){if(!Object.prototype.hasOwnProperty.call(Z,K))continue;let U=Z[K];if(W!==void 0&&X>=W){q++;continue}Q[K]=this._truncateToSize(U),X++}let w={context:J.context};if(X>0)w.attributes=Q;if(q>0)w.droppedAttributesCount=q;return this.links.push(w),this}addLinks(J){for(let $ of J)this.addLink($);return this}setStatus(J){if(this._isSpanEnded())return this;if(J.code===G.SpanStatusCode.UNSET)return this;if(this.status.code===G.SpanStatusCode.OK)return this;let $={code:J.code};if(J.code===G.SpanStatusCode.ERROR){if(typeof J.message==="string")$.message=J.message;else if(J.message!=null)G.diag.warn(`Dropping invalid status.message of type '${typeof J.message}', expected 'string'`)}return this.status=$,this}updateName(J){if(this._isSpanEnded())return this;return this.name=J,this}end(J){if(this._isSpanEnded()){G.diag.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}if(this.endTime=this._getTime(J),this._duration=Y.hrTimeDuration(this.startTime,this.endTime),this._duration[0]<0)G.diag.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0];if(this._droppedEventsCount>0)G.diag.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`);if(this._droppedLinksCount>0)G.diag.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`);if(this._spanProcessor.onEnding)this._spanProcessor.onEnding(this);this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(J){if(typeof J==="number"&&J<=Y.otperformance.now())return Y.hrTime(J+this._performanceOffset);if(typeof J==="number")return Y.millisToHrTime(J);if(J instanceof Date)return Y.millisToHrTime(J.getTime());if(Y.isTimeInputHrTime(J))return J;if(this._startTimeProvided)return Y.millisToHrTime(Date.now());let $=Y.otperformance.now()-this._performanceStartTime;return Y.addHrTimes(this.startTime,Y.millisToHrTime($))}isRecording(){return this._ended===!1}recordException(J,$){let W={};if(typeof J==="string")W[h.ATTR_EXCEPTION_MESSAGE]=J;else if(J){if(J.code)W[h.ATTR_EXCEPTION_TYPE]=J.code.toString();else if(J.name)W[h.ATTR_EXCEPTION_TYPE]=J.name;if(J.message)W[h.ATTR_EXCEPTION_MESSAGE]=J.message;if(J.stack)W[h.ATTR_EXCEPTION_STACKTRACE]=J.stack}if(W[h.ATTR_EXCEPTION_TYPE]||W[h.ATTR_EXCEPTION_MESSAGE])this.addEvent(MJ,W,$);else G.diag.warn(`Failed to record an exception ${J}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let J=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);G.diag.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,J)}return this._ended}_truncateToLimitUtil(J,$){if(J.length<=$)return J;return J.substring(0,$)}_truncateToSize(J){let $=this._attributeValueLengthLimit;if($<=0)return G.diag.warn(`Attribute value limit must be positive, got ${$}`),J;if(typeof J==="string")return this._truncateToLimitUtil(J,$);if(Array.isArray(J))return J.map((W)=>typeof W==="string"?this._truncateToLimitUtil(W,$):W);return J}[C](J,$,W){let Z={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:R(this.resource)}};return b("SpanImpl",Z,J,$,W)}}var B;(function(J){J[J.NOT_RECORD=0]="NOT_RECORD",J[J.RECORD=1]="RECORD",J[J.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(B||(B={}));var OJ="otel.component.name",UJ="otel.component.type",hJ="otel.span.parent.origin",WJ="otel.span.sampling_result",PJ="otel.sdk.processor.span.processed",fJ="otel.sdk.processor.span.queue.capacity",NJ="otel.sdk.processor.span.queue.size",kJ="otel.sdk.span.live",IJ="otel.sdk.span.started",LJ="batching_span_processor",_J="simple_span_processor";class ZJ{startedSpans;liveSpans;constructor(J){this.startedSpans=J.createCounter(IJ,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=J.createUpDownCounter(kJ,{unit:"{span}",description:"The number of currently live spans."})}startSpan(J,$){let W=rJ($);if(this.startedSpans.add(1,{[hJ]:nJ(J),[WJ]:W}),$===B.NOT_RECORD)return()=>{};let Z={[WJ]:W};return this.liveSpans.add(1,Z),()=>{this.liveSpans.add(-1,Z)}}}function nJ(J){if(!J)return"none";if(J.isRemote)return"remote";return"local"}function rJ(J){switch(J){case B.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case B.RECORD:return"RECORD_ONLY";case B.NOT_RECORD:return"DROP"}}var FJ="2.9.0";class QJ{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(J,$){this.instrumentationScope=J,this._sampler=$.sampler,this._spanLimits=$.spanLimits,this._resource=$.resource,this._idGenerator=$.idGenerator,this._spanProcessor=$.spanProcessor;let W=$.meterProvider.getMeter("@opentelemetry/sdk-trace",FJ);this._tracerMetrics=new ZJ(W)}startSpan(J,$={},W=H.context.active()){if($.root)W=H.trace.deleteSpan(W);let Z=H.trace.getSpan(W);if(E.isTracingSuppressed(W))return H.diag.debug("Instrumentation suppressed, returning Noop Span"),H.trace.wrapSpanContext(H.INVALID_SPAN_CONTEXT);let Q=Z?.spanContext(),q=this._idGenerator.generateSpanId(),X,w,K;if(!Q||!H.trace.isSpanContextValid(Q))w=this._idGenerator.generateTraceId();else w=Q.traceId,K=Q.traceState,X=Q;let U=$.kind??H.SpanKind.INTERNAL,m=($.links??[]).map((l)=>{return{context:l.context,attributes:E.sanitizeAttributes(l.attributes)}}),KJ=E.sanitizeAttributes($.attributes),g=this._sampler.shouldSample(W,w,J,U,KJ,m),lJ=this._tracerMetrics.startSpan(Q,g.decision);K=g.traceState??K;let cJ=g.decision===H.SamplingDecision.RECORD_AND_SAMPLED?H.TraceFlags.SAMPLED:H.TraceFlags.NONE,BJ={traceId:w,spanId:q,traceFlags:cJ,traceState:K};if(g.decision===H.SamplingDecision.NOT_RECORD)return H.diag.debug("Recording is off, propagating context in a non-recording span"),H.trace.wrapSpanContext(BJ);let pJ=E.sanitizeAttributes(Object.assign(KJ,g.attributes));return new $J({resource:this._resource,scope:this.instrumentationScope,context:W,spanContext:BJ,name:J,kind:U,links:m,parentSpanContext:X,attributes:pJ,startTime:$.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:lJ})}startActiveSpan(J,$,W,Z){let Q,q,X;if(arguments.length<2)return;else if(arguments.length===2)X=$;else if(arguments.length===3)Q=$,X=W;else Q=$,q=W,X=Z;let w=q??H.context.active(),K=this.startSpan(J,Q,w),U=H.trace.setSpan(w,K);return H.context.with(U,X,void 0,K)}[C](J,$,W){let Z={instrumentationScope:this.instrumentationScope,resource:{attributes:R(this._resource)},spanLimits:this._spanLimits};return b("Tracer",Z,J,$,W)}}var yJ=z(V(),1);class qJ{_spanProcessors;constructor(J){this._spanProcessors=J}forceFlush(){let J=[];for(let $ of this._spanProcessors)J.push($.forceFlush());return new Promise(($)=>{Promise.all(J).then(()=>{$()}).catch((W)=>{yJ.globalErrorHandler(W||Error("MultiSpanProcessor: forceFlush failed")),$()})})}onStart(J,$){for(let W of this._spanProcessors)W.onStart(J,$)}onEnding(J){for(let $ of this._spanProcessors)if($.onEnding)$.onEnding(J)}onEnd(J){for(let $ of this._spanProcessors)$.onEnd(J)}shutdown(){let J=[];for(let $ of this._spanProcessors)J.push($.shutdown());return new Promise(($,W)=>{Promise.all(J).then(()=>{$()},W)})}}var _=z(N(),1),xJ=z(V(),1);class k{shouldSample(){return{decision:B.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class j{shouldSample(){return{decision:B.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class P{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(J){if(this._root=J.root,!this._root)xJ.globalErrorHandler(Error("ParentBasedSampler must have a root sampler configured")),this._root=new j;this._remoteParentSampled=J.remoteParentSampled??new j,this._remoteParentNotSampled=J.remoteParentNotSampled??new k,this._localParentSampled=J.localParentSampled??new j,this._localParentNotSampled=J.localParentNotSampled??new k}shouldSample(J,$,W,Z,Q,q){let X=_.trace.getSpanContext(J);if(!X||!_.isSpanContextValid(X))return this._root.shouldSample(J,$,W,Z,Q,q);if(X.isRemote){if(X.traceFlags&_.TraceFlags.SAMPLED)return this._remoteParentSampled.shouldSample(J,$,W,Z,Q,q);return this._remoteParentNotSampled.shouldSample(J,$,W,Z,Q,q)}if(X.traceFlags&_.TraceFlags.SAMPLED)return this._localParentSampled.shouldSample(J,$,W,Z,Q,q);return this._localParentNotSampled.shouldSample(J,$,W,Z,Q,q)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}var O=z(N(),1),I=z(V(),1);var XJ=z(e(),1);var AJ=new Map;class d{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(J,$,W){let Z=AJ.get(J)??0;if(AJ.set(J,Z+1),this.standardAttrs={[UJ]:J,[OJ]:`${J}/${Z}`},this.droppedAttrs={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:"queue_full"},this.processedSpans=$.createCounter(PJ,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),W){let{capacity:Q,getQueueSize:q}=W;$.createUpDownCounter(fJ,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."}).add(Q,this.standardAttrs),this.queueSize=$.createObservableUpDownCounter(NJ,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=(w)=>w.observe(q(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(J){this.processedSpans.add(J,this.droppedAttrs)}finishSpans(J,$){if(!$){this.processedSpans.add(J,this.standardAttrs);return}let W={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:$.name};this.processedSpans.add(J,W)}shutdown(){if(this.queueSize&&this.queueSizeCallback)this.queueSize.removeCallback(this.queueSizeCallback)}}class YJ{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(J){if(this._exporter=J.exporter,this._maxExportBatchSize=J.maxExportBatchSize??512,this._maxQueueSize=J.maxQueueSize??2048,this._scheduledDelayMillis=J.scheduledDelayMillis??5000,this._exportTimeoutMillis=J.exportTimeoutMillis??30000,this._shutdownOnce=new I.BindOnceFuture(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize)O.diag.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):O.createNoopMeter();this._metrics=new d(LJ,$,{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){if(this._shutdownOnce.isCalled)return this._shutdownOnce.promise;return this._flushAll()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&O.TraceFlags.SAMPLED)===0)return;this._addToBuffer(J)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>{return this.onShutdown()}).then(()=>{return this._flushAll()}).then(()=>{return this._metrics.shutdown(),this._exporter.shutdown()})}_addToBuffer(J){if(this._finishedSpans.length>=this._maxQueueSize){if(this._droppedSpansCount===0)O.diag.debug("maxQueueSize reached, dropping spans");this._droppedSpansCount++,this._metrics.dropSpans(1);return}if(this._droppedSpansCount>0)O.diag.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0;this._finishedSpans.push(J),this._maybeStartTimer()}_flushAll(){return new Promise((J,$)=>{let W=[],Z=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let Q=0,q=Z;Q<q;Q++)W.push(this._flushOneBatch());Promise.all(W).then(()=>{J()}).catch($)})}_flushOneBatch(){if(this._clearTimer(),this._finishedSpans.length===0)return Promise.resolve();return new Promise((J,$)=>{let W=setTimeout(()=>{$(Error("Timeout"))},this._exportTimeoutMillis);O.context.with(I.suppressTracing(O.context.active()),()=>{let Z;if(this._finishedSpans.length<=this._maxExportBatchSize)Z=this._finishedSpans,this._finishedSpans=[];else Z=this._finishedSpans.splice(0,this._maxExportBatchSize);let Q=()=>this._exporter.export(Z,(X)=>{if(clearTimeout(W),this._metrics.finishSpans(Z.length,X.error),X.code===I.ExportResultCode.SUCCESS)J();else $(X.error??Error("BatchSpanProcessor: span export failed"))}),q=null;for(let X=0,w=Z.length;X<w;X++){let K=Z[X];if(K.resource.asyncAttributesPending&&K.resource.waitForAsyncAttributes)q??=[],q.push(K.resource.waitForAsyncAttributes())}if(q===null)Q();else Promise.all(q).then(Q,(X)=>{I.globalErrorHandler(X),$(X)})})})}_maybeStartTimer(){if(this._isExporting)return;let J=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{if(this._isExporting=!1,this._finishedSpans.length>0)this._clearTimer(),this._maybeStartTimer()}).catch(($)=>{this._isExporting=!1,I.globalErrorHandler($)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return J();if(this._timer!==void 0)return;if(this._timer=setTimeout(()=>J(),this._scheduledDelayMillis),typeof this._timer!=="number")this._timer.unref()}_clearTimer(){if(this._timer!==void 0)clearTimeout(this._timer),this._timer=void 0}}class v extends YJ{onShutdown(){}}class F{generateTraceId=CJ(16);generateSpanId=CJ(8)}var o=Buffer.allocUnsafe(16);function CJ(J){return function(){for(let W=0;W<J/4;W++)o.writeUInt32BE(Math.random()*4294967296>>>0,W*4);for(let W=0;W<J;W++)if(o[W]>0)break;else if(W===J-1)o[J-1]=1;return o.toString("hex",0,J)}}var y;(function(J){J[J.resolved=0]="resolved",J[J.timeout=1]="timeout",J[J.error=2]="error",J[J.unresolved=3]="unresolved"})(y||(y={}));class n{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(J={}){this._forceFlushTimeoutMillis=J.forceFlushTimeoutMillis??30000,this._resource=J.resource??JJ();let $=J.spanProcessors??[];this._activeSpanProcessor=new qJ($),this._tracerOptions={resource:this._resource,sampler:J.sampler??new P({root:new j}),spanLimits:{attributeCountLimit:J.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:J.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:J.spanLimits?.eventCountLimit??128,linkCountLimit:J.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:J.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:J.spanLimits?.attributePerLinkCountLimit??128},idGenerator:J.idGenerator||new F,spanProcessor:this._activeSpanProcessor,meterProvider:J.meterProvider??{getMeter(){return RJ.createNoopMeter()}}}}getTracer(J,$,W){let Z=`${J}@${$||""}:${W?.schemaUrl||""}`;if(!this._tracers.has(Z))this._tracers.set(Z,new QJ({name:J,version:$,schemaUrl:W?.schemaUrl},this._tracerOptions));return this._tracers.get(Z)}forceFlush(){let J=this._forceFlushTimeoutMillis,$=this._activeSpanProcessor._spanProcessors.map((W)=>{return new Promise((Z)=>{let Q,q=setTimeout(()=>{Z(Error(`Span processor did not completed within timeout period of ${J} ms`)),Q=y.timeout},J);W.forceFlush().then(()=>{if(clearTimeout(q),Q!==y.timeout)Q=y.resolved,Z(Q)}).catch((X)=>{clearTimeout(q),Q=y.error,Z(X)})})});return new Promise((W,Z)=>{Promise.all($).then((Q)=>{let q=Q.filter((X)=>X!==y.resolved);if(q.length>0)Z(q);else W()}).catch((Q)=>Z([Q]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[C](J,$,W){let Z=this._activeSpanProcessor._spanProcessors,Q={resource:{attributes:R(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:Z.map((q)=>q.constructor?.name??"SpanProcessor")};return b("TracerProvider",Q,J,$,W)}}var S=z(V(),1);class zJ{export(J,$){return this._sendSpans(J,$)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(J){return{resource:{attributes:J.resource.attributes},instrumentationScope:J.instrumentationScope,traceId:J.spanContext().traceId,parentSpanContext:J.parentSpanContext,traceState:J.spanContext().traceState?.serialize(),name:J.name,id:J.spanContext().spanId,kind:J.kind,timestamp:S.hrTimeToMicroseconds(J.startTime),duration:S.hrTimeToMicroseconds(J.duration),attributes:J.attributes,status:J.status,events:J.events,links:J.links}}_sendSpans(J,$){for(let W of J)console.dir(this._exportInfo(W),{depth:3});if($)return $({code:S.ExportResultCode.SUCCESS})}}var HJ=z(V(),1);class GJ{_finishedSpans=[];_stopped=!1;export(J,$){if(this._stopped)return $({code:HJ.ExportResultCode.FAILED,error:Error("Exporter has been stopped")});this._finishedSpans.push(...J),setTimeout(()=>$({code:HJ.ExportResultCode.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}var r=z(N(),1),L=z(V(),1);class a{_exporter;_metrics;_shutdownOnce;_pendingExports;constructor(J){this._exporter=J.exporter,this._shutdownOnce=new L.BindOnceFuture(this._shutdown,this),this._pendingExports=new Set;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):r.createNoopMeter();this._metrics=new d(_J,$)}async forceFlush(){if(await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush)await this._exporter.forceFlush()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&r.TraceFlags.SAMPLED)===0)return;let $=this._doExport(J).catch((W)=>L.globalErrorHandler(W));this._pendingExports.add($),$.finally(()=>this._pendingExports.delete($))}async _doExport(J){if(J.resource.asyncAttributesPending)await J.resource.waitForAsyncAttributes?.();let $=await L.internal._export(this._exporter,[J]);if(this._metrics.finishSpans(1,$.error),$.code!==L.ExportResultCode.SUCCESS)throw $.error??Error(`SimpleSpanProcessor: span export failed (status ${$})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._metrics.shutdown(),this._exporter.shutdown()}}class wJ{onStart(J,$){}onEnd(J){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}var bJ=z(N(),1);class T{_ratio;_upperBound;constructor(J=0){this._ratio=this._normalize(J),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(J,$){return{decision:bJ.isValidTraceId($)&&this._accumulate($)<this._upperBound?B.RECORD_AND_SAMPLED:B.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(J){if(typeof J!=="number"||isNaN(J))return 0;return J>=1?1:J<=0?0:J}_accumulate(J){let $=0;for(let W=0;W<32;W+=8){let Z=0;for(let Q=0;Q<8;Q++){let q=J.charCodeAt(W+Q),X=q<58?q-48:q<71?q-55:q-87;Z=Z<<4|X}$=($^Z)>>>0}return $}}var f;(function(J){J.AlwaysOff="always_off",J.AlwaysOn="always_on",J.ParentBasedAlwaysOff="parentbased_always_off",J.ParentBasedAlwaysOn="parentbased_always_on",J.ParentBasedTraceIdRatio="parentbased_traceidratio",J.TraceIdRatio="traceidratio"})(f||(f={}));var s=1;function vJ(){return{sampler:aJ(),forceFlushTimeoutMillis:30000,generalLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:D.getNumberFromEnv("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:D.getNumberFromEnv("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function aJ(){let J=D.getStringFromEnv("OTEL_TRACES_SAMPLER")??f.ParentBasedAlwaysOn;switch(J){case f.AlwaysOn:return new j;case f.AlwaysOff:return new k;case f.ParentBasedAlwaysOn:return new P({root:new j});case f.ParentBasedAlwaysOff:return new P({root:new k});case f.TraceIdRatio:return new T(EJ());case f.ParentBasedTraceIdRatio:return new P({root:new T(EJ())});default:return t.diag.error(`OTEL_TRACES_SAMPLER value "${J}" invalid, defaulting to "${f.ParentBasedAlwaysOn}".`),new P({root:new j})}}function EJ(){let J=D.getNumberFromEnv("OTEL_TRACES_SAMPLER_ARG");if(J==null)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${s}.`),s;if(J<0||J>1)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${J} was given, but it is out of range ([0..1]), defaulting to ${s}.`),s;return J}var u=z(V(),1),sJ=128,tJ=1/0;function TJ(J){let $=Object.assign({},J.spanLimits);return $.attributeCountLimit=J.spanLimits?.attributeCountLimit??J.generalLimits?.attributeCountLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??sJ,$.attributeValueLengthLimit=J.spanLimits?.attributeValueLengthLimit??J.generalLimits?.attributeValueLengthLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??tJ,Object.assign({},J,{spanLimits:$})}class dJ extends n{constructor(J={}){let $=gJ.merge({},vJ(),TJ(J));delete $.generalLimits;super($)}}var SJ=z(V(),1);class uJ extends v{constructor(J,$){if(!$)$={};let W=[["maxExportBatchSize","OTEL_BSP_MAX_EXPORT_BATCH_SIZE"],["maxQueueSize","OTEL_BSP_MAX_QUEUE_SIZE"],["scheduledDelayMillis","OTEL_BSP_SCHEDULE_DELAY"],["exportTimeoutMillis","OTEL_BSP_EXPORT_TIMEOUT"]];for(let[Z,Q]of W)if($[Z]===void 0){let q=SJ.getNumberFromEnv(Q);if(q!==void 0)$[Z]=q}super({exporter:J,...$})}}class mJ extends a{constructor(J){super({exporter:J})}}export{T as TraceIdRatioBasedSampler,mJ as SimpleSpanProcessor,B as SamplingDecision,F as RandomIdGenerator,P as ParentBasedSampler,wJ as NoopSpanProcessor,GJ as InMemorySpanExporter,zJ as ConsoleSpanExporter,uJ as BatchSpanProcessor,dJ as BasicTracerProvider,j as AlwaysOnSampler,k as AlwaysOffSampler};
|
|
2
|
+
import{Bf as V}from"./chunk-gjsaw7wm.js";import{rr as e}from"./chunk-8hh5ejmr.js";import{mP as N}from"./chunk-kpkbyek5.js";import{nP as z}from"./chunk-naq602da.js";var gJ=z(V(),1);var t=z(N(),1),D=z(V(),1);var RJ=z(N(),1);var A=z(N(),1),p=z(V(),1),M=z(e(),1);var c;function VJ(){if(c===void 0)try{let J=globalThis.process.argv0;c=J?`unknown_service:${J}`:"unknown_service"}catch{c="unknown_service"}return c}var x=(J)=>{return J!==null&&typeof J==="object"&&typeof J.then==="function"};class i{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(J,$){let W=new i({},$);return W._rawAttributes=jJ(J),W._asyncAttributesPending=J.filter(([Z,Q])=>x(Q)).length>0,W}constructor(J,$){let W=J.attributes??{};this._rawAttributes=Object.entries(W).map(([Z,Q])=>{if(x(Q))this._asyncAttributesPending=!0;return[Z,Q]}),this._rawAttributes=jJ(this._rawAttributes),this._schemaUrl=iJ($?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let J=0;J<this._rawAttributes.length;J++){let[$,W]=this._rawAttributes[J];this._rawAttributes[J]=[$,x(W)?await W:W]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending)A.diag.error("Accessing resource attributes before async attributes settled");if(this._memoizedAttributes)return this._memoizedAttributes;let J={};for(let[$,W]of this._rawAttributes){if(x(W)){A.diag.debug(`Unsettled resource attribute ${$} skipped`);continue}if(W!=null)J[$]??=W}if(!this._asyncAttributesPending)this._memoizedAttributes=J;return J}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(J){if(J==null)return this;let $=oJ(this,J),W=$?{schemaUrl:$}:void 0;return i.FromAttributeList([...J.getRawAttributes(),...this.getRawAttributes()],W)}}function DJ(J,$){return i.FromAttributeList(Object.entries(J),$)}function JJ(){return DJ({[M.ATTR_SERVICE_NAME]:VJ(),[M.ATTR_TELEMETRY_SDK_LANGUAGE]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_LANGUAGE],[M.ATTR_TELEMETRY_SDK_NAME]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_NAME],[M.ATTR_TELEMETRY_SDK_VERSION]:p.SDK_INFO[M.ATTR_TELEMETRY_SDK_VERSION]})}function jJ(J){return J.map(([$,W])=>{if(x(W))return[$,W.catch((Z)=>{A.diag.debug("promise rejection for resource attribute: %s - %s",$,Z);return})];return[$,W]})}function iJ(J){if(typeof J==="string"||J===void 0)return J;A.diag.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",J);return}function oJ(J,$){let W=J?.schemaUrl,Z=$?.schemaUrl,Q=W===void 0||W==="",q=Z===void 0||Z==="";if(Q)return Z;if(q)return W;if(W===Z)return W;A.diag.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',W,Z);return}var H=z(N(),1),E=z(V(),1);var G=z(N(),1),Y=z(V(),1),h=z(e(),1);var MJ="exception";var C=Symbol.for("nodejs.util.inspect.custom");function R(J){let $={};for(let[W,Z]of J.getRawAttributes()){if(typeof Z?.then==="function")continue;if(Z!=null)$[W]??=Z}return $}function b(J,$,W,Z,Q){if(typeof W==="number"&&W<0){let X=`[${J}]`;return Z?.stylize?Z.stylize(X,"special"):X}if(typeof Q!=="function"||!Z)return $;let q={...Z,depth:Z.depth==null?Z.depth:Z.depth-1};return`${J} ${Q($,q)}`}class $J{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:G.SpanStatusCode.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(J){let $=Date.now();if(this._spanContext=J.spanContext,this._performanceStartTime=Y.otperformance.now(),this._performanceOffset=$-(this._performanceStartTime+Y.otperformance.timeOrigin),this._startTimeProvided=J.startTime!=null,this._spanLimits=J.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=J.spanProcessor,this.name=J.name,this.parentSpanContext=J.parentSpanContext,this.kind=J.kind,J.links)for(let W of J.links)this.addLink(W);if(this.startTime=this._getTime(J.startTime??$),this.resource=J.resource,this.instrumentationScope=J.scope,this._recordEndMetrics=J.recordEndMetrics,J.attributes!=null)this.setAttributes(J.attributes);this._spanProcessor.onStart(this,J.context)}spanContext(){return this._spanContext}setAttribute(J,$){if($==null||this._isSpanEnded())return this;if(J.length===0)return G.diag.warn(`Invalid attribute key: ${J}`),this;if(!Y.isAttributeValue($))return G.diag.warn(`Invalid attribute value set for key: ${J}`),this;let{attributeCountLimit:W}=this._spanLimits,Z=!Object.prototype.hasOwnProperty.call(this.attributes,J);if(W!==void 0&&this._attributesCount>=W&&Z)return this._droppedAttributesCount++,this;if(this.attributes[J]=this._truncateToSize($),Z)this._attributesCount++;return this}setAttributes(J){for(let $ in J)if(Object.prototype.hasOwnProperty.call(J,$))this.setAttribute($,J[$]);return this}addEvent(J,$,W){if(this._isSpanEnded())return this;let{eventCountLimit:Z}=this._spanLimits;if(Z===0)return G.diag.warn("No events allowed."),this._droppedEventsCount++,this;if(Z!==void 0&&this.events.length>=Z){if(this._droppedEventsCount===0)G.diag.debug("Dropping extra events.");this.events.shift(),this._droppedEventsCount++}if(Y.isTimeInput($)){if(!Y.isTimeInput(W))W=$;$=void 0}let Q=Y.sanitizeAttributes($),{attributePerEventCountLimit:q}=this._spanLimits,X={},w=0,K=0;for(let U in Q){if(!Object.prototype.hasOwnProperty.call(Q,U))continue;let m=Q[U];if(q!==void 0&&K>=q){w++;continue}X[U]=this._truncateToSize(m),K++}return this.events.push({name:J,attributes:X,time:this._getTime(W),droppedAttributesCount:w}),this}addLink(J){if(this._isSpanEnded())return this;let{linkCountLimit:$}=this._spanLimits;if($===0)return this._droppedLinksCount++,this;if($!==void 0&&this.links.length>=$){if(this._droppedLinksCount===0)G.diag.debug("Dropping extra links.");this.links.shift(),this._droppedLinksCount++}let{attributePerLinkCountLimit:W}=this._spanLimits,Z=Y.sanitizeAttributes(J.attributes),Q={},q=0,X=0;for(let K in Z){if(!Object.prototype.hasOwnProperty.call(Z,K))continue;let U=Z[K];if(W!==void 0&&X>=W){q++;continue}Q[K]=this._truncateToSize(U),X++}let w={context:J.context};if(X>0)w.attributes=Q;if(q>0)w.droppedAttributesCount=q;return this.links.push(w),this}addLinks(J){for(let $ of J)this.addLink($);return this}setStatus(J){if(this._isSpanEnded())return this;if(J.code===G.SpanStatusCode.UNSET)return this;if(this.status.code===G.SpanStatusCode.OK)return this;let $={code:J.code};if(J.code===G.SpanStatusCode.ERROR){if(typeof J.message==="string")$.message=J.message;else if(J.message!=null)G.diag.warn(`Dropping invalid status.message of type '${typeof J.message}', expected 'string'`)}return this.status=$,this}updateName(J){if(this._isSpanEnded())return this;return this.name=J,this}end(J){if(this._isSpanEnded()){G.diag.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}if(this.endTime=this._getTime(J),this._duration=Y.hrTimeDuration(this.startTime,this.endTime),this._duration[0]<0)G.diag.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0];if(this._droppedEventsCount>0)G.diag.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`);if(this._droppedLinksCount>0)G.diag.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`);if(this._spanProcessor.onEnding)this._spanProcessor.onEnding(this);this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(J){if(typeof J==="number"&&J<=Y.otperformance.now())return Y.hrTime(J+this._performanceOffset);if(typeof J==="number")return Y.millisToHrTime(J);if(J instanceof Date)return Y.millisToHrTime(J.getTime());if(Y.isTimeInputHrTime(J))return J;if(this._startTimeProvided)return Y.millisToHrTime(Date.now());let $=Y.otperformance.now()-this._performanceStartTime;return Y.addHrTimes(this.startTime,Y.millisToHrTime($))}isRecording(){return this._ended===!1}recordException(J,$){let W={};if(typeof J==="string")W[h.ATTR_EXCEPTION_MESSAGE]=J;else if(J){if(J.code)W[h.ATTR_EXCEPTION_TYPE]=J.code.toString();else if(J.name)W[h.ATTR_EXCEPTION_TYPE]=J.name;if(J.message)W[h.ATTR_EXCEPTION_MESSAGE]=J.message;if(J.stack)W[h.ATTR_EXCEPTION_STACKTRACE]=J.stack}if(W[h.ATTR_EXCEPTION_TYPE]||W[h.ATTR_EXCEPTION_MESSAGE])this.addEvent(MJ,W,$);else G.diag.warn(`Failed to record an exception ${J}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let J=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);G.diag.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,J)}return this._ended}_truncateToLimitUtil(J,$){if(J.length<=$)return J;return J.substring(0,$)}_truncateToSize(J){let $=this._attributeValueLengthLimit;if($<=0)return G.diag.warn(`Attribute value limit must be positive, got ${$}`),J;if(typeof J==="string")return this._truncateToLimitUtil(J,$);if(Array.isArray(J))return J.map((W)=>typeof W==="string"?this._truncateToLimitUtil(W,$):W);return J}[C](J,$,W){let Z={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:R(this.resource)}};return b("SpanImpl",Z,J,$,W)}}var B;(function(J){J[J.NOT_RECORD=0]="NOT_RECORD",J[J.RECORD=1]="RECORD",J[J.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(B||(B={}));var OJ="otel.component.name",UJ="otel.component.type",hJ="otel.span.parent.origin",WJ="otel.span.sampling_result",PJ="otel.sdk.processor.span.processed",fJ="otel.sdk.processor.span.queue.capacity",NJ="otel.sdk.processor.span.queue.size",kJ="otel.sdk.span.live",IJ="otel.sdk.span.started",LJ="batching_span_processor",_J="simple_span_processor";class ZJ{startedSpans;liveSpans;constructor(J){this.startedSpans=J.createCounter(IJ,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=J.createUpDownCounter(kJ,{unit:"{span}",description:"The number of currently live spans."})}startSpan(J,$){let W=rJ($);if(this.startedSpans.add(1,{[hJ]:nJ(J),[WJ]:W}),$===B.NOT_RECORD)return()=>{};let Z={[WJ]:W};return this.liveSpans.add(1,Z),()=>{this.liveSpans.add(-1,Z)}}}function nJ(J){if(!J)return"none";if(J.isRemote)return"remote";return"local"}function rJ(J){switch(J){case B.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case B.RECORD:return"RECORD_ONLY";case B.NOT_RECORD:return"DROP"}}var FJ="2.9.0";class QJ{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(J,$){this.instrumentationScope=J,this._sampler=$.sampler,this._spanLimits=$.spanLimits,this._resource=$.resource,this._idGenerator=$.idGenerator,this._spanProcessor=$.spanProcessor;let W=$.meterProvider.getMeter("@opentelemetry/sdk-trace",FJ);this._tracerMetrics=new ZJ(W)}startSpan(J,$={},W=H.context.active()){if($.root)W=H.trace.deleteSpan(W);let Z=H.trace.getSpan(W);if(E.isTracingSuppressed(W))return H.diag.debug("Instrumentation suppressed, returning Noop Span"),H.trace.wrapSpanContext(H.INVALID_SPAN_CONTEXT);let Q=Z?.spanContext(),q=this._idGenerator.generateSpanId(),X,w,K;if(!Q||!H.trace.isSpanContextValid(Q))w=this._idGenerator.generateTraceId();else w=Q.traceId,K=Q.traceState,X=Q;let U=$.kind??H.SpanKind.INTERNAL,m=($.links??[]).map((l)=>{return{context:l.context,attributes:E.sanitizeAttributes(l.attributes)}}),KJ=E.sanitizeAttributes($.attributes),g=this._sampler.shouldSample(W,w,J,U,KJ,m),lJ=this._tracerMetrics.startSpan(Q,g.decision);K=g.traceState??K;let cJ=g.decision===H.SamplingDecision.RECORD_AND_SAMPLED?H.TraceFlags.SAMPLED:H.TraceFlags.NONE,BJ={traceId:w,spanId:q,traceFlags:cJ,traceState:K};if(g.decision===H.SamplingDecision.NOT_RECORD)return H.diag.debug("Recording is off, propagating context in a non-recording span"),H.trace.wrapSpanContext(BJ);let pJ=E.sanitizeAttributes(Object.assign(KJ,g.attributes));return new $J({resource:this._resource,scope:this.instrumentationScope,context:W,spanContext:BJ,name:J,kind:U,links:m,parentSpanContext:X,attributes:pJ,startTime:$.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:lJ})}startActiveSpan(J,$,W,Z){let Q,q,X;if(arguments.length<2)return;else if(arguments.length===2)X=$;else if(arguments.length===3)Q=$,X=W;else Q=$,q=W,X=Z;let w=q??H.context.active(),K=this.startSpan(J,Q,w),U=H.trace.setSpan(w,K);return H.context.with(U,X,void 0,K)}[C](J,$,W){let Z={instrumentationScope:this.instrumentationScope,resource:{attributes:R(this._resource)},spanLimits:this._spanLimits};return b("Tracer",Z,J,$,W)}}var yJ=z(V(),1);class qJ{_spanProcessors;constructor(J){this._spanProcessors=J}forceFlush(){let J=[];for(let $ of this._spanProcessors)J.push($.forceFlush());return new Promise(($)=>{Promise.all(J).then(()=>{$()}).catch((W)=>{yJ.globalErrorHandler(W||Error("MultiSpanProcessor: forceFlush failed")),$()})})}onStart(J,$){for(let W of this._spanProcessors)W.onStart(J,$)}onEnding(J){for(let $ of this._spanProcessors)if($.onEnding)$.onEnding(J)}onEnd(J){for(let $ of this._spanProcessors)$.onEnd(J)}shutdown(){let J=[];for(let $ of this._spanProcessors)J.push($.shutdown());return new Promise(($,W)=>{Promise.all(J).then(()=>{$()},W)})}}var _=z(N(),1),xJ=z(V(),1);class k{shouldSample(){return{decision:B.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class j{shouldSample(){return{decision:B.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class P{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(J){if(this._root=J.root,!this._root)xJ.globalErrorHandler(Error("ParentBasedSampler must have a root sampler configured")),this._root=new j;this._remoteParentSampled=J.remoteParentSampled??new j,this._remoteParentNotSampled=J.remoteParentNotSampled??new k,this._localParentSampled=J.localParentSampled??new j,this._localParentNotSampled=J.localParentNotSampled??new k}shouldSample(J,$,W,Z,Q,q){let X=_.trace.getSpanContext(J);if(!X||!_.isSpanContextValid(X))return this._root.shouldSample(J,$,W,Z,Q,q);if(X.isRemote){if(X.traceFlags&_.TraceFlags.SAMPLED)return this._remoteParentSampled.shouldSample(J,$,W,Z,Q,q);return this._remoteParentNotSampled.shouldSample(J,$,W,Z,Q,q)}if(X.traceFlags&_.TraceFlags.SAMPLED)return this._localParentSampled.shouldSample(J,$,W,Z,Q,q);return this._localParentNotSampled.shouldSample(J,$,W,Z,Q,q)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}var O=z(N(),1),I=z(V(),1);var XJ=z(e(),1);var AJ=new Map;class d{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(J,$,W){let Z=AJ.get(J)??0;if(AJ.set(J,Z+1),this.standardAttrs={[UJ]:J,[OJ]:`${J}/${Z}`},this.droppedAttrs={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:"queue_full"},this.processedSpans=$.createCounter(PJ,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),W){let{capacity:Q,getQueueSize:q}=W;$.createUpDownCounter(fJ,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."}).add(Q,this.standardAttrs),this.queueSize=$.createObservableUpDownCounter(NJ,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=(w)=>w.observe(q(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(J){this.processedSpans.add(J,this.droppedAttrs)}finishSpans(J,$){if(!$){this.processedSpans.add(J,this.standardAttrs);return}let W={...this.standardAttrs,[XJ.ATTR_ERROR_TYPE]:$.name};this.processedSpans.add(J,W)}shutdown(){if(this.queueSize&&this.queueSizeCallback)this.queueSize.removeCallback(this.queueSizeCallback)}}class YJ{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_metrics;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(J){if(this._exporter=J.exporter,this._maxExportBatchSize=J.maxExportBatchSize??512,this._maxQueueSize=J.maxQueueSize??2048,this._scheduledDelayMillis=J.scheduledDelayMillis??5000,this._exportTimeoutMillis=J.exportTimeoutMillis??30000,this._shutdownOnce=new I.BindOnceFuture(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize)O.diag.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):O.createNoopMeter();this._metrics=new d(LJ,$,{capacity:this._maxQueueSize,getQueueSize:()=>this._finishedSpans.length})}forceFlush(){if(this._shutdownOnce.isCalled)return this._shutdownOnce.promise;return this._flushAll()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&O.TraceFlags.SAMPLED)===0)return;this._addToBuffer(J)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>{return this.onShutdown()}).then(()=>{return this._flushAll()}).then(()=>{return this._metrics.shutdown(),this._exporter.shutdown()})}_addToBuffer(J){if(this._finishedSpans.length>=this._maxQueueSize){if(this._droppedSpansCount===0)O.diag.debug("maxQueueSize reached, dropping spans");this._droppedSpansCount++,this._metrics.dropSpans(1);return}if(this._droppedSpansCount>0)O.diag.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0;this._finishedSpans.push(J),this._maybeStartTimer()}_flushAll(){return new Promise((J,$)=>{let W=[],Z=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let Q=0,q=Z;Q<q;Q++)W.push(this._flushOneBatch());Promise.all(W).then(()=>{J()}).catch($)})}_flushOneBatch(){if(this._clearTimer(),this._finishedSpans.length===0)return Promise.resolve();return new Promise((J,$)=>{let W=setTimeout(()=>{$(Error("Timeout"))},this._exportTimeoutMillis);O.context.with(I.suppressTracing(O.context.active()),()=>{let Z;if(this._finishedSpans.length<=this._maxExportBatchSize)Z=this._finishedSpans,this._finishedSpans=[];else Z=this._finishedSpans.splice(0,this._maxExportBatchSize);let Q=()=>this._exporter.export(Z,(X)=>{if(clearTimeout(W),this._metrics.finishSpans(Z.length,X.error),X.code===I.ExportResultCode.SUCCESS)J();else $(X.error??Error("BatchSpanProcessor: span export failed"))}),q=null;for(let X=0,w=Z.length;X<w;X++){let K=Z[X];if(K.resource.asyncAttributesPending&&K.resource.waitForAsyncAttributes)q??=[],q.push(K.resource.waitForAsyncAttributes())}if(q===null)Q();else Promise.all(q).then(Q,(X)=>{I.globalErrorHandler(X),$(X)})})})}_maybeStartTimer(){if(this._isExporting)return;let J=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{if(this._isExporting=!1,this._finishedSpans.length>0)this._clearTimer(),this._maybeStartTimer()}).catch(($)=>{this._isExporting=!1,I.globalErrorHandler($)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return J();if(this._timer!==void 0)return;if(this._timer=setTimeout(()=>J(),this._scheduledDelayMillis),typeof this._timer!=="number")this._timer.unref()}_clearTimer(){if(this._timer!==void 0)clearTimeout(this._timer),this._timer=void 0}}class v extends YJ{onShutdown(){}}class F{generateTraceId=CJ(16);generateSpanId=CJ(8)}var o=Buffer.allocUnsafe(16);function CJ(J){return function(){for(let W=0;W<J/4;W++)o.writeUInt32BE(Math.random()*4294967296>>>0,W*4);for(let W=0;W<J;W++)if(o[W]>0)break;else if(W===J-1)o[J-1]=1;return o.toString("hex",0,J)}}var y;(function(J){J[J.resolved=0]="resolved",J[J.timeout=1]="timeout",J[J.error=2]="error",J[J.unresolved=3]="unresolved"})(y||(y={}));class n{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(J={}){this._forceFlushTimeoutMillis=J.forceFlushTimeoutMillis??30000,this._resource=J.resource??JJ();let $=J.spanProcessors??[];this._activeSpanProcessor=new qJ($),this._tracerOptions={resource:this._resource,sampler:J.sampler??new P({root:new j}),spanLimits:{attributeCountLimit:J.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:J.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:J.spanLimits?.eventCountLimit??128,linkCountLimit:J.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:J.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:J.spanLimits?.attributePerLinkCountLimit??128},idGenerator:J.idGenerator||new F,spanProcessor:this._activeSpanProcessor,meterProvider:J.meterProvider??{getMeter(){return RJ.createNoopMeter()}}}}getTracer(J,$,W){let Z=`${J}@${$||""}:${W?.schemaUrl||""}`;if(!this._tracers.has(Z))this._tracers.set(Z,new QJ({name:J,version:$,schemaUrl:W?.schemaUrl},this._tracerOptions));return this._tracers.get(Z)}forceFlush(){let J=this._forceFlushTimeoutMillis,$=this._activeSpanProcessor._spanProcessors.map((W)=>{return new Promise((Z)=>{let Q,q=setTimeout(()=>{Z(Error(`Span processor did not completed within timeout period of ${J} ms`)),Q=y.timeout},J);W.forceFlush().then(()=>{if(clearTimeout(q),Q!==y.timeout)Q=y.resolved,Z(Q)}).catch((X)=>{clearTimeout(q),Q=y.error,Z(X)})})});return new Promise((W,Z)=>{Promise.all($).then((Q)=>{let q=Q.filter((X)=>X!==y.resolved);if(q.length>0)Z(q);else W()}).catch((Q)=>Z([Q]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[C](J,$,W){let Z=this._activeSpanProcessor._spanProcessors,Q={resource:{attributes:R(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:Z.map((q)=>q.constructor?.name??"SpanProcessor")};return b("TracerProvider",Q,J,$,W)}}var S=z(V(),1);class zJ{export(J,$){return this._sendSpans(J,$)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(J){return{resource:{attributes:J.resource.attributes},instrumentationScope:J.instrumentationScope,traceId:J.spanContext().traceId,parentSpanContext:J.parentSpanContext,traceState:J.spanContext().traceState?.serialize(),name:J.name,id:J.spanContext().spanId,kind:J.kind,timestamp:S.hrTimeToMicroseconds(J.startTime),duration:S.hrTimeToMicroseconds(J.duration),attributes:J.attributes,status:J.status,events:J.events,links:J.links}}_sendSpans(J,$){for(let W of J)console.dir(this._exportInfo(W),{depth:3});if($)return $({code:S.ExportResultCode.SUCCESS})}}var HJ=z(V(),1);class GJ{_finishedSpans=[];_stopped=!1;export(J,$){if(this._stopped)return $({code:HJ.ExportResultCode.FAILED,error:Error("Exporter has been stopped")});this._finishedSpans.push(...J),setTimeout(()=>$({code:HJ.ExportResultCode.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}var r=z(N(),1),L=z(V(),1);class a{_exporter;_metrics;_shutdownOnce;_pendingExports;constructor(J){this._exporter=J.exporter,this._shutdownOnce=new L.BindOnceFuture(this._shutdown,this),this._pendingExports=new Set;let $=J.selfObsMeterProvider?J.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):r.createNoopMeter();this._metrics=new d(_J,$)}async forceFlush(){if(await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush)await this._exporter.forceFlush()}onStart(J,$){}onEnd(J){if(this._shutdownOnce.isCalled)return;if((J.spanContext().traceFlags&r.TraceFlags.SAMPLED)===0)return;let $=this._doExport(J).catch((W)=>L.globalErrorHandler(W));this._pendingExports.add($),$.finally(()=>this._pendingExports.delete($))}async _doExport(J){if(J.resource.asyncAttributesPending)await J.resource.waitForAsyncAttributes?.();let $=await L.internal._export(this._exporter,[J]);if(this._metrics.finishSpans(1,$.error),$.code!==L.ExportResultCode.SUCCESS)throw $.error??Error(`SimpleSpanProcessor: span export failed (status ${$})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._metrics.shutdown(),this._exporter.shutdown()}}class wJ{onStart(J,$){}onEnd(J){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}var bJ=z(N(),1);class T{_ratio;_upperBound;constructor(J=0){this._ratio=this._normalize(J),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(J,$){return{decision:bJ.isValidTraceId($)&&this._accumulate($)<this._upperBound?B.RECORD_AND_SAMPLED:B.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(J){if(typeof J!=="number"||isNaN(J))return 0;return J>=1?1:J<=0?0:J}_accumulate(J){let $=0;for(let W=0;W<32;W+=8){let Z=0;for(let Q=0;Q<8;Q++){let q=J.charCodeAt(W+Q),X=q<58?q-48:q<71?q-55:q-87;Z=Z<<4|X}$=($^Z)>>>0}return $}}var f;(function(J){J.AlwaysOff="always_off",J.AlwaysOn="always_on",J.ParentBasedAlwaysOff="parentbased_always_off",J.ParentBasedAlwaysOn="parentbased_always_on",J.ParentBasedTraceIdRatio="parentbased_traceidratio",J.TraceIdRatio="traceidratio"})(f||(f={}));var s=1;function vJ(){return{sampler:aJ(),forceFlushTimeoutMillis:30000,generalLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:D.getNumberFromEnv("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:D.getNumberFromEnv("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:D.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function aJ(){let J=D.getStringFromEnv("OTEL_TRACES_SAMPLER")??f.ParentBasedAlwaysOn;switch(J){case f.AlwaysOn:return new j;case f.AlwaysOff:return new k;case f.ParentBasedAlwaysOn:return new P({root:new j});case f.ParentBasedAlwaysOff:return new P({root:new k});case f.TraceIdRatio:return new T(EJ());case f.ParentBasedTraceIdRatio:return new P({root:new T(EJ())});default:return t.diag.error(`OTEL_TRACES_SAMPLER value "${J}" invalid, defaulting to "${f.ParentBasedAlwaysOn}".`),new P({root:new j})}}function EJ(){let J=D.getNumberFromEnv("OTEL_TRACES_SAMPLER_ARG");if(J==null)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${s}.`),s;if(J<0||J>1)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${J} was given, but it is out of range ([0..1]), defaulting to ${s}.`),s;return J}var u=z(V(),1),sJ=128,tJ=1/0;function TJ(J){let $=Object.assign({},J.spanLimits);return $.attributeCountLimit=J.spanLimits?.attributeCountLimit??J.generalLimits?.attributeCountLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_COUNT_LIMIT")??sJ,$.attributeValueLengthLimit=J.spanLimits?.attributeValueLengthLimit??J.generalLimits?.attributeValueLengthLimit??u.getNumberFromEnv("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??u.getNumberFromEnv("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??tJ,Object.assign({},J,{spanLimits:$})}class dJ extends n{constructor(J={}){let $=gJ.merge({},vJ(),TJ(J));delete $.generalLimits;super($)}}var SJ=z(V(),1);class uJ extends v{constructor(J,$){if(!$)$={};let W=[["maxExportBatchSize","OTEL_BSP_MAX_EXPORT_BATCH_SIZE"],["maxQueueSize","OTEL_BSP_MAX_QUEUE_SIZE"],["scheduledDelayMillis","OTEL_BSP_SCHEDULE_DELAY"],["exportTimeoutMillis","OTEL_BSP_EXPORT_TIMEOUT"]];for(let[Z,Q]of W)if($[Z]===void 0){let q=SJ.getNumberFromEnv(Q);if(q!==void 0)$[Z]=q}super({exporter:J,...$})}}class mJ extends a{constructor(J){super({exporter:J})}}export{T as TraceIdRatioBasedSampler,mJ as SimpleSpanProcessor,B as SamplingDecision,F as RandomIdGenerator,P as ParentBasedSampler,wJ as NoopSpanProcessor,GJ as InMemorySpanExporter,zJ as ConsoleSpanExporter,uJ as BatchSpanProcessor,dJ as BasicTracerProvider,j as AlwaysOnSampler,k as AlwaysOffSampler};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-fa03gsff.js";var e={"ui.sessionReview.title":"\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19","ui.sessionReview.title.lastTurn":"\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E02\u0E2D\u0E07\u0E40\u0E17\u0E34\u0E23\u0E4C\u0E19\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14","ui.sessionReview.diffStyle.unified":"\u0E41\u0E1A\u0E1A\u0E23\u0E27\u0E21","ui.sessionReview.diffStyle.split":"\u0E41\u0E1A\u0E1A\u0E41\u0E22\u0E01","ui.sessionReview.openFile":"\u0E40\u0E1B\u0E34\u0E14\u0E44\u0E1F\u0E25\u0E4C","ui.sessionReview.selection.line":"\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48 {{line}}","ui.sessionReview.selection.lines":"\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u0E02\u0E22\u0E32\u0E22\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14","ui.sessionReview.collapseAll":"\u0E22\u0E48\u0E2D\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14","ui.sessionReview.change.added":"\u0E40\u0E1E\u0E34\u0E48\u0E21","ui.sessionReview.change.removed":"\u0E25\u0E1A","ui.sessionReview.change.modified":"\u0E41\u0E01\u0E49\u0E44\u0E02","ui.sessionReview.image.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...","ui.sessionReview.image.placeholder":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.sessionReview.largeDiff.title":"Diff \u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B\u0E08\u0E19\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.sessionReview.largeDiff.meta":"\u0E02\u0E35\u0E14\u0E08\u0E33\u0E01\u0E31\u0E14: {{limit}} \u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07. \u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19: {{current}} \u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07.","ui.sessionReview.largeDiff.renderAnyway":"\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E15\u0E48\u0E2D\u0E44\u0E1B","ui.fileMedia.kind.image":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.fileMedia.kind.audio":"\u0E40\u0E2A\u0E35\u0E22\u0E07","ui.fileMedia.state.removed":"\u0E25\u0E1A{{kind}}\u0E41\u0E25\u0E49\u0E27","ui.fileMedia.state.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14{{kind}}...","ui.fileMedia.state.error":"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14{{kind}}","ui.fileMedia.state.unavailable":"{{kind}}\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19","ui.fileMedia.binary.title":"\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35","ui.fileMedia.binary.description.path":"{{path}} \u0E40\u0E1B\u0E47\u0E19\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35\u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.fileMedia.binary.description.default":"\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.lineComment.label.prefix":"\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E1A\u0E19 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E1A\u0E19 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19","ui.lineComment.submit":"\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19","ui.sessionTurn.steps.show":"\u0E41\u0E2A\u0E14\u0E07\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19","ui.sessionTurn.steps.hide":"\u0E0B\u0E48\u0E2D\u0E19\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19","ui.sessionTurn.summary.response":"\u0E01\u0E32\u0E23\u0E15\u0E2D\u0E1A\u0E2A\u0E19\u0E2D\u0E07","ui.sessionTurn.diff.showMore":"\u0E41\u0E2A\u0E14\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 ({{count}})","ui.sessionTurn.retry.retrying":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48","ui.sessionTurn.retry.inSeconds":"\u0E43\u0E19 {{seconds}}\u0E27\u0E34","ui.sessionTurn.retry.attempt":"\u0E04\u0E23\u0E31\u0E49\u0E07\u0E17\u0E35\u0E48 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0E04\u0E23\u0E31\u0E49\u0E07\u0E17\u0E35\u0E48 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0E01\u0E33\u0E25\u0E31\u0E07\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E2B\u0E19\u0E32\u0E41\u0E19\u0E48\u0E19\u0E21\u0E32\u0E01","ui.sessionTurn.error.freeUsageExceeded":"\u0E40\u0E01\u0E34\u0E19\u0E02\u0E35\u0E14\u0E08\u0E33\u0E01\u0E31\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E1F\u0E23\u0E35","ui.sessionTurn.error.addQredits":"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15","ui.sessionTurn.status.delegating":"\u0E21\u0E2D\u0E1A\u0E2B\u0E21\u0E32\u0E22\u0E07\u0E32\u0E19","ui.sessionTurn.status.planning":"\u0E27\u0E32\u0E07\u0E41\u0E1C\u0E19\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.sessionTurn.status.gatheringContext":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E33\u0E23\u0E27\u0E08","ui.sessionTurn.status.gatheredContext":"\u0E2A\u0E33\u0E23\u0E27\u0E08\u0E41\u0E25\u0E49\u0E27","ui.sessionTurn.status.searchingCodebase":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E42\u0E04\u0E49\u0E14\u0E40\u0E1A\u0E2A","ui.sessionTurn.status.searchingWeb":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E1A\u0E19\u0E40\u0E27\u0E47\u0E1A","ui.sessionTurn.status.makingEdits":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E41\u0E01\u0E49\u0E44\u0E02","ui.sessionTurn.status.runningCommands":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E40\u0E23\u0E35\u0E22\u0E01\u0E43\u0E0A\u0E49\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07","ui.sessionTurn.status.thinking":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14","ui.sessionTurn.status.thinkingWithTopic":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u0E23\u0E27\u0E1A\u0E23\u0E27\u0E21\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14","ui.sessionTurn.status.consideringNextSteps":"\u0E1E\u0E34\u0E08\u0E32\u0E23\u0E13\u0E32\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.messagePart.questions.dismissed":"\u0E25\u0E30\u0E17\u0E34\u0E49\u0E07\u0E04\u0E33\u0E16\u0E32\u0E21\u0E41\u0E25\u0E49\u0E27","ui.messagePart.compaction":"\u0E1A\u0E35\u0E1A\u0E2D\u0E31\u0E14\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19\u0E41\u0E25\u0E49\u0E27","ui.messagePart.context.read.one":"\u0E2D\u0E48\u0E32\u0E19 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.read.other":"\u0E2D\u0E48\u0E32\u0E19 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.search.one":"\u0E04\u0E49\u0E19\u0E2B\u0E32 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.search.other":"\u0E04\u0E49\u0E19\u0E2B\u0E32 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.list.one":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.list.other":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.diagnostic.error":"\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14","ui.messagePart.title.edit":"\u0E41\u0E01\u0E49\u0E44\u0E02","ui.messagePart.title.write":"\u0E40\u0E02\u0E35\u0E22\u0E19","ui.messagePart.option.typeOwnAnswer":"\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E2D\u0E07","ui.messagePart.review.title":"\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13","ui.list.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14","ui.list.empty":"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C","ui.list.clearFilter":"\u0E25\u0E49\u0E32\u0E07\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07","ui.list.emptyWithFilter.prefix":"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E43\u0E2B\u0E21\u0E48","ui.textField.copyToClipboard":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14","ui.textField.copyLink":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E01\u0E4C","ui.textField.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27","ui.imagePreview.alt":"\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.scrollView.ariaLabel":"\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E14\u0E49","ui.tool.read":"\u0E2D\u0E48\u0E32\u0E19","ui.tool.loaded":"\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E25\u0E49\u0E27","ui.tool.list":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u0E14\u0E36\u0E07\u0E08\u0E32\u0E01\u0E40\u0E27\u0E47\u0E1A","ui.tool.websearch":"\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E40\u0E27\u0E47\u0E1A","ui.tool.codesearch":"\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E42\u0E04\u0E49\u0E14","ui.tool.shell":"\u0E40\u0E0A\u0E25\u0E25\u0E4C","ui.tool.patch":"\u0E41\u0E1E\u0E15\u0E0A\u0E4C","ui.tool.todos":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E07\u0E32\u0E19","ui.tool.todos.read":"\u0E2D\u0E48\u0E32\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E07\u0E32\u0E19","ui.tool.questions":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.tool.agent":"\u0E40\u0E2D\u0E40\u0E08\u0E19\u0E15\u0E4C {{type}}","ui.tool.agent.default":"\u0E40\u0E2D\u0E40\u0E08\u0E19\u0E15\u0E4C","ui.common.file.one":"\u0E44\u0E1F\u0E25\u0E4C","ui.common.file.other":"\u0E44\u0E1F\u0E25\u0E4C","ui.common.question.one":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.common.question.other":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.common.add":"\u0E40\u0E1E\u0E34\u0E48\u0E21","ui.common.back":"\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A","ui.common.cancel":"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01","ui.common.confirm":"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19","ui.common.dismiss":"\u0E1B\u0E34\u0E14","ui.common.close":"\u0E1B\u0E34\u0E14","ui.common.next":"\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.common.submit":"\u0E2A\u0E48\u0E07","ui.permission.deny":"\u0E1B\u0E0F\u0E34\u0E40\u0E2A\u0E18","ui.permission.allowAlways":"\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2A\u0E21\u0E2D","ui.permission.allowOnce":"\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E14\u0E35\u0E22\u0E27","ui.message.expand":"\u0E02\u0E22\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.collapse":"\u0E22\u0E48\u0E2D\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.copy":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01","ui.message.copyMessage":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.forkMessage":"\u0E41\u0E15\u0E01\u0E41\u0E02\u0E19\u0E07\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19\u0E43\u0E2B\u0E21\u0E48","ui.message.revertMessage":"\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E08\u0E38\u0E14\u0E19\u0E35\u0E49","ui.message.copyResponse":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E04\u0E33\u0E15\u0E2D\u0E1A","ui.message.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27!","ui.message.interrupted":"\u0E16\u0E39\u0E01\u0E02\u0E31\u0E14\u0E08\u0E31\u0E07\u0E2B\u0E27\u0E30","ui.message.queued":"\u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E04\u0E34\u0E27","ui.message.attachment.alt":"\u0E44\u0E1F\u0E25\u0E4C\u0E41\u0E19\u0E1A","ui.patch.action.deleted":"\u0E25\u0E1A","ui.patch.action.created":"\u0E2A\u0E23\u0E49\u0E32\u0E07","ui.patch.action.moved":"\u0E22\u0E49\u0E32\u0E22","ui.patch.action.patched":"\u0E41\u0E1E\u0E15\u0E0A\u0E4C","ui.question.subtitle.answered":"{{count}} \u0E15\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27","ui.question.answer.none":"(\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E33\u0E15\u0E2D\u0E1A)","ui.question.review.notAnswered":"(\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A)","ui.question.multiHint":"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49","ui.question.singleHint":"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E04\u0E33\u0E15\u0E2D\u0E1A","ui.question.custom.placeholder":"\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13...","ui.fileSearch.placeholder":"\u0E04\u0E49\u0E19\u0E2B\u0E32","ui.fileSearch.previousMatch":"\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32","ui.fileSearch.nextMatch":"\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.fileSearch.close":"\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32","ui.tool.task":"\u0E07\u0E32\u0E19","ui.tool.skill":"\u0E17\u0E31\u0E01\u0E29\u0E30","ui.basicTool.called":"\u0E40\u0E23\u0E35\u0E22\u0E01\u0E43\u0E0A\u0E49 `{{tool}}`","ui.toolErrorCard.failed":"\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27","ui.toolErrorCard.copyError":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14","ui.message.duration.seconds":"{{count}}\u0E27\u0E34","ui.message.duration.minutesSeconds":"{{minutes}}\u0E19\u0E32\u0E17\u0E35 {{seconds}}\u0E27\u0E34"};export{e as dict};
|
|
2
|
+
import"./chunk-naq602da.js";var e={"ui.sessionReview.title":"\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19","ui.sessionReview.title.lastTurn":"\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E02\u0E2D\u0E07\u0E40\u0E17\u0E34\u0E23\u0E4C\u0E19\u0E25\u0E48\u0E32\u0E2A\u0E38\u0E14","ui.sessionReview.diffStyle.unified":"\u0E41\u0E1A\u0E1A\u0E23\u0E27\u0E21","ui.sessionReview.diffStyle.split":"\u0E41\u0E1A\u0E1A\u0E41\u0E22\u0E01","ui.sessionReview.openFile":"\u0E40\u0E1B\u0E34\u0E14\u0E44\u0E1F\u0E25\u0E4C","ui.sessionReview.selection.line":"\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48 {{line}}","ui.sessionReview.selection.lines":"\u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48 {{start}}-{{end}}","ui.sessionReview.expandAll":"\u0E02\u0E22\u0E32\u0E22\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14","ui.sessionReview.collapseAll":"\u0E22\u0E48\u0E2D\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14","ui.sessionReview.change.added":"\u0E40\u0E1E\u0E34\u0E48\u0E21","ui.sessionReview.change.removed":"\u0E25\u0E1A","ui.sessionReview.change.modified":"\u0E41\u0E01\u0E49\u0E44\u0E02","ui.sessionReview.image.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14...","ui.sessionReview.image.placeholder":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.sessionReview.largeDiff.title":"Diff \u0E21\u0E35\u0E02\u0E19\u0E32\u0E14\u0E43\u0E2B\u0E0D\u0E48\u0E40\u0E01\u0E34\u0E19\u0E44\u0E1B\u0E08\u0E19\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.sessionReview.largeDiff.meta":"\u0E02\u0E35\u0E14\u0E08\u0E33\u0E01\u0E31\u0E14: {{limit}} \u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07. \u0E1B\u0E31\u0E08\u0E08\u0E38\u0E1A\u0E31\u0E19: {{current}} \u0E1A\u0E23\u0E23\u0E17\u0E31\u0E14\u0E17\u0E35\u0E48\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07.","ui.sessionReview.largeDiff.renderAnyway":"\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E15\u0E48\u0E2D\u0E44\u0E1B","ui.fileMedia.kind.image":"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.fileMedia.kind.audio":"\u0E40\u0E2A\u0E35\u0E22\u0E07","ui.fileMedia.state.removed":"\u0E25\u0E1A{{kind}}\u0E41\u0E25\u0E49\u0E27","ui.fileMedia.state.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14{{kind}}...","ui.fileMedia.state.error":"\u0E40\u0E01\u0E34\u0E14\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14\u0E43\u0E19\u0E01\u0E32\u0E23\u0E42\u0E2B\u0E25\u0E14{{kind}}","ui.fileMedia.state.unavailable":"{{kind}}\u0E44\u0E21\u0E48\u0E1E\u0E23\u0E49\u0E2D\u0E21\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19","ui.fileMedia.binary.title":"\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35","ui.fileMedia.binary.description.path":"{{path}} \u0E40\u0E1B\u0E47\u0E19\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35\u0E41\u0E25\u0E30\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.fileMedia.binary.description.default":"\u0E44\u0E1F\u0E25\u0E4C\u0E44\u0E1A\u0E19\u0E32\u0E23\u0E35\u0E44\u0E21\u0E48\u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E41\u0E2A\u0E14\u0E07\u0E1C\u0E25\u0E44\u0E14\u0E49","ui.lineComment.label.prefix":"\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E1A\u0E19 ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19\u0E1A\u0E19 ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19","ui.lineComment.submit":"\u0E41\u0E2A\u0E14\u0E07\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14\u0E40\u0E2B\u0E47\u0E19","ui.sessionTurn.steps.show":"\u0E41\u0E2A\u0E14\u0E07\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19","ui.sessionTurn.steps.hide":"\u0E0B\u0E48\u0E2D\u0E19\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19","ui.sessionTurn.summary.response":"\u0E01\u0E32\u0E23\u0E15\u0E2D\u0E1A\u0E2A\u0E19\u0E2D\u0E07","ui.sessionTurn.diff.showMore":"\u0E41\u0E2A\u0E14\u0E07\u0E01\u0E32\u0E23\u0E40\u0E1B\u0E25\u0E35\u0E48\u0E22\u0E19\u0E41\u0E1B\u0E25\u0E07\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E15\u0E34\u0E21 ({{count}})","ui.sessionTurn.retry.retrying":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E25\u0E2D\u0E07\u0E43\u0E2B\u0E21\u0E48","ui.sessionTurn.retry.inSeconds":"\u0E43\u0E19 {{seconds}}\u0E27\u0E34","ui.sessionTurn.retry.attempt":"\u0E04\u0E23\u0E31\u0E49\u0E07\u0E17\u0E35\u0E48 {{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - \u0E04\u0E23\u0E31\u0E49\u0E07\u0E17\u0E35\u0E48 {{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini \u0E01\u0E33\u0E25\u0E31\u0E07\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E2B\u0E19\u0E32\u0E41\u0E19\u0E48\u0E19\u0E21\u0E32\u0E01","ui.sessionTurn.error.freeUsageExceeded":"\u0E40\u0E01\u0E34\u0E19\u0E02\u0E35\u0E14\u0E08\u0E33\u0E01\u0E31\u0E14\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19\u0E1F\u0E23\u0E35","ui.sessionTurn.error.addQredits":"\u0E40\u0E1E\u0E34\u0E48\u0E21\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15","ui.sessionTurn.status.delegating":"\u0E21\u0E2D\u0E1A\u0E2B\u0E21\u0E32\u0E22\u0E07\u0E32\u0E19","ui.sessionTurn.status.planning":"\u0E27\u0E32\u0E07\u0E41\u0E1C\u0E19\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.sessionTurn.status.gatheringContext":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E2A\u0E33\u0E23\u0E27\u0E08","ui.sessionTurn.status.gatheredContext":"\u0E2A\u0E33\u0E23\u0E27\u0E08\u0E41\u0E25\u0E49\u0E27","ui.sessionTurn.status.searchingCodebase":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E42\u0E04\u0E49\u0E14\u0E40\u0E1A\u0E2A","ui.sessionTurn.status.searchingWeb":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E1A\u0E19\u0E40\u0E27\u0E47\u0E1A","ui.sessionTurn.status.makingEdits":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E41\u0E01\u0E49\u0E44\u0E02","ui.sessionTurn.status.runningCommands":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E40\u0E23\u0E35\u0E22\u0E01\u0E43\u0E0A\u0E49\u0E04\u0E33\u0E2A\u0E31\u0E48\u0E07","ui.sessionTurn.status.thinking":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14","ui.sessionTurn.status.thinkingWithTopic":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E04\u0E34\u0E14 - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"\u0E23\u0E27\u0E1A\u0E23\u0E27\u0E21\u0E04\u0E27\u0E32\u0E21\u0E04\u0E34\u0E14","ui.sessionTurn.status.consideringNextSteps":"\u0E1E\u0E34\u0E08\u0E32\u0E23\u0E13\u0E32\u0E02\u0E31\u0E49\u0E19\u0E15\u0E2D\u0E19\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.messagePart.questions.dismissed":"\u0E25\u0E30\u0E17\u0E34\u0E49\u0E07\u0E04\u0E33\u0E16\u0E32\u0E21\u0E41\u0E25\u0E49\u0E27","ui.messagePart.compaction":"\u0E1A\u0E35\u0E1A\u0E2D\u0E31\u0E14\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19\u0E41\u0E25\u0E49\u0E27","ui.messagePart.context.read.one":"\u0E2D\u0E48\u0E32\u0E19 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.read.other":"\u0E2D\u0E48\u0E32\u0E19 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.search.one":"\u0E04\u0E49\u0E19\u0E2B\u0E32 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.search.other":"\u0E04\u0E49\u0E19\u0E2B\u0E32 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.list.one":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.context.list.other":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 {{count}} \u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.messagePart.diagnostic.error":"\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14","ui.messagePart.title.edit":"\u0E41\u0E01\u0E49\u0E44\u0E02","ui.messagePart.title.write":"\u0E40\u0E02\u0E35\u0E22\u0E19","ui.messagePart.option.typeOwnAnswer":"\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13\u0E40\u0E2D\u0E07","ui.messagePart.review.title":"\u0E15\u0E23\u0E27\u0E08\u0E2A\u0E2D\u0E1A\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13","ui.list.loading":"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14","ui.list.empty":"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C","ui.list.clearFilter":"\u0E25\u0E49\u0E32\u0E07\u0E15\u0E31\u0E27\u0E01\u0E23\u0E2D\u0E07","ui.list.emptyWithFilter.prefix":"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E1C\u0E25\u0E25\u0E31\u0E1E\u0E18\u0E4C\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E43\u0E2B\u0E21\u0E48","ui.textField.copyToClipboard":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E04\u0E25\u0E34\u0E1B\u0E1A\u0E2D\u0E23\u0E4C\u0E14","ui.textField.copyLink":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E01\u0E4C","ui.textField.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27","ui.imagePreview.alt":"\u0E15\u0E31\u0E27\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E","ui.scrollView.ariaLabel":"\u0E40\u0E19\u0E37\u0E49\u0E2D\u0E2B\u0E32\u0E17\u0E35\u0E48\u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E14\u0E49","ui.tool.read":"\u0E2D\u0E48\u0E32\u0E19","ui.tool.loaded":"\u0E42\u0E2B\u0E25\u0E14\u0E41\u0E25\u0E49\u0E27","ui.tool.list":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"\u0E14\u0E36\u0E07\u0E08\u0E32\u0E01\u0E40\u0E27\u0E47\u0E1A","ui.tool.websearch":"\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E40\u0E27\u0E47\u0E1A","ui.tool.codesearch":"\u0E04\u0E49\u0E19\u0E2B\u0E32\u0E42\u0E04\u0E49\u0E14","ui.tool.shell":"\u0E40\u0E0A\u0E25\u0E25\u0E4C","ui.tool.patch":"\u0E41\u0E1E\u0E15\u0E0A\u0E4C","ui.tool.todos":"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E07\u0E32\u0E19","ui.tool.todos.read":"\u0E2D\u0E48\u0E32\u0E19\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23\u0E07\u0E32\u0E19","ui.tool.questions":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.tool.agent":"\u0E40\u0E2D\u0E40\u0E08\u0E19\u0E15\u0E4C {{type}}","ui.tool.agent.default":"\u0E40\u0E2D\u0E40\u0E08\u0E19\u0E15\u0E4C","ui.common.file.one":"\u0E44\u0E1F\u0E25\u0E4C","ui.common.file.other":"\u0E44\u0E1F\u0E25\u0E4C","ui.common.question.one":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.common.question.other":"\u0E04\u0E33\u0E16\u0E32\u0E21","ui.common.add":"\u0E40\u0E1E\u0E34\u0E48\u0E21","ui.common.back":"\u0E22\u0E49\u0E2D\u0E19\u0E01\u0E25\u0E31\u0E1A","ui.common.cancel":"\u0E22\u0E01\u0E40\u0E25\u0E34\u0E01","ui.common.confirm":"\u0E22\u0E37\u0E19\u0E22\u0E31\u0E19","ui.common.dismiss":"\u0E1B\u0E34\u0E14","ui.common.close":"\u0E1B\u0E34\u0E14","ui.common.next":"\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.common.submit":"\u0E2A\u0E48\u0E07","ui.permission.deny":"\u0E1B\u0E0F\u0E34\u0E40\u0E2A\u0E18","ui.permission.allowAlways":"\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E40\u0E2A\u0E21\u0E2D","ui.permission.allowOnce":"\u0E2D\u0E19\u0E38\u0E0D\u0E32\u0E15\u0E04\u0E23\u0E31\u0E49\u0E07\u0E40\u0E14\u0E35\u0E22\u0E27","ui.message.expand":"\u0E02\u0E22\u0E32\u0E22\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.collapse":"\u0E22\u0E48\u0E2D\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.copy":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01","ui.message.copyMessage":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21","ui.message.forkMessage":"\u0E41\u0E15\u0E01\u0E41\u0E02\u0E19\u0E07\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E40\u0E0B\u0E2A\u0E0A\u0E31\u0E19\u0E43\u0E2B\u0E21\u0E48","ui.message.revertMessage":"\u0E23\u0E35\u0E40\u0E0B\u0E47\u0E15\u0E44\u0E1B\u0E22\u0E31\u0E07\u0E08\u0E38\u0E14\u0E19\u0E35\u0E49","ui.message.copyResponse":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E04\u0E33\u0E15\u0E2D\u0E1A","ui.message.copied":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E41\u0E25\u0E49\u0E27!","ui.message.interrupted":"\u0E16\u0E39\u0E01\u0E02\u0E31\u0E14\u0E08\u0E31\u0E07\u0E2B\u0E27\u0E30","ui.message.queued":"\u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E04\u0E34\u0E27","ui.message.attachment.alt":"\u0E44\u0E1F\u0E25\u0E4C\u0E41\u0E19\u0E1A","ui.patch.action.deleted":"\u0E25\u0E1A","ui.patch.action.created":"\u0E2A\u0E23\u0E49\u0E32\u0E07","ui.patch.action.moved":"\u0E22\u0E49\u0E32\u0E22","ui.patch.action.patched":"\u0E41\u0E1E\u0E15\u0E0A\u0E4C","ui.question.subtitle.answered":"{{count}} \u0E15\u0E2D\u0E1A\u0E41\u0E25\u0E49\u0E27","ui.question.answer.none":"(\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E33\u0E15\u0E2D\u0E1A)","ui.question.review.notAnswered":"(\u0E44\u0E21\u0E48\u0E44\u0E14\u0E49\u0E15\u0E2D\u0E1A)","ui.question.multiHint":"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14\u0E17\u0E35\u0E48\u0E43\u0E0A\u0E49","ui.question.singleHint":"\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E04\u0E33\u0E15\u0E2D\u0E1A","ui.question.custom.placeholder":"\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u0E04\u0E33\u0E15\u0E2D\u0E1A\u0E02\u0E2D\u0E07\u0E04\u0E38\u0E13...","ui.fileSearch.placeholder":"\u0E04\u0E49\u0E19\u0E2B\u0E32","ui.fileSearch.previousMatch":"\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32","ui.fileSearch.nextMatch":"\u0E16\u0E31\u0E14\u0E44\u0E1B","ui.fileSearch.close":"\u0E1B\u0E34\u0E14\u0E01\u0E32\u0E23\u0E04\u0E49\u0E19\u0E2B\u0E32","ui.tool.task":"\u0E07\u0E32\u0E19","ui.tool.skill":"\u0E17\u0E31\u0E01\u0E29\u0E30","ui.basicTool.called":"\u0E40\u0E23\u0E35\u0E22\u0E01\u0E43\u0E0A\u0E49 `{{tool}}`","ui.toolErrorCard.failed":"\u0E25\u0E49\u0E21\u0E40\u0E2B\u0E25\u0E27","ui.toolErrorCard.copyError":"\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E02\u0E49\u0E2D\u0E1C\u0E34\u0E14\u0E1E\u0E25\u0E32\u0E14","ui.message.duration.seconds":"{{count}}\u0E27\u0E34","ui.message.duration.minutesSeconds":"{{minutes}}\u0E19\u0E32\u0E17\u0E35 {{seconds}}\u0E27\u0E34"};export{e as dict};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Ah as _,Ch as y,Eh as h}from"./chunk-
|
|
2
|
+
import{Ah as _,Ch as y,Eh as h}from"./chunk-tmjd3evp.js";class $ extends Error{cause;constructor(x,J){super(x);this.name="ForgewiseError",this.cause=J}}class K extends ${constructor(x="Device flow is not supported by this issuer."){super(x);this.name="DeviceFlowUnsupportedError"}}var p="https://app.forgewise.tech",a="forgewise-cli";function R(...x){return x.find((J)=>J!==void 0&&J.trim().length>0)}function i(){return!!process.env.REPLIT_DEV_DOMAIN}async function z(){let x=process.env.ACCOUNTS_ISSUER,J=process.env.FORGEWISE_CLIENT_ID;if(x&&J)return{issuer:x.replace(/\/+$/,""),clientId:J};let V;try{V=await y()}catch{V=void 0}let Y=R(x,V?.issuer,p).replace(/\/+$/,""),G=R(J,V?.clientId,a);return{issuer:Y,clientId:G}}function O(x,J,V){if(x>=200&&x<300)return{kind:"success"};let Y=J?.error??"";if(Y==="authorization_pending")return{kind:"wait",intervalMs:V};if(Y==="slow_down")return{kind:"wait",intervalMs:V+5000};if(Y==="access_denied")return{kind:"fatal",message:"Sign-in was denied in the browser."};if(Y==="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: ${J?.error_description||Y||`HTTP ${x}`}`}}import I from"http";var w="/callback",C=[51737,51738],f=new Set;function A(x){return x.replace(/[&<>\"']/g,(J)=>{switch(J){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return"'"}})}function j(x){return`http://127.0.0.1:${x}${w}`}async function l(x){return new Promise((J,V)=>{let Y=I.createServer();Y.listen(x,"127.0.0.1",()=>{Y.close(()=>J(x))}),Y.on("error",V)})}async function F(){for(let x of C){if(f.has(x))continue;f.add(x);try{return await l(x)}catch{f.delete(x)}}throw new $(`Could not bind to any loopback port (tried ${C.join(", ")}). Free one of those ports and retry.`)}function U(x,J,V,Y){return new Promise((G,Z)=>{let W=()=>f.delete(x),Q=I.createServer((q,X)=>{try{let N=new URL(q.url??"/",`http://localhost:${x}`);if(N.pathname!==w){X.writeHead(404),X.end();return}let B=N.searchParams.get("code"),H=N.searchParams.get("state"),m=N.searchParams.get("error"),M=N.searchParams.get("error_description");if(m){let c=`${A(m)}${M?": "+A(M):""}`;X.writeHead(200,{"Content-Type":"text/html"}),X.end(`<html><body style="font-family:sans-serif;padding:2rem"><h2>Authorization failed</h2><p>${c}</p><p>You can close this tab.</p></body></html>`),Q.close(),Z(new $(`Authorization error: ${m}${M?" \u2014 "+M:""}`));return}if(!B||H!==J){X.writeHead(400),X.end("Invalid request");return}X.writeHead(200,{"Content-Type":"text/html"}),X.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>'),Q.close(),G({code:B})}catch(N){Q.close(),Z(N)}});if(V?.aborted){W(),Z(new $("Login cancelled"));return}let D=()=>{W(),Q.close(()=>Z(new $("Login cancelled")))};if(V?.addEventListener("abort",D,{once:!0}),V?.aborted){D();return}Q.listen(x,"127.0.0.1",()=>{W(),Y?.()}),Q.on("error",(q)=>{W(),Z(q)})})}function k(x,J){return new Promise((V,Y)=>{if(J?.aborted){Y(new $("Login cancelled"));return}let G,Z=()=>{clearTimeout(G),J?.removeEventListener("abort",Z),Y(new $("Login cancelled"))};if(G=setTimeout(()=>{J?.removeEventListener("abort",Z),V()},x),J?.addEventListener("abort",Z,{once:!0}),J?.aborted)Z()})}function n(x,J=300000){if(!x)return!1;return Date.now()>=x-J}async function t(x){let{issuer:J}=await z();return h({issuer:J,accessToken:x})}import L from"crypto";var E="openid profile email",P=(x)=>x.toString("base64url");function b(){let x=P(L.randomBytes(32)),J=P(L.createHash("sha256").update(x).digest()),V=P(L.randomBytes(16));return{verifier:x,challenge:J,state:V}}function g(x){let J=new URL(`${x.issuer}/api/oauth/authorize`);return J.searchParams.set("response_type","code"),J.searchParams.set("client_id",x.clientId),J.searchParams.set("redirect_uri",x.redirectUri),J.searchParams.set("scope",E),J.searchParams.set("state",x.state),J.searchParams.set("code_challenge",x.challenge),J.searchParams.set("code_challenge_method","S256"),J.toString()}async function S(x,J){let V=await fetch(`${x}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${J.access_token}`}});if(!V.ok)throw new $(`Failed to fetch user profile (${V.status})`);let Y=await V.json();if(!Y.sub)throw new $("Userinfo response is missing required 'sub' field \u2014 the server returned an invalid user profile.");return{sub:Y.sub,name:Y.name??"",email:Y.email??"",access_token:J.access_token,expires_at:Date.now()+(J.expires_in??3600)*1000,...J.refresh_token?{refresh_token:J.refresh_token}:{}}}async function T(x){let J=await fetch(`${x.issuer}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:x.code,redirect_uri:x.redirectUri,client_id:x.clientId,code_verifier:x.verifier}).toString(),signal:x.signal??null});if(!J.ok){let Y=await J.text().catch(()=>"");throw new $(`Token exchange failed (${J.status}): ${Y}`)}let V=await J.json();return S(x.issuer,V)}async function o(x,J,V=5000){let Y=new AbortController,G=setTimeout(()=>Y.abort(),V);try{let Z=await fetch(`${x}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${J}`},signal:Y.signal});if(Z.status===401||Z.status===403)return!1;if(!Z.ok)return null;return!0}catch{return null}finally{clearTimeout(G)}}async function s(x){let{issuer:J,clientId:V}=await z(),Y;try{Y=await fetch(`${J}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",client_id:V,refresh_token:x}).toString()})}catch(Z){throw new $(`Could not reach the sign-in server to refresh the session: ${Z instanceof Error?Z.message:String(Z)}`,Z)}if(!Y.ok){let Z=await Y.json().catch(()=>{return});if(Z?.error==="invalid_grant")return"invalid_grant";throw new $(`Token refresh failed (${Y.status}): ${Z?.error??""}`)}let G=await Y.json();return S(J,G)}async function v(x){let J;try{J=await fetch(`${x.issuer}/api/oauth/device_authorization`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:x.clientId,scope:E}).toString(),signal:x.signal??null})}catch{if(x.signal?.aborted)throw new $("Login cancelled");throw new K}if(J.status===404||J.status===405||J.status===501)throw new K;if(!J.ok){let Y=await J.text().catch(()=>"");throw new $(`Device authorization failed (${J.status}): ${Y}`)}let V;try{V=await J.json()}catch{throw new K}if(!V.device_code||!V.user_code||!V.verification_uri)throw new K;return{deviceCode:V.device_code,info:{userCode:V.user_code,verificationUri:V.verification_uri,verificationUriComplete:V.verification_uri_complete,expiresAt:Date.now()+(V.expires_in??900)*1000},intervalMs:Math.max(1,V.interval??5)*1000}}async function d(x){let J;try{J=await fetch(`${x.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:x.deviceCode,client_id:x.clientId}).toString(),signal:x.signal??null})}catch{if(x.signal?.aborted)throw new $("Login cancelled");return{kind:"wait",intervalMs:x.currentIntervalMs}}let V;try{V=await J.json()}catch{V=void 0}let Y=O(J.status,V,x.currentIntervalMs);if(Y.kind==="success"){if(!V?.access_token)throw new $("Token endpoint returned success without an access_token.");return{kind:"success",profile:await S(x.issuer,{access_token:V.access_token,expires_in:V.expires_in})}}if(Y.kind==="fatal")throw new $(Y.message);return{kind:"wait",intervalMs:Y.intervalMs}}var r=300000;async function u(){let{issuer:x,clientId:J}=await z(),{verifier:V,challenge:Y,state:G}=b(),Z=await F(),W=j(Z),Q=g({issuer:x,clientId:J,redirectUri:W,challenge:Y,state:G});return{issuer:x,clientId:J,verifier:V,port:Z,redirectUri:W,authorizeStr:Q,state:G}}async function e(x){let{issuer:J,clientId:V}=await z(),{deviceCode:Y,info:G,intervalMs:Z}=await v({issuer:J,clientId:V,signal:x.signal});if(x.onCode(G),x.tryOpen){let Q=G.verificationUriComplete??G.verificationUri;_(Q)}let W=Z;while(Date.now()<G.expiresAt){await k(W,x.signal);let Q=await d({issuer:J,clientId:V,deviceCode:Y,currentIntervalMs:W,signal:x.signal});if(Q.kind==="success")return Q.profile;W=Q.intervalMs}throw new $("The sign-in code expired before it was approved. Try again.")}async function x0(){let{issuer:x,clientId:J,verifier:V,port:Y,redirectUri:G,authorizeStr:Z,state:W}=await u();process.stdout.write(`
|
|
3
3
|
`),process.stdout.write(` Opening Forgewise sign-in in your browser...
|
|
4
4
|
`),process.stdout.write(" Sign-in URL: "+Z+`
|
|
5
5
|
`),process.stdout.write(`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Xk as C}from"./chunk-
|
|
2
|
+
import{Xk as C}from"./chunk-2wcwbp3t.js";import{ul as J$}from"./chunk-fzzze6zd.js";import{$l as X$}from"./chunk-afpwjn78.js";import{Kt as k}from"./chunk-jek1cnfk.js";import{HF as $$,IE as r,VF as f$,bI as j,xD as e}from"./chunk-shav33fq.js";import{oP as M,pP as M$}from"./chunk-naq602da.js";var l=M((l$,R)=>{var z$=["||","&&",";;","|&","<(","<<<",">>",">&","<&","&",";","(",")","|","<",">"],S=/[\n\r\u2028\u2029]/,W$=/[\s#!"$&'():;<=>@\\^`|]/g;R.exports=function(J){return J.map(function($){if($==="")return"''";if($&&typeof $==="object"){if($.op==="glob"){if(typeof $.pattern!=="string")throw TypeError("glob token requires a string `pattern`");if(S.test($.pattern))throw TypeError("glob `pattern` must not contain line terminators");return $.pattern.replace(W$,"\\$&")}if(typeof $.op==="string"){if(z$.indexOf($.op)<0)throw TypeError("invalid `op` value: "+JSON.stringify($.op));return $.op.replace(/[\s\S]/g,"\\$&")}if(typeof $.comment==="string"){if(S.test($.comment))throw TypeError("`comment` must not contain line terminators");return"#"+$.comment}throw TypeError("unrecognized object token shape")}if(/["\s\\]/.test($)&&!/'/.test($))return"'"+$.replace(/(['])/g,"\\$1")+"'";if(/["'\s]/.test($))return'"'+$.replace(/(["\\$`!])/g,"\\$1")+'"';return String($).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var i=M((p$,E)=>{var n="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",p=new RegExp("^"+n+"$"),O="|&;()<> \\t",P$='"((\\\\"|[^"])*?)"',g$="'((\\\\'|[^'])*?)'",G$=/^#$/,h="'",T='"',D="$",L="",L$=4294967296;for(x=0;x<4;x++)L+=(L$*Math.random()).toString(16);var x,U$=new RegExp("^"+L);function Q$(f,J){var $=J.lastIndex,Z=[],w;while(w=J.exec(f))if(Z.push(w),J.lastIndex===w.index)J.lastIndex+=1;return J.lastIndex=$,Z}function V$(f,J,$){var Z=typeof f==="function"?f($):f[$];if(typeof Z>"u"&&$!="")Z="";else if(typeof Z>"u")Z="$";if(typeof Z==="object")return J+L+JSON.stringify(Z)+L;return J+Z}function Y$(f,J,$){if(!$)$={};var Z=$.escape||"\\",w="(\\"+Z+`['"`+O+`]|[^\\s'"`+O+"])+",z=new RegExp(["("+n+")","("+w+"|"+P$+"|"+g$+")+"].join("|"),"g"),P=Q$(f,z);if(P.length===0)return[];if(!J)J={};var U=!1;return P.map(function(g){var X=g[0];if(!X||U)return;if(p.test(X))return{op:X};var Q=!1,y=!1,W="",F=!1,q;function A(){q+=1;var G,V,K=X.charAt(q);if(K==="{"){if(q+=1,X.charAt(q)==="}")throw Error("Bad substitution: "+X.slice(q-2,q+1));if(G=X.indexOf("}",q),G<0)throw Error("Bad substitution: "+X.slice(q));V=X.slice(q,G),q=G}else if(/[*@#?$!_-]/.test(K))V=K,q+=1;else{var B=X.slice(q);if(G=B.match(/[^\w\d_]/),!G)V=B,q=X.length;else V=B.slice(0,G.index),q+=G.index-1}return V$(J,"",V)}for(q=0;q<X.length;q++){var H=X.charAt(q);if(F=F||!Q&&(H==="*"||H==="?"),y)W+=H,y=!1;else if(Q)if(H===Q)Q=!1;else if(Q==h)W+=H;else if(H===Z)if(q+=1,H=X.charAt(q),H===T||H===Z||H===D)W+=H;else W+=Z+H;else if(H===D)W+=A();else W+=H;else if(H===T||H===h)Q=H;else if(p.test(H))return{op:X};else if(G$.test(H)){U=!0;var u={comment:f.slice(g.index+q+1)};if(W.length)return[W,u];return[u]}else if(H===Z)y=!0;else if(H===D)W+=A();else W+=H}if(F)return{op:"glob",pattern:W};return W}).reduce(function(g,X){return typeof X>"u"?g:g.concat(X)},[])}E.exports=function(J,$,Z){var w=Y$(J,$,Z);if(typeof $!=="function")return w;return w.reduce(function(z,P){if(typeof P==="object")return z.concat(P);var U=P.split(RegExp("("+L+".*?"+L+")","g"));if(U.length===1)return z.concat(U[0]);return z.concat(U.filter(Boolean).map(function(g){if(U$.test(g))return JSON.parse(g.split(L)[1]);return g}))},[])}});var y$=M((x$)=>{x$.quote=l();x$.parse=i()});var _={};M$(_,{retryable:()=>q$,policy:()=>R$,persistentRetryDelay:()=>S$,isRetryableTransientError:()=>w$,delay:()=>H$,SessionRetry:()=>_,RETRY_MAX_DELAY_NO_HEADERS:()=>N$,RETRY_MAX_DELAY:()=>b$,RETRY_INITIAL_DELAY:()=>D$,RETRY_BACKOFF_FACTOR:()=>I$,PERSISTENT_RETRY_MAX_DELAY:()=>A$,PERSISTENT_RETRY_MAX_ATTEMPTS:()=>u$,PERSISTENT_RETRY_INITIAL_DELAY:()=>j$,PERSISTENT_RETRY_BACKOFF_FACTOR:()=>_$,GO_UPSELL_MESSAGE:()=>Z$});var v=2000,d=2,m=30000,t=2147483647,F$=new Set(["ECONNRESET","EPIPE","ETIMEDOUT"]);var K$=new Set([429,500,502,503,504,529]);function o(f){if(!(f instanceof Error))return!1;let J=f.status??f.statusCode??f.response?.status;if(typeof J==="number"&&K$.has(J))return!0;let $=f.code;if(typeof $==="string"&&F$.has($))return!0;if(f.message==="SSE read timed out")return!0;return!1}function Y(f){return Math.min(f,2147483647)}function c(f,J){if(J){let $=J.data.responseHeaders;if($){let Z=$["retry-after-ms"];if(Z){let z=Number.parseFloat(Z);if(!Number.isNaN(z))return Y(z)}let w=$["retry-after"];if(w){let z=Number.parseFloat(w);if(!Number.isNaN(z))return Y(Math.ceil(z*1000));let P=Date.parse(w)-Date.now();if(!Number.isNaN(P)&&P>0)return Y(Math.ceil(P))}return Y(2000*Math.pow(2,f-1))}}return Y(Math.min(2000*Math.pow(2,f-1),30000))}var I=500,N=2,b=300000,a=10;function s(f){return Math.min(I*N**(f-1),b)}var Z$="Free usage exceeded, subscribe to Go https://opencode.ai/go",D$=v,I$=d,N$=m,b$=t,w$=o,H$=c,j$=I,_$=N,A$=b,u$=a,S$=s;function q$(f){if(C.ContextOverflowError.isInstance(f))return;if(w$(f))return f.message||"Transient network error";if(C.APIError.isInstance(f)){let w=f.data.statusCode;if(!f.data.isRetryable&&!(w!==void 0&&w>=500))return;if(f.data.responseBody?.includes("FreeUsageLimitError"))return Z$;return f.data.message.includes("Overloaded")?"Provider is overloaded":f.data.message}let J=f.data?.message;if(typeof J==="string"){let w=J.toLowerCase();if(w.includes("rate increased too quickly")||w.includes("rate limit")||w.includes("too many requests"))return J}let $=J$(()=>{try{if(typeof f.data?.message==="string")return JSON.parse(f.data.message);return JSON.parse(f.data.message)}catch{return}});if(!$||typeof $!=="object")return;let Z=typeof $.code==="string"?$.code:"";if($.type==="error"&&$.error?.type==="too_many_requests")return"Too Many Requests";if(Z.includes("exhausted")||Z.includes("unavailable"))return"Provider is overloaded";if($.type==="error"&&typeof $.error?.code==="string"&&$.error.code.includes("rate_limit"))return"Rate Limited";return}function R$(f){return f$.fromStepWithMetadata(j.succeed((J)=>{let $=f.parse(J.input),Z=q$($);if(!Z)return r.done(J.attempt);return j.gen(function*(){let w=H$(J.attempt,C.APIError.isInstance($)?$:void 0),z=yield*$$.currentTimeMillis;return yield*f.set({attempt:J.attempt,message:Z,next:z+w}),[J.attempt,e.millis(w)]})}))}var v$=X$.define("tui.instructions.loaded",k.object({files:k.array(k.string()).describe("Display labels of loaded instruction files: worktree-relative path, ~-path, or absolute")}));
|
|
3
3
|
export{v$ as rh,y$ as sh,w$ as th,j$ as uh,_$ as vh,A$ as wh,u$ as xh,S$ as yh,_ as zh};
|