@qitqode/qitqode-android-arm64 0.1.24 → 0.1.25
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-4kse3awh.js → chunk-0304b7xg.js} +1 -1
- package/bundle/{chunk-hqg5qbxk.js → chunk-08ba67f4.js} +1 -1
- package/bundle/chunk-0eneddjj.js +2 -0
- package/bundle/{chunk-6nhje520.js → chunk-0hsb4knd.js} +1 -1
- package/bundle/{chunk-bas6x25m.js → chunk-0jaxgrq0.js} +2 -2
- package/bundle/chunk-0ke6x10y.js +5 -0
- package/bundle/{chunk-hh4c02fh.js → chunk-0rmmg3g4.js} +1 -1
- package/bundle/chunk-0vqrakhw.js +3 -0
- package/bundle/{chunk-sgtgvzv6.js → chunk-0x7dbj5e.js} +1 -1
- package/bundle/{chunk-7yf15a3a.js → chunk-0xmx2zfg.js} +1 -1
- package/bundle/chunk-0yb4pxjv.js +2 -0
- package/bundle/chunk-129kq1w7.js +2 -0
- package/bundle/{chunk-8cr7ks31.js → chunk-14qvaxtp.js} +1 -1
- package/bundle/chunk-1a5hq7d5.js +2 -0
- package/bundle/{chunk-k16hzy2q.js → chunk-1ce5jpdc.js} +1 -1
- package/bundle/{chunk-xv8gnkh5.js → chunk-1e8mja6v.js} +1 -1
- package/bundle/{chunk-cy2586rv.js → chunk-1n1dh6zj.js} +1 -1
- package/bundle/{chunk-pb7rnkke.js → chunk-1txkz6dt.js} +1 -1
- package/bundle/chunk-1w3y1dkk.js +2 -0
- package/bundle/{chunk-v7r9np94.js → chunk-23f6rc7a.js} +1 -1
- package/bundle/chunk-26qt44f1.js +3 -0
- package/bundle/{chunk-6mscvf6y.js → chunk-2armxd20.js} +1 -1
- package/bundle/{chunk-21ejqv4v.js → chunk-2je5tp0x.js} +1 -1
- package/bundle/{chunk-0rtshz2r.js → chunk-2k2axg73.js} +1 -1
- package/bundle/chunk-2pkake0h.js +2 -0
- package/bundle/{chunk-7y3y3j51.js → chunk-2rxt1s22.js} +2 -2
- package/bundle/{chunk-te1zfpzv.js → chunk-2s28fdbp.js} +1 -1
- package/bundle/{chunk-8pe047p0.js → chunk-2sy1wx99.js} +1 -1
- package/bundle/{chunk-9easaxy7.js → chunk-2z35ewwc.js} +1 -1
- package/bundle/{chunk-zeh481tm.js → chunk-2zj3h3xj.js} +2 -2
- package/bundle/chunk-32188rww.js +2 -0
- package/bundle/chunk-334tc1rh.js +2 -0
- package/bundle/{chunk-tzc4jkzg.js → chunk-3dvyfmgc.js} +1 -1
- package/bundle/{chunk-q3x4x2tq.js → chunk-3e8p4a3y.js} +1 -1
- package/bundle/{chunk-7mhffm9f.js → chunk-3f054f69.js} +183 -183
- package/bundle/chunk-3ff94m8r.js +2 -0
- package/bundle/{chunk-7a6p7dfx.js → chunk-3fy57jcy.js} +1 -1
- package/bundle/{chunk-ve5gb789.js → chunk-3h08jdq8.js} +2 -2
- package/bundle/{chunk-w7p2x973.js → chunk-3j7skhxg.js} +2 -2
- package/bundle/{chunk-p4hpr8d7.js → chunk-3jhx8g5d.js} +1 -1
- package/bundle/{chunk-jr9xnvjq.js → chunk-3nhth7c2.js} +1 -1
- package/bundle/{chunk-8ace31r2.js → chunk-3tnek022.js} +1 -1
- package/bundle/{chunk-rvvfs9ps.js → chunk-3xna2rk5.js} +1 -1
- package/bundle/{chunk-k9d927xe.js → chunk-42t25nkb.js} +1 -1
- package/bundle/chunk-4aqd2bty.js +2 -0
- package/bundle/{chunk-am73j1bt.js → chunk-4kb2efq3.js} +1 -1
- package/bundle/{chunk-wmw2gne9.js → chunk-4pssh5d3.js} +2 -2
- package/bundle/{chunk-pyq01301.js → chunk-4stgw33j.js} +1 -1
- package/bundle/{chunk-k9g77a02.js → chunk-4w5t515p.js} +1 -1
- package/bundle/chunk-4wa0gf8y.js +28 -0
- package/bundle/{chunk-jegn6jc3.js → chunk-4wgb80jm.js} +2 -2
- package/bundle/{chunk-jbd9k041.js → chunk-4wyjapes.js} +2 -2
- package/bundle/chunk-4xg5ptk9.js +2 -0
- package/bundle/{chunk-23geekk5.js → chunk-54pk7nna.js} +1 -1
- package/bundle/chunk-58680z2j.js +3 -0
- package/bundle/{chunk-ygj1cy0n.js → chunk-5mdsrv0a.js} +1 -1
- package/bundle/{chunk-xj73j10a.js → chunk-5mp82az0.js} +1 -1
- package/bundle/chunk-5nm36wxa.js +2 -0
- package/bundle/{chunk-7tgm8wp5.js → chunk-5zw7knvd.js} +1 -1
- package/bundle/{chunk-yz7rqzby.js → chunk-61ks7c71.js} +3 -3
- package/bundle/chunk-64jet8nc.js +2 -0
- package/bundle/chunk-6584d9m8.js +2 -0
- package/bundle/chunk-66hv9bbw.js +2 -0
- package/bundle/{chunk-mj24ntn9.js → chunk-692vn48b.js} +1 -1
- package/bundle/chunk-6a1g6jzn.js +2 -0
- package/bundle/chunk-6be8p915.js +2 -0
- package/bundle/{chunk-8651hq0k.js → chunk-6ddp36ar.js} +1 -1
- package/bundle/chunk-6f03158n.js +2 -0
- package/bundle/{chunk-zavtsfxz.js → chunk-6gbaw2pk.js} +1 -1
- package/bundle/{chunk-5h2hcp46.js → chunk-6rrmjrm2.js} +1 -1
- package/bundle/{chunk-ps543k72.js → chunk-6s2f5sv4.js} +1 -1
- package/bundle/{chunk-9jf67xb0.js → chunk-754varfr.js} +2 -2
- package/bundle/{chunk-wa2ce2sg.js → chunk-78h5dd4t.js} +2 -2
- package/bundle/{chunk-4d1a547n.js → chunk-7d6jhzng.js} +1 -1
- package/bundle/{chunk-kc3hpmr2.js → chunk-7fx6x8x9.js} +2 -2
- package/bundle/chunk-7jnjttqx.js +2 -0
- package/bundle/{chunk-jz3aav8a.js → chunk-7q5srx7q.js} +2 -2
- package/bundle/chunk-7q8pa6s8.js +2 -0
- package/bundle/{chunk-vvypb02q.js → chunk-7qvkyjjg.js} +1 -1
- package/bundle/{chunk-8r79zf3y.js → chunk-7rjf9b8n.js} +2 -2
- package/bundle/{chunk-t488d66k.js → chunk-7v4fzkbb.js} +1 -1
- package/bundle/chunk-7w84hfxs.js +3 -0
- package/bundle/{chunk-8717htya.js → chunk-7ws3gdjq.js} +1 -1
- package/bundle/{chunk-va4davgy.js → chunk-87x607rz.js} +259 -253
- package/bundle/{chunk-vftqwdpg.js → chunk-8ahpk8td.js} +1 -1
- package/bundle/{chunk-9vcw33dv.js → chunk-8atry88r.js} +1 -1
- package/bundle/chunk-8casywce.js +2 -0
- package/bundle/{chunk-tsn1jkr7.js → chunk-8cty50g7.js} +1 -1
- package/bundle/{chunk-qywwj58s.js → chunk-8gy99gfb.js} +2 -2
- package/bundle/chunk-8hxwxt5p.js +2 -0
- package/bundle/{chunk-58enbars.js → chunk-8jcx4tep.js} +2 -2
- package/bundle/chunk-8y8140dm.js +2 -0
- package/bundle/{chunk-frdc3ysq.js → chunk-8za87zkr.js} +1 -1
- package/bundle/{chunk-2qcndbxv.js → chunk-99p5m2f1.js} +1 -1
- package/bundle/{chunk-y3n31nnx.js → chunk-9dpn4792.js} +2 -2
- package/bundle/chunk-9dqcyt6x.js +2 -0
- package/bundle/{chunk-7gczzccz.js → chunk-9f6pqped.js} +1 -1
- package/bundle/chunk-9he248a8.js +2 -0
- package/bundle/{chunk-8h9r6c8g.js → chunk-9jncnqbj.js} +2 -2
- package/bundle/{chunk-cvchztkc.js → chunk-9jvnc14g.js} +1 -1
- package/bundle/chunk-9qmmse2n.js +2 -0
- package/bundle/chunk-9r6bvkp4.js +8 -0
- package/bundle/{chunk-dkv2mg97.js → chunk-9va5eh9s.js} +1 -1
- package/bundle/{chunk-hg563h5r.js → chunk-9w5rx0fb.js} +2 -2
- package/bundle/{chunk-xccs5c50.js → chunk-a27yjp71.js} +1 -1
- package/bundle/chunk-aabrsxrq.js +2 -0
- package/bundle/{chunk-dkm7x8rj.js → chunk-ag9thqkv.js} +2 -2
- package/bundle/chunk-amx3x4kd.js +3 -0
- package/bundle/{chunk-ktmazmas.js → chunk-aqm597px.js} +2 -2
- package/bundle/chunk-atd0q4v8.js +3 -0
- package/bundle/{chunk-ewyk4py6.js → chunk-av290sja.js} +1 -1
- package/bundle/chunk-avaba4sr.js +2 -0
- package/bundle/{chunk-dgzyn27r.js → chunk-aw0q4y3s.js} +1 -1
- package/bundle/{chunk-4k149ews.js → chunk-b2xya6pq.js} +1 -1
- package/bundle/{chunk-3tdqsm5c.js → chunk-b50t4jc5.js} +1 -1
- package/bundle/chunk-bdy1etja.js +2 -0
- package/bundle/{chunk-6szvs3k9.js → chunk-bnc4626b.js} +1 -1
- package/bundle/{chunk-fm4xa6yx.js → chunk-bpnpxdyv.js} +2 -2
- package/bundle/chunk-bqdvqmjc.js +2 -0
- package/bundle/chunk-bqs6a1ts.js +14 -0
- package/bundle/{chunk-78bajmqm.js → chunk-bsqcfqya.js} +1 -1
- package/bundle/{chunk-ecwz9nhs.js → chunk-c1ypbbka.js} +2 -2
- package/bundle/{chunk-1jsywey3.js → chunk-c27rpvdz.js} +1 -1
- package/bundle/chunk-cdws8ggq.js +2 -0
- package/bundle/{chunk-6j0365q3.js → chunk-cjxp72dv.js} +2 -2
- package/bundle/chunk-cqs9a2cs.js +2 -0
- package/bundle/{chunk-3wzqs241.js → chunk-crap29f6.js} +1 -1
- package/bundle/{chunk-1jh5p5qw.js → chunk-d0m7nbbx.js} +2 -2
- package/bundle/chunk-d0rjst58.js +2 -0
- package/bundle/{chunk-2eardzxs.js → chunk-d1bsxz2t.js} +1 -1
- package/bundle/{chunk-b6m4yyww.js → chunk-d5b0bqbr.js} +1 -1
- package/bundle/chunk-d833a2fj.js +2 -0
- package/bundle/{chunk-tk3bve0x.js → chunk-dd11kryy.js} +2 -2
- package/bundle/chunk-dday4nm2.js +2 -0
- package/bundle/{chunk-qw2hgs5b.js → chunk-ddxjc803.js} +2 -2
- package/bundle/{chunk-3tkp27x7.js → chunk-dee1a3yk.js} +2 -2
- package/bundle/{chunk-q6fbyvpq.js → chunk-dgggvses.js} +1 -1
- package/bundle/{chunk-apq38bt4.js → chunk-dk3z4k46.js} +3 -3
- package/bundle/{chunk-wf09j72q.js → chunk-e075v4e9.js} +2 -2
- package/bundle/{chunk-1xyn0sp2.js → chunk-e1pwnf0b.js} +2 -2
- package/bundle/chunk-e2sj30hk.js +2 -0
- package/bundle/{chunk-dann9gfq.js → chunk-eaatrmcg.js} +1 -1
- package/bundle/{chunk-1y9t7nxn.js → chunk-eg7drzzt.js} +1 -1
- package/bundle/chunk-enc0fykg.js +2 -0
- package/bundle/chunk-evan93av.js +2 -0
- package/bundle/{chunk-9f7y0dj0.js → chunk-evmfntm3.js} +1 -1
- package/bundle/{chunk-2gxjjqfx.js → chunk-ey4ktbyb.js} +1 -1
- package/bundle/{chunk-sswbfqcq.js → chunk-f55txcsa.js} +1 -1
- package/bundle/chunk-f600dzsr.js +2 -0
- package/bundle/chunk-f6jzwydk.js +2 -0
- package/bundle/{chunk-s9amvacw.js → chunk-f84cd0a1.js} +2 -2
- package/bundle/{chunk-6sdh1q7g.js → chunk-fgw420gb.js} +1 -1
- package/bundle/chunk-fv67ng8z.js +2 -0
- package/bundle/{chunk-x6z2b63w.js → chunk-g3s2z5xa.js} +1 -1
- package/bundle/{chunk-9xvctnjr.js → chunk-g4qwkcdv.js} +1 -1
- package/bundle/{chunk-3nhqd8wg.js → chunk-g73drh98.js} +3 -3
- package/bundle/{chunk-0pvbk8ks.js → chunk-gaen9ya4.js} +2 -2
- package/bundle/{chunk-ac202abt.js → chunk-gefh32jb.js} +1 -1
- package/bundle/chunk-gevazsx3.js +2 -0
- package/bundle/{chunk-n1chdwrs.js → chunk-gfmfrkxc.js} +1 -1
- package/bundle/{chunk-sjrmhd3e.js → chunk-ggeena9t.js} +1 -1
- package/bundle/chunk-gh18pzkx.js +2 -0
- package/bundle/chunk-gnvvgr4y.js +2 -0
- package/bundle/{chunk-4q9w2yve.js → chunk-grkkzrg1.js} +2 -2
- package/bundle/chunk-gsbjs2ws.js +2 -0
- package/bundle/{chunk-gff87y4n.js → chunk-gsz1wqy6.js} +1 -1
- package/bundle/{chunk-vf1r5ckp.js → chunk-gvtw9c44.js} +1 -1
- package/bundle/chunk-gw0j8hr9.js +3 -0
- package/bundle/{chunk-cesrhm09.js → chunk-h19ty95q.js} +1 -1
- package/bundle/{chunk-9nx8hm57.js → chunk-h2fh1g8g.js} +1 -1
- package/bundle/{chunk-p54bzjtv.js → chunk-h56jxxvj.js} +1 -1
- package/bundle/{chunk-jmjg8d8a.js → chunk-hmfefq0d.js} +4 -4
- package/bundle/{chunk-gn7xgd4c.js → chunk-hvpe07pt.js} +1 -1
- package/bundle/{chunk-gvzfffr4.js → chunk-hwbxehhf.js} +1 -1
- package/bundle/{chunk-zp2ffbc2.js → chunk-hznsed5n.js} +2 -2
- package/bundle/{chunk-w1atxyz0.js → chunk-j5b5h08g.js} +1 -1
- package/bundle/chunk-j7pdz979.js +2 -0
- package/bundle/{chunk-02txthqv.js → chunk-j9s62g01.js} +2 -2
- package/bundle/chunk-jfe2qbv8.js +2 -0
- package/bundle/{chunk-wj6aq50n.js → chunk-jgs6ngte.js} +1 -1
- package/bundle/{chunk-ep8zn49w.js → chunk-jhq5bvhs.js} +2 -2
- package/bundle/{chunk-2z6fzwyc.js → chunk-jq81hb32.js} +2 -2
- package/bundle/{chunk-dcx8hjbs.js → chunk-jqzejny3.js} +1 -1
- package/bundle/{chunk-j1veq3zr.js → chunk-jtrcnpm7.js} +2 -2
- package/bundle/{chunk-hbnr0j7h.js → chunk-jv98gw88.js} +2 -2
- package/bundle/{chunk-e346x00p.js → chunk-jvaffe5d.js} +1 -1
- package/bundle/chunk-k6zvb8xm.js +2 -0
- package/bundle/{chunk-5y8efy5b.js → chunk-k8bp3jjv.js} +1 -1
- package/bundle/{chunk-0ae5q6ck.js → chunk-kb14wxcs.js} +2 -2
- package/bundle/chunk-kcht9kvx.js +2 -0
- package/bundle/{chunk-edvcz2gd.js → chunk-kdcspxvq.js} +1 -1
- package/bundle/{chunk-t6w96xq2.js → chunk-kdct3e8s.js} +1 -1
- package/bundle/{chunk-1fnmkm0z.js → chunk-kgsq240v.js} +2 -2
- package/bundle/chunk-knvsa1d4.js +2 -0
- package/bundle/chunk-kp6d68hd.js +2 -0
- package/bundle/{chunk-jpygkh1c.js → chunk-kwm87f18.js} +1 -1
- package/bundle/{chunk-1p34bx7c.js → chunk-kyny0t2g.js} +2 -2
- package/bundle/{chunk-b8ag61vj.js → chunk-m2ang7yb.js} +1 -1
- package/bundle/{chunk-99n6czag.js → chunk-mbh1pdv9.js} +2 -2
- package/bundle/{chunk-y1srca0c.js → chunk-mczw8e3s.js} +2 -2
- package/bundle/chunk-me78p9x4.js +2 -0
- package/bundle/{chunk-g7vkkmsk.js → chunk-meaybtcc.js} +3 -3
- package/bundle/{chunk-9rqrm9y8.js → chunk-mkdyknbz.js} +1 -1
- package/bundle/{chunk-bf146hz2.js → chunk-mkyrg7gt.js} +2 -2
- package/bundle/{chunk-0pbt75ev.js → chunk-mr7agwgn.js} +1 -1
- package/bundle/{chunk-0w4v0fbs.js → chunk-msm3r7ny.js} +2 -2
- package/bundle/chunk-mv1d7wyt.js +2 -0
- package/bundle/{chunk-hh3w51wp.js → chunk-mybpgrjj.js} +2 -2
- package/bundle/{chunk-gf4ek7rv.js → chunk-n8dcmjph.js} +1 -1
- package/bundle/chunk-n8xmmxh5.js +2 -0
- package/bundle/chunk-n90219q9.js +2 -0
- package/bundle/chunk-nckg3ydx.js +2 -0
- package/bundle/{chunk-a5zjrwqy.js → chunk-nf8gkxbk.js} +2 -2
- package/bundle/chunk-nhaenjw3.js +2 -0
- package/bundle/chunk-nhtrt5ec.js +2 -0
- package/bundle/{chunk-6dxaty1v.js → chunk-nhx2xp2x.js} +1 -1
- package/bundle/{chunk-najzfhb2.js → chunk-nmnsf3fc.js} +1 -1
- package/bundle/{chunk-84gnbzky.js → chunk-nqefvn28.js} +1 -1
- package/bundle/{chunk-v2kyarwz.js → chunk-p409grvp.js} +2 -2
- package/bundle/chunk-p72n0tfq.js +2 -0
- package/bundle/{chunk-jr8qcf99.js → chunk-p80dc6kt.js} +2 -2
- package/bundle/{chunk-2wp1w8cy.js → chunk-p883sz67.js} +1 -1
- package/bundle/{chunk-fdezde1z.js → chunk-p8enedkf.js} +1 -1
- package/bundle/chunk-pd33qvr0.js +2 -0
- package/bundle/{chunk-d56zc21w.js → chunk-pepn5jp4.js} +1 -1
- package/bundle/chunk-pf7cj4jd.js +3 -0
- package/bundle/{chunk-bd21p9zz.js → chunk-pfn1db1m.js} +2 -2
- package/bundle/{chunk-srf73nm4.js → chunk-pk0tytcm.js} +1 -1
- package/bundle/chunk-pq3622ae.js +2 -0
- package/bundle/{chunk-ebjhggdw.js → chunk-psveqqv2.js} +1 -1
- package/bundle/{chunk-wfnk2vsd.js → chunk-pvee151a.js} +1 -1
- package/bundle/chunk-qatj4h6b.js +2 -0
- package/bundle/{chunk-3vbtra1j.js → chunk-qdnxv55k.js} +1 -1
- package/bundle/{chunk-gen6f3dn.js → chunk-qe0sfafy.js} +2 -2
- package/bundle/chunk-qfz0a58d.js +2 -0
- package/bundle/chunk-qjwfj51e.js +2 -0
- package/bundle/chunk-qkg73rs9.js +2 -0
- package/bundle/{chunk-5kmfnkzv.js → chunk-qm9ezq93.js} +1 -1
- package/bundle/{chunk-5rkmhzq0.js → chunk-qnqqrvvs.js} +2 -2
- package/bundle/{chunk-9pe4agdz.js → chunk-qnv2v02g.js} +2 -2
- package/bundle/{chunk-7dckfame.js → chunk-qpm5afdz.js} +1 -1
- package/bundle/chunk-qvcfst7n.js +11 -0
- package/bundle/{chunk-r48g0kaq.js → chunk-rgecc41f.js} +2 -2
- package/bundle/chunk-rjcptzem.js +8 -0
- package/bundle/{chunk-hh9a709t.js → chunk-rjf21v5c.js} +1 -1
- package/bundle/chunk-rmsqb6r4.js +10 -0
- package/bundle/{chunk-2mmspnr3.js → chunk-rq4hqwjy.js} +1 -1
- package/bundle/chunk-rqrpbcm6.js +2 -0
- package/bundle/{chunk-ftk58wxe.js → chunk-rs1mm5ef.js} +1 -1
- package/bundle/{chunk-a9y27zd2.js → chunk-rze20q68.js} +1 -1
- package/bundle/chunk-s76hdgw6.js +2 -0
- package/bundle/chunk-s7vhjg9e.js +2 -0
- package/bundle/{chunk-fkvccmgk.js → chunk-se79ke63.js} +2 -2
- package/bundle/chunk-sec3a60m.js +2 -0
- package/bundle/chunk-sjnt5e6w.js +2 -0
- package/bundle/chunk-sntb757q.js +2 -0
- package/bundle/chunk-svscftd7.js +2 -0
- package/bundle/chunk-sx0cabcs.js +2 -0
- package/bundle/{chunk-gn9p1d50.js → chunk-sx5m81em.js} +1 -1
- package/bundle/chunk-syhay5ye.js +7 -0
- package/bundle/{chunk-9798jffg.js → chunk-t07a5431.js} +1 -1
- package/bundle/{chunk-c31k8yh0.js → chunk-t0amhhsk.js} +1 -1
- package/bundle/{chunk-pfhp78cr.js → chunk-t2tsyazc.js} +1 -1
- package/bundle/{chunk-spm1yy6w.js → chunk-tdmaxc6n.js} +1 -1
- package/bundle/{chunk-gc9q0x8z.js → chunk-tf1me2r4.js} +3 -3
- package/bundle/{chunk-zfnbk5gy.js → chunk-tfggzzqw.js} +1 -1
- package/bundle/chunk-tmdm6vm6.js +2 -0
- package/bundle/{chunk-9sy9ws1w.js → chunk-v4xgceeq.js} +1 -1
- package/bundle/chunk-v6g0ksks.js +2 -0
- package/bundle/chunk-v7ah9gg0.js +3 -0
- package/bundle/{chunk-kr0fsqas.js → chunk-vb4e7y4d.js} +1 -1
- package/bundle/chunk-vbf73c7z.js +2 -0
- package/bundle/chunk-vbf9jpas.js +2 -0
- package/bundle/{chunk-r3yqe7x0.js → chunk-veev25yg.js} +1 -1
- package/bundle/{chunk-kaeyhw2n.js → chunk-vfj5nwab.js} +2 -2
- package/bundle/{chunk-6g3m7yxf.js → chunk-vmgknvxs.js} +2 -2
- package/bundle/{chunk-2y8qz8te.js → chunk-vq6bh2z9.js} +1 -1
- package/bundle/{chunk-b643cra9.js → chunk-vqq5vmh1.js} +195 -195
- package/bundle/chunk-vrcf5q4s.js +2 -0
- package/bundle/chunk-vxrsp6n7.js +2 -0
- package/bundle/chunk-w8ax3pvh.js +2 -0
- package/bundle/chunk-w98r39gd.js +9 -0
- package/bundle/{chunk-j1a64ade.js → chunk-wb69d52j.js} +2 -2
- package/bundle/{chunk-hg9nk090.js → chunk-wrgg270f.js} +1 -1
- package/bundle/{chunk-yzdty5t9.js → chunk-ww8ear80.js} +2 -2
- package/bundle/{chunk-ha1w0xzh.js → chunk-x36jhtex.js} +1 -1
- package/bundle/{chunk-hjbks7r9.js → chunk-x6b99nt3.js} +1 -1
- package/bundle/{chunk-yh174jhg.js → chunk-xdde80rf.js} +2 -2
- package/bundle/{chunk-17ggas8k.js → chunk-xjrt0dta.js} +1 -1
- package/bundle/chunk-xk2cmh49.js +2 -0
- package/bundle/{chunk-f819a7ec.js → chunk-xqa6qkx2.js} +1 -1
- package/bundle/{chunk-f3kjp838.js → chunk-xw283h2r.js} +2 -2
- package/bundle/{chunk-82gs5cmn.js → chunk-xy4t5qf8.js} +1 -1
- package/bundle/{chunk-0w0jfzb4.js → chunk-xyn3xxfs.js} +1 -1
- package/bundle/chunk-xzhkfctf.js +2 -0
- package/bundle/chunk-y0xt5a6g.js +2 -0
- package/bundle/{chunk-hxgb0y1w.js → chunk-ybn8tb09.js} +1 -1
- package/bundle/chunk-ydmrvx7q.js +2 -0
- package/bundle/{chunk-ns0pswww.js → chunk-ydsen7w0.js} +1 -1
- package/bundle/{chunk-hv4nhx6q.js → chunk-yhqk8bzk.js} +2 -2
- package/bundle/{chunk-g0v9g37f.js → chunk-ykfq8bem.js} +1 -1
- package/bundle/{chunk-r7xp0xcn.js → chunk-ym4ydwrz.js} +2 -2
- package/bundle/{chunk-4tn69nqs.js → chunk-yzchwmb4.js} +1 -1
- package/bundle/{chunk-1d64dywx.js → chunk-z015twaq.js} +2 -2
- package/bundle/chunk-z2rtcgad.js +3 -0
- package/bundle/{chunk-ms1fd6h4.js → chunk-z3zx6g09.js} +1 -1
- package/bundle/chunk-z9b3t2jm.js +2 -0
- package/bundle/{chunk-agdfqncf.js → chunk-zbdbsagd.js} +2 -2
- package/bundle/{chunk-evqxvhdb.js → chunk-zh808d4t.js} +1 -1
- package/bundle/{chunk-fhng5her.js → chunk-zny2qaqa.js} +2 -2
- package/bundle/{chunk-y2jmtfdh.js → chunk-zsnbxsdx.js} +2 -2
- package/bundle/{chunk-pv8jcpnf.js → chunk-zss93r48.js} +1 -1
- package/bundle/chunk-zzr8smtm.js +2 -0
- package/bundle/index.js +16 -16
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-0bvde0cx.js +0 -2
- package/bundle/chunk-0kbxnazj.js +0 -2
- package/bundle/chunk-0z3z0gk1.js +0 -5
- package/bundle/chunk-19z5q33z.js +0 -2
- package/bundle/chunk-1a0wnwna.js +0 -2
- package/bundle/chunk-1ddm2wxv.js +0 -2
- package/bundle/chunk-1fk4vsmc.js +0 -2
- package/bundle/chunk-1j2f9nd5.js +0 -2
- package/bundle/chunk-27s736an.js +0 -2
- package/bundle/chunk-2j17xrzj.js +0 -2
- package/bundle/chunk-2zca3nak.js +0 -2
- package/bundle/chunk-2zcvcfq4.js +0 -2
- package/bundle/chunk-38hwkfj5.js +0 -2
- package/bundle/chunk-3afqxvsn.js +0 -2
- package/bundle/chunk-3avc1ppg.js +0 -7
- package/bundle/chunk-3v4vtah1.js +0 -2
- package/bundle/chunk-3ypk0j2f.js +0 -2
- package/bundle/chunk-3z1y040p.js +0 -3
- package/bundle/chunk-4aykrj51.js +0 -9
- package/bundle/chunk-4dtbmqmq.js +0 -2
- package/bundle/chunk-4zjb6rps.js +0 -2
- package/bundle/chunk-5hkcjgwh.js +0 -2
- package/bundle/chunk-5snrz263.js +0 -2
- package/bundle/chunk-653c0mxr.js +0 -11
- package/bundle/chunk-6av7hrrk.js +0 -7
- package/bundle/chunk-6bswn7w5.js +0 -2
- package/bundle/chunk-6epghftw.js +0 -2
- package/bundle/chunk-6jjhxh8p.js +0 -2
- package/bundle/chunk-6ws7xyc5.js +0 -2
- package/bundle/chunk-7g28zhar.js +0 -2
- package/bundle/chunk-7v02b2ms.js +0 -2
- package/bundle/chunk-7vmp2034.js +0 -2
- package/bundle/chunk-7wxrypkr.js +0 -2
- package/bundle/chunk-8kk9gvdy.js +0 -2
- package/bundle/chunk-8ygpp4y3.js +0 -2
- package/bundle/chunk-95q60g1p.js +0 -2
- package/bundle/chunk-9mjbenja.js +0 -2
- package/bundle/chunk-9vn1gy8h.js +0 -2
- package/bundle/chunk-ajp3f08k.js +0 -2
- package/bundle/chunk-aptkpdkc.js +0 -2
- package/bundle/chunk-bky5a42k.js +0 -3
- package/bundle/chunk-bry94ar5.js +0 -2
- package/bundle/chunk-btzyvqkf.js +0 -2
- package/bundle/chunk-c94pjdfh.js +0 -2
- package/bundle/chunk-cct9ds5c.js +0 -2
- package/bundle/chunk-czn535v0.js +0 -2
- package/bundle/chunk-d7wd5hz1.js +0 -2
- package/bundle/chunk-d86cmjrp.js +0 -2
- package/bundle/chunk-dnq65xvn.js +0 -2
- package/bundle/chunk-dpqv8rtn.js +0 -2
- package/bundle/chunk-e9mh7s3z.js +0 -2
- package/bundle/chunk-ek2y5f6g.js +0 -2
- package/bundle/chunk-epdsay73.js +0 -2
- package/bundle/chunk-f89gntcy.js +0 -3
- package/bundle/chunk-ffnsn7tv.js +0 -2
- package/bundle/chunk-fkezc7ew.js +0 -2
- package/bundle/chunk-fsxddgj0.js +0 -2
- package/bundle/chunk-gbcsfg6v.js +0 -2
- package/bundle/chunk-gfmz85hp.js +0 -2
- package/bundle/chunk-gk63k4t6.js +0 -2
- package/bundle/chunk-j0vf8s12.js +0 -2
- package/bundle/chunk-j1bxt69x.js +0 -2
- package/bundle/chunk-jcem8s30.js +0 -2
- package/bundle/chunk-jjwjb9w0.js +0 -3
- package/bundle/chunk-jpham2a3.js +0 -2
- package/bundle/chunk-jzkymnr5.js +0 -2
- package/bundle/chunk-k0qtwnhb.js +0 -2
- package/bundle/chunk-k2rsky7z.js +0 -2
- package/bundle/chunk-kcetcysa.js +0 -2
- package/bundle/chunk-kjfc5v3s.js +0 -2
- package/bundle/chunk-kkvb2c2z.js +0 -8
- package/bundle/chunk-km2ayfyf.js +0 -2
- package/bundle/chunk-knrh89eb.js +0 -2
- package/bundle/chunk-ksqfjawv.js +0 -2
- package/bundle/chunk-m8djypsy.js +0 -11
- package/bundle/chunk-mjhb1q0n.js +0 -3
- package/bundle/chunk-mxcger73.js +0 -2
- package/bundle/chunk-nazkrkeb.js +0 -2
- package/bundle/chunk-nk01s49e.js +0 -2
- package/bundle/chunk-ns8b7rx1.js +0 -2
- package/bundle/chunk-ny6vpkx2.js +0 -2
- package/bundle/chunk-q0dd3ak6.js +0 -3
- package/bundle/chunk-q2s057bm.js +0 -2
- package/bundle/chunk-q5cqg2c0.js +0 -28
- package/bundle/chunk-qk2wnp2x.js +0 -2
- package/bundle/chunk-r012q335.js +0 -3
- package/bundle/chunk-rbdjbgkb.js +0 -2
- package/bundle/chunk-rxjprhgh.js +0 -2
- package/bundle/chunk-s3w9bmze.js +0 -2
- package/bundle/chunk-s3zste1a.js +0 -2
- package/bundle/chunk-sbt7qmwm.js +0 -3
- package/bundle/chunk-sf6h44pb.js +0 -2
- package/bundle/chunk-sgvzxs7m.js +0 -2
- package/bundle/chunk-sp9bndyh.js +0 -2
- package/bundle/chunk-vavrczqm.js +0 -3
- package/bundle/chunk-vg4styg5.js +0 -2
- package/bundle/chunk-vh09hhcs.js +0 -2
- package/bundle/chunk-vhktpm0n.js +0 -2
- package/bundle/chunk-vzjcmwry.js +0 -14
- package/bundle/chunk-wtp0yvqw.js +0 -2
- package/bundle/chunk-xmzs7q66.js +0 -2
- package/bundle/chunk-xv80476w.js +0 -2
- package/bundle/chunk-yjvr0et1.js +0 -2
- package/bundle/chunk-zk8n8hnh.js +0 -3
- package/bundle/chunk-zx3kcfkj.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{Cu as k}from"./chunk-r7xp0xcn.js";import{Dz as u,yx as j,zx as z}from"./chunk-6g3m7yxf.js";import"./chunk-hh4c02fh.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};
|
|
2
|
+
import{ht as k}from"./chunk-ym4ydwrz.js";import{dw as j,ew as z,iy as u}from"./chunk-vmgknvxs.js";import"./chunk-0rmmg3g4.js";var q=(Q)=>typeof Q==="object"&&Q!==null&&("_zod"in Q),b=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addExample(W,[...X,K]);return Y},y=(Q,G,X)=>{let{schema:Y,examples:K,...W}=Q,F=W;if(q(Y))F.schema=G.registry.addSchema(Y,[...X,"schema"],{io:G.io,source:{type:"mediaType"}});else F.schema=Y;if(K)F.examples=b(K,G.registry,[...X,"examples"]);return F},C=(Q,G,X)=>{let Y={};for(let[K,W]of Object.entries(Q))if(W)Y[K]=y(W,G,[...X,K]);return Y},E=(Q,G,X)=>{let Y=Q._zod.def;switch(Y.type){case"object":return Q;case"lazy":return E(Y.getter(),G,X);case"pipe":if(G==="input")return E(Y.in,G,X);return E(Y.out,G,X)}throw Error(`Failed to unwrap ZodObject from type: ${Q._zod.def.type} at ${X.join(" > ")}`)},f=(Q,G)=>{if(G==="input")return Q._zod.optin===void 0;return Q._zod.optout===void 0},m=(Q,G,X)=>{if(!Q)return;if(q(Q)){let Y=E(Q,"output",X),K={};for(let[W,F]of Object.entries(Y._zod.def.shape))K[W]=G.addHeader(F,[...X,W]);return K}return Q},p=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q))Y[K]=G.addLink(W,[...X,K]);return Y},$=(Q,G,X)=>{if(!Q)return;let Y=[];for(let K of Q){if(q(K)){let W=G.addParameter(K,[...X,"parameters"]);Y.push(W);continue}Y.push(K)}return Y},i=(Q,G,X)=>{if(!Q)return;let Y=[];for(let[K,W]of Object.entries(Q??{})){let F=E(W,"input",X);for(let[V,L]of Object.entries(F._zod.def.shape)){let M=G.addParameter(L,[...X,K,V],{location:{in:K,name:V}});Y.push(M)}}return Y},T=(Q)=>Q.startsWith("x-"),n=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addCallback(W,[...X,K])}return Y},o=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(!W)continue;if(T(K)){Y[K]=W;continue}if("$ref"in W){Y[K]=W;continue}Y[K]=G.addResponse(W,[...X,K])}return Y},c=(Q,G,X)=>{let{parameters:Y,requestParams:K,requestBody:W,responses:F,callbacks:V,...L}=Q,M=L,H=$(Y,G,[...X,"parameters"]),N=i(K,G,[...X,"requestParams"]);if(N||H)M.parameters=[...N??[],...H??[]];let A=W&&G.addRequestBody(W,X);if(A)M.requestBody=A;let Z=o(F,G,[...X,"responses"]);if(Z)M.responses=Z;let J=n(V,G,[...X,"callbacks"]);if(J)M.callbacks=J;return M},R=(Q,G,X)=>{if(!Q)return;let Y={};for(let[K,W]of Object.entries(Q)){if(T(K)){Y[K]=W;continue}Y[K]=G.addPathItem(W,[...X,K])}return Y},S=["3.0.0","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1"],_=(Q,G)=>S.indexOf(Q)>=S.indexOf(G),a=(Q)=>{let G=Q.zodSchema._zod.def;switch(G.type){case"bigint":Q.jsonSchema.type="integer",Q.jsonSchema.format="int64";break;case"union":{if("discriminator"in G&&typeof G.discriminator==="string"){Q.jsonSchema.oneOf??=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf,Q.jsonSchema.type="object",Q.jsonSchema.discriminator={propertyName:G.discriminator};let Y={};for(let[K,W]of Object.entries(Q.jsonSchema.oneOf)){let F=W.$ref;if(!F){delete Q.jsonSchema.discriminator;return}let V=G.options[Number(K)]._zod.propValues?.[G.discriminator];if(!V?.size)return;for(let L of[...V??[]]){if(typeof L!=="string"&&typeof L!=="number"&&typeof L!=="boolean")return;Y[String(L)]=F}}Q.jsonSchema.discriminator.mapping=Y}let X=z.get(Q.zodSchema);if(typeof X?.unionOneOf==="boolean"){if(X.unionOneOf)Q.jsonSchema.oneOf=Q.jsonSchema.anyOf,delete Q.jsonSchema.anyOf;delete Q.jsonSchema.unionOneOf}break}case"date":Q.jsonSchema.type="string";break;case"literal":if(G.values.includes(void 0))break;break;case"undefined":Q.jsonSchema.not={};break}},l=(Q,G,X)=>{if(X.context&&Q.zodSchema._zod.parent!==X.context.zodSchema){if(X.context.zodSchema._zod.def.type==="pipe")throw Error(`Zod transform found at ${X.context.path.join(" > ")} are not supported in output schemas. Please use \`.overwrite()\` or wrap the schema in a \`.pipe()\` or assign it manual metadata with \`.meta()\``);throw Error(`Zod schema of type \`${X.context.zodSchema._zod.def.type}\` at ${X.context?.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)}if(X.context=void 0,Object.keys(Q.jsonSchema).length)return;let Y=Q.zodSchema._zod.def,K=G.allowEmptySchema?.[Y.type];if(K===!0||K?.[Q.io])return;switch(Y.type){case"optional":l({...Q,zodSchema:Y.innerType},G,X);return;case"any":return;case"unknown":return;case"pipe":if(Q.io==="output"){if(!Q.zodSchema._zod.parent){X.context=Q;return}}return;case"transform":if(Q.io==="output")return;break;case"literal":if(Y.values.includes(void 0))throw Error(`Zod literal at ${Q.path.join(" > ")} cannot include \`undefined\` as a value. Please use \`z.undefined()\` or \`.optional()\` instead.`);return;case"custom":if(!Q.zodSchema._zod.parent){X.context=Q;return}}throw Error(`Zod schema of type \`${Y.type}\` at ${Q.path.join(" > ")} cannot be represented in OpenAPI. Please assign it metadata with \`.meta()\``)},r=(Q,G,X,Y)=>{let K=new Map;if(X.io==="input")return K;let W=new Map,F=new Map;for(let[V,L]of Object.entries(Q)){let M=JSON.stringify(L),H=new RegExp(`"${Y}([^"]+)"`,"g"),N=M.matchAll(H),A=new Set;for(let Z of N){let J=Z[1];if(J!==V)A.add(J)}F.set(V,M),W.set(V,{dependencies:A})}for(let[V]of F){if(!X.registry.components.schemas.ids.get(V))continue;if(x(W,F,X.registry,V))continue;let L=G.get(V)??`${V}${X.opts.outputIdSuffix??"Output"}`;K.set(V,L),Q[L]=Q[V],delete Q[V]}return K},x=(Q,G,X,Y,K=new Set)=>{if(K.has(Y))return!0;let W=Q.get(Y);if(W.pure!==void 0)return W.pure;let F=G.get(Y),V=X.components.schemas.ids.get(Y);if(V&&F!==JSON.stringify(V))return W.pure=!1,!1;K.add(Y);let L=[...W.dependencies].every((M)=>x(Q,G,X,M,new Set(K)));return W.pure=L,L},s=(Q,G={})=>{G.registry??=P({schemas:G.schemaComponents}),G.opts??={},G.io??="output";let X=Object.fromEntries(G.registry.components.schemas[G.io]),Y={zodOpenApiCreateSchema:{zodType:Q}};Object.assign(Y,X);let K=g(Y,{registry:G.registry,io:G.io,opts:{...G.opts,schemaRefPath:G.schemaRefPath},openapiVersion:G.openapiVersion});return{schema:K.schemas.zodOpenApiCreateSchema,components:K.components}},t=["param","header","unusedIO","override","outputId"],e=(Q)=>{t.forEach((G)=>{delete Q[G]})},v=(Q)=>{delete Q.$schema,delete Q.id,delete Q.$id},g=(Q,G)=>{let X=G.opts.schemaRefPath??"#/components/schemas/",Y={};for(let[D,{zodType:w}]of Object.entries(Q))Y[D]=w;let K=j();K.add(k(Y),{id:"zodOpenApiCreateSchema"});for(let[D,{zodType:w}]of G.registry.components.schemas.manual)K.add(w,{id:D});let W=new Map,F=_(G.openapiVersion??"3.1.0","3.1.0")?"$defs":"definitions",V={},L=u(K,{override(D){let w=z.get(D.zodSchema);if(w?.outputId&&w?.id)W.set(w.id,w.outputId);if(D.jsonSchema.$ref)return;let B={...D,io:G.io};if(a(B),typeof G.opts.override==="function")G.opts.override(B);if(typeof w?.override==="function")w.override(B),delete D.jsonSchema.override;if(typeof w?.override==="object"&&w.override!==null)Object.assign(D.jsonSchema,w.override),delete D.jsonSchema.override;v(D.jsonSchema),e(D.jsonSchema),l(B,G.opts,V)},io:G.io,unrepresentable:"any",reused:G.opts.reused,cycles:G.opts.cycles,target:_(G.openapiVersion??"3.1.0","3.1.0")?void 0:"openapi-3.0",uri:(D)=>D==="__shared"?`#ZOD_OPENAPI/${D}`:`#ZOD_OPENAPI/__shared#/${F}/${D}`}),M=L.schemas.__shared?.[F]??{};L.schemas.__shared??={[F]:M};let H=new Map;for(let[D,w]of Object.entries(M))if(v(w),/^schema\d+$/.test(D)){let B=`__schema${G.registry.components.schemas.dynamicSchemaCount++}`;if(H.set(D,`"${X}${B}"`),B!==D)M[B]=w,delete M[D]}for(let[D]of G.registry.components.schemas.manual){let w=L.schemas[D];if(!w)continue;v(w)}let N={},A=JSON.parse(JSON.stringify(L).replace(/"#ZOD_OPENAPI\/__shared#\/(?:\$defs|definitions)\/([^"]+)"/g,(D,w)=>{let B=H.get(w);if(B)return B;if(G.registry.components.schemas.manual.get(w))N[w]=!0;return`"${X}${w}"`})),Z=A.schemas.__shared?.[F]??{};A.schemas.__shared??={[F]:Z};for(let[D]of G.registry.components.schemas.manual){let w=A.schemas[D];if(!w)continue;if(N[D]){if(Z[D])throw Error(`Component "${D}" is already registered as a component in the registry`);Z[D]=w}}let J=r(Z,W,G,X);if(!J.size){let D=A.schemas.zodOpenApiCreateSchema?.properties;return delete A.schemas.zodOpenApiCreateSchema,delete A.schemas.__shared,{schemas:D,components:Z,manual:A.schemas}}let U=JSON.parse(JSON.stringify(A).replace(new RegExp(`"${X}([^"]+)"`,"g"),(D,w)=>{let B=J.get(w);if(B)return`"${X}${B}"`;return`"${X}${w}"`})),I=U.schemas.zodOpenApiCreateSchema?.properties,h=U.schemas.__shared?.[F]??{};return delete U.schemas.zodOpenApiCreateSchema,delete U.schemas.__shared,{schemas:I,components:h,manual:U.schemas}},P=(Q)=>{let G={components:{schemas:{dynamicSchemaCount:0,input:new Map,output:new Map,ids:new Map,manual:new Map},headers:{ids:new Map,seen:new WeakMap},requestBodies:{ids:new Map,seen:new WeakMap},responses:{ids:new Map,seen:new WeakMap},parameters:{ids:new Map,seen:new WeakMap},callbacks:{ids:new Map,seen:new WeakMap},pathItems:{ids:new Map,seen:new WeakMap},securitySchemes:{ids:new Map,seen:new WeakMap},links:{ids:new Map,seen:new WeakMap},examples:{ids:new Map,seen:new WeakMap}},addSchema:(X,Y,K)=>{let W={};return G.components.schemas[K.io].set(Y.join(" > "),{schemaObject:W,zodType:X,source:{path:Y,...K?.source}}),W},addParameter:(X,Y,K)=>{let W=G.components.parameters.seen.get(X);if(W)return W;let F=z.get(X),V=K?.location?.name??F?.param?.name,L=K?.location?.in??F?.param?.in;if(K?.location?.name&&F?.param?.name||K?.location?.in&&F?.param?.in)throw Error(`Parameter at ${Y.join(" > ")} has both \`.meta({ param: { name, in } })\` and \`.meta({ param: { location: { in, name } } })\` information`);if(!V||!L)throw Error(`Parameter at ${Y.join(" > ")} is missing \`.meta({ param: { name, in } })\` information`);let M=G.addSchema(X,[...Y,L,V,"schema"],{io:"input",source:{type:"parameter",location:{in:L,name:V}}}),{id:H,examples:N,...A}=F?.param??{},Z={in:L,name:V,schema:M,...A},J=b(N,G,[...Y,L,V,"examples"]);if(J)Z.examples=J;if(f(X,"input"))Z.required=!0;if(!Z.description&&F?.description)Z.description=F.description;let U=H??K?.manualId;if(U){if(G.components.parameters.ids.has(U))throw Error(`Schema "${U}" at ${Y.join(" > ")} is already registered`);let I={$ref:`#/components/parameters/${U}`};if(G.components.parameters.seen.set(X,I),G.components.parameters.ids.set(U,Z),K?.manualId)return Z;return I}if(K?.location?.name||K?.location?.in)return Z;return G.components.parameters.seen.set(X,Z),Z},addHeader:(X,Y,K)=>{let W=G.components.headers.seen.get(X);if(W)return W;let F=z.get(X),{id:V,...L}=F?.header??{},M=V??K?.manualId,H=L;if(f(X,"output"))H.required=!0;if(!H.description&&F?.description)H.description=F.description;if(H.schema=G.addSchema(X,[...Y,"schema"],{io:"output",source:{type:"header"}}),M){if(G.components.schemas.ids.has(M))throw Error(`Schema "${M}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/headers/${M}`};if(G.components.headers.ids.set(M,H),G.components.headers.seen.set(X,N),K?.manualId)return H;return N}return G.components.headers.seen.set(X,H),H},addRequestBody:(X,Y,K)=>{let W=G.components.requestBodies.seen.get(X);if(W)return W;let{content:F,id:V,...L}=X,M={...L,content:C(F,{registry:G,io:"input"},[...Y,"content"])},H=V??K?.manualId;if(H){if(G.components.requestBodies.ids.has(H))throw Error(`RequestBody "${H}" at ${Y.join(" > ")} is already registered`);let N={$ref:`#/components/requestBodies/${H}`};if(G.components.requestBodies.ids.set(H,M),G.components.requestBodies.seen.set(X,N),K?.manualId)return M;return N}return G.components.requestBodies.seen.set(X,M),M},addPathItem:(X,Y,K)=>{let W=G.components.pathItems.seen.get(X);if(W)return W;let F={},{id:V,...L}=X,M=V??K?.manualId;for(let[H,N]of Object.entries(L)){if(T(H)){F[H]=N;continue}if(H==="get"||H==="put"||H==="post"||H==="delete"||H==="options"||H==="head"||H==="patch"||H==="trace"){F[H]=c(N,G,[...Y,H]);continue}if(H==="parameters"){F[H]=$(N,G,[...Y,H]);continue}F[H]=N}if(M){if(G.components.pathItems.ids.has(M))throw Error(`PathItem "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/pathItems/${M}`};if(G.components.pathItems.ids.set(M,F),G.components.pathItems.seen.set(X,H),K?.manualId)return F;return H}return G.components.pathItems.seen.set(X,F),F},addResponse:(X,Y,K)=>{let W=G.components.responses.seen.get(X);if(W)return W;let{content:F,headers:V,links:L,id:M,...H}=X,N=H,A=m(V,G,[...Y,"headers"]);if(A)N.headers=A;if(F)N.content=C(F,{registry:G,io:"output"},[...Y,"content"]);if(L)N.links=p(L,G,[...Y,"links"]);let Z=M??K?.manualId;if(Z){if(G.components.responses.ids.has(Z))throw Error(`Response "${Z}" at ${Y.join(" > ")} is already registered`);let J={$ref:`#/components/responses/${Z}`};if(G.components.responses.ids.set(Z,N),G.components.responses.seen.set(X,J),K?.manualId)return N;return J}return G.components.responses.seen.set(X,N),N},addCallback:(X,Y,K)=>{let W=G.components.callbacks.seen.get(X);if(W)return W;let{id:F,...V}=X,L={};for(let[H,N]of Object.entries(V)){if(T(H)){L[H]=N;continue}L[H]=G.addPathItem(N,[...Y,H])}let M=F??K?.manualId;if(M){if(G.components.callbacks.ids.has(M))throw Error(`Callback "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/callbacks/${M}`};if(G.components.callbacks.ids.set(M,L),G.components.callbacks.seen.set(X,H),K?.manualId)return L;return H}return G.components.callbacks.seen.set(X,L),L},addSecurityScheme:(X,Y,K)=>{let W=G.components.securitySchemes.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.securitySchemes.ids.has(M))throw Error(`SecurityScheme "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/securitySchemes/${M}`};if(G.components.securitySchemes.ids.set(M,L),G.components.securitySchemes.seen.set(X,H),K?.manualId)return L;return H}return G.components.securitySchemes.seen.set(X,L),L},addLink:(X,Y,K)=>{let W=G.components.links.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.links.ids.has(M))throw Error(`Link "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/links/${M}`};if(G.components.links.ids.set(M,L),G.components.links.seen.set(X,H),K?.manualId)return L;return H}return G.components.links.seen.set(X,L),L},addExample:(X,Y,K)=>{let W=G.components.examples.seen.get(X);if(W)return W;let{id:F,...V}=X,L=V,M=F??K?.manualId;if(M){if(G.components.examples.ids.has(M))throw Error(`Example "${M}" at ${Y.join(" > ")} is already registered`);let H={$ref:`#/components/examples/${M}`};if(G.components.examples.ids.set(M,L),G.components.examples.seen.set(X,H),K?.manualId)return L;return H}return G.components.examples.seen.set(X,L),L}};return GG(Q?.schemas,G),QG(Q?.parameters,G),XG(Q?.headers,G),YG(Q?.responses,G),FG(Q?.pathItems,G),KG(Q?.requestBodies,G),WG(Q?.callbacks,G),HG(Q?.securitySchemes,G),MG(Q?.links,G),LG(Q?.examples,G),G},GG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=z.get(Y)?.id??X;G.components.schemas.manual.set(K,{input:{schemaObject:{}},output:{schemaObject:{}},zodType:Y});continue}G.components.schemas.ids.set(X,Y)}},QG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","parameters",X];G.addParameter(Y,K,{manualId:X});continue}G.components.parameters.ids.set(X,Y)}},XG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){let K=["components","headers",X];G.addHeader(Y,K,{manualId:X});continue}G.components.headers.ids.set(X,Y)}},YG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){let K=G.addResponse(Y,["components","responses",X],{manualId:X});G.components.responses.ids.set(X,K),G.components.responses.seen.set(Y,K)}},KG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q)){if(q(Y)){G.addRequestBody(Y,["components","requestBodies",X],{manualId:X});continue}G.components.requestBodies.ids.set(X,Y)}},WG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addCallback(Y,["components","callbacks",X],{manualId:X})},FG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addPathItem(Y,["components","pathItems",X],{manualId:X})},HG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addSecurityScheme(Y,["components","securitySchemes",X],{manualId:X})},MG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.addLink(Y,["components","links",X],{manualId:X})},LG=(Q,G)=>{if(!Q)return;for(let[X,Y]of Object.entries(Q))G.components.examples.ids.set(X,Y)},O=(Q)=>{let{schemas:G,components:X,manual:Y}=g(Object.fromEntries(Q.registry.components.schemas[Q.io]),Q);for(let[K,W]of Object.entries(X))Q.registry.components.schemas.ids.set(K,W);for(let[K,W]of Object.entries(G)){let F=Q.registry.components.schemas[Q.io].get(K);if(F)Object.assign(F.schemaObject,W)}for(let[K,W]of Object.entries(Y)){let F=Q.registry.components.schemas.manual.get(K);if(!F)continue;if(X[K])F[Q.io].used=!0;Object.assign(F[Q.io].schemaObject,W)}},VG=(Q)=>{for(let[G,X]of Q.components.schemas.manual)if(!X.input.used){let Y=X[z.get(X.zodType)?.unusedIO??"output"].schemaObject;Q.components.schemas.ids.set(G,Y)}},d=(Q,G,X)=>{O({registry:Q,io:"input",opts:G,openapiVersion:X}),O({registry:Q,io:"output",opts:G,openapiVersion:X}),VG(Q);let Y={};if(Q.components.schemas.ids.size>0)Y.schemas=Object.fromEntries(Q.components.schemas.ids);if(Q.components.headers.ids.size>0)Y.headers=Object.fromEntries(Q.components.headers.ids);if(Q.components.requestBodies.ids.size>0)Y.requestBodies=Object.fromEntries(Q.components.requestBodies.ids);if(Q.components.responses.ids.size>0)Y.responses=Object.fromEntries(Q.components.responses.ids);if(Q.components.parameters.ids.size>0)Y.parameters=Object.fromEntries(Q.components.parameters.ids);if(Q.components.callbacks.ids.size>0)Y.callbacks=Object.fromEntries(Q.components.callbacks.ids);if(Q.components.pathItems.ids.size>0)Y.pathItems=Object.fromEntries(Q.components.pathItems.ids);if(Q.components.securitySchemes.ids.size>0)Y.securitySchemes=Object.fromEntries(Q.components.securitySchemes.ids);if(Q.components.links.ids.size>0)Y.links=Object.fromEntries(Q.components.links.ids);if(Q.components.examples.ids.size>0)Y.examples=Object.fromEntries(Q.components.examples.ids);return Y};var AG=(Q,G={})=>{let{paths:X,webhooks:Y,components:K,...W}=Q,F=W,V=P(K),L=R(X,V,["paths"]);if(L)F.paths=L;let M=R(Y,V,["webhooks"]);if(M)F.webhooks=M;let H=d(V,G,Q.openapi);if(Object.keys(H).length>0)F.components=H;return F},JG={};export{JG as oas31,s as createSchema,AG as createDocument};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-23geekk5.js";import"./chunk-hh4c02fh.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":"Escreva a sua mensagem... (escreva / para comandos)","tui.prompt.placeholder.shell":'Execute um comando... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab para aceitar)","tui.home.placeholder.example.todo":"Corrigir um TODO no c\xF3digo","tui.home.placeholder.example.stack":"Qual \xE9 a stack tecnol\xF3gica deste projeto?","tui.home.placeholder.example.tests":"Corrigir testes falhados","tui.home.agreement.prefix":"Ao usar o QitQode, concorda com os nossos ","tui.home.agreement.terms":"Termos de Servi\xE7o","tui.home.agreement.separator":" e a ","tui.home.agreement.privacy":"Pol\xEDtica de Privacidade","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"anexar ficheiro","tui.prompt.hint.subagent":"subagente","tui.prompt.hint.commands":"comandos","tui.prompt.hint.switch_mode":"mudar modo","tui.prompt.hint.settings":"defini\xE7\xF5es","tui.tips.label":"Dica","tui.tips.plain_terminal":"Recomendamos usar o iTerm ou o terminal do VS Code","tui.tips.attach_file":"Escreva {highlight}@{/highlight} seguido do nome do ficheiro para pesquisar e anexar ficheiros","tui.tips.shell_prefix":"Inicie uma mensagem com {highlight}!{/highlight} para executar comandos de shell diretamente (ex.: {highlight}!ls -la{/highlight})","tui.tips.tab_agent":"Prima {highlight}Tab{/highlight} ou {highlight}Shift+Tab{/highlight} para alternar entre os agentes Build, Plan e Compose","tui.tips.theme_mode":"Execute {highlight}/dark{/highlight} para o modo escuro ou {highlight}/light{/highlight} para o modo claro","tui.tips.doc":"Execute {highlight}/doc{/highlight} para abrir a documenta\xE7\xE3o do utilizador","tui.tips.undo":"Use {highlight}/undo{/highlight} para reverter a \xFAltima mensagem e altera\xE7\xF5es em ficheiros","tui.tips.redo":"Use {highlight}/redo{/highlight} para restaurar mensagens e altera\xE7\xF5es desfeitas anteriormente","tui.tips.drag_drop":"Arraste e solte imagens ou PDFs no terminal para os adicionar como contexto","tui.tips.paste_image":"Prima {highlight}Ctrl+V{/highlight} para colar imagens da \xE1rea de transfer\xEAncia na entrada","tui.tips.editor":"Prima {highlight}Ctrl+X E{/highlight} ou {highlight}/editor{/highlight} para compor mensagens no seu editor externo","tui.tips.init":"Execute {highlight}/init{/highlight} para gerar automaticamente regras do projeto a partir do seu c\xF3digo","tui.tips.models":"Execute {highlight}/models{/highlight} ou {highlight}Ctrl+X M{/highlight} para alternar entre os modelos dispon\xEDveis","tui.tips.theme":'Trave o modo de tema contra o fundo do seu terminal \u2014 abra a paleta de comandos ({highlight}Ctrl+P{/highlight}) e busque "lock"',"tui.tips.new_session":"Prima {highlight}Ctrl+X N{/highlight} ou {highlight}/new{/highlight} para iniciar uma nova sess\xE3o","tui.tips.sessions":"Use {highlight}/sessions{/highlight} ou {highlight}Ctrl+X L{/highlight} para listar e continuar conversas anteriores","tui.tips.compact":"Execute {highlight}/compact{/highlight} para resumir sess\xF5es longas pr\xF3ximas dos limites de contexto","tui.tips.export":"Prima {highlight}Ctrl+X X{/highlight} ou {highlight}/export{/highlight} para guardar a conversa como Markdown","tui.tips.copy_last":"Prima {highlight}Ctrl+X Y{/highlight} para copiar a \xFAltima mensagem do assistente para a \xE1rea de transfer\xEAncia","tui.tips.command_palette":"Prima {highlight}Ctrl+P{/highlight} para ver todas as a\xE7\xF5es e comandos dispon\xEDveis","tui.tips.leader":"A tecla l\xEDder \xE9 {highlight}Ctrl+X{/highlight}; combine-a com outras teclas para a\xE7\xF5es r\xE1pidas","tui.tips.f2":"Prima {highlight}F2{/highlight} para alternar rapidamente entre os modelos usados recentemente","tui.tips.sidebar":"Prima {highlight}Ctrl+X B{/highlight} para mostrar/ocultar o painel lateral","tui.tips.history":"Use {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} para navegar no hist\xF3rico da conversa","tui.tips.jump_first":"Prima {highlight}Ctrl+G{/highlight} ou {highlight}Home{/highlight} para ir ao in\xEDcio da conversa","tui.tips.jump_last":"Prima {highlight}Ctrl+Alt+G{/highlight} ou {highlight}End{/highlight} para ir \xE0 mensagem mais recente","tui.tips.newline":"Prima {highlight}Shift+Enter{/highlight} ou {highlight}Ctrl+J{/highlight} para adicionar novas linhas na entrada","tui.tips.clear_input":"Prima {highlight}Ctrl+C{/highlight} ao escrever para limpar o campo de entrada","tui.tips.escape":"Prima {highlight}Escape{/highlight} para parar a resposta da IA a meio","tui.tips.plan_agent":"Mude para o agente {highlight}Plan{/highlight} para obter sugest\xF5es sem efetuar altera\xE7\xF5es reais","tui.tips.subagent":"Use {highlight}@agent-name{/highlight} nas entradas para invocar subagentes especializados","tui.tips.cycle_sessions":"Prima {highlight}Ctrl+X Right/Left{/highlight} para alternar entre sess\xF5es pai e filho","tui.tips.config_files":"Crie {highlight}qitqode.json{/highlight} para defini\xE7\xF5es do servidor e {highlight}tui.json{/highlight} para a TUI","tui.tips.global_config":"Coloque as defini\xE7\xF5es da TUI em {highlight}~/.config/qitqode/tui.json{/highlight} para configura\xE7\xE3o global","tui.tips.schema":"Adicione {highlight}$schema{/highlight} \xE0 sua configura\xE7\xE3o para autocompletar no editor","tui.tips.default_model":"Configure {highlight}model{/highlight} na configura\xE7\xE3o para definir o seu modelo predefinido","tui.tips.keybinds":"Substitua qualquer atalho em {highlight}tui.json{/highlight} atrav\xE9s da sec\xE7\xE3o {highlight}keybinds{/highlight}","tui.tips.disable_keybind":"Defina qualquer atalho como {highlight}none{/highlight} para o desativar completamente","tui.tips.mcp_config":"Configure servidores MCP locais ou remotos na sec\xE7\xE3o de configura\xE7\xE3o {highlight}mcp{/highlight}","tui.tips.mcp_oauth":"O QitQode gere automaticamente o OAuth para servidores MCP remotos que requerem autentica\xE7\xE3o","tui.tips.custom_command":"Adicione ficheiros {highlight}.md{/highlight} a {highlight}.qitqode/command/{/highlight} para definir prompts personalizados reutiliz\xE1veis","tui.tips.command_args":"Use {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} em comandos personalizados para entrada din\xE2mica","tui.tips.command_backticks":"Use acentos graves em comandos para injetar sa\xEDda de shell (ex.: {highlight}`git status`{/highlight})","tui.tips.custom_agent":"Adicione ficheiros {highlight}.md{/highlight} a {highlight}.qitqode/agent/{/highlight} para personas de IA especializadas","tui.tips.agent_perms":"Configure permiss\xF5es por agente para as ferramentas {highlight}edit{/highlight}, {highlight}bash{/highlight} e {highlight}webfetch{/highlight}","tui.tips.bash_allow":'Use padr\xF5es como {highlight}"git *": "allow"{/highlight} para permiss\xF5es de bash mais granulares',"tui.tips.bash_deny":'Defina {highlight}"rm -rf *": "deny"{/highlight} para bloquear comandos destrutivos',"tui.tips.bash_ask":'Configure {highlight}"git push": "ask"{/highlight} para exigir aprova\xE7\xE3o antes de fazer push',"tui.tips.formatter":"O QitQode formata ficheiros automaticamente com prettier, gofmt, ruff e mais","tui.tips.disable_formatter":'Defina {highlight}"formatter": false{/highlight} na configura\xE7\xE3o para desativar toda a formata\xE7\xE3o autom\xE1tica',"tui.tips.custom_formatter":"Defina comandos de formata\xE7\xE3o personalizados com extens\xF5es de ficheiro na configura\xE7\xE3o","tui.tips.lsp":"O QitQode usa servidores LSP para an\xE1lise de c\xF3digo inteligente","tui.tips.custom_tool":"Crie ficheiros {highlight}.ts{/highlight} em {highlight}.qitqode/tools/{/highlight} para definir novas ferramentas LLM","tui.tips.tool_scripts":"As defini\xE7\xF5es de ferramentas podem invocar scripts escritos em Python, Go, etc.","tui.tips.plugins":"Adicione ficheiros {highlight}.ts{/highlight} a {highlight}.qitqode/plugin/{/highlight} para ganchos de eventos","tui.tips.plugin_notify":"Use plugins para enviar notifica\xE7\xF5es do sistema operativo quando as sess\xF5es terminam","tui.tips.plugin_protect":"Crie um plugin para impedir que o QitQode leia ficheiros sens\xEDveis","tui.tips.run":"Use {highlight}qitqode run{/highlight} para scripting n\xE3o interativo","tui.tips.continue":"Use {highlight}qitqode --continue{/highlight} para retomar a \xFAltima sess\xE3o","tui.tips.attach_cli":"Use {highlight}qitqode run -f file.ts{/highlight} para anexar ficheiros via CLI","tui.tips.format_json":"Use {highlight}--format json{/highlight} para sa\xEDda leg\xEDvel por m\xE1quina em scripts","tui.tips.auth_list":"Execute {highlight}qitqode auth status{/highlight} para ver seu status de login atual","tui.tips.agent_create":"Execute {highlight}qitqode agent create{/highlight} para cria\xE7\xE3o guiada de agentes","tui.tips.theme_system":'Use {highlight}"theme": "system"{/highlight} para corresponder \xE0s cores do seu terminal',"tui.tips.theme_files":"Crie ficheiros de tema JSON no diret\xF3rio {highlight}.qitqode/themes/{/highlight}","tui.tips.theme_variants":"Os temas suportam variantes escura/clara para ambos os modos","tui.tips.theme_ansi":"Referencie cores ANSI 0-255 em temas personalizados","tui.tips.env_var":"Use a sintaxe {highlight}{env:VAR_NAME}{/highlight} para referenciar vari\xE1veis de ambiente na configura\xE7\xE3o","tui.tips.file_var":"Use {highlight}{file:path}{/highlight} para incluir conte\xFAdo de ficheiros em valores de configura\xE7\xE3o","tui.tips.instructions":"Use {highlight}instructions{/highlight} na configura\xE7\xE3o para carregar ficheiros de regras adicionais","tui.tips.temperature":"Defina a {highlight}temperature{/highlight} do agente de 0.0 (focado) a 1.0 (criativo)","tui.tips.steps":"Configure {highlight}steps{/highlight} para limitar as itera\xE7\xF5es ag\xEAnticas por pedido","tui.tips.disable_tool":'Defina {highlight}"tools": {"bash": false}{/highlight} para desativar ferramentas espec\xEDficas',"tui.tips.disable_mcp_tools":'Defina {highlight}"mcp_*": false{/highlight} para desativar todas as ferramentas de um servidor MCP',"tui.tips.tool_override":"Substitua as defini\xE7\xF5es globais de ferramentas por configura\xE7\xE3o de agente","tui.tips.doom_loop":"A permiss\xE3o {highlight}doom_loop{/highlight} previne ciclos infinitos de chamadas a ferramentas","tui.tips.external_dir":"A permiss\xE3o {highlight}external_directory{/highlight} protege ficheiros fora do projeto","tui.tips.debug_config":"Execute {highlight}qitqode debug config{/highlight} para diagnosticar problemas de configura\xE7\xE3o","tui.tips.print_logs":"Use a op\xE7\xE3o {highlight}--print-logs{/highlight} para ver registos detalhados no stderr","tui.tips.timeline":"Prima {highlight}Ctrl+X G{/highlight} ou {highlight}/timeline{/highlight} para saltar para mensagens espec\xEDficas","tui.tips.toggle_code":"Prima {highlight}Ctrl+X H{/highlight} para alternar a visibilidade dos blocos de c\xF3digo nas mensagens","tui.tips.status":"Prima {highlight}Ctrl+X S{/highlight} ou {highlight}/status{/highlight} para ver informa\xE7\xF5es de estado do sistema","tui.tips.scroll_accel":"Ative {highlight}scroll_acceleration{/highlight} em {highlight}tui.json{/highlight} para deslocamento suave no estilo macOS","tui.tips.agents_md":"Fa\xE7a commit do ficheiro {highlight}AGENTS.md{/highlight} do seu projeto no Git para partilhar com a equipa","tui.tips.review":"Use {highlight}/review{/highlight} para rever altera\xE7\xF5es n\xE3o confirmadas, branches ou PRs","tui.tips.help":"Execute {highlight}/help{/highlight} ou {highlight}Ctrl+X H{/highlight} para mostrar o di\xE1logo de ajuda","tui.tips.rename":"Use {highlight}/rename{/highlight} para renomear a sess\xE3o atual","tui.tips.suspend.unix":"Prima {highlight}Ctrl+Z{/highlight} para suspender o terminal e regressar \xE0 sua shell","tui.tips.suspend.win":"Prima {highlight}Ctrl+Z{/highlight} para desfazer altera\xE7\xF5es na sua entrada","tui.command.palette.title":"Comandos","tui.command.palette.suggested":"Sugeridos","tui.command.category.session":"Sess\xE3o","tui.command.category.agent":"Agente","tui.command.category.provider":"Fornecedor","tui.command.category.system":"Sistema","tui.command.category.prompt":"Entrada","tui.command.category.internal":"Interno","tui.command.category.external":"Externo","tui.slash.init.description":"configura\xE7\xE3o guiada de AGENTS.md","tui.slash.review.description":"rever altera\xE7\xF5es [commit|branch|pr], por defeito n\xE3o confirmadas","tui.slash.dream.description":"consolidar manualmente a mem\xF3ria do projeto a partir de ficheiros de mem\xF3ria e trajet\xF3ria bruta","tui.slash.distill.description":"encontrar fluxos repetidos no trabalho recente e empacot\xE1-los em skills, subagentes ou comandos","tui.slash.goal.description":"definir um objetivo com condi\xE7\xE3o de paragem; executa at\xE9 um juiz confirmar. /goal clear para abortar","tui.slash.deep-research.description":"relat\xF3rio de investiga\xE7\xE3o profunda multi-fonte e verificado (executa o workflow deep-research)","tui.command.language.switch.title":"Mudar idioma","tui.command.language.switch.description":"Alterar o idioma de apresenta\xE7\xE3o","tui.command.language.dialog.title":"Mudar idioma","tui.language.auto":"Auto (sistema)","tui.language.current":"Atual","tui.command.session.list.title":"Mudar sess\xE3o","tui.command.session.new.title":"Nova sess\xE3o","tui.command.workflow.list.title":"Fluxos de trabalho","tui.command.model.list.title":"Mudar modelo","tui.command.model.cycle_recent.title":"Ciclo de modelos","tui.command.model.cycle_recent_reverse.title":"Ciclo de modelos (inverso)","tui.command.model.cycle_favorite.title":"Ciclo de favoritos","tui.command.model.cycle_favorite_reverse.title":"Ciclo de favoritos (inverso)","tui.command.agent.list.title":"Mudar agente","tui.command.mcp.list.title":"Alternar MCPs","tui.command.never_ask.title_on":"Sem perguntas: ATIVO (decidir automaticamente, permiss\xF5es exclu\xEDdas) \u2014 clique para desativar","tui.command.never_ask.title_off":"Sem perguntas: INATIVO \u2014 clique para ativar (decidir automaticamente, permiss\xF5es exclu\xEDdas)","tui.command.never_ask.toast_on":"Sem perguntas ATIVO \u2014 n\xE3o lhe perguntarei; escolherei a melhor op\xE7\xE3o at\xE9 desativar (/never-ask). Os pedidos de permiss\xE3o ainda requerem a sua aprova\xE7\xE3o.","tui.command.never_ask.toast_off":"Sem perguntas INATIVO \u2014 voltarei a perguntar nos pontos de decis\xE3o.","tui.command.agent.cycle.title":"Ciclo de agentes","tui.command.variant.cycle.title":"Ciclo de variantes","tui.command.variant.list.title":"Mudar variante de modelo","tui.command.agent.cycle.reverse.title":"Ciclo de agentes (inverso)","tui.command.provider.login.title":"Iniciar sess\xE3o","tui.command.provider.logout.title":"Terminar sess\xE3o","tui.command.console.org.switch.title":"Mudar organiza\xE7\xE3o","tui.command.qitqode.status.title":"Ver estado","tui.command.worktree.list.title":"\xC1rvores de trabalho","tui.command.theme.switch.title":"Mudar tema","tui.command.theme.switch_mode.to_light":"Mudar para modo claro","tui.command.theme.switch_mode.to_dark":"Mudar para modo escuro","tui.command.theme.mode.unlock":"Desbloquear modo do tema","tui.command.theme.mode.lock":"Bloquear modo do tema","tui.command.help.show.title":"Ajuda","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"Acessibilidade: alterne anima\xE7\xF5es e som na lista de comandos. Vari\xE1veis de ambiente: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND.","tui.dialog.help.announcements":"An\xFAncios: no modo acess\xEDvel, escolha o n\xEDvel de detalhe dos an\xFAncios para leitores de tela (silencioso, normal, detalhado) na lista de comandos ou com QITQODE_TUI_ANNOUNCEMENTS. Erros s\xE3o sempre anunciados.","tui.dialog.help.dialog_keys":"Di\xE1logos: todos os di\xE1logos funcionam apenas com o teclado \u2014 Esc fecha, Tab ou as setas movem o foco, Enter ou Espa\xE7o ativa o controle em foco.","tui.command.app.announcements.cycle":"An\xFAncios: {{level}} (selecione para alterar)","tui.announcements.level.quiet":"silencioso","tui.announcements.level.normal":"normal","tui.announcements.level.verbose":"detalhado","tui.app.terminal_too_small":"Terminal muito pequeno ({{width}}x{{height}}). Redimensione para pelo menos 40x8.","tui.dialog.help.command_list":"Prima {{keybind}} para ver todas as a\xE7\xF5es e comandos dispon\xEDveis em qualquer contexto.","tui.dialog.help.ok":"ok","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 rolar \xB7 PgUp/PgDn p\xE1gina \xB7 esc fechar","tui.dialog.ok":"ok","tui.dialog.confirm.cancel":"Cancelar","tui.dialog.confirm.confirm":"Confirmar","tui.dialog.agreement.title":"Termos e Privacidade","tui.dialog.agreement.message":"Por favor reveja e aceite para continuar.","tui.dialog.agreement.confirm":"Aceitar e Continuar","tui.command.docs.terms.title":"Ver os termos de servi\xE7o","tui.command.docs.privacy.title":"Ver a pol\xEDtica de privacidade","tui.command.consent.revoke.title":"Revogar o acordo de modelo gratuito","tui.consent.revoked":"Acordo de modelo gratuito revogado \u2014 ser-lhe-\xE1 pedido que aceite novamente","tui.dialog.select.placeholder":"Pesquisar","tui.dialog.select.no_results":"Sem resultados","tui.dialog.prompt.placeholder":"Introduza texto","tui.dialog.prompt.busy":"A trabalhar...","tui.dialog.prompt.processing":"a processar...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"enviar","tui.dialog.export.title":"Op\xE7\xF5es de Exporta\xE7\xE3o","tui.dialog.export.filename":"Nome do ficheiro:","tui.dialog.export.filename_placeholder":"Introduza o nome do ficheiro","tui.dialog.export.include_thinking":"Incluir racioc\xEDnio","tui.dialog.export.include_tool_details":"Incluir detalhes das ferramentas","tui.dialog.export.include_assistant_metadata":"Incluir metadados do assistente","tui.dialog.export.open_without_saving":"Abrir sem guardar","tui.dialog.export.hint.toggle_prefix":"Prima","tui.dialog.export.hint.toggle_action":"para alternar","tui.dialog.export.hint.confirm_action":"para confirmar","tui.dialog.export.hint.options_action":"para op\xE7\xF5es","tui.toast.copied_to_clipboard":"Copiado para a \xE1rea de transfer\xEAncia","tui.toast.instructions_loaded":"Carregado {{files}}","tui.toast.update_available.title":"Atualiza\xE7\xE3o Dispon\xEDvel","tui.toast.update_available.confirm":"Uma nova vers\xE3o v{{version}} est\xE1 dispon\xEDvel. Deseja atualizar agora?","tui.toast.update_available.updating":"A atualizar para v{{version}}...","tui.toast.update_available.failed":"A atualiza\xE7\xE3o falhou","tui.toast.update_available.success":"Atualizado com sucesso para QitQode v{{version}}. Por favor reinicie a aplica\xE7\xE3o.","tui.toast.updated.title":"Atualizado automaticamente","tui.toast.updated.message":"Atualiza\xE7\xE3o de patch aplicada: v{{version}}. Reinicie para usar a nova vers\xE3o. Desative com autoupdate: false na configura\xE7\xE3o.","tui.sidebar.instructions":"Instru\xE7\xF5es","tui.sidebar.cwd":"Diret\xF3rio de Trabalho","tui.toast.unknown_error":"Ocorreu um erro desconhecido","tui.command.docs.open.title":"Abrir documenta\xE7\xE3o","tui.command.app.exit.title":"Sair da aplica\xE7\xE3o","tui.command.app.debug.title":"Alternar painel de depura\xE7\xE3o","tui.command.app.console.title":"Alternar consola","tui.command.app.heap_snapshot.title":"Escrever snapshot do heap","tui.command.terminal.suspend.title":"Suspender terminal","tui.command.terminal.title.disable":"Desativar t\xEDtulo do terminal","tui.command.terminal.title.enable":"Ativar t\xEDtulo do terminal","tui.command.app.toggle.animations.disable":"Desativar anima\xE7\xF5es","tui.command.app.toggle.animations.enable":"Ativar anima\xE7\xF5es","tui.command.app.toggle.diffwrap.disable":"Desativar quebra de diff","tui.command.app.toggle.diffwrap.enable":"Ativar quebra de diff","tui.command.app.toggle.sound.disable":"Desativar som","tui.command.app.toggle.sound.enable":"Ativar som","tui.command.logout.toast":"Sess\xE3o terminada","tui.command.session.share.title":"Partilhar sess\xE3o","tui.command.session.share.copy_link":"Copiar liga\xE7\xE3o de partilha","tui.command.session.rename.title":"Renomear sess\xE3o","tui.command.session.timeline.title":"Saltar para mensagem","tui.command.session.fork.title":"Bifurcar sess\xE3o","tui.command.session.compact.title":"Compactar sess\xE3o","tui.command.session.unshare.title":"Deixar de partilhar","tui.command.session.undo.title":"Desfazer mensagem anterior","tui.command.session.redo.title":"Refazer","tui.command.session.sidebar.show":"Mostrar painel lateral","tui.command.session.sidebar.hide":"Ocultar painel lateral","tui.command.session.conceal.disable":"Desativar oculta\xE7\xE3o de c\xF3digo","tui.command.session.conceal.enable":"Ativar oculta\xE7\xE3o de c\xF3digo","tui.command.session.timestamps.show":"Mostrar marcas temporais","tui.command.session.timestamps.hide":"Ocultar marcas temporais","tui.command.session.thinking.expand":"Expandir racioc\xEDnio","tui.command.session.thinking.collapse":"Recolher racioc\xEDnio","tui.command.session.tool_details.show":"Mostrar detalhes das ferramentas","tui.command.session.tool_details.hide":"Ocultar detalhes das ferramentas","tui.command.session.scrollbar.toggle":"Alternar barra de deslocamento da sess\xE3o","tui.command.session.generic_tool_output.show":"Mostrar sa\xEDda de ferramenta gen\xE9rica","tui.command.session.generic_tool_output.hide":"Ocultar sa\xEDda de ferramenta gen\xE9rica","tui.command.session.page_up.title":"P\xE1gina acima","tui.command.session.page_down.title":"P\xE1gina abaixo","tui.command.session.line_up.title":"Linha acima","tui.command.session.line_down.title":"Linha abaixo","tui.command.session.half_page_up.title":"Meia p\xE1gina acima","tui.command.session.half_page_down.title":"Meia p\xE1gina abaixo","tui.command.session.first.title":"Primeira mensagem","tui.command.session.last.title":"\xDAltima mensagem","tui.command.session.last_user.title":"Saltar para \xFAltima mensagem do utilizador","tui.command.session.message_next.title":"Mensagem seguinte","tui.command.session.message_previous.title":"Mensagem anterior","tui.command.messages.copy.title":"Copiar \xFAltima mensagem do assistente","tui.command.session.copy.title":"Copiar transcri\xE7\xE3o da sess\xE3o","tui.command.session.export.title":"Exportar transcri\xE7\xE3o da sess\xE3o","tui.command.session.child_first.title":"Ir para sess\xE3o filho","tui.command.session.parent.title":"Ir para sess\xE3o pai","tui.command.session.child_next.title":"Pr\xF3xima sess\xE3o filho","tui.command.session.child_previous.title":"Sess\xE3o filho anterior","tui.command.prompt.clear.title":"Limpar entrada","tui.command.prompt.submit.title":"Enviar prompt","tui.command.prompt.paste.title":"Colar","tui.command.session.interrupt.title":"Interromper sess\xE3o","tui.command.prompt.editor.title":"Abrir editor","tui.command.prompt.skills.title":"Skills","tui.command.voice.toggle.title":"Alternar entrada de voz","tui.command.voice.toggle.title_on":"Entrada de voz: ATIVA \u2014 clique para desativar","tui.command.voice.toggle.title_off":"Entrada de voz: INATIVA \u2014 clique para ativar","tui.command.voice.send.title":"Alternar envio por voz","tui.command.voice.send.title_on":"Envio por voz: ATIVO \u2014 clique para desativar","tui.command.voice.send.title_off":"Envio por voz: INATIVO \u2014 clique para ativar","tui.voice.enabled":"Entrada de voz ativa (Chin\xEAs/Ingl\xEAs) \u2014 clique em [Voice] para gravar","tui.voice.disabled":"Entrada de voz desativada","tui.voice.send.enabled":'Envio por voz ativo \u2014 ap\xF3s uma pausa, diga claramente "send it" para enviar',"tui.voice.send.disabled":"Envio por voz desativado","tui.voice.control.enabled":"Controlo por voz ativo \u2014 usa modelo multimodal para edi\xE7\xE3o inteligente (mais lento)","tui.voice.control.disabled":"Controlo por voz inativo \u2014 usa transcri\xE7\xE3o ASR r\xE1pida","tui.command.voice.control.title":"Alternar controlo por voz (multimodal)","tui.command.voice.control.title_on":"Controlo por voz: ATIVO (multimodal) \u2014 clique para desativar","tui.command.voice.control.title_off":"Controlo por voz: INATIVO (ASR r\xE1pido) \u2014 clique para ativar","tui.voice.error.no_auth":"Use /connect para iniciar sess\xE3o no QitQode, ou configure voice.asr_model para outro fornecedor","tui.voice.error.no_auth_provider":'O fornecedor de voz "{{provider}}" n\xE3o est\xE1 autenticado, verifique a sua apiKey',"tui.voice.error.provider_not_found":'Fornecedor "{{provider}}" n\xE3o dispon\xEDvel \u2014 /connect para autenticar, ou declare models na configura\xE7\xE3o para endpoints personalizados',"tui.voice.error.no_url":'O fornecedor "{{provider}}" n\xE3o tem baseURL configurada \u2014 defina options.baseURL na configura\xE7\xE3o do fornecedor',"tui.voice.error.no_device":"Nenhum microfone/dispositivo de \xE1udio encontrado \u2014 verifique as defini\xE7\xF5es de \xE1udio do sistema","tui.voice.error.recorder_failed":"A grava\xE7\xE3o falhou","tui.voice.error.no_recorder":"Nenhuma ferramenta de grava\xE7\xE3o encontrada, instale sox","tui.voice.error.too_short":"Grava\xE7\xE3o demasiado curta","tui.voice.error.network":"A transcri\xE7\xE3o falhou, verifique a sua rede","tui.voice.error.empty_send":"Nada para enviar","tui.voice.error.unknown_agent":'Agente "{{name}}" n\xE3o encontrado',"tui.command.prompt.stash.title":"Guardar prompt","tui.command.prompt.stash.pop.title":"Recuperar prompt","tui.command.prompt.stash.list.title":"Lista de prompts guardados","tui.command.tips.toggle.show":"Mostrar dicas","tui.command.tips.toggle.hide":"Ocultar dicas","tui.command.plugins.list.title":"Plugins","tui.command.plugins.install.title":"Instalar plugin","tui.dialog.login.title":"In\xEDcio de Sess\xE3o QitQode","cli.providers.select":"Selecionar fornecedor","cli.providers.other":"Outro fornecedor","tui.dialog.login.import_claude":"Importar do Claude Code","tui.dialog.login.other":"Outro Fornecedor","tui.dialog.login.import_claude.no_key":"Chave API do Claude Code n\xE3o encontrada","tui.dialog.login.import_claude.read_failed":"Falha ao ler ~/.claude/settings.json","tui.dialog.login.import_claude.success":"Importado do Claude Code","tui.question.plan_enter.question":"Deseja mudar para o modo plan para planeamento estruturado?","tui.question.plan_enter.header":"Entrar no plan","tui.question.plan_enter.option.0.label":"Sim","tui.question.plan_enter.option.0.description":"Mudar para o agente plan para planeamento s\xF3 de leitura","tui.question.plan_enter.option.1.label":"N\xE3o","tui.question.plan_enter.option.1.description":"Permanecer no modo atual","tui.question.plan_exit.question":"O plan em {{plan}} est\xE1 completo. Deseja mudar para o agente build e come\xE7ar a implementa\xE7\xE3o?","tui.question.plan_exit.header":"Sair do plan","tui.question.plan_exit.option.0.label":"Sim","tui.question.plan_exit.option.0.description":"Mudar para o agente build e come\xE7ar a implementa\xE7\xE3o do plan","tui.question.plan_exit.option.1.label":"N\xE3o","tui.question.plan_exit.option.1.description":"Permanecer com o agente plan para continuar a refinar","tui.session.badge.auto":"Auto","trust.title":"A aceder ao espa\xE7o de trabalho:","trust.safety_check":"Verifica\xE7\xE3o r\xE1pida de seguran\xE7a: Este \xE9 um projeto que criou ou em que confia? (Como o seu pr\xF3prio c\xF3digo, um projeto open source conhecido ou trabalho da sua equipa). Se n\xE3o, reserve um momento para rever o que est\xE1 nesta pasta.","trust.capabilities":"O QitQode poder\xE1 ler, editar e executar ficheiros aqui.","trust.plugin_warn":"Se existirem plugins maliciosos neste diret\xF3rio, podem executar c\xF3digo arbitr\xE1rio, ler, modificar ou exfiltrar os seus ficheiros.","trust.option.yes":"Sim, confio nesta pasta","trust.option.no":"N\xE3o, sair","trust.dangerous.title_home":"AVISO: Est\xE1 prestes a abrir o seu DIRET\xD3RIO PESSOAL.","trust.dangerous.title_root":"AVISO: Est\xE1 prestes a abrir a RAIZ DO SISTEMA DE FICHEIROS.","trust.dangerous.body_home":"O modelo ter\xE1 acesso a TODOS os seus ficheiros pessoais \u2014 chaves SSH, credenciais, perfis de navegador e tudo o resto sob a sua pasta pessoal.","trust.dangerous.body_root":"O modelo ter\xE1 acesso ao SISTEMA DE FICHEIROS INTEIRO \u2014 ficheiros do sistema, todos os dados de utilizador, credenciais e tudo nesta m\xE1quina.","trust.dangerous.advice_home":"A menos que tenha uma raz\xE3o muito espec\xEDfica, N\xC3O confie em todo o seu diret\xF3rio pessoal.","trust.dangerous.advice_root":"A menos que tenha uma raz\xE3o muito espec\xEDfica, N\xC3O confie na raiz do sistema de ficheiros.","trust.dangerous.option.yes":"Compreendo os riscos, confiar apenas nesta sess\xE3o","trust.dangerous.option.no":"Sair (recomendado)"};export{f as dict};
|
|
2
|
+
import"./chunk-54pk7nna.js";import"./chunk-0rmmg3g4.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":"Escreva a sua mensagem... (escreva / para comandos)","tui.prompt.placeholder.shell":'Execute um comando... "{{example}}"',"tui.prompt.ghost":"{{prediction}} (Tab para aceitar)","tui.home.placeholder.example.todo":"Corrigir um TODO no c\xF3digo","tui.home.placeholder.example.stack":"Qual \xE9 a stack tecnol\xF3gica deste projeto?","tui.home.placeholder.example.tests":"Corrigir testes falhados","tui.home.agreement.prefix":"Ao usar o QitQode, concorda com os nossos ","tui.home.agreement.terms":"Termos de Servi\xE7o","tui.home.agreement.separator":" e a ","tui.home.agreement.privacy":"Pol\xEDtica de Privacidade","tui.home.agreement.suffix":"","tui.prompt.hint.attach_file":"anexar ficheiro","tui.prompt.hint.subagent":"subagente","tui.prompt.hint.commands":"comandos","tui.prompt.hint.switch_mode":"mudar modo","tui.prompt.hint.settings":"defini\xE7\xF5es","tui.tips.label":"Dica","tui.tips.plain_terminal":"Recomendamos usar o iTerm ou o terminal do VS Code","tui.tips.attach_file":"Escreva {highlight}@{/highlight} seguido do nome do ficheiro para pesquisar e anexar ficheiros","tui.tips.shell_prefix":"Inicie uma mensagem com {highlight}!{/highlight} para executar comandos de shell diretamente (ex.: {highlight}!ls -la{/highlight})","tui.tips.tab_agent":"Prima {highlight}Tab{/highlight} ou {highlight}Shift+Tab{/highlight} para alternar entre os agentes Build, Plan e Compose","tui.tips.theme_mode":"Execute {highlight}/dark{/highlight} para o modo escuro ou {highlight}/light{/highlight} para o modo claro","tui.tips.doc":"Execute {highlight}/doc{/highlight} para abrir a documenta\xE7\xE3o do utilizador","tui.tips.undo":"Use {highlight}/undo{/highlight} para reverter a \xFAltima mensagem e altera\xE7\xF5es em ficheiros","tui.tips.redo":"Use {highlight}/redo{/highlight} para restaurar mensagens e altera\xE7\xF5es desfeitas anteriormente","tui.tips.drag_drop":"Arraste e solte imagens ou PDFs no terminal para os adicionar como contexto","tui.tips.paste_image":"Prima {highlight}Ctrl+V{/highlight} para colar imagens da \xE1rea de transfer\xEAncia na entrada","tui.tips.editor":"Prima {highlight}Ctrl+X E{/highlight} ou {highlight}/editor{/highlight} para compor mensagens no seu editor externo","tui.tips.init":"Execute {highlight}/init{/highlight} para gerar automaticamente regras do projeto a partir do seu c\xF3digo","tui.tips.models":"Execute {highlight}/models{/highlight} ou {highlight}Ctrl+X M{/highlight} para alternar entre os modelos dispon\xEDveis","tui.tips.theme":'Trave o modo de tema contra o fundo do seu terminal \u2014 abra a paleta de comandos ({highlight}Ctrl+P{/highlight}) e busque "lock"',"tui.tips.new_session":"Prima {highlight}Ctrl+X N{/highlight} ou {highlight}/new{/highlight} para iniciar uma nova sess\xE3o","tui.tips.sessions":"Use {highlight}/sessions{/highlight} ou {highlight}Ctrl+X L{/highlight} para listar e continuar conversas anteriores","tui.tips.compact":"Execute {highlight}/compact{/highlight} para resumir sess\xF5es longas pr\xF3ximas dos limites de contexto","tui.tips.export":"Prima {highlight}Ctrl+X X{/highlight} ou {highlight}/export{/highlight} para guardar a conversa como Markdown","tui.tips.copy_last":"Prima {highlight}Ctrl+X Y{/highlight} para copiar a \xFAltima mensagem do assistente para a \xE1rea de transfer\xEAncia","tui.tips.command_palette":"Prima {highlight}Ctrl+P{/highlight} para ver todas as a\xE7\xF5es e comandos dispon\xEDveis","tui.tips.leader":"A tecla l\xEDder \xE9 {highlight}Ctrl+X{/highlight}; combine-a com outras teclas para a\xE7\xF5es r\xE1pidas","tui.tips.f2":"Prima {highlight}F2{/highlight} para alternar rapidamente entre os modelos usados recentemente","tui.tips.sidebar":"Prima {highlight}Ctrl+X B{/highlight} para mostrar/ocultar o painel lateral","tui.tips.history":"Use {highlight}PageUp{/highlight}/{highlight}PageDown{/highlight} para navegar no hist\xF3rico da conversa","tui.tips.jump_first":"Prima {highlight}Ctrl+G{/highlight} ou {highlight}Home{/highlight} para ir ao in\xEDcio da conversa","tui.tips.jump_last":"Prima {highlight}Ctrl+Alt+G{/highlight} ou {highlight}End{/highlight} para ir \xE0 mensagem mais recente","tui.tips.newline":"Prima {highlight}Shift+Enter{/highlight} ou {highlight}Ctrl+J{/highlight} para adicionar novas linhas na entrada","tui.tips.clear_input":"Prima {highlight}Ctrl+C{/highlight} ao escrever para limpar o campo de entrada","tui.tips.escape":"Prima {highlight}Escape{/highlight} para parar a resposta da IA a meio","tui.tips.plan_agent":"Mude para o agente {highlight}Plan{/highlight} para obter sugest\xF5es sem efetuar altera\xE7\xF5es reais","tui.tips.subagent":"Use {highlight}@agent-name{/highlight} nas entradas para invocar subagentes especializados","tui.tips.cycle_sessions":"Prima {highlight}Ctrl+X Right/Left{/highlight} para alternar entre sess\xF5es pai e filho","tui.tips.config_files":"Crie {highlight}qitqode.json{/highlight} para defini\xE7\xF5es do servidor e {highlight}tui.json{/highlight} para a TUI","tui.tips.global_config":"Coloque as defini\xE7\xF5es da TUI em {highlight}~/.config/qitqode/tui.json{/highlight} para configura\xE7\xE3o global","tui.tips.schema":"Adicione {highlight}$schema{/highlight} \xE0 sua configura\xE7\xE3o para autocompletar no editor","tui.tips.default_model":"Configure {highlight}model{/highlight} na configura\xE7\xE3o para definir o seu modelo predefinido","tui.tips.keybinds":"Substitua qualquer atalho em {highlight}tui.json{/highlight} atrav\xE9s da sec\xE7\xE3o {highlight}keybinds{/highlight}","tui.tips.disable_keybind":"Defina qualquer atalho como {highlight}none{/highlight} para o desativar completamente","tui.tips.mcp_config":"Configure servidores MCP locais ou remotos na sec\xE7\xE3o de configura\xE7\xE3o {highlight}mcp{/highlight}","tui.tips.mcp_oauth":"O QitQode gere automaticamente o OAuth para servidores MCP remotos que requerem autentica\xE7\xE3o","tui.tips.custom_command":"Adicione ficheiros {highlight}.md{/highlight} a {highlight}.qitqode/command/{/highlight} para definir prompts personalizados reutiliz\xE1veis","tui.tips.command_args":"Use {highlight}$ARGUMENTS{/highlight}, {highlight}$1{/highlight}, {highlight}$2{/highlight} em comandos personalizados para entrada din\xE2mica","tui.tips.command_backticks":"Use acentos graves em comandos para injetar sa\xEDda de shell (ex.: {highlight}`git status`{/highlight})","tui.tips.custom_agent":"Adicione ficheiros {highlight}.md{/highlight} a {highlight}.qitqode/agent/{/highlight} para personas de IA especializadas","tui.tips.agent_perms":"Configure permiss\xF5es por agente para as ferramentas {highlight}edit{/highlight}, {highlight}bash{/highlight} e {highlight}webfetch{/highlight}","tui.tips.bash_allow":'Use padr\xF5es como {highlight}"git *": "allow"{/highlight} para permiss\xF5es de bash mais granulares',"tui.tips.bash_deny":'Defina {highlight}"rm -rf *": "deny"{/highlight} para bloquear comandos destrutivos',"tui.tips.bash_ask":'Configure {highlight}"git push": "ask"{/highlight} para exigir aprova\xE7\xE3o antes de fazer push',"tui.tips.formatter":"O QitQode formata ficheiros automaticamente com prettier, gofmt, ruff e mais","tui.tips.disable_formatter":'Defina {highlight}"formatter": false{/highlight} na configura\xE7\xE3o para desativar toda a formata\xE7\xE3o autom\xE1tica',"tui.tips.custom_formatter":"Defina comandos de formata\xE7\xE3o personalizados com extens\xF5es de ficheiro na configura\xE7\xE3o","tui.tips.lsp":"O QitQode usa servidores LSP para an\xE1lise de c\xF3digo inteligente","tui.tips.custom_tool":"Crie ficheiros {highlight}.ts{/highlight} em {highlight}.qitqode/tools/{/highlight} para definir novas ferramentas LLM","tui.tips.tool_scripts":"As defini\xE7\xF5es de ferramentas podem invocar scripts escritos em Python, Go, etc.","tui.tips.plugins":"Adicione ficheiros {highlight}.ts{/highlight} a {highlight}.qitqode/plugin/{/highlight} para ganchos de eventos","tui.tips.plugin_notify":"Use plugins para enviar notifica\xE7\xF5es do sistema operativo quando as sess\xF5es terminam","tui.tips.plugin_protect":"Crie um plugin para impedir que o QitQode leia ficheiros sens\xEDveis","tui.tips.run":"Use {highlight}qitqode run{/highlight} para scripting n\xE3o interativo","tui.tips.continue":"Use {highlight}qitqode --continue{/highlight} para retomar a \xFAltima sess\xE3o","tui.tips.attach_cli":"Use {highlight}qitqode run -f file.ts{/highlight} para anexar ficheiros via CLI","tui.tips.format_json":"Use {highlight}--format json{/highlight} para sa\xEDda leg\xEDvel por m\xE1quina em scripts","tui.tips.auth_list":"Execute {highlight}qitqode auth status{/highlight} para ver seu status de login atual","tui.tips.agent_create":"Execute {highlight}qitqode agent create{/highlight} para cria\xE7\xE3o guiada de agentes","tui.tips.theme_system":'Use {highlight}"theme": "system"{/highlight} para corresponder \xE0s cores do seu terminal',"tui.tips.theme_files":"Crie ficheiros de tema JSON no diret\xF3rio {highlight}.qitqode/themes/{/highlight}","tui.tips.theme_variants":"Os temas suportam variantes escura/clara para ambos os modos","tui.tips.theme_ansi":"Referencie cores ANSI 0-255 em temas personalizados","tui.tips.env_var":"Use a sintaxe {highlight}{env:VAR_NAME}{/highlight} para referenciar vari\xE1veis de ambiente na configura\xE7\xE3o","tui.tips.file_var":"Use {highlight}{file:path}{/highlight} para incluir conte\xFAdo de ficheiros em valores de configura\xE7\xE3o","tui.tips.instructions":"Use {highlight}instructions{/highlight} na configura\xE7\xE3o para carregar ficheiros de regras adicionais","tui.tips.temperature":"Defina a {highlight}temperature{/highlight} do agente de 0.0 (focado) a 1.0 (criativo)","tui.tips.steps":"Configure {highlight}steps{/highlight} para limitar as itera\xE7\xF5es ag\xEAnticas por pedido","tui.tips.disable_tool":'Defina {highlight}"tools": {"bash": false}{/highlight} para desativar ferramentas espec\xEDficas',"tui.tips.disable_mcp_tools":'Defina {highlight}"mcp_*": false{/highlight} para desativar todas as ferramentas de um servidor MCP',"tui.tips.tool_override":"Substitua as defini\xE7\xF5es globais de ferramentas por configura\xE7\xE3o de agente","tui.tips.doom_loop":"A permiss\xE3o {highlight}doom_loop{/highlight} previne ciclos infinitos de chamadas a ferramentas","tui.tips.external_dir":"A permiss\xE3o {highlight}external_directory{/highlight} protege ficheiros fora do projeto","tui.tips.debug_config":"Execute {highlight}qitqode debug config{/highlight} para diagnosticar problemas de configura\xE7\xE3o","tui.tips.print_logs":"Use a op\xE7\xE3o {highlight}--print-logs{/highlight} para ver registos detalhados no stderr","tui.tips.timeline":"Prima {highlight}Ctrl+X G{/highlight} ou {highlight}/timeline{/highlight} para saltar para mensagens espec\xEDficas","tui.tips.toggle_code":"Prima {highlight}Ctrl+X H{/highlight} para alternar a visibilidade dos blocos de c\xF3digo nas mensagens","tui.tips.status":"Prima {highlight}Ctrl+X S{/highlight} ou {highlight}/status{/highlight} para ver informa\xE7\xF5es de estado do sistema","tui.tips.scroll_accel":"Ative {highlight}scroll_acceleration{/highlight} em {highlight}tui.json{/highlight} para deslocamento suave no estilo macOS","tui.tips.agents_md":"Fa\xE7a commit do ficheiro {highlight}AGENTS.md{/highlight} do seu projeto no Git para partilhar com a equipa","tui.tips.review":"Use {highlight}/review{/highlight} para rever altera\xE7\xF5es n\xE3o confirmadas, branches ou PRs","tui.tips.help":"Execute {highlight}/help{/highlight} ou {highlight}Ctrl+X H{/highlight} para mostrar o di\xE1logo de ajuda","tui.tips.rename":"Use {highlight}/rename{/highlight} para renomear a sess\xE3o atual","tui.tips.suspend.unix":"Prima {highlight}Ctrl+Z{/highlight} para suspender o terminal e regressar \xE0 sua shell","tui.tips.suspend.win":"Prima {highlight}Ctrl+Z{/highlight} para desfazer altera\xE7\xF5es na sua entrada","tui.command.palette.title":"Comandos","tui.command.palette.suggested":"Sugeridos","tui.command.category.session":"Sess\xE3o","tui.command.category.agent":"Agente","tui.command.category.provider":"Fornecedor","tui.command.category.system":"Sistema","tui.command.category.prompt":"Entrada","tui.command.category.internal":"Interno","tui.command.category.external":"Externo","tui.slash.init.description":"configura\xE7\xE3o guiada de AGENTS.md","tui.slash.review.description":"rever altera\xE7\xF5es [commit|branch|pr], por defeito n\xE3o confirmadas","tui.slash.dream.description":"consolidar manualmente a mem\xF3ria do projeto a partir de ficheiros de mem\xF3ria e trajet\xF3ria bruta","tui.slash.distill.description":"encontrar fluxos repetidos no trabalho recente e empacot\xE1-los em skills, subagentes ou comandos","tui.slash.goal.description":"definir um objetivo com condi\xE7\xE3o de paragem; executa at\xE9 um juiz confirmar. /goal clear para abortar","tui.slash.deep-research.description":"relat\xF3rio de investiga\xE7\xE3o profunda multi-fonte e verificado (executa o workflow deep-research)","tui.command.language.switch.title":"Mudar idioma","tui.command.language.switch.description":"Alterar o idioma de apresenta\xE7\xE3o","tui.command.language.dialog.title":"Mudar idioma","tui.language.auto":"Auto (sistema)","tui.language.current":"Atual","tui.command.session.list.title":"Mudar sess\xE3o","tui.command.session.new.title":"Nova sess\xE3o","tui.command.workflow.list.title":"Fluxos de trabalho","tui.command.model.list.title":"Mudar modelo","tui.command.model.cycle_recent.title":"Ciclo de modelos","tui.command.model.cycle_recent_reverse.title":"Ciclo de modelos (inverso)","tui.command.model.cycle_favorite.title":"Ciclo de favoritos","tui.command.model.cycle_favorite_reverse.title":"Ciclo de favoritos (inverso)","tui.command.agent.list.title":"Mudar agente","tui.command.mcp.list.title":"Alternar MCPs","tui.command.never_ask.title_on":"Sem perguntas: ATIVO (decidir automaticamente, permiss\xF5es exclu\xEDdas) \u2014 clique para desativar","tui.command.never_ask.title_off":"Sem perguntas: INATIVO \u2014 clique para ativar (decidir automaticamente, permiss\xF5es exclu\xEDdas)","tui.command.never_ask.toast_on":"Sem perguntas ATIVO \u2014 n\xE3o lhe perguntarei; escolherei a melhor op\xE7\xE3o at\xE9 desativar (/never-ask). Os pedidos de permiss\xE3o ainda requerem a sua aprova\xE7\xE3o.","tui.command.never_ask.toast_off":"Sem perguntas INATIVO \u2014 voltarei a perguntar nos pontos de decis\xE3o.","tui.command.agent.cycle.title":"Ciclo de agentes","tui.command.variant.cycle.title":"Ciclo de variantes","tui.command.variant.list.title":"Mudar variante de modelo","tui.command.agent.cycle.reverse.title":"Ciclo de agentes (inverso)","tui.command.provider.login.title":"Iniciar sess\xE3o","tui.command.provider.logout.title":"Terminar sess\xE3o","tui.command.console.org.switch.title":"Mudar organiza\xE7\xE3o","tui.command.qitqode.status.title":"Ver estado","tui.command.worktree.list.title":"\xC1rvores de trabalho","tui.command.theme.switch.title":"Mudar tema","tui.command.theme.switch_mode.to_light":"Mudar para modo claro","tui.command.theme.switch_mode.to_dark":"Mudar para modo escuro","tui.command.theme.mode.unlock":"Desbloquear modo do tema","tui.command.theme.mode.lock":"Bloquear modo do tema","tui.command.help.show.title":"Ajuda","tui.dialog.help.close_hint":"esc/enter/space","tui.dialog.help.accessibility":"Acessibilidade: alterne anima\xE7\xF5es e som na lista de comandos. Vari\xE1veis de ambiente: NO_COLOR, QITQODE_TUI_ACCESSIBLE, QITQODE_REDUCE_MOTION, QITQODE_TUI_SOUND.","tui.dialog.help.announcements":"An\xFAncios: no modo acess\xEDvel, escolha o n\xEDvel de detalhe dos an\xFAncios para leitores de tela (silencioso, normal, detalhado) na lista de comandos ou com QITQODE_TUI_ANNOUNCEMENTS. Erros s\xE3o sempre anunciados.","tui.dialog.help.dialog_keys":"Di\xE1logos: todos os di\xE1logos funcionam apenas com o teclado \u2014 Esc fecha, Tab ou as setas movem o foco, Enter ou Espa\xE7o ativa o controle em foco.","tui.command.app.announcements.cycle":"An\xFAncios: {{level}} (selecione para alterar)","tui.announcements.level.quiet":"silencioso","tui.announcements.level.normal":"normal","tui.announcements.level.verbose":"detalhado","tui.app.terminal_too_small":"Terminal muito pequeno ({{width}}x{{height}}). Redimensione para pelo menos 40x8.","tui.dialog.help.command_list":"Prima {{keybind}} para ver todas as a\xE7\xF5es e comandos dispon\xEDveis em qualquer contexto.","tui.dialog.help.ok":"ok","tui.dialog.close_hint":"esc","tui.dialog.document.scroll_hint":"\u2191/\u2193 rolar \xB7 PgUp/PgDn p\xE1gina \xB7 esc fechar","tui.dialog.ok":"ok","tui.dialog.confirm.cancel":"Cancelar","tui.dialog.confirm.confirm":"Confirmar","tui.dialog.agreement.title":"Termos e Privacidade","tui.dialog.agreement.message":"Por favor reveja e aceite para continuar.","tui.dialog.agreement.confirm":"Aceitar e Continuar","tui.command.docs.terms.title":"Ver os termos de servi\xE7o","tui.command.docs.privacy.title":"Ver a pol\xEDtica de privacidade","tui.command.consent.revoke.title":"Revogar o acordo de modelo gratuito","tui.consent.revoked":"Acordo de modelo gratuito revogado \u2014 ser-lhe-\xE1 pedido que aceite novamente","tui.dialog.select.placeholder":"Pesquisar","tui.dialog.select.no_results":"Sem resultados","tui.dialog.prompt.placeholder":"Introduza texto","tui.dialog.prompt.busy":"A trabalhar...","tui.dialog.prompt.processing":"a processar...","tui.dialog.prompt.submit_key":"enter","tui.dialog.prompt.submit_action":"enviar","tui.dialog.export.title":"Op\xE7\xF5es de Exporta\xE7\xE3o","tui.dialog.export.filename":"Nome do ficheiro:","tui.dialog.export.filename_placeholder":"Introduza o nome do ficheiro","tui.dialog.export.include_thinking":"Incluir racioc\xEDnio","tui.dialog.export.include_tool_details":"Incluir detalhes das ferramentas","tui.dialog.export.include_assistant_metadata":"Incluir metadados do assistente","tui.dialog.export.open_without_saving":"Abrir sem guardar","tui.dialog.export.hint.toggle_prefix":"Prima","tui.dialog.export.hint.toggle_action":"para alternar","tui.dialog.export.hint.confirm_action":"para confirmar","tui.dialog.export.hint.options_action":"para op\xE7\xF5es","tui.toast.copied_to_clipboard":"Copiado para a \xE1rea de transfer\xEAncia","tui.toast.instructions_loaded":"Carregado {{files}}","tui.toast.update_available.title":"Atualiza\xE7\xE3o Dispon\xEDvel","tui.toast.update_available.confirm":"Uma nova vers\xE3o v{{version}} est\xE1 dispon\xEDvel. Deseja atualizar agora?","tui.toast.update_available.updating":"A atualizar para v{{version}}...","tui.toast.update_available.failed":"A atualiza\xE7\xE3o falhou","tui.toast.update_available.success":"Atualizado com sucesso para QitQode v{{version}}. Por favor reinicie a aplica\xE7\xE3o.","tui.toast.updated.title":"Atualizado automaticamente","tui.toast.updated.message":"Atualiza\xE7\xE3o de patch aplicada: v{{version}}. Reinicie para usar a nova vers\xE3o. Desative com autoupdate: false na configura\xE7\xE3o.","tui.sidebar.instructions":"Instru\xE7\xF5es","tui.sidebar.cwd":"Diret\xF3rio de Trabalho","tui.toast.unknown_error":"Ocorreu um erro desconhecido","tui.command.docs.open.title":"Abrir documenta\xE7\xE3o","tui.command.app.exit.title":"Sair da aplica\xE7\xE3o","tui.command.app.debug.title":"Alternar painel de depura\xE7\xE3o","tui.command.app.console.title":"Alternar consola","tui.command.app.heap_snapshot.title":"Escrever snapshot do heap","tui.command.terminal.suspend.title":"Suspender terminal","tui.command.terminal.title.disable":"Desativar t\xEDtulo do terminal","tui.command.terminal.title.enable":"Ativar t\xEDtulo do terminal","tui.command.app.toggle.animations.disable":"Desativar anima\xE7\xF5es","tui.command.app.toggle.animations.enable":"Ativar anima\xE7\xF5es","tui.command.app.toggle.diffwrap.disable":"Desativar quebra de diff","tui.command.app.toggle.diffwrap.enable":"Ativar quebra de diff","tui.command.app.toggle.sound.disable":"Desativar som","tui.command.app.toggle.sound.enable":"Ativar som","tui.command.logout.toast":"Sess\xE3o terminada","tui.command.session.share.title":"Partilhar sess\xE3o","tui.command.session.share.copy_link":"Copiar liga\xE7\xE3o de partilha","tui.command.session.rename.title":"Renomear sess\xE3o","tui.command.session.timeline.title":"Saltar para mensagem","tui.command.session.fork.title":"Bifurcar sess\xE3o","tui.command.session.compact.title":"Compactar sess\xE3o","tui.command.session.unshare.title":"Deixar de partilhar","tui.command.session.undo.title":"Desfazer mensagem anterior","tui.command.session.redo.title":"Refazer","tui.command.session.sidebar.show":"Mostrar painel lateral","tui.command.session.sidebar.hide":"Ocultar painel lateral","tui.command.session.conceal.disable":"Desativar oculta\xE7\xE3o de c\xF3digo","tui.command.session.conceal.enable":"Ativar oculta\xE7\xE3o de c\xF3digo","tui.command.session.timestamps.show":"Mostrar marcas temporais","tui.command.session.timestamps.hide":"Ocultar marcas temporais","tui.command.session.thinking.expand":"Expandir racioc\xEDnio","tui.command.session.thinking.collapse":"Recolher racioc\xEDnio","tui.command.session.tool_details.show":"Mostrar detalhes das ferramentas","tui.command.session.tool_details.hide":"Ocultar detalhes das ferramentas","tui.command.session.scrollbar.toggle":"Alternar barra de deslocamento da sess\xE3o","tui.command.session.generic_tool_output.show":"Mostrar sa\xEDda de ferramenta gen\xE9rica","tui.command.session.generic_tool_output.hide":"Ocultar sa\xEDda de ferramenta gen\xE9rica","tui.command.session.page_up.title":"P\xE1gina acima","tui.command.session.page_down.title":"P\xE1gina abaixo","tui.command.session.line_up.title":"Linha acima","tui.command.session.line_down.title":"Linha abaixo","tui.command.session.half_page_up.title":"Meia p\xE1gina acima","tui.command.session.half_page_down.title":"Meia p\xE1gina abaixo","tui.command.session.first.title":"Primeira mensagem","tui.command.session.last.title":"\xDAltima mensagem","tui.command.session.last_user.title":"Saltar para \xFAltima mensagem do utilizador","tui.command.session.message_next.title":"Mensagem seguinte","tui.command.session.message_previous.title":"Mensagem anterior","tui.command.messages.copy.title":"Copiar \xFAltima mensagem do assistente","tui.command.session.copy.title":"Copiar transcri\xE7\xE3o da sess\xE3o","tui.command.session.export.title":"Exportar transcri\xE7\xE3o da sess\xE3o","tui.command.session.child_first.title":"Ir para sess\xE3o filho","tui.command.session.parent.title":"Ir para sess\xE3o pai","tui.command.session.child_next.title":"Pr\xF3xima sess\xE3o filho","tui.command.session.child_previous.title":"Sess\xE3o filho anterior","tui.command.prompt.clear.title":"Limpar entrada","tui.command.prompt.submit.title":"Enviar prompt","tui.command.prompt.paste.title":"Colar","tui.command.session.interrupt.title":"Interromper sess\xE3o","tui.command.prompt.editor.title":"Abrir editor","tui.command.prompt.skills.title":"Skills","tui.command.voice.toggle.title":"Alternar entrada de voz","tui.command.voice.toggle.title_on":"Entrada de voz: ATIVA \u2014 clique para desativar","tui.command.voice.toggle.title_off":"Entrada de voz: INATIVA \u2014 clique para ativar","tui.command.voice.send.title":"Alternar envio por voz","tui.command.voice.send.title_on":"Envio por voz: ATIVO \u2014 clique para desativar","tui.command.voice.send.title_off":"Envio por voz: INATIVO \u2014 clique para ativar","tui.voice.enabled":"Entrada de voz ativa (Chin\xEAs/Ingl\xEAs) \u2014 clique em [Voice] para gravar","tui.voice.disabled":"Entrada de voz desativada","tui.voice.send.enabled":'Envio por voz ativo \u2014 ap\xF3s uma pausa, diga claramente "send it" para enviar',"tui.voice.send.disabled":"Envio por voz desativado","tui.voice.control.enabled":"Controlo por voz ativo \u2014 usa modelo multimodal para edi\xE7\xE3o inteligente (mais lento)","tui.voice.control.disabled":"Controlo por voz inativo \u2014 usa transcri\xE7\xE3o ASR r\xE1pida","tui.command.voice.control.title":"Alternar controlo por voz (multimodal)","tui.command.voice.control.title_on":"Controlo por voz: ATIVO (multimodal) \u2014 clique para desativar","tui.command.voice.control.title_off":"Controlo por voz: INATIVO (ASR r\xE1pido) \u2014 clique para ativar","tui.voice.error.no_auth":"Use /connect para iniciar sess\xE3o no QitQode, ou configure voice.asr_model para outro fornecedor","tui.voice.error.no_auth_provider":'O fornecedor de voz "{{provider}}" n\xE3o est\xE1 autenticado, verifique a sua apiKey',"tui.voice.error.provider_not_found":'Fornecedor "{{provider}}" n\xE3o dispon\xEDvel \u2014 /connect para autenticar, ou declare models na configura\xE7\xE3o para endpoints personalizados',"tui.voice.error.no_url":'O fornecedor "{{provider}}" n\xE3o tem baseURL configurada \u2014 defina options.baseURL na configura\xE7\xE3o do fornecedor',"tui.voice.error.no_device":"Nenhum microfone/dispositivo de \xE1udio encontrado \u2014 verifique as defini\xE7\xF5es de \xE1udio do sistema","tui.voice.error.recorder_failed":"A grava\xE7\xE3o falhou","tui.voice.error.no_recorder":"Nenhuma ferramenta de grava\xE7\xE3o encontrada, instale sox","tui.voice.error.too_short":"Grava\xE7\xE3o demasiado curta","tui.voice.error.network":"A transcri\xE7\xE3o falhou, verifique a sua rede","tui.voice.error.empty_send":"Nada para enviar","tui.voice.error.unknown_agent":'Agente "{{name}}" n\xE3o encontrado',"tui.command.prompt.stash.title":"Guardar prompt","tui.command.prompt.stash.pop.title":"Recuperar prompt","tui.command.prompt.stash.list.title":"Lista de prompts guardados","tui.command.tips.toggle.show":"Mostrar dicas","tui.command.tips.toggle.hide":"Ocultar dicas","tui.command.plugins.list.title":"Plugins","tui.command.plugins.install.title":"Instalar plugin","tui.dialog.login.title":"In\xEDcio de Sess\xE3o QitQode","cli.providers.select":"Selecionar fornecedor","cli.providers.other":"Outro fornecedor","tui.dialog.login.import_claude":"Importar do Claude Code","tui.dialog.login.other":"Outro Fornecedor","tui.dialog.login.import_claude.no_key":"Chave API do Claude Code n\xE3o encontrada","tui.dialog.login.import_claude.read_failed":"Falha ao ler ~/.claude/settings.json","tui.dialog.login.import_claude.success":"Importado do Claude Code","tui.question.plan_enter.question":"Deseja mudar para o modo plan para planeamento estruturado?","tui.question.plan_enter.header":"Entrar no plan","tui.question.plan_enter.option.0.label":"Sim","tui.question.plan_enter.option.0.description":"Mudar para o agente plan para planeamento s\xF3 de leitura","tui.question.plan_enter.option.1.label":"N\xE3o","tui.question.plan_enter.option.1.description":"Permanecer no modo atual","tui.question.plan_exit.question":"O plan em {{plan}} est\xE1 completo. Deseja mudar para o agente build e come\xE7ar a implementa\xE7\xE3o?","tui.question.plan_exit.header":"Sair do plan","tui.question.plan_exit.option.0.label":"Sim","tui.question.plan_exit.option.0.description":"Mudar para o agente build e come\xE7ar a implementa\xE7\xE3o do plan","tui.question.plan_exit.option.1.label":"N\xE3o","tui.question.plan_exit.option.1.description":"Permanecer com o agente plan para continuar a refinar","tui.session.badge.auto":"Auto","trust.title":"A aceder ao espa\xE7o de trabalho:","trust.safety_check":"Verifica\xE7\xE3o r\xE1pida de seguran\xE7a: Este \xE9 um projeto que criou ou em que confia? (Como o seu pr\xF3prio c\xF3digo, um projeto open source conhecido ou trabalho da sua equipa). Se n\xE3o, reserve um momento para rever o que est\xE1 nesta pasta.","trust.capabilities":"O QitQode poder\xE1 ler, editar e executar ficheiros aqui.","trust.plugin_warn":"Se existirem plugins maliciosos neste diret\xF3rio, podem executar c\xF3digo arbitr\xE1rio, ler, modificar ou exfiltrar os seus ficheiros.","trust.option.yes":"Sim, confio nesta pasta","trust.option.no":"N\xE3o, sair","trust.dangerous.title_home":"AVISO: Est\xE1 prestes a abrir o seu DIRET\xD3RIO PESSOAL.","trust.dangerous.title_root":"AVISO: Est\xE1 prestes a abrir a RAIZ DO SISTEMA DE FICHEIROS.","trust.dangerous.body_home":"O modelo ter\xE1 acesso a TODOS os seus ficheiros pessoais \u2014 chaves SSH, credenciais, perfis de navegador e tudo o resto sob a sua pasta pessoal.","trust.dangerous.body_root":"O modelo ter\xE1 acesso ao SISTEMA DE FICHEIROS INTEIRO \u2014 ficheiros do sistema, todos os dados de utilizador, credenciais e tudo nesta m\xE1quina.","trust.dangerous.advice_home":"A menos que tenha uma raz\xE3o muito espec\xEDfica, N\xC3O confie em todo o seu diret\xF3rio pessoal.","trust.dangerous.advice_root":"A menos que tenha uma raz\xE3o muito espec\xEDfica, N\xC3O confie na raiz do sistema de ficheiros.","trust.dangerous.option.yes":"Compreendo os riscos, confiar apenas nesta sess\xE3o","trust.dangerous.option.no":"Sair (recomendado)"};export{f as dict};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{nf as u}from"./chunk-zsnbxsdx.js";import{ro as g}from"./chunk-9va5eh9s.js";import"./chunk-mkyrg7gt.js";import"./chunk-7v4fzkbb.js";import"./chunk-cqtkxwd8.js";import"./chunk-pk0tytcm.js";import{wr as w}from"./chunk-8cty50g7.js";import{Bs as f}from"./chunk-v7ah9gg0.js";import"./chunk-d0m7nbbx.js";import"./chunk-vfj5nwab.js";import"./chunk-7w84hfxs.js";import"./chunk-ym4ydwrz.js";import"./chunk-vmgknvxs.js";import"./chunk-p409grvp.js";import"./chunk-ag9thqkv.js";import"./chunk-0rmmg3g4.js";var h=f({service:"provider.qlex"}),d=w.streamUrl(),i=w.omniqueryBaseUrl()+"/runOrchestrated";class p extends Error{name="QlexNotLoggedInError";constructor(){super(w.copy().notLoggedIn)}}class E extends Error{name="QlexInsufficientBalanceError";constructor(J){super(w.copy().insufficientBalance(J))}}class C extends Error{name="QlexRateLimitError";constructor(){super(w.copy().rateLimit)}}class A extends Error{name="QlexInvalidCredentialsError";constructor(J){super(w.copy().invalidCredentials(J))}}class Q extends Error{name="QlexGatewayError";constructor(J){super(w.copy().gatewayUnavailable(J))}}var l=60000;function NJ(J){return w.sanitizeUpstreamError(J)}class v extends Error{name="QlexStreamError";constructor(J){super(w.copy().streamFailed(J))}}function y(J){return g(J)}var n=new Set(["coding","agent","research","review","chat"]);function s(J){if(J===void 0)return;if(typeof J==="string"&&n.has(J))return J;throw Error(`invalid Qortex posture: ${String(J)}`)}function a(J){if(J===void 0)return;let K=Array.isArray(J)?J:[J];if(K.every((V)=>typeof V==="string"&&/^[^/\s]+\/[^/\s]+$/.test(V)))return Array.isArray(J)?K:J;throw Error(`invalid Qortex directive registry key: ${String(J)}`)}function I(J){if(typeof J==="string")return J;if(Array.isArray(J))return J.map((K)=>{if(typeof K==="string")return K;if(K&&typeof K==="object"){let V=K;if(typeof V.text==="string")return V.text;if(typeof V.content==="string")return V.content}return""}).join("");if(J===void 0||J===null)return"";return String(J)}function t(J){if(!Array.isArray(J))return J;return J.map((K)=>{if(!K||typeof K!=="object")return K;let V=K;if(!("content"in V))return K;return{...V,content:I(V.content)}})}function r(J){if(!Array.isArray(J))return J;let K=(z)=>!!z&&typeof z==="object"&&z.role==="system",V=0;while(V<J.length&&K(J[V]))V++;if(V<=1)return J;let Z=J.slice(0,V),Y=Z.map((z)=>typeof z.content==="string"?z.content:String(z.content??"")).filter((z)=>z.length>0).join(`
|
|
3
|
+
|
|
4
|
+
`);return[{...Z[0],role:"system",content:Y},...J.slice(V)]}var T="<tool_call>",L="</tool_call>";function o(J){if(!Array.isArray(J)||J.length===0)return;let K=J.map((V)=>{try{return JSON.stringify(V)}catch{return}}).filter((V)=>V!==void 0);if(K.length===0)return;return["# Tools","","You may call one or more functions to assist with the user query.","","You are provided with function signatures within <tools></tools> XML tags:","<tools>",...K,"</tools>","","For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:","<tool_call>",'{"name": <function-name>, "arguments": <args-json-object>}',"</tool_call>","","Function results will be provided within <tool_response></tool_response> XML tags. Do not write <tool_response> blocks yourself.","Only use the functions declared above. Never invent function names, and never write out a function-call-like block in any other format."].join(`
|
|
5
|
+
`)}function e(J){let K=J.function??{},V=typeof K.name==="string"?K.name:"",Z={};if(typeof K.arguments==="string")try{Z=JSON.parse(K.arguments)}catch{Z=K.arguments}else if(K.arguments!==void 0)Z=K.arguments;return`${T}
|
|
6
|
+
${JSON.stringify({name:V,arguments:Z})}
|
|
7
|
+
${L}`}function JJ(J,K){if(!Array.isArray(J))return J;let V=J.map((Y)=>{if(!Y||typeof Y!=="object")return Y;let z=Y;if(z.role==="assistant"&&Array.isArray(z.tool_calls)){let $=z.tool_calls.map(e).join(`
|
|
8
|
+
`),H=I(z.content),{tool_calls:X,...N}=z;return{...N,content:H.length>0?`${H}
|
|
9
|
+
${$}`:$}}if(z.role==="tool"){let{tool_call_id:$,name:H,...X}=z;return{...X,role:"user",content:`<tool_response>
|
|
10
|
+
${I(z.content)}
|
|
11
|
+
</tool_response>`}}return Y}),Z=o(K);if(Z){let Y=0;while(Y<V.length&&!!V[Y]&&typeof V[Y]==="object"&&V[Y].role==="system")Y++;V.splice(Y,0,{role:"system",content:Z})}return V}function KJ(){return process.env.QITQODE_TOOL_PROTOCOL==="text"?"text":"native"}function VJ(J){if(Array.isArray(J.tools)&&J.tools.length>0)return!0;let K=J.messages;if(!Array.isArray(K))return!1;return K.some((V)=>{if(!V||typeof V!=="object")return!1;let Z=V;return Z.role==="tool"||Z.role==="assistant"&&Array.isArray(Z.tool_calls)})}function x(J,K){let V=K?.toolMode??"native",Z=J.model??"default",Y={stream:J.stream??!0};if(J.temperature!==void 0)Y.temperature=J.temperature;if(J.max_tokens!==void 0)Y.max_tokens=J.max_tokens;if(J.tools!==void 0)Y.tools=J.tools;if(J.tool_choice!==void 0)Y.tool_choice=J.tool_choice;if(J.stream_options!==void 0)Y.stream_options=J.stream_options;let z=V==="text"?JJ(J.messages,J.tools):J.messages,$={},H=s(J.posture);if(H!==void 0)$.posture=H;let X=a(J.directive);if(X!==void 0)$.directive=X;if(J.modelPersona!==void 0)$.modelPersona=J.modelPersona;return{tier:Z,messages:r(t(z)),opts:Y,...$}}function YJ(J){let K=(V)=>typeof V==="string"&&(V.startsWith("qlex")||V.startsWith("qortex"));return K(J.id)||K(J.object)}function ZJ(J){let K=[],V=J.indexOf(`
|
|
12
|
+
`)===-1?[J]:J.split(`
|
|
13
|
+
`);for(let $ of V){let H=$.endsWith("\r")?$.slice(0,-1):$;if(!H.startsWith("data:"))continue;let X=H.slice(5);if(X.startsWith(" "))X=X.slice(1);K.push(X)}if(K.length===0)return{kind:"skip"};let Z=K.length===1?K[0]:K.join(`
|
|
14
|
+
`);if(Z==="")return{kind:"skip"};if(Z==="[DONE]")return{kind:"done"};if(Z.startsWith("[ERROR]"))return{kind:"error",message:Z.slice(7).trim()||"qlex stream error"};let Y=Z.charCodeAt(0),z=Y===123||Y===91||Y===32||Y===9||Y===10||Y===13;try{if(!z)return{kind:"token",content:Z};let $=JSON.parse(Z);if($&&typeof $==="object"){let H=$.id;if(H==="qlex-cost"||H==="qortex-cost")return{kind:"cost",cost:$};if(H==="qlex-stream"&&$.usage&&typeof $.usage==="object"){let q=$.choices,P;if(Array.isArray(q)&&q[0]&&typeof q[0]==="object"){let U=q[0].finish_reason;if(typeof U==="string")P=U}return{kind:"usage",usage:$.usage,finishReason:P}}if(Array.isArray($.choices))return{kind:"passthrough",chunk:$};let X=$,N=typeof X.content==="string"?X.content:typeof X.text==="string"?X.text:typeof X.delta==="string"?X.delta:void 0;if(N!==void 0)return{kind:"token",content:N};if(YJ($)){let q=$.object;return{kind:"control",control:typeof q==="string"&&q.endsWith(".tier.outputLimits")?"tier-output-limits":"unknown",chunk:$}}}}catch{}return{kind:"token",content:Z}}function $J(J,K){let V=Math.min(J.length,K.length-1);for(let Z=V;Z>=1;Z--)if(K.startsWith(J.slice(J.length-Z)))return Z;return 0}class m{onText;onToolCall;pending="";inBlock=!1;constructor(J,K){this.onText=J;this.onToolCall=K}feed(J){this.pending+=J,this.drain(!1)}flush(){if(this.drain(!0),this.inBlock)this.emitBlock(this.pending,!0),this.inBlock=!1;else if(this.pending.length>0)this.onText(this.pending);this.pending=""}drain(J){while(!0)if(!this.inBlock){let K=this.pending.indexOf(T);if(K===-1){let V=J?0:$J(this.pending,T),Z=this.pending.length-V;if(Z>0)this.onText(this.pending.slice(0,Z)),this.pending=V>0?this.pending.slice(Z):"";return}if(K>0)this.onText(this.pending.slice(0,K));this.pending=this.pending.slice(K+T.length),this.inBlock=!0}else{let K=this.pending.indexOf(L);if(K===-1)return;if(this.emitBlock(this.pending.slice(0,K),!1),this.pending=this.pending.slice(K+L.length),this.pending.startsWith(`\r
|
|
15
|
+
`))this.pending=this.pending.slice(2);else if(this.pending.startsWith(`
|
|
16
|
+
`))this.pending=this.pending.slice(1);this.inBlock=!1}}emitBlock(J,K){try{let V=JSON.parse(J.trim());if(V&&typeof V==="object"&&typeof V.name==="string"){let Z=V.arguments;this.onToolCall({name:V.name,arguments:typeof Z==="string"?Z:JSON.stringify(Z??{})});return}}catch{}this.onText(`${T}${J}${K?"":L}`)}}function B(J,K,V){let Z={id:"qlex-stream",object:"chat.completion.chunk",created:Math.floor(Date.now()/1000),model:"qlex",choices:[{index:0,delta:J,finish_reason:K}]};if(V)Z.usage=V;return`data: ${JSON.stringify(Z)}
|
|
17
|
+
|
|
18
|
+
`}function zJ(J,K){let V=K?.toolProtocolEnabled===!0,Z=J.getReader(),Y=new TextDecoder,z=new TextEncoder,$="",H=!1,X=!1,N,q,P;return new ReadableStream({async start(U){let b=(j)=>{let D=H?{content:j}:{role:"assistant",content:j};H=!0,U.enqueue(z.encode(B(D,null)))},k=0,W=V?new m(b,(j)=>{let D={...H?{}:{role:"assistant"},tool_calls:[{index:k,id:`qlexcall_${Date.now().toString(36)}_${k}`,type:"function",function:{name:j.name,arguments:j.arguments}}]};H=!0,k++,U.enqueue(z.encode(B(D,null)))}):void 0,O=(j)=>W?W.feed(j):b(j),R=()=>{W?.flush();let j=N||q!==void 0?{prompt_tokens:N?.tokens.prompt??0,completion_tokens:N?.tokens.completion??0,total_tokens:N?.tokens.total??(N?.tokens.prompt??0)+(N?.tokens.completion??0),cost_usd:N?.cost_usd,cost_credits:N?.cost_credits??N?.cost_qredits,context_window:q}:void 0,D=k>0?"tool_calls":P??"stop";U.enqueue(z.encode(B({},D,j))),U.enqueue(z.encode(`data: [DONE]
|
|
19
|
+
|
|
20
|
+
`)),U.close(),X=!0},F=(j)=>{let D=ZJ(j);switch(D.kind){case"skip":return!1;case"token":return O(D.content),!1;case"passthrough":{let M=D.chunk.choices;if(Array.isArray(M)&&M[0]&&typeof M[0]==="object"){let S=M[0].finish_reason;if(typeof S==="string")P=S}return H=!0,U.enqueue(z.encode(`data: ${JSON.stringify(D.chunk)}
|
|
21
|
+
|
|
22
|
+
`)),!1}case"cost":if(D.cost.final)N=D.cost;return!1;case"usage":if(D.usage.context_window!==void 0)q=D.usage.context_window;if(D.finishReason!==void 0)P=D.finishReason;return!1;case"control":{if(D.control==="tier-output-limits"){let M=D.chunk;h.debug("qlex tier output limits",{tierOutputLimit:M.tierOutputLimit,tierRecommendedStepTokens:M.tierRecommendedStepTokens,tierStepGuidance:M.tierStepGuidance})}else h.debug("qlex control frame dropped",{id:D.chunk.id,object:D.chunk.object});return!1}case"done":return R(),!0;case"error":return U.error(new v(D.message)),X=!0,!0}};try{while(!0){let{done:D,value:M}=await Z.read();if(D)break;$+=Y.decode(M,{stream:!0});let S;while((S=$.indexOf(`
|
|
23
|
+
|
|
24
|
+
`))!==-1){let G=$.slice(0,S);if($=$.slice(S+2),F(G))return}}$+=Y.decode();let j=$.replace(/\r?\n$/,"");if(j.length>0&&F(j))return;if(!X)R()}catch(j){if(!X)U.error(j instanceof v?j:new v(j instanceof Error?j.message:String(j)))}finally{Z.releaseLock()}},cancel(U){Z.cancel(U).catch(()=>{})}})}function c(J){return{content:typeof J.content==="string"?J.content:J.choices?.[0]?.message?.content??"",finishReason:J.choices?.[0]?.finish_reason??"stop"}}function HJ(J){let K=J??{},{content:V,finishReason:Z}=c(K),Y=K.usage??{},z=Y.prompt_tokens??0,$=Y.completion_tokens??0,H="orch-"+Date.now().toString(36),X=Math.floor(Date.now()/1000),N=(k,W,O)=>{let R={id:H,object:"chat.completion.chunk",created:X,model:"orchestrated",choices:[{index:0,delta:k,finish_reason:W}]};if(O)R.usage=O;return`data: ${JSON.stringify(R)}
|
|
25
|
+
|
|
26
|
+
`},q={prompt_tokens:z,completion_tokens:$,total_tokens:Y.total_tokens??z+$};if(typeof Y.cost_usd==="number")q.cost_usd=Y.cost_usd;if(typeof Y.cost_credits==="number")q.cost_credits=Y.cost_credits;if(typeof Y.context_window==="number")q.context_window=Y.context_window;let P=[N({role:"assistant",content:""},null),N({content:V},null),N({},Z,q),`data: [DONE]
|
|
27
|
+
|
|
28
|
+
`],U=new TextEncoder,b=new ReadableStream({start(k){for(let W of P)k.enqueue(U.encode(W));k.close()}});return new Response(b,{status:200,headers:{"content-type":"text/event-stream"}})}function UJ(J){let K=J??{},{content:V,finishReason:Z}=c(K),Y=K.usage??{},z=Y.prompt_tokens??0,$=Y.completion_tokens??0,H={id:"orch-"+Date.now(),object:"chat.completion",created:Math.floor(Date.now()/1000),model:"orchestrated",choices:[{index:0,message:{role:"assistant",content:V},finish_reason:Z}],usage:{prompt_tokens:z,completion_tokens:$,total_tokens:Y.total_tokens??z+$,...typeof Y.cost_usd==="number"?{cost_usd:Y.cost_usd}:{},...typeof Y.context_window==="number"?{context_window:Y.context_window}:{}}};return new Response(JSON.stringify(H),{status:200,headers:{"content-type":"application/json"}})}function jJ(J,K=globalThis.fetch,V,Z){let Y=Z?.responseTimeoutMs??l;return async(z,$)=>{if($?.method==="POST"&&typeof $?.body==="string"){let H;try{H=JSON.parse($.body)}catch{return K(z,$)}let X=KJ(),N=x(H,{toolMode:X}),q=await J(),P=typeof q==="string"?{key:q,method:"sso"}:q;if(!P?.key)throw new p;let U=new Headers($.headers);if(P.method==="api-key")U.delete("Authorization"),U.set("x-api-key",P.key);else U.delete("x-api-key"),U.set("Authorization",`Bearer ${P.key}`);if(U.set("Content-Type","application/json"),N.tier==="orchestrated"){let F=$.signal,j=new AbortController,D=()=>j.abort(F?.reason);if(F)if(F.aborted)j.abort(F.reason);else F.addEventListener("abort",D,{once:!0});let M=!1,S=setTimeout(()=>{M=!0,j.abort()},Y),G;try{G=await K(i,{method:"POST",headers:U,body:JSON.stringify(N),signal:j.signal})}catch(_){if(F?.removeEventListener("abort",D),M)throw new Q(`no response within ${Math.round(Y/1000)}s`);throw _}finally{clearTimeout(S)}if(F?.removeEventListener("abort",D),G.status===402){let _=await G.text().catch(()=>"");throw new E(_||void 0)}if(G.status===429)throw new C;if(G.status===401||G.status===403){let _=await G.text().catch(()=>"");if(y(_))throw new Q(`HTTP ${G.status}`);throw await V?.().catch(()=>{}),new A(_?`HTTP ${G.status}: ${_}`:`HTTP ${G.status}`)}if(!G.ok){let _=await G.text().catch(()=>"");throw new Q(_?`HTTP ${G.status}: ${_}`:`HTTP ${G.status}`)}return HJ(await G.json())}let b=$.signal,k=async(F)=>{let j=new AbortController,D=()=>j.abort(b?.reason);if(b)if(b.aborted)j.abort(b.reason);else b.addEventListener("abort",D,{once:!0});let M=()=>b?.removeEventListener("abort",D),S=!1,G=setTimeout(()=>{S=!0,j.abort()},Y);try{return{res:await K(d,{method:"POST",headers:U,body:JSON.stringify(F),signal:j.signal}),detach:M}}catch(_){if(M(),S)throw new Q(`no response within ${Math.round(Y/1000)}s`);throw _}finally{clearTimeout(G)}},{res:W,detach:O}=await k(N);if(W.status===400&&X==="native"&&VJ(H))O(),await W.body?.cancel().catch(()=>{}),{res:W,detach:O}=await k(x(H,{toolMode:"text"}));try{if(W.status===402){let F=await W.text().catch(()=>"");throw new E(F||void 0)}if(W.status===429)throw new C;if(W.status===401||W.status===403){let F=await W.text().catch(()=>"");if(y(F))throw new Q(`HTTP ${W.status}`);throw await V?.().catch(()=>{}),new A(F?`HTTP ${W.status}: ${F}`:`HTTP ${W.status}`)}if(!W.ok){let F=await W.text().catch(()=>"");throw new Q(F?`HTTP ${W.status}: ${F}`:`HTTP ${W.status}`)}}catch(F){throw O(),F}if(H.stream!==!1&&W.body){let F=Array.isArray(H.tools)&&H.tools.length>0;return new Response(zJ(W.body,{toolProtocolEnabled:F}),{status:W.status,statusText:W.statusText,headers:{"content-type":"text/event-stream"}})}return W}return K(z,$)}}function qJ(J){let K=J.getToken??(async()=>J.bearerToken),V=jJ(K,globalThis.fetch,J.onInvalidCredentials);return u({name:J.name??"qlex",baseURL:w.streamBaseUrl(),fetch:V})}export{zJ as transformQlexStream,HJ as toOrchestratedSSEStream,UJ as toOpenAICompletion,NJ as sanitizeUpstreamProviderError,KJ as resolveToolMode,o as renderToolProtocolPrompt,$J as partialTagSuffixLength,ZJ as parseQlexFrame,t as normalizeQlexMessages,r as mergeLeadingSystemMessages,y as isGatewayRequiredError,VJ as hasToolContext,I as flattenMessageContent,JJ as encodeToolProtocolMessages,qJ as createQlexProvider,jJ as createCustomFetch,x as buildQlexBody,m as ToolCallExtractor,T as TOOL_CALL_OPEN,L as TOOL_CALL_CLOSE,v as QlexStreamError,C as QlexRateLimitError,p as QlexNotLoggedInError,A as QlexInvalidCredentialsError,E as QlexInsufficientBalanceError,Q as QlexGatewayError,d as QLEX_STREAM_URL,l as QLEX_RESPONSE_TIMEOUT_MS,i as QLEX_ORCHESTRATED_URL};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{eO as N,hO as k}from"./chunk-0rmmg3g4.js";var I=N((Aq,y)=>{var J=1000,U=J*60,M=U*60,Z=M*24,r=Z*7,m=Z*365.25;y.exports=function(q,w){w=w||{};var _=typeof q;if(_==="string"&&q.length>0)return t(q);else if(_==="number"&&isFinite(q))return w.long?a(q):s(q);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(q))};function t(q){if(q=String(q),q.length>100)return;var w=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(q);if(!w)return;var _=parseFloat(w[1]),F=(w[2]||"ms").toLowerCase();switch(F){case"years":case"year":case"yrs":case"yr":case"y":return _*m;case"weeks":case"week":case"w":return _*r;case"days":case"day":case"d":return _*Z;case"hours":case"hour":case"hrs":case"hr":case"h":return _*M;case"minutes":case"minute":case"mins":case"min":case"m":return _*U;case"seconds":case"second":case"secs":case"sec":case"s":return _*J;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return _;default:return}}function s(q){var w=Math.abs(q);if(w>=Z)return Math.round(q/Z)+"d";if(w>=M)return Math.round(q/M)+"h";if(w>=U)return Math.round(q/U)+"m";if(w>=J)return Math.round(q/J)+"s";return q+"ms"}function a(q){var w=Math.abs(q);if(w>=Z)return S(q,w,Z,"day");if(w>=M)return S(q,w,M,"hour");if(w>=U)return S(q,w,U,"minute");if(w>=J)return S(q,w,J,"second");return q+" ms"}function S(q,w,_,F){var R=w>=_*1.5;return Math.round(q/_)+" "+F+(R?"s":"")}});var C=N((fq,x)=>{function e(q){_.debug=_,_.default=_,_.coerce=p,_.disable=b,_.enable=R,_.enabled=u,_.humanize=I(),_.destroy=g,Object.keys(q).forEach((B)=>{_[B]=q[B]}),_.names=[],_.skips=[],_.formatters={};function w(B){let E=0;for(let G=0;G<B.length;G++)E=(E<<5)-E+B.charCodeAt(G),E|=0;return _.colors[Math.abs(E)%_.colors.length]}_.selectColor=w;function _(B){let E,G=null,H,z;function K(...Q){if(!K.enabled)return;let Y=K,W=Number(new Date),n=W-(E||W);if(Y.diff=n,Y.prev=E,Y.curr=W,E=W,Q[0]=_.coerce(Q[0]),typeof Q[0]!=="string")Q.unshift("%O");let L=0;Q[0]=Q[0].replace(/%([a-zA-Z%])/g,(T,c)=>{if(T==="%%")return"%";L++;let f=_.formatters[c];if(typeof f==="function"){let l=Q[L];T=f.call(Y,l),Q.splice(L,1),L--}return T}),_.formatArgs.call(Y,Q),(Y.log||_.log).apply(Y,Q)}if(K.namespace=B,K.useColors=_.useColors(),K.color=_.selectColor(B),K.extend=F,K.destroy=_.destroy,Object.defineProperty(K,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(H!==_.namespaces)H=_.namespaces,z=_.enabled(B);return z},set:(Q)=>{G=Q}}),typeof _.init==="function")_.init(K);return K}function F(B,E){let G=_(this.namespace+(typeof E>"u"?":":E)+B);return G.log=this.log,G}function R(B){_.save(B),_.namespaces=B,_.names=[],_.skips=[];let E=(typeof B==="string"?B:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of E)if(G[0]==="-")_.skips.push(G.slice(1));else _.names.push(G)}function V(B,E){let G=0,H=0,z=-1,K=0;while(G<B.length)if(H<E.length&&(E[H]===B[G]||E[H]==="*"))if(E[H]==="*")z=H,K=G,H++;else G++,H++;else if(z!==-1)H=z+1,K++,G=K;else return!1;while(H<E.length&&E[H]==="*")H++;return H===E.length}function b(){let B=[..._.names,..._.skips.map((E)=>"-"+E)].join(",");return _.enable(""),B}function u(B){for(let E of _.skips)if(V(B,E))return!1;for(let E of _.names)if(V(B,E))return!0;return!1}function p(B){if(B instanceof Error)return B.stack||B.message;return B}function g(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return _.enable(_.load()),_}x.exports=e});var h=N((D,j)=>{D.formatArgs=_q;D.save=wq;D.load=Bq;D.useColors=qq;D.storage=Eq();D.destroy=(()=>{let q=!1;return()=>{if(!q)q=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();D.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function qq(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let q;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(q=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(q[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function _q(q){if(q[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+q[0]+(this.useColors?"%c ":" ")+"+"+j.exports.humanize(this.diff),!this.useColors)return;let w="color: "+this.color;q.splice(1,0,w,"color: inherit");let _=0,F=0;q[0].replace(/%[a-zA-Z%]/g,(R)=>{if(R==="%%")return;if(_++,R==="%c")F=_}),q.splice(F,0,w)}D.log=console.debug||console.log||(()=>{});function wq(q){try{if(q)D.storage.setItem("debug",q);else D.storage.removeItem("debug")}catch(w){}}function Bq(){let q;try{q=D.storage.getItem("debug")||D.storage.getItem("DEBUG")}catch(w){}if(!q&&typeof process<"u"&&"env"in process)q=process.env.DEBUG;return q}function Eq(){try{return localStorage}catch(q){}}j.exports=C()(D);var{formatters:Fq}=j.exports;Fq.j=function(q){try{return JSON.stringify(q)}catch(w){return"[UnexpectedJSONParseError]: "+w.message}}});var d=N((i,O)=>{var Zq=k("tty"),X=k("util");i.init=Pq;i.log=Uq;i.formatArgs=zq;i.save=Mq;i.load=Nq;i.useColors=$q;i.destroy=X.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");i.colors=[6,2,3,4,5,1];try{let q=(()=>{throw new Error("Cannot require module "+"supports-color");})();if(q&&(q.stderr||q).level>=2)i.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(q){}i.inspectOpts=Object.keys(process.env).filter((q)=>{return/^debug_/i.test(q)}).reduce((q,w)=>{let _=w.substring(6).toLowerCase().replace(/_([a-z])/g,(R,V)=>{return V.toUpperCase()}),F=process.env[w];if(/^(yes|on|true|enabled)$/i.test(F))F=!0;else if(/^(no|off|false|disabled)$/i.test(F))F=!1;else if(F==="null")F=null;else F=Number(F);return q[_]=F,q},{});function $q(){return"colors"in i.inspectOpts?Boolean(i.inspectOpts.colors):Zq.isatty(process.stderr.fd)}function zq(q){let{namespace:w,useColors:_}=this;if(_){let F=this.color,R="\x1B[3"+(F<8?F:"8;5;"+F),V=` ${R};1m${w} \x1B[0m`;q[0]=V+q[0].split(`
|
|
3
3
|
`).join(`
|
|
4
4
|
`+V),q.push(R+"m+"+O.exports.humanize(this.diff)+"\x1B[0m")}else q[0]=Jq()+w+" "+q[0]}function Jq(){if(i.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function Uq(...q){return process.stderr.write(X.formatWithOptions(i.inspectOpts,...q)+`
|
|
5
5
|
`)}function Mq(q){if(q)process.env.DEBUG=q;else delete process.env.DEBUG}function Nq(){return process.env.DEBUG}function Pq(q){q.inspectOpts={};let w=Object.keys(i.inspectOpts);for(let _=0;_<w.length;_++)q.inspectOpts[w[_]]=i.inspectOpts[w[_]]}O.exports=C()(i);var{formatters:v}=O.exports;v.o=function(q){return this.inspectOpts.colors=this.useColors,X.inspect(q,this.inspectOpts).split(`
|
|
6
6
|
`).map((w)=>w.trim()).join(" ")};v.O=function(q){return this.inspectOpts.colors=this.useColors,X.inspect(q,this.inspectOpts)}});var Cq=N((xq,A)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)A.exports=h();else A.exports=d()});
|
|
7
|
-
export{Cq as
|
|
7
|
+
export{Cq as Hf};
|