@qitqode/qitqode-android-arm64 0.1.30 → 0.1.31
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-37n34pzd.js → chunk-01my2y0c.js} +1 -1
- package/bundle/chunk-04n2ycg5.js +800 -0
- package/bundle/{chunk-6qy1ghrx.js → chunk-05mce0j3.js} +1 -1
- package/bundle/{chunk-g1dwbvkg.js → chunk-0bbs01f0.js} +1 -1
- package/bundle/{chunk-j6emx6jn.js → chunk-0dt0bxz6.js} +2 -2
- package/bundle/{chunk-mskwkcgj.js → chunk-0mx2psfc.js} +1 -1
- package/bundle/chunk-0p27fvfr.js +2 -0
- package/bundle/chunk-0qs1vx97.js +2 -0
- package/bundle/{chunk-f45tp3e3.js → chunk-0v0vqbn5.js} +1 -1
- package/bundle/chunk-0w0ctb90.js +2 -0
- package/bundle/{chunk-8qkhddq3.js → chunk-0yt5njh7.js} +2 -2
- package/bundle/{chunk-be216spx.js → chunk-10bjs581.js} +2 -2
- package/bundle/{chunk-bpbptx89.js → chunk-11x3t2tt.js} +1 -1
- package/bundle/{chunk-bss414qz.js → chunk-12vef2pr.js} +1 -1
- package/bundle/{chunk-jm1ptn8n.js → chunk-15hw2z9t.js} +1 -1
- package/bundle/chunk-1f7ajq8s.js +2 -0
- package/bundle/chunk-1fswr17z.js +2 -0
- package/bundle/{chunk-srh4xvsj.js → chunk-1gx18dm5.js} +1 -1
- package/bundle/chunk-1rhhhm88.js +2 -0
- package/bundle/{chunk-b0syck9r.js → chunk-1sgahe1s.js} +1 -1
- package/bundle/{chunk-26nfphsg.js → chunk-1vb79bw1.js} +1 -1
- package/bundle/chunk-1wbjh23g.js +2 -0
- package/bundle/chunk-20f83ca0.js +2 -0
- package/bundle/{chunk-371r2111.js → chunk-24jg9d61.js} +1 -1
- package/bundle/{chunk-1sgby720.js → chunk-2hc5z7b5.js} +1 -1
- package/bundle/{chunk-yq3m8190.js → chunk-2maqde7w.js} +2 -2
- package/bundle/{chunk-b8tw709r.js → chunk-2vn41ecx.js} +1 -1
- package/bundle/{chunk-w87a3mzm.js → chunk-2zq4k837.js} +1 -1
- package/bundle/chunk-31mnd3ph.js +3 -0
- package/bundle/{chunk-1bhvt33f.js → chunk-31qrzrwy.js} +1 -1
- package/bundle/{chunk-d5bxan80.js → chunk-326p5b10.js} +2 -2
- package/bundle/{chunk-0df4kede.js → chunk-33e9y2aw.js} +1 -1
- package/bundle/{chunk-zcm2jdr5.js → chunk-35xk4g91.js} +1 -1
- package/bundle/{chunk-5fz8tph5.js → chunk-3632wgg1.js} +1 -1
- package/bundle/{chunk-1ngtxja9.js → chunk-3bxg5bta.js} +1 -1
- package/bundle/{chunk-mgk9sh16.js → chunk-3c6p8tm3.js} +1 -1
- package/bundle/chunk-3h9rq2wq.js +2 -0
- package/bundle/{chunk-fqw4y7x0.js → chunk-3ytjm3az.js} +2 -2
- package/bundle/{chunk-2jmxt3fb.js → chunk-40efytmk.js} +1 -1
- package/bundle/chunk-42p59wm4.js +2 -0
- package/bundle/{chunk-wfs4pcwa.js → chunk-44a82dg0.js} +4 -4
- package/bundle/chunk-4512pvca.js +2 -0
- package/bundle/chunk-456bmaww.js +2 -0
- package/bundle/{chunk-c5e6sk9c.js → chunk-48ge2ryx.js} +1 -1
- package/bundle/chunk-48pajrnt.js +2 -0
- package/bundle/{chunk-12bssxd4.js → chunk-4cnwn1rh.js} +2 -2
- package/bundle/chunk-4d87mhwn.js +3 -0
- package/bundle/chunk-4fy9c54h.js +2 -0
- package/bundle/{chunk-hwbyqezq.js → chunk-4gkk28xk.js} +2 -2
- package/bundle/{chunk-4tbwha3m.js → chunk-4jtxtkj7.js} +2 -2
- package/bundle/{chunk-b3rpzkcb.js → chunk-50sv6y2e.js} +1 -1
- package/bundle/chunk-50tb3g5x.js +2 -0
- package/bundle/chunk-52bam8g7.js +2 -0
- package/bundle/{chunk-6fp8a9ek.js → chunk-53bqcctj.js} +1 -1
- package/bundle/chunk-53w4zqps.js +2 -0
- package/bundle/chunk-59y8q9m5.js +2 -0
- package/bundle/chunk-5eq1fft9.js +3 -0
- package/bundle/{chunk-a1pw9r6f.js → chunk-5hw6xa49.js} +2 -2
- package/bundle/{chunk-qrey2gwb.js → chunk-5q4harvc.js} +2 -2
- package/bundle/chunk-5tray1fw.js +3 -0
- package/bundle/{chunk-svvgv1s0.js → chunk-5v0xjs3x.js} +1 -1
- package/bundle/{chunk-my6sz5d6.js → chunk-60v5jvgt.js} +1 -1
- package/bundle/chunk-64ezpbwt.js +2 -0
- package/bundle/{chunk-2y90ad1v.js → chunk-68yw2hk9.js} +1 -1
- package/bundle/{chunk-5fgx6fa4.js → chunk-69nzndk7.js} +1 -1
- package/bundle/chunk-6bpe215q.js +2 -0
- package/bundle/chunk-6bphjajd.js +2 -0
- package/bundle/{chunk-chmrvbbj.js → chunk-6d5rrre9.js} +1 -1
- package/bundle/{chunk-g3dhsmbt.js → chunk-6hpgb8h4.js} +3 -3
- package/bundle/{chunk-drs1gv2b.js → chunk-6kp07m7p.js} +1 -1
- package/bundle/{chunk-wy46mbwt.js → chunk-6phh70sp.js} +1 -1
- package/bundle/chunk-6t1ehq36.js +2 -0
- package/bundle/{chunk-v2zp22r3.js → chunk-70ck4v3t.js} +1 -1
- package/bundle/{chunk-2tnarng3.js → chunk-71sjjjr8.js} +1 -1
- package/bundle/{chunk-ds69qc8b.js → chunk-71xz70r9.js} +1 -1
- package/bundle/{chunk-2dzk5txw.js → chunk-73e409hd.js} +1 -1
- package/bundle/{chunk-g7rjtehn.js → chunk-78ymd20x.js} +1 -1
- package/bundle/{chunk-szr0f7k2.js → chunk-7avcnwv8.js} +1 -1
- package/bundle/{chunk-z8v2tsz2.js → chunk-7hm0c2yg.js} +1 -1
- package/bundle/chunk-7mke41x0.js +2 -0
- package/bundle/chunk-7pfj4x1a.js +2 -0
- package/bundle/chunk-7ry9cvby.js +2 -0
- package/bundle/chunk-7wczs9mx.js +2 -0
- package/bundle/{chunk-aztre27e.js → chunk-7xm75w1e.js} +1 -1
- package/bundle/{chunk-s3yna2wm.js → chunk-7z5jh4ra.js} +1 -1
- package/bundle/{chunk-vj62pc0h.js → chunk-81qwdg5s.js} +1 -1
- package/bundle/{chunk-mrw279k3.js → chunk-83gqkmth.js} +1 -1
- package/bundle/chunk-873skv7w.js +2 -0
- package/bundle/{chunk-6hv59ere.js → chunk-8hytwgwf.js} +1 -1
- package/bundle/{chunk-wz0zcddf.js → chunk-8n20thvd.js} +2 -2
- package/bundle/{chunk-s07j8hfy.js → chunk-8qswepp2.js} +1 -1
- package/bundle/chunk-8v96pmqn.js +2 -0
- package/bundle/chunk-8y2scz6z.js +2 -0
- package/bundle/{chunk-wpajh5s5.js → chunk-8ymffyep.js} +1 -1
- package/bundle/chunk-8zx7vnx6.js +2 -0
- package/bundle/{chunk-qhc90p4a.js → chunk-93p131d5.js} +1 -1
- package/bundle/chunk-94a76f8w.js +2 -0
- package/bundle/{chunk-ppfjf7qx.js → chunk-9emq67vc.js} +1 -1
- package/bundle/{chunk-bvkq0a5q.js → chunk-9f1z9xce.js} +1 -1
- package/bundle/chunk-9mjz6e27.js +2 -0
- package/bundle/chunk-9ng7jjp7.js +2 -0
- package/bundle/chunk-9tpgnjy8.js +2 -0
- package/bundle/{chunk-0fmbz83g.js → chunk-9x5232dw.js} +1 -1
- package/bundle/{chunk-mk6cddvd.js → chunk-a1wdeapb.js} +1 -1
- package/bundle/{chunk-qjn86fc0.js → chunk-a7amey9s.js} +1 -1
- package/bundle/chunk-a7ym9f0v.js +2 -0
- package/bundle/chunk-a8f2xvy3.js +2 -0
- package/bundle/chunk-a99cvwta.js +2 -0
- package/bundle/chunk-abd1cfpg.js +2 -0
- package/bundle/{chunk-89v6dgpp.js → chunk-ag8kz1e7.js} +2 -2
- package/bundle/chunk-anwnwfjf.js +2 -0
- package/bundle/chunk-avys5mnz.js +2 -0
- package/bundle/chunk-axvjd10y.js +2 -0
- package/bundle/{chunk-m612agnk.js → chunk-ay8emwym.js} +1 -1
- package/bundle/chunk-b4pphqab.js +2 -0
- package/bundle/chunk-b6087ak4.js +2 -0
- package/bundle/{chunk-msegx0t7.js → chunk-b8gjz6bk.js} +1 -1
- package/bundle/chunk-bgw4fvg2.js +2 -0
- package/bundle/{chunk-gf0pdgjs.js → chunk-bh53dz71.js} +1 -1
- package/bundle/chunk-bn0h9dny.js +10 -0
- package/bundle/chunk-brkqxbjy.js +2 -0
- package/bundle/{chunk-09kba1hg.js → chunk-c11d28qn.js} +2 -2
- package/bundle/{chunk-ejjea8hh.js → chunk-c14s0kxq.js} +1 -1
- package/bundle/{chunk-sn4nez18.js → chunk-c1bdzxbx.js} +2 -2
- package/bundle/{chunk-ezja6njs.js → chunk-c1vnp55z.js} +1 -1
- package/bundle/chunk-c26qxt5g.js +2 -0
- package/bundle/chunk-c6zscb38.js +2 -0
- package/bundle/{chunk-pekm54ce.js → chunk-cfgvm15x.js} +1 -1
- package/bundle/{chunk-v4xcysh0.js → chunk-chpr8ekb.js} +1 -1
- package/bundle/chunk-cjww2jmv.js +3 -0
- package/bundle/{chunk-m67tcnk4.js → chunk-ck2gfaba.js} +1 -1
- package/bundle/chunk-cmbh77cs.js +7 -0
- package/bundle/{chunk-k8ss3135.js → chunk-cnmq5xtq.js} +218 -218
- package/bundle/{chunk-9j1qqdr2.js → chunk-cphrgyp6.js} +1 -1
- package/bundle/chunk-csz0dgyp.js +2 -0
- package/bundle/{chunk-eb9mytjq.js → chunk-ctaze2hn.js} +1 -1
- package/bundle/{chunk-5qam3c8r.js → chunk-cxnfy6qk.js} +1 -1
- package/bundle/{chunk-cafzcmrg.js → chunk-d07p6fpk.js} +2 -2
- package/bundle/{chunk-whcg14sc.js → chunk-d65qs4d0.js} +1 -1
- package/bundle/{chunk-dcvatax2.js → chunk-d68fzyw7.js} +2 -2
- package/bundle/{chunk-4qqkqrn9.js → chunk-d6ry9418.js} +2 -2
- package/bundle/{chunk-ztc3gm8y.js → chunk-dactgryw.js} +1 -1
- package/bundle/chunk-dafmkrhn.js +2 -0
- package/bundle/{chunk-dfnv7vkn.js → chunk-db405hjg.js} +1 -1
- package/bundle/chunk-dgprdym0.js +2 -0
- package/bundle/{chunk-7yrhe3xq.js → chunk-dnwefyhv.js} +1 -1
- package/bundle/{chunk-n26yf3he.js → chunk-drvkj3xg.js} +1 -1
- package/bundle/chunk-dryzt12j.js +2 -0
- package/bundle/chunk-dsamees2.js +2 -0
- package/bundle/{chunk-xpc2zgj7.js → chunk-dxpj0cxh.js} +2 -2
- package/bundle/{chunk-yjtdgcq5.js → chunk-dynv30gm.js} +1 -1
- package/bundle/chunk-dyqpxx3b.js +2 -0
- package/bundle/{chunk-2rs39vj2.js → chunk-e01wnqvc.js} +1 -1
- package/bundle/{chunk-2vepzgek.js → chunk-e10py6yr.js} +1 -1
- package/bundle/{chunk-qv2s39dv.js → chunk-e7ny0b3x.js} +1 -1
- package/bundle/{chunk-fjgyrsbw.js → chunk-eh7e49k4.js} +1 -1
- package/bundle/{chunk-42f7p0hq.js → chunk-ehhas0ew.js} +2 -2
- package/bundle/{chunk-n8h6x2en.js → chunk-ejrhvy38.js} +1 -1
- package/bundle/{chunk-dq9kpj4a.js → chunk-enpzvmtc.js} +1 -1
- package/bundle/chunk-excnptfy.js +2 -0
- package/bundle/chunk-ez8vkgfz.js +2 -0
- package/bundle/chunk-f2btnww9.js +2 -0
- package/bundle/chunk-f8eter69.js +5 -0
- package/bundle/{chunk-2km50rd3.js → chunk-fgg9txzb.js} +1 -1
- package/bundle/chunk-fjq3a347.js +2 -0
- package/bundle/{chunk-b9za12y1.js → chunk-fn9h4ync.js} +1 -1
- package/bundle/{chunk-ddnpx1yx.js → chunk-fq0x3esz.js} +5 -5
- package/bundle/{chunk-ngchsw2g.js → chunk-fvzwbjh8.js} +1 -1
- package/bundle/chunk-fxdtq2ed.js +2 -0
- package/bundle/{chunk-07g7cybt.js → chunk-fyqjm5fv.js} +1 -1
- package/bundle/{chunk-nzehfpxp.js → chunk-g10d6x57.js} +1 -1
- package/bundle/{chunk-zyhdxggp.js → chunk-g5rabwre.js} +2 -2
- package/bundle/{chunk-kfsb2stm.js → chunk-g7ccdh7r.js} +1 -1
- package/bundle/{chunk-3g1yz39h.js → chunk-g9cjsfvg.js} +1 -1
- package/bundle/{chunk-phxrg7aw.js → chunk-gagtmjmp.js} +2 -2
- package/bundle/{chunk-yp0a8q29.js → chunk-gb00fh4z.js} +3 -3
- package/bundle/{chunk-hw1dmx28.js → chunk-gbpvs0fx.js} +1 -1
- package/bundle/{chunk-zv6pjtz1.js → chunk-gbrnn2dk.js} +1 -1
- package/bundle/chunk-gcw4rn10.js +2 -0
- package/bundle/{chunk-j8efst22.js → chunk-gj0wt0cy.js} +1 -1
- package/bundle/{chunk-2q96x1t5.js → chunk-gsar6xda.js} +1 -1
- package/bundle/{chunk-xs3xtz6x.js → chunk-gt31468k.js} +1 -1
- package/bundle/{chunk-ecn8gbtz.js → chunk-gwp17r03.js} +1 -1
- package/bundle/chunk-gwzw92jt.js +2 -0
- package/bundle/{chunk-2bn4b42t.js → chunk-h2afsbm1.js} +1 -1
- package/bundle/{chunk-tj78jsp9.js → chunk-h4j5xzc8.js} +1 -1
- package/bundle/{chunk-b3dqcbsc.js → chunk-hbbsbyyq.js} +1 -1
- package/bundle/chunk-hnctaq8s.js +3 -0
- package/bundle/{chunk-vn7nkrqb.js → chunk-hnzegjgv.js} +1 -1
- package/bundle/chunk-hp7tssgv.js +2 -0
- package/bundle/chunk-ht0hbdmx.js +2 -0
- package/bundle/{chunk-j9pcnkkq.js → chunk-ht5w06x7.js} +2 -2
- package/bundle/{chunk-a1p2f16h.js → chunk-htz93dsd.js} +2 -2
- package/bundle/{chunk-q6ztpfcs.js → chunk-jbx3s7nw.js} +2 -2
- package/bundle/chunk-jcjbr3q7.js +2 -0
- package/bundle/{chunk-h9pvnp5c.js → chunk-jef04wyf.js} +1 -1
- package/bundle/{chunk-ct48575c.js → chunk-jh0bw59r.js} +1 -1
- package/bundle/{chunk-knpt9n8f.js → chunk-jrqb0jwy.js} +1 -1
- package/bundle/{chunk-1dwcga8g.js → chunk-js1n8tgv.js} +1 -1
- package/bundle/chunk-jxswwvr3.js +2 -0
- package/bundle/{chunk-1rp1cvmc.js → chunk-kf167jw7.js} +1 -1
- package/bundle/{chunk-wsy0m70r.js → chunk-kfxv5rfg.js} +1 -1
- package/bundle/{chunk-btz9jvec.js → chunk-kj20f048.js} +1 -1
- package/bundle/{chunk-j5kb0y1m.js → chunk-kq6b222y.js} +1 -1
- package/bundle/{chunk-1t9jne14.js → chunk-ktzq4ha1.js} +1 -1
- package/bundle/chunk-m5m448mg.js +3 -0
- package/bundle/chunk-mcg24gkb.js +5 -0
- package/bundle/chunk-mh0j6dzy.js +2 -0
- package/bundle/{chunk-1qshjfzm.js → chunk-mk1bfzg5.js} +1 -1
- package/bundle/chunk-mxzceza9.js +2 -0
- package/bundle/{chunk-t12xrrfr.js → chunk-mzs2pjyc.js} +2 -2
- package/bundle/chunk-n0dy98h2.js +2 -0
- package/bundle/{chunk-m02zt1a3.js → chunk-n9xns8by.js} +2 -2
- package/bundle/chunk-ngm6pqyt.js +2 -0
- package/bundle/chunk-ngtavamt.js +2 -0
- package/bundle/chunk-nkhc32s3.js +2 -0
- package/bundle/chunk-npse2xrd.js +2 -0
- package/bundle/{chunk-4p5e5tsz.js → chunk-nsk8dkwp.js} +1 -1
- package/bundle/{chunk-k7gq9bra.js → chunk-nv3eyyaj.js} +1 -1
- package/bundle/{chunk-ab6cabxh.js → chunk-p18axz0m.js} +1 -1
- package/bundle/{chunk-jje0srjq.js → chunk-p62gb4wj.js} +1 -1
- package/bundle/chunk-p6e4vqy7.js +2 -0
- package/bundle/{chunk-m1h5a4vg.js → chunk-p9qfbr02.js} +1 -1
- package/bundle/{chunk-yn6sbycg.js → chunk-pctt1qv8.js} +2 -2
- package/bundle/{chunk-ggqst87g.js → chunk-pe29yy6s.js} +1 -1
- package/bundle/chunk-pf9g671w.js +2 -0
- package/bundle/chunk-phv9kdq6.js +3 -0
- package/bundle/{chunk-3n1324bt.js → chunk-pp2eqkse.js} +1 -1
- package/bundle/{chunk-x067eetw.js → chunk-pp6vhqrr.js} +1 -1
- package/bundle/chunk-ppjnqexm.js +2 -0
- package/bundle/chunk-pqkjhn8h.js +2 -0
- package/bundle/{chunk-hxz2rdjq.js → chunk-pxvk3syj.js} +1 -1
- package/bundle/{chunk-b8bytvka.js → chunk-qbc36nbb.js} +2 -2
- package/bundle/{chunk-89q1y7tc.js → chunk-qc8rsn4v.js} +1 -1
- package/bundle/chunk-qd8w2gkd.js +2 -0
- package/bundle/{chunk-q1v2pytx.js → chunk-qrsveve6.js} +1 -1
- package/bundle/chunk-qvnb3j71.js +3 -0
- package/bundle/{chunk-2gerf08b.js → chunk-r4ndwym0.js} +2 -2
- package/bundle/chunk-r78czx4d.js +8 -0
- package/bundle/{chunk-7ppd2phw.js → chunk-rbk8seme.js} +1 -1
- package/bundle/{chunk-gj3hzx3d.js → chunk-redjxn13.js} +2 -2
- package/bundle/chunk-rf12t4n5.js +2 -0
- package/bundle/{chunk-04tw0r4s.js → chunk-rg0mrprz.js} +1 -1
- package/bundle/{chunk-cdhmc0t0.js → chunk-rjd8gbs5.js} +1 -1
- package/bundle/chunk-rpgne7xh.js +2 -0
- package/bundle/chunk-rvgj1vky.js +2 -0
- package/bundle/{chunk-c01z3cvg.js → chunk-rvkrgkeq.js} +1 -1
- package/bundle/{chunk-2ahqhh4z.js → chunk-rzhdkkpz.js} +1 -1
- package/bundle/{chunk-5v4py9p2.js → chunk-s9ntkjz3.js} +1 -1
- package/bundle/{chunk-kqn9h2gk.js → chunk-skqbaadf.js} +1 -1
- package/bundle/chunk-ss2jvqrg.js +2 -0
- package/bundle/{chunk-ydp0q1hk.js → chunk-ss2ms1r3.js} +1 -1
- package/bundle/chunk-ssajqv72.js +2 -0
- package/bundle/{chunk-1fbeendk.js → chunk-t56r99hp.js} +1 -1
- package/bundle/{chunk-xc5044tm.js → chunk-t8m74g39.js} +1 -1
- package/bundle/{chunk-s6bar2f9.js → chunk-t9mz17gb.js} +2 -2
- package/bundle/chunk-takew94z.js +9 -0
- package/bundle/{chunk-cvdxgsq1.js → chunk-tq0239xp.js} +1 -1
- package/bundle/{chunk-whxjkz9a.js → chunk-tqj69nh6.js} +2 -2
- package/bundle/{chunk-hj5y7fvk.js → chunk-tt30dybd.js} +1 -1
- package/bundle/{chunk-5a5t01ka.js → chunk-tvdmnee6.js} +1 -1
- package/bundle/chunk-tvwwq4b3.js +2 -0
- package/bundle/{chunk-dhjp0zx2.js → chunk-v1xjc3s8.js} +1 -1
- package/bundle/chunk-v2n26eg4.js +2 -0
- package/bundle/chunk-vb286b31.js +2 -0
- package/bundle/chunk-vbeb74ny.js +11 -0
- package/bundle/chunk-vcw00k0n.js +3 -0
- package/bundle/{chunk-7jbz3dgt.js → chunk-vhe0tth1.js} +1 -1
- package/bundle/{chunk-yfkvjphe.js → chunk-vvxmwyrw.js} +1 -1
- package/bundle/{chunk-p68rwmhc.js → chunk-vxyy2dp3.js} +2 -2
- package/bundle/{chunk-y2v09y71.js → chunk-vywnd5sf.js} +1 -1
- package/bundle/{chunk-0jgsp4c2.js → chunk-w18xs2h5.js} +1 -1
- package/bundle/{chunk-d6r4xwtg.js → chunk-wfb608qf.js} +3 -3
- package/bundle/chunk-x24y7qyd.js +2 -0
- package/bundle/{chunk-tr8sf0dk.js → chunk-x3y2xzhn.js} +1 -1
- package/bundle/{chunk-27yxgy03.js → chunk-x4sp99g6.js} +1 -1
- package/bundle/{chunk-3nwve06r.js → chunk-x562b0xk.js} +1 -1
- package/bundle/{chunk-61c62e5s.js → chunk-x7k5yeey.js} +1 -1
- package/bundle/{chunk-fkgv2hqd.js → chunk-x9rbv6p6.js} +1 -1
- package/bundle/{chunk-wnqwb6fd.js → chunk-xcmgkc57.js} +1 -1
- package/bundle/{chunk-gm85xefs.js → chunk-xm7wascx.js} +1 -1
- package/bundle/{chunk-6nbzdb0r.js → chunk-xthkjax9.js} +1 -1
- package/bundle/{chunk-scnz207s.js → chunk-xvwvd4kq.js} +2 -2
- package/bundle/{chunk-zb0me4kk.js → chunk-xzrb857v.js} +1 -1
- package/bundle/chunk-y2d0w09y.js +2 -0
- package/bundle/{chunk-3nyqh1d6.js → chunk-y3b4k38p.js} +1 -1
- package/bundle/{chunk-vg2fmyje.js → chunk-y9q0hb7b.js} +2 -2
- package/bundle/chunk-yb79f79m.js +2 -0
- package/bundle/{chunk-fnbpap62.js → chunk-yek0sk2q.js} +1 -1
- package/bundle/{chunk-3bmzjznz.js → chunk-yhbcbjfk.js} +1 -1
- package/bundle/{chunk-sermjas1.js → chunk-yjf3kyej.js} +1 -1
- package/bundle/chunk-yjnyzpmt.js +2 -0
- package/bundle/{chunk-0a0vat1h.js → chunk-yp5bypsp.js} +2 -2
- package/bundle/{chunk-h0rpmne5.js → chunk-yp8wyzzm.js} +1 -1
- package/bundle/chunk-yqbcnsa1.js +2 -0
- package/bundle/{chunk-4xh1qm90.js → chunk-yv0xrnn9.js} +1 -1
- package/bundle/chunk-z3mra3nm.js +2 -0
- package/bundle/{chunk-yy526n9c.js → chunk-z6pwkwdr.js} +1 -1
- package/bundle/{chunk-snm5q21k.js → chunk-zs8kqdsf.js} +2 -2
- package/bundle/{chunk-y062spw2.js → chunk-zscer8rc.js} +1 -1
- package/bundle/{chunk-qjjch1zt.js → chunk-zw815d68.js} +2 -2
- package/bundle/chunk-zy9w1vkc.js +2 -0
- package/bundle/index.js +3 -3
- package/bundle/parser.worker.js +2 -2
- package/bundle/worker.js +1 -1
- package/package.json +1 -1
- package/bundle/chunk-07ws99b1.js +0 -2
- package/bundle/chunk-09c4ngag.js +0 -2
- package/bundle/chunk-0ch32p4c.js +0 -3
- package/bundle/chunk-0jgst767.js +0 -2
- package/bundle/chunk-0psrr9vp.js +0 -2
- package/bundle/chunk-1j73cnvz.js +0 -2
- package/bundle/chunk-1yddn03z.js +0 -2
- package/bundle/chunk-27dgtm8r.js +0 -2
- package/bundle/chunk-2ec6ps8r.js +0 -5
- package/bundle/chunk-38g8yzw0.js +0 -2
- package/bundle/chunk-3bkd0ar3.js +0 -2
- package/bundle/chunk-3f4zht9e.js +0 -2
- package/bundle/chunk-3pxnp6jb.js +0 -2
- package/bundle/chunk-3szwfy7w.js +0 -3
- package/bundle/chunk-426dt7be.js +0 -2
- package/bundle/chunk-4amgp4yd.js +0 -3
- package/bundle/chunk-4pjm21a5.js +0 -2
- package/bundle/chunk-4sz3jbc5.js +0 -2
- package/bundle/chunk-58x5seqn.js +0 -2
- package/bundle/chunk-5xe6x2rt.js +0 -2
- package/bundle/chunk-618tmyx9.js +0 -2
- package/bundle/chunk-6d9wsjxm.js +0 -2
- package/bundle/chunk-730a2d1k.js +0 -2
- package/bundle/chunk-76wrw0cs.js +0 -2
- package/bundle/chunk-7bd0x9vf.js +0 -2
- package/bundle/chunk-7czkntef.js +0 -2
- package/bundle/chunk-7ex57nyh.js +0 -2
- package/bundle/chunk-7gpczxbh.js +0 -2
- package/bundle/chunk-7j0bgeh2.js +0 -2
- package/bundle/chunk-7py443fe.js +0 -2
- package/bundle/chunk-90q5sae0.js +0 -2
- package/bundle/chunk-9amwe0ed.js +0 -2
- package/bundle/chunk-9grvepmd.js +0 -2
- package/bundle/chunk-9hrh15p2.js +0 -2
- package/bundle/chunk-a0v55ywn.js +0 -8
- package/bundle/chunk-a2qz9m10.js +0 -2
- package/bundle/chunk-av6ezvxm.js +0 -2
- package/bundle/chunk-beksar7w.js +0 -2
- package/bundle/chunk-bg66rqrx.js +0 -2
- package/bundle/chunk-bn15mzd7.js +0 -2
- package/bundle/chunk-bt6yw07v.js +0 -2
- package/bundle/chunk-cy9s1ma5.js +0 -2
- package/bundle/chunk-d0nkvp57.js +0 -2
- package/bundle/chunk-dvk2wwjj.js +0 -2
- package/bundle/chunk-dxe29jj6.js +0 -2
- package/bundle/chunk-e0jy9qxd.js +0 -2
- package/bundle/chunk-eercqt72.js +0 -2
- package/bundle/chunk-efxd6b2k.js +0 -2
- package/bundle/chunk-eneawsj8.js +0 -2
- package/bundle/chunk-f72pppr7.js +0 -2
- package/bundle/chunk-feyphhxd.js +0 -2
- package/bundle/chunk-fnnch1e9.js +0 -2
- package/bundle/chunk-ft93f33g.js +0 -3
- package/bundle/chunk-gk34kh8p.js +0 -2
- package/bundle/chunk-gn50xqbd.js +0 -2
- package/bundle/chunk-h6rv626m.js +0 -2
- package/bundle/chunk-h7s2w1e2.js +0 -2
- package/bundle/chunk-hmv2cdnz.js +0 -2
- package/bundle/chunk-ht81ensf.js +0 -2
- package/bundle/chunk-hxpgs78j.js +0 -5
- package/bundle/chunk-j59ktwny.js +0 -2
- package/bundle/chunk-jmz2mq3t.js +0 -2
- package/bundle/chunk-jvqbvgjy.js +0 -11
- package/bundle/chunk-k309zez0.js +0 -3
- package/bundle/chunk-k3fn3yed.js +0 -2
- package/bundle/chunk-kpw6nghv.js +0 -2
- package/bundle/chunk-m5ghbt5y.js +0 -2
- package/bundle/chunk-mj4bepvj.js +0 -2
- package/bundle/chunk-mn41f9qv.js +0 -2
- package/bundle/chunk-mqjf9sbm.js +0 -2
- package/bundle/chunk-n5gwrrbb.js +0 -2
- package/bundle/chunk-nfjhem1c.js +0 -2
- package/bundle/chunk-ngytjdg2.js +0 -3
- package/bundle/chunk-nj4d554m.js +0 -11
- package/bundle/chunk-nrc3bj9p.js +0 -2
- package/bundle/chunk-nt4e3em9.js +0 -3
- package/bundle/chunk-nxyyn2ra.js +0 -2
- package/bundle/chunk-p5tceb4k.js +0 -2
- package/bundle/chunk-pvpy9kq1.js +0 -800
- package/bundle/chunk-qjgm3e2p.js +0 -2
- package/bundle/chunk-qt80mhdn.js +0 -2
- package/bundle/chunk-qtw5nrr4.js +0 -2
- package/bundle/chunk-rc9ex3vt.js +0 -2
- package/bundle/chunk-s9672vvv.js +0 -2
- package/bundle/chunk-sbyey0qb.js +0 -2
- package/bundle/chunk-shpq6es1.js +0 -3
- package/bundle/chunk-sj5v361q.js +0 -2
- package/bundle/chunk-ta3k9syc.js +0 -2
- package/bundle/chunk-tk5afan4.js +0 -2
- package/bundle/chunk-tpndnprb.js +0 -2
- package/bundle/chunk-v965rsr8.js +0 -3
- package/bundle/chunk-vcmrrt8b.js +0 -3
- package/bundle/chunk-vcrn3v70.js +0 -2
- package/bundle/chunk-vwxfgea7.js +0 -2
- package/bundle/chunk-w0kgcz1t.js +0 -2
- package/bundle/chunk-wgpsmxqx.js +0 -7
- package/bundle/chunk-wksczmes.js +0 -2
- package/bundle/chunk-wsxta33r.js +0 -2
- package/bundle/chunk-xck0sq3k.js +0 -2
- package/bundle/chunk-xjyhtm8r.js +0 -2
- package/bundle/chunk-xm08fc2q.js +0 -3
- package/bundle/chunk-ygc5qegv.js +0 -2
- package/bundle/chunk-yjqmzm51.js +0 -2
- package/bundle/chunk-yzc53n88.js +0 -2
- package/bundle/chunk-yzjc15vp.js +0 -9
- package/bundle/chunk-z7y9pdj7.js +0 -2
- package/bundle/chunk-z8g819cz.js +0 -2
- package/bundle/chunk-z8r65yw3.js +0 -2
- package/bundle/chunk-zt1nbwmm.js +0 -2
- package/bundle/chunk-zz36xg2n.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-bzgj60w4.js";import"./chunk-aztre27e.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.never_ask.title_on_fullauto":"Sem perguntas: ATIVO (decidir automaticamente; o modo full-auto tamb\xE9m aprova as permiss\xF5es) \u2014 clique para desativar","tui.command.never_ask.title_off_fullauto":"Sem perguntas: INATIVO \u2014 clique para ativar (decidir automaticamente; o modo full-auto continua a aprovar as permiss\xF5es)","tui.command.never_ask.toast_on_fullauto":"Sem perguntas ATIVO \u2014 n\xE3o lhe perguntarei; escolherei a melhor op\xE7\xE3o at\xE9 desativar (/never-ask). O modo full-auto est\xE1 ligado, por isso os pedidos de permiss\xE3o tamb\xE9m s\xE3o aprovados automaticamente.","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-bzgj60w4.js";import"./chunk-7xm75w1e.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.never_ask.title_on_fullauto":"Sem perguntas: ATIVO (decidir automaticamente; o modo full-auto tamb\xE9m aprova as permiss\xF5es) \u2014 clique para desativar","tui.command.never_ask.title_off_fullauto":"Sem perguntas: INATIVO \u2014 clique para ativar (decidir automaticamente; o modo full-auto continua a aprovar as permiss\xF5es)","tui.command.never_ask.toast_on_fullauto":"Sem perguntas ATIVO \u2014 n\xE3o lhe perguntarei; escolherei a melhor op\xE7\xE3o at\xE9 desativar (/never-ask). O modo full-auto est\xE1 ligado, por isso os pedidos de permiss\xE3o tamb\xE9m s\xE3o aprovados automaticamente.","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};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{sh as r}from"./chunk-44a82dg0.js";import{kk as e}from"./chunk-04n2ycg5.js";import{xm as t}from"./chunk-redjxn13.js";import{lo as l}from"./chunk-vcw00k0n.js";import{ut as a}from"./chunk-5tray1fw.js";import{RM as o}from"./chunk-zs8kqdsf.js";var S={PromptAppend:t.define("tui.prompt.append",a.object({text:a.string()})),CommandExecute:t.define("tui.command.execute",a.object({command:a.union([a.enum(["session.list","session.new","session.share","session.interrupt","session.compact","session.page.up","session.page.down","session.line.up","session.line.down","session.half.page.up","session.half.page.down","session.first","session.last","prompt.clear","prompt.submit","agent.cycle"]),a.string()])})),ToastShow:t.define("tui.toast.show",a.object({title:a.string().optional(),message:a.string(),variant:a.enum(["info","success","warning","error"]),duration:a.number().default(5000).optional().describe("Duration in milliseconds")})),SessionSelect:t.define("tui.session.select",a.object({sessionID:e.zod.describe("Session ID to navigate to")})),InstructionsLoaded:r};class m extends o.Class("ConsoleState")({consoleManagedProviders:o.mutable(o.Array(o.String)),activeOrgName:o.optional(o.String),switchableOrgCount:o.Number}){static zod=l(this)}var f=m.make({consoleManagedProviders:[],activeOrgName:void 0,switchableOrgCount:0});
|
|
3
3
|
export{S as pg,m as qg,f as rg};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{te as _w}from"./chunk-fnbpap62.js";import{ue as Mw,xe as Aw}from"./chunk-37n34pzd.js";import{ye as Ww}from"./chunk-v2zp22r3.js";import{Ae as hw,Be as fw,ze as Iw}from"./chunk-j9pcnkkq.js";import{Ce as Pw}from"./chunk-dq9kpj4a.js";import{uf as kw,vf as Uw,wf as Jw,xf as Hw,yf as bw}from"./chunk-cvdxgsq1.js";import{aQ as $w}from"./chunk-aztre27e.js";var zj=$w((Dw)=>{var jj=Mw(),m={CrtSignerV4:null},wj="X-Amz-S3session-Token",Mj=wj.toLowerCase();class xj extends jj.SignatureV4{async signWithCredentials(j,w,x){let E=Dj(w);j.headers[Mj]=w.sessionToken;let B=this;return yj(B,E),B.signRequest(j,x??{})}async presignWithCredentials(j,w,x){let E=Dj(w);return delete j.headers[Mj],j.headers[wj]=w.sessionToken,j.query=j.query??{},j.query[wj]=w.sessionToken,yj(this,E),this.presign(j,x)}}function Dj(j){return{accessKeyId:j.accessKeyId,secretAccessKey:j.secretAccessKey,expiration:j.expiration}}function yj(j,w){let x=j.credentialProvider;j.credentialProvider=()=>{return j.credentialProvider=x,Promise.resolve(w)}}class Lj{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof m.CrtSignerV4==="function")return"crt";else if(typeof jj.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(j){this.sigv4Signer=new xj(j),this.signerOptions=j}async sign(j,w={}){if(w.signingRegion==="*")return this.getSigv4aSigner().sign(j,w);return this.sigv4Signer.sign(j,w)}async signWithCredentials(j,w,x={}){if(x.signingRegion==="*"){let E=this.getSigv4aSigner(),B=m.CrtSignerV4;if(B&&E instanceof B)return E.signWithCredentials(j,w,x);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(j,w,x)}async presign(j,w={}){if(w.signingRegion==="*"){let x=this.getSigv4aSigner(),E=m.CrtSignerV4;if(E&&x instanceof E)return x.presign(j,w);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(j,w)}async presignWithCredentials(j,w,x={}){if(x.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(j,w,x)}getSigv4aSigner(){if(!this.sigv4aSigner){let j=m.CrtSignerV4,w=jj.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!j&&!w)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(j&&typeof j==="function")this.sigv4aSigner=new j({...this.signerOptions,signingAlgorithm:1});else if(w&&typeof w==="function")this.sigv4aSigner=new w({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!w||typeof w!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new w({...this.signerOptions})}}return this.sigv4aSigner}}Dw.SignatureV4MultiRegion=Lj;Dw.SignatureV4SignWithCredentials=xj;Dw.signatureV4CrtContainer=m});var Y=fw(),S=hw(),Z=Uw(),$=Jw(),b=Hw(),d=Pw(),c=Iw(),Gj=kw(),H=_w(),_j=zj(),O=bw(),kj=Ww(),vw=Aw(),T="ref",h=-1,q=!0,Uj="isSet",Wj="PartitionResult",C="booleanEquals",Q="stringEquals",Bj="getAttr",Jj="us-east-1",Hj="sigv4",bj="sts",Pj="https://sts.{Region}.{PartitionResult#dnsSuffix}",Ij={[T]:"Endpoint"},X={[T]:"Region"},Ej={[T]:Wj},R={},hj=[X],fj={conditions:[[Uj,[Ij]],[Uj,hj],["aws.partition",hj,Wj],[C,[{[T]:"UseFIPS"},q]],[C,[{[T]:"UseDualStack"},q]],[Q,[X,"aws-global"]],[C,[{[T]:"UseGlobalEndpoint"},q]],[Q,[X,"eu-central-1"]],[C,[{fn:Bj,argv:[Ej,"supportsDualStack"]},q]],[C,[{fn:Bj,argv:[Ej,"supportsFIPS"]},q]],[Q,[X,"ap-south-1"]],[Q,[X,"eu-north-1"]],[Q,[X,"eu-west-1"]],[Q,[X,"eu-west-2"]],[Q,[X,"eu-west-3"]],[Q,[X,"sa-east-1"]],[Q,[X,Jj]],[Q,[X,"us-east-2"]],[Q,[X,"us-west-2"]],[Q,[X,"us-west-1"]],[Q,[X,"ca-central-1"]],[Q,[X,"ap-southeast-1"]],[Q,[X,"ap-northeast-1"]],[Q,[X,"ap-southeast-2"]],[Q,[{fn:Bj,argv:[Ej,"name"]},"aws-us-gov"]]],results:[[h],["https://sts.amazonaws.com",{authSchemes:[{name:Hj,signingName:bj,signingRegion:Jj}]}],[Pj,{authSchemes:[{name:Hj,signingName:bj,signingRegion:"{Region}"}]}],[h,"Invalid Configuration: FIPS and custom endpoint are not supported"],[h,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ij,R],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",R],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",R],[h,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"DualStack is enabled but this partition does not support DualStack"],[Pj,R],[h,"Invalid Configuration: Missing Region"]]},Vw=2,F=1e8,Rw=new Int32Array([-1,1,-1,0,30,3,1,4,F+14,2,5,F+14,3,25,6,4,24,7,5,F+1,8,6,9,F+13,7,F+1,10,10,F+1,11,11,F+1,12,12,F+1,13,13,F+1,14,14,F+1,15,15,F+1,16,16,F+1,17,17,F+1,18,18,F+1,19,19,F+1,20,20,F+1,21,21,F+1,22,22,F+1,23,23,F+1,F+2,8,F+11,F+12,4,28,26,9,27,F+10,24,F+8,F+9,8,29,F+7,9,F+6,F+7,3,F+3,31,4,F+4,F+5]),Ow=b.BinaryDecisionDiagram.from(Rw,Vw,fj.conditions,fj.results),Tw=new b.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),Aj=(j,w={})=>{return Tw.get(j,()=>b.decideEndpoint(Ow,{endpointParams:j,logger:w.logger}))};b.customEndpointFunctions.aws=Y.awsEndpointFunctions;var mw=(j)=>async(w,x,E)=>{if(!E)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let B=await j(w,x,E),N=Z.getSmithyContext(x)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!N)throw Error(`getEndpointParameterInstructions() is not defined on '${x.commandName}'`);let G=await b.resolveParams(E,{getEndpointParameterInstructions:N},w);return Object.assign(B,G)},qw=async(j,w,x)=>{return{operation:Z.getSmithyContext(w).operation,region:await Z.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},Cw=mw(qw);function vj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Fj(j){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Vj(j){return{schemeId:"smithy.api#noAuth"}}var Sw=(j,w,x)=>{return(B)=>{let G=j(B).properties?.authSchemes;if(!G)return w(B);let M=[];for(let z of G){let{name:D,properties:k={},...I}=z,U=D.toLowerCase();if(D!==U)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${D}' to '${U}'`);let L;if(U==="sigv4a"){L="aws.auth#sigv4a";let s=G.find((e)=>{let $j=e.name.toLowerCase();return $j!=="sigv4a"&&$j.startsWith("sigv4")});if(_j.SignatureV4MultiRegion.sigv4aDependency()==="none"&&s)continue}else if(U.startsWith("sigv4"))L="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${U}'`);let V=x[L];if(!V)throw Error(`Could not find HttpAuthOption create function for '${L}'`);let J=V(B);J.schemeId=L,J.signingProperties={...J.signingProperties||{},...I,...k},M.push(J)}return M}},cw=(j)=>{let w=[];switch(j.operation){case"AssumeRoleWithWebIdentity":{w.push(Vj()),w.push(Fj(j));break}default:w.push(vj(j)),w.push(Fj(j))}return w},uw=Sw(Aj,cw,{"aws.auth#sigv4":vj,"aws.auth#sigv4a":Fj,"smithy.api#noAuth":Vj}),dw=(j)=>{let w=H.resolveAwsSdkSigV4Config(j),x=H.resolveAwsSdkSigV4AConfig(w);return Object.assign(x,{authSchemePreference:Z.normalizeProvider(j.authSchemePreference??[])})},pw=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,useGlobalEndpoint:j.useGlobalEndpoint??!1,defaultSigningName:"sts"})},Rj={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},lw="3.997.14",gw={version:lw};class y extends Z.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,y.prototype)}}class p extends y{name="ExpiredTokenException";$fault="client";constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,p.prototype)}}class l extends y{name="MalformedPolicyDocumentException";$fault="client";constructor(j){super({name:"MalformedPolicyDocumentException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype)}}class g extends y{name="PackedPolicyTooLargeException";$fault="client";constructor(j){super({name:"PackedPolicyTooLargeException",$fault:"client",...j});Object.setPrototypeOf(this,g.prototype)}}class a extends y{name="RegionDisabledException";$fault="client";constructor(j){super({name:"RegionDisabledException",$fault:"client",...j});Object.setPrototypeOf(this,a.prototype)}}class r extends y{name="IDPRejectedClaimException";$fault="client";constructor(j){super({name:"IDPRejectedClaimException",$fault:"client",...j});Object.setPrototypeOf(this,r.prototype)}}class o extends y{name="InvalidIdentityTokenException";$fault="client";constructor(j){super({name:"InvalidIdentityTokenException",$fault:"client",...j});Object.setPrototypeOf(this,o.prototype)}}class n extends y{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(j){super({name:"IDPCommunicationErrorException",$fault:"client",...j});Object.setPrototypeOf(this,n.prototype)}}var aw="Arn",rw="AccessKeyId",ow="AssumeRole",nw="AssumedRoleId",iw="AssumeRoleRequest",tw="AssumeRoleResponse",Kj="AssumedRoleUser",sw="AssumeRoleWithWebIdentity",ew="AssumeRoleWithWebIdentityRequest",jx="AssumeRoleWithWebIdentityResponse",wx="Audience",Nj="Credentials",xx="ContextAssertion",Oj="DurationSeconds",Bx="Expiration",Ex="ExternalId",Fx="ExpiredTokenException",Gx="IDPCommunicationErrorException",Kx="IDPRejectedClaimException",Nx="InvalidIdentityTokenException",Qx="Key",Xx="MalformedPolicyDocumentException",Tj="Policy",mj="PolicyArns",Yx="ProviderArn",Zx="ProvidedContexts",$x="ProvidedContextsListType",Mx="ProvidedContext",Dx="PolicyDescriptorType",yx="ProviderId",qj="PackedPolicySize",Lx="PackedPolicyTooLargeException",zx="Provider",Cj="RoleArn",kx="RegionDisabledException",Sj="RoleSessionName",Ux="SecretAccessKey",Jx="SubjectFromWebIdentityToken",Qj="SourceIdentity",Hx="SerialNumber",bx="SessionToken",Px="Tags",Ix="TokenCode",hx="TransitiveTagKeys",fx="Tag",_x="Value",Wx="WebIdentityToken",Ax="arn",vx="accessKeySecretType",f="awsQueryError",_="client",Vx="clientTokenType",W="error",A="httpError",v="message",Rx="policyDescriptorListType",cj="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ox="tagListType",K="com.amazonaws.sts",uj=Gj.TypeRegistry.for(cj),dj=[-3,cj,"STSServiceException",0,[],[]];uj.registerError(dj,y);var P=Gj.TypeRegistry.for(K),pj=[-3,K,Fx,{[f]:["ExpiredTokenException",400],[W]:_,[A]:400},[v],[0]];P.registerError(pj,p);var lj=[-3,K,Gx,{[f]:["IDPCommunicationError",400],[W]:_,[A]:400},[v],[0]];P.registerError(lj,n);var gj=[-3,K,Kx,{[f]:["IDPRejectedClaim",403],[W]:_,[A]:403},[v],[0]];P.registerError(gj,r);var aj=[-3,K,Nx,{[f]:["InvalidIdentityToken",400],[W]:_,[A]:400},[v],[0]];P.registerError(aj,o);var rj=[-3,K,Xx,{[f]:["MalformedPolicyDocument",400],[W]:_,[A]:400},[v],[0]];P.registerError(rj,l);var oj=[-3,K,Lx,{[f]:["PackedPolicyTooLarge",400],[W]:_,[A]:400},[v],[0]];P.registerError(oj,g);var nj=[-3,K,kx,{[f]:["RegionDisabledException",403],[W]:_,[A]:403},[v],[0]];P.registerError(nj,a);var ij=[uj,P],Tx=[0,K,vx,8,0],mx=[0,K,Vx,8,0],Xj=[3,K,Kj,0,[nw,aw],[0,0],2],tj=[3,K,iw,0,[Cj,Sj,mj,Tj,Oj,Px,hx,Ex,Hx,Ix,Qj,Zx],[0,0,()=>Ew,0,1,()=>Cx,64,0,0,0,0,()=>qx],2],sj=[3,K,tw,0,[Nj,Kj,qj,Qj],[[()=>Yj,0],()=>Xj,1,0]],ej=[3,K,ew,0,[Cj,Sj,Wx,yx,mj,Tj,Oj],[0,0,[()=>mx,0],0,()=>Ew,0,1],3],jw=[3,K,jx,0,[Nj,Jx,Kj,qj,zx,wx,Qj],[[()=>Yj,0],0,()=>Xj,1,0,0,0]],Yj=[3,K,Nj,0,[rw,Ux,bx,Bx],[0,[()=>Tx,0],0,4],4],ww=[3,K,Dx,0,[Ax],[0]],xw=[3,K,Mx,0,[Yx,xx],[0,0]],Bw=[3,K,fx,0,[Qx,_x],[0,0],2],Ew=[1,K,Rx,0,()=>ww],qx=[1,K,$x,0,()=>xw],Cx=[1,K,Ox,0,()=>Bw],Fw=[9,K,ow,0,()=>tj,()=>sj],Gw=[9,K,sw,0,()=>ej,()=>jw],Sx=(j)=>{return{apiVersion:"2011-06-15",base64Decoder:j?.base64Decoder??O.fromBase64,base64Encoder:j?.base64Encoder??O.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??Aj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??uw,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4"),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(w)=>w.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],logger:j?.logger??new Z.NoOpLogger,protocol:j?.protocol??vw.AwsQueryProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:ij,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:j?.serviceId??"STS",signerConstructor:j?.signerConstructor??_j.SignatureV4MultiRegion,urlParser:j?.urlParser??d.parseUrl,utf8Decoder:j?.utf8Decoder??O.fromUtf8,utf8Encoder:j?.utf8Encoder??O.toUtf8}},cx=(j)=>{Z.emitWarningIfUnsupportedVersion(process.version);let w=$.resolveDefaultsModeConfig(j),x=()=>w().then(Z.loadConfigsForDefaultMode),E=Sx(j);Y.emitWarningIfUnsupportedVersion(process.version);let B={profile:j?.profile,logger:E.logger};return{...E,...j,runtime:"node",defaultsMode:w,authSchemePreference:j?.authSchemePreference??$.loadConfig(H.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,B),bodyLengthChecker:j?.bodyLengthChecker??O.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Y.createDefaultUserAgentProvider({serviceId:E.serviceId,clientVersion:gw.version}),httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4")||(async(G)=>await j.credentialDefaultProvider(G?.__config||{})()),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(N)=>N.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],maxAttempts:j?.maxAttempts??$.loadConfig(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??$.loadConfig($.NODE_REGION_CONFIG_OPTIONS,{...$.NODE_REGION_CONFIG_FILE_OPTIONS,...B}),requestHandler:kj.NodeHttpHandler.create(j?.requestHandler??x),retryMode:j?.retryMode??$.loadConfig({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await x()).retryMode||c.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??O.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:j?.sigv4aSigningRegionSet??$.loadConfig(H.NODE_SIGV4A_CONFIG_OPTIONS,B),streamCollector:j?.streamCollector??kj.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??$.loadConfig($.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,B),useFipsEndpoint:j?.useFipsEndpoint??$.loadConfig($.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,B),userAgentAppId:j?.userAgentAppId??$.loadConfig(Y.NODE_APP_ID_CONFIG_OPTIONS,B)}},ux=(j)=>{let{httpAuthSchemes:w,httpAuthSchemeProvider:x,credentials:E}=j;return{setHttpAuthScheme(B){let N=w.findIndex((G)=>G.schemeId===B.schemeId);if(N===-1)w.push(B);else w.splice(N,1,B)},httpAuthSchemes(){return w},setHttpAuthSchemeProvider(B){x=B},httpAuthSchemeProvider(){return x},setCredentials(B){E=B},credentials(){return E}}},dx=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},px=(j,w)=>{let x=Object.assign(Y.getAwsRegionExtensionConfiguration(j),Z.getDefaultExtensionConfiguration(j),d.getHttpHandlerExtensionConfiguration(j),ux(j));return w.forEach((E)=>E.configure(x)),Object.assign(j,Y.resolveAwsRegionExtensionConfiguration(x),Z.resolveDefaultRuntimeConfig(x),d.resolveHttpHandlerRuntimeConfig(x),dx(x))};class u extends Z.Client{config;constructor(...[j]){let w=cx(j||{});super(w);this.initConfig=w;let x=pw(w),E=Y.resolveUserAgentConfig(x),B=c.resolveRetryConfig(E),N=$.resolveRegionConfig(B),G=Y.resolveHostHeaderConfig(N),M=b.resolveEndpointConfig(G),z=dw(M),D=px(z,j?.extensions||[]);this.config=D,this.middlewareStack.use(Gj.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Y.getUserAgentPlugin(this.config)),this.middlewareStack.use(c.getRetryPlugin(this.config)),this.middlewareStack.use(d.getContentLengthPlugin(this.config)),this.middlewareStack.use(Y.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Y.getLoggerPlugin(this.config)),this.middlewareStack.use(Y.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(S.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Cw,identityProviderConfigProvider:async(k)=>new S.DefaultIdentityProviderConfig({"aws.auth#sigv4":k.credentials,"aws.auth#sigv4a":k.credentials})})),this.middlewareStack.use(S.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class i extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Fw).build(){}class t extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Gw).build(){}var lx={AssumeRoleCommand:i,AssumeRoleWithWebIdentityCommand:t};class Zj extends u{}Z.createAggregatedClient(lx,Zj);var Kw=(j)=>{if(typeof j?.Arn==="string"){let w=j.Arn.split(":");if(w.length>4&&w[4]!=="")return w[4]}return},Nw=async(j,w,x,E={})=>{let B=typeof j==="function"?await j():j,N=typeof w==="function"?await w():w,G="",M=B??N??(G=await Y.stsRegionDefaultResolver(E)());return x?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${B} (credential provider clientConfig)`,`${N} (contextual client)`,`${G} (STS default: AWS_REGION, profile region, or us-east-1)`),M},gx=(j,w)=>{let x,E;return async(B,N)=>{if(E=B,!x){let{logger:k=j?.parentClientConfig?.logger,profile:I=j?.parentClientConfig?.profile,region:U,requestHandler:L=j?.parentClientConfig?.requestHandler,credentialProviderLogger:V,userAgentAppId:J=j?.parentClientConfig?.userAgentAppId}=j,s=await Nw(U,j?.parentClientConfig?.region,V,{logger:k,profile:I}),e=!Qw(L);x=new w({...j,userAgentAppId:J,profile:I,credentialDefaultProvider:()=>async()=>E,region:s,requestHandler:e?L:void 0,logger:k})}let{Credentials:G,AssumedRoleUser:M}=await x.send(new i(N));if(!G||!G.AccessKeyId||!G.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${N.RoleArn}`);let z=Kw(M),D={accessKeyId:G.AccessKeyId,secretAccessKey:G.SecretAccessKey,sessionToken:G.SessionToken,expiration:G.Expiration,...G.CredentialScope&&{credentialScope:G.CredentialScope},...z&&{accountId:z}};return Y.setCredentialFeature(D,"CREDENTIALS_STS_ASSUME_ROLE","i"),D}},ax=(j,w)=>{let x;return async(E)=>{if(!x){let{logger:z=j?.parentClientConfig?.logger,profile:D=j?.parentClientConfig?.profile,region:k,requestHandler:I=j?.parentClientConfig?.requestHandler,credentialProviderLogger:U,userAgentAppId:L=j?.parentClientConfig?.userAgentAppId}=j,V=await Nw(k,j?.parentClientConfig?.region,U,{logger:z,profile:D}),J=!Qw(I);x=new w({...j,userAgentAppId:L,profile:D,region:V,requestHandler:J?I:void 0,logger:z})}let{Credentials:B,AssumedRoleUser:N}=await x.send(new t(E));if(!B||!B.AccessKeyId||!B.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${E.RoleArn}`);let G=Kw(N),M={accessKeyId:B.AccessKeyId,secretAccessKey:B.SecretAccessKey,sessionToken:B.SessionToken,expiration:B.Expiration,...B.CredentialScope&&{credentialScope:B.CredentialScope},...G&&{accountId:G}};if(G)Y.setCredentialFeature(M,"RESOLVED_ACCOUNT_ID","T");return Y.setCredentialFeature(M,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),M}},Qw=(j)=>{return j?.metadata?.handlerProtocol==="h2"},Xw=(j,w)=>{if(!w)return j;else return class extends j{constructor(E){super(E);for(let B of w)this.middlewareStack.use(B)}}},Yw=(j={},w)=>gx(j,Xw(u,w)),Zw=(j={},w)=>ax(j,Xw(u,w)),rx=(j)=>(w)=>j({roleAssumer:Yw(w),roleAssumerWithWebIdentity:Zw(w),...w});var{Command:ox,Client:nx}=Z,ix=Fw,tx=i,sx=tj,ex=sj,jB=Gw,wB=t,xB=ej,BB=jw,EB=Xj,FB=Yj,GB=p,KB=pj,NB=n,QB=lj,XB=r,YB=gj,ZB=o,$B=aj,MB=l,DB=rj,yB=g,LB=oj,zB=ww,kB=xw,UB=a,JB=nj,HB=Zj,bB=u,PB=y,IB=dj,hB=Bw,fB=rx,_B=ij,WB=Yw,AB=Zw;export{AB as getDefaultRoleAssumerWithWebIdentity,WB as getDefaultRoleAssumer,_B as errorTypeRegistries,fB as decorateDefaultCredentialProvider,nx as __Client,hB as Tag$,IB as STSServiceException$,PB as STSServiceException,bB as STSClient,HB as STS,JB as RegionDisabledException$,UB as RegionDisabledException,kB as ProvidedContext$,zB as PolicyDescriptorType$,LB as PackedPolicyTooLargeException$,yB as PackedPolicyTooLargeException,DB as MalformedPolicyDocumentException$,MB as MalformedPolicyDocumentException,$B as InvalidIdentityTokenException$,ZB as InvalidIdentityTokenException,YB as IDPRejectedClaimException$,XB as IDPRejectedClaimException,QB as IDPCommunicationErrorException$,NB as IDPCommunicationErrorException,KB as ExpiredTokenException$,GB as ExpiredTokenException,FB as Credentials$,EB as AssumedRoleUser$,BB as AssumeRoleWithWebIdentityResponse$,xB as AssumeRoleWithWebIdentityRequest$,wB as AssumeRoleWithWebIdentityCommand,jB as AssumeRoleWithWebIdentity$,ex as AssumeRoleResponse$,sx as AssumeRoleRequest$,tx as AssumeRoleCommand,ix as AssumeRole$,ox as $Command};export default {get getDefaultRoleAssumerWithWebIdentity(){return AB},get getDefaultRoleAssumer(){return WB},get errorTypeRegistries(){return _B},get decorateDefaultCredentialProvider(){return fB},get __Client(){return nx},get Tag$(){return hB},get STSServiceException$(){return IB},get STSServiceException(){return PB},get STSClient(){return bB},get STS(){return HB},get RegionDisabledException$(){return JB},get RegionDisabledException(){return UB},get ProvidedContext$(){return kB},get PolicyDescriptorType$(){return zB},get PackedPolicyTooLargeException$(){return LB},get PackedPolicyTooLargeException(){return yB},get MalformedPolicyDocumentException$(){return DB},get MalformedPolicyDocumentException(){return MB},get InvalidIdentityTokenException$(){return $B},get InvalidIdentityTokenException(){return ZB},get IDPRejectedClaimException$(){return YB},get IDPRejectedClaimException(){return XB},get IDPCommunicationErrorException$(){return QB},get IDPCommunicationErrorException(){return NB},get ExpiredTokenException$(){return KB},get ExpiredTokenException(){return GB},get Credentials$(){return FB},get AssumedRoleUser$(){return EB},get AssumeRoleWithWebIdentityResponse$(){return BB},get AssumeRoleWithWebIdentityRequest$(){return xB},get AssumeRoleWithWebIdentityCommand(){return wB},get AssumeRoleWithWebIdentity$(){return jB},get AssumeRoleResponse$(){return ex},get AssumeRoleRequest$(){return sx},get AssumeRoleCommand(){return tx},get AssumeRole$(){return ix},get $Command(){return ox}};
|
|
2
|
+
import{te as _w}from"./chunk-yek0sk2q.js";import{ue as Mw,xe as Aw}from"./chunk-01my2y0c.js";import{ye as Ww}from"./chunk-70ck4v3t.js";import{Ae as hw,Be as fw,ze as Iw}from"./chunk-ht5w06x7.js";import{Ce as Pw}from"./chunk-enpzvmtc.js";import{uf as kw,vf as Uw,wf as Jw,xf as Hw,yf as bw}from"./chunk-tq0239xp.js";import{CO as $w}from"./chunk-7xm75w1e.js";var zj=$w((Dw)=>{var jj=Mw(),m={CrtSignerV4:null},wj="X-Amz-S3session-Token",Mj=wj.toLowerCase();class xj extends jj.SignatureV4{async signWithCredentials(j,w,x){let E=Dj(w);j.headers[Mj]=w.sessionToken;let B=this;return yj(B,E),B.signRequest(j,x??{})}async presignWithCredentials(j,w,x){let E=Dj(w);return delete j.headers[Mj],j.headers[wj]=w.sessionToken,j.query=j.query??{},j.query[wj]=w.sessionToken,yj(this,E),this.presign(j,x)}}function Dj(j){return{accessKeyId:j.accessKeyId,secretAccessKey:j.secretAccessKey,expiration:j.expiration}}function yj(j,w){let x=j.credentialProvider;j.credentialProvider=()=>{return j.credentialProvider=x,Promise.resolve(w)}}class Lj{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){if(typeof m.CrtSignerV4==="function")return"crt";else if(typeof jj.signatureV4aContainer.SignatureV4a==="function")return"js";return"none"}constructor(j){this.sigv4Signer=new xj(j),this.signerOptions=j}async sign(j,w={}){if(w.signingRegion==="*")return this.getSigv4aSigner().sign(j,w);return this.sigv4Signer.sign(j,w)}async signWithCredentials(j,w,x={}){if(x.signingRegion==="*"){let E=this.getSigv4aSigner(),B=m.CrtSignerV4;if(B&&E instanceof B)return E.signWithCredentials(j,w,x);else throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(j,w,x)}async presign(j,w={}){if(w.signingRegion==="*"){let x=this.getSigv4aSigner(),E=m.CrtSignerV4;if(E&&x instanceof E)return x.presign(j,w);else throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(j,w)}async presignWithCredentials(j,w,x={}){if(x.signingRegion==="*")throw Error("Method presignWithCredentials is not supported for [signingRegion=*].");return this.sigv4Signer.presignWithCredentials(j,w,x)}getSigv4aSigner(){if(!this.sigv4aSigner){let j=m.CrtSignerV4,w=jj.signatureV4aContainer.SignatureV4a;if(this.signerOptions.runtime==="node"){if(!j&&!w)throw Error("Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt");if(j&&typeof j==="function")this.sigv4aSigner=new j({...this.signerOptions,signingAlgorithm:1});else if(w&&typeof w==="function")this.sigv4aSigner=new w({...this.signerOptions});else throw Error("Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt")}else{if(!w||typeof w!=="function")throw Error("JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a");this.sigv4aSigner=new w({...this.signerOptions})}}return this.sigv4aSigner}}Dw.SignatureV4MultiRegion=Lj;Dw.SignatureV4SignWithCredentials=xj;Dw.signatureV4CrtContainer=m});var Y=fw(),S=hw(),Z=Uw(),$=Jw(),b=Hw(),d=Pw(),c=Iw(),Gj=kw(),H=_w(),_j=zj(),O=bw(),kj=Ww(),vw=Aw(),T="ref",h=-1,q=!0,Uj="isSet",Wj="PartitionResult",C="booleanEquals",Q="stringEquals",Bj="getAttr",Jj="us-east-1",Hj="sigv4",bj="sts",Pj="https://sts.{Region}.{PartitionResult#dnsSuffix}",Ij={[T]:"Endpoint"},X={[T]:"Region"},Ej={[T]:Wj},R={},hj=[X],fj={conditions:[[Uj,[Ij]],[Uj,hj],["aws.partition",hj,Wj],[C,[{[T]:"UseFIPS"},q]],[C,[{[T]:"UseDualStack"},q]],[Q,[X,"aws-global"]],[C,[{[T]:"UseGlobalEndpoint"},q]],[Q,[X,"eu-central-1"]],[C,[{fn:Bj,argv:[Ej,"supportsDualStack"]},q]],[C,[{fn:Bj,argv:[Ej,"supportsFIPS"]},q]],[Q,[X,"ap-south-1"]],[Q,[X,"eu-north-1"]],[Q,[X,"eu-west-1"]],[Q,[X,"eu-west-2"]],[Q,[X,"eu-west-3"]],[Q,[X,"sa-east-1"]],[Q,[X,Jj]],[Q,[X,"us-east-2"]],[Q,[X,"us-west-2"]],[Q,[X,"us-west-1"]],[Q,[X,"ca-central-1"]],[Q,[X,"ap-southeast-1"]],[Q,[X,"ap-northeast-1"]],[Q,[X,"ap-southeast-2"]],[Q,[{fn:Bj,argv:[Ej,"name"]},"aws-us-gov"]]],results:[[h],["https://sts.amazonaws.com",{authSchemes:[{name:Hj,signingName:bj,signingRegion:Jj}]}],[Pj,{authSchemes:[{name:Hj,signingName:bj,signingRegion:"{Region}"}]}],[h,"Invalid Configuration: FIPS and custom endpoint are not supported"],[h,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[Ij,R],["https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://sts.{Region}.amazonaws.com",R],["https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",R],[h,"FIPS is enabled but this partition does not support FIPS"],["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",R],[h,"DualStack is enabled but this partition does not support DualStack"],[Pj,R],[h,"Invalid Configuration: Missing Region"]]},Vw=2,F=1e8,Rw=new Int32Array([-1,1,-1,0,30,3,1,4,F+14,2,5,F+14,3,25,6,4,24,7,5,F+1,8,6,9,F+13,7,F+1,10,10,F+1,11,11,F+1,12,12,F+1,13,13,F+1,14,14,F+1,15,15,F+1,16,16,F+1,17,17,F+1,18,18,F+1,19,19,F+1,20,20,F+1,21,21,F+1,22,22,F+1,23,23,F+1,F+2,8,F+11,F+12,4,28,26,9,27,F+10,24,F+8,F+9,8,29,F+7,9,F+6,F+7,3,F+3,31,4,F+4,F+5]),Ow=b.BinaryDecisionDiagram.from(Rw,Vw,fj.conditions,fj.results),Tw=new b.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS","UseGlobalEndpoint"]}),Aj=(j,w={})=>{return Tw.get(j,()=>b.decideEndpoint(Ow,{endpointParams:j,logger:w.logger}))};b.customEndpointFunctions.aws=Y.awsEndpointFunctions;var mw=(j)=>async(w,x,E)=>{if(!E)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let B=await j(w,x,E),N=Z.getSmithyContext(x)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!N)throw Error(`getEndpointParameterInstructions() is not defined on '${x.commandName}'`);let G=await b.resolveParams(E,{getEndpointParameterInstructions:N},w);return Object.assign(B,G)},qw=async(j,w,x)=>{return{operation:Z.getSmithyContext(w).operation,region:await Z.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}},Cw=mw(qw);function vj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Fj(j){return{schemeId:"aws.auth#sigv4a",signingProperties:{name:"sts",region:j.region},propertiesExtractor:(w,x)=>({signingProperties:{config:w,context:x}})}}function Vj(j){return{schemeId:"smithy.api#noAuth"}}var Sw=(j,w,x)=>{return(B)=>{let G=j(B).properties?.authSchemes;if(!G)return w(B);let M=[];for(let z of G){let{name:D,properties:k={},...I}=z,U=D.toLowerCase();if(D!==U)console.warn(`HttpAuthScheme has been normalized with lowercasing: '${D}' to '${U}'`);let L;if(U==="sigv4a"){L="aws.auth#sigv4a";let s=G.find((e)=>{let $j=e.name.toLowerCase();return $j!=="sigv4a"&&$j.startsWith("sigv4")});if(_j.SignatureV4MultiRegion.sigv4aDependency()==="none"&&s)continue}else if(U.startsWith("sigv4"))L="aws.auth#sigv4";else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${U}'`);let V=x[L];if(!V)throw Error(`Could not find HttpAuthOption create function for '${L}'`);let J=V(B);J.schemeId=L,J.signingProperties={...J.signingProperties||{},...I,...k},M.push(J)}return M}},cw=(j)=>{let w=[];switch(j.operation){case"AssumeRoleWithWebIdentity":{w.push(Vj()),w.push(Fj(j));break}default:w.push(vj(j)),w.push(Fj(j))}return w},uw=Sw(Aj,cw,{"aws.auth#sigv4":vj,"aws.auth#sigv4a":Fj,"smithy.api#noAuth":Vj}),dw=(j)=>{let w=H.resolveAwsSdkSigV4Config(j),x=H.resolveAwsSdkSigV4AConfig(w);return Object.assign(x,{authSchemePreference:Z.normalizeProvider(j.authSchemePreference??[])})},pw=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,useGlobalEndpoint:j.useGlobalEndpoint??!1,defaultSigningName:"sts"})},Rj={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},lw="3.997.14",gw={version:lw};class y extends Z.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,y.prototype)}}class p extends y{name="ExpiredTokenException";$fault="client";constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,p.prototype)}}class l extends y{name="MalformedPolicyDocumentException";$fault="client";constructor(j){super({name:"MalformedPolicyDocumentException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype)}}class g extends y{name="PackedPolicyTooLargeException";$fault="client";constructor(j){super({name:"PackedPolicyTooLargeException",$fault:"client",...j});Object.setPrototypeOf(this,g.prototype)}}class a extends y{name="RegionDisabledException";$fault="client";constructor(j){super({name:"RegionDisabledException",$fault:"client",...j});Object.setPrototypeOf(this,a.prototype)}}class r extends y{name="IDPRejectedClaimException";$fault="client";constructor(j){super({name:"IDPRejectedClaimException",$fault:"client",...j});Object.setPrototypeOf(this,r.prototype)}}class o extends y{name="InvalidIdentityTokenException";$fault="client";constructor(j){super({name:"InvalidIdentityTokenException",$fault:"client",...j});Object.setPrototypeOf(this,o.prototype)}}class n extends y{name="IDPCommunicationErrorException";$fault="client";$retryable={};constructor(j){super({name:"IDPCommunicationErrorException",$fault:"client",...j});Object.setPrototypeOf(this,n.prototype)}}var aw="Arn",rw="AccessKeyId",ow="AssumeRole",nw="AssumedRoleId",iw="AssumeRoleRequest",tw="AssumeRoleResponse",Kj="AssumedRoleUser",sw="AssumeRoleWithWebIdentity",ew="AssumeRoleWithWebIdentityRequest",jx="AssumeRoleWithWebIdentityResponse",wx="Audience",Nj="Credentials",xx="ContextAssertion",Oj="DurationSeconds",Bx="Expiration",Ex="ExternalId",Fx="ExpiredTokenException",Gx="IDPCommunicationErrorException",Kx="IDPRejectedClaimException",Nx="InvalidIdentityTokenException",Qx="Key",Xx="MalformedPolicyDocumentException",Tj="Policy",mj="PolicyArns",Yx="ProviderArn",Zx="ProvidedContexts",$x="ProvidedContextsListType",Mx="ProvidedContext",Dx="PolicyDescriptorType",yx="ProviderId",qj="PackedPolicySize",Lx="PackedPolicyTooLargeException",zx="Provider",Cj="RoleArn",kx="RegionDisabledException",Sj="RoleSessionName",Ux="SecretAccessKey",Jx="SubjectFromWebIdentityToken",Qj="SourceIdentity",Hx="SerialNumber",bx="SessionToken",Px="Tags",Ix="TokenCode",hx="TransitiveTagKeys",fx="Tag",_x="Value",Wx="WebIdentityToken",Ax="arn",vx="accessKeySecretType",f="awsQueryError",_="client",Vx="clientTokenType",W="error",A="httpError",v="message",Rx="policyDescriptorListType",cj="smithy.ts.sdk.synthetic.com.amazonaws.sts",Ox="tagListType",K="com.amazonaws.sts",uj=Gj.TypeRegistry.for(cj),dj=[-3,cj,"STSServiceException",0,[],[]];uj.registerError(dj,y);var P=Gj.TypeRegistry.for(K),pj=[-3,K,Fx,{[f]:["ExpiredTokenException",400],[W]:_,[A]:400},[v],[0]];P.registerError(pj,p);var lj=[-3,K,Gx,{[f]:["IDPCommunicationError",400],[W]:_,[A]:400},[v],[0]];P.registerError(lj,n);var gj=[-3,K,Kx,{[f]:["IDPRejectedClaim",403],[W]:_,[A]:403},[v],[0]];P.registerError(gj,r);var aj=[-3,K,Nx,{[f]:["InvalidIdentityToken",400],[W]:_,[A]:400},[v],[0]];P.registerError(aj,o);var rj=[-3,K,Xx,{[f]:["MalformedPolicyDocument",400],[W]:_,[A]:400},[v],[0]];P.registerError(rj,l);var oj=[-3,K,Lx,{[f]:["PackedPolicyTooLarge",400],[W]:_,[A]:400},[v],[0]];P.registerError(oj,g);var nj=[-3,K,kx,{[f]:["RegionDisabledException",403],[W]:_,[A]:403},[v],[0]];P.registerError(nj,a);var ij=[uj,P],Tx=[0,K,vx,8,0],mx=[0,K,Vx,8,0],Xj=[3,K,Kj,0,[nw,aw],[0,0],2],tj=[3,K,iw,0,[Cj,Sj,mj,Tj,Oj,Px,hx,Ex,Hx,Ix,Qj,Zx],[0,0,()=>Ew,0,1,()=>Cx,64,0,0,0,0,()=>qx],2],sj=[3,K,tw,0,[Nj,Kj,qj,Qj],[[()=>Yj,0],()=>Xj,1,0]],ej=[3,K,ew,0,[Cj,Sj,Wx,yx,mj,Tj,Oj],[0,0,[()=>mx,0],0,()=>Ew,0,1],3],jw=[3,K,jx,0,[Nj,Jx,Kj,qj,zx,wx,Qj],[[()=>Yj,0],0,()=>Xj,1,0,0,0]],Yj=[3,K,Nj,0,[rw,Ux,bx,Bx],[0,[()=>Tx,0],0,4],4],ww=[3,K,Dx,0,[Ax],[0]],xw=[3,K,Mx,0,[Yx,xx],[0,0]],Bw=[3,K,fx,0,[Qx,_x],[0,0],2],Ew=[1,K,Rx,0,()=>ww],qx=[1,K,$x,0,()=>xw],Cx=[1,K,Ox,0,()=>Bw],Fw=[9,K,ow,0,()=>tj,()=>sj],Gw=[9,K,sw,0,()=>ej,()=>jw],Sx=(j)=>{return{apiVersion:"2011-06-15",base64Decoder:j?.base64Decoder??O.fromBase64,base64Encoder:j?.base64Encoder??O.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??Aj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??uw,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4"),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(w)=>w.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(w)=>w.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],logger:j?.logger??new Z.NoOpLogger,protocol:j?.protocol??vw.AwsQueryProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.sts",errorTypeRegistries:ij,xmlNamespace:"https://sts.amazonaws.com/doc/2011-06-15/",version:"2011-06-15",serviceTarget:"AWSSecurityTokenServiceV20110615"},serviceId:j?.serviceId??"STS",signerConstructor:j?.signerConstructor??_j.SignatureV4MultiRegion,urlParser:j?.urlParser??d.parseUrl,utf8Decoder:j?.utf8Decoder??O.fromUtf8,utf8Encoder:j?.utf8Encoder??O.toUtf8}},cx=(j)=>{Z.emitWarningIfUnsupportedVersion(process.version);let w=$.resolveDefaultsModeConfig(j),x=()=>w().then(Z.loadConfigsForDefaultMode),E=Sx(j);Y.emitWarningIfUnsupportedVersion(process.version);let B={profile:j?.profile,logger:E.logger};return{...E,...j,runtime:"node",defaultsMode:w,authSchemePreference:j?.authSchemePreference??$.loadConfig(H.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,B),bodyLengthChecker:j?.bodyLengthChecker??O.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Y.createDefaultUserAgentProvider({serviceId:E.serviceId,clientVersion:gw.version}),httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4")||(async(G)=>await j.credentialDefaultProvider(G?.__config||{})()),signer:new H.AwsSdkSigV4Signer},{schemeId:"aws.auth#sigv4a",identityProvider:(N)=>N.getIdentityProvider("aws.auth#sigv4a"),signer:new H.AwsSdkSigV4ASigner},{schemeId:"smithy.api#noAuth",identityProvider:(N)=>N.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new S.NoAuthSigner}],maxAttempts:j?.maxAttempts??$.loadConfig(c.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??$.loadConfig($.NODE_REGION_CONFIG_OPTIONS,{...$.NODE_REGION_CONFIG_FILE_OPTIONS,...B}),requestHandler:kj.NodeHttpHandler.create(j?.requestHandler??x),retryMode:j?.retryMode??$.loadConfig({...c.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await x()).retryMode||c.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??O.Hash.bind(null,"sha256"),sigv4aSigningRegionSet:j?.sigv4aSigningRegionSet??$.loadConfig(H.NODE_SIGV4A_CONFIG_OPTIONS,B),streamCollector:j?.streamCollector??kj.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??$.loadConfig($.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,B),useFipsEndpoint:j?.useFipsEndpoint??$.loadConfig($.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,B),userAgentAppId:j?.userAgentAppId??$.loadConfig(Y.NODE_APP_ID_CONFIG_OPTIONS,B)}},ux=(j)=>{let{httpAuthSchemes:w,httpAuthSchemeProvider:x,credentials:E}=j;return{setHttpAuthScheme(B){let N=w.findIndex((G)=>G.schemeId===B.schemeId);if(N===-1)w.push(B);else w.splice(N,1,B)},httpAuthSchemes(){return w},setHttpAuthSchemeProvider(B){x=B},httpAuthSchemeProvider(){return x},setCredentials(B){E=B},credentials(){return E}}},dx=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},px=(j,w)=>{let x=Object.assign(Y.getAwsRegionExtensionConfiguration(j),Z.getDefaultExtensionConfiguration(j),d.getHttpHandlerExtensionConfiguration(j),ux(j));return w.forEach((E)=>E.configure(x)),Object.assign(j,Y.resolveAwsRegionExtensionConfiguration(x),Z.resolveDefaultRuntimeConfig(x),d.resolveHttpHandlerRuntimeConfig(x),dx(x))};class u extends Z.Client{config;constructor(...[j]){let w=cx(j||{});super(w);this.initConfig=w;let x=pw(w),E=Y.resolveUserAgentConfig(x),B=c.resolveRetryConfig(E),N=$.resolveRegionConfig(B),G=Y.resolveHostHeaderConfig(N),M=b.resolveEndpointConfig(G),z=dw(M),D=px(z,j?.extensions||[]);this.config=D,this.middlewareStack.use(Gj.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Y.getUserAgentPlugin(this.config)),this.middlewareStack.use(c.getRetryPlugin(this.config)),this.middlewareStack.use(d.getContentLengthPlugin(this.config)),this.middlewareStack.use(Y.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Y.getLoggerPlugin(this.config)),this.middlewareStack.use(Y.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(S.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:Cw,identityProviderConfigProvider:async(k)=>new S.DefaultIdentityProviderConfig({"aws.auth#sigv4":k.credentials,"aws.auth#sigv4a":k.credentials})})),this.middlewareStack.use(S.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class i extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").sc(Fw).build(){}class t extends Z.Command.classBuilder().ep(Rj).m(function(j,w,x,E){return[b.getEndpointPlugin(x,j.getEndpointParameterInstructions())]}).s("AWSSecurityTokenServiceV20110615","AssumeRoleWithWebIdentity",{}).n("STSClient","AssumeRoleWithWebIdentityCommand").sc(Gw).build(){}var lx={AssumeRoleCommand:i,AssumeRoleWithWebIdentityCommand:t};class Zj extends u{}Z.createAggregatedClient(lx,Zj);var Kw=(j)=>{if(typeof j?.Arn==="string"){let w=j.Arn.split(":");if(w.length>4&&w[4]!=="")return w[4]}return},Nw=async(j,w,x,E={})=>{let B=typeof j==="function"?await j():j,N=typeof w==="function"?await w():w,G="",M=B??N??(G=await Y.stsRegionDefaultResolver(E)());return x?.debug?.("@aws-sdk/client-sts::resolveRegion","accepting first of:",`${B} (credential provider clientConfig)`,`${N} (contextual client)`,`${G} (STS default: AWS_REGION, profile region, or us-east-1)`),M},gx=(j,w)=>{let x,E;return async(B,N)=>{if(E=B,!x){let{logger:k=j?.parentClientConfig?.logger,profile:I=j?.parentClientConfig?.profile,region:U,requestHandler:L=j?.parentClientConfig?.requestHandler,credentialProviderLogger:V,userAgentAppId:J=j?.parentClientConfig?.userAgentAppId}=j,s=await Nw(U,j?.parentClientConfig?.region,V,{logger:k,profile:I}),e=!Qw(L);x=new w({...j,userAgentAppId:J,profile:I,credentialDefaultProvider:()=>async()=>E,region:s,requestHandler:e?L:void 0,logger:k})}let{Credentials:G,AssumedRoleUser:M}=await x.send(new i(N));if(!G||!G.AccessKeyId||!G.SecretAccessKey)throw Error(`Invalid response from STS.assumeRole call with role ${N.RoleArn}`);let z=Kw(M),D={accessKeyId:G.AccessKeyId,secretAccessKey:G.SecretAccessKey,sessionToken:G.SessionToken,expiration:G.Expiration,...G.CredentialScope&&{credentialScope:G.CredentialScope},...z&&{accountId:z}};return Y.setCredentialFeature(D,"CREDENTIALS_STS_ASSUME_ROLE","i"),D}},ax=(j,w)=>{let x;return async(E)=>{if(!x){let{logger:z=j?.parentClientConfig?.logger,profile:D=j?.parentClientConfig?.profile,region:k,requestHandler:I=j?.parentClientConfig?.requestHandler,credentialProviderLogger:U,userAgentAppId:L=j?.parentClientConfig?.userAgentAppId}=j,V=await Nw(k,j?.parentClientConfig?.region,U,{logger:z,profile:D}),J=!Qw(I);x=new w({...j,userAgentAppId:L,profile:D,region:V,requestHandler:J?I:void 0,logger:z})}let{Credentials:B,AssumedRoleUser:N}=await x.send(new t(E));if(!B||!B.AccessKeyId||!B.SecretAccessKey)throw Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${E.RoleArn}`);let G=Kw(N),M={accessKeyId:B.AccessKeyId,secretAccessKey:B.SecretAccessKey,sessionToken:B.SessionToken,expiration:B.Expiration,...B.CredentialScope&&{credentialScope:B.CredentialScope},...G&&{accountId:G}};if(G)Y.setCredentialFeature(M,"RESOLVED_ACCOUNT_ID","T");return Y.setCredentialFeature(M,"CREDENTIALS_STS_ASSUME_ROLE_WEB_ID","k"),M}},Qw=(j)=>{return j?.metadata?.handlerProtocol==="h2"},Xw=(j,w)=>{if(!w)return j;else return class extends j{constructor(E){super(E);for(let B of w)this.middlewareStack.use(B)}}},Yw=(j={},w)=>gx(j,Xw(u,w)),Zw=(j={},w)=>ax(j,Xw(u,w)),rx=(j)=>(w)=>j({roleAssumer:Yw(w),roleAssumerWithWebIdentity:Zw(w),...w});var{Command:ox,Client:nx}=Z,ix=Fw,tx=i,sx=tj,ex=sj,jB=Gw,wB=t,xB=ej,BB=jw,EB=Xj,FB=Yj,GB=p,KB=pj,NB=n,QB=lj,XB=r,YB=gj,ZB=o,$B=aj,MB=l,DB=rj,yB=g,LB=oj,zB=ww,kB=xw,UB=a,JB=nj,HB=Zj,bB=u,PB=y,IB=dj,hB=Bw,fB=rx,_B=ij,WB=Yw,AB=Zw;export{AB as getDefaultRoleAssumerWithWebIdentity,WB as getDefaultRoleAssumer,_B as errorTypeRegistries,fB as decorateDefaultCredentialProvider,nx as __Client,hB as Tag$,IB as STSServiceException$,PB as STSServiceException,bB as STSClient,HB as STS,JB as RegionDisabledException$,UB as RegionDisabledException,kB as ProvidedContext$,zB as PolicyDescriptorType$,LB as PackedPolicyTooLargeException$,yB as PackedPolicyTooLargeException,DB as MalformedPolicyDocumentException$,MB as MalformedPolicyDocumentException,$B as InvalidIdentityTokenException$,ZB as InvalidIdentityTokenException,YB as IDPRejectedClaimException$,XB as IDPRejectedClaimException,QB as IDPCommunicationErrorException$,NB as IDPCommunicationErrorException,KB as ExpiredTokenException$,GB as ExpiredTokenException,FB as Credentials$,EB as AssumedRoleUser$,BB as AssumeRoleWithWebIdentityResponse$,xB as AssumeRoleWithWebIdentityRequest$,wB as AssumeRoleWithWebIdentityCommand,jB as AssumeRoleWithWebIdentity$,ex as AssumeRoleResponse$,sx as AssumeRoleRequest$,tx as AssumeRoleCommand,ix as AssumeRole$,ox as $Command};export default {get getDefaultRoleAssumerWithWebIdentity(){return AB},get getDefaultRoleAssumer(){return WB},get errorTypeRegistries(){return _B},get decorateDefaultCredentialProvider(){return fB},get __Client(){return nx},get Tag$(){return hB},get STSServiceException$(){return IB},get STSServiceException(){return PB},get STSClient(){return bB},get STS(){return HB},get RegionDisabledException$(){return JB},get RegionDisabledException(){return UB},get ProvidedContext$(){return kB},get PolicyDescriptorType$(){return zB},get PackedPolicyTooLargeException$(){return LB},get PackedPolicyTooLargeException(){return yB},get MalformedPolicyDocumentException$(){return DB},get MalformedPolicyDocumentException(){return MB},get InvalidIdentityTokenException$(){return $B},get InvalidIdentityTokenException(){return ZB},get IDPRejectedClaimException$(){return YB},get IDPRejectedClaimException(){return XB},get IDPCommunicationErrorException$(){return QB},get IDPCommunicationErrorException(){return NB},get ExpiredTokenException$(){return KB},get ExpiredTokenException(){return GB},get Credentials$(){return FB},get AssumedRoleUser$(){return EB},get AssumeRoleWithWebIdentityResponse$(){return BB},get AssumeRoleWithWebIdentityRequest$(){return xB},get AssumeRoleWithWebIdentityCommand(){return wB},get AssumeRoleWithWebIdentity$(){return jB},get AssumeRoleResponse$(){return ex},get AssumeRoleRequest$(){return sx},get AssumeRoleCommand(){return tx},get AssumeRole$(){return ix},get $Command(){return ox}};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ed as y}from"./chunk-fyqjm5fv.js";import{Rd as L}from"./chunk-yajd975f.js";import{Ug as N,gh as w}from"./chunk-fq0x3esz.js";import"./chunk-44a82dg0.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Cl as v,tl as q}from"./chunk-04n2ycg5.js";import"./chunk-8ymffyep.js";import{Vl as V,Wl as A,Xl as E,bm as k,lm as O}from"./chunk-mcg24gkb.js";import"./chunk-redjxn13.js";import"./chunk-bn0h9dny.js";import"./chunk-r4ndwym0.js";import"./chunk-3ytjm3az.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-r78czx4d.js";import"./chunk-2hc5z7b5.js";import"./chunk-d68fzyw7.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-c1bdzxbx.js";import"./chunk-ehhas0ew.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-gcw4rn10.js";import"./chunk-m5m448mg.js";import{st as P}from"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import"./chunk-7xm75w1e.js";import{EOL as X}from"os";function U(C){let G=C.match(/^https?:\/\/[^/]+\/share\/([a-zA-Z0-9_-]+)$/);return G?G[1]:null}function M(C,G){try{return new URL(C).origin===new URL(G).origin}catch{return!1}}function S(C){let G=C.find((z)=>z.type==="session");if(!G)return null;let Z=new Map,Q=new Map;for(let z of C)if(z.type==="message")Z.set(z.data.id,z.data);else if(z.type==="part"){if(!Q.has(z.data.messageID))Q.set(z.data.messageID,[]);Q.get(z.data.messageID).push(z.data)}if(Z.size===0)return null;return{info:G.data,messages:Array.from(Z.values()).map((z)=>({info:z,parts:Q.get(z.id)??[]}))}}var m=L({command:"import <file>",describe:"import session data from JSON file or URL",builder:(C)=>{return C.positional("file",{describe:"path to JSON file or share URL",type:"string",demandOption:!0})},handler:async(C)=>{await y(process.cwd(),async()=>{let G;if(C.file.startsWith("http://")||C.file.startsWith("https://")){let J=U(C.file);if(!J){let Y=await w.runPromise(N.Service.use((R)=>R.url()));process.stdout.write(`Invalid URL format. Expected: ${Y}/share/<slug>`),process.stdout.write(X);return}let _=new URL(C.file).origin,$=await w.runPromise(N.Service.use((Y)=>Y.request())),j=M(C.file,$.baseUrl)?$.headers:{},W=$.api.data(J),K=await fetch(`${_}${W}`,{headers:j});if(!K.ok&&W!==`/api/share/${J}/data`)K=await fetch(`${_}/api/share/${J}/data`,{headers:j});if(!K.ok){process.stdout.write(`Failed to fetch share data: ${K.statusText}`),process.stdout.write(X);return}let H=await K.json(),B=S(H);if(!B){process.stdout.write(`Share not found or empty: ${J}`),process.stdout.write(X);return}G=B}else if(G=await P.readJson(C.file).catch(()=>{return}),!G){process.stdout.write(`File not found: ${C.file}`),process.stdout.write(X);return}if(!G){process.stdout.write("Failed to read session data"),process.stdout.write(X);return}let Q=v.Info.parse({...G.info,projectID:O.project.id}),z=v.toRow(Q);k.use((J)=>J.insert(V).values(z).onConflictDoUpdate({target:V.id,set:{project_id:z.project_id}}).run());for(let J of G.messages){let F=q.Info.parse(J.info),{id:_,sessionID:$,...j}=F;k.use((W)=>W.insert(A).values({id:_,session_id:z.id,time_created:F.time?.created??Date.now(),data:j}).onConflictDoNothing().run());for(let W of J.parts){let K=q.Part.parse(W),{id:H,sessionID:B,messageID:Y,...R}=K;k.use((T)=>T.insert(E).values({id:H,message_id:Y,session_id:z.id,data:R}).onConflictDoNothing().run())}}process.stdout.write(`Imported session: ${G.info.id}`),process.stdout.write(X)})}});export{S as transformShareData,M as shouldAttachShareAuthHeaders,U as parseShareUrl,m as ImportCommand};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{Ed as b}from"./chunk-fyqjm5fv.js";import{Rd as f}from"./chunk-yajd975f.js";import{gh as S}from"./chunk-fq0x3esz.js";import"./chunk-44a82dg0.js";import"./chunk-vxyy2dp3.js";import"./chunk-yp5bypsp.js";import"./chunk-7hm0c2yg.js";import"./chunk-gj0wt0cy.js";import"./chunk-5hw6xa49.js";import"./chunk-326p5b10.js";import{Cl as v}from"./chunk-04n2ycg5.js";import"./chunk-8ymffyep.js";import{Vl as U,bm as R,lm as k}from"./chunk-mcg24gkb.js";import"./chunk-redjxn13.js";import"./chunk-bn0h9dny.js";import"./chunk-r4ndwym0.js";import"./chunk-3ytjm3az.js";import"./chunk-htz93dsd.js";import"./chunk-vcw00k0n.js";import"./chunk-r78czx4d.js";import"./chunk-2hc5z7b5.js";import"./chunk-d68fzyw7.js";import"./chunk-4jtxtkj7.js";import"./chunk-ay8emwym.js";import"./chunk-2maqde7w.js";import"./chunk-kj20f048.js";import"./chunk-cqtkxwd8.js";import"./chunk-x9rbv6p6.js";import"./chunk-g5rabwre.js";import"./chunk-jbx3s7nw.js";import"./chunk-15hw2z9t.js";import"./chunk-48ge2ryx.js";import"./chunk-n9xns8by.js";import"./chunk-y9q0hb7b.js";import"./chunk-c1bdzxbx.js";import"./chunk-ehhas0ew.js";import"./chunk-d6ry9418.js";import"./chunk-0dt0bxz6.js";import"./chunk-10bjs581.js";import"./chunk-4cnwn1rh.js";import"./chunk-gcw4rn10.js";import{Hs as Z}from"./chunk-m5m448mg.js";import"./chunk-tqj69nh6.js";import"./chunk-ag8kz1e7.js";import"./chunk-5tray1fw.js";import"./chunk-c11d28qn.js";import"./chunk-mzs2pjyc.js";import"./chunk-gagtmjmp.js";import"./chunk-zs8kqdsf.js";import"./chunk-dxpj0cxh.js";import"./chunk-zw815d68.js";import"./chunk-7xm75w1e.js";var i=f({command:"stats",describe:"show token usage and cost statistics",builder:(z)=>{return z.option("days",{describe:"show stats for the last N days (default: all time)",type:"number"}).option("tools",{describe:"number of tools to show (default: all)",type:"number"}).option("models",{describe:"show model statistics (default: hidden). Pass a number to show top N, otherwise shows all"}).option("project",{describe:"filter by project (default: all projects, empty string: current project)",type:"string"})},handler:async(z)=>{await b(process.cwd(),async()=>{let E=await y(z.days,z.project),_;if(z.models===!0)_=1/0;else if(typeof z.models==="number")_=z.models;u(E,z.tools,_)})}});async function w(){return k.project}async function p(){return R.use((E)=>E.select().from(U).all()).map((E)=>v.fromRow(E))}async function y(z,E){let _=await p(),L=86400000,J=(()=>{if(z===void 0)return 0;if(z===0){let V=new Date;return V.setHours(0,0,0,0),V.getTime()}return Date.now()-z*86400000})(),K=(()=>{if(z===void 0)return;if(z===0)return 1;return z})(),Y=J>0?_.filter((V)=>V.time.updated>=J):_;if(E!==void 0)if(E===""){let V=await w();Y=Y.filter((F)=>F.projectID===V.id)}else Y=Y.filter((V)=>V.projectID===E);let G={totalSessions:Y.length,totalMessages:0,totalCost:0,totalTokens:{input:0,output:0,reasoning:0,cache:{read:0,write:0}},toolUsage:{},modelUsage:{},dateRange:{earliest:Date.now(),latest:Date.now()},days:0,costPerDay:0,tokensPerSession:0,medianTokensPerSession:0};if(Y.length>1000)console.log(`Large dataset detected (${Y.length} sessions). This may take a while...`);if(Y.length===0)return G.days=K??0,G;let C=Date.now(),x=0,X=[],h=20;for(let V=0;V<Y.length;V+=h){let D=Y.slice(V,V+h).map(async(Q)=>{let W=await S.runPromise(v.Service.use((O)=>O.messages({sessionID:Q.id,agentID:"*"}))),N=0,H={input:0,output:0,reasoning:0,cache:{read:0,write:0}},j={},A={};for(let O of W){if(O.info.role==="assistant"){N+=O.info.cost||0;let B=`${O.info.providerID}/${O.info.modelID}`;if(!A[B])A[B]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};if(A[B].messages++,A[B].cost+=O.info.cost||0,O.info.tokens)H.input+=O.info.tokens.input||0,H.output+=O.info.tokens.output||0,H.reasoning+=O.info.tokens.reasoning||0,H.cache.read+=O.info.tokens.cache?.read||0,H.cache.write+=O.info.tokens.cache?.write||0,A[B].tokens.input+=O.info.tokens.input||0,A[B].tokens.output+=(O.info.tokens.output||0)+(O.info.tokens.reasoning||0),A[B].tokens.cache.read+=O.info.tokens.cache?.read||0,A[B].tokens.cache.write+=O.info.tokens.cache?.write||0}for(let B of O.parts)if(B.type==="tool"&&B.tool)j[B.tool]=(j[B.tool]||0)+1}return{messageCount:W.length,sessionCost:N,sessionTokens:H,sessionTotalTokens:H.input+H.output+H.reasoning+H.cache.read+H.cache.write,sessionToolUsage:j,sessionModelUsage:A,earliestTime:J>0?Q.time.updated:Q.time.created,latestTime:Q.time.updated}}),M=await Promise.all(D);for(let Q of M){C=Math.min(C,Q.earliestTime),x=Math.max(x,Q.latestTime),X.push(Q.sessionTotalTokens),G.totalMessages+=Q.messageCount,G.totalCost+=Q.sessionCost,G.totalTokens.input+=Q.sessionTokens.input,G.totalTokens.output+=Q.sessionTokens.output,G.totalTokens.reasoning+=Q.sessionTokens.reasoning,G.totalTokens.cache.read+=Q.sessionTokens.cache.read,G.totalTokens.cache.write+=Q.sessionTokens.cache.write;for(let[W,N]of Object.entries(Q.sessionToolUsage))G.toolUsage[W]=(G.toolUsage[W]||0)+N;for(let[W,N]of Object.entries(Q.sessionModelUsage)){if(!G.modelUsage[W])G.modelUsage[W]={messages:0,tokens:{input:0,output:0,cache:{read:0,write:0}},cost:0};G.modelUsage[W].messages+=N.messages,G.modelUsage[W].tokens.input+=N.tokens.input,G.modelUsage[W].tokens.output+=N.tokens.output,G.modelUsage[W].tokens.cache.read+=N.tokens.cache.read,G.modelUsage[W].tokens.cache.write+=N.tokens.cache.write,G.modelUsage[W].cost+=N.cost}}}let $=Math.max(1,Math.ceil((x-C)/86400000)),q=K??$;G.dateRange={earliest:C,latest:x},G.days=q,G.costPerDay=G.totalCost/q;let I=G.totalTokens.input+G.totalTokens.output+G.totalTokens.reasoning+G.totalTokens.cache.read+G.totalTokens.cache.write;G.tokensPerSession=Y.length>0?I/Y.length:0,X.sort((V,F)=>V-F);let P=Math.floor(X.length/2);return G.medianTokensPerSession=X.length===0?0:X.length%2===0?(X[P-1]+X[P])/2:X[P],G}function u(z,E,_){function J(x,X){let $=55-x.length-X.length,q=Math.max(0,$);return`\u2502${x}${" ".repeat(q)}${X} \u2502`}console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 OVERVIEW \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524"),console.log(J("Sessions",z.totalSessions.toLocaleString())),console.log(J("Messages",z.totalMessages.toLocaleString())),console.log(J("Days",z.days.toString())),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 COST & TOKENS \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let K=isNaN(z.totalCost)?0:z.totalCost,Y=isNaN(z.costPerDay)?0:z.costPerDay,G=isNaN(z.tokensPerSession)?0:z.tokensPerSession;console.log(J("Total Cost",`$${K.toFixed(2)}`)),console.log(J("Avg Cost/Day",`$${Y.toFixed(2)}`)),console.log(J("Avg Tokens/Session",Z.number(Math.round(G))));let C=isNaN(z.medianTokensPerSession)?0:z.medianTokensPerSession;if(console.log(J("Median Tokens/Session",Z.number(Math.round(C)))),console.log(J("Input",Z.number(z.totalTokens.input))),console.log(J("Output",Z.number(z.totalTokens.output))),console.log(J("Cache Read",Z.number(z.totalTokens.cache.read))),console.log(J("Cache Write",Z.number(z.totalTokens.cache.write))),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518"),console.log(),_!==void 0&&Object.keys(z.modelUsage).length>0){let x=Object.entries(z.modelUsage).sort(([,h],[,$])=>$.messages-h.messages),X=_===1/0?x:x.slice(0,_);console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 MODEL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");for(let[h,$]of X)console.log(`\u2502 ${h.padEnd(54)} \u2502`),console.log(J(" Messages",$.messages.toLocaleString())),console.log(J(" Input Tokens",Z.number($.tokens.input))),console.log(J(" Output Tokens",Z.number($.tokens.output))),console.log(J(" Cache Read",Z.number($.tokens.cache.read))),console.log(J(" Cache Write",Z.number($.tokens.cache.write))),console.log(J(" Cost",`$${$.cost.toFixed(4)}`)),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");process.stdout.write("\x1B[1A"),console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}if(console.log(),Object.keys(z.toolUsage).length>0){let x=Object.entries(z.toolUsage).sort(([,q],[,I])=>I-q),X=E?x.slice(0,E):x;console.log("\u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510"),console.log("\u2502 TOOL USAGE \u2502"),console.log("\u251C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524");let h=Math.max(...X.map(([,q])=>q)),$=Object.values(z.toolUsage).reduce((q,I)=>q+I,0);for(let[q,I]of X){let P=Math.max(1,Math.floor(I/h*20)),V="\u2588".repeat(P),F=(I/$*100).toFixed(1),D=18,W=` ${(q.length>18?q.substring(0,16)+"..":q).padEnd(18)} ${V.padEnd(20)} ${I.toString().padStart(3)} (${F.padStart(4)}%)`,N=Math.max(0,56-W.length-1);console.log(`\u2502${W}${" ".repeat(N)} \u2502`)}console.log("\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518")}console.log()}export{u as displayStats,y as aggregateSessionStats,i as StatsCommand};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{te as Ij}from"./chunk-fnbpap62.js";import{xe as hj}from"./chunk-37n34pzd.js";import{ye as Oj}from"./chunk-v2zp22r3.js";import{Ae as vj,Be as $j,ze as _j}from"./chunk-j9pcnkkq.js";import{Ce as mj}from"./chunk-dq9kpj4a.js";import{uf as Rj,vf as Pj,wf as Tj,xf as Aj,yf as Dj}from"./chunk-cvdxgsq1.js";import"./chunk-aztre27e.js";var Z=$j(),T=vj(),X=Pj(),Y=Tj(),w=Aj(),A=mj(),G=_j(),a=Rj(),S=Ij(),U=Dj(),r=Oj(),uj=hj(),lj=async(j,B,K)=>{return{operation:X.getSmithyContext(B).operation,region:await X.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function dj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:j.region},propertiesExtractor:(B,K)=>({signingProperties:{config:B,context:K}})}}function Cj(j){return{schemeId:"smithy.api#noAuth"}}var Ej=(j)=>{let B=[];switch(j.operation){case"CreateToken":{B.push(Cj());break}default:B.push(dj(j))}return B},xj=(j)=>{let B=S.resolveAwsSdkSigV4Config(j);return Object.assign(B,{authSchemePreference:X.normalizeProvider(j.authSchemePreference??[])})},aj=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},Sj={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},fj="3.997.14",gj={version:fj},k="ref",q=-1,R=!0,p="isSet",o="PartitionResult",P="booleanEquals",E="getAttr",c={[k]:"Endpoint"},x={[k]:o},z={},t=[{[k]:"Region"}],i={conditions:[[p,[c]],[p,t],["aws.partition",t,o],[P,[{[k]:"UseFIPS"},R]],[P,[{[k]:"UseDualStack"},R]],[P,[{fn:E,argv:[x,"supportsDualStack"]},R]],[P,[{fn:E,argv:[x,"supportsFIPS"]},R]],["stringEquals",[{fn:E,argv:[x,"name"]},"aws-us-gov"]]],results:[[q],[q,"Invalid Configuration: FIPS and custom endpoint are not supported"],[q,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[c,z],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",z],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",z],[q,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",z],[q,"Invalid Configuration: Missing Region"]]},sj=2,W=1e8,rj=new Int32Array([-1,1,-1,0,13,3,1,4,W+12,2,5,W+12,3,8,6,4,7,W+11,5,W+9,W+10,4,11,9,6,10,W+8,7,W+6,W+7,5,12,W+5,6,W+4,W+5,3,W+1,14,4,W+2,W+3]),pj=w.BinaryDecisionDiagram.from(rj,sj,i.conditions,i.results),cj=new w.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),tj=(j,B={})=>{return cj.get(j,()=>w.decideEndpoint(pj,{endpointParams:j,logger:B.logger}))};w.customEndpointFunctions.aws=Z.awsEndpointFunctions;class Q extends X.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,Q.prototype)}}class D extends Q{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(j){super({name:"AccessDeniedException",$fault:"client",...j});Object.setPrototypeOf(this,D.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class m extends Q{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(j){super({name:"AuthorizationPendingException",$fault:"client",...j});Object.setPrototypeOf(this,m.prototype),this.error=j.error,this.error_description=j.error_description}}class _ extends Q{name="ExpiredTokenException";$fault="client";error;error_description;constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,_.prototype),this.error=j.error,this.error_description=j.error_description}}class v extends Q{name="InternalServerException";$fault="server";error;error_description;constructor(j){super({name:"InternalServerException",$fault:"server",...j});Object.setPrototypeOf(this,v.prototype),this.error=j.error,this.error_description=j.error_description}}class $ extends Q{name="InvalidClientException";$fault="client";error;error_description;constructor(j){super({name:"InvalidClientException",$fault:"client",...j});Object.setPrototypeOf(this,$.prototype),this.error=j.error,this.error_description=j.error_description}}class I extends Q{name="InvalidGrantException";$fault="client";error;error_description;constructor(j){super({name:"InvalidGrantException",$fault:"client",...j});Object.setPrototypeOf(this,I.prototype),this.error=j.error,this.error_description=j.error_description}}class O extends Q{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(j){super({name:"InvalidRequestException",$fault:"client",...j});Object.setPrototypeOf(this,O.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class h extends Q{name="InvalidScopeException";$fault="client";error;error_description;constructor(j){super({name:"InvalidScopeException",$fault:"client",...j});Object.setPrototypeOf(this,h.prototype),this.error=j.error,this.error_description=j.error_description}}class u extends Q{name="SlowDownException";$fault="client";error;error_description;constructor(j){super({name:"SlowDownException",$fault:"client",...j});Object.setPrototypeOf(this,u.prototype),this.error=j.error,this.error_description=j.error_description}}class l extends Q{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(j){super({name:"UnauthorizedClientException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype),this.error=j.error,this.error_description=j.error_description}}class d extends Q{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(j){super({name:"UnsupportedGrantTypeException",$fault:"client",...j});Object.setPrototypeOf(this,d.prototype),this.error=j.error,this.error_description=j.error_description}}var ij="AccessDeniedException",oj="AuthorizationPendingException",ej="AccessToken",nj="ClientSecret",jB="CreateToken",BB="CreateTokenRequest",FB="CreateTokenResponse",JB="CodeVerifier",KB="ExpiredTokenException",LB="InvalidClientException",QB="InvalidGrantException",WB="InvalidRequestException",XB="InternalServerException",YB="InvalidScopeException",ZB="IdToken",NB="RefreshToken",MB="SlowDownException",bB="UnauthorizedClientException",VB="UnsupportedGrantTypeException",HB="accessToken",H="client",qB="clientId",zB="clientSecret",UB="codeVerifier",wB="code",GB="deviceCode",F="error",kB="expiresIn",b="error_description",yB="grantType",RB="http",V="httpError",PB="idToken",e="reason",n="refreshToken",TB="redirectUri",jj="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",AB="scope",DB="server",mB="tokenType",J="com.amazonaws.ssooidc",Bj=a.TypeRegistry.for(jj),Fj=[-3,jj,"SSOOIDCServiceException",0,[],[]];Bj.registerError(Fj,Q);var N=a.TypeRegistry.for(J),Jj=[-3,J,ij,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Jj,D);var Kj=[-3,J,oj,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Kj,m);var Lj=[-3,J,KB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Lj,_);var Qj=[-3,J,XB,{[F]:DB,[V]:500},[F,b],[0,0]];N.registerError(Qj,v);var Wj=[-3,J,LB,{[F]:H,[V]:401},[F,b],[0,0]];N.registerError(Wj,$);var Xj=[-3,J,QB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Xj,I);var Yj=[-3,J,WB,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Yj,O);var Zj=[-3,J,YB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Zj,h);var Nj=[-3,J,MB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Nj,u);var Mj=[-3,J,bB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Mj,l);var bj=[-3,J,VB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(bj,d);var Vj=[Bj,N],_B=[0,J,ej,8,0],vB=[0,J,nj,8,0],$B=[0,J,JB,8,0],IB=[0,J,ZB,8,0],Hj=[0,J,NB,8,0],qj=[3,J,BB,0,[qB,zB,yB,GB,wB,n,AB,TB,UB],[0,[()=>vB,0],0,0,0,[()=>Hj,0],64,0,[()=>$B,0]],3],zj=[3,J,FB,0,[HB,mB,kB,n,PB],[[()=>_B,0],0,1,[()=>Hj,0],[()=>IB,0]]],Uj=[9,J,jB,{[RB]:["POST","/token",200]},()=>qj,()=>zj],OB=(j)=>{return{apiVersion:"2019-06-10",base64Decoder:j?.base64Decoder??U.fromBase64,base64Encoder:j?.base64Encoder??U.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??tj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??Ej,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(B)=>B.getIdentityProvider("aws.auth#sigv4"),signer:new S.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(B)=>B.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new T.NoAuthSigner}],logger:j?.logger??new X.NoOpLogger,protocol:j?.protocol??uj.AwsRestJsonProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Vj,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:j?.serviceId??"SSO OIDC",urlParser:j?.urlParser??A.parseUrl,utf8Decoder:j?.utf8Decoder??U.fromUtf8,utf8Encoder:j?.utf8Encoder??U.toUtf8}},hB=(j)=>{X.emitWarningIfUnsupportedVersion(process.version);let B=Y.resolveDefaultsModeConfig(j),K=()=>B().then(X.loadConfigsForDefaultMode),M=OB(j);Z.emitWarningIfUnsupportedVersion(process.version);let L={profile:j?.profile,logger:M.logger};return{...M,...j,runtime:"node",defaultsMode:B,authSchemePreference:j?.authSchemePreference??Y.loadConfig(S.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,L),bodyLengthChecker:j?.bodyLengthChecker??U.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Z.createDefaultUserAgentProvider({serviceId:M.serviceId,clientVersion:gj.version}),maxAttempts:j?.maxAttempts??Y.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??Y.loadConfig(Y.NODE_REGION_CONFIG_OPTIONS,{...Y.NODE_REGION_CONFIG_FILE_OPTIONS,...L}),requestHandler:r.NodeHttpHandler.create(j?.requestHandler??K),retryMode:j?.retryMode??Y.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await K()).retryMode||G.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??U.Hash.bind(null,"sha256"),streamCollector:j?.streamCollector??r.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??Y.loadConfig(Y.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,L),useFipsEndpoint:j?.useFipsEndpoint??Y.loadConfig(Y.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,L),userAgentAppId:j?.userAgentAppId??Y.loadConfig(Z.NODE_APP_ID_CONFIG_OPTIONS,L)}},uB=(j)=>{let{httpAuthSchemes:B,httpAuthSchemeProvider:K,credentials:M}=j;return{setHttpAuthScheme(L){let y=B.findIndex((C)=>C.schemeId===L.schemeId);if(y===-1)B.push(L);else B.splice(y,1,L)},httpAuthSchemes(){return B},setHttpAuthSchemeProvider(L){K=L},httpAuthSchemeProvider(){return K},setCredentials(L){M=L},credentials(){return M}}},lB=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},dB=(j,B)=>{let K=Object.assign(Z.getAwsRegionExtensionConfiguration(j),X.getDefaultExtensionConfiguration(j),A.getHttpHandlerExtensionConfiguration(j),uB(j));return B.forEach((M)=>M.configure(K)),Object.assign(j,Z.resolveAwsRegionExtensionConfiguration(K),X.resolveDefaultRuntimeConfig(K),A.resolveHttpHandlerRuntimeConfig(K),lB(K))};class f extends X.Client{config;constructor(...[j]){let B=hB(j||{});super(B);this.initConfig=B;let K=aj(B),M=Z.resolveUserAgentConfig(K),L=G.resolveRetryConfig(M),y=Y.resolveRegionConfig(L),C=Z.resolveHostHeaderConfig(y),wj=w.resolveEndpointConfig(C),Gj=xj(wj),kj=dB(Gj,j?.extensions||[]);this.config=kj,this.middlewareStack.use(a.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Z.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(A.getContentLengthPlugin(this.config)),this.middlewareStack.use(Z.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Z.getLoggerPlugin(this.config)),this.middlewareStack.use(Z.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(T.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:lj,identityProviderConfigProvider:async(yj)=>new T.DefaultIdentityProviderConfig({"aws.auth#sigv4":yj.credentials})})),this.middlewareStack.use(T.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends X.Command.classBuilder().ep(Sj).m(function(j,B,K,M){return[w.getEndpointPlugin(K,j.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(Uj).build(){}var CB={CreateTokenCommand:g};class s extends f{}X.createAggregatedClient(CB,s);var EB={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},xB={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var{Command:aB,Client:SB}=X,fB=D,gB=Jj,sB=EB,rB=m,pB=Kj,cB=Uj,tB=g,iB=qj,oB=zj,eB=_,nB=Lj,jF=v,BF=Qj,FF=$,JF=Wj,KF=I,LF=Xj,QF=O,WF=Yj,XF=xB,YF=h,ZF=Zj,NF=s,MF=f,bF=Q,VF=Fj,HF=u,qF=Nj,zF=l,UF=Mj,wF=d,GF=bj,kF=Vj;export{kF as errorTypeRegistries,SB as __Client,GF as UnsupportedGrantTypeException$,wF as UnsupportedGrantTypeException,UF as UnauthorizedClientException$,zF as UnauthorizedClientException,qF as SlowDownException$,HF as SlowDownException,VF as SSOOIDCServiceException$,bF as SSOOIDCServiceException,MF as SSOOIDCClient,NF as SSOOIDC,ZF as InvalidScopeException$,YF as InvalidScopeException,XF as InvalidRequestExceptionReason,WF as InvalidRequestException$,QF as InvalidRequestException,LF as InvalidGrantException$,KF as InvalidGrantException,JF as InvalidClientException$,FF as InvalidClientException,BF as InternalServerException$,jF as InternalServerException,nB as ExpiredTokenException$,eB as ExpiredTokenException,oB as CreateTokenResponse$,iB as CreateTokenRequest$,tB as CreateTokenCommand,cB as CreateToken$,pB as AuthorizationPendingException$,rB as AuthorizationPendingException,sB as AccessDeniedExceptionReason,gB as AccessDeniedException$,fB as AccessDeniedException,aB as $Command};export default {get errorTypeRegistries(){return kF},get __Client(){return SB},get UnsupportedGrantTypeException$(){return GF},get UnsupportedGrantTypeException(){return wF},get UnauthorizedClientException$(){return UF},get UnauthorizedClientException(){return zF},get SlowDownException$(){return qF},get SlowDownException(){return HF},get SSOOIDCServiceException$(){return VF},get SSOOIDCServiceException(){return bF},get SSOOIDCClient(){return MF},get SSOOIDC(){return NF},get InvalidScopeException$(){return ZF},get InvalidScopeException(){return YF},get InvalidRequestExceptionReason(){return XF},get InvalidRequestException$(){return WF},get InvalidRequestException(){return QF},get InvalidGrantException$(){return LF},get InvalidGrantException(){return KF},get InvalidClientException$(){return JF},get InvalidClientException(){return FF},get InternalServerException$(){return BF},get InternalServerException(){return jF},get ExpiredTokenException$(){return nB},get ExpiredTokenException(){return eB},get CreateTokenResponse$(){return oB},get CreateTokenRequest$(){return iB},get CreateTokenCommand(){return tB},get CreateToken$(){return cB},get AuthorizationPendingException$(){return pB},get AuthorizationPendingException(){return rB},get AccessDeniedExceptionReason(){return sB},get AccessDeniedException$(){return gB},get AccessDeniedException(){return fB},get $Command(){return aB}};
|
|
2
|
+
import{te as Ij}from"./chunk-yek0sk2q.js";import{xe as hj}from"./chunk-01my2y0c.js";import{ye as Oj}from"./chunk-70ck4v3t.js";import{Ae as vj,Be as $j,ze as _j}from"./chunk-ht5w06x7.js";import{Ce as mj}from"./chunk-enpzvmtc.js";import{uf as Rj,vf as Pj,wf as Tj,xf as Aj,yf as Dj}from"./chunk-tq0239xp.js";import"./chunk-7xm75w1e.js";var Z=$j(),T=vj(),X=Pj(),Y=Tj(),w=Aj(),A=mj(),G=_j(),a=Rj(),S=Ij(),U=Dj(),r=Oj(),uj=hj(),lj=async(j,B,K)=>{return{operation:X.getSmithyContext(B).operation,region:await X.normalizeProvider(j.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}};function dj(j){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:j.region},propertiesExtractor:(B,K)=>({signingProperties:{config:B,context:K}})}}function Cj(j){return{schemeId:"smithy.api#noAuth"}}var Ej=(j)=>{let B=[];switch(j.operation){case"CreateToken":{B.push(Cj());break}default:B.push(dj(j))}return B},xj=(j)=>{let B=S.resolveAwsSdkSigV4Config(j);return Object.assign(B,{authSchemePreference:X.normalizeProvider(j.authSchemePreference??[])})},aj=(j)=>{return Object.assign(j,{useDualstackEndpoint:j.useDualstackEndpoint??!1,useFipsEndpoint:j.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"})},Sj={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},fj="3.997.14",gj={version:fj},k="ref",q=-1,R=!0,p="isSet",o="PartitionResult",P="booleanEquals",E="getAttr",c={[k]:"Endpoint"},x={[k]:o},z={},t=[{[k]:"Region"}],i={conditions:[[p,[c]],[p,t],["aws.partition",t,o],[P,[{[k]:"UseFIPS"},R]],[P,[{[k]:"UseDualStack"},R]],[P,[{fn:E,argv:[x,"supportsDualStack"]},R]],[P,[{fn:E,argv:[x,"supportsFIPS"]},R]],["stringEquals",[{fn:E,argv:[x,"name"]},"aws-us-gov"]]],results:[[q],[q,"Invalid Configuration: FIPS and custom endpoint are not supported"],[q,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[c,z],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",z],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",z],[q,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",z],[q,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",z],[q,"Invalid Configuration: Missing Region"]]},sj=2,W=1e8,rj=new Int32Array([-1,1,-1,0,13,3,1,4,W+12,2,5,W+12,3,8,6,4,7,W+11,5,W+9,W+10,4,11,9,6,10,W+8,7,W+6,W+7,5,12,W+5,6,W+4,W+5,3,W+1,14,4,W+2,W+3]),pj=w.BinaryDecisionDiagram.from(rj,sj,i.conditions,i.results),cj=new w.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),tj=(j,B={})=>{return cj.get(j,()=>w.decideEndpoint(pj,{endpointParams:j,logger:B.logger}))};w.customEndpointFunctions.aws=Z.awsEndpointFunctions;class Q extends X.ServiceException{constructor(j){super(j);Object.setPrototypeOf(this,Q.prototype)}}class D extends Q{name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(j){super({name:"AccessDeniedException",$fault:"client",...j});Object.setPrototypeOf(this,D.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class m extends Q{name="AuthorizationPendingException";$fault="client";error;error_description;constructor(j){super({name:"AuthorizationPendingException",$fault:"client",...j});Object.setPrototypeOf(this,m.prototype),this.error=j.error,this.error_description=j.error_description}}class _ extends Q{name="ExpiredTokenException";$fault="client";error;error_description;constructor(j){super({name:"ExpiredTokenException",$fault:"client",...j});Object.setPrototypeOf(this,_.prototype),this.error=j.error,this.error_description=j.error_description}}class v extends Q{name="InternalServerException";$fault="server";error;error_description;constructor(j){super({name:"InternalServerException",$fault:"server",...j});Object.setPrototypeOf(this,v.prototype),this.error=j.error,this.error_description=j.error_description}}class $ extends Q{name="InvalidClientException";$fault="client";error;error_description;constructor(j){super({name:"InvalidClientException",$fault:"client",...j});Object.setPrototypeOf(this,$.prototype),this.error=j.error,this.error_description=j.error_description}}class I extends Q{name="InvalidGrantException";$fault="client";error;error_description;constructor(j){super({name:"InvalidGrantException",$fault:"client",...j});Object.setPrototypeOf(this,I.prototype),this.error=j.error,this.error_description=j.error_description}}class O extends Q{name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(j){super({name:"InvalidRequestException",$fault:"client",...j});Object.setPrototypeOf(this,O.prototype),this.error=j.error,this.reason=j.reason,this.error_description=j.error_description}}class h extends Q{name="InvalidScopeException";$fault="client";error;error_description;constructor(j){super({name:"InvalidScopeException",$fault:"client",...j});Object.setPrototypeOf(this,h.prototype),this.error=j.error,this.error_description=j.error_description}}class u extends Q{name="SlowDownException";$fault="client";error;error_description;constructor(j){super({name:"SlowDownException",$fault:"client",...j});Object.setPrototypeOf(this,u.prototype),this.error=j.error,this.error_description=j.error_description}}class l extends Q{name="UnauthorizedClientException";$fault="client";error;error_description;constructor(j){super({name:"UnauthorizedClientException",$fault:"client",...j});Object.setPrototypeOf(this,l.prototype),this.error=j.error,this.error_description=j.error_description}}class d extends Q{name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(j){super({name:"UnsupportedGrantTypeException",$fault:"client",...j});Object.setPrototypeOf(this,d.prototype),this.error=j.error,this.error_description=j.error_description}}var ij="AccessDeniedException",oj="AuthorizationPendingException",ej="AccessToken",nj="ClientSecret",jB="CreateToken",BB="CreateTokenRequest",FB="CreateTokenResponse",JB="CodeVerifier",KB="ExpiredTokenException",LB="InvalidClientException",QB="InvalidGrantException",WB="InvalidRequestException",XB="InternalServerException",YB="InvalidScopeException",ZB="IdToken",NB="RefreshToken",MB="SlowDownException",bB="UnauthorizedClientException",VB="UnsupportedGrantTypeException",HB="accessToken",H="client",qB="clientId",zB="clientSecret",UB="codeVerifier",wB="code",GB="deviceCode",F="error",kB="expiresIn",b="error_description",yB="grantType",RB="http",V="httpError",PB="idToken",e="reason",n="refreshToken",TB="redirectUri",jj="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",AB="scope",DB="server",mB="tokenType",J="com.amazonaws.ssooidc",Bj=a.TypeRegistry.for(jj),Fj=[-3,jj,"SSOOIDCServiceException",0,[],[]];Bj.registerError(Fj,Q);var N=a.TypeRegistry.for(J),Jj=[-3,J,ij,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Jj,D);var Kj=[-3,J,oj,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Kj,m);var Lj=[-3,J,KB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Lj,_);var Qj=[-3,J,XB,{[F]:DB,[V]:500},[F,b],[0,0]];N.registerError(Qj,v);var Wj=[-3,J,LB,{[F]:H,[V]:401},[F,b],[0,0]];N.registerError(Wj,$);var Xj=[-3,J,QB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Xj,I);var Yj=[-3,J,WB,{[F]:H,[V]:400},[F,e,b],[0,0,0]];N.registerError(Yj,O);var Zj=[-3,J,YB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Zj,h);var Nj=[-3,J,MB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Nj,u);var Mj=[-3,J,bB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(Mj,l);var bj=[-3,J,VB,{[F]:H,[V]:400},[F,b],[0,0]];N.registerError(bj,d);var Vj=[Bj,N],_B=[0,J,ej,8,0],vB=[0,J,nj,8,0],$B=[0,J,JB,8,0],IB=[0,J,ZB,8,0],Hj=[0,J,NB,8,0],qj=[3,J,BB,0,[qB,zB,yB,GB,wB,n,AB,TB,UB],[0,[()=>vB,0],0,0,0,[()=>Hj,0],64,0,[()=>$B,0]],3],zj=[3,J,FB,0,[HB,mB,kB,n,PB],[[()=>_B,0],0,1,[()=>Hj,0],[()=>IB,0]]],Uj=[9,J,jB,{[RB]:["POST","/token",200]},()=>qj,()=>zj],OB=(j)=>{return{apiVersion:"2019-06-10",base64Decoder:j?.base64Decoder??U.fromBase64,base64Encoder:j?.base64Encoder??U.toBase64,disableHostPrefix:j?.disableHostPrefix??!1,endpointProvider:j?.endpointProvider??tj,extensions:j?.extensions??[],httpAuthSchemeProvider:j?.httpAuthSchemeProvider??Ej,httpAuthSchemes:j?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(B)=>B.getIdentityProvider("aws.auth#sigv4"),signer:new S.AwsSdkSigV4Signer},{schemeId:"smithy.api#noAuth",identityProvider:(B)=>B.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new T.NoAuthSigner}],logger:j?.logger??new X.NoOpLogger,protocol:j?.protocol??uj.AwsRestJsonProtocol,protocolSettings:j?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:Vj,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:j?.serviceId??"SSO OIDC",urlParser:j?.urlParser??A.parseUrl,utf8Decoder:j?.utf8Decoder??U.fromUtf8,utf8Encoder:j?.utf8Encoder??U.toUtf8}},hB=(j)=>{X.emitWarningIfUnsupportedVersion(process.version);let B=Y.resolveDefaultsModeConfig(j),K=()=>B().then(X.loadConfigsForDefaultMode),M=OB(j);Z.emitWarningIfUnsupportedVersion(process.version);let L={profile:j?.profile,logger:M.logger};return{...M,...j,runtime:"node",defaultsMode:B,authSchemePreference:j?.authSchemePreference??Y.loadConfig(S.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,L),bodyLengthChecker:j?.bodyLengthChecker??U.calculateBodyLength,defaultUserAgentProvider:j?.defaultUserAgentProvider??Z.createDefaultUserAgentProvider({serviceId:M.serviceId,clientVersion:gj.version}),maxAttempts:j?.maxAttempts??Y.loadConfig(G.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,j),region:j?.region??Y.loadConfig(Y.NODE_REGION_CONFIG_OPTIONS,{...Y.NODE_REGION_CONFIG_FILE_OPTIONS,...L}),requestHandler:r.NodeHttpHandler.create(j?.requestHandler??K),retryMode:j?.retryMode??Y.loadConfig({...G.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await K()).retryMode||G.DEFAULT_RETRY_MODE},j),sha256:j?.sha256??U.Hash.bind(null,"sha256"),streamCollector:j?.streamCollector??r.streamCollector,useDualstackEndpoint:j?.useDualstackEndpoint??Y.loadConfig(Y.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,L),useFipsEndpoint:j?.useFipsEndpoint??Y.loadConfig(Y.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,L),userAgentAppId:j?.userAgentAppId??Y.loadConfig(Z.NODE_APP_ID_CONFIG_OPTIONS,L)}},uB=(j)=>{let{httpAuthSchemes:B,httpAuthSchemeProvider:K,credentials:M}=j;return{setHttpAuthScheme(L){let y=B.findIndex((C)=>C.schemeId===L.schemeId);if(y===-1)B.push(L);else B.splice(y,1,L)},httpAuthSchemes(){return B},setHttpAuthSchemeProvider(L){K=L},httpAuthSchemeProvider(){return K},setCredentials(L){M=L},credentials(){return M}}},lB=(j)=>{return{httpAuthSchemes:j.httpAuthSchemes(),httpAuthSchemeProvider:j.httpAuthSchemeProvider(),credentials:j.credentials()}},dB=(j,B)=>{let K=Object.assign(Z.getAwsRegionExtensionConfiguration(j),X.getDefaultExtensionConfiguration(j),A.getHttpHandlerExtensionConfiguration(j),uB(j));return B.forEach((M)=>M.configure(K)),Object.assign(j,Z.resolveAwsRegionExtensionConfiguration(K),X.resolveDefaultRuntimeConfig(K),A.resolveHttpHandlerRuntimeConfig(K),lB(K))};class f extends X.Client{config;constructor(...[j]){let B=hB(j||{});super(B);this.initConfig=B;let K=aj(B),M=Z.resolveUserAgentConfig(K),L=G.resolveRetryConfig(M),y=Y.resolveRegionConfig(L),C=Z.resolveHostHeaderConfig(y),wj=w.resolveEndpointConfig(C),Gj=xj(wj),kj=dB(Gj,j?.extensions||[]);this.config=kj,this.middlewareStack.use(a.getSchemaSerdePlugin(this.config)),this.middlewareStack.use(Z.getUserAgentPlugin(this.config)),this.middlewareStack.use(G.getRetryPlugin(this.config)),this.middlewareStack.use(A.getContentLengthPlugin(this.config)),this.middlewareStack.use(Z.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Z.getLoggerPlugin(this.config)),this.middlewareStack.use(Z.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(T.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:lj,identityProviderConfigProvider:async(yj)=>new T.DefaultIdentityProviderConfig({"aws.auth#sigv4":yj.credentials})})),this.middlewareStack.use(T.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class g extends X.Command.classBuilder().ep(Sj).m(function(j,B,K,M){return[w.getEndpointPlugin(K,j.getEndpointParameterInstructions())]}).s("AWSSSOOIDCService","CreateToken",{}).n("SSOOIDCClient","CreateTokenCommand").sc(Uj).build(){}var CB={CreateTokenCommand:g};class s extends f{}X.createAggregatedClient(CB,s);var EB={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},xB={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var{Command:aB,Client:SB}=X,fB=D,gB=Jj,sB=EB,rB=m,pB=Kj,cB=Uj,tB=g,iB=qj,oB=zj,eB=_,nB=Lj,jF=v,BF=Qj,FF=$,JF=Wj,KF=I,LF=Xj,QF=O,WF=Yj,XF=xB,YF=h,ZF=Zj,NF=s,MF=f,bF=Q,VF=Fj,HF=u,qF=Nj,zF=l,UF=Mj,wF=d,GF=bj,kF=Vj;export{kF as errorTypeRegistries,SB as __Client,GF as UnsupportedGrantTypeException$,wF as UnsupportedGrantTypeException,UF as UnauthorizedClientException$,zF as UnauthorizedClientException,qF as SlowDownException$,HF as SlowDownException,VF as SSOOIDCServiceException$,bF as SSOOIDCServiceException,MF as SSOOIDCClient,NF as SSOOIDC,ZF as InvalidScopeException$,YF as InvalidScopeException,XF as InvalidRequestExceptionReason,WF as InvalidRequestException$,QF as InvalidRequestException,LF as InvalidGrantException$,KF as InvalidGrantException,JF as InvalidClientException$,FF as InvalidClientException,BF as InternalServerException$,jF as InternalServerException,nB as ExpiredTokenException$,eB as ExpiredTokenException,oB as CreateTokenResponse$,iB as CreateTokenRequest$,tB as CreateTokenCommand,cB as CreateToken$,pB as AuthorizationPendingException$,rB as AuthorizationPendingException,sB as AccessDeniedExceptionReason,gB as AccessDeniedException$,fB as AccessDeniedException,aB as $Command};export default {get errorTypeRegistries(){return kF},get __Client(){return SB},get UnsupportedGrantTypeException$(){return GF},get UnsupportedGrantTypeException(){return wF},get UnauthorizedClientException$(){return UF},get UnauthorizedClientException(){return zF},get SlowDownException$(){return qF},get SlowDownException(){return HF},get SSOOIDCServiceException$(){return VF},get SSOOIDCServiceException(){return bF},get SSOOIDCClient(){return MF},get SSOOIDC(){return NF},get InvalidScopeException$(){return ZF},get InvalidScopeException(){return YF},get InvalidRequestExceptionReason(){return XF},get InvalidRequestException$(){return WF},get InvalidRequestException(){return QF},get InvalidGrantException$(){return LF},get InvalidGrantException(){return KF},get InvalidClientException$(){return JF},get InvalidClientException(){return FF},get InternalServerException$(){return BF},get InternalServerException(){return jF},get ExpiredTokenException$(){return nB},get ExpiredTokenException(){return eB},get CreateTokenResponse$(){return oB},get CreateTokenRequest$(){return iB},get CreateTokenCommand(){return tB},get CreateToken$(){return cB},get AuthorizationPendingException$(){return pB},get AuthorizationPendingException(){return rB},get AccessDeniedExceptionReason(){return sB},get AccessDeniedException$(){return gB},get AccessDeniedException(){return fB},get $Command(){return aB}};
|