@redscope-ai/redscope 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +224 -0
- package/dist/chunk-090920rk.js +288 -0
- package/dist/chunk-0afb2r78.js +141 -0
- package/dist/chunk-0d4ekx1g.js +73 -0
- package/dist/chunk-0g6nwbhq.js +15 -0
- package/dist/chunk-0qj905nt.js +18 -0
- package/dist/chunk-0s5btnn1.js +186 -0
- package/dist/chunk-0s8fars0.js +91 -0
- package/dist/chunk-10ev3dvh.js +312 -0
- package/dist/chunk-10k5jfc5.js +1295 -0
- package/dist/chunk-12tspwqa.js +240 -0
- package/dist/chunk-13qesvnw.js +17 -0
- package/dist/chunk-143eh1e0.js +121 -0
- package/dist/chunk-14p6wvsq.js +39 -0
- package/dist/chunk-19f3zb1m.js +342 -0
- package/dist/chunk-1a5cep8h.js +145 -0
- package/dist/chunk-1abw9kkn.js +34 -0
- package/dist/chunk-1aer7c78.js +118 -0
- package/dist/chunk-1dazz4g6.js +154 -0
- package/dist/chunk-1fcf4ty1.js +142 -0
- package/dist/chunk-1gnxhyf8.js +62 -0
- package/dist/chunk-1he3944e.js +8124 -0
- package/dist/chunk-1jpayz7y.js +952 -0
- package/dist/chunk-1qd6f6vk.js +269 -0
- package/dist/chunk-1v0kpe62.js +2547 -0
- package/dist/chunk-1w20m7gw.js +445 -0
- package/dist/chunk-1y7kp51j.js +72 -0
- package/dist/chunk-1ycb5sxt.js +247 -0
- package/dist/chunk-1zbwhcbt.js +1124 -0
- package/dist/chunk-20psem54.js +116 -0
- package/dist/chunk-23h69r5b.js +30 -0
- package/dist/chunk-23x86ptv.js +473 -0
- package/dist/chunk-24fyv3jz.js +378 -0
- package/dist/chunk-24kv69g3.js +97 -0
- package/dist/chunk-2azx8zsc.js +125 -0
- package/dist/chunk-2d1gwzz9.js +524 -0
- package/dist/chunk-2g0ytd9d.js +29058 -0
- package/dist/chunk-2hfp9kat.js +21 -0
- package/dist/chunk-2j875eq6.js +37 -0
- package/dist/chunk-2kcgxnvp.js +39 -0
- package/dist/chunk-2kz09j2s.js +23 -0
- package/dist/chunk-2mwnwp0n.js +17 -0
- package/dist/chunk-2p1cqhcn.js +921 -0
- package/dist/chunk-2p369q9z.js +61 -0
- package/dist/chunk-2rf6asgf.js +151 -0
- package/dist/chunk-2vr7mqx1.js +384 -0
- package/dist/chunk-2xcg933e.js +205 -0
- package/dist/chunk-2ypwckbz.js +40310 -0
- package/dist/chunk-30wnahyg.js +626 -0
- package/dist/chunk-326zehp8.js +204 -0
- package/dist/chunk-32s6jzgw.js +183 -0
- package/dist/chunk-35yzt1a7.js +202 -0
- package/dist/chunk-38frkej6.js +62 -0
- package/dist/chunk-3abaq08g.js +34 -0
- package/dist/chunk-3h59ttr5.js +32 -0
- package/dist/chunk-3nk9q8dr.js +154 -0
- package/dist/chunk-3prrxevm.js +224 -0
- package/dist/chunk-3tv8p9xw.js +127 -0
- package/dist/chunk-3txyekes.js +19 -0
- package/dist/chunk-3vfxjn7g.js +19 -0
- package/dist/chunk-3w9sye8h.js +81 -0
- package/dist/chunk-3y69j7y8.js +24 -0
- package/dist/chunk-3zwjpkjh.js +1603 -0
- package/dist/chunk-40t1d75v.js +3442 -0
- package/dist/chunk-470kmby4.js +318 -0
- package/dist/chunk-47jc141z.js +335 -0
- package/dist/chunk-48rz50ct.js +868 -0
- package/dist/chunk-49wv03ts.js +232 -0
- package/dist/chunk-4a189mn2.js +103 -0
- package/dist/chunk-4c4fmh7a.js +15 -0
- package/dist/chunk-4ct8dsj5.js +49 -0
- package/dist/chunk-4kqt1pm1.js +100 -0
- package/dist/chunk-4ng0xy0e.js +802 -0
- package/dist/chunk-4spgkgr3.js +43 -0
- package/dist/chunk-4tjdwtyy.js +19 -0
- package/dist/chunk-4tr60273.js +370 -0
- package/dist/chunk-4vnaeng5.js +29 -0
- package/dist/chunk-4wbqpeaw.js +871 -0
- package/dist/chunk-4wgkv3fv.js +1140 -0
- package/dist/chunk-4yjskjb6.js +40 -0
- package/dist/chunk-50m3a23z.js +35 -0
- package/dist/chunk-511f79az.js +182 -0
- package/dist/chunk-51sgztvv.js +161 -0
- package/dist/chunk-563fcpv1.js +290 -0
- package/dist/chunk-564cnq6v.js +735 -0
- package/dist/chunk-569r8cxc.js +31 -0
- package/dist/chunk-570x55d4.js +12 -0
- package/dist/chunk-571556cm.js +80 -0
- package/dist/chunk-59t4c56e.js +63 -0
- package/dist/chunk-5axjhkma.js +36 -0
- package/dist/chunk-5b188q5e.js +157 -0
- package/dist/chunk-5dmn1865.js +439 -0
- package/dist/chunk-5ks4829r.js +267 -0
- package/dist/chunk-5mmhfbxb.js +1078 -0
- package/dist/chunk-5rdt14hy.js +742 -0
- package/dist/chunk-5ssryexj.js +121 -0
- package/dist/chunk-5v95pnq4.js +15 -0
- package/dist/chunk-5xvjt2t9.js +68 -0
- package/dist/chunk-5zyq6t1q.js +118 -0
- package/dist/chunk-60fkafk2.js +15 -0
- package/dist/chunk-62fjkf5q.js +46 -0
- package/dist/chunk-64gazrrb.js +8067 -0
- package/dist/chunk-65tq2yjx.js +126 -0
- package/dist/chunk-65zbgg1n.js +14 -0
- package/dist/chunk-66v8mty3.js +264 -0
- package/dist/chunk-6acx5heq.js +292 -0
- package/dist/chunk-6hr7742d.js +61 -0
- package/dist/chunk-6hygvrhn.js +143 -0
- package/dist/chunk-6kjh280m.js +128 -0
- package/dist/chunk-6s0q1s5r.js +66 -0
- package/dist/chunk-6x35ffpx.js +690 -0
- package/dist/chunk-71jfy1hh.js +570 -0
- package/dist/chunk-71sdcaq6.js +15 -0
- package/dist/chunk-754qdxs5.js +92 -0
- package/dist/chunk-79v5bkj4.js +1176 -0
- package/dist/chunk-7br0w7j5.js +151 -0
- package/dist/chunk-7cjgrzz1.js +298 -0
- package/dist/chunk-7d41ks0y.js +133 -0
- package/dist/chunk-7f40pmtr.js +71 -0
- package/dist/chunk-7g15x8hm.js +131 -0
- package/dist/chunk-7gtnzdet.js +120 -0
- package/dist/chunk-7h0z4aqx.js +702 -0
- package/dist/chunk-7h7e5a7d.js +25 -0
- package/dist/chunk-7m2cznwr.js +40 -0
- package/dist/chunk-7nvday0n.js +252 -0
- package/dist/chunk-7qey87th.js +145 -0
- package/dist/chunk-7qx3xhv3.js +9076 -0
- package/dist/chunk-7tfdhkpy.js +61 -0
- package/dist/chunk-80m511j6.js +121 -0
- package/dist/chunk-80ysxfe9.js +784 -0
- package/dist/chunk-8375zk8t.js +17200 -0
- package/dist/chunk-85bpkyy9.js +412 -0
- package/dist/chunk-85tcn547.js +876 -0
- package/dist/chunk-85vqgbc8.js +13 -0
- package/dist/chunk-86626jb4.js +49 -0
- package/dist/chunk-87ms17f6.js +444 -0
- package/dist/chunk-87mz239c.js +118 -0
- package/dist/chunk-89vdzt4e.js +254 -0
- package/dist/chunk-89z3e99z.js +159 -0
- package/dist/chunk-8cwrz1dd.js +1806 -0
- package/dist/chunk-8gv2pjby.js +21 -0
- package/dist/chunk-8hdevr3s.js +140 -0
- package/dist/chunk-8hdsk6qc.js +710 -0
- package/dist/chunk-8kct9arg.js +724 -0
- package/dist/chunk-8kf8h7xf.js +23 -0
- package/dist/chunk-8qed8ymj.js +605 -0
- package/dist/chunk-8sdgr592.js +101 -0
- package/dist/chunk-8we9w8pw.js +111 -0
- package/dist/chunk-8xnm5637.js +72 -0
- package/dist/chunk-8y3q0eqy.js +67 -0
- package/dist/chunk-8yvsnrkr.js +3449 -0
- package/dist/chunk-8zz4z1q3.js +42 -0
- package/dist/chunk-90eyff3k.js +119 -0
- package/dist/chunk-92bjkrf2.js +121 -0
- package/dist/chunk-92zrc7c6.js +327 -0
- package/dist/chunk-935nrvdb.js +13 -0
- package/dist/chunk-94pfyv6a.js +48 -0
- package/dist/chunk-9568p8se.js +115 -0
- package/dist/chunk-96km1ywr.js +37 -0
- package/dist/chunk-980bg4w4.js +163 -0
- package/dist/chunk-9a9g5hbj.js +205 -0
- package/dist/chunk-9cm4725d.js +4395 -0
- package/dist/chunk-9ds3vzq8.js +847 -0
- package/dist/chunk-9ffc9n60.js +618 -0
- package/dist/chunk-9fstrwv2.js +184 -0
- package/dist/chunk-9gt0g0qe.js +153 -0
- package/dist/chunk-9h9k5vz3.js +2761 -0
- package/dist/chunk-9he8bmhy.js +17 -0
- package/dist/chunk-9hn8e6h1.js +12 -0
- package/dist/chunk-9j0n3g8e.js +179 -0
- package/dist/chunk-9j6pa3ft.js +251 -0
- package/dist/chunk-9jpg9dn7.js +122 -0
- package/dist/chunk-9mycnwj5.js +46 -0
- package/dist/chunk-9npy2c17.js +517 -0
- package/dist/chunk-9p6sec8n.js +34 -0
- package/dist/chunk-9pnym83h.js +4584 -0
- package/dist/chunk-9skwrnd2.js +25 -0
- package/dist/chunk-9tsfaqr8.js +459 -0
- package/dist/chunk-9tsw3cqv.js +5924 -0
- package/dist/chunk-9w6ckyk4.js +49 -0
- package/dist/chunk-a15bwzv6.js +147 -0
- package/dist/chunk-a9t6cp69.js +28 -0
- package/dist/chunk-ad2yk19p.js +102 -0
- package/dist/chunk-ad4cw4nw.js +336 -0
- package/dist/chunk-ad69fbsk.js +347 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-aeysytks.js +216 -0
- package/dist/chunk-ag81m9bq.js +61 -0
- package/dist/chunk-ahx7gp6r.js +4448 -0
- package/dist/chunk-aj4tk4tk.js +23 -0
- package/dist/chunk-an82t9jc.js +104 -0
- package/dist/chunk-apg95qd7.js +1393 -0
- package/dist/chunk-aq5n2adz.js +27 -0
- package/dist/chunk-aw4s3a99.js +208 -0
- package/dist/chunk-awgdfggg.js +14 -0
- package/dist/chunk-ayymxgn1.js +164 -0
- package/dist/chunk-azbab59e.js +637 -0
- package/dist/chunk-azdxq2a3.js +293 -0
- package/dist/chunk-b0tjx3k1.js +523 -0
- package/dist/chunk-b5pp4g2g.js +371 -0
- package/dist/chunk-b5zm8dt6.js +26 -0
- package/dist/chunk-bcnye5a0.js +109 -0
- package/dist/chunk-beqz3k49.js +190 -0
- package/dist/chunk-bf906wpw.js +147 -0
- package/dist/chunk-bgan4cpf.js +13 -0
- package/dist/chunk-bhzp13h7.js +1178 -0
- package/dist/chunk-bk403kpw.js +142 -0
- package/dist/chunk-bmq4c135.js +489 -0
- package/dist/chunk-bprbeda7.js +35 -0
- package/dist/chunk-bst7czdd.js +888 -0
- package/dist/chunk-bths4xgn.js +111 -0
- package/dist/chunk-btjn3qby.js +13 -0
- package/dist/chunk-bwb1vxnt.js +120 -0
- package/dist/chunk-bxa6tw4m.js +643 -0
- package/dist/chunk-bxfjr8qb.js +27 -0
- package/dist/chunk-bxpzhrej.js +73 -0
- package/dist/chunk-bzyzrq0k.js +51 -0
- package/dist/chunk-c0k7b0jw.js +4265 -0
- package/dist/chunk-c17f0h2s.js +16 -0
- package/dist/chunk-c1yc761e.js +6748 -0
- package/dist/chunk-c5g9shkw.js +298 -0
- package/dist/chunk-c696122m.js +69 -0
- package/dist/chunk-c92b3yxx.js +109 -0
- package/dist/chunk-c9aqz56y.js +143 -0
- package/dist/chunk-cba7c5w3.js +345 -0
- package/dist/chunk-cbcxbbe6.js +6543 -0
- package/dist/chunk-cdfjb87h.js +11 -0
- package/dist/chunk-ce8zjt1y.js +136 -0
- package/dist/chunk-cep7e37k.js +22740 -0
- package/dist/chunk-chs5qm8d.js +258 -0
- package/dist/chunk-ckydq33g.js +144 -0
- package/dist/chunk-cnge6wpj.js +514 -0
- package/dist/chunk-cpnsvqf1.js +13 -0
- package/dist/chunk-cqqebkv4.js +32 -0
- package/dist/chunk-cvqpp7dk.js +627 -0
- package/dist/chunk-cwc33j40.js +65 -0
- package/dist/chunk-cypvrq2a.js +155 -0
- package/dist/chunk-d1ha0swn.js +475 -0
- package/dist/chunk-d2an0138.js +35 -0
- package/dist/chunk-d2tt72ck.js +343 -0
- package/dist/chunk-d6wvcqrw.js +9507 -0
- package/dist/chunk-d7ys2kka.js +991 -0
- package/dist/chunk-dbts5q5p.js +122 -0
- package/dist/chunk-dct29ggs.js +295 -0
- package/dist/chunk-de0qnnf7.js +1059 -0
- package/dist/chunk-dep72ce4.js +513 -0
- package/dist/chunk-dgpvgy8x.js +47 -0
- package/dist/chunk-dhhd7dtc.js +20 -0
- package/dist/chunk-dhzpmxv6.js +594 -0
- package/dist/chunk-djes4da7.js +413 -0
- package/dist/chunk-dnhv3vx7.js +166 -0
- package/dist/chunk-dqtvafan.js +2365 -0
- package/dist/chunk-dr4a3tcp.js +60 -0
- package/dist/chunk-dz2xk9kb.js +100 -0
- package/dist/chunk-dz7nc6rf.js +15 -0
- package/dist/chunk-e3abfxpy.js +1486 -0
- package/dist/chunk-e3cq9z89.js +85 -0
- package/dist/chunk-e3j7m7k2.js +642 -0
- package/dist/chunk-e4dsy4g1.js +9951 -0
- package/dist/chunk-e5592pnn.js +197 -0
- package/dist/chunk-e55hdegh.js +129 -0
- package/dist/chunk-e5r5r04e.js +1030 -0
- package/dist/chunk-e60zztbt.js +442 -0
- package/dist/chunk-e7qq6vn0.js +372 -0
- package/dist/chunk-e9aat7xw.js +80 -0
- package/dist/chunk-e9d5v3zs.js +143 -0
- package/dist/chunk-eax32zk4.js +87 -0
- package/dist/chunk-ebfwmbx1.js +117 -0
- package/dist/chunk-ec71pb8t.js +971 -0
- package/dist/chunk-eemjb825.js +17252 -0
- package/dist/chunk-ees8xdhd.js +256 -0
- package/dist/chunk-eewg66y1.js +112 -0
- package/dist/chunk-eg22v12d.js +266 -0
- package/dist/chunk-enzzk67f.js +313 -0
- package/dist/chunk-eskhp70f.js +117 -0
- package/dist/chunk-ewx6z4g8.js +55 -0
- package/dist/chunk-eyvx461k.js +76 -0
- package/dist/chunk-eztq2b5f.js +94 -0
- package/dist/chunk-f0ffwzdd.js +321 -0
- package/dist/chunk-f80n68mf.js +119 -0
- package/dist/chunk-fae2hjxp.js +99 -0
- package/dist/chunk-fbtfp370.js +60 -0
- package/dist/chunk-fc6ndtgf.js +94 -0
- package/dist/chunk-fdwabr8p.js +13870 -0
- package/dist/chunk-fejeqe61.js +785 -0
- package/dist/chunk-fh0d6mvk.js +168 -0
- package/dist/chunk-fh19zcaf.js +304 -0
- package/dist/chunk-fh8bd39r.js +186 -0
- package/dist/chunk-fj2ebbpn.js +33 -0
- package/dist/chunk-fjn632v7.js +194 -0
- package/dist/chunk-fncpkzs5.js +1389 -0
- package/dist/chunk-fpd1gpt8.js +332 -0
- package/dist/chunk-fq9snrnh.js +295 -0
- package/dist/chunk-fqcfzg3j.js +207 -0
- package/dist/chunk-ftt3vqj2.js +1919 -0
- package/dist/chunk-g06pm4n9.js +395 -0
- package/dist/chunk-g4m5pf4g.js +8 -0
- package/dist/chunk-g72h52y6.js +36 -0
- package/dist/chunk-g79ej71s.js +1627 -0
- package/dist/chunk-g7fwk59d.js +19 -0
- package/dist/chunk-g9jnkrtm.js +663 -0
- package/dist/chunk-g9vg5d7t.js +38 -0
- package/dist/chunk-ga1jkyqy.js +1636 -0
- package/dist/chunk-gaaap2nk.js +676 -0
- package/dist/chunk-gc6erq5q.js +483 -0
- package/dist/chunk-gjrcmf0a.js +752 -0
- package/dist/chunk-gmdy2w3z.js +238999 -0
- package/dist/chunk-gsz4yrrk.js +81 -0
- package/dist/chunk-gy47rjy8.js +3830 -0
- package/dist/chunk-h12a4f4x.js +11 -0
- package/dist/chunk-h1yratmg.js +725 -0
- package/dist/chunk-h9y0jnsy.js +155 -0
- package/dist/chunk-hbhs3mwy.js +133 -0
- package/dist/chunk-hbs8cmb4.js +8 -0
- package/dist/chunk-hdk0t1ht.js +940 -0
- package/dist/chunk-hef8dx4s.js +178 -0
- package/dist/chunk-hgsca8mt.js +381 -0
- package/dist/chunk-hhsxm2yr.js +67 -0
- package/dist/chunk-hj5tzzpd.js +39 -0
- package/dist/chunk-hjxqmtg5.js +94 -0
- package/dist/chunk-hn4w9pkj.js +68 -0
- package/dist/chunk-hnprkjgp.js +25 -0
- package/dist/chunk-hq3n5ex7.js +183 -0
- package/dist/chunk-hqjspfma.js +158 -0
- package/dist/chunk-hqxp6b72.js +1198 -0
- package/dist/chunk-hs6nrmq6.js +94 -0
- package/dist/chunk-hwba5xdc.js +267 -0
- package/dist/chunk-hy566ev3.js +430 -0
- package/dist/chunk-hzmzwte2.js +153 -0
- package/dist/chunk-hzxzvzw8.js +274 -0
- package/dist/chunk-j139fzgs.js +114 -0
- package/dist/chunk-j1mep9ck.js +62 -0
- package/dist/chunk-j3xveeg4.js +273 -0
- package/dist/chunk-j5y1s11j.js +100 -0
- package/dist/chunk-j9475b46.js +26 -0
- package/dist/chunk-j9rgqs8m.js +1192 -0
- package/dist/chunk-jccjaddz.js +74 -0
- package/dist/chunk-jdkwfy9e.js +35 -0
- package/dist/chunk-jdqp0r4h.js +6157 -0
- package/dist/chunk-jdzk4zwn.js +587 -0
- package/dist/chunk-jfafmkte.js +49 -0
- package/dist/chunk-jg3r989b.js +16 -0
- package/dist/chunk-jhtccjc9.js +54 -0
- package/dist/chunk-jj2ff1pr.js +688 -0
- package/dist/chunk-jmv7k0jn.js +37 -0
- package/dist/chunk-jmxzmwpw.js +65 -0
- package/dist/chunk-jnjxdqyr.js +353 -0
- package/dist/chunk-jsbbez9j.js +138 -0
- package/dist/chunk-jvpt2dc0.js +424 -0
- package/dist/chunk-jwd7cka0.js +34 -0
- package/dist/chunk-jy5er3st.js +15 -0
- package/dist/chunk-jyby79z5.js +121 -0
- package/dist/chunk-jzyr6j5n.js +332 -0
- package/dist/chunk-k49xc781.js +63 -0
- package/dist/chunk-k7dt2g4a.js +41 -0
- package/dist/chunk-k7hexw3v.js +969 -0
- package/dist/chunk-k7wwkraa.js +117 -0
- package/dist/chunk-kb3758f7.js +51 -0
- package/dist/chunk-kc67kt75.js +3119 -0
- package/dist/chunk-kdhmfxmh.js +3149 -0
- package/dist/chunk-kejdd6zc.js +51 -0
- package/dist/chunk-kekrjeem.js +402 -0
- package/dist/chunk-kez5r0zz.js +280 -0
- package/dist/chunk-kfsvcs5t.js +75 -0
- package/dist/chunk-khtvffc4.js +285 -0
- package/dist/chunk-kkz4w1tv.js +64 -0
- package/dist/chunk-kmywng0j.js +272 -0
- package/dist/chunk-kq6vcpdr.js +224 -0
- package/dist/chunk-kqzdszcc.js +37 -0
- package/dist/chunk-ktxpp02w.js +435 -0
- package/dist/chunk-kwcvhbtz.js +26 -0
- package/dist/chunk-kx0cm9qr.js +128 -0
- package/dist/chunk-kxcmqz10.js +120 -0
- package/dist/chunk-kxwava1g.js +14 -0
- package/dist/chunk-kywtr3jg.js +825 -0
- package/dist/chunk-kzwg923p.js +8 -0
- package/dist/chunk-m1eq3sgv.js +255 -0
- package/dist/chunk-m21h5zb4.js +119 -0
- package/dist/chunk-m2c3bjv1.js +111 -0
- package/dist/chunk-m41e19ms.js +42 -0
- package/dist/chunk-m7ka36ex.js +97 -0
- package/dist/chunk-m81w8tbm.js +259 -0
- package/dist/chunk-m95ggkax.js +281 -0
- package/dist/chunk-manx26xa.js +145 -0
- package/dist/chunk-mdxh3pk2.js +298 -0
- package/dist/chunk-mhbfkcja.js +311 -0
- package/dist/chunk-mjnr5erm.js +173 -0
- package/dist/chunk-mngvnmwp.js +135 -0
- package/dist/chunk-mvfqanv5.js +63 -0
- package/dist/chunk-mw1nesq1.js +140 -0
- package/dist/chunk-mx168925.js +661 -0
- package/dist/chunk-mxwvj18g.js +795 -0
- package/dist/chunk-my7r5mba.js +257 -0
- package/dist/chunk-myaa1kkf.js +17 -0
- package/dist/chunk-myypc3tn.js +46 -0
- package/dist/chunk-mzcnmnpq.js +3379 -0
- package/dist/chunk-mznav6d1.js +194 -0
- package/dist/chunk-n0qxskpr.js +24 -0
- package/dist/chunk-n6a6hgtp.js +394 -0
- package/dist/chunk-n6d5fgx0.js +254 -0
- package/dist/chunk-n6ym3n03.js +120 -0
- package/dist/chunk-n9g24mwe.js +104 -0
- package/dist/chunk-naamqdf9.js +185 -0
- package/dist/chunk-nb2jk7zj.js +15 -0
- package/dist/chunk-nbkbq9en.js +67 -0
- package/dist/chunk-ndttd6es.js +38 -0
- package/dist/chunk-nfygaaxg.js +133 -0
- package/dist/chunk-ngdzpszd.js +454 -0
- package/dist/chunk-nmfwksa4.js +1297 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nwc3v0vp.js +691 -0
- package/dist/chunk-nz8ha95p.js +3610 -0
- package/dist/chunk-nzxfj0gq.js +2007 -0
- package/dist/chunk-p0r8887g.js +6932 -0
- package/dist/chunk-p1seyqdm.js +120 -0
- package/dist/chunk-p425zbgw.js +726 -0
- package/dist/chunk-p7hamd2c.js +146 -0
- package/dist/chunk-pdvg91cg.js +32 -0
- package/dist/chunk-pecy49yr.js +14649 -0
- package/dist/chunk-pfxrg89f.js +547 -0
- package/dist/chunk-pfyw3155.js +2750 -0
- package/dist/chunk-pr8m11pm.js +1192 -0
- package/dist/chunk-ptxteaeh.js +1591 -0
- package/dist/chunk-pv164mac.js +394 -0
- package/dist/chunk-pxxhtxf5.js +10154 -0
- package/dist/chunk-q0e485mg.js +61 -0
- package/dist/chunk-q1vrhh0q.js +458 -0
- package/dist/chunk-q2h79ncs.js +370 -0
- package/dist/chunk-q3b4n194.js +56 -0
- package/dist/chunk-q44zc68f.js +4301 -0
- package/dist/chunk-q8gknbdx.js +352 -0
- package/dist/chunk-q8xk3kdj.js +11 -0
- package/dist/chunk-qak46xtp.js +119 -0
- package/dist/chunk-qfq7absv.js +95 -0
- package/dist/chunk-qfsn720k.js +151 -0
- package/dist/chunk-qg4811f6.js +228 -0
- package/dist/chunk-qgzn3qps.js +90 -0
- package/dist/chunk-qhaggqkt.js +113 -0
- package/dist/chunk-qjjp27z8.js +195 -0
- package/dist/chunk-qxp0nye6.js +34 -0
- package/dist/chunk-qy3nagaq.js +4957 -0
- package/dist/chunk-qz2meav1.js +1452 -0
- package/dist/chunk-r50hne7m.js +63 -0
- package/dist/chunk-r6m0vgnv.js +80 -0
- package/dist/chunk-r7yw38vf.js +22864 -0
- package/dist/chunk-r8xc618w.js +42 -0
- package/dist/chunk-r961r5kj.js +87 -0
- package/dist/chunk-r9b5xrh0.js +66 -0
- package/dist/chunk-rcn2pd6q.js +477 -0
- package/dist/chunk-rdeh8p3y.js +148 -0
- package/dist/chunk-rg9x1742.js +542 -0
- package/dist/chunk-rgyzsbs3.js +39 -0
- package/dist/chunk-rk2fsxtz.js +16 -0
- package/dist/chunk-rkchkwv9.js +40 -0
- package/dist/chunk-rp8whpb3.js +478 -0
- package/dist/chunk-rpkxdtgr.js +68 -0
- package/dist/chunk-rpmntgyh.js +394 -0
- package/dist/chunk-rpshz4dy.js +614 -0
- package/dist/chunk-rqd60ay5.js +133 -0
- package/dist/chunk-rrsjf2ea.js +229 -0
- package/dist/chunk-rtjk8c8e.js +173 -0
- package/dist/chunk-rw0y2wdf.js +1017 -0
- package/dist/chunk-rx5w7ess.js +663 -0
- package/dist/chunk-rx8t9d35.js +1947 -0
- package/dist/chunk-rxcazxgf.js +195 -0
- package/dist/chunk-rxg6q3bp.js +1413 -0
- package/dist/chunk-rxrb7xnd.js +71 -0
- package/dist/chunk-rxrzxff3.js +118 -0
- package/dist/chunk-ryqjc943.js +71 -0
- package/dist/chunk-rzk9k2rf.js +81 -0
- package/dist/chunk-s2qv0nht.js +119 -0
- package/dist/chunk-s3hafnk3.js +2285 -0
- package/dist/chunk-s4a496tt.js +226 -0
- package/dist/chunk-s4d1h3ka.js +35 -0
- package/dist/chunk-sm3k3ze4.js +16525 -0
- package/dist/chunk-sn0bja82.js +385 -0
- package/dist/chunk-sngjggw1.js +4227 -0
- package/dist/chunk-sq047n34.js +364 -0
- package/dist/chunk-sttwe2tw.js +8584 -0
- package/dist/chunk-sw8qx1r0.js +86 -0
- package/dist/chunk-swstah6a.js +240 -0
- package/dist/chunk-syrkr0mf.js +63 -0
- package/dist/chunk-sz206bd9.js +26 -0
- package/dist/chunk-t09669cj.js +333 -0
- package/dist/chunk-t5f8e30k.js +602 -0
- package/dist/chunk-t5m78mc8.js +432 -0
- package/dist/chunk-t5x1dqwn.js +143 -0
- package/dist/chunk-t877ea0w.js +168 -0
- package/dist/chunk-t91hb71c.js +17 -0
- package/dist/chunk-tb636bcf.js +942 -0
- package/dist/chunk-tb8sykbr.js +426 -0
- package/dist/chunk-tbdkekz3.js +125 -0
- package/dist/chunk-td2gsz7s.js +225 -0
- package/dist/chunk-tenvxbyh.js +20 -0
- package/dist/chunk-texg4qqt.js +317 -0
- package/dist/chunk-teymzz80.js +266 -0
- package/dist/chunk-tj26qpf7.js +153 -0
- package/dist/chunk-tk85ec4p.js +395 -0
- package/dist/chunk-tq205h01.js +164 -0
- package/dist/chunk-tqzddjzg.js +61 -0
- package/dist/chunk-trqrj23e.js +134 -0
- package/dist/chunk-tw1hfsxv.js +2477 -0
- package/dist/chunk-txxdfq83.js +122 -0
- package/dist/chunk-v0yhe582.js +31 -0
- package/dist/chunk-v14184xm.js +15 -0
- package/dist/chunk-v1h9z4hw.js +138 -0
- package/dist/chunk-v3ey5j7f.js +329 -0
- package/dist/chunk-v3nh1sfn.js +208 -0
- package/dist/chunk-v3x8tcc0.js +45 -0
- package/dist/chunk-v4nqnvqq.js +3984 -0
- package/dist/chunk-v4ypszbb.js +15 -0
- package/dist/chunk-v7wbqcx9.js +63 -0
- package/dist/chunk-v8r5fev3.js +341 -0
- package/dist/chunk-v9zg5kzx.js +2810 -0
- package/dist/chunk-va1wh5ss.js +24 -0
- package/dist/chunk-vbfswhht.js +42 -0
- package/dist/chunk-ve7x2tfq.js +124 -0
- package/dist/chunk-vfz8k89y.js +485 -0
- package/dist/chunk-vgm5k14x.js +35678 -0
- package/dist/chunk-vh9pej3c.js +247 -0
- package/dist/chunk-vjxqyt6f.js +3820 -0
- package/dist/chunk-vpb1xstn.js +178 -0
- package/dist/chunk-vqt79tj8.js +110 -0
- package/dist/chunk-vr0n9pv9.js +152 -0
- package/dist/chunk-vrejmja5.js +90 -0
- package/dist/chunk-vrxasmdw.js +449 -0
- package/dist/chunk-vrxb946v.js +125 -0
- package/dist/chunk-vv4kj0q8.js +98 -0
- package/dist/chunk-vvpfng7w.js +8 -0
- package/dist/chunk-vw6ybyew.js +2007 -0
- package/dist/chunk-vwenx8ke.js +17 -0
- package/dist/chunk-vwfa0s5a.js +155 -0
- package/dist/chunk-vx71j8xe.js +63 -0
- package/dist/chunk-vxbjzggp.js +43 -0
- package/dist/chunk-vxjxtz8w.js +440 -0
- package/dist/chunk-vy0c1bwp.js +9 -0
- package/dist/chunk-w3zczyse.js +14 -0
- package/dist/chunk-w4p5t920.js +655 -0
- package/dist/chunk-w68wc625.js +287 -0
- package/dist/chunk-w9ddp3yf.js +96 -0
- package/dist/chunk-wcggm5ja.js +125 -0
- package/dist/chunk-wgnyph3q.js +1306 -0
- package/dist/chunk-wjm5pc1e.js +134 -0
- package/dist/chunk-wnve0drm.js +131 -0
- package/dist/chunk-wp27ev2k.js +135 -0
- package/dist/chunk-wyvy8a4x.js +131 -0
- package/dist/chunk-x671y4dk.js +129 -0
- package/dist/chunk-xbj5keyy.js +22 -0
- package/dist/chunk-xf4fzms8.js +39 -0
- package/dist/chunk-xf59k3zg.js +65 -0
- package/dist/chunk-xgzc4w49.js +204 -0
- package/dist/chunk-xhj7g13b.js +2149 -0
- package/dist/chunk-xjp0cd00.js +56 -0
- package/dist/chunk-xkhnmhqs.js +74 -0
- package/dist/chunk-xkrkqx61.js +55 -0
- package/dist/chunk-xmpgmeb8.js +114 -0
- package/dist/chunk-xrw80zgd.js +4249 -0
- package/dist/chunk-xrzc96g0.js +202 -0
- package/dist/chunk-xt76sm44.js +318 -0
- package/dist/chunk-xwet3awb.js +20 -0
- package/dist/chunk-xyg1sk2w.js +78 -0
- package/dist/chunk-y0jpkqb0.js +180 -0
- package/dist/chunk-y1q7rt9n.js +102 -0
- package/dist/chunk-y67ntyek.js +258 -0
- package/dist/chunk-ybk37qp9.js +37 -0
- package/dist/chunk-yc1stfve.js +5386 -0
- package/dist/chunk-ychjpjef.js +62 -0
- package/dist/chunk-yez8fa9g.js +276 -0
- package/dist/chunk-ygm7xszr.js +90 -0
- package/dist/chunk-ym11azkj.js +37 -0
- package/dist/chunk-ympz2h15.js +578 -0
- package/dist/chunk-yqx3az3n.js +129 -0
- package/dist/chunk-yt3nfhcc.js +152 -0
- package/dist/chunk-yy8q0n8s.js +120 -0
- package/dist/chunk-yzb92zxv.js +8 -0
- package/dist/chunk-yzet6xyr.js +119 -0
- package/dist/chunk-yzm97qp1.js +226 -0
- package/dist/chunk-z0jgeax8.js +35 -0
- package/dist/chunk-z1r3z6w6.js +29 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z79355gz.js +308 -0
- package/dist/chunk-z7e94hxz.js +251 -0
- package/dist/chunk-z8cqdcec.js +173 -0
- package/dist/chunk-z99tbg45.js +148 -0
- package/dist/chunk-z9nsjcht.js +37 -0
- package/dist/chunk-za3k6h2h.js +470 -0
- package/dist/chunk-zacynq5p.js +265 -0
- package/dist/chunk-zb0x40az.js +1785 -0
- package/dist/chunk-zbxtzycc.js +274 -0
- package/dist/chunk-zga50181.js +342 -0
- package/dist/chunk-zhb2pns1.js +44 -0
- package/dist/chunk-zkch6trx.js +231 -0
- package/dist/chunk-znf3z4qt.js +954 -0
- package/dist/chunk-zp8zwdgq.js +72 -0
- package/dist/chunk-ztjd8pyf.js +120 -0
- package/dist/chunk-ztmb7geg.js +173 -0
- package/dist/chunk-zvr4snzv.js +887 -0
- package/dist/chunk-zw62m6n3.js +34858 -0
- package/dist/chunk-zwwdebd0.js +65 -0
- package/dist/chunk-zxc6x9w8.js +340 -0
- package/dist/chunk-zy2e7sz0.js +8 -0
- package/dist/chunk-zzf074w3.js +196 -0
- package/dist/chunk-zzz0nwb5.js +310 -0
- package/dist/cli-bun.js +2 -0
- package/dist/cli-node.js +2 -0
- package/dist/cli.js +218 -0
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/package.json +243 -0
- package/scripts/chrome-mcp-bridge-resolver.mjs +43 -0
- package/scripts/chrome-mcp-env.mjs +19 -0
- package/scripts/postinstall.cjs +339 -0
- package/scripts/run-parallel.mjs +10 -0
- package/scripts/setup-chrome-mcp.mjs +69 -0
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_dist_cjs
|
|
4
|
+
} from "./chunk-qgzn3qps.js";
|
|
5
|
+
import {
|
|
6
|
+
__commonJS,
|
|
7
|
+
__require
|
|
8
|
+
} from "./chunk-hhsxm2yr.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/.bun/@smithy+shared-ini-file-loader@4.4.9/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js
|
|
11
|
+
var require_getHomeDir = __commonJS((exports) => {
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.getHomeDir = undefined;
|
|
14
|
+
var os_1 = __require("os");
|
|
15
|
+
var path_1 = __require("path");
|
|
16
|
+
var homeDirCache = {};
|
|
17
|
+
var getHomeDirCacheKey = () => {
|
|
18
|
+
if (process && process.geteuid) {
|
|
19
|
+
return `${process.geteuid()}`;
|
|
20
|
+
}
|
|
21
|
+
return "DEFAULT";
|
|
22
|
+
};
|
|
23
|
+
var getHomeDir = () => {
|
|
24
|
+
const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env;
|
|
25
|
+
if (HOME)
|
|
26
|
+
return HOME;
|
|
27
|
+
if (USERPROFILE)
|
|
28
|
+
return USERPROFILE;
|
|
29
|
+
if (HOMEPATH)
|
|
30
|
+
return `${HOMEDRIVE}${HOMEPATH}`;
|
|
31
|
+
const homeDirCacheKey = getHomeDirCacheKey();
|
|
32
|
+
if (!homeDirCache[homeDirCacheKey])
|
|
33
|
+
homeDirCache[homeDirCacheKey] = (0, os_1.homedir)();
|
|
34
|
+
return homeDirCache[homeDirCacheKey];
|
|
35
|
+
};
|
|
36
|
+
exports.getHomeDir = getHomeDir;
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
// node_modules/.bun/@smithy+shared-ini-file-loader@4.4.9/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js
|
|
40
|
+
var require_getSSOTokenFilepath = __commonJS((exports) => {
|
|
41
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
+
exports.getSSOTokenFilepath = undefined;
|
|
43
|
+
var crypto_1 = __require("crypto");
|
|
44
|
+
var path_1 = __require("path");
|
|
45
|
+
var getHomeDir_1 = require_getHomeDir();
|
|
46
|
+
var getSSOTokenFilepath = (id) => {
|
|
47
|
+
const hasher = (0, crypto_1.createHash)("sha1");
|
|
48
|
+
const cacheName = hasher.update(id).digest("hex");
|
|
49
|
+
return (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`);
|
|
50
|
+
};
|
|
51
|
+
exports.getSSOTokenFilepath = getSSOTokenFilepath;
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
// node_modules/.bun/@smithy+shared-ini-file-loader@4.4.9/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js
|
|
55
|
+
var require_getSSOTokenFromFile = __commonJS((exports) => {
|
|
56
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
57
|
+
exports.getSSOTokenFromFile = exports.tokenIntercept = undefined;
|
|
58
|
+
var promises_1 = __require("fs/promises");
|
|
59
|
+
var getSSOTokenFilepath_1 = require_getSSOTokenFilepath();
|
|
60
|
+
exports.tokenIntercept = {};
|
|
61
|
+
var getSSOTokenFromFile = async (id) => {
|
|
62
|
+
if (exports.tokenIntercept[id]) {
|
|
63
|
+
return exports.tokenIntercept[id];
|
|
64
|
+
}
|
|
65
|
+
const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id);
|
|
66
|
+
const ssoTokenText = await (0, promises_1.readFile)(ssoTokenFilepath, "utf8");
|
|
67
|
+
return JSON.parse(ssoTokenText);
|
|
68
|
+
};
|
|
69
|
+
exports.getSSOTokenFromFile = getSSOTokenFromFile;
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
// node_modules/.bun/@smithy+shared-ini-file-loader@4.4.9/node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js
|
|
73
|
+
var require_readFile = __commonJS((exports) => {
|
|
74
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75
|
+
exports.readFile = exports.fileIntercept = exports.filePromises = undefined;
|
|
76
|
+
var promises_1 = __require("fs/promises");
|
|
77
|
+
exports.filePromises = {};
|
|
78
|
+
exports.fileIntercept = {};
|
|
79
|
+
var readFile = (path, options) => {
|
|
80
|
+
if (exports.fileIntercept[path] !== undefined) {
|
|
81
|
+
return exports.fileIntercept[path];
|
|
82
|
+
}
|
|
83
|
+
if (!exports.filePromises[path] || options?.ignoreCache) {
|
|
84
|
+
exports.filePromises[path] = (0, promises_1.readFile)(path, "utf8");
|
|
85
|
+
}
|
|
86
|
+
return exports.filePromises[path];
|
|
87
|
+
};
|
|
88
|
+
exports.readFile = readFile;
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
// node_modules/.bun/@smithy+shared-ini-file-loader@4.4.9/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js
|
|
92
|
+
var require_dist_cjs2 = __commonJS((exports) => {
|
|
93
|
+
var getHomeDir = require_getHomeDir();
|
|
94
|
+
var getSSOTokenFilepath = require_getSSOTokenFilepath();
|
|
95
|
+
var getSSOTokenFromFile = require_getSSOTokenFromFile();
|
|
96
|
+
var path = __require("path");
|
|
97
|
+
var types = require_dist_cjs();
|
|
98
|
+
var readFile = require_readFile();
|
|
99
|
+
var ENV_PROFILE = "AWS_PROFILE";
|
|
100
|
+
var DEFAULT_PROFILE = "default";
|
|
101
|
+
var getProfileName = (init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE;
|
|
102
|
+
var CONFIG_PREFIX_SEPARATOR = ".";
|
|
103
|
+
var getConfigData = (data) => Object.entries(data).filter(([key]) => {
|
|
104
|
+
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
105
|
+
if (indexOfSeparator === -1) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return Object.values(types.IniSectionType).includes(key.substring(0, indexOfSeparator));
|
|
109
|
+
}).reduce((acc, [key, value]) => {
|
|
110
|
+
const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR);
|
|
111
|
+
const updatedKey = key.substring(0, indexOfSeparator) === types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key;
|
|
112
|
+
acc[updatedKey] = value;
|
|
113
|
+
return acc;
|
|
114
|
+
}, {
|
|
115
|
+
...data.default && { default: data.default }
|
|
116
|
+
});
|
|
117
|
+
var ENV_CONFIG_PATH = "AWS_CONFIG_FILE";
|
|
118
|
+
var getConfigFilepath = () => process.env[ENV_CONFIG_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "config");
|
|
119
|
+
var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE";
|
|
120
|
+
var getCredentialsFilepath = () => process.env[ENV_CREDENTIALS_PATH] || path.join(getHomeDir.getHomeDir(), ".aws", "credentials");
|
|
121
|
+
var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;
|
|
122
|
+
var profileNameBlockList = ["__proto__", "profile __proto__"];
|
|
123
|
+
var parseIni = (iniData) => {
|
|
124
|
+
const map = {};
|
|
125
|
+
let currentSection;
|
|
126
|
+
let currentSubSection;
|
|
127
|
+
for (const iniLine of iniData.split(/\r?\n/)) {
|
|
128
|
+
const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim();
|
|
129
|
+
const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]";
|
|
130
|
+
if (isSection) {
|
|
131
|
+
currentSection = undefined;
|
|
132
|
+
currentSubSection = undefined;
|
|
133
|
+
const sectionName = trimmedLine.substring(1, trimmedLine.length - 1);
|
|
134
|
+
const matches = prefixKeyRegex.exec(sectionName);
|
|
135
|
+
if (matches) {
|
|
136
|
+
const [, prefix, , name] = matches;
|
|
137
|
+
if (Object.values(types.IniSectionType).includes(prefix)) {
|
|
138
|
+
currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR);
|
|
139
|
+
}
|
|
140
|
+
} else {
|
|
141
|
+
currentSection = sectionName;
|
|
142
|
+
}
|
|
143
|
+
if (profileNameBlockList.includes(sectionName)) {
|
|
144
|
+
throw new Error(`Found invalid profile name "${sectionName}"`);
|
|
145
|
+
}
|
|
146
|
+
} else if (currentSection) {
|
|
147
|
+
const indexOfEqualsSign = trimmedLine.indexOf("=");
|
|
148
|
+
if (![0, -1].includes(indexOfEqualsSign)) {
|
|
149
|
+
const [name, value] = [
|
|
150
|
+
trimmedLine.substring(0, indexOfEqualsSign).trim(),
|
|
151
|
+
trimmedLine.substring(indexOfEqualsSign + 1).trim()
|
|
152
|
+
];
|
|
153
|
+
if (value === "") {
|
|
154
|
+
currentSubSection = name;
|
|
155
|
+
} else {
|
|
156
|
+
if (currentSubSection && iniLine.trimStart() === iniLine) {
|
|
157
|
+
currentSubSection = undefined;
|
|
158
|
+
}
|
|
159
|
+
map[currentSection] = map[currentSection] || {};
|
|
160
|
+
const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name;
|
|
161
|
+
map[currentSection][key] = value;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return map;
|
|
167
|
+
};
|
|
168
|
+
var swallowError$1 = () => ({});
|
|
169
|
+
var loadSharedConfigFiles = async (init = {}) => {
|
|
170
|
+
const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init;
|
|
171
|
+
const homeDir = getHomeDir.getHomeDir();
|
|
172
|
+
const relativeHomeDirPrefix = "~/";
|
|
173
|
+
let resolvedFilepath = filepath;
|
|
174
|
+
if (filepath.startsWith(relativeHomeDirPrefix)) {
|
|
175
|
+
resolvedFilepath = path.join(homeDir, filepath.slice(2));
|
|
176
|
+
}
|
|
177
|
+
let resolvedConfigFilepath = configFilepath;
|
|
178
|
+
if (configFilepath.startsWith(relativeHomeDirPrefix)) {
|
|
179
|
+
resolvedConfigFilepath = path.join(homeDir, configFilepath.slice(2));
|
|
180
|
+
}
|
|
181
|
+
const parsedFiles = await Promise.all([
|
|
182
|
+
readFile.readFile(resolvedConfigFilepath, {
|
|
183
|
+
ignoreCache: init.ignoreCache
|
|
184
|
+
}).then(parseIni).then(getConfigData).catch(swallowError$1),
|
|
185
|
+
readFile.readFile(resolvedFilepath, {
|
|
186
|
+
ignoreCache: init.ignoreCache
|
|
187
|
+
}).then(parseIni).catch(swallowError$1)
|
|
188
|
+
]);
|
|
189
|
+
return {
|
|
190
|
+
configFile: parsedFiles[0],
|
|
191
|
+
credentialsFile: parsedFiles[1]
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
var getSsoSessionData = (data) => Object.entries(data).filter(([key]) => key.startsWith(types.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {});
|
|
195
|
+
var swallowError = () => ({});
|
|
196
|
+
var loadSsoSessionData = async (init = {}) => readFile.readFile(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError);
|
|
197
|
+
var mergeConfigFiles = (...files) => {
|
|
198
|
+
const merged = {};
|
|
199
|
+
for (const file of files) {
|
|
200
|
+
for (const [key, values] of Object.entries(file)) {
|
|
201
|
+
if (merged[key] !== undefined) {
|
|
202
|
+
Object.assign(merged[key], values);
|
|
203
|
+
} else {
|
|
204
|
+
merged[key] = values;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
return merged;
|
|
209
|
+
};
|
|
210
|
+
var parseKnownFiles = async (init) => {
|
|
211
|
+
const parsedFiles = await loadSharedConfigFiles(init);
|
|
212
|
+
return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile);
|
|
213
|
+
};
|
|
214
|
+
var externalDataInterceptor = {
|
|
215
|
+
getFileRecord() {
|
|
216
|
+
return readFile.fileIntercept;
|
|
217
|
+
},
|
|
218
|
+
interceptFile(path2, contents) {
|
|
219
|
+
readFile.fileIntercept[path2] = Promise.resolve(contents);
|
|
220
|
+
},
|
|
221
|
+
getTokenRecord() {
|
|
222
|
+
return getSSOTokenFromFile.tokenIntercept;
|
|
223
|
+
},
|
|
224
|
+
interceptToken(id, contents) {
|
|
225
|
+
getSSOTokenFromFile.tokenIntercept[id] = contents;
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
exports.getSSOTokenFromFile = getSSOTokenFromFile.getSSOTokenFromFile;
|
|
229
|
+
exports.readFile = readFile.readFile;
|
|
230
|
+
exports.CONFIG_PREFIX_SEPARATOR = CONFIG_PREFIX_SEPARATOR;
|
|
231
|
+
exports.DEFAULT_PROFILE = DEFAULT_PROFILE;
|
|
232
|
+
exports.ENV_PROFILE = ENV_PROFILE;
|
|
233
|
+
exports.externalDataInterceptor = externalDataInterceptor;
|
|
234
|
+
exports.getProfileName = getProfileName;
|
|
235
|
+
exports.loadSharedConfigFiles = loadSharedConfigFiles;
|
|
236
|
+
exports.loadSsoSessionData = loadSsoSessionData;
|
|
237
|
+
exports.parseKnownFiles = parseKnownFiles;
|
|
238
|
+
Object.prototype.hasOwnProperty.call(getHomeDir, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
value: getHomeDir["__proto__"]
|
|
241
|
+
});
|
|
242
|
+
Object.keys(getHomeDir).forEach(function(k) {
|
|
243
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
244
|
+
exports[k] = getHomeDir[k];
|
|
245
|
+
});
|
|
246
|
+
Object.prototype.hasOwnProperty.call(getSSOTokenFilepath, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
value: getSSOTokenFilepath["__proto__"]
|
|
249
|
+
});
|
|
250
|
+
Object.keys(getSSOTokenFilepath).forEach(function(k) {
|
|
251
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
252
|
+
exports[k] = getSSOTokenFilepath[k];
|
|
253
|
+
});
|
|
254
|
+
});
|
|
255
|
+
|
|
256
|
+
export { require_dist_cjs2 as require_dist_cjs };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
init_semver,
|
|
4
|
+
lt
|
|
5
|
+
} from "./chunk-4spgkgr3.js";
|
|
6
|
+
import {
|
|
7
|
+
init_bridgeConfig,
|
|
8
|
+
isSelfHostedBridge
|
|
9
|
+
} from "./chunk-2p369q9z.js";
|
|
10
|
+
import {
|
|
11
|
+
checkGate_CACHED_OR_BLOCKING,
|
|
12
|
+
getDynamicConfig_CACHED_MAY_BE_STALE,
|
|
13
|
+
getFeatureValue_CACHED_MAY_BE_STALE,
|
|
14
|
+
getOauthAccountInfo,
|
|
15
|
+
hasProfileScope,
|
|
16
|
+
init_auth,
|
|
17
|
+
init_growthbook,
|
|
18
|
+
isClaudeAISubscriber
|
|
19
|
+
} from "./chunk-eemjb825.js";
|
|
20
|
+
import {
|
|
21
|
+
init_envUtils
|
|
22
|
+
} from "./chunk-s3hafnk3.js";
|
|
23
|
+
import {
|
|
24
|
+
__esm
|
|
25
|
+
} from "./chunk-hhsxm2yr.js";
|
|
26
|
+
|
|
27
|
+
// src/bridge/bridgeEnabled.ts
|
|
28
|
+
function isBridgeEnabled() {
|
|
29
|
+
if (isSelfHostedBridge()) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
return isClaudeAISubscriber2() && getFeatureValue_CACHED_MAY_BE_STALE("tengu_ccr_bridge", false);
|
|
33
|
+
}
|
|
34
|
+
async function isBridgeEnabledBlocking() {
|
|
35
|
+
if (isSelfHostedBridge()) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
return isClaudeAISubscriber2() && await checkGate_CACHED_OR_BLOCKING("tengu_ccr_bridge");
|
|
39
|
+
}
|
|
40
|
+
async function getBridgeDisabledReason() {
|
|
41
|
+
if (true) {
|
|
42
|
+
if (isSelfHostedBridge()) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
if (!isClaudeAISubscriber2()) {
|
|
46
|
+
return "Remote Control requires a claude.ai subscription. Run `redscope auth login` to sign in with your claude.ai account.";
|
|
47
|
+
}
|
|
48
|
+
if (!hasProfileScope2()) {
|
|
49
|
+
return "Remote Control requires a full-scope login token. Long-lived tokens (from `redscope setup-token` or CLAUDE_CODE_OAUTH_TOKEN) are limited to inference-only for security reasons. Run `redscope auth login` to use Remote Control.";
|
|
50
|
+
}
|
|
51
|
+
if (!getOauthAccountInfo2()?.organizationUuid) {
|
|
52
|
+
return "Unable to determine your organization for Remote Control eligibility. Run `redscope auth login` to refresh your account information.";
|
|
53
|
+
}
|
|
54
|
+
if (!await checkGate_CACHED_OR_BLOCKING("tengu_ccr_bridge")) {
|
|
55
|
+
return "Remote Control is not yet enabled for your account.";
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
return "Remote Control is not available in this build.";
|
|
60
|
+
}
|
|
61
|
+
function isClaudeAISubscriber2() {
|
|
62
|
+
try {
|
|
63
|
+
return isClaudeAISubscriber();
|
|
64
|
+
} catch {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function hasProfileScope2() {
|
|
69
|
+
try {
|
|
70
|
+
return hasProfileScope();
|
|
71
|
+
} catch {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function getOauthAccountInfo2() {
|
|
76
|
+
try {
|
|
77
|
+
return getOauthAccountInfo();
|
|
78
|
+
} catch {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function isEnvLessBridgeEnabled() {
|
|
83
|
+
return getFeatureValue_CACHED_MAY_BE_STALE("tengu_bridge_repl_v2", false);
|
|
84
|
+
}
|
|
85
|
+
function isCseShimEnabled() {
|
|
86
|
+
return getFeatureValue_CACHED_MAY_BE_STALE("tengu_bridge_repl_v2_cse_shim_enabled", true);
|
|
87
|
+
}
|
|
88
|
+
function checkBridgeMinVersion() {
|
|
89
|
+
if (true) {
|
|
90
|
+
const config = getDynamicConfig_CACHED_MAY_BE_STALE("tengu_bridge_min_version", { minVersion: "0.0.0" });
|
|
91
|
+
if (config.minVersion && lt("1.0.0", config.minVersion)) {
|
|
92
|
+
return `Your version of RedScope AI (${"1.0.0"}) is too old for Remote Control.
|
|
93
|
+
Version ${config.minVersion} or higher is required. Run \`redscope update\` to update.`;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return null;
|
|
97
|
+
}
|
|
98
|
+
function getCcrAutoConnectDefault() {
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
function isCcrMirrorEnabled() {
|
|
102
|
+
return false;
|
|
103
|
+
}
|
|
104
|
+
var init_bridgeEnabled = __esm(() => {
|
|
105
|
+
init_growthbook();
|
|
106
|
+
init_bridgeConfig();
|
|
107
|
+
init_auth();
|
|
108
|
+
init_envUtils();
|
|
109
|
+
init_semver();
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
export { isBridgeEnabled, isBridgeEnabledBlocking, getBridgeDisabledReason, isEnvLessBridgeEnabled, isCseShimEnabled, checkBridgeMinVersion, getCcrAutoConnectDefault, isCcrMirrorEnabled, init_bridgeEnabled };
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_dist_cjs2 as require_dist_cjs
|
|
4
|
+
} from "./chunk-v7wbqcx9.js";
|
|
5
|
+
import {
|
|
6
|
+
__esm
|
|
7
|
+
} from "./chunk-hhsxm2yr.js";
|
|
8
|
+
|
|
9
|
+
// node_modules/.bun/@smithy+core@3.23.17/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
|
|
10
|
+
class EventStreamSerde {
|
|
11
|
+
marshaller;
|
|
12
|
+
serializer;
|
|
13
|
+
deserializer;
|
|
14
|
+
serdeContext;
|
|
15
|
+
defaultContentType;
|
|
16
|
+
constructor({ marshaller, serializer, deserializer, serdeContext, defaultContentType }) {
|
|
17
|
+
this.marshaller = marshaller;
|
|
18
|
+
this.serializer = serializer;
|
|
19
|
+
this.deserializer = deserializer;
|
|
20
|
+
this.serdeContext = serdeContext;
|
|
21
|
+
this.defaultContentType = defaultContentType;
|
|
22
|
+
}
|
|
23
|
+
async serializeEventStream({ eventStream, requestSchema, initialRequest }) {
|
|
24
|
+
const marshaller = this.marshaller;
|
|
25
|
+
const eventStreamMember = requestSchema.getEventStreamMember();
|
|
26
|
+
const unionSchema = requestSchema.getMemberSchema(eventStreamMember);
|
|
27
|
+
const serializer = this.serializer;
|
|
28
|
+
const defaultContentType = this.defaultContentType;
|
|
29
|
+
const initialRequestMarker = Symbol("initialRequestMarker");
|
|
30
|
+
const eventStreamIterable = {
|
|
31
|
+
async* [Symbol.asyncIterator]() {
|
|
32
|
+
if (initialRequest) {
|
|
33
|
+
const headers = {
|
|
34
|
+
":event-type": { type: "string", value: "initial-request" },
|
|
35
|
+
":message-type": { type: "string", value: "event" },
|
|
36
|
+
":content-type": { type: "string", value: defaultContentType }
|
|
37
|
+
};
|
|
38
|
+
serializer.write(requestSchema, initialRequest);
|
|
39
|
+
const body = serializer.flush();
|
|
40
|
+
yield {
|
|
41
|
+
[initialRequestMarker]: true,
|
|
42
|
+
headers,
|
|
43
|
+
body
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
for await (const page of eventStream) {
|
|
47
|
+
yield page;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
return marshaller.serialize(eventStreamIterable, (event) => {
|
|
52
|
+
if (event[initialRequestMarker]) {
|
|
53
|
+
return {
|
|
54
|
+
headers: event.headers,
|
|
55
|
+
body: event.body
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
let unionMember = "";
|
|
59
|
+
for (const key in event) {
|
|
60
|
+
if (key !== "__type") {
|
|
61
|
+
unionMember = key;
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
const { additionalHeaders, body, eventType, explicitPayloadContentType } = this.writeEventBody(unionMember, unionSchema, event);
|
|
66
|
+
const headers = {
|
|
67
|
+
":event-type": { type: "string", value: eventType },
|
|
68
|
+
":message-type": { type: "string", value: "event" },
|
|
69
|
+
":content-type": { type: "string", value: explicitPayloadContentType ?? defaultContentType },
|
|
70
|
+
...additionalHeaders
|
|
71
|
+
};
|
|
72
|
+
return {
|
|
73
|
+
headers,
|
|
74
|
+
body
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
async deserializeEventStream({ response, responseSchema, initialResponseContainer }) {
|
|
79
|
+
const marshaller = this.marshaller;
|
|
80
|
+
const eventStreamMember = responseSchema.getEventStreamMember();
|
|
81
|
+
const unionSchema = responseSchema.getMemberSchema(eventStreamMember);
|
|
82
|
+
const memberSchemas = unionSchema.getMemberSchemas();
|
|
83
|
+
const initialResponseMarker = Symbol("initialResponseMarker");
|
|
84
|
+
const asyncIterable = marshaller.deserialize(response.body, async (event) => {
|
|
85
|
+
let unionMember = "";
|
|
86
|
+
for (const key in event) {
|
|
87
|
+
if (key !== "__type") {
|
|
88
|
+
unionMember = key;
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
const body = event[unionMember].body;
|
|
93
|
+
if (unionMember === "initial-response") {
|
|
94
|
+
const dataObject = await this.deserializer.read(responseSchema, body);
|
|
95
|
+
delete dataObject[eventStreamMember];
|
|
96
|
+
return {
|
|
97
|
+
[initialResponseMarker]: true,
|
|
98
|
+
...dataObject
|
|
99
|
+
};
|
|
100
|
+
} else if (unionMember in memberSchemas) {
|
|
101
|
+
const eventStreamSchema = memberSchemas[unionMember];
|
|
102
|
+
if (eventStreamSchema.isStructSchema()) {
|
|
103
|
+
const out = {};
|
|
104
|
+
let hasBindings = false;
|
|
105
|
+
for (const [name, member] of eventStreamSchema.structIterator()) {
|
|
106
|
+
const { eventHeader, eventPayload } = member.getMergedTraits();
|
|
107
|
+
hasBindings = hasBindings || Boolean(eventHeader || eventPayload);
|
|
108
|
+
if (eventPayload) {
|
|
109
|
+
if (member.isBlobSchema()) {
|
|
110
|
+
out[name] = body;
|
|
111
|
+
} else if (member.isStringSchema()) {
|
|
112
|
+
out[name] = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(body);
|
|
113
|
+
} else if (member.isStructSchema()) {
|
|
114
|
+
out[name] = await this.deserializer.read(member, body);
|
|
115
|
+
}
|
|
116
|
+
} else if (eventHeader) {
|
|
117
|
+
const value = event[unionMember].headers[name]?.value;
|
|
118
|
+
if (value != null) {
|
|
119
|
+
if (member.isNumericSchema()) {
|
|
120
|
+
if (value && typeof value === "object" && "bytes" in value) {
|
|
121
|
+
out[name] = BigInt(value.toString());
|
|
122
|
+
} else {
|
|
123
|
+
out[name] = Number(value);
|
|
124
|
+
}
|
|
125
|
+
} else {
|
|
126
|
+
out[name] = value;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
if (hasBindings) {
|
|
132
|
+
return {
|
|
133
|
+
[unionMember]: out
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
if (body.byteLength === 0) {
|
|
137
|
+
return {
|
|
138
|
+
[unionMember]: {}
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return {
|
|
143
|
+
[unionMember]: await this.deserializer.read(eventStreamSchema, body)
|
|
144
|
+
};
|
|
145
|
+
} else {
|
|
146
|
+
return {
|
|
147
|
+
$unknown: event
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
const asyncIterator = asyncIterable[Symbol.asyncIterator]();
|
|
152
|
+
const firstEvent = await asyncIterator.next();
|
|
153
|
+
if (firstEvent.done) {
|
|
154
|
+
return asyncIterable;
|
|
155
|
+
}
|
|
156
|
+
if (firstEvent.value?.[initialResponseMarker]) {
|
|
157
|
+
if (!responseSchema) {
|
|
158
|
+
throw new Error("@smithy::core/protocols - initial-response event encountered in event stream but no response schema given.");
|
|
159
|
+
}
|
|
160
|
+
for (const key in firstEvent.value) {
|
|
161
|
+
initialResponseContainer[key] = firstEvent.value[key];
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return {
|
|
165
|
+
async* [Symbol.asyncIterator]() {
|
|
166
|
+
if (!firstEvent?.value?.[initialResponseMarker]) {
|
|
167
|
+
yield firstEvent.value;
|
|
168
|
+
}
|
|
169
|
+
while (true) {
|
|
170
|
+
const { done, value } = await asyncIterator.next();
|
|
171
|
+
if (done) {
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
yield value;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
writeEventBody(unionMember, unionSchema, event) {
|
|
180
|
+
const serializer = this.serializer;
|
|
181
|
+
let eventType = unionMember;
|
|
182
|
+
let explicitPayloadMember = null;
|
|
183
|
+
let explicitPayloadContentType;
|
|
184
|
+
const isKnownSchema = (() => {
|
|
185
|
+
const struct = unionSchema.getSchema();
|
|
186
|
+
return struct[4].includes(unionMember);
|
|
187
|
+
})();
|
|
188
|
+
const additionalHeaders = {};
|
|
189
|
+
if (!isKnownSchema) {
|
|
190
|
+
const [type, value] = event[unionMember];
|
|
191
|
+
eventType = type;
|
|
192
|
+
serializer.write(15, value);
|
|
193
|
+
} else {
|
|
194
|
+
const eventSchema = unionSchema.getMemberSchema(unionMember);
|
|
195
|
+
if (eventSchema.isStructSchema()) {
|
|
196
|
+
for (const [memberName, memberSchema] of eventSchema.structIterator()) {
|
|
197
|
+
const { eventHeader, eventPayload } = memberSchema.getMergedTraits();
|
|
198
|
+
if (eventPayload) {
|
|
199
|
+
explicitPayloadMember = memberName;
|
|
200
|
+
} else if (eventHeader) {
|
|
201
|
+
const value = event[unionMember][memberName];
|
|
202
|
+
let type = "binary";
|
|
203
|
+
if (memberSchema.isNumericSchema()) {
|
|
204
|
+
if ((-2) ** 31 <= value && value <= 2 ** 31 - 1) {
|
|
205
|
+
type = "integer";
|
|
206
|
+
} else {
|
|
207
|
+
type = "long";
|
|
208
|
+
}
|
|
209
|
+
} else if (memberSchema.isTimestampSchema()) {
|
|
210
|
+
type = "timestamp";
|
|
211
|
+
} else if (memberSchema.isStringSchema()) {
|
|
212
|
+
type = "string";
|
|
213
|
+
} else if (memberSchema.isBooleanSchema()) {
|
|
214
|
+
type = "boolean";
|
|
215
|
+
}
|
|
216
|
+
if (value != null) {
|
|
217
|
+
additionalHeaders[memberName] = {
|
|
218
|
+
type,
|
|
219
|
+
value
|
|
220
|
+
};
|
|
221
|
+
delete event[unionMember][memberName];
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
if (explicitPayloadMember !== null) {
|
|
226
|
+
const payloadSchema = eventSchema.getMemberSchema(explicitPayloadMember);
|
|
227
|
+
if (payloadSchema.isBlobSchema()) {
|
|
228
|
+
explicitPayloadContentType = "application/octet-stream";
|
|
229
|
+
} else if (payloadSchema.isStringSchema()) {
|
|
230
|
+
explicitPayloadContentType = "text/plain";
|
|
231
|
+
}
|
|
232
|
+
serializer.write(payloadSchema, event[unionMember][explicitPayloadMember]);
|
|
233
|
+
} else {
|
|
234
|
+
serializer.write(eventSchema, event[unionMember]);
|
|
235
|
+
}
|
|
236
|
+
} else if (eventSchema.isUnitSchema()) {
|
|
237
|
+
serializer.write(eventSchema, {});
|
|
238
|
+
} else {
|
|
239
|
+
throw new Error("@smithy/core/event-streams - non-struct member not supported in event stream union.");
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
const messageSerialization = serializer.flush() ?? new Uint8Array;
|
|
243
|
+
const body = typeof messageSerialization === "string" ? (this.serdeContext?.utf8Decoder ?? utilUtf8.fromUtf8)(messageSerialization) : messageSerialization;
|
|
244
|
+
return {
|
|
245
|
+
body,
|
|
246
|
+
eventType,
|
|
247
|
+
explicitPayloadContentType,
|
|
248
|
+
additionalHeaders
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
var utilUtf8, $EventStreamSerde;
|
|
253
|
+
var init_event_streams = __esm(() => {
|
|
254
|
+
utilUtf8 = require_dist_cjs();
|
|
255
|
+
$EventStreamSerde = EventStreamSerde;
|
|
256
|
+
});
|
|
257
|
+
init_event_streams();
|
|
258
|
+
|
|
259
|
+
export {
|
|
260
|
+
$EventStreamSerde as EventStreamSerde
|
|
261
|
+
};
|
|
262
|
+
export default {
|
|
263
|
+
get EventStreamSerde() {
|
|
264
|
+
return $EventStreamSerde;
|
|
265
|
+
}
|
|
266
|
+
};
|