@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
|
@@ -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":"Type your message... (type / for commands)","tui.prompt.placeholder.shell":'Run a command... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab to accept)","tui.home.placeholder.example.todo":"Fix a TODO in the codebase","tui.home.placeholder.example.stack":"What is the tech stack of this project?","tui.home.placeholder.example.tests":"Fix broken tests","tui.home.agreement.prefix":"By using QitQode, you agree to our ","tui.home.agreement.terms":"Terms of Service","tui.home.agreement.separator":" and ","tui.home.agreement.privacy":"Privacy Policy","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"attach file","tui.prompt.hint.subagent":"subagent","tui.prompt.hint.commands":"commands","tui.prompt.hint.switch_mode":"mode","tui.prompt.hint.settings":"settings","tui.tips.label":"Tip","tui.tips.plain_terminal":"QitQode looks best in iTerm2 or VS Code's integrated terminal","tui.tips.attach_file":"Hit {highlight}@{/highlight} and start typing to fuzzy-find and attach a file to your prompt","tui.tips.shell_prefix":"Prefix any message with {highlight}!{/highlight} to run it as a shell command \u2014 try {highlight}!git log{/highlight}","tui.tips.tab_agent":"{highlight}Tab{/highlight} and {highlight}Shift+Tab{/highlight} step through your Build, Plan, and Compose agents","tui.tips.theme_mode":"Switch between dark and light themes with {highlight}/dark{/highlight} or {highlight}/light{/highlight}","tui.tips.doc":"Pull up the full documentation anytime with {highlight}/doc{/highlight}","tui.tips.undo":"{highlight}/undo{/highlight} rolls back both the last message and any files it touched","tui.tips.redo":"Changed your mind? {highlight}/redo{/highlight} brings back what you just undid","tui.tips.drag_drop":"Drop images or PDFs straight into the terminal window to add them as context","tui.tips.paste_image":"Got something in your clipboard? {highlight}Ctrl+V{/highlight} pastes images directly into the prompt","tui.tips.editor":"Long prompt? Hit {highlight}Ctrl+X E{/highlight} or {highlight}/editor{/highlight} to write it in your editor of choice","tui.tips.init":"Let {highlight}/init{/highlight} read your project and generate a tailored rules file automatically","tui.tips.models":"Swap between Default, Fast, Economy, and Power with {highlight}/models{/highlight} or {highlight}Ctrl+X M{/highlight}","tui.tips.theme":`Lock your theme mode against your terminal's background \u2014 open the command palette ({highlight}Ctrl+P{/highlight}) and search for "lock"`,"tui.tips.new_session":"Start a clean slate with {highlight}Ctrl+X N{/highlight} or just type {highlight}/new{/highlight}","tui.tips.sessions":"Pick up where you left off \u2014 {highlight}/sessions{/highlight} or {highlight}Ctrl+X L{/highlight} lists all your past conversations","tui.tips.compact":"Running low on context? {highlight}/compact{/highlight} condenses the session into a concise summary","tui.tips.export":"Save any conversation as a Markdown file with {highlight}Ctrl+X X{/highlight} or {highlight}/export{/highlight}","tui.tips.copy_last":"{highlight}Ctrl+X Y{/highlight} copies QitQode's last response straight to your clipboard","tui.tips.command_palette":"Everything in one place \u2014 hit {highlight}Ctrl+P{/highlight} to open the full command palette","tui.tips.leader":"{highlight}Ctrl+X{/highlight} is your shortcut prefix \u2014 pair it with another key to trigger quick actions","tui.tips.f2":"Tap {highlight}F2{/highlight} to jump between your recently used models without opening the picker","tui.tips.sidebar":"Toggle the sidebar on or off with {highlight}Ctrl+X B{/highlight}","tui.tips.history":"Scroll through the conversation with {highlight}PageUp{/highlight} and {highlight}PageDown{/highlight}","tui.tips.jump_first":"Jump straight to the top of any conversation with {highlight}Ctrl+G{/highlight} or {highlight}Home{/highlight}","tui.tips.jump_last":"Skip to the latest message instantly with {highlight}Ctrl+Alt+G{/highlight} or {highlight}End{/highlight}","tui.tips.newline":"Need a line break in your prompt? {highlight}Shift+Enter{/highlight} or {highlight}Ctrl+J{/highlight} does it","tui.tips.clear_input":"Typed something you don't want? {highlight}Ctrl+C{/highlight} wipes the input field clean","tui.tips.escape":"Hit {highlight}Escape{/highlight} to interrupt QitQode and stop it mid-response","tui.tips.plan_agent":"The {highlight}Plan{/highlight} agent thinks through problems and proposes changes without touching any files","tui.tips.subagent":"Mention {highlight}@agent-name{/highlight} in your prompt to hand off to a specialized subagent","tui.tips.cycle_sessions":"Navigate between parent and child sessions with {highlight}Ctrl+X Right{/highlight} and {highlight}Ctrl+X Left{/highlight}","tui.tips.config_files":"{highlight}qitqode.json{/highlight} controls server behavior; {highlight}tui.json{/highlight} controls the terminal interface","tui.tips.global_config":"Your global TUI preferences live at {highlight}~/.config/qitqode/tui.json{/highlight}","tui.tips.schema":"Drop {highlight}$schema{/highlight} into your config file to unlock editor autocomplete","tui.tips.default_model":"Set the {highlight}model{/highlight} key in your config to lock in a preferred tier","tui.tips.keybinds":"Every keybind is overridable \u2014 drop it in the {highlight}keybinds{/highlight} section of {highlight}tui.json{/highlight}","tui.tips.disable_keybind":"Assign {highlight}none{/highlight} to any keybind to remove it entirely","tui.tips.mcp_config":"Wire up local or remote MCP servers through the {highlight}mcp{/highlight} section of your config","tui.tips.mcp_oauth":"Remote MCP servers that require OAuth? QitQode manages the auth flow for you","tui.tips.custom_command":"Save reusable prompts as {highlight}.md{/highlight} files in {highlight}.qitqode/command/{/highlight}","tui.tips.command_args":"Make commands dynamic with {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, and {highlight}$2{/highlight} placeholders","tui.tips.command_backticks":"Inject live shell output into any command using backticks \u2014 e.g. {highlight}`git diff`{/highlight}","tui.tips.custom_agent":"Drop a {highlight}.md{/highlight} file into {highlight}.qitqode/agent/{/highlight} to create a custom AI persona","tui.tips.agent_perms":"Each agent can have its own {highlight}edit{/highlight}, {highlight}bash{/highlight}, and {highlight}webfetch{/highlight} permission set","tui.tips.bash_allow":'Grant specific bash commands automatically \u2014 e.g. {highlight}"git *": "allow"{/highlight}',"tui.tips.bash_deny":'Block dangerous patterns outright \u2014 e.g. {highlight}"rm -rf *": "deny"{/highlight}',"tui.tips.bash_ask":'Require confirmation before certain commands run \u2014 e.g. {highlight}"git push": "ask"{/highlight}',"tui.tips.formatter":"QitQode runs prettier, gofmt, ruff, and other formatters on your files automatically","tui.tips.disable_formatter":'Turn off automatic formatting globally with {highlight}"formatter": false{/highlight} in your config',"tui.tips.custom_formatter":"Map any file extension to a custom formatter command in your config","tui.tips.lsp":"QitQode plugs into your LSP servers for deep, language-aware code understanding","tui.tips.custom_tool":"Give QitQode new capabilities by adding {highlight}.ts{/highlight} tool files to {highlight}.qitqode/tools/{/highlight}","tui.tips.tool_scripts":"Custom tools can shell out to scripts in any language \u2014 Python, Go, Bash, whatever","tui.tips.plugins":"Hook into QitQode's event lifecycle by adding {highlight}.ts{/highlight} files to {highlight}.qitqode/plugin/{/highlight}","tui.tips.plugin_notify":"Write a plugin to fire a desktop notification whenever a session finishes","tui.tips.plugin_protect":"A plugin can intercept file reads and block access to sensitive paths","tui.tips.run":"{highlight}qitqode run{/highlight} lets you drive QitQode from scripts without opening the TUI","tui.tips.continue":"Jump back into your last session from the CLI with {highlight}qitqode --continue{/highlight}","tui.tips.attach_cli":"Pass files into a non-interactive session with {highlight}qitqode run -f yourfile.ts{/highlight}","tui.tips.format_json":"Add {highlight}--format json{/highlight} to get structured output you can pipe into other tools","tui.tips.auth_list":"{highlight}qitqode auth status{/highlight} shows your current Forgewise sign-in status","tui.tips.agent_create":"Walk through building a new agent step by step with {highlight}qitqode agent create{/highlight}","tui.tips.theme_system":`Set {highlight}"theme": "system"{/highlight} to automatically follow your terminal's color scheme`,"tui.tips.theme_files":"Store custom JSON themes in {highlight}.qitqode/themes/{/highlight} to keep them project-local","tui.tips.theme_variants":"A single theme file can define both dark and light variants","tui.tips.theme_ansi":"Custom themes can reference any of the 256 ANSI terminal colors by number","tui.tips.env_var":"Pull in environment variables anywhere in your config with {highlight}{env:VAR_NAME}{/highlight}","tui.tips.file_var":"Embed the contents of any file into a config value using {highlight}{file:path}{/highlight}","tui.tips.instructions":"Point {highlight}instructions{/highlight} in your config to extra rules files to extend the agent's behavior","tui.tips.temperature":"Tune the agent's {highlight}temperature{/highlight} \u2014 lower for precision, higher for open-ended creativity","tui.tips.steps":"Cap how far the agent runs autonomously by setting a {highlight}steps{/highlight} limit in config","tui.tips.disable_tool":'Disable individual tools by setting them to {highlight}false{/highlight} under {highlight}"tools"{/highlight} in config',"tui.tips.disable_mcp_tools":`Silence an entire MCP server's toolset with {highlight}"mcp_*": false{/highlight}`,"tui.tips.tool_override":"Each agent config can override the global tool settings independently","tui.tips.doom_loop":"The {highlight}doom_loop{/highlight} permission guard stops the agent from getting stuck in runaway loops","tui.tips.external_dir":"{highlight}external_directory{/highlight} permission keeps the agent from modifying files outside your project","tui.tips.debug_config":"Something misconfigured? {highlight}qitqode debug config{/highlight} prints the resolved config for inspection","tui.tips.print_logs":"Pipe {highlight}--print-logs{/highlight} output to stderr for a full trace of what QitQode is doing","tui.tips.timeline":"Navigate directly to any message in the session with {highlight}Ctrl+X G{/highlight} or {highlight}/timeline{/highlight}","tui.tips.toggle_code":"Show or hide code blocks in the conversation with {highlight}Ctrl+X H{/highlight}","tui.tips.status":"Check what's running under the hood with {highlight}Ctrl+X S{/highlight} or {highlight}/status{/highlight}","tui.tips.scroll_accel":"Turn on {highlight}scroll_acceleration{/highlight} in {highlight}tui.json{/highlight} for fluid, physics-based scrolling","tui.tips.agents_md":"Share your project's AI rules with the whole team by committing {highlight}AGENTS.md{/highlight} to Git","tui.tips.review":"Ask QitQode to review your staged diff, branch, or open PR with {highlight}/review{/highlight}","tui.tips.help":"Lost? {highlight}/help{/highlight} or {highlight}Ctrl+X H{/highlight} surfaces the full keybind reference","tui.tips.rename":"Give your current session a proper name with {highlight}/rename{/highlight}","tui.tips.suspend.unix":"Need your shell back? {highlight}Ctrl+Z{/highlight} suspends QitQode and drops you back to the terminal","tui.tips.suspend.win":"Hit {highlight}Ctrl+Z{/highlight} to undo your last typed change in the prompt","tui.command.palette.title":"Commands","tui.command.palette.suggested":"Suggested","tui.command.category.session":"Session","tui.command.category.agent":"Agent","tui.command.category.provider":"Provider","tui.command.category.system":"System","tui.command.category.prompt":"Prompt","tui.command.category.internal":"Internal","tui.command.category.external":"External","tui.slash.init.description":"guided AGENTS.md setup","tui.slash.review.description":"review changes [commit|branch|pr], defaults to uncommitted","tui.slash.dream.description":"manually consolidate project memory from memory files and raw trajectory","tui.slash.distill.description":"find repeated workflows in recent work and package them into skills, subagents, or commands","tui.slash.goal.description":"set a stop-condition goal; runs until a judge says it's met. /goal clear to abort","tui.slash.deep-research.description":"deep multi-source, fact-checked research report (runs the deep-research workflow)","tui.command.language.switch.title":"Switch language","tui.command.language.switch.description":"Change the display language","tui.command.language.dialog.title":"Switch language","tui.language.auto":"Auto (system)","tui.language.current":"Current","tui.command.session.list.title":"Switch session","tui.command.session.new.title":"New session","tui.command.workflow.list.title":"Workflows","tui.command.model.list.title":"Switch model","tui.command.model.set_tier.title":"Switch to {{tier}}","tui.toast.model_tier_switched":"Switched to {{tier}}","tui.command.model.cycle_recent.title":"Model cycle","tui.command.model.cycle_recent_reverse.title":"Model cycle reverse","tui.command.model.cycle_favorite.title":"Favorite cycle","tui.command.model.cycle_favorite_reverse.title":"Favorite cycle reverse","tui.command.agent.list.title":"Switch agent","tui.command.mcp.list.title":"Toggle MCPs","tui.command.never_ask.title_on":"Never-ask: ON (auto-decide, permissions excluded) \u2014 click to turn off","tui.command.never_ask.title_off":"Never-ask: OFF \u2014 click to turn on (auto-decide, permissions excluded)","tui.command.never_ask.toast_on":"Never-ask ON \u2014 I won't prompt you; I'll pick the best option myself until you turn it off (/never-ask). Permission requests still need your approval.","tui.command.never_ask.toast_off":"Never-ask OFF \u2014 I'll ask you at decision points again.","tui.command.never_ask.title_on_fullauto":"Never-ask: ON (auto-decide; full-auto is also approving permissions) \u2014 click to turn off","tui.command.never_ask.title_off_fullauto":"Never-ask: OFF \u2014 click to turn on (auto-decide; full-auto is still approving permissions)","tui.command.never_ask.toast_on_fullauto":"Never-ask ON \u2014 I won't prompt you; I'll pick the best option myself until you turn it off (/never-ask). Full-auto is on, so tool permissions are being approved automatically too.","tui.command.agent.cycle.title":"Agent cycle","tui.command.variant.cycle.title":"Variant cycle","tui.command.variant.list.title":"Switch model variant","tui.command.agent.cycle.reverse.title":"Agent cycle reverse","tui.command.provider.login.title":"Login","tui.command.provider.logout.title":"Logout","tui.command.console.org.switch.title":"Switch org","tui.command.qitqode.status.title":"View status","tui.command.worktree.list.title":"Worktrees","tui.command.theme.switch.title":"Switch theme","tui.command.theme.switch_mode.to_light":"Switch to light mode","tui.command.theme.switch_mode.to_dark":"Switch to dark mode","tui.command.theme.mode.unlock":"Unlock theme mode","tui.command.theme.mode.lock":"Lock theme mode","tui.command.help.show.title":"Help","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"Accessibility: toggle animations and sound from the command list. Env vars: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND.","tui.dialog.help.announcements":"Announcements: in accessible mode, choose how chatty screen-reader announcements are (quiet, normal, verbose) from the command list or with QITQODE_TUI_ANNOUNCEMENTS. Errors are always announced.","tui.dialog.help.dialog_keys":"Dialogs: every dialog works with the keyboard alone \u2014 Esc closes, Tab or arrow keys move focus, Enter or Space activates the focused control.","tui.command.app.announcements.cycle":"Announcements: {{level}} (select to change)","tui.announcements.level.quiet":"quiet","tui.announcements.level.normal":"normal","tui.announcements.level.verbose":"verbose","tui.app.terminal_too_small":"Terminal too small ({{width}}x{{height}}). Resize to at least 40x8.","tui.dialog.help.command_list":"Press {{keybind}} to see all available actions and commands in any context.","tui.dialog.help.ok":"ok","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 scroll \xB7 PgUp/PgDn page \xB7 esc close","tui.dialog.ok":"ok","tui.dialog.confirm.cancel":"Cancel","tui.dialog.confirm.confirm":"Confirm","tui.dialog.agreement.title":"Terms & Privacy","tui.dialog.agreement.message":"Please review and agree to continue.","tui.dialog.agreement.confirm":"Agree & Continue","tui.command.docs.terms.title":"View Terms of Service","tui.command.docs.privacy.title":"View Privacy Policy","tui.command.consent.revoke.title":"Revoke free-model agreement","tui.consent.revoked":"Free-model agreement revoked \u2014 you'll be asked to agree again","tui.dialog.select.placeholder":"Search","tui.dialog.select.no_results":"No results found","tui.dialog.prompt.placeholder":"Enter text","tui.dialog.prompt.busy":"Working...","tui.dialog.prompt.processing":"processing...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"submit","tui.dialog.export.title":"Export Options","tui.dialog.export.filename":"Filename:","tui.dialog.export.filename_placeholder":"Enter filename","tui.dialog.export.include_thinking":"Include thinking","tui.dialog.export.include_tool_details":"Include tool details","tui.dialog.export.include_assistant_metadata":"Include assistant metadata","tui.dialog.export.open_without_saving":"Open without saving","tui.dialog.export.hint.toggle_prefix":"Press","tui.dialog.export.hint.toggle_action":"to toggle","tui.dialog.export.hint.confirm_action":"to confirm","tui.dialog.export.hint.options_action":"for options","tui.toast.copied_to_clipboard":"Copied to clipboard","tui.toast.instructions_loaded":"Loaded {{files}}","tui.toast.update_available.title":"Update Available","tui.toast.update_available.confirm":"A new release v{{version}} is available. Would you like to update now?","tui.toast.update_available.updating":"Updating to v{{version}}...","tui.toast.update_available.failed":"Update failed","tui.toast.update_available.success":"Successfully updated to QitQode v{{version}}. Please restart the application.","tui.toast.updated.title":"Auto-updated","tui.toast.updated.message":"Patch update applied: v{{version}}. Restart to use the new version. Disable via autoupdate: false in config.","tui.sidebar.instructions":"Instructions","tui.sidebar.cwd":"Working Directory","tui.toast.unknown_error":"An unknown error has occurred","tui.command.docs.open.title":"Open docs","tui.command.app.exit.title":"Exit the app","tui.command.app.debug.title":"Toggle debug panel","tui.command.app.console.title":"Toggle console","tui.command.app.heap_snapshot.title":"Write heap snapshot","tui.command.terminal.suspend.title":"Suspend terminal","tui.command.terminal.title.disable":"Disable terminal title","tui.command.terminal.title.enable":"Enable terminal title","tui.command.app.toggle.animations.disable":"Disable animations","tui.command.app.toggle.animations.enable":"Enable animations","tui.command.app.toggle.diffwrap.disable":"Disable diff wrapping","tui.command.app.toggle.diffwrap.enable":"Enable diff wrapping","tui.command.app.toggle.sound.disable":"Disable sound","tui.command.app.toggle.sound.enable":"Enable sound","tui.command.logout.toast":"Logged out","tui.command.session.share.title":"Share session","tui.command.session.share.copy_link":"Copy share link","tui.command.session.rename.title":"Rename session","tui.command.session.timeline.title":"Jump to message","tui.command.session.fork.title":"Fork session","tui.command.session.compact.title":"Compact session","tui.command.session.unshare.title":"Unshare session","tui.command.session.undo.title":"Undo previous message","tui.command.session.redo.title":"Redo","tui.command.session.sidebar.show":"Show sidebar","tui.command.session.sidebar.hide":"Hide sidebar","tui.command.session.conceal.disable":"Disable code concealment","tui.command.session.conceal.enable":"Enable code concealment","tui.command.session.timestamps.show":"Show timestamps","tui.command.session.timestamps.hide":"Hide timestamps","tui.command.session.thinking.expand":"Expand thinking","tui.command.session.thinking.collapse":"Collapse thinking","tui.command.session.tool_details.show":"Show tool details","tui.command.session.tool_details.hide":"Hide tool details","tui.command.session.scrollbar.toggle":"Toggle session scrollbar","tui.command.session.generic_tool_output.show":"Show generic tool output","tui.command.session.generic_tool_output.hide":"Hide generic tool output","tui.command.session.page_up.title":"Page up","tui.command.session.page_down.title":"Page down","tui.command.session.line_up.title":"Line up","tui.command.session.line_down.title":"Line down","tui.command.session.half_page_up.title":"Half page up","tui.command.session.half_page_down.title":"Half page down","tui.command.session.first.title":"First message","tui.command.session.last.title":"Last message","tui.command.session.last_user.title":"Jump to last user message","tui.command.session.message_next.title":"Next message","tui.command.session.message_previous.title":"Previous message","tui.command.messages.copy.title":"Copy last assistant message","tui.command.session.copy.title":"Copy session transcript","tui.command.session.export.title":"Export session transcript","tui.command.session.child_first.title":"Go to child session","tui.command.session.parent.title":"Go to parent session","tui.command.session.main.title":"Back to the main conversation","tui.command.session.child_next.title":"Next child session","tui.command.session.child_previous.title":"Previous child session","tui.command.prompt.clear.title":"Clear prompt","tui.command.prompt.submit.title":"Submit prompt","tui.command.prompt.paste.title":"Paste","tui.command.session.interrupt.title":"Interrupt session","tui.command.prompt.editor.title":"Open editor","tui.command.prompt.skills.title":"Skills","tui.command.voice.toggle.title":"Toggle voice input","tui.command.voice.toggle.title_on":"Voice input: ON \u2014 click to turn off","tui.command.voice.toggle.title_off":"Voice input: OFF \u2014 click to turn on","tui.command.voice.send.title":"Toggle voice send command","tui.command.voice.send.title_on":"Voice send: ON \u2014 click to turn off","tui.command.voice.send.title_off":"Voice send: OFF \u2014 click to turn on","tui.voice.enabled":"Voice input on (Chinese/English) \u2014 click [Voice] to record","tui.voice.disabled":"Voice input disabled","tui.voice.send.enabled":'Voice send enabled \u2014 after a pause, clearly say "send it" to submit',"tui.voice.send.disabled":"Voice send disabled","tui.voice.control.enabled":"Voice control enabled \u2014 using multimodal model for intelligent editing (slower)","tui.voice.control.disabled":"Voice control disabled \u2014 using fast ASR transcription","tui.command.voice.control.title":"Toggle voice control (multimodal)","tui.command.voice.control.title_on":"Voice control: ON (multimodal) \u2014 click to turn off","tui.command.voice.control.title_off":"Voice control: OFF (fast ASR) \u2014 click to turn on","tui.voice.error.no_auth":"Use /connect to sign in to QitQode, or configure voice.asr_model for another provider","tui.voice.error.no_auth_provider":'Voice provider "{{provider}}" is not authenticated, check its apiKey',"tui.voice.error.provider_not_found":'Provider "{{provider}}" not available \u2014 /connect to authenticate, or declare models in config for custom endpoints',"tui.voice.error.no_url":'Provider "{{provider}}" has no baseURL configured \u2014 set options.baseURL in the provider config',"tui.voice.error.no_device":"No microphone/audio device found \u2014 please check your system audio settings","tui.voice.error.recorder_failed":"Recording failed","tui.voice.error.no_recorder":"No recording tool found, please install sox","tui.voice.error.too_short":"Recording too short","tui.voice.error.network":"Transcription failed, please check your network","tui.voice.error.empty_send":"Nothing to send","tui.voice.error.unknown_agent":'Agent "{{name}}" not found',"tui.command.prompt.stash.title":"Stash prompt","tui.command.prompt.stash.pop.title":"Stash pop","tui.command.prompt.stash.list.title":"Stash list","tui.command.tips.toggle.show":"Show tips","tui.command.tips.toggle.hide":"Hide tips","tui.command.plugins.list.title":"Plugins","tui.command.plugins.install.title":"Install plugin","tui.dialog.login.title":"QitQode Sign In","cli.providers.select":"Select provider","cli.providers.other":"Other provider","tui.dialog.login.forgewise":"Sign in with Forgewise","tui.dialog.login.import_claude":"Import from Claude Code","tui.dialog.login.other":"Other Provider","tui.dialog.login.import_claude.no_key":"Claude Code API Key not found","tui.dialog.login.import_claude.read_failed":"Failed to read ~/.claude/settings.json","tui.dialog.login.import_claude.success":"Imported from Claude Code","tui.question.plan_enter.question":"Would you like to switch to plan mode for structured planning?","tui.question.plan_enter.header":"Plan","tui.question.plan_enter.option.0.label":"Yes","tui.question.plan_enter.option.0.description":"Switch to plan agent for read-only planning","tui.question.plan_enter.option.1.label":"No","tui.question.plan_enter.option.1.description":"Stay in current mode","tui.question.plan_exit.question":"Plan at {{plan}} is complete. Would you like to switch to the build agent and start implementing?","tui.question.plan_exit.header":"Plan","tui.question.plan_exit.option.0.label":"Yes","tui.question.plan_exit.option.0.description":"Switch to build agent and start implementing the plan","tui.question.plan_exit.option.1.label":"No","tui.question.plan_exit.option.1.description":"Stay with plan agent to continue refining the plan","tui.session.badge.auto":"Auto","tui.session.subagent.label":"Subagent","tui.session.subagent.child_label":"Child session","tui.session.subagent.back":"\u2190 Back to main","tui.session.subagent.previous":"Prev","tui.session.subagent.next":"Next","tui.session.subagent.prompt_badge":"Prompt \u2192 main","tui.session.subagent.prompt_hint":"what you type below goes to the main conversation","tui.session.subagent.legend_back":"back","tui.session.subagent.legend_cycle":"cycle","trust.title":"Accessing workspace:","trust.safety_check":"Quick safety check: Is this a project you created or one you trust? (Like your own code, a well-known open source project, or work from your team). If not, take a moment to review what's in this folder first.","trust.capabilities":"QitQode will be able to read, edit, and execute files here.","trust.plugin_warn":"If malicious plugins exist in this directory, they can execute arbitrary code, read, modify, or exfiltrate your files.","trust.option.yes":"Yes, I trust this folder","trust.option.no":"No, exit","trust.dangerous.title_home":"WARNING: You are about to open your HOME DIRECTORY.","trust.dangerous.title_root":"WARNING: You are about to open the FILESYSTEM ROOT.","trust.dangerous.body_home":"The model will have access to ALL your personal files \u2014 SSH keys, credentials, browser profiles, and everything else under your home folder.","trust.dangerous.body_root":"The model will have access to the ENTIRE filesystem \u2014 system files, all user data, credentials, and everything on this machine.","trust.dangerous.advice_home":"Unless you have a very specific reason, DO NOT trust your entire home directory.","trust.dangerous.advice_root":"Unless you have a very specific reason, DO NOT trust the filesystem root.","trust.dangerous.option.yes":"I understand the risks, trust for this session","trust.dangerous.option.no":"Exit (recommended)"};
|
|
3
|
-
export{f as
|
|
3
|
+
export{f as Rd};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{uu as P0}from"./chunk-e826jvr2.js";import{Ku as K$}from"./chunk-9exxjnxc.js";import{Cv as b,tv as R}from"./chunk-62mb6wxm.js";import{Pv as y,Sv as qZ}from"./chunk-zg72kz2k.js";import{MJ as L$}from"./chunk-qvnsgyfk.js";import{_Q as A0,aR as wZ,cR as FZ}from"./chunk-pfx8ts02.js";var aZ=/^[A-Za-z0-9_.:-]{1,128}$/,oZ=/^[A-Za-z0-9_.:-]{1,160}$/,tZ=/\b(authorization)\s*[:=]\s*(?:bearer|basic)\s+\S+/gi,eZ=/\b(api[-_ ]?key|access[-_ ]?token|refresh[-_ ]?token|token|password|secret)\s*[:=]\s*["']?[^\s,;"'&]+/gi,$0=/\b(bearer|basic)\s+[A-Za-z0-9._~+/-]+=*/gi,Z0=/([?&](?:api[-_]?key|access[-_]?token|refresh[-_]?token|token|secret)=)[^&\s]+/gi,X0=/\beyJ[A-Za-z0-9_-]*\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b/g;function I1($){return $!==null&&typeof $==="object"&&!Array.isArray($)?$:void 0}function $$($,Z){if(typeof $!=="string")return;return $.replace(tZ,"$1: [redacted]").replace(eZ,"$1=[redacted]").replace($0,"$1 [redacted]").replace(Z0,"$1[redacted]").replace(X0,"[redacted-token]").replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/g," ").trim().slice(0,Z)||void 0}function g$($){if(typeof $!=="string")return;let Z=$.trim();if(!aZ.test(Z))return;if(Z.length>32&&!/^(?:ERR|E_|QORTEX|QLEX|AUTH|GATEWAY|VALIDATION|RATE_LIMIT|HTTP_)/i.test(Z))return;return Z}function v$($){let Z=$?.trim();return Z&&oZ.test(Z)?Z:void 0}class m extends Error{category;code;status;requestId;retryable;constructor($,Z={}){super($.message,Z.cause===void 0?void 0:{cause:Z.cause});this.name="QortexError",this.category=$.category,this.code=$.code,this.status=$.status,this.requestId=$.requestId,this.retryable=$.retryable}toJSON(){return{category:this.category,message:this.message,...this.code?{code:this.code}:{},...this.status===void 0?{}:{status:this.status},...this.requestId?{requestId:this.requestId}:{},retryable:this.retryable}}}class Q$ extends m{constructor($,Z={}){super($,Z);this.name="QortexHttpError"}}class Z$ extends m{constructor($,Z={}){super({category:"timeout",code:"QORTEX_REQUEST_TIMEOUT",message:`Qortex did not complete the request within ${$}ms`,retryable:!0},Z);this.name="QortexTimeoutError"}}class d extends m{constructor($={}){super({category:"transport",code:"QORTEX_TRANSPORT_ERROR",message:"The Qortex request failed before a response was received",retryable:!0},$);this.name="QortexTransportError"}}class U$ extends m{constructor($,Z,X){super({category:"protocol",code:"QORTEX_PROTOCOL_ERROR",message:$$($,512)??"Qortex returned an invalid response",...Z===void 0?{}:{status:Z},...X?{requestId:X}:{},retryable:!1});this.name="QortexProtocolError"}}function y$($,Z,X){let J=I1(Z),Y=I1(J?.error),V=g$(J?.code)??g$(Y?.code)??(typeof J?.error==="string"?g$(J.error):void 0)??`QORTEX_HTTP_${$}`,G=$$(J?.message,512)??$$(J?.error_description,512)??$$(Y?.message,512)??(typeof J?.error==="string"?$$(J.error,512):void 0)??`Qortex returned HTTP ${$}`,z=new Headers(X),O=v$(z.get("x-request-id"))??v$(z.get("request-id"))??v$(z.get("x-qlex-request-id")),L=J?.success===!1,D;if(L&&$<400)D="protocol";else if($===401||$===403&&/credential|authentication|unauthori[sz]ed/i.test(V))D="credentials";else if($===403)D="authorization";else if(/gateway|routing|upstream/i.test(V))D="gateway";else if($===400||$===422)D="validation";else if($===429)D="rate-limit";else if($===502||$===503||$===504)D="gateway";else if($>=500)D="server";else D="http";return new Q$({category:D,message:G,code:V,status:$,...O?{requestId:O}:{},retryable:$===408||$===425||$===429||$>=500})}function J0($,Z){if(Z!==void 0&&(!Number.isFinite(Z)||Z<=0))throw RangeError("timeoutMs must be a positive finite number");let X=new AbortController,J=[],Y=!1,V;for(let G of new Set($.filter((z)=>Boolean(z)))){if(G.aborted){X.abort(G.reason);continue}let z=()=>X.abort(G.reason);G.addEventListener("abort",z,{once:!0}),J.push(()=>G.removeEventListener("abort",z))}if(Z!==void 0&&!X.signal.aborted)V=setTimeout(()=>{Y=!0;let G=Error("Qortex request timed out");G.name="TimeoutError",X.abort(G)},Z);return{signal:X.signal,timedOut:()=>Y,timeoutError:(G)=>new Z$(Z??0,{cause:G}),dispose(){if(V!==void 0)clearTimeout(V);for(let G of J)G()}}}function Y0($,Z){if($ instanceof Request)return $;return new URL($.toString(),Z)}function G0($){return new URL($ instanceof Request?$.url:$.toString())}function V0($,Z,X){let J=new Headers($);for(let Y of[Z,X])new Headers(Y).forEach((V,G)=>J.set(G,V));return J}function c$($){let Z=$.get("x-request-id")??$.get("request-id")??$.get("x-qlex-request-id");return Z&&/^[A-Za-z0-9_.:-]{1,160}$/.test(Z)?Z:void 0}function z0($,Z){if(!$.body)return Z.dispose(),$;let X=$.body.getReader(),J=!1,Y=()=>{if(J)return;J=!0,Z.dispose();try{X.releaseLock()}catch{}},V=new ReadableStream({async pull(G){try{let z=await X.read();if(z.done){Y(),G.close();return}G.enqueue(z.value)}catch(z){Y(),G.error(Z.timedOut()?Z.timeoutError(z):z)}},async cancel(G){try{await X.cancel(G)}finally{Y()}}});return new Response(V,{status:$.status,statusText:$.statusText,headers:$.headers})}function W0($){if($.length===0)return;try{return JSON.parse($)}catch{return $}}function O0($){return $!==null&&typeof $==="object"&&!Array.isArray($)&&$.success===!1}class u${baseUrl;fetchImpl;defaultHeaders;defaultTimeoutMs;constructor($){this.baseUrl=new URL($.baseUrl);let Z=this.baseUrl.hostname.replace(/^\[|\]$/g,""),X=Z==="localhost"||Z==="127.0.0.1"||Z==="::1";if(this.baseUrl.protocol!=="https:"&&!X)throw TypeError("Qortex baseUrl must use HTTPS outside localhost");if(!this.baseUrl.pathname.endsWith("/"))this.baseUrl.pathname+="/";if(this.fetchImpl=$.fetch??globalThis.fetch,typeof this.fetchImpl!=="function")throw TypeError("A fetch implementation is required");this.defaultHeaders=$.defaultHeaders,this.defaultTimeoutMs=$.timeoutMs}async request($,Z={},X={}){let J=Y0($,this.baseUrl);if(G0(J).origin!==this.baseUrl.origin)throw TypeError("Qortex requests must stay on the configured base URL origin");let Y=$ instanceof Request?$.signal:void 0,V=J0([Y,Z.signal,X.signal],X.timeoutMs??this.defaultTimeoutMs),G=V0(this.defaultHeaders,Y?$.headers:void 0,Z.headers);try{if(V.signal.aborted){if(V.timedOut())throw V.timeoutError();throw V.signal.reason??Object.assign(Error("The request was aborted"),{name:"AbortError"})}let z=await this.fetchImpl(J,{...Z,headers:G,signal:V.signal});if(V.signal.aborted){if(V.timedOut())throw V.timeoutError();throw V.signal.reason??Object.assign(Error("The request was aborted"),{name:"AbortError"})}return z0(z,V)}catch(z){if(V.dispose(),V.timedOut())throw new Z$(X.timeoutMs??this.defaultTimeoutMs??0,{cause:z});if(V.signal.aborted)throw z;throw new d({cause:z})}}async requestJson($,Z={},X={}){let J=await this.request($,Z,X),Y=await J.text(),V=W0(Y);if(!J.ok||O0(V))throw y$(J.status,V,J.headers);if(Y.length>0&&typeof V==="string"&&J.ok)throw new U$("Qortex returned a non-JSON response where JSON was expected",J.status,c$(J.headers));return{data:V,status:J.status,headers:new Headers(J.headers),...c$(J.headers)?{requestId:c$(J.headers)}:{}}}async getRequestStatus($,Z={}){if(!$.trim())throw TypeError("requestId must not be empty");let X=new URL(`/auth/usage/v1/requests/${encodeURIComponent($)}`,this.baseUrl.origin);return this.requestJson(X,{method:"GET",headers:Z.headers},Z)}openStream($,Z={},X={}){return this.request($,Z,X)}}function X$($){return new u$($)}function J$($){if($!==null&&typeof $==="object"&&!Array.isArray($)&&$.success===!0&&Object.hasOwn($,"data"))return $.data;return $}class _${decoder=new TextDecoder;buffer="";data=[];eventName;eventId;lastEventId;retry;push($){let Z=typeof $==="string"?this.decoder.decode()+$:this.decoder.decode($,{stream:!0});return this.consume(Z,!1)}finish(){let $=this.decoder.decode(),Z=this.consume($,!0);return this.resetFrame(),Z}consume($,Z){this.buffer+=$;let X=[],J=0,Y=0;while(Y<this.buffer.length){let V=this.buffer[Y];if(V==="\r"){if(Y+1===this.buffer.length&&!Z)break;let G=this.buffer.slice(J,Y);if(this.buffer[Y+1]===`
|
|
3
|
+
`)Y+=1;X.push(...this.processLine(G)),Y+=1,J=Y}else if(V===`
|
|
4
|
+
`)X.push(...this.processLine(this.buffer.slice(J,Y))),Y+=1,J=Y;else Y+=1}if(this.buffer=this.buffer.slice(J),Z&&this.buffer.length>0)X.push(...this.processLine(this.buffer)),this.buffer="";return X}processLine($){if($.length===0){if(this.data.length===0)return this.resetFrame(),[];let Y={data:this.data.join(`
|
|
5
|
+
`),...this.eventName?{event:this.eventName}:{},...this.eventId??this.lastEventId?{id:this.eventId??this.lastEventId}:{},...this.retry===void 0?{}:{retry:this.retry}};return this.resetFrame(),[Y]}if($.startsWith(":"))return[];let Z=$.indexOf(":"),X=Z===-1?$:$.slice(0,Z),J=Z===-1?"":$.slice(Z+1);if(J.startsWith(" "))J=J.slice(1);switch(X){case"data":this.data.push(J);break;case"event":this.eventName=J;break;case"id":if(!J.includes("\x00"))this.eventId=J,this.lastEventId=J;break;case"retry":if(/^\d+$/.test(J))this.retry=Number(J);break}return[]}resetFrame(){this.data=[],this.eventName=void 0,this.eventId=void 0,this.retry=void 0}}function Y$($){return $.reason??Object.assign(Error("The operation was aborted"),{name:"AbortError"})}function R1($,Z){if(!Number.isFinite($)||$<0)return Promise.reject(RangeError("delay must be a non-negative finite number"));if(Z?.aborted)return Promise.reject(Y$(Z));if($===0)return Promise.resolve();return new Promise((X,J)=>{let Y=!1,V=()=>{clearTimeout(O),Z?.removeEventListener("abort",z)},G=(L)=>{if(Y)return;Y=!0,V(),L()},z=()=>G(()=>J(Z?Y$(Z):void 0)),O=setTimeout(()=>G(X),$);if(Z?.addEventListener("abort",z,{once:!0}),Z?.aborted)z()})}function D0($){return Object.freeze({...$})}async function v($){if(typeof $.operationId!=="string"||!$.operationId.trim()||$.operationId.length>256)throw TypeError("operationId must contain between 1 and 256 characters");if(!Number.isInteger($.maxAttempts)||$.maxAttempts<1||$.maxAttempts>5)throw RangeError("maxAttempts must be an integer between 1 and 5");for(let Z=1;Z<=$.maxAttempts;Z+=1){if($.signal?.aborted)throw Y$($.signal);let X={acceptance:"unknown",partialOutput:!1,sideEffectStarted:!1},J={operationId:$.operationId,attempt:Z,...$.signal?{signal:$.signal}:{},markNotAccepted(){if(X.acceptance!=="accepted")X.acceptance="not-accepted"},markAccepted(){X.acceptance="accepted"},markPartialOutput(){X.partialOutput=!0},markSideEffectStarted(){X.sideEffectStarted=!0}};try{return await $.execute(J)}catch(Y){if($.signal?.aborted)throw Y$($.signal);if(Z>=$.maxAttempts)throw Y;let V=Object.freeze({operationId:$.operationId,attempt:Z,nextAttempt:Z+1,error:Y,outcome:D0(X),...$.signal?{signal:$.signal}:{}});if($.shouldRetry(Y,V)!==!0)throw Y;if(X.acceptance==="accepted"||X.partialOutput||X.sideEffectStarted)throw Y;if(await $.authorizeReplay(V)!==!0)throw Y;if($.signal?.aborted)throw Y$($.signal);let G=typeof $.backoffMs==="function"?$.backoffMs(Z+1,Y):$.backoffMs??0,z=Math.min(30000,Math.max(0,G));await R1(z,$.signal)}}throw Error("Unreachable recovery state")}function w1({onRequest:$,onSseError:Z,onSseEvent:X,responseTransformer:J,responseValidator:Y,sseDefaultRetryDelay:V,sseMaxRetryAttempts:G,sseMaxRetryDelay:z,sseSleepFn:O,url:L,...D}){let K,N=O??((M)=>new Promise((U)=>setTimeout(U,M)));return{stream:async function*(){let M=V??3000,U=0,T=D.signal??new AbortController().signal;while(!0){if(T.aborted)break;U++;let f=D.headers instanceof Headers?D.headers:new Headers(D.headers);if(K!==void 0)f.set("Last-Event-ID",K);try{let _={redirect:"follow",...D,body:D.serializedBody,headers:f,signal:T},F=new Request(L,_);if($)F=await $(L,_);let S=await(D.fetch??globalThis.fetch)(F);if(!S.ok)throw Error(`SSE failed: ${S.status} ${S.statusText}`);if(!S.body)throw Error("No body in SSE response");let H=S.body.pipeThrough(new TextDecoderStream).getReader(),I="",M1=()=>{try{H.cancel()}catch{}};T.addEventListener("abort",M1);try{while(!0){let{done:iZ,value:nZ}=await H.read();if(iZ)break;I+=nZ,I=I.replace(/\r\n?/g,`
|
|
6
|
+
`);let Q1=I.split(`
|
|
7
|
+
|
|
8
|
+
`);I=Q1.pop()??"";for(let sZ of Q1){let rZ=sZ.split(`
|
|
9
|
+
`),M$=[],U1;for(let x of rZ)if(x.startsWith("data:"))M$.push(x.replace(/^data:\s*/,""));else if(x.startsWith("event:"))U1=x.replace(/^event:\s*/,"");else if(x.startsWith("id:"))K=x.replace(/^id:\s*/,"");else if(x.startsWith("retry:")){let S1=Number.parseInt(x.replace(/^retry:\s*/,""),10);if(!Number.isNaN(S1))M=S1}let g,_1=!1;if(M$.length){let x=M$.join(`
|
|
10
|
+
`);try{g=JSON.parse(x),_1=!0}catch{g=x}}if(_1){if(Y)await Y(g);if(J)g=await J(g)}if(X?.({data:g,event:U1,id:K,retry:M}),M$.length)yield g}}}finally{T.removeEventListener("abort",M1),H.releaseLock()}break}catch(_){if(Z?.(_),G!==void 0&&U>=G)break;let F=Math.min(M*2**(U-1),z??30000);await N(F)}}}()}}var L0=($)=>{switch($){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},K0=($)=>{switch($){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},N0=($)=>{switch($){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},S$=({allowReserved:$,explode:Z,name:X,style:J,value:Y})=>{if(!Z){let z=($?Y:Y.map((O)=>encodeURIComponent(O))).join(K0(J));switch(J){case"label":return`.${z}`;case"matrix":return`;${X}=${z}`;case"simple":return z;default:return`${X}=${z}`}}let V=L0(J),G=Y.map((z)=>{if(J==="label"||J==="simple")return $?z:encodeURIComponent(z);return l({allowReserved:$,name:X,value:z})}).join(V);return J==="label"||J==="matrix"?V+G:G},l=({allowReserved:$,name:Z,value:X})=>{if(X===void 0||X===null)return"";if(typeof X==="object")throw Error("Deeply-nested arrays/objects aren\u2019t supported. Provide your own `querySerializer()` to handle these.");return`${Z}=${$?X:encodeURIComponent(X)}`},I$=({allowReserved:$,explode:Z,name:X,style:J,value:Y,valueOnly:V})=>{if(Y instanceof Date)return V?Y.toISOString():`${X}=${Y.toISOString()}`;if(J!=="deepObject"&&!Z){let O=[];Object.entries(Y).forEach(([D,K])=>{O=[...O,D,$?K:encodeURIComponent(K)]});let L=O.join(",");switch(J){case"form":return`${X}=${L}`;case"label":return`.${L}`;case"matrix":return`;${X}=${L}`;default:return L}}let G=N0(J),z=Object.entries(Y).map(([O,L])=>l({allowReserved:$,name:J==="deepObject"?`${X}[${O}]`:O,value:L})).join(G);return J==="label"||J==="matrix"?G+z:z};var j0=/\{[^{}]+\}/g,B0=({path:$,url:Z})=>{let X=Z,J=Z.match(j0);if(J)for(let Y of J){let V=!1,G=Y.substring(1,Y.length-1),z="simple";if(G.endsWith("*"))V=!0,G=G.substring(0,G.length-1);if(G.startsWith("."))G=G.substring(1),z="label";else if(G.startsWith(";"))G=G.substring(1),z="matrix";let O=$[G];if(O===void 0||O===null)continue;if(Array.isArray(O)){X=X.replace(Y,S$({explode:V,name:G,style:z,value:O}));continue}if(typeof O==="object"){X=X.replace(Y,I$({explode:V,name:G,style:z,value:O,valueOnly:!0}));continue}if(z==="matrix"){X=X.replace(Y,`;${l({name:G,value:O})}`);continue}let L=encodeURIComponent(z==="label"?`.${O}`:O);X=X.replace(Y,L)}return X},T1=({baseUrl:$,path:Z,query:X,querySerializer:J,url:Y})=>{let V=Y.startsWith("/")?Y:`/${Y}`,G=($??"")+V;if(Z)G=B0({path:Z,url:G});let z=X?J(X):"";if(z.startsWith("?"))z=z.substring(1);if(z)G+=`?${z}`;return G};function m$($){let Z=$.body!==void 0;if(Z&&$.bodySerializer){if("serializedBody"in $)return $.serializedBody!==void 0&&$.serializedBody!==""?$.serializedBody:null;return $.body!==""?$.body:null}if(Z)return $.body;return}var F1=async($,Z)=>{let X=typeof Z==="function"?await Z($):Z;if(!X)return;if($.scheme==="bearer")return`Bearer ${X}`;if($.scheme==="basic")return`Basic ${btoa(X)}`;return X};var d$={bodySerializer:($)=>JSON.stringify($,(Z,X)=>typeof X==="bigint"?X.toString():X)};var q1=({parameters:$={},...Z}={})=>{return(J)=>{let Y=[];if(J&&typeof J==="object")for(let V in J){let G=J[V];if(G===void 0||G===null)continue;let z=$[V]||Z;if(Array.isArray(G)){let O=S$({allowReserved:z.allowReserved,explode:!0,name:V,style:"form",value:G,...z.array});if(O)Y.push(O)}else if(typeof G==="object"){let O=I$({allowReserved:z.allowReserved,explode:!0,name:V,style:"deepObject",value:G,...z.object});if(O)Y.push(O)}else{let O=l({allowReserved:z.allowReserved,name:V,value:G});if(O)Y.push(O)}}return Y.join("&")}},H1=($)=>{if(!$)return"stream";let Z=$.split(";")[0]?.trim();if(!Z)return;if(Z.startsWith("application/json")||Z.endsWith("+json"))return"json";if(Z==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some((X)=>Z.startsWith(X)))return"blob";if(Z.startsWith("text/"))return"text";return},M0=($,Z)=>{if(!Z)return!1;if($.headers.has(Z)||$.query?.[Z]||$.headers.get("Cookie")?.includes(`${Z}=`))return!0;return!1};async function x1($){for(let Z of $.security??[]){if(M0($,Z.name))continue;let X=await F1(Z,$.auth);if(!X)continue;let J=Z.name??"Authorization";switch(Z.in){case"query":if(!$.query)$.query={};$.query[J]=X;break;case"cookie":$.headers.append("Cookie",`${J}=${X}`);break;case"header":default:$.headers.set(J,X);break}}}var l$=($)=>T1({baseUrl:$.baseUrl,path:$.path,query:$.query,querySerializer:typeof $.querySerializer==="function"?$.querySerializer:q1($.querySerializer),url:$.url}),p$=($,Z)=>{let X={...$,...Z};if(X.baseUrl?.endsWith("/"))X.baseUrl=X.baseUrl.substring(0,X.baseUrl.length-1);return X.headers=w$($.headers,Z.headers),X},Q0=($)=>{let Z=[];return $.forEach((X,J)=>{Z.push([J,X])}),Z},w$=(...$)=>{let Z=new Headers;for(let X of $){if(!X)continue;let J=X instanceof Headers?Q0(X):Object.entries(X);for(let[Y,V]of J)if(V===null)Z.delete(Y);else if(Array.isArray(V))for(let G of V)Z.append(Y,G);else if(V!==void 0)Z.set(Y,typeof V==="object"?JSON.stringify(V):V)}return Z};class R${fns=[];clear(){this.fns=[]}eject($){let Z=this.getInterceptorIndex($);if(this.fns[Z])this.fns[Z]=null}exists($){let Z=this.getInterceptorIndex($);return Boolean(this.fns[Z])}getInterceptorIndex($){if(typeof $==="number")return this.fns[$]?$:-1;return this.fns.indexOf($)}update($,Z){let X=this.getInterceptorIndex($);if(this.fns[X])return this.fns[X]=Z,$;return!1}use($){return this.fns.push($),this.fns.length-1}}var A1=()=>({error:new R$,request:new R$,response:new R$}),U0=q1({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),_0={"Content-Type":"application/json"},G$=($={})=>({...d$,headers:_0,parseAs:"auto",querySerializer:U0,...$});var V$=($={})=>{let Z=p$(G$(),$),X=()=>({...Z}),J=(D)=>{return Z=p$(Z,D),X()},Y=A1(),V=async(D)=>{let K={...Z,...D,fetch:D.fetch??Z.fetch??globalThis.fetch,headers:w$(Z.headers,D.headers),serializedBody:void 0};if(K.security)await x1(K);if(K.requestValidator)await K.requestValidator(K);if(K.body!==void 0&&K.bodySerializer)K.serializedBody=K.bodySerializer(K.body);if(K.body===void 0||K.serializedBody==="")K.headers.delete("Content-Type");let N=K,Q=l$(N);return{opts:N,url:Q}},G=async(D)=>{let K=D.throwOnError??Z.throwOnError,N=D.responseStyle??Z.responseStyle,Q,j;try{let{opts:M,url:U}=await V(D),T={redirect:"follow",...M,body:m$(M)};Q=new Request(U,T);for(let S of Y.request.fns)if(S)Q=await S(Q,M);let f=M.fetch;j=await f(Q);for(let S of Y.response.fns)if(S)j=await S(j,Q,M);let _={request:Q,response:j};if(j.ok){let S=(M.parseAs==="auto"?H1(j.headers.get("Content-Type")):M.parseAs)??"json";if(j.status===204||j.headers.get("Content-Length")==="0"){let I;switch(S){case"arrayBuffer":case"blob":case"text":I=await j[S]();break;case"formData":I=new FormData;break;case"stream":I=j.body;break;case"json":default:I={};break}return M.responseStyle==="data"?I:{data:I,..._}}let H;switch(S){case"arrayBuffer":case"blob":case"formData":case"text":H=await j[S]();break;case"json":{let I=await j.text();H=I?JSON.parse(I):{};break}case"stream":return M.responseStyle==="data"?j.body:{data:j.body,..._}}if(S==="json"){if(M.responseValidator)await M.responseValidator(H);if(M.responseTransformer)H=await M.responseTransformer(H)}return M.responseStyle==="data"?H:{data:H,..._}}let F=await j.text(),f$;try{f$=JSON.parse(F)}catch{}throw f$??F}catch(M){let U=M;for(let T of Y.error.fns)if(T)U=await T(U,j,Q,D);if(U=U||{},K)throw U;return N==="data"?void 0:{error:U,request:Q,response:j}}},z=(D)=>(K)=>G({...K,method:D}),O=(D)=>async(K)=>{let{opts:N,url:Q}=await V(K);return w1({...N,body:N.body,method:D,onRequest:async(j,M)=>{let U=new Request(j,M);for(let T of Y.request.fns)if(T)U=await T(U,N);return U},serializedBody:m$(N),url:Q})};return{buildUrl:(D)=>l$({...Z,...D}),connect:z("CONNECT"),delete:z("DELETE"),get:z("GET"),getConfig:X,head:z("HEAD"),interceptors:Y,options:z("OPTIONS"),patch:z("PATCH"),post:z("POST"),put:z("PUT"),request:G,setConfig:J,sse:{connect:O("CONNECT"),delete:O("DELETE"),get:O("GET"),head:O("HEAD"),options:O("OPTIONS"),patch:O("PATCH"),post:O("POST"),put:O("PUT"),trace:O("TRACE")},trace:z("TRACE")}};var S0={$body_:"body",$headers_:"headers",$path_:"path",$query_:"query"},I0=Object.entries(S0),P1=($,Z)=>{if(!Z)Z=new Map;for(let X of $)if("in"in X){if(X.key)Z.set(X.key,{in:X.in,map:X.map})}else if("key"in X)Z.set(X.key,{map:X.map});else if(X.args)P1(X.args,Z);return Z},R0=($)=>{for(let[Z,X]of Object.entries($))if(X&&typeof X==="object"&&!Array.isArray(X)&&!Object.keys(X).length)delete $[Z]},W=($,Z)=>{let X={body:Object.create(null),headers:Object.create(null),path:Object.create(null),query:Object.create(null)},J=P1(Z),Y;for(let[V,G]of $.entries()){if(Z[V])Y=Z[V];if(!Y)continue;if("in"in Y)if(Y.key){let z=J.get(Y.key),O=z.map||Y.key;if(z.in)X[z.in][O]=G}else X.body=G;else for(let[z,O]of Object.entries(G??{})){let L=J.get(z);if(L)if(L.in){let D=L.map||z;X[L.in][D]=O}else X[L.map]=O;else{let D=I0.find(([K])=>z.startsWith(K));if(D){let[K,N]=D;X[N][z.slice(K.length)]=O}else if("allowExtra"in Y&&Y.allowExtra){for(let[K,N]of Object.entries(Y.allowExtra))if(N){X[K][z]=O;break}}}}}return R0(X),X};var E1=V$(G$({baseUrl:"http://localhost:4096"}));class B{client;constructor($){this.client=$?.client??E1}}class k1{defaultKey="default";instances=new Map;get($){let Z=this.instances.get($??this.defaultKey);if(!Z)throw Error('No SDK client found. Create one with "new QitQodeClient()" to fix this error.');return Z}set($,Z){this.instances.set(Z??this.defaultKey,$)}}class C1 extends B{get($){return($?.client??this.client).get({url:"/global/config",...$})}update($,Z){let X=W([$],[{args:[{key:"config",map:"body"}]}]);return(Z?.client??this.client).patch({url:"/global/config",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class b1 extends B{scan($){return($?.client??this.client).get({url:"/global/import/scan",...$})}run($,Z){let X=W([$],[{args:[{in:"body",key:"sources"},{in:"body",key:"force"}]}]);return(Z?.client??this.client).post({url:"/global/import/run",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class h1 extends B{health($){return($?.client??this.client).get({url:"/global/health",...$})}event($){return($?.client??this.client).sse.get({url:"/global/event",...$})}dispose($){return($?.client??this.client).post({url:"/global/dispose",...$})}upgrade($,Z){let X=W([$],[{args:[{in:"body",key:"target"}]}]);return(Z?.client??this.client).post({url:"/global/upgrade",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}_config;get config(){return this._config??=new C1({client:this.client})}_import;get import(){return this._import??=new b1({client:this.client})}}class f1 extends B{remove($,Z){let X=W([$],[{args:[{in:"path",key:"providerID"}]}]);return(Z?.client??this.client).delete({url:"/auth/{providerID}",...Z,...X})}set($,Z){let X=W([$],[{args:[{in:"path",key:"providerID"},{key:"auth",map:"body"}]}]);return(Z?.client??this.client).put({url:"/auth/{providerID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class g1 extends B{log($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"service"},{in:"body",key:"level"},{in:"body",key:"message"},{in:"body",key:"extra"}]}]);return(Z?.client??this.client).post({url:"/log",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}agents($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/agent",...Z,...X})}skills($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/skill",...Z,...X})}}class v1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/workspace/adaptor",...Z,...X})}}class y1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/workspace",...Z,...X})}create($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"id"},{in:"body",key:"type"},{in:"body",key:"branch"},{in:"body",key:"extra"}]}]);return(Z?.client??this.client).post({url:"/experimental/workspace",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/workspace/status",...Z,...X})}remove($,Z){let X=W([$],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/experimental/workspace/{id}",...Z,...X})}sessionRestore($,Z){let X=W([$],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"sessionID"}]}]);return(Z?.client??this.client).post({url:"/experimental/workspace/{id}/session-restore",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}_adaptor;get adaptor(){return this._adaptor??=new v1({client:this.client})}}class c1 extends B{get($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/console",...Z,...X})}listOrgs($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/console/orgs",...Z,...X})}switchOrg($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"accountID"},{in:"body",key:"orgID"}]}]);return(Z?.client??this.client).post({url:"/experimental/console/switch",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class u1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"roots"},{in:"query",key:"start"},{in:"query",key:"cursor"},{in:"query",key:"search"},{in:"query",key:"limit"},{in:"query",key:"archived"}]}]);return(Z?.client??this.client).get({url:"/experimental/session",...Z,...X})}}class m1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/resource",...Z,...X})}}class d1 extends B{_workspace;get workspace(){return this._workspace??=new y1({client:this.client})}_console;get console(){return this._console??=new c1({client:this.client})}_session;get session(){return this._session??=new u1({client:this.client})}_resource;get resource(){return this._resource??=new m1({client:this.client})}}class l1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/project",...Z,...X})}current($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/project/current",...Z,...X})}initGit($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/project/git/init",...Z,...X})}update($,Z){let X=W([$],[{args:[{in:"path",key:"projectID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"name"},{in:"body",key:"icon"},{in:"body",key:"commands"}]}]);return(Z?.client??this.client).patch({url:"/project/{projectID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class p1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/pty",...Z,...X})}create($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"command"},{in:"body",key:"args"},{in:"body",key:"cwd"},{in:"body",key:"title"},{in:"body",key:"env"}]}]);return(Z?.client??this.client).post({url:"/pty",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}remove($,Z){let X=W([$],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/pty/{ptyID}",...Z,...X})}get($,Z){let X=W([$],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/pty/{ptyID}",...Z,...X})}update($,Z){let X=W([$],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"size"}]}]);return(Z?.client??this.client).put({url:"/pty/{ptyID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}connectToken($,Z){let X=W([$],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/pty/{ptyID}/connect-token",...Z,...X})}connect($,Z){let X=W([$],[{args:[{in:"path",key:"ptyID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/pty/{ptyID}/connect",...Z,...X})}}class i1 extends B{get($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/config",...Z,...X})}update($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"config",map:"body"}]}]);return(Z?.client??this.client).patch({url:"/config",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}providers($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/config/providers",...Z,...X})}}class n1 extends B{ids($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/tool/ids",...Z,...X})}list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"provider"},{in:"query",key:"model"}]}]);return(Z?.client??this.client).get({url:"/experimental/tool",...Z,...X})}}class s1 extends B{remove($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeRemoveInput",map:"body"}]}]);return(Z?.client??this.client).delete({url:"/experimental/worktree",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/experimental/worktree",...Z,...X})}create($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeCreateInput",map:"body"}]}]);return(Z?.client??this.client).post({url:"/experimental/worktree",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}reset($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"worktreeResetInput",map:"body"}]}]);return(Z?.client??this.client).post({url:"/experimental/worktree/reset",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class r1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"roots"},{in:"query",key:"start"},{in:"query",key:"search"},{in:"query",key:"limit"}]}]);return(Z?.client??this.client).get({url:"/session",...Z,...X})}create($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"parentID"},{in:"body",key:"contextFrom"},{in:"body",key:"contextWatermark"},{in:"body",key:"title"},{in:"body",key:"permission"},{in:"body",key:"workspaceID"}]}]);return(Z?.client??this.client).post({url:"/session",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/status",...Z,...X})}delete($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/session/{sessionID}",...Z,...X})}get($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}",...Z,...X})}update($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"permission"},{in:"body",key:"time"}]}]);return(Z?.client??this.client).patch({url:"/session/{sessionID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}children($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/children",...Z,...X})}init($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"modelID"},{in:"body",key:"providerID"},{in:"body",key:"messageID"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/init",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}fork($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/fork",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}abort($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/abort",...Z,...X})}actors($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/actors",...Z,...X})}todo($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/todo",...Z,...X})}task($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/task",...Z,...X})}unshare($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/session/{sessionID}/share",...Z,...X})}share($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/share",...Z,...X})}diff($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"messageID"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/diff",...Z,...X})}summarize($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"providerID"},{in:"body",key:"modelID"},{in:"body",key:"auto"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/summarize",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}revert($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"partID"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/revert",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}unrevert($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/unrevert",...Z,...X})}messages($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"limit"},{in:"query",key:"before"},{in:"query",key:"agent_id"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/message",...Z,...X})}prompt($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"agent"},{in:"body",key:"agentID"},{in:"body",key:"task_id"},{in:"body",key:"source"},{in:"body",key:"provenance"},{in:"body",key:"noReply"},{in:"body",key:"tools"},{in:"body",key:"format"},{in:"body",key:"system"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/message",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}deleteMessage($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/session/{sessionID}/message/{messageID}",...Z,...X})}message($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/session/{sessionID}/message/{messageID}",...Z,...X})}promptAsync($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"agent"},{in:"body",key:"agentID"},{in:"body",key:"task_id"},{in:"body",key:"source"},{in:"body",key:"provenance"},{in:"body",key:"noReply"},{in:"body",key:"tools"},{in:"body",key:"format"},{in:"body",key:"system"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/prompt_async",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}command($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"agent"},{in:"body",key:"model"},{in:"body",key:"arguments"},{in:"body",key:"command"},{in:"body",key:"variant"},{in:"body",key:"parts"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/command",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}predict($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/predict",...Z,...X})}shell($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"messageID"},{in:"body",key:"agent"},{in:"body",key:"model"},{in:"body",key:"modelRef"},{in:"body",key:"command"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/shell",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class a1 extends B{delete($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"path",key:"partID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/session/{sessionID}/message/{messageID}/part/{partID}",...Z,...X})}update($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"messageID"},{in:"path",key:"partID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"part",map:"body"}]}]);return(Z?.client??this.client).patch({url:"/session/{sessionID}/message/{messageID}/part/{partID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class o1 extends B{respond($,Z){let X=W([$],[{args:[{in:"path",key:"sessionID"},{in:"path",key:"permissionID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"response"}]}]);return(Z?.client??this.client).post({url:"/session/{sessionID}/permissions/{permissionID}",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}reply($,Z){let X=W([$],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"reply"},{in:"body",key:"message"}]}]);return(Z?.client??this.client).post({url:"/permission/{requestID}/reply",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/permission",...Z,...X})}}class t1 extends B{balance($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/qredits/balance",...Z,...X})}}class e1 extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"sessionID"}]}]);return(Z?.client??this.client).get({url:"/workflows",...Z,...X})}resume($,Z){let X=W([$],[{args:[{in:"path",key:"runID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/workflows/{runID}/resume",...Z,...X})}}class $Z extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/question",...Z,...X})}neverAsk($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/question/never-ask",...Z,...X})}setNeverAsk($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"enabled"}]}]);return(Z?.client??this.client).post({url:"/question/never-ask",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}reply($,Z){let X=W([$],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"answers"}]}]);return(Z?.client??this.client).post({url:"/question/{requestID}/reply",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}reject($,Z){let X=W([$],[{args:[{in:"path",key:"requestID"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/question/{requestID}/reject",...Z,...X})}}class ZZ extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/bash-interactive",...Z,...X})}reply($,Z){let X=W([$],[{args:[{in:"path",key:"id"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"output"},{in:"body",key:"exitCode"}]}]);return(Z?.client??this.client).post({url:"/bash-interactive/{id}/reply",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class XZ extends B{_interactive;get interactive(){return this._interactive??=new ZZ({client:this.client})}}class JZ extends B{authorize($,Z){let X=W([$],[{args:[{in:"path",key:"providerID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"method"},{in:"body",key:"inputs"}]}]);return(Z?.client??this.client).post({url:"/provider/{providerID}/oauth/authorize",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}callback($,Z){let X=W([$],[{args:[{in:"path",key:"providerID"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"method"},{in:"body",key:"code"}]}]);return(Z?.client??this.client).post({url:"/provider/{providerID}/oauth/callback",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class YZ extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/provider",...Z,...X})}auth($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/provider/auth",...Z,...X})}_oauth;get oauth(){return this._oauth??=new JZ({client:this.client})}}class GZ extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return(Z?.client??this.client).post({url:"/sync/history",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class VZ extends B{start($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/sync/start",...Z,...X})}replay($,Z){let X=W([$],[{args:[{in:"query",key:"query_directory",map:"directory"},{in:"query",key:"workspace"},{in:"body",key:"body_directory",map:"directory"},{in:"body",key:"events"}]}]);return(Z?.client??this.client).post({url:"/sync/replay",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}_history;get history(){return this._history??=new GZ({client:this.client})}}class zZ extends B{text($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"pattern"}]}]);return(Z?.client??this.client).get({url:"/find",...Z,...X})}files($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"query"},{in:"query",key:"dirs"},{in:"query",key:"type"},{in:"query",key:"limit"}]}]);return(Z?.client??this.client).get({url:"/find/file",...Z,...X})}symbols($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"query"}]}]);return(Z?.client??this.client).get({url:"/find/symbol",...Z,...X})}}class WZ extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"path"}]}]);return(Z?.client??this.client).get({url:"/file",...Z,...X})}read($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"path"}]}]);return(Z?.client??this.client).get({url:"/file/content",...Z,...X})}status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/file/status",...Z,...X})}}class OZ extends B{subscribe($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).sse.get({url:"/event",...Z,...X})}}class DZ extends B{remove($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).delete({url:"/mcp/{name}/auth",...Z,...X})}start($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/mcp/{name}/auth",...Z,...X})}callback($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"code"}]}]);return(Z?.client??this.client).post({url:"/mcp/{name}/auth/callback",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}authenticate($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/mcp/{name}/auth/authenticate",...Z,...X})}}class LZ extends B{status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/mcp",...Z,...X})}add($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"name"},{in:"body",key:"config"}]}]);return(Z?.client??this.client).post({url:"/mcp",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}connect($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/mcp/{name}/connect",...Z,...X})}disconnect($,Z){let X=W([$],[{args:[{in:"path",key:"name"},{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/mcp/{name}/disconnect",...Z,...X})}_auth;get auth(){return this._auth??=new DZ({client:this.client})}}class KZ extends B{next($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/tui/control/next",...Z,...X})}response($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return(Z?.client??this.client).post({url:"/tui/control/response",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}}class NZ extends B{appendPrompt($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"text"}]}]);return(Z?.client??this.client).post({url:"/tui/append-prompt",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}openHelp($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/open-help",...Z,...X})}openSessions($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/open-sessions",...Z,...X})}openThemes($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/open-themes",...Z,...X})}openModels($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/open-models",...Z,...X})}submitPrompt($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/submit-prompt",...Z,...X})}clearPrompt($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/tui/clear-prompt",...Z,...X})}executeCommand($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"command"}]}]);return(Z?.client??this.client).post({url:"/tui/execute-command",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}showToast($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"title"},{in:"body",key:"message"},{in:"body",key:"variant"},{in:"body",key:"duration"}]}]);return(Z?.client??this.client).post({url:"/tui/show-toast",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}publish($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{key:"body",map:"body"}]}]);return(Z?.client??this.client).post({url:"/tui/publish",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}selectSession($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"body",key:"sessionID"}]}]);return(Z?.client??this.client).post({url:"/tui/select-session",...Z,...X,headers:{"Content-Type":"application/json",...Z?.headers,...X.headers}})}_control;get control(){return this._control??=new KZ({client:this.client})}}class jZ extends B{dispose($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).post({url:"/instance/dispose",...Z,...X})}}class BZ extends B{get($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/path",...Z,...X})}}class MZ extends B{get($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/vcs",...Z,...X})}diff($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"},{in:"query",key:"mode"}]}]);return(Z?.client??this.client).get({url:"/vcs/diff",...Z,...X})}}class QZ extends B{list($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/command",...Z,...X})}}class UZ extends B{status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/lsp",...Z,...X})}}class _Z extends B{status($,Z){let X=W([$],[{args:[{in:"query",key:"directory"},{in:"query",key:"workspace"}]}]);return(Z?.client??this.client).get({url:"/formatter",...Z,...X})}}class T$ extends B{static __registry=new k1;constructor($){super($);T$.__registry.set(this,$?.key)}_global;get global(){return this._global??=new h1({client:this.client})}_auth;get auth(){return this._auth??=new f1({client:this.client})}_app;get app(){return this._app??=new g1({client:this.client})}_experimental;get experimental(){return this._experimental??=new d1({client:this.client})}_project;get project(){return this._project??=new l1({client:this.client})}_pty;get pty(){return this._pty??=new p1({client:this.client})}_config;get config(){return this._config??=new i1({client:this.client})}_tool;get tool(){return this._tool??=new n1({client:this.client})}_worktree;get worktree(){return this._worktree??=new s1({client:this.client})}_session;get session(){return this._session??=new r1({client:this.client})}_part;get part(){return this._part??=new a1({client:this.client})}_permission;get permission(){return this._permission??=new o1({client:this.client})}_qredits;get qredits(){return this._qredits??=new t1({client:this.client})}_workflow;get workflow(){return this._workflow??=new e1({client:this.client})}_question;get question(){return this._question??=new $Z({client:this.client})}_bash;get bash(){return this._bash??=new XZ({client:this.client})}_provider;get provider(){return this._provider??=new YZ({client:this.client})}_sync;get sync(){return this._sync??=new VZ({client:this.client})}_find;get find(){return this._find??=new zZ({client:this.client})}_file;get file(){return this._file??=new WZ({client:this.client})}_event;get event(){return this._event??=new OZ({client:this.client})}_mcp;get mcp(){return this._mcp??=new LZ({client:this.client})}_tui;get tui(){return this._tui??=new NZ({client:this.client})}_instance;get instance(){return this._instance??=new jZ({client:this.client})}_path;get path(){return this._path??=new BZ({client:this.client})}_vcs;get vcs(){return this._vcs??=new MZ({client:this.client})}_command;get command(){return this._command??=new QZ({client:this.client})}_lsp;get lsp(){return this._lsp??=new UZ({client:this.client})}_formatter;get formatter(){return this._formatter??=new _Z({client:this.client})}}function SZ($){if(!$?.fetch)$={...$,fetch:(X)=>{return X.timeout=!1,fetch(X)}};if($?.directory)$.headers={...$.headers,"x-qitqode-directory":encodeURIComponent($.directory)};return $}function w0($,Z,X){if(!$)return;if(!Z)return $;if($===Z)return Z;if(X&&$===X(Z))return Z;return $}function T0($,Z){if($.method!=="GET"&&$.method!=="HEAD")return $;let X=new URL($.url),J=!1;for(let[V,G]of[["x-qitqode-directory","directory"],["x-qitqode-workspace","workspace"]]){let z=w0($.headers.get(V),G==="directory"?Z.directory:Z.workspace,G==="directory"?encodeURIComponent:void 0);if(!z)continue;if(!X.searchParams.has(G))X.searchParams.set(G,z);J=!0}if(!J)return $;let Y=new Request(X,$);return Y.headers.delete("x-qitqode-directory"),Y.headers.delete("x-qitqode-workspace"),Y}function F0($){if($=SZ($),$?.experimental_workspaceID)$.headers={...$.headers,"x-qitqode-workspace":$.experimental_workspaceID};let Z=V$($);return Z.interceptors.request.use((X)=>T0(X,{directory:$?.directory,workspace:$?.experimental_workspaceID})),Z.interceptors.response.use((X)=>{if(X.headers.get("content-type")==="text/html")throw Error("Request is not supported by this version of QitQode Server (Server responded with text/html)");return X}),new T$({client:Z})}class A extends Error{name="BackendCallError";status;fn;metadata;constructor($,Z,X,J){let Y=J?[J.requestId&&`requestId=${J.requestId}`,J.contentType&&`contentType=${J.contentType}`,J.contentEncoding&&`contentEncoding=${J.contentEncoding}`,J.contentLength!==void 0&&`contentLength=${J.contentLength}`,`bodyUsed=${J.bodyUsed}`,J.bodyBytes!==void 0&&`bodyBytes=${J.bodyBytes}`].filter(Boolean).join(" "):"";super(`backend function call failed (${$}): ${Z}${X?` ${X}`:""}${Y?` [${Y}]`:""}`);this.status=$,this.fn=Z,this.metadata=J}}class F$ extends Error{name="BackendAuthError";status;constructor($,Z){super(`backend authentication rejected (${$})${Z?`: ${Z}`:""}`);this.status=$}}function q0($){if(!$)return!1;try{let Z=JSON.parse($);if(Z&&Z.code==="ERR_GATEWAY_REQUIRED")return!0}catch{}return $.includes("ERR_GATEWAY_REQUIRED")}function i$($){let Z=$.headers.get("x-request-id"),X=$.headers.get("content-type"),J=$.headers.get("content-encoding"),Y=$.headers.get("content-length"),V=X&&X.length<=80?X.toLowerCase():void 0,G=J&&J.length<=16?J.toLowerCase():void 0;return{...Z&&/^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$/.test(Z)?{requestId:Z}:{},...V&&/^(application\/json|application\/problem\+json|text\/plain|text\/html|application\/octet-stream)(?:; ?charset=utf-8)?$/.test(V)?{contentType:V.split(";")[0]}:{},...G&&/^(identity|gzip|deflate|br|zstd)$/.test(G)?{contentEncoding:G}:{},...Y&&Y.length<=16&&/^(0|[1-9][0-9]*)$/.test(Y)&&Number.isSafeInteger(Number(Y))?{contentLength:Number(Y)}:{},bodyUsed:$.bodyUsed}}function IZ($){let Z=$.baseUrl.replace(/\/+$/,"");async function X(J,Y={}){let V=X$({baseUrl:Z,fetch:async(L,D)=>{let K=await($.fetch??globalThis.fetch)(L instanceof URL?L.href:L,D);if(K.bodyUsed)throw new A(K.status,J,"could not read response body",i$(K));if(!(K.headers instanceof Headers)){let N=i$(K),Q=new Headers;for(let[j,M]of[["x-request-id",N.requestId],["content-type",N.contentType],["content-encoding",N.contentEncoding],["content-length",N.contentLength]])if(M!==void 0)Q.set(j,String(M));return new Response(K.body,{status:K.status,headers:Q})}return K}}),G=new Headers($.headers);if(G.set("content-type","application/json"),!G.has("accept-encoding"))G.set("accept-encoding","identity");let z=JSON.stringify(Y),O=new Set;return v({operationId:globalThis.crypto.randomUUID(),maxAttempts:3,async execute(){let L=await V.request(`${Z}/${J}`,{method:"POST",headers:G,body:z}).catch((j)=>{if(j instanceof d&&j.cause instanceof A)throw j.cause;throw j});if(!L.ok){let j=await L.text().catch(()=>"");if((L.status===401||L.status===403)&&!q0(j))throw new F$(L.status,j||void 0);throw new A(L.status,J,j||void 0)}let D=i$(L),K;try{let j=await L.arrayBuffer();D.bodyBytes=j.byteLength,K=new TextDecoder().decode(j)}catch{throw new A(L.status,J,"could not read response body",D)}if(!K.trim()){let j=new A(L.status,J,"received an empty response body",D);throw O.add(j),j}let N;try{N=JSON.parse(K)}catch{throw new A(L.status,J,"received an invalid JSON response body",D)}if(!N||typeof N!=="object"||typeof N.success!=="boolean")throw new A(L.status,J,"received an invalid response envelope",D);let Q=N;if(!Q.success)throw Error(`backend function call returned failure: ${J} \u2014 ${Q.error??"unknown error"}`);return Object.hasOwn(Q,"data")?J$(Q):void 0},shouldRetry:(L)=>O.has(L),authorizeReplay:()=>!0})}return{promptNames:()=>X("promptNames"),prompt:(J)=>X("prompt",{name:J}),tiers:()=>X("tiers"),workflowSummaries:()=>X("workflowSummaries"),workflowSpec:(J)=>X("workflowSpec",{name:J}),workflowSpecs:()=>X("workflowSpecs"),bashArity:()=>X("bashArity"),toolManifest:()=>X("toolManifest"),toolDescription:(J)=>X("toolDescription",{id:J})}}var E0=A0(P0(),1);import m0 from"path";import d0 from"crypto";var C={};wZ(C,{setKeySequenceForTest:()=>y0,setKeyForTest:()=>v0,resetForTest:()=>g0,isEnvelope:()=>b0,encryptionKey:()=>f0,encrypt:()=>c0,decrypt:()=>u0,AuthKeyring:()=>C});import q$ from"crypto";import{execFile as C0}from"child_process";var p="qitqode",z$="auth-encryption-key",TZ="__qitqode_encrypted__";function b0($){return typeof $==="object"&&$!==null&&$[TZ]===1&&$.alg==="aes-256-gcm"}function i($,Z,X){return new Promise((J)=>{let Y=C0($,Z,{timeout:5000},(V,G)=>{let z=V?V.code??1:0;J({code:typeof z==="number"?z:1,stdout:G??""})});if(X!==void 0)Y.stdin?.write(X),Y.stdin?.end()})}async function RZ($,Z){return(await i($,Z)).code===0}async function h0(){if(process.env.QITQODE_DISABLE_KEYRING)return;if(process.platform==="darwin"){if(!await RZ("security",["help"]))return;return{async get(){let $=await i("security",["find-generic-password","-s",p,"-a",z$,"-w"]);return $.code===0?$.stdout.trim():void 0},async set($){return(await i("security",["add-generic-password","-U","-s",p,"-a",z$,"-w",$])).code===0}}}if(process.platform==="linux"){if(!await RZ("secret-tool",["search","service",p])){let $=await i("secret-tool",["lookup","service",p,"account",z$]);if($.code!==0&&$.code!==1)return}return{async get(){let $=await i("secret-tool",["lookup","service",p,"account",z$]);return $.code===0&&$.stdout.trim()?$.stdout.trim():void 0},async set($){return(await i("secret-tool",["store","--label","QitQode auth encryption key","service",p,"account",z$],$)).code===0}}}return}var H$,n;function f0(){if(n!==void 0&&n.length>0)return Promise.resolve(n.shift());return H$??=(async()=>{let $=await h0();if(!$)return;let Z=await $.get();if(Z){let X=Buffer.from(Z,"base64");if(X.length===32)return X;return}return y.withLock("auth-keyring-init",async()=>{let X=await $.get();if(X){let G=Buffer.from(X,"base64");return G.length===32?G:void 0}let J=q$.randomBytes(32);if(!await $.set(J.toString("base64")))return;let Y=await $.get();if(!Y)return;let V=Buffer.from(Y,"base64");return V.length===32?V:void 0})})(),H$}function g0(){H$=void 0,n=void 0}function v0($){H$=Promise.resolve($),n=void 0}function y0($){n=[...$]}function c0($,Z){let X=q$.randomBytes(12),J=q$.createCipheriv("aes-256-gcm",Z,X),Y=Buffer.concat([J.update($,"utf8"),J.final()]);return{[TZ]:1,alg:"aes-256-gcm",iv:X.toString("base64"),tag:J.getAuthTag().toString("base64"),data:Y.toString("base64")}}function u0($,Z){let X=q$.createDecipheriv("aes-256-gcm",Z,Buffer.from($.iv,"base64"));return X.setAuthTag(Buffer.from($.tag,"base64")),Buffer.concat([X.update(Buffer.from($.data,"base64")),X.final()]).toString("utf8")}var l0="The server rejected QITQODE_KEY and there is no signed-in Forgewise session on this machine to repair it with. Replace QITQODE_KEY, or run `qitqode auth login`.",n$=`[qitqode] ${l0}`,s="forgewise";function x$($){if($?.type!=="api"||typeof $.key!=="string")return;let X=$.metadata?.method==="api-key"?"api-key":"sso";return{key:$.key,method:X}}function k($){if(!$)return"none";return d0.createHash("sha256").update(`${$.method}:${$.key}`).digest("hex").slice(0,16)}var A$;function HZ($){A$=$}async function P$(){let{readFile:$}=await import("fs/promises"),Z=JSON.parse(await $(xZ(),"utf8"));if(!C.isEnvelope(Z))return{data:Z,key:void 0};let X=await C.encryptionKey();if(!X)throw Error("auth.json is encrypted but the OS keyring is unavailable");return{data:JSON.parse(C.decrypt(Z,X)),key:X}}async function s$($){let{writeFile:Z,chmod:X,rename:J}=await import("fs/promises"),Y=$.key?C.encrypt(JSON.stringify($.data),$.key):$.data,V=xZ(),G=V+".tmp";await Z(G,JSON.stringify(Y,null,2),"utf8"),await X(G,384),await J(G,V)}function xZ(){return m0.join(qZ.Path.data,"auth.json")}async function r(){if(A$)return A$;if(process.env.QITQODE_KEY)return{key:process.env.QITQODE_KEY,method:"api-key"};try{let $=await y.withLock("auth-file",async()=>{let{data:Z}=await P$();return x$(Z?.[s])});if($)return $}catch{}if(process.env.QITQODE_AUTH_CONTENT)try{let $=JSON.parse(process.env.QITQODE_AUTH_CONTENT);return x$($?.forgewise)}catch{}return}async function E$(){if(A$=void 0,process.env.QITQODE_KEY)return;await y.withLock("auth-file",async()=>{let $=await P$();if(!(s in $.data))return;delete $.data[s],await s$($)})}function W$($){return $.method==="api-key"?{"x-api-key":$.key}:{authorization:`Bearer ${$.key}`}}var k$=b.create({service:"auth.forgewise.checkout"}),p0="qitqode",i0=5000;async function r$($){let X=`${new URL(R.QITQODE_BACKEND_URL).origin}/auth/keys/checkout`;try{let J=await fetch(X,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`},body:JSON.stringify({app:p0}),signal:AbortSignal.timeout(i0)});if(!J.ok)return k$.warn("API key checkout returned non-200; falling back to Bearer credential",{status:J.status,url:X}),null;let Y=await J.json();if(typeof Y?.key!=="string"||!Y.key)return k$.warn("API key checkout response missing key field; falling back to Bearer credential",{url:X}),null;return k$.info("API key checkout succeeded; credential upgraded to api-key method",{url:X}),Y.key}catch(J){return k$.warn("API key checkout failed; falling back to Bearer credential",{url:X,error:J instanceof Error?J.message:String(J)}),null}}var B1={};wZ(B1,{toolDescriptionEffect:()=>V4,resolveWorkflowSummaries:()=>J4,resolveWorkflowSpec:()=>Y4,resolveToolManifest:()=>uZ,resolveToolDescription:()=>mZ,resolveTierRatings:()=>N4,resolveTierCapabilities:()=>j4,resolveSubmitBatch:()=>T4,resolveRetrieveBatch:()=>F4,resolvePrompt:()=>vZ,resolveListTiers:()=>K4,resolveGetHistory:()=>Q4,resolveGenerateInlineComments:()=>I4,resolveGenerateDocumentation:()=>S4,resolveForgewiseConfig:()=>j1,resolveFetchQreditsBalance:()=>U4,resolveCompressTrajectorySafe:()=>B4,resolveChatCompletion:()=>w4,resolveChatBoolean:()=>R4,resolveBraveSearch:()=>M4,resolveBashArity:()=>G4,resolveAnalyzeCodeForIssues:()=>_4,resolveAgentPrompt:()=>Z4,remoteStats:()=>P,parseSseChatCompletion:()=>dZ,normalizeChatCompletionPayload:()=>lZ,isBackendBillingError:()=>o0,clearRemoteCache:()=>$4,beginIdempotentAttempt:()=>gZ,BackendRemote:()=>B1,BackendRateLimitError:()=>j$,BackendInsufficientBalanceError:()=>N$,BackendAuthRejectedError:()=>e,BackendAccountNotLinkedError:()=>D1});import{createHash as fZ,randomUUID as t}from"crypto";import a$ from"crypto";class q extends Error{cause;constructor($,Z){super($);this.name="ForgewiseError",this.cause=Z}}class a extends q{constructor($="Device flow is not supported by this issuer."){super($);this.name="DeviceFlowUnsupportedError"}}function AZ($,Z,X){if($>=200&&$<300)return{kind:"success"};let J=Z?.error??"";if(J==="authorization_pending")return{kind:"wait",intervalMs:X};if(J==="slow_down")return{kind:"wait",intervalMs:X+5000};if(J==="access_denied")return{kind:"fatal",message:"Sign-in was denied in the browser."};if(J==="expired_token")return{kind:"fatal",message:"The sign-in code expired before it was approved. Try again."};return{kind:"fatal",message:`Device sign-in failed: ${Z?.error_description||J||`HTTP ${$}`}`}}var EZ="openid profile email",o$=($)=>$.toString("base64url");function N2(){let $=o$(a$.randomBytes(32)),Z=o$(a$.createHash("sha256").update($).digest()),X=o$(a$.randomBytes(16));return{verifier:$,challenge:Z,state:X}}function j2($){let Z=new URL(`${$.issuer}/api/oauth/authorize`);return Z.searchParams.set("response_type","code"),Z.searchParams.set("client_id",$.clientId),Z.searchParams.set("redirect_uri",$.redirectUri),Z.searchParams.set("scope",EZ),Z.searchParams.set("state",$.state),Z.searchParams.set("code_challenge",$.challenge),Z.searchParams.set("code_challenge_method","S256"),Z.toString()}async function t$($,Z){let X=await fetch(`${$}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${Z.access_token}`}});if(!X.ok)throw new q(`Failed to fetch user profile (${X.status})`);let J=await X.json();if(!J.sub)throw new q("Userinfo response is missing required 'sub' field \u2014 the server returned an invalid user profile.");return{sub:J.sub,name:J.name??"",email:J.email??"",access_token:Z.access_token,expires_at:Date.now()+(Z.expires_in??3600)*1000,...Z.refresh_token?{refresh_token:Z.refresh_token}:{}}}async function B2($){let Z=await fetch(`${$.issuer}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:$.code,redirect_uri:$.redirectUri,client_id:$.clientId,code_verifier:$.verifier}).toString(),signal:$.signal??null});if(!Z.ok){let J=await Z.text().catch(()=>"");throw new q(`Token exchange failed (${Z.status}): ${J}`)}let X=await Z.json();return t$($.issuer,X)}async function M2($,Z,X=5000){let J=new AbortController,Y=setTimeout(()=>J.abort(),X);try{let V=await fetch(`${$}/api/oauth/userinfo`,{headers:{Authorization:`Bearer ${Z}`},signal:J.signal});if(V.status===401||V.status===403)return!1;if(!V.ok)return null;return!0}catch{return null}finally{clearTimeout(Y)}}async function e$($){let{issuer:Z,clientId:X}=await PZ(),J;try{J=await fetch(`${Z}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",client_id:X,refresh_token:$}).toString()})}catch(V){throw new q(`Could not reach the sign-in server to refresh the session: ${V instanceof Error?V.message:String(V)}`,V)}if(!J.ok){let V=await J.json().catch(()=>{return});if(V?.error==="invalid_grant")return"invalid_grant";throw new q(`Token refresh failed (${J.status}): ${V?.error??""}`)}let Y=await J.json();return{issuer:Z,...Y}}async function Q2($){let Z=await e$($);if(Z==="invalid_grant")return"invalid_grant";return t$(Z.issuer,Z)}async function U2($){let Z;try{Z=await fetch(`${$.issuer}/api/oauth/device_authorization`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({client_id:$.clientId,scope:EZ}).toString(),signal:$.signal??null})}catch{if($.signal?.aborted)throw new q("Login cancelled");throw new a}if(Z.status===404||Z.status===405||Z.status===501)throw new a;if(!Z.ok){let J=await Z.text().catch(()=>"");throw new q(`Device authorization failed (${Z.status}): ${J}`)}let X;try{X=await Z.json()}catch{throw new a}if(!X.device_code||!X.user_code||!X.verification_uri)throw new a;return{deviceCode:X.device_code,info:{userCode:X.user_code,verificationUri:X.verification_uri,verificationUriComplete:X.verification_uri_complete,expiresAt:Date.now()+(X.expires_in??900)*1000},intervalMs:Math.max(1,X.interval??5)*1000}}async function _2($){let Z;try{Z=await fetch(`${$.issuer}/api/oauth/token`,{method:"POST",headers:{"content-type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:$.deviceCode,client_id:$.clientId}).toString(),signal:$.signal??null})}catch{if($.signal?.aborted)throw new q("Login cancelled");return{kind:"wait",intervalMs:$.currentIntervalMs}}let X;try{X=await Z.json()}catch{X=void 0}let J=AZ(Z.status,X,$.currentIntervalMs);if(J.kind==="success"){if(!X?.access_token)throw new q("Token endpoint returned success without an access_token.");return{kind:"success",profile:await t$($.issuer,{access_token:X.access_token,expires_in:X.expires_in})}}if(J.kind==="fatal")throw new q(J.message);return{kind:"wait",intervalMs:J.intervalMs}}function kZ($,Z){let X={sub:$.sub,name:$.name,email:$.email,expires_at:String($.expires_at),...Z.rotateRefreshToken&&$.refresh_token?{refresh_token:$.refresh_token}:{}};return{type:"api",key:$.access_token,metadata:X}}function $1($,Z){return{type:"api",key:Z,metadata:{method:"api-key",sub:$.sub,name:$.name,email:$.email,access_token:$.access_token,access_token_expires_at:String($.expires_at),...$.refresh_token?{refresh_token:$.refresh_token}:{}}}}var o=b.create({service:"auth.recovery"}),n0=30000,s0=5,O$,D$=0,X1=new Set;async function bZ($){if(X1.has(k($)))return{kind:"definitive",reason:"the stored sign-in has already been established as no longer valid"};if(O$)return O$;if(D$>=s0)return o.warn("recovery budget exhausted for this process; reporting inconclusive",{attempts:D$}),{kind:"inconclusive",reason:`automatic sign-in repair was attempted ${D$} times in this session without success`};return O$=r0($).finally(()=>{O$=void 0}),O$}function CZ(){D$++}async function r0($){let Z=k($),X=process.env.QITQODE_KEY,J=!!X&&$?.key===X;o.info("attempting automatic credential recovery",{rejected:Z,source:J?"env":"file",attempt:D$});let Y;try{Y=await y.withLock("auth-file",()=>a0($,Z,J))}catch(V){let G=V instanceof Error?V.message:String(V);return o.warn("credential recovery could not run",{error:G}),{kind:"inconclusive",reason:`automatic sign-in repair could not run (${G})`}}if(Y.kind==="recovered"){if(J)HZ(Y.credential);o.info("credential recovered",{from:Z,to:k(Y.credential),via:Y.reason})}else if(Y.kind==="definitive")await E$().catch(()=>{}),X1.add(Z),X1.add(k(void 0)),o.info("credential rejection is definitive; stored credential cleared",{reason:Y.reason});return Y}async function a0($,Z,X){let J;try{J=await P$()}catch(N){if(N?.code==="ENOENT")return{kind:"definitive",reason:"no stored sign-in to repair"};let Q=N instanceof Error?N.message:String(N);return o.warn("stored sign-in could not be read; treating the rejection as inconclusive",{error:Q}),{kind:"inconclusive",reason:`the stored sign-in could not be read (${Q})`}}let Y=J.data[s],V=x$(Y);if(!X&&V&&k(V)!==Z)return{kind:"recovered",credential:V,reason:"adopted a credential rotated by another process"};let G=Y?.metadata??{},z=(N)=>typeof N==="string"&&N?N:void 0,O=z(G.refresh_token),L=z(G.access_token)??(V?.method==="sso"?V.key:void 0),D=Number(G.access_token_expires_at??G.expires_at??0),K={sub:z(G.sub)??"",name:z(G.name)??"",email:z(G.email)??""};if(L&&L!==$?.key&&D>Date.now()+n0){CZ();let N=await r$(L);if(N){let Q={...K,access_token:L,expires_at:D,...O?{refresh_token:O}:{}};return await Z1(J,$1(Q,N)),{kind:"recovered",credential:{key:N,method:"api-key"},reason:"minted a key from the SSO session"}}}if(O){let N;try{CZ(),N=await e$(O)}catch(U){return{kind:"inconclusive",reason:`could not reach the sign-in server (${U instanceof Error?U.message:String(U)})`}}if(N==="invalid_grant")return{kind:"definitive",reason:"the stored sign-in was revoked or has expired"};let Q={...K,access_token:N.access_token,expires_at:Date.now()+(N.expires_in??3600)*1000,...N.refresh_token?{refresh_token:N.refresh_token}:{}},j=kZ(Q,{rotateRefreshToken:!0});await Z1(J,j);let M=await r$(Q.access_token);if(M)return await Z1(J,$1(Q,M)),{kind:"recovered",credential:{key:M,method:"api-key"},reason:"refreshed the sign-in and minted a new key"};return{kind:"recovered",credential:{key:Q.access_token,method:"sso"},reason:"refreshed the sign-in"}}return{kind:"definitive",reason:"the stored sign-in has no session left to renew"}}async function Z1($,Z){$.data[s]=Z,await s$($)}function hZ($){if(!$||typeof $!=="object"||Array.isArray($))return!1;let Z=$,X=[Z];if(Z.error&&typeof Z.error==="object"&&!Array.isArray(Z.error))X.push(Z.error);return X.some((J)=>["accepted","partialOutput","sideEffectStarted"].some((Y)=>J[Y]!=null&&J[Y]!==!1)||J.acceptance!=null&&J.acceptance!=="not-accepted")}var w=b.create({service:"backend.remote"}),C$=30000,O1=5000,h=new Map,P={failures:0,authRejections:0,missingPrompts:0,missingToolDescriptions:0},J1=new Set,Y1=new Set;class e extends Error{name="BackendAuthRejectedError";constructor($){super(K$.copy().invalidCredentials($))}}class N$ extends Error{name="BackendInsufficientBalanceError";status=402;code;constructor($,Z){super(K$.copy().insufficientBalance($));this.code=Z}}class j$ extends Error{name="BackendRateLimitError";status=429;retryAfterMs;constructor($,Z){let X=$!==void 0?` Retry in about ${Math.max(1,Math.round($/1000))}s.`:"";super(K$.copy().rateLimit+X+(Z?` (${Z})`:""));this.retryAfterMs=$}}class D1 extends Error{name="BackendAccountNotLinkedError";status=409;constructor($){super(K$.copy().accountNotLinked($))}}function o0($){return $ instanceof N$||$ instanceof j$}var t0=600000,c=new Map;function e0($,Z){try{return fZ("sha256").update(`${$}\x00${JSON.stringify(Z)}`).digest("hex").slice(0,16)}catch{return"unscoped"}}function gZ($,Z,X,J=t()){let Y=Date.now(),V;try{V=fZ("sha256").update(`${$}\x00${Z}\x00${J}`).digest("hex")}catch{return{key:`${Z}-${t()}`,settle:()=>{}}}let G=()=>c.delete(V),z=c.get(V);if(z&&z.expires>Y)return{key:z.key,settle:G};if(c.size>256){for(let[L,D]of c)if(D.expires<=Y)c.delete(L)}let O=`${Z}-${V.slice(0,16)}-${t()}`;return c.set(V,{key:O,expires:Y+t0}),{key:O,settle:G}}function B$($,Z){return X$({baseUrl:R.QITQODE_BACKEND_URL,fetch:(X,J)=>globalThis.fetch(X instanceof URL?X.href:X,J)}).request($,Z)}function $4(){h.clear(),z1.clear(),G1.clear(),J1.clear(),Y1.clear(),c.clear()}async function L1($){P.authRejections++;let{credential:Z,status:X,label:J,baseUrl:Y}=$;if(!$.repairSpent){let V=k(Z),G=await bZ(Z);if(G.kind==="recovered"&&k(G.credential)!==V)return w.info("backend rejected the credential; repaired it automatically and retrying",{label:J,baseUrl:Y,status:X,via:G.reason}),{retry:!0};if(G.kind==="inconclusive")return w.warn("backend rejected the credential but repair was inconclusive; leaving it in place",{label:J,baseUrl:Y,status:X,reason:G.reason}),{retry:!1,error:Error(`Backend auth check could not complete: ${G.reason}`)}}if(await E$().catch(()=>{}),w.warn("backend rejected the credential and it could not be repaired; prompting re-auth",{label:J,baseUrl:Y,status:X}),process.env.QITQODE_KEY)w.error(n$),console.error(n$);return{retry:!1,error:new e(`HTTP ${X}`)}}async function u($,Z){let X=R.QITQODE_BACKEND_URL,J=Date.now(),Y=`${X}::${$}`,V=h.get(Y);if(V&&V.expires>J)return V.value;let G=!1,z=Error("Backend lookup credential repaired");return v({operationId:t(),maxAttempts:2,async execute(O){try{let L=await r(),D=L?W$(L):void 0,N=await Z(IZ({baseUrl:X,headers:D,fetch:(Q,j)=>B$(Q,{...j,signal:j?.signal??AbortSignal.timeout(O1)})}));return h.set(Y,{value:N,expires:Date.now()+C$}),N}catch(L){if(L instanceof F$){let D=await L1({credential:await r(),status:L.status,label:$,baseUrl:X,repairSpent:G});if(G=!0,D.retry)throw O.markNotAccepted(),z;throw D.error}throw P.failures++,w.warn("backend request failed; surfacing error",{cacheKey:$,baseUrl:X,error:L instanceof Error?L.message:String(L)}),L}},shouldRetry:(O)=>O===z,authorizeReplay:({error:O,outcome:L})=>O===z&&L.acceptance==="not-accepted"})}async function vZ($){if($.indexOf("/")<=0)return;return u(`prompt:${$}`,(Z)=>Z.prompt($).then((X)=>X??void 0))}async function Z4($){let Z=`agent/${$}`,X=await vZ(Z);if(X===void 0||X===""){if(!J1.has($))J1.add($),P.missingPrompts++,w.warn("backend served no content for agent prompt; running with an empty prompt",{prompt:Z,baseUrl:R.QITQODE_BACKEND_URL,missingPrompts:P.missingPrompts})}return X}var G1=new Map;function V1($){let Z=G1.get($);if(!Z)Z={unsupported:!1},G1.set($,Z);return Z}async function X4(){let $=V1(R.QITQODE_BACKEND_URL);if($.inFlight)return $.inFlight;let Z=u("workflow.catalog",(X)=>X.workflowSpecs().then((J)=>J??void 0)).then((X)=>{let J=new Map;for(let Y of X??[])if(Y&&typeof Y.name==="string"&&typeof Y.script==="string")J.set(Y.name,Y);return J});$.inFlight=Z;try{return await Z}finally{if($.inFlight===Z)$.inFlight=void 0}}async function yZ($,Z){let X=R.QITQODE_BACKEND_URL;if(!V1(X).unsupported)try{return $(await X4())}catch(J){if(!cZ(J))throw J;V1(X).unsupported=!0,w.warn("backend has no workflowSpecs route; falling back to per-name workflow lookups",{baseUrl:X})}return Z()}async function J4(){return yZ(($)=>[...$.values()].map(({script:Z,...X})=>X),()=>u("workflow.list",($)=>$.workflowSummaries()))}async function Y4($){return yZ((Z)=>Z.get($),()=>u(`workflow.get:${$}`,(Z)=>Z.workflowSpec($).then((X)=>X??void 0)))}async function G4(){return u("permission.arity",($)=>$.bashArity())}var z1=new Map;function W1($){let Z=z1.get($);if(!Z)Z={unsupported:!1},z1.set($,Z);return Z}function cZ($){return $ instanceof A&&($.status===404||$.status===501)}async function uZ(){let $=W1(R.QITQODE_BACKEND_URL);if($.inFlight)return $.inFlight;let Z=u("tool.manifest",(X)=>X.toolManifest().then((J)=>J??void 0)).then((X)=>{let J=new Map;for(let Y of X??[])if(Y&&typeof Y.id==="string"&&typeof Y.description==="string")J.set(Y.id,Y.description);return J});$.inFlight=Z;try{return await Z}finally{if($.inFlight===Z)$.inFlight=void 0}}async function mZ($){let Z=R.QITQODE_BACKEND_URL,X;if(!W1(Z).unsupported)try{X=(await uZ()).get($)}catch(J){if(!cZ(J))throw J;W1(Z).unsupported=!0,w.warn("backend has no toolManifest route; falling back to one request per tool description",{baseUrl:Z})}if(X===void 0||X==="")X=await u(`tool.description:${$}`,(J)=>J.toolDescription($).then((Y)=>Y??void 0));if(X===void 0||X===""){if(!Y1.has($))Y1.add($),P.missingToolDescriptions++,w.warn("backend served no content for tool description; running with an empty description",{tool:$,baseUrl:R.QITQODE_BACKEND_URL,missingToolDescriptions:P.missingToolDescriptions})}return X}function V4($){return L$.promise(()=>mZ($)).pipe(L$.catchDefect((Z)=>Z instanceof e?L$.succeed(void 0):L$.die(Z)))}function z4($){if(!$)return{};try{let Z=JSON.parse($);if(Z&&typeof Z==="object")return{code:typeof Z.error==="string"?Z.error:void 0,detail:typeof Z.message==="string"?Z.message:void 0}}catch{}return{detail:$.slice(0,300)}}function W4($){let Z=$.headers?.get?.("retry-after-ms");if(Z){let J=Number.parseFloat(Z);if(!Number.isNaN(J))return J}let X=$.headers?.get?.("retry-after");if(X){let J=Number.parseFloat(X);if(!Number.isNaN(J))return Math.ceil(J*1000);let Y=Date.parse(X)-Date.now();if(!Number.isNaN(Y)&&Y>0)return Math.ceil(Y)}return}async function K1($,Z){let X=await $.text().catch(()=>""),{code:J,detail:Y}=z4(X);if($.status===402)return new N$(Y,J);if($.status===409)return new D1(Y);if($.status===429)return new j$(W4($),Y);let V=Y?`: ${Y}`:J?`: ${J}`:"";return Error(`${Z} failed: ${$.status}${V}`)}function O4($){if($===null||typeof $!=="object")return $;if($.data!==void 0)return J$($);let Z={};for(let[X,J]of Object.entries($)){if(X==="success"||X==="data"||X==="error"||X==="message")continue;Z[X]=J}return Object.keys(Z).length>0?Z:void 0}function N1($,Z){let{error:X,message:J}=$;if(X==="insufficient_balance")return new N$(J,X);if(X==="rate_limited"||X==="too_many_requests")return new j$(void 0,J);return Error(`${Z} returned failure: ${X??"unknown error"}${J?` \u2014 ${J}`:""}`)}function dZ($){let Z="",X,J=!1,Y=new _$;for(let V of[...Y.push($),...Y.finish()]){let G=V.data.trim();if(!G)continue;if(G==="[DONE]"){J=!0;break}if(G.startsWith("[ERROR]"))throw Error(`chat completion stream error: ${G.slice(7).trim()||"unknown"}`);let z;try{z=JSON.parse(G)}catch{continue}if(z===null||typeof z!=="object")continue;let O=z,L=O.choices?.[0],D=L?.delta?.content??L?.message?.content;if(typeof D==="string")Z+=D;if(O.usage&&typeof O.usage==="object")X={promptTokens:O.usage.prompt_tokens,completionTokens:O.usage.completion_tokens,totalTokens:O.usage.total_tokens}}if(!J)throw Error("chat completion stream truncated: no [DONE] terminator");if(!Z)throw Error("chat completion stream produced no content");return X?{content:Z,usage:X}:{content:Z}}function D4($,Z){if($.headers?.get?.("content-type")?.includes("text/event-stream"))return!0;return Z.trimStart().startsWith("data:")}async function E($,Z,X,J={}){let Y=R.QITQODE_BACKEND_URL,V=`${Y}::post:${$}`;if(!J.noCache){let L=Date.now(),D=h.get(V);if(D&&D.expires>L)return D.value}let G=!1,z=J.operationId??t(),O=Error("Backend credential repaired before execution");return v({operationId:z,maxAttempts:2,signal:J.signal,async execute(L){try{let D=await r(),K=D?W$(D):{},N=J.billable?gZ(e0(Y,K),Z,X,z):void 0,Q=N?{"x-idempotency-key":N.key,"x-request-id":z}:{},j=await B$(`${Y}/${Z}`,{method:"POST",headers:{"Content-Type":"application/json",...K,...Q},body:JSON.stringify(X),signal:J.signal});if(J.billable&&!j.ok&&hZ(await j.clone().json().catch(()=>{return})))throw await j.body?.cancel(),Object.assign(Error("Backend reported execution; reconcile before another inference"),{retryable:!1});if(j.status===401||j.status===403){N?.settle();let _=await j.text().catch(()=>"");if(_.includes("ERR_GATEWAY_REQUIRED"))throw Error(`Backend routing error: ${_}`);let F=await L1({credential:D,status:j.status,label:Z,baseUrl:Y,repairSpent:G});if(G=!0,F.retry)throw L.markNotAccepted(),O;throw F.error}if(!j.ok){let _=await K1(j,`Backend POST /${Z}`);if(j.status<500)N?.settle();throw _}let M;if(J.sse){let _=await j.text();if(D4(j,_)){N?.settle();let F=dZ(_);if(!J.noCache)h.set(V,{value:F,expires:Date.now()+C$});return F}M=JSON.parse(_)}else M=await j.json();let U=M!==null&&typeof M==="object"&&typeof M.error==="string";if((!J.acceptTopLevel||typeof M?.success==="boolean"||U)&&!M.success)throw N?.settle(),N1(M,`Backend POST /${Z}`);N?.settle();let f=J.acceptTopLevel?O4(M):M.data;if(!J.noCache)h.set(V,{value:f,expires:Date.now()+C$});return f}catch(D){if(D===O)throw D;if(D instanceof e)throw D;throw P.failures++,w.warn("backend POST request failed; surfacing error",{fnName:Z,baseUrl:Y,error:D instanceof Error?D.message:String(D)}),D}},shouldRetry:(L)=>L===O,authorizeReplay:({error:L,outcome:D})=>L===O&&D.acceptance==="not-accepted"})}async function b$($,Z,X={}){let J=R.QITQODE_BACKEND_URL,Y=!1,V=Error("Backend credential repaired before execution");return v({operationId:t(),maxAttempts:2,signal:X.signal,async execute(G){try{let z=await r(),O=z?W$(z):{},L=new URLSearchParams(Object.entries(Z).map(([Q,j])=>[Q,String(j)])).toString(),D=L?`${J}/${$}?${L}`:`${J}/${$}`,K=await B$(D,{method:"GET",headers:{...O},signal:X.signal});if(K.status===401||K.status===403){let Q=await K.text().catch(()=>"");if(Q.includes("ERR_GATEWAY_REQUIRED"))throw Error(`Backend routing error: ${Q}`);let j=await L1({credential:z,status:K.status,label:$,baseUrl:J,repairSpent:Y});if(Y=!0,j.retry)throw G.markNotAccepted(),V;throw j.error}if(!K.ok)throw await K1(K,`Backend GET /${$}`);let N=await K.json();if(!N.success)throw N1(N,`Backend GET /${$}`);return N.data}catch(z){if(z===V)throw z;if(z instanceof e)throw z;throw P.failures++,w.warn("backend GET request failed; surfacing error",{fnName:$,baseUrl:J,error:z instanceof Error?z.message:String(z)}),z}},shouldRetry:(G)=>G===V,authorizeReplay:({error:G,outcome:z})=>G===V&&z.acceptance==="not-accepted"})}async function L4($,Z,X){let J=R.QITQODE_BACKEND_URL,Y=`${J}::public:${$}`,V=Date.now(),G=h.get(Y);if(G&&G.expires>V)return G.value;try{let z=await B$(`${J}/${Z}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(X),signal:AbortSignal.timeout(O1)});if(!z.ok)throw await K1(z,`Backend public POST /${Z}`);let O=await z.json();if(!O.success)throw N1(O,`Backend public POST /${Z}`);let L=O.data;return h.set(Y,{value:L,expires:V+C$}),L}catch(z){throw P.failures++,w.warn("backend public request failed; surfacing error",{fnName:Z,baseUrl:J,error:z instanceof Error?z.message:String(z)}),z}}async function j1(){try{return await L4("forgewise.config","forgewiseConfig",{})}catch($){let Z=await r().catch(()=>null);if(!Z)throw $;let X=R.QITQODE_BACKEND_URL,J=await B$(`${X}/forgewiseConfig`,{method:"POST",headers:{"Content-Type":"application/json",...W$(Z)},body:JSON.stringify({}),signal:AbortSignal.timeout(O1)}).catch(()=>null);if(!J?.ok)throw $;let Y=await J.json().catch(()=>null);if(!Y?.success)throw $;return Y.data}}async function K4(){return b$("listTiers",{}).then(($)=>{if(!Array.isArray($))return[];return $.flatMap((Z)=>{if(typeof Z==="string")return[{id:Z}];if(!Z||typeof Z!=="object"||Array.isArray(Z))return[];let X=Z;return typeof X.id==="string"?[{id:X.id,...typeof X.label==="string"?{label:X.label}:{},...typeof X.providerID==="string"?{providerID:X.providerID}:{},...typeof X.modelID==="string"?{modelID:X.modelID}:{}}]:[]})}).catch(($)=>{return w.warn("listTiers fetch failed; using hardcoded tier fallback",{error:$ instanceof Error?$.message:String($)}),[]})}async function N4(){return b$("TIER_RATINGS",{}).catch(($)=>{w.warn("TIER_RATINGS fetch failed; no tier ratings will be shown",{error:$ instanceof Error?$.message:String($)});return})}async function j4(){return b$("getTierCapabilities",{}).catch(($)=>{w.warn("tier capability fetch failed; image inputs will remain disabled",{error:$ instanceof Error?$.message:String($)});return})}async function B4($){return E("compaction.trajectory","compressTrajectorySafe",$,{noCache:!0,billable:!0,signal:AbortSignal.timeout(120000)})}async function M4($,Z){let X=Z?.timeoutMs??30000,J={query:$};if(Z?.numResults)J.options={count:Z.numResults};return E("brave.search","braveSearch",J,{noCache:!0,signal:AbortSignal.timeout(X)})}async function Q4($){return E("qredits.history","getHistory",$,{noCache:!0})}async function U4($){return E("forgewise.qredits.balance","fetchQreditsBalance",$,{noCache:!0,acceptTopLevel:!0})}async function _4($){return E(`code.analyze:${$.filePath}`,"analyzeCodeForIssues",$,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function S4($){return E(`code.docs:${$.filePath}:${$.functionName??""}`,"generateDocumentation",$,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function I4($){return E(`code.comments:${$.filePath}`,"generateInlineComments",$,{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function R4($,Z,X){return E("chat.boolean","chatBoolean",{sample:$,test:Z},{noCache:!0,billable:!0,signal:AbortSignal.timeout(X?.timeoutMs??30000)})}async function w4($,Z){let X={message:$},J={};if(Z?.provider!==void 0)J.provider=Z.provider;if(Z?.temperature!==void 0)J.temperature=Z.temperature;if(Z?.maxTokens!==void 0)J.maxTokens=Z.maxTokens;if(Object.keys(J).length>0)X.options=J;let Y=await E("chat.completion","chatCompletion",X,{noCache:!0,billable:!0,sse:!0,signal:AbortSignal.timeout(Z?.timeoutMs??30000)});return lZ(Y)}function lZ($){if(typeof $==="string")return{content:$};if($!==null&&typeof $==="object"){let Z=$,X=Z.choices?.[0],J=typeof Z.content==="string"?Z.content:X?.message?.content??X?.delta?.content;if(typeof J==="string"){let Y=Z.usage,V=Y?{promptTokens:Y.promptTokens??Y.prompt_tokens,completionTokens:Y.completionTokens??Y.completion_tokens,totalTokens:Y.totalTokens??Y.total_tokens}:void 0;return V?{content:J,usage:V}:{content:J}}}throw Error(`chatCompletion returned an unrecognized payload shape: ${JSON.stringify($)?.slice(0,300)}`)}async function T4($){return E("batch.submit","submitBatch",{tier:$.tier,requests:$.requests},{noCache:!0,billable:!0,signal:AbortSignal.timeout(60000)})}async function F4($){return b$("retrieveBatch",{batchId:$.batchId,tier:$.tier},{signal:AbortSignal.timeout(30000)})}var q4=b.create({service:"forgewise.config"}),H4="https://accounts.forgewise.tech",x4="forgewise-cli",pZ=!1,A4={defaultFallbacks:0};function h$(...$){return $.find((Z)=>Z!==void 0&&Z.trim().length>0)}function m2(){return!!process.env.REPLIT_DEV_DOMAIN}async function PZ(){let $=process.env.ACCOUNTS_ISSUER,Z=process.env.FORGEWISE_CLIENT_ID;if($&&Z)return{issuer:$.replace(/\/+$/,""),clientId:Z};let X,J;try{X=await j1()}catch(O){X=void 0,J=O}let Y=h$($,X?.issuer,H4).replace(/\/+$/,""),V=h$(Z,X?.clientId,x4),G=h$($,X?.issuer)===void 0,z=h$(Z,X?.clientId)===void 0;if((G||z)&&!pZ)pZ=!0,A4.defaultFallbacks++,q4.warn("remote Forgewise coordinate lookup unavailable; falling back to baked-in defaults",{issuer:Y,clientId:V,usedDefaultIssuer:G,usedDefaultClientId:z,remoteError:J instanceof Error?J.message:J?String(J):void 0});return{issuer:Y,clientId:V}}
|
|
11
|
+
export{C as uq,SZ as vq,y$ as wq,X$ as xq,_$ as yq,v as zq,F0 as Aq,q0 as Bq,IZ as Cq,l0 as Dq,n$ as Eq,k as Fq,r as Gq,E$ as Hq,r$ as Iq,m2 as Jq,PZ as Kq,q as Lq,a as Mq,AZ as Nq,N2 as Oq,j2 as Pq,B2 as Qq,M2 as Rq,Q2 as Sq,U2 as Tq,_2 as Uq,kZ as Vq,$1 as Wq,bZ as Xq,hZ as Yq,e as Zq,N$ as _q,j$ as $q,D1 as ar,K4 as br,N4 as cr,j4 as dr,Q4 as er,U4 as fr,B1 as gr};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-pfx8ts02.js";var{create:tr,defineProperty:Pe,getOwnPropertyDescriptor:rr,getOwnPropertyNames:nr,getPrototypeOf:ir}=Object,or=Object.prototype.hasOwnProperty,vt=(u)=>{throw TypeError(u)},N=(u,e)=>()=>(e||u((e={exports:{}}).exports,e),e.exports),xt=(u,e)=>{for(var t in e)Pe(u,t,{get:e[t],enumerable:!0})},ar=(u,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of nr(e))!or.call(u,r)&&r!==t&&Pe(u,r,{get:()=>e[r],enumerable:!(n=rr(e,r))||n.enumerable});return u},Uu=(u,e,t)=>(t=u!=null?tr(ir(u)):{},ar(e||!u||!u.__esModule?Pe(t,"default",{value:u,enumerable:!0}):t,u)),Bt=(u,e,t)=>e.has(u)||vt("Cannot "+t),ku=(u,e,t)=>(Bt(u,e,"read from private field"),t?t.call(u):e.get(u)),sr=(u,e,t)=>e.has(u)?vt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(u):e.set(u,t),Dr=(u,e,t,n)=>(Bt(u,e,"write to private field"),n?n.call(u,t):e.set(u,t),t),je=N((u,e)=>{e.exports=t;function t(n){return String(n).replace(/\s+/g," ")}}),lr=N((u,e)=>{e.exports=p;var t=9,n=10,r=32,i=33,a=58,o=91,s=92,l=93,D=94,c=96,f=4,h=1024;function p(d){var C=this.Parser,g=this.Compiler;E(C)&&v(C,d),A(g)&&F(g)}function E(d){return!!(d&&d.prototype&&d.prototype.blockTokenizers)}function A(d){return!!(d&&d.prototype&&d.prototype.visitors)}function v(d,C){for(var g=C||{},y=d.prototype,w=y.blockTokenizers,T=y.inlineTokenizers,b=y.blockMethods,k=y.inlineMethods,L=w.definition,I=T.reference,x=[],S=-1,M=b.length,z;++S<M;)z=b[S],!(z==="newline"||z==="indentedCode"||z==="paragraph"||z==="footnoteDefinition")&&x.push([z]);x.push(["footnoteDefinition"]),g.inlineNotes&&(B(k,"reference","inlineNote"),T.inlineNote=J),B(b,"definition","footnoteDefinition"),B(k,"reference","footnoteCall"),w.definition=O,w.footnoteDefinition=V,T.footnoteCall=q,T.reference=j,y.interruptFootnoteDefinition=x,j.locator=I.locator,q.locator=$,J.locator=U;function V(R,P,G){for(var W=this,Y=W.interruptFootnoteDefinition,K=W.offset,eu=P.length+1,H=0,Q=[],lu,Du,uu,_,X,pu,yu,hu,Fu,nu,du,tu,Z;H<eu&&(_=P.charCodeAt(H),!(_!==t&&_!==r));)H++;if(P.charCodeAt(H++)===o&&P.charCodeAt(H++)===D){for(Du=H;H<eu;){if(_=P.charCodeAt(H),_!==_||_===n||_===t||_===r)return;if(_===l){uu=H,H++;break}H++}if(!(uu===void 0||Du===uu||P.charCodeAt(H++)!==a)){if(G)return!0;for(lu=P.slice(Du,uu),X=R.now(),Fu=0,nu=0,du=H,tu=[];H<eu;){if(_=P.charCodeAt(H),_!==_||_===n)Z={start:Fu,contentStart:du||H,contentEnd:H,end:H},tu.push(Z),_===n&&(Fu=H+1,nu=0,du=void 0,Z.end=Fu);else if(nu!==void 0)if(_===r||_===t)nu+=_===r?1:f-nu%f,nu>f&&(nu=void 0,du=H);else{if(nu<f&&Z&&(Z.contentStart===Z.contentEnd||m(Y,w,W,[R,P.slice(H,h),!0])))break;nu=void 0,du=H}H++}for(H=-1,eu=tu.length;eu>0&&(Z=tu[eu-1],Z.contentStart===Z.contentEnd);)eu--;for(pu=R(P.slice(0,Z.contentEnd));++H<eu;)Z=tu[H],K[X.line+H]=(K[X.line+H]||0)+(Z.contentStart-Z.start),Q.push(P.slice(Z.contentStart,Z.end));return yu=W.enterBlock(),hu=W.tokenizeBlock(Q.join(""),X),yu(),pu({type:"footnoteDefinition",identifier:lu.toLowerCase(),label:lu,children:hu})}}}function q(R,P,G){var W=P.length+1,Y=0,K,eu,H,Q;if(P.charCodeAt(Y++)===o&&P.charCodeAt(Y++)===D){for(eu=Y;Y<W;){if(Q=P.charCodeAt(Y),Q!==Q||Q===n||Q===t||Q===r)return;if(Q===l){H=Y,Y++;break}Y++}if(!(H===void 0||eu===H))return G?!0:(K=P.slice(eu,H),R(P.slice(0,Y))({type:"footnoteReference",identifier:K.toLowerCase(),label:K}))}}function J(R,P,G){var W=this,Y=P.length+1,K=0,eu=0,H,Q,lu,Du,uu,_,X;if(P.charCodeAt(K++)===D&&P.charCodeAt(K++)===o){for(lu=K;K<Y;){if(Q=P.charCodeAt(K),Q!==Q)return;if(_===void 0)if(Q===s)K+=2;else if(Q===o)eu++,K++;else if(Q===l)if(eu===0){Du=K,K++;break}else eu--,K++;else if(Q===c){for(uu=K,_=1;P.charCodeAt(uu+_)===c;)_++;K+=_}else K++;else if(Q===c){for(uu=K,X=1;P.charCodeAt(uu+X)===c;)X++;K+=X,_===X&&(_=void 0),X=void 0}else K++}if(Du!==void 0)return G?!0:(H=R.now(),H.column+=2,H.offset+=2,R(P.slice(0,K))({type:"footnote",children:W.tokenizeInline(P.slice(lu,Du),H)}))}}function j(R,P,G){var W=0;if(P.charCodeAt(W)===i&&W++,P.charCodeAt(W)===o&&P.charCodeAt(W+1)!==D)return I.call(this,R,P,G)}function O(R,P,G){for(var W=0,Y=P.charCodeAt(W);Y===r||Y===t;)Y=P.charCodeAt(++W);if(Y===o&&P.charCodeAt(W+1)!==D)return L.call(this,R,P,G)}function $(R,P){return R.indexOf("[",P)}function U(R,P){return R.indexOf("^[",P)}}function F(d){var C=d.prototype.visitors,g=" ";C.footnote=y,C.footnoteReference=w,C.footnoteDefinition=T;function y(b){return"^["+this.all(b).join("")+"]"}function w(b){return"[^"+(b.label||b.identifier)+"]"}function T(b){for(var k=this.all(b).join(`
|
|
3
3
|
|
|
4
4
|
`).split(`
|
|
5
5
|
`),L=0,I=k.length,x;++L<I;)x=k[L],x!==""&&(k[L]=g+x);return"[^"+(b.label||b.identifier)+"]: "+k.join(`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{D as
|
|
2
|
+
import{Lu as X}from"./chunk-dm7hfb7f.js";function D(j){return j.parserConfiguration({"populate--":!0}).scriptName("qitqode").wrap(100).help("help","show help").alias("help","h").version("version","show version number",X).alias("version","v").option("print-logs",{describe:"print logs to stderr",type:"boolean"}).option("log-level",{describe:"log level",type:"string",choices:["DEBUG","INFO","WARN","ERROR"]}).option("pure",{describe:"run without external plugins",type:"boolean"})}var H={port:{type:"number",describe:"port to listen on",default:0},hostname:{type:"string",describe:"hostname to listen on",default:"127.0.0.1"},mdns:{type:"boolean",describe:"enable mDNS service discovery (defaults hostname to 0.0.0.0)",default:!1},"mdns-domain":{type:"string",describe:"custom domain name for mDNS service (default: qitqode.local)",default:"qitqode.local"},cors:{type:"string",array:!0,describe:"additional domains to allow for CORS",default:[]},"no-auth":{type:"boolean",describe:"allow starting without authentication on non-loopback addresses (DANGEROUS)",default:!1}};function u(j){return j.options(H)}function F(j,z=process.argv){return z.some((B)=>B===j||B.startsWith(`${j}=`))}function P(j,z=process.argv){return F("--port",z)||F("--hostname",z)||F("--mdns",z)||!!j.mdns||j.port!==0||j.hostname!=="127.0.0.1"}function _(j,z,B=process.argv){let J=F("--port",B),Z=F("--hostname",B),$=F("--mdns",B),q=F("--mdns-domain",B),K=$?j.mdns:z?.server?.mdns??j.mdns,M=q?j["mdns-domain"]:z?.server?.mdnsDomain??j["mdns-domain"],N=J?j.port:z?.server?.port??j.port,U=Z?j.hostname:K&&!z?.server?.hostname?"0.0.0.0":z?.server?.hostname??j.hostname,V=z?.server?.cors??[],Y=Array.isArray(j.cors)?j.cors:j.cors?[j.cors]:[],b=[...V,...Y],A=j["no-auth"];return{hostname:U,port:N,mdns:K,mdnsDomain:M,cors:b,noAuth:A}}var k={model:{type:"string",alias:["m"],describe:"model to use in the format of provider/model"},continue:{alias:["c"],describe:"continue the last session",type:"boolean"},session:{alias:["s"],type:"string",describe:"session id to continue"},fork:{type:"boolean",describe:"fork the session when continuing (use with --continue or --session)"},prompt:{type:"string",describe:"prompt to use"},agent:{type:"string",describe:"agent to use"},dark:{type:"boolean",describe:"start in dark theme (overrides saved theme preference for this launch)"},light:{type:"boolean",describe:"start in light theme (overrides saved theme preference for this launch)"},monochrome:{type:"boolean",describe:"start in monochrome accessible rendering \u2014 no color, plain terminal, screen-reader friendly"},headless:{type:"boolean",describe:"headless permissionless mode for AI subagent use \u2014 auto-approves all tool permissions, implies --never-ask"},fullauto:{type:"boolean",describe:"full-auto mode for the interactive TUI \u2014 never asks: starts in build mode, auto-decides questions and auto-approves every tool permission that is not explicitly denied by your config (dangerous!)"},"api-key":{type:"string",describe:"Qortex API key for non-interactive authentication in headless mode (can also be set via $QLEX_API_KEY)"},sso:{type:"boolean",describe:"sign in via SSO device-code flow before starting a headless session \u2014 prints a URL and code, waits for browser approval (requires --headless)"},free:{type:"boolean",describe:"start in Free tier (no cost) \u2014 shorthand for the Free model tier"},adaptive:{type:"boolean",describe:"start in Adaptive tier \u2014 shorthand for the Adaptive model tier"},fast:{type:"boolean",describe:"start in Fast tier \u2014 shorthand for the Fast model tier"},economical:{type:"boolean",describe:"start in Economical tier \u2014 shorthand for the Economical model tier"},maxInt:{type:"boolean",describe:"start in Max intelligence tier \u2014 shorthand for the Max intelligence model tier"},orchestrated:{type:"boolean",describe:"start in Orchestrated tier \u2014 shorthand for the Orchestrated model tier"}},L=36,W="\x1B[38;5;214m",I="\x1B[0;2m",Q="\x1B[0m";function G(j,z){let B=Math.round(j/100*L),J=`${"\u25A0".repeat(B)}${"\uFF65".repeat(L-B)}`;return`\r${W}${J} ${j.toString().padStart(3)}%${Q} ${I}${z}${Q}`}
|
|
3
|
+
export{D as Wf,H as Xf,u as Yf,P as Zf,_ as _f,k as $f,G as ag};
|
|
@@ -11,4 +11,4 @@ ${z}`,j++}else gw(W,G,H)?J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0:F(W,
|
|
|
11
11
|
`,G),U=-1;if(Z!==-1&&H!==-1?U=Z<H?Z:H:Z!==-1?Z===W.length-1?U=-1:U=Z:H!==-1&&(U=H),U===-1)break;F(W,G,U),G=U+1,W.charCodeAt(G-1)===WG&&W.charCodeAt(G)===Iw&&G++}return W.slice(G)}function F(W,G,Z){if(G===Z){pw();return}let H=W.charCodeAt(G);if(fw(W,G,H)){let R=W.charCodeAt(G+5)===A?G+6:G+5,y=W.slice(R,Z);M=j===0?y:`${M}
|
|
12
12
|
${y}`,j++;return}if(gw(W,G,H)){J=W.slice(W.charCodeAt(G+6)===A?G+7:G+6,Z)||void 0;return}if(H===105&&W.charCodeAt(G+1)===100&&W.charCodeAt(G+2)===58){let R=W.slice(W.charCodeAt(G+3)===A?G+4:G+3,Z);O=R.includes("\x00")?void 0:R;return}if(H===58){if(D){let R=W.slice(G,Z);D(R.slice(W.charCodeAt(G+1)===A?2:1))}return}let U=W.slice(G,Z),z=U.indexOf(":");if(z===-1){S(U,"",U);return}let kw=U.slice(0,z),hw=U.charCodeAt(z+1)===A?2:1,lw=U.slice(z+hw);S(kw,lw,U)}function S(W,G,Z){switch(W){case"event":J=G||void 0;break;case"data":M=j===0?G:`${M}
|
|
13
13
|
${G}`,j++;break;case"id":O=G.includes("\x00")?void 0:G;break;case"retry":/^\d+$/.test(G)?Y(parseInt(G,10)):X(new B(`Invalid \`retry\` value: "${G}"`,{type:"invalid-retry",value:G,line:Z}));break;default:X(new B(`Unknown field "${W.length>20?`${W.slice(0,20)}\u2026`:W}"`,{type:"unknown-field",field:W,value:G,line:Z}));break}}function pw(){j>0&&Q({id:O,event:J,data:M}),O=void 0,M="",j=0,J=void 0}function xw(W={}){if(W.consume&&K.length>0){let G=K.join("");F(G,0,G.length)}V=!0,O=void 0,M="",j=0,J=void 0,K.length=0,N=0,T=!1}return{feed:vw,reset:xw}}function fw(w,Q,X){return X===100&&w.charCodeAt(Q+1)===97&&w.charCodeAt(Q+2)===116&&w.charCodeAt(Q+3)===97&&w.charCodeAt(Q+4)===58}function gw(w,Q,X){return X===101&&w.charCodeAt(Q+1)===118&&w.charCodeAt(Q+2)===101&&w.charCodeAt(Q+3)===110&&w.charCodeAt(Q+4)===116&&w.charCodeAt(Q+5)===58}class XG extends TransformStream{constructor({onError:w,onRetry:Q,onComment:X,maxBufferSize:Y}={}){let D;super({start(q){D=mw({onEvent:(K)=>{q.enqueue(K)},onError(K){typeof w=="function"&&w(K),(w==="terminate"||K.type==="max-buffer-size-exceeded")&&q.error(K)},onRetry:Q,onComment:X,maxBufferSize:Y})},transform(q){D.feed(q)}})}}
|
|
14
|
-
export{$ as
|
|
14
|
+
export{$ as os,YG as ps,ZG as qs,Hw as rs,$G as ss,KG as ts,qG as us,HG as vs,UG as ws,DG as xs,jG as ys,JG as zs,OG as As,NG as Bs,zG as Cs,AG as Ds,mw as Es,XG as Fs};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var e={"ui.sessionReview.title":"Session changes","ui.sessionReview.title.git":"Git changes","ui.sessionReview.title.branch":"Branch changes","ui.sessionReview.title.lastTurn":"Last turn changes","ui.sessionReview.diffStyle.unified":"Unified","ui.sessionReview.diffStyle.split":"Split","ui.sessionReview.expandAll":"Expand all","ui.sessionReview.collapseAll":"Collapse all","ui.sessionReview.change.added":"Added","ui.sessionReview.change.removed":"Removed","ui.sessionReview.change.modified":"Modified","ui.sessionReview.image.loading":"Loading...","ui.sessionReview.image.placeholder":"Image","ui.sessionReview.largeDiff.title":"Diff too large to render","ui.sessionReview.largeDiff.meta":"Limit: {{limit}} changed lines. Current: {{current}} changed lines.","ui.sessionReview.largeDiff.renderAnyway":"Render anyway","ui.sessionReview.openFile":"Open file","ui.sessionReview.selection.line":"line {{line}}","ui.sessionReview.selection.lines":"lines {{start}}-{{end}}","ui.fileMedia.kind.image":"image","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"Removed {{kind}} file.","ui.fileMedia.state.loading":"Loading {{kind}}...","ui.fileMedia.state.error":"Unable to load {{kind}}.","ui.fileMedia.state.unavailable":"{{kind}} preview unavailable.","ui.fileMedia.binary.title":"Binary file","ui.fileMedia.binary.description.path":"{{path}} is binary.","ui.fileMedia.binary.description.default":"Binary content","ui.lineComment.label.prefix":"Comment on ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Commenting on ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Add comment","ui.lineComment.submit":"Comment","ui.sessionTurn.steps.show":"Show steps","ui.sessionTurn.steps.hide":"Hide steps","ui.sessionTurn.summary.response":"Response","ui.sessionTurn.diff.showMore":"Show more changes ({{count}})","ui.sessionTurn.diffs.changed":"Changed","ui.sessionTurn.diffs.showAll":"Show all","ui.sessionTurn.diffs.showLess":"Show less","ui.sessionTurn.diffs.more":"+{{count}} more files","ui.sessionTurn.retry.retrying":"retrying","ui.sessionTurn.retry.inSeconds":"in {{seconds}}s","ui.sessionTurn.retry.attempt":"attempt #{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - attempt #{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini is way too hot right now","ui.sessionTurn.error.freeUsageExceeded":"Free usage exceeded","ui.sessionTurn.error.addQredits":"Add qredits","ui.sessionTurn.status.delegating":"Delegating work","ui.sessionTurn.status.planning":"Planning next steps","ui.sessionTurn.status.gatheringContext":"Exploring","ui.sessionTurn.status.gatheredContext":"Explored","ui.sessionTurn.status.searchingCodebase":"Searching the codebase","ui.sessionTurn.status.searchingWeb":"Searching the web","ui.sessionTurn.status.makingEdits":"Making edits","ui.sessionTurn.status.runningCommands":"Running commands","ui.sessionTurn.status.thinking":"Thinking","ui.sessionTurn.status.thinkingWithTopic":"Thinking - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Gathering thoughts","ui.sessionTurn.status.consideringNextSteps":"Considering next steps","ui.messagePart.diagnostic.error":"Error","ui.messagePart.title.edit":"Edit","ui.messagePart.title.write":"Write","ui.messagePart.option.typeOwnAnswer":"Type your own answer","ui.messagePart.review.title":"Review your answers","ui.messagePart.questions.dismissed":"Questions dismissed","ui.messagePart.compaction":"Session compacted","ui.messagePart.context.read.one":"{{count}} read","ui.messagePart.context.read.other":"{{count}} reads","ui.messagePart.context.search.one":"{{count}} search","ui.messagePart.context.search.other":"{{count}} searches","ui.messagePart.context.list.one":"{{count}} list","ui.messagePart.context.list.other":"{{count}} lists","ui.list.loading":"Loading","ui.list.empty":"No results","ui.list.clearFilter":"Clear filter","ui.list.emptyWithFilter.prefix":"No results for","ui.list.emptyWithFilter.suffix":"","ui.fileSearch.placeholder":"Find","ui.fileSearch.previousMatch":"Previous match","ui.fileSearch.nextMatch":"Next match","ui.fileSearch.close":"Close search","ui.messageNav.newMessage":"New message","ui.textField.copyToClipboard":"Copy to clipboard","ui.textField.copyLink":"Copy link","ui.textField.copied":"Copied","ui.imagePreview.alt":"Image preview","ui.scrollView.ariaLabel":"scrollable content","ui.tool.read":"Read","ui.tool.loaded":"Loaded","ui.tool.list":"List","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.task":"Task","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Web Search","ui.tool.codesearch":"Code Search","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"To-dos","ui.tool.todos.read":"Read to-dos","ui.tool.questions":"Questions","ui.tool.agent":"{{type}} Agent","ui.tool.agent.default":"Agent","ui.tool.skill":"Skill","ui.basicTool.called":"Called `{{tool}}`","ui.toolErrorCard.failed":"Failed","ui.toolErrorCard.copyError":"Copy error","ui.common.file.one":"file","ui.common.file.other":"files","ui.common.question.one":"question","ui.common.question.other":"questions","ui.common.add":"Add","ui.common.back":"Back","ui.common.cancel":"Cancel","ui.common.confirm":"Confirm","ui.common.dismiss":"Dismiss","ui.common.close":"Close","ui.common.next":"Next","ui.common.submit":"Submit","ui.permission.deny":"Deny","ui.permission.allowAlways":"Allow always","ui.permission.allowOnce":"Allow once","ui.message.expand":"Expand message","ui.message.collapse":"Collapse message","ui.message.copy":"Copy","ui.message.copyMessage":"Copy message","ui.message.forkMessage":"Fork to new session","ui.message.revertMessage":"Revert message","ui.message.copyResponse":"Copy response","ui.message.copied":"Copied","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s","ui.message.interrupted":"Interrupted","ui.message.queued":"Queued","ui.message.attachment.alt":"attachment","ui.patch.action.deleted":"Deleted","ui.patch.action.created":"Created","ui.patch.action.moved":"Moved","ui.patch.action.patched":"Patched","ui.question.subtitle.answered":"{{count}} answered","ui.question.answer.none":"(no answer)","ui.question.review.notAnswered":"(not answered)","ui.question.multiHint":"Select all answers that apply","ui.question.singleHint":"Select one answer","ui.question.custom.placeholder":"Type your answer..."};
|
|
3
|
-
export{e as
|
|
3
|
+
export{e as Sd};
|