@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.
Files changed (619) hide show
  1. package/README.md +224 -0
  2. package/dist/chunk-090920rk.js +288 -0
  3. package/dist/chunk-0afb2r78.js +141 -0
  4. package/dist/chunk-0d4ekx1g.js +73 -0
  5. package/dist/chunk-0g6nwbhq.js +15 -0
  6. package/dist/chunk-0qj905nt.js +18 -0
  7. package/dist/chunk-0s5btnn1.js +186 -0
  8. package/dist/chunk-0s8fars0.js +91 -0
  9. package/dist/chunk-10ev3dvh.js +312 -0
  10. package/dist/chunk-10k5jfc5.js +1295 -0
  11. package/dist/chunk-12tspwqa.js +240 -0
  12. package/dist/chunk-13qesvnw.js +17 -0
  13. package/dist/chunk-143eh1e0.js +121 -0
  14. package/dist/chunk-14p6wvsq.js +39 -0
  15. package/dist/chunk-19f3zb1m.js +342 -0
  16. package/dist/chunk-1a5cep8h.js +145 -0
  17. package/dist/chunk-1abw9kkn.js +34 -0
  18. package/dist/chunk-1aer7c78.js +118 -0
  19. package/dist/chunk-1dazz4g6.js +154 -0
  20. package/dist/chunk-1fcf4ty1.js +142 -0
  21. package/dist/chunk-1gnxhyf8.js +62 -0
  22. package/dist/chunk-1he3944e.js +8124 -0
  23. package/dist/chunk-1jpayz7y.js +952 -0
  24. package/dist/chunk-1qd6f6vk.js +269 -0
  25. package/dist/chunk-1v0kpe62.js +2547 -0
  26. package/dist/chunk-1w20m7gw.js +445 -0
  27. package/dist/chunk-1y7kp51j.js +72 -0
  28. package/dist/chunk-1ycb5sxt.js +247 -0
  29. package/dist/chunk-1zbwhcbt.js +1124 -0
  30. package/dist/chunk-20psem54.js +116 -0
  31. package/dist/chunk-23h69r5b.js +30 -0
  32. package/dist/chunk-23x86ptv.js +473 -0
  33. package/dist/chunk-24fyv3jz.js +378 -0
  34. package/dist/chunk-24kv69g3.js +97 -0
  35. package/dist/chunk-2azx8zsc.js +125 -0
  36. package/dist/chunk-2d1gwzz9.js +524 -0
  37. package/dist/chunk-2g0ytd9d.js +29058 -0
  38. package/dist/chunk-2hfp9kat.js +21 -0
  39. package/dist/chunk-2j875eq6.js +37 -0
  40. package/dist/chunk-2kcgxnvp.js +39 -0
  41. package/dist/chunk-2kz09j2s.js +23 -0
  42. package/dist/chunk-2mwnwp0n.js +17 -0
  43. package/dist/chunk-2p1cqhcn.js +921 -0
  44. package/dist/chunk-2p369q9z.js +61 -0
  45. package/dist/chunk-2rf6asgf.js +151 -0
  46. package/dist/chunk-2vr7mqx1.js +384 -0
  47. package/dist/chunk-2xcg933e.js +205 -0
  48. package/dist/chunk-2ypwckbz.js +40310 -0
  49. package/dist/chunk-30wnahyg.js +626 -0
  50. package/dist/chunk-326zehp8.js +204 -0
  51. package/dist/chunk-32s6jzgw.js +183 -0
  52. package/dist/chunk-35yzt1a7.js +202 -0
  53. package/dist/chunk-38frkej6.js +62 -0
  54. package/dist/chunk-3abaq08g.js +34 -0
  55. package/dist/chunk-3h59ttr5.js +32 -0
  56. package/dist/chunk-3nk9q8dr.js +154 -0
  57. package/dist/chunk-3prrxevm.js +224 -0
  58. package/dist/chunk-3tv8p9xw.js +127 -0
  59. package/dist/chunk-3txyekes.js +19 -0
  60. package/dist/chunk-3vfxjn7g.js +19 -0
  61. package/dist/chunk-3w9sye8h.js +81 -0
  62. package/dist/chunk-3y69j7y8.js +24 -0
  63. package/dist/chunk-3zwjpkjh.js +1603 -0
  64. package/dist/chunk-40t1d75v.js +3442 -0
  65. package/dist/chunk-470kmby4.js +318 -0
  66. package/dist/chunk-47jc141z.js +335 -0
  67. package/dist/chunk-48rz50ct.js +868 -0
  68. package/dist/chunk-49wv03ts.js +232 -0
  69. package/dist/chunk-4a189mn2.js +103 -0
  70. package/dist/chunk-4c4fmh7a.js +15 -0
  71. package/dist/chunk-4ct8dsj5.js +49 -0
  72. package/dist/chunk-4kqt1pm1.js +100 -0
  73. package/dist/chunk-4ng0xy0e.js +802 -0
  74. package/dist/chunk-4spgkgr3.js +43 -0
  75. package/dist/chunk-4tjdwtyy.js +19 -0
  76. package/dist/chunk-4tr60273.js +370 -0
  77. package/dist/chunk-4vnaeng5.js +29 -0
  78. package/dist/chunk-4wbqpeaw.js +871 -0
  79. package/dist/chunk-4wgkv3fv.js +1140 -0
  80. package/dist/chunk-4yjskjb6.js +40 -0
  81. package/dist/chunk-50m3a23z.js +35 -0
  82. package/dist/chunk-511f79az.js +182 -0
  83. package/dist/chunk-51sgztvv.js +161 -0
  84. package/dist/chunk-563fcpv1.js +290 -0
  85. package/dist/chunk-564cnq6v.js +735 -0
  86. package/dist/chunk-569r8cxc.js +31 -0
  87. package/dist/chunk-570x55d4.js +12 -0
  88. package/dist/chunk-571556cm.js +80 -0
  89. package/dist/chunk-59t4c56e.js +63 -0
  90. package/dist/chunk-5axjhkma.js +36 -0
  91. package/dist/chunk-5b188q5e.js +157 -0
  92. package/dist/chunk-5dmn1865.js +439 -0
  93. package/dist/chunk-5ks4829r.js +267 -0
  94. package/dist/chunk-5mmhfbxb.js +1078 -0
  95. package/dist/chunk-5rdt14hy.js +742 -0
  96. package/dist/chunk-5ssryexj.js +121 -0
  97. package/dist/chunk-5v95pnq4.js +15 -0
  98. package/dist/chunk-5xvjt2t9.js +68 -0
  99. package/dist/chunk-5zyq6t1q.js +118 -0
  100. package/dist/chunk-60fkafk2.js +15 -0
  101. package/dist/chunk-62fjkf5q.js +46 -0
  102. package/dist/chunk-64gazrrb.js +8067 -0
  103. package/dist/chunk-65tq2yjx.js +126 -0
  104. package/dist/chunk-65zbgg1n.js +14 -0
  105. package/dist/chunk-66v8mty3.js +264 -0
  106. package/dist/chunk-6acx5heq.js +292 -0
  107. package/dist/chunk-6hr7742d.js +61 -0
  108. package/dist/chunk-6hygvrhn.js +143 -0
  109. package/dist/chunk-6kjh280m.js +128 -0
  110. package/dist/chunk-6s0q1s5r.js +66 -0
  111. package/dist/chunk-6x35ffpx.js +690 -0
  112. package/dist/chunk-71jfy1hh.js +570 -0
  113. package/dist/chunk-71sdcaq6.js +15 -0
  114. package/dist/chunk-754qdxs5.js +92 -0
  115. package/dist/chunk-79v5bkj4.js +1176 -0
  116. package/dist/chunk-7br0w7j5.js +151 -0
  117. package/dist/chunk-7cjgrzz1.js +298 -0
  118. package/dist/chunk-7d41ks0y.js +133 -0
  119. package/dist/chunk-7f40pmtr.js +71 -0
  120. package/dist/chunk-7g15x8hm.js +131 -0
  121. package/dist/chunk-7gtnzdet.js +120 -0
  122. package/dist/chunk-7h0z4aqx.js +702 -0
  123. package/dist/chunk-7h7e5a7d.js +25 -0
  124. package/dist/chunk-7m2cznwr.js +40 -0
  125. package/dist/chunk-7nvday0n.js +252 -0
  126. package/dist/chunk-7qey87th.js +145 -0
  127. package/dist/chunk-7qx3xhv3.js +9076 -0
  128. package/dist/chunk-7tfdhkpy.js +61 -0
  129. package/dist/chunk-80m511j6.js +121 -0
  130. package/dist/chunk-80ysxfe9.js +784 -0
  131. package/dist/chunk-8375zk8t.js +17200 -0
  132. package/dist/chunk-85bpkyy9.js +412 -0
  133. package/dist/chunk-85tcn547.js +876 -0
  134. package/dist/chunk-85vqgbc8.js +13 -0
  135. package/dist/chunk-86626jb4.js +49 -0
  136. package/dist/chunk-87ms17f6.js +444 -0
  137. package/dist/chunk-87mz239c.js +118 -0
  138. package/dist/chunk-89vdzt4e.js +254 -0
  139. package/dist/chunk-89z3e99z.js +159 -0
  140. package/dist/chunk-8cwrz1dd.js +1806 -0
  141. package/dist/chunk-8gv2pjby.js +21 -0
  142. package/dist/chunk-8hdevr3s.js +140 -0
  143. package/dist/chunk-8hdsk6qc.js +710 -0
  144. package/dist/chunk-8kct9arg.js +724 -0
  145. package/dist/chunk-8kf8h7xf.js +23 -0
  146. package/dist/chunk-8qed8ymj.js +605 -0
  147. package/dist/chunk-8sdgr592.js +101 -0
  148. package/dist/chunk-8we9w8pw.js +111 -0
  149. package/dist/chunk-8xnm5637.js +72 -0
  150. package/dist/chunk-8y3q0eqy.js +67 -0
  151. package/dist/chunk-8yvsnrkr.js +3449 -0
  152. package/dist/chunk-8zz4z1q3.js +42 -0
  153. package/dist/chunk-90eyff3k.js +119 -0
  154. package/dist/chunk-92bjkrf2.js +121 -0
  155. package/dist/chunk-92zrc7c6.js +327 -0
  156. package/dist/chunk-935nrvdb.js +13 -0
  157. package/dist/chunk-94pfyv6a.js +48 -0
  158. package/dist/chunk-9568p8se.js +115 -0
  159. package/dist/chunk-96km1ywr.js +37 -0
  160. package/dist/chunk-980bg4w4.js +163 -0
  161. package/dist/chunk-9a9g5hbj.js +205 -0
  162. package/dist/chunk-9cm4725d.js +4395 -0
  163. package/dist/chunk-9ds3vzq8.js +847 -0
  164. package/dist/chunk-9ffc9n60.js +618 -0
  165. package/dist/chunk-9fstrwv2.js +184 -0
  166. package/dist/chunk-9gt0g0qe.js +153 -0
  167. package/dist/chunk-9h9k5vz3.js +2761 -0
  168. package/dist/chunk-9he8bmhy.js +17 -0
  169. package/dist/chunk-9hn8e6h1.js +12 -0
  170. package/dist/chunk-9j0n3g8e.js +179 -0
  171. package/dist/chunk-9j6pa3ft.js +251 -0
  172. package/dist/chunk-9jpg9dn7.js +122 -0
  173. package/dist/chunk-9mycnwj5.js +46 -0
  174. package/dist/chunk-9npy2c17.js +517 -0
  175. package/dist/chunk-9p6sec8n.js +34 -0
  176. package/dist/chunk-9pnym83h.js +4584 -0
  177. package/dist/chunk-9skwrnd2.js +25 -0
  178. package/dist/chunk-9tsfaqr8.js +459 -0
  179. package/dist/chunk-9tsw3cqv.js +5924 -0
  180. package/dist/chunk-9w6ckyk4.js +49 -0
  181. package/dist/chunk-a15bwzv6.js +147 -0
  182. package/dist/chunk-a9t6cp69.js +28 -0
  183. package/dist/chunk-ad2yk19p.js +102 -0
  184. package/dist/chunk-ad4cw4nw.js +336 -0
  185. package/dist/chunk-ad69fbsk.js +347 -0
  186. package/dist/chunk-ae76ded0.js +30 -0
  187. package/dist/chunk-aeysytks.js +216 -0
  188. package/dist/chunk-ag81m9bq.js +61 -0
  189. package/dist/chunk-ahx7gp6r.js +4448 -0
  190. package/dist/chunk-aj4tk4tk.js +23 -0
  191. package/dist/chunk-an82t9jc.js +104 -0
  192. package/dist/chunk-apg95qd7.js +1393 -0
  193. package/dist/chunk-aq5n2adz.js +27 -0
  194. package/dist/chunk-aw4s3a99.js +208 -0
  195. package/dist/chunk-awgdfggg.js +14 -0
  196. package/dist/chunk-ayymxgn1.js +164 -0
  197. package/dist/chunk-azbab59e.js +637 -0
  198. package/dist/chunk-azdxq2a3.js +293 -0
  199. package/dist/chunk-b0tjx3k1.js +523 -0
  200. package/dist/chunk-b5pp4g2g.js +371 -0
  201. package/dist/chunk-b5zm8dt6.js +26 -0
  202. package/dist/chunk-bcnye5a0.js +109 -0
  203. package/dist/chunk-beqz3k49.js +190 -0
  204. package/dist/chunk-bf906wpw.js +147 -0
  205. package/dist/chunk-bgan4cpf.js +13 -0
  206. package/dist/chunk-bhzp13h7.js +1178 -0
  207. package/dist/chunk-bk403kpw.js +142 -0
  208. package/dist/chunk-bmq4c135.js +489 -0
  209. package/dist/chunk-bprbeda7.js +35 -0
  210. package/dist/chunk-bst7czdd.js +888 -0
  211. package/dist/chunk-bths4xgn.js +111 -0
  212. package/dist/chunk-btjn3qby.js +13 -0
  213. package/dist/chunk-bwb1vxnt.js +120 -0
  214. package/dist/chunk-bxa6tw4m.js +643 -0
  215. package/dist/chunk-bxfjr8qb.js +27 -0
  216. package/dist/chunk-bxpzhrej.js +73 -0
  217. package/dist/chunk-bzyzrq0k.js +51 -0
  218. package/dist/chunk-c0k7b0jw.js +4265 -0
  219. package/dist/chunk-c17f0h2s.js +16 -0
  220. package/dist/chunk-c1yc761e.js +6748 -0
  221. package/dist/chunk-c5g9shkw.js +298 -0
  222. package/dist/chunk-c696122m.js +69 -0
  223. package/dist/chunk-c92b3yxx.js +109 -0
  224. package/dist/chunk-c9aqz56y.js +143 -0
  225. package/dist/chunk-cba7c5w3.js +345 -0
  226. package/dist/chunk-cbcxbbe6.js +6543 -0
  227. package/dist/chunk-cdfjb87h.js +11 -0
  228. package/dist/chunk-ce8zjt1y.js +136 -0
  229. package/dist/chunk-cep7e37k.js +22740 -0
  230. package/dist/chunk-chs5qm8d.js +258 -0
  231. package/dist/chunk-ckydq33g.js +144 -0
  232. package/dist/chunk-cnge6wpj.js +514 -0
  233. package/dist/chunk-cpnsvqf1.js +13 -0
  234. package/dist/chunk-cqqebkv4.js +32 -0
  235. package/dist/chunk-cvqpp7dk.js +627 -0
  236. package/dist/chunk-cwc33j40.js +65 -0
  237. package/dist/chunk-cypvrq2a.js +155 -0
  238. package/dist/chunk-d1ha0swn.js +475 -0
  239. package/dist/chunk-d2an0138.js +35 -0
  240. package/dist/chunk-d2tt72ck.js +343 -0
  241. package/dist/chunk-d6wvcqrw.js +9507 -0
  242. package/dist/chunk-d7ys2kka.js +991 -0
  243. package/dist/chunk-dbts5q5p.js +122 -0
  244. package/dist/chunk-dct29ggs.js +295 -0
  245. package/dist/chunk-de0qnnf7.js +1059 -0
  246. package/dist/chunk-dep72ce4.js +513 -0
  247. package/dist/chunk-dgpvgy8x.js +47 -0
  248. package/dist/chunk-dhhd7dtc.js +20 -0
  249. package/dist/chunk-dhzpmxv6.js +594 -0
  250. package/dist/chunk-djes4da7.js +413 -0
  251. package/dist/chunk-dnhv3vx7.js +166 -0
  252. package/dist/chunk-dqtvafan.js +2365 -0
  253. package/dist/chunk-dr4a3tcp.js +60 -0
  254. package/dist/chunk-dz2xk9kb.js +100 -0
  255. package/dist/chunk-dz7nc6rf.js +15 -0
  256. package/dist/chunk-e3abfxpy.js +1486 -0
  257. package/dist/chunk-e3cq9z89.js +85 -0
  258. package/dist/chunk-e3j7m7k2.js +642 -0
  259. package/dist/chunk-e4dsy4g1.js +9951 -0
  260. package/dist/chunk-e5592pnn.js +197 -0
  261. package/dist/chunk-e55hdegh.js +129 -0
  262. package/dist/chunk-e5r5r04e.js +1030 -0
  263. package/dist/chunk-e60zztbt.js +442 -0
  264. package/dist/chunk-e7qq6vn0.js +372 -0
  265. package/dist/chunk-e9aat7xw.js +80 -0
  266. package/dist/chunk-e9d5v3zs.js +143 -0
  267. package/dist/chunk-eax32zk4.js +87 -0
  268. package/dist/chunk-ebfwmbx1.js +117 -0
  269. package/dist/chunk-ec71pb8t.js +971 -0
  270. package/dist/chunk-eemjb825.js +17252 -0
  271. package/dist/chunk-ees8xdhd.js +256 -0
  272. package/dist/chunk-eewg66y1.js +112 -0
  273. package/dist/chunk-eg22v12d.js +266 -0
  274. package/dist/chunk-enzzk67f.js +313 -0
  275. package/dist/chunk-eskhp70f.js +117 -0
  276. package/dist/chunk-ewx6z4g8.js +55 -0
  277. package/dist/chunk-eyvx461k.js +76 -0
  278. package/dist/chunk-eztq2b5f.js +94 -0
  279. package/dist/chunk-f0ffwzdd.js +321 -0
  280. package/dist/chunk-f80n68mf.js +119 -0
  281. package/dist/chunk-fae2hjxp.js +99 -0
  282. package/dist/chunk-fbtfp370.js +60 -0
  283. package/dist/chunk-fc6ndtgf.js +94 -0
  284. package/dist/chunk-fdwabr8p.js +13870 -0
  285. package/dist/chunk-fejeqe61.js +785 -0
  286. package/dist/chunk-fh0d6mvk.js +168 -0
  287. package/dist/chunk-fh19zcaf.js +304 -0
  288. package/dist/chunk-fh8bd39r.js +186 -0
  289. package/dist/chunk-fj2ebbpn.js +33 -0
  290. package/dist/chunk-fjn632v7.js +194 -0
  291. package/dist/chunk-fncpkzs5.js +1389 -0
  292. package/dist/chunk-fpd1gpt8.js +332 -0
  293. package/dist/chunk-fq9snrnh.js +295 -0
  294. package/dist/chunk-fqcfzg3j.js +207 -0
  295. package/dist/chunk-ftt3vqj2.js +1919 -0
  296. package/dist/chunk-g06pm4n9.js +395 -0
  297. package/dist/chunk-g4m5pf4g.js +8 -0
  298. package/dist/chunk-g72h52y6.js +36 -0
  299. package/dist/chunk-g79ej71s.js +1627 -0
  300. package/dist/chunk-g7fwk59d.js +19 -0
  301. package/dist/chunk-g9jnkrtm.js +663 -0
  302. package/dist/chunk-g9vg5d7t.js +38 -0
  303. package/dist/chunk-ga1jkyqy.js +1636 -0
  304. package/dist/chunk-gaaap2nk.js +676 -0
  305. package/dist/chunk-gc6erq5q.js +483 -0
  306. package/dist/chunk-gjrcmf0a.js +752 -0
  307. package/dist/chunk-gmdy2w3z.js +238999 -0
  308. package/dist/chunk-gsz4yrrk.js +81 -0
  309. package/dist/chunk-gy47rjy8.js +3830 -0
  310. package/dist/chunk-h12a4f4x.js +11 -0
  311. package/dist/chunk-h1yratmg.js +725 -0
  312. package/dist/chunk-h9y0jnsy.js +155 -0
  313. package/dist/chunk-hbhs3mwy.js +133 -0
  314. package/dist/chunk-hbs8cmb4.js +8 -0
  315. package/dist/chunk-hdk0t1ht.js +940 -0
  316. package/dist/chunk-hef8dx4s.js +178 -0
  317. package/dist/chunk-hgsca8mt.js +381 -0
  318. package/dist/chunk-hhsxm2yr.js +67 -0
  319. package/dist/chunk-hj5tzzpd.js +39 -0
  320. package/dist/chunk-hjxqmtg5.js +94 -0
  321. package/dist/chunk-hn4w9pkj.js +68 -0
  322. package/dist/chunk-hnprkjgp.js +25 -0
  323. package/dist/chunk-hq3n5ex7.js +183 -0
  324. package/dist/chunk-hqjspfma.js +158 -0
  325. package/dist/chunk-hqxp6b72.js +1198 -0
  326. package/dist/chunk-hs6nrmq6.js +94 -0
  327. package/dist/chunk-hwba5xdc.js +267 -0
  328. package/dist/chunk-hy566ev3.js +430 -0
  329. package/dist/chunk-hzmzwte2.js +153 -0
  330. package/dist/chunk-hzxzvzw8.js +274 -0
  331. package/dist/chunk-j139fzgs.js +114 -0
  332. package/dist/chunk-j1mep9ck.js +62 -0
  333. package/dist/chunk-j3xveeg4.js +273 -0
  334. package/dist/chunk-j5y1s11j.js +100 -0
  335. package/dist/chunk-j9475b46.js +26 -0
  336. package/dist/chunk-j9rgqs8m.js +1192 -0
  337. package/dist/chunk-jccjaddz.js +74 -0
  338. package/dist/chunk-jdkwfy9e.js +35 -0
  339. package/dist/chunk-jdqp0r4h.js +6157 -0
  340. package/dist/chunk-jdzk4zwn.js +587 -0
  341. package/dist/chunk-jfafmkte.js +49 -0
  342. package/dist/chunk-jg3r989b.js +16 -0
  343. package/dist/chunk-jhtccjc9.js +54 -0
  344. package/dist/chunk-jj2ff1pr.js +688 -0
  345. package/dist/chunk-jmv7k0jn.js +37 -0
  346. package/dist/chunk-jmxzmwpw.js +65 -0
  347. package/dist/chunk-jnjxdqyr.js +353 -0
  348. package/dist/chunk-jsbbez9j.js +138 -0
  349. package/dist/chunk-jvpt2dc0.js +424 -0
  350. package/dist/chunk-jwd7cka0.js +34 -0
  351. package/dist/chunk-jy5er3st.js +15 -0
  352. package/dist/chunk-jyby79z5.js +121 -0
  353. package/dist/chunk-jzyr6j5n.js +332 -0
  354. package/dist/chunk-k49xc781.js +63 -0
  355. package/dist/chunk-k7dt2g4a.js +41 -0
  356. package/dist/chunk-k7hexw3v.js +969 -0
  357. package/dist/chunk-k7wwkraa.js +117 -0
  358. package/dist/chunk-kb3758f7.js +51 -0
  359. package/dist/chunk-kc67kt75.js +3119 -0
  360. package/dist/chunk-kdhmfxmh.js +3149 -0
  361. package/dist/chunk-kejdd6zc.js +51 -0
  362. package/dist/chunk-kekrjeem.js +402 -0
  363. package/dist/chunk-kez5r0zz.js +280 -0
  364. package/dist/chunk-kfsvcs5t.js +75 -0
  365. package/dist/chunk-khtvffc4.js +285 -0
  366. package/dist/chunk-kkz4w1tv.js +64 -0
  367. package/dist/chunk-kmywng0j.js +272 -0
  368. package/dist/chunk-kq6vcpdr.js +224 -0
  369. package/dist/chunk-kqzdszcc.js +37 -0
  370. package/dist/chunk-ktxpp02w.js +435 -0
  371. package/dist/chunk-kwcvhbtz.js +26 -0
  372. package/dist/chunk-kx0cm9qr.js +128 -0
  373. package/dist/chunk-kxcmqz10.js +120 -0
  374. package/dist/chunk-kxwava1g.js +14 -0
  375. package/dist/chunk-kywtr3jg.js +825 -0
  376. package/dist/chunk-kzwg923p.js +8 -0
  377. package/dist/chunk-m1eq3sgv.js +255 -0
  378. package/dist/chunk-m21h5zb4.js +119 -0
  379. package/dist/chunk-m2c3bjv1.js +111 -0
  380. package/dist/chunk-m41e19ms.js +42 -0
  381. package/dist/chunk-m7ka36ex.js +97 -0
  382. package/dist/chunk-m81w8tbm.js +259 -0
  383. package/dist/chunk-m95ggkax.js +281 -0
  384. package/dist/chunk-manx26xa.js +145 -0
  385. package/dist/chunk-mdxh3pk2.js +298 -0
  386. package/dist/chunk-mhbfkcja.js +311 -0
  387. package/dist/chunk-mjnr5erm.js +173 -0
  388. package/dist/chunk-mngvnmwp.js +135 -0
  389. package/dist/chunk-mvfqanv5.js +63 -0
  390. package/dist/chunk-mw1nesq1.js +140 -0
  391. package/dist/chunk-mx168925.js +661 -0
  392. package/dist/chunk-mxwvj18g.js +795 -0
  393. package/dist/chunk-my7r5mba.js +257 -0
  394. package/dist/chunk-myaa1kkf.js +17 -0
  395. package/dist/chunk-myypc3tn.js +46 -0
  396. package/dist/chunk-mzcnmnpq.js +3379 -0
  397. package/dist/chunk-mznav6d1.js +194 -0
  398. package/dist/chunk-n0qxskpr.js +24 -0
  399. package/dist/chunk-n6a6hgtp.js +394 -0
  400. package/dist/chunk-n6d5fgx0.js +254 -0
  401. package/dist/chunk-n6ym3n03.js +120 -0
  402. package/dist/chunk-n9g24mwe.js +104 -0
  403. package/dist/chunk-naamqdf9.js +185 -0
  404. package/dist/chunk-nb2jk7zj.js +15 -0
  405. package/dist/chunk-nbkbq9en.js +67 -0
  406. package/dist/chunk-ndttd6es.js +38 -0
  407. package/dist/chunk-nfygaaxg.js +133 -0
  408. package/dist/chunk-ngdzpszd.js +454 -0
  409. package/dist/chunk-nmfwksa4.js +1297 -0
  410. package/dist/chunk-nt837qt9.js +21 -0
  411. package/dist/chunk-nwc3v0vp.js +691 -0
  412. package/dist/chunk-nz8ha95p.js +3610 -0
  413. package/dist/chunk-nzxfj0gq.js +2007 -0
  414. package/dist/chunk-p0r8887g.js +6932 -0
  415. package/dist/chunk-p1seyqdm.js +120 -0
  416. package/dist/chunk-p425zbgw.js +726 -0
  417. package/dist/chunk-p7hamd2c.js +146 -0
  418. package/dist/chunk-pdvg91cg.js +32 -0
  419. package/dist/chunk-pecy49yr.js +14649 -0
  420. package/dist/chunk-pfxrg89f.js +547 -0
  421. package/dist/chunk-pfyw3155.js +2750 -0
  422. package/dist/chunk-pr8m11pm.js +1192 -0
  423. package/dist/chunk-ptxteaeh.js +1591 -0
  424. package/dist/chunk-pv164mac.js +394 -0
  425. package/dist/chunk-pxxhtxf5.js +10154 -0
  426. package/dist/chunk-q0e485mg.js +61 -0
  427. package/dist/chunk-q1vrhh0q.js +458 -0
  428. package/dist/chunk-q2h79ncs.js +370 -0
  429. package/dist/chunk-q3b4n194.js +56 -0
  430. package/dist/chunk-q44zc68f.js +4301 -0
  431. package/dist/chunk-q8gknbdx.js +352 -0
  432. package/dist/chunk-q8xk3kdj.js +11 -0
  433. package/dist/chunk-qak46xtp.js +119 -0
  434. package/dist/chunk-qfq7absv.js +95 -0
  435. package/dist/chunk-qfsn720k.js +151 -0
  436. package/dist/chunk-qg4811f6.js +228 -0
  437. package/dist/chunk-qgzn3qps.js +90 -0
  438. package/dist/chunk-qhaggqkt.js +113 -0
  439. package/dist/chunk-qjjp27z8.js +195 -0
  440. package/dist/chunk-qxp0nye6.js +34 -0
  441. package/dist/chunk-qy3nagaq.js +4957 -0
  442. package/dist/chunk-qz2meav1.js +1452 -0
  443. package/dist/chunk-r50hne7m.js +63 -0
  444. package/dist/chunk-r6m0vgnv.js +80 -0
  445. package/dist/chunk-r7yw38vf.js +22864 -0
  446. package/dist/chunk-r8xc618w.js +42 -0
  447. package/dist/chunk-r961r5kj.js +87 -0
  448. package/dist/chunk-r9b5xrh0.js +66 -0
  449. package/dist/chunk-rcn2pd6q.js +477 -0
  450. package/dist/chunk-rdeh8p3y.js +148 -0
  451. package/dist/chunk-rg9x1742.js +542 -0
  452. package/dist/chunk-rgyzsbs3.js +39 -0
  453. package/dist/chunk-rk2fsxtz.js +16 -0
  454. package/dist/chunk-rkchkwv9.js +40 -0
  455. package/dist/chunk-rp8whpb3.js +478 -0
  456. package/dist/chunk-rpkxdtgr.js +68 -0
  457. package/dist/chunk-rpmntgyh.js +394 -0
  458. package/dist/chunk-rpshz4dy.js +614 -0
  459. package/dist/chunk-rqd60ay5.js +133 -0
  460. package/dist/chunk-rrsjf2ea.js +229 -0
  461. package/dist/chunk-rtjk8c8e.js +173 -0
  462. package/dist/chunk-rw0y2wdf.js +1017 -0
  463. package/dist/chunk-rx5w7ess.js +663 -0
  464. package/dist/chunk-rx8t9d35.js +1947 -0
  465. package/dist/chunk-rxcazxgf.js +195 -0
  466. package/dist/chunk-rxg6q3bp.js +1413 -0
  467. package/dist/chunk-rxrb7xnd.js +71 -0
  468. package/dist/chunk-rxrzxff3.js +118 -0
  469. package/dist/chunk-ryqjc943.js +71 -0
  470. package/dist/chunk-rzk9k2rf.js +81 -0
  471. package/dist/chunk-s2qv0nht.js +119 -0
  472. package/dist/chunk-s3hafnk3.js +2285 -0
  473. package/dist/chunk-s4a496tt.js +226 -0
  474. package/dist/chunk-s4d1h3ka.js +35 -0
  475. package/dist/chunk-sm3k3ze4.js +16525 -0
  476. package/dist/chunk-sn0bja82.js +385 -0
  477. package/dist/chunk-sngjggw1.js +4227 -0
  478. package/dist/chunk-sq047n34.js +364 -0
  479. package/dist/chunk-sttwe2tw.js +8584 -0
  480. package/dist/chunk-sw8qx1r0.js +86 -0
  481. package/dist/chunk-swstah6a.js +240 -0
  482. package/dist/chunk-syrkr0mf.js +63 -0
  483. package/dist/chunk-sz206bd9.js +26 -0
  484. package/dist/chunk-t09669cj.js +333 -0
  485. package/dist/chunk-t5f8e30k.js +602 -0
  486. package/dist/chunk-t5m78mc8.js +432 -0
  487. package/dist/chunk-t5x1dqwn.js +143 -0
  488. package/dist/chunk-t877ea0w.js +168 -0
  489. package/dist/chunk-t91hb71c.js +17 -0
  490. package/dist/chunk-tb636bcf.js +942 -0
  491. package/dist/chunk-tb8sykbr.js +426 -0
  492. package/dist/chunk-tbdkekz3.js +125 -0
  493. package/dist/chunk-td2gsz7s.js +225 -0
  494. package/dist/chunk-tenvxbyh.js +20 -0
  495. package/dist/chunk-texg4qqt.js +317 -0
  496. package/dist/chunk-teymzz80.js +266 -0
  497. package/dist/chunk-tj26qpf7.js +153 -0
  498. package/dist/chunk-tk85ec4p.js +395 -0
  499. package/dist/chunk-tq205h01.js +164 -0
  500. package/dist/chunk-tqzddjzg.js +61 -0
  501. package/dist/chunk-trqrj23e.js +134 -0
  502. package/dist/chunk-tw1hfsxv.js +2477 -0
  503. package/dist/chunk-txxdfq83.js +122 -0
  504. package/dist/chunk-v0yhe582.js +31 -0
  505. package/dist/chunk-v14184xm.js +15 -0
  506. package/dist/chunk-v1h9z4hw.js +138 -0
  507. package/dist/chunk-v3ey5j7f.js +329 -0
  508. package/dist/chunk-v3nh1sfn.js +208 -0
  509. package/dist/chunk-v3x8tcc0.js +45 -0
  510. package/dist/chunk-v4nqnvqq.js +3984 -0
  511. package/dist/chunk-v4ypszbb.js +15 -0
  512. package/dist/chunk-v7wbqcx9.js +63 -0
  513. package/dist/chunk-v8r5fev3.js +341 -0
  514. package/dist/chunk-v9zg5kzx.js +2810 -0
  515. package/dist/chunk-va1wh5ss.js +24 -0
  516. package/dist/chunk-vbfswhht.js +42 -0
  517. package/dist/chunk-ve7x2tfq.js +124 -0
  518. package/dist/chunk-vfz8k89y.js +485 -0
  519. package/dist/chunk-vgm5k14x.js +35678 -0
  520. package/dist/chunk-vh9pej3c.js +247 -0
  521. package/dist/chunk-vjxqyt6f.js +3820 -0
  522. package/dist/chunk-vpb1xstn.js +178 -0
  523. package/dist/chunk-vqt79tj8.js +110 -0
  524. package/dist/chunk-vr0n9pv9.js +152 -0
  525. package/dist/chunk-vrejmja5.js +90 -0
  526. package/dist/chunk-vrxasmdw.js +449 -0
  527. package/dist/chunk-vrxb946v.js +125 -0
  528. package/dist/chunk-vv4kj0q8.js +98 -0
  529. package/dist/chunk-vvpfng7w.js +8 -0
  530. package/dist/chunk-vw6ybyew.js +2007 -0
  531. package/dist/chunk-vwenx8ke.js +17 -0
  532. package/dist/chunk-vwfa0s5a.js +155 -0
  533. package/dist/chunk-vx71j8xe.js +63 -0
  534. package/dist/chunk-vxbjzggp.js +43 -0
  535. package/dist/chunk-vxjxtz8w.js +440 -0
  536. package/dist/chunk-vy0c1bwp.js +9 -0
  537. package/dist/chunk-w3zczyse.js +14 -0
  538. package/dist/chunk-w4p5t920.js +655 -0
  539. package/dist/chunk-w68wc625.js +287 -0
  540. package/dist/chunk-w9ddp3yf.js +96 -0
  541. package/dist/chunk-wcggm5ja.js +125 -0
  542. package/dist/chunk-wgnyph3q.js +1306 -0
  543. package/dist/chunk-wjm5pc1e.js +134 -0
  544. package/dist/chunk-wnve0drm.js +131 -0
  545. package/dist/chunk-wp27ev2k.js +135 -0
  546. package/dist/chunk-wyvy8a4x.js +131 -0
  547. package/dist/chunk-x671y4dk.js +129 -0
  548. package/dist/chunk-xbj5keyy.js +22 -0
  549. package/dist/chunk-xf4fzms8.js +39 -0
  550. package/dist/chunk-xf59k3zg.js +65 -0
  551. package/dist/chunk-xgzc4w49.js +204 -0
  552. package/dist/chunk-xhj7g13b.js +2149 -0
  553. package/dist/chunk-xjp0cd00.js +56 -0
  554. package/dist/chunk-xkhnmhqs.js +74 -0
  555. package/dist/chunk-xkrkqx61.js +55 -0
  556. package/dist/chunk-xmpgmeb8.js +114 -0
  557. package/dist/chunk-xrw80zgd.js +4249 -0
  558. package/dist/chunk-xrzc96g0.js +202 -0
  559. package/dist/chunk-xt76sm44.js +318 -0
  560. package/dist/chunk-xwet3awb.js +20 -0
  561. package/dist/chunk-xyg1sk2w.js +78 -0
  562. package/dist/chunk-y0jpkqb0.js +180 -0
  563. package/dist/chunk-y1q7rt9n.js +102 -0
  564. package/dist/chunk-y67ntyek.js +258 -0
  565. package/dist/chunk-ybk37qp9.js +37 -0
  566. package/dist/chunk-yc1stfve.js +5386 -0
  567. package/dist/chunk-ychjpjef.js +62 -0
  568. package/dist/chunk-yez8fa9g.js +276 -0
  569. package/dist/chunk-ygm7xszr.js +90 -0
  570. package/dist/chunk-ym11azkj.js +37 -0
  571. package/dist/chunk-ympz2h15.js +578 -0
  572. package/dist/chunk-yqx3az3n.js +129 -0
  573. package/dist/chunk-yt3nfhcc.js +152 -0
  574. package/dist/chunk-yy8q0n8s.js +120 -0
  575. package/dist/chunk-yzb92zxv.js +8 -0
  576. package/dist/chunk-yzet6xyr.js +119 -0
  577. package/dist/chunk-yzm97qp1.js +226 -0
  578. package/dist/chunk-z0jgeax8.js +35 -0
  579. package/dist/chunk-z1r3z6w6.js +29 -0
  580. package/dist/chunk-z2dp53wn.js +17 -0
  581. package/dist/chunk-z79355gz.js +308 -0
  582. package/dist/chunk-z7e94hxz.js +251 -0
  583. package/dist/chunk-z8cqdcec.js +173 -0
  584. package/dist/chunk-z99tbg45.js +148 -0
  585. package/dist/chunk-z9nsjcht.js +37 -0
  586. package/dist/chunk-za3k6h2h.js +470 -0
  587. package/dist/chunk-zacynq5p.js +265 -0
  588. package/dist/chunk-zb0x40az.js +1785 -0
  589. package/dist/chunk-zbxtzycc.js +274 -0
  590. package/dist/chunk-zga50181.js +342 -0
  591. package/dist/chunk-zhb2pns1.js +44 -0
  592. package/dist/chunk-zkch6trx.js +231 -0
  593. package/dist/chunk-znf3z4qt.js +954 -0
  594. package/dist/chunk-zp8zwdgq.js +72 -0
  595. package/dist/chunk-ztjd8pyf.js +120 -0
  596. package/dist/chunk-ztmb7geg.js +173 -0
  597. package/dist/chunk-zvr4snzv.js +887 -0
  598. package/dist/chunk-zw62m6n3.js +34858 -0
  599. package/dist/chunk-zwwdebd0.js +65 -0
  600. package/dist/chunk-zxc6x9w8.js +340 -0
  601. package/dist/chunk-zy2e7sz0.js +8 -0
  602. package/dist/chunk-zzf074w3.js +196 -0
  603. package/dist/chunk-zzz0nwb5.js +310 -0
  604. package/dist/cli-bun.js +2 -0
  605. package/dist/cli-node.js +2 -0
  606. package/dist/cli.js +218 -0
  607. package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
  608. package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
  609. package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
  610. package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
  611. package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
  612. package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
  613. package/dist/vendor/ripgrep/x64-win32/rg.exe +0 -0
  614. package/package.json +243 -0
  615. package/scripts/chrome-mcp-bridge-resolver.mjs +43 -0
  616. package/scripts/chrome-mcp-env.mjs +19 -0
  617. package/scripts/postinstall.cjs +339 -0
  618. package/scripts/run-parallel.mjs +10 -0
  619. package/scripts/setup-chrome-mcp.mjs +69 -0
@@ -0,0 +1,4584 @@
1
+ // @bun
2
+ import {
3
+ fromEnvSigningName,
4
+ init_dist_es as init_dist_es2,
5
+ nodeProvider
6
+ } from "./chunk-v3nh1sfn.js";
7
+ import {
8
+ defaultProvider,
9
+ init_dist_es
10
+ } from "./chunk-mjnr5erm.js";
11
+ import {
12
+ require_dist_cjs as require_dist_cjs12,
13
+ require_dist_cjs1 as require_dist_cjs13,
14
+ require_dist_cjs10 as require_dist_cjs24,
15
+ require_dist_cjs11 as require_dist_cjs25,
16
+ require_dist_cjs12 as require_dist_cjs26,
17
+ require_dist_cjs2 as require_dist_cjs14,
18
+ require_dist_cjs3 as require_dist_cjs16,
19
+ require_dist_cjs4 as require_dist_cjs17,
20
+ require_dist_cjs5 as require_dist_cjs19,
21
+ require_dist_cjs6 as require_dist_cjs20,
22
+ require_dist_cjs7 as require_dist_cjs21,
23
+ require_dist_cjs8 as require_dist_cjs22,
24
+ require_dist_cjs9 as require_dist_cjs23,
25
+ require_protocols
26
+ } from "./chunk-p0r8887g.js";
27
+ import {
28
+ require_dist_cjs as require_dist_cjs15,
29
+ require_dist_cjs2 as require_dist_cjs18
30
+ } from "./chunk-564cnq6v.js";
31
+ import {
32
+ require_dist_cjs as require_dist_cjs10
33
+ } from "./chunk-zvr4snzv.js";
34
+ import {
35
+ require_dist_cjs as require_dist_cjs11,
36
+ require_httpAuthSchemes
37
+ } from "./chunk-pr8m11pm.js";
38
+ import {
39
+ require_dist_cjs as require_dist_cjs5,
40
+ require_schema
41
+ } from "./chunk-vjxqyt6f.js";
42
+ import {
43
+ require_dist_cjs as require_dist_cjs6,
44
+ require_dist_cjs2 as require_dist_cjs8,
45
+ require_dist_cjs4 as require_dist_cjs9,
46
+ require_tslib
47
+ } from "./chunk-d7ys2kka.js";
48
+ import {
49
+ require_client,
50
+ require_dist_cjs1 as require_dist_cjs2
51
+ } from "./chunk-rp8whpb3.js";
52
+ import {
53
+ require_dist_cjs
54
+ } from "./chunk-fh0d6mvk.js";
55
+ import {
56
+ require_dist_cjs as require_dist_cjs3
57
+ } from "./chunk-zwwdebd0.js";
58
+ import {
59
+ require_dist_cjs as require_dist_cjs4
60
+ } from "./chunk-xkrkqx61.js";
61
+ import {
62
+ require_dist_cjs2 as require_dist_cjs7
63
+ } from "./chunk-v7wbqcx9.js";
64
+ import {
65
+ __esm,
66
+ __toESM
67
+ } from "./chunk-hhsxm2yr.js";
68
+
69
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.10/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamConfiguration.js
70
+ function resolveEventStreamConfig(input) {
71
+ const eventSigner = input.signer;
72
+ const messageSigner = input.signer;
73
+ const newInput = Object.assign(input, {
74
+ eventSigner,
75
+ messageSigner
76
+ });
77
+ const eventStreamPayloadHandler = newInput.eventStreamPayloadHandlerProvider(newInput);
78
+ return Object.assign(newInput, {
79
+ eventStreamPayloadHandler
80
+ });
81
+ }
82
+ var init_eventStreamConfiguration = () => {};
83
+
84
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.10/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
85
+ var import_protocol_http, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
86
+ const { request } = args;
87
+ if (!import_protocol_http.HttpRequest.isInstance(request))
88
+ return next(args);
89
+ return options.eventStreamPayloadHandler.handle(next, args, context);
90
+ }, eventStreamHandlingMiddlewareOptions;
91
+ var init_eventStreamHandlingMiddleware = __esm(() => {
92
+ import_protocol_http = __toESM(require_dist_cjs(), 1);
93
+ eventStreamHandlingMiddlewareOptions = {
94
+ tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
95
+ name: "eventStreamHandlingMiddleware",
96
+ relation: "after",
97
+ toMiddleware: "awsAuthMiddleware",
98
+ override: true
99
+ };
100
+ });
101
+
102
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.10/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js
103
+ var import_protocol_http2, eventStreamHeaderMiddleware = (next) => async (args) => {
104
+ const { request } = args;
105
+ if (!import_protocol_http2.HttpRequest.isInstance(request))
106
+ return next(args);
107
+ request.headers = {
108
+ ...request.headers,
109
+ "content-type": "application/vnd.amazon.eventstream",
110
+ "x-amz-content-sha256": "STREAMING-AWS4-HMAC-SHA256-EVENTS"
111
+ };
112
+ return next({
113
+ ...args,
114
+ request
115
+ });
116
+ }, eventStreamHeaderMiddlewareOptions;
117
+ var init_eventStreamHeaderMiddleware = __esm(() => {
118
+ import_protocol_http2 = __toESM(require_dist_cjs(), 1);
119
+ eventStreamHeaderMiddlewareOptions = {
120
+ step: "build",
121
+ tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
122
+ name: "eventStreamHeaderMiddleware",
123
+ override: true
124
+ };
125
+ });
126
+
127
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.10/node_modules/@aws-sdk/middleware-eventstream/dist-es/getEventStreamPlugin.js
128
+ var getEventStreamPlugin = (options) => ({
129
+ applyToStack: (clientStack) => {
130
+ clientStack.addRelativeTo(eventStreamHandlingMiddleware(options), eventStreamHandlingMiddlewareOptions);
131
+ clientStack.add(eventStreamHeaderMiddleware, eventStreamHeaderMiddlewareOptions);
132
+ }
133
+ });
134
+ var init_getEventStreamPlugin = __esm(() => {
135
+ init_eventStreamHandlingMiddleware();
136
+ init_eventStreamHeaderMiddleware();
137
+ });
138
+
139
+ // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.10/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js
140
+ var init_dist_es3 = __esm(() => {
141
+ init_eventStreamConfiguration();
142
+ init_eventStreamHandlingMiddleware();
143
+ init_eventStreamHeaderMiddleware();
144
+ init_getEventStreamPlugin();
145
+ });
146
+
147
+ // node_modules/.bun/tslib@2.8.1/node_modules/tslib/modules/index.js
148
+ var import_tslib, __extends, __assign, __rest, __decorate, __param, __esDecorate, __runInitializers, __propKey, __setFunctionName, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __addDisposableResource, __disposeResources, __rewriteRelativeImportExtension;
149
+ var init_modules = __esm(() => {
150
+ import_tslib = __toESM(require_tslib(), 1);
151
+ ({
152
+ __extends,
153
+ __assign,
154
+ __rest,
155
+ __decorate,
156
+ __param,
157
+ __esDecorate,
158
+ __runInitializers,
159
+ __propKey,
160
+ __setFunctionName,
161
+ __metadata,
162
+ __awaiter,
163
+ __generator,
164
+ __exportStar,
165
+ __createBinding,
166
+ __values,
167
+ __read,
168
+ __spread,
169
+ __spreadArrays,
170
+ __spreadArray,
171
+ __await,
172
+ __asyncGenerator,
173
+ __asyncDelegator,
174
+ __asyncValues,
175
+ __makeTemplateObject,
176
+ __importStar,
177
+ __importDefault,
178
+ __classPrivateFieldGet,
179
+ __classPrivateFieldSet,
180
+ __classPrivateFieldIn,
181
+ __addDisposableResource,
182
+ __disposeResources,
183
+ __rewriteRelativeImportExtension
184
+ } = import_tslib.default);
185
+ });
186
+
187
+ // node_modules/.bun/@smithy+is-array-buffer@2.2.0/node_modules/@smithy/is-array-buffer/dist-es/index.js
188
+ var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
189
+ var init_dist_es4 = () => {};
190
+
191
+ // node_modules/.bun/@smithy+util-buffer-from@2.2.0/node_modules/@smithy/util-buffer-from/dist-es/index.js
192
+ import { Buffer as Buffer2 } from "buffer";
193
+ var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
194
+ if (!isArrayBuffer(input)) {
195
+ throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
196
+ }
197
+ return Buffer2.from(input, offset, length);
198
+ }, fromString = (input, encoding) => {
199
+ if (typeof input !== "string") {
200
+ throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`);
201
+ }
202
+ return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
203
+ };
204
+ var init_dist_es5 = __esm(() => {
205
+ init_dist_es4();
206
+ });
207
+
208
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
209
+ var fromUtf8 = (input) => {
210
+ const buf = fromString(input, "utf8");
211
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
212
+ };
213
+ var init_fromUtf8 = __esm(() => {
214
+ init_dist_es5();
215
+ });
216
+
217
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
218
+ var init_toUint8Array = __esm(() => {
219
+ init_fromUtf8();
220
+ });
221
+
222
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/toUtf8.js
223
+ var toUtf8 = (input) => {
224
+ if (typeof input === "string") {
225
+ return input;
226
+ }
227
+ if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") {
228
+ throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");
229
+ }
230
+ return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
231
+ };
232
+ var init_toUtf8 = __esm(() => {
233
+ init_dist_es5();
234
+ });
235
+
236
+ // node_modules/.bun/@smithy+util-utf8@2.3.0/node_modules/@smithy/util-utf8/dist-es/index.js
237
+ var init_dist_es6 = __esm(() => {
238
+ init_fromUtf8();
239
+ init_toUint8Array();
240
+ init_toUtf8();
241
+ });
242
+
243
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/convertToBuffer.js
244
+ function convertToBuffer(data) {
245
+ if (data instanceof Uint8Array)
246
+ return data;
247
+ if (typeof data === "string") {
248
+ return fromUtf83(data);
249
+ }
250
+ if (ArrayBuffer.isView(data)) {
251
+ return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
252
+ }
253
+ return new Uint8Array(data);
254
+ }
255
+ var fromUtf83;
256
+ var init_convertToBuffer = __esm(() => {
257
+ init_dist_es6();
258
+ fromUtf83 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
259
+ return Buffer.from(input, "utf8");
260
+ } : fromUtf8;
261
+ });
262
+
263
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/isEmptyData.js
264
+ function isEmptyData(data) {
265
+ if (typeof data === "string") {
266
+ return data.length === 0;
267
+ }
268
+ return data.byteLength === 0;
269
+ }
270
+ var init_isEmptyData = () => {};
271
+
272
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/numToUint8.js
273
+ function numToUint8(num) {
274
+ return new Uint8Array([
275
+ (num & 4278190080) >> 24,
276
+ (num & 16711680) >> 16,
277
+ (num & 65280) >> 8,
278
+ num & 255
279
+ ]);
280
+ }
281
+ var init_numToUint8 = () => {};
282
+
283
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js
284
+ function uint32ArrayFrom(a_lookUpTable) {
285
+ if (!Uint32Array.from) {
286
+ var return_array = new Uint32Array(a_lookUpTable.length);
287
+ var a_index = 0;
288
+ while (a_index < a_lookUpTable.length) {
289
+ return_array[a_index] = a_lookUpTable[a_index];
290
+ a_index += 1;
291
+ }
292
+ return return_array;
293
+ }
294
+ return Uint32Array.from(a_lookUpTable);
295
+ }
296
+ var init_uint32ArrayFrom = () => {};
297
+
298
+ // node_modules/.bun/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/module/index.js
299
+ var init_module = __esm(() => {
300
+ init_convertToBuffer();
301
+ init_isEmptyData();
302
+ init_numToUint8();
303
+ init_uint32ArrayFrom();
304
+ });
305
+
306
+ // node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js
307
+ var AwsCrc32;
308
+ var init_aws_crc32 = __esm(() => {
309
+ init_modules();
310
+ init_module();
311
+ init_module2();
312
+ AwsCrc32 = function() {
313
+ function AwsCrc322() {
314
+ this.crc32 = new Crc32;
315
+ }
316
+ AwsCrc322.prototype.update = function(toHash) {
317
+ if (isEmptyData(toHash))
318
+ return;
319
+ this.crc32.update(convertToBuffer(toHash));
320
+ };
321
+ AwsCrc322.prototype.digest = function() {
322
+ return __awaiter(this, undefined, undefined, function() {
323
+ return __generator(this, function(_a) {
324
+ return [2, numToUint8(this.crc32.digest())];
325
+ });
326
+ });
327
+ };
328
+ AwsCrc322.prototype.reset = function() {
329
+ this.crc32 = new Crc32;
330
+ };
331
+ return AwsCrc322;
332
+ }();
333
+ });
334
+
335
+ // node_modules/.bun/@aws-crypto+crc32@5.2.0/node_modules/@aws-crypto/crc32/build/module/index.js
336
+ var Crc32, a_lookUpTable, lookupTable;
337
+ var init_module2 = __esm(() => {
338
+ init_modules();
339
+ init_module();
340
+ init_aws_crc32();
341
+ Crc32 = function() {
342
+ function Crc322() {
343
+ this.checksum = 4294967295;
344
+ }
345
+ Crc322.prototype.update = function(data) {
346
+ var e_1, _a;
347
+ try {
348
+ for (var data_1 = __values(data), data_1_1 = data_1.next();!data_1_1.done; data_1_1 = data_1.next()) {
349
+ var byte = data_1_1.value;
350
+ this.checksum = this.checksum >>> 8 ^ lookupTable[(this.checksum ^ byte) & 255];
351
+ }
352
+ } catch (e_1_1) {
353
+ e_1 = { error: e_1_1 };
354
+ } finally {
355
+ try {
356
+ if (data_1_1 && !data_1_1.done && (_a = data_1.return))
357
+ _a.call(data_1);
358
+ } finally {
359
+ if (e_1)
360
+ throw e_1.error;
361
+ }
362
+ }
363
+ return this;
364
+ };
365
+ Crc322.prototype.digest = function() {
366
+ return (this.checksum ^ 4294967295) >>> 0;
367
+ };
368
+ return Crc322;
369
+ }();
370
+ a_lookUpTable = [
371
+ 0,
372
+ 1996959894,
373
+ 3993919788,
374
+ 2567524794,
375
+ 124634137,
376
+ 1886057615,
377
+ 3915621685,
378
+ 2657392035,
379
+ 249268274,
380
+ 2044508324,
381
+ 3772115230,
382
+ 2547177864,
383
+ 162941995,
384
+ 2125561021,
385
+ 3887607047,
386
+ 2428444049,
387
+ 498536548,
388
+ 1789927666,
389
+ 4089016648,
390
+ 2227061214,
391
+ 450548861,
392
+ 1843258603,
393
+ 4107580753,
394
+ 2211677639,
395
+ 325883990,
396
+ 1684777152,
397
+ 4251122042,
398
+ 2321926636,
399
+ 335633487,
400
+ 1661365465,
401
+ 4195302755,
402
+ 2366115317,
403
+ 997073096,
404
+ 1281953886,
405
+ 3579855332,
406
+ 2724688242,
407
+ 1006888145,
408
+ 1258607687,
409
+ 3524101629,
410
+ 2768942443,
411
+ 901097722,
412
+ 1119000684,
413
+ 3686517206,
414
+ 2898065728,
415
+ 853044451,
416
+ 1172266101,
417
+ 3705015759,
418
+ 2882616665,
419
+ 651767980,
420
+ 1373503546,
421
+ 3369554304,
422
+ 3218104598,
423
+ 565507253,
424
+ 1454621731,
425
+ 3485111705,
426
+ 3099436303,
427
+ 671266974,
428
+ 1594198024,
429
+ 3322730930,
430
+ 2970347812,
431
+ 795835527,
432
+ 1483230225,
433
+ 3244367275,
434
+ 3060149565,
435
+ 1994146192,
436
+ 31158534,
437
+ 2563907772,
438
+ 4023717930,
439
+ 1907459465,
440
+ 112637215,
441
+ 2680153253,
442
+ 3904427059,
443
+ 2013776290,
444
+ 251722036,
445
+ 2517215374,
446
+ 3775830040,
447
+ 2137656763,
448
+ 141376813,
449
+ 2439277719,
450
+ 3865271297,
451
+ 1802195444,
452
+ 476864866,
453
+ 2238001368,
454
+ 4066508878,
455
+ 1812370925,
456
+ 453092731,
457
+ 2181625025,
458
+ 4111451223,
459
+ 1706088902,
460
+ 314042704,
461
+ 2344532202,
462
+ 4240017532,
463
+ 1658658271,
464
+ 366619977,
465
+ 2362670323,
466
+ 4224994405,
467
+ 1303535960,
468
+ 984961486,
469
+ 2747007092,
470
+ 3569037538,
471
+ 1256170817,
472
+ 1037604311,
473
+ 2765210733,
474
+ 3554079995,
475
+ 1131014506,
476
+ 879679996,
477
+ 2909243462,
478
+ 3663771856,
479
+ 1141124467,
480
+ 855842277,
481
+ 2852801631,
482
+ 3708648649,
483
+ 1342533948,
484
+ 654459306,
485
+ 3188396048,
486
+ 3373015174,
487
+ 1466479909,
488
+ 544179635,
489
+ 3110523913,
490
+ 3462522015,
491
+ 1591671054,
492
+ 702138776,
493
+ 2966460450,
494
+ 3352799412,
495
+ 1504918807,
496
+ 783551873,
497
+ 3082640443,
498
+ 3233442989,
499
+ 3988292384,
500
+ 2596254646,
501
+ 62317068,
502
+ 1957810842,
503
+ 3939845945,
504
+ 2647816111,
505
+ 81470997,
506
+ 1943803523,
507
+ 3814918930,
508
+ 2489596804,
509
+ 225274430,
510
+ 2053790376,
511
+ 3826175755,
512
+ 2466906013,
513
+ 167816743,
514
+ 2097651377,
515
+ 4027552580,
516
+ 2265490386,
517
+ 503444072,
518
+ 1762050814,
519
+ 4150417245,
520
+ 2154129355,
521
+ 426522225,
522
+ 1852507879,
523
+ 4275313526,
524
+ 2312317920,
525
+ 282753626,
526
+ 1742555852,
527
+ 4189708143,
528
+ 2394877945,
529
+ 397917763,
530
+ 1622183637,
531
+ 3604390888,
532
+ 2714866558,
533
+ 953729732,
534
+ 1340076626,
535
+ 3518719985,
536
+ 2797360999,
537
+ 1068828381,
538
+ 1219638859,
539
+ 3624741850,
540
+ 2936675148,
541
+ 906185462,
542
+ 1090812512,
543
+ 3747672003,
544
+ 2825379669,
545
+ 829329135,
546
+ 1181335161,
547
+ 3412177804,
548
+ 3160834842,
549
+ 628085408,
550
+ 1382605366,
551
+ 3423369109,
552
+ 3138078467,
553
+ 570562233,
554
+ 1426400815,
555
+ 3317316542,
556
+ 2998733608,
557
+ 733239954,
558
+ 1555261956,
559
+ 3268935591,
560
+ 3050360625,
561
+ 752459403,
562
+ 1541320221,
563
+ 2607071920,
564
+ 3965973030,
565
+ 1969922972,
566
+ 40735498,
567
+ 2617837225,
568
+ 3943577151,
569
+ 1913087877,
570
+ 83908371,
571
+ 2512341634,
572
+ 3803740692,
573
+ 2075208622,
574
+ 213261112,
575
+ 2463272603,
576
+ 3855990285,
577
+ 2094854071,
578
+ 198958881,
579
+ 2262029012,
580
+ 4057260610,
581
+ 1759359992,
582
+ 534414190,
583
+ 2176718541,
584
+ 4139329115,
585
+ 1873836001,
586
+ 414664567,
587
+ 2282248934,
588
+ 4279200368,
589
+ 1711684554,
590
+ 285281116,
591
+ 2405801727,
592
+ 4167216745,
593
+ 1634467795,
594
+ 376229701,
595
+ 2685067896,
596
+ 3608007406,
597
+ 1308918612,
598
+ 956543938,
599
+ 2808555105,
600
+ 3495958263,
601
+ 1231636301,
602
+ 1047427035,
603
+ 2932959818,
604
+ 3654703836,
605
+ 1088359270,
606
+ 936918000,
607
+ 2847714899,
608
+ 3736837829,
609
+ 1202900863,
610
+ 817233897,
611
+ 3183342108,
612
+ 3401237130,
613
+ 1404277552,
614
+ 615818150,
615
+ 3134207493,
616
+ 3453421203,
617
+ 1423857449,
618
+ 601450431,
619
+ 3009837614,
620
+ 3294710456,
621
+ 1567103746,
622
+ 711928724,
623
+ 3020668471,
624
+ 3272380065,
625
+ 1510334235,
626
+ 755167117
627
+ ];
628
+ lookupTable = uint32ArrayFrom(a_lookUpTable);
629
+ });
630
+
631
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
632
+ class Int64 {
633
+ bytes;
634
+ constructor(bytes) {
635
+ this.bytes = bytes;
636
+ if (bytes.byteLength !== 8) {
637
+ throw new Error("Int64 buffers must be exactly 8 bytes");
638
+ }
639
+ }
640
+ static fromNumber(number) {
641
+ if (number > 9223372036854776000 || number < -9223372036854776000) {
642
+ throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
643
+ }
644
+ const bytes = new Uint8Array(8);
645
+ for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
646
+ bytes[i] = remaining;
647
+ }
648
+ if (number < 0) {
649
+ negate(bytes);
650
+ }
651
+ return new Int64(bytes);
652
+ }
653
+ valueOf() {
654
+ const bytes = this.bytes.slice(0);
655
+ const negative = bytes[0] & 128;
656
+ if (negative) {
657
+ negate(bytes);
658
+ }
659
+ return parseInt(import_util_hex_encoding.toHex(bytes), 16) * (negative ? -1 : 1);
660
+ }
661
+ toString() {
662
+ return String(this.valueOf());
663
+ }
664
+ }
665
+ function negate(bytes) {
666
+ for (let i = 0;i < 8; i++) {
667
+ bytes[i] ^= 255;
668
+ }
669
+ for (let i = 7;i > -1; i--) {
670
+ bytes[i]++;
671
+ if (bytes[i] !== 0)
672
+ break;
673
+ }
674
+ }
675
+ var import_util_hex_encoding;
676
+ var init_Int64 = __esm(() => {
677
+ import_util_hex_encoding = __toESM(require_dist_cjs9(), 1);
678
+ });
679
+
680
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
681
+ class HeaderMarshaller {
682
+ toUtf8;
683
+ fromUtf8;
684
+ constructor(toUtf83, fromUtf84) {
685
+ this.toUtf8 = toUtf83;
686
+ this.fromUtf8 = fromUtf84;
687
+ }
688
+ format(headers) {
689
+ const chunks = [];
690
+ for (const headerName of Object.keys(headers)) {
691
+ const bytes = this.fromUtf8(headerName);
692
+ chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
693
+ }
694
+ const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
695
+ let position = 0;
696
+ for (const chunk of chunks) {
697
+ out.set(chunk, position);
698
+ position += chunk.byteLength;
699
+ }
700
+ return out;
701
+ }
702
+ formatHeaderValue(header) {
703
+ switch (header.type) {
704
+ case "boolean":
705
+ return Uint8Array.from([header.value ? 0 : 1]);
706
+ case "byte":
707
+ return Uint8Array.from([2, header.value]);
708
+ case "short":
709
+ const shortView = new DataView(new ArrayBuffer(3));
710
+ shortView.setUint8(0, 3);
711
+ shortView.setInt16(1, header.value, false);
712
+ return new Uint8Array(shortView.buffer);
713
+ case "integer":
714
+ const intView = new DataView(new ArrayBuffer(5));
715
+ intView.setUint8(0, 4);
716
+ intView.setInt32(1, header.value, false);
717
+ return new Uint8Array(intView.buffer);
718
+ case "long":
719
+ const longBytes = new Uint8Array(9);
720
+ longBytes[0] = 5;
721
+ longBytes.set(header.value.bytes, 1);
722
+ return longBytes;
723
+ case "binary":
724
+ const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
725
+ binView.setUint8(0, 6);
726
+ binView.setUint16(1, header.value.byteLength, false);
727
+ const binBytes = new Uint8Array(binView.buffer);
728
+ binBytes.set(header.value, 3);
729
+ return binBytes;
730
+ case "string":
731
+ const utf8Bytes = this.fromUtf8(header.value);
732
+ const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
733
+ strView.setUint8(0, 7);
734
+ strView.setUint16(1, utf8Bytes.byteLength, false);
735
+ const strBytes = new Uint8Array(strView.buffer);
736
+ strBytes.set(utf8Bytes, 3);
737
+ return strBytes;
738
+ case "timestamp":
739
+ const tsBytes = new Uint8Array(9);
740
+ tsBytes[0] = 8;
741
+ tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1);
742
+ return tsBytes;
743
+ case "uuid":
744
+ if (!UUID_PATTERN.test(header.value)) {
745
+ throw new Error(`Invalid UUID received: ${header.value}`);
746
+ }
747
+ const uuidBytes = new Uint8Array(17);
748
+ uuidBytes[0] = 9;
749
+ uuidBytes.set(import_util_hex_encoding2.fromHex(header.value.replace(/\-/g, "")), 1);
750
+ return uuidBytes;
751
+ }
752
+ }
753
+ parse(headers) {
754
+ const out = {};
755
+ let position = 0;
756
+ while (position < headers.byteLength) {
757
+ const nameLength = headers.getUint8(position++);
758
+ const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
759
+ position += nameLength;
760
+ switch (headers.getUint8(position++)) {
761
+ case 0:
762
+ out[name] = {
763
+ type: BOOLEAN_TAG,
764
+ value: true
765
+ };
766
+ break;
767
+ case 1:
768
+ out[name] = {
769
+ type: BOOLEAN_TAG,
770
+ value: false
771
+ };
772
+ break;
773
+ case 2:
774
+ out[name] = {
775
+ type: BYTE_TAG,
776
+ value: headers.getInt8(position++)
777
+ };
778
+ break;
779
+ case 3:
780
+ out[name] = {
781
+ type: SHORT_TAG,
782
+ value: headers.getInt16(position, false)
783
+ };
784
+ position += 2;
785
+ break;
786
+ case 4:
787
+ out[name] = {
788
+ type: INT_TAG,
789
+ value: headers.getInt32(position, false)
790
+ };
791
+ position += 4;
792
+ break;
793
+ case 5:
794
+ out[name] = {
795
+ type: LONG_TAG,
796
+ value: new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
797
+ };
798
+ position += 8;
799
+ break;
800
+ case 6:
801
+ const binaryLength = headers.getUint16(position, false);
802
+ position += 2;
803
+ out[name] = {
804
+ type: BINARY_TAG,
805
+ value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
806
+ };
807
+ position += binaryLength;
808
+ break;
809
+ case 7:
810
+ const stringLength = headers.getUint16(position, false);
811
+ position += 2;
812
+ out[name] = {
813
+ type: STRING_TAG,
814
+ value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
815
+ };
816
+ position += stringLength;
817
+ break;
818
+ case 8:
819
+ out[name] = {
820
+ type: TIMESTAMP_TAG,
821
+ value: new Date(new Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
822
+ };
823
+ position += 8;
824
+ break;
825
+ case 9:
826
+ const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
827
+ position += 16;
828
+ out[name] = {
829
+ type: UUID_TAG,
830
+ 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))}`
831
+ };
832
+ break;
833
+ default:
834
+ throw new Error(`Unrecognized header type tag`);
835
+ }
836
+ }
837
+ return out;
838
+ }
839
+ }
840
+ 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;
841
+ var init_HeaderMarshaller = __esm(() => {
842
+ init_Int64();
843
+ import_util_hex_encoding2 = __toESM(require_dist_cjs9(), 1);
844
+ (function(HEADER_VALUE_TYPE2) {
845
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
846
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
847
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byte"] = 2] = "byte";
848
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["short"] = 3] = "short";
849
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["integer"] = 4] = "integer";
850
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["long"] = 5] = "long";
851
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["byteArray"] = 6] = "byteArray";
852
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["string"] = 7] = "string";
853
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["timestamp"] = 8] = "timestamp";
854
+ HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["uuid"] = 9] = "uuid";
855
+ })(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));
856
+ UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
857
+ });
858
+
859
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
860
+ function splitMessage({ byteLength, byteOffset, buffer }) {
861
+ if (byteLength < MINIMUM_MESSAGE_LENGTH) {
862
+ throw new Error("Provided message too short to accommodate event stream message overhead");
863
+ }
864
+ const view = new DataView(buffer, byteOffset, byteLength);
865
+ const messageLength = view.getUint32(0, false);
866
+ if (byteLength !== messageLength) {
867
+ throw new Error("Reported message length does not match received message length");
868
+ }
869
+ const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
870
+ const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
871
+ const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
872
+ const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
873
+ if (expectedPreludeChecksum !== checksummer.digest()) {
874
+ throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
875
+ }
876
+ checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
877
+ if (expectedMessageChecksum !== checksummer.digest()) {
878
+ throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
879
+ }
880
+ return {
881
+ headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
882
+ body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
883
+ };
884
+ }
885
+ var PRELUDE_MEMBER_LENGTH = 4, PRELUDE_LENGTH, CHECKSUM_LENGTH = 4, MINIMUM_MESSAGE_LENGTH;
886
+ var init_splitMessage = __esm(() => {
887
+ init_module2();
888
+ PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
889
+ MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
890
+ });
891
+
892
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
893
+ class EventStreamCodec {
894
+ headerMarshaller;
895
+ messageBuffer;
896
+ isEndOfStream;
897
+ constructor(toUtf83, fromUtf84) {
898
+ this.headerMarshaller = new HeaderMarshaller(toUtf83, fromUtf84);
899
+ this.messageBuffer = [];
900
+ this.isEndOfStream = false;
901
+ }
902
+ feed(message) {
903
+ this.messageBuffer.push(this.decode(message));
904
+ }
905
+ endOfStream() {
906
+ this.isEndOfStream = true;
907
+ }
908
+ getMessage() {
909
+ const message = this.messageBuffer.pop();
910
+ const isEndOfStream = this.isEndOfStream;
911
+ return {
912
+ getMessage() {
913
+ return message;
914
+ },
915
+ isEndOfStream() {
916
+ return isEndOfStream;
917
+ }
918
+ };
919
+ }
920
+ getAvailableMessages() {
921
+ const messages = this.messageBuffer;
922
+ this.messageBuffer = [];
923
+ const isEndOfStream = this.isEndOfStream;
924
+ return {
925
+ getMessages() {
926
+ return messages;
927
+ },
928
+ isEndOfStream() {
929
+ return isEndOfStream;
930
+ }
931
+ };
932
+ }
933
+ encode({ headers: rawHeaders, body }) {
934
+ const headers = this.headerMarshaller.format(rawHeaders);
935
+ const length = headers.byteLength + body.byteLength + 16;
936
+ const out = new Uint8Array(length);
937
+ const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
938
+ const checksum = new Crc32;
939
+ view.setUint32(0, length, false);
940
+ view.setUint32(4, headers.byteLength, false);
941
+ view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
942
+ out.set(headers, 12);
943
+ out.set(body, headers.byteLength + 12);
944
+ view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
945
+ return out;
946
+ }
947
+ decode(message) {
948
+ const { headers, body } = splitMessage(message);
949
+ return { headers: this.headerMarshaller.parse(headers), body };
950
+ }
951
+ formatHeaders(rawHeaders) {
952
+ return this.headerMarshaller.format(rawHeaders);
953
+ }
954
+ }
955
+ var init_EventStreamCodec = __esm(() => {
956
+ init_module2();
957
+ init_HeaderMarshaller();
958
+ init_splitMessage();
959
+ });
960
+
961
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/Message.js
962
+ var init_Message = () => {};
963
+
964
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
965
+ var MessageDecoderStream;
966
+ var init_MessageDecoderStream = __esm(() => {
967
+ MessageDecoderStream = class MessageDecoderStream {
968
+ options;
969
+ constructor(options) {
970
+ this.options = options;
971
+ }
972
+ [Symbol.asyncIterator]() {
973
+ return this.asyncIterator();
974
+ }
975
+ async* asyncIterator() {
976
+ for await (const bytes of this.options.inputStream) {
977
+ const decoded = this.options.decoder.decode(bytes);
978
+ yield decoded;
979
+ }
980
+ }
981
+ };
982
+ });
983
+
984
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
985
+ var MessageEncoderStream;
986
+ var init_MessageEncoderStream = __esm(() => {
987
+ MessageEncoderStream = class MessageEncoderStream {
988
+ options;
989
+ constructor(options) {
990
+ this.options = options;
991
+ }
992
+ [Symbol.asyncIterator]() {
993
+ return this.asyncIterator();
994
+ }
995
+ async* asyncIterator() {
996
+ for await (const msg of this.options.messageStream) {
997
+ const encoded = this.options.encoder.encode(msg);
998
+ yield encoded;
999
+ }
1000
+ if (this.options.includeEndFrame) {
1001
+ yield new Uint8Array(0);
1002
+ }
1003
+ }
1004
+ };
1005
+ });
1006
+
1007
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
1008
+ var SmithyMessageDecoderStream;
1009
+ var init_SmithyMessageDecoderStream = __esm(() => {
1010
+ SmithyMessageDecoderStream = class SmithyMessageDecoderStream {
1011
+ options;
1012
+ constructor(options) {
1013
+ this.options = options;
1014
+ }
1015
+ [Symbol.asyncIterator]() {
1016
+ return this.asyncIterator();
1017
+ }
1018
+ async* asyncIterator() {
1019
+ for await (const message of this.options.messageStream) {
1020
+ const deserialized = await this.options.deserializer(message);
1021
+ if (deserialized === undefined)
1022
+ continue;
1023
+ yield deserialized;
1024
+ }
1025
+ }
1026
+ };
1027
+ });
1028
+
1029
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
1030
+ var SmithyMessageEncoderStream;
1031
+ var init_SmithyMessageEncoderStream = __esm(() => {
1032
+ SmithyMessageEncoderStream = class SmithyMessageEncoderStream {
1033
+ options;
1034
+ constructor(options) {
1035
+ this.options = options;
1036
+ }
1037
+ [Symbol.asyncIterator]() {
1038
+ return this.asyncIterator();
1039
+ }
1040
+ async* asyncIterator() {
1041
+ for await (const chunk of this.options.inputStream) {
1042
+ const payloadBuf = this.options.serializer(chunk);
1043
+ yield payloadBuf;
1044
+ }
1045
+ }
1046
+ };
1047
+ });
1048
+
1049
+ // node_modules/.bun/@smithy+eventstream-codec@4.2.14/node_modules/@smithy/eventstream-codec/dist-es/index.js
1050
+ var init_dist_es7 = __esm(() => {
1051
+ init_EventStreamCodec();
1052
+ init_HeaderMarshaller();
1053
+ init_Int64();
1054
+ init_Message();
1055
+ init_MessageDecoderStream();
1056
+ init_MessageEncoderStream();
1057
+ init_SmithyMessageDecoderStream();
1058
+ init_SmithyMessageEncoderStream();
1059
+ });
1060
+
1061
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.14/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
1062
+ function getChunkedStream(source) {
1063
+ let currentMessageTotalLength = 0;
1064
+ let currentMessagePendingLength = 0;
1065
+ let currentMessage = null;
1066
+ let messageLengthBuffer = null;
1067
+ const allocateMessage = (size) => {
1068
+ if (typeof size !== "number") {
1069
+ throw new Error("Attempted to allocate an event message where size was not a number: " + size);
1070
+ }
1071
+ currentMessageTotalLength = size;
1072
+ currentMessagePendingLength = 4;
1073
+ currentMessage = new Uint8Array(size);
1074
+ const currentMessageView = new DataView(currentMessage.buffer);
1075
+ currentMessageView.setUint32(0, size, false);
1076
+ };
1077
+ const iterator = async function* () {
1078
+ const sourceIterator = source[Symbol.asyncIterator]();
1079
+ while (true) {
1080
+ const { value, done } = await sourceIterator.next();
1081
+ if (done) {
1082
+ if (!currentMessageTotalLength) {
1083
+ return;
1084
+ } else if (currentMessageTotalLength === currentMessagePendingLength) {
1085
+ yield currentMessage;
1086
+ } else {
1087
+ throw new Error("Truncated event message received.");
1088
+ }
1089
+ return;
1090
+ }
1091
+ const chunkLength = value.length;
1092
+ let currentOffset = 0;
1093
+ while (currentOffset < chunkLength) {
1094
+ if (!currentMessage) {
1095
+ const bytesRemaining = chunkLength - currentOffset;
1096
+ if (!messageLengthBuffer) {
1097
+ messageLengthBuffer = new Uint8Array(4);
1098
+ }
1099
+ const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
1100
+ messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
1101
+ currentMessagePendingLength += numBytesForTotal;
1102
+ currentOffset += numBytesForTotal;
1103
+ if (currentMessagePendingLength < 4) {
1104
+ break;
1105
+ }
1106
+ allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
1107
+ messageLengthBuffer = null;
1108
+ }
1109
+ const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
1110
+ currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
1111
+ currentMessagePendingLength += numBytesToWrite;
1112
+ currentOffset += numBytesToWrite;
1113
+ if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
1114
+ yield currentMessage;
1115
+ currentMessage = null;
1116
+ currentMessageTotalLength = 0;
1117
+ currentMessagePendingLength = 0;
1118
+ }
1119
+ }
1120
+ }
1121
+ };
1122
+ return {
1123
+ [Symbol.asyncIterator]: iterator
1124
+ };
1125
+ }
1126
+ var init_getChunkedStream = () => {};
1127
+
1128
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.14/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
1129
+ function getMessageUnmarshaller(deserializer, toUtf83) {
1130
+ return async function(message) {
1131
+ const { value: messageType } = message.headers[":message-type"];
1132
+ if (messageType === "error") {
1133
+ const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
1134
+ unmodeledError.name = message.headers[":error-code"].value;
1135
+ throw unmodeledError;
1136
+ } else if (messageType === "exception") {
1137
+ const code = message.headers[":exception-type"].value;
1138
+ const exception = { [code]: message };
1139
+ const deserializedException = await deserializer(exception);
1140
+ if (deserializedException.$unknown) {
1141
+ const error = new Error(toUtf83(message.body));
1142
+ error.name = code;
1143
+ throw error;
1144
+ }
1145
+ throw deserializedException[code];
1146
+ } else if (messageType === "event") {
1147
+ const event = {
1148
+ [message.headers[":event-type"].value]: message
1149
+ };
1150
+ const deserialized = await deserializer(event);
1151
+ if (deserialized.$unknown)
1152
+ return;
1153
+ return deserialized;
1154
+ } else {
1155
+ throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
1156
+ }
1157
+ };
1158
+ }
1159
+ var init_getUnmarshalledStream = () => {};
1160
+
1161
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.14/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
1162
+ class EventStreamMarshaller {
1163
+ eventStreamCodec;
1164
+ utfEncoder;
1165
+ constructor({ utf8Encoder, utf8Decoder }) {
1166
+ this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder);
1167
+ this.utfEncoder = utf8Encoder;
1168
+ }
1169
+ deserialize(body, deserializer) {
1170
+ const inputStream = getChunkedStream(body);
1171
+ return new SmithyMessageDecoderStream({
1172
+ messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }),
1173
+ deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder)
1174
+ });
1175
+ }
1176
+ serialize(inputStream, serializer) {
1177
+ return new MessageEncoderStream({
1178
+ messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }),
1179
+ encoder: this.eventStreamCodec,
1180
+ includeEndFrame: true
1181
+ });
1182
+ }
1183
+ }
1184
+ var init_EventStreamMarshaller = __esm(() => {
1185
+ init_dist_es7();
1186
+ init_getChunkedStream();
1187
+ init_getUnmarshalledStream();
1188
+ });
1189
+
1190
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.14/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
1191
+ var init_provider = () => {};
1192
+
1193
+ // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.14/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
1194
+ var init_dist_es8 = __esm(() => {
1195
+ init_EventStreamMarshaller();
1196
+ init_provider();
1197
+ });
1198
+
1199
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
1200
+ var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
1201
+ var init_utils = () => {};
1202
+
1203
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
1204
+ var init_WebSocketFetchHandler = () => {};
1205
+
1206
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
1207
+ var import_protocol_http3, websocketEndpointMiddleware = (config, options) => (next) => (args) => {
1208
+ const { request } = args;
1209
+ if (import_protocol_http3.HttpRequest.isInstance(request) && config.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
1210
+ request.protocol = "wss:";
1211
+ request.method = "GET";
1212
+ request.path = `${request.path}-websocket`;
1213
+ const { headers } = request;
1214
+ delete headers["content-type"];
1215
+ delete headers["x-amz-content-sha256"];
1216
+ for (const name of Object.keys(headers)) {
1217
+ if (name.indexOf(options.headerPrefix) === 0) {
1218
+ const chunkedName = name.replace(options.headerPrefix, "");
1219
+ request.query[chunkedName] = headers[name];
1220
+ }
1221
+ }
1222
+ if (headers["x-amz-user-agent"]) {
1223
+ request.query["user-agent"] = headers["x-amz-user-agent"];
1224
+ }
1225
+ request.headers = { host: headers.host ?? request.hostname };
1226
+ }
1227
+ return next(args);
1228
+ }, websocketEndpointMiddlewareOptions;
1229
+ var init_websocketEndpointMiddleware = __esm(() => {
1230
+ import_protocol_http3 = __toESM(require_dist_cjs(), 1);
1231
+ websocketEndpointMiddlewareOptions = {
1232
+ name: "websocketEndpointMiddleware",
1233
+ tags: ["WEBSOCKET", "EVENT_STREAM"],
1234
+ relation: "after",
1235
+ toMiddleware: "eventStreamHeaderMiddleware",
1236
+ override: true
1237
+ };
1238
+ });
1239
+
1240
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
1241
+ var injectSessionIdMiddleware = () => (next) => async (args) => {
1242
+ const requestParams = {
1243
+ ...args.input
1244
+ };
1245
+ const response = await next(args);
1246
+ const output = response.output;
1247
+ if (requestParams.SessionId && output.SessionId == null) {
1248
+ output.SessionId = requestParams.SessionId;
1249
+ }
1250
+ return response;
1251
+ }, injectSessionIdMiddlewareOptions;
1252
+ var init_websocketInjectSessionIdMiddleware = __esm(() => {
1253
+ injectSessionIdMiddlewareOptions = {
1254
+ step: "initialize",
1255
+ name: "injectSessionIdMiddleware",
1256
+ tags: ["WEBSOCKET", "EVENT_STREAM"],
1257
+ override: true
1258
+ };
1259
+ });
1260
+
1261
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
1262
+ var getWebSocketPlugin = (config, options) => ({
1263
+ applyToStack: (clientStack) => {
1264
+ clientStack.addRelativeTo(websocketEndpointMiddleware(config, options), websocketEndpointMiddlewareOptions);
1265
+ clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
1266
+ }
1267
+ });
1268
+ var init_getWebSocketPlugin = __esm(() => {
1269
+ init_websocketEndpointMiddleware();
1270
+ init_websocketInjectSessionIdMiddleware();
1271
+ });
1272
+
1273
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
1274
+ class WebsocketSignatureV4 {
1275
+ signer;
1276
+ constructor(options) {
1277
+ this.signer = options.signer;
1278
+ }
1279
+ presign(originalRequest, options = {}) {
1280
+ return this.signer.presign(originalRequest, options);
1281
+ }
1282
+ async sign(toSign, options) {
1283
+ if (import_protocol_http4.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
1284
+ const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
1285
+ ...options,
1286
+ expiresIn: 60,
1287
+ unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
1288
+ });
1289
+ return {
1290
+ ...signedRequest,
1291
+ body: toSign.body
1292
+ };
1293
+ } else {
1294
+ return this.signer.sign(toSign, options);
1295
+ }
1296
+ }
1297
+ signMessage(message, args) {
1298
+ return this.signer.signMessage(message, args);
1299
+ }
1300
+ }
1301
+ var import_protocol_http4;
1302
+ var init_WebsocketSignatureV4 = __esm(() => {
1303
+ init_utils();
1304
+ import_protocol_http4 = __toESM(require_dist_cjs(), 1);
1305
+ });
1306
+
1307
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
1308
+ var resolveWebSocketConfig = (input) => {
1309
+ const { signer } = input;
1310
+ return Object.assign(input, {
1311
+ signer: async (authScheme) => {
1312
+ const signerObj = await signer(authScheme);
1313
+ if (validateSigner(signerObj)) {
1314
+ return new WebsocketSignatureV4({ signer: signerObj });
1315
+ }
1316
+ throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
1317
+ }
1318
+ });
1319
+ }, validateSigner = (signer) => !!signer;
1320
+ var init_resolveWebSocketConfig = __esm(() => {
1321
+ init_WebsocketSignatureV4();
1322
+ });
1323
+
1324
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
1325
+ var init_eventStreamPayloadHandlerProvider = () => {};
1326
+
1327
+ // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.16/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
1328
+ var init_dist_es9 = __esm(() => {
1329
+ init_WebSocketFetchHandler();
1330
+ init_getWebSocketPlugin();
1331
+ init_resolveWebSocketConfig();
1332
+ init_eventStreamPayloadHandlerProvider();
1333
+ });
1334
+
1335
+ // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.14/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
1336
+ var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
1337
+ eventStreamMarshaller: input.eventStreamSerdeProvider(input)
1338
+ });
1339
+ var init_EventStreamSerdeConfig = () => {};
1340
+
1341
+ // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.14/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
1342
+ var init_dist_es10 = __esm(() => {
1343
+ init_EventStreamSerdeConfig();
1344
+ });
1345
+
1346
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
1347
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
1348
+ return {
1349
+ schemeId: "aws.auth#sigv4",
1350
+ signingProperties: {
1351
+ name: "bedrock",
1352
+ region: authParameters.region
1353
+ },
1354
+ propertiesExtractor: (config, context) => ({
1355
+ signingProperties: {
1356
+ config,
1357
+ context
1358
+ }
1359
+ })
1360
+ };
1361
+ }
1362
+ function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
1363
+ return {
1364
+ schemeId: "smithy.api#httpBearerAuth",
1365
+ propertiesExtractor: ({ profile, filepath, configFilepath, ignoreCache }, context) => ({
1366
+ identityProperties: {
1367
+ profile,
1368
+ filepath,
1369
+ configFilepath,
1370
+ ignoreCache
1371
+ }
1372
+ })
1373
+ };
1374
+ }
1375
+ var import_httpAuthSchemes, import_core, import_util_middleware, defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
1376
+ return {
1377
+ operation: import_util_middleware.getSmithyContext(context).operation,
1378
+ region: await import_util_middleware.normalizeProvider(config.region)() || (() => {
1379
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
1380
+ })()
1381
+ };
1382
+ }, defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
1383
+ const options = [];
1384
+ switch (authParameters.operation) {
1385
+ default: {
1386
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
1387
+ options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
1388
+ }
1389
+ }
1390
+ return options;
1391
+ }, resolveHttpAuthSchemeConfig = (config) => {
1392
+ const token = import_core.memoizeIdentityProvider(config.token, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
1393
+ const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config);
1394
+ return Object.assign(config_0, {
1395
+ authSchemePreference: import_util_middleware.normalizeProvider(config.authSchemePreference ?? []),
1396
+ token
1397
+ });
1398
+ };
1399
+ var init_httpAuthSchemeProvider = __esm(() => {
1400
+ import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
1401
+ import_core = __toESM(require_dist_cjs11(), 1);
1402
+ import_util_middleware = __toESM(require_dist_cjs6(), 1);
1403
+ });
1404
+
1405
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
1406
+ var resolveClientEndpointParameters = (options) => {
1407
+ return Object.assign(options, {
1408
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
1409
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
1410
+ defaultSigningName: "bedrock"
1411
+ });
1412
+ }, commonParams;
1413
+ var init_EndpointParameters = __esm(() => {
1414
+ commonParams = {
1415
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
1416
+ Endpoint: { type: "builtInParams", name: "endpoint" },
1417
+ Region: { type: "builtInParams", name: "region" },
1418
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1419
+ };
1420
+ });
1421
+
1422
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/package.json
1423
+ var package_default;
1424
+ var init_package = __esm(() => {
1425
+ package_default = {
1426
+ name: "@aws-sdk/client-bedrock-runtime",
1427
+ description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
1428
+ version: "3.1037.0",
1429
+ scripts: {
1430
+ build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
1431
+ "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
1432
+ "build:es": "tsc -p tsconfig.es.json",
1433
+ "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
1434
+ "build:types": "tsc -p tsconfig.types.json",
1435
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
1436
+ clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
1437
+ "extract:docs": "api-extractor run --local",
1438
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-runtime",
1439
+ test: "yarn g:vitest run --passWithNoTests",
1440
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts",
1441
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
1442
+ "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
1443
+ "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
1444
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
1445
+ "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
1446
+ "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
1447
+ "test:watch": "yarn g:vitest watch --passWithNoTests"
1448
+ },
1449
+ main: "./dist-cjs/index.js",
1450
+ types: "./dist-types/index.d.ts",
1451
+ module: "./dist-es/index.js",
1452
+ sideEffects: false,
1453
+ dependencies: {
1454
+ "@aws-crypto/sha256-browser": "5.2.0",
1455
+ "@aws-crypto/sha256-js": "5.2.0",
1456
+ "@aws-sdk/core": "^3.974.5",
1457
+ "@aws-sdk/credential-provider-node": "^3.972.36",
1458
+ "@aws-sdk/eventstream-handler-node": "^3.972.14",
1459
+ "@aws-sdk/middleware-eventstream": "^3.972.10",
1460
+ "@aws-sdk/middleware-host-header": "^3.972.10",
1461
+ "@aws-sdk/middleware-logger": "^3.972.10",
1462
+ "@aws-sdk/middleware-recursion-detection": "^3.972.11",
1463
+ "@aws-sdk/middleware-user-agent": "^3.972.35",
1464
+ "@aws-sdk/middleware-websocket": "^3.972.16",
1465
+ "@aws-sdk/region-config-resolver": "^3.972.13",
1466
+ "@aws-sdk/token-providers": "3.1037.0",
1467
+ "@aws-sdk/types": "^3.973.8",
1468
+ "@aws-sdk/util-endpoints": "^3.996.8",
1469
+ "@aws-sdk/util-user-agent-browser": "^3.972.10",
1470
+ "@aws-sdk/util-user-agent-node": "^3.973.21",
1471
+ "@smithy/config-resolver": "^4.4.17",
1472
+ "@smithy/core": "^3.23.17",
1473
+ "@smithy/eventstream-serde-browser": "^4.2.14",
1474
+ "@smithy/eventstream-serde-config-resolver": "^4.3.14",
1475
+ "@smithy/eventstream-serde-node": "^4.2.14",
1476
+ "@smithy/fetch-http-handler": "^5.3.17",
1477
+ "@smithy/hash-node": "^4.2.14",
1478
+ "@smithy/invalid-dependency": "^4.2.14",
1479
+ "@smithy/middleware-content-length": "^4.2.14",
1480
+ "@smithy/middleware-endpoint": "^4.4.32",
1481
+ "@smithy/middleware-retry": "^4.5.5",
1482
+ "@smithy/middleware-serde": "^4.2.20",
1483
+ "@smithy/middleware-stack": "^4.2.14",
1484
+ "@smithy/node-config-provider": "^4.3.14",
1485
+ "@smithy/node-http-handler": "^4.6.1",
1486
+ "@smithy/protocol-http": "^5.3.14",
1487
+ "@smithy/smithy-client": "^4.12.13",
1488
+ "@smithy/types": "^4.14.1",
1489
+ "@smithy/url-parser": "^4.2.14",
1490
+ "@smithy/util-base64": "^4.3.2",
1491
+ "@smithy/util-body-length-browser": "^4.2.2",
1492
+ "@smithy/util-body-length-node": "^4.2.3",
1493
+ "@smithy/util-defaults-mode-browser": "^4.3.49",
1494
+ "@smithy/util-defaults-mode-node": "^4.2.54",
1495
+ "@smithy/util-endpoints": "^3.4.2",
1496
+ "@smithy/util-middleware": "^4.2.14",
1497
+ "@smithy/util-retry": "^4.3.4",
1498
+ "@smithy/util-stream": "^4.5.25",
1499
+ "@smithy/util-utf8": "^4.2.2",
1500
+ tslib: "^2.6.2"
1501
+ },
1502
+ devDependencies: {
1503
+ "@smithy/snapshot-testing": "^2.0.8",
1504
+ "@tsconfig/node20": "20.1.8",
1505
+ "@types/node": "^20.14.8",
1506
+ concurrently: "7.0.0",
1507
+ "downlevel-dts": "0.10.1",
1508
+ premove: "4.0.0",
1509
+ typescript: "~5.8.3",
1510
+ vitest: "^4.0.17"
1511
+ },
1512
+ engines: {
1513
+ node: ">=20.0.0"
1514
+ },
1515
+ typesVersions: {
1516
+ "<4.5": {
1517
+ "dist-types/*": [
1518
+ "dist-types/ts3.4/*"
1519
+ ]
1520
+ }
1521
+ },
1522
+ files: [
1523
+ "dist-*/**"
1524
+ ],
1525
+ author: {
1526
+ name: "AWS SDK for JavaScript Team",
1527
+ url: "https://aws.amazon.com/javascript/"
1528
+ },
1529
+ license: "Apache-2.0",
1530
+ browser: {
1531
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
1532
+ },
1533
+ "react-native": {
1534
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
1535
+ },
1536
+ homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
1537
+ repository: {
1538
+ type: "git",
1539
+ url: "https://github.com/aws/aws-sdk-js-v3.git",
1540
+ directory: "clients/client-bedrock-runtime"
1541
+ }
1542
+ };
1543
+ });
1544
+
1545
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.14/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventSigningTransformStream.js
1546
+ import { Transform } from "stream";
1547
+ function getSignatureBinary(signature) {
1548
+ const buf = Buffer.from(signature, "hex");
1549
+ return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
1550
+ }
1551
+ var EventSigningTransformStream;
1552
+ var init_EventSigningTransformStream = __esm(() => {
1553
+ EventSigningTransformStream = class EventSigningTransformStream extends Transform {
1554
+ priorSignature;
1555
+ messageSigner;
1556
+ eventStreamCodec;
1557
+ systemClockOffsetProvider;
1558
+ staticCredentials;
1559
+ constructor(options) {
1560
+ super({
1561
+ autoDestroy: true,
1562
+ readableObjectMode: true,
1563
+ writableObjectMode: true,
1564
+ ...options
1565
+ });
1566
+ this.priorSignature = options.priorSignature;
1567
+ this.eventStreamCodec = options.eventStreamCodec;
1568
+ this.messageSigner = options.messageSigner;
1569
+ this.systemClockOffsetProvider = options.systemClockOffsetProvider;
1570
+ this.staticCredentials = options.credentials?.();
1571
+ }
1572
+ async _transform(chunk, encoding, callback) {
1573
+ try {
1574
+ const now = new Date(Date.now() + await this.systemClockOffsetProvider());
1575
+ const dateHeader = {
1576
+ ":date": { type: "timestamp", value: now }
1577
+ };
1578
+ const signedMessage = await this.messageSigner.sign({
1579
+ message: {
1580
+ body: chunk,
1581
+ headers: dateHeader
1582
+ },
1583
+ priorSignature: this.priorSignature
1584
+ }, {
1585
+ signingDate: now,
1586
+ eventStreamCredentials: await this.staticCredentials
1587
+ });
1588
+ this.priorSignature = signedMessage.signature;
1589
+ const serializedSigned = this.eventStreamCodec.encode({
1590
+ headers: {
1591
+ ...dateHeader,
1592
+ ":chunk-signature": {
1593
+ type: "binary",
1594
+ value: getSignatureBinary(signedMessage.signature)
1595
+ }
1596
+ },
1597
+ body: chunk
1598
+ });
1599
+ this.push(serializedSigned);
1600
+ return callback();
1601
+ } catch (err) {
1602
+ callback(err);
1603
+ }
1604
+ }
1605
+ };
1606
+ });
1607
+
1608
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.14/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
1609
+ import { PassThrough, pipeline, Readable } from "stream";
1610
+
1611
+ class EventStreamPayloadHandler {
1612
+ messageSigner;
1613
+ eventStreamCodec;
1614
+ systemClockOffsetProvider;
1615
+ credentials;
1616
+ constructor(options) {
1617
+ this.messageSigner = options.messageSigner;
1618
+ this.eventStreamCodec = new EventStreamCodec(options.utf8Encoder, options.utf8Decoder);
1619
+ this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
1620
+ this.credentials = options.credentials;
1621
+ }
1622
+ async handle(next, args, context = {}) {
1623
+ const request = args.request;
1624
+ const { body: payload, query } = request;
1625
+ if (!(payload instanceof Readable)) {
1626
+ throw new Error("Eventstream payload must be a Readable stream.");
1627
+ }
1628
+ const payloadStream = payload;
1629
+ request.body = new PassThrough({
1630
+ objectMode: true
1631
+ });
1632
+ const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
1633
+ let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
1634
+ if (context.__staticSignature) {
1635
+ priorSignature = "";
1636
+ }
1637
+ const signingStream = new EventSigningTransformStream({
1638
+ priorSignature,
1639
+ eventStreamCodec: this.eventStreamCodec,
1640
+ messageSigner: await this.messageSigner(),
1641
+ systemClockOffsetProvider: this.systemClockOffsetProvider,
1642
+ credentials: this.credentials
1643
+ });
1644
+ let resolvePipeline;
1645
+ const pipelineError = new Promise((resolve, reject) => {
1646
+ resolvePipeline = () => resolve(undefined);
1647
+ pipeline(payloadStream, signingStream, request.body, (err) => {
1648
+ if (err) {
1649
+ reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
1650
+ }
1651
+ });
1652
+ });
1653
+ let result;
1654
+ try {
1655
+ result = await Promise.race([next(args), pipelineError]);
1656
+ } catch (e) {
1657
+ request.body.end();
1658
+ throw e;
1659
+ } finally {
1660
+ resolvePipeline();
1661
+ }
1662
+ return result;
1663
+ }
1664
+ }
1665
+ var init_EventStreamPayloadHandler = __esm(() => {
1666
+ init_dist_es7();
1667
+ init_EventSigningTransformStream();
1668
+ });
1669
+
1670
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.14/node_modules/@aws-sdk/eventstream-handler-node/dist-es/eventStreamPayloadHandlerProvider.js
1671
+ var eventStreamPayloadHandlerProvider2 = (options) => new EventStreamPayloadHandler(options);
1672
+ var init_eventStreamPayloadHandlerProvider2 = __esm(() => {
1673
+ init_EventStreamPayloadHandler();
1674
+ });
1675
+
1676
+ // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.14/node_modules/@aws-sdk/eventstream-handler-node/dist-es/index.js
1677
+ var init_dist_es11 = __esm(() => {
1678
+ init_eventStreamPayloadHandlerProvider2();
1679
+ });
1680
+
1681
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.14/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
1682
+ async function* readabletoIterable(readStream) {
1683
+ let streamEnded = false;
1684
+ let generationEnded = false;
1685
+ const records = new Array;
1686
+ readStream.on("error", (err) => {
1687
+ if (!streamEnded) {
1688
+ streamEnded = true;
1689
+ }
1690
+ if (err) {
1691
+ throw err;
1692
+ }
1693
+ });
1694
+ readStream.on("data", (data) => {
1695
+ records.push(data);
1696
+ });
1697
+ readStream.on("end", () => {
1698
+ streamEnded = true;
1699
+ });
1700
+ while (!generationEnded) {
1701
+ const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
1702
+ if (value) {
1703
+ yield value;
1704
+ }
1705
+ generationEnded = streamEnded && records.length === 0;
1706
+ }
1707
+ }
1708
+ var init_utils2 = () => {};
1709
+
1710
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.14/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
1711
+ import { Readable as Readable2 } from "stream";
1712
+
1713
+ class EventStreamMarshaller3 {
1714
+ universalMarshaller;
1715
+ constructor({ utf8Encoder, utf8Decoder }) {
1716
+ this.universalMarshaller = new EventStreamMarshaller({
1717
+ utf8Decoder,
1718
+ utf8Encoder
1719
+ });
1720
+ }
1721
+ deserialize(body, deserializer) {
1722
+ const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body);
1723
+ return this.universalMarshaller.deserialize(bodyIterable, deserializer);
1724
+ }
1725
+ serialize(input, serializer) {
1726
+ return Readable2.from(this.universalMarshaller.serialize(input, serializer));
1727
+ }
1728
+ }
1729
+ var init_EventStreamMarshaller2 = __esm(() => {
1730
+ init_dist_es8();
1731
+ init_utils2();
1732
+ });
1733
+
1734
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.14/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
1735
+ var eventStreamSerdeProvider = (options) => new EventStreamMarshaller3(options);
1736
+ var init_provider2 = __esm(() => {
1737
+ init_EventStreamMarshaller2();
1738
+ });
1739
+
1740
+ // node_modules/.bun/@smithy+eventstream-serde-node@4.2.14/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
1741
+ var init_dist_es12 = __esm(() => {
1742
+ init_EventStreamMarshaller2();
1743
+ init_provider2();
1744
+ });
1745
+
1746
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/bdd.js
1747
+ var import_util_endpoints, k = "ref", a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g, h, i, j, _data, root = 2, r = 1e8, nodes, bdd;
1748
+ var init_bdd = __esm(() => {
1749
+ import_util_endpoints = __toESM(require_dist_cjs15(), 1);
1750
+ g = { [k]: "Endpoint" };
1751
+ h = { [k]: d };
1752
+ i = {};
1753
+ j = [{ [k]: "Region" }];
1754
+ _data = {
1755
+ conditions: [
1756
+ [c, [g]],
1757
+ [c, j],
1758
+ ["aws.partition", j, d],
1759
+ [e, [{ [k]: "UseFIPS" }, b]],
1760
+ [e, [{ [k]: "UseDualStack" }, b]],
1761
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
1762
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
1763
+ ],
1764
+ results: [
1765
+ [a],
1766
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
1767
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
1768
+ [g, i],
1769
+ ["https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
1770
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
1771
+ ["https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}", i],
1772
+ [a, "FIPS is enabled but this partition does not support FIPS"],
1773
+ ["https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
1774
+ [a, "DualStack is enabled but this partition does not support DualStack"],
1775
+ ["https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}", i],
1776
+ [a, "Invalid Configuration: Missing Region"]
1777
+ ]
1778
+ };
1779
+ nodes = new Int32Array([
1780
+ -1,
1781
+ 1,
1782
+ -1,
1783
+ 0,
1784
+ 12,
1785
+ 3,
1786
+ 1,
1787
+ 4,
1788
+ r + 11,
1789
+ 2,
1790
+ 5,
1791
+ r + 11,
1792
+ 3,
1793
+ 8,
1794
+ 6,
1795
+ 4,
1796
+ 7,
1797
+ r + 10,
1798
+ 5,
1799
+ r + 8,
1800
+ r + 9,
1801
+ 4,
1802
+ 10,
1803
+ 9,
1804
+ 6,
1805
+ r + 6,
1806
+ r + 7,
1807
+ 5,
1808
+ 11,
1809
+ r + 5,
1810
+ 6,
1811
+ r + 4,
1812
+ r + 5,
1813
+ 3,
1814
+ r + 1,
1815
+ 13,
1816
+ 4,
1817
+ r + 2,
1818
+ r + 3
1819
+ ]);
1820
+ bdd = import_util_endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
1821
+ });
1822
+
1823
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
1824
+ var import_util_endpoints2, import_util_endpoints3, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
1825
+ return cache.get(endpointParams, () => import_util_endpoints3.decideEndpoint(bdd, {
1826
+ endpointParams,
1827
+ logger: context.logger
1828
+ }));
1829
+ };
1830
+ var init_endpointResolver = __esm(() => {
1831
+ init_bdd();
1832
+ import_util_endpoints2 = __toESM(require_dist_cjs16(), 1);
1833
+ import_util_endpoints3 = __toESM(require_dist_cjs15(), 1);
1834
+ cache = new import_util_endpoints3.EndpointCache({
1835
+ size: 50,
1836
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
1837
+ });
1838
+ import_util_endpoints3.customEndpointFunctions.aws = import_util_endpoints2.awsEndpointFunctions;
1839
+ });
1840
+
1841
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
1842
+ var import_smithy_client, BedrockRuntimeServiceException;
1843
+ var init_BedrockRuntimeServiceException = __esm(() => {
1844
+ import_smithy_client = __toESM(require_dist_cjs10(), 1);
1845
+ BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends import_smithy_client.ServiceException {
1846
+ constructor(options) {
1847
+ super(options);
1848
+ Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
1849
+ }
1850
+ };
1851
+ });
1852
+
1853
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/errors.js
1854
+ var AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException;
1855
+ var init_errors = __esm(() => {
1856
+ init_BedrockRuntimeServiceException();
1857
+ AccessDeniedException = class AccessDeniedException extends BedrockRuntimeServiceException {
1858
+ name = "AccessDeniedException";
1859
+ $fault = "client";
1860
+ constructor(opts) {
1861
+ super({
1862
+ name: "AccessDeniedException",
1863
+ $fault: "client",
1864
+ ...opts
1865
+ });
1866
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
1867
+ }
1868
+ };
1869
+ InternalServerException = class InternalServerException extends BedrockRuntimeServiceException {
1870
+ name = "InternalServerException";
1871
+ $fault = "server";
1872
+ constructor(opts) {
1873
+ super({
1874
+ name: "InternalServerException",
1875
+ $fault: "server",
1876
+ ...opts
1877
+ });
1878
+ Object.setPrototypeOf(this, InternalServerException.prototype);
1879
+ }
1880
+ };
1881
+ ThrottlingException = class ThrottlingException extends BedrockRuntimeServiceException {
1882
+ name = "ThrottlingException";
1883
+ $fault = "client";
1884
+ constructor(opts) {
1885
+ super({
1886
+ name: "ThrottlingException",
1887
+ $fault: "client",
1888
+ ...opts
1889
+ });
1890
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
1891
+ }
1892
+ };
1893
+ ValidationException = class ValidationException extends BedrockRuntimeServiceException {
1894
+ name = "ValidationException";
1895
+ $fault = "client";
1896
+ constructor(opts) {
1897
+ super({
1898
+ name: "ValidationException",
1899
+ $fault: "client",
1900
+ ...opts
1901
+ });
1902
+ Object.setPrototypeOf(this, ValidationException.prototype);
1903
+ }
1904
+ };
1905
+ ConflictException = class ConflictException extends BedrockRuntimeServiceException {
1906
+ name = "ConflictException";
1907
+ $fault = "client";
1908
+ constructor(opts) {
1909
+ super({
1910
+ name: "ConflictException",
1911
+ $fault: "client",
1912
+ ...opts
1913
+ });
1914
+ Object.setPrototypeOf(this, ConflictException.prototype);
1915
+ }
1916
+ };
1917
+ ResourceNotFoundException = class ResourceNotFoundException extends BedrockRuntimeServiceException {
1918
+ name = "ResourceNotFoundException";
1919
+ $fault = "client";
1920
+ constructor(opts) {
1921
+ super({
1922
+ name: "ResourceNotFoundException",
1923
+ $fault: "client",
1924
+ ...opts
1925
+ });
1926
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
1927
+ }
1928
+ };
1929
+ ServiceQuotaExceededException = class ServiceQuotaExceededException extends BedrockRuntimeServiceException {
1930
+ name = "ServiceQuotaExceededException";
1931
+ $fault = "client";
1932
+ constructor(opts) {
1933
+ super({
1934
+ name: "ServiceQuotaExceededException",
1935
+ $fault: "client",
1936
+ ...opts
1937
+ });
1938
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
1939
+ }
1940
+ };
1941
+ ServiceUnavailableException = class ServiceUnavailableException extends BedrockRuntimeServiceException {
1942
+ name = "ServiceUnavailableException";
1943
+ $fault = "server";
1944
+ constructor(opts) {
1945
+ super({
1946
+ name: "ServiceUnavailableException",
1947
+ $fault: "server",
1948
+ ...opts
1949
+ });
1950
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
1951
+ }
1952
+ };
1953
+ ModelErrorException = class ModelErrorException extends BedrockRuntimeServiceException {
1954
+ name = "ModelErrorException";
1955
+ $fault = "client";
1956
+ originalStatusCode;
1957
+ resourceName;
1958
+ constructor(opts) {
1959
+ super({
1960
+ name: "ModelErrorException",
1961
+ $fault: "client",
1962
+ ...opts
1963
+ });
1964
+ Object.setPrototypeOf(this, ModelErrorException.prototype);
1965
+ this.originalStatusCode = opts.originalStatusCode;
1966
+ this.resourceName = opts.resourceName;
1967
+ }
1968
+ };
1969
+ ModelNotReadyException = class ModelNotReadyException extends BedrockRuntimeServiceException {
1970
+ name = "ModelNotReadyException";
1971
+ $fault = "client";
1972
+ $retryable = {};
1973
+ constructor(opts) {
1974
+ super({
1975
+ name: "ModelNotReadyException",
1976
+ $fault: "client",
1977
+ ...opts
1978
+ });
1979
+ Object.setPrototypeOf(this, ModelNotReadyException.prototype);
1980
+ }
1981
+ };
1982
+ ModelTimeoutException = class ModelTimeoutException extends BedrockRuntimeServiceException {
1983
+ name = "ModelTimeoutException";
1984
+ $fault = "client";
1985
+ constructor(opts) {
1986
+ super({
1987
+ name: "ModelTimeoutException",
1988
+ $fault: "client",
1989
+ ...opts
1990
+ });
1991
+ Object.setPrototypeOf(this, ModelTimeoutException.prototype);
1992
+ }
1993
+ };
1994
+ ModelStreamErrorException = class ModelStreamErrorException extends BedrockRuntimeServiceException {
1995
+ name = "ModelStreamErrorException";
1996
+ $fault = "client";
1997
+ originalStatusCode;
1998
+ originalMessage;
1999
+ constructor(opts) {
2000
+ super({
2001
+ name: "ModelStreamErrorException",
2002
+ $fault: "client",
2003
+ ...opts
2004
+ });
2005
+ Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
2006
+ this.originalStatusCode = opts.originalStatusCode;
2007
+ this.originalMessage = opts.originalMessage;
2008
+ }
2009
+ };
2010
+ });
2011
+
2012
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js
2013
+ var import_schema, _A = "Accept", _AB = "AudioBlock", _ADE = "AccessDeniedException", _AG = "ApplyGuardrail", _AGD = "AppliedGuardrailDetails", _AGR = "ApplyGuardrailRequest", _AGRp = "ApplyGuardrailResponse", _AIM = "AsyncInvokeMessage", _AIODC = "AsyncInvokeOutputDataConfig", _AIS = "AsyncInvokeSummary", _AISODC = "AsyncInvokeS3OutputDataConfig", _AISs = "AsyncInvokeSummaries", _AS = "AudioSource", _ATC = "AnyToolChoice", _ATCu = "AutoToolChoice", _B = "Body", _BIPP = "BidirectionalInputPayloadPart", _BOPP = "BidirectionalOutputPayloadPart", _C = "Citation", _CB = "ContentBlocks", _CBD = "ContentBlockDelta", _CBDE = "ContentBlockDeltaEvent", _CBS = "ContentBlockStart", _CBSE = "ContentBlockStartEvent", _CBSEo = "ContentBlockStopEvent", _CBo = "ContentBlock", _CC = "CitationsConfig", _CCB = "CitationsContentBlock", _CD = "CacheDetail", _CDL = "CacheDetailsList", _CDi = "CitationsDelta", _CE = "ConflictException", _CGC = "CitationGeneratedContent", _CGCL = "CitationGeneratedContentList", _CL = "CitationLocation", _CM = "ConverseMetrics", _CO = "ConverseOutput", _CPB = "CachePointBlock", _CR = "ConverseRequest", _CRo = "ConverseResponse", _CS = "ConverseStream", _CSC = "CitationSourceContent", _CSCD = "CitationSourceContentDelta", _CSCL = "CitationSourceContentList", _CSCLD = "CitationSourceContentListDelta", _CSM = "ConverseStreamMetrics", _CSME = "ConverseStreamMetadataEvent", _CSO = "ConverseStreamOutput", _CSR = "ConverseStreamRequest", _CSRo = "ConverseStreamResponse", _CST = "ConverseStreamTrace", _CT = "ConverseTrace", _CTI = "CountTokensInput", _CTR = "ConverseTokensRequest", _CTRo = "CountTokensRequest", _CTRou = "CountTokensResponse", _CT_ = "Content-Type", _CTo = "CountTokens", _Ci = "Citations", _Co = "Converse", _DB = "DocumentBlock", _DCB = "DocumentContentBlocks", _DCBo = "DocumentContentBlock", _DCL = "DocumentCharLocation", _DCLo = "DocumentChunkLocation", _DPL = "DocumentPageLocation", _DS = "DocumentSource", _EB = "ErrorBlock", _GA = "GuardrailAssessment", _GAI = "GetAsyncInvoke", _GAIR = "GetAsyncInvokeRequest", _GAIRe = "GetAsyncInvokeResponse", _GAL = "GuardrailAssessmentList", _GALM = "GuardrailAssessmentListMap", _GAM = "GuardrailAssessmentMap", _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList", _GARF = "GuardrailAutomatedReasoningFinding", _GARFL = "GuardrailAutomatedReasoningFindingList", _GARIF = "GuardrailAutomatedReasoningImpossibleFinding", _GARIFu = "GuardrailAutomatedReasoningInvalidFinding", _GARITR = "GuardrailAutomatedReasoningInputTextReference", _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList", _GARLW = "GuardrailAutomatedReasoningLogicWarning", _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding", _GARPA = "GuardrailAutomatedReasoningPolicyAssessment", _GARR = "GuardrailAutomatedReasoningRule", _GARRL = "GuardrailAutomatedReasoningRuleList", _GARS = "GuardrailAutomatedReasoningScenario", _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding", _GARSL = "GuardrailAutomatedReasoningStatementList", _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent", _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent", _GARSu = "GuardrailAutomatedReasoningStatement", _GART = "GuardrailAutomatedReasoningTranslation", _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding", _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding", _GARTL = "GuardrailAutomatedReasoningTranslationList", _GARTO = "GuardrailAutomatedReasoningTranslationOption", _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList", _GARVF = "GuardrailAutomatedReasoningValidFinding", _GC = "GuardrailConfiguration", _GCB = "GuardrailContentBlock", _GCBL = "GuardrailContentBlockList", _GCCB = "GuardrailConverseContentBlock", _GCF = "GuardrailContentFilter", _GCFL = "GuardrailContentFilterList", _GCGF = "GuardrailContextualGroundingFilter", _GCGFu = "GuardrailContextualGroundingFilters", _GCGPA = "GuardrailContextualGroundingPolicyAssessment", _GCIB = "GuardrailConverseImageBlock", _GCIS = "GuardrailConverseImageSource", _GCPA = "GuardrailContentPolicyAssessment", _GCTB = "GuardrailConverseTextBlock", _GCW = "GuardrailCustomWord", _GCWL = "GuardrailCustomWordList", _GCu = "GuardrailCoverage", _GIB = "GuardrailImageBlock", _GIC = "GuardrailImageCoverage", _GIM = "GuardrailInvocationMetrics", _GIS = "GuardrailImageSource", _GMW = "GuardrailManagedWord", _GMWL = "GuardrailManagedWordList", _GOC = "GuardrailOutputContent", _GOCL = "GuardrailOutputContentList", _GPEF = "GuardrailPiiEntityFilter", _GPEFL = "GuardrailPiiEntityFilterList", _GRF = "GuardrailRegexFilter", _GRFL = "GuardrailRegexFilterList", _GSC = "GuardrailStreamConfiguration", _GSIPA = "GuardrailSensitiveInformationPolicyAssessment", _GT = "GuardrailTopic", _GTA = "GuardrailTraceAssessment", _GTB = "GuardrailTextBlock", _GTCC = "GuardrailTextCharactersCoverage", _GTL = "GuardrailTopicList", _GTPA = "GuardrailTopicPolicyAssessment", _GU = "GuardrailUsage", _GWPA = "GuardrailWordPolicyAssessment", _IB = "ImageBlock", _IBD = "ImageBlockDelta", _IBS = "ImageBlockStart", _IC = "InferenceConfiguration", _IM = "InvokeModel", _IMR = "InvokeModelRequest", _IMRn = "InvokeModelResponse", _IMTR = "InvokeModelTokensRequest", _IMWBS = "InvokeModelWithBidirectionalStream", _IMWBSI = "InvokeModelWithBidirectionalStreamInput", _IMWBSO = "InvokeModelWithBidirectionalStreamOutput", _IMWBSR = "InvokeModelWithBidirectionalStreamRequest", _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse", _IMWRS = "InvokeModelWithResponseStream", _IMWRSR = "InvokeModelWithResponseStreamRequest", _IMWRSRn = "InvokeModelWithResponseStreamResponse", _IS = "ImageSource", _ISE = "InternalServerException", _JSD = "JsonSchemaDefinition", _LAI = "ListAsyncInvokes", _LAIR = "ListAsyncInvokesRequest", _LAIRi = "ListAsyncInvokesResponse", _M = "Message", _MEE = "ModelErrorException", _MIP = "ModelInputPayload", _MNRE = "ModelNotReadyException", _MSE = "MessageStartEvent", _MSEE = "ModelStreamErrorException", _MSEe = "MessageStopEvent", _MTE = "ModelTimeoutException", _Me = "Messages", _OC = "OutputConfig", _OF = "OutputFormat", _OFS = "OutputFormatStructure", _PB = "PartBody", _PC = "PerformanceConfiguration", _PP = "PayloadPart", _PRT = "PromptRouterTrace", _PVM = "PromptVariableMap", _PVV = "PromptVariableValues", _RCB = "ReasoningContentBlock", _RCBD = "ReasoningContentBlockDelta", _RM = "RequestMetadata", _RNFE = "ResourceNotFoundException", _RS = "ResponseStream", _RTB = "ReasoningTextBlock", _SAI = "StartAsyncInvoke", _SAIR = "StartAsyncInvokeRequest", _SAIRt = "StartAsyncInvokeResponse", _SCB = "SystemContentBlocks", _SCBy = "SystemContentBlock", _SL = "S3Location", _SQEE = "ServiceQuotaExceededException", _SRB = "SearchResultBlock", _SRCB = "SearchResultContentBlock", _SRCBe = "SearchResultContentBlocks", _SRL = "SearchResultLocation", _ST = "ServiceTier", _STC = "SpecificToolChoice", _STy = "SystemTool", _SUE = "ServiceUnavailableException", _T = "Tag", _TC = "ToolConfiguration", _TCo = "ToolChoice", _TE = "ThrottlingException", _TIS = "ToolInputSchema", _TL = "TagList", _TRB = "ToolResultBlock", _TRBD = "ToolResultBlocksDelta", _TRBDo = "ToolResultBlockDelta", _TRBS = "ToolResultBlockStart", _TRCB = "ToolResultContentBlocks", _TRCBo = "ToolResultContentBlock", _TS = "ToolSpecification", _TU = "TokenUsage", _TUB = "ToolUseBlock", _TUBD = "ToolUseBlockDelta", _TUBS = "ToolUseBlockStart", _To = "Tools", _Too = "Tool", _VB = "VideoBlock", _VE = "ValidationException", _VS = "VideoSource", _WL = "WebLocation", _XABA = "X-Amzn-Bedrock-Accept", _XABCT = "X-Amzn-Bedrock-Content-Type", _XABG = "X-Amzn-Bedrock-GuardrailIdentifier", _XABG_ = "X-Amzn-Bedrock-GuardrailVersion", _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency", _XABST = "X-Amzn-Bedrock-Service-Tier", _XABT = "X-Amzn-Bedrock-Trace", _a = "action", _aGD = "appliedGuardrailDetails", _aIS = "asyncInvokeSummaries", _aMRF = "additionalModelRequestFields", _aMRFP = "additionalModelResponseFieldPaths", _aMRFd = "additionalModelResponseFields", _aR = "actionReason", _aRP = "automatedReasoningPolicy", _aRPU = "automatedReasoningPolicyUnits", _aRPu = "automatedReasoningPolicies", _ac = "accept", _an = "any", _as = "assessments", _au = "audio", _aut = "auto", _b = "bytes", _bO = "bucketOwner", _bo = "body", _c = "client", _cBD = "contentBlockDelta", _cBI = "contentBlockIndex", _cBS = "contentBlockStart", _cBSo = "contentBlockStop", _cC = "citationsContent", _cD = "cacheDetails", _cFS = "claimsFalseScenario", _cGP = "contextualGroundingPolicy", _cGPU = "contextualGroundingPolicyUnits", _cP = "contentPolicy", _cPIU = "contentPolicyImageUnits", _cPU = "contentPolicyUnits", _cPa = "cachePoint", _cR = "contradictingRules", _cRIT = "cacheReadInputTokens", _cRT = "clientRequestToken", _cT = "contentType", _cTS = "claimsTrueScenario", _cW = "customWords", _cWIT = "cacheWriteInputTokens", _ch = "chunk", _ci = "citations", _cit = "citation", _cl = "claims", _co = "content", _con = "context", _conf = "confidence", _conv = "converse", _d = "delta", _dC = "documentChar", _dCo = "documentChunk", _dI = "documentIndex", _dP = "documentPage", _dS = "differenceScenarios", _de = "detected", _des = "description", _do = "domain", _doc = "document", _e = "error", _eT = "endTime", _en = "enabled", _end = "end", _f = "format", _fM = "failureMessage", _fS = "filterStrength", _fi = "findings", _fil = "filters", _g = "guardrail", _gA = "guardrailArn", _gC = "guardrailCoverage", _gCu = "guardrailConfig", _gCua = "guardContent", _gI = "guardrailId", _gIu = "guardrailIdentifier", _gO = "guardrailOrigin", _gOu = "guardrailOwnership", _gPL = "guardrailProcessingLatency", _gV = "guardrailVersion", _gu = "guarded", _h = "http", _hE = "httpError", _hH = "httpHeader", _hQ = "httpQuery", _i = "input", _iA = "invocationArn", _iAn = "inputAssessment", _iC = "inferenceConfig", _iM = "invocationMetrics", _iMI = "invokedModelId", _iMn = "invokeModel", _iS = "inputSchema", _iSE = "internalServerException", _iT = "inputTokens", _id = "identifier", _im = "images", _ima = "image", _imp = "impossible", _in = "invalid", _j = "json", _jS = "jsonSchema", _k = "key", _kKI = "kmsKeyId", _l = "location", _lM = "latencyMs", _lMT = "lastModifiedTime", _lW = "logicWarning", _la = "latency", _lo = "logic", _m = "message", _mA = "modelArn", _mI = "modelId", _mIo = "modelInput", _mO = "modelOutput", _mR = "maxResults", _mS = "messageStart", _mSEE = "modelStreamErrorException", _mSe = "messageStop", _mT = "maxTokens", _mTE = "modelTimeoutException", _mWL = "managedWordLists", _ma = "match", _me = "messages", _met = "metrics", _meta = "metadata", _n = "name", _nL = "naturalLanguage", _nT = "nextToken", _nTo = "noTranslations", _o = "outputs", _oA = "outputAssessments", _oC = "outputConfig", _oDC = "outputDataConfig", _oM = "originalMessage", _oS = "outputScope", _oSC = "originalStatusCode", _oT = "outputTokens", _op = "options", _ou = "output", _p = "premises", _pC = "performanceConfig", _pCL = "performanceConfigLatency", _pE = "piiEntities", _pR = "promptRouter", _pV = "promptVariables", _pVA = "policyVersionArn", _q = "qualifiers", _r = "regex", _rC = "reasoningContent", _rCe = "redactedContent", _rM = "requestMetadata", _rN = "resourceName", _rT = "reasoningText", _re = "regexes", _ro = "role", _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime", _sB = "sortBy", _sC = "sourceContent", _sE = "statusEquals", _sIP = "sensitiveInformationPolicy", _sIPFU = "sensitiveInformationPolicyFreeUnits", _sIPU = "sensitiveInformationPolicyUnits", _sL = "s3Location", _sO = "sortOrder", _sODC = "s3OutputDataConfig", _sPM = "streamProcessingMode", _sR = "stopReason", _sRI = "searchResultIndex", _sRL = "searchResultLocation", _sRe = "searchResult", _sRu = "supportingRules", _sS = "stopSequences", _sT = "submitTime", _sTA = "submitTimeAfter", _sTB = "submitTimeBefore", _sTe = "serviceTier", _sTy = "systemTool", _sU = "s3Uri", _sUE = "serviceUnavailableException", _sa = "satisfiable", _sc = "score", _sch = "schema", _se = "server", _si = "signature", _so = "source", _st = "status", _sta = "start", _stat = "statements", _str = "stream", _stre = "streaming", _stri = "strict", _stru = "structure", _sy = "system", _t = "ttl", _tA = "translationAmbiguous", _tC = "toolConfig", _tCe = "textCharacters", _tCo = "toolChoice", _tCoo = "tooComplex", _tE = "throttlingException", _tF = "textFormat", _tP = "topicPolicy", _tPU = "topicPolicyUnits", _tPo = "topP", _tR = "toolResult", _tS = "toolSpec", _tT = "totalTokens", _tU = "toolUse", _tUI = "toolUseId", _ta = "tags", _te = "text", _tem = "temperature", _th = "threshold", _ti = "title", _to = "total", _too = "tools", _tool = "tool", _top = "topics", _tr = "trace", _tra = "translation", _tran = "translations", _ty = "type", _u = "usage", _uC = "untranslatedClaims", _uP = "untranslatedPremises", _ur = "uri", _url = "url", _v = "value", _vE = "validationException", _va = "valid", _vi = "video", _w = "web", _wP = "wordPolicy", _wPU = "wordPolicyUnits", n0 = "com.amazonaws.bedrockruntime", _s_registry, BedrockRuntimeServiceException$, n0_registry, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AsyncInvokeMessage, Body, GuardrailAutomatedReasoningStatementLogicContent, GuardrailAutomatedReasoningStatementNaturalLanguageContent, ModelInputPayload, PartBody, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AdditionalModelResponseFieldPaths, AsyncInvokeSummaries, CacheDetailsList, CitationGeneratedContentList, Citations, CitationSourceContentList, CitationSourceContentListDelta, ContentBlocks, DocumentContentBlocks, GuardrailAssessmentList, GuardrailAutomatedReasoningDifferenceScenarioList, GuardrailAutomatedReasoningFindingList, GuardrailAutomatedReasoningInputTextReferenceList, GuardrailAutomatedReasoningRuleList, GuardrailAutomatedReasoningStatementList, GuardrailAutomatedReasoningTranslationList, GuardrailAutomatedReasoningTranslationOptionList, GuardrailContentBlockList, GuardrailContentFilterList, GuardrailContentQualifierList, GuardrailContextualGroundingFilters, GuardrailConverseContentQualifierList, GuardrailCustomWordList, GuardrailManagedWordList, GuardrailOriginList, GuardrailOutputContentList, GuardrailPiiEntityFilterList, GuardrailRegexFilterList, GuardrailTopicList, Messages, ModelOutputs, NonEmptyStringList, SearchResultContentBlocks, SystemContentBlocks, TagList, ToolResultBlocksDelta, ToolResultContentBlocks, Tools, GuardrailAssessmentListMap, GuardrailAssessmentMap, PromptVariableMap, RequestMetadata, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$;
2014
+ var init_schemas_0 = __esm(() => {
2015
+ init_BedrockRuntimeServiceException();
2016
+ init_errors();
2017
+ import_schema = __toESM(require_schema(), 1);
2018
+ _s_registry = import_schema.TypeRegistry.for(_s);
2019
+ BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
2020
+ _s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
2021
+ n0_registry = import_schema.TypeRegistry.for(n0);
2022
+ AccessDeniedException$ = [
2023
+ -3,
2024
+ n0,
2025
+ _ADE,
2026
+ { [_e]: _c, [_hE]: 403 },
2027
+ [_m],
2028
+ [0]
2029
+ ];
2030
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
2031
+ ConflictException$ = [
2032
+ -3,
2033
+ n0,
2034
+ _CE,
2035
+ { [_e]: _c, [_hE]: 400 },
2036
+ [_m],
2037
+ [0]
2038
+ ];
2039
+ n0_registry.registerError(ConflictException$, ConflictException);
2040
+ InternalServerException$ = [
2041
+ -3,
2042
+ n0,
2043
+ _ISE,
2044
+ { [_e]: _se, [_hE]: 500 },
2045
+ [_m],
2046
+ [0]
2047
+ ];
2048
+ n0_registry.registerError(InternalServerException$, InternalServerException);
2049
+ ModelErrorException$ = [
2050
+ -3,
2051
+ n0,
2052
+ _MEE,
2053
+ { [_e]: _c, [_hE]: 424 },
2054
+ [_m, _oSC, _rN],
2055
+ [0, 1, 0]
2056
+ ];
2057
+ n0_registry.registerError(ModelErrorException$, ModelErrorException);
2058
+ ModelNotReadyException$ = [
2059
+ -3,
2060
+ n0,
2061
+ _MNRE,
2062
+ { [_e]: _c, [_hE]: 429 },
2063
+ [_m],
2064
+ [0]
2065
+ ];
2066
+ n0_registry.registerError(ModelNotReadyException$, ModelNotReadyException);
2067
+ ModelStreamErrorException$ = [
2068
+ -3,
2069
+ n0,
2070
+ _MSEE,
2071
+ { [_e]: _c, [_hE]: 424 },
2072
+ [_m, _oSC, _oM],
2073
+ [0, 1, 0]
2074
+ ];
2075
+ n0_registry.registerError(ModelStreamErrorException$, ModelStreamErrorException);
2076
+ ModelTimeoutException$ = [
2077
+ -3,
2078
+ n0,
2079
+ _MTE,
2080
+ { [_e]: _c, [_hE]: 408 },
2081
+ [_m],
2082
+ [0]
2083
+ ];
2084
+ n0_registry.registerError(ModelTimeoutException$, ModelTimeoutException);
2085
+ ResourceNotFoundException$ = [
2086
+ -3,
2087
+ n0,
2088
+ _RNFE,
2089
+ { [_e]: _c, [_hE]: 404 },
2090
+ [_m],
2091
+ [0]
2092
+ ];
2093
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
2094
+ ServiceQuotaExceededException$ = [
2095
+ -3,
2096
+ n0,
2097
+ _SQEE,
2098
+ { [_e]: _c, [_hE]: 400 },
2099
+ [_m],
2100
+ [0]
2101
+ ];
2102
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
2103
+ ServiceUnavailableException$ = [
2104
+ -3,
2105
+ n0,
2106
+ _SUE,
2107
+ { [_e]: _se, [_hE]: 503 },
2108
+ [_m],
2109
+ [0]
2110
+ ];
2111
+ n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
2112
+ ThrottlingException$ = [
2113
+ -3,
2114
+ n0,
2115
+ _TE,
2116
+ { [_e]: _c, [_hE]: 429 },
2117
+ [_m],
2118
+ [0]
2119
+ ];
2120
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
2121
+ ValidationException$ = [
2122
+ -3,
2123
+ n0,
2124
+ _VE,
2125
+ { [_e]: _c, [_hE]: 400 },
2126
+ [_m],
2127
+ [0]
2128
+ ];
2129
+ n0_registry.registerError(ValidationException$, ValidationException);
2130
+ errorTypeRegistries = [
2131
+ _s_registry,
2132
+ n0_registry
2133
+ ];
2134
+ AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
2135
+ Body = [0, n0, _B, 8, 21];
2136
+ GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
2137
+ GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
2138
+ ModelInputPayload = [0, n0, _MIP, 8, 15];
2139
+ PartBody = [0, n0, _PB, 8, 21];
2140
+ AnyToolChoice$ = [
2141
+ 3,
2142
+ n0,
2143
+ _ATC,
2144
+ 0,
2145
+ [],
2146
+ []
2147
+ ];
2148
+ AppliedGuardrailDetails$ = [
2149
+ 3,
2150
+ n0,
2151
+ _AGD,
2152
+ 0,
2153
+ [_gI, _gV, _gA, _gO, _gOu],
2154
+ [0, 0, 0, 64 | 0, 0]
2155
+ ];
2156
+ ApplyGuardrailRequest$ = [
2157
+ 3,
2158
+ n0,
2159
+ _AGR,
2160
+ 0,
2161
+ [_gIu, _gV, _so, _co, _oS],
2162
+ [[0, 1], [0, 1], 0, [() => GuardrailContentBlockList, 0], 0],
2163
+ 4
2164
+ ];
2165
+ ApplyGuardrailResponse$ = [
2166
+ 3,
2167
+ n0,
2168
+ _AGRp,
2169
+ 0,
2170
+ [_u, _a, _o, _as, _aR, _gC],
2171
+ [() => GuardrailUsage$, 0, () => GuardrailOutputContentList, [() => GuardrailAssessmentList, 0], 0, () => GuardrailCoverage$],
2172
+ 4
2173
+ ];
2174
+ AsyncInvokeS3OutputDataConfig$ = [
2175
+ 3,
2176
+ n0,
2177
+ _AISODC,
2178
+ 0,
2179
+ [_sU, _kKI, _bO],
2180
+ [0, 0, 0],
2181
+ 1
2182
+ ];
2183
+ AsyncInvokeSummary$ = [
2184
+ 3,
2185
+ n0,
2186
+ _AIS,
2187
+ 0,
2188
+ [_iA, _mA, _sT, _oDC, _cRT, _st, _fM, _lMT, _eT],
2189
+ [0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5],
2190
+ 4
2191
+ ];
2192
+ AudioBlock$ = [
2193
+ 3,
2194
+ n0,
2195
+ _AB,
2196
+ 0,
2197
+ [_f, _so, _e],
2198
+ [0, [() => AudioSource$, 0], [() => ErrorBlock$, 0]],
2199
+ 2
2200
+ ];
2201
+ AutoToolChoice$ = [
2202
+ 3,
2203
+ n0,
2204
+ _ATCu,
2205
+ 0,
2206
+ [],
2207
+ []
2208
+ ];
2209
+ BidirectionalInputPayloadPart$ = [
2210
+ 3,
2211
+ n0,
2212
+ _BIPP,
2213
+ 8,
2214
+ [_b],
2215
+ [[() => PartBody, 0]]
2216
+ ];
2217
+ BidirectionalOutputPayloadPart$ = [
2218
+ 3,
2219
+ n0,
2220
+ _BOPP,
2221
+ 8,
2222
+ [_b],
2223
+ [[() => PartBody, 0]]
2224
+ ];
2225
+ CacheDetail$ = [
2226
+ 3,
2227
+ n0,
2228
+ _CD,
2229
+ 0,
2230
+ [_t, _iT],
2231
+ [0, 1],
2232
+ 2
2233
+ ];
2234
+ CachePointBlock$ = [
2235
+ 3,
2236
+ n0,
2237
+ _CPB,
2238
+ 0,
2239
+ [_ty, _t],
2240
+ [0, 0],
2241
+ 1
2242
+ ];
2243
+ Citation$ = [
2244
+ 3,
2245
+ n0,
2246
+ _C,
2247
+ 0,
2248
+ [_ti, _so, _sC, _l],
2249
+ [0, 0, () => CitationSourceContentList, () => CitationLocation$]
2250
+ ];
2251
+ CitationsConfig$ = [
2252
+ 3,
2253
+ n0,
2254
+ _CC,
2255
+ 0,
2256
+ [_en],
2257
+ [2],
2258
+ 1
2259
+ ];
2260
+ CitationsContentBlock$ = [
2261
+ 3,
2262
+ n0,
2263
+ _CCB,
2264
+ 0,
2265
+ [_co, _ci],
2266
+ [() => CitationGeneratedContentList, () => Citations]
2267
+ ];
2268
+ CitationsDelta$ = [
2269
+ 3,
2270
+ n0,
2271
+ _CDi,
2272
+ 0,
2273
+ [_ti, _so, _sC, _l],
2274
+ [0, 0, () => CitationSourceContentListDelta, () => CitationLocation$]
2275
+ ];
2276
+ CitationSourceContentDelta$ = [
2277
+ 3,
2278
+ n0,
2279
+ _CSCD,
2280
+ 0,
2281
+ [_te],
2282
+ [0]
2283
+ ];
2284
+ ContentBlockDeltaEvent$ = [
2285
+ 3,
2286
+ n0,
2287
+ _CBDE,
2288
+ 0,
2289
+ [_d, _cBI],
2290
+ [[() => ContentBlockDelta$, 0], 1],
2291
+ 2
2292
+ ];
2293
+ ContentBlockStartEvent$ = [
2294
+ 3,
2295
+ n0,
2296
+ _CBSE,
2297
+ 0,
2298
+ [_sta, _cBI],
2299
+ [() => ContentBlockStart$, 1],
2300
+ 2
2301
+ ];
2302
+ ContentBlockStopEvent$ = [
2303
+ 3,
2304
+ n0,
2305
+ _CBSEo,
2306
+ 0,
2307
+ [_cBI],
2308
+ [1],
2309
+ 1
2310
+ ];
2311
+ ConverseMetrics$ = [
2312
+ 3,
2313
+ n0,
2314
+ _CM,
2315
+ 0,
2316
+ [_lM],
2317
+ [1],
2318
+ 1
2319
+ ];
2320
+ ConverseRequest$ = [
2321
+ 3,
2322
+ n0,
2323
+ _CR,
2324
+ 0,
2325
+ [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
2326
+ [[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
2327
+ 1
2328
+ ];
2329
+ ConverseResponse$ = [
2330
+ 3,
2331
+ n0,
2332
+ _CRo,
2333
+ 0,
2334
+ [_ou, _sR, _u, _met, _aMRFd, _tr, _pC, _sTe],
2335
+ [[() => ConverseOutput$, 0], 0, () => TokenUsage$, () => ConverseMetrics$, 15, [() => ConverseTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
2336
+ 4
2337
+ ];
2338
+ ConverseStreamMetadataEvent$ = [
2339
+ 3,
2340
+ n0,
2341
+ _CSME,
2342
+ 0,
2343
+ [_u, _met, _tr, _pC, _sTe],
2344
+ [() => TokenUsage$, () => ConverseStreamMetrics$, [() => ConverseStreamTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
2345
+ 2
2346
+ ];
2347
+ ConverseStreamMetrics$ = [
2348
+ 3,
2349
+ n0,
2350
+ _CSM,
2351
+ 0,
2352
+ [_lM],
2353
+ [1],
2354
+ 1
2355
+ ];
2356
+ ConverseStreamRequest$ = [
2357
+ 3,
2358
+ n0,
2359
+ _CSR,
2360
+ 0,
2361
+ [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
2362
+ [[0, 1], [() => Messages, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailStreamConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
2363
+ 1
2364
+ ];
2365
+ ConverseStreamResponse$ = [
2366
+ 3,
2367
+ n0,
2368
+ _CSRo,
2369
+ 0,
2370
+ [_str],
2371
+ [[() => ConverseStreamOutput$, 16]]
2372
+ ];
2373
+ ConverseStreamTrace$ = [
2374
+ 3,
2375
+ n0,
2376
+ _CST,
2377
+ 0,
2378
+ [_g, _pR],
2379
+ [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
2380
+ ];
2381
+ ConverseTokensRequest$ = [
2382
+ 3,
2383
+ n0,
2384
+ _CTR,
2385
+ 0,
2386
+ [_me, _sy, _tC, _aMRF],
2387
+ [[() => Messages, 0], [() => SystemContentBlocks, 0], () => ToolConfiguration$, 15]
2388
+ ];
2389
+ ConverseTrace$ = [
2390
+ 3,
2391
+ n0,
2392
+ _CT,
2393
+ 0,
2394
+ [_g, _pR],
2395
+ [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
2396
+ ];
2397
+ CountTokensRequest$ = [
2398
+ 3,
2399
+ n0,
2400
+ _CTRo,
2401
+ 0,
2402
+ [_mI, _i],
2403
+ [[0, 1], [() => CountTokensInput$, 0]],
2404
+ 2
2405
+ ];
2406
+ CountTokensResponse$ = [
2407
+ 3,
2408
+ n0,
2409
+ _CTRou,
2410
+ 0,
2411
+ [_iT],
2412
+ [1],
2413
+ 1
2414
+ ];
2415
+ DocumentBlock$ = [
2416
+ 3,
2417
+ n0,
2418
+ _DB,
2419
+ 0,
2420
+ [_n, _so, _f, _con, _ci],
2421
+ [0, () => DocumentSource$, 0, 0, () => CitationsConfig$],
2422
+ 2
2423
+ ];
2424
+ DocumentCharLocation$ = [
2425
+ 3,
2426
+ n0,
2427
+ _DCL,
2428
+ 0,
2429
+ [_dI, _sta, _end],
2430
+ [1, 1, 1]
2431
+ ];
2432
+ DocumentChunkLocation$ = [
2433
+ 3,
2434
+ n0,
2435
+ _DCLo,
2436
+ 0,
2437
+ [_dI, _sta, _end],
2438
+ [1, 1, 1]
2439
+ ];
2440
+ DocumentPageLocation$ = [
2441
+ 3,
2442
+ n0,
2443
+ _DPL,
2444
+ 0,
2445
+ [_dI, _sta, _end],
2446
+ [1, 1, 1]
2447
+ ];
2448
+ ErrorBlock$ = [
2449
+ 3,
2450
+ n0,
2451
+ _EB,
2452
+ 8,
2453
+ [_m],
2454
+ [0]
2455
+ ];
2456
+ GetAsyncInvokeRequest$ = [
2457
+ 3,
2458
+ n0,
2459
+ _GAIR,
2460
+ 0,
2461
+ [_iA],
2462
+ [[0, 1]],
2463
+ 1
2464
+ ];
2465
+ GetAsyncInvokeResponse$ = [
2466
+ 3,
2467
+ n0,
2468
+ _GAIRe,
2469
+ 0,
2470
+ [_iA, _mA, _st, _sT, _oDC, _cRT, _fM, _lMT, _eT],
2471
+ [0, 0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, [() => AsyncInvokeMessage, 0], 5, 5],
2472
+ 5
2473
+ ];
2474
+ GuardrailAssessment$ = [
2475
+ 3,
2476
+ n0,
2477
+ _GA,
2478
+ 0,
2479
+ [_tP, _cP, _wP, _sIP, _cGP, _aRP, _iM, _aGD],
2480
+ [() => GuardrailTopicPolicyAssessment$, () => GuardrailContentPolicyAssessment$, () => GuardrailWordPolicyAssessment$, () => GuardrailSensitiveInformationPolicyAssessment$, () => GuardrailContextualGroundingPolicyAssessment$, [() => GuardrailAutomatedReasoningPolicyAssessment$, 0], () => GuardrailInvocationMetrics$, () => AppliedGuardrailDetails$]
2481
+ ];
2482
+ GuardrailAutomatedReasoningImpossibleFinding$ = [
2483
+ 3,
2484
+ n0,
2485
+ _GARIF,
2486
+ 0,
2487
+ [_tra, _cR, _lW],
2488
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2489
+ ];
2490
+ GuardrailAutomatedReasoningInputTextReference$ = [
2491
+ 3,
2492
+ n0,
2493
+ _GARITR,
2494
+ 0,
2495
+ [_te],
2496
+ [[() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
2497
+ ];
2498
+ GuardrailAutomatedReasoningInvalidFinding$ = [
2499
+ 3,
2500
+ n0,
2501
+ _GARIFu,
2502
+ 0,
2503
+ [_tra, _cR, _lW],
2504
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2505
+ ];
2506
+ GuardrailAutomatedReasoningLogicWarning$ = [
2507
+ 3,
2508
+ n0,
2509
+ _GARLW,
2510
+ 0,
2511
+ [_ty, _p, _cl],
2512
+ [0, [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0]]
2513
+ ];
2514
+ GuardrailAutomatedReasoningNoTranslationsFinding$ = [
2515
+ 3,
2516
+ n0,
2517
+ _GARNTF,
2518
+ 0,
2519
+ [],
2520
+ []
2521
+ ];
2522
+ GuardrailAutomatedReasoningPolicyAssessment$ = [
2523
+ 3,
2524
+ n0,
2525
+ _GARPA,
2526
+ 0,
2527
+ [_fi],
2528
+ [[() => GuardrailAutomatedReasoningFindingList, 0]]
2529
+ ];
2530
+ GuardrailAutomatedReasoningRule$ = [
2531
+ 3,
2532
+ n0,
2533
+ _GARR,
2534
+ 0,
2535
+ [_id, _pVA],
2536
+ [0, 0]
2537
+ ];
2538
+ GuardrailAutomatedReasoningSatisfiableFinding$ = [
2539
+ 3,
2540
+ n0,
2541
+ _GARSF,
2542
+ 0,
2543
+ [_tra, _cTS, _cFS, _lW],
2544
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2545
+ ];
2546
+ GuardrailAutomatedReasoningScenario$ = [
2547
+ 3,
2548
+ n0,
2549
+ _GARS,
2550
+ 0,
2551
+ [_stat],
2552
+ [[() => GuardrailAutomatedReasoningStatementList, 0]]
2553
+ ];
2554
+ GuardrailAutomatedReasoningStatement$ = [
2555
+ 3,
2556
+ n0,
2557
+ _GARSu,
2558
+ 0,
2559
+ [_lo, _nL],
2560
+ [[() => GuardrailAutomatedReasoningStatementLogicContent, 0], [() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
2561
+ ];
2562
+ GuardrailAutomatedReasoningTooComplexFinding$ = [
2563
+ 3,
2564
+ n0,
2565
+ _GARTCF,
2566
+ 0,
2567
+ [],
2568
+ []
2569
+ ];
2570
+ GuardrailAutomatedReasoningTranslation$ = [
2571
+ 3,
2572
+ n0,
2573
+ _GART,
2574
+ 0,
2575
+ [_p, _cl, _uP, _uC, _conf],
2576
+ [[() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], 1]
2577
+ ];
2578
+ GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = [
2579
+ 3,
2580
+ n0,
2581
+ _GARTAF,
2582
+ 0,
2583
+ [_op, _dS],
2584
+ [[() => GuardrailAutomatedReasoningTranslationOptionList, 0], [() => GuardrailAutomatedReasoningDifferenceScenarioList, 0]]
2585
+ ];
2586
+ GuardrailAutomatedReasoningTranslationOption$ = [
2587
+ 3,
2588
+ n0,
2589
+ _GARTO,
2590
+ 0,
2591
+ [_tran],
2592
+ [[() => GuardrailAutomatedReasoningTranslationList, 0]]
2593
+ ];
2594
+ GuardrailAutomatedReasoningValidFinding$ = [
2595
+ 3,
2596
+ n0,
2597
+ _GARVF,
2598
+ 0,
2599
+ [_tra, _cTS, _sRu, _lW],
2600
+ [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
2601
+ ];
2602
+ GuardrailConfiguration$ = [
2603
+ 3,
2604
+ n0,
2605
+ _GC,
2606
+ 0,
2607
+ [_gIu, _gV, _tr],
2608
+ [0, 0, 0]
2609
+ ];
2610
+ GuardrailContentFilter$ = [
2611
+ 3,
2612
+ n0,
2613
+ _GCF,
2614
+ 0,
2615
+ [_ty, _conf, _a, _fS, _de],
2616
+ [0, 0, 0, 0, 2],
2617
+ 3
2618
+ ];
2619
+ GuardrailContentPolicyAssessment$ = [
2620
+ 3,
2621
+ n0,
2622
+ _GCPA,
2623
+ 0,
2624
+ [_fil],
2625
+ [() => GuardrailContentFilterList],
2626
+ 1
2627
+ ];
2628
+ GuardrailContextualGroundingFilter$ = [
2629
+ 3,
2630
+ n0,
2631
+ _GCGF,
2632
+ 0,
2633
+ [_ty, _th, _sc, _a, _de],
2634
+ [0, 1, 1, 0, 2],
2635
+ 4
2636
+ ];
2637
+ GuardrailContextualGroundingPolicyAssessment$ = [
2638
+ 3,
2639
+ n0,
2640
+ _GCGPA,
2641
+ 0,
2642
+ [_fil],
2643
+ [() => GuardrailContextualGroundingFilters]
2644
+ ];
2645
+ GuardrailConverseImageBlock$ = [
2646
+ 3,
2647
+ n0,
2648
+ _GCIB,
2649
+ 8,
2650
+ [_f, _so],
2651
+ [0, [() => GuardrailConverseImageSource$, 0]],
2652
+ 2
2653
+ ];
2654
+ GuardrailConverseTextBlock$ = [
2655
+ 3,
2656
+ n0,
2657
+ _GCTB,
2658
+ 0,
2659
+ [_te, _q],
2660
+ [0, 64 | 0],
2661
+ 1
2662
+ ];
2663
+ GuardrailCoverage$ = [
2664
+ 3,
2665
+ n0,
2666
+ _GCu,
2667
+ 0,
2668
+ [_tCe, _im],
2669
+ [() => GuardrailTextCharactersCoverage$, () => GuardrailImageCoverage$]
2670
+ ];
2671
+ GuardrailCustomWord$ = [
2672
+ 3,
2673
+ n0,
2674
+ _GCW,
2675
+ 0,
2676
+ [_ma, _a, _de],
2677
+ [0, 0, 2],
2678
+ 2
2679
+ ];
2680
+ GuardrailImageBlock$ = [
2681
+ 3,
2682
+ n0,
2683
+ _GIB,
2684
+ 8,
2685
+ [_f, _so],
2686
+ [0, [() => GuardrailImageSource$, 0]],
2687
+ 2
2688
+ ];
2689
+ GuardrailImageCoverage$ = [
2690
+ 3,
2691
+ n0,
2692
+ _GIC,
2693
+ 0,
2694
+ [_gu, _to],
2695
+ [1, 1]
2696
+ ];
2697
+ GuardrailInvocationMetrics$ = [
2698
+ 3,
2699
+ n0,
2700
+ _GIM,
2701
+ 0,
2702
+ [_gPL, _u, _gC],
2703
+ [1, () => GuardrailUsage$, () => GuardrailCoverage$]
2704
+ ];
2705
+ GuardrailManagedWord$ = [
2706
+ 3,
2707
+ n0,
2708
+ _GMW,
2709
+ 0,
2710
+ [_ma, _ty, _a, _de],
2711
+ [0, 0, 0, 2],
2712
+ 3
2713
+ ];
2714
+ GuardrailOutputContent$ = [
2715
+ 3,
2716
+ n0,
2717
+ _GOC,
2718
+ 0,
2719
+ [_te],
2720
+ [0]
2721
+ ];
2722
+ GuardrailPiiEntityFilter$ = [
2723
+ 3,
2724
+ n0,
2725
+ _GPEF,
2726
+ 0,
2727
+ [_ma, _ty, _a, _de],
2728
+ [0, 0, 0, 2],
2729
+ 3
2730
+ ];
2731
+ GuardrailRegexFilter$ = [
2732
+ 3,
2733
+ n0,
2734
+ _GRF,
2735
+ 0,
2736
+ [_a, _n, _ma, _r, _de],
2737
+ [0, 0, 0, 0, 2],
2738
+ 1
2739
+ ];
2740
+ GuardrailSensitiveInformationPolicyAssessment$ = [
2741
+ 3,
2742
+ n0,
2743
+ _GSIPA,
2744
+ 0,
2745
+ [_pE, _re],
2746
+ [() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList],
2747
+ 2
2748
+ ];
2749
+ GuardrailStreamConfiguration$ = [
2750
+ 3,
2751
+ n0,
2752
+ _GSC,
2753
+ 0,
2754
+ [_gIu, _gV, _tr, _sPM],
2755
+ [0, 0, 0, 0]
2756
+ ];
2757
+ GuardrailTextBlock$ = [
2758
+ 3,
2759
+ n0,
2760
+ _GTB,
2761
+ 0,
2762
+ [_te, _q],
2763
+ [0, 64 | 0],
2764
+ 1
2765
+ ];
2766
+ GuardrailTextCharactersCoverage$ = [
2767
+ 3,
2768
+ n0,
2769
+ _GTCC,
2770
+ 0,
2771
+ [_gu, _to],
2772
+ [1, 1]
2773
+ ];
2774
+ GuardrailTopic$ = [
2775
+ 3,
2776
+ n0,
2777
+ _GT,
2778
+ 0,
2779
+ [_n, _ty, _a, _de],
2780
+ [0, 0, 0, 2],
2781
+ 3
2782
+ ];
2783
+ GuardrailTopicPolicyAssessment$ = [
2784
+ 3,
2785
+ n0,
2786
+ _GTPA,
2787
+ 0,
2788
+ [_top],
2789
+ [() => GuardrailTopicList],
2790
+ 1
2791
+ ];
2792
+ GuardrailTraceAssessment$ = [
2793
+ 3,
2794
+ n0,
2795
+ _GTA,
2796
+ 0,
2797
+ [_mO, _iAn, _oA, _aR],
2798
+ [64 | 0, [() => GuardrailAssessmentMap, 0], [() => GuardrailAssessmentListMap, 0], 0]
2799
+ ];
2800
+ GuardrailUsage$ = [
2801
+ 3,
2802
+ n0,
2803
+ _GU,
2804
+ 0,
2805
+ [_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRPu],
2806
+ [1, 1, 1, 1, 1, 1, 1, 1, 1],
2807
+ 6
2808
+ ];
2809
+ GuardrailWordPolicyAssessment$ = [
2810
+ 3,
2811
+ n0,
2812
+ _GWPA,
2813
+ 0,
2814
+ [_cW, _mWL],
2815
+ [() => GuardrailCustomWordList, () => GuardrailManagedWordList],
2816
+ 2
2817
+ ];
2818
+ ImageBlock$ = [
2819
+ 3,
2820
+ n0,
2821
+ _IB,
2822
+ 0,
2823
+ [_f, _so, _e],
2824
+ [0, [() => ImageSource$, 0], [() => ErrorBlock$, 0]],
2825
+ 2
2826
+ ];
2827
+ ImageBlockDelta$ = [
2828
+ 3,
2829
+ n0,
2830
+ _IBD,
2831
+ 0,
2832
+ [_so, _e],
2833
+ [[() => ImageSource$, 0], [() => ErrorBlock$, 0]]
2834
+ ];
2835
+ ImageBlockStart$ = [
2836
+ 3,
2837
+ n0,
2838
+ _IBS,
2839
+ 0,
2840
+ [_f],
2841
+ [0],
2842
+ 1
2843
+ ];
2844
+ InferenceConfiguration$ = [
2845
+ 3,
2846
+ n0,
2847
+ _IC,
2848
+ 0,
2849
+ [_mT, _tem, _tPo, _sS],
2850
+ [1, 1, 1, 64 | 0]
2851
+ ];
2852
+ InvokeModelRequest$ = [
2853
+ 3,
2854
+ n0,
2855
+ _IMR,
2856
+ 0,
2857
+ [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
2858
+ [[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _A }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2859
+ 1
2860
+ ];
2861
+ InvokeModelResponse$ = [
2862
+ 3,
2863
+ n0,
2864
+ _IMRn,
2865
+ 0,
2866
+ [_bo, _cT, _pCL, _sTe],
2867
+ [[() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2868
+ 2
2869
+ ];
2870
+ InvokeModelTokensRequest$ = [
2871
+ 3,
2872
+ n0,
2873
+ _IMTR,
2874
+ 0,
2875
+ [_bo],
2876
+ [[() => Body, 0]],
2877
+ 1
2878
+ ];
2879
+ InvokeModelWithBidirectionalStreamRequest$ = [
2880
+ 3,
2881
+ n0,
2882
+ _IMWBSR,
2883
+ 0,
2884
+ [_mI, _bo],
2885
+ [[0, 1], [() => InvokeModelWithBidirectionalStreamInput$, 16]],
2886
+ 2
2887
+ ];
2888
+ InvokeModelWithBidirectionalStreamResponse$ = [
2889
+ 3,
2890
+ n0,
2891
+ _IMWBSRn,
2892
+ 0,
2893
+ [_bo],
2894
+ [[() => InvokeModelWithBidirectionalStreamOutput$, 16]],
2895
+ 1
2896
+ ];
2897
+ InvokeModelWithResponseStreamRequest$ = [
2898
+ 3,
2899
+ n0,
2900
+ _IMWRSR,
2901
+ 0,
2902
+ [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
2903
+ [[0, 1], [() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABA }], [0, { [_hH]: _XABT }], [0, { [_hH]: _XABG }], [0, { [_hH]: _XABG_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2904
+ 1
2905
+ ];
2906
+ InvokeModelWithResponseStreamResponse$ = [
2907
+ 3,
2908
+ n0,
2909
+ _IMWRSRn,
2910
+ 0,
2911
+ [_bo, _cT, _pCL, _sTe],
2912
+ [[() => ResponseStream$, 16], [0, { [_hH]: _XABCT }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
2913
+ 2
2914
+ ];
2915
+ JsonSchemaDefinition$ = [
2916
+ 3,
2917
+ n0,
2918
+ _JSD,
2919
+ 0,
2920
+ [_sch, _n, _des],
2921
+ [0, 0, 0],
2922
+ 1
2923
+ ];
2924
+ ListAsyncInvokesRequest$ = [
2925
+ 3,
2926
+ n0,
2927
+ _LAIR,
2928
+ 0,
2929
+ [_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
2930
+ [[5, { [_hQ]: _sTA }], [5, { [_hQ]: _sTB }], [0, { [_hQ]: _sE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sB }], [0, { [_hQ]: _sO }]]
2931
+ ];
2932
+ ListAsyncInvokesResponse$ = [
2933
+ 3,
2934
+ n0,
2935
+ _LAIRi,
2936
+ 0,
2937
+ [_nT, _aIS],
2938
+ [0, [() => AsyncInvokeSummaries, 0]]
2939
+ ];
2940
+ Message$ = [
2941
+ 3,
2942
+ n0,
2943
+ _M,
2944
+ 0,
2945
+ [_ro, _co],
2946
+ [0, [() => ContentBlocks, 0]],
2947
+ 2
2948
+ ];
2949
+ MessageStartEvent$ = [
2950
+ 3,
2951
+ n0,
2952
+ _MSE,
2953
+ 0,
2954
+ [_ro],
2955
+ [0],
2956
+ 1
2957
+ ];
2958
+ MessageStopEvent$ = [
2959
+ 3,
2960
+ n0,
2961
+ _MSEe,
2962
+ 0,
2963
+ [_sR, _aMRFd],
2964
+ [0, 15],
2965
+ 1
2966
+ ];
2967
+ OutputConfig$ = [
2968
+ 3,
2969
+ n0,
2970
+ _OC,
2971
+ 0,
2972
+ [_tF],
2973
+ [[() => OutputFormat$, 0]]
2974
+ ];
2975
+ OutputFormat$ = [
2976
+ 3,
2977
+ n0,
2978
+ _OF,
2979
+ 0,
2980
+ [_ty, _stru],
2981
+ [0, [() => OutputFormatStructure$, 0]],
2982
+ 2
2983
+ ];
2984
+ PayloadPart$ = [
2985
+ 3,
2986
+ n0,
2987
+ _PP,
2988
+ 8,
2989
+ [_b],
2990
+ [[() => PartBody, 0]]
2991
+ ];
2992
+ PerformanceConfiguration$ = [
2993
+ 3,
2994
+ n0,
2995
+ _PC,
2996
+ 0,
2997
+ [_la],
2998
+ [0]
2999
+ ];
3000
+ PromptRouterTrace$ = [
3001
+ 3,
3002
+ n0,
3003
+ _PRT,
3004
+ 0,
3005
+ [_iMI],
3006
+ [0]
3007
+ ];
3008
+ ReasoningTextBlock$ = [
3009
+ 3,
3010
+ n0,
3011
+ _RTB,
3012
+ 8,
3013
+ [_te, _si],
3014
+ [0, 0],
3015
+ 1
3016
+ ];
3017
+ S3Location$ = [
3018
+ 3,
3019
+ n0,
3020
+ _SL,
3021
+ 0,
3022
+ [_ur, _bO],
3023
+ [0, 0],
3024
+ 1
3025
+ ];
3026
+ SearchResultBlock$ = [
3027
+ 3,
3028
+ n0,
3029
+ _SRB,
3030
+ 0,
3031
+ [_so, _ti, _co, _ci],
3032
+ [0, 0, () => SearchResultContentBlocks, () => CitationsConfig$],
3033
+ 3
3034
+ ];
3035
+ SearchResultContentBlock$ = [
3036
+ 3,
3037
+ n0,
3038
+ _SRCB,
3039
+ 0,
3040
+ [_te],
3041
+ [0],
3042
+ 1
3043
+ ];
3044
+ SearchResultLocation$ = [
3045
+ 3,
3046
+ n0,
3047
+ _SRL,
3048
+ 0,
3049
+ [_sRI, _sta, _end],
3050
+ [1, 1, 1]
3051
+ ];
3052
+ ServiceTier$ = [
3053
+ 3,
3054
+ n0,
3055
+ _ST,
3056
+ 0,
3057
+ [_ty],
3058
+ [0],
3059
+ 1
3060
+ ];
3061
+ SpecificToolChoice$ = [
3062
+ 3,
3063
+ n0,
3064
+ _STC,
3065
+ 0,
3066
+ [_n],
3067
+ [0],
3068
+ 1
3069
+ ];
3070
+ StartAsyncInvokeRequest$ = [
3071
+ 3,
3072
+ n0,
3073
+ _SAIR,
3074
+ 0,
3075
+ [_mI, _mIo, _oDC, _cRT, _ta],
3076
+ [0, [() => ModelInputPayload, 0], () => AsyncInvokeOutputDataConfig$, [0, 4], () => TagList],
3077
+ 3
3078
+ ];
3079
+ StartAsyncInvokeResponse$ = [
3080
+ 3,
3081
+ n0,
3082
+ _SAIRt,
3083
+ 0,
3084
+ [_iA],
3085
+ [0],
3086
+ 1
3087
+ ];
3088
+ SystemTool$ = [
3089
+ 3,
3090
+ n0,
3091
+ _STy,
3092
+ 0,
3093
+ [_n],
3094
+ [0],
3095
+ 1
3096
+ ];
3097
+ Tag$ = [
3098
+ 3,
3099
+ n0,
3100
+ _T,
3101
+ 0,
3102
+ [_k, _v],
3103
+ [0, 0],
3104
+ 2
3105
+ ];
3106
+ TokenUsage$ = [
3107
+ 3,
3108
+ n0,
3109
+ _TU,
3110
+ 0,
3111
+ [_iT, _oT, _tT, _cRIT, _cWIT, _cD],
3112
+ [1, 1, 1, 1, 1, () => CacheDetailsList],
3113
+ 3
3114
+ ];
3115
+ ToolConfiguration$ = [
3116
+ 3,
3117
+ n0,
3118
+ _TC,
3119
+ 0,
3120
+ [_too, _tCo],
3121
+ [() => Tools, () => ToolChoice$],
3122
+ 1
3123
+ ];
3124
+ ToolResultBlock$ = [
3125
+ 3,
3126
+ n0,
3127
+ _TRB,
3128
+ 0,
3129
+ [_tUI, _co, _st, _ty],
3130
+ [0, [() => ToolResultContentBlocks, 0], 0, 0],
3131
+ 2
3132
+ ];
3133
+ ToolResultBlockStart$ = [
3134
+ 3,
3135
+ n0,
3136
+ _TRBS,
3137
+ 0,
3138
+ [_tUI, _ty, _st],
3139
+ [0, 0, 0],
3140
+ 1
3141
+ ];
3142
+ ToolSpecification$ = [
3143
+ 3,
3144
+ n0,
3145
+ _TS,
3146
+ 0,
3147
+ [_n, _iS, _des, _stri],
3148
+ [0, () => ToolInputSchema$, 0, 2],
3149
+ 2
3150
+ ];
3151
+ ToolUseBlock$ = [
3152
+ 3,
3153
+ n0,
3154
+ _TUB,
3155
+ 0,
3156
+ [_tUI, _n, _i, _ty],
3157
+ [0, 0, 15, 0],
3158
+ 3
3159
+ ];
3160
+ ToolUseBlockDelta$ = [
3161
+ 3,
3162
+ n0,
3163
+ _TUBD,
3164
+ 0,
3165
+ [_i],
3166
+ [0],
3167
+ 1
3168
+ ];
3169
+ ToolUseBlockStart$ = [
3170
+ 3,
3171
+ n0,
3172
+ _TUBS,
3173
+ 0,
3174
+ [_tUI, _n, _ty],
3175
+ [0, 0, 0],
3176
+ 2
3177
+ ];
3178
+ VideoBlock$ = [
3179
+ 3,
3180
+ n0,
3181
+ _VB,
3182
+ 0,
3183
+ [_f, _so],
3184
+ [0, () => VideoSource$],
3185
+ 2
3186
+ ];
3187
+ WebLocation$ = [
3188
+ 3,
3189
+ n0,
3190
+ _WL,
3191
+ 0,
3192
+ [_url, _do],
3193
+ [0, 0]
3194
+ ];
3195
+ AdditionalModelResponseFieldPaths = 64 | 0;
3196
+ AsyncInvokeSummaries = [
3197
+ 1,
3198
+ n0,
3199
+ _AISs,
3200
+ 0,
3201
+ [
3202
+ () => AsyncInvokeSummary$,
3203
+ 0
3204
+ ]
3205
+ ];
3206
+ CacheDetailsList = [
3207
+ 1,
3208
+ n0,
3209
+ _CDL,
3210
+ 0,
3211
+ () => CacheDetail$
3212
+ ];
3213
+ CitationGeneratedContentList = [
3214
+ 1,
3215
+ n0,
3216
+ _CGCL,
3217
+ 0,
3218
+ () => CitationGeneratedContent$
3219
+ ];
3220
+ Citations = [
3221
+ 1,
3222
+ n0,
3223
+ _Ci,
3224
+ 0,
3225
+ () => Citation$
3226
+ ];
3227
+ CitationSourceContentList = [
3228
+ 1,
3229
+ n0,
3230
+ _CSCL,
3231
+ 0,
3232
+ () => CitationSourceContent$
3233
+ ];
3234
+ CitationSourceContentListDelta = [
3235
+ 1,
3236
+ n0,
3237
+ _CSCLD,
3238
+ 0,
3239
+ () => CitationSourceContentDelta$
3240
+ ];
3241
+ ContentBlocks = [
3242
+ 1,
3243
+ n0,
3244
+ _CB,
3245
+ 0,
3246
+ [
3247
+ () => ContentBlock$,
3248
+ 0
3249
+ ]
3250
+ ];
3251
+ DocumentContentBlocks = [
3252
+ 1,
3253
+ n0,
3254
+ _DCB,
3255
+ 0,
3256
+ () => DocumentContentBlock$
3257
+ ];
3258
+ GuardrailAssessmentList = [
3259
+ 1,
3260
+ n0,
3261
+ _GAL,
3262
+ 0,
3263
+ [
3264
+ () => GuardrailAssessment$,
3265
+ 0
3266
+ ]
3267
+ ];
3268
+ GuardrailAutomatedReasoningDifferenceScenarioList = [
3269
+ 1,
3270
+ n0,
3271
+ _GARDSL,
3272
+ 0,
3273
+ [
3274
+ () => GuardrailAutomatedReasoningScenario$,
3275
+ 0
3276
+ ]
3277
+ ];
3278
+ GuardrailAutomatedReasoningFindingList = [
3279
+ 1,
3280
+ n0,
3281
+ _GARFL,
3282
+ 0,
3283
+ [
3284
+ () => GuardrailAutomatedReasoningFinding$,
3285
+ 0
3286
+ ]
3287
+ ];
3288
+ GuardrailAutomatedReasoningInputTextReferenceList = [
3289
+ 1,
3290
+ n0,
3291
+ _GARITRL,
3292
+ 0,
3293
+ [
3294
+ () => GuardrailAutomatedReasoningInputTextReference$,
3295
+ 0
3296
+ ]
3297
+ ];
3298
+ GuardrailAutomatedReasoningRuleList = [
3299
+ 1,
3300
+ n0,
3301
+ _GARRL,
3302
+ 0,
3303
+ () => GuardrailAutomatedReasoningRule$
3304
+ ];
3305
+ GuardrailAutomatedReasoningStatementList = [
3306
+ 1,
3307
+ n0,
3308
+ _GARSL,
3309
+ 0,
3310
+ [
3311
+ () => GuardrailAutomatedReasoningStatement$,
3312
+ 0
3313
+ ]
3314
+ ];
3315
+ GuardrailAutomatedReasoningTranslationList = [
3316
+ 1,
3317
+ n0,
3318
+ _GARTL,
3319
+ 0,
3320
+ [
3321
+ () => GuardrailAutomatedReasoningTranslation$,
3322
+ 0
3323
+ ]
3324
+ ];
3325
+ GuardrailAutomatedReasoningTranslationOptionList = [
3326
+ 1,
3327
+ n0,
3328
+ _GARTOL,
3329
+ 0,
3330
+ [
3331
+ () => GuardrailAutomatedReasoningTranslationOption$,
3332
+ 0
3333
+ ]
3334
+ ];
3335
+ GuardrailContentBlockList = [
3336
+ 1,
3337
+ n0,
3338
+ _GCBL,
3339
+ 0,
3340
+ [
3341
+ () => GuardrailContentBlock$,
3342
+ 0
3343
+ ]
3344
+ ];
3345
+ GuardrailContentFilterList = [
3346
+ 1,
3347
+ n0,
3348
+ _GCFL,
3349
+ 0,
3350
+ () => GuardrailContentFilter$
3351
+ ];
3352
+ GuardrailContentQualifierList = 64 | 0;
3353
+ GuardrailContextualGroundingFilters = [
3354
+ 1,
3355
+ n0,
3356
+ _GCGFu,
3357
+ 0,
3358
+ () => GuardrailContextualGroundingFilter$
3359
+ ];
3360
+ GuardrailConverseContentQualifierList = 64 | 0;
3361
+ GuardrailCustomWordList = [
3362
+ 1,
3363
+ n0,
3364
+ _GCWL,
3365
+ 0,
3366
+ () => GuardrailCustomWord$
3367
+ ];
3368
+ GuardrailManagedWordList = [
3369
+ 1,
3370
+ n0,
3371
+ _GMWL,
3372
+ 0,
3373
+ () => GuardrailManagedWord$
3374
+ ];
3375
+ GuardrailOriginList = 64 | 0;
3376
+ GuardrailOutputContentList = [
3377
+ 1,
3378
+ n0,
3379
+ _GOCL,
3380
+ 0,
3381
+ () => GuardrailOutputContent$
3382
+ ];
3383
+ GuardrailPiiEntityFilterList = [
3384
+ 1,
3385
+ n0,
3386
+ _GPEFL,
3387
+ 0,
3388
+ () => GuardrailPiiEntityFilter$
3389
+ ];
3390
+ GuardrailRegexFilterList = [
3391
+ 1,
3392
+ n0,
3393
+ _GRFL,
3394
+ 0,
3395
+ () => GuardrailRegexFilter$
3396
+ ];
3397
+ GuardrailTopicList = [
3398
+ 1,
3399
+ n0,
3400
+ _GTL,
3401
+ 0,
3402
+ () => GuardrailTopic$
3403
+ ];
3404
+ Messages = [
3405
+ 1,
3406
+ n0,
3407
+ _Me,
3408
+ 0,
3409
+ [
3410
+ () => Message$,
3411
+ 0
3412
+ ]
3413
+ ];
3414
+ ModelOutputs = 64 | 0;
3415
+ NonEmptyStringList = 64 | 0;
3416
+ SearchResultContentBlocks = [
3417
+ 1,
3418
+ n0,
3419
+ _SRCBe,
3420
+ 0,
3421
+ () => SearchResultContentBlock$
3422
+ ];
3423
+ SystemContentBlocks = [
3424
+ 1,
3425
+ n0,
3426
+ _SCB,
3427
+ 0,
3428
+ [
3429
+ () => SystemContentBlock$,
3430
+ 0
3431
+ ]
3432
+ ];
3433
+ TagList = [
3434
+ 1,
3435
+ n0,
3436
+ _TL,
3437
+ 0,
3438
+ () => Tag$
3439
+ ];
3440
+ ToolResultBlocksDelta = [
3441
+ 1,
3442
+ n0,
3443
+ _TRBD,
3444
+ 0,
3445
+ () => ToolResultBlockDelta$
3446
+ ];
3447
+ ToolResultContentBlocks = [
3448
+ 1,
3449
+ n0,
3450
+ _TRCB,
3451
+ 0,
3452
+ [
3453
+ () => ToolResultContentBlock$,
3454
+ 0
3455
+ ]
3456
+ ];
3457
+ Tools = [
3458
+ 1,
3459
+ n0,
3460
+ _To,
3461
+ 0,
3462
+ () => Tool$
3463
+ ];
3464
+ GuardrailAssessmentListMap = [
3465
+ 2,
3466
+ n0,
3467
+ _GALM,
3468
+ 0,
3469
+ [
3470
+ 0,
3471
+ 0
3472
+ ],
3473
+ [
3474
+ () => GuardrailAssessmentList,
3475
+ 0
3476
+ ]
3477
+ ];
3478
+ GuardrailAssessmentMap = [
3479
+ 2,
3480
+ n0,
3481
+ _GAM,
3482
+ 0,
3483
+ [
3484
+ 0,
3485
+ 0
3486
+ ],
3487
+ [
3488
+ () => GuardrailAssessment$,
3489
+ 0
3490
+ ]
3491
+ ];
3492
+ PromptVariableMap = [
3493
+ 2,
3494
+ n0,
3495
+ _PVM,
3496
+ 8,
3497
+ 0,
3498
+ () => PromptVariableValues$
3499
+ ];
3500
+ RequestMetadata = [
3501
+ 2,
3502
+ n0,
3503
+ _RM,
3504
+ 8,
3505
+ 0,
3506
+ 0
3507
+ ];
3508
+ AsyncInvokeOutputDataConfig$ = [
3509
+ 4,
3510
+ n0,
3511
+ _AIODC,
3512
+ 0,
3513
+ [_sODC],
3514
+ [() => AsyncInvokeS3OutputDataConfig$]
3515
+ ];
3516
+ AudioSource$ = [
3517
+ 4,
3518
+ n0,
3519
+ _AS,
3520
+ 8,
3521
+ [_b, _sL],
3522
+ [21, () => S3Location$]
3523
+ ];
3524
+ CitationGeneratedContent$ = [
3525
+ 4,
3526
+ n0,
3527
+ _CGC,
3528
+ 0,
3529
+ [_te],
3530
+ [0]
3531
+ ];
3532
+ CitationLocation$ = [
3533
+ 4,
3534
+ n0,
3535
+ _CL,
3536
+ 0,
3537
+ [_w, _dC, _dP, _dCo, _sRL],
3538
+ [() => WebLocation$, () => DocumentCharLocation$, () => DocumentPageLocation$, () => DocumentChunkLocation$, () => SearchResultLocation$]
3539
+ ];
3540
+ CitationSourceContent$ = [
3541
+ 4,
3542
+ n0,
3543
+ _CSC,
3544
+ 0,
3545
+ [_te],
3546
+ [0]
3547
+ ];
3548
+ ContentBlock$ = [
3549
+ 4,
3550
+ n0,
3551
+ _CBo,
3552
+ 0,
3553
+ [_te, _ima, _doc, _vi, _au, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
3554
+ [0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
3555
+ ];
3556
+ ContentBlockDelta$ = [
3557
+ 4,
3558
+ n0,
3559
+ _CBD,
3560
+ 0,
3561
+ [_te, _tU, _tR, _rC, _cit, _ima],
3562
+ [0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
3563
+ ];
3564
+ ContentBlockStart$ = [
3565
+ 4,
3566
+ n0,
3567
+ _CBS,
3568
+ 0,
3569
+ [_tU, _tR, _ima],
3570
+ [() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
3571
+ ];
3572
+ ConverseOutput$ = [
3573
+ 4,
3574
+ n0,
3575
+ _CO,
3576
+ 0,
3577
+ [_m],
3578
+ [[() => Message$, 0]]
3579
+ ];
3580
+ ConverseStreamOutput$ = [
3581
+ 4,
3582
+ n0,
3583
+ _CSO,
3584
+ { [_stre]: 1 },
3585
+ [_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
3586
+ [() => MessageStartEvent$, () => ContentBlockStartEvent$, [() => ContentBlockDeltaEvent$, 0], () => ContentBlockStopEvent$, () => MessageStopEvent$, [() => ConverseStreamMetadataEvent$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ServiceUnavailableException$, 0]]
3587
+ ];
3588
+ CountTokensInput$ = [
3589
+ 4,
3590
+ n0,
3591
+ _CTI,
3592
+ 0,
3593
+ [_iMn, _conv],
3594
+ [[() => InvokeModelTokensRequest$, 0], [() => ConverseTokensRequest$, 0]]
3595
+ ];
3596
+ DocumentContentBlock$ = [
3597
+ 4,
3598
+ n0,
3599
+ _DCBo,
3600
+ 0,
3601
+ [_te],
3602
+ [0]
3603
+ ];
3604
+ DocumentSource$ = [
3605
+ 4,
3606
+ n0,
3607
+ _DS,
3608
+ 0,
3609
+ [_b, _sL, _te, _co],
3610
+ [21, () => S3Location$, 0, () => DocumentContentBlocks]
3611
+ ];
3612
+ GuardrailAutomatedReasoningFinding$ = [
3613
+ 4,
3614
+ n0,
3615
+ _GARF,
3616
+ 0,
3617
+ [_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
3618
+ [[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
3619
+ ];
3620
+ GuardrailContentBlock$ = [
3621
+ 4,
3622
+ n0,
3623
+ _GCB,
3624
+ 0,
3625
+ [_te, _ima],
3626
+ [() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
3627
+ ];
3628
+ GuardrailConverseContentBlock$ = [
3629
+ 4,
3630
+ n0,
3631
+ _GCCB,
3632
+ 0,
3633
+ [_te, _ima],
3634
+ [() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
3635
+ ];
3636
+ GuardrailConverseImageSource$ = [
3637
+ 4,
3638
+ n0,
3639
+ _GCIS,
3640
+ 8,
3641
+ [_b],
3642
+ [21]
3643
+ ];
3644
+ GuardrailImageSource$ = [
3645
+ 4,
3646
+ n0,
3647
+ _GIS,
3648
+ 8,
3649
+ [_b],
3650
+ [21]
3651
+ ];
3652
+ ImageSource$ = [
3653
+ 4,
3654
+ n0,
3655
+ _IS,
3656
+ 8,
3657
+ [_b, _sL],
3658
+ [21, () => S3Location$]
3659
+ ];
3660
+ InvokeModelWithBidirectionalStreamInput$ = [
3661
+ 4,
3662
+ n0,
3663
+ _IMWBSI,
3664
+ { [_stre]: 1 },
3665
+ [_ch],
3666
+ [[() => BidirectionalInputPayloadPart$, 0]]
3667
+ ];
3668
+ InvokeModelWithBidirectionalStreamOutput$ = [
3669
+ 4,
3670
+ n0,
3671
+ _IMWBSO,
3672
+ { [_stre]: 1 },
3673
+ [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
3674
+ [[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
3675
+ ];
3676
+ OutputFormatStructure$ = [
3677
+ 4,
3678
+ n0,
3679
+ _OFS,
3680
+ 8,
3681
+ [_jS],
3682
+ [() => JsonSchemaDefinition$]
3683
+ ];
3684
+ PromptVariableValues$ = [
3685
+ 4,
3686
+ n0,
3687
+ _PVV,
3688
+ 0,
3689
+ [_te],
3690
+ [0]
3691
+ ];
3692
+ ReasoningContentBlock$ = [
3693
+ 4,
3694
+ n0,
3695
+ _RCB,
3696
+ 8,
3697
+ [_rT, _rCe],
3698
+ [[() => ReasoningTextBlock$, 0], 21]
3699
+ ];
3700
+ ReasoningContentBlockDelta$ = [
3701
+ 4,
3702
+ n0,
3703
+ _RCBD,
3704
+ 8,
3705
+ [_te, _rCe, _si],
3706
+ [0, 21, 0]
3707
+ ];
3708
+ ResponseStream$ = [
3709
+ 4,
3710
+ n0,
3711
+ _RS,
3712
+ { [_stre]: 1 },
3713
+ [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
3714
+ [[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
3715
+ ];
3716
+ SystemContentBlock$ = [
3717
+ 4,
3718
+ n0,
3719
+ _SCBy,
3720
+ 0,
3721
+ [_te, _gCua, _cPa],
3722
+ [0, [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$]
3723
+ ];
3724
+ Tool$ = [
3725
+ 4,
3726
+ n0,
3727
+ _Too,
3728
+ 0,
3729
+ [_tS, _sTy, _cPa],
3730
+ [() => ToolSpecification$, () => SystemTool$, () => CachePointBlock$]
3731
+ ];
3732
+ ToolChoice$ = [
3733
+ 4,
3734
+ n0,
3735
+ _TCo,
3736
+ 0,
3737
+ [_aut, _an, _tool],
3738
+ [() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
3739
+ ];
3740
+ ToolInputSchema$ = [
3741
+ 4,
3742
+ n0,
3743
+ _TIS,
3744
+ 0,
3745
+ [_j],
3746
+ [15]
3747
+ ];
3748
+ ToolResultBlockDelta$ = [
3749
+ 4,
3750
+ n0,
3751
+ _TRBDo,
3752
+ 0,
3753
+ [_te, _j],
3754
+ [0, 15]
3755
+ ];
3756
+ ToolResultContentBlock$ = [
3757
+ 4,
3758
+ n0,
3759
+ _TRCBo,
3760
+ 0,
3761
+ [_j, _te, _ima, _doc, _vi, _sRe],
3762
+ [15, 0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, () => SearchResultBlock$]
3763
+ ];
3764
+ VideoSource$ = [
3765
+ 4,
3766
+ n0,
3767
+ _VS,
3768
+ 0,
3769
+ [_b, _sL],
3770
+ [21, () => S3Location$]
3771
+ ];
3772
+ ApplyGuardrail$ = [
3773
+ 9,
3774
+ n0,
3775
+ _AG,
3776
+ { [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] },
3777
+ () => ApplyGuardrailRequest$,
3778
+ () => ApplyGuardrailResponse$
3779
+ ];
3780
+ Converse$ = [
3781
+ 9,
3782
+ n0,
3783
+ _Co,
3784
+ { [_h]: ["POST", "/model/{modelId}/converse", 200] },
3785
+ () => ConverseRequest$,
3786
+ () => ConverseResponse$
3787
+ ];
3788
+ ConverseStream$ = [
3789
+ 9,
3790
+ n0,
3791
+ _CS,
3792
+ { [_h]: ["POST", "/model/{modelId}/converse-stream", 200] },
3793
+ () => ConverseStreamRequest$,
3794
+ () => ConverseStreamResponse$
3795
+ ];
3796
+ CountTokens$ = [
3797
+ 9,
3798
+ n0,
3799
+ _CTo,
3800
+ { [_h]: ["POST", "/model/{modelId}/count-tokens", 200] },
3801
+ () => CountTokensRequest$,
3802
+ () => CountTokensResponse$
3803
+ ];
3804
+ GetAsyncInvoke$ = [
3805
+ 9,
3806
+ n0,
3807
+ _GAI,
3808
+ { [_h]: ["GET", "/async-invoke/{invocationArn}", 200] },
3809
+ () => GetAsyncInvokeRequest$,
3810
+ () => GetAsyncInvokeResponse$
3811
+ ];
3812
+ InvokeModel$ = [
3813
+ 9,
3814
+ n0,
3815
+ _IM,
3816
+ { [_h]: ["POST", "/model/{modelId}/invoke", 200] },
3817
+ () => InvokeModelRequest$,
3818
+ () => InvokeModelResponse$
3819
+ ];
3820
+ InvokeModelWithBidirectionalStream$ = [
3821
+ 9,
3822
+ n0,
3823
+ _IMWBS,
3824
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] },
3825
+ () => InvokeModelWithBidirectionalStreamRequest$,
3826
+ () => InvokeModelWithBidirectionalStreamResponse$
3827
+ ];
3828
+ InvokeModelWithResponseStream$ = [
3829
+ 9,
3830
+ n0,
3831
+ _IMWRS,
3832
+ { [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] },
3833
+ () => InvokeModelWithResponseStreamRequest$,
3834
+ () => InvokeModelWithResponseStreamResponse$
3835
+ ];
3836
+ ListAsyncInvokes$ = [
3837
+ 9,
3838
+ n0,
3839
+ _LAI,
3840
+ { [_h]: ["GET", "/async-invoke", 200] },
3841
+ () => ListAsyncInvokesRequest$,
3842
+ () => ListAsyncInvokesResponse$
3843
+ ];
3844
+ StartAsyncInvoke$ = [
3845
+ 9,
3846
+ n0,
3847
+ _SAI,
3848
+ { [_h]: ["POST", "/async-invoke", 200] },
3849
+ () => StartAsyncInvokeRequest$,
3850
+ () => StartAsyncInvokeResponse$
3851
+ ];
3852
+ });
3853
+
3854
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
3855
+ var import_httpAuthSchemes2, import_protocols, import_core2, import_smithy_client2, import_url_parser, import_util_base64, import_util_utf82, getRuntimeConfig = (config) => {
3856
+ return {
3857
+ apiVersion: "2023-09-30",
3858
+ base64Decoder: config?.base64Decoder ?? import_util_base64.fromBase64,
3859
+ base64Encoder: config?.base64Encoder ?? import_util_base64.toBase64,
3860
+ disableHostPrefix: config?.disableHostPrefix ?? false,
3861
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
3862
+ extensions: config?.extensions ?? [],
3863
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultBedrockRuntimeHttpAuthSchemeProvider,
3864
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
3865
+ {
3866
+ schemeId: "aws.auth#sigv4",
3867
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
3868
+ signer: new import_httpAuthSchemes2.AwsSdkSigV4Signer
3869
+ },
3870
+ {
3871
+ schemeId: "smithy.api#httpBearerAuth",
3872
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
3873
+ signer: new import_core2.HttpBearerAuthSigner
3874
+ }
3875
+ ],
3876
+ logger: config?.logger ?? new import_smithy_client2.NoOpLogger,
3877
+ protocol: config?.protocol ?? import_protocols.AwsRestJsonProtocol,
3878
+ protocolSettings: config?.protocolSettings ?? {
3879
+ defaultNamespace: "com.amazonaws.bedrockruntime",
3880
+ errorTypeRegistries,
3881
+ version: "2023-09-30",
3882
+ serviceTarget: "AmazonBedrockFrontendService"
3883
+ },
3884
+ serviceId: config?.serviceId ?? "Bedrock Runtime",
3885
+ urlParser: config?.urlParser ?? import_url_parser.parseUrl,
3886
+ utf8Decoder: config?.utf8Decoder ?? import_util_utf82.fromUtf8,
3887
+ utf8Encoder: config?.utf8Encoder ?? import_util_utf82.toUtf8
3888
+ };
3889
+ };
3890
+ var init_runtimeConfig_shared = __esm(() => {
3891
+ init_httpAuthSchemeProvider();
3892
+ init_endpointResolver();
3893
+ init_schemas_0();
3894
+ import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
3895
+ import_protocols = __toESM(require_protocols(), 1);
3896
+ import_core2 = __toESM(require_dist_cjs11(), 1);
3897
+ import_smithy_client2 = __toESM(require_dist_cjs10(), 1);
3898
+ import_url_parser = __toESM(require_dist_cjs4(), 1);
3899
+ import_util_base64 = __toESM(require_dist_cjs8(), 1);
3900
+ import_util_utf82 = __toESM(require_dist_cjs7(), 1);
3901
+ });
3902
+
3903
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js
3904
+ var import_client, import_httpAuthSchemes3, import_util_user_agent_node, import_config_resolver, 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_defaults_mode_node, import_util_retry, getRuntimeConfig2 = (config) => {
3905
+ import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
3906
+ const defaultsMode = import_util_defaults_mode_node.resolveDefaultsModeConfig(config);
3907
+ const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
3908
+ const clientSharedValues = getRuntimeConfig(config);
3909
+ import_client.emitWarningIfUnsupportedVersion(process.version);
3910
+ const loaderConfig = {
3911
+ profile: config?.profile,
3912
+ logger: clientSharedValues.logger,
3913
+ signingName: "bedrock"
3914
+ };
3915
+ return {
3916
+ ...clientSharedValues,
3917
+ ...config,
3918
+ runtime: "node",
3919
+ defaultsMode,
3920
+ authSchemePreference: config?.authSchemePreference ?? import_node_config_provider.loadConfig(import_httpAuthSchemes3.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
3921
+ bodyLengthChecker: config?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
3922
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
3923
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
3924
+ eventStreamPayloadHandlerProvider: config?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider2,
3925
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
3926
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
3927
+ {
3928
+ schemeId: "aws.auth#sigv4",
3929
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
3930
+ signer: new import_httpAuthSchemes3.AwsSdkSigV4Signer
3931
+ },
3932
+ {
3933
+ schemeId: "smithy.api#httpBearerAuth",
3934
+ identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth") || (async (idProps) => {
3935
+ try {
3936
+ return await fromEnvSigningName({ signingName: "bedrock" })();
3937
+ } catch (error) {
3938
+ return await nodeProvider(idProps)(idProps);
3939
+ }
3940
+ }),
3941
+ signer: new import_core3.HttpBearerAuthSigner
3942
+ }
3943
+ ],
3944
+ maxAttempts: config?.maxAttempts ?? import_node_config_provider.loadConfig(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
3945
+ region: config?.region ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_REGION_CONFIG_OPTIONS, { ...import_config_resolver.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
3946
+ requestHandler: import_node_http_handler.NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
3947
+ ...await defaultConfigProvider(),
3948
+ disableConcurrentStreams: true
3949
+ }))),
3950
+ retryMode: config?.retryMode ?? import_node_config_provider.loadConfig({
3951
+ ...import_middleware_retry.NODE_RETRY_MODE_CONFIG_OPTIONS,
3952
+ default: async () => (await defaultConfigProvider()).retryMode || import_util_retry.DEFAULT_RETRY_MODE
3953
+ }, config),
3954
+ sha256: config?.sha256 ?? import_hash_node.Hash.bind(null, "sha256"),
3955
+ streamCollector: config?.streamCollector ?? import_node_http_handler.streamCollector,
3956
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
3957
+ useFipsEndpoint: config?.useFipsEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
3958
+ userAgentAppId: config?.userAgentAppId ?? import_node_config_provider.loadConfig(import_util_user_agent_node.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
3959
+ };
3960
+ };
3961
+ var init_runtimeConfig = __esm(() => {
3962
+ init_package();
3963
+ init_dist_es();
3964
+ init_dist_es11();
3965
+ init_dist_es2();
3966
+ init_dist_es12();
3967
+ init_runtimeConfig_shared();
3968
+ import_client = __toESM(require_client(), 1);
3969
+ import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
3970
+ import_util_user_agent_node = __toESM(require_dist_cjs22(), 1);
3971
+ import_config_resolver = __toESM(require_dist_cjs18(), 1);
3972
+ import_core3 = __toESM(require_dist_cjs11(), 1);
3973
+ import_hash_node = __toESM(require_dist_cjs23(), 1);
3974
+ import_middleware_retry = __toESM(require_dist_cjs21(), 1);
3975
+ import_node_config_provider = __toESM(require_dist_cjs3(), 1);
3976
+ import_node_http_handler = __toESM(require_dist_cjs5(), 1);
3977
+ import_smithy_client3 = __toESM(require_dist_cjs10(), 1);
3978
+ import_util_body_length_node = __toESM(require_dist_cjs24(), 1);
3979
+ import_util_defaults_mode_node = __toESM(require_dist_cjs25(), 1);
3980
+ import_util_retry = __toESM(require_dist_cjs2(), 1);
3981
+ });
3982
+
3983
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
3984
+ var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
3985
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3986
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
3987
+ let _credentials = runtimeConfig.credentials;
3988
+ let _token = runtimeConfig.token;
3989
+ return {
3990
+ setHttpAuthScheme(httpAuthScheme) {
3991
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
3992
+ if (index === -1) {
3993
+ _httpAuthSchemes.push(httpAuthScheme);
3994
+ } else {
3995
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
3996
+ }
3997
+ },
3998
+ httpAuthSchemes() {
3999
+ return _httpAuthSchemes;
4000
+ },
4001
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
4002
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
4003
+ },
4004
+ httpAuthSchemeProvider() {
4005
+ return _httpAuthSchemeProvider;
4006
+ },
4007
+ setCredentials(credentials) {
4008
+ _credentials = credentials;
4009
+ },
4010
+ credentials() {
4011
+ return _credentials;
4012
+ },
4013
+ setToken(token) {
4014
+ _token = token;
4015
+ },
4016
+ token() {
4017
+ return _token;
4018
+ }
4019
+ };
4020
+ }, resolveHttpAuthRuntimeConfig = (config) => {
4021
+ return {
4022
+ httpAuthSchemes: config.httpAuthSchemes(),
4023
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
4024
+ credentials: config.credentials(),
4025
+ token: config.token()
4026
+ };
4027
+ };
4028
+ var init_httpAuthExtensionConfiguration = () => {};
4029
+
4030
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
4031
+ var import_region_config_resolver, import_protocol_http5, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions) => {
4032
+ const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http5.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
4033
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
4034
+ return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http5.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
4035
+ };
4036
+ var init_runtimeExtensions = __esm(() => {
4037
+ init_httpAuthExtensionConfiguration();
4038
+ import_region_config_resolver = __toESM(require_dist_cjs26(), 1);
4039
+ import_protocol_http5 = __toESM(require_dist_cjs(), 1);
4040
+ import_smithy_client4 = __toESM(require_dist_cjs10(), 1);
4041
+ });
4042
+
4043
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
4044
+ var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_core4, import_schema2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client5, BedrockRuntimeClient;
4045
+ var init_BedrockRuntimeClient = __esm(() => {
4046
+ init_dist_es3();
4047
+ init_dist_es9();
4048
+ init_dist_es10();
4049
+ init_httpAuthSchemeProvider();
4050
+ init_EndpointParameters();
4051
+ init_runtimeConfig();
4052
+ init_runtimeExtensions();
4053
+ import_middleware_host_header = __toESM(require_dist_cjs12(), 1);
4054
+ import_middleware_logger = __toESM(require_dist_cjs13(), 1);
4055
+ import_middleware_recursion_detection = __toESM(require_dist_cjs14(), 1);
4056
+ import_middleware_user_agent = __toESM(require_dist_cjs17(), 1);
4057
+ import_config_resolver2 = __toESM(require_dist_cjs18(), 1);
4058
+ import_core4 = __toESM(require_dist_cjs11(), 1);
4059
+ import_schema2 = __toESM(require_schema(), 1);
4060
+ import_middleware_content_length = __toESM(require_dist_cjs19(), 1);
4061
+ import_middleware_endpoint = __toESM(require_dist_cjs20(), 1);
4062
+ import_middleware_retry2 = __toESM(require_dist_cjs21(), 1);
4063
+ import_smithy_client5 = __toESM(require_dist_cjs10(), 1);
4064
+ BedrockRuntimeClient = class BedrockRuntimeClient extends import_smithy_client5.Client {
4065
+ config;
4066
+ constructor(...[configuration]) {
4067
+ const _config_0 = getRuntimeConfig2(configuration || {});
4068
+ super(_config_0);
4069
+ this.initConfig = _config_0;
4070
+ const _config_1 = resolveClientEndpointParameters(_config_0);
4071
+ const _config_2 = import_middleware_user_agent.resolveUserAgentConfig(_config_1);
4072
+ const _config_3 = import_middleware_retry2.resolveRetryConfig(_config_2);
4073
+ const _config_4 = import_config_resolver2.resolveRegionConfig(_config_3);
4074
+ const _config_5 = import_middleware_host_header.resolveHostHeaderConfig(_config_4);
4075
+ const _config_6 = import_middleware_endpoint.resolveEndpointConfig(_config_5);
4076
+ const _config_7 = resolveEventStreamSerdeConfig(_config_6);
4077
+ const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
4078
+ const _config_9 = resolveEventStreamConfig(_config_8);
4079
+ const _config_10 = resolveWebSocketConfig(_config_9);
4080
+ const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
4081
+ this.config = _config_11;
4082
+ this.middlewareStack.use(import_schema2.getSchemaSerdePlugin(this.config));
4083
+ this.middlewareStack.use(import_middleware_user_agent.getUserAgentPlugin(this.config));
4084
+ this.middlewareStack.use(import_middleware_retry2.getRetryPlugin(this.config));
4085
+ this.middlewareStack.use(import_middleware_content_length.getContentLengthPlugin(this.config));
4086
+ this.middlewareStack.use(import_middleware_host_header.getHostHeaderPlugin(this.config));
4087
+ this.middlewareStack.use(import_middleware_logger.getLoggerPlugin(this.config));
4088
+ this.middlewareStack.use(import_middleware_recursion_detection.getRecursionDetectionPlugin(this.config));
4089
+ this.middlewareStack.use(import_core4.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
4090
+ httpAuthSchemeParametersProvider: defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
4091
+ identityProviderConfigProvider: async (config) => new import_core4.DefaultIdentityProviderConfig({
4092
+ "aws.auth#sigv4": config.credentials,
4093
+ "smithy.api#httpBearerAuth": config.token
4094
+ })
4095
+ }));
4096
+ this.middlewareStack.use(import_core4.getHttpSigningPlugin(this.config));
4097
+ }
4098
+ destroy() {
4099
+ super.destroy();
4100
+ }
4101
+ };
4102
+ });
4103
+
4104
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js
4105
+ var import_middleware_endpoint2, import_smithy_client6, ApplyGuardrailCommand;
4106
+ var init_ApplyGuardrailCommand = __esm(() => {
4107
+ init_EndpointParameters();
4108
+ init_schemas_0();
4109
+ import_middleware_endpoint2 = __toESM(require_dist_cjs20(), 1);
4110
+ import_smithy_client6 = __toESM(require_dist_cjs10(), 1);
4111
+ ApplyGuardrailCommand = class ApplyGuardrailCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4112
+ return [import_middleware_endpoint2.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4113
+ }).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail$).build() {
4114
+ };
4115
+ });
4116
+
4117
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js
4118
+ var import_middleware_endpoint3, import_smithy_client7, ConverseCommand;
4119
+ var init_ConverseCommand = __esm(() => {
4120
+ init_EndpointParameters();
4121
+ init_schemas_0();
4122
+ import_middleware_endpoint3 = __toESM(require_dist_cjs20(), 1);
4123
+ import_smithy_client7 = __toESM(require_dist_cjs10(), 1);
4124
+ ConverseCommand = class ConverseCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4125
+ return [import_middleware_endpoint3.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4126
+ }).s("AmazonBedrockFrontendService", "Converse", {}).n("BedrockRuntimeClient", "ConverseCommand").sc(Converse$).build() {
4127
+ };
4128
+ });
4129
+
4130
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js
4131
+ var import_middleware_endpoint4, import_smithy_client8, ConverseStreamCommand;
4132
+ var init_ConverseStreamCommand = __esm(() => {
4133
+ init_EndpointParameters();
4134
+ init_schemas_0();
4135
+ import_middleware_endpoint4 = __toESM(require_dist_cjs20(), 1);
4136
+ import_smithy_client8 = __toESM(require_dist_cjs10(), 1);
4137
+ ConverseStreamCommand = class ConverseStreamCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4138
+ return [import_middleware_endpoint4.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4139
+ }).s("AmazonBedrockFrontendService", "ConverseStream", {
4140
+ eventStream: {
4141
+ output: true
4142
+ }
4143
+ }).n("BedrockRuntimeClient", "ConverseStreamCommand").sc(ConverseStream$).build() {
4144
+ };
4145
+ });
4146
+
4147
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js
4148
+ var import_middleware_endpoint5, import_smithy_client9, CountTokensCommand;
4149
+ var init_CountTokensCommand = __esm(() => {
4150
+ init_EndpointParameters();
4151
+ init_schemas_0();
4152
+ import_middleware_endpoint5 = __toESM(require_dist_cjs20(), 1);
4153
+ import_smithy_client9 = __toESM(require_dist_cjs10(), 1);
4154
+ CountTokensCommand = class CountTokensCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4155
+ return [import_middleware_endpoint5.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4156
+ }).s("AmazonBedrockFrontendService", "CountTokens", {}).n("BedrockRuntimeClient", "CountTokensCommand").sc(CountTokens$).build() {
4157
+ };
4158
+ });
4159
+
4160
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js
4161
+ var import_middleware_endpoint6, import_smithy_client10, GetAsyncInvokeCommand;
4162
+ var init_GetAsyncInvokeCommand = __esm(() => {
4163
+ init_EndpointParameters();
4164
+ init_schemas_0();
4165
+ import_middleware_endpoint6 = __toESM(require_dist_cjs20(), 1);
4166
+ import_smithy_client10 = __toESM(require_dist_cjs10(), 1);
4167
+ GetAsyncInvokeCommand = class GetAsyncInvokeCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4168
+ return [import_middleware_endpoint6.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4169
+ }).s("AmazonBedrockFrontendService", "GetAsyncInvoke", {}).n("BedrockRuntimeClient", "GetAsyncInvokeCommand").sc(GetAsyncInvoke$).build() {
4170
+ };
4171
+ });
4172
+
4173
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
4174
+ var import_middleware_endpoint7, import_smithy_client11, InvokeModelCommand;
4175
+ var init_InvokeModelCommand = __esm(() => {
4176
+ init_EndpointParameters();
4177
+ init_schemas_0();
4178
+ import_middleware_endpoint7 = __toESM(require_dist_cjs20(), 1);
4179
+ import_smithy_client11 = __toESM(require_dist_cjs10(), 1);
4180
+ InvokeModelCommand = class InvokeModelCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4181
+ return [import_middleware_endpoint7.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4182
+ }).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").sc(InvokeModel$).build() {
4183
+ };
4184
+ });
4185
+
4186
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js
4187
+ var import_middleware_endpoint8, import_smithy_client12, InvokeModelWithBidirectionalStreamCommand;
4188
+ var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
4189
+ init_dist_es3();
4190
+ init_dist_es9();
4191
+ init_EndpointParameters();
4192
+ init_schemas_0();
4193
+ import_middleware_endpoint8 = __toESM(require_dist_cjs20(), 1);
4194
+ import_smithy_client12 = __toESM(require_dist_cjs10(), 1);
4195
+ InvokeModelWithBidirectionalStreamCommand = class InvokeModelWithBidirectionalStreamCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4196
+ return [
4197
+ import_middleware_endpoint8.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
4198
+ getEventStreamPlugin(config),
4199
+ getWebSocketPlugin(config, {
4200
+ headerPrefix: "x-amz-bedrock-"
4201
+ })
4202
+ ];
4203
+ }).s("AmazonBedrockFrontendService", "InvokeModelWithBidirectionalStream", {
4204
+ eventStream: {
4205
+ input: true,
4206
+ output: true
4207
+ }
4208
+ }).n("BedrockRuntimeClient", "InvokeModelWithBidirectionalStreamCommand").sc(InvokeModelWithBidirectionalStream$).build() {
4209
+ };
4210
+ });
4211
+
4212
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
4213
+ var import_middleware_endpoint9, import_smithy_client13, InvokeModelWithResponseStreamCommand;
4214
+ var init_InvokeModelWithResponseStreamCommand = __esm(() => {
4215
+ init_EndpointParameters();
4216
+ init_schemas_0();
4217
+ import_middleware_endpoint9 = __toESM(require_dist_cjs20(), 1);
4218
+ import_smithy_client13 = __toESM(require_dist_cjs10(), 1);
4219
+ InvokeModelWithResponseStreamCommand = class InvokeModelWithResponseStreamCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4220
+ return [import_middleware_endpoint9.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4221
+ }).s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
4222
+ eventStream: {
4223
+ output: true
4224
+ }
4225
+ }).n("BedrockRuntimeClient", "InvokeModelWithResponseStreamCommand").sc(InvokeModelWithResponseStream$).build() {
4226
+ };
4227
+ });
4228
+
4229
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js
4230
+ var import_middleware_endpoint10, import_smithy_client14, ListAsyncInvokesCommand;
4231
+ var init_ListAsyncInvokesCommand = __esm(() => {
4232
+ init_EndpointParameters();
4233
+ init_schemas_0();
4234
+ import_middleware_endpoint10 = __toESM(require_dist_cjs20(), 1);
4235
+ import_smithy_client14 = __toESM(require_dist_cjs10(), 1);
4236
+ ListAsyncInvokesCommand = class ListAsyncInvokesCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4237
+ return [import_middleware_endpoint10.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4238
+ }).s("AmazonBedrockFrontendService", "ListAsyncInvokes", {}).n("BedrockRuntimeClient", "ListAsyncInvokesCommand").sc(ListAsyncInvokes$).build() {
4239
+ };
4240
+ });
4241
+
4242
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js
4243
+ var import_middleware_endpoint11, import_smithy_client15, StartAsyncInvokeCommand;
4244
+ var init_StartAsyncInvokeCommand = __esm(() => {
4245
+ init_EndpointParameters();
4246
+ init_schemas_0();
4247
+ import_middleware_endpoint11 = __toESM(require_dist_cjs20(), 1);
4248
+ import_smithy_client15 = __toESM(require_dist_cjs10(), 1);
4249
+ StartAsyncInvokeCommand = class StartAsyncInvokeCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4250
+ return [import_middleware_endpoint11.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
4251
+ }).s("AmazonBedrockFrontendService", "StartAsyncInvoke", {}).n("BedrockRuntimeClient", "StartAsyncInvokeCommand").sc(StartAsyncInvoke$).build() {
4252
+ };
4253
+ });
4254
+
4255
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/ListAsyncInvokesPaginator.js
4256
+ var import_core5, paginateListAsyncInvokes;
4257
+ var init_ListAsyncInvokesPaginator = __esm(() => {
4258
+ init_BedrockRuntimeClient();
4259
+ init_ListAsyncInvokesCommand();
4260
+ import_core5 = __toESM(require_dist_cjs11(), 1);
4261
+ paginateListAsyncInvokes = import_core5.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
4262
+ });
4263
+
4264
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js
4265
+ var import_smithy_client16, commands, paginators, BedrockRuntime;
4266
+ var init_BedrockRuntime = __esm(() => {
4267
+ init_BedrockRuntimeClient();
4268
+ init_ApplyGuardrailCommand();
4269
+ init_ConverseCommand();
4270
+ init_ConverseStreamCommand();
4271
+ init_CountTokensCommand();
4272
+ init_GetAsyncInvokeCommand();
4273
+ init_InvokeModelCommand();
4274
+ init_InvokeModelWithBidirectionalStreamCommand();
4275
+ init_InvokeModelWithResponseStreamCommand();
4276
+ init_ListAsyncInvokesCommand();
4277
+ init_StartAsyncInvokeCommand();
4278
+ init_ListAsyncInvokesPaginator();
4279
+ import_smithy_client16 = __toESM(require_dist_cjs10(), 1);
4280
+ commands = {
4281
+ ApplyGuardrailCommand,
4282
+ ConverseCommand,
4283
+ ConverseStreamCommand,
4284
+ CountTokensCommand,
4285
+ GetAsyncInvokeCommand,
4286
+ InvokeModelCommand,
4287
+ InvokeModelWithBidirectionalStreamCommand,
4288
+ InvokeModelWithResponseStreamCommand,
4289
+ ListAsyncInvokesCommand,
4290
+ StartAsyncInvokeCommand
4291
+ };
4292
+ paginators = {
4293
+ paginateListAsyncInvokes
4294
+ };
4295
+ BedrockRuntime = class BedrockRuntime extends BedrockRuntimeClient {
4296
+ };
4297
+ import_smithy_client16.createAggregatedClient(commands, BedrockRuntime, { paginators });
4298
+ });
4299
+
4300
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js
4301
+ var init_commands = __esm(() => {
4302
+ init_ApplyGuardrailCommand();
4303
+ init_ConverseCommand();
4304
+ init_ConverseStreamCommand();
4305
+ init_CountTokensCommand();
4306
+ init_GetAsyncInvokeCommand();
4307
+ init_InvokeModelCommand();
4308
+ init_InvokeModelWithBidirectionalStreamCommand();
4309
+ init_InvokeModelWithResponseStreamCommand();
4310
+ init_ListAsyncInvokesCommand();
4311
+ init_StartAsyncInvokeCommand();
4312
+ });
4313
+
4314
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/Interfaces.js
4315
+ var init_Interfaces = () => {};
4316
+
4317
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/index.js
4318
+ var init_pagination = __esm(() => {
4319
+ init_Interfaces();
4320
+ init_ListAsyncInvokesPaginator();
4321
+ });
4322
+
4323
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js
4324
+ var AsyncInvokeStatus, SortAsyncInvocationBy, SortOrder, GuardrailImageFormat, GuardrailContentQualifier, GuardrailOutputScope, GuardrailContentSource, GuardrailAction, GuardrailOrigin, GuardrailOwnership, GuardrailAutomatedReasoningLogicWarningType, GuardrailContentPolicyAction, GuardrailContentFilterConfidence, GuardrailContentFilterStrength, GuardrailContentFilterType, GuardrailContextualGroundingPolicyAction, GuardrailContextualGroundingFilterType, GuardrailSensitiveInformationPolicyAction, GuardrailPiiEntityType, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, GuardrailManagedWordType, GuardrailTrace, AudioFormat, CacheTTL, CachePointType, DocumentFormat, GuardrailConverseImageFormat, GuardrailConverseContentQualifier, ImageFormat, VideoFormat, ToolResultStatus, ToolUseType, ConversationRole, OutputFormatType, PerformanceConfigLatency, ServiceTierType, StopReason, GuardrailStreamProcessingMode, Trace;
4325
+ var init_enums = __esm(() => {
4326
+ AsyncInvokeStatus = {
4327
+ COMPLETED: "Completed",
4328
+ FAILED: "Failed",
4329
+ IN_PROGRESS: "InProgress"
4330
+ };
4331
+ SortAsyncInvocationBy = {
4332
+ SUBMISSION_TIME: "SubmissionTime"
4333
+ };
4334
+ SortOrder = {
4335
+ ASCENDING: "Ascending",
4336
+ DESCENDING: "Descending"
4337
+ };
4338
+ GuardrailImageFormat = {
4339
+ JPEG: "jpeg",
4340
+ PNG: "png"
4341
+ };
4342
+ GuardrailContentQualifier = {
4343
+ GROUNDING_SOURCE: "grounding_source",
4344
+ GUARD_CONTENT: "guard_content",
4345
+ QUERY: "query"
4346
+ };
4347
+ GuardrailOutputScope = {
4348
+ FULL: "FULL",
4349
+ INTERVENTIONS: "INTERVENTIONS"
4350
+ };
4351
+ GuardrailContentSource = {
4352
+ INPUT: "INPUT",
4353
+ OUTPUT: "OUTPUT"
4354
+ };
4355
+ GuardrailAction = {
4356
+ GUARDRAIL_INTERVENED: "GUARDRAIL_INTERVENED",
4357
+ NONE: "NONE"
4358
+ };
4359
+ GuardrailOrigin = {
4360
+ ACCOUNT_ENFORCED: "ACCOUNT_ENFORCED",
4361
+ ORGANIZATION_ENFORCED: "ORGANIZATION_ENFORCED",
4362
+ REQUEST: "REQUEST"
4363
+ };
4364
+ GuardrailOwnership = {
4365
+ CROSS_ACCOUNT: "CROSS_ACCOUNT",
4366
+ SELF: "SELF"
4367
+ };
4368
+ GuardrailAutomatedReasoningLogicWarningType = {
4369
+ ALWAYS_FALSE: "ALWAYS_FALSE",
4370
+ ALWAYS_TRUE: "ALWAYS_TRUE"
4371
+ };
4372
+ GuardrailContentPolicyAction = {
4373
+ BLOCKED: "BLOCKED",
4374
+ NONE: "NONE"
4375
+ };
4376
+ GuardrailContentFilterConfidence = {
4377
+ HIGH: "HIGH",
4378
+ LOW: "LOW",
4379
+ MEDIUM: "MEDIUM",
4380
+ NONE: "NONE"
4381
+ };
4382
+ GuardrailContentFilterStrength = {
4383
+ HIGH: "HIGH",
4384
+ LOW: "LOW",
4385
+ MEDIUM: "MEDIUM",
4386
+ NONE: "NONE"
4387
+ };
4388
+ GuardrailContentFilterType = {
4389
+ HATE: "HATE",
4390
+ INSULTS: "INSULTS",
4391
+ MISCONDUCT: "MISCONDUCT",
4392
+ PROMPT_ATTACK: "PROMPT_ATTACK",
4393
+ SEXUAL: "SEXUAL",
4394
+ VIOLENCE: "VIOLENCE"
4395
+ };
4396
+ GuardrailContextualGroundingPolicyAction = {
4397
+ BLOCKED: "BLOCKED",
4398
+ NONE: "NONE"
4399
+ };
4400
+ GuardrailContextualGroundingFilterType = {
4401
+ GROUNDING: "GROUNDING",
4402
+ RELEVANCE: "RELEVANCE"
4403
+ };
4404
+ GuardrailSensitiveInformationPolicyAction = {
4405
+ ANONYMIZED: "ANONYMIZED",
4406
+ BLOCKED: "BLOCKED",
4407
+ NONE: "NONE"
4408
+ };
4409
+ GuardrailPiiEntityType = {
4410
+ ADDRESS: "ADDRESS",
4411
+ AGE: "AGE",
4412
+ AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
4413
+ AWS_SECRET_KEY: "AWS_SECRET_KEY",
4414
+ CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
4415
+ CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
4416
+ CREDIT_DEBIT_CARD_CVV: "CREDIT_DEBIT_CARD_CVV",
4417
+ CREDIT_DEBIT_CARD_EXPIRY: "CREDIT_DEBIT_CARD_EXPIRY",
4418
+ CREDIT_DEBIT_CARD_NUMBER: "CREDIT_DEBIT_CARD_NUMBER",
4419
+ DRIVER_ID: "DRIVER_ID",
4420
+ EMAIL: "EMAIL",
4421
+ INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
4422
+ IP_ADDRESS: "IP_ADDRESS",
4423
+ LICENSE_PLATE: "LICENSE_PLATE",
4424
+ MAC_ADDRESS: "MAC_ADDRESS",
4425
+ NAME: "NAME",
4426
+ PASSWORD: "PASSWORD",
4427
+ PHONE: "PHONE",
4428
+ PIN: "PIN",
4429
+ SWIFT_CODE: "SWIFT_CODE",
4430
+ UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
4431
+ UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
4432
+ UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
4433
+ URL: "URL",
4434
+ USERNAME: "USERNAME",
4435
+ US_BANK_ACCOUNT_NUMBER: "US_BANK_ACCOUNT_NUMBER",
4436
+ US_BANK_ROUTING_NUMBER: "US_BANK_ROUTING_NUMBER",
4437
+ US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
4438
+ US_PASSPORT_NUMBER: "US_PASSPORT_NUMBER",
4439
+ US_SOCIAL_SECURITY_NUMBER: "US_SOCIAL_SECURITY_NUMBER",
4440
+ VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER"
4441
+ };
4442
+ GuardrailTopicPolicyAction = {
4443
+ BLOCKED: "BLOCKED",
4444
+ NONE: "NONE"
4445
+ };
4446
+ GuardrailTopicType = {
4447
+ DENY: "DENY"
4448
+ };
4449
+ GuardrailWordPolicyAction = {
4450
+ BLOCKED: "BLOCKED",
4451
+ NONE: "NONE"
4452
+ };
4453
+ GuardrailManagedWordType = {
4454
+ PROFANITY: "PROFANITY"
4455
+ };
4456
+ GuardrailTrace = {
4457
+ DISABLED: "disabled",
4458
+ ENABLED: "enabled",
4459
+ ENABLED_FULL: "enabled_full"
4460
+ };
4461
+ AudioFormat = {
4462
+ AAC: "aac",
4463
+ FLAC: "flac",
4464
+ M4A: "m4a",
4465
+ MKA: "mka",
4466
+ MKV: "mkv",
4467
+ MP3: "mp3",
4468
+ MP4: "mp4",
4469
+ MPEG: "mpeg",
4470
+ MPGA: "mpga",
4471
+ OGG: "ogg",
4472
+ OPUS: "opus",
4473
+ PCM: "pcm",
4474
+ WAV: "wav",
4475
+ WEBM: "webm",
4476
+ X_AAC: "x-aac"
4477
+ };
4478
+ CacheTTL = {
4479
+ FIVE_MINUTES: "5m",
4480
+ ONE_HOUR: "1h"
4481
+ };
4482
+ CachePointType = {
4483
+ DEFAULT: "default"
4484
+ };
4485
+ DocumentFormat = {
4486
+ CSV: "csv",
4487
+ DOC: "doc",
4488
+ DOCX: "docx",
4489
+ HTML: "html",
4490
+ MD: "md",
4491
+ PDF: "pdf",
4492
+ TXT: "txt",
4493
+ XLS: "xls",
4494
+ XLSX: "xlsx"
4495
+ };
4496
+ GuardrailConverseImageFormat = {
4497
+ JPEG: "jpeg",
4498
+ PNG: "png"
4499
+ };
4500
+ GuardrailConverseContentQualifier = {
4501
+ GROUNDING_SOURCE: "grounding_source",
4502
+ GUARD_CONTENT: "guard_content",
4503
+ QUERY: "query"
4504
+ };
4505
+ ImageFormat = {
4506
+ GIF: "gif",
4507
+ JPEG: "jpeg",
4508
+ PNG: "png",
4509
+ WEBP: "webp"
4510
+ };
4511
+ VideoFormat = {
4512
+ FLV: "flv",
4513
+ MKV: "mkv",
4514
+ MOV: "mov",
4515
+ MP4: "mp4",
4516
+ MPEG: "mpeg",
4517
+ MPG: "mpg",
4518
+ THREE_GP: "three_gp",
4519
+ WEBM: "webm",
4520
+ WMV: "wmv"
4521
+ };
4522
+ ToolResultStatus = {
4523
+ ERROR: "error",
4524
+ SUCCESS: "success"
4525
+ };
4526
+ ToolUseType = {
4527
+ SERVER_TOOL_USE: "server_tool_use"
4528
+ };
4529
+ ConversationRole = {
4530
+ ASSISTANT: "assistant",
4531
+ USER: "user"
4532
+ };
4533
+ OutputFormatType = {
4534
+ JSON_SCHEMA: "json_schema"
4535
+ };
4536
+ PerformanceConfigLatency = {
4537
+ OPTIMIZED: "optimized",
4538
+ STANDARD: "standard"
4539
+ };
4540
+ ServiceTierType = {
4541
+ DEFAULT: "default",
4542
+ FLEX: "flex",
4543
+ PRIORITY: "priority",
4544
+ RESERVED: "reserved"
4545
+ };
4546
+ StopReason = {
4547
+ CONTENT_FILTERED: "content_filtered",
4548
+ END_TURN: "end_turn",
4549
+ GUARDRAIL_INTERVENED: "guardrail_intervened",
4550
+ MALFORMED_MODEL_OUTPUT: "malformed_model_output",
4551
+ MALFORMED_TOOL_USE: "malformed_tool_use",
4552
+ MAX_TOKENS: "max_tokens",
4553
+ MODEL_CONTEXT_WINDOW_EXCEEDED: "model_context_window_exceeded",
4554
+ STOP_SEQUENCE: "stop_sequence",
4555
+ TOOL_USE: "tool_use"
4556
+ };
4557
+ GuardrailStreamProcessingMode = {
4558
+ ASYNC: "async",
4559
+ SYNC: "sync"
4560
+ };
4561
+ Trace = {
4562
+ DISABLED: "DISABLED",
4563
+ ENABLED: "ENABLED",
4564
+ ENABLED_FULL: "ENABLED_FULL"
4565
+ };
4566
+ });
4567
+
4568
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
4569
+ var init_models_0 = () => {};
4570
+
4571
+ // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1037.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js
4572
+ var init_dist_es13 = __esm(() => {
4573
+ init_BedrockRuntimeServiceException();
4574
+ init_BedrockRuntimeClient();
4575
+ init_BedrockRuntime();
4576
+ init_commands();
4577
+ init_schemas_0();
4578
+ init_pagination();
4579
+ init_enums();
4580
+ init_errors();
4581
+ init_models_0();
4582
+ });
4583
+
4584
+ export { fromArrayBuffer, fromString, init_dist_es5 as init_dist_es, fromUtf8, toUtf8, init_dist_es6 as init_dist_es1, BedrockRuntimeServiceException, AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException, BedrockRuntimeServiceException$, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$, import_smithy_client5 as import_smithy_client, BedrockRuntimeClient, ApplyGuardrailCommand, ConverseCommand, ConverseStreamCommand, CountTokensCommand, GetAsyncInvokeCommand, InvokeModelCommand, InvokeModelWithBidirectionalStreamCommand, InvokeModelWithResponseStreamCommand, ListAsyncInvokesCommand, StartAsyncInvokeCommand, paginateListAsyncInvokes, BedrockRuntime, AsyncInvokeStatus, SortAsyncInvocationBy, SortOrder, GuardrailImageFormat, GuardrailContentQualifier, GuardrailOutputScope, GuardrailContentSource, GuardrailAction, GuardrailOrigin, GuardrailOwnership, GuardrailAutomatedReasoningLogicWarningType, GuardrailContentPolicyAction, GuardrailContentFilterConfidence, GuardrailContentFilterStrength, GuardrailContentFilterType, GuardrailContextualGroundingPolicyAction, GuardrailContextualGroundingFilterType, GuardrailSensitiveInformationPolicyAction, GuardrailPiiEntityType, GuardrailTopicPolicyAction, GuardrailTopicType, GuardrailWordPolicyAction, GuardrailManagedWordType, GuardrailTrace, AudioFormat, CacheTTL, CachePointType, DocumentFormat, GuardrailConverseImageFormat, GuardrailConverseContentQualifier, ImageFormat, VideoFormat, ToolResultStatus, ToolUseType, ConversationRole, OutputFormatType, PerformanceConfigLatency, ServiceTierType, StopReason, GuardrailStreamProcessingMode, Trace, init_dist_es13 as init_dist_es2 };