@qitqode/qitqode-android-arm64 0.1.35 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/{chunk-7311jry1.js → chunk-00sr2gwz.js} +2 -2
- package/bundle/{chunk-azhw650z.js → chunk-02xcb52z.js} +2 -2
- package/bundle/{chunk-gws1rn1v.js → chunk-08q55ya0.js} +1 -1
- package/bundle/chunk-092bx2yw.js +2 -0
- package/bundle/{chunk-xgr6jnd6.js → chunk-0g25z230.js} +1 -1
- package/bundle/chunk-0jrgk6vk.js +2 -0
- package/bundle/chunk-0ne5m1n3.js +2 -0
- package/bundle/chunk-0qn52zsd.js +2 -0
- package/bundle/{chunk-7mxt5b0h.js → chunk-0z33en1a.js} +1 -1
- package/bundle/chunk-10accb7b.js +2 -0
- package/bundle/chunk-13kpdfr7.js +2 -0
- package/bundle/chunk-15s8zwgf.js +2 -0
- package/bundle/chunk-17pxm5d3.js +14 -0
- package/bundle/{chunk-nj4d554m.js → chunk-1bx2sjn6.js} +1 -1
- package/bundle/chunk-1kgyfja6.js +2 -0
- package/bundle/{chunk-bv29k2pf.js → chunk-1mcsf4yb.js} +2 -2
- package/bundle/{chunk-kwx9ewe0.js → chunk-1wpjmwnh.js} +1 -1
- package/bundle/{chunk-snr44en9.js → chunk-25bp7pcm.js} +2 -2
- package/bundle/{chunk-kmcsz8yv.js → chunk-2dkrfc1s.js} +1 -1
- package/bundle/chunk-2pzvcpv4.js +3 -0
- package/bundle/chunk-3bkdbqjj.js +2 -0
- package/bundle/{chunk-08m0hkdz.js → chunk-3dr4469n.js} +1 -1
- package/bundle/{chunk-n96tvjgj.js → chunk-3mepk08v.js} +2 -2
- package/bundle/chunk-3sz6gw10.js +3 -0
- package/bundle/{chunk-xqdrr7xg.js → chunk-45mjcxqk.js} +1 -1
- package/bundle/chunk-46ztrjw0.js +7 -0
- package/bundle/chunk-4dtkj9zg.js +2 -0
- package/bundle/chunk-4e9p3e0a.js +2 -0
- package/bundle/{chunk-qrtc3etn.js → chunk-4fa390yr.js} +2 -2
- package/bundle/chunk-4gs87ghj.js +3 -0
- package/bundle/{chunk-3k2b05fv.js → chunk-4sazy0nq.js} +1 -1
- package/bundle/chunk-4tbqsrsn.js +2 -0
- package/bundle/{chunk-ngccf7ga.js → chunk-52b1v7mn.js} +1 -1
- package/bundle/chunk-53kns5wy.js +2 -0
- package/bundle/{chunk-11v7vz3y.js → chunk-549ptbaj.js} +1 -1
- package/bundle/chunk-559ek1ym.js +2 -0
- package/bundle/chunk-55wxgsga.js +2 -0
- package/bundle/{chunk-34p46th6.js → chunk-5bate758.js} +1 -1
- package/bundle/chunk-5ke0yqqz.js +8 -0
- package/bundle/{chunk-kdcnder5.js → chunk-5kmfnkzv.js} +1 -1
- package/bundle/chunk-5myxjxae.js +3 -0
- package/bundle/chunk-5q1fz2az.js +2 -0
- package/bundle/{chunk-txbwmwxj.js → chunk-5sgpjgss.js} +1 -1
- package/bundle/{chunk-rsszcqxd.js → chunk-60qyqqxx.js} +1 -1
- package/bundle/{chunk-94pcpztx.js → chunk-64s7vfj7.js} +2 -2
- package/bundle/{chunk-6ged58yw.js → chunk-6r8pg6ma.js} +2 -2
- package/bundle/{chunk-8762ty72.js → chunk-70pb4kcm.js} +2 -2
- package/bundle/{chunk-04hvaaje.js → chunk-72zxassf.js} +1 -1
- package/bundle/{chunk-yz6898wy.js → chunk-73ckx171.js} +1 -1
- package/bundle/{chunk-gj0wt0cy.js → chunk-7fawtcnn.js} +1 -1
- package/bundle/{chunk-zfn0z4sh.js → chunk-7gbytqkn.js} +2 -2
- package/bundle/{chunk-x66ycpfs.js → chunk-7jhrxzjx.js} +2 -2
- package/bundle/{chunk-09pkckr1.js → chunk-7vftsy04.js} +1 -1
- package/bundle/chunk-871f8x99.js +4 -0
- package/bundle/chunk-88emsbaz.js +2 -0
- package/bundle/{chunk-zfd70p01.js → chunk-8dxdeksr.js} +1 -1
- package/bundle/{chunk-6styp5dn.js → chunk-8fgamz4y.js} +1 -1
- package/bundle/{chunk-9qdr9t8c.js → chunk-8q6z6emx.js} +1 -1
- package/bundle/{chunk-4ttf9rjd.js → chunk-8r3410c2.js} +1 -1
- package/bundle/{chunk-3mzcr3fw.js → chunk-8tp4whyw.js} +1 -1
- package/bundle/chunk-8yn64y27.js +2 -0
- package/bundle/{chunk-41v0x1jk.js → chunk-8yr682pv.js} +2 -2
- package/bundle/chunk-8ywa7az5.js +2 -0
- package/bundle/chunk-8ywdddts.js +2 -0
- package/bundle/{chunk-exmw8jfa.js → chunk-909fp6pm.js} +2 -2
- package/bundle/chunk-92zjark4.js +2 -0
- package/bundle/chunk-98effz12.js +2 -0
- package/bundle/{chunk-kjyw00jp.js → chunk-9cw4cnz0.js} +1 -1
- package/bundle/{chunk-2swch6mx.js → chunk-9dh9bc9d.js} +1 -1
- package/bundle/{chunk-y437vyza.js → chunk-9fkmhmh6.js} +1 -1
- package/bundle/{chunk-7vd91wsd.js → chunk-9nk0ts0s.js} +1 -1
- package/bundle/{chunk-p9cnzxb8.js → chunk-9s4whpg1.js} +2 -2
- package/bundle/{chunk-yajd975f.js → chunk-9xvctnjr.js} +1 -1
- package/bundle/{chunk-4wxxyrxn.js → chunk-9zre5e54.js} +1 -1
- package/bundle/chunk-a6z0fhta.js +2 -0
- package/bundle/{chunk-yt3f3j35.js → chunk-a9y27zd2.js} +1 -1
- package/bundle/{chunk-mex0fe9s.js → chunk-acyj91wq.js} +1 -1
- package/bundle/chunk-aj3y2e86.js +3 -0
- package/bundle/chunk-akpssv2d.js +2 -0
- package/bundle/chunk-aq28ejhv.js +2 -0
- package/bundle/{chunk-pkc4ddw1.js → chunk-atpzz901.js} +1 -1
- package/bundle/chunk-aw8af3ky.js +2 -0
- package/bundle/chunk-ax1y4699.js +2 -0
- package/bundle/{chunk-dctj3c22.js → chunk-b0jh0rby.js} +2 -2
- package/bundle/chunk-b10px5g4.js +2 -0
- package/bundle/chunk-bha3sbsj.js +2 -0
- package/bundle/{chunk-67d5d8mr.js → chunk-bnz0mxak.js} +1 -1
- package/bundle/chunk-bs020a3x.js +2 -0
- package/bundle/chunk-bs61sezq.js +2 -0
- package/bundle/{chunk-7eexey82.js → chunk-c72jajx9.js} +1 -1
- package/bundle/{chunk-81trveht.js → chunk-cagk1sjd.js} +1 -1
- package/bundle/{chunk-1byd3wma.js → chunk-cdh26622.js} +2 -2
- package/bundle/{chunk-t2vm08v6.js → chunk-ceefd2nj.js} +1 -1
- package/bundle/chunk-cmdjkx32.js +2 -0
- package/bundle/{chunk-zh3fny3z.js → chunk-cx7p4ezk.js} +2 -2
- package/bundle/chunk-cxtxvt43.js +2 -0
- package/bundle/{chunk-pxmhe36r.js → chunk-d1rn44wz.js} +1 -1
- package/bundle/{chunk-0c6ep9mc.js → chunk-d93z6hrn.js} +1 -1
- package/bundle/{chunk-zddknkw7.js → chunk-d9x9kqvy.js} +1 -1
- package/bundle/chunk-de2rfsaf.js +2 -0
- package/bundle/{chunk-seghf5fc.js → chunk-dgx4rq86.js} +1 -1
- package/bundle/{chunk-qzj6027k.js → chunk-dh1h513y.js} +1 -1
- package/bundle/chunk-dncnyzaa.js +2 -0
- package/bundle/chunk-dp6zktka.js +2 -0
- package/bundle/{chunk-ba3h1pzs.js → chunk-dshnn54c.js} +1 -1
- package/bundle/{chunk-73myw3bj.js → chunk-dt899wbf.js} +2 -2
- package/bundle/chunk-dvqdtdza.js +2 -0
- package/bundle/{chunk-6ynxf3q7.js → chunk-dvxk6mr6.js} +2 -2
- package/bundle/{chunk-bnss5dkk.js → chunk-dykqn0nj.js} +2 -2
- package/bundle/{chunk-hv6eccx1.js → chunk-dz3s882k.js} +220 -220
- package/bundle/{chunk-y9zstzed.js → chunk-eaqfnwdj.js} +1 -1
- package/bundle/{chunk-54wh8b12.js → chunk-eb8nsk7e.js} +2 -2
- package/bundle/chunk-ebabnv33.js +3 -0
- package/bundle/chunk-ebdpg3cn.js +2 -0
- package/bundle/{chunk-kfmz2p27.js → chunk-ev3a2sxv.js} +2 -2
- package/bundle/{chunk-d00c1k9w.js → chunk-ewpzqnj4.js} +1 -1
- package/bundle/chunk-eyc6tb5h.js +2 -0
- package/bundle/chunk-eze57bty.js +2 -0
- package/bundle/{chunk-qddt2gcs.js → chunk-ezrskm25.js} +1 -1
- package/bundle/chunk-fa47vzfc.js +2 -0
- package/bundle/chunk-fe397ph0.js +2 -0
- package/bundle/{chunk-bzgj60w4.js → chunk-fn8191ps.js} +2 -2
- package/bundle/chunk-fr75ytdr.js +2 -0
- package/bundle/chunk-fw2tnbt6.js +2 -0
- package/bundle/chunk-fwr2qgqb.js +2 -0
- package/bundle/chunk-fyz7fngd.js +2 -0
- package/bundle/chunk-g204pt98.js +2 -0
- package/bundle/{chunk-ggydr1ze.js → chunk-g794ey6w.js} +1 -1
- package/bundle/chunk-g8cfzzrs.js +2 -0
- package/bundle/chunk-gcgmwqhh.js +2 -0
- package/bundle/{chunk-rmve21dh.js → chunk-gg7bg3ek.js} +1 -1
- package/bundle/{chunk-9x25d115.js → chunk-gkj4a27z.js} +1 -1
- package/bundle/{chunk-sjw56r2n.js → chunk-gnt982jr.js} +3 -3
- package/bundle/chunk-grdfpd57.js +2 -0
- package/bundle/chunk-gt6tgm42.js +5 -0
- package/bundle/chunk-gw36mrg4.js +2 -0
- package/bundle/{chunk-z8gdmvgg.js → chunk-gwfx7tx7.js} +2 -2
- package/bundle/{chunk-q8hd01j7.js → chunk-gxmxx8jb.js} +1 -1
- package/bundle/{chunk-tge53d52.js → chunk-h1kg35mn.js} +1 -1
- package/bundle/chunk-h36qec67.js +2 -0
- package/bundle/{chunk-0msqaywp.js → chunk-h7w35n7w.js} +1 -1
- package/bundle/chunk-h9gtymfm.js +2 -0
- package/bundle/chunk-h9qn35pn.js +2 -0
- package/bundle/{chunk-mr8j7rc6.js → chunk-hb9mc5f9.js} +1 -1
- package/bundle/{chunk-df2aswz3.js → chunk-hcy77w6t.js} +1 -1
- package/bundle/chunk-hd8q4msp.js +2 -0
- package/bundle/{chunk-6a7c7wnf.js → chunk-hgsykghj.js} +2 -2
- package/bundle/chunk-hhjkezfz.js +2 -0
- package/bundle/chunk-hnz570f9.js +3 -0
- package/bundle/chunk-j5kyf7vt.js +5 -0
- package/bundle/{chunk-1yt5rsew.js → chunk-j63fkt6n.js} +1 -1
- package/bundle/{chunk-03xppy47.js → chunk-jcjaw7tk.js} +2 -2
- package/bundle/{chunk-jkh6eg7d.js → chunk-jf6ry79j.js} +4 -4
- package/bundle/chunk-jfz8wwk9.js +2 -0
- package/bundle/{chunk-ke7n9t5p.js → chunk-jgz1a29w.js} +3 -3
- package/bundle/{chunk-ebcdxmdd.js → chunk-jngchw38.js} +1 -1
- package/bundle/{chunk-j5ymkhry.js → chunk-jqn27885.js} +1 -1
- package/bundle/chunk-js6hqmq7.js +2 -0
- package/bundle/{chunk-hj3ddt53.js → chunk-jts0dma5.js} +2 -2
- package/bundle/chunk-k70x182t.js +2 -0
- package/bundle/chunk-k7n1csxv.js +3 -0
- package/bundle/{chunk-er38zew1.js → chunk-kb6v5hhm.js} +2 -2
- package/bundle/chunk-kmtfdky8.js +4 -0
- package/bundle/chunk-kp8nkm3m.js +2 -0
- package/bundle/{chunk-7hm0c2yg.js → chunk-kqhh2pm9.js} +1 -1
- package/bundle/{chunk-0h8wdch6.js → chunk-kt0ej3nq.js} +1 -1
- package/bundle/chunk-kwzawx7r.js +2 -0
- package/bundle/{chunk-n6msxne8.js → chunk-kx2dp8ch.js} +1 -1
- package/bundle/chunk-m0mek3es.js +2 -0
- package/bundle/{chunk-tbgczapt.js → chunk-m0xsvzyd.js} +2 -2
- package/bundle/chunk-m31d2n6h.js +2 -0
- package/bundle/{chunk-9ayxg9mq.js → chunk-m6zxr0j8.js} +2 -2
- package/bundle/{chunk-egn55fa2.js → chunk-mcc5ynma.js} +3 -3
- package/bundle/{chunk-md8161zd.js → chunk-mdzzcrf9.js} +2 -2
- package/bundle/{chunk-ynwkr3yh.js → chunk-mvnxwwe7.js} +2 -2
- package/bundle/{chunk-b4knxpqh.js → chunk-mw2hr4pd.js} +1 -1
- package/bundle/{chunk-vszbqv24.js → chunk-mzbr0m2v.js} +1 -1
- package/bundle/{chunk-bj00xk8k.js → chunk-n0trgp1c.js} +2 -2
- package/bundle/chunk-n14qktbg.js +2 -0
- package/bundle/{chunk-yjk6zv2z.js → chunk-n2ygpy76.js} +1 -1
- package/bundle/{chunk-yprmd5b7.js → chunk-n38h109k.js} +2 -2
- package/bundle/{chunk-8vg4fmg2.js → chunk-n7d9eemn.js} +180 -178
- package/bundle/{chunk-06k6egt2.js → chunk-neqy8j4n.js} +1 -1
- package/bundle/chunk-nhwhkx62.js +4 -0
- package/bundle/{chunk-nj61v4n7.js → chunk-njkserae.js} +1 -1
- package/bundle/{chunk-n6gtdx5h.js → chunk-nq495be3.js} +1 -1
- package/bundle/{chunk-p3qkexpk.js → chunk-nsjp44fp.js} +1 -1
- package/bundle/chunk-nzzsj54n.js +2 -0
- package/bundle/chunk-p19qfw59.js +2 -0
- package/bundle/chunk-p2yxj9s4.js +2 -0
- package/bundle/{chunk-1dtzxt2w.js → chunk-p3rp99na.js} +1 -1
- package/bundle/{chunk-79agp7v3.js → chunk-p8kpqyxb.js} +2 -2
- package/bundle/{chunk-9fxkh84w.js → chunk-p9zrk16q.js} +1 -1
- package/bundle/chunk-pnpre7ys.js +3 -0
- package/bundle/{chunk-ee23d2nz.js → chunk-pnq1h5az.js} +2 -2
- package/bundle/{chunk-wfd5h6ax.js → chunk-pqnbdygz.js} +2 -2
- package/bundle/chunk-pr1ysgr3.js +2 -0
- package/bundle/chunk-ps9p14y6.js +2 -0
- package/bundle/chunk-px8vtbmr.js +3 -0
- package/bundle/{chunk-zfcp509b.js → chunk-pxx2hz0g.js} +2 -2
- package/bundle/{chunk-rq4w0by4.js → chunk-q81m4m9z.js} +1 -1
- package/bundle/chunk-qagc6v17.js +2 -0
- package/bundle/{chunk-mq6jn47r.js → chunk-qb35hqm4.js} +1 -1
- package/bundle/chunk-qc0zhbhm.js +2 -0
- package/bundle/{chunk-keveg5gx.js → chunk-qdcf1ay5.js} +2 -2
- package/bundle/{chunk-t3eymzg1.js → chunk-qpzspr9z.js} +2 -2
- package/bundle/chunk-qq2rcxv2.js +9 -0
- package/bundle/{chunk-axdzm75h.js → chunk-qqne79vp.js} +2 -2
- package/bundle/{chunk-g4gjz7sq.js → chunk-qs4wef8c.js} +1 -1
- package/bundle/{chunk-nmehsm3w.js → chunk-qy1a2tpc.js} +1 -1
- package/bundle/chunk-qyjt0qnq.js +3 -0
- package/bundle/{chunk-6a77w77q.js → chunk-r0g5yyhf.js} +4 -4
- package/bundle/{chunk-by855es0.js → chunk-r58gzg6m.js} +1 -1
- package/bundle/{chunk-fmq0m4k5.js → chunk-r6ndvzd0.js} +1 -1
- package/bundle/chunk-r78kfhvz.js +2 -0
- package/bundle/{chunk-dyv2hqvc.js → chunk-rcyhqkv5.js} +1 -1
- package/bundle/{chunk-yp5bypsp.js → chunk-rexdr63q.js} +2 -2
- package/bundle/{chunk-1me21qdc.js → chunk-rgxy4ngt.js} +1 -1
- package/bundle/chunk-rnd5mnsm.js +2 -0
- package/bundle/{chunk-dcndy4sr.js → chunk-rph9zj24.js} +1 -1
- package/bundle/{chunk-ryfqwsft.js → chunk-rrd0jf5m.js} +1 -1
- package/bundle/{chunk-e74efvj2.js → chunk-rtdym35y.js} +172 -172
- package/bundle/chunk-s2xdf6qh.js +14 -0
- package/bundle/{chunk-mpygdb5a.js → chunk-s8mghr5a.js} +2 -2
- package/bundle/chunk-schtpyjs.js +2 -0
- package/bundle/{chunk-08f4khsw.js → chunk-snt1kefv.js} +3 -3
- package/bundle/{chunk-a1hzeejj.js → chunk-sp8ek94w.js} +2 -2
- package/bundle/{chunk-s8hq6trz.js → chunk-srxx88nb.js} +1 -1
- package/bundle/{chunk-gy0wm7e1.js → chunk-std2bgv7.js} +2 -2
- package/bundle/chunk-sv1s1qxd.js +619 -0
- package/bundle/{chunk-dffhkd30.js → chunk-swcgsrbj.js} +1 -1
- package/bundle/chunk-sxwqrvmy.js +28 -0
- package/bundle/chunk-sxy4hyyy.js +2 -0
- package/bundle/chunk-syc4b8rt.js +2 -0
- package/bundle/{chunk-wgk7ynt3.js → chunk-t01bhw5h.js} +3 -3
- package/bundle/chunk-tcs6wgna.js +3 -0
- package/bundle/{chunk-gmzrvxnv.js → chunk-tdmn21z0.js} +2 -2
- package/bundle/{chunk-71zw0qhf.js → chunk-tdxbm1nd.js} +1 -1
- package/bundle/{chunk-p825vsjy.js → chunk-te5tfq79.js} +1 -1
- package/bundle/chunk-tf4xwqz7.js +2 -0
- package/bundle/{chunk-fg35hwa0.js → chunk-tgd5ctnt.js} +2 -2
- package/bundle/chunk-twhavv1m.js +2 -0
- package/bundle/{chunk-qa2j0qmy.js → chunk-txqc7543.js} +2 -2
- package/bundle/chunk-tzg4z74d.js +2 -0
- package/bundle/chunk-tzrbb0e8.js +3 -0
- package/bundle/chunk-v0yxkq99.js +3 -0
- package/bundle/{chunk-a3a1trap.js → chunk-v3x5nrc4.js} +2 -2
- package/bundle/chunk-v7q3d3n6.js +3 -0
- package/bundle/chunk-v8vcwx23.js +2 -0
- package/bundle/chunk-vc4e6xc4.js +10 -0
- package/bundle/{chunk-6p7yg5sr.js → chunk-vftqwdpg.js} +1 -1
- package/bundle/{chunk-r0k21apr.js → chunk-vgaxv70x.js} +2 -2
- package/bundle/{chunk-nkk4fyqf.js → chunk-vgnddhdj.js} +1 -1
- package/bundle/{chunk-xd3xc1vv.js → chunk-vm58fkrv.js} +1 -1
- package/bundle/{chunk-qg2vk5fw.js → chunk-vsys768k.js} +1 -1
- package/bundle/{chunk-5a7fs1hg.js → chunk-vvzbfv2f.js} +1 -1
- package/bundle/{chunk-s4qtphwx.js → chunk-w03fdrxe.js} +1 -1
- package/bundle/{chunk-z1ay3qd0.js → chunk-w3bmf3zz.js} +1 -1
- package/bundle/{chunk-vsr8mnj6.js → chunk-w5940jxm.js} +1 -1
- package/bundle/chunk-w6rf2knb.js +2 -0
- package/bundle/{chunk-aa8hymcv.js → chunk-w8d9srv7.js} +2 -2
- package/bundle/chunk-w9pdvcf9.js +3 -0
- package/bundle/{chunk-yk97q51d.js → chunk-wev34grp.js} +2 -2
- package/bundle/chunk-wh7r96t3.js +2 -0
- package/bundle/{chunk-1pg6pv0m.js → chunk-wm77svwm.js} +1 -1
- package/bundle/chunk-wnjqaxze.js +2 -0
- package/bundle/{chunk-gckgaqqr.js → chunk-ws3p9cya.js} +2 -2
- package/bundle/chunk-x42w8ewc.js +2 -0
- package/bundle/{chunk-qkjdr337.js → chunk-x6rr6ss1.js} +1 -1
- package/bundle/chunk-xc9se3c8.js +2 -0
- package/bundle/{chunk-bbzztav6.js → chunk-xdacgfba.js} +1 -1
- package/bundle/{chunk-6p94fpbn.js → chunk-xdjwapwy.js} +2 -2
- package/bundle/chunk-xfz698bh.js +2 -0
- package/bundle/{chunk-zwnhf4z1.js → chunk-xhbb8b5g.js} +1 -1
- package/bundle/chunk-xjhezxft.js +8 -0
- package/bundle/chunk-xxj3sgd5.js +2 -0
- package/bundle/chunk-xxvqq7kc.js +2 -0
- package/bundle/{chunk-cs38g1bx.js → chunk-y0ydzdfc.js} +1 -1
- package/bundle/{chunk-wvf5q2hz.js → chunk-y1b2h15z.js} +1 -1
- package/bundle/{chunk-1gf116rg.js → chunk-yacccwf6.js} +1 -1
- package/bundle/chunk-ydc6ypjt.js +77 -0
- package/bundle/chunk-ye0mkqb4.js +2 -0
- package/bundle/{chunk-dhqaqeq6.js → chunk-yeq7b87a.js} +1 -1
- package/bundle/chunk-yfp9y71y.js +2 -0
- package/bundle/{chunk-e6xnynaz.js → chunk-yha554nm.js} +2 -2
- package/bundle/{chunk-rv1stdvb.js → chunk-yj6rbe9p.js} +2 -2
- package/bundle/chunk-yjjh339w.js +2 -0
- package/bundle/{chunk-c5pb87yf.js → chunk-ymtcm4xd.js} +1 -1
- package/bundle/chunk-ypk3t1eh.js +3 -0
- package/bundle/chunk-yt6vd7a5.js +2 -0
- package/bundle/{chunk-ssk8tkwd.js → chunk-yw9pfqxt.js} +1 -1
- package/bundle/{chunk-g6cyhxwg.js → chunk-yykjvt7f.js} +2 -2
- package/bundle/{chunk-sfes6pp1.js → chunk-yzh4rmrt.js} +1 -1
- package/bundle/chunk-yzn08nx1.js +2 -0
- package/bundle/chunk-yzq3c3dq.js +2 -0
- package/bundle/{chunk-prh3c44x.js → chunk-yzwgvjzd.js} +1 -1
- package/bundle/chunk-z0tfsdb9.js +3 -0
- package/bundle/chunk-z1j25911.js +2 -0
- package/bundle/{chunk-rkwrjphh.js → chunk-z1rshv6g.js} +1 -1
- package/bundle/chunk-z210dtw1.js +3 -0
- package/bundle/chunk-z29ahthm.js +2 -0
- package/bundle/{chunk-w1n4rf6n.js → chunk-z7vv0ngm.js} +2 -2
- package/bundle/{chunk-jgjnz82k.js → chunk-zaan8jk6.js} +1 -1
- package/bundle/{chunk-6gb65bv1.js → chunk-zbqzm65q.js} +1 -1
- package/bundle/{chunk-bk4phk66.js → chunk-zesbm9k1.js} +1 -1
- package/bundle/{chunk-c6vfwjg4.js → chunk-zfcfyagt.js} +1 -1
- package/bundle/{chunk-ywkvq7zb.js → chunk-zfnbk5gy.js} +1 -1
- package/bundle/chunk-zgre4gc2.js +2 -0
- package/bundle/{chunk-z7430qxg.js → chunk-zrmx397j.js} +1 -1
- package/bundle/chunk-zthkjx33.js +2 -0
- package/bundle/chunk-ztnepaqc.js +3 -0
- package/bundle/chunk-zwvwbrsc.js +2 -0
- package/bundle/chunk-zxddasg8.js +2 -0
- 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-0442cmw2.js +0 -2
- package/bundle/chunk-085pvqr4.js +0 -2
- package/bundle/chunk-0x5jn813.js +0 -2
- package/bundle/chunk-11g2rpv8.js +0 -3
- package/bundle/chunk-28t9akfn.js +0 -2
- package/bundle/chunk-2h1fcqvf.js +0 -2
- package/bundle/chunk-2kens6wh.js +0 -2
- package/bundle/chunk-2scyp9ns.js +0 -2
- package/bundle/chunk-2tw58kwb.js +0 -2
- package/bundle/chunk-2vxx0tax.js +0 -2
- package/bundle/chunk-2ybt3p5z.js +0 -2
- package/bundle/chunk-2zpkw3ge.js +0 -2
- package/bundle/chunk-31g86yn6.js +0 -2
- package/bundle/chunk-397be2x0.js +0 -2
- package/bundle/chunk-3c78nkgn.js +0 -2
- package/bundle/chunk-3d91q2qd.js +0 -2
- package/bundle/chunk-43yv7tz1.js +0 -2
- package/bundle/chunk-496ajawz.js +0 -2
- package/bundle/chunk-499gp5g5.js +0 -2
- package/bundle/chunk-4hzm14xt.js +0 -3
- package/bundle/chunk-4xw14sed.js +0 -2
- package/bundle/chunk-536naqqv.js +0 -2
- package/bundle/chunk-57nvmhjq.js +0 -2
- package/bundle/chunk-5e4fxy99.js +0 -616
- package/bundle/chunk-5he3d7cy.js +0 -2
- package/bundle/chunk-5qr286w8.js +0 -2
- package/bundle/chunk-606vpgc4.js +0 -4
- package/bundle/chunk-6a1skxcj.js +0 -3
- package/bundle/chunk-6cj7cn5x.js +0 -2
- package/bundle/chunk-6hybp2mt.js +0 -2
- package/bundle/chunk-6y423jax.js +0 -3
- package/bundle/chunk-72ghkgcn.js +0 -2
- package/bundle/chunk-741teh8k.js +0 -2
- package/bundle/chunk-7b3wx6kn.js +0 -2
- package/bundle/chunk-891yevv2.js +0 -2
- package/bundle/chunk-8c1ypgw5.js +0 -3
- package/bundle/chunk-8ktgy41r.js +0 -2
- package/bundle/chunk-8q73cjyj.js +0 -2
- package/bundle/chunk-8rt63jbm.js +0 -2
- package/bundle/chunk-8y623qdx.js +0 -2
- package/bundle/chunk-921vn745.js +0 -2
- package/bundle/chunk-945ebhte.js +0 -2
- package/bundle/chunk-9548cc0c.js +0 -2
- package/bundle/chunk-9yrypq1r.js +0 -14
- package/bundle/chunk-a0rp7gh4.js +0 -77
- package/bundle/chunk-a48t0g95.js +0 -3
- package/bundle/chunk-a949at1c.js +0 -3
- package/bundle/chunk-akk84fnc.js +0 -2
- package/bundle/chunk-aw7j7brm.js +0 -2
- package/bundle/chunk-b6cybdj3.js +0 -2
- package/bundle/chunk-c5fa8cb1.js +0 -2
- package/bundle/chunk-ca4r31we.js +0 -2
- package/bundle/chunk-ckbwdrm3.js +0 -2
- package/bundle/chunk-cqj21rfj.js +0 -3
- package/bundle/chunk-cz3h5n1v.js +0 -3
- package/bundle/chunk-dhc6e1t7.js +0 -2
- package/bundle/chunk-dk6rbqvp.js +0 -2
- package/bundle/chunk-dk975etf.js +0 -3
- package/bundle/chunk-dwajajaq.js +0 -2
- package/bundle/chunk-dxcrggvq.js +0 -2
- package/bundle/chunk-dyt3n3fe.js +0 -2
- package/bundle/chunk-e7ah0e61.js +0 -2
- package/bundle/chunk-e7v9trve.js +0 -11
- package/bundle/chunk-e8ws454m.js +0 -2
- package/bundle/chunk-efndtzby.js +0 -2
- package/bundle/chunk-eq2pepce.js +0 -2
- package/bundle/chunk-eva3nqqb.js +0 -14
- package/bundle/chunk-f3bnn9rf.js +0 -8
- package/bundle/chunk-f693s9vn.js +0 -2
- package/bundle/chunk-ftepqwyq.js +0 -2
- package/bundle/chunk-g18ax6yp.js +0 -2
- package/bundle/chunk-gadyp6mb.js +0 -2
- package/bundle/chunk-ge8315te.js +0 -5
- package/bundle/chunk-gk28ffhg.js +0 -2
- package/bundle/chunk-gpfc4z4v.js +0 -2
- package/bundle/chunk-gqvg02zp.js +0 -2
- package/bundle/chunk-gsyt2sv7.js +0 -2
- package/bundle/chunk-h3k1dk9m.js +0 -2
- package/bundle/chunk-h8c3dcqt.js +0 -2
- package/bundle/chunk-hfq11w4h.js +0 -2
- package/bundle/chunk-hw5qyht3.js +0 -3
- package/bundle/chunk-hwf58w1k.js +0 -2
- package/bundle/chunk-jyczz3yh.js +0 -8
- package/bundle/chunk-k8k8z6b7.js +0 -3
- package/bundle/chunk-kk3ve911.js +0 -2
- package/bundle/chunk-kv72hxkp.js +0 -3
- package/bundle/chunk-m4j7jyrd.js +0 -3
- package/bundle/chunk-mf3sm0pk.js +0 -2
- package/bundle/chunk-mkng9ykt.js +0 -2
- package/bundle/chunk-mxvypy3s.js +0 -2
- package/bundle/chunk-n5ypgxrn.js +0 -28
- package/bundle/chunk-n9xw9kqc.js +0 -2
- package/bundle/chunk-nc4wbc89.js +0 -2
- package/bundle/chunk-ngk67rt3.js +0 -3
- package/bundle/chunk-nj2bbtmx.js +0 -2
- package/bundle/chunk-nr1g57b2.js +0 -2
- package/bundle/chunk-p0ahbpxv.js +0 -2
- package/bundle/chunk-p7y8z5rd.js +0 -2
- package/bundle/chunk-pt26gerr.js +0 -2
- package/bundle/chunk-qkk1as5n.js +0 -2
- package/bundle/chunk-qsm9xw87.js +0 -2
- package/bundle/chunk-qw980y8h.js +0 -2
- package/bundle/chunk-r2w3gr8d.js +0 -2
- package/bundle/chunk-r5bqcpkz.js +0 -2
- package/bundle/chunk-r67c858b.js +0 -2
- package/bundle/chunk-r9fvfkee.js +0 -2
- package/bundle/chunk-rcn0dhbj.js +0 -2
- package/bundle/chunk-rq47pn3r.js +0 -2
- package/bundle/chunk-rvt1tdy8.js +0 -2
- package/bundle/chunk-ry7q8xn6.js +0 -2
- package/bundle/chunk-s27xvrft.js +0 -2
- package/bundle/chunk-s5nde2kd.js +0 -5
- package/bundle/chunk-scy39p6q.js +0 -2
- package/bundle/chunk-srpe3v8e.js +0 -9
- package/bundle/chunk-st5jaszz.js +0 -3
- package/bundle/chunk-t5qamf96.js +0 -2
- package/bundle/chunk-t9mz17gb.js +0 -3
- package/bundle/chunk-tns5x4w0.js +0 -3
- package/bundle/chunk-ttevj0pj.js +0 -2
- package/bundle/chunk-v7c54cyj.js +0 -2
- package/bundle/chunk-vgefaens.js +0 -2
- package/bundle/chunk-vv59b4re.js +0 -2
- package/bundle/chunk-vwqy7n3g.js +0 -2
- package/bundle/chunk-vysa9hp4.js +0 -7
- package/bundle/chunk-wn076jwj.js +0 -2
- package/bundle/chunk-x0m1qye9.js +0 -2
- package/bundle/chunk-xvntsbb1.js +0 -3
- package/bundle/chunk-y70aachh.js +0 -2
- package/bundle/chunk-yqk58hf6.js +0 -3
- package/bundle/chunk-ysgxt83y.js +0 -2
- package/bundle/chunk-ze9e6nt3.js +0 -3
- package/bundle/chunk-znzan00b.js +0 -3
- package/bundle/chunk-zrp55k47.js +0 -2
- package/bundle/chunk-zwdnh860.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Cd as b}from"./chunk-w8d9srv7.js";import{Pd as f}from"./chunk-9xvctnjr.js";import{Xg as S}from"./chunk-sv1s1qxd.js";import"./chunk-n7d9eemn.js";import"./chunk-pxx2hz0g.js";import"./chunk-rexdr63q.js";import"./chunk-kqhh2pm9.js";import"./chunk-7fawtcnn.js";import"./chunk-mdzzcrf9.js";import"./chunk-wev34grp.js";import{rl as v}from"./chunk-rtdym35y.js";import"./chunk-5myxjxae.js";import{Kl as U,Sl as R,am as k}from"./chunk-sp8ek94w.js";import"./chunk-gnt982jr.js";import"./chunk-1bx2sjn6.js";import"./chunk-17pxm5d3.js";import"./chunk-n38h109k.js";import"./chunk-25bp7pcm.js";import"./chunk-qdcf1ay5.js";import"./chunk-45mjcxqk.js";import"./chunk-qqne79vp.js";import"./chunk-64s7vfj7.js";import"./chunk-xjhezxft.js";import"./chunk-gwfx7tx7.js";import"./chunk-1wpjmwnh.js";import"./chunk-cqtkxwd8.js";import"./chunk-ymtcm4xd.js";import"./chunk-yykjvt7f.js";import"./chunk-3mepk08v.js";import"./chunk-atpzz901.js";import"./chunk-0g25z230.js";import"./chunk-w9pdvcf9.js";import"./chunk-4gs87ghj.js";import"./chunk-kb6v5hhm.js";import"./chunk-qyjt0qnq.js";import"./chunk-xdjwapwy.js";import{qt as Z}from"./chunk-cxtxvt43.js";import"./chunk-871f8x99.js";import"./chunk-cx7p4ezk.js";import"./chunk-tgd5ctnt.js";import"./chunk-p8kpqyxb.js";import"./chunk-3sz6gw10.js";import"./chunk-twhavv1m.js";import"./chunk-v0yxkq99.js";import"./chunk-2pzvcpv4.js";import"./chunk-kmtfdky8.js";import"./chunk-vc4e6xc4.js";import"./chunk-hnz570f9.js";import"./chunk-tdmn21z0.js";import"./chunk-s8mghr5a.js";import"./chunk-pqnbdygz.js";import"./chunk-ydc6ypjt.js";import"./chunk-ev3a2sxv.js";import"./chunk-pnq1h5az.js";import"./chunk-4sazy0nq.js";var i=f({command:"stats",describe:"show token usage and cost statistics",builder:(z)=>{return z.option("days",{describe:"show stats for the last N days (default: all time)",type:"number"}).option("tools",{describe:"number of tools to show (default: all)",type:"number"}).option("models",{describe:"show model statistics (default: hidden). Pass a number to show top N, otherwise shows all"}).option("project",{describe:"filter by project (default: all projects, empty string: current project)",type:"string"})},handler:async(z)=>{await b(process.cwd(),async()=>{let E=await y(z.days,z.project),_;if(z.models===!0)_=1/0;else if(typeof z.models==="number")_=z.models;u(E,z.tools,_)})}});async function w(){return k.project}async function p(){return R.use((E)=>E.select().from(U).all()).map((E)=>v.fromRow(E))}async function y(z,E){let _=await p(),L=86400000,J=(()=>{if(z===void 0)return 0;if(z===0){let V=new Date;return V.setHours(0,0,0,0),V.getTime()}return Date.now()-z*86400000})(),K=(()=>{if(z===void 0)return;if(z===0)return 1;return z})(),Y=J>0?_.filter((V)=>V.time.updated>=J):_;if(E!==void 0)if(E===""){let V=await w();Y=Y.filter((F)=>F.projectID===V.id)}else Y=Y.filter((V)=>V.projectID===E);let G={totalSessions:Y.length,totalMessages:0,totalCost:0,totalTokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}},toolUsage:{},modelUsage:{},dateRange:{earliest:Date.now(),latest:Date.now()},days:0,costPerDay:0,tokensPerSession:0,medianTokensPerSession:0};if(Y.length>1000)console.log(`Large dataset detected (${Y.length} sessions). This may take a while...`);if(Y.length===0)return G.days=K??0,G;let C=Date.now(),x=0,X=[],h=20;for(let V=0;V<Y.length;V+=h){let D=Y.slice(V,V+h).map(async(Q)=>{let W=await S.runPromise(v.Service.use((O)=>O.messages({sessionID:Q.id,agentID:"*"}))),N=0,H={input:0,output:0,reasoning:0,cache:{read:0,write:0}},j={},A={};for(let O of W){if(O.info.role==="assistant"){N+=O.info.cost||0;let B=`${O.info.providerID}/${O.info.modelID}`;if(!A[B])A[B]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};if(A[B].messages++,A[B].cost+=O.info.cost||0,O.info.tokens)H.input+=O.info.tokens.input||0,H.output+=O.info.tokens.output||0,H.reasoning+=O.info.tokens.reasoning||0,H.cache.read+=O.info.tokens.cache?.read||0,H.cache.write+=O.info.tokens.cache?.write||0,A[B].tokens.input+=O.info.tokens.input||0,A[B].tokens.output+=(O.info.tokens.output||0)+(O.info.tokens.reasoning||0),A[B].tokens.cache.read+=O.info.tokens.cache?.read||0,A[B].tokens.cache.write+=O.info.tokens.cache?.write||0}for(let B of O.parts)if(B.type==="tool"&&B.tool)j[B.tool]=(j[B.tool]||0)+1}return{messageCount:W.length,sessionCost:N,sessionTokens:H,sessionTotalTokens:H.input+H.output+H.reasoning+H.cache.read+H.cache.write,sessionToolUsage:j,sessionModelUsage:A,earliestTime:J>0?Q.time.updated:Q.time.created,latestTime:Q.time.updated}}),M=await Promise.all(D);for(let Q of M){C=Math.min(C,Q.earliestTime),x=Math.max(x,Q.latestTime),X.push(Q.sessionTotalTokens),G.totalMessages+=Q.messageCount,G.totalCost+=Q.sessionCost,G.totalTokens.input+=Q.sessionTokens.input,G.totalTokens.output+=Q.sessionTokens.output,G.totalTokens.reasoning+=Q.sessionTokens.reasoning,G.totalTokens.cache.read+=Q.sessionTokens.cache.read,G.totalTokens.cache.write+=Q.sessionTokens.cache.write;for(let[W,N]of Object.entries(Q.sessionToolUsage))G.toolUsage[W]=(G.toolUsage[W]||0)+N;for(let[W,N]of Object.entries(Q.sessionModelUsage)){if(!G.modelUsage[W])G.modelUsage[W]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};G.modelUsage[W].messages+=N.messages,G.modelUsage[W].tokens.input+=N.tokens.input,G.modelUsage[W].tokens.output+=N.tokens.output,G.modelUsage[W].tokens.cache.read+=N.tokens.cache.read,G.modelUsage[W].tokens.cache.write+=N.tokens.cache.write,G.modelUsage[W].cost+=N.cost}}}let $=Math.max(1,Math.ceil((x-C)/86400000)),q=K??$;G.dateRange={earliest:C,latest:x},G.days=q,G.costPerDay=G.totalCost/q;let I=G.totalTokens.input+G.totalTokens.output+G.totalTokens.reasoning+G.totalTokens.cache.read+G.totalTokens.cache.write;G.tokensPerSession=Y.length>0?I/Y.length:0,X.sort((V,F)=>V-F);let P=Math.floor(X.length/2);return G.medianTokensPerSession=X.length===0?0:X.length%2===0?(X[P-1]+X[P])/2:X[P],G}function u(z,E,_){function J(x,X){let $=55-x.length-X.length,q=Math.max(0,$);return`\u2502${x}${" ".repeat(q)}${X} \u2502`}console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 OVERVIEW \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524"),console.log(J("Sessions",z.totalSessions.toLocaleString())),console.log(J("Messages",z.totalMessages.toLocaleString())),console.log(J("Days",z.days.toString())),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 COST & TOKENS \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let K=isNaN(z.totalCost)?0:z.totalCost,Y=isNaN(z.costPerDay)?0:z.costPerDay,G=isNaN(z.tokensPerSession)?0:z.tokensPerSession;console.log(J("Total Cost",`$${K.toFixed(2)}`)),console.log(J("Avg Cost/Day",`$${Y.toFixed(2)}`)),console.log(J("Avg Tokens/Session",Z.number(Math.round(G))));let C=isNaN(z.medianTokensPerSession)?0:z.medianTokensPerSession;if(console.log(J("Median Tokens/Session",Z.number(Math.round(C)))),console.log(J("Input",Z.number(z.totalTokens.input))),console.log(J("Output",Z.number(z.totalTokens.output))),console.log(J("Cache Read",Z.number(z.totalTokens.cache.read))),console.log(J("Cache Write",Z.number(z.totalTokens.cache.write))),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),_!==void 0&&Object.keys(z.modelUsage).length>0){let x=Object.entries(z.modelUsage).sort(([,h],[,$])=>$.messages-h.messages),X=_===1/0?x:x.slice(0,_);console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 MODEL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");for(let[h,$]of X)console.log(`\u2502 ${h.padEnd(54)} \u2502`),console.log(J(" Messages",$.messages.toLocaleString())),console.log(J(" Input Tokens",Z.number($.tokens.input))),console.log(J(" Output Tokens",Z.number($.tokens.output))),console.log(J(" Cache Read",Z.number($.tokens.cache.read))),console.log(J(" Cache Write",Z.number($.tokens.cache.write))),console.log(J(" Cost",`$${$.cost.toFixed(4)}`)),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");process.stdout.write("\x1B[1A"),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}if(console.log(),Object.keys(z.toolUsage).length>0){let x=Object.entries(z.toolUsage).sort(([,q],[,I])=>I-q),X=E?x.slice(0,E):x;console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 TOOL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let h=Math.max(...X.map(([,q])=>q)),$=Object.values(z.toolUsage).reduce((q,I)=>q+I,0);for(let[q,I]of X){let P=Math.max(1,Math.floor(I/h*20)),V="\u2588".repeat(P),F=(I/$*100).toFixed(1),D=18,W=` ${(q.length>18?q.substring(0,16)+"..":q).padEnd(18)} ${V.padEnd(20)} ${I.toString().padStart(3)} (${F.padStart(4)}%)`,N=Math.max(0,56-W.length-1);console.log(`\u2502${W}${" ".repeat(N)} \u2502`)}console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}console.log()}export{u as displayStats,y as aggregateSessionStats,i as StatsCommand};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Bp as J}from"./chunk-45mjcxqk.js";import{wt as H,xt as I,yt as Q}from"./chunk-871f8x99.js";import{Tu as N}from"./chunk-vc4e6xc4.js";import{kQ as L}from"./chunk-4sazy0nq.js";import{platform as R,release as U}from"os";import{tmpdir as V}from"os";import X from"path";import Y from"fs/promises";var Z=J(async()=>{let{which:D}=await import("./chunk-xfz698bh.js");return D}),T=J(async()=>{let{default:D}=await import("./chunk-hb9mc5f9.js");return D});function _(D){if(!process.stdout.isTTY)return;let A=`\x1B]52;c;${Buffer.from(D).toString("base64")}\x07`,E=process.env.TMUX||process.env.STY?`\x1BPtmux;\x1B${A}\x1B\\`:A;process.stdout.write(E)}async function $(){let D=R();if(D==="darwin"){let k=X.join(V(),"qitqode-clipboard.png");try{return await I(["osascript","-e",'set imageData to the clipboard as "PNGf"',"-e",`set fileRef to open for access POSIX file "${k}" with write permission`,"-e","set eof fileRef to 0","-e","write imageData to fileRef","-e","close access fileRef"],{nothrow:!0}),{data:(await N(k)).toString("base64"),mime:"image/png"}}catch{}finally{await Y.rm(k,{force:!0}).catch(()=>{})}}if(D==="win32"||U().includes("WSL")){let E=await Q(["powershell.exe","-NonInteractive","-NoProfile","-command","Add-Type -AssemblyName System.Windows.Forms; $img = [System.Windows.Forms.Clipboard]::GetImage(); if ($img) { $ms = New-Object System.IO.MemoryStream; $img.Save($ms, [System.Drawing.Imaging.ImageFormat]::Png); [System.Convert]::ToBase64String($ms.ToArray()) }"],{nothrow:!0});if(E.text){let K=Buffer.from(E.text.trim(),"base64");if(K.length>0)return{data:K.toString("base64"),mime:"image/png"}}}if(D==="linux"){let k=await I(["wl-paste","-t","image/png"],{nothrow:!0});if(k.stdout.byteLength>0)return{data:Buffer.from(k.stdout).toString("base64"),mime:"image/png"};let E=await I(["xclip","-selection","clipboard","-t","image/png","-o"],{nothrow:!0});if(E.stdout.byteLength>0)return{data:Buffer.from(E.stdout).toString("base64"),mime:"image/png"}}let A=await(await T()).read().catch(()=>{});if(A)return{data:A,mime:"text/plain"}}var j=J(async()=>{let D=R(),G=await Z();if(D==="darwin"&&G("osascript"))return console.log("clipboard: using osascript"),async(A)=>{let k=A.replace(/\\/g,"\\\\").replace(/"/g,"\\\"");await I(["osascript","-e",`set the clipboard to "${k}"`],{nothrow:!0})};if(D==="linux"){if(process.env.WAYLAND_DISPLAY&&G("wl-copy"))return console.log("clipboard: using wl-copy"),async(A)=>{let k=H(["wl-copy"],{stdin:"pipe",stdout:"ignore",stderr:"ignore"});if(!k.stdin)return;k.stdin.write(A),k.stdin.end(),await k.exited.catch(()=>{})};if(G("xclip"))return console.log("clipboard: using xclip"),async(A)=>{let k=H(["xclip","-selection","clipboard"],{stdin:"pipe",stdout:"ignore",stderr:"ignore"});if(!k.stdin)return;k.stdin.write(A),k.stdin.end(),await k.exited.catch(()=>{})};if(G("xsel"))return console.log("clipboard: using xsel"),async(A)=>{let k=H(["xsel","--clipboard","--input"],{stdin:"pipe",stdout:"ignore",stderr:"ignore"});if(!k.stdin)return;k.stdin.write(A),k.stdin.end(),await k.exited.catch(()=>{})}}if(D==="win32")return console.log("clipboard: using powershell"),async(A)=>{let k=H(["powershell.exe","-NonInteractive","-NoProfile","-Command","[Console]::InputEncoding = [System.Text.Encoding]::UTF8; Set-Clipboard -Value ([Console]::In.ReadToEnd())"],{stdin:"pipe",stdout:"ignore",stderr:"ignore"});if(!k.stdin)return;k.stdin.write(A),k.stdin.end(),await k.exited.catch(()=>{})};return console.log("clipboard: no native support"),async(A)=>{await(await T()).write(A).catch(()=>{})}});async function v(D){_(D),await(await j())(D)}
|
|
3
|
+
export{$ as sd,v as td};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{H as
|
|
2
|
+
import{Sr as C}from"./chunk-3mepk08v.js";import{spawn as E}from"child_process";async function H(z){if(process.platform==="linux"){if(await new Promise((D)=>{let A=!1,x=(j)=>{if(A)return;A=!0,D(j)};try{let j=E("xdg-open",[z],{stdio:"ignore",detached:!0});j.once("error",()=>x(!1)),j.once("spawn",()=>{j.unref(),x(!0)})}catch{x(!1)}}))return!0}try{let q=await C(z);if(!q)return!1;return q.once("error",()=>{}),!0}catch{return!1}}
|
|
3
|
+
export{H as Rh};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{$q as VQ,Cq as wQ,Eq as QQ,Jq as JV,Lq as FQ,Nq as KV,Oq as SV,Qq as PV,Rq as D,Uq as F,Vq as t,Xq as BV,Zq as qQ,ar as WQ,br as xQ,er as EV,fr as a,hr as UV,ir as BQ,jr as $Q,kr as AV,nr as xV,oq as l,pq as zV,tq as UQ,vq as JQ,xq as GV}from"./chunk-z8gdmvgg.js";import{Ar as jV,Cr as YQ,qr as ZV,ur as $V,vr as AQ}from"./chunk-kwx9ewe0.js";import"./chunk-cqtkxwd8.js";import"./chunk-c5pb87yf.js";import{pv as Q}from"./chunk-gmzrvxnv.js";import"./chunk-mpygdb5a.js";import"./chunk-3k2b05fv.js";var HQ=Q.object({error:Q.object({message:Q.string(),type:Q.string().nullish(),param:Q.any().nullish(),code:Q.union([Q.string(),Q.number()]).nullish()})}),zQ=UV({errorSchema:HQ,errorToMessage:(V)=>V.error.message});function LV(V){let Y=V.startsWith("o3")||V.startsWith("o4-mini")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-chat"),J=V.startsWith("gpt-4")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-nano")&&!V.startsWith("gpt-5-chat")&&!V.startsWith("gpt-5.4-nano")||V.startsWith("o3")||V.startsWith("o4-mini"),G=V.startsWith("o1")||V.startsWith("o3")||V.startsWith("o4-mini")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-chat"),j=V.startsWith("gpt-5.1")||V.startsWith("gpt-5.2")||V.startsWith("gpt-5.3")||V.startsWith("gpt-5.4");return{supportsFlexProcessing:Y,supportsPriorityProcessing:J,isReasoningModel:G,systemMessageMode:G?"developer":"system",supportsNonReasoningParameters:j}}function cQ(V){var Y,J,G,j,E,P;if(V==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let $=(Y=V.prompt_tokens)!=null?Y:0,A=(J=V.completion_tokens)!=null?J:0,O=(j=(G=V.prompt_tokens_details)==null?void 0:G.cached_tokens)!=null?j:0,K=(P=(E=V.completion_tokens_details)==null?void 0:E.reasoning_tokens)!=null?P:0;return{inputTokens:{total:$,noCache:$-O,cacheRead:O,cacheWrite:void 0},outputTokens:{total:A,text:A-K,reasoning:K},raw:V}}function HV(V){return JSON.stringify(V===void 0?{}:V)}function MV({prompt:V,systemMessageMode:Y="system"}){var J;let G=[],j=[];for(let{role:E,content:P}of V)switch(E){case"system":{switch(Y){case"system":{G.push({role:"system",content:P});break}case"developer":{G.push({role:"developer",content:P});break}case"remove":{j.push({type:"other",message:"system messages are removed for this model"});break}default:throw Error(`Unsupported system message mode: ${Y}`)}break}case"user":{if(P.length===1&&P[0].type==="text"){G.push({role:"user",content:P[0].text});break}G.push({role:"user",content:P.map(($,A)=>{var O,K,Z;switch($.type){case"text":return{type:"text",text:$.text};case"file":if($.mediaType.startsWith("image/")){let q=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${q};base64,${JQ($.data)}`,detail:(K=(O=$.providerOptions)==null?void 0:O.openai)==null?void 0:K.imageDetail}}}else if($.mediaType.startsWith("audio/")){if($.data instanceof URL)throw new YQ({functionality:"audio file parts with URLs"});switch($.mediaType){case"audio/wav":return{type:"input_audio",input_audio:{data:JQ($.data),format:"wav"}};case"audio/mp3":case"audio/mpeg":return{type:"input_audio",input_audio:{data:JQ($.data),format:"mp3"}};default:throw new YQ({functionality:`audio content parts with media type ${$.mediaType}`})}}else if($.mediaType==="application/pdf"){if($.data instanceof URL)throw new YQ({functionality:"PDF file parts with URLs"});return{type:"file",file:typeof $.data==="string"&&$.data.startsWith("file-")?{file_id:$.data}:{filename:(Z=$.filename)!=null?Z:`part-${A}.pdf`,file_data:`data:application/pdf;base64,${JQ($.data)}`}}}else throw new YQ({functionality:`file part media type ${$.mediaType}`})}})});break}case"assistant":{let $="",A=[];for(let O of P)switch(O.type){case"text":{$+=O.text;break}case"tool-call":{A.push({id:O.toolCallId,type:"function",function:{name:O.toolName,arguments:HV(O.input)}});break}}G.push({role:"assistant",content:$,tool_calls:A.length>0?A:void 0});break}case"tool":{for(let $ of P){if($.type==="tool-approval-response")continue;let A=$.output,O;switch(A.type){case"text":case"error-text":O=A.value;break;case"execution-denied":O=(J=A.reason)!=null?J:"Tool execution denied.";break;case"content":case"json":case"error-json":O=JSON.stringify(A.value);break}G.push({role:"tool",tool_call_id:$.toolCallId,content:O})}break}default:throw Error(`Unsupported role: ${E}`)}return{messages:G,warnings:j}}function LQ({id:V,model:Y,created:J}){return{id:V!=null?V:void 0,modelId:Y!=null?Y:void 0,timestamp:J?new Date(J*1000):void 0}}function vQ(V){switch(V){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var bV=D(()=>F(Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({message:Q.object({role:Q.literal("assistant").nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({id:Q.string().nullish(),type:Q.literal("function"),function:Q.object({name:Q.string(),arguments:Q.string()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}),index:Q.number(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}))),yV=D(()=>F(Q.union([Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({delta:Q.object({role:Q.enum(["assistant"]).nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({index:Q.number(),id:Q.string().nullish(),type:Q.literal("function").nullish(),function:Q.object({name:Q.string().nullish(),arguments:Q.string().nullish()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}).nullish(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish(),index:Q.number()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}),HQ]))),RV=D(()=>F(Q.object({logitBias:Q.record(Q.coerce.number(),Q.number()).optional(),logprobs:Q.union([Q.boolean(),Q.number()]).optional(),parallelToolCalls:Q.boolean().optional(),user:Q.string().optional(),reasoningEffort:Q.enum(["none","minimal","low","medium","high","xhigh"]).optional(),maxCompletionTokens:Q.number().optional(),store:Q.boolean().optional(),metadata:Q.record(Q.string().max(64),Q.string().max(512)).optional(),prediction:Q.record(Q.string(),Q.any()).optional(),serviceTier:Q.enum(["auto","flex","priority","default"]).optional(),strictJsonSchema:Q.boolean().optional(),textVerbosity:Q.enum(["low","medium","high"]).optional(),promptCacheKey:Q.string().optional(),promptCacheRetention:Q.enum(["in_memory","24h"]).optional(),safetyIdentifier:Q.string().optional(),systemMessageMode:Q.enum(["system","developer","remove"]).optional(),forceReasoning:Q.boolean().optional()})));function kV({tools:V,toolChoice:Y}){V=(V==null?void 0:V.length)?V:void 0;let J=[];if(V==null)return{tools:void 0,toolChoice:void 0,toolWarnings:J};let G=[];for(let E of V)switch(E.type){case"function":G.push({type:"function",function:{name:E.name,description:E.description,parameters:E.inputSchema,...E.strict!=null?{strict:E.strict}:{}}});break;default:J.push({type:"unsupported",feature:`tool type: ${E.type}`});break}if(Y==null)return{tools:G,toolChoice:void 0,toolWarnings:J};let j=Y.type;switch(j){case"auto":case"none":case"required":return{tools:G,toolChoice:j,toolWarnings:J};case"tool":return{tools:G,toolChoice:{type:"function",function:{name:Y.toolName}},toolWarnings:J};default:throw new YQ({functionality:`tool choice type: ${j}`})}}var gV=class{constructor(V,Y){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=V,this.config=Y}get provider(){return this.config.provider}async getArgs({prompt:V,maxOutputTokens:Y,temperature:J,topP:G,topK:j,frequencyPenalty:E,presencePenalty:P,stopSequences:$,responseFormat:A,seed:O,tools:K,toolChoice:Z,providerOptions:q}){var x,f,y,w,M;let g=[],b=(x=await VQ({provider:"openai",providerOptions:q,schema:RV}))!=null?x:{},n=LV(this.modelId),i=(f=b.forceReasoning)!=null?f:n.isReasoningModel;if(j!=null)g.push({type:"unsupported",feature:"topK"});let{messages:p,warnings:m}=MV({prompt:V,systemMessageMode:(y=b.systemMessageMode)!=null?y:i?"developer":n.systemMessageMode});g.push(...m);let s=(w=b.strictJsonSchema)!=null?w:!0,X={model:this.modelId,logit_bias:b.logitBias,logprobs:b.logprobs===!0||typeof b.logprobs==="number"?!0:void 0,top_logprobs:typeof b.logprobs==="number"?b.logprobs:typeof b.logprobs==="boolean"?b.logprobs?0:void 0:void 0,user:b.user,parallel_tool_calls:b.parallelToolCalls,max_tokens:Y,temperature:J,top_p:G,frequency_penalty:E,presence_penalty:P,response_format:(A==null?void 0:A.type)==="json"?A.schema!=null?{type:"json_schema",json_schema:{schema:A.schema,strict:s,name:(M=A.name)!=null?M:"response",description:A.description}}:{type:"json_object"}:void 0,stop:$,seed:O,verbosity:b.textVerbosity,max_completion_tokens:b.maxCompletionTokens,store:b.store,metadata:b.metadata,prediction:b.prediction,reasoning_effort:b.reasoningEffort,service_tier:b.serviceTier,prompt_cache_key:b.promptCacheKey,prompt_cache_retention:b.promptCacheRetention,safety_identifier:b.safetyIdentifier,messages:p};if(i){if(b.reasoningEffort!=="none"||!n.supportsNonReasoningParameters){if(X.temperature!=null)X.temperature=void 0,g.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for reasoning models"});if(X.top_p!=null)X.top_p=void 0,g.push({type:"unsupported",feature:"topP",details:"topP is not supported for reasoning models"});if(X.logprobs!=null)X.logprobs=void 0,g.push({type:"other",message:"logprobs is not supported for reasoning models"})}if(X.frequency_penalty!=null)X.frequency_penalty=void 0,g.push({type:"unsupported",feature:"frequencyPenalty",details:"frequencyPenalty is not supported for reasoning models"});if(X.presence_penalty!=null)X.presence_penalty=void 0,g.push({type:"unsupported",feature:"presencePenalty",details:"presencePenalty is not supported for reasoning models"});if(X.logit_bias!=null)X.logit_bias=void 0,g.push({type:"other",message:"logitBias is not supported for reasoning models"});if(X.top_logprobs!=null)X.top_logprobs=void 0,g.push({type:"other",message:"topLogprobs is not supported for reasoning models"});if(X.max_tokens!=null){if(X.max_completion_tokens==null)X.max_completion_tokens=X.max_tokens;X.max_tokens=void 0}}else if(this.modelId.startsWith("gpt-4o-search-preview")||this.modelId.startsWith("gpt-4o-mini-search-preview")){if(X.temperature!=null)X.temperature=void 0,g.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for the search preview models and has been removed."})}if(b.serviceTier==="flex"&&!n.supportsFlexProcessing)g.push({type:"unsupported",feature:"serviceTier",details:"flex processing is only available for o3, o4-mini, and gpt-5 models"}),X.service_tier=void 0;if(b.serviceTier==="priority"&&!n.supportsPriorityProcessing)g.push({type:"unsupported",feature:"serviceTier",details:"priority processing is only available for supported models (gpt-4, gpt-5, gpt-5-mini, o3, o4-mini) and requires Enterprise access. gpt-5-nano is not supported"}),X.service_tier=void 0;let{tools:u,toolChoice:I,toolWarnings:H}=kV({tools:K,toolChoice:Z});return{args:{...X,tools:u,tool_choice:I},warnings:[...g,...H]}}async doGenerate(V){var Y,J,G,j,E,P,$;let{args:A,warnings:O}=await this.getArgs(V),{responseHeaders:K,value:Z,rawValue:q}=await WQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),V.headers),body:A,failedResponseHandler:zQ,successfulResponseHandler:$Q(bV),abortSignal:V.abortSignal,fetch:this.config.fetch}),x=Z.choices[0],f=[],y=x.message.content;if(y!=null&&y.length>0)f.push({type:"text",text:y});for(let b of(Y=x.message.tool_calls)!=null?Y:[])f.push({type:"tool-call",toolCallId:(J=b.id)!=null?J:QQ(),toolName:b.function.name,input:b.function.arguments});for(let b of(G=x.message.annotations)!=null?G:[])f.push({type:"source",sourceType:"url",id:QQ(),url:b.url_citation.url,title:b.url_citation.title});let w=(j=Z.usage)==null?void 0:j.completion_tokens_details,M=(E=Z.usage)==null?void 0:E.prompt_tokens_details,g={openai:{}};if((w==null?void 0:w.accepted_prediction_tokens)!=null)g.openai.acceptedPredictionTokens=w==null?void 0:w.accepted_prediction_tokens;if((w==null?void 0:w.rejected_prediction_tokens)!=null)g.openai.rejectedPredictionTokens=w==null?void 0:w.rejected_prediction_tokens;if(((P=x.logprobs)==null?void 0:P.content)!=null)g.openai.logprobs=x.logprobs.content;return{content:f,finishReason:{unified:vQ(x.finish_reason),raw:($=x.finish_reason)!=null?$:void 0},usage:cQ(Z.usage),request:{body:A},response:{...LQ(Z),headers:K,body:q},warnings:O,providerMetadata:g}}async doStream(V){let{args:Y,warnings:J}=await this.getArgs(V),G={...Y,stream:!0,stream_options:{include_usage:!0}},{responseHeaders:j,value:E}=await WQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),V.headers),body:G,failedResponseHandler:zQ,successfulResponseHandler:BQ(yV),abortSignal:V.abortSignal,fetch:this.config.fetch}),P=[],$={unified:"other",raw:void 0},A=void 0,O=!1,K=!1,Z={openai:{}};return{stream:E.pipeThrough(new TransformStream({start(q){q.enqueue({type:"stream-start",warnings:J})},transform(q,x){var f,y,w,M,g,b,n,i,p,m,s,X,u,I,H,d,e;if(V.includeRawChunks)x.enqueue({type:"raw",rawValue:q.rawValue});if(!q.success){$={unified:"error",raw:void 0},x.enqueue({type:"error",error:q.error});return}let C=q.value;if("error"in C){$={unified:"error",raw:void 0},x.enqueue({type:"error",error:C.error});return}if(!O){let z=LQ(C);if(Object.values(z).some(Boolean))O=!0,x.enqueue({type:"response-metadata",...LQ(C)})}if(C.usage!=null){if(A=C.usage,((f=C.usage.completion_tokens_details)==null?void 0:f.accepted_prediction_tokens)!=null)Z.openai.acceptedPredictionTokens=(y=C.usage.completion_tokens_details)==null?void 0:y.accepted_prediction_tokens;if(((w=C.usage.completion_tokens_details)==null?void 0:w.rejected_prediction_tokens)!=null)Z.openai.rejectedPredictionTokens=(M=C.usage.completion_tokens_details)==null?void 0:M.rejected_prediction_tokens}let k=C.choices[0];if((k==null?void 0:k.finish_reason)!=null)$={unified:vQ(k.finish_reason),raw:k.finish_reason};if(((g=k==null?void 0:k.logprobs)==null?void 0:g.content)!=null)Z.openai.logprobs=k.logprobs.content;if((k==null?void 0:k.delta)==null)return;let L=k.delta;if(L.content!=null){if(!K)x.enqueue({type:"text-start",id:"0"}),K=!0;x.enqueue({type:"text-delta",id:"0",delta:L.content})}if(L.tool_calls!=null)for(let z of L.tool_calls){let T=z.index;if(P[T]==null){if(z.type!=null&&z.type!=="function")throw new AQ({data:z,message:"Expected 'function' type."});if(z.id==null)throw new AQ({data:z,message:"Expected 'id' to be a string."});if(((b=z.function)==null?void 0:b.name)==null)throw new AQ({data:z,message:"Expected 'function.name' to be a string."});x.enqueue({type:"tool-input-start",id:z.id,toolName:z.function.name}),P[T]={id:z.id,type:"function",function:{name:z.function.name,arguments:(n=z.function.arguments)!=null?n:""},hasFinished:!1};let B=P[T];if(((i=B.function)==null?void 0:i.name)!=null&&((p=B.function)==null?void 0:p.arguments)!=null){if(B.function.arguments.length>0)x.enqueue({type:"tool-input-delta",id:B.id,delta:B.function.arguments});if(qQ(B.function.arguments))x.enqueue({type:"tool-input-end",id:B.id}),x.enqueue({type:"tool-call",toolCallId:(m=B.id)!=null?m:QQ(),toolName:B.function.name,input:B.function.arguments}),B.hasFinished=!0}continue}let N=P[T];if(N.hasFinished)continue;if(((s=z.function)==null?void 0:s.arguments)!=null)N.function.arguments+=(u=(X=z.function)==null?void 0:X.arguments)!=null?u:"";if(x.enqueue({type:"tool-input-delta",id:N.id,delta:(I=z.function.arguments)!=null?I:""}),((H=N.function)==null?void 0:H.name)!=null&&((d=N.function)==null?void 0:d.arguments)!=null&&qQ(N.function.arguments))x.enqueue({type:"tool-input-end",id:N.id}),x.enqueue({type:"tool-call",toolCallId:(e=N.id)!=null?e:QQ(),toolName:N.function.name,input:N.function.arguments}),N.hasFinished=!0}if(L.annotations!=null)for(let z of L.annotations)x.enqueue({type:"source",sourceType:"url",id:QQ(),url:z.url_citation.url,title:z.url_citation.title})},flush(q){if(K)q.enqueue({type:"text-end",id:"0"});q.enqueue({type:"finish",finishReason:$,usage:cQ(A),...Z!=null?{providerMetadata:Z}:{}})}})),request:{body:G},response:{headers:j}}}};function nQ(V){var Y,J,G,j;if(V==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let E=(Y=V.prompt_tokens)!=null?Y:0,P=(J=V.completion_tokens)!=null?J:0;return{inputTokens:{total:(G=V.prompt_tokens)!=null?G:void 0,noCache:E,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:(j=V.completion_tokens)!=null?j:void 0,text:P,reasoning:void 0},raw:V}}function CV({prompt:V,user:Y="user",assistant:J="assistant"}){let G="";if(V[0].role==="system")G+=`${V[0].content}
|
|
2
|
+
import{Aq as JQ,Cq as GV,Hq as wQ,Jq as QQ,Oq as JV,Qq as FQ,Sq as KV,Tq as SV,Vq as PV,Wq as D,Zq as F,_q as t,ar as BV,cr as qQ,er as VQ,fr as WQ,gr as xQ,jr as EV,kr as a,mr as UV,nr as BQ,or as $Q,pr as AV,sr as xV,tq as l,uq as zV,yq as UQ}from"./chunk-gwfx7tx7.js";import{Ar as AQ,Fr as jV,Hr as YQ,vr as ZV,zr as $V}from"./chunk-1wpjmwnh.js";import"./chunk-cqtkxwd8.js";import"./chunk-ymtcm4xd.js";import{xv as Q}from"./chunk-tdmn21z0.js";import"./chunk-s8mghr5a.js";import"./chunk-4sazy0nq.js";var HQ=Q.object({error:Q.object({message:Q.string(),type:Q.string().nullish(),param:Q.any().nullish(),code:Q.union([Q.string(),Q.number()]).nullish()})}),zQ=UV({errorSchema:HQ,errorToMessage:(V)=>V.error.message});function LV(V){let Y=V.startsWith("o3")||V.startsWith("o4-mini")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-chat"),J=V.startsWith("gpt-4")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-nano")&&!V.startsWith("gpt-5-chat")&&!V.startsWith("gpt-5.4-nano")||V.startsWith("o3")||V.startsWith("o4-mini"),G=V.startsWith("o1")||V.startsWith("o3")||V.startsWith("o4-mini")||V.startsWith("gpt-5")&&!V.startsWith("gpt-5-chat"),j=V.startsWith("gpt-5.1")||V.startsWith("gpt-5.2")||V.startsWith("gpt-5.3")||V.startsWith("gpt-5.4");return{supportsFlexProcessing:Y,supportsPriorityProcessing:J,isReasoningModel:G,systemMessageMode:G?"developer":"system",supportsNonReasoningParameters:j}}function cQ(V){var Y,J,G,j,E,P;if(V==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let $=(Y=V.prompt_tokens)!=null?Y:0,A=(J=V.completion_tokens)!=null?J:0,O=(j=(G=V.prompt_tokens_details)==null?void 0:G.cached_tokens)!=null?j:0,K=(P=(E=V.completion_tokens_details)==null?void 0:E.reasoning_tokens)!=null?P:0;return{inputTokens:{total:$,noCache:$-O,cacheRead:O,cacheWrite:void 0},outputTokens:{total:A,text:A-K,reasoning:K},raw:V}}function HV(V){return JSON.stringify(V===void 0?{}:V)}function MV({prompt:V,systemMessageMode:Y="system"}){var J;let G=[],j=[];for(let{role:E,content:P}of V)switch(E){case"system":{switch(Y){case"system":{G.push({role:"system",content:P});break}case"developer":{G.push({role:"developer",content:P});break}case"remove":{j.push({type:"other",message:"system messages are removed for this model"});break}default:throw Error(`Unsupported system message mode: ${Y}`)}break}case"user":{if(P.length===1&&P[0].type==="text"){G.push({role:"user",content:P[0].text});break}G.push({role:"user",content:P.map(($,A)=>{var O,K,Z;switch($.type){case"text":return{type:"text",text:$.text};case"file":if($.mediaType.startsWith("image/")){let q=$.mediaType==="image/*"?"image/jpeg":$.mediaType;return{type:"image_url",image_url:{url:$.data instanceof URL?$.data.toString():`data:${q};base64,${JQ($.data)}`,detail:(K=(O=$.providerOptions)==null?void 0:O.openai)==null?void 0:K.imageDetail}}}else if($.mediaType.startsWith("audio/")){if($.data instanceof URL)throw new YQ({functionality:"audio file parts with URLs"});switch($.mediaType){case"audio/wav":return{type:"input_audio",input_audio:{data:JQ($.data),format:"wav"}};case"audio/mp3":case"audio/mpeg":return{type:"input_audio",input_audio:{data:JQ($.data),format:"mp3"}};default:throw new YQ({functionality:`audio content parts with media type ${$.mediaType}`})}}else if($.mediaType==="application/pdf"){if($.data instanceof URL)throw new YQ({functionality:"PDF file parts with URLs"});return{type:"file",file:typeof $.data==="string"&&$.data.startsWith("file-")?{file_id:$.data}:{filename:(Z=$.filename)!=null?Z:`part-${A}.pdf`,file_data:`data:application/pdf;base64,${JQ($.data)}`}}}else throw new YQ({functionality:`file part media type ${$.mediaType}`})}})});break}case"assistant":{let $="",A=[];for(let O of P)switch(O.type){case"text":{$+=O.text;break}case"tool-call":{A.push({id:O.toolCallId,type:"function",function:{name:O.toolName,arguments:HV(O.input)}});break}}G.push({role:"assistant",content:$,tool_calls:A.length>0?A:void 0});break}case"tool":{for(let $ of P){if($.type==="tool-approval-response")continue;let A=$.output,O;switch(A.type){case"text":case"error-text":O=A.value;break;case"execution-denied":O=(J=A.reason)!=null?J:"Tool execution denied.";break;case"content":case"json":case"error-json":O=JSON.stringify(A.value);break}G.push({role:"tool",tool_call_id:$.toolCallId,content:O})}break}default:throw Error(`Unsupported role: ${E}`)}return{messages:G,warnings:j}}function LQ({id:V,model:Y,created:J}){return{id:V!=null?V:void 0,modelId:Y!=null?Y:void 0,timestamp:J?new Date(J*1000):void 0}}function vQ(V){switch(V){case"stop":return"stop";case"length":return"length";case"content_filter":return"content-filter";case"function_call":case"tool_calls":return"tool-calls";default:return"other"}}var bV=D(()=>F(Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({message:Q.object({role:Q.literal("assistant").nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({id:Q.string().nullish(),type:Q.literal("function"),function:Q.object({name:Q.string(),arguments:Q.string()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}),index:Q.number(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}))),yV=D(()=>F(Q.union([Q.object({id:Q.string().nullish(),created:Q.number().nullish(),model:Q.string().nullish(),choices:Q.array(Q.object({delta:Q.object({role:Q.enum(["assistant"]).nullish(),content:Q.string().nullish(),tool_calls:Q.array(Q.object({index:Q.number(),id:Q.string().nullish(),type:Q.literal("function").nullish(),function:Q.object({name:Q.string().nullish(),arguments:Q.string().nullish()})})).nullish(),annotations:Q.array(Q.object({type:Q.literal("url_citation"),url_citation:Q.object({start_index:Q.number(),end_index:Q.number(),url:Q.string(),title:Q.string()})})).nullish()}).nullish(),logprobs:Q.object({content:Q.array(Q.object({token:Q.string(),logprob:Q.number(),top_logprobs:Q.array(Q.object({token:Q.string(),logprob:Q.number()}))})).nullish()}).nullish(),finish_reason:Q.string().nullish(),index:Q.number()})),usage:Q.object({prompt_tokens:Q.number().nullish(),completion_tokens:Q.number().nullish(),total_tokens:Q.number().nullish(),prompt_tokens_details:Q.object({cached_tokens:Q.number().nullish()}).nullish(),completion_tokens_details:Q.object({reasoning_tokens:Q.number().nullish(),accepted_prediction_tokens:Q.number().nullish(),rejected_prediction_tokens:Q.number().nullish()}).nullish()}).nullish()}),HQ]))),RV=D(()=>F(Q.object({logitBias:Q.record(Q.coerce.number(),Q.number()).optional(),logprobs:Q.union([Q.boolean(),Q.number()]).optional(),parallelToolCalls:Q.boolean().optional(),user:Q.string().optional(),reasoningEffort:Q.enum(["none","minimal","low","medium","high","xhigh"]).optional(),maxCompletionTokens:Q.number().optional(),store:Q.boolean().optional(),metadata:Q.record(Q.string().max(64),Q.string().max(512)).optional(),prediction:Q.record(Q.string(),Q.any()).optional(),serviceTier:Q.enum(["auto","flex","priority","default"]).optional(),strictJsonSchema:Q.boolean().optional(),textVerbosity:Q.enum(["low","medium","high"]).optional(),promptCacheKey:Q.string().optional(),promptCacheRetention:Q.enum(["in_memory","24h"]).optional(),safetyIdentifier:Q.string().optional(),systemMessageMode:Q.enum(["system","developer","remove"]).optional(),forceReasoning:Q.boolean().optional()})));function kV({tools:V,toolChoice:Y}){V=(V==null?void 0:V.length)?V:void 0;let J=[];if(V==null)return{tools:void 0,toolChoice:void 0,toolWarnings:J};let G=[];for(let E of V)switch(E.type){case"function":G.push({type:"function",function:{name:E.name,description:E.description,parameters:E.inputSchema,...E.strict!=null?{strict:E.strict}:{}}});break;default:J.push({type:"unsupported",feature:`tool type: ${E.type}`});break}if(Y==null)return{tools:G,toolChoice:void 0,toolWarnings:J};let j=Y.type;switch(j){case"auto":case"none":case"required":return{tools:G,toolChoice:j,toolWarnings:J};case"tool":return{tools:G,toolChoice:{type:"function",function:{name:Y.toolName}},toolWarnings:J};default:throw new YQ({functionality:`tool choice type: ${j}`})}}var gV=class{constructor(V,Y){this.specificationVersion="v3",this.supportedUrls={"image/*":[/^https?:\/\/.*$/]},this.modelId=V,this.config=Y}get provider(){return this.config.provider}async getArgs({prompt:V,maxOutputTokens:Y,temperature:J,topP:G,topK:j,frequencyPenalty:E,presencePenalty:P,stopSequences:$,responseFormat:A,seed:O,tools:K,toolChoice:Z,providerOptions:q}){var x,f,y,w,M;let g=[],b=(x=await VQ({provider:"openai",providerOptions:q,schema:RV}))!=null?x:{},n=LV(this.modelId),i=(f=b.forceReasoning)!=null?f:n.isReasoningModel;if(j!=null)g.push({type:"unsupported",feature:"topK"});let{messages:p,warnings:m}=MV({prompt:V,systemMessageMode:(y=b.systemMessageMode)!=null?y:i?"developer":n.systemMessageMode});g.push(...m);let s=(w=b.strictJsonSchema)!=null?w:!0,X={model:this.modelId,logit_bias:b.logitBias,logprobs:b.logprobs===!0||typeof b.logprobs==="number"?!0:void 0,top_logprobs:typeof b.logprobs==="number"?b.logprobs:typeof b.logprobs==="boolean"?b.logprobs?0:void 0:void 0,user:b.user,parallel_tool_calls:b.parallelToolCalls,max_tokens:Y,temperature:J,top_p:G,frequency_penalty:E,presence_penalty:P,response_format:(A==null?void 0:A.type)==="json"?A.schema!=null?{type:"json_schema",json_schema:{schema:A.schema,strict:s,name:(M=A.name)!=null?M:"response",description:A.description}}:{type:"json_object"}:void 0,stop:$,seed:O,verbosity:b.textVerbosity,max_completion_tokens:b.maxCompletionTokens,store:b.store,metadata:b.metadata,prediction:b.prediction,reasoning_effort:b.reasoningEffort,service_tier:b.serviceTier,prompt_cache_key:b.promptCacheKey,prompt_cache_retention:b.promptCacheRetention,safety_identifier:b.safetyIdentifier,messages:p};if(i){if(b.reasoningEffort!=="none"||!n.supportsNonReasoningParameters){if(X.temperature!=null)X.temperature=void 0,g.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for reasoning models"});if(X.top_p!=null)X.top_p=void 0,g.push({type:"unsupported",feature:"topP",details:"topP is not supported for reasoning models"});if(X.logprobs!=null)X.logprobs=void 0,g.push({type:"other",message:"logprobs is not supported for reasoning models"})}if(X.frequency_penalty!=null)X.frequency_penalty=void 0,g.push({type:"unsupported",feature:"frequencyPenalty",details:"frequencyPenalty is not supported for reasoning models"});if(X.presence_penalty!=null)X.presence_penalty=void 0,g.push({type:"unsupported",feature:"presencePenalty",details:"presencePenalty is not supported for reasoning models"});if(X.logit_bias!=null)X.logit_bias=void 0,g.push({type:"other",message:"logitBias is not supported for reasoning models"});if(X.top_logprobs!=null)X.top_logprobs=void 0,g.push({type:"other",message:"topLogprobs is not supported for reasoning models"});if(X.max_tokens!=null){if(X.max_completion_tokens==null)X.max_completion_tokens=X.max_tokens;X.max_tokens=void 0}}else if(this.modelId.startsWith("gpt-4o-search-preview")||this.modelId.startsWith("gpt-4o-mini-search-preview")){if(X.temperature!=null)X.temperature=void 0,g.push({type:"unsupported",feature:"temperature",details:"temperature is not supported for the search preview models and has been removed."})}if(b.serviceTier==="flex"&&!n.supportsFlexProcessing)g.push({type:"unsupported",feature:"serviceTier",details:"flex processing is only available for o3, o4-mini, and gpt-5 models"}),X.service_tier=void 0;if(b.serviceTier==="priority"&&!n.supportsPriorityProcessing)g.push({type:"unsupported",feature:"serviceTier",details:"priority processing is only available for supported models (gpt-4, gpt-5, gpt-5-mini, o3, o4-mini) and requires Enterprise access. gpt-5-nano is not supported"}),X.service_tier=void 0;let{tools:u,toolChoice:I,toolWarnings:H}=kV({tools:K,toolChoice:Z});return{args:{...X,tools:u,tool_choice:I},warnings:[...g,...H]}}async doGenerate(V){var Y,J,G,j,E,P,$;let{args:A,warnings:O}=await this.getArgs(V),{responseHeaders:K,value:Z,rawValue:q}=await WQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),V.headers),body:A,failedResponseHandler:zQ,successfulResponseHandler:$Q(bV),abortSignal:V.abortSignal,fetch:this.config.fetch}),x=Z.choices[0],f=[],y=x.message.content;if(y!=null&&y.length>0)f.push({type:"text",text:y});for(let b of(Y=x.message.tool_calls)!=null?Y:[])f.push({type:"tool-call",toolCallId:(J=b.id)!=null?J:QQ(),toolName:b.function.name,input:b.function.arguments});for(let b of(G=x.message.annotations)!=null?G:[])f.push({type:"source",sourceType:"url",id:QQ(),url:b.url_citation.url,title:b.url_citation.title});let w=(j=Z.usage)==null?void 0:j.completion_tokens_details,M=(E=Z.usage)==null?void 0:E.prompt_tokens_details,g={openai:{}};if((w==null?void 0:w.accepted_prediction_tokens)!=null)g.openai.acceptedPredictionTokens=w==null?void 0:w.accepted_prediction_tokens;if((w==null?void 0:w.rejected_prediction_tokens)!=null)g.openai.rejectedPredictionTokens=w==null?void 0:w.rejected_prediction_tokens;if(((P=x.logprobs)==null?void 0:P.content)!=null)g.openai.logprobs=x.logprobs.content;return{content:f,finishReason:{unified:vQ(x.finish_reason),raw:($=x.finish_reason)!=null?$:void 0},usage:cQ(Z.usage),request:{body:A},response:{...LQ(Z),headers:K,body:q},warnings:O,providerMetadata:g}}async doStream(V){let{args:Y,warnings:J}=await this.getArgs(V),G={...Y,stream:!0,stream_options:{include_usage:!0}},{responseHeaders:j,value:E}=await WQ({url:this.config.url({path:"/chat/completions",modelId:this.modelId}),headers:l(this.config.headers(),V.headers),body:G,failedResponseHandler:zQ,successfulResponseHandler:BQ(yV),abortSignal:V.abortSignal,fetch:this.config.fetch}),P=[],$={unified:"other",raw:void 0},A=void 0,O=!1,K=!1,Z={openai:{}};return{stream:E.pipeThrough(new TransformStream({start(q){q.enqueue({type:"stream-start",warnings:J})},transform(q,x){var f,y,w,M,g,b,n,i,p,m,s,X,u,I,H,d,e;if(V.includeRawChunks)x.enqueue({type:"raw",rawValue:q.rawValue});if(!q.success){$={unified:"error",raw:void 0},x.enqueue({type:"error",error:q.error});return}let C=q.value;if("error"in C){$={unified:"error",raw:void 0},x.enqueue({type:"error",error:C.error});return}if(!O){let z=LQ(C);if(Object.values(z).some(Boolean))O=!0,x.enqueue({type:"response-metadata",...LQ(C)})}if(C.usage!=null){if(A=C.usage,((f=C.usage.completion_tokens_details)==null?void 0:f.accepted_prediction_tokens)!=null)Z.openai.acceptedPredictionTokens=(y=C.usage.completion_tokens_details)==null?void 0:y.accepted_prediction_tokens;if(((w=C.usage.completion_tokens_details)==null?void 0:w.rejected_prediction_tokens)!=null)Z.openai.rejectedPredictionTokens=(M=C.usage.completion_tokens_details)==null?void 0:M.rejected_prediction_tokens}let k=C.choices[0];if((k==null?void 0:k.finish_reason)!=null)$={unified:vQ(k.finish_reason),raw:k.finish_reason};if(((g=k==null?void 0:k.logprobs)==null?void 0:g.content)!=null)Z.openai.logprobs=k.logprobs.content;if((k==null?void 0:k.delta)==null)return;let L=k.delta;if(L.content!=null){if(!K)x.enqueue({type:"text-start",id:"0"}),K=!0;x.enqueue({type:"text-delta",id:"0",delta:L.content})}if(L.tool_calls!=null)for(let z of L.tool_calls){let T=z.index;if(P[T]==null){if(z.type!=null&&z.type!=="function")throw new AQ({data:z,message:"Expected 'function' type."});if(z.id==null)throw new AQ({data:z,message:"Expected 'id' to be a string."});if(((b=z.function)==null?void 0:b.name)==null)throw new AQ({data:z,message:"Expected 'function.name' to be a string."});x.enqueue({type:"tool-input-start",id:z.id,toolName:z.function.name}),P[T]={id:z.id,type:"function",function:{name:z.function.name,arguments:(n=z.function.arguments)!=null?n:""},hasFinished:!1};let B=P[T];if(((i=B.function)==null?void 0:i.name)!=null&&((p=B.function)==null?void 0:p.arguments)!=null){if(B.function.arguments.length>0)x.enqueue({type:"tool-input-delta",id:B.id,delta:B.function.arguments});if(qQ(B.function.arguments))x.enqueue({type:"tool-input-end",id:B.id}),x.enqueue({type:"tool-call",toolCallId:(m=B.id)!=null?m:QQ(),toolName:B.function.name,input:B.function.arguments}),B.hasFinished=!0}continue}let N=P[T];if(N.hasFinished)continue;if(((s=z.function)==null?void 0:s.arguments)!=null)N.function.arguments+=(u=(X=z.function)==null?void 0:X.arguments)!=null?u:"";if(x.enqueue({type:"tool-input-delta",id:N.id,delta:(I=z.function.arguments)!=null?I:""}),((H=N.function)==null?void 0:H.name)!=null&&((d=N.function)==null?void 0:d.arguments)!=null&&qQ(N.function.arguments))x.enqueue({type:"tool-input-end",id:N.id}),x.enqueue({type:"tool-call",toolCallId:(e=N.id)!=null?e:QQ(),toolName:N.function.name,input:N.function.arguments}),N.hasFinished=!0}if(L.annotations!=null)for(let z of L.annotations)x.enqueue({type:"source",sourceType:"url",id:QQ(),url:z.url_citation.url,title:z.url_citation.title})},flush(q){if(K)q.enqueue({type:"text-end",id:"0"});q.enqueue({type:"finish",finishReason:$,usage:cQ(A),...Z!=null?{providerMetadata:Z}:{}})}})),request:{body:G},response:{headers:j}}}};function nQ(V){var Y,J,G,j;if(V==null)return{inputTokens:{total:void 0,noCache:void 0,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:void 0,text:void 0,reasoning:void 0},raw:void 0};let E=(Y=V.prompt_tokens)!=null?Y:0,P=(J=V.completion_tokens)!=null?J:0;return{inputTokens:{total:(G=V.prompt_tokens)!=null?G:void 0,noCache:E,cacheRead:void 0,cacheWrite:void 0},outputTokens:{total:(j=V.completion_tokens)!=null?j:void 0,text:P,reasoning:void 0},raw:V}}function CV({prompt:V,user:Y="user",assistant:J="assistant"}){let G="";if(V[0].role==="system")G+=`${V[0].content}
|
|
3
3
|
|
|
4
4
|
`,V=V.slice(1);for(let{role:j,content:E}of V)switch(j){case"system":throw new $V({message:"Unexpected system message in prompt: ${content}",prompt:V});case"user":{let P=E.map(($)=>{switch($.type){case"text":return $.text}}).filter(Boolean).join("");G+=`${Y}:
|
|
5
5
|
${P}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Aj as
|
|
2
|
+
import{$i as g,Aj as H,Bj as I,Cj as J,Dj as K,Ej as L,Fj as M,Gj as N,Hj as O,Ij as P,Jj as Q,Kj as R,Vi as a,Wi as b,Xi as c,Yi as d,Zi as e,_i as f,aj as h,bj as i,cj as j,dj as k,ej as l,fj as m,gj as n,hj as o,ij as p,jj as q,kj as r,lj as s,mj as t,nj as u,oj as v,pj as w,qj as x,rj as y,sj as z,tj as A,uj as B,vj as C,wj as D,xj as E,yj as F,zj as G}from"./chunk-wev34grp.js";import"./chunk-ymtcm4xd.js";import"./chunk-4sazy0nq.js";export{Q as zodToJsonSchema,u as zodPatterns,g as setResponseValueAndErrors,O as selectParser,B as primitiveMappings,M as parseUnknownDef,C as parseUnionDef,L as parseUndefinedDef,K as parseTupleDef,v as parseStringDef,J as parseSetDef,w as parseRecordDef,N as parseReadonlyDef,I as parsePromiseDef,H as parsePipelineDef,G as parseOptionalDef,F as parseObjectDef,E as parseNumberDef,D as parseNullableDef,A as parseNullDef,z as parseNeverDef,y as parseNativeEnumDef,x as parseMapDef,t as parseLiteralDef,s as parseIntersectionDef,r as parseEnumDef,q as parseEffectsDef,p as parseDefaultDef,P as parseDef,o as parseDateDef,n as parseCatchDef,m as parseBrandedDef,l as parseBooleanDef,k as parseBigintDef,j as parseArrayDef,i as parseAnyDef,b as jsonDescription,a as ignoreOverride,h as getRelativePath,e as getRefs,d as getDefaultOptions,c as defaultOptions,R as default,f as addErrorMessage};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{g as
|
|
2
|
+
import{$u as L}from"./chunk-hnz570f9.js";import{$C as C,UI as M,yJ as F}from"./chunk-ydc6ypjt.js";var g=(q)=>(H)=>Object.assign(H,q(H));function k(){return(q,H)=>{class G{static make(J){return J}}return Object.setPrototypeOf(G,H),G}}var y=Symbol.for("effect-zod/override"),A=Symbol.for("effect-zod/preprocess"),B=new WeakMap,N={};function n(q){return V(q.ast)}function V(q){let H=B.get(q);if(H)return H;let G=D(q);return B.set(q,G),G}function D(q){let H=q.annotations?.[y];if(H)return H;let X=q.encoding?.length&&q._tag!=="Declaration"&&!(F.isOptional(q)&&_(q)!==void 0)?I(q):x(q),R=q.checks?.length?E(X,q.checks,q):X,Y=q.annotations?.[A],W=Y?L.preprocess(Y,R):R,U=F.resolveDescription(q),j=F.resolveIdentifier(q),Z=U?W.describe(U):W;return j?Z.meta({ref:j}):Z}function I(q){let H=q.encoding;return H.reduce((G,J)=>G.transform((X)=>P(J.transformation,X)),V(H[0].to))}function P(q,H){let G=M.runSyncExit(q.decode.run(C.some(H),N));if(G._tag==="Failure")throw Error(`effect-zod: transform failed: ${String(G.cause)}`);return C.getOrElse(G.value,()=>H)}function E(q,H,G){let J=[],X=(W)=>{if(W._tag==="FilterGroup")W.checks.forEach(X);else J.push(W)};H.forEach(X);let R=[],Y=J.reduce((W,U)=>{let j=O(W,U);if(j)return j;return R.push(U),W},q);if(R.length===0)return Y;return Y.superRefine((W,U)=>{for(let j of R){let Z=j.run(W,G,N);if(!Z)continue;let Q=b(Z)??j.annotations?.message??"Validation failed";U.addIssue({code:"custom",message:Q})}})}function O(q,H){let G=H.annotations?.meta;if(!G||typeof G._tag!=="string")return;switch(G._tag){case"isInt":return K(q,"int");case"isFinite":return K(q,"finite");case"isGreaterThan":return K(q,"gt",G.exclusiveMinimum);case"isGreaterThanOrEqualTo":return K(q,"gte",G.minimum);case"isLessThan":return K(q,"lt",G.exclusiveMaximum);case"isLessThanOrEqualTo":return K(q,"lte",G.maximum);case"isBetween":{let J=G.exclusiveMinimum?K(q,"gt",G.minimum):K(q,"gte",G.minimum);if(!J)return;return G.exclusiveMaximum?K(J,"lt",G.maximum):K(J,"lte",G.maximum)}case"isMultipleOf":return K(q,"multipleOf",G.divisor);case"isMinLength":return K(q,"min",G.minLength);case"isMaxLength":return K(q,"max",G.maxLength);case"isLengthBetween":{let J=K(q,"min",G.minimum);if(!J)return;return K(J,"max",G.maximum)}case"isPattern":return K(q,"regex",G.regExp);case"isStartsWith":return K(q,"startsWith",G.startsWith);case"isEndsWith":return K(q,"endsWith",G.endsWith);case"isIncludes":return K(q,"includes",G.includes);case"isUUID":return K(q,"uuid");case"isULID":return K(q,"ulid");case"isBase64":return K(q,"base64");case"isBase64Url":return K(q,"base64url")}return}function K(q,H,...G){let J=q[H];return typeof J==="function"?J.apply(q,G):void 0}function b(q){if(typeof q?.annotations?.message==="string")return q.annotations.message;if(typeof q?.message==="string")return q.message;return}function x(q){if(F.isOptional(q))return T(q);switch(q._tag){case"String":return L.string();case"Number":return L.number();case"Boolean":return L.boolean();case"Null":return L.null();case"Undefined":return L.undefined();case"Any":case"Unknown":return L.unknown();case"Never":return L.never();case"Literal":return L.literal(q.literal);case"Union":return v(q);case"Objects":return w(q);case"Arrays":return S(q);case"Declaration":return z(q);default:return $(q)}}function T(q){if(q._tag!=="Union")return $(q);let H=q.types.filter((X)=>X._tag!=="Undefined"),G=H.length===1?V(H[0]):H.length>1?L.union(H.map(V)):L.undefined(),J=_(q);if(J!==void 0)return G.default(J.value);return G.optional()}function _(q){let H=q.encoding;if(!H?.length)return;for(let G of H){let J=M.runSyncExit(G.transformation.decode.run(C.none(),{}));if(J._tag!=="Success")continue;if(C.isSome(J.value))return{value:J.value.value}}return}function v(q){if(q.types.length>=2&&q.types.every((J)=>J._tag==="Literal"&&typeof J.literal==="string"))return L.enum(q.types.map((J)=>J.literal));let H=q.types.map(V);if(H.length===1)return H[0];if(H.length<2)return $(q);let G=q.annotations?.discriminator;if(typeof G==="string")return L.discriminatedUnion(G,H);return L.union(H)}function w(q){if(q.propertySignatures.length===0&&q.indexSignatures.length===1){let G=q.indexSignatures[0];if(G.parameter._tag!=="String")return $(q);return L.record(L.string(),V(G.type))}if(q.indexSignatures.length===0)return L.object(Object.fromEntries(q.propertySignatures.map((G)=>[String(G.name),V(G.type)])));if(q.indexSignatures.length!==1)return $(q);let H=q.indexSignatures[0];if(H.parameter._tag!=="String")return $(q);return L.object(Object.fromEntries(q.propertySignatures.map((G)=>[String(G.name),V(G.type)]))).catchall(V(H.type))}function S(q){if(q.elements.length===0){if(q.rest.length!==1)return $(q);return L.array(V(q.rest[0]))}if(q.rest.length>0)return $(q);let H=q.elements.map(V);return L.tuple(H)}function z(q){if(q.typeParameters.length!==1)return $(q);return V(q.typeParameters[0])}function $(q){let H=F.resolveIdentifier(q);throw Error(`unsupported effect schema: ${H??q._tag}`)}
|
|
3
|
+
export{g as wp,k as xp,y as yp,A as zp,n as Ap};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{o as
|
|
2
|
+
import{Bu as n}from"./chunk-kmtfdky8.js";function s(e){let r=e?.password??n.QITQODE_SERVER_PASSWORD;if(!r)return;let t=e?.username??n.QITQODE_SERVER_USERNAME??"qitqode";return`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}function o(e){let r=s(e);if(!r)return;return{Authorization:r}}
|
|
3
|
+
export{o as N};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Rh as H}from"./chunk-pxx2hz0g.js";import{Yp as k,Zp as X,aq as O,bq as b,cq as F,fq as h,gq as C,rq as T}from"./chunk-xjhezxft.js";import w from"http";var B="/callback",U=[51737,51738],K=new Set;function _(f){return f.replace(/[&<>\"']/g,(y)=>{switch(y){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";default:return"'"}})}function z(f){return`http://127.0.0.1:${f}${B}`}async function S(f){return new Promise((y,N)=>{let J=w.createServer();J.listen(f,"127.0.0.1",()=>{J.close(()=>y(f))}),J.on("error",N)})}async function E(){for(let f of U){if(K.has(f))continue;K.add(f);try{return await S(f)}catch{K.delete(f)}}throw new X(`Could not bind to any loopback port (tried ${U.join(", ")}). Free one of those ports and retry.`)}function R(f,y,N,J){return new Promise((Q,x)=>{let V=()=>K.delete(f),m=w.createServer(($,Y)=>{try{let Z=new URL($.url??"/",`http://localhost:${f}`);if(Z.pathname!==B){Y.writeHead(404),Y.end();return}let W=Z.searchParams.get("code"),D=Z.searchParams.get("state"),M=Z.searchParams.get("error"),q=Z.searchParams.get("error_description");if(M){let L=`${_(M)}${q?": "+_(q):""}`;Y.writeHead(200,{"Content-Type":"text/html"}),Y.end(`<html><body style="font-family:sans-serif;padding:2rem"><h2>Authorization failed</h2><p>${L}</p><p>You can close this tab.</p></body></html>`),m.close(),x(new X(`Authorization error: ${M}${q?" \u2014 "+q:""}`));return}if(!W||D!==y){Y.writeHead(400),Y.end("Invalid request");return}Y.writeHead(200,{"Content-Type":"text/html"}),Y.end('<html><body style="font-family:sans-serif;padding:2rem"><h2>Signed in! You can close this tab.</h2><p>Return to your terminal to continue.</p></body></html>'),m.close(),Q({code:W})}catch(Z){m.close(),x(Z)}});if(N?.aborted){V(),x(new X("Login cancelled"));return}let G=()=>{V(),m.close(()=>x(new X("Login cancelled")))};if(N?.addEventListener("abort",G,{once:!0}),N?.aborted){G();return}m.listen(f,"127.0.0.1",()=>{V(),J?.()}),m.on("error",($)=>{V(),x($)})})}function I(f,y){return new Promise((N,J)=>{if(y?.aborted){J(new X("Login cancelled"));return}let Q,x=()=>{clearTimeout(Q),y?.removeEventListener("abort",x),J(new X("Login cancelled"))};if(Q=setTimeout(()=>{y?.removeEventListener("abort",x),N()},f),y?.addEventListener("abort",x,{once:!0}),y?.aborted)x()})}function j(f,y=300000){if(!f)return!1;return Date.now()>=f-y}async function A(f){if(f.method==="api-key")return T({});let{issuer:y}=await k();return T({issuer:y,accessToken:f.key})}var d=300000;async function P(){let{issuer:f,clientId:y}=await k(),{verifier:N,challenge:J,state:Q}=O(),x=await E(),V=z(x),m=b({issuer:f,clientId:y,redirectUri:V,challenge:J,state:Q});return{issuer:f,clientId:y,verifier:N,port:x,redirectUri:V,authorizeStr:m,state:Q}}async function p(f){let{issuer:y,clientId:N}=await k(),{deviceCode:J,info:Q,intervalMs:x}=await h({issuer:y,clientId:N,signal:f.signal});if(f.onCode(Q),f.tryOpen){let m=Q.verificationUriComplete??Q.verificationUri;H(m)}let V=x;while(Date.now()<Q.expiresAt){await I(V,f.signal);let m=await C({issuer:y,clientId:N,deviceCode:J,currentIntervalMs:V,signal:f.signal});if(m.kind==="success")return m.profile;V=m.intervalMs}throw new X("The sign-in code expired before it was approved. Try again.")}async function g(){let{issuer:f,clientId:y,verifier:N,port:J,redirectUri:Q,authorizeStr:x,state:V}=await P();process.stdout.write(`
|
|
3
|
+
`),process.stdout.write(` Opening Forgewise sign-in in your browser...
|
|
4
|
+
`),process.stdout.write(" Sign-in URL: "+x+`
|
|
5
|
+
`),process.stdout.write(`
|
|
6
|
+
`),process.stdout.write(` Waiting for the browser to complete sign-in... (ctrl+c to cancel)
|
|
7
|
+
`);let{code:m}=await R(J,V,void 0,()=>{H(x)});return process.stdout.write(`
|
|
8
|
+
Exchanging authorization code...
|
|
9
|
+
`),F({issuer:f,clientId:y,code:m,redirectUri:Q,verifier:N})}async function v(f={}){if(f.signal?.aborted)throw new X("Login cancelled");let{issuer:y,clientId:N,verifier:J,port:Q,redirectUri:x,authorizeStr:V,state:m}=await P(),G=()=>{if(f.onUrl?.(V),f.tryOpen!==!1)H(V)},$=new AbortController,Y=()=>$.abort();f.signal?.addEventListener("abort",Y,{once:!0});let Z=!1,W=setTimeout(()=>{Z=!0,$.abort()},d);try{let{code:D}=await R(Q,m,$.signal,G);return await F({issuer:y,clientId:N,code:D,redirectUri:x,verifier:J,signal:$.signal})}catch(D){if(Z)throw new X("Sign-in timed out. Run login again to retry.");throw D}finally{clearTimeout(W),f.signal?.removeEventListener("abort",Y)}}export{z as pg,j as qg,A as rg,p as sg,g as tg,v as ug};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
3
|
-
export{l as
|
|
2
|
+
import{Kt as i}from"./chunk-p8kpqyxb.js";import{_u as o}from"./chunk-vc4e6xc4.js";import{gQ as c}from"./chunk-4sazy0nq.js";var e=c(i(),1);import p from"path";function l(n,t){let r=t?.PATH??t?.Path??process.env.PATH??process.env.Path??"",h=r?r+p.delimiter+o.Path.bin:o.Path.bin,s=e.default.sync(n,{nothrow:!0,path:h,pathExt:t?.PATHEXT??t?.PathExt??process.env.PATHEXT??process.env.PathExt});return typeof s==="string"?s:null}
|
|
3
|
+
export{l as Cp};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-4sazy0nq.js";var e={"ui.sessionReview.title":"Modifications de la session","ui.sessionReview.title.lastTurn":"Modifications du dernier tour","ui.sessionReview.diffStyle.unified":"Unifi\xE9","ui.sessionReview.diffStyle.split":"Divis\xE9","ui.sessionReview.openFile":"Ouvrir le fichier","ui.sessionReview.selection.line":"ligne {{line}}","ui.sessionReview.selection.lines":"lignes {{start}}-{{end}}","ui.sessionReview.expandAll":"Tout d\xE9velopper","ui.sessionReview.collapseAll":"Tout r\xE9duire","ui.sessionReview.change.added":"Ajout\xE9","ui.sessionReview.change.removed":"Supprim\xE9","ui.sessionReview.change.modified":"Modifi\xE9","ui.sessionReview.image.loading":"Chargement...","ui.sessionReview.image.placeholder":"Image","ui.sessionReview.largeDiff.title":"Diff trop volumineux pour \xEAtre affich\xE9","ui.sessionReview.largeDiff.meta":"Limite : {{limit}} lignes modifi\xE9es. Actuel : {{current}} lignes modifi\xE9es.","ui.sessionReview.largeDiff.renderAnyway":"Afficher quand m\xEAme","ui.fileMedia.kind.image":"image","ui.fileMedia.kind.audio":"audio","ui.fileMedia.state.removed":"Fichier {{kind}} supprim\xE9","ui.fileMedia.state.loading":"Chargement du fichier {{kind}}","ui.fileMedia.state.error":"Erreur avec le fichier {{kind}}","ui.fileMedia.state.unavailable":"Fichier {{kind}} indisponible","ui.fileMedia.binary.title":"Fichier binaire","ui.fileMedia.binary.description.path":"Impossible d'afficher {{path}} car il s'agit d'un fichier binaire.","ui.fileMedia.binary.description.default":"Impossible d'afficher ce fichier car il s'agit d'un fichier binaire.","ui.lineComment.label.prefix":"Commenter sur ","ui.lineComment.label.suffix":"","ui.lineComment.editorLabel.prefix":"Commentaire sur ","ui.lineComment.editorLabel.suffix":"","ui.lineComment.placeholder":"Ajouter un commentaire","ui.lineComment.submit":"Commenter","ui.sessionTurn.steps.show":"Afficher les \xE9tapes","ui.sessionTurn.steps.hide":"Masquer les \xE9tapes","ui.sessionTurn.summary.response":"R\xE9ponse","ui.sessionTurn.diff.showMore":"Afficher plus de modifications ({{count}})","ui.sessionTurn.retry.retrying":"nouvelle tentative","ui.sessionTurn.retry.inSeconds":"dans {{seconds}}s","ui.sessionTurn.retry.attempt":"tentative n\xB0{{attempt}}","ui.sessionTurn.retry.attemptLine":"{{line}} - tentative n\xB0{{attempt}}","ui.sessionTurn.retry.geminiHot":"gemini est en surchauffe","ui.sessionTurn.error.freeUsageExceeded":"Limite d'utilisation gratuite d\xE9pass\xE9e","ui.sessionTurn.error.addQredits":"Ajouter des cr\xE9dits","ui.sessionTurn.status.delegating":"D\xE9l\xE9gation du travail","ui.sessionTurn.status.planning":"Planification des prochaines \xE9tapes","ui.sessionTurn.status.gatheringContext":"Exploration","ui.sessionTurn.status.gatheredContext":"Explor\xE9","ui.sessionTurn.status.searchingCodebase":"Recherche dans la base de code","ui.sessionTurn.status.searchingWeb":"Recherche sur le web","ui.sessionTurn.status.makingEdits":"Application des modifications","ui.sessionTurn.status.runningCommands":"Ex\xE9cution des commandes","ui.sessionTurn.status.thinking":"R\xE9flexion","ui.sessionTurn.status.thinkingWithTopic":"R\xE9flexion - {{topic}}","ui.sessionTurn.status.gatheringThoughts":"Rassemblement des id\xE9es","ui.sessionTurn.status.consideringNextSteps":"Examen des prochaines \xE9tapes","ui.messagePart.questions.dismissed":"Questions ignor\xE9es","ui.messagePart.compaction":"Session compact\xE9e","ui.messagePart.context.read.one":"{{count}} lecture","ui.messagePart.context.read.other":"{{count}} lectures","ui.messagePart.context.search.one":"{{count}} recherche","ui.messagePart.context.search.other":"{{count}} recherches","ui.messagePart.context.list.one":"{{count}} liste","ui.messagePart.context.list.other":"{{count}} listes","ui.messagePart.diagnostic.error":"Erreur","ui.messagePart.title.edit":"Modifier","ui.messagePart.title.write":"\xC9crire","ui.messagePart.option.typeOwnAnswer":"Tapez votre propre r\xE9ponse","ui.messagePart.review.title":"Passez en revue vos r\xE9ponses","ui.list.loading":"Chargement","ui.list.empty":"Aucun r\xE9sultat","ui.list.clearFilter":"Effacer le filtre","ui.list.emptyWithFilter.prefix":"Aucun r\xE9sultat pour","ui.list.emptyWithFilter.suffix":"","ui.messageNav.newMessage":"Nouveau message","ui.textField.copyToClipboard":"Copier dans le presse-papiers","ui.textField.copyLink":"Copier le lien","ui.textField.copied":"Copi\xE9","ui.imagePreview.alt":"Aper\xE7u de l'image","ui.scrollView.ariaLabel":"contenu d\xE9filable","ui.tool.read":"Lire","ui.tool.loaded":"Charg\xE9","ui.tool.list":"Lister","ui.tool.glob":"Glob","ui.tool.grep":"Grep","ui.tool.webfetch":"Webfetch","ui.tool.websearch":"Recherche Web","ui.tool.codesearch":"Recherche de code","ui.tool.shell":"Shell","ui.tool.patch":"Patch","ui.tool.todos":"T\xE2ches","ui.tool.todos.read":"Lire les t\xE2ches","ui.tool.questions":"Questions","ui.tool.agent":"Agent {{type}}","ui.tool.agent.default":"Agent","ui.common.file.one":"fichier","ui.common.file.other":"fichiers","ui.common.question.one":"question","ui.common.question.other":"questions","ui.common.add":"Ajouter","ui.common.back":"Retour","ui.common.cancel":"Annuler","ui.common.confirm":"Confirmer","ui.common.dismiss":"Ignorer","ui.common.close":"Fermer","ui.common.next":"Suivant","ui.common.submit":"Soumettre","ui.permission.deny":"Refuser","ui.permission.allowAlways":"Toujours autoriser","ui.permission.allowOnce":"Autoriser une fois","ui.message.expand":"D\xE9velopper le message","ui.message.collapse":"R\xE9duire le message","ui.message.copy":"Copier","ui.message.copyMessage":"Copier le message","ui.message.forkMessage":"Bifurquer vers une nouvelle session","ui.message.revertMessage":"R\xE9initialiser \xE0 ce point","ui.message.copyResponse":"Copier la r\xE9ponse","ui.message.copied":"Copi\xE9 !","ui.message.interrupted":"Interrompu","ui.message.queued":"En file","ui.message.attachment.alt":"pi\xE8ce jointe","ui.patch.action.deleted":"Supprim\xE9","ui.patch.action.created":"Cr\xE9\xE9","ui.patch.action.moved":"D\xE9plac\xE9","ui.patch.action.patched":"Corrig\xE9","ui.question.subtitle.answered":"{{count}} r\xE9pondu(s)","ui.question.answer.none":"(pas de r\xE9ponse)","ui.question.review.notAnswered":"(non r\xE9pondu)","ui.question.multiHint":"S\xE9lectionnez tout ce qui s'applique","ui.question.singleHint":"S\xE9lectionnez une r\xE9ponse","ui.question.custom.placeholder":"Tapez votre r\xE9ponse...","ui.fileSearch.placeholder":"Rechercher","ui.fileSearch.previousMatch":"Pr\xE9c\xE9dent","ui.fileSearch.nextMatch":"Suivant","ui.fileSearch.close":"Fermer la recherche","ui.tool.task":"T\xE2che","ui.tool.skill":"Comp\xE9tence","ui.basicTool.called":"Appel\xE9 `{{tool}}`","ui.toolErrorCard.failed":"\xC9chou\xE9","ui.toolErrorCard.copyError":"Copier l'erreur","ui.message.duration.seconds":"{{count}}s","ui.message.duration.minutesSeconds":"{{minutes}}m {{seconds}}s"};export{e as dict};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-bzgj60w4.js";import"./chunk-3k2b05fv.js";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":'\u554F\u9EDE\u4EC0\u9EBC\u2026\u2026 "{{example}}"',"tui.prompt.placeholder.shell":'\u57F7\u884C\u6307\u4EE4\u2026\u2026 "{{example}}"',"tui.prompt.ghost":"{{prediction}} (\u6309 Tab \u63A1\u7D0D)","tui.home.placeholder.example.todo":"\u4FEE\u5FA9\u7A0B\u5F0F\u78BC\u5EAB\u4E2D\u7684 TODO","tui.home.placeholder.example.stack":"\u9019\u500B\u5C08\u6848\u7528\u4E86\u4EC0\u9EBC\u6280\u8853\u68E7\uFF1F","tui.home.placeholder.example.tests":"\u4FEE\u5FA9\u5931\u6557\u7684\u6E2C\u8A66","tui.home.agreement.prefix":"\u4F7F\u7528 QitQode \u5373\u8868\u793A\u4F60\u540C\u610F\u6211\u5011\u7684","tui.home.agreement.terms":"\u670D\u52D9\u5354\u8B70","tui.home.agreement.separator":"\u548C","tui.home.agreement.privacy":"\u96B1\u79C1\u653F\u7B56","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u65B0\u589E\u6A94\u6848","tui.prompt.hint.subagent":"\u5B50\u667A\u80FD\u9AD4","tui.prompt.hint.commands":"\u559A\u8D77\u547D\u4EE4","tui.prompt.hint.switch_mode":"\u5207\u63DB\u6A21\u5F0F","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u63D0\u793A","tui.tips.plain_terminal":"\u5EFA\u8B70\u4F7F\u7528 iTerm \u6216 VS Code \u7D42\u7AEF\u6A5F","tui.tips.attach_file":"\u8F38\u5165 {highlight}@{/highlight} \u5F8C\u63A5\u6A94\u6848\u540D\u7A31\u4EE5\u6A21\u7CCA\u641C\u5C0B\u4E26\u9644\u52A0\u6A94\u6848","tui.tips.shell_prefix":"\u4EE5 {highlight}!{/highlight} \u958B\u982D\u53EF\u76F4\u63A5\u57F7\u884C shell \u6307\u4EE4\uFF08\u4F8B\u5982 {highlight}!ls -la{/highlight}\uFF09","tui.tips.tab_agent":"\u6309 {highlight}Tab{/highlight} \u6216 {highlight}Shift+Tab{/highlight} \u5728 Build / Plan / Compose \u667A\u6167\u4EE3\u7406\u4E4B\u9593\u5207\u63DB","tui.tips.theme_mode":"\u57F7\u884C {highlight}/dark{/highlight} \u5207\u63DB\u6DF1\u8272\u6A21\u5F0F\uFF0C{highlight}/light{/highlight} \u5207\u63DB\u6DFA\u8272\u6A21\u5F0F","tui.tips.doc":"\u57F7\u884C {highlight}/doc{/highlight} \u958B\u555F\u4F7F\u7528\u6587\u4EF6","tui.tips.undo":"\u4F7F\u7528 {highlight}/undo{/highlight} \u5FA9\u539F\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u53CA\u5176\u6A94\u6848\u8B8A\u66F4","tui.tips.redo":"\u4F7F\u7528 {highlight}/redo{/highlight} \u9084\u539F\u5148\u524D\u5FA9\u539F\u7684\u8A0A\u606F\u8207\u6A94\u6848\u8B8A\u66F4","tui.tips.drag_drop":"\u628A\u5716\u7247\u6216 PDF \u62D6\u5165\u7D42\u7AEF\u6A5F\u53EF\u4F5C\u70BA\u4E0A\u4E0B\u6587\u52A0\u5165","tui.tips.paste_image":"\u6309 {highlight}Ctrl+V{/highlight} \u628A\u526A\u8CBC\u7C3F\u4E2D\u7684\u5716\u7247\u8CBC\u5230\u8F38\u5165\u6846","tui.tips.editor":"\u6309 {highlight}Ctrl+X E{/highlight} \u6216 {highlight}/editor{/highlight} \u5728\u5916\u90E8\u7DE8\u8F2F\u5668\u4E2D\u7DE8\u8F2F\u8A0A\u606F","tui.tips.init":"\u57F7\u884C {highlight}/init{/highlight} \u6839\u64DA\u4F60\u7684\u7A0B\u5F0F\u78BC\u5EAB\u81EA\u52D5\u7522\u751F\u5C08\u6848\u898F\u5247","tui.tips.models":"\u57F7\u884C {highlight}/models{/highlight} \u6216 {highlight}Ctrl+X M{/highlight} \u5207\u63DB\u6A21\u578B","tui.tips.theme":'\u5728\u6307\u4EE4\u9762\u677F\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u4E2D\u641C\u5C0B "lock" \u53EF\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F\uFF0C\u4F7F\u5176\u4E0D\u96A8\u7D42\u7AEF\u6A5F\u80CC\u666F\u8B8A\u5316',"tui.tips.new_session":"\u6309 {highlight}Ctrl+X N{/highlight} \u6216 {highlight}/new{/highlight} \u958B\u555F\u5168\u65B0\u5DE5\u4F5C\u968E\u6BB5","tui.tips.sessions":"\u4F7F\u7528 {highlight}/sessions{/highlight} \u6216 {highlight}Ctrl+X L{/highlight} \u5217\u51FA\u4E26\u7E7C\u7E8C\u5148\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.compact":"\u57F7\u884C {highlight}/compact{/highlight} \u5728\u63A5\u8FD1\u4E0A\u4E0B\u6587\u4E0A\u9650\u6642\u58D3\u7E2E\u9577\u5C0D\u8A71","tui.tips.export":"\u6309 {highlight}Ctrl+X X{/highlight} \u6216 {highlight}/export{/highlight} \u628A\u5C0D\u8A71\u5132\u5B58\u70BA Markdown","tui.tips.copy_last":"\u6309 {highlight}Ctrl+X Y{/highlight} \u5C07\u52A9\u7406\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.tips.command_palette":"\u6309 {highlight}Ctrl+P{/highlight} \u6AA2\u8996\u6240\u6709\u53EF\u7528\u52D5\u4F5C\u8207\u6307\u4EE4","tui.tips.leader":"\u524D\u5C0E\u9375\u662F {highlight}Ctrl+X{/highlight}\uFF0C\u642D\u914D\u5176\u4ED6\u6309\u9375\u53EF\u5FEB\u901F\u89F8\u767C\u52D5\u4F5C","tui.tips.f2":"\u6309 {highlight}F2{/highlight} \u5728\u6700\u8FD1\u4F7F\u7528\u7684\u6A21\u578B\u4E4B\u9593\u5FEB\u901F\u5207\u63DB","tui.tips.sidebar":"\u6309 {highlight}Ctrl+X B{/highlight} \u986F\u793A\uFF0F\u96B1\u85CF\u5074\u908A\u6B04","tui.tips.history":"\u7528 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u700F\u89BD\u5DE5\u4F5C\u968E\u6BB5\u6B77\u53F2","tui.tips.jump_first":"\u6309 {highlight}Ctrl+G{/highlight} \u6216 {highlight}Home{/highlight} \u8DF3\u5230\u5DE5\u4F5C\u968E\u6BB5\u958B\u982D","tui.tips.jump_last":"\u6309 {highlight}Ctrl+Alt+G{/highlight} \u6216 {highlight}End{/highlight} \u8DF3\u5230\u6700\u65B0\u8A0A\u606F","tui.tips.newline":"\u6309 {highlight}Shift+Enter{/highlight} \u6216 {highlight}Ctrl+J{/highlight} \u5728\u8F38\u5165\u6846\u63DB\u884C","tui.tips.clear_input":"\u8F38\u5165\u6642\u6309 {highlight}Ctrl+C{/highlight} \u6E05\u7A7A\u8F38\u5165\u6846","tui.tips.escape":"\u6309 {highlight}Escape{/highlight} \u5728\u56DE\u61C9\u4E2D\u9014\u4E2D\u65B7 AI","tui.tips.plan_agent":"\u5207\u63DB\u5230 {highlight}Plan{/highlight} \u667A\u6167\u4EE3\u7406\u4EE5\u53D6\u5F97\u5EFA\u8B70\u800C\u4E0D\u5BE6\u969B\u8B8A\u66F4","tui.tips.subagent":"\u5728\u63D0\u793A\u8A5E\u4E2D\u4F7F\u7528 {highlight}@agent-name{/highlight} \u547C\u53EB\u5C08\u7528\u5B50\u4EE3\u7406","tui.tips.cycle_sessions":"\u6309 {highlight}Ctrl+X Right/Left{/highlight} \u5728\u7236\u5B50\u5DE5\u4F5C\u968E\u6BB5\u4E4B\u9593\u5207\u63DB","tui.tips.config_files":"\u5EFA\u7ACB {highlight}qitqode.json{/highlight} \u7528\u65BC\u4F3A\u670D\u5668\u7AEF\u8A2D\u5B9A\uFF0C{highlight}tui.json{/highlight} \u7528\u65BC TUI \u8A2D\u5B9A","tui.tips.global_config":"\u628A TUI \u8A2D\u5B9A\u653E\u5728 {highlight}~/.config/qitqode/tui.json{/highlight} \u4F5C\u70BA\u5168\u57DF\u8A2D\u5B9A","tui.tips.schema":"\u5728\u8A2D\u5B9A\u4E2D\u52A0\u5165 {highlight}$schema{/highlight} \u4EE5\u4FBF\u7DE8\u8F2F\u5668\u81EA\u52D5\u5B8C\u6210","tui.tips.default_model":"\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}model{/highlight} \u4F86\u6307\u5B9A\u9810\u8A2D\u6A21\u578B","tui.tips.keybinds":"\u900F\u904E {highlight}tui.json{/highlight} \u7684 {highlight}keybinds{/highlight} \u5340\u6BB5\u8986\u5BEB\u4EFB\u610F\u6309\u9375","tui.tips.disable_keybind":"\u628A\u4EFB\u610F\u6309\u9375\u8A2D\u70BA {highlight}none{/highlight} \u5373\u53EF\u5B8C\u5168\u505C\u7528\u5B83","tui.tips.mcp_config":"\u5728 {highlight}mcp{/highlight} \u8A2D\u5B9A\u9805\u4E2D\u8A2D\u5B9A\u672C\u6A5F\u6216\u9060\u7AEF MCP \u4F3A\u670D\u5668","tui.tips.mcp_oauth":"QitQode \u81EA\u52D5\u8655\u7406\u9700\u8981\u9A57\u8B49\u7684\u9060\u7AEF MCP \u4F3A\u670D\u5668\u7684 OAuth","tui.tips.custom_command":"\u5728 {highlight}.qitqode/command/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4EE5\u5B9A\u7FA9\u53EF\u91CD\u7528\u81EA\u8A02\u63D0\u793A","tui.tips.command_args":"\u5728\u81EA\u8A02\u6307\u4EE4\u4E2D\u4F7F\u7528 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u63A5\u6536\u52D5\u614B\u53C3\u6578","tui.tips.command_backticks":"\u5728\u6307\u4EE4\u4E2D\u4F7F\u7528\u53CD\u5F15\u865F\u6CE8\u5165 shell \u8F38\u51FA\uFF08\u4F8B\u5982 {highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"\u5728 {highlight}.qitqode/agent/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4F86\u5EFA\u7ACB\u5C08\u7528 AI \u89D2\u8272","tui.tips.agent_perms":"\u70BA\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u55AE\u7368\u8A2D\u5B9A {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u5DE5\u5177\u6B0A\u9650","tui.tips.bash_allow":'\u4F7F\u7528 {highlight}"git *": "allow"{/highlight} \u9019\u985E\u6A21\u5F0F\u505A\u7CBE\u7D30 bash \u6B0A\u9650',"tui.tips.bash_deny":'\u8A2D\u5B9A {highlight}"rm -rf *": "deny"{/highlight} \u963B\u64CB\u7834\u58DE\u6027\u6307\u4EE4',"tui.tips.bash_ask":'\u8A2D\u5B9A {highlight}"git push": "ask"{/highlight} \u5728\u63A8\u9001\u524D\u8981\u6C42\u78BA\u8A8D',"tui.tips.formatter":"QitQode \u81EA\u52D5\u4F7F\u7528 prettier\u3001gofmt\u3001ruff \u7B49\u683C\u5F0F\u5316\u6A94\u6848","tui.tips.disable_formatter":'\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}"formatter": false{/highlight} \u95DC\u9589\u6240\u6709\u81EA\u52D5\u683C\u5F0F\u5316',"tui.tips.custom_formatter":"\u5728\u8A2D\u5B9A\u4E2D\u4F9D\u6A94\u6848\u526F\u6A94\u540D\u5B9A\u7FA9\u81EA\u8A02\u683C\u5F0F\u5316\u6307\u4EE4","tui.tips.lsp":"QitQode \u4F7F\u7528 LSP \u4F3A\u670D\u5668\u9032\u884C\u667A\u6167\u7A0B\u5F0F\u78BC\u5206\u6790","tui.tips.custom_tool":"\u5728 {highlight}.qitqode/tools/{/highlight} \u5EFA\u7ACB {highlight}.ts{/highlight} \u6A94\u6848\u5B9A\u7FA9\u65B0\u7684 LLM \u5DE5\u5177","tui.tips.tool_scripts":"\u5DE5\u5177\u5B9A\u7FA9\u53EF\u547C\u53EB Python\u3001Go \u7B49\u6307\u4EE4\u7A3F","tui.tips.plugins":"\u5728 {highlight}.qitqode/plugin/{/highlight} \u52A0\u5165 {highlight}.ts{/highlight} \u6A94\u6848\u639B\u8F09\u4E8B\u4EF6\u52FE\u9EDE","tui.tips.plugin_notify":"\u7528\u5916\u639B\u5728\u5DE5\u4F5C\u968E\u6BB5\u5B8C\u6210\u6642\u50B3\u9001\u7CFB\u7D71\u901A\u77E5","tui.tips.plugin_protect":"\u64B0\u5BEB\u4E00\u500B\u5916\u639B\u963B\u6B62 QitQode \u8B80\u53D6\u654F\u611F\u6A94\u6848","tui.tips.run":"\u7528 {highlight}qitqode run{/highlight} \u9032\u884C\u975E\u4E92\u52D5\u5F0F\u6307\u4EE4\u7A3F\u547C\u53EB","tui.tips.continue":"\u7528 {highlight}qitqode --continue{/highlight} \u7E7C\u7E8C\u4E0A\u4E00\u500B\u5DE5\u4F5C\u968E\u6BB5","tui.tips.attach_cli":"\u7528 {highlight}qitqode run -f file.ts{/highlight} \u900F\u904E\u547D\u4EE4\u5217\u9644\u52A0\u6A94\u6848","tui.tips.format_json":"\u7528 {highlight}--format json{/highlight} \u5728\u6307\u4EE4\u7A3F\u4E2D\u53D6\u5F97\u6A5F\u5668\u53EF\u8B80\u8F38\u51FA","tui.tips.auth_list":"\u57F7\u884C {highlight}qitqode auth status{/highlight} \u6AA2\u8996\u76EE\u524D\u7684\u767B\u5165\u72C0\u614B","tui.tips.agent_create":"\u57F7\u884C {highlight}qitqode agent create{/highlight} \u5F15\u5C0E\u5F0F\u5EFA\u7ACB\u667A\u6167\u4EE3\u7406","tui.tips.theme_system":'\u4F7F\u7528 {highlight}"theme": "system"{/highlight} \u8DDF\u96A8\u7D42\u7AEF\u6A5F\u914D\u8272',"tui.tips.theme_files":"\u5728 {highlight}.qitqode/themes/{/highlight} \u76EE\u9304\u4E0B\u5EFA\u7ACB JSON \u4E3B\u984C\u6A94\u6848","tui.tips.theme_variants":"\u4E3B\u984C\u652F\u63F4\u6DF1\u8272\uFF0F\u6DFA\u8272\u96D9\u6A21\u5F0F\u8B8A\u9AD4","tui.tips.theme_ansi":"\u81EA\u8A02\u4E3B\u984C\u4E2D\u53EF\u53C3\u7167 ANSI 0-255 \u8272\u865F","tui.tips.env_var":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}{env:VAR_NAME}{/highlight} \u8A9E\u6CD5\u53C3\u7167\u74B0\u5883\u8B8A\u6578","tui.tips.file_var":"\u7528 {highlight}{file:path}{/highlight} \u5728\u8A2D\u5B9A\u503C\u4E2D\u5D4C\u5165\u6A94\u6848\u5167\u5BB9","tui.tips.instructions":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}instructions{/highlight} \u8F09\u5165\u984D\u5916\u7684\u898F\u5247\u6A94\u6848","tui.tips.temperature":"\u628A\u667A\u6167\u4EE3\u7406\u7684 {highlight}temperature{/highlight} \u5F9E 0.0\uFF08\u5C08\u6CE8\uFF09\u8ABF\u5230 1.0\uFF08\u5275\u9020\uFF09","tui.tips.steps":"\u8A2D\u5B9A {highlight}steps{/highlight} \u9650\u5236\u6BCF\u6B21\u8ACB\u6C42\u7684\u4EE3\u7406\u8FED\u4EE3\u6B21\u6578","tui.tips.disable_tool":'\u8A2D\u5B9A {highlight}"tools": {"bash": false}{/highlight} \u505C\u7528\u7279\u5B9A\u5DE5\u5177',"tui.tips.disable_mcp_tools":'\u8A2D\u5B9A {highlight}"mcp_*": false{/highlight} \u505C\u7528\u67D0\u500B MCP \u4F3A\u670D\u5668\u7684\u6240\u6709\u5DE5\u5177',"tui.tips.tool_override":"\u5728\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u8A2D\u5B9A\u4E2D\u8986\u5BEB\u5168\u57DF\u5DE5\u5177\u8A2D\u5B9A","tui.tips.doom_loop":"\u6B0A\u9650 {highlight}doom_loop{/highlight} \u9632\u6B62\u5DE5\u5177\u547C\u53EB\u9677\u5165\u7121\u7AAE\u8FF4\u5708","tui.tips.external_dir":"\u6B0A\u9650 {highlight}external_directory{/highlight} \u4FDD\u8B77\u5C08\u6848\u5916\u90E8\u7684\u6A94\u6848","tui.tips.debug_config":"\u57F7\u884C {highlight}qitqode debug config{/highlight} \u6392\u67E5\u8A2D\u5B9A\u554F\u984C","tui.tips.print_logs":"\u4F7F\u7528 {highlight}--print-logs{/highlight} \u65D7\u6A19\u5728 stderr \u8F38\u51FA\u8A73\u7D30\u8A18\u9304","tui.tips.timeline":"\u6309 {highlight}Ctrl+X G{/highlight} \u6216 {highlight}/timeline{/highlight} \u8DF3\u5230\u6307\u5B9A\u8A0A\u606F","tui.tips.toggle_code":"\u6309 {highlight}Ctrl+X H{/highlight} \u5207\u63DB\u8A0A\u606F\u4E2D\u7A0B\u5F0F\u78BC\u5340\u584A\u7684\u986F\u793A","tui.tips.status":"\u6309 {highlight}Ctrl+X S{/highlight} \u6216 {highlight}/status{/highlight} \u6AA2\u8996\u7CFB\u7D71\u72C0\u614B","tui.tips.scroll_accel":"\u5728 {highlight}tui.json{/highlight} \u4E2D\u555F\u7528 {highlight}scroll_acceleration{/highlight} \u4EAB\u53D7\u5E73\u6ED1\u6372\u52D5","tui.tips.agents_md":"\u628A\u5C08\u6848\u4E2D\u7684 {highlight}AGENTS.md{/highlight} \u63D0\u4EA4\u5230 Git \u8207\u5718\u968A\u5171\u4EAB","tui.tips.review":"\u7528 {highlight}/review{/highlight} \u5BE9\u95B1\u672A\u63D0\u4EA4\u8B8A\u66F4\u3001\u5206\u652F\u6216 PR","tui.tips.help":"\u57F7\u884C {highlight}/help{/highlight} \u6216 {highlight}Ctrl+X H{/highlight} \u986F\u793A\u8AAA\u660E\u5C0D\u8A71\u6846","tui.tips.rename":"\u7528 {highlight}/rename{/highlight} \u91CD\u65B0\u547D\u540D\u76EE\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.suspend.unix":"\u6309 {highlight}Ctrl+Z{/highlight} \u66AB\u505C\u7D42\u7AEF\u6A5F\u4E26\u8FD4\u56DE shell","tui.tips.suspend.win":"\u6309 {highlight}Ctrl+Z{/highlight} \u5FA9\u539F\u8F38\u5165\u6846\u4E2D\u7684\u8F38\u5165","tui.command.palette.title":"\u6307\u4EE4","tui.command.palette.suggested":"\u63A8\u85A6","tui.command.category.session":"\u5DE5\u4F5C\u968E\u6BB5","tui.command.category.agent":"\u667A\u6167\u4EE3\u7406","tui.command.category.provider":"\u4F9B\u61C9\u5546","tui.command.category.system":"\u7CFB\u7D71","tui.command.category.prompt":"\u8F38\u5165\u6846","tui.command.category.internal":"\u5167\u5EFA","tui.command.category.external":"\u7B2C\u4E09\u65B9","tui.slash.init.description":"\u5F15\u5C0E\u5F0F AGENTS.md \u8A2D\u5B9A","tui.slash.review.description":"\u5BE9\u67E5\u8B8A\u66F4 [commit|branch|pr]\uFF0C\u9810\u8A2D\u672A\u63D0\u4EA4\u7684\u8B8A\u66F4","tui.slash.dream.description":"\u5F9E memory \u6A94\u6848\u8207\u539F\u59CB\u8ECC\u8DE1\u4E2D\u624B\u52D5\u6574\u5408\u5C08\u6848\u8A18\u61B6","tui.slash.distill.description":"\u5728\u6700\u8FD1\u5DE5\u4F5C\u4E2D\u767C\u73FE\u91CD\u8907\u6D41\u7A0B\uFF0C\u6253\u5305\u70BA skill\u3001\u5B50\u667A\u6167\u4EE3\u7406\u6216\u547D\u4EE4","tui.slash.goal.description":"\u8A2D\u5B9A\u7D42\u6B62\u689D\u4EF6\u76EE\u6A19\uFF1B\u57F7\u884C\u76F4\u5230\u5224\u5B9A\u9054\u6210\u3002\u4F7F\u7528 /goal clear \u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u5EA6\u591A\u4F86\u6E90\u3001\u4E8B\u5BE6\u6838\u67E5\u7684\u7814\u7A76\u5831\u544A\uFF08\u57F7\u884C deep-research \u5DE5\u4F5C\u6D41\u7A0B\uFF09","tui.command.language.switch.title":"\u5207\u63DB\u8A9E\u8A00","tui.command.language.switch.description":"\u8B8A\u66F4\u986F\u793A\u8A9E\u8A00","tui.command.language.dialog.title":"\u5207\u63DB\u8A9E\u8A00","tui.language.auto":"\u81EA\u52D5\uFF08\u8DDF\u96A8\u7CFB\u7D71\uFF09","tui.language.current":"\u76EE\u524D","tui.command.session.list.title":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.new.title":"\u65B0\u589E\u5DE5\u4F5C\u968E\u6BB5","tui.command.workflow.list.title":"\u5DE5\u4F5C\u6D41\u7A0B","tui.command.model.list.title":"\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_favorite.title":"\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.model.cycle_favorite_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.agent.list.title":"\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.mcp.list.title":"\u5207\u63DB MCP","tui.command.never_ask.title_on":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09","tui.command.never_ask.toast_on":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u6B0A\u9650\u8ACB\u6C42\u4ECD\u9700\u4F60\u78BA\u8A8D\u3002","tui.command.never_ask.toast_off":"\u5DF2\u95DC\u9589\u8DF3\u904E\u63D0\u554F \u2014 \u9047\u5230\u6C7A\u7B56\u9EDE\u6211\u6703\u91CD\u65B0\u5411\u4F60\u63D0\u554F\u3002","tui.command.never_ask.title_on_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u540C\u6642\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u4ECD\u5728\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09","tui.command.never_ask.toast_on_fullauto":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u5168\u81EA\u52D5\u6A21\u5F0F\u5DF2\u958B\u555F\uFF0C\u5DE5\u5177\u6B0A\u9650\u8ACB\u6C42\u4E5F\u6703\u81EA\u52D5\u6838\u51C6\u3002","tui.command.agent.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.variant.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.variant.list.title":"\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.agent.cycle.reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.provider.login.title":"\u767B\u5165","tui.command.provider.logout.title":"\u767B\u51FA","tui.command.console.org.switch.title":"\u5207\u63DB\u7D44\u7E54","tui.command.qitqode.status.title":"\u6AA2\u8996\u72C0\u614B","tui.command.worktree.list.title":"\u5DE5\u4F5C\u6A39","tui.command.theme.switch.title":"\u5207\u63DB\u4E3B\u984C","tui.command.theme.switch_mode.to_light":"\u5207\u63DB\u5230\u6DFA\u8272\u6A21\u5F0F","tui.command.theme.switch_mode.to_dark":"\u5207\u63DB\u5230\u6DF1\u8272\u6A21\u5F0F","tui.command.theme.mode.unlock":"\u89E3\u9664\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.theme.mode.lock":"\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.help.show.title":"\u8AAA\u660E","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u7121\u969C\u7919:\u53EF\u5728\u547D\u4EE4\u6E05\u55AE\u4E2D\u5207\u63DB\u52D5\u756B\u548C\u8072\u97F3\u3002\u74B0\u5883\u8B8A\u6578:NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u64AD\u5831:\u5728\u7121\u969C\u7919\u6A21\u5F0F\u4E0B,\u53EF\u900F\u904E\u547D\u4EE4\u6E05\u55AE\u6216 QITQODE_TUI_ANNOUNCEMENTS \u9078\u64C7\u87A2\u5E55\u95B1\u8B80\u5668\u64AD\u5831\u7684\u8A73\u7D30\u7A0B\u5EA6(\u5B89\u975C\u3001\u6B63\u5E38\u3001\u8A73\u7D30)\u3002\u932F\u8AA4\u6C38\u9060\u6703\u64AD\u5831\u3002","tui.dialog.help.dialog_keys":"\u5C0D\u8A71\u65B9\u584A:\u6240\u6709\u5C0D\u8A71\u65B9\u584A\u5747\u53EF\u50C5\u7528\u9375\u76E4\u64CD\u4F5C \u2014 Esc \u95DC\u9589,Tab \u6216\u65B9\u5411\u9375\u79FB\u52D5\u7126\u9EDE,Enter \u6216\u7A7A\u683C\u9375\u555F\u7528\u76EE\u524D\u63A7\u5236\u9805\u3002","tui.command.app.announcements.cycle":"\u64AD\u5831:{{level}}(\u9078\u64C7\u4EE5\u8B8A\u66F4)","tui.announcements.level.quiet":"\u5B89\u975C","tui.announcements.level.normal":"\u6B63\u5E38","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u7D42\u7AEF\u8996\u7A97\u904E\u5C0F ({{width}}x{{height}}),\u8ACB\u8ABF\u6574\u5230\u81F3\u5C11 40x8\u3002","tui.dialog.help.command_list":"\u6309 {{keybind}} \u6AA2\u8996\u76EE\u524D\u5167\u5BB9\u4E2D\u6240\u6709\u53EF\u7528\u7684\u64CD\u4F5C\u8207\u547D\u4EE4\u3002","tui.dialog.help.ok":"\u78BA\u5B9A","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u6372\u52D5 \xB7 PgUp/PgDn \u7FFB\u9801 \xB7 esc \u95DC\u9589","tui.dialog.ok":"\u78BA\u5B9A","tui.dialog.confirm.cancel":"\u53D6\u6D88","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u670D\u52D9\u5354\u8B70\u8207\u96B1\u79C1\u653F\u7B56","tui.dialog.agreement.message":"\u8ACB\u95B1\u8B80\u4E26\u540C\u610F\u5F8C\u7E7C\u7E8C\u4F7F\u7528\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u4E26\u7E7C\u7E8C","tui.command.docs.terms.title":"\u67E5\u770B\u670D\u52D9\u689D\u6B3E","tui.command.docs.privacy.title":"\u67E5\u770B\u96B1\u79C1\u653F\u7B56","tui.command.consent.revoke.title":"\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70","tui.consent.revoked":"\u5DF2\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70 \u2014 \u4E0B\u6B21\u4F7F\u7528\u6642\u5C07\u518D\u6B21\u8ACB\u6C42\u540C\u610F","tui.dialog.select.placeholder":"\u641C\u5C0B","tui.dialog.select.no_results":"\u627E\u4E0D\u5230\u7D50\u679C","tui.dialog.prompt.placeholder":"\u8F38\u5165\u6587\u5B57","tui.dialog.prompt.busy":"\u8655\u7406\u4E2D...","tui.dialog.prompt.processing":"\u8655\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u63D0\u4EA4","tui.dialog.export.title":"\u532F\u51FA\u9078\u9805","tui.dialog.export.filename":"\u6A94\u6848\u540D\u7A31\uFF1A","tui.dialog.export.filename_placeholder":"\u8F38\u5165\u6A94\u6848\u540D\u7A31","tui.dialog.export.include_thinking":"\u5305\u542B\u601D\u8003\u904E\u7A0B","tui.dialog.export.include_tool_details":"\u5305\u542B\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.dialog.export.include_assistant_metadata":"\u5305\u542B\u52A9\u7406\u4E2D\u7E7C\u8CC7\u6599","tui.dialog.export.open_without_saving":"\u76F4\u63A5\u958B\u555F\u800C\u4E0D\u5132\u5B58","tui.dialog.export.hint.toggle_prefix":"\u6309","tui.dialog.export.hint.toggle_action":"\u5207\u63DB","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u67E5\u770B\u9078\u9805","tui.toast.copied_to_clipboard":"\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.toast.instructions_loaded":"\u5DF2\u8F09\u5165 {{files}}","tui.toast.update_available.title":"\u6709\u65B0\u7248\u672C\u53EF\u7528","tui.toast.update_available.confirm":"\u65B0\u7248\u672C v{{version}} \u5DF2\u767C\u4F48\uFF0C\u662F\u5426\u7ACB\u5373\u66F4\u65B0\uFF1F","tui.toast.update_available.updating":"\u6B63\u5728\u66F4\u65B0\u5230 v{{version}}...","tui.toast.update_available.failed":"\u66F4\u65B0\u5931\u6557","tui.toast.update_available.success":"\u5DF2\u66F4\u65B0\u5230 QitQode v{{version}}\uFF0C\u8ACB\u91CD\u65B0\u555F\u52D5\u61C9\u7528\u7A0B\u5F0F\u3002","tui.toast.updated.title":"\u5DF2\u81EA\u52D5\u66F4\u65B0","tui.toast.updated.message":"\u5DF2\u81EA\u52D5\u5957\u7528\u4FEE\u88DC\u66F4\u65B0\uFF1Av{{version}}\u3002\u91CD\u65B0\u555F\u52D5\u5F8C\u751F\u6548\u3002\u53EF\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u7F6E autoupdate: false \u95DC\u9589\u81EA\u52D5\u66F4\u65B0\u3002","tui.sidebar.instructions":"\u6307\u4EE4\u6A94\u6848","tui.sidebar.cwd":"\u5DE5\u4F5C\u76EE\u9304","tui.toast.unknown_error":"\u767C\u751F\u672A\u77E5\u932F\u8AA4","tui.command.docs.open.title":"\u958B\u555F\u6587\u4EF6","tui.command.app.exit.title":"\u7D50\u675F\u61C9\u7528\u7A0B\u5F0F","tui.command.app.debug.title":"\u5207\u63DB\u5075\u932F\u9762\u677F","tui.command.app.console.title":"\u5207\u63DB\u4E3B\u63A7\u53F0","tui.command.app.heap_snapshot.title":"\u532F\u51FA\u5806\u7A4D\u5FEB\u7167","tui.command.terminal.suspend.title":"\u66AB\u505C\u7D42\u7AEF\u6A5F","tui.command.terminal.title.disable":"\u505C\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.terminal.title.enable":"\u555F\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.app.toggle.animations.disable":"\u505C\u7528\u52D5\u756B","tui.command.app.toggle.animations.enable":"\u555F\u7528\u52D5\u756B","tui.command.app.toggle.diffwrap.disable":"\u505C\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.diffwrap.enable":"\u555F\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.sound.disable":"\u505C\u7528\u8072\u97F3","tui.command.app.toggle.sound.enable":"\u555F\u7528\u8072\u97F3","tui.command.logout.toast":"\u5DF2\u767B\u51FA","tui.command.session.share.title":"\u5206\u4EAB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.share.copy_link":"\u8907\u88FD\u5206\u4EAB\u9023\u7D50","tui.command.session.rename.title":"\u91CD\u65B0\u547D\u540D\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.timeline.title":"\u8DF3\u5230\u8A0A\u606F","tui.command.session.fork.title":"\u5206\u652F\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.compact.title":"\u58D3\u7E2E\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.unshare.title":"\u53D6\u6D88\u5206\u4EAB","tui.command.session.undo.title":"\u5FA9\u539F\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.session.redo.title":"\u91CD\u505A","tui.command.session.sidebar.show":"\u986F\u793A\u5074\u908A\u6B04","tui.command.session.sidebar.hide":"\u96B1\u85CF\u5074\u908A\u6B04","tui.command.session.conceal.disable":"\u95DC\u9589\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.conceal.enable":"\u958B\u555F\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.timestamps.show":"\u986F\u793A\u6642\u9593\u6233\u8A18","tui.command.session.timestamps.hide":"\u96B1\u85CF\u6642\u9593\u6233\u8A18","tui.command.session.thinking.expand":"\u5C55\u958B\u601D\u8003\u904E\u7A0B","tui.command.session.thinking.collapse":"\u647A\u758A\u601D\u8003\u904E\u7A0B","tui.command.session.tool_details.show":"\u986F\u793A\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.tool_details.hide":"\u96B1\u85CF\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.scrollbar.toggle":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5\u6372\u8EF8","tui.command.session.generic_tool_output.show":"\u986F\u793A\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.generic_tool_output.hide":"\u96B1\u85CF\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.page_up.title":"\u4E0A\u4E00\u9801","tui.command.session.page_down.title":"\u4E0B\u4E00\u9801","tui.command.session.line_up.title":"\u5411\u4E0A\u4E00\u884C","tui.command.session.line_down.title":"\u5411\u4E0B\u4E00\u884C","tui.command.session.half_page_up.title":"\u5411\u4E0A\u534A\u9801","tui.command.session.half_page_down.title":"\u5411\u4E0B\u534A\u9801","tui.command.session.first.title":"\u7B2C\u4E00\u689D\u8A0A\u606F","tui.command.session.last.title":"\u6700\u5F8C\u4E00\u689D\u8A0A\u606F","tui.command.session.last_user.title":"\u8DF3\u5230\u6700\u5F8C\u4E00\u689D\u4F7F\u7528\u8005\u8A0A\u606F","tui.command.session.message_next.title":"\u4E0B\u4E00\u689D\u8A0A\u606F","tui.command.session.message_previous.title":"\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.messages.copy.title":"\u8907\u88FD\u6700\u5F8C\u4E00\u689D\u52A9\u7406\u8A0A\u606F","tui.command.session.copy.title":"\u8907\u88FD\u5C0D\u8A71\u8A18\u9304","tui.command.session.export.title":"\u532F\u51FA\u5C0D\u8A71\u8A18\u9304","tui.command.session.child_first.title":"\u9032\u5165\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.parent.title":"\u8FD4\u56DE\u7236\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_next.title":"\u4E0B\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_previous.title":"\u4E0A\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.clear.title":"\u6E05\u7A7A\u8F38\u5165\u6846","tui.command.prompt.submit.title":"\u9001\u51FA\u63D0\u793A\u8A5E","tui.command.prompt.paste.title":"\u8CBC\u4E0A","tui.command.session.interrupt.title":"\u4E2D\u65B7\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.editor.title":"\u958B\u555F\u7DE8\u8F2F\u5668","tui.command.prompt.skills.title":"\u6280\u80FD","tui.command.voice.toggle.title":"\u5207\u63DB\u8A9E\u97F3\u8F38\u5165","tui.command.voice.toggle.title_on":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.toggle.title_off":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.command.voice.send.title":"\u5207\u63DB\u8A9E\u97F3\u767C\u9001\u6307\u4EE4","tui.command.voice.send.title_on":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.send.title_off":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.enabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u555F\u7528\uFF08\u7C21\u9AD4\u4E2D\u6587/\u82F1\u8A9E\uFF09\u2014 \u9EDE\u64CA [Voice] \u958B\u59CB\u9304\u97F3","tui.voice.disabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u95DC\u9589","tui.voice.send.enabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u555F\u7528 \u2014 \u505C\u9813\u5F8C\u6E05\u6670\u5FF5\u51FA\u300C\u53D1\u9001\u300D\u5373\u53EF\u63D0\u4EA4","tui.voice.send.disabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u95DC\u9589","tui.voice.control.enabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u555F\u7528 \u2014 \u4F7F\u7528\u591A\u6A21\u614B\u6A21\u578B\u667A\u6167\u7DE8\u8F2F\uFF08\u8F03\u6162\uFF09","tui.voice.control.disabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u95DC\u9589 \u2014 \u4F7F\u7528\u5FEB\u901F ASR \u8F49\u5BEB","tui.command.voice.control.title":"\u5207\u63DB\u8A9E\u97F3\u63A7\u5236\uFF08\u591A\u6A21\u614B\uFF09","tui.command.voice.control.title_on":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u958B\u555F\uFF08\u591A\u6A21\u614B\uFF09 \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.control.title_off":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u95DC\u9589\uFF08\u5FEB\u901F ASR\uFF09 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.error.no_auth":"\u8ACB\u5148\u7528 /connect \u9023\u63A5 QitQode \u5E33\u865F\uFF0C\u6216\u914D\u7F6E voice.asr_model \u6307\u5B9A\u5176\u4ED6 provider","tui.voice.error.no_auth_provider":"\u8A9E\u97F3 provider\u300C{{provider}}\u300D\u672A\u8A8D\u8B49\uFF0C\u8ACB\u6AA2\u67E5\u5176 apiKey \u914D\u7F6E","tui.voice.error.provider_not_found":"provider\u300C{{provider}}\u300D\u4E0D\u53EF\u7528 \u2014 \u8ACB /connect \u9023\u63A5\uFF0C\u81EA\u5B9A\u7FA9\u7AEF\u9EDE\u9700\u5728\u914D\u7F6E\u4E2D\u8072\u660E models","tui.voice.error.no_url":"provider\u300C{{provider}}\u300D\u672A\u914D\u7F6E baseURL\uFF0C\u8ACB\u5728 options.baseURL \u4E2D\u6307\u5B9A","tui.voice.error.no_device":"\u672A\u5075\u6E2C\u5230\u9EA5\u514B\u98A8/\u97F3\u8A0A\u88DD\u7F6E \u2014 \u8ACB\u6AA2\u67E5\u7CFB\u7D71\u97F3\u8A0A\u8A2D\u5B9A","tui.voice.error.recorder_failed":"\u9304\u97F3\u5931\u6557","tui.voice.error.no_recorder":"\u672A\u5075\u6E2C\u5230\u9304\u97F3\u5DE5\u5177\uFF0C\u8ACB\u5B89\u88DD sox","tui.voice.error.too_short":"\u9304\u97F3\u6642\u9593\u904E\u77ED","tui.voice.error.network":"\u8F49\u5BEB\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF","tui.voice.error.empty_send":"\u7121\u5167\u5BB9\u53EF\u767C\u9001","tui.voice.error.unknown_agent":"\u672A\u627E\u5230 agent\u300C{{name}}\u300D","tui.command.prompt.stash.title":"\u66AB\u5B58\u63D0\u793A\u8A5E","tui.command.prompt.stash.pop.title":"\u5F48\u51FA\u66AB\u5B58","tui.command.prompt.stash.list.title":"\u66AB\u5B58\u6E05\u55AE","tui.command.tips.toggle.show":"\u986F\u793A Tips","tui.command.tips.toggle.hide":"\u96B1\u85CF Tips","tui.command.plugins.list.title":"\u5916\u639B","tui.command.plugins.install.title":"\u5B89\u88DD\u5916\u639B","tui.question.plan_enter.question":"\u662F\u5426\u5207\u63DB\u5230 plan \u6A21\u5F0F\u9032\u884C\u7D50\u69CB\u5316\u898F\u5283\uFF1F","tui.question.plan_enter.header":"\u9032\u5165\u8A08\u5283","tui.question.plan_enter.option.0.label":"\u662F","tui.question.plan_enter.option.0.description":"\u5207\u63DB\u5230 plan \u667A\u6167\u4EE3\u7406\u9032\u884C\u552F\u8B80\u898F\u5283","tui.question.plan_enter.option.1.label":"\u5426","tui.question.plan_enter.option.1.description":"\u7559\u5728\u7576\u524D\u6A21\u5F0F","tui.question.plan_exit.question":"{{plan}} \u7684\u8A08\u5283\u5DF2\u5B8C\u6210\u3002\u662F\u5426\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u958B\u59CB\u5BE6\u4F5C\uFF1F","tui.question.plan_exit.header":"\u9000\u51FA\u8A08\u5283","tui.question.plan_exit.option.0.label":"\u662F","tui.question.plan_exit.option.0.description":"\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u4E26\u958B\u59CB\u5BE6\u4F5C\u8A08\u5283","tui.question.plan_exit.option.1.label":"\u5426","tui.question.plan_exit.option.1.description":"\u7559\u5728 plan \u667A\u6167\u4EE3\u7406\u7E7C\u7E8C\u5B8C\u5584\u8A08\u5283","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u5B58\u53D6\u5DE5\u4F5C\u5340\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u9019\u662F\u4F60\u81EA\u5DF1\u5EFA\u7ACB\u6216\u4FE1\u4EFB\u7684\u5C08\u6848\u55CE\uFF1F\uFF08\u5982\u4F60\u81EA\u5DF1\u7684\u7A0B\u5F0F\u78BC\u3001\u77E5\u540D\u958B\u6E90\u5C08\u6848\u6216\u5718\u968A\u5167\u90E8\u5C08\u6848\uFF09\u3002\u5982\u679C\u4E0D\u662F\uFF0C\u8ACB\u5148\u6AA2\u67E5\u6B64\u76EE\u9304\u4E0B\u7684\u5167\u5BB9\u3002","trust.capabilities":"QitQode \u5C07\u80FD\u5920\u8B80\u53D6\u3001\u7DE8\u8F2F\u548C\u57F7\u884C\u6B64\u76EE\u9304\u4E2D\u7684\u6A94\u6848\u3002","trust.plugin_warn":"\u5982\u679C\u6B64\u76EE\u9304\u4E2D\u5B58\u5728\u60E1\u610F\u5916\u639B\u7A0B\u5F0F\uFF0C\u5B83\u5011\u53EF\u4EE5\u57F7\u884C\u4EFB\u610F\u7A0B\u5F0F\u78BC\u3001\u8B80\u53D6\u3001\u4FEE\u6539\u6216\u7ACA\u53D6\u4F60\u7684\u6A94\u6848\u3002","trust.option.yes":"\u662F\u7684\uFF0C\u6211\u4FE1\u4EFB\u6B64\u76EE\u9304","trust.option.no":"\u5426\uFF0C\u9000\u51FA","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u4E3B\u76EE\u9304\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.body_home":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u4F60\u6240\u6709\u7684\u500B\u4EBA\u6A94\u6848 \u2014 SSH \u91D1\u9470\u3001\u6191\u8B49\u3001\u700F\u89BD\u5668\u8A2D\u5B9A\u6A94\u7B49\u4E3B\u76EE\u9304\u4E0B\u7684\u6240\u6709\u5167\u5BB9\u3002","trust.dangerous.body_root":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u6574\u500B\u6A94\u6848\u7CFB\u7D71 \u2014 \u7CFB\u7D71\u6A94\u6848\u3001\u6240\u6709\u4F7F\u7528\u8005\u8CC7\u6599\u3001\u6191\u8B49\u4EE5\u53CA\u9019\u53F0\u6A5F\u5668\u4E0A\u7684\u4E00\u5207\u3002","trust.dangerous.advice_home":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u4F60\u7684\u6574\u500B\u4E3B\u76EE\u9304\u3002","trust.dangerous.advice_root":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.option.yes":"\u6211\u4E86\u89E3\u98A8\u96AA\uFF0C\u50C5\u672C\u6B21\u4FE1\u4EFB","trust.dangerous.option.no":"\u9000\u51FA\uFF08\u63A8\u85A6\uFF09"};export{f as dict};
|
|
2
|
+
import"./chunk-fn8191ps.js";import"./chunk-4sazy0nq.js";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":'\u554F\u9EDE\u4EC0\u9EBC\u2026\u2026 "{{example}}"',"tui.prompt.placeholder.shell":'\u57F7\u884C\u6307\u4EE4\u2026\u2026 "{{example}}"',"tui.prompt.ghost":"{{prediction}} (\u6309 Tab \u63A1\u7D0D)","tui.home.placeholder.example.todo":"\u4FEE\u5FA9\u7A0B\u5F0F\u78BC\u5EAB\u4E2D\u7684 TODO","tui.home.placeholder.example.stack":"\u9019\u500B\u5C08\u6848\u7528\u4E86\u4EC0\u9EBC\u6280\u8853\u68E7\uFF1F","tui.home.placeholder.example.tests":"\u4FEE\u5FA9\u5931\u6557\u7684\u6E2C\u8A66","tui.home.agreement.prefix":"\u4F7F\u7528 QitQode \u5373\u8868\u793A\u4F60\u540C\u610F\u6211\u5011\u7684","tui.home.agreement.terms":"\u670D\u52D9\u5354\u8B70","tui.home.agreement.separator":"\u548C","tui.home.agreement.privacy":"\u96B1\u79C1\u653F\u7B56","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"\u65B0\u589E\u6A94\u6848","tui.prompt.hint.subagent":"\u5B50\u667A\u80FD\u9AD4","tui.prompt.hint.commands":"\u559A\u8D77\u547D\u4EE4","tui.prompt.hint.switch_mode":"\u5207\u63DB\u6A21\u5F0F","tui.prompt.hint.settings":"\u8A2D\u5B9A","tui.tips.label":"\u63D0\u793A","tui.tips.plain_terminal":"\u5EFA\u8B70\u4F7F\u7528 iTerm \u6216 VS Code \u7D42\u7AEF\u6A5F","tui.tips.attach_file":"\u8F38\u5165 {highlight}@{/highlight} \u5F8C\u63A5\u6A94\u6848\u540D\u7A31\u4EE5\u6A21\u7CCA\u641C\u5C0B\u4E26\u9644\u52A0\u6A94\u6848","tui.tips.shell_prefix":"\u4EE5 {highlight}!{/highlight} \u958B\u982D\u53EF\u76F4\u63A5\u57F7\u884C shell \u6307\u4EE4\uFF08\u4F8B\u5982 {highlight}!ls -la{/highlight}\uFF09","tui.tips.tab_agent":"\u6309 {highlight}Tab{/highlight} \u6216 {highlight}Shift+Tab{/highlight} \u5728 Build / Plan / Compose \u667A\u6167\u4EE3\u7406\u4E4B\u9593\u5207\u63DB","tui.tips.theme_mode":"\u57F7\u884C {highlight}/dark{/highlight} \u5207\u63DB\u6DF1\u8272\u6A21\u5F0F\uFF0C{highlight}/light{/highlight} \u5207\u63DB\u6DFA\u8272\u6A21\u5F0F","tui.tips.doc":"\u57F7\u884C {highlight}/doc{/highlight} \u958B\u555F\u4F7F\u7528\u6587\u4EF6","tui.tips.undo":"\u4F7F\u7528 {highlight}/undo{/highlight} \u5FA9\u539F\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u53CA\u5176\u6A94\u6848\u8B8A\u66F4","tui.tips.redo":"\u4F7F\u7528 {highlight}/redo{/highlight} \u9084\u539F\u5148\u524D\u5FA9\u539F\u7684\u8A0A\u606F\u8207\u6A94\u6848\u8B8A\u66F4","tui.tips.drag_drop":"\u628A\u5716\u7247\u6216 PDF \u62D6\u5165\u7D42\u7AEF\u6A5F\u53EF\u4F5C\u70BA\u4E0A\u4E0B\u6587\u52A0\u5165","tui.tips.paste_image":"\u6309 {highlight}Ctrl+V{/highlight} \u628A\u526A\u8CBC\u7C3F\u4E2D\u7684\u5716\u7247\u8CBC\u5230\u8F38\u5165\u6846","tui.tips.editor":"\u6309 {highlight}Ctrl+X E{/highlight} \u6216 {highlight}/editor{/highlight} \u5728\u5916\u90E8\u7DE8\u8F2F\u5668\u4E2D\u7DE8\u8F2F\u8A0A\u606F","tui.tips.init":"\u57F7\u884C {highlight}/init{/highlight} \u6839\u64DA\u4F60\u7684\u7A0B\u5F0F\u78BC\u5EAB\u81EA\u52D5\u7522\u751F\u5C08\u6848\u898F\u5247","tui.tips.models":"\u57F7\u884C {highlight}/models{/highlight} \u6216 {highlight}Ctrl+X M{/highlight} \u5207\u63DB\u6A21\u578B","tui.tips.theme":'\u5728\u6307\u4EE4\u9762\u677F\uFF08{highlight}Ctrl+P{/highlight}\uFF09\u4E2D\u641C\u5C0B "lock" \u53EF\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F\uFF0C\u4F7F\u5176\u4E0D\u96A8\u7D42\u7AEF\u6A5F\u80CC\u666F\u8B8A\u5316',"tui.tips.new_session":"\u6309 {highlight}Ctrl+X N{/highlight} \u6216 {highlight}/new{/highlight} \u958B\u555F\u5168\u65B0\u5DE5\u4F5C\u968E\u6BB5","tui.tips.sessions":"\u4F7F\u7528 {highlight}/sessions{/highlight} \u6216 {highlight}Ctrl+X L{/highlight} \u5217\u51FA\u4E26\u7E7C\u7E8C\u5148\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.compact":"\u57F7\u884C {highlight}/compact{/highlight} \u5728\u63A5\u8FD1\u4E0A\u4E0B\u6587\u4E0A\u9650\u6642\u58D3\u7E2E\u9577\u5C0D\u8A71","tui.tips.export":"\u6309 {highlight}Ctrl+X X{/highlight} \u6216 {highlight}/export{/highlight} \u628A\u5C0D\u8A71\u5132\u5B58\u70BA Markdown","tui.tips.copy_last":"\u6309 {highlight}Ctrl+X Y{/highlight} \u5C07\u52A9\u7406\u6700\u5F8C\u4E00\u689D\u8A0A\u606F\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.tips.command_palette":"\u6309 {highlight}Ctrl+P{/highlight} \u6AA2\u8996\u6240\u6709\u53EF\u7528\u52D5\u4F5C\u8207\u6307\u4EE4","tui.tips.leader":"\u524D\u5C0E\u9375\u662F {highlight}Ctrl+X{/highlight}\uFF0C\u642D\u914D\u5176\u4ED6\u6309\u9375\u53EF\u5FEB\u901F\u89F8\u767C\u52D5\u4F5C","tui.tips.f2":"\u6309 {highlight}F2{/highlight} \u5728\u6700\u8FD1\u4F7F\u7528\u7684\u6A21\u578B\u4E4B\u9593\u5FEB\u901F\u5207\u63DB","tui.tips.sidebar":"\u6309 {highlight}Ctrl+X B{/highlight} \u986F\u793A\uFF0F\u96B1\u85CF\u5074\u908A\u6B04","tui.tips.history":"\u7528 {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} \u700F\u89BD\u5DE5\u4F5C\u968E\u6BB5\u6B77\u53F2","tui.tips.jump_first":"\u6309 {highlight}Ctrl+G{/highlight} \u6216 {highlight}Home{/highlight} \u8DF3\u5230\u5DE5\u4F5C\u968E\u6BB5\u958B\u982D","tui.tips.jump_last":"\u6309 {highlight}Ctrl+Alt+G{/highlight} \u6216 {highlight}End{/highlight} \u8DF3\u5230\u6700\u65B0\u8A0A\u606F","tui.tips.newline":"\u6309 {highlight}Shift+Enter{/highlight} \u6216 {highlight}Ctrl+J{/highlight} \u5728\u8F38\u5165\u6846\u63DB\u884C","tui.tips.clear_input":"\u8F38\u5165\u6642\u6309 {highlight}Ctrl+C{/highlight} \u6E05\u7A7A\u8F38\u5165\u6846","tui.tips.escape":"\u6309 {highlight}Escape{/highlight} \u5728\u56DE\u61C9\u4E2D\u9014\u4E2D\u65B7 AI","tui.tips.plan_agent":"\u5207\u63DB\u5230 {highlight}Plan{/highlight} \u667A\u6167\u4EE3\u7406\u4EE5\u53D6\u5F97\u5EFA\u8B70\u800C\u4E0D\u5BE6\u969B\u8B8A\u66F4","tui.tips.subagent":"\u5728\u63D0\u793A\u8A5E\u4E2D\u4F7F\u7528 {highlight}@agent-name{/highlight} \u547C\u53EB\u5C08\u7528\u5B50\u4EE3\u7406","tui.tips.cycle_sessions":"\u6309 {highlight}Ctrl+X Right/Left{/highlight} \u5728\u7236\u5B50\u5DE5\u4F5C\u968E\u6BB5\u4E4B\u9593\u5207\u63DB","tui.tips.config_files":"\u5EFA\u7ACB {highlight}qitqode.json{/highlight} \u7528\u65BC\u4F3A\u670D\u5668\u7AEF\u8A2D\u5B9A\uFF0C{highlight}tui.json{/highlight} \u7528\u65BC TUI \u8A2D\u5B9A","tui.tips.global_config":"\u628A TUI \u8A2D\u5B9A\u653E\u5728 {highlight}~/.config/qitqode/tui.json{/highlight} \u4F5C\u70BA\u5168\u57DF\u8A2D\u5B9A","tui.tips.schema":"\u5728\u8A2D\u5B9A\u4E2D\u52A0\u5165 {highlight}$schema{/highlight} \u4EE5\u4FBF\u7DE8\u8F2F\u5668\u81EA\u52D5\u5B8C\u6210","tui.tips.default_model":"\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}model{/highlight} \u4F86\u6307\u5B9A\u9810\u8A2D\u6A21\u578B","tui.tips.keybinds":"\u900F\u904E {highlight}tui.json{/highlight} \u7684 {highlight}keybinds{/highlight} \u5340\u6BB5\u8986\u5BEB\u4EFB\u610F\u6309\u9375","tui.tips.disable_keybind":"\u628A\u4EFB\u610F\u6309\u9375\u8A2D\u70BA {highlight}none{/highlight} \u5373\u53EF\u5B8C\u5168\u505C\u7528\u5B83","tui.tips.mcp_config":"\u5728 {highlight}mcp{/highlight} \u8A2D\u5B9A\u9805\u4E2D\u8A2D\u5B9A\u672C\u6A5F\u6216\u9060\u7AEF MCP \u4F3A\u670D\u5668","tui.tips.mcp_oauth":"QitQode \u81EA\u52D5\u8655\u7406\u9700\u8981\u9A57\u8B49\u7684\u9060\u7AEF MCP \u4F3A\u670D\u5668\u7684 OAuth","tui.tips.custom_command":"\u5728 {highlight}.qitqode/command/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4EE5\u5B9A\u7FA9\u53EF\u91CD\u7528\u81EA\u8A02\u63D0\u793A","tui.tips.command_args":"\u5728\u81EA\u8A02\u6307\u4EE4\u4E2D\u4F7F\u7528 {highlight}$ARGUMENTS{/highlight}\u3001{highlight}$1{/highlight}\u3001{highlight}$2{/highlight} \u63A5\u6536\u52D5\u614B\u53C3\u6578","tui.tips.command_backticks":"\u5728\u6307\u4EE4\u4E2D\u4F7F\u7528\u53CD\u5F15\u865F\u6CE8\u5165 shell \u8F38\u51FA\uFF08\u4F8B\u5982 {highlight}`git status`{/highlight}\uFF09","tui.tips.custom_agent":"\u5728 {highlight}.qitqode/agent/{/highlight} \u52A0\u5165 {highlight}.md{/highlight} \u6A94\u6848\u4F86\u5EFA\u7ACB\u5C08\u7528 AI \u89D2\u8272","tui.tips.agent_perms":"\u70BA\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u55AE\u7368\u8A2D\u5B9A {highlight}edit{/highlight}\u3001{highlight}bash{/highlight}\u3001{highlight}webfetch{/highlight} \u5DE5\u5177\u6B0A\u9650","tui.tips.bash_allow":'\u4F7F\u7528 {highlight}"git *": "allow"{/highlight} \u9019\u985E\u6A21\u5F0F\u505A\u7CBE\u7D30 bash \u6B0A\u9650',"tui.tips.bash_deny":'\u8A2D\u5B9A {highlight}"rm -rf *": "deny"{/highlight} \u963B\u64CB\u7834\u58DE\u6027\u6307\u4EE4',"tui.tips.bash_ask":'\u8A2D\u5B9A {highlight}"git push": "ask"{/highlight} \u5728\u63A8\u9001\u524D\u8981\u6C42\u78BA\u8A8D',"tui.tips.formatter":"QitQode \u81EA\u52D5\u4F7F\u7528 prettier\u3001gofmt\u3001ruff \u7B49\u683C\u5F0F\u5316\u6A94\u6848","tui.tips.disable_formatter":'\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u5B9A {highlight}"formatter": false{/highlight} \u95DC\u9589\u6240\u6709\u81EA\u52D5\u683C\u5F0F\u5316',"tui.tips.custom_formatter":"\u5728\u8A2D\u5B9A\u4E2D\u4F9D\u6A94\u6848\u526F\u6A94\u540D\u5B9A\u7FA9\u81EA\u8A02\u683C\u5F0F\u5316\u6307\u4EE4","tui.tips.lsp":"QitQode \u4F7F\u7528 LSP \u4F3A\u670D\u5668\u9032\u884C\u667A\u6167\u7A0B\u5F0F\u78BC\u5206\u6790","tui.tips.custom_tool":"\u5728 {highlight}.qitqode/tools/{/highlight} \u5EFA\u7ACB {highlight}.ts{/highlight} \u6A94\u6848\u5B9A\u7FA9\u65B0\u7684 LLM \u5DE5\u5177","tui.tips.tool_scripts":"\u5DE5\u5177\u5B9A\u7FA9\u53EF\u547C\u53EB Python\u3001Go \u7B49\u6307\u4EE4\u7A3F","tui.tips.plugins":"\u5728 {highlight}.qitqode/plugin/{/highlight} \u52A0\u5165 {highlight}.ts{/highlight} \u6A94\u6848\u639B\u8F09\u4E8B\u4EF6\u52FE\u9EDE","tui.tips.plugin_notify":"\u7528\u5916\u639B\u5728\u5DE5\u4F5C\u968E\u6BB5\u5B8C\u6210\u6642\u50B3\u9001\u7CFB\u7D71\u901A\u77E5","tui.tips.plugin_protect":"\u64B0\u5BEB\u4E00\u500B\u5916\u639B\u963B\u6B62 QitQode \u8B80\u53D6\u654F\u611F\u6A94\u6848","tui.tips.run":"\u7528 {highlight}qitqode run{/highlight} \u9032\u884C\u975E\u4E92\u52D5\u5F0F\u6307\u4EE4\u7A3F\u547C\u53EB","tui.tips.continue":"\u7528 {highlight}qitqode --continue{/highlight} \u7E7C\u7E8C\u4E0A\u4E00\u500B\u5DE5\u4F5C\u968E\u6BB5","tui.tips.attach_cli":"\u7528 {highlight}qitqode run -f file.ts{/highlight} \u900F\u904E\u547D\u4EE4\u5217\u9644\u52A0\u6A94\u6848","tui.tips.format_json":"\u7528 {highlight}--format json{/highlight} \u5728\u6307\u4EE4\u7A3F\u4E2D\u53D6\u5F97\u6A5F\u5668\u53EF\u8B80\u8F38\u51FA","tui.tips.auth_list":"\u57F7\u884C {highlight}qitqode auth status{/highlight} \u6AA2\u8996\u76EE\u524D\u7684\u767B\u5165\u72C0\u614B","tui.tips.agent_create":"\u57F7\u884C {highlight}qitqode agent create{/highlight} \u5F15\u5C0E\u5F0F\u5EFA\u7ACB\u667A\u6167\u4EE3\u7406","tui.tips.theme_system":'\u4F7F\u7528 {highlight}"theme": "system"{/highlight} \u8DDF\u96A8\u7D42\u7AEF\u6A5F\u914D\u8272',"tui.tips.theme_files":"\u5728 {highlight}.qitqode/themes/{/highlight} \u76EE\u9304\u4E0B\u5EFA\u7ACB JSON \u4E3B\u984C\u6A94\u6848","tui.tips.theme_variants":"\u4E3B\u984C\u652F\u63F4\u6DF1\u8272\uFF0F\u6DFA\u8272\u96D9\u6A21\u5F0F\u8B8A\u9AD4","tui.tips.theme_ansi":"\u81EA\u8A02\u4E3B\u984C\u4E2D\u53EF\u53C3\u7167 ANSI 0-255 \u8272\u865F","tui.tips.env_var":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}{env:VAR_NAME}{/highlight} \u8A9E\u6CD5\u53C3\u7167\u74B0\u5883\u8B8A\u6578","tui.tips.file_var":"\u7528 {highlight}{file:path}{/highlight} \u5728\u8A2D\u5B9A\u503C\u4E2D\u5D4C\u5165\u6A94\u6848\u5167\u5BB9","tui.tips.instructions":"\u5728\u8A2D\u5B9A\u4E2D\u7528 {highlight}instructions{/highlight} \u8F09\u5165\u984D\u5916\u7684\u898F\u5247\u6A94\u6848","tui.tips.temperature":"\u628A\u667A\u6167\u4EE3\u7406\u7684 {highlight}temperature{/highlight} \u5F9E 0.0\uFF08\u5C08\u6CE8\uFF09\u8ABF\u5230 1.0\uFF08\u5275\u9020\uFF09","tui.tips.steps":"\u8A2D\u5B9A {highlight}steps{/highlight} \u9650\u5236\u6BCF\u6B21\u8ACB\u6C42\u7684\u4EE3\u7406\u8FED\u4EE3\u6B21\u6578","tui.tips.disable_tool":'\u8A2D\u5B9A {highlight}"tools": {"bash": false}{/highlight} \u505C\u7528\u7279\u5B9A\u5DE5\u5177',"tui.tips.disable_mcp_tools":'\u8A2D\u5B9A {highlight}"mcp_*": false{/highlight} \u505C\u7528\u67D0\u500B MCP \u4F3A\u670D\u5668\u7684\u6240\u6709\u5DE5\u5177',"tui.tips.tool_override":"\u5728\u6BCF\u500B\u667A\u6167\u4EE3\u7406\u8A2D\u5B9A\u4E2D\u8986\u5BEB\u5168\u57DF\u5DE5\u5177\u8A2D\u5B9A","tui.tips.doom_loop":"\u6B0A\u9650 {highlight}doom_loop{/highlight} \u9632\u6B62\u5DE5\u5177\u547C\u53EB\u9677\u5165\u7121\u7AAE\u8FF4\u5708","tui.tips.external_dir":"\u6B0A\u9650 {highlight}external_directory{/highlight} \u4FDD\u8B77\u5C08\u6848\u5916\u90E8\u7684\u6A94\u6848","tui.tips.debug_config":"\u57F7\u884C {highlight}qitqode debug config{/highlight} \u6392\u67E5\u8A2D\u5B9A\u554F\u984C","tui.tips.print_logs":"\u4F7F\u7528 {highlight}--print-logs{/highlight} \u65D7\u6A19\u5728 stderr \u8F38\u51FA\u8A73\u7D30\u8A18\u9304","tui.tips.timeline":"\u6309 {highlight}Ctrl+X G{/highlight} \u6216 {highlight}/timeline{/highlight} \u8DF3\u5230\u6307\u5B9A\u8A0A\u606F","tui.tips.toggle_code":"\u6309 {highlight}Ctrl+X H{/highlight} \u5207\u63DB\u8A0A\u606F\u4E2D\u7A0B\u5F0F\u78BC\u5340\u584A\u7684\u986F\u793A","tui.tips.status":"\u6309 {highlight}Ctrl+X S{/highlight} \u6216 {highlight}/status{/highlight} \u6AA2\u8996\u7CFB\u7D71\u72C0\u614B","tui.tips.scroll_accel":"\u5728 {highlight}tui.json{/highlight} \u4E2D\u555F\u7528 {highlight}scroll_acceleration{/highlight} \u4EAB\u53D7\u5E73\u6ED1\u6372\u52D5","tui.tips.agents_md":"\u628A\u5C08\u6848\u4E2D\u7684 {highlight}AGENTS.md{/highlight} \u63D0\u4EA4\u5230 Git \u8207\u5718\u968A\u5171\u4EAB","tui.tips.review":"\u7528 {highlight}/review{/highlight} \u5BE9\u95B1\u672A\u63D0\u4EA4\u8B8A\u66F4\u3001\u5206\u652F\u6216 PR","tui.tips.help":"\u57F7\u884C {highlight}/help{/highlight} \u6216 {highlight}Ctrl+X H{/highlight} \u986F\u793A\u8AAA\u660E\u5C0D\u8A71\u6846","tui.tips.rename":"\u7528 {highlight}/rename{/highlight} \u91CD\u65B0\u547D\u540D\u76EE\u524D\u7684\u5DE5\u4F5C\u968E\u6BB5","tui.tips.suspend.unix":"\u6309 {highlight}Ctrl+Z{/highlight} \u66AB\u505C\u7D42\u7AEF\u6A5F\u4E26\u8FD4\u56DE shell","tui.tips.suspend.win":"\u6309 {highlight}Ctrl+Z{/highlight} \u5FA9\u539F\u8F38\u5165\u6846\u4E2D\u7684\u8F38\u5165","tui.command.palette.title":"\u6307\u4EE4","tui.command.palette.suggested":"\u63A8\u85A6","tui.command.category.session":"\u5DE5\u4F5C\u968E\u6BB5","tui.command.category.agent":"\u667A\u6167\u4EE3\u7406","tui.command.category.provider":"\u4F9B\u61C9\u5546","tui.command.category.system":"\u7CFB\u7D71","tui.command.category.prompt":"\u8F38\u5165\u6846","tui.command.category.internal":"\u5167\u5EFA","tui.command.category.external":"\u7B2C\u4E09\u65B9","tui.slash.init.description":"\u5F15\u5C0E\u5F0F AGENTS.md \u8A2D\u5B9A","tui.slash.review.description":"\u5BE9\u67E5\u8B8A\u66F4 [commit|branch|pr]\uFF0C\u9810\u8A2D\u672A\u63D0\u4EA4\u7684\u8B8A\u66F4","tui.slash.dream.description":"\u5F9E memory \u6A94\u6848\u8207\u539F\u59CB\u8ECC\u8DE1\u4E2D\u624B\u52D5\u6574\u5408\u5C08\u6848\u8A18\u61B6","tui.slash.distill.description":"\u5728\u6700\u8FD1\u5DE5\u4F5C\u4E2D\u767C\u73FE\u91CD\u8907\u6D41\u7A0B\uFF0C\u6253\u5305\u70BA skill\u3001\u5B50\u667A\u6167\u4EE3\u7406\u6216\u547D\u4EE4","tui.slash.goal.description":"\u8A2D\u5B9A\u7D42\u6B62\u689D\u4EF6\u76EE\u6A19\uFF1B\u57F7\u884C\u76F4\u5230\u5224\u5B9A\u9054\u6210\u3002\u4F7F\u7528 /goal clear \u4E2D\u6B62","tui.slash.deep-research.description":"\u6DF1\u5EA6\u591A\u4F86\u6E90\u3001\u4E8B\u5BE6\u6838\u67E5\u7684\u7814\u7A76\u5831\u544A\uFF08\u57F7\u884C deep-research \u5DE5\u4F5C\u6D41\u7A0B\uFF09","tui.command.language.switch.title":"\u5207\u63DB\u8A9E\u8A00","tui.command.language.switch.description":"\u8B8A\u66F4\u986F\u793A\u8A9E\u8A00","tui.command.language.dialog.title":"\u5207\u63DB\u8A9E\u8A00","tui.language.auto":"\u81EA\u52D5\uFF08\u8DDF\u96A8\u7CFB\u7D71\uFF09","tui.language.current":"\u76EE\u524D","tui.command.session.list.title":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.new.title":"\u65B0\u589E\u5DE5\u4F5C\u968E\u6BB5","tui.command.workflow.list.title":"\u5DE5\u4F5C\u6D41\u7A0B","tui.command.model.list.title":"\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_recent_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6A21\u578B","tui.command.model.cycle_favorite.title":"\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.model.cycle_favorite_reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u6536\u85CF\u6A21\u578B","tui.command.agent.list.title":"\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.mcp.list.title":"\u5207\u63DB MCP","tui.command.never_ask.title_on":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF0C\u6B0A\u9650\u8ACB\u6C42\u9664\u5916\uFF09","tui.command.never_ask.toast_on":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u6B0A\u9650\u8ACB\u6C42\u4ECD\u9700\u4F60\u78BA\u8A8D\u3002","tui.command.never_ask.toast_off":"\u5DF2\u95DC\u9589\u8DF3\u904E\u63D0\u554F \u2014 \u9047\u5230\u6C7A\u7B56\u9EDE\u6211\u6703\u91CD\u65B0\u5411\u4F60\u63D0\u554F\u3002","tui.command.never_ask.title_on_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u540C\u6642\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09 - \u9EDE\u64CA\u95DC\u9589","tui.command.never_ask.title_off_fullauto":"\u8DF3\u904E\u63D0\u554F\uFF1A\u5DF2\u95DC\u9589 - \u9EDE\u64CA\u958B\u555F\uFF08\u81EA\u52D5\u6C7A\u7B56\uFF1B\u5168\u81EA\u52D5\u6A21\u5F0F\u4ECD\u5728\u81EA\u52D5\u6838\u51C6\u6B0A\u9650\uFF09","tui.command.never_ask.toast_on_fullauto":"\u5DF2\u958B\u555F\u8DF3\u904E\u63D0\u554F \u2014 \u6211\u4E0D\u6703\u518D\u5411\u4F60\u63D0\u554F\uFF0C\u6703\u81EA\u884C\u9078\u64C7\u6700\u4F73\u9078\u9805\uFF0C\u76F4\u5230\u4F60\u95DC\u9589\uFF08/never-ask\uFF09\u3002\u5168\u81EA\u52D5\u6A21\u5F0F\u5DF2\u958B\u555F\uFF0C\u5DE5\u5177\u6B0A\u9650\u8ACB\u6C42\u4E5F\u6703\u81EA\u52D5\u6838\u51C6\u3002","tui.command.agent.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.variant.cycle.title":"\u5FAA\u74B0\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.variant.list.title":"\u5207\u63DB\u6A21\u578B\u8B8A\u9AD4","tui.command.agent.cycle.reverse.title":"\u53CD\u5411\u5FAA\u74B0\u5207\u63DB\u667A\u6167\u4EE3\u7406","tui.command.provider.login.title":"\u767B\u5165","tui.command.provider.logout.title":"\u767B\u51FA","tui.command.console.org.switch.title":"\u5207\u63DB\u7D44\u7E54","tui.command.qitqode.status.title":"\u6AA2\u8996\u72C0\u614B","tui.command.worktree.list.title":"\u5DE5\u4F5C\u6A39","tui.command.theme.switch.title":"\u5207\u63DB\u4E3B\u984C","tui.command.theme.switch_mode.to_light":"\u5207\u63DB\u5230\u6DFA\u8272\u6A21\u5F0F","tui.command.theme.switch_mode.to_dark":"\u5207\u63DB\u5230\u6DF1\u8272\u6A21\u5F0F","tui.command.theme.mode.unlock":"\u89E3\u9664\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.theme.mode.lock":"\u9396\u5B9A\u4E3B\u984C\u6A21\u5F0F","tui.command.help.show.title":"\u8AAA\u660E","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"\u7121\u969C\u7919:\u53EF\u5728\u547D\u4EE4\u6E05\u55AE\u4E2D\u5207\u63DB\u52D5\u756B\u548C\u8072\u97F3\u3002\u74B0\u5883\u8B8A\u6578:NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND\u3002","tui.dialog.help.announcements":"\u64AD\u5831:\u5728\u7121\u969C\u7919\u6A21\u5F0F\u4E0B,\u53EF\u900F\u904E\u547D\u4EE4\u6E05\u55AE\u6216 QITQODE_TUI_ANNOUNCEMENTS \u9078\u64C7\u87A2\u5E55\u95B1\u8B80\u5668\u64AD\u5831\u7684\u8A73\u7D30\u7A0B\u5EA6(\u5B89\u975C\u3001\u6B63\u5E38\u3001\u8A73\u7D30)\u3002\u932F\u8AA4\u6C38\u9060\u6703\u64AD\u5831\u3002","tui.dialog.help.dialog_keys":"\u5C0D\u8A71\u65B9\u584A:\u6240\u6709\u5C0D\u8A71\u65B9\u584A\u5747\u53EF\u50C5\u7528\u9375\u76E4\u64CD\u4F5C \u2014 Esc \u95DC\u9589,Tab \u6216\u65B9\u5411\u9375\u79FB\u52D5\u7126\u9EDE,Enter \u6216\u7A7A\u683C\u9375\u555F\u7528\u76EE\u524D\u63A7\u5236\u9805\u3002","tui.command.app.announcements.cycle":"\u64AD\u5831:{{level}}(\u9078\u64C7\u4EE5\u8B8A\u66F4)","tui.announcements.level.quiet":"\u5B89\u975C","tui.announcements.level.normal":"\u6B63\u5E38","tui.announcements.level.verbose":"\u8A73\u7D30","tui.app.terminal_too_small":"\u7D42\u7AEF\u8996\u7A97\u904E\u5C0F ({{width}}x{{height}}),\u8ACB\u8ABF\u6574\u5230\u81F3\u5C11 40x8\u3002","tui.dialog.help.command_list":"\u6309 {{keybind}} \u6AA2\u8996\u76EE\u524D\u5167\u5BB9\u4E2D\u6240\u6709\u53EF\u7528\u7684\u64CD\u4F5C\u8207\u547D\u4EE4\u3002","tui.dialog.help.ok":"\u78BA\u5B9A","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 \u6372\u52D5 \xB7 PgUp/PgDn \u7FFB\u9801 \xB7 esc \u95DC\u9589","tui.dialog.ok":"\u78BA\u5B9A","tui.dialog.confirm.cancel":"\u53D6\u6D88","tui.dialog.confirm.confirm":"\u78BA\u8A8D","tui.dialog.agreement.title":"\u670D\u52D9\u5354\u8B70\u8207\u96B1\u79C1\u653F\u7B56","tui.dialog.agreement.message":"\u8ACB\u95B1\u8B80\u4E26\u540C\u610F\u5F8C\u7E7C\u7E8C\u4F7F\u7528\u3002","tui.dialog.agreement.confirm":"\u540C\u610F\u4E26\u7E7C\u7E8C","tui.command.docs.terms.title":"\u67E5\u770B\u670D\u52D9\u689D\u6B3E","tui.command.docs.privacy.title":"\u67E5\u770B\u96B1\u79C1\u653F\u7B56","tui.command.consent.revoke.title":"\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70","tui.consent.revoked":"\u5DF2\u64A4\u92B7\u514D\u8CBB\u6A21\u578B\u5354\u8B70 \u2014 \u4E0B\u6B21\u4F7F\u7528\u6642\u5C07\u518D\u6B21\u8ACB\u6C42\u540C\u610F","tui.dialog.select.placeholder":"\u641C\u5C0B","tui.dialog.select.no_results":"\u627E\u4E0D\u5230\u7D50\u679C","tui.dialog.prompt.placeholder":"\u8F38\u5165\u6587\u5B57","tui.dialog.prompt.busy":"\u8655\u7406\u4E2D...","tui.dialog.prompt.processing":"\u8655\u7406\u4E2D...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"\u63D0\u4EA4","tui.dialog.export.title":"\u532F\u51FA\u9078\u9805","tui.dialog.export.filename":"\u6A94\u6848\u540D\u7A31\uFF1A","tui.dialog.export.filename_placeholder":"\u8F38\u5165\u6A94\u6848\u540D\u7A31","tui.dialog.export.include_thinking":"\u5305\u542B\u601D\u8003\u904E\u7A0B","tui.dialog.export.include_tool_details":"\u5305\u542B\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.dialog.export.include_assistant_metadata":"\u5305\u542B\u52A9\u7406\u4E2D\u7E7C\u8CC7\u6599","tui.dialog.export.open_without_saving":"\u76F4\u63A5\u958B\u555F\u800C\u4E0D\u5132\u5B58","tui.dialog.export.hint.toggle_prefix":"\u6309","tui.dialog.export.hint.toggle_action":"\u5207\u63DB","tui.dialog.export.hint.confirm_action":"\u78BA\u8A8D","tui.dialog.export.hint.options_action":"\u67E5\u770B\u9078\u9805","tui.toast.copied_to_clipboard":"\u5DF2\u8907\u88FD\u5230\u526A\u8CBC\u7C3F","tui.toast.instructions_loaded":"\u5DF2\u8F09\u5165 {{files}}","tui.toast.update_available.title":"\u6709\u65B0\u7248\u672C\u53EF\u7528","tui.toast.update_available.confirm":"\u65B0\u7248\u672C v{{version}} \u5DF2\u767C\u4F48\uFF0C\u662F\u5426\u7ACB\u5373\u66F4\u65B0\uFF1F","tui.toast.update_available.updating":"\u6B63\u5728\u66F4\u65B0\u5230 v{{version}}...","tui.toast.update_available.failed":"\u66F4\u65B0\u5931\u6557","tui.toast.update_available.success":"\u5DF2\u66F4\u65B0\u5230 QitQode v{{version}}\uFF0C\u8ACB\u91CD\u65B0\u555F\u52D5\u61C9\u7528\u7A0B\u5F0F\u3002","tui.toast.updated.title":"\u5DF2\u81EA\u52D5\u66F4\u65B0","tui.toast.updated.message":"\u5DF2\u81EA\u52D5\u5957\u7528\u4FEE\u88DC\u66F4\u65B0\uFF1Av{{version}}\u3002\u91CD\u65B0\u555F\u52D5\u5F8C\u751F\u6548\u3002\u53EF\u5728\u8A2D\u5B9A\u4E2D\u8A2D\u7F6E autoupdate: false \u95DC\u9589\u81EA\u52D5\u66F4\u65B0\u3002","tui.sidebar.instructions":"\u6307\u4EE4\u6A94\u6848","tui.sidebar.cwd":"\u5DE5\u4F5C\u76EE\u9304","tui.toast.unknown_error":"\u767C\u751F\u672A\u77E5\u932F\u8AA4","tui.command.docs.open.title":"\u958B\u555F\u6587\u4EF6","tui.command.app.exit.title":"\u7D50\u675F\u61C9\u7528\u7A0B\u5F0F","tui.command.app.debug.title":"\u5207\u63DB\u5075\u932F\u9762\u677F","tui.command.app.console.title":"\u5207\u63DB\u4E3B\u63A7\u53F0","tui.command.app.heap_snapshot.title":"\u532F\u51FA\u5806\u7A4D\u5FEB\u7167","tui.command.terminal.suspend.title":"\u66AB\u505C\u7D42\u7AEF\u6A5F","tui.command.terminal.title.disable":"\u505C\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.terminal.title.enable":"\u555F\u7528\u7D42\u7AEF\u6A5F\u6A19\u984C","tui.command.app.toggle.animations.disable":"\u505C\u7528\u52D5\u756B","tui.command.app.toggle.animations.enable":"\u555F\u7528\u52D5\u756B","tui.command.app.toggle.diffwrap.disable":"\u505C\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.diffwrap.enable":"\u555F\u7528 diff \u81EA\u52D5\u63DB\u884C","tui.command.app.toggle.sound.disable":"\u505C\u7528\u8072\u97F3","tui.command.app.toggle.sound.enable":"\u555F\u7528\u8072\u97F3","tui.command.logout.toast":"\u5DF2\u767B\u51FA","tui.command.session.share.title":"\u5206\u4EAB\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.share.copy_link":"\u8907\u88FD\u5206\u4EAB\u9023\u7D50","tui.command.session.rename.title":"\u91CD\u65B0\u547D\u540D\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.timeline.title":"\u8DF3\u5230\u8A0A\u606F","tui.command.session.fork.title":"\u5206\u652F\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.compact.title":"\u58D3\u7E2E\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.unshare.title":"\u53D6\u6D88\u5206\u4EAB","tui.command.session.undo.title":"\u5FA9\u539F\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.session.redo.title":"\u91CD\u505A","tui.command.session.sidebar.show":"\u986F\u793A\u5074\u908A\u6B04","tui.command.session.sidebar.hide":"\u96B1\u85CF\u5074\u908A\u6B04","tui.command.session.conceal.disable":"\u95DC\u9589\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.conceal.enable":"\u958B\u555F\u7A0B\u5F0F\u78BC\u96B1\u85CF","tui.command.session.timestamps.show":"\u986F\u793A\u6642\u9593\u6233\u8A18","tui.command.session.timestamps.hide":"\u96B1\u85CF\u6642\u9593\u6233\u8A18","tui.command.session.thinking.expand":"\u5C55\u958B\u601D\u8003\u904E\u7A0B","tui.command.session.thinking.collapse":"\u647A\u758A\u601D\u8003\u904E\u7A0B","tui.command.session.tool_details.show":"\u986F\u793A\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.tool_details.hide":"\u96B1\u85CF\u5DE5\u5177\u8A73\u7D30\u8CC7\u6599","tui.command.session.scrollbar.toggle":"\u5207\u63DB\u5DE5\u4F5C\u968E\u6BB5\u6372\u8EF8","tui.command.session.generic_tool_output.show":"\u986F\u793A\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.generic_tool_output.hide":"\u96B1\u85CF\u901A\u7528\u5DE5\u5177\u8F38\u51FA","tui.command.session.page_up.title":"\u4E0A\u4E00\u9801","tui.command.session.page_down.title":"\u4E0B\u4E00\u9801","tui.command.session.line_up.title":"\u5411\u4E0A\u4E00\u884C","tui.command.session.line_down.title":"\u5411\u4E0B\u4E00\u884C","tui.command.session.half_page_up.title":"\u5411\u4E0A\u534A\u9801","tui.command.session.half_page_down.title":"\u5411\u4E0B\u534A\u9801","tui.command.session.first.title":"\u7B2C\u4E00\u689D\u8A0A\u606F","tui.command.session.last.title":"\u6700\u5F8C\u4E00\u689D\u8A0A\u606F","tui.command.session.last_user.title":"\u8DF3\u5230\u6700\u5F8C\u4E00\u689D\u4F7F\u7528\u8005\u8A0A\u606F","tui.command.session.message_next.title":"\u4E0B\u4E00\u689D\u8A0A\u606F","tui.command.session.message_previous.title":"\u4E0A\u4E00\u689D\u8A0A\u606F","tui.command.messages.copy.title":"\u8907\u88FD\u6700\u5F8C\u4E00\u689D\u52A9\u7406\u8A0A\u606F","tui.command.session.copy.title":"\u8907\u88FD\u5C0D\u8A71\u8A18\u9304","tui.command.session.export.title":"\u532F\u51FA\u5C0D\u8A71\u8A18\u9304","tui.command.session.child_first.title":"\u9032\u5165\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.parent.title":"\u8FD4\u56DE\u7236\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_next.title":"\u4E0B\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.session.child_previous.title":"\u4E0A\u4E00\u500B\u5B50\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.clear.title":"\u6E05\u7A7A\u8F38\u5165\u6846","tui.command.prompt.submit.title":"\u9001\u51FA\u63D0\u793A\u8A5E","tui.command.prompt.paste.title":"\u8CBC\u4E0A","tui.command.session.interrupt.title":"\u4E2D\u65B7\u5DE5\u4F5C\u968E\u6BB5","tui.command.prompt.editor.title":"\u958B\u555F\u7DE8\u8F2F\u5668","tui.command.prompt.skills.title":"\u6280\u80FD","tui.command.voice.toggle.title":"\u5207\u63DB\u8A9E\u97F3\u8F38\u5165","tui.command.voice.toggle.title_on":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.toggle.title_off":"\u8A9E\u97F3\u8F38\u5165\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.command.voice.send.title":"\u5207\u63DB\u8A9E\u97F3\u767C\u9001\u6307\u4EE4","tui.command.voice.send.title_on":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u958B\u555F \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.send.title_off":"\u8A9E\u97F3\u767C\u9001\uFF1A\u5DF2\u95DC\u9589 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.enabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u555F\u7528\uFF08\u7C21\u9AD4\u4E2D\u6587/\u82F1\u8A9E\uFF09\u2014 \u9EDE\u64CA [Voice] \u958B\u59CB\u9304\u97F3","tui.voice.disabled":"\u8A9E\u97F3\u8F38\u5165\u5DF2\u95DC\u9589","tui.voice.send.enabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u555F\u7528 \u2014 \u505C\u9813\u5F8C\u6E05\u6670\u5FF5\u51FA\u300C\u53D1\u9001\u300D\u5373\u53EF\u63D0\u4EA4","tui.voice.send.disabled":"\u8A9E\u97F3\u767C\u9001\u5DF2\u95DC\u9589","tui.voice.control.enabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u555F\u7528 \u2014 \u4F7F\u7528\u591A\u6A21\u614B\u6A21\u578B\u667A\u6167\u7DE8\u8F2F\uFF08\u8F03\u6162\uFF09","tui.voice.control.disabled":"\u8A9E\u97F3\u63A7\u5236\u5DF2\u95DC\u9589 \u2014 \u4F7F\u7528\u5FEB\u901F ASR \u8F49\u5BEB","tui.command.voice.control.title":"\u5207\u63DB\u8A9E\u97F3\u63A7\u5236\uFF08\u591A\u6A21\u614B\uFF09","tui.command.voice.control.title_on":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u958B\u555F\uFF08\u591A\u6A21\u614B\uFF09 \u2014 \u9EDE\u64CA\u95DC\u9589","tui.command.voice.control.title_off":"\u8A9E\u97F3\u63A7\u5236\uFF1A\u5DF2\u95DC\u9589\uFF08\u5FEB\u901F ASR\uFF09 \u2014 \u9EDE\u64CA\u958B\u555F","tui.voice.error.no_auth":"\u8ACB\u5148\u7528 /connect \u9023\u63A5 QitQode \u5E33\u865F\uFF0C\u6216\u914D\u7F6E voice.asr_model \u6307\u5B9A\u5176\u4ED6 provider","tui.voice.error.no_auth_provider":"\u8A9E\u97F3 provider\u300C{{provider}}\u300D\u672A\u8A8D\u8B49\uFF0C\u8ACB\u6AA2\u67E5\u5176 apiKey \u914D\u7F6E","tui.voice.error.provider_not_found":"provider\u300C{{provider}}\u300D\u4E0D\u53EF\u7528 \u2014 \u8ACB /connect \u9023\u63A5\uFF0C\u81EA\u5B9A\u7FA9\u7AEF\u9EDE\u9700\u5728\u914D\u7F6E\u4E2D\u8072\u660E models","tui.voice.error.no_url":"provider\u300C{{provider}}\u300D\u672A\u914D\u7F6E baseURL\uFF0C\u8ACB\u5728 options.baseURL \u4E2D\u6307\u5B9A","tui.voice.error.no_device":"\u672A\u5075\u6E2C\u5230\u9EA5\u514B\u98A8/\u97F3\u8A0A\u88DD\u7F6E \u2014 \u8ACB\u6AA2\u67E5\u7CFB\u7D71\u97F3\u8A0A\u8A2D\u5B9A","tui.voice.error.recorder_failed":"\u9304\u97F3\u5931\u6557","tui.voice.error.no_recorder":"\u672A\u5075\u6E2C\u5230\u9304\u97F3\u5DE5\u5177\uFF0C\u8ACB\u5B89\u88DD sox","tui.voice.error.too_short":"\u9304\u97F3\u6642\u9593\u904E\u77ED","tui.voice.error.network":"\u8F49\u5BEB\u5931\u6557\uFF0C\u8ACB\u6AA2\u67E5\u7DB2\u8DEF","tui.voice.error.empty_send":"\u7121\u5167\u5BB9\u53EF\u767C\u9001","tui.voice.error.unknown_agent":"\u672A\u627E\u5230 agent\u300C{{name}}\u300D","tui.command.prompt.stash.title":"\u66AB\u5B58\u63D0\u793A\u8A5E","tui.command.prompt.stash.pop.title":"\u5F48\u51FA\u66AB\u5B58","tui.command.prompt.stash.list.title":"\u66AB\u5B58\u6E05\u55AE","tui.command.tips.toggle.show":"\u986F\u793A Tips","tui.command.tips.toggle.hide":"\u96B1\u85CF Tips","tui.command.plugins.list.title":"\u5916\u639B","tui.command.plugins.install.title":"\u5B89\u88DD\u5916\u639B","tui.question.plan_enter.question":"\u662F\u5426\u5207\u63DB\u5230 plan \u6A21\u5F0F\u9032\u884C\u7D50\u69CB\u5316\u898F\u5283\uFF1F","tui.question.plan_enter.header":"\u9032\u5165\u8A08\u5283","tui.question.plan_enter.option.0.label":"\u662F","tui.question.plan_enter.option.0.description":"\u5207\u63DB\u5230 plan \u667A\u6167\u4EE3\u7406\u9032\u884C\u552F\u8B80\u898F\u5283","tui.question.plan_enter.option.1.label":"\u5426","tui.question.plan_enter.option.1.description":"\u7559\u5728\u7576\u524D\u6A21\u5F0F","tui.question.plan_exit.question":"{{plan}} \u7684\u8A08\u5283\u5DF2\u5B8C\u6210\u3002\u662F\u5426\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u958B\u59CB\u5BE6\u4F5C\uFF1F","tui.question.plan_exit.header":"\u9000\u51FA\u8A08\u5283","tui.question.plan_exit.option.0.label":"\u662F","tui.question.plan_exit.option.0.description":"\u5207\u63DB\u5230 build \u667A\u6167\u4EE3\u7406\u4E26\u958B\u59CB\u5BE6\u4F5C\u8A08\u5283","tui.question.plan_exit.option.1.label":"\u5426","tui.question.plan_exit.option.1.description":"\u7559\u5728 plan \u667A\u6167\u4EE3\u7406\u7E7C\u7E8C\u5B8C\u5584\u8A08\u5283","tui.session.badge.auto":"\u81EA\u52D5","trust.title":"\u5B58\u53D6\u5DE5\u4F5C\u5340\uFF1A","trust.safety_check":"\u5B89\u5168\u78BA\u8A8D\uFF1A\u9019\u662F\u4F60\u81EA\u5DF1\u5EFA\u7ACB\u6216\u4FE1\u4EFB\u7684\u5C08\u6848\u55CE\uFF1F\uFF08\u5982\u4F60\u81EA\u5DF1\u7684\u7A0B\u5F0F\u78BC\u3001\u77E5\u540D\u958B\u6E90\u5C08\u6848\u6216\u5718\u968A\u5167\u90E8\u5C08\u6848\uFF09\u3002\u5982\u679C\u4E0D\u662F\uFF0C\u8ACB\u5148\u6AA2\u67E5\u6B64\u76EE\u9304\u4E0B\u7684\u5167\u5BB9\u3002","trust.capabilities":"QitQode \u5C07\u80FD\u5920\u8B80\u53D6\u3001\u7DE8\u8F2F\u548C\u57F7\u884C\u6B64\u76EE\u9304\u4E2D\u7684\u6A94\u6848\u3002","trust.plugin_warn":"\u5982\u679C\u6B64\u76EE\u9304\u4E2D\u5B58\u5728\u60E1\u610F\u5916\u639B\u7A0B\u5F0F\uFF0C\u5B83\u5011\u53EF\u4EE5\u57F7\u884C\u4EFB\u610F\u7A0B\u5F0F\u78BC\u3001\u8B80\u53D6\u3001\u4FEE\u6539\u6216\u7ACA\u53D6\u4F60\u7684\u6A94\u6848\u3002","trust.option.yes":"\u662F\u7684\uFF0C\u6211\u4FE1\u4EFB\u6B64\u76EE\u9304","trust.option.no":"\u5426\uFF0C\u9000\u51FA","trust.dangerous.title_home":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u4E3B\u76EE\u9304\u3002","trust.dangerous.title_root":"\u8B66\u544A\uFF1A\u4F60\u5373\u5C07\u958B\u555F\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.body_home":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u4F60\u6240\u6709\u7684\u500B\u4EBA\u6A94\u6848 \u2014 SSH \u91D1\u9470\u3001\u6191\u8B49\u3001\u700F\u89BD\u5668\u8A2D\u5B9A\u6A94\u7B49\u4E3B\u76EE\u9304\u4E0B\u7684\u6240\u6709\u5167\u5BB9\u3002","trust.dangerous.body_root":"\u6A21\u578B\u5C07\u80FD\u5920\u5B58\u53D6\u6574\u500B\u6A94\u6848\u7CFB\u7D71 \u2014 \u7CFB\u7D71\u6A94\u6848\u3001\u6240\u6709\u4F7F\u7528\u8005\u8CC7\u6599\u3001\u6191\u8B49\u4EE5\u53CA\u9019\u53F0\u6A5F\u5668\u4E0A\u7684\u4E00\u5207\u3002","trust.dangerous.advice_home":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u4F60\u7684\u6574\u500B\u4E3B\u76EE\u9304\u3002","trust.dangerous.advice_root":"\u9664\u975E\u6709\u660E\u78BA\u7684\u7406\u7531\uFF0C\u5426\u5247\u4E0D\u8981\u4FE1\u4EFB\u6A94\u6848\u7CFB\u7D71\u6839\u76EE\u9304\u3002","trust.dangerous.option.yes":"\u6211\u4E86\u89E3\u98A8\u96AA\uFF0C\u50C5\u672C\u6B21\u4FE1\u4EFB","trust.dangerous.option.no":"\u9000\u51FA\uFF08\u63A8\u85A6\uFF09"};export{f as dict};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{As as d,Bs as l,Ds as uJ,Es as cJ,Hs as pJ,Is as iJ,Js as nJ,Ks as aJ,Ls as rJ,Ns as AQ,us as mJ,vs as vJ,ws as dJ,xs as lJ}from"./chunk-xdjwapwy.js";import{Rt as CQ,St as DQ,ou as FQ}from"./chunk-v0yxkq99.js";import{Bu as x,Ku as GJ}from"./chunk-kmtfdky8.js";import{$J as gJ,DH as RJ,EN as j,FH as VJ,GI as E,IH as hJ,JG as DJ,KG as FJ,LG as AJ,LI as yJ,MI as bJ,OF as BQ,PF as wQ,PP as g,QP as eJ,RD as GQ,RH as jJ,SF as $J,TF as UJ,TP as HQ,UC as wJ,UI as I,UP as WQ,VN as o,VP as R,XC as HJ,XG as t,XH as NJ,YF as zJ,YG as OJ,_C as WJ,_G as y,aD as $Q,dE as IJ,fC as tJ,gE as PJ,gI as kJ,hG as ZJ,iD as f,jE as T,kI as LJ,lH as TJ,mE as KJ,nI as SJ,rG as z,rI as xJ,sF as qQ,sH as EJ,vI as fJ,wH as MJ,xG as b,zF as _J,zG as CJ,zH as oJ}from"./chunk-ydc6ypjt.js";import{gQ as zQ,iQ as u,kQ as S}from"./chunk-4sazy0nq.js";var IX={};u(IX,{resource:()=>BJ,layer:()=>EQ,enabled:()=>OQ,Observability:()=>WX});var p={};u(p,{make:()=>IQ,layer:()=>ZX});var VQ=AJ.pipe(FJ,DJ((J)=>{if(lJ(J)&&J.reason._tag==="StatusCodeError"&&J.reason.response.status===429){let Q=HJ(J.reason.response.headers["retry-after"]).pipe(WJ(CJ),wJ(()=>5));return t(T(Q))}return t(T(1))})),sJ=E(function*(J){let Q=yield*jJ(),X=f(Q,b),Y=f(Q,UJ),$=fJ(Q),G=KJ(IJ(J.exportInterval),PJ),B=void 0,C=nJ(f(Q,pJ)).pipe(iJ(NJ(rJ,!1)),aJ({schedule:VQ,times:3})),V=vJ({"user-agent":`effect-opentelemetry-${J.label}/0.0.0`});if(J.headers)V=dJ(mJ(J.headers),V);let r=uJ(J.url,{headers:V}),O=[],s=OJ(()=>{if(B!==void 0&&X.currentTimeMillisUnsafe()<B)return y;else if(B!==void 0)B=void 0;let h=O;if(J.maxBatchSize!=="disabled"){if(O.length===0)return y;O=[]}return C.execute(cJ(r,J.body(h))).pipe(EJ,SJ(!1))}).pipe(MJ((h)=>{if(B!==void 0)return y;return B=X.currentTimeMillisUnsafe()+60000,O=[],yJ("Disabling exporter for 60 seconds",h)}),bJ({package:"@effect/opentelemetry",module:J.label}));return yield*zJ(Y,s.pipe(RJ,kJ,VJ(J.shutdownTimeout))),yield*hJ(G).pipe(TJ(s),LJ,xJ(Y)),{push(h){if(B!==void 0)return;if(O.push(h),J.maxBatchSize!=="disabled"&&O.length>=J.maxBatchSize)gJ($(s),Y)}}});var jQ=(J)=>{let Q=J.attributes?e(Object.entries(J.attributes)):[];if(Q.push({key:"service.name",value:{stringValue:J.serviceName}}),J.serviceVersion)Q.push({key:"service.version",value:{stringValue:J.serviceVersion}});return{attributes:Q,droppedAttributesCount:0}},JQ=E(function*(J){let Q={...yield*g(o(eJ(j,j)),"OTEL_RESOURCE_ATTRIBUTES"),...J?.attributes},X=J?.serviceName??Q["service.name"]??(yield*g(j,"OTEL_SERVICE_NAME"));delete Q["service.name"];let Y=J?.serviceVersion??Q["service.version"]??(yield*g(o(j),"OTEL_SERVICE_VERSION"));return delete Q["service.version"],jQ({serviceName:X,serviceVersion:Y,attributes:Q})},oJ),QQ=(J)=>{let Q=J.attributes.find((X)=>X.key==="service.name");if(!Q||!Q.value.stringValue)throw Error("Resource does not contain a service name");return Q.value.stringValue},e=(J)=>{let Q=[];for(let[X,Y]of J)Q.push({key:X,value:m(Y)});return Q},m=(J)=>{if(Array.isArray(J))return{arrayValue:{values:J.map(m)}};switch(typeof J){case"string":return{stringValue:J};case"bigint":return{intValue:Number(J)};case"number":return Number.isInteger(J)?{intValue:J}:{doubleValue:J};case"boolean":return{boolValue:J};default:return{stringValue:tJ(J)}}};var c={};u(c,{layerProtobuf:()=>YX,layerJson:()=>XX,OtlpSerialization:()=>M});var N={Varint:0,Fixed64:1,LengthDelimited:2,Fixed32:5},k=(J,Q)=>J<<3|Q,D=(J)=>{let Q=[],X=typeof J==="bigint"?J:BigInt(J);while(X>0x7fn)Q.push(Number(X&0x7fn)|128),X>>=7n;return Q.push(Number(X)),new Uint8Array(Q)};var kQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setBigUint64(0,J,!0),Q},LQ=(J)=>{let Q=new Uint8Array(4);return new DataView(Q.buffer).setUint32(0,J,!0),Q},SQ=(J)=>{let Q=new Uint8Array(8);return new DataView(Q.buffer).setFloat64(0,J,!0),Q},xQ=(J)=>new TextEncoder().encode(J),fQ=(J)=>{let Q=new Uint8Array(J.length/2);for(let X=0;X<J.length;X+=2)Q[X/2]=parseInt(J.slice(X,X+2),16);return Q},Z=(...J)=>{let Q=J.reduce(($,G)=>$+G.length,0),X=new Uint8Array(Q),Y=0;for(let $ of J)X.set($,Y),Y+=$.length;return X},q=(J,Q)=>Z(D(k(J,N.Varint)),D(Q));var JJ=(J,Q)=>q(J,Q?1:0),W=(J,Q)=>Z(D(k(J,N.Fixed64)),kQ(Q)),v=(J,Q)=>Z(D(k(J,N.Fixed32)),LQ(Q)),F=(J,Q)=>Z(D(k(J,N.Fixed64)),SQ(Q)),L=(J,Q)=>Z(D(k(J,N.LengthDelimited)),D(Q.length),Q),K=(J,Q)=>L(J,xQ(Q)),U=(J,Q)=>L(J,fQ(Q)),w=(J,Q)=>L(J,Q),_=(J,Q,X)=>Z(...Q.map((Y)=>w(J,X(Y))));var H=(J,Q)=>Q!==void 0&&Q!==""?K(J,Q):new Uint8Array(0);var QJ=(J)=>{if(J.stringValue!==void 0&&J.stringValue!==null)return K(1,J.stringValue);if(J.boolValue!==void 0&&J.boolValue!==null)return JJ(2,J.boolValue);if(J.intValue!==void 0&&J.intValue!==null)return q(3,BigInt(J.intValue));if(J.doubleValue!==void 0&&J.doubleValue!==null)return F(4,J.doubleValue);if(J.arrayValue!==void 0)return w(5,bQ(J.arrayValue));if(J.kvlistValue!==void 0)return w(6,gQ(J.kvlistValue));if(J.bytesValue!==void 0)return L(7,J.bytesValue);return new Uint8Array(0)},bQ=(J)=>_(1,J.values,QJ),gQ=(J)=>_(1,J.values,P),P=(J)=>Z(K(1,J.key),w(2,QJ(J.value))),XJ=(J)=>Z(K(1,J.name),H(2,J.version),J.attributes?_(3,J.attributes,P):new Uint8Array(0),J.droppedAttributesCount?q(4,J.droppedAttributesCount):new Uint8Array(0)),YJ=(J)=>Z(_(1,J.attributes,P),J.droppedAttributesCount>0?q(2,J.droppedAttributesCount):new Uint8Array(0));var mQ=(J)=>Z(H(2,J.message),q(3,J.code)),vQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),K(2,J.name),_(3,J.attributes,P),J.droppedAttributesCount>0?q(4,J.droppedAttributesCount):new Uint8Array(0)),dQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),_(4,J.attributes,P),J.droppedAttributesCount>0?q(5,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(6,J.flags):new Uint8Array(0)),lQ=(J)=>Z(U(1,J.traceId),U(2,J.spanId),H(3,J.traceState),J.parentSpanId!==void 0?U(4,J.parentSpanId):new Uint8Array(0),K(5,J.name),q(6,J.kind),W(7,BigInt(J.startTimeUnixNano)),W(8,BigInt(J.endTimeUnixNano)),_(9,J.attributes,P),J.droppedAttributesCount>0?q(10,J.droppedAttributesCount):new Uint8Array(0),_(11,J.events,vQ),J.droppedEventsCount>0?q(12,J.droppedEventsCount):new Uint8Array(0),_(13,J.links,dQ),J.droppedLinksCount>0?q(14,J.droppedLinksCount):new Uint8Array(0),w(15,mQ(J.status)),J.flags!==void 0?v(16,J.flags):new Uint8Array(0)),uQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.spans,lQ),H(3,J.schemaUrl)),cQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeSpans,uQ),H(3,J.schemaUrl)),XQ=(J)=>_(1,J.resourceSpans,cQ);var YQ=(J)=>Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),J.asDouble!==void 0?F(4,J.asDouble):new Uint8Array(0),J.asInt!==void 0?W(6,BigInt(J.asInt)):new Uint8Array(0),_(7,J.attributes,P),J.flags!==void 0?q(8,J.flags):new Uint8Array(0)),pQ=(J)=>{let Q=Z(...J.bucketCounts.map((Y)=>W(6,BigInt(Y)))),X=Z(...J.explicitBounds.map((Y)=>F(7,Y)));return Z(W(2,BigInt(J.startTimeUnixNano)),W(3,BigInt(J.timeUnixNano)),W(4,BigInt(J.count)),J.sum!==void 0?F(5,J.sum):new Uint8Array(0),Q,X,_(9,J.attributes,P),J.flags!==void 0?q(10,J.flags):new Uint8Array(0),J.min!==void 0?F(11,J.min):new Uint8Array(0),J.max!==void 0?F(12,J.max):new Uint8Array(0))},iQ=(J)=>_(1,J.dataPoints,YQ),nQ=(J)=>Z(_(1,J.dataPoints,YQ),q(2,J.aggregationTemporality),JJ(3,J.isMonotonic)),aQ=(J)=>Z(_(1,J.dataPoints,pQ),q(2,J.aggregationTemporality)),rQ=(J)=>Z(K(1,J.name),H(2,J.description),H(3,J.unit),J.gauge!==void 0?w(5,iQ(J.gauge)):new Uint8Array(0),J.sum!==void 0?w(7,nQ(J.sum)):new Uint8Array(0),J.histogram!==void 0?w(9,aQ(J.histogram)):new Uint8Array(0)),sQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.metrics,rQ),H(3,J.schemaUrl)),tQ=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeMetrics,sQ),H(3,J.schemaUrl)),ZQ=(J)=>_(1,J.resourceMetrics,tQ);var oQ=(J)=>Z(W(1,BigInt(J.timeUnixNano)),J.severityNumber!==void 0?q(2,J.severityNumber):new Uint8Array(0),H(3,J.severityText),J.body!==void 0?w(5,QJ(J.body)):new Uint8Array(0),_(6,J.attributes,P),J.droppedAttributesCount!==void 0&&J.droppedAttributesCount>0?q(7,J.droppedAttributesCount):new Uint8Array(0),J.flags!==void 0?v(8,J.flags):new Uint8Array(0),J.traceId!==void 0&&J.traceId!==""?U(9,J.traceId):new Uint8Array(0),J.spanId!==void 0&&J.spanId!==""?U(10,J.spanId):new Uint8Array(0),J.observedTimeUnixNano!==void 0?W(11,BigInt(J.observedTimeUnixNano)):new Uint8Array(0)),eQ=(J)=>Z(w(1,XJ(J.scope)),_(2,J.logRecords,oQ),H(3,J.schemaUrl)),JX=(J)=>Z(w(1,YJ(J.resource)),_(2,J.scopeLogs,eQ),H(3,J.schemaUrl)),_Q=(J)=>_(1,J.resourceLogs,JX);class M extends $Q()("effect/observability/OtlpSerialization"){}var XX=ZJ(M,{traces:(J)=>l(J),metrics:(J)=>l(J),logs:(J)=>l(J)}),YX=ZJ(M,{traces:(J)=>d(XQ(J),"application/x-protobuf"),metrics:(J)=>d(ZQ(J),"application/x-protobuf"),logs:(J)=>d(_Q(J),"application/x-protobuf")});var IQ=E(function*(J){let Q=yield*M,X=yield*JQ(J.resource),Y={name:QQ(X)},$=yield*sJ({label:"OtlpLogger",url:J.url,headers:J.headers,maxBatchSize:J.maxBatchSize??1000,exportInterval:J.exportInterval??T(1),body:(B)=>Q.logs({resourceLogs:[{resource:X,scopeLogs:[{scope:Y,logRecords:B}]}]}),shutdownTimeout:J.shutdownTimeout??T(3)}),G={excludeLogSpans:J.excludeLogSpans??!1,clock:yield*b};return HQ((B)=>{$.push(_X(B,G))})}),ZX=(J)=>WQ([IQ(J)],{mergeWithExisting:J.mergeWithExisting??!0}),_X=(J,Q)=>{let Y=Q.clock.currentTimeNanosUnsafe().toString(),$=J.date.getTime(),G=e(Object.entries(J.fiber.getRef(BQ)));if(G.push({key:"fiberId",value:{intValue:J.fiber.id}}),!Q.excludeLogSpans)for(let[V,r]of J.fiber.getRef(wQ))G.push({key:`logSpan.${V}`,value:{stringValue:`${$-r}ms`}});if(J.cause.reasons.length>0)G.push({key:"log.error",value:{stringValue:qQ(J.cause)}});let B=GQ(J.message),C={severityNumber:$X(J.logLevel),severityText:J.logLevel,timeUnixNano:Y,observedTimeUnixNano:Y,attributes:G,body:m(B.length===1?B[0]:B),droppedAttributesCount:0};if(J.fiber.currentSpan)C.traceId=J.fiber.currentSpan.traceId,C.spanId=J.fiber.currentSpan.spanId;return C},$X=(J)=>{switch(J){case"Trace":return A.SEVERITY_NUMBER_TRACE;case"Debug":return A.SEVERITY_NUMBER_DEBUG;case"Info":return A.SEVERITY_NUMBER_INFO;case"Warn":return A.SEVERITY_NUMBER_WARN;case"Error":return A.SEVERITY_NUMBER_ERROR;case"Fatal":return A.SEVERITY_NUMBER_FATAL;default:return A.SEVERITY_NUMBER_UNSPECIFIED}},A={SEVERITY_NUMBER_UNSPECIFIED:0,SEVERITY_NUMBER_TRACE:1,SEVERITY_NUMBER_TRACE2:2,SEVERITY_NUMBER_TRACE3:3,SEVERITY_NUMBER_TRACE4:4,SEVERITY_NUMBER_DEBUG:5,SEVERITY_NUMBER_DEBUG2:6,SEVERITY_NUMBER_DEBUG3:7,SEVERITY_NUMBER_DEBUG4:8,SEVERITY_NUMBER_INFO:9,SEVERITY_NUMBER_INFO2:10,SEVERITY_NUMBER_INFO3:11,SEVERITY_NUMBER_INFO4:12,SEVERITY_NUMBER_WARN:13,SEVERITY_NUMBER_WARN2:14,SEVERITY_NUMBER_WARN3:15,SEVERITY_NUMBER_WARN4:16,SEVERITY_NUMBER_ERROR:17,SEVERITY_NUMBER_ERROR2:18,SEVERITY_NUMBER_ERROR3:19,SEVERITY_NUMBER_ERROR4:20,SEVERITY_NUMBER_FATAL:21,SEVERITY_NUMBER_FATAL2:22,SEVERITY_NUMBER_FATAL3:23,SEVERITY_NUMBER_FATAL4:24};var UQ={};u(UQ,{logger:()=>n,layer:()=>qJ,create:()=>KQ});var GX=(J)=>J==="sessionID"?"session.id":J,PQ=(J)=>Object.fromEntries(Object.entries(J??{}).filter((Q)=>Q[1]!==void 0&&Q[1]!==null).map(([Q,X])=>[GX(Q),X])),qX=(J)=>{if(Array.isArray(J))return J.map((Q)=>String(Q)).join(" ");return J===void 0?"":String(J)},i=(J,Q,X,Y)=>{let $=PQ({...Q,...Y}),G=J(X);return Object.keys($).length?I.annotateLogs(G,$):G},n=R.make((J)=>{let Q=PQ(J.fiber.getRef($J.CurrentLogAnnotations)),X=J.date.getTime();for(let[B,C]of J.fiber.getRef($J.CurrentLogSpans))Q[`logSpan.${B}`]=`${X-C}ms`;if(J.cause.reasons.length>0)Q.cause=_J.pretty(J.cause);let Y=typeof Q.service==="string"?Q.service:void 0;if(Y)delete Q.service;let $=Y?GJ.create({service:Y}):GJ.Default,G=qX(J.message);switch(J.logLevel){case"Trace":case"Debug":return $.debug(G,Q);case"Warn":return $.warn(G,Q);case"Error":case"Fatal":return $.error(G,Q);default:return $.info(G,Q)}}),qJ=R.layer([n],{mergeWithExisting:!1}),KQ=(J={})=>({debug:(Q,X)=>i((Y)=>I.logDebug(Y),J,Q,X),info:(Q,X)=>i((Y)=>I.logInfo(Y),J,Q,X),warn:(Q,X)=>i((Y)=>I.logWarning(Y),J,Q,X),error:(Q,X)=>i((Y)=>I.logError(Y),J,Q,X),with:(Q)=>KQ({...J,...Q})});var a=x.OTEL_EXPORTER_OTLP_ENDPOINT,OQ=!!a,BX=crypto.randomUUID(),TQ=x.OTEL_EXPORTER_OTLP_HEADERS?x.OTEL_EXPORTER_OTLP_HEADERS.split(",").reduce((J,Q)=>{let[X,...Y]=Q.split("=");return J[X]=Y.join("="),J},{}):void 0;function BJ(){let J=FQ("main"),Q=(()=>{let X=process.env.OTEL_RESOURCE_ATTRIBUTES;if(!X)return{};try{return Object.fromEntries(X.split(",").map((Y)=>{let $=Y.indexOf("=");if($<1)throw Error("Invalid OTEL_RESOURCE_ATTRIBUTES entry");return[decodeURIComponent(Y.slice(0,$)),decodeURIComponent(Y.slice($+1))]}))}catch{return{}}})();return{serviceName:"qitqode",serviceVersion:CQ,attributes:{...Q,"deployment.environment.name":DQ,"qitqode.client":x.QITQODE_CLIENT,"qitqode.process_role":J.processRole,"qitqode.run_id":J.runID,"service.instance.id":BX}}}function wX(){return R.layer([n,p.make({url:`${a}/v1/logs`,resource:BJ(),headers:TQ})],{mergeWithExisting:!1}).pipe(z.provide(c.layerJson),z.provide(AQ.layer))}var HX=async()=>{let J=await import("./chunk-tdxbm1nd.js"),Q=await import("./chunk-zxddasg8.js"),X=await import("./chunk-3bkdbqjj.js"),{AsyncLocalStorageContextManager:Y}=await import("./chunk-yzwgvjzd.js").then((m)=>zQ(m.default,1)),{context:$}=await import("./chunk-wnjqaxze.js").then((m)=>zQ(m.default,1)),G=new Y;return G.enable(),$.setGlobalContextManager(G),J.layer(()=>({resource:BJ(),spanProcessor:new X.BatchSpanProcessor(new Q.OTLPTraceExporter({url:`${a}/v1/traces`,headers:TQ}))}))},EQ=!a?qJ:z.unwrap(I.gen(function*(){let J=yield*I.promise(HX);return z.mergeAll(J,wX())})),WX={enabled:OQ,layer:EQ};var aX=z.makeMemoMapUnsafe();
|
|
3
|
+
export{qJ as os,UQ as ps,EQ as qs,WX as rs,IX as ss,aX as ts};
|