@qitqode/qitqode-android-arm64 0.2.14 → 0.2.16
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/bun +2 -2
- package/bundle/{chunk-wrzn87w0.js → chunk-098mr0zz.js} +1 -1
- package/bundle/{chunk-j15wejz0.js → chunk-0catm9vq.js} +1 -1
- package/bundle/{chunk-kdqhwa65.js → chunk-0cqs1qkh.js} +1 -1
- package/bundle/{chunk-d10qre1b.js → chunk-0f3ncvfe.js} +1 -1
- package/bundle/{chunk-583d91xq.js → chunk-0gqwvt8w.js} +2 -2
- package/bundle/chunk-0mb55ytc.js +2 -0
- package/bundle/{chunk-9zsp3qkh.js → chunk-0n2ncnwz.js} +1 -1
- package/bundle/chunk-0y0hm0m5.js +2 -0
- package/bundle/chunk-120e8yr1.js +2 -0
- package/bundle/{chunk-spcdwmy4.js → chunk-1aneepm5.js} +1 -1
- package/bundle/chunk-1dxm8yev.js +2 -0
- package/bundle/{chunk-96sra8g8.js → chunk-1jg7cybp.js} +1 -1
- package/bundle/{chunk-ngygp66y.js → chunk-1k5nfw7g.js} +1 -1
- package/bundle/{chunk-fmcg649e.js → chunk-1kksj8cn.js} +1 -1
- package/bundle/chunk-1pgpv979.js +2 -0
- package/bundle/{chunk-szfqmkj6.js → chunk-1xsjkf4c.js} +1 -1
- package/bundle/{chunk-zx63mepv.js → chunk-1yetxft4.js} +1 -1
- package/bundle/chunk-23zh9s18.js +2 -0
- package/bundle/{chunk-8qpfphdz.js → chunk-24pf9s68.js} +1 -1
- package/bundle/chunk-2a0zf12g.js +2 -0
- package/bundle/chunk-2b8x31p3.js +2 -0
- package/bundle/chunk-2cvmdss3.js +2 -0
- package/bundle/{chunk-bm8azfnt.js → chunk-2kvghwar.js} +1 -1
- package/bundle/{chunk-ch7s512a.js → chunk-2nkjwqpm.js} +1 -1
- package/bundle/chunk-2qbsg6dp.js +2 -0
- package/bundle/{chunk-9ttebtcf.js → chunk-2rvs18fx.js} +1 -1
- package/bundle/{chunk-rxt6gktt.js → chunk-2thbax1j.js} +1 -1
- package/bundle/{chunk-6y0wgz2j.js → chunk-2zxygnx4.js} +1 -1
- package/bundle/{chunk-zgwasq3p.js → chunk-36kg3v3k.js} +1 -1
- package/bundle/{chunk-1gdt9q05.js → chunk-37hh7eee.js} +1 -1
- package/bundle/chunk-39mwv068.js +2 -0
- package/bundle/{chunk-set1f1wr.js → chunk-39z0qxkt.js} +1 -1
- package/bundle/{chunk-p0852vfn.js → chunk-3dfy9k0t.js} +2 -2
- package/bundle/{chunk-et3tgx7t.js → chunk-3e26pryk.js} +1 -1
- package/bundle/{chunk-vzkdzhn0.js → chunk-3eddms0g.js} +1 -1
- package/bundle/chunk-3re79hkf.js +2 -0
- package/bundle/{chunk-sy76e7nr.js → chunk-3vjs8aht.js} +1 -1
- package/bundle/{chunk-k769v1ds.js → chunk-3z7r4c0p.js} +1 -1
- package/bundle/chunk-40pe0tde.js +11 -0
- package/bundle/{chunk-0ejx0yqx.js → chunk-47nber5v.js} +1 -1
- package/bundle/{chunk-bga4kqd1.js → chunk-491f4ab9.js} +2 -2
- package/bundle/{chunk-3152y1q9.js → chunk-4bp91rza.js} +1 -1
- package/bundle/{chunk-pdcxmr6x.js → chunk-4dy64hgp.js} +1 -1
- package/bundle/{chunk-0mztgsxp.js → chunk-4fqwg54p.js} +1 -1
- package/bundle/{chunk-2w3n0q9m.js → chunk-4gv7nsdd.js} +2 -2
- package/bundle/{chunk-2ascwm7j.js → chunk-4nw19yab.js} +1 -1
- package/bundle/chunk-51fyaa6r.js +2 -0
- package/bundle/{chunk-9znfb8f2.js → chunk-52f62kr0.js} +2 -2
- package/bundle/chunk-52n4tdeh.js +5 -0
- package/bundle/{chunk-x4jnyj09.js → chunk-543jma8r.js} +1 -1
- package/bundle/chunk-58q03ah1.js +2 -0
- package/bundle/{chunk-hrcqbadm.js → chunk-5fhy0wb0.js} +1 -1
- package/bundle/{chunk-8zpsgfb6.js → chunk-5fym1zr2.js} +1 -1
- package/bundle/{chunk-a3g8de96.js → chunk-5k5jdayv.js} +1 -1
- package/bundle/chunk-5nmqgqj2.js +2 -0
- package/bundle/{chunk-psmwrvqs.js → chunk-5t69v8jg.js} +2 -2
- package/bundle/{chunk-7w571q26.js → chunk-5vtbg7pj.js} +1 -1
- package/bundle/{chunk-g738e799.js → chunk-5xmtzs15.js} +2 -2
- package/bundle/chunk-5ydg5ny1.js +2 -0
- package/bundle/{chunk-v5me0cj9.js → chunk-5z5rk3ng.js} +1 -1
- package/bundle/{chunk-5dvy83ms.js → chunk-62mb6wxm.js} +2 -2
- package/bundle/chunk-62mytrwv.js +2 -0
- package/bundle/{chunk-edvfqxfr.js → chunk-6396bg4p.js} +1 -1
- package/bundle/chunk-63bccmze.js +2 -0
- package/bundle/{chunk-1ypzf18e.js → chunk-64x1vtdq.js} +1 -1
- package/bundle/{chunk-9mabvb06.js → chunk-6kx4atkt.js} +1 -1
- package/bundle/{chunk-dmb0ez0m.js → chunk-6r7vm4xc.js} +3 -3
- package/bundle/{chunk-tcyzj3rz.js → chunk-6rggm6tm.js} +1 -1
- package/bundle/{chunk-fp2xgnjn.js → chunk-6vpc1y3w.js} +2 -2
- package/bundle/{chunk-71jmhvef.js → chunk-6vxddv5w.js} +2 -2
- package/bundle/chunk-6ynaebaw.js +2 -0
- package/bundle/{chunk-ep4drmt9.js → chunk-700jhn67.js} +1 -1
- package/bundle/{chunk-fdmz0502.js → chunk-76jbys6j.js} +2 -2
- package/bundle/chunk-782y3dm8.js +2 -0
- package/bundle/{chunk-d7h1dp0h.js → chunk-89g9wzc2.js} +1 -1
- package/bundle/chunk-8q50bha4.js +2 -0
- package/bundle/chunk-8v6qbhm1.js +2 -0
- package/bundle/chunk-955jtenj.js +2 -0
- package/bundle/chunk-95yzwxpf.js +2 -0
- package/bundle/{chunk-2w79k0mh.js → chunk-96281xfb.js} +2 -2
- package/bundle/{chunk-bdcd2mcb.js → chunk-96657nrr.js} +2 -2
- package/bundle/chunk-99ansgsj.js +2 -0
- package/bundle/{chunk-3c73rngn.js → chunk-9dd2krfn.js} +1 -1
- package/bundle/chunk-9exxjnxc.js +2 -0
- package/bundle/{chunk-eqsank84.js → chunk-9ge1mkfs.js} +1 -1
- package/bundle/{chunk-4r7fbkcm.js → chunk-9mmaja9n.js} +1 -1
- package/bundle/{chunk-mjkwd1sz.js → chunk-9rd7q5e9.js} +1 -1
- package/bundle/{chunk-6cztstry.js → chunk-9skj2w9e.js} +2 -2
- package/bundle/{chunk-nb4xtk1n.js → chunk-9tdbts1r.js} +1 -1
- package/bundle/{chunk-sg9enzsp.js → chunk-9tfm1dk2.js} +2 -2
- package/bundle/{chunk-z6qyx227.js → chunk-9xaea8h1.js} +1 -1
- package/bundle/{chunk-meehnnv9.js → chunk-a0c6w901.js} +2 -2
- package/bundle/chunk-a2tp2f6s.js +2 -0
- package/bundle/{chunk-69htq8kq.js → chunk-a3ynq3h7.js} +1 -1
- package/bundle/chunk-a4y0wjtq.js +3 -0
- package/bundle/{chunk-6dd2dx69.js → chunk-afagt413.js} +2 -2
- package/bundle/{chunk-px69995t.js → chunk-afzx47y2.js} +1 -1
- package/bundle/chunk-ag3s3t7x.js +2 -0
- package/bundle/{chunk-n7zd97hy.js → chunk-ajdn1n77.js} +2 -2
- package/bundle/chunk-arwm1qxm.js +2 -0
- package/bundle/{chunk-adws0hhk.js → chunk-awt3q88j.js} +2 -2
- package/bundle/{chunk-qn1fhqyw.js → chunk-az2pxgx6.js} +2 -2
- package/bundle/chunk-b0gq0s8a.js +2 -0
- package/bundle/{chunk-48rg4yhk.js → chunk-b2zfr7jz.js} +2 -2
- package/bundle/{chunk-mbmaeq0a.js → chunk-b63733cw.js} +1 -1
- package/bundle/chunk-b7430vg8.js +2 -0
- package/bundle/{chunk-07b4pkk6.js → chunk-b7dw5ged.js} +1 -1
- package/bundle/{chunk-prz2fkn9.js → chunk-b83qf145.js} +1 -1
- package/bundle/{chunk-veptx3fk.js → chunk-b8w33ck9.js} +1 -1
- package/bundle/{chunk-674pexjx.js → chunk-bd21p9zz.js} +2 -2
- package/bundle/chunk-be2z0tr4.js +2 -0
- package/bundle/{chunk-x0de4z05.js → chunk-bkqemdv8.js} +2 -2
- package/bundle/chunk-bq585t67.js +2 -0
- package/bundle/chunk-bts3gw8w.js +2 -0
- package/bundle/{chunk-qz20b42s.js → chunk-c0sr83np.js} +1 -1
- package/bundle/{chunk-zh7e6kqs.js → chunk-c4tdfar1.js} +1 -1
- package/bundle/chunk-c6ege2yp.js +2 -0
- package/bundle/{chunk-00ft63qn.js → chunk-chs4bkgh.js} +1 -1
- package/bundle/{chunk-8b9z8j3z.js → chunk-cm426ssg.js} +1 -1
- package/bundle/{chunk-crqycrs4.js → chunk-d4y5hyjg.js} +2 -2
- package/bundle/chunk-de0edzjs.js +2 -0
- package/bundle/{chunk-4hvenszg.js → chunk-der5kj1b.js} +1 -1
- package/bundle/{chunk-6d4xc6br.js → chunk-dhykktcp.js} +1 -1
- package/bundle/{chunk-8jkqyf9n.js → chunk-dm7hfb7f.js} +2 -2
- package/bundle/chunk-dntnvfdz.js +2 -0
- package/bundle/{chunk-q1dmxn63.js → chunk-dptvy1zn.js} +2 -2
- package/bundle/{chunk-2k2szpze.js → chunk-dqt8rrey.js} +1 -1
- package/bundle/{chunk-ky3fhz9z.js → chunk-dr003xka.js} +1 -1
- package/bundle/chunk-dtyzk0j7.js +2 -0
- package/bundle/{chunk-qrztx1b4.js → chunk-dwza14dk.js} +2 -2
- package/bundle/chunk-e3tmbywr.js +2 -0
- package/bundle/{chunk-ej0yzstw.js → chunk-e4nap6v9.js} +2 -2
- package/bundle/{chunk-5h1s0akp.js → chunk-e7x8v549.js} +1 -1
- package/bundle/{chunk-1e75j4m1.js → chunk-e826jvr2.js} +2 -2
- package/bundle/{chunk-9z7y4x7q.js → chunk-edm4c812.js} +1 -1
- package/bundle/{chunk-ws720v4j.js → chunk-eearwfay.js} +1 -1
- package/bundle/{chunk-gkf7x1yj.js → chunk-ekavngf7.js} +1 -1
- package/bundle/chunk-em637k9q.js +2 -0
- package/bundle/{chunk-8gkz5550.js → chunk-epncmz5t.js} +1 -1
- package/bundle/chunk-eytpz91c.js +8 -0
- package/bundle/chunk-f4qcwbx0.js +2 -0
- package/bundle/{chunk-a8askx4y.js → chunk-f6gd8809.js} +1 -1
- package/bundle/{chunk-e8s4mp5n.js → chunk-fcbmedh3.js} +2 -2
- package/bundle/{chunk-4ycg2c6f.js → chunk-fg5f3a8a.js} +2 -2
- package/bundle/chunk-fj7jcv7m.js +2 -0
- package/bundle/{chunk-47jkx37s.js → chunk-ft4msj4z.js} +3 -3
- package/bundle/chunk-fyntc5hj.js +2 -0
- package/bundle/chunk-fyt4yaq7.js +2 -0
- package/bundle/chunk-g4hcxhfs.js +2 -0
- package/bundle/{chunk-c5cyt23k.js → chunk-g7twcprm.js} +2 -2
- package/bundle/{chunk-9amnqaeq.js → chunk-g8844pb4.js} +1 -1
- package/bundle/{chunk-w136zswr.js → chunk-ganwjd6s.js} +3 -3
- package/bundle/chunk-gdew108b.js +2 -0
- package/bundle/chunk-gdy74wte.js +2 -0
- package/bundle/{chunk-7a4sb6q7.js → chunk-gse0cgqc.js} +1 -1
- package/bundle/{chunk-z0dj15g9.js → chunk-gsjgbm0d.js} +1 -1
- package/bundle/{chunk-a1mbach4.js → chunk-gt10s0ks.js} +1 -1
- package/bundle/{chunk-qpk7jp6t.js → chunk-gxpx2nd8.js} +1 -1
- package/bundle/{chunk-4p9fny77.js → chunk-gxq2fwnc.js} +1 -1
- package/bundle/chunk-gz90qgcn.js +2 -0
- package/bundle/chunk-gzz78dnm.js +2 -0
- package/bundle/{chunk-840mmmzz.js → chunk-h3yazfmh.js} +4 -4
- package/bundle/{chunk-d4faz5xa.js → chunk-h429rzqp.js} +1 -1
- package/bundle/{chunk-f0dp1tf9.js → chunk-h5y0pwwc.js} +1 -1
- package/bundle/{chunk-62gefpwn.js → chunk-h6b6acrv.js} +2 -2
- package/bundle/{chunk-19rs84t8.js → chunk-h8bq75er.js} +1 -1
- package/bundle/{chunk-99df6wvm.js → chunk-ha147mdc.js} +1 -1
- package/bundle/{chunk-xdcwx384.js → chunk-ha1w0xzh.js} +1 -1
- package/bundle/{chunk-5341jv20.js → chunk-ha294vpj.js} +1 -1
- package/bundle/chunk-hfrjkgyk.js +2 -0
- package/bundle/chunk-hjpt1n6g.js +2 -0
- package/bundle/{chunk-bzh71a92.js → chunk-hvdre0mb.js} +1 -1
- package/bundle/{chunk-86sfzgnf.js → chunk-hxf2a10r.js} +1 -1
- package/bundle/{chunk-4ppw719f.js → chunk-j09qf4zh.js} +1 -1
- package/bundle/chunk-j0jayfyn.js +35 -0
- package/bundle/{chunk-ffz334ab.js → chunk-j5b0yc0f.js} +1 -1
- package/bundle/{chunk-n6pn4f3r.js → chunk-j767byd1.js} +1 -1
- package/bundle/chunk-j794z99k.js +2 -0
- package/bundle/{chunk-y1v7mf1a.js → chunk-j95mkzwg.js} +123 -123
- package/bundle/{chunk-rn3je2hv.js → chunk-jcznttek.js} +1 -1
- package/bundle/{chunk-4v29ayke.js → chunk-jgw20mxx.js} +1 -1
- package/bundle/{chunk-175720ws.js → chunk-jhdpwndc.js} +2 -2
- package/bundle/{chunk-9gxyt2ay.js → chunk-jkqa49xc.js} +2 -2
- package/bundle/{chunk-sb3cgb4v.js → chunk-jmg64erz.js} +1 -1
- package/bundle/chunk-jpw7z507.js +2 -0
- package/bundle/{chunk-3cs1qf8x.js → chunk-jr622341.js} +1 -1
- package/bundle/{chunk-qpggztkq.js → chunk-jv69hdp0.js} +2 -2
- package/bundle/chunk-jx9c90ft.js +2 -0
- package/bundle/{chunk-fpzkyzny.js → chunk-kevhkmn2.js} +2 -2
- package/bundle/{chunk-bxnsrggq.js → chunk-khpjjjsb.js} +1 -1
- package/bundle/chunk-kkfrys0w.js +2 -0
- package/bundle/chunk-kkq2vwm6.js +2 -0
- package/bundle/{chunk-qqsj69m2.js → chunk-km1tyeyy.js} +1 -1
- package/bundle/chunk-kp0w1p79.js +2 -0
- package/bundle/chunk-kr7t73tg.js +3 -0
- package/bundle/chunk-kt7q9620.js +2 -0
- package/bundle/{chunk-8a9sj8gp.js → chunk-kzcb1pt4.js} +1 -1
- package/bundle/{chunk-jwv6fda1.js → chunk-m0f6cf9n.js} +2 -2
- package/bundle/chunk-m30bgt2t.js +2 -0
- package/bundle/chunk-m318f9es.js +2 -0
- package/bundle/{chunk-1mfdmm2t.js → chunk-m5r6zq6v.js} +1 -1
- package/bundle/chunk-m6g6za7b.js +2 -0
- package/bundle/chunk-m8djypsy.js +11 -0
- package/bundle/chunk-ma0vvbvy.js +2 -0
- package/bundle/chunk-mha4n5md.js +2 -0
- package/bundle/{chunk-s9epttpy.js → chunk-mhq2a5ms.js} +1 -1
- package/bundle/chunk-mp9qhnxg.js +2 -0
- package/bundle/{chunk-gd0j16gn.js → chunk-mqdvthkm.js} +1 -1
- package/bundle/{chunk-69k7cdtv.js → chunk-mqe1qa6t.js} +2 -2
- package/bundle/{chunk-j45p2v4a.js → chunk-mz6swd88.js} +3 -3
- package/bundle/{chunk-0m4gvjcv.js → chunk-n25t4j9w.js} +2 -2
- package/bundle/{chunk-hx13a8es.js → chunk-n7ewvphw.js} +3 -3
- package/bundle/chunk-n9wre9wx.js +2 -0
- package/bundle/chunk-ncbj74tk.js +3 -0
- package/bundle/{chunk-06tgmvh6.js → chunk-ne3z7yye.js} +2 -2
- package/bundle/chunk-nnyvn2pm.js +2 -0
- package/bundle/chunk-nyhx3822.js +2 -0
- package/bundle/{chunk-zjyaze0d.js → chunk-p54bzjtv.js} +1 -1
- package/bundle/{chunk-dvp0r93q.js → chunk-p5d5qyzq.js} +1 -1
- package/bundle/{chunk-m8kjtp60.js → chunk-p6mxxem5.js} +1 -1
- package/bundle/{chunk-fd04358e.js → chunk-p76c9s6g.js} +310 -309
- package/bundle/chunk-p8etcskm.js +2 -0
- package/bundle/{chunk-b350g18y.js → chunk-pf4gwr34.js} +2 -2
- package/bundle/{chunk-wf0n1cs9.js → chunk-pf61zhms.js} +1 -1
- package/bundle/{chunk-sh03ka27.js → chunk-pfx8ts02.js} +1 -1
- package/bundle/{chunk-e611m0p4.js → chunk-phvp9h7w.js} +1 -1
- package/bundle/chunk-pv71d7f3.js +2 -0
- package/bundle/{chunk-6wmtbebc.js → chunk-pwcmc8j7.js} +1 -1
- package/bundle/{chunk-g77kddrs.js → chunk-pyt4xpze.js} +2 -2
- package/bundle/{chunk-1bq15kf0.js → chunk-q0pd8bac.js} +2 -2
- package/bundle/{chunk-yg9n2a2d.js → chunk-q12dtxep.js} +1 -1
- package/bundle/{chunk-v1axkp21.js → chunk-q2j2dm96.js} +2 -2
- package/bundle/{chunk-rx9eh3db.js → chunk-qf1hh45g.js} +3 -3
- package/bundle/{chunk-p4xqfkbh.js → chunk-qqjspfqw.js} +1 -1
- package/bundle/{chunk-9kc2th5c.js → chunk-qvnsgyfk.js} +2 -2
- package/bundle/{chunk-rqap90xh.js → chunk-qz35c4xy.js} +2 -2
- package/bundle/{chunk-bemyyen3.js → chunk-r3z77rjn.js} +1 -1
- package/bundle/{chunk-chnr7pe5.js → chunk-r7mcn9ey.js} +1 -1
- package/bundle/{chunk-nzz7gzg2.js → chunk-rmpgmjtd.js} +1 -1
- package/bundle/{chunk-k0chq88p.js → chunk-rpt3rm31.js} +1 -1
- package/bundle/chunk-rteaec1s.js +2 -0
- package/bundle/chunk-rxwcah73.js +2 -0
- package/bundle/{chunk-s0gmxpxm.js → chunk-s1gy4hnw.js} +2 -2
- package/bundle/{chunk-4s1n38ds.js → chunk-s2ma1nz3.js} +2 -2
- package/bundle/chunk-s3gjc4m0.js +2 -0
- package/bundle/{chunk-6yshpz0z.js → chunk-s5taq9jy.js} +2 -2
- package/bundle/{chunk-5mf4qrye.js → chunk-s7017cak.js} +2 -2
- package/bundle/{chunk-6pt6nqwk.js → chunk-s9bn800b.js} +1 -1
- package/bundle/{chunk-73a7ts8r.js → chunk-sa3rjs2s.js} +1 -1
- package/bundle/{chunk-wfpnv00c.js → chunk-sprbs7aj.js} +2 -2
- package/bundle/{chunk-10q04xh5.js → chunk-sq2z7keb.js} +1 -1
- package/bundle/{chunk-w8nj5ph5.js → chunk-sqrx9csx.js} +1 -1
- package/bundle/{chunk-art8gejd.js → chunk-srf4jqcj.js} +1 -1
- package/bundle/{chunk-ffyj5nsg.js → chunk-ssp3nw24.js} +2 -2
- package/bundle/{chunk-6kch0q2d.js → chunk-svnhycdw.js} +2 -2
- package/bundle/chunk-swm990q6.js +2 -0
- package/bundle/chunk-sy42ayp2.js +2 -0
- package/bundle/{chunk-5rvvfgfy.js → chunk-t3kxce69.js} +2 -2
- package/bundle/chunk-t7mvej98.js +2 -0
- package/bundle/{chunk-6j53vtzd.js → chunk-t8pmy758.js} +1 -1
- package/bundle/{chunk-v7v0krrj.js → chunk-t9srpmte.js} +1 -1
- package/bundle/{chunk-358wdvj7.js → chunk-tatecas7.js} +2 -2
- package/bundle/chunk-teagh4hx.js +2 -0
- package/bundle/{chunk-avksqxan.js → chunk-tf40p520.js} +1 -1
- package/bundle/{chunk-y5ydtbpd.js → chunk-tpgksx59.js} +1 -1
- package/bundle/{chunk-02tmc2st.js → chunk-tr4cze2c.js} +1 -1
- package/bundle/chunk-tv4cp6f9.js +2 -0
- package/bundle/chunk-tw618904.js +2 -0
- package/bundle/{chunk-zpjtse0z.js → chunk-v1bqh3m6.js} +176 -176
- package/bundle/{chunk-j46bxb1b.js → chunk-v3bfzxxg.js} +1 -1
- package/bundle/{chunk-vr13f6b5.js → chunk-v5gf0wx6.js} +2 -2
- package/bundle/{chunk-d385e2qt.js → chunk-v6mnbwtz.js} +1 -1
- package/bundle/{chunk-bq6cvf16.js → chunk-v93gr6n9.js} +2 -2
- package/bundle/chunk-vdpffam0.js +2 -0
- package/bundle/chunk-ve5w7nkb.js +2 -0
- package/bundle/chunk-vey57h4x.js +30 -0
- package/bundle/{chunk-pwq2f75j.js → chunk-vf492zs6.js} +1 -1
- package/bundle/{chunk-fkq0v5qv.js → chunk-vg9ec44m.js} +2 -2
- package/bundle/{chunk-61b81z2h.js → chunk-vh3n53qq.js} +1 -1
- package/bundle/{chunk-bmdqb48f.js → chunk-vk8gxf4y.js} +1 -1
- package/bundle/{chunk-rd08wx37.js → chunk-vr222v2n.js} +2 -2
- package/bundle/chunk-vrpca62q.js +2 -0
- package/bundle/{chunk-x3dzzq0t.js → chunk-w5fx69cw.js} +1 -1
- package/bundle/{chunk-05bkxat0.js → chunk-w9w59zjv.js} +2 -2
- package/bundle/{chunk-xmf59618.js → chunk-wbz79hns.js} +1 -1
- package/bundle/{chunk-gfvq78gy.js → chunk-wdrfzx4m.js} +1 -1
- package/bundle/{chunk-j3agzs13.js → chunk-wf18y499.js} +2 -2
- package/bundle/chunk-wvvygzz2.js +2 -0
- package/bundle/{chunk-w4fr00s7.js → chunk-wyxc99aa.js} +2 -2
- package/bundle/{chunk-5q98z8ck.js → chunk-x2mbre12.js} +2 -2
- package/bundle/{chunk-2d61z24r.js → chunk-x8rr2f15.js} +1 -1
- package/bundle/{chunk-7s9msscb.js → chunk-xpmgqa5n.js} +1 -1
- package/bundle/{chunk-rws2tsdv.js → chunk-xrwsttb7.js} +1 -1
- package/bundle/{chunk-wmj3xndt.js → chunk-xz6psr05.js} +1 -1
- package/bundle/{chunk-4xqwt6dr.js → chunk-xzshjp04.js} +2 -2
- package/bundle/chunk-y27gwnx9.js +2 -0
- package/bundle/chunk-y2ms7q84.js +2 -0
- package/bundle/{chunk-1pft3sar.js → chunk-y8bjb32m.js} +1 -1
- package/bundle/{chunk-h036zy9e.js → chunk-ya7wrt5f.js} +2 -2
- package/bundle/{chunk-ahgb3r1c.js → chunk-ycjz7y1x.js} +2 -2
- package/bundle/{chunk-10kj86va.js → chunk-ykqx1z0b.js} +1 -1
- package/bundle/chunk-yq4vck53.js +2 -0
- package/bundle/{chunk-j2snkw45.js → chunk-yxsc90ba.js} +2 -2
- package/bundle/{chunk-5cwy8y78.js → chunk-yy5qqab3.js} +2 -2
- package/bundle/{chunk-86reb44c.js → chunk-z38am71w.js} +1 -1
- package/bundle/{chunk-pwrwb7mn.js → chunk-z6mqdbj1.js} +1 -1
- package/bundle/{chunk-nyxn7npc.js → chunk-z87ew6d3.js} +1 -1
- package/bundle/{chunk-m6967jtv.js → chunk-z9k4506p.js} +2 -2
- package/bundle/{chunk-hf39qx6t.js → chunk-zezz8xfw.js} +2 -2
- package/bundle/{chunk-ffx0cr44.js → chunk-zg72kz2k.js} +2 -2
- package/bundle/chunk-zkxc41ek.js +2 -0
- package/bundle/{chunk-tz1bzrnh.js → chunk-zssy3srh.js} +1 -1
- package/bundle/{chunk-ae1g5y4r.js → chunk-zyz4na64.js} +1 -1
- package/bundle/{chunk-e18hshcg.js → chunk-zzsetq5f.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-00r3he5x.js +0 -2
- package/bundle/chunk-0ks20gz1.js +0 -2
- package/bundle/chunk-1a08ffyd.js +0 -2
- package/bundle/chunk-1r7anzk5.js +0 -2
- package/bundle/chunk-26e51217.js +0 -2
- package/bundle/chunk-2g4kxtz0.js +0 -2
- package/bundle/chunk-2jzay8a9.js +0 -2
- package/bundle/chunk-2q78bdtj.js +0 -2
- package/bundle/chunk-30rghawe.js +0 -2
- package/bundle/chunk-31a47ptm.js +0 -10
- package/bundle/chunk-33mzqyyb.js +0 -3
- package/bundle/chunk-34yk99ep.js +0 -2
- package/bundle/chunk-3dajnr1w.js +0 -2
- package/bundle/chunk-3ege6krg.js +0 -2
- package/bundle/chunk-43vpxggb.js +0 -2
- package/bundle/chunk-49y7zg15.js +0 -2
- package/bundle/chunk-5qhsfjzq.js +0 -3
- package/bundle/chunk-5xxn06g0.js +0 -2
- package/bundle/chunk-7cp30q0t.js +0 -2
- package/bundle/chunk-7xc73qb1.js +0 -2
- package/bundle/chunk-8gz8fk6r.js +0 -2
- package/bundle/chunk-8ht7cq3h.js +0 -2
- package/bundle/chunk-8qv0119d.js +0 -2
- package/bundle/chunk-9m0eawt5.js +0 -2
- package/bundle/chunk-9thgxbze.js +0 -2
- package/bundle/chunk-a32y70fe.js +0 -2
- package/bundle/chunk-avzaqy6a.js +0 -2
- package/bundle/chunk-az12tp53.js +0 -2
- package/bundle/chunk-b5dpzcc7.js +0 -2
- package/bundle/chunk-bcgtqx3g.js +0 -2
- package/bundle/chunk-bde5d507.js +0 -2
- package/bundle/chunk-bzzggc3s.js +0 -2
- package/bundle/chunk-c8qx439t.js +0 -2
- package/bundle/chunk-ckw51fn6.js +0 -2
- package/bundle/chunk-denp0wrq.js +0 -2
- package/bundle/chunk-depxzjer.js +0 -2
- package/bundle/chunk-dhvqpcf3.js +0 -2
- package/bundle/chunk-dkqqswbv.js +0 -2
- package/bundle/chunk-dn0437c1.js +0 -5
- package/bundle/chunk-e5t7jsxa.js +0 -2
- package/bundle/chunk-eb811dt2.js +0 -2
- package/bundle/chunk-fbz2xv2w.js +0 -2
- package/bundle/chunk-gbvcb4k1.js +0 -2
- package/bundle/chunk-gdtnqzbp.js +0 -2
- package/bundle/chunk-gkfvhh28.js +0 -2
- package/bundle/chunk-gnh8c49b.js +0 -2
- package/bundle/chunk-gvf6ek9f.js +0 -2
- package/bundle/chunk-gvx5hmhk.js +0 -2
- package/bundle/chunk-hham7r33.js +0 -2
- package/bundle/chunk-hsjbe5zy.js +0 -2
- package/bundle/chunk-j1bv93m4.js +0 -31
- package/bundle/chunk-jvvctqjd.js +0 -8
- package/bundle/chunk-jvx7jtm4.js +0 -3
- package/bundle/chunk-k6gdmqff.js +0 -2
- package/bundle/chunk-kzkb4648.js +0 -2
- package/bundle/chunk-m2540waa.js +0 -2
- package/bundle/chunk-mscvm1rm.js +0 -2
- package/bundle/chunk-mw3hh526.js +0 -2
- package/bundle/chunk-n3nsrk5n.js +0 -2
- package/bundle/chunk-n9nmc4q4.js +0 -2
- package/bundle/chunk-nj4as8vy.js +0 -2
- package/bundle/chunk-nrzca9yd.js +0 -2
- package/bundle/chunk-nxm6gpyv.js +0 -2
- package/bundle/chunk-pp10epga.js +0 -8
- package/bundle/chunk-qbjqkezn.js +0 -2
- package/bundle/chunk-qhtp1xvx.js +0 -2
- package/bundle/chunk-qkztgpay.js +0 -2
- package/bundle/chunk-rnf3dy0y.js +0 -2
- package/bundle/chunk-rry4kq85.js +0 -2
- package/bundle/chunk-ryfj80q6.js +0 -2
- package/bundle/chunk-snx49w8h.js +0 -2
- package/bundle/chunk-t21mdqbb.js +0 -2
- package/bundle/chunk-tn2yyqeb.js +0 -2
- package/bundle/chunk-ttebf3nt.js +0 -2
- package/bundle/chunk-twpfh0mx.js +0 -2
- package/bundle/chunk-tzf6d5qy.js +0 -2
- package/bundle/chunk-v2mq09wx.js +0 -2
- package/bundle/chunk-v59a02aj.js +0 -2
- package/bundle/chunk-vnstr4g1.js +0 -2
- package/bundle/chunk-vxr4rzt0.js +0 -2
- package/bundle/chunk-w0h9rczg.js +0 -2
- package/bundle/chunk-w214dwws.js +0 -2
- package/bundle/chunk-w8344et5.js +0 -2
- package/bundle/chunk-weyg78et.js +0 -2
- package/bundle/chunk-xchj8gna.js +0 -2
- package/bundle/chunk-y18ptwk2.js +0 -2
- package/bundle/chunk-y3dpyz2d.js +0 -2
- package/bundle/chunk-ykvgmje9.js +0 -35
- package/bundle/chunk-yvjecrjy.js +0 -2
- package/bundle/chunk-yw2x6by6.js +0 -2
- package/bundle/chunk-z0r4syk8.js +0 -2
- package/bundle/chunk-z7c00g63.js +0 -2
- package/bundle/chunk-znr0saas.js +0 -2
- package/bundle/chunk-zqqt7v17.js +0 -2
- package/bundle/chunk-zwrgh1hc.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{A as g,u as a,v as b,w as c,x as d,y as e,z as f}from"./chunk-km1tyeyy.js";import"./chunk-m0f6cf9n.js";import"./chunk-n7ewvphw.js";import"./chunk-ya7wrt5f.js";import"./chunk-wf18y499.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-4gv7nsdd.js";import"./chunk-76jbys6j.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-pfx8ts02.js";export{e as waitForDependencies,c as layer,f as get,d as defaultLayer,g as TuiConfig,b as Service,a as Info};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$
|
|
2
|
+
import{$p as E,Ap as d,Bp as e,Cp as f,Dp as g,Ep as h,Fp as i,Gp as j,Hp as k,Ip as l,Jp as m,Kp as n,Lp as o,Mp as p,Np as q,Op as r,Pp as s,Qp as t,Rp as u,Sp as v,Tp as w,Up as x,Vp as y,Wp as z,Xp as A,Yp as B,Zp as C,_p as D,aq as F,bq as G,cq as H,dq as I,eq as J,fq as K,gq as L,hq as M,iq as N,jq as O,kq as P,lq as Q,mq as R,nq as S,oq as T,pq as U,qq as V,rq as W,sq as X,tq as Y,xp as a,yp as b,zp as c}from"./chunk-vey57h4x.js";import"./chunk-40pe0tde.js";import"./chunk-d4y5hyjg.js";import"./chunk-q0pd8bac.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-9exxjnxc.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-pfx8ts02.js";export{S as transformQlexStream,T as toOrchestratedSSEStream,U as toOpenAICompletion,o as sanitizeUpstreamProviderError,d as safeQlexRequestId,G as resolveToolMode,c as resolveQlexRetryable,D as renderToolProtocolPrompt,J as recordTierOutputAdvisory,u as planTierBudget,P as partialTagSuffixLength,O as parseQlexFrame,t as parseQlexError,w as normalizeQlexMessagesWithReport,x as normalizeQlexMessages,A as mergeLeadingSystemMessages,r as isGatewayRequiredError,N as isFreeTierFallbackRoutingChunk,y as hasUserRoleMessage,z as hasUsableUserMessage,H as hasToolContext,Y as getTierOutputBudgetRecovery,K as getTierOutputAdvisory,M as flushTierOutputAdvisoryWrites,v as flattenMessageContent,s as extractQlexErrorMetadata,F as encodeToolProtocolMessages,Q as encodeExtractedArguments,E as decodeToolArgumentsToObject,W as createQlexProvider,V as createCustomFetch,L as clearTierOutputAdvisories,q as classifyQlexStreamError,X as canIncreaseTierOutputBudget,I as buildQlexBody,R as ToolCallExtractor,B as TOOL_CALL_OPEN,C as TOOL_CALL_CLOSE,p as QlexStreamError,j as QlexRequestTooLargeError,i as QlexRequestRejectedError,k as QlexRequestNotSentError,g as QlexRateLimitError,e as QlexNotLoggedInError,h as QlexInvalidCredentialsError,f as QlexInsufficientBalanceError,l as QlexGatewayError,a as QLEX_STREAM_URL,n as QLEX_STREAM_IDLE_TIMEOUT_MS,m as QLEX_RESPONSE_TIMEOUT_MS,b as QLEX_ORCHESTRATED_URL};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{ge as b}from"./chunk-sqrx9csx.js";import{dg as t}from"./chunk-5t69v8jg.js";import{Bh as u}from"./chunk-p76c9s6g.js";import"./chunk-az2pxgx6.js";import"./chunk-bd21p9zz.js";import"./chunk-p54bzjtv.js";import"./chunk-ha1w0xzh.js";import"./chunk-vr222v2n.js";import"./chunk-6vpc1y3w.js";import{Tk as y,_j as m}from"./chunk-j95mkzwg.js";import{pl as v}from"./chunk-tatecas7.js";import{Nl as a}from"./chunk-52n4tdeh.js";import"./chunk-ft4msj4z.js";import"./chunk-m8djypsy.js";import"./chunk-m0f6cf9n.js";import"./chunk-n7ewvphw.js";import"./chunk-ya7wrt5f.js";import"./chunk-wf18y499.js";import"./chunk-4bp91rza.js";import"./chunk-6vxddv5w.js";import"./chunk-dwza14dk.js";import"./chunk-vey57h4x.js";import"./chunk-40pe0tde.js";import"./chunk-d4y5hyjg.js";import"./chunk-q0pd8bac.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-z9k4506p.js";import"./chunk-yxsc90ba.js";import"./chunk-vk8gxf4y.js";import"./chunk-jr622341.js";import"./chunk-xzshjp04.js";import"./chunk-pyt4xpze.js";import"./chunk-52f62kr0.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-4gv7nsdd.js";import"./chunk-afagt413.js";import"./chunk-76jbys6j.js";import"./chunk-9exxjnxc.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import{MJ as s}from"./chunk-qvnsgyfk.js";import"./chunk-zezz8xfw.js";import"./chunk-bkqemdv8.js";import"./chunk-pfx8ts02.js";import{EOL as f}from"os";var M=b({command:"models [provider]",describe:"list all available models",builder:(r)=>{return r.positional("provider",{describe:"provider ID to filter models by",type:"string",array:!1}).option("verbose",{describe:"use more verbose model output (includes metadata like costs)",type:"boolean"}).option("refresh",{describe:"refresh the models cache from models.dev",type:"boolean"})},handler:async(r)=>{if(r.refresh)await v.refresh(!0),t.println(t.Style.TEXT_SUCCESS_BOLD+"Models cache refreshed"+t.Style.TEXT_NORMAL);await a.provide({directory:process.cwd(),async fn(){await u.runPromise(s.gen(function*(){let n=yield*(yield*y.Service).list(),l=(e,o)=>{let i=n[e],d=Object.entries(i.models).sort(([c],[p])=>c.localeCompare(p));for(let[c,p]of d)if(process.stdout.write(`${e}/${c}`),process.stdout.write(f),o)process.stdout.write(JSON.stringify(p,null,2)),process.stdout.write(f)};if(r.provider){let e=m.make(r.provider);if(!n[e]){yield*s.sync(()=>t.error(`Provider not found: ${r.provider}`));return}yield*s.sync(()=>l(e,r.verbose));return}let h=Object.keys(n).sort((e,o)=>{let i=e.startsWith("opencode"),d=o.startsWith("opencode");if(i&&!d)return-1;if(!i&&d)return 1;return e.localeCompare(o)});yield*s.sync(()=>{for(let e of h)l(m.make(e),r.verbose)})}))}})}});export{M as ModelsCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{cl as a}from"./chunk-j95mkzwg.js";import"./chunk-tatecas7.js";import"./chunk-52n4tdeh.js";import"./chunk-ft4msj4z.js";import"./chunk-m8djypsy.js";import"./chunk-m0f6cf9n.js";import"./chunk-n7ewvphw.js";import"./chunk-ya7wrt5f.js";import"./chunk-wf18y499.js";import"./chunk-4bp91rza.js";import"./chunk-6vxddv5w.js";import"./chunk-dwza14dk.js";import"./chunk-vey57h4x.js";import"./chunk-40pe0tde.js";import"./chunk-d4y5hyjg.js";import"./chunk-q0pd8bac.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-z9k4506p.js";import"./chunk-yxsc90ba.js";import"./chunk-vk8gxf4y.js";import"./chunk-jr622341.js";import"./chunk-52f62kr0.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-4gv7nsdd.js";import"./chunk-afagt413.js";import"./chunk-76jbys6j.js";import"./chunk-9exxjnxc.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-bkqemdv8.js";import"./chunk-pfx8ts02.js";export{a as Session};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{yu as k}from"./chunk-sg9enzsp.js";import{ux as j,vx as z,zz as u}from"./chunk-5q98z8ck.js";import"./chunk-sh03ka27.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};
|
|
2
|
+
import{cw as k}from"./chunk-9tfm1dk2.js";import{$y as z,_y as j,dB as u}from"./chunk-x2mbre12.js";import"./chunk-pfx8ts02.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{vr as e,wr as V}from"./chunk-g77kddrs.js";import{tP as N}from"./chunk-x0de4z05.js";import{uP as z}from"./chunk-sh03ka27.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{$s as e,at as V}from"./chunk-pyt4xpze.js";import{ZQ as N}from"./chunk-bkqemdv8.js";import{_Q as z}from"./chunk-pfx8ts02.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,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{ge as q}from"./chunk-sqrx9csx.js";import{dg as v}from"./chunk-5t69v8jg.js";import{Bh as S}from"./chunk-p76c9s6g.js";import"./chunk-az2pxgx6.js";import"./chunk-bd21p9zz.js";import"./chunk-p54bzjtv.js";import"./chunk-ha1w0xzh.js";import"./chunk-vr222v2n.js";import"./chunk-6vpc1y3w.js";import"./chunk-j95mkzwg.js";import"./chunk-tatecas7.js";import{El as Q,Nl as H}from"./chunk-52n4tdeh.js";import"./chunk-ft4msj4z.js";import"./chunk-m8djypsy.js";import"./chunk-m0f6cf9n.js";import"./chunk-n7ewvphw.js";import"./chunk-ya7wrt5f.js";import"./chunk-wf18y499.js";import"./chunk-4bp91rza.js";import"./chunk-6vxddv5w.js";import"./chunk-dwza14dk.js";import"./chunk-vey57h4x.js";import"./chunk-40pe0tde.js";import"./chunk-d4y5hyjg.js";import"./chunk-q0pd8bac.js";import"./chunk-4dy64hgp.js";import"./chunk-cqtkxwd8.js";import"./chunk-gt10s0ks.js";import"./chunk-z9k4506p.js";import"./chunk-yxsc90ba.js";import"./chunk-vk8gxf4y.js";import"./chunk-jr622341.js";import"./chunk-xzshjp04.js";import"./chunk-pyt4xpze.js";import"./chunk-52f62kr0.js";import"./chunk-svnhycdw.js";import"./chunk-9skj2w9e.js";import"./chunk-m5r6zq6v.js";import{tu as K}from"./chunk-vg9ec44m.js";import"./chunk-e826jvr2.js";import"./chunk-4gv7nsdd.js";import"./chunk-afagt413.js";import"./chunk-76jbys6j.js";import"./chunk-9exxjnxc.js";import"./chunk-dm7hfb7f.js";import"./chunk-s5taq9jy.js";import"./chunk-62mb6wxm.js";import"./chunk-zg72kz2k.js";import"./chunk-kr7t73tg.js";import"./chunk-9tfm1dk2.js";import"./chunk-x2mbre12.js";import"./chunk-sprbs7aj.js";import"./chunk-qvnsgyfk.js";import"./chunk-zezz8xfw.js";import"./chunk-bkqemdv8.js";import"./chunk-pfx8ts02.js";var P=q({command:"pr <number>",describe:"fetch and checkout a GitHub PR branch, then run qitqode",builder:(Y)=>Y.positional("number",{type:"number",describe:"PR number to checkout",demandOption:!0}),async handler(Y){await H.provide({directory:process.cwd(),async fn(){if(H.project.vcs!=="git")v.error("Could not find git repository. Please run this command from a git repository."),process.exit(1);let J=Y.number,Z=`pr/${J}`;if(v.println(`Fetching and checking out PR #${J}...`),(await K.run(["gh","pr","checkout",`${J}`,"--branch",Z,"--force"],{nothrow:!0})).code!==0)v.error(`Failed to checkout PR #${J}. Make sure you have gh CLI installed and authenticated.`),process.exit(1);let _=await K.text(["gh","pr","view",`${J}`,"--json","headRepository,headRepositoryOwner,isCrossRepository,headRefName,body"],{nothrow:!0}),V;if(_.code===0){let j=_.text;if(j.trim()){let z=JSON.parse(j);if(z&&z.isCrossRepository&&z.headRepository&&z.headRepositoryOwner){let L=z.headRepositoryOwner.login,W=z.headRepository.name,C=L;if(!(await S.runPromise(Q.Service.use((F)=>F.run(["remote"],{cwd:H.worktree}))).then((F)=>F.text().trim())).split(`
|
|
3
3
|
`).includes(C))await S.runPromise(Q.Service.use((F)=>F.run(["remote","add",C,`https://github.com/${L}/${W}.git`],{cwd:H.worktree}))),v.println(`Added fork remote: ${C}`);let X=z.headRefName;await S.runPromise(Q.Service.use((F)=>F.run(["branch",`--set-upstream-to=${C}/${X}`,Z],{cwd:H.worktree})))}if(z&&z.body){let L=z.body.match(/https:\/\/opncd\.ai\/s\/([a-zA-Z0-9_-]+)/);if(L){let W=L[0];v.println(`Found qitqode session: ${W}`),v.println("Importing session...");let C=await K.text(["qitqode","import",W],{nothrow:!0});if(C.code===0){let X=C.text.trim().match(/Imported session: ([a-zA-Z0-9_-]+)/);if(X)V=X[1],v.println(`Session imported: ${V}`)}}}}}v.println(`Successfully checked out PR #${J} as branch '${Z}'`),v.println(),v.println("Starting qitqode..."),v.println();let D=V?["-s",V]:[],$=await K.spawn(["qitqode",...D],{stdin:"inherit",stdout:"inherit",stderr:"inherit",cwd:process.cwd()}).exited;if($!==0)throw Error(`qitqode exited with code ${$}`)}})}});export{P as PrCommand};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var f={"language.en":"English","language.zh":"\u7B80\u4F53\u4E2D\u6587","language.zht":"\u7E41\u9AD4\u4E2D\u6587","language.ko":"\uD55C\uAD6D\uC5B4","language.de":"Deutsch","language.es":"Espa\xF1ol","language.fr":"Fran\xE7ais","language.da":"Dansk","language.ja":"\u65E5\u672C\u8A9E","language.pl":"Polski","language.ru":"\u0420\u0443\u0441\u0441\u043A\u0438\u0439","language.ar":"\u0627\u0644\u0639\u0631\u0628\u064A\u0629","language.no":"Norsk","language.br":"Portugu\xEAs (Brasil)","language.pt":"Portugu\xEAs","language.bs":"Bosanski","language.th":"\u0E44\u0E17\u0E22","language.tr":"T\xFCrk\xE7e","tui.prompt.placeholder.normal":'\u0421\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0447\u0442\u043E \u0443\u0433\u043E\u0434\u043D\u043E... "{{example}}"',"tui.prompt.placeholder.shell":'\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u0443... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab \u2014 \u043F\u0440\u0438\u043D\u044F\u0442\u044C)","tui.home.placeholder.example.todo":"\u0418\u0441\u043F\u0440\u0430\u0432\u044C TODO \u0432 \u043A\u043E\u0434\u043E\u0432\u043E\u0439 \u0431\u0430\u0437\u0435","tui.home.placeholder.example.stack":"\u041A\u0430\u043A\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0441\u0442\u0435\u043A \u0443 \u044D\u0442\u043E\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430?","tui.home.placeholder.example.tests":"\u041F\u043E\u0447\u0438\u043D\u0438 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u0442\u0435\u0441\u0442\u044B","tui.home.agreement.prefix":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F QitQode, \u0432\u044B \u0441\u043E\u0433\u043B\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043D\u0430\u0448\u0438\u043C\u0438 ","tui.home.agreement.terms":"\u0423\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F","tui.home.agreement.separator":" \u0438 ","tui.home.agreement.privacy":"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u043E\u0439 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u043F\u0440\u0438\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0444\u0430\u0439\u043B","tui.prompt.hint.subagent":"\u0441\u0443\u0431\u0430\u0433\u0435\u043D\u0442","tui.prompt.hint.commands":"\u043A\u043E\u043C\u0430\u043D\u0434\u044B","tui.prompt.hint.switch_mode":"\u0441\u043C\u0435\u043D\u0438\u0442\u044C \u0440\u0435\u0436\u0438\u043C","tui.prompt.hint.settings":"\u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438","tui.tips.label":"\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430","tui.tips.plain_terminal":"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C iTerm \u0438\u043B\u0438 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B VS Code","tui.tips.attach_file":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 {highlight}@{/highlight}, \u0430 \u0437\u0430\u0442\u0435\u043C \u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430, \u0447\u0442\u043E\u0431\u044B \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043D\u0435\u0447\u0451\u0442\u043A\u0438\u0439 \u043F\u043E\u0438\u0441\u043A \u0438 \u043F\u0440\u0438\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B","tui.tips.shell_prefix":"\u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0441 {highlight}!{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C shell-\u043A\u043E\u043C\u0430\u043D\u0434\u0443 \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, {highlight}!ls -la{/highlight})","tui.tips.tab_agent":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Tab{/highlight} \u0438\u043B\u0438 {highlight}Shift+Tab{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 Build, Plan \u0438 Compose","tui.tips.theme_mode":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/dark{/highlight} \u0434\u043B\u044F \u0442\u0451\u043C\u043D\u043E\u0433\u043E \u0440\u0435\u0436\u0438\u043C\u0430 \u0438\u043B\u0438 {highlight}/light{/highlight} \u0434\u043B\u044F \u0441\u0432\u0435\u0442\u043B\u043E\u0433\u043E","tui.tips.doc":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/doc{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0443\u044E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E","tui.tips.undo":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}/undo{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0444\u0430\u0439\u043B\u043E\u0432","tui.tips.redo":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}/redo{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0440\u0430\u043D\u0435\u0435 \u043E\u0442\u043C\u0435\u043D\u0451\u043D\u043D\u044B\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F","tui.tips.drag_drop":"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 PDF \u0432 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B, \u0447\u0442\u043E\u0431\u044B \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0438\u0445 \u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442","tui.tips.paste_image":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+V{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0438\u0437 \u0431\u0443\u0444\u0435\u0440\u0430 \u043E\u0431\u043C\u0435\u043D\u0430 \u0432 \u0441\u0442\u0440\u043E\u043A\u0443 \u0432\u0432\u043E\u0434\u0430","tui.tips.editor":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X E{/highlight} \u0438\u043B\u0438 {highlight}/editor{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0432\u043E \u0432\u043D\u0435\u0448\u043D\u0435\u043C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","tui.tips.init":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/init{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0430\u0432\u0438\u043B\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u043F\u043E \u0432\u0430\u0448\u0435\u043C\u0443 \u043A\u043E\u0434\u0443","tui.tips.models":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/models{/highlight} \u0438\u043B\u0438 {highlight}Ctrl+X M{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u043C\u043E\u0434\u0435\u043B\u044F\u043C\u0438","tui.tips.theme":'\u0417\u0430\u043A\u0440\u0435\u043F\u0438\u0442\u0435 \u0440\u0435\u0436\u0438\u043C \u0442\u0435\u043C\u044B \u043D\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E \u043E\u0442 \u0444\u043E\u043D\u0430 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430 \u2014 \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u043F\u0430\u043B\u0438\u0442\u0440\u0443 \u043A\u043E\u043C\u0430\u043D\u0434 ({highlight}Ctrl+P{/highlight}) \u0438 \u043D\u0430\u0439\u0434\u0438\u0442\u0435 "lock"',"tui.tips.new_session":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X N{/highlight} \u0438\u043B\u0438 {highlight}/new{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E","tui.tips.sessions":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}/sessions{/highlight} \u0438\u043B\u0438 {highlight}Ctrl+X L{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0438","tui.tips.compact":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/compact{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0441\u0436\u0438\u043C\u0430\u0442\u044C \u0434\u043B\u0438\u043D\u043D\u044B\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u0443 \u0433\u0440\u0430\u043D\u0438\u0446\u044B \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430","tui.tips.export":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X X{/highlight} \u0438\u043B\u0438 {highlight}/export{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0434\u0438\u0430\u043B\u043E\u0433 \u0432 Markdown","tui.tips.copy_last":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X Y{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430","tui.tips.command_palette":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+P{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u0441\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","tui.tips.leader":"\u041B\u0438\u0434\u0435\u0440-\u043A\u043B\u0430\u0432\u0438\u0448\u0430 \u2014 {highlight}Ctrl+X{/highlight}; \u0441\u043E\u0447\u0435\u0442\u0430\u0439\u0442\u0435 \u0435\u0451 \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0430\u043C\u0438 \u0434\u043B\u044F \u0431\u044B\u0441\u0442\u0440\u044B\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439","tui.tips.f2":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}F2{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u043D\u0435\u0434\u0430\u0432\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u043C\u0438 \u043C\u043E\u0434\u0435\u043B\u044F\u043C\u0438","tui.tips.sidebar":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X B{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043B\u0438 \u0441\u043A\u0440\u044B\u0442\u044C \u0431\u043E\u043A\u043E\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C","tui.tips.history":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F \u043F\u043E \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0434\u0438\u0430\u043B\u043E\u0433\u0430","tui.tips.jump_first":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+G{/highlight} \u0438\u043B\u0438 {highlight}Home{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u043D\u0430\u0447\u0430\u043B\u043E \u0434\u0438\u0430\u043B\u043E\u0433\u0430","tui.tips.jump_last":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+Alt+G{/highlight} \u0438\u043B\u0438 {highlight}End{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044E","tui.tips.newline":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Shift+Enter{/highlight} \u0438\u043B\u0438 {highlight}Ctrl+J{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441 \u0441\u0442\u0440\u043E\u043A\u0438 \u0432\u043E \u0432\u0432\u043E\u0434","tui.tips.clear_input":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+C{/highlight} \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u0432\u0432\u043E\u0434\u0430, \u0447\u0442\u043E\u0431\u044B \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u043B\u0435 \u0432\u0432\u043E\u0434\u0430","tui.tips.escape":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Escape{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u0418\u0418 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043E\u0442\u0432\u0435\u0442\u0430","tui.tips.plan_agent":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0430 {highlight}Plan{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0431\u0435\u0437 \u0440\u0435\u0430\u043B\u044C\u043D\u044B\u0445 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439","tui.tips.subagent":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}@agent-name{/highlight} \u0432 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430\u0445, \u0447\u0442\u043E\u0431\u044B \u0432\u044B\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u0434-\u0430\u0433\u0435\u043D\u0442\u043E\u0432","tui.tips.cycle_sessions":"\u041D\u0430\u0436\u0438\u043C\u0430\u0439\u0442\u0435 {highlight}Ctrl+X Right/Left{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C\u0441\u044F \u043C\u0435\u0436\u0434\u0443 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0438 \u0434\u043E\u0447\u0435\u0440\u043D\u0438\u043C\u0438 \u0441\u0435\u0441\u0441\u0438\u044F\u043C\u0438","tui.tips.config_files":"\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 {highlight}qitqode.json{/highlight} \u0434\u043B\u044F \u0441\u0435\u0440\u0432\u0435\u0440\u043D\u044B\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0438 {highlight}tui.json{/highlight} \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A TUI","tui.tips.global_config":"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 TUI \u0432 {highlight}~/.config/qitqode/tui.json{/highlight} \u043A\u0430\u043A \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0435","tui.tips.schema":"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 {highlight}$schema{/highlight} \u0432 \u043A\u043E\u043D\u0444\u0438\u0433 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u0434\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440\u0435","tui.tips.default_model":"\u0417\u0430\u0434\u0430\u0439\u0442\u0435 {highlight}model{/highlight} \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0435, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043C\u043E\u0434\u0435\u043B\u044C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E","tui.tips.keybinds":"\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439\u0442\u0435 \u043B\u044E\u0431\u044B\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448 \u0432 {highlight}tui.json{/highlight} \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 {highlight}keybinds{/highlight}","tui.tips.disable_keybind":"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435 \u0432 {highlight}none{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E \u0435\u0433\u043E \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C","tui.tips.mcp_config":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u0438\u043B\u0438 \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0435 MCP-\u0441\u0435\u0440\u0432\u0435\u0440\u044B \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 {highlight}mcp{/highlight} \u043A\u043E\u043D\u0444\u0438\u0433\u0430","tui.tips.mcp_oauth":"QitQode \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0435\u0442 OAuth \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u044B\u0445 MCP-\u0441\u0435\u0440\u0432\u0435\u0440\u043E\u0432 \u0441 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0435\u0439","tui.tips.custom_command":"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0444\u0430\u0439\u043B\u044B {highlight}.md{/highlight} \u0432 {highlight}.qitqode/command/{/highlight} \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0445 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u043A\u043E\u043C\u0430\u043D\u0434","tui.tips.command_args":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} \u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0445 \u0434\u043B\u044F \u0434\u0438\u043D\u0430\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0432\u0432\u043E\u0434\u0430","tui.tips.command_backticks":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043E\u0431\u0440\u0430\u0442\u043D\u044B\u0435 \u043A\u0430\u0432\u044B\u0447\u043A\u0438 \u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0430\u0445, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0432\u044B\u0432\u043E\u0434 shell (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, {highlight}`git status`{/highlight})","tui.tips.custom_agent":"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0444\u0430\u0439\u043B\u044B {highlight}.md{/highlight} \u0432 {highlight}.qitqode/agent/{/highlight} \u0434\u043B\u044F \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 AI-\u043F\u0435\u0440\u0441\u043E\u043D","tui.tips.agent_perms":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0430\u0433\u0435\u043D\u0442\u0430 \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u0440\u0430\u0432\u0430 \u043D\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B {highlight}edit{/highlight}, {highlight}bash{/highlight} \u0438 {highlight}webfetch{/highlight}","tui.tips.bash_allow":'\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u044B \u0432\u0440\u043E\u0434\u0435 {highlight}"git *": "allow"{/highlight} \u0434\u043B\u044F \u0442\u043E\u043D\u043A\u0438\u0445 bash-\u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439',"tui.tips.bash_deny":'\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 {highlight}"rm -rf *": "deny"{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0430\u0437\u0440\u0443\u0448\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B',"tui.tips.bash_ask":'\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 {highlight}"git push": "ask"{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044C \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0435\u0440\u0435\u0434 push',"tui.tips.formatter":"QitQode \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E prettier, gofmt, ruff \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.tips.disable_formatter":'\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 {highlight}"formatter": false{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u0441\u0451 \u0430\u0432\u0442\u043E-\u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435',"tui.tips.custom_formatter":"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439\u0442\u0435 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u0438\u044F\u043C \u0444\u0430\u0439\u043B\u043E\u0432 \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0435","tui.tips.lsp":"QitQode \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 LSP-\u0441\u0435\u0440\u0432\u0435\u0440\u044B \u0434\u043B\u044F \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u043E\u0434\u0430","tui.tips.custom_tool":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0444\u0430\u0439\u043B\u044B {highlight}.ts{/highlight} \u0432 {highlight}.qitqode/tools/{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0435 LLM-\u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B","tui.tips.tool_scripts":"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0442\u044C \u0441\u043A\u0440\u0438\u043F\u0442\u044B \u043D\u0430 Python, Go \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u044F\u0437\u044B\u043A\u0430\u0445","tui.tips.plugins":"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0439\u0442\u0435 \u0444\u0430\u0439\u043B\u044B {highlight}.ts{/highlight} \u0432 {highlight}.qitqode/plugin/{/highlight} \u0434\u043B\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0445\u0443\u043A\u043E\u0432 \u0441\u043E\u0431\u044B\u0442\u0438\u0439","tui.tips.plugin_notify":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043F\u043B\u0430\u0433\u0438\u043D\u044B, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0441\u0441\u0438\u0439","tui.tips.plugin_protect":"\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043F\u043B\u0430\u0433\u0438\u043D, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0437\u0430\u043F\u0440\u0435\u0442\u0438\u0442 QitQode \u0447\u0438\u0442\u0430\u0442\u044C \u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B","tui.tips.run":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}qitqode run{/highlight} \u0434\u043B\u044F \u043D\u0435\u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u0441\u043A\u0440\u0438\u043F\u0442\u043E\u0432","tui.tips.continue":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}qitqode --continue{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u044E\u044E \u0441\u0435\u0441\u0441\u0438\u044E","tui.tips.attach_cli":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}qitqode run -f file.ts{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043A\u0440\u0435\u043F\u0438\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u0438\u0437 \u043A\u043E\u043C\u0430\u043D\u0434\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438","tui.tips.format_json":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}--format json{/highlight} \u0434\u043B\u044F \u043C\u0430\u0448\u0438\u043D\u043D\u043E-\u0447\u0438\u0442\u0430\u0435\u043C\u043E\u0433\u043E \u0432\u044B\u0432\u043E\u0434\u0430 \u0432 \u0441\u043A\u0440\u0438\u043F\u0442\u0430\u0445","tui.tips.auth_list":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}qitqode auth status{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0432\u0445\u043E\u0434\u0430","tui.tips.agent_create":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}qitqode agent create{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0430\u0433\u0435\u043D\u0442\u0430 \u0432 \u043F\u043E\u0448\u0430\u0433\u043E\u0432\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435","tui.tips.theme_system":'\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}"theme": "system"{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0446\u0432\u0435\u0442\u0430\u043C \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430',"tui.tips.theme_files":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 JSON-\u0444\u0430\u0439\u043B\u044B \u0442\u0435\u043C \u0432 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0435 {highlight}.qitqode/themes/{/highlight}","tui.tips.theme_variants":"\u0422\u0435\u043C\u044B \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442 \u0442\u0451\u043C\u043D\u044B\u0435 \u0438 \u0441\u0432\u0435\u0442\u043B\u044B\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u0434\u043B\u044F \u043E\u0431\u043E\u0438\u0445 \u0440\u0435\u0436\u0438\u043C\u043E\u0432","tui.tips.theme_ansi":"\u0421\u0441\u044B\u043B\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430 ANSI-\u0446\u0432\u0435\u0442\u0430 0-255 \u0432 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0442\u0435\u043C\u0430\u0445","tui.tips.env_var":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441 {highlight}{env:VAR_NAME}{/highlight} \u0434\u043B\u044F \u0441\u0441\u044B\u043B\u043A\u0438 \u043D\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0435","tui.tips.file_var":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}{file:path}{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0444\u0430\u0439\u043B\u0430 \u0432 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043A\u043E\u043D\u0444\u0438\u0433\u0430","tui.tips.instructions":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}instructions{/highlight} \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0444\u0430\u0439\u043B\u044B \u043F\u0440\u0430\u0432\u0438\u043B","tui.tips.temperature":"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0439\u0442\u0435 {highlight}temperature{/highlight} \u0430\u0433\u0435\u043D\u0442\u0430 \u043E\u0442 0.0 (\u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E) \u0434\u043E 1.0 (\u0442\u0432\u043E\u0440\u0447\u0435\u0441\u043A\u0438)","tui.tips.steps":"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 {highlight}steps{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u044C \u0447\u0438\u0441\u043B\u043E \u0430\u0433\u0435\u043D\u0442\u0441\u043A\u0438\u0445 \u0438\u0442\u0435\u0440\u0430\u0446\u0438\u0439 \u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441","tui.tips.disable_tool":'\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 {highlight}"tools": {"bash": false}{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043E\u0442\u0434\u0435\u043B\u044C\u043D\u044B\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B',"tui.tips.disable_mcp_tools":'\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 {highlight}"mcp_*": false{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u0441\u0435 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u044B \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u043E\u0433\u043E MCP-\u0441\u0435\u0440\u0432\u0435\u0440\u0430',"tui.tips.tool_override":"\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0439\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0430\u0433\u0435\u043D\u0442\u0430","tui.tips.doom_loop":"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 {highlight}doom_loop{/highlight} \u043F\u0440\u0435\u0434\u043E\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0431\u0435\u0441\u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0435 \u0446\u0438\u043A\u043B\u044B \u0432\u044B\u0437\u043E\u0432\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.tips.external_dir":"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 {highlight}external_directory{/highlight} \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u0442 \u0444\u0430\u0439\u043B\u044B \u0432\u043D\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0430","tui.tips.debug_config":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}qitqode debug config{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0434\u0438\u0430\u0433\u043D\u043E\u0441\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u044B \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438","tui.tips.print_logs":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0444\u043B\u0430\u0433 {highlight}--print-logs{/highlight}, \u0447\u0442\u043E\u0431\u044B \u0432\u0438\u0434\u0435\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u043B\u043E\u0433\u0438 \u0432 stderr","tui.tips.timeline":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X G{/highlight} \u0438\u043B\u0438 {highlight}/timeline{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043D\u0443\u0436\u043D\u043E\u043C\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044E","tui.tips.toggle_code":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X H{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u043B\u043E\u043A\u043E\u0432 \u043A\u043E\u0434\u0430 \u0432 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u0445","tui.tips.status":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+X S{/highlight} \u0438\u043B\u0438 {highlight}/status{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0441\u0438\u0441\u0442\u0435\u043C\u044B","tui.tips.scroll_accel":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u0435 {highlight}scroll_acceleration{/highlight} \u0432 {highlight}tui.json{/highlight} \u0434\u043B\u044F \u043F\u043B\u0430\u0432\u043D\u043E\u0439 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","tui.tips.agents_md":"\u0417\u0430\u043A\u043E\u043C\u043C\u0438\u0442\u044C\u0442\u0435 {highlight}AGENTS.md{/highlight} \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0432 Git \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u0433\u043E \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0435","tui.tips.review":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}/review{/highlight} \u0434\u043B\u044F \u0440\u0435\u0432\u044C\u044E \u043D\u0435\u0437\u0430\u043A\u043E\u043C\u043C\u0438\u0447\u0435\u043D\u043D\u044B\u0445 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439, \u0432\u0435\u0442\u043E\u043A \u0438\u043B\u0438 PR","tui.tips.help":"\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 {highlight}/help{/highlight} \u0438\u043B\u0438 {highlight}Ctrl+X H{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u043F\u0440\u0430\u0432\u043A\u0443","tui.tips.rename":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {highlight}/rename{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E","tui.tips.suspend.unix":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+Z{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u0432 shell","tui.tips.suspend.win":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {highlight}Ctrl+Z{/highlight}, \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0432\u0432\u043E\u0434\u0430","tui.command.palette.title":"\u041A\u043E\u043C\u0430\u043D\u0434\u044B","tui.command.palette.suggested":"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C\u044B\u0435","tui.command.category.session":"\u0421\u0435\u0441\u0441\u0438\u044F","tui.command.category.agent":"\u0410\u0433\u0435\u043D\u0442","tui.command.category.provider":"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440","tui.command.category.system":"\u0421\u0438\u0441\u0442\u0435\u043C\u0430","tui.command.category.prompt":"\u0412\u0432\u043E\u0434","tui.command.category.internal":"\u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0435","tui.command.category.external":"\u0412\u043D\u0435\u0448\u043D\u0438\u0435","tui.slash.init.description":"\u043F\u043E\u0448\u0430\u0433\u043E\u0432\u0430\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 AGENTS.md","tui.slash.review.description":"\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 [commit|branch|pr], \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043D\u0435\u0437\u0430\u043A\u043E\u043C\u043C\u0438\u0447\u0435\u043D\u043D\u044B\u0435","tui.slash.dream.description":"\u0432\u0440\u0443\u0447\u043D\u0443\u044E \u043A\u043E\u043D\u0441\u043E\u043B\u0438\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0430\u043C\u044F\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442\u0430 \u0438\u0437 memory-\u0444\u0430\u0439\u043B\u043E\u0432 \u0438 \u0441\u044B\u0440\u043E\u0439 \u0442\u0440\u0430\u0435\u043A\u0442\u043E\u0440\u0438\u0438","tui.slash.distill.description":"\u043D\u0430\u0439\u0442\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F workflow \u0432 \u043D\u0435\u0434\u0430\u0432\u043D\u0435\u0439 \u0440\u0430\u0431\u043E\u0442\u0435 \u0438 \u0443\u043F\u0430\u043A\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u0432 skills, \u0441\u0443\u0431\u0430\u0433\u0435\u043D\u0442\u043E\u0432 \u0438\u043B\u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u044B","tui.slash.goal.description":"\u0437\u0430\u0434\u0430\u0442\u044C \u0446\u0435\u043B\u044C \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u0435\u043C \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438; \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F, \u043F\u043E\u043A\u0430 \u0441\u0443\u0434\u044C\u044F \u043D\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442. /goal clear \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B","tui.slash.deep-research.description":"\u0433\u043B\u0443\u0431\u043E\u043A\u0438\u0439 \u043C\u043D\u043E\u0433\u043E\u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u043E\u0432\u044B\u0439 \u043F\u0440\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u043E\u0442\u0447\u0451\u0442 (\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442 workflow deep-research)","tui.command.language.switch.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A","tui.command.language.switch.description":"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430","tui.command.language.dialog.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A","tui.language.auto":"\u0410\u0432\u0442\u043E (\u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0439)","tui.language.current":"\u0422\u0435\u043A\u0443\u0449\u0438\u0439","tui.command.session.list.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.new.title":"\u041D\u043E\u0432\u0430\u044F \u0441\u0435\u0441\u0441\u0438\u044F","tui.command.workflow.list.title":"\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u044B","tui.command.model.list.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u043C\u043E\u0434\u0435\u043B\u044C","tui.command.model.cycle_recent.title":"\u0426\u0438\u043A\u043B \u043C\u043E\u0434\u0435\u043B\u0435\u0439","tui.command.model.cycle_recent_reverse.title":"\u0426\u0438\u043A\u043B \u043C\u043E\u0434\u0435\u043B\u0435\u0439 (\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435)","tui.command.model.cycle_favorite.title":"\u0426\u0438\u043A\u043B \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u043C\u043E\u0434\u0435\u043B\u0435\u0439","tui.command.model.cycle_favorite_reverse.title":"\u0426\u0438\u043A\u043B \u0438\u0437\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u043C\u043E\u0434\u0435\u043B\u0435\u0439 (\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435)","tui.command.agent.list.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0430\u0433\u0435\u043D\u0442\u0430","tui.command.mcp.list.title":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C MCP","tui.command.never_ask.title_on":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432: \u0412\u041A\u041B (\u0430\u0432\u0442\u043E-\u0440\u0435\u0448\u0435\u043D\u0438\u0435, \u043A\u0440\u043E\u043C\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439) \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.command.never_ask.title_off":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432: \u0412\u042B\u041A\u041B \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F (\u0430\u0432\u0442\u043E-\u0440\u0435\u0448\u0435\u043D\u0438\u0435, \u043A\u0440\u043E\u043C\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439)","tui.command.never_ask.toast_on":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432 \u0412\u041A\u041B \u2014 \u044F \u043D\u0435 \u0431\u0443\u0434\u0443 \u0441\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044C; \u0441\u0430\u043C \u0432\u044B\u0431\u0435\u0440\u0443 \u043B\u0443\u0447\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442, \u043F\u043E\u043A\u0430 \u0432\u044B \u043D\u0435 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 (/never-ask). \u0417\u0430\u043F\u0440\u043E\u0441\u044B \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u043F\u043E-\u043F\u0440\u0435\u0436\u043D\u0435\u043C\u0443 \u0442\u0440\u0435\u0431\u0443\u044E\u0442 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F.","tui.command.never_ask.toast_off":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432 \u0412\u042B\u041A\u041B \u2014 \u044F \u0441\u043D\u043E\u0432\u0430 \u0431\u0443\u0434\u0443 \u0441\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044C \u0432\u0430\u0441 \u0432 \u0442\u043E\u0447\u043A\u0430\u0445 \u043F\u0440\u0438\u043D\u044F\u0442\u0438\u044F \u0440\u0435\u0448\u0435\u043D\u0438\u0439.","tui.command.never_ask.title_on_fullauto":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432: \u0412\u041A\u041B (\u0430\u0432\u0442\u043E-\u0440\u0435\u0448\u0435\u043D\u0438\u0435; \u043F\u043E\u043B\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442 \u0442\u0430\u043A\u0436\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F) \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.command.never_ask.title_off_fullauto":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432: \u0412\u042B\u041A\u041B \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F (\u0430\u0432\u0442\u043E-\u0440\u0435\u0448\u0435\u043D\u0438\u0435; \u043F\u043E\u043B\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442 \u043F\u043E-\u043F\u0440\u0435\u0436\u043D\u0435\u043C\u0443 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u044F)","tui.command.never_ask.toast_on_fullauto":"\u0411\u0435\u0437 \u0432\u043E\u043F\u0440\u043E\u0441\u043E\u0432 \u0412\u041A\u041B \u2014 \u044F \u043D\u0435 \u0431\u0443\u0434\u0443 \u0441\u043F\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044C; \u0441\u0430\u043C \u0432\u044B\u0431\u0435\u0440\u0443 \u043B\u0443\u0447\u0448\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442, \u043F\u043E\u043A\u0430 \u0432\u044B \u043D\u0435 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 (/never-ask). \u0412\u043A\u043B\u044E\u0447\u0451\u043D \u043F\u043E\u043B\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0439 \u0442\u043E\u0436\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438.","tui.command.agent.cycle.title":"\u0426\u0438\u043A\u043B \u0430\u0433\u0435\u043D\u0442\u043E\u0432","tui.command.variant.cycle.title":"\u0426\u0438\u043A\u043B \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u043E\u0432","tui.command.variant.list.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u043C\u043E\u0434\u0435\u043B\u0438","tui.command.agent.cycle.reverse.title":"\u0426\u0438\u043A\u043B \u0430\u0433\u0435\u043D\u0442\u043E\u0432 (\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435)","tui.command.provider.login.title":"\u0412\u043E\u0439\u0442\u0438","tui.command.provider.logout.title":"\u0412\u044B\u0439\u0442\u0438","tui.command.console.org.switch.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044E","tui.command.qitqode.status.title":"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441","tui.command.theme.switch.title":"\u0421\u043C\u0435\u043D\u0438\u0442\u044C \u0442\u0435\u043C\u0443","tui.command.theme.switch_mode.to_light":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430 \u0441\u0432\u0435\u0442\u043B\u044B\u0439 \u0440\u0435\u0436\u0438\u043C","tui.command.theme.switch_mode.to_dark":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430 \u0442\u0451\u043C\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C","tui.command.theme.mode.unlock":"\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u0442\u0435\u043C\u044B","tui.command.theme.mode.lock":"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0436\u0438\u043C \u0442\u0435\u043C\u044B","tui.command.help.show.title":"\u0421\u043F\u0440\u0430\u0432\u043A\u0430","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0441\u0442\u044C: \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0439\u0442\u0435 \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438 \u0438 \u0437\u0432\u0443\u043A \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u043A\u043E\u043C\u0430\u043D\u0434. \u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043E\u043A\u0440\u0443\u0436\u0435\u043D\u0438\u044F: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND.","tui.dialog.help.announcements":"\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F: \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E\u0441\u0442\u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C \u0447\u0442\u0435\u043D\u0438\u044F \u0441 \u044D\u043A\u0440\u0430\u043D\u0430 (\u0442\u0438\u0445\u0438\u0439, \u043E\u0431\u044B\u0447\u043D\u044B\u0439, \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0439) \u0432 \u0441\u043F\u0438\u0441\u043A\u0435 \u043A\u043E\u043C\u0430\u043D\u0434 \u0438\u043B\u0438 \u0447\u0435\u0440\u0435\u0437 QITQODE_TUI_ANNOUNCEMENTS. \u041E\u0448\u0438\u0431\u043A\u0438 \u043E\u0431\u044A\u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u0432\u0441\u0435\u0433\u0434\u0430.","tui.dialog.help.dialog_keys":"\u0414\u0438\u0430\u043B\u043E\u0433\u0438: \u0432\u0441\u0435 \u0434\u0438\u0430\u043B\u043E\u0433\u0438 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u0441 \u043A\u043B\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044B \u2014 Esc \u0437\u0430\u043A\u0440\u044B\u0432\u0430\u0435\u0442, Tab \u0438\u043B\u0438 \u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u044E\u0442 \u0444\u043E\u043A\u0443\u0441, Enter \u0438\u043B\u0438 \u043F\u0440\u043E\u0431\u0435\u043B \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0439 \u044D\u043B\u0435\u043C\u0435\u043D\u0442.","tui.command.app.announcements.cycle":"\u041E\u0431\u044A\u044F\u0432\u043B\u0435\u043D\u0438\u044F: {{level}} (\u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C)","tui.announcements.level.quiet":"\u0442\u0438\u0445\u0438\u0439","tui.announcements.level.normal":"\u043E\u0431\u044B\u0447\u043D\u044B\u0439","tui.announcements.level.verbose":"\u043F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0439","tui.app.terminal_too_small":"\u0422\u0435\u0440\u043C\u0438\u043D\u0430\u043B \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B ({{width}}x{{height}}). \u0423\u0432\u0435\u043B\u0438\u0447\u044C\u0442\u0435 \u043E\u043A\u043D\u043E \u043C\u0438\u043D\u0438\u043C\u0443\u043C \u0434\u043E 40x8.","tui.dialog.help.command_list":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 {{keybind}}, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0432\u0441\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u044B \u0432 \u043B\u044E\u0431\u043E\u043C \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0435.","tui.dialog.help.ok":"OK","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0430 \xB7 PgUp/PgDn \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \xB7 esc \u0437\u0430\u043A\u0440\u044B\u0442\u044C","tui.dialog.ok":"OK","tui.dialog.confirm.cancel":"\u041E\u0442\u043C\u0435\u043D\u0430","tui.dialog.confirm.confirm":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C","tui.dialog.agreement.title":"\u0423\u0441\u043B\u043E\u0432\u0438\u044F \u0438 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C","tui.dialog.agreement.message":"\u041E\u0437\u043D\u0430\u043A\u043E\u043C\u044C\u0442\u0435\u0441\u044C \u0438 \u043F\u0440\u0438\u043C\u0438\u0442\u0435 \u0438\u0445, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C.","tui.dialog.agreement.confirm":"\u041F\u0440\u0438\u043D\u044F\u0442\u044C \u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C","tui.command.docs.terms.title":"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0443\u0441\u043B\u043E\u0432\u0438\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F","tui.command.docs.privacy.title":"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438","tui.command.consent.revoke.title":"\u041E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u043D\u0430 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u0443\u044E \u043C\u043E\u0434\u0435\u043B\u044C","tui.consent.revoked":"\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u043D\u0430 \u0431\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u0443\u044E \u043C\u043E\u0434\u0435\u043B\u044C \u043E\u0442\u043E\u0437\u0432\u0430\u043D\u043E \u2014 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0441\u043D\u043E\u0432\u0430","tui.dialog.select.placeholder":"\u041F\u043E\u0438\u0441\u043A","tui.dialog.select.no_results":"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E","tui.dialog.prompt.placeholder":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0442\u0435\u043A\u0441\u0442","tui.dialog.prompt.busy":"\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F...","tui.dialog.prompt.processing":"\u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C","tui.dialog.export.title":"\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430","tui.dialog.export.filename":"\u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430:","tui.dialog.export.filename_placeholder":"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430","tui.dialog.export.include_thinking":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F","tui.dialog.export.include_tool_details":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u0435\u0442\u0430\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.dialog.export.include_assistant_metadata":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430","tui.dialog.export.open_without_saving":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0431\u0435\u0437 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F","tui.dialog.export.hint.toggle_prefix":"\u041D\u0430\u0436\u043C\u0438\u0442\u0435","tui.dialog.export.hint.toggle_action":"\u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.dialog.export.hint.confirm_action":"\u0434\u043B\u044F \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F","tui.dialog.export.hint.options_action":"\u0434\u043B\u044F \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432","tui.toast.copied_to_clipboard":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430","tui.toast.instructions_loaded":"\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043E {{files}}","tui.toast.update_available.title":"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435","tui.toast.update_available.confirm":"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u0430 \u043D\u043E\u0432\u0430\u044F \u0432\u0435\u0440\u0441\u0438\u044F v{{version}}. \u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441?","tui.toast.update_available.updating":"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0434\u043E v{{version}}...","tui.toast.update_available.failed":"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C","tui.toast.update_available.success":"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0434\u043E QitQode v{{version}}. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435.","tui.toast.updated.title":"\u0410\u0432\u0442\u043E\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E","tui.toast.updated.message":"\u041F\u0430\u0442\u0447 \u043F\u0440\u0438\u043C\u0435\u043D\u0451\u043D \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438: v{{version}}. \u041F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043D\u043E\u0432\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0438. \u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 autoupdate: false \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.","tui.sidebar.instructions":"\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u0438","tui.sidebar.cwd":"\u0420\u0430\u0431\u043E\u0447\u0438\u0439 \u043A\u0430\u0442\u0430\u043B\u043E\u0433","tui.toast.unknown_error":"\u041F\u0440\u043E\u0438\u0437\u043E\u0448\u043B\u0430 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430","tui.command.docs.open.title":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E","tui.command.app.exit.title":"\u0412\u044B\u0439\u0442\u0438 \u0438\u0437 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F","tui.command.app.debug.title":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043D\u0435\u043B\u044C \u043E\u0442\u043B\u0430\u0434\u043A\u0438","tui.command.app.console.title":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u043D\u0441\u043E\u043B\u044C","tui.command.app.heap_snapshot.title":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0441\u043D\u0438\u043C\u043E\u043A \u043A\u0443\u0447\u0438","tui.command.terminal.suspend.title":"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B","tui.command.terminal.title.disable":"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430","tui.command.terminal.title.enable":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u0430","tui.command.app.toggle.animations.disable":"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438","tui.command.app.toggle.animations.enable":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u043D\u0438\u043C\u0430\u0446\u0438\u0438","tui.command.app.toggle.diffwrap.disable":"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441 \u0441\u0442\u0440\u043E\u043A \u0432 diff","tui.command.app.toggle.diffwrap.enable":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u043D\u043E\u0441 \u0441\u0442\u0440\u043E\u043A \u0432 diff","tui.command.app.toggle.sound.disable":"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A","tui.command.app.toggle.sound.enable":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0432\u0443\u043A","tui.command.logout.toast":"\u0412\u044B \u0432\u044B\u0448\u043B\u0438 \u0438\u0437 \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430","tui.command.session.share.title":"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u044C\u0441\u044F \u0441\u0435\u0441\u0441\u0438\u0435\u0439","tui.command.session.share.copy_link":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443","tui.command.session.rename.title":"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.timeline.title":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044E","tui.command.session.fork.title":"\u0420\u0430\u0437\u0432\u0435\u0442\u0432\u0438\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.compact.title":"\u0421\u0436\u0430\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.unshare.title":"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0443\u0431\u043B\u0438\u043A\u0430\u0446\u0438\u044E","tui.command.session.undo.title":"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","tui.command.session.redo.title":"\u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u044C","tui.command.session.sidebar.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0431\u043E\u043A\u043E\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C","tui.command.session.sidebar.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u0431\u043E\u043A\u043E\u0432\u0443\u044E \u043F\u0430\u043D\u0435\u043B\u044C","tui.command.session.conceal.disable":"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043A\u043E\u0434\u0430","tui.command.session.conceal.enable":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0441\u043A\u0440\u044B\u0442\u0438\u0435 \u043A\u043E\u0434\u0430","tui.command.session.timestamps.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043C\u0435\u0442\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438","tui.command.session.timestamps.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u0442\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438","tui.command.session.thinking.expand":"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F","tui.command.session.thinking.collapse":"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u044F","tui.command.session.tool_details.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0435\u0442\u0430\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.command.session.tool_details.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u0434\u0435\u0442\u0430\u043B\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.command.session.scrollbar.toggle":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u043E\u0441\u0443 \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438","tui.command.session.generic_tool_output.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u0431\u0449\u0438\u0439 \u0432\u044B\u0432\u043E\u0434 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.command.session.generic_tool_output.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u043E\u0431\u0449\u0438\u0439 \u0432\u044B\u0432\u043E\u0434 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432","tui.command.session.page_up.title":"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0432\u0432\u0435\u0440\u0445","tui.command.session.page_down.title":"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 \u0432\u043D\u0438\u0437","tui.command.session.line_up.title":"\u0421\u0442\u0440\u043E\u043A\u0430 \u0432\u0432\u0435\u0440\u0445","tui.command.session.line_down.title":"\u0421\u0442\u0440\u043E\u043A\u0430 \u0432\u043D\u0438\u0437","tui.command.session.half_page_up.title":"\u041F\u043E\u043B\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u0432\u0435\u0440\u0445","tui.command.session.half_page_down.title":"\u041F\u043E\u043B\u0441\u0442\u0440\u0430\u043D\u0438\u0446\u044B \u0432\u043D\u0438\u0437","tui.command.session.first.title":"\u041F\u0435\u0440\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","tui.command.session.last.title":"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","tui.command.session.last_user.title":"\u041A \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u043C\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","tui.command.session.message_next.title":"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","tui.command.session.message_previous.title":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","tui.command.messages.copy.title":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430","tui.command.session.copy.title":"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0435\u043D\u043E\u0433\u0440\u0430\u043C\u043C\u0443 \u0441\u0435\u0441\u0441\u0438\u0438","tui.command.session.export.title":"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0435\u043D\u043E\u0433\u0440\u0430\u043C\u043C\u0443","tui.command.session.child_first.title":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0434\u043E\u0447\u0435\u0440\u043D\u044E\u044E \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.parent.title":"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.session.child_next.title":"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0434\u043E\u0447\u0435\u0440\u043D\u044F\u044F \u0441\u0435\u0441\u0441\u0438\u044F","tui.command.session.child_previous.title":"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0430\u044F \u0434\u043E\u0447\u0435\u0440\u043D\u044F\u044F \u0441\u0435\u0441\u0441\u0438\u044F","tui.command.prompt.clear.title":"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0432\u043E\u0434","tui.command.prompt.submit.title":"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u0440\u043E\u0441","tui.command.prompt.paste.title":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C","tui.command.session.interrupt.title":"\u041F\u0440\u0435\u0440\u0432\u0430\u0442\u044C \u0441\u0435\u0441\u0441\u0438\u044E","tui.command.prompt.editor.title":"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440","tui.command.prompt.skills.title":"\u041D\u0430\u0432\u044B\u043A\u0438","tui.command.voice.toggle.title":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434","tui.command.voice.toggle.title_on":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434: \u0432\u043A\u043B\u044E\u0447\u0451\u043D \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.command.voice.toggle.title_off":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434: \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.voice.enabled":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434 \u0432\u043A\u043B\u044E\u0447\u0451\u043D (\u043A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439/\u0430\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439) \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 [Voice] \u0434\u043B\u044F \u0437\u0430\u043F\u0438\u0441\u0438","tui.voice.disabled":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0432\u0432\u043E\u0434 \u043E\u0442\u043A\u043B\u044E\u0447\u0451\u043D","tui.voice.send.enabled":'\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430 \u2014 \u0441\u043A\u0430\u0436\u0438\u0442\u0435\u300C\u53D1\u9001\u300D\u0438\u043B\u0438 "send it"',"tui.voice.send.disabled":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u0430\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430","tui.voice.control.enabled":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u2014 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0441 \u043C\u0443\u043B\u044C\u0442\u0438\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0439 \u043C\u043E\u0434\u0435\u043B\u044C\u044E (\u043C\u0435\u0434\u043B\u0435\u043D\u043D\u0435\u0435)","tui.voice.control.disabled":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E \u2014 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0431\u044B\u0441\u0442\u0440\u0430\u044F ASR \u0442\u0440\u0430\u043D\u0441\u043A\u0440\u0438\u043F\u0446\u0438\u044F","tui.command.voice.control.title":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 (\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435)","tui.command.voice.control.title_on":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435: \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E (\u043C\u0443\u043B\u044C\u0442\u0438\u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435) \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.command.voice.control.title_off":"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0435 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435: \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E (\u0431\u044B\u0441\u0442\u0440\u044B\u0439 ASR) \u2014 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F","tui.voice.error.no_auth":"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 /connect \u0434\u043B\u044F \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u043A QitQode \u0438\u043B\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 voice.asr_model \u0434\u043B\u044F \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430","tui.voice.error.no_auth_provider":'\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 "{{provider}}" \u043D\u0435 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u043E\u0432\u0430\u043D, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0435\u0433\u043E apiKey',"tui.voice.error.provider_not_found":'\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 "{{provider}}" \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u2014 /connect \u0434\u043B\u044F \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438, \u0438\u043B\u0438 \u043E\u0431\u044A\u044F\u0432\u0438\u0442\u0435 models \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u044D\u043D\u0434\u043F\u043E\u0438\u043D\u0442\u043E\u0432',"tui.voice.error.no_url":'\u0423 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 "{{provider}}" \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D baseURL \u2014 \u0443\u043A\u0430\u0436\u0438\u0442\u0435 options.baseURL \u0432 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438',"tui.voice.error.no_device":"\u041C\u0438\u043A\u0440\u043E\u0444\u043E\u043D/\u0430\u0443\u0434\u0438\u043E\u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u2014 \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0432\u0443\u043A\u0430 \u0441\u0438\u0441\u0442\u0435\u043C\u044B","tui.voice.error.recorder_failed":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u043F\u0438\u0441\u0438","tui.voice.error.no_recorder":"\u0418\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0437\u0430\u043F\u0438\u0441\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D, \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 sox","tui.voice.error.too_short":"\u0417\u0430\u043F\u0438\u0441\u044C \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043A\u043E\u0440\u043E\u0442\u043A\u0430\u044F","tui.voice.error.network":"\u041E\u0448\u0438\u0431\u043A\u0430 \u0442\u0440\u0430\u043D\u0441\u043A\u0440\u0438\u043F\u0446\u0438\u0438, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u0435\u0442\u044C","tui.command.prompt.stash.title":"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432\u0432\u043E\u0434 \u0432\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435","tui.command.prompt.stash.pop.title":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0438\u0437 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430","tui.command.prompt.stash.list.title":"\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432","tui.command.tips.toggle.show":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438","tui.command.tips.toggle.hide":"\u0421\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438","tui.command.plugins.list.title":"\u041F\u043B\u0430\u0433\u0438\u043D\u044B","tui.command.plugins.install.title":"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043B\u0430\u0433\u0438\u043D","cli.providers.select":"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430","cli.providers.other":"\u0414\u0440\u0443\u0433\u043E\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440","tui.question.plan_enter.question":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u0432 \u0440\u0435\u0436\u0438\u043C plan \u0434\u043B\u044F \u0441\u0442\u0440\u0443\u043A\u0442\u0443\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0433\u043E \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F?","tui.question.plan_enter.header":"\u0412\u0445\u043E\u0434 \u0432 \u043F\u043B\u0430\u043D","tui.question.plan_enter.option.0.label":"\u0414\u0430","tui.question.plan_enter.option.0.description":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0430 plan \u0434\u043B\u044F \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0447\u0442\u0435\u043D\u0438\u044F","tui.question.plan_enter.option.1.label":"\u041D\u0435\u0442","tui.question.plan_enter.option.1.description":"\u041E\u0441\u0442\u0430\u0442\u044C\u0441\u044F \u0432 \u0442\u0435\u043A\u0443\u0449\u0435\u043C \u0440\u0435\u0436\u0438\u043C\u0435","tui.question.plan_exit.question":"\u041F\u043B\u0430\u043D {{plan}} \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D. \u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0430 build \u0438 \u043D\u0430\u0447\u0430\u0442\u044C \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E?","tui.question.plan_exit.header":"\u0412\u044B\u0445\u043E\u0434 \u0438\u0437 \u043F\u043B\u0430\u043D\u0430","tui.question.plan_exit.option.0.label":"\u0414\u0430","tui.question.plan_exit.option.0.description":"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u0430\u0433\u0435\u043D\u0442\u0430 build \u0438 \u043D\u0430\u0447\u0430\u0442\u044C \u0440\u0435\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E \u043F\u043B\u0430\u043D\u0430","tui.question.plan_exit.option.1.label":"\u041D\u0435\u0442","tui.question.plan_exit.option.1.description":"\u041E\u0441\u0442\u0430\u0442\u044C\u0441\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u043E\u043C plan \u0434\u043B\u044F \u0434\u043E\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u043F\u043B\u0430\u043D\u0430","tui.session.badge.auto":"\u0410\u0432\u0442\u043E","trust.title":"\u0414\u043E\u0441\u0442\u0443\u043F \u043A \u0440\u0430\u0431\u043E\u0447\u0435\u043C\u0443 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0443:","trust.safety_check":"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438: \u044D\u0442\u043E \u043F\u0440\u043E\u0435\u043A\u0442, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0432\u044B \u0441\u043E\u0437\u0434\u0430\u043B\u0438 \u0438\u043B\u0438 \u043A\u043E\u0442\u043E\u0440\u043E\u043C\u0443 \u0434\u043E\u0432\u0435\u0440\u044F\u0435\u0442\u0435? (\u0412\u0430\u0448 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u043A\u043E\u0434, \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0439 open source \u043F\u0440\u043E\u0435\u043A\u0442 \u0438\u043B\u0438 \u0440\u0430\u0431\u043E\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043A\u043E\u043C\u0430\u043D\u0434\u044B). \u0415\u0441\u043B\u0438 \u043D\u0435\u0442, \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u044D\u0442\u043E\u0439 \u043F\u0430\u043F\u043A\u0438.","trust.capabilities":"QitQode \u0441\u043C\u043E\u0436\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044C, \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u0437\u0434\u0435\u0441\u044C.","trust.plugin_warn":"\u0415\u0441\u043B\u0438 \u0432 \u044D\u0442\u043E\u043C \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0435 \u0435\u0441\u0442\u044C \u0432\u0440\u0435\u0434\u043E\u043D\u043E\u0441\u043D\u044B\u0435 \u043F\u043B\u0430\u0433\u0438\u043D\u044B, \u043E\u043D\u0438 \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u043B\u044C\u043D\u044B\u0439 \u043A\u043E\u0434, \u0447\u0438\u0442\u0430\u0442\u044C, \u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u0438\u043B\u0438 \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u0432\u0430\u0448\u0438 \u0444\u0430\u0439\u043B\u044B.","trust.option.yes":"\u0414\u0430, \u044F \u0434\u043E\u0432\u0435\u0440\u044F\u044E \u044D\u0442\u043E\u0439 \u043F\u0430\u043F\u043A\u0435","trust.option.no":"\u041D\u0435\u0442, \u0432\u044B\u0439\u0442\u0438","trust.dangerous.title_home":"\u0412\u041D\u0418\u041C\u0410\u041D\u0418\u0415: \u0412\u044B \u0441\u043E\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0414\u041E\u041C\u0410\u0428\u041D\u0418\u0419 \u041A\u0410\u0422\u0410\u041B\u041E\u0413.","trust.dangerous.title_root":"\u0412\u041D\u0418\u041C\u0410\u041D\u0418\u0415: \u0412\u044B \u0441\u043E\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u041A\u041E\u0420\u0415\u041D\u042C \u0424\u0410\u0419\u041B\u041E\u0412\u041E\u0419 \u0421\u0418\u0421\u0422\u0415\u041C\u042B.","trust.dangerous.body_home":"\u041C\u043E\u0434\u0435\u043B\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0434\u043E\u0441\u0442\u0443\u043F \u043A\u043E \u0412\u0421\u0415\u041C \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0444\u0430\u0439\u043B\u0430\u043C \u2014 SSH-\u043A\u043B\u044E\u0447\u0430\u043C, \u0443\u0447\u0451\u0442\u043D\u044B\u043C \u0434\u0430\u043D\u043D\u044B\u043C, \u043F\u0440\u043E\u0444\u0438\u043B\u044F\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0438 \u0432\u0441\u0435\u043C\u0443 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u043C\u0443 \u0434\u043E\u043C\u0430\u0448\u043D\u0435\u0439 \u043F\u0430\u043F\u043A\u0438.","trust.dangerous.body_root":"\u041C\u043E\u0434\u0435\u043B\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442 \u0434\u043E\u0441\u0442\u0443\u043F \u043A\u043E \u0412\u0421\u0415\u0419 \u0444\u0430\u0439\u043B\u043E\u0432\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u0435 \u2014 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u043C \u0444\u0430\u0439\u043B\u0430\u043C, \u0434\u0430\u043D\u043D\u044B\u043C \u0432\u0441\u0435\u0445 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u0439, \u0443\u0447\u0451\u0442\u043D\u044B\u043C \u0434\u0430\u043D\u043D\u044B\u043C \u0438 \u0432\u0441\u0435\u043C\u0443 \u043D\u0430 \u044D\u0442\u043E\u0439 \u043C\u0430\u0448\u0438\u043D\u0435.","trust.dangerous.advice_home":"\u0415\u0441\u043B\u0438 \u043D\u0435\u0442 \u0432\u0435\u0441\u043E\u043C\u043E\u0439 \u043F\u0440\u0438\u0447\u0438\u043D\u044B, \u041D\u0415 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0432\u0441\u0435\u043C\u0443 \u0434\u043E\u043C\u0430\u0448\u043D\u0435\u043C\u0443 \u043A\u0430\u0442\u0430\u043B\u043E\u0433\u0443.","trust.dangerous.advice_root":"\u0415\u0441\u043B\u0438 \u043D\u0435\u0442 \u0432\u0435\u0441\u043E\u043C\u043E\u0439 \u043F\u0440\u0438\u0447\u0438\u043D\u044B, \u041D\u0415 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u043A\u043E\u0440\u043D\u044E \u0444\u0430\u0439\u043B\u043E\u0432\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B.","trust.dangerous.option.yes":"\u042F \u043F\u043E\u043D\u0438\u043C\u0430\u044E \u0440\u0438\u0441\u043A\u0438, \u0434\u043E\u0432\u0435\u0440\u044F\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u044D\u0442\u043E\u0439 \u0441\u0435\u0441\u0441\u0438\u0438","trust.dangerous.option.no":"\u0412\u044B\u0439\u0442\u0438 (\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F)"};
|
|
3
|
-
export{f as
|
|
3
|
+
export{f as Od};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{YQ as E}from"./chunk-96657nrr.js";import{ZQ as D}from"./chunk-bkqemdv8.js";import{$Q as B,cR as C}from"./chunk-pfx8ts02.js";var J=B((v)=>{Object.defineProperty(v,"__esModule",{value:!0});v.getMachineId=void 0;var q=C("process"),F=E(),G=D();async function H(){let b="%windir%\\System32\\REG.exe";if(q.arch==="ia32"&&"PROCESSOR_ARCHITEW6432"in q.env)b="%windir%\\sysnative\\cmd.exe /c "+b;try{let k=(await(0,F.execAsync)(`${b} QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid`)).stdout.split("REG_SZ");if(k.length===2)return k[1].trim()}catch(f){G.diag.debug(`error reading machine id: ${f}`)}return}v.getMachineId=H});export default J();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{ZQ as T}from"./chunk-bkqemdv8.js";import{$Q as G,cR as J}from"./chunk-pfx8ts02.js";var K=G((Q)=>{Object.defineProperty(Q,"__esModule",{value:!0});Q.AbstractAsyncHooksContextManager=void 0;var b=J("events"),f=["addListener","on","once","prependListener","prependOnceListener"];class P{bind(q,j){if(j instanceof b.EventEmitter)return this._bindEventEmitter(q,j);if(typeof j==="function")return this._bindFunction(q,j);return j}_bindFunction(q,j){let z=this,w=function(...B){return z.with(q,()=>j.apply(this,B))};return Object.defineProperty(w,"length",{enumerable:!1,configurable:!0,writable:!1,value:j.length}),w}_bindEventEmitter(q,j){if(this._getPatchMap(j)!==void 0)return j;if(this._createPatchMap(j),f.forEach((w)=>{if(j[w]===void 0)return;j[w]=this._patchAddListener(j,j[w],q)}),typeof j.removeListener==="function")j.removeListener=this._patchRemoveListener(j,j.removeListener);if(typeof j.off==="function")j.off=this._patchRemoveListener(j,j.off);if(typeof j.removeAllListeners==="function")j.removeAllListeners=this._patchRemoveAllListeners(j,j.removeAllListeners);return j}_patchRemoveListener(q,j){let z=this;return function(w,B){let D=z._getPatchMap(q)?.[w];if(D===void 0)return j.call(this,w,B);let E=D.get(B);return j.call(this,w,E||B)}}_patchRemoveAllListeners(q,j){let z=this;return function(w){let B=z._getPatchMap(q);if(B!==void 0){if(arguments.length===0)z._createPatchMap(q);else if(B[w]!==void 0)delete B[w]}return j.apply(this,arguments)}}_patchAddListener(q,j,z){let w=this;return function(B,D){if(w._wrapped)return j.call(this,B,D);let E=w._getPatchMap(q);if(E===void 0)E=w._createPatchMap(q);let F=E[B];if(F===void 0)F=new WeakMap,E[B]=F;let O=w.bind(z,D);F.set(D,O),w._wrapped=!0;try{return j.call(this,B,O)}finally{w._wrapped=!1}}}_createPatchMap(q){let j=Object.create(null);return q[this._kOtListeners]=j,j}_getPatchMap(q){return q[this._kOtListeners]}_kOtListeners=Symbol("OtListeners");_wrapped=!1}Q.AbstractAsyncHooksContextManager=P});var Y=G((V)=>{Object.defineProperty(V,"__esModule",{value:!0});V.AsyncHooksContextManager=void 0;var u=T(),L=J("async_hooks"),N=K();class U extends N.AbstractAsyncHooksContextManager{_asyncHook;_contexts=new Map;_stack=[];constructor(){super();this._asyncHook=L.createHook({init:this._init.bind(this),before:this._before.bind(this),after:this._after.bind(this),destroy:this._destroy.bind(this),promiseResolve:this._destroy.bind(this)})}active(){return this._stack[this._stack.length-1]??u.ROOT_CONTEXT}with(q,j,z,...w){this._enterContext(q);try{return j.call(z,...w)}finally{this._exitContext()}}enable(){return this._asyncHook.enable(),this}disable(){return this._asyncHook.disable(),this._contexts.clear(),this._stack=[],this}_init(q,j){if(j==="TIMERWRAP")return;let z=this._stack[this._stack.length-1];if(z!==void 0)this._contexts.set(q,z)}_destroy(q){this._contexts.delete(q)}_before(q){let j=this._contexts.get(q);if(j!==void 0)this._enterContext(j)}_after(){this._exitContext()}_enterContext(q){this._stack.push(q)}_exitContext(){this._stack.pop()}}V.AsyncHooksContextManager=U});var S=G(($)=>{Object.defineProperty($,"__esModule",{value:!0});$.AsyncLocalStorageContextManager=void 0;var H=T(),k=J("async_hooks"),_=K();class Z extends _.AbstractAsyncHooksContextManager{_asyncLocalStorage;constructor(){super();this._asyncLocalStorage=new k.AsyncLocalStorage}active(){return this._asyncLocalStorage.getStore()??H.ROOT_CONTEXT}with(q,j,z,...w){let B=z==null?j:j.bind(z);return this._asyncLocalStorage.run(q,B,...w)}enable(){return this}disable(){return this._asyncLocalStorage.disable(),this}}$.AsyncLocalStorageContextManager=Z});var h=G((I)=>{Object.defineProperty(I,"__esModule",{value:!0});I.AsyncLocalStorageContextManager=I.AsyncHooksContextManager=void 0;var C=Y();Object.defineProperty(I,"AsyncHooksContextManager",{enumerable:!0,get:function(){return C.AsyncHooksContextManager}});var y=S();Object.defineProperty(I,"AsyncLocalStorageContextManager",{enumerable:!0,get:function(){return y.AsyncLocalStorageContextManager}})});export default h();
|