@costrict/csc 4.0.4 → 4.0.5-2
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-kpdp2gz2.js → chunk-017h2t5s.js} +13 -13
- package/dist/{chunk-tg41r14s.js → chunk-01s11pzc.js} +5 -5
- package/dist/{chunk-yhjccrrs.js → chunk-03fgtmxr.js} +97 -97
- package/dist/{chunk-pn0k5wak.js → chunk-03qpgz7e.js} +749 -23
- package/dist/{chunk-zwna33ms.js → chunk-04gervaa.js} +36 -36
- package/dist/{chunk-xq3k2392.js → chunk-06vftkzj.js} +57 -57
- package/dist/{chunk-b4ftppkp.js → chunk-07qe00pw.js} +22 -22
- package/dist/{chunk-zwv3h48p.js → chunk-0bnr3avz.js} +3 -3
- package/dist/{chunk-gaz7te9m.js → chunk-0f0x7wey.js} +6 -6
- package/dist/{chunk-tw4tjc73.js → chunk-0jd3p53p.js} +1 -1
- package/dist/{chunk-waar1mpa.js → chunk-0mf8c3kx.js} +2 -3
- package/dist/{chunk-31959kp1.js → chunk-0t96xx6m.js} +5 -5
- package/dist/chunk-0vrstrej.js +40 -0
- package/dist/{chunk-epat31ss.js → chunk-0vwyh27q.js} +1 -1
- package/dist/{chunk-v4zejp1f.js → chunk-0wcjaby5.js} +57 -57
- package/dist/{chunk-bg86k3wz.js → chunk-0x2d0pvq.js} +83 -339
- package/dist/{chunk-smzahkka.js → chunk-0xfdnpd3.js} +4 -4
- package/dist/{chunk-bgptt4dd.js → chunk-0xkrxtvs.js} +56 -56
- package/dist/{chunk-w8ttjf01.js → chunk-0yncnctp.js} +183 -179
- package/dist/{chunk-m0yqzzgm.js → chunk-11hsxgtv.js} +2 -2
- package/dist/{chunk-6rrp0t66.js → chunk-1gj2ern2.js} +530 -1321
- package/dist/{chunk-zatd0y92.js → chunk-1nmcmem8.js} +5 -5
- package/dist/{chunk-3q10e1r5.js → chunk-22rbrd4c.js} +64 -64
- package/dist/{chunk-ds6b4567.js → chunk-25d4tsxt.js} +67 -67
- package/dist/{chunk-p6359g16.js → chunk-2625r3vm.js} +26 -26
- package/dist/{chunk-sqb7kkqx.js → chunk-262zh26y.js} +6 -6
- package/dist/{chunk-m5chmh67.js → chunk-2c0sn45e.js} +2 -2
- package/dist/{chunk-cb0cjgk3.js → chunk-2d3mes58.js} +56 -56
- package/dist/{chunk-4qcmn89e.js → chunk-2dhbfegz.js} +14 -17
- package/dist/{chunk-whs655k7.js → chunk-2dwsdnd5.js} +57 -57
- package/dist/{chunk-j1psatq5.js → chunk-2j59ksap.js} +3 -3
- package/dist/{chunk-pv6amr31.js → chunk-2kmmz00g.js} +1 -1
- package/dist/{chunk-nt36mbmr.js → chunk-2mtjmgq4.js} +14 -14
- package/dist/{chunk-j2ba3wye.js → chunk-2ne8qzyp.js} +22 -22
- package/dist/chunk-2xpkjfdd.js +94 -0
- package/dist/{chunk-eenv3551.js → chunk-30934n2w.js} +56 -56
- package/dist/{chunk-125xg82c.js → chunk-3a8yw7zy.js} +22 -22
- package/dist/{chunk-hhc28ga0.js → chunk-3aj8x8wh.js} +26 -26
- package/dist/{chunk-j5bved6z.js → chunk-3hk1e3s8.js} +61 -61
- package/dist/{chunk-b43rsa2d.js → chunk-3nys7146.js} +2 -2
- package/dist/{chunk-pbn6n0kg.js → chunk-3px6h32z.js} +56 -56
- package/dist/{chunk-bnznxckg.js → chunk-3rrf7vb7.js} +56 -56
- package/dist/{chunk-j2bv645h.js → chunk-3s96vaet.js} +9 -11
- package/dist/{chunk-8ew7s39b.js → chunk-3wdbgpa5.js} +1 -1
- package/dist/{chunk-a7bs51hq.js → chunk-423tyk90.js} +28 -28
- package/dist/{chunk-6zf34pgy.js → chunk-47sy4t29.js} +1 -1
- package/dist/{chunk-p2xfr5am.js → chunk-48qkvr25.js} +57 -57
- package/dist/{chunk-q4tkspkp.js → chunk-4bfe005x.js} +4 -4
- package/dist/{chunk-qdfzdcz3.js → chunk-4dn253dg.js} +60 -60
- package/dist/{chunk-r089a4na.js → chunk-4gv5n07n.js} +22 -22
- package/dist/{chunk-npvte75f.js → chunk-4jy4qv07.js} +5 -5
- 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-zwwgfs0j.js → chunk-4rwe8abn.js} +3 -3
- package/dist/{chunk-122wp3n9.js → chunk-4sfd9m3h.js} +2 -2
- package/dist/{chunk-q72weaf5.js → chunk-4tn9qqws.js} +829 -2177
- package/dist/{chunk-3d953efq.js → chunk-4wr994cr.js} +5 -5
- package/dist/{chunk-kaqp12mx.js → chunk-4xptxbxj.js} +56 -56
- package/dist/{chunk-9pp9xrw2.js → chunk-50fv6d8k.js} +14 -17
- package/dist/{chunk-fmq83t7h.js → chunk-50x6aec4.js} +3 -3
- package/dist/{chunk-9k7n4z3r.js → chunk-54nmt278.js} +5 -5
- package/dist/{chunk-kn9hzg11.js → chunk-5798ckxm.js} +3 -3
- package/dist/{chunk-m3szhhvz.js → chunk-5bb2bqwr.js} +58 -58
- package/dist/{chunk-63v197w4.js → chunk-5c6821w5.js} +56 -56
- package/dist/{chunk-vh70jg33.js → chunk-5kzpey2d.js} +4 -4
- package/dist/{chunk-4w4wdgeb.js → chunk-5nbjxyeb.js} +23 -23
- package/dist/{chunk-1sg2k4mx.js → chunk-5vdpbk46.js} +515 -515
- package/dist/{chunk-yhc1fee8.js → chunk-5vt3zdmw.js} +23 -23
- package/dist/{chunk-0gqymhpf.js → chunk-61ts87kf.js} +4 -4
- package/dist/{chunk-tjaexdr7.js → chunk-63cw4ef2.js} +56 -56
- package/dist/{chunk-9rtywfhp.js → chunk-64nsm3qd.js} +2 -2
- package/dist/{chunk-7mpdfrdm.js → chunk-656z4m7c.js} +5 -5
- package/dist/{chunk-h9ef6kkf.js → chunk-67xwtjkv.js} +5 -5
- package/dist/{chunk-8jpxzesa.js → chunk-67zpbdn4.js} +1 -1
- package/dist/{chunk-8vawdfrp.js → chunk-6c5zyga7.js} +3 -5
- package/dist/{chunk-mz0qfs55.js → chunk-6dj7qxgs.js} +63 -63
- package/dist/{chunk-jxyh3xyq.js → chunk-6e7m4qwa.js} +23 -23
- package/dist/{chunk-f6qh3vrn.js → chunk-6kw1svfr.js} +4 -4
- package/dist/{chunk-t1mtqz1e.js → chunk-6r247w4d.js} +1 -1
- package/dist/{chunk-4mygvv18.js → chunk-6rjtp4nk.js} +57 -57
- package/dist/{chunk-dct4myst.js → chunk-6yax8ef2.js} +57 -57
- package/dist/{chunk-ntwe4mq2.js → chunk-6zfse75g.js} +11 -11
- package/dist/{chunk-tz2rkx2s.js → chunk-71xc05s3.js} +3 -3
- package/dist/{chunk-2mmx9qqz.js → chunk-769r5are.js} +27 -27
- package/dist/{chunk-zf5wkcyy.js → chunk-7bme7hfa.js} +127 -1099
- package/dist/{chunk-ppa284pd.js → chunk-7h8yq9tw.js} +56 -56
- package/dist/{chunk-sx291v4f.js → chunk-7mkddxxm.js} +63 -63
- package/dist/{chunk-9m27g5s1.js → chunk-7njxy9q8.js} +18 -3
- package/dist/{chunk-vdh36rw7.js → chunk-7pdhxye3.js} +3 -3
- package/dist/{chunk-zpm1rpmw.js → chunk-7q2pgeny.js} +16 -16
- package/dist/{chunk-f16qs2ag.js → chunk-7r37a4t0.js} +56 -56
- package/dist/{chunk-skxa5fes.js → chunk-7sk1sscc.js} +14 -16
- package/dist/{chunk-b3behs0y.js → chunk-7wqgtnxf.js} +3 -3
- package/dist/{chunk-3gaxrmqq.js → chunk-7xsa2mcd.js} +15 -15
- package/dist/{chunk-t1whcbtd.js → chunk-7zzbce1y.js} +73 -73
- package/dist/{chunk-371mcwkv.js → chunk-861s8jy8.js} +7 -7
- package/dist/{chunk-kh9fj2xh.js → chunk-86415apq.js} +60 -60
- package/dist/{chunk-7vzj8rfd.js → chunk-86b8rhe0.js} +4 -4
- package/dist/{chunk-tp3mqwh3.js → chunk-87gjcnga.js} +7 -7
- package/dist/{chunk-vxnvzfnv.js → chunk-8avfrdpz.js} +2 -3
- package/dist/{chunk-6dhen79h.js → chunk-8b3p55rz.js} +8 -8
- package/dist/{chunk-h13g15kb.js → chunk-8bcxzxe5.js} +1 -1
- package/dist/{chunk-pb2x8g1w.js → chunk-8g14cs7t.js} +67 -67
- package/dist/{chunk-s6a338bt.js → chunk-8g3sbhtv.js} +3 -3
- package/dist/{chunk-2f3vsxna.js → chunk-8hmfghmy.js} +5 -5
- package/dist/{chunk-j64ga6ta.js → chunk-8jyp5q4y.js} +304 -272
- package/dist/{chunk-zwkqabbj.js → chunk-8wxvkw8d.js} +11 -11
- package/dist/{chunk-3b5a4wa6.js → chunk-8zfg78yq.js} +22 -22
- package/dist/{chunk-02n5zpyc.js → chunk-95gj5fgc.js} +4 -4
- package/dist/{chunk-rzj6hzme.js → chunk-965vae8e.js} +8 -8
- package/dist/{chunk-rar7nmve.js → chunk-9b7s3jwq.js} +57 -57
- package/dist/{chunk-ga3m4ews.js → chunk-9bt80zz1.js} +56 -56
- package/dist/{chunk-ng8q29em.js → chunk-9f1128wv.js} +2 -2
- package/dist/chunk-9fnz1421.js +180 -0
- package/dist/{chunk-kh9hfyzf.js → chunk-9qjtmqvh.js} +56 -56
- package/dist/{chunk-eserktyd.js → chunk-9szwp11z.js} +4 -4
- package/dist/{chunk-vmfckw4g.js → chunk-9v2wtvk2.js} +56 -56
- package/dist/{chunk-ftwqpbvy.js → chunk-9xz0knh8.js} +56 -56
- package/dist/{chunk-b82adekm.js → chunk-absyky51.js} +57 -57
- package/dist/{chunk-bneqxcmf.js → chunk-acv242nr.js} +1 -1
- package/dist/{chunk-4h43b7ww.js → chunk-ak67x6gk.js} +69 -69
- package/dist/{chunk-w12f58yz.js → chunk-amp2gnxw.js} +14 -17
- package/dist/{chunk-mnrswcqf.js → chunk-anm6tjv1.js} +56 -56
- package/dist/{chunk-b909mp8w.js → chunk-aqf46h5w.js} +1 -1
- package/dist/{chunk-td6j7fcr.js → chunk-avc2286c.js} +56 -56
- package/dist/{chunk-y64tceyw.js → chunk-b08zpkbe.js} +3 -3
- package/dist/{chunk-rn68wk3p.js → chunk-b91fnap2.js} +22 -22
- package/dist/{chunk-2ab59kwj.js → chunk-bdr1btg9.js} +3 -3
- package/dist/{chunk-03mgn26m.js → chunk-bqhegf30.js} +65 -65
- package/dist/{chunk-j04z48rw.js → chunk-bt64sq5y.js} +3 -3
- package/dist/{chunk-5qxgyby3.js → chunk-btma241g.js} +612 -2
- package/dist/{chunk-yztxtgd8.js → chunk-bvrsyxek.js} +66 -66
- package/dist/{chunk-xs12ggs7.js → chunk-c22zscvr.js} +60 -60
- package/dist/{chunk-ex2q76wx.js → chunk-c5yryhhe.js} +1 -1
- package/dist/{chunk-2kxk7ftp.js → chunk-ccecm4xc.js} +59 -59
- package/dist/{chunk-b2pxvgwp.js → chunk-ccpczrgp.js} +10 -10
- package/dist/{chunk-swq8qack.js → chunk-chm6hn2w.js} +24 -24
- package/dist/{chunk-6ge6zddg.js → chunk-chv0ybb2.js} +3 -3
- package/dist/{chunk-bbxfenf0.js → chunk-ckhc04my.js} +57 -57
- package/dist/{chunk-2dtmmwxh.js → chunk-cqvjzkby.js} +4 -4
- package/dist/{chunk-9b2ts7my.js → chunk-d1gqavnx.js} +1 -1
- package/dist/{chunk-5zpstd3m.js → chunk-dd2axg8f.js} +7 -7
- package/dist/{chunk-9b48fxkx.js → chunk-dde29xbq.js} +56 -56
- package/dist/{chunk-0wp0zaz8.js → chunk-ddqc9xg3.js} +57 -57
- package/dist/{chunk-ngrj6x74.js → chunk-df52t7ys.js} +168 -161
- package/dist/{chunk-sw51thrz.js → chunk-dmmgx418.js} +59 -59
- package/dist/{chunk-pp347e16.js → chunk-dt9jxccj.js} +56 -56
- package/dist/{chunk-tq82bwaf.js → chunk-dvd65zc6.js} +2 -2
- package/dist/{chunk-cx8c18e3.js → chunk-dxrv7e4f.js} +62 -62
- package/dist/{chunk-rgm0v4he.js → chunk-e321pz6p.js} +24 -24
- package/dist/{chunk-vmf74a91.js → chunk-e4r3ytgn.js} +57 -57
- package/dist/{chunk-sjmx1scx.js → chunk-e6y51dry.js} +23 -23
- package/dist/{chunk-sd3jwppm.js → chunk-ebbxn1k1.js} +8 -8
- package/dist/{chunk-m1qqm2nc.js → chunk-ec8te99g.js} +3 -3
- package/dist/{chunk-wkh76b1p.js → chunk-enxnnzk5.js} +7 -7
- package/dist/{chunk-zwa133ny.js → chunk-es1hw74y.js} +2 -2
- package/dist/{chunk-ezwhbfk8.js → chunk-evddwqmn.js} +5 -5
- package/dist/{chunk-1j8anrn2.js → chunk-ezn0kc6e.js} +56 -56
- package/dist/{chunk-dc83q1dm.js → chunk-f4kbe948.js} +2 -2
- package/dist/{chunk-w2x18mrn.js → chunk-f5tw1fzg.js} +23 -23
- package/dist/{chunk-5a6vqs49.js → chunk-f7d1nm78.js} +67 -67
- package/dist/{chunk-p6ejgd85.js → chunk-f9r0qhn5.js} +60 -60
- package/dist/{chunk-7rk9ppx4.js → chunk-fbz7854m.js} +1 -1
- 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-dge3af7q.js → chunk-fgccqgaa.js} +8 -8
- package/dist/{chunk-rwzb4fmk.js → chunk-fh13xqb9.js} +59 -59
- package/dist/{chunk-neh0bkkf.js → chunk-fh1s6406.js} +56 -56
- package/dist/{chunk-nzqmmqwj.js → chunk-fh4n4a9x.js} +23 -23
- package/dist/{chunk-kxptk43f.js → chunk-fjawf9k6.js} +57 -57
- package/dist/{chunk-m7r4wqc3.js → chunk-fp4n49gs.js} +1 -1
- package/dist/{chunk-jvgc4q2b.js → chunk-fqrvsdfn.js} +59 -59
- package/dist/{chunk-svw35ajj.js → chunk-fshcxsrd.js} +57 -57
- package/dist/{chunk-h5qx4apy.js → chunk-fswvn2rk.js} +1 -1
- package/dist/{chunk-bwqvhzrw.js → chunk-fthbxpt7.js} +76 -69
- package/dist/{chunk-send164b.js → chunk-ftm33kfs.js} +23 -23
- package/dist/{chunk-1nz1mgm6.js → chunk-fw8e2t6e.js} +39 -268
- package/dist/{chunk-fw64v27c.js → chunk-fz0ch109.js} +3 -3
- package/dist/{chunk-vxs1rvy8.js → chunk-g27zzhxy.js} +6 -6
- package/dist/{chunk-z8zf2bjp.js → chunk-g4qkf769.js} +4 -4
- package/dist/{chunk-j2cbcyf7.js → chunk-g649rtg8.js} +4 -6
- package/dist/{chunk-5p8k3wyp.js → chunk-g80p271x.js} +59 -59
- package/dist/{chunk-ekkewv4y.js → chunk-g8bjvhzs.js} +1 -1
- package/dist/{chunk-js21kfpq.js → chunk-garqv1np.js} +1 -1
- package/dist/{chunk-2c8aqb33.js → chunk-gemm3j13.js} +56 -56
- package/dist/{chunk-t4z17xt4.js → chunk-geytfqmn.js} +10 -10
- package/dist/{chunk-tsdqd747.js → chunk-gfex5hb6.js} +10 -4
- package/dist/{chunk-kk42fg5v.js → chunk-gffypgc8.js} +23 -23
- package/dist/{chunk-4nvhfqsy.js → chunk-gh5t5hks.js} +58 -58
- package/dist/{chunk-h0n9zhgw.js → chunk-gjsh5d1m.js} +56 -56
- package/dist/{chunk-xeehxb1q.js → chunk-gntxvc8d.js} +3 -3
- package/dist/{chunk-yw0st51b.js → chunk-gp0e8n1j.js} +57 -57
- package/dist/{chunk-7t38tp7c.js → chunk-gvw8sq1x.js} +24 -24
- package/dist/{chunk-5dn1m1r7.js → chunk-gwyn2qmg.js} +2 -2
- package/dist/{chunk-h28xqfk8.js → chunk-gybg10fj.js} +62 -62
- package/dist/{chunk-7srwepm7.js → chunk-h0634caf.js} +1 -1
- package/dist/{chunk-zw543g0m.js → chunk-h50avem9.js} +57 -57
- package/dist/{chunk-34vn56ag.js → chunk-h7c9t4eg.js} +8 -8
- package/dist/{chunk-zbrk28bp.js → chunk-h9vwd6jb.js} +56 -56
- package/dist/{chunk-nn8nkawn.js → chunk-hece55mn.js} +7 -7
- package/dist/{chunk-skrja2sz.js → chunk-hj1zymy7.js} +2 -2
- package/dist/{chunk-7sgn6fv0.js → chunk-hnydgd6d.js} +6 -6
- package/dist/{chunk-9azyfe65.js → chunk-hrj5pszj.js} +61 -61
- package/dist/{chunk-vhjhyt2r.js → chunk-j2dwrqy6.js} +26 -26
- package/dist/{chunk-ebx4j5r5.js → chunk-j6k3zjb5.js} +5 -7
- package/dist/{chunk-3nmhzccb.js → chunk-j6v1eh21.js} +2 -2
- package/dist/{chunk-2xezy8pc.js → chunk-jfr51c5y.js} +7 -7
- package/dist/{chunk-khdftpea.js → chunk-jgxk5p8d.js} +9 -9
- package/dist/{chunk-cs9xxrmx.js → chunk-jh5g3xkz.js} +56 -56
- package/dist/{chunk-zvxjnak3.js → chunk-jpawr85p.js} +56 -56
- package/dist/{chunk-rvp6qq44.js → chunk-jqv2patg.js} +5 -5
- package/dist/{chunk-9kqtdah4.js → chunk-jr21cjeg.js} +1 -1
- package/dist/{chunk-znehavdm.js → chunk-jvnb1zrw.js} +1 -1
- package/dist/{chunk-34b0y9w3.js → chunk-k4xqffsa.js} +57 -57
- package/dist/{chunk-92skmpg9.js → chunk-k53j516k.js} +56 -56
- package/dist/{chunk-jd2ams26.js → chunk-k6h9p8gg.js} +6 -6
- package/dist/{chunk-3c1ddhnk.js → chunk-kgbtjbmd.js} +19 -207
- package/dist/{chunk-ztqfa7pd.js → chunk-khz74t05.js} +56 -56
- package/dist/{chunk-xt4v95je.js → chunk-kjkb2g5m.js} +3 -3
- package/dist/{chunk-tyxhcbsd.js → chunk-kpmqm0t6.js} +1 -1
- package/dist/{chunk-d09j71dr.js → chunk-kqdp5wzc.js} +6 -6
- package/dist/{chunk-8y3eszv7.js → chunk-krbnqs28.js} +2 -2
- package/dist/{chunk-wj8gbr2g.js → chunk-kt3be60k.js} +58 -58
- package/dist/{chunk-vgdtw10n.js → chunk-ktzxeprc.js} +2 -2
- package/dist/{chunk-65gzht6d.js → chunk-m38tg84x.js} +56 -56
- package/dist/{chunk-b3t64cwd.js → chunk-m3x5s3db.js} +59 -59
- package/dist/{chunk-z5w7a1cv.js → chunk-m7p0qsyd.js} +26 -26
- package/dist/{chunk-njdz3yry.js → chunk-mb56b98v.js} +4 -4
- package/dist/{chunk-jp8tnjzr.js → chunk-mc0ehz52.js} +59 -59
- package/dist/{chunk-vf3etxnx.js → chunk-mcs219z2.js} +1 -1
- package/dist/{chunk-ffy37ks3.js → chunk-mdcz65hq.js} +23 -23
- package/dist/{chunk-61edjmf6.js → chunk-mg1w5bk3.js} +2 -2
- package/dist/{chunk-metmg93w.js → chunk-mgjpqqqv.js} +2 -2
- package/dist/{chunk-1k0wbt0f.js → chunk-mn4ve34r.js} +87 -87
- package/dist/{chunk-4vqz7w3v.js → chunk-mratscx5.js} +4 -4
- 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-w8yhf638.js → chunk-nfnvct96.js} +1 -1
- package/dist/{chunk-e5ewhhx6.js → chunk-nm4p4t82.js} +56 -56
- package/dist/{chunk-9pkh2w7v.js → chunk-nm5gk39k.js} +8 -8
- package/dist/{chunk-wyz7j9j0.js → chunk-nr4y1jqa.js} +23 -23
- package/dist/{chunk-1d0d18qj.js → chunk-nsnkzerj.js} +22 -22
- package/dist/{chunk-j5keq4ye.js → chunk-nt65jyx9.js} +60 -60
- package/dist/{chunk-0pkrwxrg.js → chunk-nz4mxnb9.js} +3 -3
- package/dist/{chunk-74v2mh4t.js → chunk-p1adg740.js} +1 -1
- package/dist/{chunk-d8ztpy7x.js → chunk-p45yh5qt.js} +7 -7
- package/dist/{chunk-jvf4wvhn.js → chunk-p4nbt9zw.js} +57 -57
- package/dist/{chunk-0xfz1hj1.js → chunk-pbrwgq4d.js} +6 -6
- package/dist/{chunk-6hk5a6ky.js → chunk-pc5qdkr6.js} +56 -56
- package/dist/{chunk-67jg7cfy.js → chunk-phce1mav.js} +2 -2
- package/dist/{chunk-vjv7wvnc.js → chunk-phqrbrn0.js} +4 -4
- package/dist/{chunk-3xhmzvxm.js → chunk-pjkaqt23.js} +5 -5
- package/dist/{chunk-jq9vjfbd.js → chunk-pjqxn9ac.js} +57 -57
- package/dist/{chunk-npywdb7q.js → chunk-pn1wg9d1.js} +3 -3
- package/dist/{chunk-f62xm8dh.js → chunk-pn8s6m5g.js} +3 -3
- package/dist/{chunk-9snpw77c.js → chunk-pnarhx6j.js} +67 -67
- package/dist/{chunk-6eq35v86.js → chunk-pnv69npn.js} +1 -1
- package/dist/{chunk-1395xfcq.js → chunk-pyzhdqts.js} +58 -58
- package/dist/{chunk-j95j6wz8.js → chunk-q27bsq0y.js} +1 -1
- package/dist/chunk-q697t7v5.js +500 -0
- package/dist/{chunk-wdwa58v1.js → chunk-qc0qywhh.js} +59 -59
- package/dist/{chunk-3jjc204v.js → chunk-qcgd8bgd.js} +18 -18
- package/dist/{chunk-d9bvzfkg.js → chunk-qd5ch7gy.js} +62 -62
- package/dist/{chunk-vj8q7shk.js → chunk-qe7arwgg.js} +2 -2
- package/dist/{chunk-r41sjxcn.js → chunk-qegzj6nm.js} +1 -1
- package/dist/{chunk-9jt1c7t9.js → chunk-qenkaqer.js} +58 -58
- package/dist/{chunk-hyc3kbfq.js → chunk-qevpw4g9.js} +4 -4
- package/dist/{chunk-kerkk89t.js → chunk-qfdzqed0.js} +4 -4
- package/dist/{chunk-99p0sa4h.js → chunk-qhw6wg0y.js} +2 -2
- package/dist/{chunk-6jdrt36m.js → chunk-qk4akts4.js} +2 -2
- package/dist/{chunk-knc5za98.js → chunk-qkjkr973.js} +57 -57
- 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-hfy21maq.js → chunk-qszxzska.js} +6 -6
- package/dist/{chunk-nbvc8bh6.js → chunk-qvf5w48h.js} +24 -24
- package/dist/{chunk-tbce47cr.js → chunk-qxsrtfzn.js} +4 -4
- package/dist/{chunk-2cpxc5we.js → chunk-r1931n7y.js} +56 -56
- package/dist/{chunk-13g6d7wt.js → chunk-r3rck4qa.js} +10 -10
- package/dist/{chunk-pb2nc7r0.js → chunk-r5c38r2r.js} +149 -61
- package/dist/{chunk-k6tzzr9c.js → chunk-r65v6fg2.js} +7 -7
- package/dist/{chunk-me2986xy.js → chunk-r6v7yh3c.js} +57 -57
- package/dist/{chunk-ns3babbs.js → chunk-r7mjzgyn.js} +2 -4
- package/dist/{chunk-jxe1a8kz.js → chunk-rbkzzw66.js} +6 -6
- package/dist/chunk-red9b98p.js +378 -0
- package/dist/{chunk-drnxbc1w.js → chunk-rfp8ja4z.js} +2 -2
- package/dist/{chunk-g8w2205d.js → chunk-rhcejk4j.js} +6 -6
- package/dist/{chunk-r6ewgv12.js → chunk-rjpkjatc.js} +1 -1
- package/dist/{chunk-rw44vqpq.js → chunk-rqzrj3gm.js} +56 -56
- package/dist/{chunk-g0jmqbp4.js → chunk-rr9tqgxc.js} +6 -6
- package/dist/{chunk-s38qgqfs.js → chunk-rrtkz2js.js} +4 -4
- package/dist/{chunk-k95meznc.js → chunk-rsf6y5zm.js} +7 -7
- package/dist/{chunk-7jm7pa1e.js → chunk-ryd3pd8a.js} +14 -17
- package/dist/{chunk-wn8nakrh.js → chunk-s748h9my.js} +56 -56
- package/dist/{chunk-32fv3vze.js → chunk-s8a5ta09.js} +25 -25
- package/dist/{chunk-5wxavbb8.js → chunk-sa4athwh.js} +23 -23
- package/dist/{chunk-ew68a4sy.js → chunk-sec4gngn.js} +57 -57
- package/dist/{chunk-wxe04dx4.js → chunk-sf8fnzc3.js} +3 -3
- package/dist/{chunk-k591s450.js → chunk-sfh6dmxz.js} +56 -56
- package/dist/chunk-shj5md9j.js +1486 -0
- package/dist/{chunk-n0pkzaaw.js → chunk-smcj5g84.js} +6 -6
- package/dist/{chunk-0ejzh5by.js → chunk-spw5dfzh.js} +58 -58
- package/dist/{chunk-1ymedh1v.js → chunk-stwnpgkm.js} +23 -23
- package/dist/{chunk-0kh2f6kh.js → chunk-sz53f4b4.js} +3 -3
- package/dist/{chunk-ndcrbqq2.js → chunk-t24yf1vt.js} +57 -57
- package/dist/{chunk-z93cpz34.js → chunk-t7b3r8v9.js} +3 -3
- package/dist/{chunk-00m08jnq.js → chunk-ta5dpd9k.js} +56 -56
- package/dist/{chunk-mj9rbmy1.js → chunk-tdcaa5xt.js} +5 -5
- package/dist/{chunk-zr78q4qg.js → chunk-tephtjvc.js} +56 -56
- package/dist/{chunk-7f0atzzf.js → chunk-tgwvgrb8.js} +57 -57
- package/dist/{chunk-95dy6w67.js → chunk-tq7vtsx4.js} +2 -2
- package/dist/{chunk-vhk0hgnv.js → chunk-tvw4vmrq.js} +56 -56
- package/dist/{chunk-7vzwyazf.js → chunk-v1rvqs6p.js} +4 -4
- package/dist/{chunk-tzpxsjm3.js → chunk-v3rtftz9.js} +29 -29
- package/dist/{chunk-sm24ay0y.js → chunk-v3yayvzt.js} +117 -117
- package/dist/{chunk-z6wpnk5y.js → chunk-vn9vww4b.js} +1 -1
- package/dist/{chunk-84cjtasj.js → chunk-vnc0m7be.js} +58 -58
- package/dist/{chunk-0wrzeej6.js → chunk-vqnb1we6.js} +1 -1
- package/dist/{chunk-fq1j9zm0.js → chunk-vsa6z84y.js} +3 -3
- package/dist/{chunk-atpyr1kg.js → chunk-vvf0dstd.js} +57 -57
- package/dist/{chunk-6v1p41rg.js → chunk-vy5q8hrp.js} +7 -7
- package/dist/{chunk-mbv3f2vm.js → chunk-vywhk0sd.js} +4 -4
- package/dist/{chunk-t2ex5gsn.js → chunk-w02wh43r.js} +3 -3
- package/dist/{chunk-e08marnp.js → chunk-w058sn3x.js} +4 -4
- package/dist/{chunk-mq7m54qk.js → chunk-w5nbvkxb.js} +69 -69
- package/dist/{chunk-8ympg941.js → chunk-w6eqjaa7.js} +1 -1
- package/dist/{chunk-rexrttsb.js → chunk-wcz7qa33.js} +33 -33
- package/dist/{chunk-jh0d0pbd.js → chunk-wg0d4shw.js} +4 -4
- package/dist/{chunk-7kbezevv.js → chunk-wk9wdgv6.js} +5 -5
- package/dist/{chunk-edt6c4pc.js → chunk-wkjptwgy.js} +73 -73
- package/dist/{chunk-ekqvx6ek.js → chunk-wn36chwc.js} +56 -56
- package/dist/{chunk-sdzpdzj3.js → chunk-wnncbex7.js} +58 -58
- package/dist/{chunk-s8zha7q1.js → chunk-ws1046mv.js} +9 -11
- package/dist/{chunk-bhwnjx3e.js → chunk-wtymvrh9.js} +8 -8
- package/dist/{chunk-drnr3z7x.js → chunk-wz2qyvhx.js} +144 -144
- package/dist/{chunk-sf4rsw52.js → chunk-x463hr55.js} +8 -8
- package/dist/{chunk-xafy9ccy.js → chunk-x6gjy97a.js} +57 -57
- package/dist/{chunk-1zrpqh8h.js → chunk-x7aa6ah7.js} +1 -1
- package/dist/{chunk-79ztw13h.js → chunk-x89jeqbz.js} +2 -2
- package/dist/{chunk-2katyzq9.js → chunk-x8zp00qp.js} +3 -3
- package/dist/{chunk-g24e2jr3.js → chunk-xgxyhgy9.js} +56 -56
- package/dist/{chunk-8w2a9md8.js → chunk-xmmg3e9j.js} +3 -3
- package/dist/{chunk-7e78w86v.js → chunk-xn1wfxt2.js} +3 -3
- package/dist/{chunk-sjraxh5y.js → chunk-xr186qye.js} +57 -57
- package/dist/{chunk-fp2z22f1.js → chunk-xrrbcvj4.js} +59 -59
- package/dist/{chunk-g1jfytsa.js → chunk-xt17cf7n.js} +5 -5
- package/dist/{chunk-tzaj5mwz.js → chunk-xt71y0fa.js} +31 -31
- package/dist/{chunk-rvn77re6.js → chunk-xws9mdet.js} +23 -23
- package/dist/{chunk-vny8tpke.js → chunk-xza7dswj.js} +24 -24
- package/dist/{chunk-d6713rzt.js → chunk-y2zdt5wf.js} +30 -10
- package/dist/{chunk-z5tmqz5e.js → chunk-y4kd1f5p.js} +56 -56
- package/dist/{chunk-t31xvfy2.js → chunk-y5rq3t59.js} +60 -60
- package/dist/{chunk-avtcf910.js → chunk-y5x8wqe5.js} +1 -1
- package/dist/{chunk-wsm0s0c3.js → chunk-yd1xffwg.js} +3 -3
- package/dist/{chunk-vntvaf0c.js → chunk-ydepjfqs.js} +63 -63
- package/dist/{chunk-x6ceqp7t.js → chunk-ydwdbxgd.js} +23 -23
- package/dist/{chunk-hk24qq7n.js → chunk-yh27vvgm.js} +9 -9
- package/dist/{chunk-y8ab9dyv.js → chunk-yn6phqhx.js} +1 -1
- package/dist/{chunk-dc4krjj4.js → chunk-yr4qqfcj.js} +22 -22
- package/dist/{chunk-z43cvm9f.js → chunk-yrzxjvas.js} +75 -75
- package/dist/{chunk-7d3ba1n4.js → chunk-yvzh49tc.js} +1 -1
- package/dist/chunk-z51d7scc.js +244 -0
- package/dist/chunk-zdf30s24.js +334 -0
- package/dist/{chunk-dxcr07z5.js → chunk-ze6zvkg6.js} +4 -4
- package/dist/{chunk-nbath9yz.js → chunk-zhd2dv7y.js} +7 -7
- package/dist/{chunk-nvrje5t4.js → chunk-zm18kc5q.js} +70 -70
- package/dist/{chunk-3px6f9s5.js → chunk-zshqb2h1.js} +2 -2
- package/dist/{chunk-d6vexw90.js → chunk-zyy7th0a.js} +1 -1
- package/dist/cli-bun.js +0 -0
- package/dist/cli-node.js +418 -10
- package/dist/cli.js +11 -11
- package/dist/download-ripgrep.js +1 -1
- package/package.json +200 -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,66 +1,82 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
eventStreamPayloadHandlerProvider,
|
|
4
|
+
eventStreamSerdeProvider,
|
|
5
|
+
getEventStreamPlugin,
|
|
6
|
+
getWebSocketPlugin,
|
|
7
|
+
init_dist_es as init_dist_es6,
|
|
8
|
+
init_dist_es3 as init_dist_es7,
|
|
9
|
+
init_dist_es4 as init_dist_es8,
|
|
10
|
+
init_dist_es5 as init_dist_es9,
|
|
11
|
+
init_dist_es6 as init_dist_es10,
|
|
12
|
+
resolveEventStreamConfig,
|
|
13
|
+
resolveEventStreamSerdeConfig,
|
|
14
|
+
resolveWebSocketConfig
|
|
15
|
+
} from "./chunk-shj5md9j.js";
|
|
6
16
|
import {
|
|
7
17
|
fromEnvSigningName,
|
|
8
|
-
init_dist_es as
|
|
18
|
+
init_dist_es as init_dist_es4,
|
|
9
19
|
nodeProvider
|
|
10
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7pdhxye3.js";
|
|
21
|
+
import {
|
|
22
|
+
init_dist_es as init_dist_es5,
|
|
23
|
+
resolveDefaultsModeConfig
|
|
24
|
+
} from "./chunk-2xpkjfdd.js";
|
|
25
|
+
import {
|
|
26
|
+
EndpointCache,
|
|
27
|
+
NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
28
|
+
NODE_REGION_CONFIG_OPTIONS,
|
|
29
|
+
NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
30
|
+
NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
31
|
+
customEndpointFunctions,
|
|
32
|
+
init_dist_es as init_dist_es2,
|
|
33
|
+
init_dist_es1 as init_dist_es3,
|
|
34
|
+
resolveEndpoint,
|
|
35
|
+
resolveRegionConfig
|
|
36
|
+
} from "./chunk-n35vwqby.js";
|
|
11
37
|
import {
|
|
12
38
|
defaultProvider,
|
|
13
39
|
init_dist_es
|
|
14
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-95gj5fgc.js";
|
|
15
41
|
import"./chunk-9xrxpxr6.js";
|
|
16
42
|
import {
|
|
17
|
-
require_dist_cjs as
|
|
18
|
-
require_dist_cjs1 as
|
|
19
|
-
require_dist_cjs10 as
|
|
20
|
-
require_dist_cjs11 as
|
|
21
|
-
require_dist_cjs12 as
|
|
22
|
-
require_dist_cjs2 as
|
|
23
|
-
require_dist_cjs3 as
|
|
24
|
-
require_dist_cjs4 as
|
|
25
|
-
require_dist_cjs5 as
|
|
26
|
-
require_dist_cjs6 as
|
|
27
|
-
require_dist_cjs7 as
|
|
28
|
-
require_dist_cjs8 as
|
|
29
|
-
require_dist_cjs9 as
|
|
43
|
+
require_dist_cjs as require_dist_cjs10,
|
|
44
|
+
require_dist_cjs1 as require_dist_cjs11,
|
|
45
|
+
require_dist_cjs10 as require_dist_cjs20,
|
|
46
|
+
require_dist_cjs11 as require_dist_cjs21,
|
|
47
|
+
require_dist_cjs12 as require_dist_cjs22,
|
|
48
|
+
require_dist_cjs2 as require_dist_cjs12,
|
|
49
|
+
require_dist_cjs3 as require_dist_cjs13,
|
|
50
|
+
require_dist_cjs4 as require_dist_cjs14,
|
|
51
|
+
require_dist_cjs5 as require_dist_cjs15,
|
|
52
|
+
require_dist_cjs6 as require_dist_cjs16,
|
|
53
|
+
require_dist_cjs7 as require_dist_cjs17,
|
|
54
|
+
require_dist_cjs8 as require_dist_cjs18,
|
|
55
|
+
require_dist_cjs9 as require_dist_cjs19,
|
|
30
56
|
require_protocols
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import
|
|
33
|
-
require_dist_cjs as require_dist_cjs14,
|
|
34
|
-
require_dist_cjs1 as require_dist_cjs18
|
|
35
|
-
} from "./chunk-pb2nc7r0.js";
|
|
36
|
-
import {
|
|
37
|
-
require_dist_cjs as require_dist_cjs24
|
|
38
|
-
} from "./chunk-enhtm7h3.js";
|
|
57
|
+
} from "./chunk-fg5ke2mj.js";
|
|
58
|
+
import"./chunk-r5c38r2r.js";
|
|
39
59
|
import"./chunk-kxqjncxw.js";
|
|
40
60
|
import {
|
|
41
|
-
require_dist_cjs as
|
|
42
|
-
} from "./chunk-
|
|
61
|
+
require_dist_cjs as require_dist_cjs8
|
|
62
|
+
} from "./chunk-y5x8wqe5.js";
|
|
43
63
|
import {
|
|
44
64
|
require_httpAuthSchemes
|
|
45
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-j6k3zjb5.js";
|
|
46
66
|
import {
|
|
47
|
-
require_dist_cjs as
|
|
48
|
-
} from "./chunk-
|
|
67
|
+
require_dist_cjs as require_dist_cjs9
|
|
68
|
+
} from "./chunk-q27bsq0y.js";
|
|
49
69
|
import {
|
|
50
70
|
require_dist_cjs as require_dist_cjs5,
|
|
71
|
+
require_dist_cjs2 as require_dist_cjs7,
|
|
51
72
|
require_schema
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
require_dist_cjs1 as require_dist_cjs7,
|
|
55
|
-
require_dist_cjs2 as require_dist_cjs8
|
|
56
|
-
} from "./chunk-b0bk6bxs.js";
|
|
73
|
+
} from "./chunk-03qpgz7e.js";
|
|
57
74
|
import {
|
|
58
75
|
require_client
|
|
59
76
|
} from "./chunk-psmfpddh.js";
|
|
60
77
|
import {
|
|
61
|
-
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import"./chunk-btnvjcc5.js";
|
|
78
|
+
require_dist_cjs2
|
|
79
|
+
} from "./chunk-gfex5hb6.js";
|
|
64
80
|
import {
|
|
65
81
|
require_dist_cjs
|
|
66
82
|
} from "./chunk-jcfk76z5.js";
|
|
@@ -81,799 +97,6 @@ import {
|
|
|
81
97
|
__toESM
|
|
82
98
|
} from "./chunk-qp2qdcda.js";
|
|
83
99
|
|
|
84
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamConfiguration.js
|
|
85
|
-
function resolveEventStreamConfig(input) {
|
|
86
|
-
const eventSigner = input.signer;
|
|
87
|
-
const messageSigner = input.signer;
|
|
88
|
-
const newInput = Object.assign(input, {
|
|
89
|
-
eventSigner,
|
|
90
|
-
messageSigner
|
|
91
|
-
});
|
|
92
|
-
const eventStreamPayloadHandler = newInput.eventStreamPayloadHandlerProvider(newInput);
|
|
93
|
-
return Object.assign(newInput, {
|
|
94
|
-
eventStreamPayloadHandler
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
var init_eventStreamConfiguration = () => {};
|
|
98
|
-
|
|
99
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
|
|
100
|
-
var import_protocol_http, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
|
|
101
|
-
const { request } = args;
|
|
102
|
-
if (!import_protocol_http.HttpRequest.isInstance(request))
|
|
103
|
-
return next(args);
|
|
104
|
-
return options.eventStreamPayloadHandler.handle(next, args, context);
|
|
105
|
-
}, eventStreamHandlingMiddlewareOptions;
|
|
106
|
-
var init_eventStreamHandlingMiddleware = __esm(() => {
|
|
107
|
-
import_protocol_http = __toESM(require_dist_cjs(), 1);
|
|
108
|
-
eventStreamHandlingMiddlewareOptions = {
|
|
109
|
-
tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
|
|
110
|
-
name: "eventStreamHandlingMiddleware",
|
|
111
|
-
relation: "after",
|
|
112
|
-
toMiddleware: "awsAuthMiddleware",
|
|
113
|
-
override: true
|
|
114
|
-
};
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js
|
|
118
|
-
var import_protocol_http2, eventStreamHeaderMiddleware = (next) => async (args) => {
|
|
119
|
-
const { request } = args;
|
|
120
|
-
if (!import_protocol_http2.HttpRequest.isInstance(request))
|
|
121
|
-
return next(args);
|
|
122
|
-
request.headers = {
|
|
123
|
-
...request.headers,
|
|
124
|
-
"content-type": "application/vnd.amazon.eventstream",
|
|
125
|
-
"x-amz-content-sha256": "STREAMING-AWS4-HMAC-SHA256-EVENTS"
|
|
126
|
-
};
|
|
127
|
-
return next({
|
|
128
|
-
...args,
|
|
129
|
-
request
|
|
130
|
-
});
|
|
131
|
-
}, eventStreamHeaderMiddlewareOptions;
|
|
132
|
-
var init_eventStreamHeaderMiddleware = __esm(() => {
|
|
133
|
-
import_protocol_http2 = __toESM(require_dist_cjs(), 1);
|
|
134
|
-
eventStreamHeaderMiddlewareOptions = {
|
|
135
|
-
step: "build",
|
|
136
|
-
tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
|
|
137
|
-
name: "eventStreamHeaderMiddleware",
|
|
138
|
-
override: true
|
|
139
|
-
};
|
|
140
|
-
});
|
|
141
|
-
|
|
142
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/getEventStreamPlugin.js
|
|
143
|
-
var getEventStreamPlugin = (options) => ({
|
|
144
|
-
applyToStack: (clientStack) => {
|
|
145
|
-
clientStack.addRelativeTo(eventStreamHandlingMiddleware(options), eventStreamHandlingMiddlewareOptions);
|
|
146
|
-
clientStack.add(eventStreamHeaderMiddleware, eventStreamHeaderMiddlewareOptions);
|
|
147
|
-
}
|
|
148
|
-
});
|
|
149
|
-
var init_getEventStreamPlugin = __esm(() => {
|
|
150
|
-
init_eventStreamHandlingMiddleware();
|
|
151
|
-
init_eventStreamHeaderMiddleware();
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
// node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.9/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js
|
|
155
|
-
var init_dist_es3 = __esm(() => {
|
|
156
|
-
init_eventStreamConfiguration();
|
|
157
|
-
init_eventStreamHandlingMiddleware();
|
|
158
|
-
init_eventStreamHeaderMiddleware();
|
|
159
|
-
init_getEventStreamPlugin();
|
|
160
|
-
});
|
|
161
|
-
|
|
162
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
|
|
163
|
-
class Int64 {
|
|
164
|
-
bytes;
|
|
165
|
-
constructor(bytes) {
|
|
166
|
-
this.bytes = bytes;
|
|
167
|
-
if (bytes.byteLength !== 8) {
|
|
168
|
-
throw new Error("Int64 buffers must be exactly 8 bytes");
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
static fromNumber(number) {
|
|
172
|
-
if (number > 9223372036854776000 || number < -9223372036854776000) {
|
|
173
|
-
throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
|
|
174
|
-
}
|
|
175
|
-
const bytes = new Uint8Array(8);
|
|
176
|
-
for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
|
|
177
|
-
bytes[i] = remaining;
|
|
178
|
-
}
|
|
179
|
-
if (number < 0) {
|
|
180
|
-
negate(bytes);
|
|
181
|
-
}
|
|
182
|
-
return new Int64(bytes);
|
|
183
|
-
}
|
|
184
|
-
valueOf() {
|
|
185
|
-
const bytes = this.bytes.slice(0);
|
|
186
|
-
const negative = bytes[0] & 128;
|
|
187
|
-
if (negative) {
|
|
188
|
-
negate(bytes);
|
|
189
|
-
}
|
|
190
|
-
return parseInt(import_util_hex_encoding.toHex(bytes), 16) * (negative ? -1 : 1);
|
|
191
|
-
}
|
|
192
|
-
toString() {
|
|
193
|
-
return String(this.valueOf());
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
function negate(bytes) {
|
|
197
|
-
for (let i = 0;i < 8; i++) {
|
|
198
|
-
bytes[i] ^= 255;
|
|
199
|
-
}
|
|
200
|
-
for (let i = 7;i > -1; i--) {
|
|
201
|
-
bytes[i]++;
|
|
202
|
-
if (bytes[i] !== 0)
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
var import_util_hex_encoding;
|
|
207
|
-
var init_Int64 = __esm(() => {
|
|
208
|
-
import_util_hex_encoding = __toESM(require_dist_cjs8(), 1);
|
|
209
|
-
});
|
|
210
|
-
|
|
211
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
|
|
212
|
-
class HeaderMarshaller {
|
|
213
|
-
toUtf8;
|
|
214
|
-
fromUtf8;
|
|
215
|
-
constructor(toUtf8, fromUtf8) {
|
|
216
|
-
this.toUtf8 = toUtf8;
|
|
217
|
-
this.fromUtf8 = fromUtf8;
|
|
218
|
-
}
|
|
219
|
-
format(headers) {
|
|
220
|
-
const chunks = [];
|
|
221
|
-
for (const headerName of Object.keys(headers)) {
|
|
222
|
-
const bytes = this.fromUtf8(headerName);
|
|
223
|
-
chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
|
|
224
|
-
}
|
|
225
|
-
const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
|
|
226
|
-
let position = 0;
|
|
227
|
-
for (const chunk of chunks) {
|
|
228
|
-
out.set(chunk, position);
|
|
229
|
-
position += chunk.byteLength;
|
|
230
|
-
}
|
|
231
|
-
return out;
|
|
232
|
-
}
|
|
233
|
-
formatHeaderValue(header) {
|
|
234
|
-
switch (header.type) {
|
|
235
|
-
case "boolean":
|
|
236
|
-
return Uint8Array.from([header.value ? 0 : 1]);
|
|
237
|
-
case "byte":
|
|
238
|
-
return Uint8Array.from([2, header.value]);
|
|
239
|
-
case "short":
|
|
240
|
-
const shortView = new DataView(new ArrayBuffer(3));
|
|
241
|
-
shortView.setUint8(0, 3);
|
|
242
|
-
shortView.setInt16(1, header.value, false);
|
|
243
|
-
return new Uint8Array(shortView.buffer);
|
|
244
|
-
case "integer":
|
|
245
|
-
const intView = new DataView(new ArrayBuffer(5));
|
|
246
|
-
intView.setUint8(0, 4);
|
|
247
|
-
intView.setInt32(1, header.value, false);
|
|
248
|
-
return new Uint8Array(intView.buffer);
|
|
249
|
-
case "long":
|
|
250
|
-
const longBytes = new Uint8Array(9);
|
|
251
|
-
longBytes[0] = 5;
|
|
252
|
-
longBytes.set(header.value.bytes, 1);
|
|
253
|
-
return longBytes;
|
|
254
|
-
case "binary":
|
|
255
|
-
const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
|
|
256
|
-
binView.setUint8(0, 6);
|
|
257
|
-
binView.setUint16(1, header.value.byteLength, false);
|
|
258
|
-
const binBytes = new Uint8Array(binView.buffer);
|
|
259
|
-
binBytes.set(header.value, 3);
|
|
260
|
-
return binBytes;
|
|
261
|
-
case "string":
|
|
262
|
-
const utf8Bytes = this.fromUtf8(header.value);
|
|
263
|
-
const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
|
|
264
|
-
strView.setUint8(0, 7);
|
|
265
|
-
strView.setUint16(1, utf8Bytes.byteLength, false);
|
|
266
|
-
const strBytes = new Uint8Array(strView.buffer);
|
|
267
|
-
strBytes.set(utf8Bytes, 3);
|
|
268
|
-
return strBytes;
|
|
269
|
-
case "timestamp":
|
|
270
|
-
const tsBytes = new Uint8Array(9);
|
|
271
|
-
tsBytes[0] = 8;
|
|
272
|
-
tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
|
|
273
|
-
return tsBytes;
|
|
274
|
-
case "uuid":
|
|
275
|
-
if (!UUID_PATTERN.test(header.value)) {
|
|
276
|
-
throw new Error(`Invalid UUID received: ${header.value}`);
|
|
277
|
-
}
|
|
278
|
-
const uuidBytes = new Uint8Array(17);
|
|
279
|
-
uuidBytes[0] = 9;
|
|
280
|
-
uuidBytes.set(import_util_hex_encoding2.fromHex(header.value.replace(/\-/g, "")), 1);
|
|
281
|
-
return uuidBytes;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
parse(headers) {
|
|
285
|
-
const out = {};
|
|
286
|
-
let position = 0;
|
|
287
|
-
while (position < headers.byteLength) {
|
|
288
|
-
const nameLength = headers.getUint8(position++);
|
|
289
|
-
const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
|
|
290
|
-
position += nameLength;
|
|
291
|
-
switch (headers.getUint8(position++)) {
|
|
292
|
-
case 0:
|
|
293
|
-
out[name] = {
|
|
294
|
-
type: BOOLEAN_TAG,
|
|
295
|
-
value: true
|
|
296
|
-
};
|
|
297
|
-
break;
|
|
298
|
-
case 1:
|
|
299
|
-
out[name] = {
|
|
300
|
-
type: BOOLEAN_TAG,
|
|
301
|
-
value: false
|
|
302
|
-
};
|
|
303
|
-
break;
|
|
304
|
-
case 2:
|
|
305
|
-
out[name] = {
|
|
306
|
-
type: BYTE_TAG,
|
|
307
|
-
value: headers.getInt8(position++)
|
|
308
|
-
};
|
|
309
|
-
break;
|
|
310
|
-
case 3:
|
|
311
|
-
out[name] = {
|
|
312
|
-
type: SHORT_TAG,
|
|
313
|
-
value: headers.getInt16(position, false)
|
|
314
|
-
};
|
|
315
|
-
position += 2;
|
|
316
|
-
break;
|
|
317
|
-
case 4:
|
|
318
|
-
out[name] = {
|
|
319
|
-
type: INT_TAG,
|
|
320
|
-
value: headers.getInt32(position, false)
|
|
321
|
-
};
|
|
322
|
-
position += 4;
|
|
323
|
-
break;
|
|
324
|
-
case 5:
|
|
325
|
-
out[name] = {
|
|
326
|
-
type: LONG_TAG,
|
|
327
|
-
value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
|
|
328
|
-
};
|
|
329
|
-
position += 8;
|
|
330
|
-
break;
|
|
331
|
-
case 6:
|
|
332
|
-
const binaryLength = headers.getUint16(position, false);
|
|
333
|
-
position += 2;
|
|
334
|
-
out[name] = {
|
|
335
|
-
type: BINARY_TAG,
|
|
336
|
-
value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
|
|
337
|
-
};
|
|
338
|
-
position += binaryLength;
|
|
339
|
-
break;
|
|
340
|
-
case 7:
|
|
341
|
-
const stringLength = headers.getUint16(position, false);
|
|
342
|
-
position += 2;
|
|
343
|
-
out[name] = {
|
|
344
|
-
type: STRING_TAG,
|
|
345
|
-
value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
|
|
346
|
-
};
|
|
347
|
-
position += stringLength;
|
|
348
|
-
break;
|
|
349
|
-
case 8:
|
|
350
|
-
out[name] = {
|
|
351
|
-
type: TIMESTAMP_TAG,
|
|
352
|
-
value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
|
|
353
|
-
};
|
|
354
|
-
position += 8;
|
|
355
|
-
break;
|
|
356
|
-
case 9:
|
|
357
|
-
const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
|
|
358
|
-
position += 16;
|
|
359
|
-
out[name] = {
|
|
360
|
-
type: UUID_TAG,
|
|
361
|
-
value: `${import_util_hex_encoding2.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding2.toHex(uuidBytes.subarray(10))}`
|
|
362
|
-
};
|
|
363
|
-
break;
|
|
364
|
-
default:
|
|
365
|
-
throw new Error(`Unrecognized header type tag`);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
return out;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
var import_util_hex_encoding2, HEADER_VALUE_TYPE, 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_PATTERN;
|
|
372
|
-
var init_HeaderMarshaller = __esm(() => {
|
|
373
|
-
init_Int64();
|
|
374
|
-
import_util_hex_encoding2 = __toESM(require_dist_cjs8(), 1);
|
|
375
|
-
(function(HEADER_VALUE_TYPE2) {
|
|
376
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
|
|
377
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
|
|
378
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byte"] = 2] = "byte";
|
|
379
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["short"] = 3] = "short";
|
|
380
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["integer"] = 4] = "integer";
|
|
381
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["long"] = 5] = "long";
|
|
382
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byteArray"] = 6] = "byteArray";
|
|
383
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["string"] = 7] = "string";
|
|
384
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["timestamp"] = 8] = "timestamp";
|
|
385
|
-
HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["uuid"] = 9] = "uuid";
|
|
386
|
-
})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));
|
|
387
|
-
UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
|
|
388
|
-
});
|
|
389
|
-
|
|
390
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
|
|
391
|
-
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
392
|
-
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
393
|
-
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
394
|
-
}
|
|
395
|
-
const view = new DataView(buffer, byteOffset, byteLength);
|
|
396
|
-
const messageLength = view.getUint32(0, false);
|
|
397
|
-
if (byteLength !== messageLength) {
|
|
398
|
-
throw new Error("Reported message length does not match received message length");
|
|
399
|
-
}
|
|
400
|
-
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
401
|
-
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
402
|
-
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
403
|
-
const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
404
|
-
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
405
|
-
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
406
|
-
}
|
|
407
|
-
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
408
|
-
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
409
|
-
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
410
|
-
}
|
|
411
|
-
return {
|
|
412
|
-
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
413
|
-
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
var PRELUDE_MEMBER_LENGTH = 4, PRELUDE_LENGTH, CHECKSUM_LENGTH = 4, MINIMUM_MESSAGE_LENGTH;
|
|
417
|
-
var init_splitMessage = __esm(() => {
|
|
418
|
-
init_module();
|
|
419
|
-
PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
420
|
-
MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
421
|
-
});
|
|
422
|
-
|
|
423
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
|
|
424
|
-
class EventStreamCodec {
|
|
425
|
-
headerMarshaller;
|
|
426
|
-
messageBuffer;
|
|
427
|
-
isEndOfStream;
|
|
428
|
-
constructor(toUtf8, fromUtf8) {
|
|
429
|
-
this.headerMarshaller = new HeaderMarshaller(toUtf8, fromUtf8);
|
|
430
|
-
this.messageBuffer = [];
|
|
431
|
-
this.isEndOfStream = false;
|
|
432
|
-
}
|
|
433
|
-
feed(message) {
|
|
434
|
-
this.messageBuffer.push(this.decode(message));
|
|
435
|
-
}
|
|
436
|
-
endOfStream() {
|
|
437
|
-
this.isEndOfStream = true;
|
|
438
|
-
}
|
|
439
|
-
getMessage() {
|
|
440
|
-
const message = this.messageBuffer.pop();
|
|
441
|
-
const isEndOfStream = this.isEndOfStream;
|
|
442
|
-
return {
|
|
443
|
-
getMessage() {
|
|
444
|
-
return message;
|
|
445
|
-
},
|
|
446
|
-
isEndOfStream() {
|
|
447
|
-
return isEndOfStream;
|
|
448
|
-
}
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
getAvailableMessages() {
|
|
452
|
-
const messages = this.messageBuffer;
|
|
453
|
-
this.messageBuffer = [];
|
|
454
|
-
const isEndOfStream = this.isEndOfStream;
|
|
455
|
-
return {
|
|
456
|
-
getMessages() {
|
|
457
|
-
return messages;
|
|
458
|
-
},
|
|
459
|
-
isEndOfStream() {
|
|
460
|
-
return isEndOfStream;
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
encode({ headers: rawHeaders, body }) {
|
|
465
|
-
const headers = this.headerMarshaller.format(rawHeaders);
|
|
466
|
-
const length = headers.byteLength + body.byteLength + 16;
|
|
467
|
-
const out = new Uint8Array(length);
|
|
468
|
-
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
469
|
-
const checksum = new Crc32;
|
|
470
|
-
view.setUint32(0, length, false);
|
|
471
|
-
view.setUint32(4, headers.byteLength, false);
|
|
472
|
-
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
473
|
-
out.set(headers, 12);
|
|
474
|
-
out.set(body, headers.byteLength + 12);
|
|
475
|
-
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
476
|
-
return out;
|
|
477
|
-
}
|
|
478
|
-
decode(message) {
|
|
479
|
-
const { headers, body } = splitMessage(message);
|
|
480
|
-
return { headers: this.headerMarshaller.parse(headers), body };
|
|
481
|
-
}
|
|
482
|
-
formatHeaders(rawHeaders) {
|
|
483
|
-
return this.headerMarshaller.format(rawHeaders);
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
var init_EventStreamCodec = __esm(() => {
|
|
487
|
-
init_module();
|
|
488
|
-
init_HeaderMarshaller();
|
|
489
|
-
init_splitMessage();
|
|
490
|
-
});
|
|
491
|
-
|
|
492
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/Message.js
|
|
493
|
-
var init_Message = () => {};
|
|
494
|
-
|
|
495
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
|
|
496
|
-
var MessageDecoderStream;
|
|
497
|
-
var init_MessageDecoderStream = __esm(() => {
|
|
498
|
-
MessageDecoderStream = class MessageDecoderStream {
|
|
499
|
-
options;
|
|
500
|
-
constructor(options) {
|
|
501
|
-
this.options = options;
|
|
502
|
-
}
|
|
503
|
-
[Symbol.asyncIterator]() {
|
|
504
|
-
return this.asyncIterator();
|
|
505
|
-
}
|
|
506
|
-
async* asyncIterator() {
|
|
507
|
-
for await (const bytes of this.options.inputStream) {
|
|
508
|
-
const decoded = this.options.decoder.decode(bytes);
|
|
509
|
-
yield decoded;
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
});
|
|
514
|
-
|
|
515
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
|
|
516
|
-
var MessageEncoderStream;
|
|
517
|
-
var init_MessageEncoderStream = __esm(() => {
|
|
518
|
-
MessageEncoderStream = class MessageEncoderStream {
|
|
519
|
-
options;
|
|
520
|
-
constructor(options) {
|
|
521
|
-
this.options = options;
|
|
522
|
-
}
|
|
523
|
-
[Symbol.asyncIterator]() {
|
|
524
|
-
return this.asyncIterator();
|
|
525
|
-
}
|
|
526
|
-
async* asyncIterator() {
|
|
527
|
-
for await (const msg of this.options.messageStream) {
|
|
528
|
-
const encoded = this.options.encoder.encode(msg);
|
|
529
|
-
yield encoded;
|
|
530
|
-
}
|
|
531
|
-
if (this.options.includeEndFrame) {
|
|
532
|
-
yield new Uint8Array(0);
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
};
|
|
536
|
-
});
|
|
537
|
-
|
|
538
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
|
|
539
|
-
var SmithyMessageDecoderStream;
|
|
540
|
-
var init_SmithyMessageDecoderStream = __esm(() => {
|
|
541
|
-
SmithyMessageDecoderStream = class SmithyMessageDecoderStream {
|
|
542
|
-
options;
|
|
543
|
-
constructor(options) {
|
|
544
|
-
this.options = options;
|
|
545
|
-
}
|
|
546
|
-
[Symbol.asyncIterator]() {
|
|
547
|
-
return this.asyncIterator();
|
|
548
|
-
}
|
|
549
|
-
async* asyncIterator() {
|
|
550
|
-
for await (const message of this.options.messageStream) {
|
|
551
|
-
const deserialized = await this.options.deserializer(message);
|
|
552
|
-
if (deserialized === undefined)
|
|
553
|
-
continue;
|
|
554
|
-
yield deserialized;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
};
|
|
558
|
-
});
|
|
559
|
-
|
|
560
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
|
|
561
|
-
var SmithyMessageEncoderStream;
|
|
562
|
-
var init_SmithyMessageEncoderStream = __esm(() => {
|
|
563
|
-
SmithyMessageEncoderStream = class SmithyMessageEncoderStream {
|
|
564
|
-
options;
|
|
565
|
-
constructor(options) {
|
|
566
|
-
this.options = options;
|
|
567
|
-
}
|
|
568
|
-
[Symbol.asyncIterator]() {
|
|
569
|
-
return this.asyncIterator();
|
|
570
|
-
}
|
|
571
|
-
async* asyncIterator() {
|
|
572
|
-
for await (const chunk of this.options.inputStream) {
|
|
573
|
-
const payloadBuf = this.options.serializer(chunk);
|
|
574
|
-
yield payloadBuf;
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
};
|
|
578
|
-
});
|
|
579
|
-
|
|
580
|
-
// node_modules/.bun/@smithy+eventstream-codec@4.2.13/node_modules/@smithy/eventstream-codec/dist-es/index.js
|
|
581
|
-
var init_dist_es4 = __esm(() => {
|
|
582
|
-
init_EventStreamCodec();
|
|
583
|
-
init_HeaderMarshaller();
|
|
584
|
-
init_Int64();
|
|
585
|
-
init_Message();
|
|
586
|
-
init_MessageDecoderStream();
|
|
587
|
-
init_MessageEncoderStream();
|
|
588
|
-
init_SmithyMessageDecoderStream();
|
|
589
|
-
init_SmithyMessageEncoderStream();
|
|
590
|
-
});
|
|
591
|
-
|
|
592
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
|
|
593
|
-
function getChunkedStream(source) {
|
|
594
|
-
let currentMessageTotalLength = 0;
|
|
595
|
-
let currentMessagePendingLength = 0;
|
|
596
|
-
let currentMessage = null;
|
|
597
|
-
let messageLengthBuffer = null;
|
|
598
|
-
const allocateMessage = (size) => {
|
|
599
|
-
if (typeof size !== "number") {
|
|
600
|
-
throw new Error("Attempted to allocate an event message where size was not a number: " + size);
|
|
601
|
-
}
|
|
602
|
-
currentMessageTotalLength = size;
|
|
603
|
-
currentMessagePendingLength = 4;
|
|
604
|
-
currentMessage = new Uint8Array(size);
|
|
605
|
-
const currentMessageView = new DataView(currentMessage.buffer);
|
|
606
|
-
currentMessageView.setUint32(0, size, false);
|
|
607
|
-
};
|
|
608
|
-
const iterator = async function* () {
|
|
609
|
-
const sourceIterator = source[Symbol.asyncIterator]();
|
|
610
|
-
while (true) {
|
|
611
|
-
const { value, done } = await sourceIterator.next();
|
|
612
|
-
if (done) {
|
|
613
|
-
if (!currentMessageTotalLength) {
|
|
614
|
-
return;
|
|
615
|
-
} else if (currentMessageTotalLength === currentMessagePendingLength) {
|
|
616
|
-
yield currentMessage;
|
|
617
|
-
} else {
|
|
618
|
-
throw new Error("Truncated event message received.");
|
|
619
|
-
}
|
|
620
|
-
return;
|
|
621
|
-
}
|
|
622
|
-
const chunkLength = value.length;
|
|
623
|
-
let currentOffset = 0;
|
|
624
|
-
while (currentOffset < chunkLength) {
|
|
625
|
-
if (!currentMessage) {
|
|
626
|
-
const bytesRemaining = chunkLength - currentOffset;
|
|
627
|
-
if (!messageLengthBuffer) {
|
|
628
|
-
messageLengthBuffer = new Uint8Array(4);
|
|
629
|
-
}
|
|
630
|
-
const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
|
|
631
|
-
messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
|
|
632
|
-
currentMessagePendingLength += numBytesForTotal;
|
|
633
|
-
currentOffset += numBytesForTotal;
|
|
634
|
-
if (currentMessagePendingLength < 4) {
|
|
635
|
-
break;
|
|
636
|
-
}
|
|
637
|
-
allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
|
|
638
|
-
messageLengthBuffer = null;
|
|
639
|
-
}
|
|
640
|
-
const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
|
|
641
|
-
currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
|
|
642
|
-
currentMessagePendingLength += numBytesToWrite;
|
|
643
|
-
currentOffset += numBytesToWrite;
|
|
644
|
-
if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
|
|
645
|
-
yield currentMessage;
|
|
646
|
-
currentMessage = null;
|
|
647
|
-
currentMessageTotalLength = 0;
|
|
648
|
-
currentMessagePendingLength = 0;
|
|
649
|
-
}
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
|
-
return {
|
|
654
|
-
[Symbol.asyncIterator]: iterator
|
|
655
|
-
};
|
|
656
|
-
}
|
|
657
|
-
var init_getChunkedStream = () => {};
|
|
658
|
-
|
|
659
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
|
|
660
|
-
function getMessageUnmarshaller(deserializer, toUtf8) {
|
|
661
|
-
return async function(message) {
|
|
662
|
-
const { value: messageType } = message.headers[":message-type"];
|
|
663
|
-
if (messageType === "error") {
|
|
664
|
-
const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
|
|
665
|
-
unmodeledError.name = message.headers[":error-code"].value;
|
|
666
|
-
throw unmodeledError;
|
|
667
|
-
} else if (messageType === "exception") {
|
|
668
|
-
const code = message.headers[":exception-type"].value;
|
|
669
|
-
const exception = { [code]: message };
|
|
670
|
-
const deserializedException = await deserializer(exception);
|
|
671
|
-
if (deserializedException.$unknown) {
|
|
672
|
-
const error = new Error(toUtf8(message.body));
|
|
673
|
-
error.name = code;
|
|
674
|
-
throw error;
|
|
675
|
-
}
|
|
676
|
-
throw deserializedException[code];
|
|
677
|
-
} else if (messageType === "event") {
|
|
678
|
-
const event = {
|
|
679
|
-
[message.headers[":event-type"].value]: message
|
|
680
|
-
};
|
|
681
|
-
const deserialized = await deserializer(event);
|
|
682
|
-
if (deserialized.$unknown)
|
|
683
|
-
return;
|
|
684
|
-
return deserialized;
|
|
685
|
-
} else {
|
|
686
|
-
throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
|
|
687
|
-
}
|
|
688
|
-
};
|
|
689
|
-
}
|
|
690
|
-
var init_getUnmarshalledStream = () => {};
|
|
691
|
-
|
|
692
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
|
|
693
|
-
class EventStreamMarshaller {
|
|
694
|
-
eventStreamCodec;
|
|
695
|
-
utfEncoder;
|
|
696
|
-
constructor({ utf8Encoder, utf8Decoder }) {
|
|
697
|
-
this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
|
|
698
|
-
this.utfEncoder = utf8Encoder;
|
|
699
|
-
}
|
|
700
|
-
deserialize(body, deserializer) {
|
|
701
|
-
const inputStream = getChunkedStream(body);
|
|
702
|
-
return new SmithyMessageDecoderStream({
|
|
703
|
-
messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),
|
|
704
|
-
deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder)
|
|
705
|
-
});
|
|
706
|
-
}
|
|
707
|
-
serialize(inputStream, serializer) {
|
|
708
|
-
return new MessageEncoderStream({
|
|
709
|
-
messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),
|
|
710
|
-
encoder: this.eventStreamCodec,
|
|
711
|
-
includeEndFrame: true
|
|
712
|
-
});
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
var init_EventStreamMarshaller = __esm(() => {
|
|
716
|
-
init_dist_es4();
|
|
717
|
-
init_getChunkedStream();
|
|
718
|
-
init_getUnmarshalledStream();
|
|
719
|
-
});
|
|
720
|
-
|
|
721
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
|
|
722
|
-
var init_provider = () => {};
|
|
723
|
-
|
|
724
|
-
// node_modules/.bun/@smithy+eventstream-serde-universal@4.2.13/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
|
|
725
|
-
var init_dist_es5 = __esm(() => {
|
|
726
|
-
init_EventStreamMarshaller();
|
|
727
|
-
init_provider();
|
|
728
|
-
});
|
|
729
|
-
|
|
730
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
|
|
731
|
-
var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
|
|
732
|
-
var init_utils = () => {};
|
|
733
|
-
|
|
734
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
|
|
735
|
-
var init_WebSocketFetchHandler = () => {};
|
|
736
|
-
|
|
737
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
|
|
738
|
-
var import_protocol_http3, websocketEndpointMiddleware = (config, options) => (next) => (args) => {
|
|
739
|
-
const { request } = args;
|
|
740
|
-
if (import_protocol_http3.HttpRequest.isInstance(request) && config.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
|
|
741
|
-
request.protocol = "wss:";
|
|
742
|
-
request.method = "GET";
|
|
743
|
-
request.path = `${request.path}-websocket`;
|
|
744
|
-
const { headers } = request;
|
|
745
|
-
delete headers["content-type"];
|
|
746
|
-
delete headers["x-amz-content-sha256"];
|
|
747
|
-
for (const name of Object.keys(headers)) {
|
|
748
|
-
if (name.indexOf(options.headerPrefix) === 0) {
|
|
749
|
-
const chunkedName = name.replace(options.headerPrefix, "");
|
|
750
|
-
request.query[chunkedName] = headers[name];
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
if (headers["x-amz-user-agent"]) {
|
|
754
|
-
request.query["user-agent"] = headers["x-amz-user-agent"];
|
|
755
|
-
}
|
|
756
|
-
request.headers = { host: headers.host ?? request.hostname };
|
|
757
|
-
}
|
|
758
|
-
return next(args);
|
|
759
|
-
}, websocketEndpointMiddlewareOptions;
|
|
760
|
-
var init_websocketEndpointMiddleware = __esm(() => {
|
|
761
|
-
import_protocol_http3 = __toESM(require_dist_cjs(), 1);
|
|
762
|
-
websocketEndpointMiddlewareOptions = {
|
|
763
|
-
name: "websocketEndpointMiddleware",
|
|
764
|
-
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
765
|
-
relation: "after",
|
|
766
|
-
toMiddleware: "eventStreamHeaderMiddleware",
|
|
767
|
-
override: true
|
|
768
|
-
};
|
|
769
|
-
});
|
|
770
|
-
|
|
771
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
|
|
772
|
-
var injectSessionIdMiddleware = () => (next) => async (args) => {
|
|
773
|
-
const requestParams = {
|
|
774
|
-
...args.input
|
|
775
|
-
};
|
|
776
|
-
const response = await next(args);
|
|
777
|
-
const output = response.output;
|
|
778
|
-
if (requestParams.SessionId && output.SessionId == null) {
|
|
779
|
-
output.SessionId = requestParams.SessionId;
|
|
780
|
-
}
|
|
781
|
-
return response;
|
|
782
|
-
}, injectSessionIdMiddlewareOptions;
|
|
783
|
-
var init_websocketInjectSessionIdMiddleware = __esm(() => {
|
|
784
|
-
injectSessionIdMiddlewareOptions = {
|
|
785
|
-
step: "initialize",
|
|
786
|
-
name: "injectSessionIdMiddleware",
|
|
787
|
-
tags: ["WEBSOCKET", "EVENT_STREAM"],
|
|
788
|
-
override: true
|
|
789
|
-
};
|
|
790
|
-
});
|
|
791
|
-
|
|
792
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
|
|
793
|
-
var getWebSocketPlugin = (config, options) => ({
|
|
794
|
-
applyToStack: (clientStack) => {
|
|
795
|
-
clientStack.addRelativeTo(websocketEndpointMiddleware(config, options), websocketEndpointMiddlewareOptions);
|
|
796
|
-
clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
|
|
797
|
-
}
|
|
798
|
-
});
|
|
799
|
-
var init_getWebSocketPlugin = __esm(() => {
|
|
800
|
-
init_websocketEndpointMiddleware();
|
|
801
|
-
init_websocketInjectSessionIdMiddleware();
|
|
802
|
-
});
|
|
803
|
-
|
|
804
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
|
|
805
|
-
class WebsocketSignatureV4 {
|
|
806
|
-
signer;
|
|
807
|
-
constructor(options) {
|
|
808
|
-
this.signer = options.signer;
|
|
809
|
-
}
|
|
810
|
-
presign(originalRequest, options = {}) {
|
|
811
|
-
return this.signer.presign(originalRequest, options);
|
|
812
|
-
}
|
|
813
|
-
async sign(toSign, options) {
|
|
814
|
-
if (import_protocol_http4.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
|
|
815
|
-
const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
|
|
816
|
-
...options,
|
|
817
|
-
expiresIn: 60,
|
|
818
|
-
unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
|
|
819
|
-
});
|
|
820
|
-
return {
|
|
821
|
-
...signedRequest,
|
|
822
|
-
body: toSign.body
|
|
823
|
-
};
|
|
824
|
-
} else {
|
|
825
|
-
return this.signer.sign(toSign, options);
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
signMessage(message, args) {
|
|
829
|
-
return this.signer.signMessage(message, args);
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
var import_protocol_http4;
|
|
833
|
-
var init_WebsocketSignatureV4 = __esm(() => {
|
|
834
|
-
init_utils();
|
|
835
|
-
import_protocol_http4 = __toESM(require_dist_cjs(), 1);
|
|
836
|
-
});
|
|
837
|
-
|
|
838
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
|
|
839
|
-
var resolveWebSocketConfig = (input) => {
|
|
840
|
-
const { signer } = input;
|
|
841
|
-
return Object.assign(input, {
|
|
842
|
-
signer: async (authScheme) => {
|
|
843
|
-
const signerObj = await signer(authScheme);
|
|
844
|
-
if (validateSigner(signerObj)) {
|
|
845
|
-
return new WebsocketSignatureV4({ signer: signerObj });
|
|
846
|
-
}
|
|
847
|
-
throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
|
|
848
|
-
}
|
|
849
|
-
});
|
|
850
|
-
}, validateSigner = (signer) => !!signer;
|
|
851
|
-
var init_resolveWebSocketConfig = __esm(() => {
|
|
852
|
-
init_WebsocketSignatureV4();
|
|
853
|
-
});
|
|
854
|
-
|
|
855
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
|
|
856
|
-
var init_eventStreamPayloadHandlerProvider = () => {};
|
|
857
|
-
|
|
858
|
-
// node_modules/.bun/@aws-sdk+middleware-websocket@3.972.15/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
|
|
859
|
-
var init_dist_es6 = __esm(() => {
|
|
860
|
-
init_WebSocketFetchHandler();
|
|
861
|
-
init_getWebSocketPlugin();
|
|
862
|
-
init_resolveWebSocketConfig();
|
|
863
|
-
init_eventStreamPayloadHandlerProvider();
|
|
864
|
-
});
|
|
865
|
-
|
|
866
|
-
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.13/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
|
|
867
|
-
var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
|
|
868
|
-
eventStreamMarshaller: input.eventStreamSerdeProvider(input)
|
|
869
|
-
});
|
|
870
|
-
var init_EventStreamSerdeConfig = () => {};
|
|
871
|
-
|
|
872
|
-
// node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.13/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
|
|
873
|
-
var init_dist_es7 = __esm(() => {
|
|
874
|
-
init_EventStreamSerdeConfig();
|
|
875
|
-
});
|
|
876
|
-
|
|
877
100
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
|
|
878
101
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
879
102
|
return {
|
|
@@ -929,7 +152,7 @@ var import_httpAuthSchemes, import_core, import_util_middleware, defaultBedrockR
|
|
|
929
152
|
};
|
|
930
153
|
var init_httpAuthSchemeProvider = __esm(() => {
|
|
931
154
|
import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
|
|
932
|
-
import_core = __toESM(
|
|
155
|
+
import_core = __toESM(require_dist_cjs9(), 1);
|
|
933
156
|
import_util_middleware = __toESM(require_dist_cjs5(), 1);
|
|
934
157
|
});
|
|
935
158
|
|
|
@@ -1073,201 +296,6 @@ var init_package = __esm(() => {
|
|
|
1073
296
|
};
|
|
1074
297
|
});
|
|
1075
298
|
|
|
1076
|
-
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventSigningTransformStream.js
|
|
1077
|
-
import { Transform } from "stream";
|
|
1078
|
-
function getSignatureBinary(signature) {
|
|
1079
|
-
const buf = Buffer.from(signature, "hex");
|
|
1080
|
-
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1081
|
-
}
|
|
1082
|
-
var EventSigningTransformStream;
|
|
1083
|
-
var init_EventSigningTransformStream = __esm(() => {
|
|
1084
|
-
EventSigningTransformStream = class EventSigningTransformStream extends Transform {
|
|
1085
|
-
priorSignature;
|
|
1086
|
-
messageSigner;
|
|
1087
|
-
eventStreamCodec;
|
|
1088
|
-
systemClockOffsetProvider;
|
|
1089
|
-
constructor(options) {
|
|
1090
|
-
super({
|
|
1091
|
-
autoDestroy: true,
|
|
1092
|
-
readableObjectMode: true,
|
|
1093
|
-
writableObjectMode: true,
|
|
1094
|
-
...options
|
|
1095
|
-
});
|
|
1096
|
-
this.priorSignature = options.priorSignature;
|
|
1097
|
-
this.eventStreamCodec = options.eventStreamCodec;
|
|
1098
|
-
this.messageSigner = options.messageSigner;
|
|
1099
|
-
this.systemClockOffsetProvider = options.systemClockOffsetProvider;
|
|
1100
|
-
}
|
|
1101
|
-
async _transform(chunk, encoding, callback) {
|
|
1102
|
-
try {
|
|
1103
|
-
const now = new Date(Date.now() + await this.systemClockOffsetProvider());
|
|
1104
|
-
const dateHeader = {
|
|
1105
|
-
":date": { type: "timestamp", value: now }
|
|
1106
|
-
};
|
|
1107
|
-
const signedMessage = await this.messageSigner.sign({
|
|
1108
|
-
message: {
|
|
1109
|
-
body: chunk,
|
|
1110
|
-
headers: dateHeader
|
|
1111
|
-
},
|
|
1112
|
-
priorSignature: this.priorSignature
|
|
1113
|
-
}, {
|
|
1114
|
-
signingDate: now
|
|
1115
|
-
});
|
|
1116
|
-
this.priorSignature = signedMessage.signature;
|
|
1117
|
-
const serializedSigned = this.eventStreamCodec.encode({
|
|
1118
|
-
headers: {
|
|
1119
|
-
...dateHeader,
|
|
1120
|
-
":chunk-signature": {
|
|
1121
|
-
type: "binary",
|
|
1122
|
-
value: getSignatureBinary(signedMessage.signature)
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
body: chunk
|
|
1126
|
-
});
|
|
1127
|
-
this.push(serializedSigned);
|
|
1128
|
-
return callback();
|
|
1129
|
-
} catch (err) {
|
|
1130
|
-
callback(err);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
};
|
|
1134
|
-
});
|
|
1135
|
-
|
|
1136
|
-
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
|
|
1137
|
-
import { PassThrough, pipeline, Readable } from "stream";
|
|
1138
|
-
|
|
1139
|
-
class EventStreamPayloadHandler {
|
|
1140
|
-
messageSigner;
|
|
1141
|
-
eventStreamCodec;
|
|
1142
|
-
systemClockOffsetProvider;
|
|
1143
|
-
constructor(options) {
|
|
1144
|
-
this.messageSigner = options.messageSigner;
|
|
1145
|
-
this.eventStreamCodec = new EventStreamCodec(options.utf8Encoder, options.utf8Decoder);
|
|
1146
|
-
this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
|
|
1147
|
-
}
|
|
1148
|
-
async handle(next, args, context = {}) {
|
|
1149
|
-
const request = args.request;
|
|
1150
|
-
const { body: payload, query } = request;
|
|
1151
|
-
if (!(payload instanceof Readable)) {
|
|
1152
|
-
throw new Error("Eventstream payload must be a Readable stream.");
|
|
1153
|
-
}
|
|
1154
|
-
const payloadStream = payload;
|
|
1155
|
-
request.body = new PassThrough({
|
|
1156
|
-
objectMode: true
|
|
1157
|
-
});
|
|
1158
|
-
const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
|
|
1159
|
-
let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
|
|
1160
|
-
if (context.__staticSignature) {
|
|
1161
|
-
priorSignature = "";
|
|
1162
|
-
}
|
|
1163
|
-
const signingStream = new EventSigningTransformStream({
|
|
1164
|
-
priorSignature,
|
|
1165
|
-
eventStreamCodec: this.eventStreamCodec,
|
|
1166
|
-
messageSigner: await this.messageSigner(),
|
|
1167
|
-
systemClockOffsetProvider: this.systemClockOffsetProvider
|
|
1168
|
-
});
|
|
1169
|
-
let resolvePipeline;
|
|
1170
|
-
const pipelineError = new Promise((resolve, reject) => {
|
|
1171
|
-
resolvePipeline = () => resolve(undefined);
|
|
1172
|
-
pipeline(payloadStream, signingStream, request.body, (err) => {
|
|
1173
|
-
if (err) {
|
|
1174
|
-
reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
|
|
1175
|
-
}
|
|
1176
|
-
});
|
|
1177
|
-
});
|
|
1178
|
-
let result;
|
|
1179
|
-
try {
|
|
1180
|
-
result = await Promise.race([next(args), pipelineError]);
|
|
1181
|
-
} catch (e) {
|
|
1182
|
-
request.body.end();
|
|
1183
|
-
throw e;
|
|
1184
|
-
} finally {
|
|
1185
|
-
resolvePipeline();
|
|
1186
|
-
}
|
|
1187
|
-
return result;
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
var init_EventStreamPayloadHandler = __esm(() => {
|
|
1191
|
-
init_dist_es4();
|
|
1192
|
-
init_EventSigningTransformStream();
|
|
1193
|
-
});
|
|
1194
|
-
|
|
1195
|
-
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/eventStreamPayloadHandlerProvider.js
|
|
1196
|
-
var eventStreamPayloadHandlerProvider2 = (options) => new EventStreamPayloadHandler(options);
|
|
1197
|
-
var init_eventStreamPayloadHandlerProvider2 = __esm(() => {
|
|
1198
|
-
init_EventStreamPayloadHandler();
|
|
1199
|
-
});
|
|
1200
|
-
|
|
1201
|
-
// node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.13/node_modules/@aws-sdk/eventstream-handler-node/dist-es/index.js
|
|
1202
|
-
var init_dist_es8 = __esm(() => {
|
|
1203
|
-
init_eventStreamPayloadHandlerProvider2();
|
|
1204
|
-
});
|
|
1205
|
-
|
|
1206
|
-
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
|
|
1207
|
-
async function* readabletoIterable(readStream) {
|
|
1208
|
-
let streamEnded = false;
|
|
1209
|
-
let generationEnded = false;
|
|
1210
|
-
const records = new Array;
|
|
1211
|
-
readStream.on("error", (err) => {
|
|
1212
|
-
if (!streamEnded) {
|
|
1213
|
-
streamEnded = true;
|
|
1214
|
-
}
|
|
1215
|
-
if (err) {
|
|
1216
|
-
throw err;
|
|
1217
|
-
}
|
|
1218
|
-
});
|
|
1219
|
-
readStream.on("data", (data) => {
|
|
1220
|
-
records.push(data);
|
|
1221
|
-
});
|
|
1222
|
-
readStream.on("end", () => {
|
|
1223
|
-
streamEnded = true;
|
|
1224
|
-
});
|
|
1225
|
-
while (!generationEnded) {
|
|
1226
|
-
const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
|
|
1227
|
-
if (value) {
|
|
1228
|
-
yield value;
|
|
1229
|
-
}
|
|
1230
|
-
generationEnded = streamEnded && records.length === 0;
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
var init_utils2 = () => {};
|
|
1234
|
-
|
|
1235
|
-
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
|
|
1236
|
-
import { Readable as Readable2 } from "stream";
|
|
1237
|
-
|
|
1238
|
-
class EventStreamMarshaller3 {
|
|
1239
|
-
universalMarshaller;
|
|
1240
|
-
constructor({ utf8Encoder, utf8Decoder }) {
|
|
1241
|
-
this.universalMarshaller = new EventStreamMarshaller({
|
|
1242
|
-
utf8Decoder,
|
|
1243
|
-
utf8Encoder
|
|
1244
|
-
});
|
|
1245
|
-
}
|
|
1246
|
-
deserialize(body, deserializer) {
|
|
1247
|
-
const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body);
|
|
1248
|
-
return this.universalMarshaller.deserialize(bodyIterable, deserializer);
|
|
1249
|
-
}
|
|
1250
|
-
serialize(input, serializer) {
|
|
1251
|
-
return Readable2.from(this.universalMarshaller.serialize(input, serializer));
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
var init_EventStreamMarshaller2 = __esm(() => {
|
|
1255
|
-
init_dist_es5();
|
|
1256
|
-
init_utils2();
|
|
1257
|
-
});
|
|
1258
|
-
|
|
1259
|
-
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
|
|
1260
|
-
var eventStreamSerdeProvider = (options) => new EventStreamMarshaller3(options);
|
|
1261
|
-
var init_provider2 = __esm(() => {
|
|
1262
|
-
init_EventStreamMarshaller2();
|
|
1263
|
-
});
|
|
1264
|
-
|
|
1265
|
-
// node_modules/.bun/@smithy+eventstream-serde-node@4.2.13/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
|
|
1266
|
-
var init_dist_es9 = __esm(() => {
|
|
1267
|
-
init_EventStreamMarshaller2();
|
|
1268
|
-
init_provider2();
|
|
1269
|
-
});
|
|
1270
|
-
|
|
1271
299
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
|
|
1272
300
|
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;
|
|
1273
301
|
var init_ruleset = __esm(() => {
|
|
@@ -1287,27 +315,27 @@ var init_ruleset = __esm(() => {
|
|
|
1287
315
|
});
|
|
1288
316
|
|
|
1289
317
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
|
|
1290
|
-
var import_util_endpoints,
|
|
1291
|
-
return cache.get(endpointParams, () =>
|
|
318
|
+
var import_util_endpoints, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
319
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
1292
320
|
endpointParams,
|
|
1293
321
|
logger: context.logger
|
|
1294
322
|
}));
|
|
1295
323
|
};
|
|
1296
324
|
var init_endpointResolver = __esm(() => {
|
|
325
|
+
init_dist_es2();
|
|
1297
326
|
init_ruleset();
|
|
1298
|
-
import_util_endpoints = __toESM(
|
|
1299
|
-
|
|
1300
|
-
cache = new import_util_endpoints2.EndpointCache({
|
|
327
|
+
import_util_endpoints = __toESM(require_dist_cjs13(), 1);
|
|
328
|
+
cache = new EndpointCache({
|
|
1301
329
|
size: 50,
|
|
1302
330
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
1303
331
|
});
|
|
1304
|
-
|
|
332
|
+
customEndpointFunctions.aws = import_util_endpoints.awsEndpointFunctions;
|
|
1305
333
|
});
|
|
1306
334
|
|
|
1307
335
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
|
|
1308
336
|
var import_smithy_client, BedrockRuntimeServiceException;
|
|
1309
337
|
var init_BedrockRuntimeServiceException = __esm(() => {
|
|
1310
|
-
import_smithy_client = __toESM(
|
|
338
|
+
import_smithy_client = __toESM(require_dist_cjs8(), 1);
|
|
1311
339
|
BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends import_smithy_client.ServiceException {
|
|
1312
340
|
constructor(options) {
|
|
1313
341
|
super(options);
|
|
@@ -3359,17 +2387,17 @@ var init_runtimeConfig_shared = __esm(() => {
|
|
|
3359
2387
|
init_schemas_0();
|
|
3360
2388
|
import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
|
|
3361
2389
|
import_protocols = __toESM(require_protocols(), 1);
|
|
3362
|
-
import_core2 = __toESM(
|
|
3363
|
-
import_smithy_client2 = __toESM(
|
|
2390
|
+
import_core2 = __toESM(require_dist_cjs9(), 1);
|
|
2391
|
+
import_smithy_client2 = __toESM(require_dist_cjs8(), 1);
|
|
3364
2392
|
import_url_parser = __toESM(require_dist_cjs4(), 1);
|
|
3365
2393
|
import_util_base64 = __toESM(require_dist_cjs7(), 1);
|
|
3366
2394
|
import_util_utf8 = __toESM(require_dist_cjs6(), 1);
|
|
3367
2395
|
});
|
|
3368
2396
|
|
|
3369
2397
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js
|
|
3370
|
-
var import_client, import_httpAuthSchemes3, import_util_user_agent_node,
|
|
2398
|
+
var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_core3, import_hash_node, import_middleware_retry, import_node_config_provider, import_node_http_handler, import_smithy_client3, import_util_body_length_node, import_util_retry, getRuntimeConfig2 = (config) => {
|
|
3371
2399
|
import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
|
|
3372
|
-
const defaultsMode =
|
|
2400
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
3373
2401
|
const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
|
|
3374
2402
|
const clientSharedValues = getRuntimeConfig(config);
|
|
3375
2403
|
import_client.emitWarningIfUnsupportedVersion(process.version);
|
|
@@ -3387,7 +2415,7 @@ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_
|
|
|
3387
2415
|
bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
|
|
3388
2416
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
3389
2417
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
|
|
3390
|
-
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ??
|
|
2418
|
+
eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider,
|
|
3391
2419
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
|
|
3392
2420
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
3393
2421
|
{
|
|
@@ -3408,7 +2436,7 @@ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_
|
|
|
3408
2436
|
}
|
|
3409
2437
|
],
|
|
3410
2438
|
maxAttempts: config?.maxAttempts ?? import_node_config_provider.loadConfig(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
3411
|
-
region: config?.region ?? import_node_config_provider.loadConfig(
|
|
2439
|
+
region: config?.region ?? import_node_config_provider.loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
3412
2440
|
requestHandler: import_node_http_handler.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
|
|
3413
2441
|
...await defaultConfigProvider(),
|
|
3414
2442
|
disableConcurrentStreams: true
|
|
@@ -3419,31 +2447,31 @@ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_
|
|
|
3419
2447
|
}, config),
|
|
3420
2448
|
sha256: config?.sha256 ?? import_hash_node.Hash.bind(null, "sha256"),
|
|
3421
2449
|
streamCollector: config?.streamCollector ?? import_node_http_handler.streamCollector,
|
|
3422
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(
|
|
3423
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? import_node_config_provider.loadConfig(
|
|
2450
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
2451
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? import_node_config_provider.loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
3424
2452
|
userAgentAppId: config?.userAgentAppId ?? import_node_config_provider.loadConfig(import_util_user_agent_node.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
3425
2453
|
};
|
|
3426
2454
|
};
|
|
3427
2455
|
var init_runtimeConfig = __esm(() => {
|
|
3428
2456
|
init_package();
|
|
3429
2457
|
init_dist_es();
|
|
3430
|
-
init_dist_es8();
|
|
3431
|
-
init_dist_es2();
|
|
3432
2458
|
init_dist_es9();
|
|
2459
|
+
init_dist_es4();
|
|
2460
|
+
init_dist_es3();
|
|
2461
|
+
init_dist_es10();
|
|
2462
|
+
init_dist_es5();
|
|
3433
2463
|
init_runtimeConfig_shared();
|
|
3434
2464
|
import_client = __toESM(require_client(), 1);
|
|
3435
2465
|
import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
|
|
3436
|
-
import_util_user_agent_node = __toESM(
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
import_middleware_retry = __toESM(require_dist_cjs21(), 1);
|
|
2466
|
+
import_util_user_agent_node = __toESM(require_dist_cjs19(), 1);
|
|
2467
|
+
import_core3 = __toESM(require_dist_cjs9(), 1);
|
|
2468
|
+
import_hash_node = __toESM(require_dist_cjs20(), 1);
|
|
2469
|
+
import_middleware_retry = __toESM(require_dist_cjs18(), 1);
|
|
3441
2470
|
import_node_config_provider = __toESM(require_dist_cjs3(), 1);
|
|
3442
2471
|
import_node_http_handler = __toESM(require_dist_cjs2(), 1);
|
|
3443
|
-
import_smithy_client3 = __toESM(
|
|
3444
|
-
import_util_body_length_node = __toESM(
|
|
3445
|
-
|
|
3446
|
-
import_util_retry = __toESM(require_dist_cjs16(), 1);
|
|
2472
|
+
import_smithy_client3 = __toESM(require_dist_cjs8(), 1);
|
|
2473
|
+
import_util_body_length_node = __toESM(require_dist_cjs21(), 1);
|
|
2474
|
+
import_util_retry = __toESM(require_dist_cjs14(), 1);
|
|
3447
2475
|
});
|
|
3448
2476
|
|
|
3449
2477
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
@@ -3494,39 +2522,39 @@ var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
|
3494
2522
|
var init_httpAuthExtensionConfiguration = () => {};
|
|
3495
2523
|
|
|
3496
2524
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
|
|
3497
|
-
var import_region_config_resolver,
|
|
3498
|
-
const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig),
|
|
2525
|
+
var import_region_config_resolver, import_protocol_http, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
2526
|
+
const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
3499
2527
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
3500
|
-
return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
2528
|
+
return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
3501
2529
|
};
|
|
3502
2530
|
var init_runtimeExtensions = __esm(() => {
|
|
3503
2531
|
init_httpAuthExtensionConfiguration();
|
|
3504
|
-
import_region_config_resolver = __toESM(
|
|
3505
|
-
|
|
3506
|
-
import_smithy_client4 = __toESM(
|
|
2532
|
+
import_region_config_resolver = __toESM(require_dist_cjs22(), 1);
|
|
2533
|
+
import_protocol_http = __toESM(require_dist_cjs(), 1);
|
|
2534
|
+
import_smithy_client4 = __toESM(require_dist_cjs8(), 1);
|
|
3507
2535
|
});
|
|
3508
2536
|
|
|
3509
2537
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
|
|
3510
|
-
var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent,
|
|
2538
|
+
var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_core4, import_schema2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client5, BedrockRuntimeClient;
|
|
3511
2539
|
var init_BedrockRuntimeClient = __esm(() => {
|
|
3512
|
-
init_dist_es3();
|
|
3513
2540
|
init_dist_es6();
|
|
3514
2541
|
init_dist_es7();
|
|
2542
|
+
init_dist_es3();
|
|
2543
|
+
init_dist_es8();
|
|
3515
2544
|
init_httpAuthSchemeProvider();
|
|
3516
2545
|
init_EndpointParameters();
|
|
3517
2546
|
init_runtimeConfig();
|
|
3518
2547
|
init_runtimeExtensions();
|
|
3519
|
-
import_middleware_host_header = __toESM(
|
|
3520
|
-
import_middleware_logger = __toESM(
|
|
3521
|
-
import_middleware_recursion_detection = __toESM(
|
|
3522
|
-
import_middleware_user_agent = __toESM(
|
|
3523
|
-
|
|
3524
|
-
import_core4 = __toESM(require_dist_cjs10(), 1);
|
|
2548
|
+
import_middleware_host_header = __toESM(require_dist_cjs10(), 1);
|
|
2549
|
+
import_middleware_logger = __toESM(require_dist_cjs11(), 1);
|
|
2550
|
+
import_middleware_recursion_detection = __toESM(require_dist_cjs12(), 1);
|
|
2551
|
+
import_middleware_user_agent = __toESM(require_dist_cjs15(), 1);
|
|
2552
|
+
import_core4 = __toESM(require_dist_cjs9(), 1);
|
|
3525
2553
|
import_schema2 = __toESM(require_schema(), 1);
|
|
3526
|
-
import_middleware_content_length = __toESM(
|
|
3527
|
-
import_middleware_endpoint = __toESM(
|
|
3528
|
-
import_middleware_retry2 = __toESM(
|
|
3529
|
-
import_smithy_client5 = __toESM(
|
|
2554
|
+
import_middleware_content_length = __toESM(require_dist_cjs16(), 1);
|
|
2555
|
+
import_middleware_endpoint = __toESM(require_dist_cjs17(), 1);
|
|
2556
|
+
import_middleware_retry2 = __toESM(require_dist_cjs18(), 1);
|
|
2557
|
+
import_smithy_client5 = __toESM(require_dist_cjs8(), 1);
|
|
3530
2558
|
BedrockRuntimeClient = class BedrockRuntimeClient extends import_smithy_client5.Client {
|
|
3531
2559
|
config;
|
|
3532
2560
|
constructor(...[configuration]) {
|
|
@@ -3536,7 +2564,7 @@ var init_BedrockRuntimeClient = __esm(() => {
|
|
|
3536
2564
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
3537
2565
|
const _config_2 = import_middleware_user_agent.resolveUserAgentConfig(_config_1);
|
|
3538
2566
|
const _config_3 = import_middleware_retry2.resolveRetryConfig(_config_2);
|
|
3539
|
-
const _config_4 =
|
|
2567
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
3540
2568
|
const _config_5 = import_middleware_host_header.resolveHostHeaderConfig(_config_4);
|
|
3541
2569
|
const _config_6 = import_middleware_endpoint.resolveEndpointConfig(_config_5);
|
|
3542
2570
|
const _config_7 = resolveEventStreamSerdeConfig(_config_6);
|
|
@@ -3572,8 +2600,8 @@ var import_middleware_endpoint2, import_smithy_client6, ApplyGuardrailCommand;
|
|
|
3572
2600
|
var init_ApplyGuardrailCommand = __esm(() => {
|
|
3573
2601
|
init_EndpointParameters();
|
|
3574
2602
|
init_schemas_0();
|
|
3575
|
-
import_middleware_endpoint2 = __toESM(
|
|
3576
|
-
import_smithy_client6 = __toESM(
|
|
2603
|
+
import_middleware_endpoint2 = __toESM(require_dist_cjs17(), 1);
|
|
2604
|
+
import_smithy_client6 = __toESM(require_dist_cjs8(), 1);
|
|
3577
2605
|
ApplyGuardrailCommand = class ApplyGuardrailCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3578
2606
|
return [import_middleware_endpoint2.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3579
2607
|
}).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail$).build() {
|
|
@@ -3585,8 +2613,8 @@ var import_middleware_endpoint3, import_smithy_client7, ConverseCommand;
|
|
|
3585
2613
|
var init_ConverseCommand = __esm(() => {
|
|
3586
2614
|
init_EndpointParameters();
|
|
3587
2615
|
init_schemas_0();
|
|
3588
|
-
import_middleware_endpoint3 = __toESM(
|
|
3589
|
-
import_smithy_client7 = __toESM(
|
|
2616
|
+
import_middleware_endpoint3 = __toESM(require_dist_cjs17(), 1);
|
|
2617
|
+
import_smithy_client7 = __toESM(require_dist_cjs8(), 1);
|
|
3590
2618
|
ConverseCommand = class ConverseCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3591
2619
|
return [import_middleware_endpoint3.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3592
2620
|
}).s("AmazonBedrockFrontendService", "Converse", {}).n("BedrockRuntimeClient", "ConverseCommand").sc(Converse$).build() {
|
|
@@ -3598,8 +2626,8 @@ var import_middleware_endpoint4, import_smithy_client8, ConverseStreamCommand;
|
|
|
3598
2626
|
var init_ConverseStreamCommand = __esm(() => {
|
|
3599
2627
|
init_EndpointParameters();
|
|
3600
2628
|
init_schemas_0();
|
|
3601
|
-
import_middleware_endpoint4 = __toESM(
|
|
3602
|
-
import_smithy_client8 = __toESM(
|
|
2629
|
+
import_middleware_endpoint4 = __toESM(require_dist_cjs17(), 1);
|
|
2630
|
+
import_smithy_client8 = __toESM(require_dist_cjs8(), 1);
|
|
3603
2631
|
ConverseStreamCommand = class ConverseStreamCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3604
2632
|
return [import_middleware_endpoint4.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3605
2633
|
}).s("AmazonBedrockFrontendService", "ConverseStream", {
|
|
@@ -3615,8 +2643,8 @@ var import_middleware_endpoint5, import_smithy_client9, CountTokensCommand;
|
|
|
3615
2643
|
var init_CountTokensCommand = __esm(() => {
|
|
3616
2644
|
init_EndpointParameters();
|
|
3617
2645
|
init_schemas_0();
|
|
3618
|
-
import_middleware_endpoint5 = __toESM(
|
|
3619
|
-
import_smithy_client9 = __toESM(
|
|
2646
|
+
import_middleware_endpoint5 = __toESM(require_dist_cjs17(), 1);
|
|
2647
|
+
import_smithy_client9 = __toESM(require_dist_cjs8(), 1);
|
|
3620
2648
|
CountTokensCommand = class CountTokensCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3621
2649
|
return [import_middleware_endpoint5.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3622
2650
|
}).s("AmazonBedrockFrontendService", "CountTokens", {}).n("BedrockRuntimeClient", "CountTokensCommand").sc(CountTokens$).build() {
|
|
@@ -3628,8 +2656,8 @@ var import_middleware_endpoint6, import_smithy_client10, GetAsyncInvokeCommand;
|
|
|
3628
2656
|
var init_GetAsyncInvokeCommand = __esm(() => {
|
|
3629
2657
|
init_EndpointParameters();
|
|
3630
2658
|
init_schemas_0();
|
|
3631
|
-
import_middleware_endpoint6 = __toESM(
|
|
3632
|
-
import_smithy_client10 = __toESM(
|
|
2659
|
+
import_middleware_endpoint6 = __toESM(require_dist_cjs17(), 1);
|
|
2660
|
+
import_smithy_client10 = __toESM(require_dist_cjs8(), 1);
|
|
3633
2661
|
GetAsyncInvokeCommand = class GetAsyncInvokeCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3634
2662
|
return [import_middleware_endpoint6.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3635
2663
|
}).s("AmazonBedrockFrontendService", "GetAsyncInvoke", {}).n("BedrockRuntimeClient", "GetAsyncInvokeCommand").sc(GetAsyncInvoke$).build() {
|
|
@@ -3641,8 +2669,8 @@ var import_middleware_endpoint7, import_smithy_client11, InvokeModelCommand;
|
|
|
3641
2669
|
var init_InvokeModelCommand = __esm(() => {
|
|
3642
2670
|
init_EndpointParameters();
|
|
3643
2671
|
init_schemas_0();
|
|
3644
|
-
import_middleware_endpoint7 = __toESM(
|
|
3645
|
-
import_smithy_client11 = __toESM(
|
|
2672
|
+
import_middleware_endpoint7 = __toESM(require_dist_cjs17(), 1);
|
|
2673
|
+
import_smithy_client11 = __toESM(require_dist_cjs8(), 1);
|
|
3646
2674
|
InvokeModelCommand = class InvokeModelCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3647
2675
|
return [import_middleware_endpoint7.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3648
2676
|
}).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").sc(InvokeModel$).build() {
|
|
@@ -3652,12 +2680,12 @@ var init_InvokeModelCommand = __esm(() => {
|
|
|
3652
2680
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js
|
|
3653
2681
|
var import_middleware_endpoint8, import_smithy_client12, InvokeModelWithBidirectionalStreamCommand;
|
|
3654
2682
|
var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
|
|
3655
|
-
init_dist_es3();
|
|
3656
2683
|
init_dist_es6();
|
|
2684
|
+
init_dist_es7();
|
|
3657
2685
|
init_EndpointParameters();
|
|
3658
2686
|
init_schemas_0();
|
|
3659
|
-
import_middleware_endpoint8 = __toESM(
|
|
3660
|
-
import_smithy_client12 = __toESM(
|
|
2687
|
+
import_middleware_endpoint8 = __toESM(require_dist_cjs17(), 1);
|
|
2688
|
+
import_smithy_client12 = __toESM(require_dist_cjs8(), 1);
|
|
3661
2689
|
InvokeModelWithBidirectionalStreamCommand = class InvokeModelWithBidirectionalStreamCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3662
2690
|
return [
|
|
3663
2691
|
import_middleware_endpoint8.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
@@ -3680,8 +2708,8 @@ var import_middleware_endpoint9, import_smithy_client13, InvokeModelWithResponse
|
|
|
3680
2708
|
var init_InvokeModelWithResponseStreamCommand = __esm(() => {
|
|
3681
2709
|
init_EndpointParameters();
|
|
3682
2710
|
init_schemas_0();
|
|
3683
|
-
import_middleware_endpoint9 = __toESM(
|
|
3684
|
-
import_smithy_client13 = __toESM(
|
|
2711
|
+
import_middleware_endpoint9 = __toESM(require_dist_cjs17(), 1);
|
|
2712
|
+
import_smithy_client13 = __toESM(require_dist_cjs8(), 1);
|
|
3685
2713
|
InvokeModelWithResponseStreamCommand = class InvokeModelWithResponseStreamCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3686
2714
|
return [import_middleware_endpoint9.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3687
2715
|
}).s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
|
|
@@ -3697,8 +2725,8 @@ var import_middleware_endpoint10, import_smithy_client14, ListAsyncInvokesComman
|
|
|
3697
2725
|
var init_ListAsyncInvokesCommand = __esm(() => {
|
|
3698
2726
|
init_EndpointParameters();
|
|
3699
2727
|
init_schemas_0();
|
|
3700
|
-
import_middleware_endpoint10 = __toESM(
|
|
3701
|
-
import_smithy_client14 = __toESM(
|
|
2728
|
+
import_middleware_endpoint10 = __toESM(require_dist_cjs17(), 1);
|
|
2729
|
+
import_smithy_client14 = __toESM(require_dist_cjs8(), 1);
|
|
3702
2730
|
ListAsyncInvokesCommand = class ListAsyncInvokesCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3703
2731
|
return [import_middleware_endpoint10.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3704
2732
|
}).s("AmazonBedrockFrontendService", "ListAsyncInvokes", {}).n("BedrockRuntimeClient", "ListAsyncInvokesCommand").sc(ListAsyncInvokes$).build() {
|
|
@@ -3710,8 +2738,8 @@ var import_middleware_endpoint11, import_smithy_client15, StartAsyncInvokeComman
|
|
|
3710
2738
|
var init_StartAsyncInvokeCommand = __esm(() => {
|
|
3711
2739
|
init_EndpointParameters();
|
|
3712
2740
|
init_schemas_0();
|
|
3713
|
-
import_middleware_endpoint11 = __toESM(
|
|
3714
|
-
import_smithy_client15 = __toESM(
|
|
2741
|
+
import_middleware_endpoint11 = __toESM(require_dist_cjs17(), 1);
|
|
2742
|
+
import_smithy_client15 = __toESM(require_dist_cjs8(), 1);
|
|
3715
2743
|
StartAsyncInvokeCommand = class StartAsyncInvokeCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o2) {
|
|
3716
2744
|
return [import_middleware_endpoint11.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
3717
2745
|
}).s("AmazonBedrockFrontendService", "StartAsyncInvoke", {}).n("BedrockRuntimeClient", "StartAsyncInvokeCommand").sc(StartAsyncInvoke$).build() {
|
|
@@ -3723,7 +2751,7 @@ var import_core5, paginateListAsyncInvokes;
|
|
|
3723
2751
|
var init_ListAsyncInvokesPaginator = __esm(() => {
|
|
3724
2752
|
init_BedrockRuntimeClient();
|
|
3725
2753
|
init_ListAsyncInvokesCommand();
|
|
3726
|
-
import_core5 = __toESM(
|
|
2754
|
+
import_core5 = __toESM(require_dist_cjs9(), 1);
|
|
3727
2755
|
paginateListAsyncInvokes = import_core5.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
|
|
3728
2756
|
});
|
|
3729
2757
|
|
|
@@ -3742,7 +2770,7 @@ var init_BedrockRuntime = __esm(() => {
|
|
|
3742
2770
|
init_ListAsyncInvokesCommand();
|
|
3743
2771
|
init_StartAsyncInvokeCommand();
|
|
3744
2772
|
init_ListAsyncInvokesPaginator();
|
|
3745
|
-
import_smithy_client16 = __toESM(
|
|
2773
|
+
import_smithy_client16 = __toESM(require_dist_cjs8(), 1);
|
|
3746
2774
|
commands = {
|
|
3747
2775
|
ApplyGuardrailCommand,
|
|
3748
2776
|
ConverseCommand,
|
|
@@ -4035,7 +3063,7 @@ var init_enums = __esm(() => {
|
|
|
4035
3063
|
var init_models_0 = () => {};
|
|
4036
3064
|
|
|
4037
3065
|
// node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1029.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js
|
|
4038
|
-
var
|
|
3066
|
+
var init_dist_es11 = __esm(() => {
|
|
4039
3067
|
init_BedrockRuntimeServiceException();
|
|
4040
3068
|
init_BedrockRuntimeClient();
|
|
4041
3069
|
init_BedrockRuntime();
|
|
@@ -4046,7 +3074,7 @@ var init_dist_es10 = __esm(() => {
|
|
|
4046
3074
|
init_errors();
|
|
4047
3075
|
init_models_0();
|
|
4048
3076
|
});
|
|
4049
|
-
|
|
3077
|
+
init_dist_es11();
|
|
4050
3078
|
var export___Client = import_smithy_client5.Client;
|
|
4051
3079
|
|
|
4052
3080
|
export {
|