@costrict/csc 4.0.4 → 4.0.5
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/README.md +398 -398
- package/dist/{chunk-b4ftppkp.js → chunk-03a7ns5s.js} +22 -22
- package/dist/{chunk-pn0k5wak.js → chunk-03qpgz7e.js} +749 -23
- package/dist/{chunk-rar7nmve.js → chunk-06daydfw.js} +57 -57
- package/dist/{chunk-hyc3kbfq.js → chunk-0bf745n6.js} +4 -4
- package/dist/{chunk-bhwnjx3e.js → chunk-0d43nxnk.js} +8 -8
- package/dist/{chunk-2mmx9qqz.js → chunk-0d4p6r24.js} +27 -27
- package/dist/{chunk-tw4tjc73.js → chunk-0jd3p53p.js} +1 -1
- package/dist/{chunk-waar1mpa.js → chunk-0mf8c3kx.js} +2 -3
- package/dist/chunk-0vrstrej.js +40 -0
- package/dist/{chunk-13g6d7wt.js → chunk-1bbvgt3p.js} +10 -10
- package/dist/{chunk-125xg82c.js → chunk-1c3k1g6e.js} +22 -22
- package/dist/{chunk-ga3m4ews.js → chunk-1dbz25dk.js} +56 -56
- package/dist/{chunk-6rrp0t66.js → chunk-1gj2ern2.js} +530 -1321
- package/dist/{chunk-zatd0y92.js → chunk-1nmcmem8.js} +5 -5
- package/dist/{chunk-nvrje5t4.js → chunk-1zh5bbh0.js} +70 -70
- package/dist/{chunk-vxs1rvy8.js → chunk-23mmypzf.js} +6 -6
- package/dist/{chunk-z8zf2bjp.js → chunk-24e25s3h.js} +4 -4
- package/dist/{chunk-m5chmh67.js → chunk-2c0sn45e.js} +2 -2
- package/dist/{chunk-4qcmn89e.js → chunk-2dhbfegz.js} +14 -17
- package/dist/{chunk-e5ewhhx6.js → chunk-2gdcc9xa.js} +56 -56
- package/dist/{chunk-cb0cjgk3.js → chunk-2hdktzjd.js} +56 -56
- package/dist/{chunk-j1psatq5.js → chunk-2j59ksap.js} +3 -3
- package/dist/{chunk-j5bved6z.js → chunk-2jx4kafd.js} +61 -61
- package/dist/{chunk-pv6amr31.js → chunk-2kmmz00g.js} +1 -1
- package/dist/{chunk-ftwqpbvy.js → chunk-2p4eesfa.js} +56 -56
- package/dist/{chunk-wsm0s0c3.js → chunk-2whdc8zz.js} +3 -3
- package/dist/chunk-2xpkjfdd.js +94 -0
- package/dist/{chunk-d9bvzfkg.js → chunk-2xq2cy9m.js} +62 -62
- package/dist/{chunk-knc5za98.js → chunk-2y6bv8mp.js} +57 -57
- package/dist/{chunk-sx291v4f.js → chunk-30kmyxwn.js} +63 -63
- package/dist/{chunk-p6359g16.js → chunk-32rcf02k.js} +26 -26
- package/dist/{chunk-metmg93w.js → chunk-36k4p0e8.js} +2 -2
- package/dist/{chunk-njdz3yry.js → chunk-381axhkg.js} +4 -4
- package/dist/{chunk-vhjhyt2r.js → chunk-3djy352h.js} +26 -26
- package/dist/{chunk-vjv7wvnc.js → chunk-3dt68zn5.js} +4 -4
- package/dist/{chunk-2f3vsxna.js → chunk-3dyj1fqs.js} +5 -5
- package/dist/{chunk-wj8gbr2g.js → chunk-3m5d2kwd.js} +58 -58
- package/dist/{chunk-r089a4na.js → chunk-3p3r8awv.js} +22 -22
- package/dist/{chunk-tz2rkx2s.js → chunk-3qksgf50.js} +3 -3
- package/dist/{chunk-xs12ggs7.js → chunk-3rr330xr.js} +60 -60
- package/dist/{chunk-j2bv645h.js → chunk-3s96vaet.js} +9 -11
- package/dist/{chunk-bbxfenf0.js → chunk-3t41eh7n.js} +57 -57
- package/dist/{chunk-8ew7s39b.js → chunk-3wdbgpa5.js} +1 -1
- package/dist/{chunk-4nvhfqsy.js → chunk-40txw5vw.js} +58 -58
- package/dist/{chunk-w2x18mrn.js → chunk-43pqyz7x.js} +23 -23
- package/dist/{chunk-6zf34pgy.js → chunk-47sy4t29.js} +1 -1
- package/dist/{chunk-ndcrbqq2.js → chunk-4b0pe90d.js} +57 -57
- package/dist/{chunk-7rk9ppx4.js → chunk-4d9bywzd.js} +1 -1
- package/dist/{chunk-zwwgfs0j.js → chunk-4g5nvh92.js} +3 -3
- package/dist/{chunk-rn68wk3p.js → chunk-4grs5afv.js} +22 -22
- package/dist/{chunk-fp2z22f1.js → chunk-4hwyxaeq.js} +59 -59
- package/dist/{chunk-n00sjrne.js → chunk-4m7gyesz.js} +6 -6
- package/dist/{chunk-90tgpdv5.js → chunk-4q954a7f.js} +3 -3
- package/dist/{chunk-7sgatxct.js → chunk-4qqswajh.js} +5 -5
- package/dist/{chunk-rexrttsb.js → chunk-4r7jf6h7.js} +33 -33
- package/dist/{chunk-122wp3n9.js → chunk-4sfd9m3h.js} +2 -2
- package/dist/{chunk-1ymedh1v.js → chunk-4v0pzqmq.js} +23 -23
- package/dist/{chunk-9pp9xrw2.js → chunk-50fv6d8k.js} +14 -17
- package/dist/{chunk-fmq83t7h.js → chunk-50x6aec4.js} +3 -3
- package/dist/{chunk-zw543g0m.js → chunk-52tk9vq4.js} +57 -57
- package/dist/{chunk-9k7n4z3r.js → chunk-54nmt278.js} +5 -5
- package/dist/{chunk-0wrzeej6.js → chunk-55pz9658.js} +1 -1
- package/dist/{chunk-zwv3h48p.js → chunk-5chc8z8n.js} +3 -3
- package/dist/{chunk-f6qh3vrn.js → chunk-5dm6af6g.js} +4 -4
- package/dist/{chunk-d09j71dr.js → chunk-5kgmwm72.js} +6 -6
- package/dist/{chunk-2dtmmwxh.js → chunk-5p9szceb.js} +4 -4
- package/dist/{chunk-wxe04dx4.js → chunk-5pnqgsv4.js} +3 -3
- package/dist/{chunk-eenv3551.js → chunk-5s80z8bj.js} +56 -56
- package/dist/{chunk-1sg2k4mx.js → chunk-5vdpbk46.js} +515 -515
- package/dist/{chunk-ekqvx6ek.js → chunk-60fbc7y7.js} +56 -56
- package/dist/{chunk-h5qx4apy.js → chunk-61v89yt3.js} +1 -1
- package/dist/{chunk-9rtywfhp.js → chunk-64nsm3qd.js} +2 -2
- package/dist/{chunk-7mpdfrdm.js → chunk-656z4m7c.js} +5 -5
- package/dist/{chunk-jvf4wvhn.js → chunk-67ex9rnd.js} +57 -57
- package/dist/{chunk-8jpxzesa.js → chunk-67zpbdn4.js} +1 -1
- package/dist/{chunk-7t38tp7c.js → chunk-6837xx50.js} +24 -24
- package/dist/{chunk-8vawdfrp.js → chunk-6c5zyga7.js} +3 -5
- package/dist/{chunk-8ympg941.js → chunk-6fecngep.js} +1 -1
- package/dist/{chunk-t1mtqz1e.js → chunk-6r247w4d.js} +1 -1
- package/dist/{chunk-63v197w4.js → chunk-6svr4g5y.js} +56 -56
- package/dist/{chunk-j2ba3wye.js → chunk-71ptxz0w.js} +22 -22
- package/dist/{chunk-zf5wkcyy.js → chunk-7bme7hfa.js} +127 -1099
- package/dist/{chunk-qdfzdcz3.js → chunk-7h58vakp.js} +60 -60
- package/dist/{chunk-9pkh2w7v.js → chunk-7kdnj6r5.js} +8 -8
- package/dist/{chunk-9m27g5s1.js → chunk-7njxy9q8.js} +18 -3
- package/dist/{chunk-vdh36rw7.js → chunk-7pdhxye3.js} +3 -3
- package/dist/{chunk-tzaj5mwz.js → chunk-7pfa478f.js} +31 -31
- package/dist/{chunk-5a6vqs49.js → chunk-7rh6ws9p.js} +67 -67
- package/dist/{chunk-skxa5fes.js → chunk-7sk1sscc.js} +14 -16
- package/dist/{chunk-bgptt4dd.js → chunk-7x4tde6q.js} +56 -56
- package/dist/{chunk-b909mp8w.js → chunk-84r7ze95.js} +1 -1
- package/dist/{chunk-4h43b7ww.js → chunk-85jw2w2x.js} +69 -69
- package/dist/{chunk-7srwepm7.js → chunk-872211k4.js} +1 -1
- package/dist/{chunk-00m08jnq.js → chunk-89p21yqs.js} +56 -56
- package/dist/{chunk-vxnvzfnv.js → chunk-8avfrdpz.js} +2 -3
- package/dist/{chunk-h13g15kb.js → chunk-8bcxzxe5.js} +1 -1
- package/dist/{chunk-pb2x8g1w.js → chunk-8db0c0z2.js} +67 -67
- package/dist/{chunk-7e78w86v.js → chunk-8e2v15zy.js} +3 -3
- package/dist/{chunk-vhk0hgnv.js → chunk-8ehhzphf.js} +56 -56
- package/dist/{chunk-mz0qfs55.js → chunk-8fvt9r29.js} +63 -63
- package/dist/{chunk-tq82bwaf.js → chunk-8fxvkn6g.js} +2 -2
- package/dist/{chunk-j64ga6ta.js → chunk-8jyp5q4y.js} +304 -272
- package/dist/{chunk-npvte75f.js → chunk-8kqdnkkh.js} +5 -5
- package/dist/{chunk-wdwa58v1.js → chunk-8nsmkgac.js} +59 -59
- package/dist/{chunk-dc4krjj4.js → chunk-8sba81p1.js} +22 -22
- package/dist/{chunk-t31xvfy2.js → chunk-8vwcxhjg.js} +60 -60
- package/dist/{chunk-zwkqabbj.js → chunk-8wxvkw8d.js} +11 -11
- package/dist/{chunk-9azyfe65.js → chunk-8yhh34se.js} +61 -61
- package/dist/{chunk-vmf74a91.js → chunk-91fnfkf9.js} +57 -57
- package/dist/{chunk-td6j7fcr.js → chunk-91scsdr2.js} +56 -56
- package/dist/{chunk-03mgn26m.js → chunk-91wvyz0j.js} +65 -65
- package/dist/{chunk-3b5a4wa6.js → chunk-94jwb8h8.js} +22 -22
- package/dist/{chunk-02n5zpyc.js → chunk-95gj5fgc.js} +4 -4
- package/dist/{chunk-7vzj8rfd.js → chunk-96ac88tt.js} +4 -4
- package/dist/{chunk-h9ef6kkf.js → chunk-981dc4d2.js} +5 -5
- package/dist/{chunk-b3t64cwd.js → chunk-9962psf2.js} +59 -59
- package/dist/{chunk-ng8q29em.js → chunk-9f1128wv.js} +2 -2
- package/dist/{chunk-sdzpdzj3.js → chunk-9ks4hkyv.js} +58 -58
- package/dist/{chunk-kh9hfyzf.js → chunk-9nvdx365.js} +56 -56
- package/dist/{chunk-q72weaf5.js → chunk-9svnj49d.js} +829 -2177
- package/dist/{chunk-eserktyd.js → chunk-9szwp11z.js} +4 -4
- package/dist/{chunk-7sgn6fv0.js → chunk-9vxn5hr7.js} +6 -6
- package/dist/{chunk-34vn56ag.js → chunk-9zjvwht8.js} +8 -8
- package/dist/{chunk-ppa284pd.js → chunk-9zvsj7b5.js} +56 -56
- package/dist/{chunk-5zpstd3m.js → chunk-a4wba4ee.js} +7 -7
- package/dist/chunk-a5vsq9cy.js +334 -0
- package/dist/{chunk-3c1ddhnk.js → chunk-a8w9fre5.js} +19 -207
- package/dist/{chunk-tzpxsjm3.js → chunk-a8z3cmge.js} +29 -29
- package/dist/{chunk-whs655k7.js → chunk-aa2jk5ec.js} +57 -57
- package/dist/{chunk-1d0d18qj.js → chunk-aahtgv6t.js} +22 -22
- package/dist/{chunk-bneqxcmf.js → chunk-acv242nr.js} +1 -1
- package/dist/{chunk-w12f58yz.js → chunk-amp2gnxw.js} +14 -17
- package/dist/{chunk-xeehxb1q.js → chunk-av497x84.js} +3 -3
- package/dist/{chunk-31959kp1.js → chunk-b183xr8z.js} +5 -5
- package/dist/{chunk-cx8c18e3.js → chunk-b2dttpvp.js} +62 -62
- package/dist/{chunk-4mygvv18.js → chunk-b3x56xw6.js} +57 -57
- package/dist/{chunk-x6ceqp7t.js → chunk-b66fr7fs.js} +23 -23
- package/dist/{chunk-edt6c4pc.js → chunk-b78pzw80.js} +73 -73
- package/dist/{chunk-skrja2sz.js → chunk-b7van57x.js} +2 -2
- package/dist/{chunk-vh70jg33.js → chunk-b9mgqx58.js} +4 -4
- package/dist/{chunk-khdftpea.js → chunk-b9n20qcw.js} +9 -9
- package/dist/{chunk-3jjc204v.js → chunk-bakrp6by.js} +18 -18
- package/dist/{chunk-2ab59kwj.js → chunk-bdr1btg9.js} +3 -3
- package/dist/{chunk-w8ttjf01.js → chunk-bf68vqnt.js} +183 -179
- package/dist/{chunk-xafy9ccy.js → chunk-bnf2s6m6.js} +57 -57
- package/dist/{chunk-j04z48rw.js → chunk-bt64sq5y.js} +3 -3
- package/dist/{chunk-5qxgyby3.js → chunk-btma241g.js} +612 -2
- package/dist/{chunk-4w4wdgeb.js → chunk-bwy9pa2a.js} +23 -23
- package/dist/{chunk-y8ab9dyv.js → chunk-bzm15s0d.js} +1 -1
- package/dist/{chunk-6hk5a6ky.js → chunk-c0cxm1jj.js} +56 -56
- package/dist/{chunk-vgdtw10n.js → chunk-c0jj717y.js} +2 -2
- package/dist/{chunk-d8ztpy7x.js → chunk-c2e4y5dn.js} +7 -7
- package/dist/{chunk-jq9vjfbd.js → chunk-c2wjqfxa.js} +57 -57
- package/dist/{chunk-2c8aqb33.js → chunk-c58vpgh1.js} +56 -56
- package/dist/{chunk-ex2q76wx.js → chunk-c5yryhhe.js} +1 -1
- package/dist/{chunk-dct4myst.js → chunk-c7ncsekp.js} +57 -57
- package/dist/{chunk-8w2a9md8.js → chunk-cdv319m8.js} +3 -3
- package/dist/{chunk-ffy37ks3.js → chunk-cj93y6v4.js} +23 -23
- package/dist/{chunk-7vzwyazf.js → chunk-cnkwshve.js} +4 -4
- package/dist/{chunk-g8w2205d.js → chunk-cpmv1jg1.js} +6 -6
- package/dist/{chunk-mj9rbmy1.js → chunk-cxytr6ke.js} +5 -5
- package/dist/{chunk-tg41r14s.js → chunk-cy9y3g9c.js} +5 -5
- package/dist/{chunk-rgm0v4he.js → chunk-d20gvf1p.js} +24 -24
- package/dist/{chunk-drnr3z7x.js → chunk-d61srzjw.js} +144 -144
- package/dist/{chunk-npywdb7q.js → chunk-das7sqxf.js} +3 -3
- package/dist/{chunk-k95meznc.js → chunk-dcy4yhmx.js} +7 -7
- package/dist/{chunk-p2xfr5am.js → chunk-deeqzmz8.js} +57 -57
- package/dist/{chunk-tp3mqwh3.js → chunk-degs4pmz.js} +7 -7
- package/dist/{chunk-ngrj6x74.js → chunk-df52t7ys.js} +168 -161
- package/dist/{chunk-kxptk43f.js → chunk-dqpsg3x6.js} +57 -57
- package/dist/{chunk-yztxtgd8.js → chunk-dw02dt93.js} +66 -66
- package/dist/{chunk-sqb7kkqx.js → chunk-e0nvbjhe.js} +6 -6
- package/dist/{chunk-xt4v95je.js → chunk-e51ayxz6.js} +3 -3
- package/dist/{chunk-v4zejp1f.js → chunk-e7x5yj2h.js} +57 -57
- package/dist/{chunk-rw44vqpq.js → chunk-e92z3mma.js} +56 -56
- package/dist/{chunk-sd3jwppm.js → chunk-ebbxn1k1.js} +8 -8
- package/dist/{chunk-zvxjnak3.js → chunk-ehvhhmg2.js} +56 -56
- package/dist/{chunk-wkh76b1p.js → chunk-enxnnzk5.js} +7 -7
- package/dist/{chunk-jxe1a8kz.js → chunk-epkh4aat.js} +6 -6
- package/dist/{chunk-t4z17xt4.js → chunk-eqrenafc.js} +10 -10
- package/dist/{chunk-n0pkzaaw.js → chunk-erqq5705.js} +6 -6
- package/dist/{chunk-zwa133ny.js → chunk-es1hw74y.js} +2 -2
- package/dist/{chunk-xq3k2392.js → chunk-f05a5t1g.js} +57 -57
- package/dist/{chunk-dc83q1dm.js → chunk-f4kbe948.js} +2 -2
- package/dist/{chunk-9jt1c7t9.js → chunk-f6begf39.js} +58 -58
- package/dist/{chunk-g0jmqbp4.js → chunk-f6kfvezc.js} +6 -6
- package/dist/{chunk-w8krbzb0.js → chunk-fc1dg6fw.js} +4 -4
- package/dist/chunk-ff3ahqvh.js +85 -0
- package/dist/{chunk-yb6x70md.js → chunk-fg5ke2mj.js} +1786 -141
- package/dist/{chunk-m7r4wqc3.js → chunk-fnc95ck8.js} +1 -1
- package/dist/{chunk-cs9xxrmx.js → chunk-fps1h69y.js} +56 -56
- package/dist/{chunk-gaz7te9m.js → chunk-fqcserhk.js} +6 -6
- package/dist/{chunk-bwqvhzrw.js → chunk-fthbxpt7.js} +76 -69
- package/dist/{chunk-1nz1mgm6.js → chunk-fw8e2t6e.js} +39 -268
- package/dist/{chunk-hfy21maq.js → chunk-fyq9f1r4.js} +6 -6
- package/dist/{chunk-fw64v27c.js → chunk-fz0ch109.js} +3 -3
- package/dist/{chunk-q4tkspkp.js → chunk-g2ddxeq0.js} +4 -4
- package/dist/{chunk-65gzht6d.js → chunk-g3zh09cs.js} +56 -56
- package/dist/{chunk-j2cbcyf7.js → chunk-g649rtg8.js} +4 -6
- package/dist/{chunk-z43cvm9f.js → chunk-g7f6rhkv.js} +75 -75
- package/dist/{chunk-yhc1fee8.js → chunk-gafvwfpg.js} +23 -23
- package/dist/{chunk-js21kfpq.js → chunk-garqv1np.js} +1 -1
- package/dist/{chunk-84cjtasj.js → chunk-gckjpwer.js} +58 -58
- package/dist/{chunk-tsdqd747.js → chunk-gfex5hb6.js} +10 -4
- package/dist/{chunk-jvgc4q2b.js → chunk-gjkekgkm.js} +59 -59
- package/dist/{chunk-kpdp2gz2.js → chunk-gm3xyt0n.js} +13 -13
- package/dist/{chunk-3px6f9s5.js → chunk-gn36711e.js} +2 -2
- package/dist/{chunk-e08marnp.js → chunk-gneehjp8.js} +4 -4
- package/dist/{chunk-dge3af7q.js → chunk-gqqy616g.js} +8 -8
- package/dist/{chunk-5dn1m1r7.js → chunk-gwyn2qmg.js} +2 -2
- package/dist/{chunk-ds6b4567.js → chunk-h0p49ypw.js} +67 -67
- package/dist/{chunk-zpm1rpmw.js → chunk-h50wemgt.js} +16 -16
- package/dist/{chunk-yw0st51b.js → chunk-hdkf83nm.js} +57 -57
- package/dist/{chunk-nn8nkawn.js → chunk-hece55mn.js} +7 -7
- package/dist/{chunk-bg86k3wz.js → chunk-hkbjsxr5.js} +83 -339
- package/dist/{chunk-zr78q4qg.js → chunk-hnfwnrdw.js} +56 -56
- package/dist/{chunk-h0n9zhgw.js → chunk-hsyh3ht5.js} +56 -56
- package/dist/{chunk-1395xfcq.js → chunk-htqgje52.js} +58 -58
- package/dist/{chunk-tyxhcbsd.js → chunk-j3khjf4a.js} +1 -1
- package/dist/{chunk-z5tmqz5e.js → chunk-j3ww1b8w.js} +56 -56
- package/dist/{chunk-ebx4j5r5.js → chunk-j6k3zjb5.js} +5 -7
- package/dist/{chunk-3nmhzccb.js → chunk-j6v1eh21.js} +2 -2
- package/dist/{chunk-m3szhhvz.js → chunk-jcck08pa.js} +58 -58
- package/dist/{chunk-nt36mbmr.js → chunk-jdabxq24.js} +14 -14
- package/dist/{chunk-2xezy8pc.js → chunk-jfr51c5y.js} +7 -7
- package/dist/{chunk-jxyh3xyq.js → chunk-jh3g1h2m.js} +23 -23
- package/dist/{chunk-wn8nakrh.js → chunk-jhaf8e2t.js} +56 -56
- package/dist/{chunk-9kqtdah4.js → chunk-jr21cjeg.js} +1 -1
- package/dist/{chunk-rvp6qq44.js → chunk-jr6arg95.js} +5 -5
- package/dist/{chunk-znehavdm.js → chunk-jvnb1zrw.js} +1 -1
- package/dist/{chunk-me2986xy.js → chunk-jwf80scb.js} +57 -57
- package/dist/{chunk-79ztw13h.js → chunk-jytvzpqv.js} +2 -2
- package/dist/{chunk-tjaexdr7.js → chunk-jzheakwg.js} +56 -56
- package/dist/{chunk-32fv3vze.js → chunk-k0bqymfw.js} +25 -25
- package/dist/{chunk-zwna33ms.js → chunk-k4mg16w6.js} +36 -36
- package/dist/{chunk-k591s450.js → chunk-ke1bzwj0.js} +56 -56
- package/dist/{chunk-8y3eszv7.js → chunk-krbnqs28.js} +2 -2
- package/dist/{chunk-9b48fxkx.js → chunk-kvb1xp5b.js} +56 -56
- package/dist/{chunk-6dhen79h.js → chunk-m4th1xcy.js} +8 -8
- package/dist/{chunk-vf3etxnx.js → chunk-mcs219z2.js} +1 -1
- package/dist/{chunk-jp8tnjzr.js → chunk-mf1zbwh9.js} +59 -59
- package/dist/{chunk-61edjmf6.js → chunk-mg1w5bk3.js} +2 -2
- package/dist/{chunk-m1qqm2nc.js → chunk-mgbjn0ry.js} +3 -3
- package/dist/{chunk-svw35ajj.js → chunk-mkcbbspz.js} +57 -57
- package/dist/{chunk-g24e2jr3.js → chunk-mm6hffs4.js} +56 -56
- package/dist/{chunk-rwzb4fmk.js → chunk-mq26zsme.js} +59 -59
- package/dist/{chunk-z6wpnk5y.js → chunk-msyn852e.js} +1 -1
- package/dist/{chunk-n5pe3jtt.js → chunk-n1bh6pgv.js} +2 -2
- package/dist/{chunk-t0twk3e5.js → chunk-n217n8sr.js} +1 -1
- package/dist/chunk-n35vwqby.js +777 -0
- package/dist/{chunk-4tre5ddg.js → chunk-neak2qc4.js} +1 -1
- package/dist/{chunk-s6a338bt.js → chunk-nnw29ezr.js} +3 -3
- package/dist/{chunk-5p8k3wyp.js → chunk-nre8a00v.js} +59 -59
- package/dist/{chunk-ew68a4sy.js → chunk-nwj1t73f.js} +57 -57
- package/dist/{chunk-vj8q7shk.js → chunk-nxrm815g.js} +2 -2
- package/dist/{chunk-0pkrwxrg.js → chunk-nz4mxnb9.js} +3 -3
- package/dist/{chunk-send164b.js → chunk-p173c51d.js} +23 -23
- package/dist/{chunk-74v2mh4t.js → chunk-p1adg740.js} +1 -1
- package/dist/{chunk-j5keq4ye.js → chunk-p3bcc8q8.js} +60 -60
- package/dist/{chunk-3q10e1r5.js → chunk-pa2aeq9e.js} +64 -64
- package/dist/{chunk-1j8anrn2.js → chunk-pb5csk8f.js} +56 -56
- package/dist/{chunk-6ge6zddg.js → chunk-pfjb68fx.js} +3 -3
- package/dist/{chunk-rvn77re6.js → chunk-pgf6xysn.js} +23 -23
- package/dist/{chunk-67jg7cfy.js → chunk-phce1mav.js} +2 -2
- package/dist/{chunk-hk24qq7n.js → chunk-pj2h71rb.js} +9 -9
- package/dist/{chunk-3xhmzvxm.js → chunk-pjkaqt23.js} +5 -5
- package/dist/{chunk-6eq35v86.js → chunk-pnv69npn.js} +1 -1
- package/dist/{chunk-zbrk28bp.js → chunk-ptw6r102.js} +56 -56
- package/dist/{chunk-0wp0zaz8.js → chunk-pzna8nzx.js} +57 -57
- package/dist/{chunk-0gqymhpf.js → chunk-q17esyxh.js} +4 -4
- package/dist/{chunk-j95j6wz8.js → chunk-q27bsq0y.js} +1 -1
- package/dist/{chunk-7kbezevv.js → chunk-q68qcqnd.js} +5 -5
- package/dist/{chunk-0xfz1hj1.js → chunk-q6kttwf6.js} +6 -6
- package/dist/{chunk-t2ex5gsn.js → chunk-q99z5w71.js} +3 -3
- package/dist/{chunk-wyz7j9j0.js → chunk-qc9dbg7c.js} +23 -23
- package/dist/{chunk-r41sjxcn.js → chunk-qegzj6nm.js} +1 -1
- package/dist/{chunk-kerkk89t.js → chunk-qfdzqed0.js} +4 -4
- package/dist/{chunk-6jdrt36m.js → chunk-qk4akts4.js} +2 -2
- package/dist/{chunk-5ycqyqbj.js → chunk-qnbe7d8a.js} +1 -1
- package/dist/{chunk-e4jqbn4d.js → chunk-qqfbkaad.js} +3 -4
- package/dist/{chunk-zqhxr0h7.js → chunk-qs2xnhte.js} +5 -7
- package/dist/{chunk-nbvc8bh6.js → chunk-qst4b9as.js} +24 -24
- package/dist/chunk-qt0k08nw.js +500 -0
- package/dist/{chunk-vntvaf0c.js → chunk-qt8j21yc.js} +63 -63
- package/dist/{chunk-tbce47cr.js → chunk-qxsrtfzn.js} +4 -4
- package/dist/{chunk-kn9hzg11.js → chunk-r1zjw4gp.js} +3 -3
- package/dist/{chunk-pb2nc7r0.js → chunk-r5c38r2r.js} +149 -61
- package/dist/{chunk-jd2ams26.js → chunk-r6r0heh4.js} +6 -6
- package/dist/{chunk-ns3babbs.js → chunk-r7mjzgyn.js} +2 -4
- package/dist/{chunk-b3behs0y.js → chunk-ra1n1z0c.js} +3 -3
- package/dist/chunk-red9b98p.js +378 -0
- package/dist/{chunk-2kxk7ftp.js → chunk-rf9vga8z.js} +59 -59
- package/dist/{chunk-drnxbc1w.js → chunk-rfp8ja4z.js} +2 -2
- package/dist/{chunk-s38qgqfs.js → chunk-rrtkz2js.js} +4 -4
- package/dist/{chunk-epat31ss.js → chunk-rs3fergy.js} +1 -1
- package/dist/{chunk-3d953efq.js → chunk-ryb0h1z5.js} +5 -5
- package/dist/{chunk-7jm7pa1e.js → chunk-ryd3pd8a.js} +14 -17
- package/dist/{chunk-yhjccrrs.js → chunk-rynkredv.js} +97 -97
- package/dist/{chunk-ekkewv4y.js → chunk-s1gf9fzs.js} +1 -1
- package/dist/{chunk-1k0wbt0f.js → chunk-s23ksgx0.js} +87 -87
- package/dist/{chunk-kk42fg5v.js → chunk-s4ncrmd8.js} +23 -23
- package/dist/{chunk-92skmpg9.js → chunk-s6rchtpq.js} +56 -56
- package/dist/{chunk-rzj6hzme.js → chunk-s7xzavdg.js} +8 -8
- package/dist/{chunk-0ejzh5by.js → chunk-s9nd7cyj.js} +58 -58
- package/dist/{chunk-f62xm8dh.js → chunk-sca0gdmn.js} +3 -3
- package/dist/{chunk-y64tceyw.js → chunk-sdw4pkat.js} +3 -3
- package/dist/{chunk-smzahkka.js → chunk-sekayrhn.js} +4 -4
- package/dist/chunk-shj5md9j.js +1486 -0
- package/dist/{chunk-ntwe4mq2.js → chunk-spb70nw0.js} +11 -11
- package/dist/{chunk-b82adekm.js → chunk-sq3cem22.js} +57 -57
- package/dist/{chunk-f16qs2ag.js → chunk-srtcyav5.js} +56 -56
- package/dist/{chunk-2cpxc5we.js → chunk-ssdgf1bt.js} +56 -56
- package/dist/{chunk-vny8tpke.js → chunk-svyfbay6.js} +24 -24
- package/dist/{chunk-0kh2f6kh.js → chunk-sz53f4b4.js} +3 -3
- package/dist/{chunk-h28xqfk8.js → chunk-t4360128.js} +62 -62
- package/dist/{chunk-hhc28ga0.js → chunk-t6keftkw.js} +26 -26
- package/dist/{chunk-z93cpz34.js → chunk-t7b3r8v9.js} +3 -3
- package/dist/{chunk-mq7m54qk.js → chunk-tbrzz94r.js} +69 -69
- package/dist/{chunk-b43rsa2d.js → chunk-tgmxbtrk.js} +2 -2
- package/dist/{chunk-sjraxh5y.js → chunk-thnkgdqf.js} +57 -57
- package/dist/{chunk-95dy6w67.js → chunk-tq7vtsx4.js} +2 -2
- package/dist/{chunk-99p0sa4h.js → chunk-tvrpmrzn.js} +2 -2
- package/dist/{chunk-neh0bkkf.js → chunk-tx1zp6k9.js} +56 -56
- package/dist/{chunk-vmfckw4g.js → chunk-txq07t1t.js} +56 -56
- package/dist/{chunk-34b0y9w3.js → chunk-v1bc0k7r.js} +57 -57
- package/dist/chunk-v1mewt1d.js +180 -0
- package/dist/{chunk-bnznxckg.js → chunk-v890zxjh.js} +56 -56
- package/dist/{chunk-sm24ay0y.js → chunk-v9mb8wyh.js} +117 -117
- package/dist/{chunk-3gaxrmqq.js → chunk-vd2cdqer.js} +15 -15
- package/dist/{chunk-kh9fj2xh.js → chunk-vdw3tpqy.js} +60 -60
- package/dist/{chunk-k6tzzr9c.js → chunk-vs0hwycc.js} +7 -7
- package/dist/{chunk-fq1j9zm0.js → chunk-vsa6z84y.js} +3 -3
- package/dist/{chunk-mbv3f2vm.js → chunk-vywhk0sd.js} +4 -4
- package/dist/{chunk-atpyr1kg.js → chunk-w3jk4zrh.js} +57 -57
- package/dist/{chunk-ezwhbfk8.js → chunk-wbhz1kax.js} +5 -5
- package/dist/{chunk-4vqz7w3v.js → chunk-wckky1kf.js} +4 -4
- package/dist/{chunk-w8yhf638.js → chunk-we086xcr.js} +1 -1
- package/dist/{chunk-jh0d0pbd.js → chunk-wg0d4shw.js} +4 -4
- package/dist/{chunk-z5w7a1cv.js → chunk-whas4b6c.js} +26 -26
- package/dist/{chunk-s8zha7q1.js → chunk-ws1046mv.js} +9 -11
- package/dist/{chunk-mnrswcqf.js → chunk-x33anyzd.js} +56 -56
- package/dist/{chunk-sf4rsw52.js → chunk-x463hr55.js} +8 -8
- package/dist/{chunk-r6ewgv12.js → chunk-x46veg46.js} +1 -1
- package/dist/{chunk-1zrpqh8h.js → chunk-x7aa6ah7.js} +1 -1
- package/dist/{chunk-2katyzq9.js → chunk-x8zp00qp.js} +3 -3
- package/dist/{chunk-371mcwkv.js → chunk-xcbm675k.js} +7 -7
- package/dist/{chunk-pp347e16.js → chunk-xdhd191v.js} +56 -56
- package/dist/{chunk-d6713rzt.js → chunk-xmj20j9w.js} +30 -10
- package/dist/{chunk-g1jfytsa.js → chunk-xt17cf7n.js} +5 -5
- package/dist/{chunk-nzqmmqwj.js → chunk-xvwnb277.js} +23 -23
- package/dist/{chunk-7f0atzzf.js → chunk-xyh08jpm.js} +57 -57
- package/dist/{chunk-kaqp12mx.js → chunk-xz775vz4.js} +56 -56
- package/dist/{chunk-9b2ts7my.js → chunk-y4b897ek.js} +1 -1
- package/dist/{chunk-avtcf910.js → chunk-y5x8wqe5.js} +1 -1
- package/dist/{chunk-sjmx1scx.js → chunk-y7r4awy2.js} +23 -23
- package/dist/{chunk-m0yqzzgm.js → chunk-yc2ay8fz.js} +2 -2
- package/dist/{chunk-swq8qack.js → chunk-ydgsnc70.js} +24 -24
- package/dist/{chunk-p6ejgd85.js → chunk-yq0e1vbr.js} +60 -60
- package/dist/{chunk-nbath9yz.js → chunk-ys6ctp3c.js} +7 -7
- package/dist/{chunk-6v1p41rg.js → chunk-ysvkq1vy.js} +7 -7
- package/dist/{chunk-7d3ba1n4.js → chunk-yvzh49tc.js} +1 -1
- package/dist/{chunk-5wxavbb8.js → chunk-yw9303pb.js} +23 -23
- package/dist/{chunk-pbn6n0kg.js → chunk-z47zsr3f.js} +56 -56
- package/dist/chunk-z51d7scc.js +244 -0
- package/dist/{chunk-b2pxvgwp.js → chunk-zd7ftnd0.js} +10 -10
- package/dist/{chunk-dxcr07z5.js → chunk-ze6zvkg6.js} +4 -4
- package/dist/{chunk-t1whcbtd.js → chunk-zhmhyt38.js} +73 -73
- package/dist/{chunk-sw51thrz.js → chunk-zn27z1n9.js} +59 -59
- package/dist/{chunk-9snpw77c.js → chunk-zvffthkn.js} +67 -67
- package/dist/{chunk-ztqfa7pd.js → chunk-zwm57zy3.js} +56 -56
- package/dist/{chunk-d6vexw90.js → chunk-zyy7th0a.js} +1 -1
- package/dist/{chunk-a7bs51hq.js → chunk-zzykgkph.js} +28 -28
- package/dist/cli-bun.js +0 -0
- package/dist/cli-node.js +0 -0
- package/dist/cli.js +11 -11
- package/dist/download-ripgrep.js +1 -1
- package/package.json +195 -195
- package/scripts/postinstall.cjs +339 -339
- package/scripts/setup-chrome-mcp.mjs +39 -39
- package/dist/chunk-05rcynmf.js +0 -81
- package/dist/chunk-27xc1csx.js +0 -104
- package/dist/chunk-30rst83v.js +0 -168
- package/dist/chunk-33tdaxv0.js +0 -16
- package/dist/chunk-3enkzjbw.js +0 -3966
- package/dist/chunk-3h8a89gy.js +0 -46
- package/dist/chunk-3qm927vk.js +0 -542
- package/dist/chunk-3z7wsvpa.js +0 -24
- package/dist/chunk-44ct1wzm.js +0 -17
- package/dist/chunk-4s0bw3mn.js +0 -208
- package/dist/chunk-7m3ja921.js +0 -27
- package/dist/chunk-7vs34s16.js +0 -173
- package/dist/chunk-80h2am3g.js +0 -5241
- package/dist/chunk-8f6raa6q.js +0 -615
- package/dist/chunk-a9vdeb6y.js +0 -258
- package/dist/chunk-ahc4y7pa.js +0 -782
- package/dist/chunk-b0bk6bxs.js +0 -742
- package/dist/chunk-b4wg70y1.js +0 -54
- package/dist/chunk-btnvjcc5.js +0 -15
- package/dist/chunk-cs6c9gbk.js +0 -1172
- package/dist/chunk-enhtm7h3.js +0 -1731
- package/dist/chunk-fckn68n0.js +0 -180
- package/dist/chunk-h0qngp9w.js +0 -157
- package/dist/chunk-hasadm64.js +0 -412
- package/dist/chunk-hk9xz7gk.js +0 -118
- package/dist/chunk-j2k4p94p.js +0 -55
- package/dist/chunk-jgcsawpq.js +0 -659
- package/dist/chunk-jzmz18nn.js +0 -65
- package/dist/chunk-kg4qmgbk.js +0 -1095
- package/dist/chunk-n0qaeaa5.js +0 -256
- package/dist/chunk-nbxr4cfd.js +0 -880
- package/dist/chunk-q25bjaev.js +0 -15
- package/dist/chunk-qpydzzk0.js +0 -182
- package/dist/chunk-qqy9drhh.js +0 -864
- package/dist/chunk-qtddenhw.js +0 -607
- package/dist/chunk-r6h4zwjj.js +0 -36
- package/dist/chunk-th1cykx3.js +0 -494
- package/dist/chunk-ttk5dzz8.js +0 -25
- package/dist/chunk-v9yc4wjc.js +0 -220
- package/dist/chunk-vsemkegd.js +0 -718
- package/dist/chunk-wadkbt36.js +0 -40
- package/dist/chunk-xsq9ae7x.js +0 -90
- package/dist/chunk-ze6h1ch1.js +0 -21
- package/dist/chunk-ztpbxsq6.js +0 -910
- package/dist/{chunk-2j1t3hcw.js → chunk-a07s68gh.js} +3 -3
|
@@ -1,80 +1,71 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
eventStreamPayloadHandlerProvider,
|
|
4
|
+
eventStreamSerdeProvider,
|
|
5
|
+
fromArrayBuffer,
|
|
6
|
+
fromString,
|
|
7
|
+
fromUtf8,
|
|
8
|
+
getEventStreamPlugin,
|
|
9
|
+
getWebSocketPlugin,
|
|
10
|
+
init_dist_es as init_dist_es2,
|
|
11
|
+
init_dist_es1 as init_dist_es3,
|
|
12
|
+
init_dist_es2 as init_dist_es4,
|
|
13
|
+
init_dist_es3 as init_dist_es5,
|
|
14
|
+
init_dist_es4 as init_dist_es6,
|
|
15
|
+
init_dist_es5 as init_dist_es7,
|
|
16
|
+
init_dist_es6 as init_dist_es8,
|
|
17
|
+
resolveEventStreamConfig,
|
|
18
|
+
resolveEventStreamSerdeConfig,
|
|
19
|
+
resolveWebSocketConfig,
|
|
20
|
+
toUtf8
|
|
21
|
+
} from "./chunk-shj5md9j.js";
|
|
2
22
|
import {
|
|
3
23
|
defaultProvider,
|
|
4
|
-
init_dist_es
|
|
5
|
-
} from "./chunk-
|
|
24
|
+
init_dist_es
|
|
25
|
+
} from "./chunk-95gj5fgc.js";
|
|
26
|
+
import"./chunk-9xrxpxr6.js";
|
|
6
27
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
nodeProvider
|
|
10
|
-
} from "./chunk-4s0bw3mn.js";
|
|
11
|
-
import"./chunk-3h8a89gy.js";
|
|
28
|
+
require_dist_cjs as require_dist_cjs27
|
|
29
|
+
} from "./chunk-ff3ahqvh.js";
|
|
12
30
|
import {
|
|
13
|
-
require_dist_cjs as
|
|
14
|
-
require_dist_cjs1 as
|
|
31
|
+
require_dist_cjs as require_dist_cjs13,
|
|
32
|
+
require_dist_cjs1 as require_dist_cjs14,
|
|
15
33
|
require_dist_cjs10 as require_dist_cjs25,
|
|
16
34
|
require_dist_cjs11 as require_dist_cjs26,
|
|
17
|
-
require_dist_cjs12 as
|
|
18
|
-
require_dist_cjs2 as
|
|
19
|
-
require_dist_cjs3 as
|
|
20
|
-
require_dist_cjs4 as
|
|
21
|
-
require_dist_cjs5 as
|
|
22
|
-
require_dist_cjs6 as
|
|
23
|
-
require_dist_cjs7 as
|
|
35
|
+
require_dist_cjs12 as require_dist_cjs28,
|
|
36
|
+
require_dist_cjs2 as require_dist_cjs15,
|
|
37
|
+
require_dist_cjs3 as require_dist_cjs17,
|
|
38
|
+
require_dist_cjs4 as require_dist_cjs18,
|
|
39
|
+
require_dist_cjs5 as require_dist_cjs19,
|
|
40
|
+
require_dist_cjs6 as require_dist_cjs21,
|
|
41
|
+
require_dist_cjs7 as require_dist_cjs22,
|
|
24
42
|
require_dist_cjs8 as require_dist_cjs23,
|
|
25
43
|
require_dist_cjs9 as require_dist_cjs24,
|
|
26
44
|
require_protocols
|
|
27
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-fg5ke2mj.js";
|
|
28
46
|
import {
|
|
29
|
-
require_dist_cjs as
|
|
30
|
-
require_dist_cjs1 as
|
|
31
|
-
} from "./chunk-
|
|
47
|
+
require_dist_cjs as require_dist_cjs16,
|
|
48
|
+
require_dist_cjs1 as require_dist_cjs20
|
|
49
|
+
} from "./chunk-r5c38r2r.js";
|
|
50
|
+
import"./chunk-kxqjncxw.js";
|
|
32
51
|
import {
|
|
33
|
-
require_dist_cjs as
|
|
34
|
-
|
|
35
|
-
} from "./chunk-cs6c9gbk.js";
|
|
52
|
+
require_dist_cjs as require_dist_cjs11
|
|
53
|
+
} from "./chunk-y5x8wqe5.js";
|
|
36
54
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import"./chunk-n0qaeaa5.js";
|
|
55
|
+
require_httpAuthSchemes
|
|
56
|
+
} from "./chunk-j6k3zjb5.js";
|
|
40
57
|
import {
|
|
41
|
-
require_dist_cjs as
|
|
42
|
-
} from "./chunk-
|
|
58
|
+
require_dist_cjs as require_dist_cjs12
|
|
59
|
+
} from "./chunk-q27bsq0y.js";
|
|
43
60
|
import {
|
|
44
|
-
require_dist_cjs as
|
|
45
|
-
|
|
46
|
-
|
|
61
|
+
require_dist_cjs as require_dist_cjs7,
|
|
62
|
+
require_dist_cjs2 as require_dist_cjs9,
|
|
63
|
+
require_dist_cjs3 as require_dist_cjs10,
|
|
47
64
|
require_schema
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import {
|
|
50
|
-
require_dist_cjs as require_dist_cjs5
|
|
51
|
-
} from "./chunk-30rst83v.js";
|
|
52
|
-
import {
|
|
53
|
-
require_dist_cjs as require_dist_cjs12
|
|
54
|
-
} from "./chunk-j2k4p94p.js";
|
|
55
|
-
import"./chunk-xsq9ae7x.js";
|
|
65
|
+
} from "./chunk-03qpgz7e.js";
|
|
56
66
|
import {
|
|
57
67
|
require_client
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import"./chunk-hk9xz7gk.js";
|
|
60
|
-
import {
|
|
61
|
-
Crc32,
|
|
62
|
-
fromArrayBuffer,
|
|
63
|
-
fromString,
|
|
64
|
-
fromUtf8,
|
|
65
|
-
init_dist_es,
|
|
66
|
-
init_dist_es1 as init_dist_es2,
|
|
67
|
-
init_module,
|
|
68
|
-
toUtf8
|
|
69
|
-
} from "./chunk-th1cykx3.js";
|
|
70
|
-
import {
|
|
71
|
-
require_dist_cjs as require_dist_cjs4
|
|
72
|
-
} from "./chunk-enhtm7h3.js";
|
|
73
|
-
import"./chunk-kxqjncxw.js";
|
|
74
|
-
import {
|
|
75
|
-
require_dist_cjs1 as require_dist_cjs2,
|
|
76
|
-
require_dist_cjs2 as require_dist_cjs3
|
|
77
|
-
} from "./chunk-b0bk6bxs.js";
|
|
68
|
+
} from "./chunk-psmfpddh.js";
|
|
78
69
|
import {
|
|
79
70
|
init_sdk
|
|
80
71
|
} from "./chunk-4g3v8y12.js";
|
|
@@ -92,9 +83,27 @@ import {
|
|
|
92
83
|
init_resources,
|
|
93
84
|
init_streaming
|
|
94
85
|
} from "./chunk-7739pg2c.js";
|
|
95
|
-
import"./chunk-btnvjcc5.js";
|
|
96
86
|
import {
|
|
97
|
-
require_dist_cjs2
|
|
87
|
+
require_dist_cjs2
|
|
88
|
+
} from "./chunk-gfex5hb6.js";
|
|
89
|
+
import {
|
|
90
|
+
require_dist_cjs
|
|
91
|
+
} from "./chunk-jcfk76z5.js";
|
|
92
|
+
import {
|
|
93
|
+
require_dist_cjs as require_dist_cjs5
|
|
94
|
+
} from "./chunk-pn1q3cxk.js";
|
|
95
|
+
import {
|
|
96
|
+
require_dist_cjs as require_dist_cjs6
|
|
97
|
+
} from "./chunk-6f8awfs6.js";
|
|
98
|
+
import {
|
|
99
|
+
require_dist_cjs as require_dist_cjs4
|
|
100
|
+
} from "./chunk-2md5w5h8.js";
|
|
101
|
+
import {
|
|
102
|
+
require_dist_cjs as require_dist_cjs3
|
|
103
|
+
} from "./chunk-ve1228q7.js";
|
|
104
|
+
import"./chunk-cddv8twj.js";
|
|
105
|
+
import {
|
|
106
|
+
require_dist_cjs2 as require_dist_cjs8
|
|
98
107
|
} from "./chunk-2nayx6q1.js";
|
|
99
108
|
import {
|
|
100
109
|
__commonJS,
|
|
@@ -760,7 +769,7 @@ var require_whatwgEncodingApi = __commonJS((exports) => {
|
|
|
760
769
|
});
|
|
761
770
|
|
|
762
771
|
// node_modules/.bun/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js
|
|
763
|
-
var
|
|
772
|
+
var require_dist_cjs29 = __commonJS((exports) => {
|
|
764
773
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
765
774
|
exports.toUtf8 = exports.fromUtf8 = undefined;
|
|
766
775
|
var pureJs_1 = require_pureJs();
|
|
@@ -775,7 +784,7 @@ var require_dist_cjs28 = __commonJS((exports) => {
|
|
|
775
784
|
var require_convertToBuffer = __commonJS((exports) => {
|
|
776
785
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
777
786
|
exports.convertToBuffer = undefined;
|
|
778
|
-
var util_utf8_browser_1 =
|
|
787
|
+
var util_utf8_browser_1 = require_dist_cjs29();
|
|
779
788
|
var fromUtf82 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
780
789
|
return Buffer.from(input, "utf8");
|
|
781
790
|
} : util_utf8_browser_1.fromUtf8;
|
|
@@ -1201,7 +1210,7 @@ var init_util = () => {};
|
|
|
1201
1210
|
var init_waiter = () => {};
|
|
1202
1211
|
|
|
1203
1212
|
// node_modules/.bun/@smithy+types@2.12.0/node_modules/@smithy/types/dist-es/index.js
|
|
1204
|
-
var
|
|
1213
|
+
var init_dist_es9 = __esm(() => {
|
|
1205
1214
|
init_abort();
|
|
1206
1215
|
init_auth2();
|
|
1207
1216
|
init_blob_payload_input_types();
|
|
@@ -1242,7 +1251,7 @@ var init_dist_es5 = __esm(() => {
|
|
|
1242
1251
|
|
|
1243
1252
|
// node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/Field.js
|
|
1244
1253
|
var init_Field = __esm(() => {
|
|
1245
|
-
|
|
1254
|
+
init_dist_es9();
|
|
1246
1255
|
});
|
|
1247
1256
|
|
|
1248
1257
|
// node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/Fields.js
|
|
@@ -1303,7 +1312,7 @@ var init_isValidHostname = () => {};
|
|
|
1303
1312
|
var init_types = () => {};
|
|
1304
1313
|
|
|
1305
1314
|
// node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/index.js
|
|
1306
|
-
var
|
|
1315
|
+
var init_dist_es10 = __esm(() => {
|
|
1307
1316
|
init_extensions();
|
|
1308
1317
|
init_Field();
|
|
1309
1318
|
init_Fields();
|
|
@@ -1338,7 +1347,7 @@ function toHex(bytes) {
|
|
|
1338
1347
|
return out;
|
|
1339
1348
|
}
|
|
1340
1349
|
var SHORT_TO_HEX, HEX_TO_SHORT;
|
|
1341
|
-
var
|
|
1350
|
+
var init_dist_es11 = __esm(() => {
|
|
1342
1351
|
SHORT_TO_HEX = {};
|
|
1343
1352
|
HEX_TO_SHORT = {};
|
|
1344
1353
|
for (let i = 0;i < 256; i++) {
|
|
@@ -1601,7 +1610,7 @@ var init_util2 = () => {};
|
|
|
1601
1610
|
var init_waiter2 = () => {};
|
|
1602
1611
|
|
|
1603
1612
|
// node_modules/.bun/@smithy+types@3.7.2/node_modules/@smithy/types/dist-es/index.js
|
|
1604
|
-
var
|
|
1613
|
+
var init_dist_es12 = __esm(() => {
|
|
1605
1614
|
init_abort2();
|
|
1606
1615
|
init_auth4();
|
|
1607
1616
|
init_blob_payload_input_types2();
|
|
@@ -1643,7 +1652,7 @@ var init_dist_es8 = __esm(() => {
|
|
|
1643
1652
|
|
|
1644
1653
|
// node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
1645
1654
|
var init_getSmithyContext = __esm(() => {
|
|
1646
|
-
|
|
1655
|
+
init_dist_es12();
|
|
1647
1656
|
});
|
|
1648
1657
|
|
|
1649
1658
|
// node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
@@ -1656,7 +1665,7 @@ var normalizeProvider = (input) => {
|
|
|
1656
1665
|
var init_normalizeProvider = () => {};
|
|
1657
1666
|
|
|
1658
1667
|
// node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/index.js
|
|
1659
|
-
var
|
|
1668
|
+
var init_dist_es13 = __esm(() => {
|
|
1660
1669
|
init_getSmithyContext();
|
|
1661
1670
|
init_normalizeProvider();
|
|
1662
1671
|
});
|
|
@@ -1671,14 +1680,14 @@ var init_escape_uri_path = __esm(() => {
|
|
|
1671
1680
|
});
|
|
1672
1681
|
|
|
1673
1682
|
// node_modules/.bun/@smithy+util-uri-escape@3.0.0/node_modules/@smithy/util-uri-escape/dist-es/index.js
|
|
1674
|
-
var
|
|
1683
|
+
var init_dist_es14 = __esm(() => {
|
|
1675
1684
|
init_escape_uri();
|
|
1676
1685
|
init_escape_uri_path();
|
|
1677
1686
|
});
|
|
1678
1687
|
|
|
1679
1688
|
// node_modules/.bun/@smithy+is-array-buffer@3.0.0/node_modules/@smithy/is-array-buffer/dist-es/index.js
|
|
1680
1689
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
1681
|
-
var
|
|
1690
|
+
var init_dist_es15 = () => {};
|
|
1682
1691
|
|
|
1683
1692
|
// node_modules/.bun/@smithy+util-buffer-from@3.0.0/node_modules/@smithy/util-buffer-from/dist-es/index.js
|
|
1684
1693
|
import { Buffer as Buffer2 } from "buffer";
|
|
@@ -1688,8 +1697,8 @@ var fromString2 = (input, encoding) => {
|
|
|
1688
1697
|
}
|
|
1689
1698
|
return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
|
|
1690
1699
|
};
|
|
1691
|
-
var
|
|
1692
|
-
|
|
1700
|
+
var init_dist_es16 = __esm(() => {
|
|
1701
|
+
init_dist_es15();
|
|
1693
1702
|
});
|
|
1694
1703
|
|
|
1695
1704
|
// node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
|
|
@@ -1698,7 +1707,7 @@ var fromUtf82 = (input) => {
|
|
|
1698
1707
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1699
1708
|
};
|
|
1700
1709
|
var init_fromUtf8 = __esm(() => {
|
|
1701
|
-
|
|
1710
|
+
init_dist_es16();
|
|
1702
1711
|
});
|
|
1703
1712
|
|
|
1704
1713
|
// node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
|
|
@@ -1717,11 +1726,11 @@ var init_toUint8Array = __esm(() => {
|
|
|
1717
1726
|
|
|
1718
1727
|
// node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/toUtf8.js
|
|
1719
1728
|
var init_toUtf8 = __esm(() => {
|
|
1720
|
-
|
|
1729
|
+
init_dist_es16();
|
|
1721
1730
|
});
|
|
1722
1731
|
|
|
1723
1732
|
// node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/index.js
|
|
1724
|
-
var
|
|
1733
|
+
var init_dist_es17 = __esm(() => {
|
|
1725
1734
|
init_fromUtf8();
|
|
1726
1735
|
init_toUint8Array();
|
|
1727
1736
|
init_toUtf8();
|
|
@@ -1778,8 +1787,8 @@ var signingKeyCache, cacheQueue, createScope = (shortDate, region, service) => `
|
|
|
1778
1787
|
return hash.digest();
|
|
1779
1788
|
};
|
|
1780
1789
|
var init_credentialDerivation = __esm(() => {
|
|
1781
|
-
|
|
1782
|
-
|
|
1790
|
+
init_dist_es11();
|
|
1791
|
+
init_dist_es17();
|
|
1783
1792
|
init_constants();
|
|
1784
1793
|
signingKeyCache = {};
|
|
1785
1794
|
cacheQueue = [];
|
|
@@ -1825,7 +1834,7 @@ var getCanonicalQuery = ({ query = {} }) => {
|
|
|
1825
1834
|
return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
|
|
1826
1835
|
};
|
|
1827
1836
|
var init_getCanonicalQuery = __esm(() => {
|
|
1828
|
-
|
|
1837
|
+
init_dist_es14();
|
|
1829
1838
|
init_constants();
|
|
1830
1839
|
});
|
|
1831
1840
|
|
|
@@ -1846,9 +1855,9 @@ var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
|
1846
1855
|
return UNSIGNED_PAYLOAD;
|
|
1847
1856
|
};
|
|
1848
1857
|
var init_getPayloadHash = __esm(() => {
|
|
1858
|
+
init_dist_es15();
|
|
1849
1859
|
init_dist_es11();
|
|
1850
|
-
|
|
1851
|
-
init_dist_es13();
|
|
1860
|
+
init_dist_es17();
|
|
1852
1861
|
init_constants();
|
|
1853
1862
|
});
|
|
1854
1863
|
|
|
@@ -1965,8 +1974,8 @@ function negate(bytes) {
|
|
|
1965
1974
|
}
|
|
1966
1975
|
var HEADER_VALUE_TYPE, UUID_PATTERN;
|
|
1967
1976
|
var init_HeaderFormatter = __esm(() => {
|
|
1968
|
-
|
|
1969
|
-
|
|
1977
|
+
init_dist_es11();
|
|
1978
|
+
init_dist_es17();
|
|
1970
1979
|
(function(HEADER_VALUE_TYPE2) {
|
|
1971
1980
|
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
|
|
1972
1981
|
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
|
|
@@ -2228,10 +2237,10 @@ var formatDate = (now) => {
|
|
|
2228
2237
|
};
|
|
2229
2238
|
}, getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");
|
|
2230
2239
|
var init_SignatureV4 = __esm(() => {
|
|
2231
|
-
|
|
2232
|
-
init_dist_es9();
|
|
2233
|
-
init_dist_es10();
|
|
2240
|
+
init_dist_es11();
|
|
2234
2241
|
init_dist_es13();
|
|
2242
|
+
init_dist_es14();
|
|
2243
|
+
init_dist_es17();
|
|
2235
2244
|
init_constants();
|
|
2236
2245
|
init_credentialDerivation();
|
|
2237
2246
|
init_getCanonicalHeaders();
|
|
@@ -2245,7 +2254,7 @@ var init_SignatureV4 = __esm(() => {
|
|
|
2245
2254
|
});
|
|
2246
2255
|
|
|
2247
2256
|
// node_modules/.bun/@smithy+signature-v4@3.1.2/node_modules/@smithy/signature-v4/dist-es/index.js
|
|
2248
|
-
var
|
|
2257
|
+
var init_dist_es18 = __esm(() => {
|
|
2249
2258
|
init_getCanonicalHeaders();
|
|
2250
2259
|
init_getCanonicalQuery();
|
|
2251
2260
|
init_getPayloadHash();
|
|
@@ -2257,7 +2266,7 @@ var init_dist_es14 = __esm(() => {
|
|
|
2257
2266
|
|
|
2258
2267
|
// node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/core/auth.mjs
|
|
2259
2268
|
import assert from "assert";
|
|
2260
|
-
var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER = () => import("./chunk-
|
|
2269
|
+
var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER = () => import("./chunk-red9b98p.js").then(({ fromNodeProviderChain }) => fromNodeProviderChain({
|
|
2261
2270
|
clientConfig: {
|
|
2262
2271
|
requestHandler: new import_fetch_http_handler.FetchHttpHandler({
|
|
2263
2272
|
requestInit: (httpRequest2) => {
|
|
@@ -2303,17 +2312,17 @@ var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER
|
|
|
2303
2312
|
return signed.headers;
|
|
2304
2313
|
};
|
|
2305
2314
|
var init_auth5 = __esm(() => {
|
|
2306
|
-
|
|
2307
|
-
|
|
2315
|
+
init_dist_es10();
|
|
2316
|
+
init_dist_es18();
|
|
2308
2317
|
import_sha256_js = __toESM(require_build2(), 1);
|
|
2309
|
-
import_fetch_http_handler = __toESM(
|
|
2318
|
+
import_fetch_http_handler = __toESM(require_dist_cjs10(), 1);
|
|
2310
2319
|
});
|
|
2311
2320
|
|
|
2312
2321
|
// node_modules/.bun/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js
|
|
2313
2322
|
var require_convertToBuffer2 = __commonJS((exports) => {
|
|
2314
2323
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2315
2324
|
exports.convertToBuffer = undefined;
|
|
2316
|
-
var util_utf8_browser_1 =
|
|
2325
|
+
var util_utf8_browser_1 = require_dist_cjs29();
|
|
2317
2326
|
var fromUtf84 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
2318
2327
|
return Buffer.from(input, "utf8");
|
|
2319
2328
|
} : util_utf8_browser_1.fromUtf8;
|
|
@@ -2438,14 +2447,14 @@ var require_build4 = __commonJS((exports) => {
|
|
|
2438
2447
|
var tslib_1 = require_tslib();
|
|
2439
2448
|
var util_1 = require_build3();
|
|
2440
2449
|
function crc32(data) {
|
|
2441
|
-
return new
|
|
2450
|
+
return new Crc32().update(data).digest();
|
|
2442
2451
|
}
|
|
2443
2452
|
exports.crc32 = crc32;
|
|
2444
|
-
var
|
|
2445
|
-
function
|
|
2453
|
+
var Crc32 = function() {
|
|
2454
|
+
function Crc322() {
|
|
2446
2455
|
this.checksum = 4294967295;
|
|
2447
2456
|
}
|
|
2448
|
-
|
|
2457
|
+
Crc322.prototype.update = function(data) {
|
|
2449
2458
|
var e_1, _a;
|
|
2450
2459
|
try {
|
|
2451
2460
|
for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next();!data_1_1.done; data_1_1 = data_1.next()) {
|
|
@@ -2465,12 +2474,12 @@ var require_build4 = __commonJS((exports) => {
|
|
|
2465
2474
|
}
|
|
2466
2475
|
return this;
|
|
2467
2476
|
};
|
|
2468
|
-
|
|
2477
|
+
Crc322.prototype.digest = function() {
|
|
2469
2478
|
return (this.checksum ^ 4294967295) >>> 0;
|
|
2470
2479
|
};
|
|
2471
|
-
return
|
|
2480
|
+
return Crc322;
|
|
2472
2481
|
}();
|
|
2473
|
-
exports.Crc32 =
|
|
2482
|
+
exports.Crc32 = Crc32;
|
|
2474
2483
|
var a_lookUpTable = [
|
|
2475
2484
|
0,
|
|
2476
2485
|
1996959894,
|
|
@@ -2760,7 +2769,7 @@ function toHex2(bytes) {
|
|
|
2760
2769
|
return out;
|
|
2761
2770
|
}
|
|
2762
2771
|
var SHORT_TO_HEX2, HEX_TO_SHORT2;
|
|
2763
|
-
var
|
|
2772
|
+
var init_dist_es19 = __esm(() => {
|
|
2764
2773
|
SHORT_TO_HEX2 = {};
|
|
2765
2774
|
HEX_TO_SHORT2 = {};
|
|
2766
2775
|
for (let i = 0;i < 256; i++) {
|
|
@@ -2817,7 +2826,7 @@ function negate2(bytes) {
|
|
|
2817
2826
|
}
|
|
2818
2827
|
}
|
|
2819
2828
|
var init_Int64 = __esm(() => {
|
|
2820
|
-
|
|
2829
|
+
init_dist_es19();
|
|
2821
2830
|
});
|
|
2822
2831
|
|
|
2823
2832
|
// node_modules/.bun/@smithy+eventstream-codec@2.2.0/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
@@ -2980,7 +2989,7 @@ class HeaderMarshaller {
|
|
|
2980
2989
|
}
|
|
2981
2990
|
var HEADER_VALUE_TYPE2, BOOLEAN_TAG = "boolean", BYTE_TAG = "byte", SHORT_TAG = "short", INT_TAG = "integer", LONG_TAG = "long", BINARY_TAG = "binary", STRING_TAG = "string", TIMESTAMP_TAG = "timestamp", UUID_TAG = "uuid", UUID_PATTERN2;
|
|
2982
2991
|
var init_HeaderMarshaller = __esm(() => {
|
|
2983
|
-
|
|
2992
|
+
init_dist_es19();
|
|
2984
2993
|
init_Int64();
|
|
2985
2994
|
(function(HEADER_VALUE_TYPE3) {
|
|
2986
2995
|
HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["boolTrue"] = 0] = "boolTrue";
|
|
@@ -3182,7 +3191,7 @@ var init_SmithyMessageEncoderStream = __esm(() => {
|
|
|
3182
3191
|
});
|
|
3183
3192
|
|
|
3184
3193
|
// node_modules/.bun/@smithy+eventstream-codec@2.2.0/node_modules/@smithy/eventstream-codec/dist-es/index.js
|
|
3185
|
-
var
|
|
3194
|
+
var init_dist_es20 = __esm(() => {
|
|
3186
3195
|
init_EventStreamCodec();
|
|
3187
3196
|
init_HeaderMarshaller();
|
|
3188
3197
|
init_Int64();
|
|
@@ -3315,7 +3324,7 @@ class EventStreamMarshaller {
|
|
|
3315
3324
|
}
|
|
3316
3325
|
}
|
|
3317
3326
|
var init_EventStreamMarshaller = __esm(() => {
|
|
3318
|
-
|
|
3327
|
+
init_dist_es20();
|
|
3319
3328
|
init_getChunkedStream();
|
|
3320
3329
|
init_getUnmarshalledStream();
|
|
3321
3330
|
});
|
|
@@ -3326,7 +3335,7 @@ var init_provider = __esm(() => {
|
|
|
3326
3335
|
});
|
|
3327
3336
|
|
|
3328
3337
|
// node_modules/.bun/@smithy+eventstream-serde-universal@2.2.0/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
|
|
3329
|
-
var
|
|
3338
|
+
var init_dist_es21 = __esm(() => {
|
|
3330
3339
|
init_EventStreamMarshaller();
|
|
3331
3340
|
init_provider();
|
|
3332
3341
|
});
|
|
@@ -3379,7 +3388,7 @@ class EventStreamMarshaller3 {
|
|
|
3379
3388
|
}
|
|
3380
3389
|
}
|
|
3381
3390
|
var init_EventStreamMarshaller2 = __esm(() => {
|
|
3382
|
-
|
|
3391
|
+
init_dist_es21();
|
|
3383
3392
|
init_utils();
|
|
3384
3393
|
});
|
|
3385
3394
|
|
|
@@ -3389,7 +3398,7 @@ var init_provider2 = __esm(() => {
|
|
|
3389
3398
|
});
|
|
3390
3399
|
|
|
3391
3400
|
// node_modules/.bun/@smithy+eventstream-serde-node@2.2.0/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
|
|
3392
|
-
var
|
|
3401
|
+
var init_dist_es22 = __esm(() => {
|
|
3393
3402
|
init_EventStreamMarshaller2();
|
|
3394
3403
|
init_provider2();
|
|
3395
3404
|
});
|
|
@@ -3406,7 +3415,7 @@ var BASE64_REGEX, fromBase64 = (input) => {
|
|
|
3406
3415
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
3407
3416
|
};
|
|
3408
3417
|
var init_fromBase64 = __esm(() => {
|
|
3409
|
-
|
|
3418
|
+
init_dist_es3();
|
|
3410
3419
|
BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
3411
3420
|
});
|
|
3412
3421
|
|
|
@@ -3424,12 +3433,12 @@ var toBase64 = (_input) => {
|
|
|
3424
3433
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
3425
3434
|
};
|
|
3426
3435
|
var init_toBase64 = __esm(() => {
|
|
3427
|
-
|
|
3428
|
-
|
|
3436
|
+
init_dist_es3();
|
|
3437
|
+
init_dist_es4();
|
|
3429
3438
|
});
|
|
3430
3439
|
|
|
3431
3440
|
// node_modules/.bun/@smithy+util-base64@2.3.0/node_modules/@smithy/util-base64/dist-es/index.js
|
|
3432
|
-
var
|
|
3441
|
+
var init_dist_es23 = __esm(() => {
|
|
3433
3442
|
init_fromBase64();
|
|
3434
3443
|
init_toBase64();
|
|
3435
3444
|
});
|
|
@@ -3441,13 +3450,13 @@ var init_NoOpLogger = () => {};
|
|
|
3441
3450
|
var init_MiddlewareStack = () => {};
|
|
3442
3451
|
|
|
3443
3452
|
// node_modules/.bun/@smithy+middleware-stack@2.2.0/node_modules/@smithy/middleware-stack/dist-es/index.js
|
|
3444
|
-
var
|
|
3453
|
+
var init_dist_es24 = __esm(() => {
|
|
3445
3454
|
init_MiddlewareStack();
|
|
3446
3455
|
});
|
|
3447
3456
|
|
|
3448
3457
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/client.js
|
|
3449
3458
|
var init_client4 = __esm(() => {
|
|
3450
|
-
|
|
3459
|
+
init_dist_es24();
|
|
3451
3460
|
});
|
|
3452
3461
|
|
|
3453
3462
|
// node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/blob/transforms.js
|
|
@@ -3464,8 +3473,8 @@ function transformFromString(str, encoding) {
|
|
|
3464
3473
|
return Uint8ArrayBlobAdapter.mutate(fromUtf8(str));
|
|
3465
3474
|
}
|
|
3466
3475
|
var init_transforms = __esm(() => {
|
|
3467
|
-
|
|
3468
|
-
|
|
3476
|
+
init_dist_es23();
|
|
3477
|
+
init_dist_es4();
|
|
3469
3478
|
init_Uint8ArrayBlobAdapter();
|
|
3470
3479
|
});
|
|
3471
3480
|
|
|
@@ -3504,14 +3513,14 @@ var init_escape_uri_path2 = __esm(() => {
|
|
|
3504
3513
|
});
|
|
3505
3514
|
|
|
3506
3515
|
// node_modules/.bun/@smithy+util-uri-escape@2.2.0/node_modules/@smithy/util-uri-escape/dist-es/index.js
|
|
3507
|
-
var
|
|
3516
|
+
var init_dist_es25 = __esm(() => {
|
|
3508
3517
|
init_escape_uri2();
|
|
3509
3518
|
init_escape_uri_path2();
|
|
3510
3519
|
});
|
|
3511
3520
|
|
|
3512
3521
|
// node_modules/.bun/@smithy+querystring-builder@2.2.0/node_modules/@smithy/querystring-builder/dist-es/index.js
|
|
3513
|
-
var
|
|
3514
|
-
|
|
3522
|
+
var init_dist_es26 = __esm(() => {
|
|
3523
|
+
init_dist_es25();
|
|
3515
3524
|
});
|
|
3516
3525
|
|
|
3517
3526
|
// node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/constants.js
|
|
@@ -3534,8 +3543,8 @@ var init_write_request_body = () => {};
|
|
|
3534
3543
|
|
|
3535
3544
|
// node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
|
|
3536
3545
|
var init_node_http_handler = __esm(() => {
|
|
3537
|
-
|
|
3538
|
-
|
|
3546
|
+
init_dist_es10();
|
|
3547
|
+
init_dist_es26();
|
|
3539
3548
|
init_constants2();
|
|
3540
3549
|
init_get_transformed_headers();
|
|
3541
3550
|
init_set_connection_timeout();
|
|
@@ -3554,8 +3563,8 @@ var init_node_http2_connection_manager = __esm(() => {
|
|
|
3554
3563
|
|
|
3555
3564
|
// node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js
|
|
3556
3565
|
var init_node_http2_handler = __esm(() => {
|
|
3557
|
-
|
|
3558
|
-
|
|
3566
|
+
init_dist_es10();
|
|
3567
|
+
init_dist_es26();
|
|
3559
3568
|
init_get_transformed_headers();
|
|
3560
3569
|
init_node_http2_connection_manager();
|
|
3561
3570
|
init_write_request_body();
|
|
@@ -3570,7 +3579,7 @@ var init_stream_collector = __esm(() => {
|
|
|
3570
3579
|
});
|
|
3571
3580
|
|
|
3572
3581
|
// node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/index.js
|
|
3573
|
-
var
|
|
3582
|
+
var init_dist_es27 = __esm(() => {
|
|
3574
3583
|
init_node_http_handler();
|
|
3575
3584
|
init_node_http2_handler();
|
|
3576
3585
|
init_stream_collector();
|
|
@@ -3578,12 +3587,12 @@ var init_dist_es23 = __esm(() => {
|
|
|
3578
3587
|
|
|
3579
3588
|
// node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
|
|
3580
3589
|
var init_sdk_stream_mixin = __esm(() => {
|
|
3581
|
-
|
|
3582
|
-
|
|
3590
|
+
init_dist_es27();
|
|
3591
|
+
init_dist_es3();
|
|
3583
3592
|
});
|
|
3584
3593
|
|
|
3585
3594
|
// node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/index.js
|
|
3586
|
-
var
|
|
3595
|
+
var init_dist_es28 = __esm(() => {
|
|
3587
3596
|
init_Uint8ArrayBlobAdapter();
|
|
3588
3597
|
init_getAwsChunkedEncodingStream();
|
|
3589
3598
|
init_sdk_stream_mixin();
|
|
@@ -3601,13 +3610,13 @@ var collectBody = async (streamBody = new Uint8Array, context) => {
|
|
|
3601
3610
|
return Uint8ArrayBlobAdapter.mutate(await fromContext);
|
|
3602
3611
|
};
|
|
3603
3612
|
var init_collect_stream_body = __esm(() => {
|
|
3604
|
-
|
|
3613
|
+
init_dist_es28();
|
|
3605
3614
|
});
|
|
3606
3615
|
|
|
3607
3616
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/command.js
|
|
3608
3617
|
var init_command3 = __esm(() => {
|
|
3609
|
-
|
|
3610
|
-
|
|
3618
|
+
init_dist_es24();
|
|
3619
|
+
init_dist_es9();
|
|
3611
3620
|
});
|
|
3612
3621
|
|
|
3613
3622
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/constants.js
|
|
@@ -3703,7 +3712,7 @@ var init_emitWarningIfUnsupportedVersion = () => {};
|
|
|
3703
3712
|
|
|
3704
3713
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
|
|
3705
3714
|
var init_checksum5 = __esm(() => {
|
|
3706
|
-
|
|
3715
|
+
init_dist_es9();
|
|
3707
3716
|
});
|
|
3708
3717
|
|
|
3709
3718
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js
|
|
@@ -3842,7 +3851,7 @@ var init_serde_json = () => {};
|
|
|
3842
3851
|
var init_split_every = () => {};
|
|
3843
3852
|
|
|
3844
3853
|
// node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/index.js
|
|
3845
|
-
var
|
|
3854
|
+
var init_dist_es29 = __esm(() => {
|
|
3846
3855
|
init_NoOpLogger();
|
|
3847
3856
|
init_client4();
|
|
3848
3857
|
init_collect_stream_body();
|
|
@@ -3867,882 +3876,89 @@ var init_dist_es25 = __esm(() => {
|
|
|
3867
3876
|
init_split_every();
|
|
3868
3877
|
});
|
|
3869
3878
|
|
|
3870
|
-
// node_modules/.bun/@aws-sdk+
|
|
3871
|
-
function
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
}
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
|
|
3886
|
-
var import_protocol_http4, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
|
|
3887
|
-
const { request } = args;
|
|
3888
|
-
if (!import_protocol_http4.HttpRequest.isInstance(request))
|
|
3889
|
-
return next(args);
|
|
3890
|
-
return options.eventStreamPayloadHandler.handle(next, args, context);
|
|
3891
|
-
}, eventStreamHandlingMiddlewareOptions;
|
|
3892
|
-
var init_eventStreamHandlingMiddleware = __esm(() => {
|
|
3893
|
-
import_protocol_http4 = __toESM(require_dist_cjs5(), 1);
|
|
3894
|
-
eventStreamHandlingMiddlewareOptions = {
|
|
3895
|
-
tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
|
|
3896
|
-
name: "eventStreamHandlingMiddleware",
|
|
3897
|
-
relation: "after",
|
|
3898
|
-
toMiddleware: "awsAuthMiddleware",
|
|
3899
|
-
override: true
|
|
3879
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
|
|
3880
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
3881
|
+
return {
|
|
3882
|
+
schemeId: "aws.auth#sigv4",
|
|
3883
|
+
signingProperties: {
|
|
3884
|
+
name: "bedrock",
|
|
3885
|
+
region: authParameters.region
|
|
3886
|
+
},
|
|
3887
|
+
propertiesExtractor: (config3, context) => ({
|
|
3888
|
+
signingProperties: {
|
|
3889
|
+
config: config3,
|
|
3890
|
+
context
|
|
3891
|
+
}
|
|
3892
|
+
})
|
|
3900
3893
|
};
|
|
3901
|
-
}
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3894
|
+
}
|
|
3895
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
3896
|
+
return {
|
|
3897
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
3898
|
+
propertiesExtractor: ({ profile: profile3, filepath, configFilepath, ignoreCache }, context) => ({
|
|
3899
|
+
identityProperties: {
|
|
3900
|
+
profile: profile3,
|
|
3901
|
+
filepath,
|
|
3902
|
+
configFilepath,
|
|
3903
|
+
ignoreCache
|
|
3904
|
+
}
|
|
3905
|
+
})
|
|
3912
3906
|
};
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
eventStreamHeaderMiddlewareOptions = {
|
|
3921
|
-
step: "build",
|
|
3922
|
-
tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
|
|
3923
|
-
name: "eventStreamHeaderMiddleware",
|
|
3924
|
-
override: true
|
|
3907
|
+
}
|
|
3908
|
+
var import_httpAuthSchemes, import_core, import_util_middleware2, defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config3, context, input) => {
|
|
3909
|
+
return {
|
|
3910
|
+
operation: import_util_middleware2.getSmithyContext(context).operation,
|
|
3911
|
+
region: await import_util_middleware2.normalizeProvider(config3.region)() || (() => {
|
|
3912
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
3913
|
+
})()
|
|
3925
3914
|
};
|
|
3926
|
-
})
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3915
|
+
}, defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
3916
|
+
const options = [];
|
|
3917
|
+
switch (authParameters.operation) {
|
|
3918
|
+
default: {
|
|
3919
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
3920
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
3921
|
+
}
|
|
3933
3922
|
}
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3923
|
+
return options;
|
|
3924
|
+
}, resolveHttpAuthSchemeConfig = (config3) => {
|
|
3925
|
+
const token = import_core.memoizeIdentityProvider(config3.token, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
|
|
3926
|
+
const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config3);
|
|
3927
|
+
return Object.assign(config_0, {
|
|
3928
|
+
authSchemePreference: import_util_middleware2.normalizeProvider(config3.authSchemePreference ?? []),
|
|
3929
|
+
token
|
|
3930
|
+
});
|
|
3931
|
+
};
|
|
3932
|
+
var init_httpAuthSchemeProvider = __esm(() => {
|
|
3933
|
+
import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
3934
|
+
import_core = __toESM(require_dist_cjs12(), 1);
|
|
3935
|
+
import_util_middleware2 = __toESM(require_dist_cjs7(), 1);
|
|
3938
3936
|
});
|
|
3939
3937
|
|
|
3940
|
-
// node_modules/.bun/@aws-sdk+
|
|
3941
|
-
var
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3938
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
|
|
3939
|
+
var resolveClientEndpointParameters = (options) => {
|
|
3940
|
+
return Object.assign(options, {
|
|
3941
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
3942
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
3943
|
+
defaultSigningName: "bedrock"
|
|
3944
|
+
});
|
|
3945
|
+
}, commonParams;
|
|
3946
|
+
var init_EndpointParameters = __esm(() => {
|
|
3947
|
+
commonParams = {
|
|
3948
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
3949
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
3950
|
+
Region: { type: "builtInParams", name: "region" },
|
|
3951
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
3952
|
+
};
|
|
3946
3953
|
});
|
|
3947
3954
|
|
|
3948
|
-
// node_modules/.bun/@
|
|
3949
|
-
class Int644 {
|
|
3950
|
-
bytes;
|
|
3951
|
-
constructor(bytes) {
|
|
3952
|
-
this.bytes = bytes;
|
|
3953
|
-
if (bytes.byteLength !== 8) {
|
|
3954
|
-
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
3955
|
-
}
|
|
3956
|
-
}
|
|
3957
|
-
static fromNumber(number) {
|
|
3958
|
-
if (number > 9223372036854776000 || number < -9223372036854776000) {
|
|
3959
|
-
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
3960
|
-
}
|
|
3961
|
-
const bytes = new Uint8Array(8);
|
|
3962
|
-
for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
|
|
3963
|
-
bytes[i] = remaining;
|
|
3964
|
-
}
|
|
3965
|
-
if (number < 0) {
|
|
3966
|
-
negate3(bytes);
|
|
3967
|
-
}
|
|
3968
|
-
return new Int644(bytes);
|
|
3969
|
-
}
|
|
3970
|
-
valueOf() {
|
|
3971
|
-
const bytes = this.bytes.slice(0);
|
|
3972
|
-
const negative = bytes[0] & 128;
|
|
3973
|
-
if (negative) {
|
|
3974
|
-
negate3(bytes);
|
|
3975
|
-
}
|
|
3976
|
-
return parseInt(import_util_hex_encoding7.toHex(bytes), 16) * (negative ? -1 : 1);
|
|
3977
|
-
}
|
|
3978
|
-
toString() {
|
|
3979
|
-
return String(this.valueOf());
|
|
3980
|
-
}
|
|
3981
|
-
}
|
|
3982
|
-
function negate3(bytes) {
|
|
3983
|
-
for (let i = 0;i < 8; i++) {
|
|
3984
|
-
bytes[i] ^= 255;
|
|
3985
|
-
}
|
|
3986
|
-
for (let i = 7;i > -1; i--) {
|
|
3987
|
-
bytes[i]++;
|
|
3988
|
-
if (bytes[i] !== 0)
|
|
3989
|
-
break;
|
|
3990
|
-
}
|
|
3991
|
-
}
|
|
3992
|
-
var import_util_hex_encoding7;
|
|
3993
|
-
var init_Int642 = __esm(() => {
|
|
3994
|
-
import_util_hex_encoding7 = __toESM(require_dist_cjs3(), 1);
|
|
3995
|
-
});
|
|
3996
|
-
|
|
3997
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
3998
|
-
class HeaderMarshaller3 {
|
|
3999
|
-
toUtf8;
|
|
4000
|
-
fromUtf8;
|
|
4001
|
-
constructor(toUtf83, fromUtf84) {
|
|
4002
|
-
this.toUtf8 = toUtf83;
|
|
4003
|
-
this.fromUtf8 = fromUtf84;
|
|
4004
|
-
}
|
|
4005
|
-
format(headers) {
|
|
4006
|
-
const chunks = [];
|
|
4007
|
-
for (const headerName of Object.keys(headers)) {
|
|
4008
|
-
const bytes = this.fromUtf8(headerName);
|
|
4009
|
-
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
4010
|
-
}
|
|
4011
|
-
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
4012
|
-
let position = 0;
|
|
4013
|
-
for (const chunk of chunks) {
|
|
4014
|
-
out.set(chunk, position);
|
|
4015
|
-
position += chunk.byteLength;
|
|
4016
|
-
}
|
|
4017
|
-
return out;
|
|
4018
|
-
}
|
|
4019
|
-
formatHeaderValue(header) {
|
|
4020
|
-
switch (header.type) {
|
|
4021
|
-
case "boolean":
|
|
4022
|
-
return Uint8Array.from([header.value ? 0 : 1]);
|
|
4023
|
-
case "byte":
|
|
4024
|
-
return Uint8Array.from([2, header.value]);
|
|
4025
|
-
case "short":
|
|
4026
|
-
const shortView = new DataView(new ArrayBuffer(3));
|
|
4027
|
-
shortView.setUint8(0, 3);
|
|
4028
|
-
shortView.setInt16(1, header.value, false);
|
|
4029
|
-
return new Uint8Array(shortView.buffer);
|
|
4030
|
-
case "integer":
|
|
4031
|
-
const intView = new DataView(new ArrayBuffer(5));
|
|
4032
|
-
intView.setUint8(0, 4);
|
|
4033
|
-
intView.setInt32(1, header.value, false);
|
|
4034
|
-
return new Uint8Array(intView.buffer);
|
|
4035
|
-
case "long":
|
|
4036
|
-
const longBytes = new Uint8Array(9);
|
|
4037
|
-
longBytes[0] = 5;
|
|
4038
|
-
longBytes.set(header.value.bytes, 1);
|
|
4039
|
-
return longBytes;
|
|
4040
|
-
case "binary":
|
|
4041
|
-
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
4042
|
-
binView.setUint8(0, 6);
|
|
4043
|
-
binView.setUint16(1, header.value.byteLength, false);
|
|
4044
|
-
const binBytes = new Uint8Array(binView.buffer);
|
|
4045
|
-
binBytes.set(header.value, 3);
|
|
4046
|
-
return binBytes;
|
|
4047
|
-
case "string":
|
|
4048
|
-
const utf8Bytes = this.fromUtf8(header.value);
|
|
4049
|
-
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
4050
|
-
strView.setUint8(0, 7);
|
|
4051
|
-
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
4052
|
-
const strBytes = new Uint8Array(strView.buffer);
|
|
4053
|
-
strBytes.set(utf8Bytes, 3);
|
|
4054
|
-
return strBytes;
|
|
4055
|
-
case "timestamp":
|
|
4056
|
-
const tsBytes = new Uint8Array(9);
|
|
4057
|
-
tsBytes[0] = 8;
|
|
4058
|
-
tsBytes.set(Int644.fromNumber(header.value.valueOf()).bytes, 1);
|
|
4059
|
-
return tsBytes;
|
|
4060
|
-
case "uuid":
|
|
4061
|
-
if (!UUID_PATTERN3.test(header.value)) {
|
|
4062
|
-
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
4063
|
-
}
|
|
4064
|
-
const uuidBytes = new Uint8Array(17);
|
|
4065
|
-
uuidBytes[0] = 9;
|
|
4066
|
-
uuidBytes.set(import_util_hex_encoding8.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
4067
|
-
return uuidBytes;
|
|
4068
|
-
}
|
|
4069
|
-
}
|
|
4070
|
-
parse(headers) {
|
|
4071
|
-
const out = {};
|
|
4072
|
-
let position = 0;
|
|
4073
|
-
while (position < headers.byteLength) {
|
|
4074
|
-
const nameLength = headers.getUint8(position++);
|
|
4075
|
-
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
4076
|
-
position += nameLength;
|
|
4077
|
-
switch (headers.getUint8(position++)) {
|
|
4078
|
-
case 0:
|
|
4079
|
-
out[name] = {
|
|
4080
|
-
type: BOOLEAN_TAG2,
|
|
4081
|
-
value: true
|
|
4082
|
-
};
|
|
4083
|
-
break;
|
|
4084
|
-
case 1:
|
|
4085
|
-
out[name] = {
|
|
4086
|
-
type: BOOLEAN_TAG2,
|
|
4087
|
-
value: false
|
|
4088
|
-
};
|
|
4089
|
-
break;
|
|
4090
|
-
case 2:
|
|
4091
|
-
out[name] = {
|
|
4092
|
-
type: BYTE_TAG2,
|
|
4093
|
-
value: headers.getInt8(position++)
|
|
4094
|
-
};
|
|
4095
|
-
break;
|
|
4096
|
-
case 3:
|
|
4097
|
-
out[name] = {
|
|
4098
|
-
type: SHORT_TAG2,
|
|
4099
|
-
value: headers.getInt16(position, false)
|
|
4100
|
-
};
|
|
4101
|
-
position += 2;
|
|
4102
|
-
break;
|
|
4103
|
-
case 4:
|
|
4104
|
-
out[name] = {
|
|
4105
|
-
type: INT_TAG2,
|
|
4106
|
-
value: headers.getInt32(position, false)
|
|
4107
|
-
};
|
|
4108
|
-
position += 4;
|
|
4109
|
-
break;
|
|
4110
|
-
case 5:
|
|
4111
|
-
out[name] = {
|
|
4112
|
-
type: LONG_TAG2,
|
|
4113
|
-
value: new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
4114
|
-
};
|
|
4115
|
-
position += 8;
|
|
4116
|
-
break;
|
|
4117
|
-
case 6:
|
|
4118
|
-
const binaryLength = headers.getUint16(position, false);
|
|
4119
|
-
position += 2;
|
|
4120
|
-
out[name] = {
|
|
4121
|
-
type: BINARY_TAG2,
|
|
4122
|
-
value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
|
|
4123
|
-
};
|
|
4124
|
-
position += binaryLength;
|
|
4125
|
-
break;
|
|
4126
|
-
case 7:
|
|
4127
|
-
const stringLength = headers.getUint16(position, false);
|
|
4128
|
-
position += 2;
|
|
4129
|
-
out[name] = {
|
|
4130
|
-
type: STRING_TAG2,
|
|
4131
|
-
value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
|
|
4132
|
-
};
|
|
4133
|
-
position += stringLength;
|
|
4134
|
-
break;
|
|
4135
|
-
case 8:
|
|
4136
|
-
out[name] = {
|
|
4137
|
-
type: TIMESTAMP_TAG2,
|
|
4138
|
-
value: new Date(new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
4139
|
-
};
|
|
4140
|
-
position += 8;
|
|
4141
|
-
break;
|
|
4142
|
-
case 9:
|
|
4143
|
-
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
4144
|
-
position += 16;
|
|
4145
|
-
out[name] = {
|
|
4146
|
-
type: UUID_TAG2,
|
|
4147
|
-
value: `${import_util_hex_encoding8.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(10))}`
|
|
4148
|
-
};
|
|
4149
|
-
break;
|
|
4150
|
-
default:
|
|
4151
|
-
throw new Error(`Unrecognized header type tag`);
|
|
4152
|
-
}
|
|
4153
|
-
}
|
|
4154
|
-
return out;
|
|
4155
|
-
}
|
|
4156
|
-
}
|
|
4157
|
-
var import_util_hex_encoding8, HEADER_VALUE_TYPE3, BOOLEAN_TAG2 = "boolean", BYTE_TAG2 = "byte", SHORT_TAG2 = "short", INT_TAG2 = "integer", LONG_TAG2 = "long", BINARY_TAG2 = "binary", STRING_TAG2 = "string", TIMESTAMP_TAG2 = "timestamp", UUID_TAG2 = "uuid", UUID_PATTERN3;
|
|
4158
|
-
var init_HeaderMarshaller2 = __esm(() => {
|
|
4159
|
-
init_Int642();
|
|
4160
|
-
import_util_hex_encoding8 = __toESM(require_dist_cjs3(), 1);
|
|
4161
|
-
(function(HEADER_VALUE_TYPE4) {
|
|
4162
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolTrue"] = 0] = "boolTrue";
|
|
4163
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolFalse"] = 1] = "boolFalse";
|
|
4164
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byte"] = 2] = "byte";
|
|
4165
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["short"] = 3] = "short";
|
|
4166
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["integer"] = 4] = "integer";
|
|
4167
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["long"] = 5] = "long";
|
|
4168
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byteArray"] = 6] = "byteArray";
|
|
4169
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["string"] = 7] = "string";
|
|
4170
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["timestamp"] = 8] = "timestamp";
|
|
4171
|
-
HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["uuid"] = 9] = "uuid";
|
|
4172
|
-
})(HEADER_VALUE_TYPE3 || (HEADER_VALUE_TYPE3 = {}));
|
|
4173
|
-
UUID_PATTERN3 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
4174
|
-
});
|
|
4175
|
-
|
|
4176
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
4177
|
-
function splitMessage2({ byteLength, byteOffset, buffer }) {
|
|
4178
|
-
if (byteLength < MINIMUM_MESSAGE_LENGTH2) {
|
|
4179
|
-
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
4180
|
-
}
|
|
4181
|
-
const view = new DataView(buffer, byteOffset, byteLength);
|
|
4182
|
-
const messageLength = view.getUint32(0, false);
|
|
4183
|
-
if (byteLength !== messageLength) {
|
|
4184
|
-
throw new Error("Reported message length does not match received message length");
|
|
4185
|
-
}
|
|
4186
|
-
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH2, false);
|
|
4187
|
-
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH2, false);
|
|
4188
|
-
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH2, false);
|
|
4189
|
-
const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH2));
|
|
4190
|
-
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
4191
|
-
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
4192
|
-
}
|
|
4193
|
-
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2, byteLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2)));
|
|
4194
|
-
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
4195
|
-
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
4196
|
-
}
|
|
4197
|
-
return {
|
|
4198
|
-
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2, headerLength),
|
|
4199
|
-
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + headerLength, messageLength - headerLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + CHECKSUM_LENGTH2))
|
|
4200
|
-
};
|
|
4201
|
-
}
|
|
4202
|
-
var PRELUDE_MEMBER_LENGTH2 = 4, PRELUDE_LENGTH2, CHECKSUM_LENGTH2 = 4, MINIMUM_MESSAGE_LENGTH2;
|
|
4203
|
-
var init_splitMessage2 = __esm(() => {
|
|
4204
|
-
init_module();
|
|
4205
|
-
PRELUDE_LENGTH2 = PRELUDE_MEMBER_LENGTH2 * 2;
|
|
4206
|
-
MINIMUM_MESSAGE_LENGTH2 = PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 * 2;
|
|
4207
|
-
});
|
|
4208
|
-
|
|
4209
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
4210
|
-
class EventStreamCodec3 {
|
|
4211
|
-
headerMarshaller;
|
|
4212
|
-
messageBuffer;
|
|
4213
|
-
isEndOfStream;
|
|
4214
|
-
constructor(toUtf83, fromUtf84) {
|
|
4215
|
-
this.headerMarshaller = new HeaderMarshaller3(toUtf83, fromUtf84);
|
|
4216
|
-
this.messageBuffer = [];
|
|
4217
|
-
this.isEndOfStream = false;
|
|
4218
|
-
}
|
|
4219
|
-
feed(message) {
|
|
4220
|
-
this.messageBuffer.push(this.decode(message));
|
|
4221
|
-
}
|
|
4222
|
-
endOfStream() {
|
|
4223
|
-
this.isEndOfStream = true;
|
|
4224
|
-
}
|
|
4225
|
-
getMessage() {
|
|
4226
|
-
const message = this.messageBuffer.pop();
|
|
4227
|
-
const isEndOfStream = this.isEndOfStream;
|
|
4228
|
-
return {
|
|
4229
|
-
getMessage() {
|
|
4230
|
-
return message;
|
|
4231
|
-
},
|
|
4232
|
-
isEndOfStream() {
|
|
4233
|
-
return isEndOfStream;
|
|
4234
|
-
}
|
|
4235
|
-
};
|
|
4236
|
-
}
|
|
4237
|
-
getAvailableMessages() {
|
|
4238
|
-
const messages = this.messageBuffer;
|
|
4239
|
-
this.messageBuffer = [];
|
|
4240
|
-
const isEndOfStream = this.isEndOfStream;
|
|
4241
|
-
return {
|
|
4242
|
-
getMessages() {
|
|
4243
|
-
return messages;
|
|
4244
|
-
},
|
|
4245
|
-
isEndOfStream() {
|
|
4246
|
-
return isEndOfStream;
|
|
4247
|
-
}
|
|
4248
|
-
};
|
|
4249
|
-
}
|
|
4250
|
-
encode({ headers: rawHeaders, body }) {
|
|
4251
|
-
const headers = this.headerMarshaller.format(rawHeaders);
|
|
4252
|
-
const length = headers.byteLength + body.byteLength + 16;
|
|
4253
|
-
const out = new Uint8Array(length);
|
|
4254
|
-
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
4255
|
-
const checksum3 = new Crc32;
|
|
4256
|
-
view.setUint32(0, length, false);
|
|
4257
|
-
view.setUint32(4, headers.byteLength, false);
|
|
4258
|
-
view.setUint32(8, checksum3.update(out.subarray(0, 8)).digest(), false);
|
|
4259
|
-
out.set(headers, 12);
|
|
4260
|
-
out.set(body, headers.byteLength + 12);
|
|
4261
|
-
view.setUint32(length - 4, checksum3.update(out.subarray(8, length - 4)).digest(), false);
|
|
4262
|
-
return out;
|
|
4263
|
-
}
|
|
4264
|
-
decode(message) {
|
|
4265
|
-
const { headers, body } = splitMessage2(message);
|
|
4266
|
-
return { headers: this.headerMarshaller.parse(headers), body };
|
|
4267
|
-
}
|
|
4268
|
-
formatHeaders(rawHeaders) {
|
|
4269
|
-
return this.headerMarshaller.format(rawHeaders);
|
|
4270
|
-
}
|
|
4271
|
-
}
|
|
4272
|
-
var init_EventStreamCodec2 = __esm(() => {
|
|
4273
|
-
init_module();
|
|
4274
|
-
init_HeaderMarshaller2();
|
|
4275
|
-
init_splitMessage2();
|
|
4276
|
-
});
|
|
4277
|
-
|
|
4278
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/Message.js
|
|
4279
|
-
var init_Message2 = () => {};
|
|
4280
|
-
|
|
4281
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
4282
|
-
var MessageDecoderStream3;
|
|
4283
|
-
var init_MessageDecoderStream2 = __esm(() => {
|
|
4284
|
-
MessageDecoderStream3 = class MessageDecoderStream3 {
|
|
4285
|
-
options;
|
|
4286
|
-
constructor(options) {
|
|
4287
|
-
this.options = options;
|
|
4288
|
-
}
|
|
4289
|
-
[Symbol.asyncIterator]() {
|
|
4290
|
-
return this.asyncIterator();
|
|
4291
|
-
}
|
|
4292
|
-
async* asyncIterator() {
|
|
4293
|
-
for await (const bytes of this.options.inputStream) {
|
|
4294
|
-
const decoded = this.options.decoder.decode(bytes);
|
|
4295
|
-
yield decoded;
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
};
|
|
4299
|
-
});
|
|
4300
|
-
|
|
4301
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
4302
|
-
var MessageEncoderStream3;
|
|
4303
|
-
var init_MessageEncoderStream2 = __esm(() => {
|
|
4304
|
-
MessageEncoderStream3 = class MessageEncoderStream3 {
|
|
4305
|
-
options;
|
|
4306
|
-
constructor(options) {
|
|
4307
|
-
this.options = options;
|
|
4308
|
-
}
|
|
4309
|
-
[Symbol.asyncIterator]() {
|
|
4310
|
-
return this.asyncIterator();
|
|
4311
|
-
}
|
|
4312
|
-
async* asyncIterator() {
|
|
4313
|
-
for await (const msg of this.options.messageStream) {
|
|
4314
|
-
const encoded = this.options.encoder.encode(msg);
|
|
4315
|
-
yield encoded;
|
|
4316
|
-
}
|
|
4317
|
-
if (this.options.includeEndFrame) {
|
|
4318
|
-
yield new Uint8Array(0);
|
|
4319
|
-
}
|
|
4320
|
-
}
|
|
4321
|
-
};
|
|
4322
|
-
});
|
|
4323
|
-
|
|
4324
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
4325
|
-
var SmithyMessageDecoderStream3;
|
|
4326
|
-
var init_SmithyMessageDecoderStream2 = __esm(() => {
|
|
4327
|
-
SmithyMessageDecoderStream3 = class SmithyMessageDecoderStream3 {
|
|
4328
|
-
options;
|
|
4329
|
-
constructor(options) {
|
|
4330
|
-
this.options = options;
|
|
4331
|
-
}
|
|
4332
|
-
[Symbol.asyncIterator]() {
|
|
4333
|
-
return this.asyncIterator();
|
|
4334
|
-
}
|
|
4335
|
-
async* asyncIterator() {
|
|
4336
|
-
for await (const message of this.options.messageStream) {
|
|
4337
|
-
const deserialized = await this.options.deserializer(message);
|
|
4338
|
-
if (deserialized === undefined)
|
|
4339
|
-
continue;
|
|
4340
|
-
yield deserialized;
|
|
4341
|
-
}
|
|
4342
|
-
}
|
|
4343
|
-
};
|
|
4344
|
-
});
|
|
4345
|
-
|
|
4346
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
4347
|
-
var SmithyMessageEncoderStream3;
|
|
4348
|
-
var init_SmithyMessageEncoderStream2 = __esm(() => {
|
|
4349
|
-
SmithyMessageEncoderStream3 = class SmithyMessageEncoderStream3 {
|
|
4350
|
-
options;
|
|
4351
|
-
constructor(options) {
|
|
4352
|
-
this.options = options;
|
|
4353
|
-
}
|
|
4354
|
-
[Symbol.asyncIterator]() {
|
|
4355
|
-
return this.asyncIterator();
|
|
4356
|
-
}
|
|
4357
|
-
async* asyncIterator() {
|
|
4358
|
-
for await (const chunk of this.options.inputStream) {
|
|
4359
|
-
const payloadBuf = this.options.serializer(chunk);
|
|
4360
|
-
yield payloadBuf;
|
|
4361
|
-
}
|
|
4362
|
-
}
|
|
4363
|
-
};
|
|
4364
|
-
});
|
|
4365
|
-
|
|
4366
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/index.js
|
|
4367
|
-
var init_dist_es27 = __esm(() => {
|
|
4368
|
-
init_EventStreamCodec2();
|
|
4369
|
-
init_HeaderMarshaller2();
|
|
4370
|
-
init_Int642();
|
|
4371
|
-
init_Message2();
|
|
4372
|
-
init_MessageDecoderStream2();
|
|
4373
|
-
init_MessageEncoderStream2();
|
|
4374
|
-
init_SmithyMessageDecoderStream2();
|
|
4375
|
-
init_SmithyMessageEncoderStream2();
|
|
4376
|
-
});
|
|
4377
|
-
|
|
4378
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
4379
|
-
function getChunkedStream2(source) {
|
|
4380
|
-
let currentMessageTotalLength = 0;
|
|
4381
|
-
let currentMessagePendingLength = 0;
|
|
4382
|
-
let currentMessage = null;
|
|
4383
|
-
let messageLengthBuffer = null;
|
|
4384
|
-
const allocateMessage = (size) => {
|
|
4385
|
-
if (typeof size !== "number") {
|
|
4386
|
-
throw new Error("Attempted to allocate an event message where size was not a number: " + size);
|
|
4387
|
-
}
|
|
4388
|
-
currentMessageTotalLength = size;
|
|
4389
|
-
currentMessagePendingLength = 4;
|
|
4390
|
-
currentMessage = new Uint8Array(size);
|
|
4391
|
-
const currentMessageView = new DataView(currentMessage.buffer);
|
|
4392
|
-
currentMessageView.setUint32(0, size, false);
|
|
4393
|
-
};
|
|
4394
|
-
const iterator = async function* () {
|
|
4395
|
-
const sourceIterator = source[Symbol.asyncIterator]();
|
|
4396
|
-
while (true) {
|
|
4397
|
-
const { value, done } = await sourceIterator.next();
|
|
4398
|
-
if (done) {
|
|
4399
|
-
if (!currentMessageTotalLength) {
|
|
4400
|
-
return;
|
|
4401
|
-
} else if (currentMessageTotalLength === currentMessagePendingLength) {
|
|
4402
|
-
yield currentMessage;
|
|
4403
|
-
} else {
|
|
4404
|
-
throw new Error("Truncated event message received.");
|
|
4405
|
-
}
|
|
4406
|
-
return;
|
|
4407
|
-
}
|
|
4408
|
-
const chunkLength = value.length;
|
|
4409
|
-
let currentOffset = 0;
|
|
4410
|
-
while (currentOffset < chunkLength) {
|
|
4411
|
-
if (!currentMessage) {
|
|
4412
|
-
const bytesRemaining = chunkLength - currentOffset;
|
|
4413
|
-
if (!messageLengthBuffer) {
|
|
4414
|
-
messageLengthBuffer = new Uint8Array(4);
|
|
4415
|
-
}
|
|
4416
|
-
const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
|
|
4417
|
-
messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
|
|
4418
|
-
currentMessagePendingLength += numBytesForTotal;
|
|
4419
|
-
currentOffset += numBytesForTotal;
|
|
4420
|
-
if (currentMessagePendingLength < 4) {
|
|
4421
|
-
break;
|
|
4422
|
-
}
|
|
4423
|
-
allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
|
|
4424
|
-
messageLengthBuffer = null;
|
|
4425
|
-
}
|
|
4426
|
-
const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
|
|
4427
|
-
currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
|
|
4428
|
-
currentMessagePendingLength += numBytesToWrite;
|
|
4429
|
-
currentOffset += numBytesToWrite;
|
|
4430
|
-
if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
|
|
4431
|
-
yield currentMessage;
|
|
4432
|
-
currentMessage = null;
|
|
4433
|
-
currentMessageTotalLength = 0;
|
|
4434
|
-
currentMessagePendingLength = 0;
|
|
4435
|
-
}
|
|
4436
|
-
}
|
|
4437
|
-
}
|
|
4438
|
-
};
|
|
4439
|
-
return {
|
|
4440
|
-
[Symbol.asyncIterator]: iterator
|
|
4441
|
-
};
|
|
4442
|
-
}
|
|
4443
|
-
var init_getChunkedStream2 = () => {};
|
|
4444
|
-
|
|
4445
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
|
|
4446
|
-
function getMessageUnmarshaller2(deserializer, toUtf83) {
|
|
4447
|
-
return async function(message) {
|
|
4448
|
-
const { value: messageType } = message.headers[":message-type"];
|
|
4449
|
-
if (messageType === "error") {
|
|
4450
|
-
const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
|
|
4451
|
-
unmodeledError.name = message.headers[":error-code"].value;
|
|
4452
|
-
throw unmodeledError;
|
|
4453
|
-
} else if (messageType === "exception") {
|
|
4454
|
-
const code = message.headers[":exception-type"].value;
|
|
4455
|
-
const exception = { [code]: message };
|
|
4456
|
-
const deserializedException = await deserializer(exception);
|
|
4457
|
-
if (deserializedException.$unknown) {
|
|
4458
|
-
const error = new Error(toUtf83(message.body));
|
|
4459
|
-
error.name = code;
|
|
4460
|
-
throw error;
|
|
4461
|
-
}
|
|
4462
|
-
throw deserializedException[code];
|
|
4463
|
-
} else if (messageType === "event") {
|
|
4464
|
-
const event = {
|
|
4465
|
-
[message.headers[":event-type"].value]: message
|
|
4466
|
-
};
|
|
4467
|
-
const deserialized = await deserializer(event);
|
|
4468
|
-
if (deserialized.$unknown)
|
|
4469
|
-
return;
|
|
4470
|
-
return deserialized;
|
|
4471
|
-
} else {
|
|
4472
|
-
throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
|
|
4473
|
-
}
|
|
4474
|
-
};
|
|
4475
|
-
}
|
|
4476
|
-
var init_getUnmarshalledStream2 = () => {};
|
|
4477
|
-
|
|
4478
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
|
|
4479
|
-
class EventStreamMarshaller5 {
|
|
4480
|
-
eventStreamCodec;
|
|
4481
|
-
utfEncoder;
|
|
4482
|
-
constructor({ utf8Encoder, utf8Decoder }) {
|
|
4483
|
-
this.eventStreamCodec = new EventStreamCodec3(utf8Encoder, utf8Decoder);
|
|
4484
|
-
this.utfEncoder = utf8Encoder;
|
|
4485
|
-
}
|
|
4486
|
-
deserialize(body, deserializer) {
|
|
4487
|
-
const inputStream = getChunkedStream2(body);
|
|
4488
|
-
return new SmithyMessageDecoderStream3({
|
|
4489
|
-
messageStream: new MessageDecoderStream3({ inputStream, decoder: this.eventStreamCodec }),
|
|
4490
|
-
deserializer: getMessageUnmarshaller2(deserializer, this.utfEncoder)
|
|
4491
|
-
});
|
|
4492
|
-
}
|
|
4493
|
-
serialize(inputStream, serializer) {
|
|
4494
|
-
return new MessageEncoderStream3({
|
|
4495
|
-
messageStream: new SmithyMessageEncoderStream3({ inputStream, serializer }),
|
|
4496
|
-
encoder: this.eventStreamCodec,
|
|
4497
|
-
includeEndFrame: true
|
|
4498
|
-
});
|
|
4499
|
-
}
|
|
4500
|
-
}
|
|
4501
|
-
var init_EventStreamMarshaller3 = __esm(() => {
|
|
4502
|
-
init_dist_es27();
|
|
4503
|
-
init_getChunkedStream2();
|
|
4504
|
-
init_getUnmarshalledStream2();
|
|
4505
|
-
});
|
|
4506
|
-
|
|
4507
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
|
|
4508
|
-
var init_provider3 = () => {};
|
|
4509
|
-
|
|
4510
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
|
|
4511
|
-
var init_dist_es28 = __esm(() => {
|
|
4512
|
-
init_EventStreamMarshaller3();
|
|
4513
|
-
init_provider3();
|
|
4514
|
-
});
|
|
4515
|
-
|
|
4516
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
|
|
4517
|
-
var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
|
|
4518
|
-
var init_utils2 = () => {};
|
|
4519
|
-
|
|
4520
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
|
|
4521
|
-
var init_WebSocketFetchHandler = () => {};
|
|
4522
|
-
|
|
4523
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
|
|
4524
|
-
var import_protocol_http6, websocketEndpointMiddleware = (config3, options) => (next) => (args) => {
|
|
4525
|
-
const { request } = args;
|
|
4526
|
-
if (import_protocol_http6.HttpRequest.isInstance(request) && config3.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
|
|
4527
|
-
request.protocol = "wss:";
|
|
4528
|
-
request.method = "GET";
|
|
4529
|
-
request.path = `${request.path}-websocket`;
|
|
4530
|
-
const { headers } = request;
|
|
4531
|
-
delete headers["content-type"];
|
|
4532
|
-
delete headers["x-amz-content-sha256"];
|
|
4533
|
-
for (const name of Object.keys(headers)) {
|
|
4534
|
-
if (name.indexOf(options.headerPrefix) === 0) {
|
|
4535
|
-
const chunkedName = name.replace(options.headerPrefix, "");
|
|
4536
|
-
request.query[chunkedName] = headers[name];
|
|
4537
|
-
}
|
|
4538
|
-
}
|
|
4539
|
-
if (headers["x-amz-user-agent"]) {
|
|
4540
|
-
request.query["user-agent"] = headers["x-amz-user-agent"];
|
|
4541
|
-
}
|
|
4542
|
-
request.headers = { host: headers.host ?? request.hostname };
|
|
4543
|
-
}
|
|
4544
|
-
return next(args);
|
|
4545
|
-
}, websocketEndpointMiddlewareOptions;
|
|
4546
|
-
var init_websocketEndpointMiddleware = __esm(() => {
|
|
4547
|
-
import_protocol_http6 = __toESM(require_dist_cjs5(), 1);
|
|
4548
|
-
websocketEndpointMiddlewareOptions = {
|
|
4549
|
-
name: "websocketEndpointMiddleware",
|
|
4550
|
-
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
4551
|
-
relation: "after",
|
|
4552
|
-
toMiddleware: "eventStreamHeaderMiddleware",
|
|
4553
|
-
override: true
|
|
4554
|
-
};
|
|
4555
|
-
});
|
|
4556
|
-
|
|
4557
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
|
|
4558
|
-
var injectSessionIdMiddleware = () => (next) => async (args) => {
|
|
4559
|
-
const requestParams = {
|
|
4560
|
-
...args.input
|
|
4561
|
-
};
|
|
4562
|
-
const response3 = await next(args);
|
|
4563
|
-
const output = response3.output;
|
|
4564
|
-
if (requestParams.SessionId && output.SessionId == null) {
|
|
4565
|
-
output.SessionId = requestParams.SessionId;
|
|
4566
|
-
}
|
|
4567
|
-
return response3;
|
|
4568
|
-
}, injectSessionIdMiddlewareOptions;
|
|
4569
|
-
var init_websocketInjectSessionIdMiddleware = __esm(() => {
|
|
4570
|
-
injectSessionIdMiddlewareOptions = {
|
|
4571
|
-
step: "initialize",
|
|
4572
|
-
name: "injectSessionIdMiddleware",
|
|
4573
|
-
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
4574
|
-
override: true
|
|
4575
|
-
};
|
|
4576
|
-
});
|
|
4577
|
-
|
|
4578
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
|
|
4579
|
-
var getWebSocketPlugin = (config3, options) => ({
|
|
4580
|
-
applyToStack: (clientStack) => {
|
|
4581
|
-
clientStack.addRelativeTo(websocketEndpointMiddleware(config3, options), websocketEndpointMiddlewareOptions);
|
|
4582
|
-
clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
|
|
4583
|
-
}
|
|
4584
|
-
});
|
|
4585
|
-
var init_getWebSocketPlugin = __esm(() => {
|
|
4586
|
-
init_websocketEndpointMiddleware();
|
|
4587
|
-
init_websocketInjectSessionIdMiddleware();
|
|
4588
|
-
});
|
|
4589
|
-
|
|
4590
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
|
|
4591
|
-
class WebsocketSignatureV4 {
|
|
4592
|
-
signer;
|
|
4593
|
-
constructor(options) {
|
|
4594
|
-
this.signer = options.signer;
|
|
4595
|
-
}
|
|
4596
|
-
presign(originalRequest, options = {}) {
|
|
4597
|
-
return this.signer.presign(originalRequest, options);
|
|
4598
|
-
}
|
|
4599
|
-
async sign(toSign, options) {
|
|
4600
|
-
if (import_protocol_http7.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
|
|
4601
|
-
const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
|
|
4602
|
-
...options,
|
|
4603
|
-
expiresIn: 60,
|
|
4604
|
-
unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
|
|
4605
|
-
});
|
|
4606
|
-
return {
|
|
4607
|
-
...signedRequest,
|
|
4608
|
-
body: toSign.body
|
|
4609
|
-
};
|
|
4610
|
-
} else {
|
|
4611
|
-
return this.signer.sign(toSign, options);
|
|
4612
|
-
}
|
|
4613
|
-
}
|
|
4614
|
-
signMessage(message, args) {
|
|
4615
|
-
return this.signer.signMessage(message, args);
|
|
4616
|
-
}
|
|
4617
|
-
}
|
|
4618
|
-
var import_protocol_http7;
|
|
4619
|
-
var init_WebsocketSignatureV4 = __esm(() => {
|
|
4620
|
-
init_utils2();
|
|
4621
|
-
import_protocol_http7 = __toESM(require_dist_cjs5(), 1);
|
|
4622
|
-
});
|
|
4623
|
-
|
|
4624
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
|
|
4625
|
-
var resolveWebSocketConfig = (input) => {
|
|
4626
|
-
const { signer } = input;
|
|
4627
|
-
return Object.assign(input, {
|
|
4628
|
-
signer: async (authScheme) => {
|
|
4629
|
-
const signerObj = await signer(authScheme);
|
|
4630
|
-
if (validateSigner(signerObj)) {
|
|
4631
|
-
return new WebsocketSignatureV4({ signer: signerObj });
|
|
4632
|
-
}
|
|
4633
|
-
throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
|
|
4634
|
-
}
|
|
4635
|
-
});
|
|
4636
|
-
}, validateSigner = (signer) => !!signer;
|
|
4637
|
-
var init_resolveWebSocketConfig = __esm(() => {
|
|
4638
|
-
init_WebsocketSignatureV4();
|
|
4639
|
-
});
|
|
4640
|
-
|
|
4641
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
|
|
4642
|
-
var init_eventStreamPayloadHandlerProvider = () => {};
|
|
4643
|
-
|
|
4644
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
|
|
4645
|
-
var init_dist_es29 = __esm(() => {
|
|
4646
|
-
init_WebSocketFetchHandler();
|
|
4647
|
-
init_getWebSocketPlugin();
|
|
4648
|
-
init_resolveWebSocketConfig();
|
|
4649
|
-
init_eventStreamPayloadHandlerProvider();
|
|
4650
|
-
});
|
|
4651
|
-
|
|
4652
|
-
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
|
|
4653
|
-
var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
|
|
4654
|
-
eventStreamMarshaller: input.eventStreamSerdeProvider(input)
|
|
4655
|
-
});
|
|
4656
|
-
var init_EventStreamSerdeConfig = () => {};
|
|
4657
|
-
|
|
4658
|
-
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
|
|
4659
|
-
var init_dist_es30 = __esm(() => {
|
|
4660
|
-
init_EventStreamSerdeConfig();
|
|
4661
|
-
});
|
|
4662
|
-
|
|
4663
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
|
|
4664
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
4665
|
-
return {
|
|
4666
|
-
schemeId: "aws.auth#sigv4",
|
|
4667
|
-
signingProperties: {
|
|
4668
|
-
name: "bedrock",
|
|
4669
|
-
region: authParameters.region
|
|
4670
|
-
},
|
|
4671
|
-
propertiesExtractor: (config3, context) => ({
|
|
4672
|
-
signingProperties: {
|
|
4673
|
-
config: config3,
|
|
4674
|
-
context
|
|
4675
|
-
}
|
|
4676
|
-
})
|
|
4677
|
-
};
|
|
4678
|
-
}
|
|
4679
|
-
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
4680
|
-
return {
|
|
4681
|
-
schemeId: "smithy.api#httpBearerAuth",
|
|
4682
|
-
propertiesExtractor: ({ profile: profile3, filepath, configFilepath, ignoreCache }, context) => ({
|
|
4683
|
-
identityProperties: {
|
|
4684
|
-
profile: profile3,
|
|
4685
|
-
filepath,
|
|
4686
|
-
configFilepath,
|
|
4687
|
-
ignoreCache
|
|
4688
|
-
}
|
|
4689
|
-
})
|
|
4690
|
-
};
|
|
4691
|
-
}
|
|
4692
|
-
var import_httpAuthSchemes, import_core, import_util_middleware2, defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config3, context, input) => {
|
|
4693
|
-
return {
|
|
4694
|
-
operation: import_util_middleware2.getSmithyContext(context).operation,
|
|
4695
|
-
region: await import_util_middleware2.normalizeProvider(config3.region)() || (() => {
|
|
4696
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
4697
|
-
})()
|
|
4698
|
-
};
|
|
4699
|
-
}, defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
4700
|
-
const options = [];
|
|
4701
|
-
switch (authParameters.operation) {
|
|
4702
|
-
default: {
|
|
4703
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
4704
|
-
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
4705
|
-
}
|
|
4706
|
-
}
|
|
4707
|
-
return options;
|
|
4708
|
-
}, resolveHttpAuthSchemeConfig = (config3) => {
|
|
4709
|
-
const token = import_core.memoizeIdentityProvider(config3.token, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
|
|
4710
|
-
const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config3);
|
|
4711
|
-
return Object.assign(config_0, {
|
|
4712
|
-
authSchemePreference: import_util_middleware2.normalizeProvider(config3.authSchemePreference ?? []),
|
|
4713
|
-
token
|
|
4714
|
-
});
|
|
4715
|
-
};
|
|
4716
|
-
var init_httpAuthSchemeProvider = __esm(() => {
|
|
4717
|
-
import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
4718
|
-
import_core = __toESM(require_dist_cjs13(), 1);
|
|
4719
|
-
import_util_middleware2 = __toESM(require_dist_cjs10(), 1);
|
|
4720
|
-
});
|
|
4721
|
-
|
|
4722
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
|
|
4723
|
-
var resolveClientEndpointParameters = (options) => {
|
|
4724
|
-
return Object.assign(options, {
|
|
4725
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
4726
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
4727
|
-
defaultSigningName: "bedrock"
|
|
4728
|
-
});
|
|
4729
|
-
}, commonParams;
|
|
4730
|
-
var init_EndpointParameters = __esm(() => {
|
|
4731
|
-
commonParams = {
|
|
4732
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
4733
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
4734
|
-
Region: { type: "builtInParams", name: "region" },
|
|
4735
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
4736
|
-
};
|
|
4737
|
-
});
|
|
4738
|
-
|
|
4739
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/package.json
|
|
3955
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/package.json
|
|
4740
3956
|
var package_default;
|
|
4741
3957
|
var init_package = __esm(() => {
|
|
4742
3958
|
package_default = {
|
|
4743
3959
|
name: "@aws-sdk/client-bedrock-runtime",
|
|
4744
3960
|
description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
|
|
4745
|
-
version: "3.
|
|
3961
|
+
version: "3.1030.0",
|
|
4746
3962
|
scripts: {
|
|
4747
3963
|
build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
4748
3964
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
|
|
@@ -4770,54 +3986,54 @@ var init_package = __esm(() => {
|
|
|
4770
3986
|
dependencies: {
|
|
4771
3987
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
4772
3988
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
4773
|
-
"@aws-sdk/core": "^3.973.
|
|
4774
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
4775
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
4776
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
4777
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
4778
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
4779
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
4780
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
4781
|
-
"@aws-sdk/middleware-websocket": "^3.972.
|
|
4782
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
4783
|
-
"@aws-sdk/token-providers": "3.
|
|
4784
|
-
"@aws-sdk/types": "^3.973.
|
|
4785
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
4786
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
4787
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
4788
|
-
"@smithy/config-resolver": "^4.4.
|
|
4789
|
-
"@smithy/core": "^3.23.
|
|
4790
|
-
"@smithy/eventstream-serde-browser": "^4.2.
|
|
4791
|
-
"@smithy/eventstream-serde-config-resolver": "^4.3.
|
|
4792
|
-
"@smithy/eventstream-serde-node": "^4.2.
|
|
4793
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
4794
|
-
"@smithy/hash-node": "^4.2.
|
|
4795
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
4796
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
4797
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
4798
|
-
"@smithy/middleware-retry": "^4.
|
|
4799
|
-
"@smithy/middleware-serde": "^4.2.
|
|
4800
|
-
"@smithy/middleware-stack": "^4.2.
|
|
4801
|
-
"@smithy/node-config-provider": "^4.3.
|
|
4802
|
-
"@smithy/node-http-handler": "^4.5.
|
|
4803
|
-
"@smithy/protocol-http": "^5.3.
|
|
4804
|
-
"@smithy/smithy-client": "^4.12.
|
|
4805
|
-
"@smithy/types": "^4.
|
|
4806
|
-
"@smithy/url-parser": "^4.2.
|
|
3989
|
+
"@aws-sdk/core": "^3.973.27",
|
|
3990
|
+
"@aws-sdk/credential-provider-node": "^3.972.30",
|
|
3991
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.13",
|
|
3992
|
+
"@aws-sdk/middleware-eventstream": "^3.972.9",
|
|
3993
|
+
"@aws-sdk/middleware-host-header": "^3.972.9",
|
|
3994
|
+
"@aws-sdk/middleware-logger": "^3.972.9",
|
|
3995
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.10",
|
|
3996
|
+
"@aws-sdk/middleware-user-agent": "^3.972.29",
|
|
3997
|
+
"@aws-sdk/middleware-websocket": "^3.972.15",
|
|
3998
|
+
"@aws-sdk/region-config-resolver": "^3.972.11",
|
|
3999
|
+
"@aws-sdk/token-providers": "3.1030.0",
|
|
4000
|
+
"@aws-sdk/types": "^3.973.7",
|
|
4001
|
+
"@aws-sdk/util-endpoints": "^3.996.6",
|
|
4002
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.9",
|
|
4003
|
+
"@aws-sdk/util-user-agent-node": "^3.973.15",
|
|
4004
|
+
"@smithy/config-resolver": "^4.4.14",
|
|
4005
|
+
"@smithy/core": "^3.23.14",
|
|
4006
|
+
"@smithy/eventstream-serde-browser": "^4.2.13",
|
|
4007
|
+
"@smithy/eventstream-serde-config-resolver": "^4.3.13",
|
|
4008
|
+
"@smithy/eventstream-serde-node": "^4.2.13",
|
|
4009
|
+
"@smithy/fetch-http-handler": "^5.3.16",
|
|
4010
|
+
"@smithy/hash-node": "^4.2.13",
|
|
4011
|
+
"@smithy/invalid-dependency": "^4.2.13",
|
|
4012
|
+
"@smithy/middleware-content-length": "^4.2.13",
|
|
4013
|
+
"@smithy/middleware-endpoint": "^4.4.29",
|
|
4014
|
+
"@smithy/middleware-retry": "^4.5.0",
|
|
4015
|
+
"@smithy/middleware-serde": "^4.2.17",
|
|
4016
|
+
"@smithy/middleware-stack": "^4.2.13",
|
|
4017
|
+
"@smithy/node-config-provider": "^4.3.13",
|
|
4018
|
+
"@smithy/node-http-handler": "^4.5.2",
|
|
4019
|
+
"@smithy/protocol-http": "^5.3.13",
|
|
4020
|
+
"@smithy/smithy-client": "^4.12.9",
|
|
4021
|
+
"@smithy/types": "^4.14.0",
|
|
4022
|
+
"@smithy/url-parser": "^4.2.13",
|
|
4807
4023
|
"@smithy/util-base64": "^4.3.2",
|
|
4808
4024
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
4809
4025
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
4810
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
4811
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
4812
|
-
"@smithy/util-endpoints": "^3.3.
|
|
4813
|
-
"@smithy/util-middleware": "^4.2.
|
|
4814
|
-
"@smithy/util-retry": "^4.
|
|
4815
|
-
"@smithy/util-stream": "^4.5.
|
|
4026
|
+
"@smithy/util-defaults-mode-browser": "^4.3.45",
|
|
4027
|
+
"@smithy/util-defaults-mode-node": "^4.2.49",
|
|
4028
|
+
"@smithy/util-endpoints": "^3.3.4",
|
|
4029
|
+
"@smithy/util-middleware": "^4.2.13",
|
|
4030
|
+
"@smithy/util-retry": "^4.3.0",
|
|
4031
|
+
"@smithy/util-stream": "^4.5.22",
|
|
4816
4032
|
"@smithy/util-utf8": "^4.2.2",
|
|
4817
4033
|
tslib: "^2.6.2"
|
|
4818
4034
|
},
|
|
4819
4035
|
devDependencies: {
|
|
4820
|
-
"@smithy/snapshot-testing": "^2.0.
|
|
4036
|
+
"@smithy/snapshot-testing": "^2.0.5",
|
|
4821
4037
|
"@tsconfig/node20": "20.1.8",
|
|
4822
4038
|
"@types/node": "^20.14.8",
|
|
4823
4039
|
concurrently: "7.0.0",
|
|
@@ -4859,202 +4075,195 @@ var init_package = __esm(() => {
|
|
|
4859
4075
|
};
|
|
4860
4076
|
});
|
|
4861
4077
|
|
|
4862
|
-
// node_modules/.bun/@aws-sdk+
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
}
|
|
4868
|
-
var EventSigningTransformStream;
|
|
4869
|
-
var init_EventSigningTransformStream = __esm(() => {
|
|
4870
|
-
EventSigningTransformStream = class EventSigningTransformStream extends Transform {
|
|
4871
|
-
priorSignature;
|
|
4872
|
-
messageSigner;
|
|
4873
|
-
eventStreamCodec;
|
|
4874
|
-
systemClockOffsetProvider;
|
|
4875
|
-
constructor(options) {
|
|
4876
|
-
super({
|
|
4877
|
-
autoDestroy: true,
|
|
4878
|
-
readableObjectMode: true,
|
|
4879
|
-
writableObjectMode: true,
|
|
4880
|
-
...options
|
|
4881
|
-
});
|
|
4882
|
-
this.priorSignature = options.priorSignature;
|
|
4883
|
-
this.eventStreamCodec = options.eventStreamCodec;
|
|
4884
|
-
this.messageSigner = options.messageSigner;
|
|
4885
|
-
this.systemClockOffsetProvider = options.systemClockOffsetProvider;
|
|
4886
|
-
}
|
|
4887
|
-
async _transform(chunk, encoding, callback) {
|
|
4888
|
-
try {
|
|
4889
|
-
const now = new Date(Date.now() + await this.systemClockOffsetProvider());
|
|
4890
|
-
const dateHeader = {
|
|
4891
|
-
":date": { type: "timestamp", value: now }
|
|
4892
|
-
};
|
|
4893
|
-
const signedMessage = await this.messageSigner.sign({
|
|
4894
|
-
message: {
|
|
4895
|
-
body: chunk,
|
|
4896
|
-
headers: dateHeader
|
|
4897
|
-
},
|
|
4898
|
-
priorSignature: this.priorSignature
|
|
4899
|
-
}, {
|
|
4900
|
-
signingDate: now
|
|
4901
|
-
});
|
|
4902
|
-
this.priorSignature = signedMessage.signature;
|
|
4903
|
-
const serializedSigned = this.eventStreamCodec.encode({
|
|
4904
|
-
headers: {
|
|
4905
|
-
...dateHeader,
|
|
4906
|
-
":chunk-signature": {
|
|
4907
|
-
type: "binary",
|
|
4908
|
-
value: getSignatureBinary(signedMessage.signature)
|
|
4909
|
-
}
|
|
4910
|
-
},
|
|
4911
|
-
body: chunk
|
|
4912
|
-
});
|
|
4913
|
-
this.push(serializedSigned);
|
|
4914
|
-
return callback();
|
|
4915
|
-
} catch (err) {
|
|
4916
|
-
callback(err);
|
|
4917
|
-
}
|
|
4918
|
-
}
|
|
4919
|
-
};
|
|
4920
|
-
});
|
|
4921
|
-
|
|
4922
|
-
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
|
|
4923
|
-
import { PassThrough, pipeline, Readable as Readable2 } from "stream";
|
|
4924
|
-
|
|
4925
|
-
class EventStreamPayloadHandler {
|
|
4926
|
-
messageSigner;
|
|
4927
|
-
eventStreamCodec;
|
|
4928
|
-
systemClockOffsetProvider;
|
|
4929
|
-
constructor(options) {
|
|
4930
|
-
this.messageSigner = options.messageSigner;
|
|
4931
|
-
this.eventStreamCodec = new EventStreamCodec3(options.utf8Encoder, options.utf8Decoder);
|
|
4932
|
-
this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
|
|
4933
|
-
}
|
|
4934
|
-
async handle(next, args, context = {}) {
|
|
4935
|
-
const request = args.request;
|
|
4936
|
-
const { body: payload, query } = request;
|
|
4937
|
-
if (!(payload instanceof Readable2)) {
|
|
4938
|
-
throw new Error("Eventstream payload must be a Readable stream.");
|
|
4939
|
-
}
|
|
4940
|
-
const payloadStream = payload;
|
|
4941
|
-
request.body = new PassThrough({
|
|
4942
|
-
objectMode: true
|
|
4943
|
-
});
|
|
4944
|
-
const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
|
|
4945
|
-
let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
|
|
4946
|
-
if (context.__staticSignature) {
|
|
4947
|
-
priorSignature = "";
|
|
4948
|
-
}
|
|
4949
|
-
const signingStream = new EventSigningTransformStream({
|
|
4950
|
-
priorSignature,
|
|
4951
|
-
eventStreamCodec: this.eventStreamCodec,
|
|
4952
|
-
messageSigner: await this.messageSigner(),
|
|
4953
|
-
systemClockOffsetProvider: this.systemClockOffsetProvider
|
|
4954
|
-
});
|
|
4955
|
-
let resolvePipeline;
|
|
4956
|
-
const pipelineError = new Promise((resolve, reject) => {
|
|
4957
|
-
resolvePipeline = () => resolve(undefined);
|
|
4958
|
-
pipeline(payloadStream, signingStream, request.body, (err) => {
|
|
4959
|
-
if (err) {
|
|
4960
|
-
reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
|
|
4961
|
-
}
|
|
4962
|
-
});
|
|
4963
|
-
});
|
|
4964
|
-
let result;
|
|
4965
|
-
try {
|
|
4966
|
-
result = await Promise.race([next(args), pipelineError]);
|
|
4967
|
-
} catch (e) {
|
|
4968
|
-
request.body.end();
|
|
4969
|
-
throw e;
|
|
4970
|
-
} finally {
|
|
4971
|
-
resolvePipeline();
|
|
4972
|
-
}
|
|
4973
|
-
return result;
|
|
4078
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js
|
|
4079
|
+
var import_client, import_httpAuthSchemes2, import_property_provider, fromEnvSigningName = ({ logger: logger4, signingName } = {}) => async () => {
|
|
4080
|
+
logger4?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
|
4081
|
+
if (!signingName) {
|
|
4082
|
+
throw new import_property_provider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger: logger4 });
|
|
4974
4083
|
}
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4084
|
+
const bearerTokenKey = import_httpAuthSchemes2.getBearerTokenEnvKey(signingName);
|
|
4085
|
+
if (!(bearerTokenKey in process.env)) {
|
|
4086
|
+
throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger: logger4 });
|
|
4087
|
+
}
|
|
4088
|
+
const token = { token: process.env[bearerTokenKey] };
|
|
4089
|
+
import_client.setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3");
|
|
4090
|
+
return token;
|
|
4091
|
+
};
|
|
4092
|
+
var init_fromEnvSigningName = __esm(() => {
|
|
4093
|
+
import_client = __toESM(require_client(), 1);
|
|
4094
|
+
import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
4095
|
+
import_property_provider = __toESM(require_dist_cjs3(), 1);
|
|
4979
4096
|
});
|
|
4980
4097
|
|
|
4981
|
-
// node_modules/.bun/@aws-sdk+
|
|
4982
|
-
var
|
|
4983
|
-
var
|
|
4984
|
-
|
|
4098
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/constants.js
|
|
4099
|
+
var EXPIRE_WINDOW_MS, REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`;
|
|
4100
|
+
var init_constants4 = __esm(() => {
|
|
4101
|
+
EXPIRE_WINDOW_MS = 5 * 60 * 1000;
|
|
4985
4102
|
});
|
|
4986
4103
|
|
|
4987
|
-
// node_modules/.bun/@aws-sdk+
|
|
4988
|
-
var
|
|
4989
|
-
|
|
4104
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
4105
|
+
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
4106
|
+
const { SSOOIDCClient } = await import("./chunk-ryd3pd8a.js").then((m)=>__toESM(m.default,1));
|
|
4107
|
+
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
4108
|
+
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
4109
|
+
region: ssoRegion ?? init.clientConfig?.region,
|
|
4110
|
+
logger: coalesce("logger"),
|
|
4111
|
+
userAgentAppId: coalesce("userAgentAppId")
|
|
4112
|
+
}));
|
|
4113
|
+
return ssoOidcClient;
|
|
4114
|
+
};
|
|
4115
|
+
var init_getSsoOidcClient = () => {};
|
|
4116
|
+
|
|
4117
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
4118
|
+
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
4119
|
+
const { CreateTokenCommand } = await import("./chunk-ryd3pd8a.js").then((m)=>__toESM(m.default,1));
|
|
4120
|
+
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
4121
|
+
return ssoOidcClient.send(new CreateTokenCommand({
|
|
4122
|
+
clientId: ssoToken.clientId,
|
|
4123
|
+
clientSecret: ssoToken.clientSecret,
|
|
4124
|
+
refreshToken: ssoToken.refreshToken,
|
|
4125
|
+
grantType: "refresh_token"
|
|
4126
|
+
}));
|
|
4127
|
+
};
|
|
4128
|
+
var init_getNewSsoOidcToken = __esm(() => {
|
|
4129
|
+
init_getSsoOidcClient();
|
|
4990
4130
|
});
|
|
4991
4131
|
|
|
4992
|
-
// node_modules/.bun/@
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
const records = new Array;
|
|
4997
|
-
readStream.on("error", (err) => {
|
|
4998
|
-
if (!streamEnded) {
|
|
4999
|
-
streamEnded = true;
|
|
5000
|
-
}
|
|
5001
|
-
if (err) {
|
|
5002
|
-
throw err;
|
|
5003
|
-
}
|
|
5004
|
-
});
|
|
5005
|
-
readStream.on("data", (data) => {
|
|
5006
|
-
records.push(data);
|
|
5007
|
-
});
|
|
5008
|
-
readStream.on("end", () => {
|
|
5009
|
-
streamEnded = true;
|
|
5010
|
-
});
|
|
5011
|
-
while (!generationEnded) {
|
|
5012
|
-
const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
|
|
5013
|
-
if (value) {
|
|
5014
|
-
yield value;
|
|
5015
|
-
}
|
|
5016
|
-
generationEnded = streamEnded && records.length === 0;
|
|
4132
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenExpiry.js
|
|
4133
|
+
var import_property_provider2, validateTokenExpiry = (token) => {
|
|
4134
|
+
if (token.expiration && token.expiration.getTime() < Date.now()) {
|
|
4135
|
+
throw new import_property_provider2.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false);
|
|
5017
4136
|
}
|
|
5018
|
-
}
|
|
5019
|
-
var
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
4137
|
+
};
|
|
4138
|
+
var init_validateTokenExpiry = __esm(() => {
|
|
4139
|
+
init_constants4();
|
|
4140
|
+
import_property_provider2 = __toESM(require_dist_cjs3(), 1);
|
|
4141
|
+
});
|
|
5023
4142
|
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
utf8Decoder,
|
|
5029
|
-
utf8Encoder
|
|
5030
|
-
});
|
|
5031
|
-
}
|
|
5032
|
-
deserialize(body, deserializer) {
|
|
5033
|
-
const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable2(body);
|
|
5034
|
-
return this.universalMarshaller.deserialize(bodyIterable, deserializer);
|
|
5035
|
-
}
|
|
5036
|
-
serialize(input, serializer) {
|
|
5037
|
-
return Readable3.from(this.universalMarshaller.serialize(input, serializer));
|
|
4143
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/validateTokenKey.js
|
|
4144
|
+
var import_property_provider3, validateTokenKey = (key, value, forRefresh = false) => {
|
|
4145
|
+
if (typeof value === "undefined") {
|
|
4146
|
+
throw new import_property_provider3.TokenProviderError(`Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, false);
|
|
5038
4147
|
}
|
|
5039
|
-
}
|
|
5040
|
-
var
|
|
5041
|
-
|
|
5042
|
-
|
|
4148
|
+
};
|
|
4149
|
+
var init_validateTokenKey = __esm(() => {
|
|
4150
|
+
init_constants4();
|
|
4151
|
+
import_property_provider3 = __toESM(require_dist_cjs3(), 1);
|
|
5043
4152
|
});
|
|
5044
4153
|
|
|
5045
|
-
// node_modules/.bun/@
|
|
5046
|
-
|
|
5047
|
-
var
|
|
5048
|
-
|
|
4154
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js
|
|
4155
|
+
import { promises as fsPromises } from "fs";
|
|
4156
|
+
var import_shared_ini_file_loader, writeFile, writeSSOTokenToFile = (id, ssoToken) => {
|
|
4157
|
+
const tokenFilepath = import_shared_ini_file_loader.getSSOTokenFilepath(id);
|
|
4158
|
+
const tokenString = JSON.stringify(ssoToken, null, 2);
|
|
4159
|
+
return writeFile(tokenFilepath, tokenString);
|
|
4160
|
+
};
|
|
4161
|
+
var init_writeSSOTokenToFile = __esm(() => {
|
|
4162
|
+
import_shared_ini_file_loader = __toESM(require_dist_cjs4(), 1);
|
|
4163
|
+
({ writeFile } = fsPromises);
|
|
5049
4164
|
});
|
|
5050
4165
|
|
|
5051
|
-
// node_modules/.bun/@
|
|
5052
|
-
var
|
|
5053
|
-
|
|
5054
|
-
|
|
4166
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js
|
|
4167
|
+
var import_property_provider4, import_shared_ini_file_loader2, lastRefreshAttemptTime, fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
4168
|
+
init.logger?.debug("@aws-sdk/token-providers - fromSso");
|
|
4169
|
+
const profiles = await import_shared_ini_file_loader2.parseKnownFiles(init);
|
|
4170
|
+
const profileName = import_shared_ini_file_loader2.getProfileName({
|
|
4171
|
+
profile: init.profile ?? callerClientConfig?.profile
|
|
4172
|
+
});
|
|
4173
|
+
const profile3 = profiles[profileName];
|
|
4174
|
+
if (!profile3) {
|
|
4175
|
+
throw new import_property_provider4.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false);
|
|
4176
|
+
} else if (!profile3["sso_session"]) {
|
|
4177
|
+
throw new import_property_provider4.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
|
|
4178
|
+
}
|
|
4179
|
+
const ssoSessionName = profile3["sso_session"];
|
|
4180
|
+
const ssoSessions = await import_shared_ini_file_loader2.loadSsoSessionData(init);
|
|
4181
|
+
const ssoSession = ssoSessions[ssoSessionName];
|
|
4182
|
+
if (!ssoSession) {
|
|
4183
|
+
throw new import_property_provider4.TokenProviderError(`Sso session '${ssoSessionName}' could not be found in shared credentials file.`, false);
|
|
4184
|
+
}
|
|
4185
|
+
for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) {
|
|
4186
|
+
if (!ssoSession[ssoSessionRequiredKey]) {
|
|
4187
|
+
throw new import_property_provider4.TokenProviderError(`Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, false);
|
|
4188
|
+
}
|
|
4189
|
+
}
|
|
4190
|
+
const ssoStartUrl = ssoSession["sso_start_url"];
|
|
4191
|
+
const ssoRegion = ssoSession["sso_region"];
|
|
4192
|
+
let ssoToken;
|
|
4193
|
+
try {
|
|
4194
|
+
ssoToken = await import_shared_ini_file_loader2.getSSOTokenFromFile(ssoSessionName);
|
|
4195
|
+
} catch (e) {
|
|
4196
|
+
throw new import_property_provider4.TokenProviderError(`The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, false);
|
|
4197
|
+
}
|
|
4198
|
+
validateTokenKey("accessToken", ssoToken.accessToken);
|
|
4199
|
+
validateTokenKey("expiresAt", ssoToken.expiresAt);
|
|
4200
|
+
const { accessToken, expiresAt } = ssoToken;
|
|
4201
|
+
const existingToken = { token: accessToken, expiration: new Date(expiresAt) };
|
|
4202
|
+
if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
|
|
4203
|
+
return existingToken;
|
|
4204
|
+
}
|
|
4205
|
+
if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1000) {
|
|
4206
|
+
validateTokenExpiry(existingToken);
|
|
4207
|
+
return existingToken;
|
|
4208
|
+
}
|
|
4209
|
+
validateTokenKey("clientId", ssoToken.clientId, true);
|
|
4210
|
+
validateTokenKey("clientSecret", ssoToken.clientSecret, true);
|
|
4211
|
+
validateTokenKey("refreshToken", ssoToken.refreshToken, true);
|
|
4212
|
+
try {
|
|
4213
|
+
lastRefreshAttemptTime.setTime(Date.now());
|
|
4214
|
+
const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
|
|
4215
|
+
validateTokenKey("accessToken", newSsoOidcToken.accessToken);
|
|
4216
|
+
validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
|
|
4217
|
+
const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
|
|
4218
|
+
try {
|
|
4219
|
+
await writeSSOTokenToFile(ssoSessionName, {
|
|
4220
|
+
...ssoToken,
|
|
4221
|
+
accessToken: newSsoOidcToken.accessToken,
|
|
4222
|
+
expiresAt: newTokenExpiration.toISOString(),
|
|
4223
|
+
refreshToken: newSsoOidcToken.refreshToken
|
|
4224
|
+
});
|
|
4225
|
+
} catch (error) {}
|
|
4226
|
+
return {
|
|
4227
|
+
token: newSsoOidcToken.accessToken,
|
|
4228
|
+
expiration: newTokenExpiration
|
|
4229
|
+
};
|
|
4230
|
+
} catch (error) {
|
|
4231
|
+
validateTokenExpiry(existingToken);
|
|
4232
|
+
return existingToken;
|
|
4233
|
+
}
|
|
4234
|
+
};
|
|
4235
|
+
var init_fromSso = __esm(() => {
|
|
4236
|
+
init_constants4();
|
|
4237
|
+
init_getNewSsoOidcToken();
|
|
4238
|
+
init_validateTokenExpiry();
|
|
4239
|
+
init_validateTokenKey();
|
|
4240
|
+
init_writeSSOTokenToFile();
|
|
4241
|
+
import_property_provider4 = __toESM(require_dist_cjs3(), 1);
|
|
4242
|
+
import_shared_ini_file_loader2 = __toESM(require_dist_cjs4(), 1);
|
|
4243
|
+
lastRefreshAttemptTime = new Date(0);
|
|
4244
|
+
});
|
|
4245
|
+
|
|
4246
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/fromStatic.js
|
|
4247
|
+
var init_fromStatic = () => {};
|
|
4248
|
+
|
|
4249
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/nodeProvider.js
|
|
4250
|
+
var import_property_provider5, nodeProvider = (init = {}) => import_property_provider5.memoize(import_property_provider5.chain(fromSso(init), async () => {
|
|
4251
|
+
throw new import_property_provider5.TokenProviderError("Could not load token from any providers", false);
|
|
4252
|
+
}), (token) => token.expiration !== undefined && token.expiration.getTime() - Date.now() < 300000, (token) => token.expiration !== undefined);
|
|
4253
|
+
var init_nodeProvider = __esm(() => {
|
|
4254
|
+
init_fromSso();
|
|
4255
|
+
import_property_provider5 = __toESM(require_dist_cjs3(), 1);
|
|
4256
|
+
});
|
|
4257
|
+
|
|
4258
|
+
// node_modules/.bun/@aws-sdk+token-providers@3.1030.0/node_modules/@aws-sdk/token-providers/dist-es/index.js
|
|
4259
|
+
var init_dist_es30 = __esm(() => {
|
|
4260
|
+
init_fromEnvSigningName();
|
|
4261
|
+
init_fromSso();
|
|
4262
|
+
init_fromStatic();
|
|
4263
|
+
init_nodeProvider();
|
|
5055
4264
|
});
|
|
5056
4265
|
|
|
5057
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
4266
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
|
|
5058
4267
|
var s = "required", t = "fn", u = "argv", v = "ref", a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h, i, j, k, l, m, n, o, p, q, r, _data, ruleSet;
|
|
5059
4268
|
var init_ruleset = __esm(() => {
|
|
5060
4269
|
h = { [s]: false, type: "string" };
|
|
@@ -5072,7 +4281,7 @@ var init_ruleset = __esm(() => {
|
|
|
5072
4281
|
ruleSet = _data;
|
|
5073
4282
|
});
|
|
5074
4283
|
|
|
5075
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
4284
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
|
|
5076
4285
|
var import_util_endpoints, import_util_endpoints2, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
5077
4286
|
return cache.get(endpointParams, () => import_util_endpoints2.resolveEndpoint(ruleSet, {
|
|
5078
4287
|
endpointParams,
|
|
@@ -5081,8 +4290,8 @@ var import_util_endpoints, import_util_endpoints2, cache, defaultEndpointResolve
|
|
|
5081
4290
|
};
|
|
5082
4291
|
var init_endpointResolver = __esm(() => {
|
|
5083
4292
|
init_ruleset();
|
|
5084
|
-
import_util_endpoints = __toESM(
|
|
5085
|
-
import_util_endpoints2 = __toESM(
|
|
4293
|
+
import_util_endpoints = __toESM(require_dist_cjs17(), 1);
|
|
4294
|
+
import_util_endpoints2 = __toESM(require_dist_cjs16(), 1);
|
|
5086
4295
|
cache = new import_util_endpoints2.EndpointCache({
|
|
5087
4296
|
size: 50,
|
|
5088
4297
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
@@ -5090,10 +4299,10 @@ var init_endpointResolver = __esm(() => {
|
|
|
5090
4299
|
import_util_endpoints2.customEndpointFunctions.aws = import_util_endpoints.awsEndpointFunctions;
|
|
5091
4300
|
});
|
|
5092
4301
|
|
|
5093
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
4302
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
|
|
5094
4303
|
var import_smithy_client, BedrockRuntimeServiceException;
|
|
5095
4304
|
var init_BedrockRuntimeServiceException = __esm(() => {
|
|
5096
|
-
import_smithy_client = __toESM(
|
|
4305
|
+
import_smithy_client = __toESM(require_dist_cjs11(), 1);
|
|
5097
4306
|
BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends import_smithy_client.ServiceException {
|
|
5098
4307
|
constructor(options) {
|
|
5099
4308
|
super(options);
|
|
@@ -5102,7 +4311,7 @@ var init_BedrockRuntimeServiceException = __esm(() => {
|
|
|
5102
4311
|
};
|
|
5103
4312
|
});
|
|
5104
4313
|
|
|
5105
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
4314
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/errors.js
|
|
5106
4315
|
var AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException;
|
|
5107
4316
|
var init_errors = __esm(() => {
|
|
5108
4317
|
init_BedrockRuntimeServiceException();
|
|
@@ -5261,7 +4470,7 @@ var init_errors = __esm(() => {
|
|
|
5261
4470
|
};
|
|
5262
4471
|
});
|
|
5263
4472
|
|
|
5264
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
4473
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js
|
|
5265
4474
|
var import_schema, _A = "Accept", _AB = "AudioBlock", _ADE = "AccessDeniedException", _AG = "ApplyGuardrail", _AGD = "AppliedGuardrailDetails", _AGR = "ApplyGuardrailRequest", _AGRp = "ApplyGuardrailResponse", _AIM = "AsyncInvokeMessage", _AIODC = "AsyncInvokeOutputDataConfig", _AIS = "AsyncInvokeSummary", _AISODC = "AsyncInvokeS3OutputDataConfig", _AISs = "AsyncInvokeSummaries", _AS = "AudioSource", _ATC = "AnyToolChoice", _ATCu = "AutoToolChoice", _B = "Body", _BIPP = "BidirectionalInputPayloadPart", _BOPP = "BidirectionalOutputPayloadPart", _C = "Citation", _CB = "ContentBlocks", _CBD = "ContentBlockDelta", _CBDE = "ContentBlockDeltaEvent", _CBS = "ContentBlockStart", _CBSE = "ContentBlockStartEvent", _CBSEo = "ContentBlockStopEvent", _CBo = "ContentBlock", _CC = "CitationsConfig", _CCB = "CitationsContentBlock", _CD = "CacheDetail", _CDL = "CacheDetailsList", _CDi = "CitationsDelta", _CE = "ConflictException", _CGC = "CitationGeneratedContent", _CGCL = "CitationGeneratedContentList", _CL = "CitationLocation", _CM = "ConverseMetrics", _CO = "ConverseOutput", _CPB = "CachePointBlock", _CR = "ConverseRequest", _CRo = "ConverseResponse", _CS = "ConverseStream", _CSC = "CitationSourceContent", _CSCD = "CitationSourceContentDelta", _CSCL = "CitationSourceContentList", _CSCLD = "CitationSourceContentListDelta", _CSM = "ConverseStreamMetrics", _CSME = "ConverseStreamMetadataEvent", _CSO = "ConverseStreamOutput", _CSR = "ConverseStreamRequest", _CSRo = "ConverseStreamResponse", _CST = "ConverseStreamTrace", _CT = "ConverseTrace", _CTI = "CountTokensInput", _CTR = "ConverseTokensRequest", _CTRo = "CountTokensRequest", _CTRou = "CountTokensResponse", _CT_ = "Content-Type", _CTo = "CountTokens", _Ci = "Citations", _Co = "Converse", _DB = "DocumentBlock", _DCB = "DocumentContentBlocks", _DCBo = "DocumentContentBlock", _DCL = "DocumentCharLocation", _DCLo = "DocumentChunkLocation", _DPL = "DocumentPageLocation", _DS = "DocumentSource", _EB = "ErrorBlock", _GA = "GuardrailAssessment", _GAI = "GetAsyncInvoke", _GAIR = "GetAsyncInvokeRequest", _GAIRe = "GetAsyncInvokeResponse", _GAL = "GuardrailAssessmentList", _GALM = "GuardrailAssessmentListMap", _GAM = "GuardrailAssessmentMap", _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList", _GARF = "GuardrailAutomatedReasoningFinding", _GARFL = "GuardrailAutomatedReasoningFindingList", _GARIF = "GuardrailAutomatedReasoningImpossibleFinding", _GARIFu = "GuardrailAutomatedReasoningInvalidFinding", _GARITR = "GuardrailAutomatedReasoningInputTextReference", _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList", _GARLW = "GuardrailAutomatedReasoningLogicWarning", _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding", _GARPA = "GuardrailAutomatedReasoningPolicyAssessment", _GARR = "GuardrailAutomatedReasoningRule", _GARRL = "GuardrailAutomatedReasoningRuleList", _GARS = "GuardrailAutomatedReasoningScenario", _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding", _GARSL = "GuardrailAutomatedReasoningStatementList", _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent", _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent", _GARSu = "GuardrailAutomatedReasoningStatement", _GART = "GuardrailAutomatedReasoningTranslation", _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding", _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding", _GARTL = "GuardrailAutomatedReasoningTranslationList", _GARTO = "GuardrailAutomatedReasoningTranslationOption", _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList", _GARVF = "GuardrailAutomatedReasoningValidFinding", _GC = "GuardrailConfiguration", _GCB = "GuardrailContentBlock", _GCBL = "GuardrailContentBlockList", _GCCB = "GuardrailConverseContentBlock", _GCF = "GuardrailContentFilter", _GCFL = "GuardrailContentFilterList", _GCGF = "GuardrailContextualGroundingFilter", _GCGFu = "GuardrailContextualGroundingFilters", _GCGPA = "GuardrailContextualGroundingPolicyAssessment", _GCIB = "GuardrailConverseImageBlock", _GCIS = "GuardrailConverseImageSource", _GCPA = "GuardrailContentPolicyAssessment", _GCTB = "GuardrailConverseTextBlock", _GCW = "GuardrailCustomWord", _GCWL = "GuardrailCustomWordList", _GCu = "GuardrailCoverage", _GIB = "GuardrailImageBlock", _GIC = "GuardrailImageCoverage", _GIM = "GuardrailInvocationMetrics", _GIS = "GuardrailImageSource", _GMW = "GuardrailManagedWord", _GMWL = "GuardrailManagedWordList", _GOC = "GuardrailOutputContent", _GOCL = "GuardrailOutputContentList", _GPEF = "GuardrailPiiEntityFilter", _GPEFL = "GuardrailPiiEntityFilterList", _GRF = "GuardrailRegexFilter", _GRFL = "GuardrailRegexFilterList", _GSC = "GuardrailStreamConfiguration", _GSIPA = "GuardrailSensitiveInformationPolicyAssessment", _GT = "GuardrailTopic", _GTA = "GuardrailTraceAssessment", _GTB = "GuardrailTextBlock", _GTCC = "GuardrailTextCharactersCoverage", _GTL = "GuardrailTopicList", _GTPA = "GuardrailTopicPolicyAssessment", _GU = "GuardrailUsage", _GWPA = "GuardrailWordPolicyAssessment", _IB = "ImageBlock", _IBD = "ImageBlockDelta", _IBS = "ImageBlockStart", _IC = "InferenceConfiguration", _IM = "InvokeModel", _IMR = "InvokeModelRequest", _IMRn = "InvokeModelResponse", _IMTR = "InvokeModelTokensRequest", _IMWBS = "InvokeModelWithBidirectionalStream", _IMWBSI = "InvokeModelWithBidirectionalStreamInput", _IMWBSO = "InvokeModelWithBidirectionalStreamOutput", _IMWBSR = "InvokeModelWithBidirectionalStreamRequest", _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse", _IMWRS = "InvokeModelWithResponseStream", _IMWRSR = "InvokeModelWithResponseStreamRequest", _IMWRSRn = "InvokeModelWithResponseStreamResponse", _IS = "ImageSource", _ISE = "InternalServerException", _JSD = "JsonSchemaDefinition", _LAI = "ListAsyncInvokes", _LAIR = "ListAsyncInvokesRequest", _LAIRi = "ListAsyncInvokesResponse", _M = "Message", _MEE = "ModelErrorException", _MIP = "ModelInputPayload", _MNRE = "ModelNotReadyException", _MSE = "MessageStartEvent", _MSEE = "ModelStreamErrorException", _MSEe = "MessageStopEvent", _MTE = "ModelTimeoutException", _Me = "Messages", _OC = "OutputConfig", _OF = "OutputFormat", _OFS = "OutputFormatStructure", _PB = "PartBody", _PC = "PerformanceConfiguration", _PP = "PayloadPart", _PRT = "PromptRouterTrace", _PVM = "PromptVariableMap", _PVV = "PromptVariableValues", _RCB = "ReasoningContentBlock", _RCBD = "ReasoningContentBlockDelta", _RM = "RequestMetadata", _RNFE = "ResourceNotFoundException", _RS = "ResponseStream", _RTB = "ReasoningTextBlock", _SAI = "StartAsyncInvoke", _SAIR = "StartAsyncInvokeRequest", _SAIRt = "StartAsyncInvokeResponse", _SCB = "SystemContentBlocks", _SCBy = "SystemContentBlock", _SL = "S3Location", _SQEE = "ServiceQuotaExceededException", _SRB = "SearchResultBlock", _SRCB = "SearchResultContentBlock", _SRCBe = "SearchResultContentBlocks", _SRL = "SearchResultLocation", _ST = "ServiceTier", _STC = "SpecificToolChoice", _STy = "SystemTool", _SUE = "ServiceUnavailableException", _T = "Tag", _TC = "ToolConfiguration", _TCo = "ToolChoice", _TE = "ThrottlingException", _TIS = "ToolInputSchema", _TL = "TagList", _TRB = "ToolResultBlock", _TRBD = "ToolResultBlocksDelta", _TRBDo = "ToolResultBlockDelta", _TRBS = "ToolResultBlockStart", _TRCB = "ToolResultContentBlocks", _TRCBo = "ToolResultContentBlock", _TS = "ToolSpecification", _TU = "TokenUsage", _TUB = "ToolUseBlock", _TUBD = "ToolUseBlockDelta", _TUBS = "ToolUseBlockStart", _To = "Tools", _Too = "Tool", _VB = "VideoBlock", _VE = "ValidationException", _VS = "VideoSource", _WL = "WebLocation", _XABA = "X-Amzn-Bedrock-Accept", _XABCT = "X-Amzn-Bedrock-Content-Type", _XABG = "X-Amzn-Bedrock-GuardrailIdentifier", _XABG_ = "X-Amzn-Bedrock-GuardrailVersion", _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency", _XABST = "X-Amzn-Bedrock-Service-Tier", _XABT = "X-Amzn-Bedrock-Trace", _a = "action", _aGD = "appliedGuardrailDetails", _aIS = "asyncInvokeSummaries", _aMRF = "additionalModelRequestFields", _aMRFP = "additionalModelResponseFieldPaths", _aMRFd = "additionalModelResponseFields", _aR = "actionReason", _aRP = "automatedReasoningPolicy", _aRPU = "automatedReasoningPolicyUnits", _aRPu = "automatedReasoningPolicies", _ac = "accept", _an = "any", _as = "assessments", _au = "audio", _aut = "auto", _b = "bytes", _bO = "bucketOwner", _bo = "body", _c = "client", _cBD = "contentBlockDelta", _cBI = "contentBlockIndex", _cBS = "contentBlockStart", _cBSo = "contentBlockStop", _cC = "citationsContent", _cD = "cacheDetails", _cFS = "claimsFalseScenario", _cGP = "contextualGroundingPolicy", _cGPU = "contextualGroundingPolicyUnits", _cP = "contentPolicy", _cPIU = "contentPolicyImageUnits", _cPU = "contentPolicyUnits", _cPa = "cachePoint", _cR = "contradictingRules", _cRIT = "cacheReadInputTokens", _cRT = "clientRequestToken", _cT = "contentType", _cTS = "claimsTrueScenario", _cW = "customWords", _cWIT = "cacheWriteInputTokens", _ch = "chunk", _ci = "citations", _cit = "citation", _cl = "claims", _co = "content", _con = "context", _conf = "confidence", _conv = "converse", _d = "delta", _dC = "documentChar", _dCo = "documentChunk", _dI = "documentIndex", _dP = "documentPage", _dS = "differenceScenarios", _de = "detected", _des = "description", _do = "domain", _doc = "document", _e = "error", _eT = "endTime", _en = "enabled", _end = "end", _f = "format", _fM = "failureMessage", _fS = "filterStrength", _fi = "findings", _fil = "filters", _g = "guardrail", _gA = "guardrailArn", _gC = "guardrailCoverage", _gCu = "guardrailConfig", _gCua = "guardContent", _gI = "guardrailId", _gIu = "guardrailIdentifier", _gO = "guardrailOrigin", _gOu = "guardrailOwnership", _gPL = "guardrailProcessingLatency", _gV = "guardrailVersion", _gu = "guarded", _h = "http", _hE = "httpError", _hH = "httpHeader", _hQ = "httpQuery", _i = "input", _iA = "invocationArn", _iAn = "inputAssessment", _iC = "inferenceConfig", _iM = "invocationMetrics", _iMI = "invokedModelId", _iMn = "invokeModel", _iS = "inputSchema", _iSE = "internalServerException", _iT = "inputTokens", _id = "identifier", _im = "images", _ima = "image", _imp = "impossible", _in = "invalid", _j = "json", _jS = "jsonSchema", _k = "key", _kKI = "kmsKeyId", _l = "location", _lM = "latencyMs", _lMT = "lastModifiedTime", _lW = "logicWarning", _la = "latency", _lo = "logic", _m = "message", _mA = "modelArn", _mI = "modelId", _mIo = "modelInput", _mO = "modelOutput", _mR = "maxResults", _mS = "messageStart", _mSEE = "modelStreamErrorException", _mSe = "messageStop", _mT = "maxTokens", _mTE = "modelTimeoutException", _mWL = "managedWordLists", _ma = "match", _me = "messages", _met = "metrics", _meta = "metadata", _n = "name", _nL = "naturalLanguage", _nT = "nextToken", _nTo = "noTranslations", _o = "outputs", _oA = "outputAssessments", _oC = "outputConfig", _oDC = "outputDataConfig", _oM = "originalMessage", _oS = "outputScope", _oSC = "originalStatusCode", _oT = "outputTokens", _op = "options", _ou = "output", _p = "premises", _pC = "performanceConfig", _pCL = "performanceConfigLatency", _pE = "piiEntities", _pR = "promptRouter", _pV = "promptVariables", _pVA = "policyVersionArn", _q = "qualifiers", _r = "regex", _rC = "reasoningContent", _rCe = "redactedContent", _rM = "requestMetadata", _rN = "resourceName", _rT = "reasoningText", _re = "regexes", _ro = "role", _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime", _sB = "sortBy", _sC = "sourceContent", _sE = "statusEquals", _sIP = "sensitiveInformationPolicy", _sIPFU = "sensitiveInformationPolicyFreeUnits", _sIPU = "sensitiveInformationPolicyUnits", _sL = "s3Location", _sO = "sortOrder", _sODC = "s3OutputDataConfig", _sPM = "streamProcessingMode", _sR = "stopReason", _sRI = "searchResultIndex", _sRL = "searchResultLocation", _sRe = "searchResult", _sRu = "supportingRules", _sS = "stopSequences", _sT = "submitTime", _sTA = "submitTimeAfter", _sTB = "submitTimeBefore", _sTe = "serviceTier", _sTy = "systemTool", _sU = "s3Uri", _sUE = "serviceUnavailableException", _sa = "satisfiable", _sc = "score", _sch = "schema", _se = "server", _si = "signature", _so = "source", _st = "status", _sta = "start", _stat = "statements", _str = "stream", _stre = "streaming", _stri = "strict", _stru = "structure", _sy = "system", _t = "ttl", _tA = "translationAmbiguous", _tC = "toolConfig", _tCe = "textCharacters", _tCo = "toolChoice", _tCoo = "tooComplex", _tE = "throttlingException", _tF = "textFormat", _tP = "topicPolicy", _tPU = "topicPolicyUnits", _tPo = "topP", _tR = "toolResult", _tS = "toolSpec", _tT = "totalTokens", _tU = "toolUse", _tUI = "toolUseId", _ta = "tags", _te = "text", _tem = "temperature", _th = "threshold", _ti = "title", _to = "total", _too = "tools", _tool = "tool", _top = "topics", _tr = "trace", _tra = "translation", _tran = "translations", _ty = "type", _u = "usage", _uC = "untranslatedClaims", _uP = "untranslatedPremises", _ur = "uri", _url = "url", _v = "value", _vE = "validationException", _va = "valid", _vi = "video", _w = "web", _wP = "wordPolicy", _wPU = "wordPolicyUnits", n0 = "com.amazonaws.bedrockruntime", _s_registry, BedrockRuntimeServiceException$, n0_registry, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AsyncInvokeMessage, Body, GuardrailAutomatedReasoningStatementLogicContent, GuardrailAutomatedReasoningStatementNaturalLanguageContent, ModelInputPayload, PartBody, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AdditionalModelResponseFieldPaths, AsyncInvokeSummaries, CacheDetailsList, CitationGeneratedContentList, Citations, CitationSourceContentList, CitationSourceContentListDelta, ContentBlocks, DocumentContentBlocks, GuardrailAssessmentList, GuardrailAutomatedReasoningDifferenceScenarioList, GuardrailAutomatedReasoningFindingList, GuardrailAutomatedReasoningInputTextReferenceList, GuardrailAutomatedReasoningRuleList, GuardrailAutomatedReasoningStatementList, GuardrailAutomatedReasoningTranslationList, GuardrailAutomatedReasoningTranslationOptionList, GuardrailContentBlockList, GuardrailContentFilterList, GuardrailContentQualifierList, GuardrailContextualGroundingFilters, GuardrailConverseContentQualifierList, GuardrailCustomWordList, GuardrailManagedWordList, GuardrailOriginList, GuardrailOutputContentList, GuardrailPiiEntityFilterList, GuardrailRegexFilterList, GuardrailTopicList, Messages2, ModelOutputs, NonEmptyStringList, SearchResultContentBlocks, SystemContentBlocks, TagList, ToolResultBlocksDelta, ToolResultContentBlocks, Tools, GuardrailAssessmentListMap, GuardrailAssessmentMap, PromptVariableMap, RequestMetadata, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$;
|
|
5266
4475
|
var init_schemas_0 = __esm(() => {
|
|
5267
4476
|
init_BedrockRuntimeServiceException();
|
|
@@ -7103,8 +6312,8 @@ var init_schemas_0 = __esm(() => {
|
|
|
7103
6312
|
];
|
|
7104
6313
|
});
|
|
7105
6314
|
|
|
7106
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
7107
|
-
var
|
|
6315
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
|
|
6316
|
+
var import_httpAuthSchemes3, import_protocols, import_core2, import_smithy_client2, import_url_parser, import_util_base642, import_util_utf87, getRuntimeConfig = (config3) => {
|
|
7108
6317
|
return {
|
|
7109
6318
|
apiVersion: "2023-09-30",
|
|
7110
6319
|
base64Decoder: config3?.base64Decoder ?? import_util_base642.fromBase64,
|
|
@@ -7117,7 +6326,7 @@ var import_httpAuthSchemes2, import_protocols, import_core2, import_smithy_clien
|
|
|
7117
6326
|
{
|
|
7118
6327
|
schemeId: "aws.auth#sigv4",
|
|
7119
6328
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
7120
|
-
signer: new
|
|
6329
|
+
signer: new import_httpAuthSchemes3.AwsSdkSigV4Signer
|
|
7121
6330
|
},
|
|
7122
6331
|
{
|
|
7123
6332
|
schemeId: "smithy.api#httpBearerAuth",
|
|
@@ -7143,22 +6352,22 @@ var init_runtimeConfig_shared = __esm(() => {
|
|
|
7143
6352
|
init_httpAuthSchemeProvider();
|
|
7144
6353
|
init_endpointResolver();
|
|
7145
6354
|
init_schemas_0();
|
|
7146
|
-
|
|
6355
|
+
import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
7147
6356
|
import_protocols = __toESM(require_protocols(), 1);
|
|
7148
|
-
import_core2 = __toESM(
|
|
7149
|
-
import_smithy_client2 = __toESM(
|
|
7150
|
-
import_url_parser = __toESM(
|
|
7151
|
-
import_util_base642 = __toESM(
|
|
7152
|
-
import_util_utf87 = __toESM(
|
|
6357
|
+
import_core2 = __toESM(require_dist_cjs12(), 1);
|
|
6358
|
+
import_smithy_client2 = __toESM(require_dist_cjs11(), 1);
|
|
6359
|
+
import_url_parser = __toESM(require_dist_cjs6(), 1);
|
|
6360
|
+
import_util_base642 = __toESM(require_dist_cjs9(), 1);
|
|
6361
|
+
import_util_utf87 = __toESM(require_dist_cjs8(), 1);
|
|
7153
6362
|
});
|
|
7154
6363
|
|
|
7155
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
7156
|
-
var
|
|
6364
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js
|
|
6365
|
+
var import_client2, import_httpAuthSchemes4, import_util_user_agent_node, import_config_resolver, import_core3, import_hash_node, import_middleware_retry, import_node_config_provider, import_node_http_handler2, import_smithy_client3, import_util_body_length_node, import_util_defaults_mode_node, import_util_retry, getRuntimeConfig2 = (config3) => {
|
|
7157
6366
|
import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
|
|
7158
6367
|
const defaultsMode = import_util_defaults_mode_node.resolveDefaultsModeConfig(config3);
|
|
7159
6368
|
const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
|
|
7160
6369
|
const clientSharedValues = getRuntimeConfig(config3);
|
|
7161
|
-
|
|
6370
|
+
import_client2.emitWarningIfUnsupportedVersion(process.version);
|
|
7162
6371
|
const loaderConfig = {
|
|
7163
6372
|
profile: config3?.profile,
|
|
7164
6373
|
logger: clientSharedValues.logger,
|
|
@@ -7169,17 +6378,17 @@ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_
|
|
|
7169
6378
|
...config3,
|
|
7170
6379
|
runtime: "node",
|
|
7171
6380
|
defaultsMode,
|
|
7172
|
-
authSchemePreference: config3?.authSchemePreference ?? import_node_config_provider.loadConfig(
|
|
6381
|
+
authSchemePreference: config3?.authSchemePreference ?? import_node_config_provider.loadConfig(import_httpAuthSchemes4.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
7173
6382
|
bodyLengthChecker: config3?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
|
|
7174
6383
|
credentialDefaultProvider: config3?.credentialDefaultProvider ?? defaultProvider,
|
|
7175
6384
|
defaultUserAgentProvider: config3?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
7176
|
-
eventStreamPayloadHandlerProvider: config3?.eventStreamPayloadHandlerProvider ??
|
|
6385
|
+
eventStreamPayloadHandlerProvider: config3?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider,
|
|
7177
6386
|
eventStreamSerdeProvider: config3?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
7178
6387
|
httpAuthSchemes: config3?.httpAuthSchemes ?? [
|
|
7179
6388
|
{
|
|
7180
6389
|
schemeId: "aws.auth#sigv4",
|
|
7181
6390
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
7182
|
-
signer: new
|
|
6391
|
+
signer: new import_httpAuthSchemes4.AwsSdkSigV4Signer
|
|
7183
6392
|
},
|
|
7184
6393
|
{
|
|
7185
6394
|
schemeId: "smithy.api#httpBearerAuth",
|
|
@@ -7212,27 +6421,27 @@ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_
|
|
|
7212
6421
|
};
|
|
7213
6422
|
var init_runtimeConfig = __esm(() => {
|
|
7214
6423
|
init_package();
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
6424
|
+
init_dist_es();
|
|
6425
|
+
init_dist_es7();
|
|
6426
|
+
init_dist_es30();
|
|
6427
|
+
init_dist_es8();
|
|
7219
6428
|
init_runtimeConfig_shared();
|
|
7220
|
-
|
|
7221
|
-
|
|
6429
|
+
import_client2 = __toESM(require_client(), 1);
|
|
6430
|
+
import_httpAuthSchemes4 = __toESM(require_httpAuthSchemes(), 1);
|
|
7222
6431
|
import_util_user_agent_node = __toESM(require_dist_cjs24(), 1);
|
|
7223
|
-
import_config_resolver = __toESM(
|
|
7224
|
-
import_core3 = __toESM(
|
|
6432
|
+
import_config_resolver = __toESM(require_dist_cjs20(), 1);
|
|
6433
|
+
import_core3 = __toESM(require_dist_cjs12(), 1);
|
|
7225
6434
|
import_hash_node = __toESM(require_dist_cjs25(), 1);
|
|
7226
6435
|
import_middleware_retry = __toESM(require_dist_cjs23(), 1);
|
|
7227
|
-
import_node_config_provider = __toESM(
|
|
7228
|
-
import_node_http_handler2 = __toESM(
|
|
7229
|
-
import_smithy_client3 = __toESM(
|
|
7230
|
-
import_util_body_length_node = __toESM(
|
|
7231
|
-
import_util_defaults_mode_node = __toESM(
|
|
7232
|
-
import_util_retry = __toESM(
|
|
6436
|
+
import_node_config_provider = __toESM(require_dist_cjs5(), 1);
|
|
6437
|
+
import_node_http_handler2 = __toESM(require_dist_cjs2(), 1);
|
|
6438
|
+
import_smithy_client3 = __toESM(require_dist_cjs11(), 1);
|
|
6439
|
+
import_util_body_length_node = __toESM(require_dist_cjs26(), 1);
|
|
6440
|
+
import_util_defaults_mode_node = __toESM(require_dist_cjs27(), 1);
|
|
6441
|
+
import_util_retry = __toESM(require_dist_cjs18(), 1);
|
|
7233
6442
|
});
|
|
7234
6443
|
|
|
7235
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6444
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
7236
6445
|
var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
7237
6446
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
7238
6447
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -7279,40 +6488,40 @@ var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
|
7279
6488
|
};
|
|
7280
6489
|
var init_httpAuthExtensionConfiguration = () => {};
|
|
7281
6490
|
|
|
7282
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
7283
|
-
var import_region_config_resolver,
|
|
7284
|
-
const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig),
|
|
6491
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
|
|
6492
|
+
var import_region_config_resolver, import_protocol_http4, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions5) => {
|
|
6493
|
+
const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http4.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
7285
6494
|
extensions5.forEach((extension) => extension.configure(extensionConfiguration));
|
|
7286
|
-
return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
6495
|
+
return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http4.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
7287
6496
|
};
|
|
7288
6497
|
var init_runtimeExtensions = __esm(() => {
|
|
7289
6498
|
init_httpAuthExtensionConfiguration();
|
|
7290
|
-
import_region_config_resolver = __toESM(
|
|
7291
|
-
|
|
7292
|
-
import_smithy_client4 = __toESM(
|
|
6499
|
+
import_region_config_resolver = __toESM(require_dist_cjs28(), 1);
|
|
6500
|
+
import_protocol_http4 = __toESM(require_dist_cjs(), 1);
|
|
6501
|
+
import_smithy_client4 = __toESM(require_dist_cjs11(), 1);
|
|
7293
6502
|
});
|
|
7294
6503
|
|
|
7295
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6504
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
|
|
7296
6505
|
var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_core4, import_schema2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client5, BedrockRuntimeClient;
|
|
7297
6506
|
var init_BedrockRuntimeClient = __esm(() => {
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
6507
|
+
init_dist_es2();
|
|
6508
|
+
init_dist_es5();
|
|
6509
|
+
init_dist_es6();
|
|
7301
6510
|
init_httpAuthSchemeProvider();
|
|
7302
6511
|
init_EndpointParameters();
|
|
7303
6512
|
init_runtimeConfig();
|
|
7304
6513
|
init_runtimeExtensions();
|
|
7305
|
-
import_middleware_host_header = __toESM(
|
|
7306
|
-
import_middleware_logger = __toESM(
|
|
7307
|
-
import_middleware_recursion_detection = __toESM(
|
|
7308
|
-
import_middleware_user_agent = __toESM(
|
|
7309
|
-
import_config_resolver2 = __toESM(
|
|
7310
|
-
import_core4 = __toESM(
|
|
6514
|
+
import_middleware_host_header = __toESM(require_dist_cjs13(), 1);
|
|
6515
|
+
import_middleware_logger = __toESM(require_dist_cjs14(), 1);
|
|
6516
|
+
import_middleware_recursion_detection = __toESM(require_dist_cjs15(), 1);
|
|
6517
|
+
import_middleware_user_agent = __toESM(require_dist_cjs19(), 1);
|
|
6518
|
+
import_config_resolver2 = __toESM(require_dist_cjs20(), 1);
|
|
6519
|
+
import_core4 = __toESM(require_dist_cjs12(), 1);
|
|
7311
6520
|
import_schema2 = __toESM(require_schema(), 1);
|
|
7312
|
-
import_middleware_content_length = __toESM(
|
|
7313
|
-
import_middleware_endpoint = __toESM(
|
|
6521
|
+
import_middleware_content_length = __toESM(require_dist_cjs21(), 1);
|
|
6522
|
+
import_middleware_endpoint = __toESM(require_dist_cjs22(), 1);
|
|
7314
6523
|
import_middleware_retry2 = __toESM(require_dist_cjs23(), 1);
|
|
7315
|
-
import_smithy_client5 = __toESM(
|
|
6524
|
+
import_smithy_client5 = __toESM(require_dist_cjs11(), 1);
|
|
7316
6525
|
BedrockRuntimeClient = class BedrockRuntimeClient extends import_smithy_client5.Client {
|
|
7317
6526
|
config;
|
|
7318
6527
|
constructor(...[configuration]) {
|
|
@@ -7353,39 +6562,39 @@ var init_BedrockRuntimeClient = __esm(() => {
|
|
|
7353
6562
|
};
|
|
7354
6563
|
});
|
|
7355
6564
|
|
|
7356
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6565
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js
|
|
7357
6566
|
var import_middleware_endpoint2, import_smithy_client6, ApplyGuardrailCommand;
|
|
7358
6567
|
var init_ApplyGuardrailCommand = __esm(() => {
|
|
7359
6568
|
init_EndpointParameters();
|
|
7360
6569
|
init_schemas_0();
|
|
7361
|
-
import_middleware_endpoint2 = __toESM(
|
|
7362
|
-
import_smithy_client6 = __toESM(
|
|
6570
|
+
import_middleware_endpoint2 = __toESM(require_dist_cjs22(), 1);
|
|
6571
|
+
import_smithy_client6 = __toESM(require_dist_cjs11(), 1);
|
|
7363
6572
|
ApplyGuardrailCommand = class ApplyGuardrailCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7364
6573
|
return [import_middleware_endpoint2.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7365
6574
|
}).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail$).build() {
|
|
7366
6575
|
};
|
|
7367
6576
|
});
|
|
7368
6577
|
|
|
7369
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6578
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js
|
|
7370
6579
|
var import_middleware_endpoint3, import_smithy_client7, ConverseCommand;
|
|
7371
6580
|
var init_ConverseCommand = __esm(() => {
|
|
7372
6581
|
init_EndpointParameters();
|
|
7373
6582
|
init_schemas_0();
|
|
7374
|
-
import_middleware_endpoint3 = __toESM(
|
|
7375
|
-
import_smithy_client7 = __toESM(
|
|
6583
|
+
import_middleware_endpoint3 = __toESM(require_dist_cjs22(), 1);
|
|
6584
|
+
import_smithy_client7 = __toESM(require_dist_cjs11(), 1);
|
|
7376
6585
|
ConverseCommand = class ConverseCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7377
6586
|
return [import_middleware_endpoint3.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7378
6587
|
}).s("AmazonBedrockFrontendService", "Converse", {}).n("BedrockRuntimeClient", "ConverseCommand").sc(Converse$).build() {
|
|
7379
6588
|
};
|
|
7380
6589
|
});
|
|
7381
6590
|
|
|
7382
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6591
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js
|
|
7383
6592
|
var import_middleware_endpoint4, import_smithy_client8, ConverseStreamCommand;
|
|
7384
6593
|
var init_ConverseStreamCommand = __esm(() => {
|
|
7385
6594
|
init_EndpointParameters();
|
|
7386
6595
|
init_schemas_0();
|
|
7387
|
-
import_middleware_endpoint4 = __toESM(
|
|
7388
|
-
import_smithy_client8 = __toESM(
|
|
6596
|
+
import_middleware_endpoint4 = __toESM(require_dist_cjs22(), 1);
|
|
6597
|
+
import_smithy_client8 = __toESM(require_dist_cjs11(), 1);
|
|
7389
6598
|
ConverseStreamCommand = class ConverseStreamCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7390
6599
|
return [import_middleware_endpoint4.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7391
6600
|
}).s("AmazonBedrockFrontendService", "ConverseStream", {
|
|
@@ -7396,54 +6605,54 @@ var init_ConverseStreamCommand = __esm(() => {
|
|
|
7396
6605
|
};
|
|
7397
6606
|
});
|
|
7398
6607
|
|
|
7399
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6608
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js
|
|
7400
6609
|
var import_middleware_endpoint5, import_smithy_client9, CountTokensCommand;
|
|
7401
6610
|
var init_CountTokensCommand = __esm(() => {
|
|
7402
6611
|
init_EndpointParameters();
|
|
7403
6612
|
init_schemas_0();
|
|
7404
|
-
import_middleware_endpoint5 = __toESM(
|
|
7405
|
-
import_smithy_client9 = __toESM(
|
|
6613
|
+
import_middleware_endpoint5 = __toESM(require_dist_cjs22(), 1);
|
|
6614
|
+
import_smithy_client9 = __toESM(require_dist_cjs11(), 1);
|
|
7406
6615
|
CountTokensCommand = class CountTokensCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7407
6616
|
return [import_middleware_endpoint5.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7408
6617
|
}).s("AmazonBedrockFrontendService", "CountTokens", {}).n("BedrockRuntimeClient", "CountTokensCommand").sc(CountTokens$).build() {
|
|
7409
6618
|
};
|
|
7410
6619
|
});
|
|
7411
6620
|
|
|
7412
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6621
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js
|
|
7413
6622
|
var import_middleware_endpoint6, import_smithy_client10, GetAsyncInvokeCommand;
|
|
7414
6623
|
var init_GetAsyncInvokeCommand = __esm(() => {
|
|
7415
6624
|
init_EndpointParameters();
|
|
7416
6625
|
init_schemas_0();
|
|
7417
|
-
import_middleware_endpoint6 = __toESM(
|
|
7418
|
-
import_smithy_client10 = __toESM(
|
|
6626
|
+
import_middleware_endpoint6 = __toESM(require_dist_cjs22(), 1);
|
|
6627
|
+
import_smithy_client10 = __toESM(require_dist_cjs11(), 1);
|
|
7419
6628
|
GetAsyncInvokeCommand = class GetAsyncInvokeCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7420
6629
|
return [import_middleware_endpoint6.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7421
6630
|
}).s("AmazonBedrockFrontendService", "GetAsyncInvoke", {}).n("BedrockRuntimeClient", "GetAsyncInvokeCommand").sc(GetAsyncInvoke$).build() {
|
|
7422
6631
|
};
|
|
7423
6632
|
});
|
|
7424
6633
|
|
|
7425
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6634
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
|
|
7426
6635
|
var import_middleware_endpoint7, import_smithy_client11, InvokeModelCommand;
|
|
7427
6636
|
var init_InvokeModelCommand = __esm(() => {
|
|
7428
6637
|
init_EndpointParameters();
|
|
7429
6638
|
init_schemas_0();
|
|
7430
|
-
import_middleware_endpoint7 = __toESM(
|
|
7431
|
-
import_smithy_client11 = __toESM(
|
|
6639
|
+
import_middleware_endpoint7 = __toESM(require_dist_cjs22(), 1);
|
|
6640
|
+
import_smithy_client11 = __toESM(require_dist_cjs11(), 1);
|
|
7432
6641
|
InvokeModelCommand = class InvokeModelCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7433
6642
|
return [import_middleware_endpoint7.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7434
6643
|
}).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").sc(InvokeModel$).build() {
|
|
7435
6644
|
};
|
|
7436
6645
|
});
|
|
7437
6646
|
|
|
7438
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6647
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js
|
|
7439
6648
|
var import_middleware_endpoint8, import_smithy_client12, InvokeModelWithBidirectionalStreamCommand;
|
|
7440
6649
|
var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
|
|
7441
|
-
|
|
7442
|
-
|
|
6650
|
+
init_dist_es2();
|
|
6651
|
+
init_dist_es5();
|
|
7443
6652
|
init_EndpointParameters();
|
|
7444
6653
|
init_schemas_0();
|
|
7445
|
-
import_middleware_endpoint8 = __toESM(
|
|
7446
|
-
import_smithy_client12 = __toESM(
|
|
6654
|
+
import_middleware_endpoint8 = __toESM(require_dist_cjs22(), 1);
|
|
6655
|
+
import_smithy_client12 = __toESM(require_dist_cjs11(), 1);
|
|
7447
6656
|
InvokeModelWithBidirectionalStreamCommand = class InvokeModelWithBidirectionalStreamCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7448
6657
|
return [
|
|
7449
6658
|
import_middleware_endpoint8.getEndpointPlugin(config3, Command.getEndpointParameterInstructions()),
|
|
@@ -7461,13 +6670,13 @@ var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
|
|
|
7461
6670
|
};
|
|
7462
6671
|
});
|
|
7463
6672
|
|
|
7464
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6673
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
|
|
7465
6674
|
var import_middleware_endpoint9, import_smithy_client13, InvokeModelWithResponseStreamCommand;
|
|
7466
6675
|
var init_InvokeModelWithResponseStreamCommand = __esm(() => {
|
|
7467
6676
|
init_EndpointParameters();
|
|
7468
6677
|
init_schemas_0();
|
|
7469
|
-
import_middleware_endpoint9 = __toESM(
|
|
7470
|
-
import_smithy_client13 = __toESM(
|
|
6678
|
+
import_middleware_endpoint9 = __toESM(require_dist_cjs22(), 1);
|
|
6679
|
+
import_smithy_client13 = __toESM(require_dist_cjs11(), 1);
|
|
7471
6680
|
InvokeModelWithResponseStreamCommand = class InvokeModelWithResponseStreamCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7472
6681
|
return [import_middleware_endpoint9.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7473
6682
|
}).s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
|
|
@@ -7478,42 +6687,42 @@ var init_InvokeModelWithResponseStreamCommand = __esm(() => {
|
|
|
7478
6687
|
};
|
|
7479
6688
|
});
|
|
7480
6689
|
|
|
7481
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6690
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js
|
|
7482
6691
|
var import_middleware_endpoint10, import_smithy_client14, ListAsyncInvokesCommand;
|
|
7483
6692
|
var init_ListAsyncInvokesCommand = __esm(() => {
|
|
7484
6693
|
init_EndpointParameters();
|
|
7485
6694
|
init_schemas_0();
|
|
7486
|
-
import_middleware_endpoint10 = __toESM(
|
|
7487
|
-
import_smithy_client14 = __toESM(
|
|
6695
|
+
import_middleware_endpoint10 = __toESM(require_dist_cjs22(), 1);
|
|
6696
|
+
import_smithy_client14 = __toESM(require_dist_cjs11(), 1);
|
|
7488
6697
|
ListAsyncInvokesCommand = class ListAsyncInvokesCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7489
6698
|
return [import_middleware_endpoint10.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7490
6699
|
}).s("AmazonBedrockFrontendService", "ListAsyncInvokes", {}).n("BedrockRuntimeClient", "ListAsyncInvokesCommand").sc(ListAsyncInvokes$).build() {
|
|
7491
6700
|
};
|
|
7492
6701
|
});
|
|
7493
6702
|
|
|
7494
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6703
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js
|
|
7495
6704
|
var import_middleware_endpoint11, import_smithy_client15, StartAsyncInvokeCommand;
|
|
7496
6705
|
var init_StartAsyncInvokeCommand = __esm(() => {
|
|
7497
6706
|
init_EndpointParameters();
|
|
7498
6707
|
init_schemas_0();
|
|
7499
|
-
import_middleware_endpoint11 = __toESM(
|
|
7500
|
-
import_smithy_client15 = __toESM(
|
|
6708
|
+
import_middleware_endpoint11 = __toESM(require_dist_cjs22(), 1);
|
|
6709
|
+
import_smithy_client15 = __toESM(require_dist_cjs11(), 1);
|
|
7501
6710
|
StartAsyncInvokeCommand = class StartAsyncInvokeCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
|
|
7502
6711
|
return [import_middleware_endpoint11.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
|
|
7503
6712
|
}).s("AmazonBedrockFrontendService", "StartAsyncInvoke", {}).n("BedrockRuntimeClient", "StartAsyncInvokeCommand").sc(StartAsyncInvoke$).build() {
|
|
7504
6713
|
};
|
|
7505
6714
|
});
|
|
7506
6715
|
|
|
7507
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6716
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/ListAsyncInvokesPaginator.js
|
|
7508
6717
|
var import_core5, paginateListAsyncInvokes;
|
|
7509
6718
|
var init_ListAsyncInvokesPaginator = __esm(() => {
|
|
7510
6719
|
init_BedrockRuntimeClient();
|
|
7511
6720
|
init_ListAsyncInvokesCommand();
|
|
7512
|
-
import_core5 = __toESM(
|
|
6721
|
+
import_core5 = __toESM(require_dist_cjs12(), 1);
|
|
7513
6722
|
paginateListAsyncInvokes = import_core5.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
|
|
7514
6723
|
});
|
|
7515
6724
|
|
|
7516
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6725
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js
|
|
7517
6726
|
var import_smithy_client16, commands, paginators, BedrockRuntime;
|
|
7518
6727
|
var init_BedrockRuntime = __esm(() => {
|
|
7519
6728
|
init_BedrockRuntimeClient();
|
|
@@ -7528,7 +6737,7 @@ var init_BedrockRuntime = __esm(() => {
|
|
|
7528
6737
|
init_ListAsyncInvokesCommand();
|
|
7529
6738
|
init_StartAsyncInvokeCommand();
|
|
7530
6739
|
init_ListAsyncInvokesPaginator();
|
|
7531
|
-
import_smithy_client16 = __toESM(
|
|
6740
|
+
import_smithy_client16 = __toESM(require_dist_cjs11(), 1);
|
|
7532
6741
|
commands = {
|
|
7533
6742
|
ApplyGuardrailCommand,
|
|
7534
6743
|
ConverseCommand,
|
|
@@ -7549,7 +6758,7 @@ var init_BedrockRuntime = __esm(() => {
|
|
|
7549
6758
|
import_smithy_client16.createAggregatedClient(commands, BedrockRuntime, { paginators });
|
|
7550
6759
|
});
|
|
7551
6760
|
|
|
7552
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6761
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js
|
|
7553
6762
|
var init_commands = __esm(() => {
|
|
7554
6763
|
init_ApplyGuardrailCommand();
|
|
7555
6764
|
init_ConverseCommand();
|
|
@@ -7563,23 +6772,23 @@ var init_commands = __esm(() => {
|
|
|
7563
6772
|
init_StartAsyncInvokeCommand();
|
|
7564
6773
|
});
|
|
7565
6774
|
|
|
7566
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6775
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/Interfaces.js
|
|
7567
6776
|
var init_Interfaces = () => {};
|
|
7568
6777
|
|
|
7569
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6778
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/index.js
|
|
7570
6779
|
var init_pagination3 = __esm(() => {
|
|
7571
6780
|
init_Interfaces();
|
|
7572
6781
|
init_ListAsyncInvokesPaginator();
|
|
7573
6782
|
});
|
|
7574
6783
|
|
|
7575
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6784
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js
|
|
7576
6785
|
var init_enums = () => {};
|
|
7577
6786
|
|
|
7578
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
6787
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
|
|
7579
6788
|
var init_models_0 = () => {};
|
|
7580
6789
|
|
|
7581
|
-
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.
|
|
7582
|
-
var
|
|
6790
|
+
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1030.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js
|
|
6791
|
+
var init_dist_es31 = __esm(() => {
|
|
7583
6792
|
init_BedrockRuntimeClient();
|
|
7584
6793
|
init_BedrockRuntime();
|
|
7585
6794
|
init_commands();
|
|
@@ -7715,8 +6924,8 @@ var de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
7715
6924
|
return {};
|
|
7716
6925
|
});
|
|
7717
6926
|
var init_AWS_restJson1 = __esm(() => {
|
|
7718
|
-
|
|
7719
|
-
|
|
6927
|
+
init_dist_es29();
|
|
6928
|
+
init_dist_es31();
|
|
7720
6929
|
});
|
|
7721
6930
|
|
|
7722
6931
|
// node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/internal/shims.mjs
|
|
@@ -7833,8 +7042,8 @@ var import_fetch_http_handler2, toUtf84 = (input) => new TextDecoder("utf-8").de
|
|
|
7833
7042
|
};
|
|
7834
7043
|
}, Stream2;
|
|
7835
7044
|
var init_streaming2 = __esm(() => {
|
|
7836
|
-
|
|
7837
|
-
|
|
7045
|
+
init_dist_es22();
|
|
7046
|
+
init_dist_es23();
|
|
7838
7047
|
init_streaming();
|
|
7839
7048
|
init_error2();
|
|
7840
7049
|
init_sdk();
|
|
@@ -7842,7 +7051,7 @@ var init_streaming2 = __esm(() => {
|
|
|
7842
7051
|
init_shims();
|
|
7843
7052
|
init_values();
|
|
7844
7053
|
init_log();
|
|
7845
|
-
import_fetch_http_handler2 = __toESM(
|
|
7054
|
+
import_fetch_http_handler2 = __toESM(require_dist_cjs10(), 1);
|
|
7846
7055
|
Stream2 = class Stream2 extends Stream {
|
|
7847
7056
|
static fromSSEResponse(response3, controller, client4) {
|
|
7848
7057
|
let consumed = false;
|