claude-code-best 1.3.4 → 1.3.6

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 (395) hide show
  1. package/README.md +4 -2
  2. package/dist/{chunk-mbywyc8h.js → chunk-03881djp.js} +11 -11
  3. package/dist/{chunk-pn0k5wak.js → chunk-03qpgz7e.js} +749 -23
  4. package/dist/{chunk-eqds35a8.js → chunk-04hdmsbx.js} +1 -1
  5. package/dist/{chunk-5g4nktjm.js → chunk-06zzah5k.js} +19 -20
  6. package/dist/{chunk-2j1t3hcw.js → chunk-0fnpkgd6.js} +8 -8
  7. package/dist/{chunk-h85mjbxd.js → chunk-0jcebzyj.js} +45 -46
  8. package/dist/{chunk-waar1mpa.js → chunk-0mf8c3kx.js} +2 -3
  9. package/dist/{chunk-rmx7dd2z.js → chunk-0z70mbgk.js} +45 -46
  10. package/dist/{chunk-mpekeaqp.js → chunk-12e5a806.js} +17 -18
  11. package/dist/{chunk-zwj9gdqj.js → chunk-13pvvkd3.js} +45 -46
  12. package/dist/{chunk-wm0hb3vy.js → chunk-194wmkgc.js} +46 -47
  13. package/dist/{chunk-zq8mhgbb.js → chunk-196500e9.js} +5 -5
  14. package/dist/{chunk-cz1adfmq.js → chunk-1fn2d8e6.js} +48 -49
  15. package/dist/chunk-1gvjejsj.js +334 -0
  16. package/dist/{chunk-vx640z3e.js → chunk-1mygjwf9.js} +45 -46
  17. package/dist/{chunk-3w1s1amj.js → chunk-1scf0v8s.js} +9 -9
  18. package/dist/{chunk-v7drmj3a.js → chunk-1y0e25vy.js} +1 -1
  19. package/dist/{chunk-2493n0r6.js → chunk-1ynhxc03.js} +5 -5
  20. package/dist/{chunk-w061rb6v.js → chunk-21r0t9p5.js} +73 -74
  21. package/dist/{chunk-5jn7tb8w.js → chunk-26zepstf.js} +5 -5
  22. package/dist/{chunk-g56c6b6r.js → chunk-274pv89a.js} +45 -46
  23. package/dist/{chunk-hgjn6jcc.js → chunk-2dsqf7sp.js} +1 -1
  24. package/dist/{chunk-32dg30qk.js → chunk-2fn6s9rq.js} +45 -46
  25. package/dist/{chunk-r7f2tww6.js → chunk-2jzsktxp.js} +45 -46
  26. package/dist/{chunk-dr3e0epq.js → chunk-2k9fbk1p.js} +18 -19
  27. package/dist/{chunk-ytt2z3my.js → chunk-2krazyfm.js} +46 -47
  28. package/dist/{chunk-ntd3kv2x.js → chunk-2qhfqgbj.js} +18 -19
  29. package/dist/{chunk-7d3ba1n4.js → chunk-2t5ve6ev.js} +1 -1
  30. package/dist/{chunk-tf71jcn7.js → chunk-2wvxqpfc.js} +10 -11
  31. package/dist/{chunk-493bfayq.js → chunk-2zzh0pds.js} +48 -49
  32. package/dist/{chunk-8sg9th04.js → chunk-33fsprrx.js} +5 -5
  33. package/dist/{chunk-9zqwfqja.js → chunk-347zaz9e.js} +2 -2
  34. package/dist/{chunk-ybh7j61y.js → chunk-35g2t0y0.js} +1 -1
  35. package/dist/{chunk-x2ej4p06.js → chunk-38tedxdq.js} +49 -50
  36. package/dist/{chunk-vxk5xq7a.js → chunk-39zy97qa.js} +1 -1
  37. package/dist/{chunk-2ag2wj35.js → chunk-3b0p0vrc.js} +57 -58
  38. package/dist/{chunk-1gek5y1c.js → chunk-3b9ar57s.js} +4 -5
  39. package/dist/{chunk-1c4s80b2.js → chunk-3caf4y23.js} +18 -19
  40. package/dist/{chunk-trv1sz38.js → chunk-3cvw39wv.js} +6 -7
  41. package/dist/{chunk-z6e5jp2w.js → chunk-3ev51j3h.js} +2 -4
  42. package/dist/{chunk-np8325ac.js → chunk-3fp4s54c.js} +5 -7
  43. package/dist/{chunk-s4012mt2.js → chunk-3fqxcp51.js} +8 -12
  44. package/dist/{chunk-wjxhh6g3.js → chunk-3h4pyb94.js} +4 -4
  45. package/dist/{chunk-aw7qc07n.js → chunk-3me1hah2.js} +45 -46
  46. package/dist/{chunk-s64e1bsh.js → chunk-3synjm2x.js} +2 -2
  47. package/dist/{chunk-b24bz3cf.js → chunk-3tbrhape.js} +3 -3
  48. package/dist/{chunk-cfvt77b3.js → chunk-42f9j6bp.js} +47 -48
  49. package/dist/{chunk-3mjv3k3k.js → chunk-4451b82w.js} +56 -57
  50. package/dist/{chunk-sa9a3ny0.js → chunk-4mtfrpdt.js} +45 -46
  51. package/dist/{chunk-7sgatxct.js → chunk-4qqswajh.js} +5 -5
  52. package/dist/{chunk-dghedezr.js → chunk-4xbmk1fe.js} +45 -46
  53. package/dist/chunk-4zkbp6fk.js +175 -0
  54. package/dist/{chunk-nmkyaj27.js → chunk-57vnbap8.js} +5 -5
  55. package/dist/{chunk-0tvdp8ty.js → chunk-5rezdbjk.js} +45 -46
  56. package/dist/{chunk-4tre5ddg.js → chunk-5wb5ym2h.js} +2 -2
  57. package/dist/{chunk-586a3eqf.js → chunk-5zbm7te6.js} +1 -1
  58. package/dist/{chunk-8wrcjsw2.js → chunk-6174c2qe.js} +17 -18
  59. package/dist/{chunk-8t1z3nne.js → chunk-61j8wh0j.js} +45 -46
  60. package/dist/{chunk-jpyn4ry7.js → chunk-61q7vfrc.js} +1 -1
  61. package/dist/{chunk-g25v3e4b.js → chunk-648z0z9m.js} +2 -2
  62. package/dist/{chunk-ffch3v3a.js → chunk-66s54sg3.js} +48 -49
  63. package/dist/{chunk-zwk68z4e.js → chunk-683cf5j7.js} +45 -46
  64. package/dist/{chunk-hms1mvpy.js → chunk-6a316dkg.js} +17 -17
  65. package/dist/{chunk-8vawdfrp.js → chunk-6c5zyga7.js} +3 -5
  66. package/dist/{chunk-jcqa6n0k.js → chunk-6e1xak8j.js} +5 -6
  67. package/dist/{chunk-vbs93gm2.js → chunk-6p2kydfj.js} +45 -46
  68. package/dist/{chunk-8jpxzesa.js → chunk-6ye6d9gw.js} +1 -1
  69. package/dist/{chunk-hrva2hz9.js → chunk-714yn4hd.js} +18 -18
  70. package/dist/{chunk-q47gtsy5.js → chunk-763jzvy7.js} +46 -47
  71. package/dist/{chunk-09rqypeh.js → chunk-777vk9pb.js} +14 -18
  72. package/dist/{chunk-pn3j4jeq.js → chunk-79y6s5n4.js} +4 -4
  73. package/dist/{chunk-3n3wcj02.js → chunk-7jsk6wen.js} +46 -47
  74. package/dist/{chunk-rtn3y8f8.js → chunk-7k3mv7cr.js} +18 -19
  75. package/dist/{chunk-zwa133ny.js → chunk-7nebst32.js} +2 -2
  76. package/dist/{chunk-7xw57a3v.js → chunk-7p3kar3b.js} +51 -52
  77. package/dist/{chunk-gmfz1e6f.js → chunk-7pfwfh7h.js} +46 -47
  78. package/dist/{chunk-zpjf2dn4.js → chunk-7qf1wt5n.js} +2 -2
  79. package/dist/{chunk-37qwc47p.js → chunk-7r2k7qes.js} +1 -1
  80. package/dist/{chunk-tag6ecp6.js → chunk-7whq2gjt.js} +45 -46
  81. package/dist/{chunk-xyf4xt40.js → chunk-7xnaj5zg.js} +62 -63
  82. package/dist/{chunk-d6vexw90.js → chunk-7xxqf2r6.js} +1 -1
  83. package/dist/{chunk-dc83q1dm.js → chunk-81dq52pk.js} +2 -2
  84. package/dist/{chunk-71003wt4.js → chunk-8200svcn.js} +2 -2
  85. package/dist/{chunk-9n371h8z.js → chunk-84tfftm0.js} +3 -3
  86. package/dist/{chunk-shhpbfww.js → chunk-870vafdb.js} +17 -18
  87. package/dist/{chunk-zm08g2mt.js → chunk-89be833d.js} +47 -48
  88. package/dist/{chunk-mbv3f2vm.js → chunk-8q4yg5pk.js} +4 -4
  89. package/dist/{chunk-4n7wmw0x.js → chunk-8vkefxtt.js} +45 -46
  90. package/dist/{chunk-gpzp9z8k.js → chunk-8wzwqd1z.js} +46 -47
  91. package/dist/{chunk-m98kq60f.js → chunk-8xmqgp50.js} +1 -1
  92. package/dist/{chunk-6btk4gvz.js → chunk-9073kfry.js} +18 -19
  93. package/dist/{chunk-3zhesf91.js → chunk-90tb6xj7.js} +48 -49
  94. package/dist/{chunk-n27af6mx.js → chunk-92v75fwp.js} +7 -7
  95. package/dist/{chunk-cj2bae7p.js → chunk-95jqp7w7.js} +46 -47
  96. package/dist/{chunk-kttzv83p.js → chunk-963ysvck.js} +45 -46
  97. package/dist/{chunk-4h7mr0e2.js → chunk-979mvrgv.js} +17 -18
  98. package/dist/{chunk-ndewdd8x.js → chunk-995f4htk.js} +45 -46
  99. package/dist/{chunk-374td42e.js → chunk-9dgec475.js} +5 -5
  100. package/dist/{chunk-2mnmad00.js → chunk-9hcw3b4h.js} +2 -2
  101. package/dist/{chunk-13mhj6sg.js → chunk-9kgh44wk.js} +64 -65
  102. package/dist/{chunk-ng8q29em.js → chunk-9msn8xwq.js} +4 -5
  103. package/dist/{chunk-vjrke1x9.js → chunk-9nm5sbkf.js} +23 -23
  104. package/dist/{chunk-rf1twb22.js → chunk-9vshpe8q.js} +54 -55
  105. package/dist/{chunk-b4tpr60m.js → chunk-9wz3jvbh.js} +23 -24
  106. package/dist/{chunk-rf8yj47v.js → chunk-9zyfkrwt.js} +14 -14
  107. package/dist/{chunk-15t76at8.js → chunk-a0yw6a1m.js} +17 -18
  108. package/dist/{chunk-hc685hct.js → chunk-a1pm2zwv.js} +47 -48
  109. package/dist/{chunk-tqdxpcqt.js → chunk-a4c4m0nx.js} +1757 -42
  110. package/dist/{chunk-vrabm9yw.js → chunk-a6hvbf61.js} +17 -18
  111. package/dist/{chunk-4vyrbwdh.js → chunk-a6s9h1qh.js} +2 -2
  112. package/dist/{chunk-3j0q7w8y.js → chunk-a75g97ek.js} +18 -19
  113. package/dist/{chunk-2wvfy0hg.js → chunk-ag255pqj.js} +45 -46
  114. package/dist/{chunk-zvcv5g57.js → chunk-akc4jb4z.js} +1 -1
  115. package/dist/{chunk-pv6amr31.js → chunk-ardzdtan.js} +1 -1
  116. package/dist/{chunk-pymwmshc.js → chunk-asfhkynx.js} +4 -4
  117. package/dist/{chunk-0k1bnmxp.js → chunk-b4hkf17a.js} +1 -1
  118. package/dist/{chunk-fhs0b24h.js → chunk-b7e8n2r7.js} +1 -1
  119. package/dist/{chunk-zfj3frys.js → chunk-bem4prar.js} +48 -49
  120. package/dist/{chunk-fn510gqw.js → chunk-brnc96x6.js} +2 -3
  121. package/dist/{chunk-j04z48rw.js → chunk-bt64sq5y.js} +3 -3
  122. package/dist/{chunk-ptzrvjve.js → chunk-byrh00bq.js} +8 -8
  123. package/dist/{chunk-2xezy8pc.js → chunk-c209ascy.js} +9 -10
  124. package/dist/{chunk-gbd64n0k.js → chunk-c358prbg.js} +231 -4003
  125. package/dist/{chunk-tzpr2qnx.js → chunk-c3a6ss16.js} +4 -4
  126. package/dist/{chunk-edemd80h.js → chunk-c9js3490.js} +4 -4
  127. package/dist/{chunk-pjqnej9c.js → chunk-cd99ankh.js} +18 -19
  128. package/dist/{chunk-8y3eszv7.js → chunk-cj8m3h8r.js} +2 -2
  129. package/dist/chunk-cmdvq8tr.js +4265 -0
  130. package/dist/{chunk-a5v16z9p.js → chunk-ctbkh6m5.js} +46 -47
  131. package/dist/{chunk-ghbqgn5f.js → chunk-cy7hbg8h.js} +11 -12
  132. package/dist/{chunk-qyd2shwy.js → chunk-d01wa055.js} +3 -3
  133. package/dist/{chunk-znehavdm.js → chunk-d2vb6m9e.js} +2 -2
  134. package/dist/{chunk-vw8ptdz0.js → chunk-d5qv71vm.js} +8 -12
  135. package/dist/{chunk-1za5ej4d.js → chunk-d7mjq8wa.js} +101 -102
  136. package/dist/{chunk-x9a9as9h.js → chunk-d90bhmt1.js} +15 -18
  137. package/dist/{chunk-exht1k7p.js → chunk-dbv7vcrz.js} +45 -46
  138. package/dist/{chunk-61edjmf6.js → chunk-dchgtage.js} +2 -2
  139. package/dist/{chunk-66f0ej9k.js → chunk-de1831as.js} +5 -5
  140. package/dist/{chunk-j6pmdb8f.js → chunk-dh6khzjj.js} +2 -2
  141. package/dist/{chunk-0t913kzh.js → chunk-djydtvkr.js} +14 -20
  142. package/dist/{chunk-ntr86en5.js → chunk-dm2gyqck.js} +45 -46
  143. package/dist/{chunk-ygbnw2bs.js → chunk-dm2wnjrr.js} +18 -206
  144. package/dist/{chunk-n8wzs06g.js → chunk-dnqrmqfa.js} +45 -46
  145. package/dist/{chunk-gq2cn3gp.js → chunk-dqrmn537.js} +4 -4
  146. package/dist/{chunk-35ybeyqz.js → chunk-e0jj5paw.js} +45 -46
  147. package/dist/{chunk-f60fbsr6.js → chunk-e1hqpkj1.js} +48 -49
  148. package/dist/{chunk-vc2r07bf.js → chunk-e1hz6df1.js} +3 -3
  149. package/dist/{chunk-ncmygxyq.js → chunk-e3kwey2b.js} +48 -49
  150. package/dist/{chunk-rthe9zg7.js → chunk-e4518h45.js} +2 -2
  151. package/dist/{chunk-asf6q6d8.js → chunk-ed8b4mw3.js} +7 -7
  152. package/dist/{chunk-bkty19wy.js → chunk-eef1npre.js} +3 -4
  153. package/dist/{chunk-rhwz80w4.js → chunk-ej1wwrcw.js} +531 -311
  154. package/dist/{chunk-8124vgve.js → chunk-ejrvwn8n.js} +45 -46
  155. package/dist/{chunk-pb2nc7r0.js → chunk-ep17krqe.js} +31 -5
  156. package/dist/{chunk-z10b55s8.js → chunk-epkw6jp6.js} +7 -7
  157. package/dist/{chunk-cx57p98d.js → chunk-eqn3qmfz.js} +45 -46
  158. package/dist/{chunk-kbqfjsaf.js → chunk-eqvsjpvm.js} +46 -47
  159. package/dist/{chunk-a94tfcsn.js → chunk-etbqf6ty.js} +51 -52
  160. package/dist/{chunk-smp8rsah.js → chunk-etv5netv.js} +4 -4
  161. package/dist/{chunk-v31nvtrf.js → chunk-evbemh4j.js} +48 -49
  162. package/dist/{chunk-m7sgsdqk.js → chunk-ewcq3dcx.js} +7 -7
  163. package/dist/{chunk-4f6h68mp.js → chunk-ez3c99v0.js} +20 -21
  164. package/dist/{chunk-anz010ze.js → chunk-f39ftn0d.js} +52 -53
  165. package/dist/{chunk-y3rge05f.js → chunk-f9my4m74.js} +46 -47
  166. package/dist/{chunk-g0ezcck5.js → chunk-fcwx5cbb.js} +4 -4
  167. package/dist/{chunk-bhstw51r.js → chunk-fdc4mbdf.js} +1 -1
  168. package/dist/{chunk-58xj53w6.js → chunk-ff5z5bf0.js} +6 -6
  169. package/dist/{chunk-2fv8vjbj.js → chunk-fg46hc6d.js} +14 -20
  170. package/dist/{chunk-h5xhbctz.js → chunk-fj7x7q9f.js} +46 -47
  171. package/dist/{chunk-nn8nkawn.js → chunk-fjne3x6c.js} +9 -10
  172. package/dist/{chunk-5tx8e772.js → chunk-fqpabm91.js} +1 -1
  173. package/dist/{chunk-mdvqw8nh.js → chunk-fxqp3yt4.js} +6 -7
  174. package/dist/{chunk-tgj54psr.js → chunk-fy6tp8zj.js} +2 -2
  175. package/dist/{chunk-fw64v27c.js → chunk-fz0ch109.js} +3 -3
  176. package/dist/{chunk-7tehvqxv.js → chunk-g04kk7dj.js} +46 -47
  177. package/dist/{chunk-g9x047b0.js → chunk-g0ab48tb.js} +18 -19
  178. package/dist/{chunk-wp3sx71x.js → chunk-g4fc7hyp.js} +18 -19
  179. package/dist/{chunk-j2cbcyf7.js → chunk-g649rtg8.js} +4 -6
  180. package/dist/{chunk-zwz7168z.js → chunk-gcxez66d.js} +7 -7
  181. package/dist/{chunk-tpe95kmw.js → chunk-gd0gptts.js} +45 -46
  182. package/dist/{chunk-tsdqd747.js → chunk-gfex5hb6.js} +10 -4
  183. package/dist/{chunk-58ka2n0w.js → chunk-gnq6fd5g.js} +3 -3
  184. package/dist/{chunk-4p90jgvz.js → chunk-gv4dsg6q.js} +54 -55
  185. package/dist/{chunk-grw5wnd3.js → chunk-h48af73s.js} +46 -47
  186. package/dist/{chunk-6hn0d7dq.js → chunk-h6v79pb5.js} +60378 -61906
  187. package/dist/{chunk-597p7yt8.js → chunk-hd98he8z.js} +21 -22
  188. package/dist/{chunk-fbr868n1.js → chunk-hda58kjk.js} +4 -4
  189. package/dist/{chunk-3jtdg17c.js → chunk-hnx0eg6x.js} +3 -3
  190. package/dist/{chunk-nhjhmgtk.js → chunk-hs7qq18b.js} +52 -54
  191. package/dist/{chunk-bhbgz10h.js → chunk-hw1qqgzj.js} +50 -51
  192. package/dist/{chunk-rxx0k0mm.js → chunk-hw4w8f8x.js} +9 -9
  193. package/dist/{chunk-cekte71q.js → chunk-hwby3r4g.js} +3 -3
  194. package/dist/{chunk-z1hsgc00.js → chunk-j06y02aw.js} +3 -3
  195. package/dist/{chunk-g4fwe1v8.js → chunk-j16rp8y4.js} +1 -1
  196. package/dist/{chunk-9rxb4dzq.js → chunk-j1ftb6pr.js} +17 -18
  197. package/dist/{chunk-0fcq7r22.js → chunk-j1r1mywp.js} +60 -318
  198. package/dist/{chunk-1h66xwg2.js → chunk-j6493m6s.js} +4 -4
  199. package/dist/{chunk-ebx4j5r5.js → chunk-j6k3zjb5.js} +5 -7
  200. package/dist/{chunk-8kac9c2z.js → chunk-jbhhp82d.js} +46 -47
  201. package/dist/{chunk-1r7d9q56.js → chunk-jbts6gcv.js} +17 -18
  202. package/dist/{chunk-by6q9nyh.js → chunk-jfhmk1c6.js} +14 -20
  203. package/dist/{chunk-cs8kgd05.js → chunk-jg85npcz.js} +1 -1
  204. package/dist/{chunk-dep99fb9.js → chunk-jj2c3dtz.js} +4 -4
  205. package/dist/{chunk-2jw74dj2.js → chunk-jr10vd79.js} +45 -46
  206. package/dist/{chunk-zrpc9tma.js → chunk-k25d0zv6.js} +3 -3
  207. package/dist/{chunk-ytefg81v.js → chunk-k2m40brd.js} +46 -47
  208. package/dist/{chunk-vymakknp.js → chunk-k3yxwy95.js} +3 -3
  209. package/dist/{chunk-1tz5v73q.js → chunk-k73mekxt.js} +45 -46
  210. package/dist/chunk-k97ze3a8.js +524 -0
  211. package/dist/{chunk-748c2115.js → chunk-kbzh54rh.js} +1 -1
  212. package/dist/{chunk-mn5xdva3.js → chunk-kd2g8s3v.js} +45 -46
  213. package/dist/{chunk-aawxx2nq.js → chunk-kkq06r33.js} +47 -48
  214. package/dist/{chunk-5qxgyby3.js → chunk-kmgp6prw.js} +613 -3
  215. package/dist/{chunk-69prctm2.js → chunk-kmnz4ygv.js} +2 -2
  216. package/dist/{chunk-cmfz871h.js → chunk-knqbt146.js} +1 -1
  217. package/dist/{chunk-1h2gg57j.js → chunk-knqgpzjb.js} +1 -1
  218. package/dist/{chunk-10j8vfv6.js → chunk-kw6sq28k.js} +78 -80
  219. package/dist/{chunk-6trshzy4.js → chunk-m1xjfwvq.js} +45 -46
  220. package/dist/{chunk-7fkrv6nn.js → chunk-m6ee4m2f.js} +45 -46
  221. package/dist/{chunk-5ycqyqbj.js → chunk-m8v1x99r.js} +2 -2
  222. package/dist/{chunk-153vnegp.js → chunk-m9g44vvc.js} +7 -7
  223. package/dist/{chunk-1cg8ger2.js → chunk-mayfcyq2.js} +6 -6
  224. package/dist/{chunk-67kbf9d2.js → chunk-mbetxrea.js} +46 -47
  225. package/dist/{chunk-negd1pnp.js → chunk-mcmh43pn.js} +48 -49
  226. package/dist/{chunk-6j81ywrw.js → chunk-mh6e2xje.js} +24 -25
  227. package/dist/{chunk-73q37kvx.js → chunk-mmcr6z1m.js} +5 -5
  228. package/dist/{chunk-4mt318vn.js → chunk-mq37sf2q.js} +45 -46
  229. package/dist/{chunk-fmq83t7h.js → chunk-n1pa72ns.js} +2 -2
  230. package/dist/{chunk-555tp6de.js → chunk-n3grbsgp.js} +51 -52
  231. package/dist/{chunk-98725sax.js → chunk-n562n1g9.js} +4 -4
  232. package/dist/{chunk-8gwh0zz4.js → chunk-n8whv674.js} +7 -8
  233. package/dist/{chunk-1ha2zvka.js → chunk-namrjc11.js} +2 -2
  234. package/dist/{chunk-sjc4ghtm.js → chunk-nhpkz83c.js} +50 -51
  235. package/dist/{chunk-m6x55e6s.js → chunk-nkvkmxw4.js} +2 -2
  236. package/dist/{chunk-p3ypmg5h.js → chunk-nsh75cdk.js} +19 -20
  237. package/dist/{chunk-bagztcfd.js → chunk-p4ebkyd1.js} +15 -15
  238. package/dist/{chunk-vwdcbhtm.js → chunk-p80rbxhh.js} +4 -4
  239. package/dist/{chunk-1xnv5gfy.js → chunk-p8vf12kz.js} +45 -46
  240. package/dist/{chunk-qhw7kwem.js → chunk-pe3t1k22.js} +54 -55
  241. package/dist/{chunk-c729rmzs.js → chunk-pedmqmrf.js} +6 -6
  242. package/dist/{chunk-4sgspsr0.js → chunk-pj4p53ve.js} +45 -46
  243. package/dist/{chunk-122wp3n9.js → chunk-prgsmrmy.js} +1 -1
  244. package/dist/{chunk-940b2dnc.js → chunk-psz76514.js} +1 -1
  245. package/dist/{chunk-n39z33pk.js → chunk-pwxgff26.js} +5 -5
  246. package/dist/{chunk-xer6484t.js → chunk-q0exa8dt.js} +47 -48
  247. package/dist/{chunk-j95j6wz8.js → chunk-q27bsq0y.js} +1 -1
  248. package/dist/{chunk-vf02apc8.js → chunk-q2q31ng9.js} +18 -19
  249. package/dist/{chunk-5d0mvxp9.js → chunk-q5v3yazb.js} +3 -3
  250. package/dist/{chunk-9x73cy0q.js → chunk-q6nvm3r5.js} +46 -47
  251. package/dist/{chunk-akjm94cc.js → chunk-q76tj8p6.js} +1 -1
  252. package/dist/{chunk-9kqtdah4.js → chunk-qwj4n799.js} +1 -1
  253. package/dist/{chunk-mwqy26zz.js → chunk-qz32t082.js} +1 -1
  254. package/dist/{chunk-8m35cg3r.js → chunk-r1pxpxxk.js} +5 -5
  255. package/dist/{chunk-hb4rkc7j.js → chunk-r26enj81.js} +3 -3
  256. package/dist/{chunk-c732psra.js → chunk-r6pe7y6z.js} +6 -6
  257. package/dist/{chunk-zatd0y92.js → chunk-r8m19xnp.js} +4 -5
  258. package/dist/{chunk-1hxvcg26.js → chunk-r9cy8b69.js} +45 -46
  259. package/dist/{chunk-ts2p6bv1.js → chunk-r9e0q1sn.js} +1 -1
  260. package/dist/{chunk-56d0vx53.js → chunk-rb67t4fq.js} +28 -29
  261. package/dist/{chunk-bgtwdvvd.js → chunk-rb79txq9.js} +3 -3
  262. package/dist/{chunk-48be0jbb.js → chunk-rbkhemh9.js} +14 -20
  263. package/dist/{chunk-czay2zkv.js → chunk-rd3w1pnm.js} +18 -19
  264. package/dist/{chunk-n93jyav6.js → chunk-rjgn3yzv.js} +10 -11
  265. package/dist/{chunk-h7rzqh2d.js → chunk-rpm043xg.js} +7 -7
  266. package/dist/{chunk-2qest09s.js → chunk-rwyc5eh7.js} +46 -47
  267. package/dist/{chunk-0n3jpe9y.js → chunk-rzgj07hb.js} +46 -47
  268. package/dist/{chunk-rx9q2qs6.js → chunk-s26mv9yh.js} +9 -10
  269. package/dist/{chunk-xqgfgh2f.js → chunk-s337frnp.js} +21 -22
  270. package/dist/{chunk-mwgm971p.js → chunk-s3gzpm93.js} +1 -1
  271. package/dist/{chunk-9ene41cb.js → chunk-s5yykd80.js} +9 -9
  272. package/dist/{chunk-v3mhmw2r.js → chunk-s6xaezgh.js} +5 -5
  273. package/dist/{chunk-s38qgqfs.js → chunk-s9nr589x.js} +5 -5
  274. package/dist/{chunk-gsgz08fk.js → chunk-sbafpprr.js} +46 -47
  275. package/dist/{chunk-ra68k7gk.js → chunk-sj7m6hsp.js} +1 -1
  276. package/dist/{chunk-q0fw6gv4.js → chunk-sk1z4m1n.js} +3 -3
  277. package/dist/{chunk-gca8c5w2.js → chunk-snpjjn5q.js} +2 -2
  278. package/dist/{chunk-x9avq620.js → chunk-sqzmp660.js} +5 -5
  279. package/dist/{chunk-vnw84e7x.js → chunk-strvbymz.js} +14 -20
  280. package/dist/{chunk-4gttvqbf.js → chunk-svb53yk3.js} +46 -47
  281. package/dist/{chunk-x6faa621.js → chunk-sxceea76.js} +3 -3
  282. package/dist/{chunk-0kh2f6kh.js → chunk-t0b0bas5.js} +3 -3
  283. package/dist/{chunk-y8w54a83.js → chunk-t6q0r0gs.js} +5 -5
  284. package/dist/{chunk-b5q6tmh8.js → chunk-t7a8ch9m.js} +45 -46
  285. package/dist/{chunk-vhj00rp2.js → chunk-t7z61mwv.js} +46 -47
  286. package/dist/{chunk-3rn9pt15.js → chunk-tbm211vs.js} +9 -9
  287. package/dist/{chunk-2bkgkabk.js → chunk-tcgzwpm2.js} +46 -47
  288. package/dist/{chunk-wtwv047v.js → chunk-tj6kayqs.js} +45 -46
  289. package/dist/{chunk-7mpdfrdm.js → chunk-tjbjxrqz.js} +7 -8
  290. package/dist/{chunk-ej62hf21.js → chunk-tjwcr6x0.js} +45 -46
  291. package/dist/{chunk-mxpcw1zm.js → chunk-tnhf35ky.js} +46 -47
  292. package/dist/{chunk-dgy3znwx.js → chunk-tpgs71gk.js} +5 -5
  293. package/dist/{chunk-04jfckn0.js → chunk-ttqs2rma.js} +45 -46
  294. package/dist/{chunk-zs36erzy.js → chunk-ttswf1a8.js} +19 -20
  295. package/dist/{chunk-h33aaf50.js → chunk-txeekahj.js} +3 -3
  296. package/dist/{chunk-qn7589n3.js → chunk-ty49mrty.js} +135 -134
  297. package/dist/{chunk-9rtywfhp.js → chunk-v1chtgnf.js} +1 -1
  298. package/dist/{chunk-9gtd4322.js → chunk-v4bx30kd.js} +45 -46
  299. package/dist/{chunk-dd1h2gf8.js → chunk-v4nrk2f9.js} +9 -10
  300. package/dist/{chunk-m3f1ze45.js → chunk-v6maw2x3.js} +46 -47
  301. package/dist/{chunk-72cx9htw.js → chunk-veeeke8r.js} +19 -20
  302. package/dist/{chunk-518qxj3g.js → chunk-vhggszd9.js} +2 -2
  303. package/dist/{chunk-3nmhzccb.js → chunk-vpp13z80.js} +2 -2
  304. package/dist/{chunk-f3hrc1nw.js → chunk-vrbt94t8.js} +45 -46
  305. package/dist/{chunk-2pagrshx.js → chunk-vs95kmdc.js} +45 -46
  306. package/dist/{chunk-pwqtyfqs.js → chunk-vsfqfbsh.js} +1 -1
  307. package/dist/{chunk-7g15xzdv.js → chunk-vsrejr6p.js} +56 -57
  308. package/dist/{chunk-j0n3zdda.js → chunk-vyejsevp.js} +8 -8
  309. package/dist/{chunk-rbm8cpmb.js → chunk-vyty9qyf.js} +55 -56
  310. package/dist/{chunk-v6x8j5t4.js → chunk-w3sv9y41.js} +4 -4
  311. package/dist/{chunk-8gxctg7k.js → chunk-w43ks9ey.js} +53 -54
  312. package/dist/{chunk-2gcmzgtb.js → chunk-w94epkj0.js} +6 -6
  313. package/dist/{chunk-j64ga6ta.js → chunk-whssn5y4.js} +304 -272
  314. package/dist/{chunk-a9jhnc53.js → chunk-wjhhetv4.js} +15 -21
  315. package/dist/{chunk-h13g15kb.js → chunk-wmbpegg3.js} +1 -1
  316. package/dist/{chunk-cdz1nacq.js → chunk-wnff3sck.js} +45 -46
  317. package/dist/{chunk-f7hcqtdv.js → chunk-wp6axm3b.js} +45 -46
  318. package/dist/{chunk-4n2e1n3b.js → chunk-wqmza60n.js} +2 -2
  319. package/dist/{chunk-5m7rf118.js → chunk-wqx2ybqh.js} +14 -14
  320. package/dist/{chunk-3mvxzff9.js → chunk-wrxzr8y1.js} +59 -60
  321. package/dist/{chunk-xff6jfpd.js → chunk-x1afcacf.js} +3 -3
  322. package/dist/{chunk-04569a6a.js → chunk-x3nshkcr.js} +5 -5
  323. package/dist/{chunk-84rdx991.js → chunk-x4t0n8t3.js} +5 -6
  324. package/dist/{chunk-12519p65.js → chunk-xaw4scep.js} +2 -2
  325. package/dist/{chunk-3dd53fxb.js → chunk-xce2xjv1.js} +45 -46
  326. package/dist/{chunk-bjzhfktg.js → chunk-xfe2m04z.js} +1 -1
  327. package/dist/{chunk-hvav6tb9.js → chunk-xfe479s0.js} +46 -47
  328. package/dist/{chunk-87zb3jkk.js → chunk-xkfzn8zv.js} +19 -19
  329. package/dist/{chunk-w7tszf3q.js → chunk-xqch8m5f.js} +7 -7
  330. package/dist/{chunk-aq0q2wy0.js → chunk-xspp3626.js} +4 -4
  331. package/dist/{chunk-ktsgddtb.js → chunk-xzh7ae0a.js} +54 -55
  332. package/dist/{chunk-1sg2k4mx.js → chunk-y3jmpqat.js} +518 -518
  333. package/dist/{chunk-avtcf910.js → chunk-y5x8wqe5.js} +1 -1
  334. package/dist/{chunk-mnyamr5a.js → chunk-y7sdst27.js} +51 -52
  335. package/dist/{chunk-b0zhv56m.js → chunk-yb4zstfq.js} +45 -46
  336. package/dist/{chunk-2n45kpbz.js → chunk-yhg6hhw7.js} +5 -5
  337. package/dist/{chunk-2jsngfwf.js → chunk-yk15ya1h.js} +7 -7
  338. package/dist/{chunk-727svvjy.js → chunk-ys51gfy8.js} +18 -19
  339. package/dist/{chunk-vcsgx8z0.js → chunk-yy3dj90t.js} +1 -1
  340. package/dist/{chunk-7739pg2c.js → chunk-z0csm2zq.js} +11 -1
  341. package/dist/{chunk-d1ya0j1j.js → chunk-z3vynq90.js} +48 -49
  342. package/dist/{chunk-dxcr07z5.js → chunk-ze6zvkg6.js} +4 -4
  343. package/dist/{chunk-0s96vdas.js → chunk-zmdg1zhh.js} +18 -19
  344. package/dist/{chunk-acrrtgr0.js → chunk-znpx8t4w.js} +18 -19
  345. package/dist/{chunk-ac04h4a1.js → chunk-zsssgqjr.js} +46 -47
  346. package/dist/{chunk-f1r621w6.js → chunk-zx084xfr.js} +45 -46
  347. package/dist/cli-node.js +9 -1
  348. package/dist/cli.js +11 -11
  349. package/package.json +3 -3
  350. package/dist/chunk-0rtjmfky.js +0 -1095
  351. package/dist/chunk-1hjgrwd4.js +0 -910
  352. package/dist/chunk-27xc1csx.js +0 -104
  353. package/dist/chunk-30rst83v.js +0 -168
  354. package/dist/chunk-33t0pjb0.js +0 -864
  355. package/dist/chunk-3enkzjbw.js +0 -3966
  356. package/dist/chunk-3h8a89gy.js +0 -46
  357. package/dist/chunk-4ebqa6nk.js +0 -659
  358. package/dist/chunk-4g3v8y12.js +0 -23
  359. package/dist/chunk-8f6raa6q.js +0 -615
  360. package/dist/chunk-a03dt27n.js +0 -782
  361. package/dist/chunk-a9g4h96v.js +0 -16
  362. package/dist/chunk-a9vdeb6y.js +0 -258
  363. package/dist/chunk-b0bk6bxs.js +0 -742
  364. package/dist/chunk-b4wg70y1.js +0 -54
  365. package/dist/chunk-b5s5rqpw.js +0 -208
  366. package/dist/chunk-btnvjcc5.js +0 -15
  367. package/dist/chunk-cjy1qthp.js +0 -27
  368. package/dist/chunk-cs6c9gbk.js +0 -1172
  369. package/dist/chunk-enhtm7h3.js +0 -1731
  370. package/dist/chunk-g54dwtcr.js +0 -718
  371. package/dist/chunk-h0qngp9w.js +0 -157
  372. package/dist/chunk-hasadm64.js +0 -412
  373. package/dist/chunk-hk9xz7gk.js +0 -118
  374. package/dist/chunk-j2k4p94p.js +0 -55
  375. package/dist/chunk-j33nd5jb.js +0 -176
  376. package/dist/chunk-jzmz18nn.js +0 -65
  377. package/dist/chunk-k1ggxjtw.js +0 -5241
  378. package/dist/chunk-kxqjncxw.js +0 -35
  379. package/dist/chunk-n0qaeaa5.js +0 -256
  380. package/dist/chunk-n4ssv9yn.js +0 -40
  381. package/dist/chunk-nbxr4cfd.js +0 -880
  382. package/dist/chunk-pg8sjz45.js +0 -81
  383. package/dist/chunk-q25bjaev.js +0 -15
  384. package/dist/chunk-qpydzzk0.js +0 -182
  385. package/dist/chunk-r6h4zwjj.js +0 -36
  386. package/dist/chunk-rvh4gff0.js +0 -542
  387. package/dist/chunk-rxcf1qnf.js +0 -173
  388. package/dist/chunk-tb1es4q0.js +0 -220
  389. package/dist/chunk-th1cykx3.js +0 -494
  390. package/dist/chunk-tqzsn5bq.js +0 -24
  391. package/dist/chunk-ttk5dzz8.js +0 -25
  392. package/dist/chunk-wbwg8jz1.js +0 -607
  393. package/dist/chunk-xsq9ae7x.js +0 -90
  394. package/dist/chunk-yya2f05b.js +0 -17
  395. package/dist/chunk-ze6h1ch1.js +0 -21
@@ -1,83 +1,29 @@
1
1
  // @bun
2
2
  import {
3
- defaultProvider,
4
- init_dist_es as init_dist_es4
5
- } from "./chunk-rxcf1qnf.js";
6
- import {
7
- fromEnvSigningName,
8
- init_dist_es as init_dist_es3,
9
- nodeProvider
10
- } from "./chunk-b5s5rqpw.js";
11
- import"./chunk-3h8a89gy.js";
12
- import {
13
- require_dist_cjs as require_dist_cjs7,
14
- require_dist_cjs1 as require_dist_cjs8,
15
- require_dist_cjs10 as require_dist_cjs25,
16
- require_dist_cjs11 as require_dist_cjs26,
17
- require_dist_cjs12 as require_dist_cjs27,
18
- require_dist_cjs2 as require_dist_cjs9,
19
- require_dist_cjs3 as require_dist_cjs15,
20
- require_dist_cjs4 as require_dist_cjs16,
21
- require_dist_cjs5 as require_dist_cjs17,
22
- require_dist_cjs6 as require_dist_cjs19,
23
- require_dist_cjs7 as require_dist_cjs21,
24
- require_dist_cjs8 as require_dist_cjs23,
25
- require_dist_cjs9 as require_dist_cjs24,
26
- require_protocols
27
- } from "./chunk-k1ggxjtw.js";
28
- import {
29
- require_dist_cjs as require_dist_cjs14,
30
- require_dist_cjs1 as require_dist_cjs18
31
- } from "./chunk-8f6raa6q.js";
32
- import {
33
- require_dist_cjs as require_dist_cjs13,
34
- require_httpAuthSchemes
35
- } from "./chunk-cs6c9gbk.js";
36
- import {
37
- require_dist_cjs as require_dist_cjs20
38
- } from "./chunk-jzmz18nn.js";
39
- import"./chunk-n0qaeaa5.js";
40
- import {
41
- require_dist_cjs as require_dist_cjs22
42
- } from "./chunk-nbxr4cfd.js";
43
- import {
44
- require_dist_cjs as require_dist_cjs6,
45
- require_dist_cjs1 as require_dist_cjs10,
46
- require_dist_cjs2 as require_dist_cjs11,
47
- require_schema
48
- } from "./chunk-3enkzjbw.js";
49
- import {
50
- require_dist_cjs as require_dist_cjs5
51
- } from "./chunk-30rst83v.js";
52
- import {
53
- require_dist_cjs as require_dist_cjs12
54
- } from "./chunk-j2k4p94p.js";
55
- import"./chunk-xsq9ae7x.js";
56
- import {
57
- require_client
58
- } from "./chunk-b4wg70y1.js";
59
- import"./chunk-hk9xz7gk.js";
60
- import {
61
- Crc32,
3
+ InternalServerException,
4
+ ModelStreamErrorException,
5
+ ThrottlingException,
6
+ ValidationException,
62
7
  fromArrayBuffer,
63
8
  fromString,
64
9
  fromUtf8,
65
10
  init_dist_es,
66
11
  init_dist_es1 as init_dist_es2,
67
- init_module,
12
+ init_dist_es2 as init_dist_es3,
68
13
  toUtf8
69
- } from "./chunk-th1cykx3.js";
70
- import {
71
- require_dist_cjs as require_dist_cjs4
72
- } from "./chunk-enhtm7h3.js";
73
- import"./chunk-kxqjncxw.js";
14
+ } from "./chunk-ej1wwrcw.js";
15
+ import"./chunk-r26enj81.js";
16
+ import"./chunk-c9js3490.js";
17
+ import"./chunk-9xrxpxr6.js";
18
+ import"./chunk-a4c4m0nx.js";
19
+ import"./chunk-ep17krqe.js";
20
+ import"./chunk-y5x8wqe5.js";
21
+ import"./chunk-j6k3zjb5.js";
22
+ import"./chunk-q27bsq0y.js";
74
23
  import {
75
- require_dist_cjs1 as require_dist_cjs2,
76
- require_dist_cjs2 as require_dist_cjs3
77
- } from "./chunk-b0bk6bxs.js";
78
- import {
79
- init_sdk
80
- } from "./chunk-4g3v8y12.js";
24
+ require_dist_cjs3 as require_dist_cjs
25
+ } from "./chunk-03qpgz7e.js";
26
+ import"./chunk-psmfpddh.js";
81
27
  import {
82
28
  APIError,
83
29
  AnthropicError,
@@ -90,12 +36,17 @@ import {
90
36
  init_error,
91
37
  init_error1 as init_error2,
92
38
  init_resources,
39
+ init_sdk,
93
40
  init_streaming
94
- } from "./chunk-7739pg2c.js";
95
- import"./chunk-btnvjcc5.js";
96
- import {
97
- require_dist_cjs2 as require_dist_cjs
98
- } from "./chunk-2nayx6q1.js";
41
+ } from "./chunk-z0csm2zq.js";
42
+ import"./chunk-gfex5hb6.js";
43
+ import"./chunk-jcfk76z5.js";
44
+ import"./chunk-pn1q3cxk.js";
45
+ import"./chunk-6f8awfs6.js";
46
+ import"./chunk-2md5w5h8.js";
47
+ import"./chunk-ve1228q7.js";
48
+ import"./chunk-cddv8twj.js";
49
+ import"./chunk-2nayx6q1.js";
99
50
  import {
100
51
  __commonJS,
101
52
  __esm,
@@ -760,7 +711,7 @@ var require_whatwgEncodingApi = __commonJS((exports) => {
760
711
  });
761
712
 
762
713
  // node_modules/.bun/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js
763
- var require_dist_cjs28 = __commonJS((exports) => {
714
+ var require_dist_cjs2 = __commonJS((exports) => {
764
715
  Object.defineProperty(exports, "__esModule", { value: true });
765
716
  exports.toUtf8 = exports.fromUtf8 = undefined;
766
717
  var pureJs_1 = require_pureJs();
@@ -775,7 +726,7 @@ var require_dist_cjs28 = __commonJS((exports) => {
775
726
  var require_convertToBuffer = __commonJS((exports) => {
776
727
  Object.defineProperty(exports, "__esModule", { value: true });
777
728
  exports.convertToBuffer = undefined;
778
- var util_utf8_browser_1 = require_dist_cjs28();
729
+ var util_utf8_browser_1 = require_dist_cjs2();
779
730
  var fromUtf82 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
780
731
  return Buffer.from(input, "utf8");
781
732
  } : util_utf8_browser_1.fromUtf8;
@@ -1201,7 +1152,7 @@ var init_util = () => {};
1201
1152
  var init_waiter = () => {};
1202
1153
 
1203
1154
  // node_modules/.bun/@smithy+types@2.12.0/node_modules/@smithy/types/dist-es/index.js
1204
- var init_dist_es5 = __esm(() => {
1155
+ var init_dist_es4 = __esm(() => {
1205
1156
  init_abort();
1206
1157
  init_auth2();
1207
1158
  init_blob_payload_input_types();
@@ -1242,7 +1193,7 @@ var init_dist_es5 = __esm(() => {
1242
1193
 
1243
1194
  // node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/Field.js
1244
1195
  var init_Field = __esm(() => {
1245
- init_dist_es5();
1196
+ init_dist_es4();
1246
1197
  });
1247
1198
 
1248
1199
  // node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/Fields.js
@@ -1303,7 +1254,7 @@ var init_isValidHostname = () => {};
1303
1254
  var init_types = () => {};
1304
1255
 
1305
1256
  // node_modules/.bun/@smithy+protocol-http@3.3.0/node_modules/@smithy/protocol-http/dist-es/index.js
1306
- var init_dist_es6 = __esm(() => {
1257
+ var init_dist_es5 = __esm(() => {
1307
1258
  init_extensions();
1308
1259
  init_Field();
1309
1260
  init_Fields();
@@ -1338,7 +1289,7 @@ function toHex(bytes) {
1338
1289
  return out;
1339
1290
  }
1340
1291
  var SHORT_TO_HEX, HEX_TO_SHORT;
1341
- var init_dist_es7 = __esm(() => {
1292
+ var init_dist_es6 = __esm(() => {
1342
1293
  SHORT_TO_HEX = {};
1343
1294
  HEX_TO_SHORT = {};
1344
1295
  for (let i = 0;i < 256; i++) {
@@ -1601,7 +1552,7 @@ var init_util2 = () => {};
1601
1552
  var init_waiter2 = () => {};
1602
1553
 
1603
1554
  // node_modules/.bun/@smithy+types@3.7.2/node_modules/@smithy/types/dist-es/index.js
1604
- var init_dist_es8 = __esm(() => {
1555
+ var init_dist_es7 = __esm(() => {
1605
1556
  init_abort2();
1606
1557
  init_auth4();
1607
1558
  init_blob_payload_input_types2();
@@ -1643,7 +1594,7 @@ var init_dist_es8 = __esm(() => {
1643
1594
 
1644
1595
  // node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
1645
1596
  var init_getSmithyContext = __esm(() => {
1646
- init_dist_es8();
1597
+ init_dist_es7();
1647
1598
  });
1648
1599
 
1649
1600
  // node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
@@ -1656,7 +1607,7 @@ var normalizeProvider = (input) => {
1656
1607
  var init_normalizeProvider = () => {};
1657
1608
 
1658
1609
  // node_modules/.bun/@smithy+util-middleware@3.0.11/node_modules/@smithy/util-middleware/dist-es/index.js
1659
- var init_dist_es9 = __esm(() => {
1610
+ var init_dist_es8 = __esm(() => {
1660
1611
  init_getSmithyContext();
1661
1612
  init_normalizeProvider();
1662
1613
  });
@@ -1671,14 +1622,14 @@ var init_escape_uri_path = __esm(() => {
1671
1622
  });
1672
1623
 
1673
1624
  // node_modules/.bun/@smithy+util-uri-escape@3.0.0/node_modules/@smithy/util-uri-escape/dist-es/index.js
1674
- var init_dist_es10 = __esm(() => {
1625
+ var init_dist_es9 = __esm(() => {
1675
1626
  init_escape_uri();
1676
1627
  init_escape_uri_path();
1677
1628
  });
1678
1629
 
1679
1630
  // node_modules/.bun/@smithy+is-array-buffer@3.0.0/node_modules/@smithy/is-array-buffer/dist-es/index.js
1680
1631
  var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
1681
- var init_dist_es11 = () => {};
1632
+ var init_dist_es10 = () => {};
1682
1633
 
1683
1634
  // node_modules/.bun/@smithy+util-buffer-from@3.0.0/node_modules/@smithy/util-buffer-from/dist-es/index.js
1684
1635
  import { Buffer as Buffer2 } from "buffer";
@@ -1688,8 +1639,8 @@ var fromString2 = (input, encoding) => {
1688
1639
  }
1689
1640
  return encoding ? Buffer2.from(input, encoding) : Buffer2.from(input);
1690
1641
  };
1691
- var init_dist_es12 = __esm(() => {
1692
- init_dist_es11();
1642
+ var init_dist_es11 = __esm(() => {
1643
+ init_dist_es10();
1693
1644
  });
1694
1645
 
1695
1646
  // node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js
@@ -1698,7 +1649,7 @@ var fromUtf82 = (input) => {
1698
1649
  return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
1699
1650
  };
1700
1651
  var init_fromUtf8 = __esm(() => {
1701
- init_dist_es12();
1652
+ init_dist_es11();
1702
1653
  });
1703
1654
 
1704
1655
  // node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js
@@ -1717,11 +1668,11 @@ var init_toUint8Array = __esm(() => {
1717
1668
 
1718
1669
  // node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/toUtf8.js
1719
1670
  var init_toUtf8 = __esm(() => {
1720
- init_dist_es12();
1671
+ init_dist_es11();
1721
1672
  });
1722
1673
 
1723
1674
  // node_modules/.bun/@smithy+util-utf8@3.0.0/node_modules/@smithy/util-utf8/dist-es/index.js
1724
- var init_dist_es13 = __esm(() => {
1675
+ var init_dist_es12 = __esm(() => {
1725
1676
  init_fromUtf8();
1726
1677
  init_toUint8Array();
1727
1678
  init_toUtf8();
@@ -1778,8 +1729,8 @@ var signingKeyCache, cacheQueue, createScope = (shortDate, region, service) => `
1778
1729
  return hash.digest();
1779
1730
  };
1780
1731
  var init_credentialDerivation = __esm(() => {
1781
- init_dist_es7();
1782
- init_dist_es13();
1732
+ init_dist_es6();
1733
+ init_dist_es12();
1783
1734
  init_constants();
1784
1735
  signingKeyCache = {};
1785
1736
  cacheQueue = [];
@@ -1825,7 +1776,7 @@ var getCanonicalQuery = ({ query = {} }) => {
1825
1776
  return keys.map((key) => serialized[key]).filter((serialized2) => serialized2).join("&");
1826
1777
  };
1827
1778
  var init_getCanonicalQuery = __esm(() => {
1828
- init_dist_es10();
1779
+ init_dist_es9();
1829
1780
  init_constants();
1830
1781
  });
1831
1782
 
@@ -1846,9 +1797,9 @@ var getPayloadHash = async ({ headers, body }, hashConstructor) => {
1846
1797
  return UNSIGNED_PAYLOAD;
1847
1798
  };
1848
1799
  var init_getPayloadHash = __esm(() => {
1849
- init_dist_es11();
1850
- init_dist_es7();
1851
- init_dist_es13();
1800
+ init_dist_es10();
1801
+ init_dist_es6();
1802
+ init_dist_es12();
1852
1803
  init_constants();
1853
1804
  });
1854
1805
 
@@ -1965,8 +1916,8 @@ function negate(bytes) {
1965
1916
  }
1966
1917
  var HEADER_VALUE_TYPE, UUID_PATTERN;
1967
1918
  var init_HeaderFormatter = __esm(() => {
1968
- init_dist_es7();
1969
- init_dist_es13();
1919
+ init_dist_es6();
1920
+ init_dist_es12();
1970
1921
  (function(HEADER_VALUE_TYPE2) {
1971
1922
  HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolTrue"] = 0] = "boolTrue";
1972
1923
  HEADER_VALUE_TYPE2[HEADER_VALUE_TYPE2["boolFalse"] = 1] = "boolFalse";
@@ -2228,10 +2179,10 @@ var formatDate = (now) => {
2228
2179
  };
2229
2180
  }, getCanonicalHeaderList = (headers) => Object.keys(headers).sort().join(";");
2230
2181
  var init_SignatureV4 = __esm(() => {
2231
- init_dist_es7();
2182
+ init_dist_es6();
2183
+ init_dist_es8();
2232
2184
  init_dist_es9();
2233
- init_dist_es10();
2234
- init_dist_es13();
2185
+ init_dist_es12();
2235
2186
  init_constants();
2236
2187
  init_credentialDerivation();
2237
2188
  init_getCanonicalHeaders();
@@ -2245,7 +2196,7 @@ var init_SignatureV4 = __esm(() => {
2245
2196
  });
2246
2197
 
2247
2198
  // node_modules/.bun/@smithy+signature-v4@3.1.2/node_modules/@smithy/signature-v4/dist-es/index.js
2248
- var init_dist_es14 = __esm(() => {
2199
+ var init_dist_es13 = __esm(() => {
2249
2200
  init_getCanonicalHeaders();
2250
2201
  init_getCanonicalQuery();
2251
2202
  init_getPayloadHash();
@@ -2257,7 +2208,7 @@ var init_dist_es14 = __esm(() => {
2257
2208
 
2258
2209
  // node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/core/auth.mjs
2259
2210
  import assert from "assert";
2260
- var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER = () => import("./chunk-wbwg8jz1.js").then(({ fromNodeProviderChain }) => fromNodeProviderChain({
2211
+ var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER = () => import("./chunk-d90bhmt1.js").then(({ fromNodeProviderChain }) => fromNodeProviderChain({
2261
2212
  clientConfig: {
2262
2213
  requestHandler: new import_fetch_http_handler.FetchHttpHandler({
2263
2214
  requestInit: (httpRequest2) => {
@@ -2303,17 +2254,17 @@ var import_sha256_js, import_fetch_http_handler, DEFAULT_PROVIDER_CHAIN_RESOLVER
2303
2254
  return signed.headers;
2304
2255
  };
2305
2256
  var init_auth5 = __esm(() => {
2306
- init_dist_es6();
2307
- init_dist_es14();
2257
+ init_dist_es5();
2258
+ init_dist_es13();
2308
2259
  import_sha256_js = __toESM(require_build2(), 1);
2309
- import_fetch_http_handler = __toESM(require_dist_cjs6(), 1);
2260
+ import_fetch_http_handler = __toESM(require_dist_cjs(), 1);
2310
2261
  });
2311
2262
 
2312
2263
  // node_modules/.bun/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js
2313
2264
  var require_convertToBuffer2 = __commonJS((exports) => {
2314
2265
  Object.defineProperty(exports, "__esModule", { value: true });
2315
2266
  exports.convertToBuffer = undefined;
2316
- var util_utf8_browser_1 = require_dist_cjs28();
2267
+ var util_utf8_browser_1 = require_dist_cjs2();
2317
2268
  var fromUtf84 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
2318
2269
  return Buffer.from(input, "utf8");
2319
2270
  } : util_utf8_browser_1.fromUtf8;
@@ -2438,14 +2389,14 @@ var require_build4 = __commonJS((exports) => {
2438
2389
  var tslib_1 = require_tslib();
2439
2390
  var util_1 = require_build3();
2440
2391
  function crc32(data) {
2441
- return new Crc322().update(data).digest();
2392
+ return new Crc32().update(data).digest();
2442
2393
  }
2443
2394
  exports.crc32 = crc32;
2444
- var Crc322 = function() {
2445
- function Crc323() {
2395
+ var Crc32 = function() {
2396
+ function Crc322() {
2446
2397
  this.checksum = 4294967295;
2447
2398
  }
2448
- Crc323.prototype.update = function(data) {
2399
+ Crc322.prototype.update = function(data) {
2449
2400
  var e_1, _a;
2450
2401
  try {
2451
2402
  for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next();!data_1_1.done; data_1_1 = data_1.next()) {
@@ -2465,12 +2416,12 @@ var require_build4 = __commonJS((exports) => {
2465
2416
  }
2466
2417
  return this;
2467
2418
  };
2468
- Crc323.prototype.digest = function() {
2419
+ Crc322.prototype.digest = function() {
2469
2420
  return (this.checksum ^ 4294967295) >>> 0;
2470
2421
  };
2471
- return Crc323;
2422
+ return Crc322;
2472
2423
  }();
2473
- exports.Crc32 = Crc322;
2424
+ exports.Crc32 = Crc32;
2474
2425
  var a_lookUpTable = [
2475
2426
  0,
2476
2427
  1996959894,
@@ -2760,7 +2711,7 @@ function toHex2(bytes) {
2760
2711
  return out;
2761
2712
  }
2762
2713
  var SHORT_TO_HEX2, HEX_TO_SHORT2;
2763
- var init_dist_es15 = __esm(() => {
2714
+ var init_dist_es14 = __esm(() => {
2764
2715
  SHORT_TO_HEX2 = {};
2765
2716
  HEX_TO_SHORT2 = {};
2766
2717
  for (let i = 0;i < 256; i++) {
@@ -2817,7 +2768,7 @@ function negate2(bytes) {
2817
2768
  }
2818
2769
  }
2819
2770
  var init_Int64 = __esm(() => {
2820
- init_dist_es15();
2771
+ init_dist_es14();
2821
2772
  });
2822
2773
 
2823
2774
  // node_modules/.bun/@smithy+eventstream-codec@2.2.0/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
@@ -2980,7 +2931,7 @@ class HeaderMarshaller {
2980
2931
  }
2981
2932
  var HEADER_VALUE_TYPE2, BOOLEAN_TAG = "boolean", BYTE_TAG = "byte", SHORT_TAG = "short", INT_TAG = "integer", LONG_TAG = "long", BINARY_TAG = "binary", STRING_TAG = "string", TIMESTAMP_TAG = "timestamp", UUID_TAG = "uuid", UUID_PATTERN2;
2982
2933
  var init_HeaderMarshaller = __esm(() => {
2983
- init_dist_es15();
2934
+ init_dist_es14();
2984
2935
  init_Int64();
2985
2936
  (function(HEADER_VALUE_TYPE3) {
2986
2937
  HEADER_VALUE_TYPE3[HEADER_VALUE_TYPE3["boolTrue"] = 0] = "boolTrue";
@@ -3182,7 +3133,7 @@ var init_SmithyMessageEncoderStream = __esm(() => {
3182
3133
  });
3183
3134
 
3184
3135
  // node_modules/.bun/@smithy+eventstream-codec@2.2.0/node_modules/@smithy/eventstream-codec/dist-es/index.js
3185
- var init_dist_es16 = __esm(() => {
3136
+ var init_dist_es15 = __esm(() => {
3186
3137
  init_EventStreamCodec();
3187
3138
  init_HeaderMarshaller();
3188
3139
  init_Int64();
@@ -3315,7 +3266,7 @@ class EventStreamMarshaller {
3315
3266
  }
3316
3267
  }
3317
3268
  var init_EventStreamMarshaller = __esm(() => {
3318
- init_dist_es16();
3269
+ init_dist_es15();
3319
3270
  init_getChunkedStream();
3320
3271
  init_getUnmarshalledStream();
3321
3272
  });
@@ -3326,7 +3277,7 @@ var init_provider = __esm(() => {
3326
3277
  });
3327
3278
 
3328
3279
  // node_modules/.bun/@smithy+eventstream-serde-universal@2.2.0/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
3329
- var init_dist_es17 = __esm(() => {
3280
+ var init_dist_es16 = __esm(() => {
3330
3281
  init_EventStreamMarshaller();
3331
3282
  init_provider();
3332
3283
  });
@@ -3379,7 +3330,7 @@ class EventStreamMarshaller3 {
3379
3330
  }
3380
3331
  }
3381
3332
  var init_EventStreamMarshaller2 = __esm(() => {
3382
- init_dist_es17();
3333
+ init_dist_es16();
3383
3334
  init_utils();
3384
3335
  });
3385
3336
 
@@ -3389,7 +3340,7 @@ var init_provider2 = __esm(() => {
3389
3340
  });
3390
3341
 
3391
3342
  // node_modules/.bun/@smithy+eventstream-serde-node@2.2.0/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
3392
- var init_dist_es18 = __esm(() => {
3343
+ var init_dist_es17 = __esm(() => {
3393
3344
  init_EventStreamMarshaller2();
3394
3345
  init_provider2();
3395
3346
  });
@@ -3429,7 +3380,7 @@ var init_toBase64 = __esm(() => {
3429
3380
  });
3430
3381
 
3431
3382
  // node_modules/.bun/@smithy+util-base64@2.3.0/node_modules/@smithy/util-base64/dist-es/index.js
3432
- var init_dist_es19 = __esm(() => {
3383
+ var init_dist_es18 = __esm(() => {
3433
3384
  init_fromBase64();
3434
3385
  init_toBase64();
3435
3386
  });
@@ -3441,13 +3392,13 @@ var init_NoOpLogger = () => {};
3441
3392
  var init_MiddlewareStack = () => {};
3442
3393
 
3443
3394
  // node_modules/.bun/@smithy+middleware-stack@2.2.0/node_modules/@smithy/middleware-stack/dist-es/index.js
3444
- var init_dist_es20 = __esm(() => {
3395
+ var init_dist_es19 = __esm(() => {
3445
3396
  init_MiddlewareStack();
3446
3397
  });
3447
3398
 
3448
3399
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/client.js
3449
3400
  var init_client4 = __esm(() => {
3450
- init_dist_es20();
3401
+ init_dist_es19();
3451
3402
  });
3452
3403
 
3453
3404
  // node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/blob/transforms.js
@@ -3464,7 +3415,7 @@ function transformFromString(str, encoding) {
3464
3415
  return Uint8ArrayBlobAdapter.mutate(fromUtf8(str));
3465
3416
  }
3466
3417
  var init_transforms = __esm(() => {
3467
- init_dist_es19();
3418
+ init_dist_es18();
3468
3419
  init_dist_es2();
3469
3420
  init_Uint8ArrayBlobAdapter();
3470
3421
  });
@@ -3504,14 +3455,14 @@ var init_escape_uri_path2 = __esm(() => {
3504
3455
  });
3505
3456
 
3506
3457
  // node_modules/.bun/@smithy+util-uri-escape@2.2.0/node_modules/@smithy/util-uri-escape/dist-es/index.js
3507
- var init_dist_es21 = __esm(() => {
3458
+ var init_dist_es20 = __esm(() => {
3508
3459
  init_escape_uri2();
3509
3460
  init_escape_uri_path2();
3510
3461
  });
3511
3462
 
3512
3463
  // node_modules/.bun/@smithy+querystring-builder@2.2.0/node_modules/@smithy/querystring-builder/dist-es/index.js
3513
- var init_dist_es22 = __esm(() => {
3514
- init_dist_es21();
3464
+ var init_dist_es21 = __esm(() => {
3465
+ init_dist_es20();
3515
3466
  });
3516
3467
 
3517
3468
  // node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/constants.js
@@ -3534,8 +3485,8 @@ var init_write_request_body = () => {};
3534
3485
 
3535
3486
  // node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
3536
3487
  var init_node_http_handler = __esm(() => {
3537
- init_dist_es6();
3538
- init_dist_es22();
3488
+ init_dist_es5();
3489
+ init_dist_es21();
3539
3490
  init_constants2();
3540
3491
  init_get_transformed_headers();
3541
3492
  init_set_connection_timeout();
@@ -3554,8 +3505,8 @@ var init_node_http2_connection_manager = __esm(() => {
3554
3505
 
3555
3506
  // node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js
3556
3507
  var init_node_http2_handler = __esm(() => {
3557
- init_dist_es6();
3558
- init_dist_es22();
3508
+ init_dist_es5();
3509
+ init_dist_es21();
3559
3510
  init_get_transformed_headers();
3560
3511
  init_node_http2_connection_manager();
3561
3512
  init_write_request_body();
@@ -3570,7 +3521,7 @@ var init_stream_collector = __esm(() => {
3570
3521
  });
3571
3522
 
3572
3523
  // node_modules/.bun/@smithy+node-http-handler@2.5.0/node_modules/@smithy/node-http-handler/dist-es/index.js
3573
- var init_dist_es23 = __esm(() => {
3524
+ var init_dist_es22 = __esm(() => {
3574
3525
  init_node_http_handler();
3575
3526
  init_node_http2_handler();
3576
3527
  init_stream_collector();
@@ -3578,12 +3529,12 @@ var init_dist_es23 = __esm(() => {
3578
3529
 
3579
3530
  // node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js
3580
3531
  var init_sdk_stream_mixin = __esm(() => {
3581
- init_dist_es23();
3532
+ init_dist_es22();
3582
3533
  init_dist_es();
3583
3534
  });
3584
3535
 
3585
3536
  // node_modules/.bun/@smithy+util-stream@2.2.0/node_modules/@smithy/util-stream/dist-es/index.js
3586
- var init_dist_es24 = __esm(() => {
3537
+ var init_dist_es23 = __esm(() => {
3587
3538
  init_Uint8ArrayBlobAdapter();
3588
3539
  init_getAwsChunkedEncodingStream();
3589
3540
  init_sdk_stream_mixin();
@@ -3601,13 +3552,13 @@ var collectBody = async (streamBody = new Uint8Array, context) => {
3601
3552
  return Uint8ArrayBlobAdapter.mutate(await fromContext);
3602
3553
  };
3603
3554
  var init_collect_stream_body = __esm(() => {
3604
- init_dist_es24();
3555
+ init_dist_es23();
3605
3556
  });
3606
3557
 
3607
3558
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/command.js
3608
3559
  var init_command3 = __esm(() => {
3609
- init_dist_es20();
3610
- init_dist_es5();
3560
+ init_dist_es19();
3561
+ init_dist_es4();
3611
3562
  });
3612
3563
 
3613
3564
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/constants.js
@@ -3703,7 +3654,7 @@ var init_emitWarningIfUnsupportedVersion = () => {};
3703
3654
 
3704
3655
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js
3705
3656
  var init_checksum5 = __esm(() => {
3706
- init_dist_es5();
3657
+ init_dist_es4();
3707
3658
  });
3708
3659
 
3709
3660
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js
@@ -3842,7 +3793,7 @@ var init_serde_json = () => {};
3842
3793
  var init_split_every = () => {};
3843
3794
 
3844
3795
  // node_modules/.bun/@smithy+smithy-client@2.5.1/node_modules/@smithy/smithy-client/dist-es/index.js
3845
- var init_dist_es25 = __esm(() => {
3796
+ var init_dist_es24 = __esm(() => {
3846
3797
  init_NoOpLogger();
3847
3798
  init_client4();
3848
3799
  init_collect_stream_body();
@@ -3867,3856 +3818,133 @@ var init_dist_es25 = __esm(() => {
3867
3818
  init_split_every();
3868
3819
  });
3869
3820
 
3870
- // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamConfiguration.js
3871
- function resolveEventStreamConfig(input) {
3872
- const eventSigner = input.signer;
3873
- const messageSigner = input.signer;
3874
- const newInput = Object.assign(input, {
3875
- eventSigner,
3876
- messageSigner
3821
+ // node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/AWS_restJson1.mjs
3822
+ var de_InternalServerExceptionRes = async (parsedOutput, context) => {
3823
+ const contents = map({});
3824
+ const data = parsedOutput.body;
3825
+ const doc = take(data, {
3826
+ message: expectString
3827
+ });
3828
+ Object.assign(contents, doc);
3829
+ const exception = new InternalServerException({
3830
+ $metadata: deserializeMetadata(parsedOutput),
3831
+ ...contents
3832
+ });
3833
+ return decorateServiceException(exception, parsedOutput.body);
3834
+ }, de_ModelStreamErrorExceptionRes = async (parsedOutput, context) => {
3835
+ const contents = map({});
3836
+ const data = parsedOutput.body;
3837
+ const doc = take(data, {
3838
+ message: expectString,
3839
+ originalMessage: expectString,
3840
+ originalStatusCode: expectInt32
3877
3841
  });
3878
- const eventStreamPayloadHandler = newInput.eventStreamPayloadHandlerProvider(newInput);
3879
- return Object.assign(newInput, {
3880
- eventStreamPayloadHandler
3842
+ Object.assign(contents, doc);
3843
+ const exception = new ModelStreamErrorException({
3844
+ $metadata: deserializeMetadata(parsedOutput),
3845
+ ...contents
3881
3846
  });
3882
- }
3883
- var init_eventStreamConfiguration = () => {};
3884
-
3885
- // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHandlingMiddleware.js
3886
- var import_protocol_http4, eventStreamHandlingMiddleware = (options) => (next, context) => async (args) => {
3887
- const { request } = args;
3888
- if (!import_protocol_http4.HttpRequest.isInstance(request))
3889
- return next(args);
3890
- return options.eventStreamPayloadHandler.handle(next, args, context);
3891
- }, eventStreamHandlingMiddlewareOptions;
3892
- var init_eventStreamHandlingMiddleware = __esm(() => {
3893
- import_protocol_http4 = __toESM(require_dist_cjs5(), 1);
3894
- eventStreamHandlingMiddlewareOptions = {
3895
- tags: ["EVENT_STREAM", "SIGNATURE", "HANDLE"],
3896
- name: "eventStreamHandlingMiddleware",
3897
- relation: "after",
3898
- toMiddleware: "awsAuthMiddleware",
3899
- override: true
3847
+ return decorateServiceException(exception, parsedOutput.body);
3848
+ }, de_ThrottlingExceptionRes = async (parsedOutput, context) => {
3849
+ const contents = map({});
3850
+ const data = parsedOutput.body;
3851
+ const doc = take(data, {
3852
+ message: expectString
3853
+ });
3854
+ Object.assign(contents, doc);
3855
+ const exception = new ThrottlingException({
3856
+ $metadata: deserializeMetadata(parsedOutput),
3857
+ ...contents
3858
+ });
3859
+ return decorateServiceException(exception, parsedOutput.body);
3860
+ }, de_ValidationExceptionRes = async (parsedOutput, context) => {
3861
+ const contents = map({});
3862
+ const data = parsedOutput.body;
3863
+ const doc = take(data, {
3864
+ message: expectString
3865
+ });
3866
+ Object.assign(contents, doc);
3867
+ const exception = new ValidationException({
3868
+ $metadata: deserializeMetadata(parsedOutput),
3869
+ ...contents
3870
+ });
3871
+ return decorateServiceException(exception, parsedOutput.body);
3872
+ }, de_ResponseStream = (output, context) => {
3873
+ return context.eventStreamMarshaller.deserialize(output, async (event) => {
3874
+ if (event["chunk"] != null) {
3875
+ return {
3876
+ chunk: await de_PayloadPart_event(event["chunk"], context)
3877
+ };
3878
+ }
3879
+ if (event["internalServerException"] != null) {
3880
+ return {
3881
+ internalServerException: await de_InternalServerException_event(event["internalServerException"], context)
3882
+ };
3883
+ }
3884
+ if (event["modelStreamErrorException"] != null) {
3885
+ return {
3886
+ modelStreamErrorException: await de_ModelStreamErrorException_event(event["modelStreamErrorException"], context)
3887
+ };
3888
+ }
3889
+ if (event["validationException"] != null) {
3890
+ return {
3891
+ validationException: await de_ValidationException_event(event["validationException"], context)
3892
+ };
3893
+ }
3894
+ if (event["throttlingException"] != null) {
3895
+ return {
3896
+ throttlingException: await de_ThrottlingException_event(event["throttlingException"], context)
3897
+ };
3898
+ }
3899
+ return { $unknown: output };
3900
+ });
3901
+ }, de_InternalServerException_event = async (output, context) => {
3902
+ const parsedOutput = {
3903
+ ...output,
3904
+ body: await parseBody(output.body, context)
3900
3905
  };
3901
- });
3902
-
3903
- // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/eventStreamHeaderMiddleware.js
3904
- var import_protocol_http5, eventStreamHeaderMiddleware = (next) => async (args) => {
3905
- const { request } = args;
3906
- if (!import_protocol_http5.HttpRequest.isInstance(request))
3907
- return next(args);
3908
- request.headers = {
3909
- ...request.headers,
3910
- "content-type": "application/vnd.amazon.eventstream",
3911
- "x-amz-content-sha256": "STREAMING-AWS4-HMAC-SHA256-EVENTS"
3906
+ return de_InternalServerExceptionRes(parsedOutput, context);
3907
+ }, de_ModelStreamErrorException_event = async (output, context) => {
3908
+ const parsedOutput = {
3909
+ ...output,
3910
+ body: await parseBody(output.body, context)
3912
3911
  };
3913
- return next({
3914
- ...args,
3915
- request
3916
- });
3917
- }, eventStreamHeaderMiddlewareOptions;
3918
- var init_eventStreamHeaderMiddleware = __esm(() => {
3919
- import_protocol_http5 = __toESM(require_dist_cjs5(), 1);
3920
- eventStreamHeaderMiddlewareOptions = {
3921
- step: "build",
3922
- tags: ["EVENT_STREAM", "HEADER", "CONTENT_TYPE", "CONTENT_SHA256"],
3923
- name: "eventStreamHeaderMiddleware",
3924
- override: true
3912
+ return de_ModelStreamErrorExceptionRes(parsedOutput, context);
3913
+ }, de_PayloadPart_event = async (output, context) => {
3914
+ const contents = {};
3915
+ const data = await parseBody(output.body, context);
3916
+ Object.assign(contents, de_PayloadPart(data, context));
3917
+ return contents;
3918
+ }, de_ThrottlingException_event = async (output, context) => {
3919
+ const parsedOutput = {
3920
+ ...output,
3921
+ body: await parseBody(output.body, context)
3925
3922
  };
3926
- });
3927
-
3928
- // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/getEventStreamPlugin.js
3929
- var getEventStreamPlugin = (options) => ({
3930
- applyToStack: (clientStack) => {
3931
- clientStack.addRelativeTo(eventStreamHandlingMiddleware(options), eventStreamHandlingMiddlewareOptions);
3932
- clientStack.add(eventStreamHeaderMiddleware, eventStreamHeaderMiddlewareOptions);
3923
+ return de_ThrottlingExceptionRes(parsedOutput, context);
3924
+ }, de_ValidationException_event = async (output, context) => {
3925
+ const parsedOutput = {
3926
+ ...output,
3927
+ body: await parseBody(output.body, context)
3928
+ };
3929
+ return de_ValidationExceptionRes(parsedOutput, context);
3930
+ }, de_PayloadPart = (output, context) => {
3931
+ return take(output, {
3932
+ bytes: context.base64Decoder
3933
+ });
3934
+ }, deserializeMetadata = (output) => ({
3935
+ httpStatusCode: output.statusCode,
3936
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"] ?? "",
3937
+ extendedRequestId: output.headers["x-amz-id-2"] ?? "",
3938
+ cfId: output.headers["x-amz-cf-id"] ?? ""
3939
+ }), collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)), parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
3940
+ if (encoded.length) {
3941
+ return JSON.parse(encoded);
3933
3942
  }
3943
+ return {};
3934
3944
  });
3935
- var init_getEventStreamPlugin = __esm(() => {
3936
- init_eventStreamHandlingMiddleware();
3937
- init_eventStreamHeaderMiddleware();
3938
- });
3939
-
3940
- // node_modules/.bun/@aws-sdk+middleware-eventstream@3.972.8/node_modules/@aws-sdk/middleware-eventstream/dist-es/index.js
3941
- var init_dist_es26 = __esm(() => {
3942
- init_eventStreamConfiguration();
3943
- init_eventStreamHandlingMiddleware();
3944
- init_eventStreamHeaderMiddleware();
3945
- init_getEventStreamPlugin();
3946
- });
3947
-
3948
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/Int64.js
3949
- class Int644 {
3950
- bytes;
3951
- constructor(bytes) {
3952
- this.bytes = bytes;
3953
- if (bytes.byteLength !== 8) {
3954
- throw new Error("Int64 buffers must be exactly 8 bytes");
3955
- }
3956
- }
3957
- static fromNumber(number) {
3958
- if (number > 9223372036854776000 || number < -9223372036854776000) {
3959
- throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);
3960
- }
3961
- const bytes = new Uint8Array(8);
3962
- for (let i = 7, remaining = Math.abs(Math.round(number));i > -1 && remaining > 0; i--, remaining /= 256) {
3963
- bytes[i] = remaining;
3964
- }
3965
- if (number < 0) {
3966
- negate3(bytes);
3967
- }
3968
- return new Int644(bytes);
3969
- }
3970
- valueOf() {
3971
- const bytes = this.bytes.slice(0);
3972
- const negative = bytes[0] & 128;
3973
- if (negative) {
3974
- negate3(bytes);
3975
- }
3976
- return parseInt(import_util_hex_encoding7.toHex(bytes), 16) * (negative ? -1 : 1);
3977
- }
3978
- toString() {
3979
- return String(this.valueOf());
3980
- }
3981
- }
3982
- function negate3(bytes) {
3983
- for (let i = 0;i < 8; i++) {
3984
- bytes[i] ^= 255;
3985
- }
3986
- for (let i = 7;i > -1; i--) {
3987
- bytes[i]++;
3988
- if (bytes[i] !== 0)
3989
- break;
3990
- }
3991
- }
3992
- var import_util_hex_encoding7;
3993
- var init_Int642 = __esm(() => {
3994
- import_util_hex_encoding7 = __toESM(require_dist_cjs3(), 1);
3995
- });
3996
-
3997
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/HeaderMarshaller.js
3998
- class HeaderMarshaller3 {
3999
- toUtf8;
4000
- fromUtf8;
4001
- constructor(toUtf83, fromUtf84) {
4002
- this.toUtf8 = toUtf83;
4003
- this.fromUtf8 = fromUtf84;
4004
- }
4005
- format(headers) {
4006
- const chunks = [];
4007
- for (const headerName of Object.keys(headers)) {
4008
- const bytes = this.fromUtf8(headerName);
4009
- chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));
4010
- }
4011
- const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));
4012
- let position = 0;
4013
- for (const chunk of chunks) {
4014
- out.set(chunk, position);
4015
- position += chunk.byteLength;
4016
- }
4017
- return out;
4018
- }
4019
- formatHeaderValue(header) {
4020
- switch (header.type) {
4021
- case "boolean":
4022
- return Uint8Array.from([header.value ? 0 : 1]);
4023
- case "byte":
4024
- return Uint8Array.from([2, header.value]);
4025
- case "short":
4026
- const shortView = new DataView(new ArrayBuffer(3));
4027
- shortView.setUint8(0, 3);
4028
- shortView.setInt16(1, header.value, false);
4029
- return new Uint8Array(shortView.buffer);
4030
- case "integer":
4031
- const intView = new DataView(new ArrayBuffer(5));
4032
- intView.setUint8(0, 4);
4033
- intView.setInt32(1, header.value, false);
4034
- return new Uint8Array(intView.buffer);
4035
- case "long":
4036
- const longBytes = new Uint8Array(9);
4037
- longBytes[0] = 5;
4038
- longBytes.set(header.value.bytes, 1);
4039
- return longBytes;
4040
- case "binary":
4041
- const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));
4042
- binView.setUint8(0, 6);
4043
- binView.setUint16(1, header.value.byteLength, false);
4044
- const binBytes = new Uint8Array(binView.buffer);
4045
- binBytes.set(header.value, 3);
4046
- return binBytes;
4047
- case "string":
4048
- const utf8Bytes = this.fromUtf8(header.value);
4049
- const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));
4050
- strView.setUint8(0, 7);
4051
- strView.setUint16(1, utf8Bytes.byteLength, false);
4052
- const strBytes = new Uint8Array(strView.buffer);
4053
- strBytes.set(utf8Bytes, 3);
4054
- return strBytes;
4055
- case "timestamp":
4056
- const tsBytes = new Uint8Array(9);
4057
- tsBytes[0] = 8;
4058
- tsBytes.set(Int644.fromNumber(header.value.valueOf()).bytes, 1);
4059
- return tsBytes;
4060
- case "uuid":
4061
- if (!UUID_PATTERN3.test(header.value)) {
4062
- throw new Error(`Invalid UUID received: ${header.value}`);
4063
- }
4064
- const uuidBytes = new Uint8Array(17);
4065
- uuidBytes[0] = 9;
4066
- uuidBytes.set(import_util_hex_encoding8.fromHex(header.value.replace(/\-/g, "")), 1);
4067
- return uuidBytes;
4068
- }
4069
- }
4070
- parse(headers) {
4071
- const out = {};
4072
- let position = 0;
4073
- while (position < headers.byteLength) {
4074
- const nameLength = headers.getUint8(position++);
4075
- const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));
4076
- position += nameLength;
4077
- switch (headers.getUint8(position++)) {
4078
- case 0:
4079
- out[name] = {
4080
- type: BOOLEAN_TAG2,
4081
- value: true
4082
- };
4083
- break;
4084
- case 1:
4085
- out[name] = {
4086
- type: BOOLEAN_TAG2,
4087
- value: false
4088
- };
4089
- break;
4090
- case 2:
4091
- out[name] = {
4092
- type: BYTE_TAG2,
4093
- value: headers.getInt8(position++)
4094
- };
4095
- break;
4096
- case 3:
4097
- out[name] = {
4098
- type: SHORT_TAG2,
4099
- value: headers.getInt16(position, false)
4100
- };
4101
- position += 2;
4102
- break;
4103
- case 4:
4104
- out[name] = {
4105
- type: INT_TAG2,
4106
- value: headers.getInt32(position, false)
4107
- };
4108
- position += 4;
4109
- break;
4110
- case 5:
4111
- out[name] = {
4112
- type: LONG_TAG2,
4113
- value: new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8))
4114
- };
4115
- position += 8;
4116
- break;
4117
- case 6:
4118
- const binaryLength = headers.getUint16(position, false);
4119
- position += 2;
4120
- out[name] = {
4121
- type: BINARY_TAG2,
4122
- value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength)
4123
- };
4124
- position += binaryLength;
4125
- break;
4126
- case 7:
4127
- const stringLength = headers.getUint16(position, false);
4128
- position += 2;
4129
- out[name] = {
4130
- type: STRING_TAG2,
4131
- value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength))
4132
- };
4133
- position += stringLength;
4134
- break;
4135
- case 8:
4136
- out[name] = {
4137
- type: TIMESTAMP_TAG2,
4138
- value: new Date(new Int644(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf())
4139
- };
4140
- position += 8;
4141
- break;
4142
- case 9:
4143
- const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);
4144
- position += 16;
4145
- out[name] = {
4146
- type: UUID_TAG2,
4147
- value: `${import_util_hex_encoding8.toHex(uuidBytes.subarray(0, 4))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(4, 6))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(6, 8))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(8, 10))}-${import_util_hex_encoding8.toHex(uuidBytes.subarray(10))}`
4148
- };
4149
- break;
4150
- default:
4151
- throw new Error(`Unrecognized header type tag`);
4152
- }
4153
- }
4154
- return out;
4155
- }
4156
- }
4157
- var import_util_hex_encoding8, HEADER_VALUE_TYPE3, BOOLEAN_TAG2 = "boolean", BYTE_TAG2 = "byte", SHORT_TAG2 = "short", INT_TAG2 = "integer", LONG_TAG2 = "long", BINARY_TAG2 = "binary", STRING_TAG2 = "string", TIMESTAMP_TAG2 = "timestamp", UUID_TAG2 = "uuid", UUID_PATTERN3;
4158
- var init_HeaderMarshaller2 = __esm(() => {
4159
- init_Int642();
4160
- import_util_hex_encoding8 = __toESM(require_dist_cjs3(), 1);
4161
- (function(HEADER_VALUE_TYPE4) {
4162
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolTrue"] = 0] = "boolTrue";
4163
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["boolFalse"] = 1] = "boolFalse";
4164
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byte"] = 2] = "byte";
4165
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["short"] = 3] = "short";
4166
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["integer"] = 4] = "integer";
4167
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["long"] = 5] = "long";
4168
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["byteArray"] = 6] = "byteArray";
4169
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["string"] = 7] = "string";
4170
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["timestamp"] = 8] = "timestamp";
4171
- HEADER_VALUE_TYPE4[HEADER_VALUE_TYPE4["uuid"] = 9] = "uuid";
4172
- })(HEADER_VALUE_TYPE3 || (HEADER_VALUE_TYPE3 = {}));
4173
- UUID_PATTERN3 = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;
4174
- });
4175
-
4176
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/splitMessage.js
4177
- function splitMessage2({ byteLength, byteOffset, buffer }) {
4178
- if (byteLength < MINIMUM_MESSAGE_LENGTH2) {
4179
- throw new Error("Provided message too short to accommodate event stream message overhead");
4180
- }
4181
- const view = new DataView(buffer, byteOffset, byteLength);
4182
- const messageLength = view.getUint32(0, false);
4183
- if (byteLength !== messageLength) {
4184
- throw new Error("Reported message length does not match received message length");
4185
- }
4186
- const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH2, false);
4187
- const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH2, false);
4188
- const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH2, false);
4189
- const checksummer = new Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH2));
4190
- if (expectedPreludeChecksum !== checksummer.digest()) {
4191
- throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
4192
- }
4193
- checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2, byteLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2)));
4194
- if (expectedMessageChecksum !== checksummer.digest()) {
4195
- throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
4196
- }
4197
- return {
4198
- headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2, headerLength),
4199
- body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + headerLength, messageLength - headerLength - (PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 + CHECKSUM_LENGTH2))
4200
- };
4201
- }
4202
- var PRELUDE_MEMBER_LENGTH2 = 4, PRELUDE_LENGTH2, CHECKSUM_LENGTH2 = 4, MINIMUM_MESSAGE_LENGTH2;
4203
- var init_splitMessage2 = __esm(() => {
4204
- init_module();
4205
- PRELUDE_LENGTH2 = PRELUDE_MEMBER_LENGTH2 * 2;
4206
- MINIMUM_MESSAGE_LENGTH2 = PRELUDE_LENGTH2 + CHECKSUM_LENGTH2 * 2;
4207
- });
4208
-
4209
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/EventStreamCodec.js
4210
- class EventStreamCodec3 {
4211
- headerMarshaller;
4212
- messageBuffer;
4213
- isEndOfStream;
4214
- constructor(toUtf83, fromUtf84) {
4215
- this.headerMarshaller = new HeaderMarshaller3(toUtf83, fromUtf84);
4216
- this.messageBuffer = [];
4217
- this.isEndOfStream = false;
4218
- }
4219
- feed(message) {
4220
- this.messageBuffer.push(this.decode(message));
4221
- }
4222
- endOfStream() {
4223
- this.isEndOfStream = true;
4224
- }
4225
- getMessage() {
4226
- const message = this.messageBuffer.pop();
4227
- const isEndOfStream = this.isEndOfStream;
4228
- return {
4229
- getMessage() {
4230
- return message;
4231
- },
4232
- isEndOfStream() {
4233
- return isEndOfStream;
4234
- }
4235
- };
4236
- }
4237
- getAvailableMessages() {
4238
- const messages = this.messageBuffer;
4239
- this.messageBuffer = [];
4240
- const isEndOfStream = this.isEndOfStream;
4241
- return {
4242
- getMessages() {
4243
- return messages;
4244
- },
4245
- isEndOfStream() {
4246
- return isEndOfStream;
4247
- }
4248
- };
4249
- }
4250
- encode({ headers: rawHeaders, body }) {
4251
- const headers = this.headerMarshaller.format(rawHeaders);
4252
- const length = headers.byteLength + body.byteLength + 16;
4253
- const out = new Uint8Array(length);
4254
- const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
4255
- const checksum3 = new Crc32;
4256
- view.setUint32(0, length, false);
4257
- view.setUint32(4, headers.byteLength, false);
4258
- view.setUint32(8, checksum3.update(out.subarray(0, 8)).digest(), false);
4259
- out.set(headers, 12);
4260
- out.set(body, headers.byteLength + 12);
4261
- view.setUint32(length - 4, checksum3.update(out.subarray(8, length - 4)).digest(), false);
4262
- return out;
4263
- }
4264
- decode(message) {
4265
- const { headers, body } = splitMessage2(message);
4266
- return { headers: this.headerMarshaller.parse(headers), body };
4267
- }
4268
- formatHeaders(rawHeaders) {
4269
- return this.headerMarshaller.format(rawHeaders);
4270
- }
4271
- }
4272
- var init_EventStreamCodec2 = __esm(() => {
4273
- init_module();
4274
- init_HeaderMarshaller2();
4275
- init_splitMessage2();
4276
- });
4277
-
4278
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/Message.js
4279
- var init_Message2 = () => {};
4280
-
4281
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageDecoderStream.js
4282
- var MessageDecoderStream3;
4283
- var init_MessageDecoderStream2 = __esm(() => {
4284
- MessageDecoderStream3 = class MessageDecoderStream3 {
4285
- options;
4286
- constructor(options) {
4287
- this.options = options;
4288
- }
4289
- [Symbol.asyncIterator]() {
4290
- return this.asyncIterator();
4291
- }
4292
- async* asyncIterator() {
4293
- for await (const bytes of this.options.inputStream) {
4294
- const decoded = this.options.decoder.decode(bytes);
4295
- yield decoded;
4296
- }
4297
- }
4298
- };
4299
- });
4300
-
4301
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/MessageEncoderStream.js
4302
- var MessageEncoderStream3;
4303
- var init_MessageEncoderStream2 = __esm(() => {
4304
- MessageEncoderStream3 = class MessageEncoderStream3 {
4305
- options;
4306
- constructor(options) {
4307
- this.options = options;
4308
- }
4309
- [Symbol.asyncIterator]() {
4310
- return this.asyncIterator();
4311
- }
4312
- async* asyncIterator() {
4313
- for await (const msg of this.options.messageStream) {
4314
- const encoded = this.options.encoder.encode(msg);
4315
- yield encoded;
4316
- }
4317
- if (this.options.includeEndFrame) {
4318
- yield new Uint8Array(0);
4319
- }
4320
- }
4321
- };
4322
- });
4323
-
4324
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageDecoderStream.js
4325
- var SmithyMessageDecoderStream3;
4326
- var init_SmithyMessageDecoderStream2 = __esm(() => {
4327
- SmithyMessageDecoderStream3 = class SmithyMessageDecoderStream3 {
4328
- options;
4329
- constructor(options) {
4330
- this.options = options;
4331
- }
4332
- [Symbol.asyncIterator]() {
4333
- return this.asyncIterator();
4334
- }
4335
- async* asyncIterator() {
4336
- for await (const message of this.options.messageStream) {
4337
- const deserialized = await this.options.deserializer(message);
4338
- if (deserialized === undefined)
4339
- continue;
4340
- yield deserialized;
4341
- }
4342
- }
4343
- };
4344
- });
4345
-
4346
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/SmithyMessageEncoderStream.js
4347
- var SmithyMessageEncoderStream3;
4348
- var init_SmithyMessageEncoderStream2 = __esm(() => {
4349
- SmithyMessageEncoderStream3 = class SmithyMessageEncoderStream3 {
4350
- options;
4351
- constructor(options) {
4352
- this.options = options;
4353
- }
4354
- [Symbol.asyncIterator]() {
4355
- return this.asyncIterator();
4356
- }
4357
- async* asyncIterator() {
4358
- for await (const chunk of this.options.inputStream) {
4359
- const payloadBuf = this.options.serializer(chunk);
4360
- yield payloadBuf;
4361
- }
4362
- }
4363
- };
4364
- });
4365
-
4366
- // node_modules/.bun/@smithy+eventstream-codec@4.2.12/node_modules/@smithy/eventstream-codec/dist-es/index.js
4367
- var init_dist_es27 = __esm(() => {
4368
- init_EventStreamCodec2();
4369
- init_HeaderMarshaller2();
4370
- init_Int642();
4371
- init_Message2();
4372
- init_MessageDecoderStream2();
4373
- init_MessageEncoderStream2();
4374
- init_SmithyMessageDecoderStream2();
4375
- init_SmithyMessageEncoderStream2();
4376
- });
4377
-
4378
- // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js
4379
- function getChunkedStream2(source) {
4380
- let currentMessageTotalLength = 0;
4381
- let currentMessagePendingLength = 0;
4382
- let currentMessage = null;
4383
- let messageLengthBuffer = null;
4384
- const allocateMessage = (size) => {
4385
- if (typeof size !== "number") {
4386
- throw new Error("Attempted to allocate an event message where size was not a number: " + size);
4387
- }
4388
- currentMessageTotalLength = size;
4389
- currentMessagePendingLength = 4;
4390
- currentMessage = new Uint8Array(size);
4391
- const currentMessageView = new DataView(currentMessage.buffer);
4392
- currentMessageView.setUint32(0, size, false);
4393
- };
4394
- const iterator = async function* () {
4395
- const sourceIterator = source[Symbol.asyncIterator]();
4396
- while (true) {
4397
- const { value, done } = await sourceIterator.next();
4398
- if (done) {
4399
- if (!currentMessageTotalLength) {
4400
- return;
4401
- } else if (currentMessageTotalLength === currentMessagePendingLength) {
4402
- yield currentMessage;
4403
- } else {
4404
- throw new Error("Truncated event message received.");
4405
- }
4406
- return;
4407
- }
4408
- const chunkLength = value.length;
4409
- let currentOffset = 0;
4410
- while (currentOffset < chunkLength) {
4411
- if (!currentMessage) {
4412
- const bytesRemaining = chunkLength - currentOffset;
4413
- if (!messageLengthBuffer) {
4414
- messageLengthBuffer = new Uint8Array(4);
4415
- }
4416
- const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining);
4417
- messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength);
4418
- currentMessagePendingLength += numBytesForTotal;
4419
- currentOffset += numBytesForTotal;
4420
- if (currentMessagePendingLength < 4) {
4421
- break;
4422
- }
4423
- allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false));
4424
- messageLengthBuffer = null;
4425
- }
4426
- const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset);
4427
- currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength);
4428
- currentMessagePendingLength += numBytesToWrite;
4429
- currentOffset += numBytesToWrite;
4430
- if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) {
4431
- yield currentMessage;
4432
- currentMessage = null;
4433
- currentMessageTotalLength = 0;
4434
- currentMessagePendingLength = 0;
4435
- }
4436
- }
4437
- }
4438
- };
4439
- return {
4440
- [Symbol.asyncIterator]: iterator
4441
- };
4442
- }
4443
- var init_getChunkedStream2 = () => {};
4444
-
4445
- // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js
4446
- function getMessageUnmarshaller2(deserializer, toUtf83) {
4447
- return async function(message) {
4448
- const { value: messageType } = message.headers[":message-type"];
4449
- if (messageType === "error") {
4450
- const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError");
4451
- unmodeledError.name = message.headers[":error-code"].value;
4452
- throw unmodeledError;
4453
- } else if (messageType === "exception") {
4454
- const code = message.headers[":exception-type"].value;
4455
- const exception = { [code]: message };
4456
- const deserializedException = await deserializer(exception);
4457
- if (deserializedException.$unknown) {
4458
- const error = new Error(toUtf83(message.body));
4459
- error.name = code;
4460
- throw error;
4461
- }
4462
- throw deserializedException[code];
4463
- } else if (messageType === "event") {
4464
- const event = {
4465
- [message.headers[":event-type"].value]: message
4466
- };
4467
- const deserialized = await deserializer(event);
4468
- if (deserialized.$unknown)
4469
- return;
4470
- return deserialized;
4471
- } else {
4472
- throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`);
4473
- }
4474
- };
4475
- }
4476
- var init_getUnmarshalledStream2 = () => {};
4477
-
4478
- // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js
4479
- class EventStreamMarshaller5 {
4480
- eventStreamCodec;
4481
- utfEncoder;
4482
- constructor({ utf8Encoder, utf8Decoder }) {
4483
- this.eventStreamCodec = new EventStreamCodec3(utf8Encoder, utf8Decoder);
4484
- this.utfEncoder = utf8Encoder;
4485
- }
4486
- deserialize(body, deserializer) {
4487
- const inputStream = getChunkedStream2(body);
4488
- return new SmithyMessageDecoderStream3({
4489
- messageStream: new MessageDecoderStream3({ inputStream, decoder: this.eventStreamCodec }),
4490
- deserializer: getMessageUnmarshaller2(deserializer, this.utfEncoder)
4491
- });
4492
- }
4493
- serialize(inputStream, serializer) {
4494
- return new MessageEncoderStream3({
4495
- messageStream: new SmithyMessageEncoderStream3({ inputStream, serializer }),
4496
- encoder: this.eventStreamCodec,
4497
- includeEndFrame: true
4498
- });
4499
- }
4500
- }
4501
- var init_EventStreamMarshaller3 = __esm(() => {
4502
- init_dist_es27();
4503
- init_getChunkedStream2();
4504
- init_getUnmarshalledStream2();
4505
- });
4506
-
4507
- // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js
4508
- var init_provider3 = () => {};
4509
-
4510
- // node_modules/.bun/@smithy+eventstream-serde-universal@4.2.12/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js
4511
- var init_dist_es28 = __esm(() => {
4512
- init_EventStreamMarshaller3();
4513
- init_provider3();
4514
- });
4515
-
4516
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/utils.js
4517
- var isWebSocketRequest = (request) => request.protocol === "ws:" || request.protocol === "wss:";
4518
- var init_utils2 = () => {};
4519
-
4520
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebSocketFetchHandler.js
4521
- var init_WebSocketFetchHandler = () => {};
4522
-
4523
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketEndpointMiddleware.js
4524
- var import_protocol_http6, websocketEndpointMiddleware = (config3, options) => (next) => (args) => {
4525
- const { request } = args;
4526
- if (import_protocol_http6.HttpRequest.isInstance(request) && config3.requestHandler.metadata?.handlerProtocol?.toLowerCase().includes("websocket")) {
4527
- request.protocol = "wss:";
4528
- request.method = "GET";
4529
- request.path = `${request.path}-websocket`;
4530
- const { headers } = request;
4531
- delete headers["content-type"];
4532
- delete headers["x-amz-content-sha256"];
4533
- for (const name of Object.keys(headers)) {
4534
- if (name.indexOf(options.headerPrefix) === 0) {
4535
- const chunkedName = name.replace(options.headerPrefix, "");
4536
- request.query[chunkedName] = headers[name];
4537
- }
4538
- }
4539
- if (headers["x-amz-user-agent"]) {
4540
- request.query["user-agent"] = headers["x-amz-user-agent"];
4541
- }
4542
- request.headers = { host: headers.host ?? request.hostname };
4543
- }
4544
- return next(args);
4545
- }, websocketEndpointMiddlewareOptions;
4546
- var init_websocketEndpointMiddleware = __esm(() => {
4547
- import_protocol_http6 = __toESM(require_dist_cjs5(), 1);
4548
- websocketEndpointMiddlewareOptions = {
4549
- name: "websocketEndpointMiddleware",
4550
- tags: ["WEBSOCKET", "EVENT_STREAM"],
4551
- relation: "after",
4552
- toMiddleware: "eventStreamHeaderMiddleware",
4553
- override: true
4554
- };
4555
- });
4556
-
4557
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/middlewares/websocketInjectSessionIdMiddleware.js
4558
- var injectSessionIdMiddleware = () => (next) => async (args) => {
4559
- const requestParams = {
4560
- ...args.input
4561
- };
4562
- const response3 = await next(args);
4563
- const output = response3.output;
4564
- if (requestParams.SessionId && output.SessionId == null) {
4565
- output.SessionId = requestParams.SessionId;
4566
- }
4567
- return response3;
4568
- }, injectSessionIdMiddlewareOptions;
4569
- var init_websocketInjectSessionIdMiddleware = __esm(() => {
4570
- injectSessionIdMiddlewareOptions = {
4571
- step: "initialize",
4572
- name: "injectSessionIdMiddleware",
4573
- tags: ["WEBSOCKET", "EVENT_STREAM"],
4574
- override: true
4575
- };
4576
- });
4577
-
4578
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/getWebSocketPlugin.js
4579
- var getWebSocketPlugin = (config3, options) => ({
4580
- applyToStack: (clientStack) => {
4581
- clientStack.addRelativeTo(websocketEndpointMiddleware(config3, options), websocketEndpointMiddlewareOptions);
4582
- clientStack.add(injectSessionIdMiddleware(), injectSessionIdMiddlewareOptions);
4583
- }
4584
- });
4585
- var init_getWebSocketPlugin = __esm(() => {
4586
- init_websocketEndpointMiddleware();
4587
- init_websocketInjectSessionIdMiddleware();
4588
- });
4589
-
4590
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/WebsocketSignatureV4.js
4591
- class WebsocketSignatureV4 {
4592
- signer;
4593
- constructor(options) {
4594
- this.signer = options.signer;
4595
- }
4596
- presign(originalRequest, options = {}) {
4597
- return this.signer.presign(originalRequest, options);
4598
- }
4599
- async sign(toSign, options) {
4600
- if (import_protocol_http7.HttpRequest.isInstance(toSign) && isWebSocketRequest(toSign)) {
4601
- const signedRequest = await this.signer.presign({ ...toSign, body: "" }, {
4602
- ...options,
4603
- expiresIn: 60,
4604
- unsignableHeaders: new Set(Object.keys(toSign.headers).filter((header) => header !== "host"))
4605
- });
4606
- return {
4607
- ...signedRequest,
4608
- body: toSign.body
4609
- };
4610
- } else {
4611
- return this.signer.sign(toSign, options);
4612
- }
4613
- }
4614
- signMessage(message, args) {
4615
- return this.signer.signMessage(message, args);
4616
- }
4617
- }
4618
- var import_protocol_http7;
4619
- var init_WebsocketSignatureV4 = __esm(() => {
4620
- init_utils2();
4621
- import_protocol_http7 = __toESM(require_dist_cjs5(), 1);
4622
- });
4623
-
4624
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/resolveWebSocketConfig.js
4625
- var resolveWebSocketConfig = (input) => {
4626
- const { signer } = input;
4627
- return Object.assign(input, {
4628
- signer: async (authScheme) => {
4629
- const signerObj = await signer(authScheme);
4630
- if (validateSigner(signerObj)) {
4631
- return new WebsocketSignatureV4({ signer: signerObj });
4632
- }
4633
- throw new Error("Expected WebsocketSignatureV4 signer, please check the client constructor.");
4634
- }
4635
- });
4636
- }, validateSigner = (signer) => !!signer;
4637
- var init_resolveWebSocketConfig = __esm(() => {
4638
- init_WebsocketSignatureV4();
4639
- });
4640
-
4641
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/ws-eventstream/eventStreamPayloadHandlerProvider.js
4642
- var init_eventStreamPayloadHandlerProvider = () => {};
4643
-
4644
- // node_modules/.bun/@aws-sdk+middleware-websocket@3.972.14/node_modules/@aws-sdk/middleware-websocket/dist-es/index.js
4645
- var init_dist_es29 = __esm(() => {
4646
- init_WebSocketFetchHandler();
4647
- init_getWebSocketPlugin();
4648
- init_resolveWebSocketConfig();
4649
- init_eventStreamPayloadHandlerProvider();
4650
- });
4651
-
4652
- // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js
4653
- var resolveEventStreamSerdeConfig = (input) => Object.assign(input, {
4654
- eventStreamMarshaller: input.eventStreamSerdeProvider(input)
4655
- });
4656
- var init_EventStreamSerdeConfig = () => {};
4657
-
4658
- // node_modules/.bun/@smithy+eventstream-serde-config-resolver@4.3.12/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js
4659
- var init_dist_es30 = __esm(() => {
4660
- init_EventStreamSerdeConfig();
4661
- });
4662
-
4663
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthSchemeProvider.js
4664
- function createAwsAuthSigv4HttpAuthOption(authParameters) {
4665
- return {
4666
- schemeId: "aws.auth#sigv4",
4667
- signingProperties: {
4668
- name: "bedrock",
4669
- region: authParameters.region
4670
- },
4671
- propertiesExtractor: (config3, context) => ({
4672
- signingProperties: {
4673
- config: config3,
4674
- context
4675
- }
4676
- })
4677
- };
4678
- }
4679
- function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
4680
- return {
4681
- schemeId: "smithy.api#httpBearerAuth",
4682
- propertiesExtractor: ({ profile: profile3, filepath, configFilepath, ignoreCache }, context) => ({
4683
- identityProperties: {
4684
- profile: profile3,
4685
- filepath,
4686
- configFilepath,
4687
- ignoreCache
4688
- }
4689
- })
4690
- };
4691
- }
4692
- var import_httpAuthSchemes, import_core, import_util_middleware2, defaultBedrockRuntimeHttpAuthSchemeParametersProvider = async (config3, context, input) => {
4693
- return {
4694
- operation: import_util_middleware2.getSmithyContext(context).operation,
4695
- region: await import_util_middleware2.normalizeProvider(config3.region)() || (() => {
4696
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
4697
- })()
4698
- };
4699
- }, defaultBedrockRuntimeHttpAuthSchemeProvider = (authParameters) => {
4700
- const options = [];
4701
- switch (authParameters.operation) {
4702
- default: {
4703
- options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
4704
- options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
4705
- }
4706
- }
4707
- return options;
4708
- }, resolveHttpAuthSchemeConfig = (config3) => {
4709
- const token = import_core.memoizeIdentityProvider(config3.token, import_core.isIdentityExpired, import_core.doesIdentityRequireRefresh);
4710
- const config_0 = import_httpAuthSchemes.resolveAwsSdkSigV4Config(config3);
4711
- return Object.assign(config_0, {
4712
- authSchemePreference: import_util_middleware2.normalizeProvider(config3.authSchemePreference ?? []),
4713
- token
4714
- });
4715
- };
4716
- var init_httpAuthSchemeProvider = __esm(() => {
4717
- import_httpAuthSchemes = __toESM(require_httpAuthSchemes(), 1);
4718
- import_core = __toESM(require_dist_cjs13(), 1);
4719
- import_util_middleware2 = __toESM(require_dist_cjs10(), 1);
4720
- });
4721
-
4722
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/EndpointParameters.js
4723
- var resolveClientEndpointParameters = (options) => {
4724
- return Object.assign(options, {
4725
- useDualstackEndpoint: options.useDualstackEndpoint ?? false,
4726
- useFipsEndpoint: options.useFipsEndpoint ?? false,
4727
- defaultSigningName: "bedrock"
4728
- });
4729
- }, commonParams;
4730
- var init_EndpointParameters = __esm(() => {
4731
- commonParams = {
4732
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
4733
- Endpoint: { type: "builtInParams", name: "endpoint" },
4734
- Region: { type: "builtInParams", name: "region" },
4735
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
4736
- };
4737
- });
4738
-
4739
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/package.json
4740
- var package_default;
4741
- var init_package = __esm(() => {
4742
- package_default = {
4743
- name: "@aws-sdk/client-bedrock-runtime",
4744
- description: "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4745
- version: "3.1020.0",
4746
- scripts: {
4747
- build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
4748
- "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
4749
- "build:es": "tsc -p tsconfig.es.json",
4750
- "build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
4751
- "build:types": "tsc -p tsconfig.types.json",
4752
- "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
4753
- clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
4754
- "extract:docs": "api-extractor run --local",
4755
- "generate:client": "node ../../scripts/generate-clients/single-service --solo bedrock-runtime",
4756
- test: "yarn g:vitest run --passWithNoTests",
4757
- "test:browser": "yarn g:vitest run -c vitest.config.browser.e2e.mts",
4758
- "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.e2e.mts",
4759
- "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
4760
- "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
4761
- "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
4762
- "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
4763
- "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
4764
- "test:watch": "yarn g:vitest watch --passWithNoTests"
4765
- },
4766
- main: "./dist-cjs/index.js",
4767
- types: "./dist-types/index.d.ts",
4768
- module: "./dist-es/index.js",
4769
- sideEffects: false,
4770
- dependencies: {
4771
- "@aws-crypto/sha256-browser": "5.2.0",
4772
- "@aws-crypto/sha256-js": "5.2.0",
4773
- "@aws-sdk/core": "^3.973.26",
4774
- "@aws-sdk/credential-provider-node": "^3.972.28",
4775
- "@aws-sdk/eventstream-handler-node": "^3.972.12",
4776
- "@aws-sdk/middleware-eventstream": "^3.972.8",
4777
- "@aws-sdk/middleware-host-header": "^3.972.8",
4778
- "@aws-sdk/middleware-logger": "^3.972.8",
4779
- "@aws-sdk/middleware-recursion-detection": "^3.972.9",
4780
- "@aws-sdk/middleware-user-agent": "^3.972.27",
4781
- "@aws-sdk/middleware-websocket": "^3.972.14",
4782
- "@aws-sdk/region-config-resolver": "^3.972.10",
4783
- "@aws-sdk/token-providers": "3.1020.0",
4784
- "@aws-sdk/types": "^3.973.6",
4785
- "@aws-sdk/util-endpoints": "^3.996.5",
4786
- "@aws-sdk/util-user-agent-browser": "^3.972.8",
4787
- "@aws-sdk/util-user-agent-node": "^3.973.13",
4788
- "@smithy/config-resolver": "^4.4.13",
4789
- "@smithy/core": "^3.23.13",
4790
- "@smithy/eventstream-serde-browser": "^4.2.12",
4791
- "@smithy/eventstream-serde-config-resolver": "^4.3.12",
4792
- "@smithy/eventstream-serde-node": "^4.2.12",
4793
- "@smithy/fetch-http-handler": "^5.3.15",
4794
- "@smithy/hash-node": "^4.2.12",
4795
- "@smithy/invalid-dependency": "^4.2.12",
4796
- "@smithy/middleware-content-length": "^4.2.12",
4797
- "@smithy/middleware-endpoint": "^4.4.28",
4798
- "@smithy/middleware-retry": "^4.4.45",
4799
- "@smithy/middleware-serde": "^4.2.16",
4800
- "@smithy/middleware-stack": "^4.2.12",
4801
- "@smithy/node-config-provider": "^4.3.12",
4802
- "@smithy/node-http-handler": "^4.5.1",
4803
- "@smithy/protocol-http": "^5.3.12",
4804
- "@smithy/smithy-client": "^4.12.8",
4805
- "@smithy/types": "^4.13.1",
4806
- "@smithy/url-parser": "^4.2.12",
4807
- "@smithy/util-base64": "^4.3.2",
4808
- "@smithy/util-body-length-browser": "^4.2.2",
4809
- "@smithy/util-body-length-node": "^4.2.3",
4810
- "@smithy/util-defaults-mode-browser": "^4.3.44",
4811
- "@smithy/util-defaults-mode-node": "^4.2.48",
4812
- "@smithy/util-endpoints": "^3.3.3",
4813
- "@smithy/util-middleware": "^4.2.12",
4814
- "@smithy/util-retry": "^4.2.12",
4815
- "@smithy/util-stream": "^4.5.21",
4816
- "@smithy/util-utf8": "^4.2.2",
4817
- tslib: "^2.6.2"
4818
- },
4819
- devDependencies: {
4820
- "@smithy/snapshot-testing": "^2.0.4",
4821
- "@tsconfig/node20": "20.1.8",
4822
- "@types/node": "^20.14.8",
4823
- concurrently: "7.0.0",
4824
- "downlevel-dts": "0.10.1",
4825
- premove: "4.0.0",
4826
- typescript: "~5.8.3",
4827
- vitest: "^4.0.17"
4828
- },
4829
- engines: {
4830
- node: ">=20.0.0"
4831
- },
4832
- typesVersions: {
4833
- "<4.5": {
4834
- "dist-types/*": [
4835
- "dist-types/ts3.4/*"
4836
- ]
4837
- }
4838
- },
4839
- files: [
4840
- "dist-*/**"
4841
- ],
4842
- author: {
4843
- name: "AWS SDK for JavaScript Team",
4844
- url: "https://aws.amazon.com/javascript/"
4845
- },
4846
- license: "Apache-2.0",
4847
- browser: {
4848
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
4849
- },
4850
- "react-native": {
4851
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
4852
- },
4853
- homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",
4854
- repository: {
4855
- type: "git",
4856
- url: "https://github.com/aws/aws-sdk-js-v3.git",
4857
- directory: "clients/client-bedrock-runtime"
4858
- }
4859
- };
4860
- });
4861
-
4862
- // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventSigningTransformStream.js
4863
- import { Transform } from "stream";
4864
- function getSignatureBinary(signature3) {
4865
- const buf = Buffer.from(signature3, "hex");
4866
- return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
4867
- }
4868
- var EventSigningTransformStream;
4869
- var init_EventSigningTransformStream = __esm(() => {
4870
- EventSigningTransformStream = class EventSigningTransformStream extends Transform {
4871
- priorSignature;
4872
- messageSigner;
4873
- eventStreamCodec;
4874
- systemClockOffsetProvider;
4875
- constructor(options) {
4876
- super({
4877
- autoDestroy: true,
4878
- readableObjectMode: true,
4879
- writableObjectMode: true,
4880
- ...options
4881
- });
4882
- this.priorSignature = options.priorSignature;
4883
- this.eventStreamCodec = options.eventStreamCodec;
4884
- this.messageSigner = options.messageSigner;
4885
- this.systemClockOffsetProvider = options.systemClockOffsetProvider;
4886
- }
4887
- async _transform(chunk, encoding, callback) {
4888
- try {
4889
- const now = new Date(Date.now() + await this.systemClockOffsetProvider());
4890
- const dateHeader = {
4891
- ":date": { type: "timestamp", value: now }
4892
- };
4893
- const signedMessage = await this.messageSigner.sign({
4894
- message: {
4895
- body: chunk,
4896
- headers: dateHeader
4897
- },
4898
- priorSignature: this.priorSignature
4899
- }, {
4900
- signingDate: now
4901
- });
4902
- this.priorSignature = signedMessage.signature;
4903
- const serializedSigned = this.eventStreamCodec.encode({
4904
- headers: {
4905
- ...dateHeader,
4906
- ":chunk-signature": {
4907
- type: "binary",
4908
- value: getSignatureBinary(signedMessage.signature)
4909
- }
4910
- },
4911
- body: chunk
4912
- });
4913
- this.push(serializedSigned);
4914
- return callback();
4915
- } catch (err) {
4916
- callback(err);
4917
- }
4918
- }
4919
- };
4920
- });
4921
-
4922
- // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/EventStreamPayloadHandler.js
4923
- import { PassThrough, pipeline, Readable as Readable2 } from "stream";
4924
-
4925
- class EventStreamPayloadHandler {
4926
- messageSigner;
4927
- eventStreamCodec;
4928
- systemClockOffsetProvider;
4929
- constructor(options) {
4930
- this.messageSigner = options.messageSigner;
4931
- this.eventStreamCodec = new EventStreamCodec3(options.utf8Encoder, options.utf8Decoder);
4932
- this.systemClockOffsetProvider = async () => options.systemClockOffset ?? 0;
4933
- }
4934
- async handle(next, args, context = {}) {
4935
- const request = args.request;
4936
- const { body: payload, query } = request;
4937
- if (!(payload instanceof Readable2)) {
4938
- throw new Error("Eventstream payload must be a Readable stream.");
4939
- }
4940
- const payloadStream = payload;
4941
- request.body = new PassThrough({
4942
- objectMode: true
4943
- });
4944
- const match = request.headers?.authorization?.match(/Signature=([\w]+)$/);
4945
- let priorSignature = match?.[1] ?? query?.["X-Amz-Signature"] ?? "";
4946
- if (context.__staticSignature) {
4947
- priorSignature = "";
4948
- }
4949
- const signingStream = new EventSigningTransformStream({
4950
- priorSignature,
4951
- eventStreamCodec: this.eventStreamCodec,
4952
- messageSigner: await this.messageSigner(),
4953
- systemClockOffsetProvider: this.systemClockOffsetProvider
4954
- });
4955
- let resolvePipeline;
4956
- const pipelineError = new Promise((resolve, reject) => {
4957
- resolvePipeline = () => resolve(undefined);
4958
- pipeline(payloadStream, signingStream, request.body, (err) => {
4959
- if (err) {
4960
- reject(new Error(`Pipeline error in @aws-sdk/eventstream-handler-node: ${err.message}`, { cause: err }));
4961
- }
4962
- });
4963
- });
4964
- let result;
4965
- try {
4966
- result = await Promise.race([next(args), pipelineError]);
4967
- } catch (e) {
4968
- request.body.end();
4969
- throw e;
4970
- } finally {
4971
- resolvePipeline();
4972
- }
4973
- return result;
4974
- }
4975
- }
4976
- var init_EventStreamPayloadHandler = __esm(() => {
4977
- init_dist_es27();
4978
- init_EventSigningTransformStream();
4979
- });
4980
-
4981
- // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/eventStreamPayloadHandlerProvider.js
4982
- var eventStreamPayloadHandlerProvider2 = (options) => new EventStreamPayloadHandler(options);
4983
- var init_eventStreamPayloadHandlerProvider2 = __esm(() => {
4984
- init_EventStreamPayloadHandler();
4985
- });
4986
-
4987
- // node_modules/.bun/@aws-sdk+eventstream-handler-node@3.972.12/node_modules/@aws-sdk/eventstream-handler-node/dist-es/index.js
4988
- var init_dist_es31 = __esm(() => {
4989
- init_eventStreamPayloadHandlerProvider2();
4990
- });
4991
-
4992
- // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js
4993
- async function* readabletoIterable2(readStream) {
4994
- let streamEnded = false;
4995
- let generationEnded = false;
4996
- const records = new Array;
4997
- readStream.on("error", (err) => {
4998
- if (!streamEnded) {
4999
- streamEnded = true;
5000
- }
5001
- if (err) {
5002
- throw err;
5003
- }
5004
- });
5005
- readStream.on("data", (data) => {
5006
- records.push(data);
5007
- });
5008
- readStream.on("end", () => {
5009
- streamEnded = true;
5010
- });
5011
- while (!generationEnded) {
5012
- const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0));
5013
- if (value) {
5014
- yield value;
5015
- }
5016
- generationEnded = streamEnded && records.length === 0;
5017
- }
5018
- }
5019
- var init_utils3 = () => {};
5020
-
5021
- // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js
5022
- import { Readable as Readable3 } from "stream";
5023
-
5024
- class EventStreamMarshaller7 {
5025
- universalMarshaller;
5026
- constructor({ utf8Encoder, utf8Decoder }) {
5027
- this.universalMarshaller = new EventStreamMarshaller5({
5028
- utf8Decoder,
5029
- utf8Encoder
5030
- });
5031
- }
5032
- deserialize(body, deserializer) {
5033
- const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable2(body);
5034
- return this.universalMarshaller.deserialize(bodyIterable, deserializer);
5035
- }
5036
- serialize(input, serializer) {
5037
- return Readable3.from(this.universalMarshaller.serialize(input, serializer));
5038
- }
5039
- }
5040
- var init_EventStreamMarshaller4 = __esm(() => {
5041
- init_dist_es28();
5042
- init_utils3();
5043
- });
5044
-
5045
- // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js
5046
- var eventStreamSerdeProvider = (options) => new EventStreamMarshaller7(options);
5047
- var init_provider4 = __esm(() => {
5048
- init_EventStreamMarshaller4();
5049
- });
5050
-
5051
- // node_modules/.bun/@smithy+eventstream-serde-node@4.2.12/node_modules/@smithy/eventstream-serde-node/dist-es/index.js
5052
- var init_dist_es32 = __esm(() => {
5053
- init_EventStreamMarshaller4();
5054
- init_provider4();
5055
- });
5056
-
5057
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/ruleset.js
5058
- var s = "required", t = "fn", u = "argv", v = "ref", a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h, i, j, k, l, m, n, o, p, q, r, _data, ruleSet;
5059
- var init_ruleset = __esm(() => {
5060
- h = { [s]: false, type: "string" };
5061
- i = { [s]: true, default: false, type: "boolean" };
5062
- j = { [v]: "Endpoint" };
5063
- k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] };
5064
- l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] };
5065
- m = {};
5066
- n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] };
5067
- o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] };
5068
- p = [k];
5069
- q = [l];
5070
- r = [{ [v]: "Region" }];
5071
- _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
5072
- ruleSet = _data;
5073
- });
5074
-
5075
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/endpoint/endpointResolver.js
5076
- var import_util_endpoints, import_util_endpoints2, cache, defaultEndpointResolver = (endpointParams, context = {}) => {
5077
- return cache.get(endpointParams, () => import_util_endpoints2.resolveEndpoint(ruleSet, {
5078
- endpointParams,
5079
- logger: context.logger
5080
- }));
5081
- };
5082
- var init_endpointResolver = __esm(() => {
5083
- init_ruleset();
5084
- import_util_endpoints = __toESM(require_dist_cjs15(), 1);
5085
- import_util_endpoints2 = __toESM(require_dist_cjs14(), 1);
5086
- cache = new import_util_endpoints2.EndpointCache({
5087
- size: 50,
5088
- params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
5089
- });
5090
- import_util_endpoints2.customEndpointFunctions.aws = import_util_endpoints.awsEndpointFunctions;
5091
- });
5092
-
5093
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/BedrockRuntimeServiceException.js
5094
- var import_smithy_client, BedrockRuntimeServiceException;
5095
- var init_BedrockRuntimeServiceException = __esm(() => {
5096
- import_smithy_client = __toESM(require_dist_cjs22(), 1);
5097
- BedrockRuntimeServiceException = class BedrockRuntimeServiceException extends import_smithy_client.ServiceException {
5098
- constructor(options) {
5099
- super(options);
5100
- Object.setPrototypeOf(this, BedrockRuntimeServiceException.prototype);
5101
- }
5102
- };
5103
- });
5104
-
5105
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/errors.js
5106
- var AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, ModelErrorException, ModelNotReadyException, ModelTimeoutException, ModelStreamErrorException;
5107
- var init_errors = __esm(() => {
5108
- init_BedrockRuntimeServiceException();
5109
- AccessDeniedException = class AccessDeniedException extends BedrockRuntimeServiceException {
5110
- name = "AccessDeniedException";
5111
- $fault = "client";
5112
- constructor(opts) {
5113
- super({
5114
- name: "AccessDeniedException",
5115
- $fault: "client",
5116
- ...opts
5117
- });
5118
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
5119
- }
5120
- };
5121
- InternalServerException = class InternalServerException extends BedrockRuntimeServiceException {
5122
- name = "InternalServerException";
5123
- $fault = "server";
5124
- constructor(opts) {
5125
- super({
5126
- name: "InternalServerException",
5127
- $fault: "server",
5128
- ...opts
5129
- });
5130
- Object.setPrototypeOf(this, InternalServerException.prototype);
5131
- }
5132
- };
5133
- ThrottlingException = class ThrottlingException extends BedrockRuntimeServiceException {
5134
- name = "ThrottlingException";
5135
- $fault = "client";
5136
- constructor(opts) {
5137
- super({
5138
- name: "ThrottlingException",
5139
- $fault: "client",
5140
- ...opts
5141
- });
5142
- Object.setPrototypeOf(this, ThrottlingException.prototype);
5143
- }
5144
- };
5145
- ValidationException = class ValidationException extends BedrockRuntimeServiceException {
5146
- name = "ValidationException";
5147
- $fault = "client";
5148
- constructor(opts) {
5149
- super({
5150
- name: "ValidationException",
5151
- $fault: "client",
5152
- ...opts
5153
- });
5154
- Object.setPrototypeOf(this, ValidationException.prototype);
5155
- }
5156
- };
5157
- ConflictException = class ConflictException extends BedrockRuntimeServiceException {
5158
- name = "ConflictException";
5159
- $fault = "client";
5160
- constructor(opts) {
5161
- super({
5162
- name: "ConflictException",
5163
- $fault: "client",
5164
- ...opts
5165
- });
5166
- Object.setPrototypeOf(this, ConflictException.prototype);
5167
- }
5168
- };
5169
- ResourceNotFoundException = class ResourceNotFoundException extends BedrockRuntimeServiceException {
5170
- name = "ResourceNotFoundException";
5171
- $fault = "client";
5172
- constructor(opts) {
5173
- super({
5174
- name: "ResourceNotFoundException",
5175
- $fault: "client",
5176
- ...opts
5177
- });
5178
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
5179
- }
5180
- };
5181
- ServiceQuotaExceededException = class ServiceQuotaExceededException extends BedrockRuntimeServiceException {
5182
- name = "ServiceQuotaExceededException";
5183
- $fault = "client";
5184
- constructor(opts) {
5185
- super({
5186
- name: "ServiceQuotaExceededException",
5187
- $fault: "client",
5188
- ...opts
5189
- });
5190
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
5191
- }
5192
- };
5193
- ServiceUnavailableException = class ServiceUnavailableException extends BedrockRuntimeServiceException {
5194
- name = "ServiceUnavailableException";
5195
- $fault = "server";
5196
- constructor(opts) {
5197
- super({
5198
- name: "ServiceUnavailableException",
5199
- $fault: "server",
5200
- ...opts
5201
- });
5202
- Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
5203
- }
5204
- };
5205
- ModelErrorException = class ModelErrorException extends BedrockRuntimeServiceException {
5206
- name = "ModelErrorException";
5207
- $fault = "client";
5208
- originalStatusCode;
5209
- resourceName;
5210
- constructor(opts) {
5211
- super({
5212
- name: "ModelErrorException",
5213
- $fault: "client",
5214
- ...opts
5215
- });
5216
- Object.setPrototypeOf(this, ModelErrorException.prototype);
5217
- this.originalStatusCode = opts.originalStatusCode;
5218
- this.resourceName = opts.resourceName;
5219
- }
5220
- };
5221
- ModelNotReadyException = class ModelNotReadyException extends BedrockRuntimeServiceException {
5222
- name = "ModelNotReadyException";
5223
- $fault = "client";
5224
- $retryable = {};
5225
- constructor(opts) {
5226
- super({
5227
- name: "ModelNotReadyException",
5228
- $fault: "client",
5229
- ...opts
5230
- });
5231
- Object.setPrototypeOf(this, ModelNotReadyException.prototype);
5232
- }
5233
- };
5234
- ModelTimeoutException = class ModelTimeoutException extends BedrockRuntimeServiceException {
5235
- name = "ModelTimeoutException";
5236
- $fault = "client";
5237
- constructor(opts) {
5238
- super({
5239
- name: "ModelTimeoutException",
5240
- $fault: "client",
5241
- ...opts
5242
- });
5243
- Object.setPrototypeOf(this, ModelTimeoutException.prototype);
5244
- }
5245
- };
5246
- ModelStreamErrorException = class ModelStreamErrorException extends BedrockRuntimeServiceException {
5247
- name = "ModelStreamErrorException";
5248
- $fault = "client";
5249
- originalStatusCode;
5250
- originalMessage;
5251
- constructor(opts) {
5252
- super({
5253
- name: "ModelStreamErrorException",
5254
- $fault: "client",
5255
- ...opts
5256
- });
5257
- Object.setPrototypeOf(this, ModelStreamErrorException.prototype);
5258
- this.originalStatusCode = opts.originalStatusCode;
5259
- this.originalMessage = opts.originalMessage;
5260
- }
5261
- };
5262
- });
5263
-
5264
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/schemas/schemas_0.js
5265
- var import_schema, _A = "Accept", _AB = "AudioBlock", _ADE = "AccessDeniedException", _AG = "ApplyGuardrail", _AGD = "AppliedGuardrailDetails", _AGR = "ApplyGuardrailRequest", _AGRp = "ApplyGuardrailResponse", _AIM = "AsyncInvokeMessage", _AIODC = "AsyncInvokeOutputDataConfig", _AIS = "AsyncInvokeSummary", _AISODC = "AsyncInvokeS3OutputDataConfig", _AISs = "AsyncInvokeSummaries", _AS = "AudioSource", _ATC = "AnyToolChoice", _ATCu = "AutoToolChoice", _B = "Body", _BIPP = "BidirectionalInputPayloadPart", _BOPP = "BidirectionalOutputPayloadPart", _C = "Citation", _CB = "ContentBlocks", _CBD = "ContentBlockDelta", _CBDE = "ContentBlockDeltaEvent", _CBS = "ContentBlockStart", _CBSE = "ContentBlockStartEvent", _CBSEo = "ContentBlockStopEvent", _CBo = "ContentBlock", _CC = "CitationsConfig", _CCB = "CitationsContentBlock", _CD = "CacheDetail", _CDL = "CacheDetailsList", _CDi = "CitationsDelta", _CE = "ConflictException", _CGC = "CitationGeneratedContent", _CGCL = "CitationGeneratedContentList", _CL = "CitationLocation", _CM = "ConverseMetrics", _CO = "ConverseOutput", _CPB = "CachePointBlock", _CR = "ConverseRequest", _CRo = "ConverseResponse", _CS = "ConverseStream", _CSC = "CitationSourceContent", _CSCD = "CitationSourceContentDelta", _CSCL = "CitationSourceContentList", _CSCLD = "CitationSourceContentListDelta", _CSM = "ConverseStreamMetrics", _CSME = "ConverseStreamMetadataEvent", _CSO = "ConverseStreamOutput", _CSR = "ConverseStreamRequest", _CSRo = "ConverseStreamResponse", _CST = "ConverseStreamTrace", _CT = "ConverseTrace", _CTI = "CountTokensInput", _CTR = "ConverseTokensRequest", _CTRo = "CountTokensRequest", _CTRou = "CountTokensResponse", _CT_ = "Content-Type", _CTo = "CountTokens", _Ci = "Citations", _Co = "Converse", _DB = "DocumentBlock", _DCB = "DocumentContentBlocks", _DCBo = "DocumentContentBlock", _DCL = "DocumentCharLocation", _DCLo = "DocumentChunkLocation", _DPL = "DocumentPageLocation", _DS = "DocumentSource", _EB = "ErrorBlock", _GA = "GuardrailAssessment", _GAI = "GetAsyncInvoke", _GAIR = "GetAsyncInvokeRequest", _GAIRe = "GetAsyncInvokeResponse", _GAL = "GuardrailAssessmentList", _GALM = "GuardrailAssessmentListMap", _GAM = "GuardrailAssessmentMap", _GARDSL = "GuardrailAutomatedReasoningDifferenceScenarioList", _GARF = "GuardrailAutomatedReasoningFinding", _GARFL = "GuardrailAutomatedReasoningFindingList", _GARIF = "GuardrailAutomatedReasoningImpossibleFinding", _GARIFu = "GuardrailAutomatedReasoningInvalidFinding", _GARITR = "GuardrailAutomatedReasoningInputTextReference", _GARITRL = "GuardrailAutomatedReasoningInputTextReferenceList", _GARLW = "GuardrailAutomatedReasoningLogicWarning", _GARNTF = "GuardrailAutomatedReasoningNoTranslationsFinding", _GARPA = "GuardrailAutomatedReasoningPolicyAssessment", _GARR = "GuardrailAutomatedReasoningRule", _GARRL = "GuardrailAutomatedReasoningRuleList", _GARS = "GuardrailAutomatedReasoningScenario", _GARSF = "GuardrailAutomatedReasoningSatisfiableFinding", _GARSL = "GuardrailAutomatedReasoningStatementList", _GARSLC = "GuardrailAutomatedReasoningStatementLogicContent", _GARSNLC = "GuardrailAutomatedReasoningStatementNaturalLanguageContent", _GARSu = "GuardrailAutomatedReasoningStatement", _GART = "GuardrailAutomatedReasoningTranslation", _GARTAF = "GuardrailAutomatedReasoningTranslationAmbiguousFinding", _GARTCF = "GuardrailAutomatedReasoningTooComplexFinding", _GARTL = "GuardrailAutomatedReasoningTranslationList", _GARTO = "GuardrailAutomatedReasoningTranslationOption", _GARTOL = "GuardrailAutomatedReasoningTranslationOptionList", _GARVF = "GuardrailAutomatedReasoningValidFinding", _GC = "GuardrailConfiguration", _GCB = "GuardrailContentBlock", _GCBL = "GuardrailContentBlockList", _GCCB = "GuardrailConverseContentBlock", _GCF = "GuardrailContentFilter", _GCFL = "GuardrailContentFilterList", _GCGF = "GuardrailContextualGroundingFilter", _GCGFu = "GuardrailContextualGroundingFilters", _GCGPA = "GuardrailContextualGroundingPolicyAssessment", _GCIB = "GuardrailConverseImageBlock", _GCIS = "GuardrailConverseImageSource", _GCPA = "GuardrailContentPolicyAssessment", _GCTB = "GuardrailConverseTextBlock", _GCW = "GuardrailCustomWord", _GCWL = "GuardrailCustomWordList", _GCu = "GuardrailCoverage", _GIB = "GuardrailImageBlock", _GIC = "GuardrailImageCoverage", _GIM = "GuardrailInvocationMetrics", _GIS = "GuardrailImageSource", _GMW = "GuardrailManagedWord", _GMWL = "GuardrailManagedWordList", _GOC = "GuardrailOutputContent", _GOCL = "GuardrailOutputContentList", _GPEF = "GuardrailPiiEntityFilter", _GPEFL = "GuardrailPiiEntityFilterList", _GRF = "GuardrailRegexFilter", _GRFL = "GuardrailRegexFilterList", _GSC = "GuardrailStreamConfiguration", _GSIPA = "GuardrailSensitiveInformationPolicyAssessment", _GT = "GuardrailTopic", _GTA = "GuardrailTraceAssessment", _GTB = "GuardrailTextBlock", _GTCC = "GuardrailTextCharactersCoverage", _GTL = "GuardrailTopicList", _GTPA = "GuardrailTopicPolicyAssessment", _GU = "GuardrailUsage", _GWPA = "GuardrailWordPolicyAssessment", _IB = "ImageBlock", _IBD = "ImageBlockDelta", _IBS = "ImageBlockStart", _IC = "InferenceConfiguration", _IM = "InvokeModel", _IMR = "InvokeModelRequest", _IMRn = "InvokeModelResponse", _IMTR = "InvokeModelTokensRequest", _IMWBS = "InvokeModelWithBidirectionalStream", _IMWBSI = "InvokeModelWithBidirectionalStreamInput", _IMWBSO = "InvokeModelWithBidirectionalStreamOutput", _IMWBSR = "InvokeModelWithBidirectionalStreamRequest", _IMWBSRn = "InvokeModelWithBidirectionalStreamResponse", _IMWRS = "InvokeModelWithResponseStream", _IMWRSR = "InvokeModelWithResponseStreamRequest", _IMWRSRn = "InvokeModelWithResponseStreamResponse", _IS = "ImageSource", _ISE = "InternalServerException", _JSD = "JsonSchemaDefinition", _LAI = "ListAsyncInvokes", _LAIR = "ListAsyncInvokesRequest", _LAIRi = "ListAsyncInvokesResponse", _M = "Message", _MEE = "ModelErrorException", _MIP = "ModelInputPayload", _MNRE = "ModelNotReadyException", _MSE = "MessageStartEvent", _MSEE = "ModelStreamErrorException", _MSEe = "MessageStopEvent", _MTE = "ModelTimeoutException", _Me = "Messages", _OC = "OutputConfig", _OF = "OutputFormat", _OFS = "OutputFormatStructure", _PB = "PartBody", _PC = "PerformanceConfiguration", _PP = "PayloadPart", _PRT = "PromptRouterTrace", _PVM = "PromptVariableMap", _PVV = "PromptVariableValues", _RCB = "ReasoningContentBlock", _RCBD = "ReasoningContentBlockDelta", _RM = "RequestMetadata", _RNFE = "ResourceNotFoundException", _RS = "ResponseStream", _RTB = "ReasoningTextBlock", _SAI = "StartAsyncInvoke", _SAIR = "StartAsyncInvokeRequest", _SAIRt = "StartAsyncInvokeResponse", _SCB = "SystemContentBlocks", _SCBy = "SystemContentBlock", _SL = "S3Location", _SQEE = "ServiceQuotaExceededException", _SRB = "SearchResultBlock", _SRCB = "SearchResultContentBlock", _SRCBe = "SearchResultContentBlocks", _SRL = "SearchResultLocation", _ST = "ServiceTier", _STC = "SpecificToolChoice", _STy = "SystemTool", _SUE = "ServiceUnavailableException", _T = "Tag", _TC = "ToolConfiguration", _TCo = "ToolChoice", _TE = "ThrottlingException", _TIS = "ToolInputSchema", _TL = "TagList", _TRB = "ToolResultBlock", _TRBD = "ToolResultBlocksDelta", _TRBDo = "ToolResultBlockDelta", _TRBS = "ToolResultBlockStart", _TRCB = "ToolResultContentBlocks", _TRCBo = "ToolResultContentBlock", _TS = "ToolSpecification", _TU = "TokenUsage", _TUB = "ToolUseBlock", _TUBD = "ToolUseBlockDelta", _TUBS = "ToolUseBlockStart", _To = "Tools", _Too = "Tool", _VB = "VideoBlock", _VE = "ValidationException", _VS = "VideoSource", _WL = "WebLocation", _XABA = "X-Amzn-Bedrock-Accept", _XABCT = "X-Amzn-Bedrock-Content-Type", _XABG = "X-Amzn-Bedrock-GuardrailIdentifier", _XABG_ = "X-Amzn-Bedrock-GuardrailVersion", _XABPL = "X-Amzn-Bedrock-PerformanceConfig-Latency", _XABST = "X-Amzn-Bedrock-Service-Tier", _XABT = "X-Amzn-Bedrock-Trace", _a = "action", _aGD = "appliedGuardrailDetails", _aIS = "asyncInvokeSummaries", _aMRF = "additionalModelRequestFields", _aMRFP = "additionalModelResponseFieldPaths", _aMRFd = "additionalModelResponseFields", _aR = "actionReason", _aRP = "automatedReasoningPolicy", _aRPU = "automatedReasoningPolicyUnits", _aRPu = "automatedReasoningPolicies", _ac = "accept", _an = "any", _as = "assessments", _au = "audio", _aut = "auto", _b = "bytes", _bO = "bucketOwner", _bo = "body", _c = "client", _cBD = "contentBlockDelta", _cBI = "contentBlockIndex", _cBS = "contentBlockStart", _cBSo = "contentBlockStop", _cC = "citationsContent", _cD = "cacheDetails", _cFS = "claimsFalseScenario", _cGP = "contextualGroundingPolicy", _cGPU = "contextualGroundingPolicyUnits", _cP = "contentPolicy", _cPIU = "contentPolicyImageUnits", _cPU = "contentPolicyUnits", _cPa = "cachePoint", _cR = "contradictingRules", _cRIT = "cacheReadInputTokens", _cRT = "clientRequestToken", _cT = "contentType", _cTS = "claimsTrueScenario", _cW = "customWords", _cWIT = "cacheWriteInputTokens", _ch = "chunk", _ci = "citations", _cit = "citation", _cl = "claims", _co = "content", _con = "context", _conf = "confidence", _conv = "converse", _d = "delta", _dC = "documentChar", _dCo = "documentChunk", _dI = "documentIndex", _dP = "documentPage", _dS = "differenceScenarios", _de = "detected", _des = "description", _do = "domain", _doc = "document", _e = "error", _eT = "endTime", _en = "enabled", _end = "end", _f = "format", _fM = "failureMessage", _fS = "filterStrength", _fi = "findings", _fil = "filters", _g = "guardrail", _gA = "guardrailArn", _gC = "guardrailCoverage", _gCu = "guardrailConfig", _gCua = "guardContent", _gI = "guardrailId", _gIu = "guardrailIdentifier", _gO = "guardrailOrigin", _gOu = "guardrailOwnership", _gPL = "guardrailProcessingLatency", _gV = "guardrailVersion", _gu = "guarded", _h = "http", _hE = "httpError", _hH = "httpHeader", _hQ = "httpQuery", _i = "input", _iA = "invocationArn", _iAn = "inputAssessment", _iC = "inferenceConfig", _iM = "invocationMetrics", _iMI = "invokedModelId", _iMn = "invokeModel", _iS = "inputSchema", _iSE = "internalServerException", _iT = "inputTokens", _id = "identifier", _im = "images", _ima = "image", _imp = "impossible", _in = "invalid", _j = "json", _jS = "jsonSchema", _k = "key", _kKI = "kmsKeyId", _l = "location", _lM = "latencyMs", _lMT = "lastModifiedTime", _lW = "logicWarning", _la = "latency", _lo = "logic", _m = "message", _mA = "modelArn", _mI = "modelId", _mIo = "modelInput", _mO = "modelOutput", _mR = "maxResults", _mS = "messageStart", _mSEE = "modelStreamErrorException", _mSe = "messageStop", _mT = "maxTokens", _mTE = "modelTimeoutException", _mWL = "managedWordLists", _ma = "match", _me = "messages", _met = "metrics", _meta = "metadata", _n = "name", _nL = "naturalLanguage", _nT = "nextToken", _nTo = "noTranslations", _o = "outputs", _oA = "outputAssessments", _oC = "outputConfig", _oDC = "outputDataConfig", _oM = "originalMessage", _oS = "outputScope", _oSC = "originalStatusCode", _oT = "outputTokens", _op = "options", _ou = "output", _p = "premises", _pC = "performanceConfig", _pCL = "performanceConfigLatency", _pE = "piiEntities", _pR = "promptRouter", _pV = "promptVariables", _pVA = "policyVersionArn", _q = "qualifiers", _r = "regex", _rC = "reasoningContent", _rCe = "redactedContent", _rM = "requestMetadata", _rN = "resourceName", _rT = "reasoningText", _re = "regexes", _ro = "role", _s = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockruntime", _sB = "sortBy", _sC = "sourceContent", _sE = "statusEquals", _sIP = "sensitiveInformationPolicy", _sIPFU = "sensitiveInformationPolicyFreeUnits", _sIPU = "sensitiveInformationPolicyUnits", _sL = "s3Location", _sO = "sortOrder", _sODC = "s3OutputDataConfig", _sPM = "streamProcessingMode", _sR = "stopReason", _sRI = "searchResultIndex", _sRL = "searchResultLocation", _sRe = "searchResult", _sRu = "supportingRules", _sS = "stopSequences", _sT = "submitTime", _sTA = "submitTimeAfter", _sTB = "submitTimeBefore", _sTe = "serviceTier", _sTy = "systemTool", _sU = "s3Uri", _sUE = "serviceUnavailableException", _sa = "satisfiable", _sc = "score", _sch = "schema", _se = "server", _si = "signature", _so = "source", _st = "status", _sta = "start", _stat = "statements", _str = "stream", _stre = "streaming", _stri = "strict", _stru = "structure", _sy = "system", _t = "ttl", _tA = "translationAmbiguous", _tC = "toolConfig", _tCe = "textCharacters", _tCo = "toolChoice", _tCoo = "tooComplex", _tE = "throttlingException", _tF = "textFormat", _tP = "topicPolicy", _tPU = "topicPolicyUnits", _tPo = "topP", _tR = "toolResult", _tS = "toolSpec", _tT = "totalTokens", _tU = "toolUse", _tUI = "toolUseId", _ta = "tags", _te = "text", _tem = "temperature", _th = "threshold", _ti = "title", _to = "total", _too = "tools", _tool = "tool", _top = "topics", _tr = "trace", _tra = "translation", _tran = "translations", _ty = "type", _u = "usage", _uC = "untranslatedClaims", _uP = "untranslatedPremises", _ur = "uri", _url = "url", _v = "value", _vE = "validationException", _va = "valid", _vi = "video", _w = "web", _wP = "wordPolicy", _wPU = "wordPolicyUnits", n0 = "com.amazonaws.bedrockruntime", _s_registry, BedrockRuntimeServiceException$, n0_registry, AccessDeniedException$, ConflictException$, InternalServerException$, ModelErrorException$, ModelNotReadyException$, ModelStreamErrorException$, ModelTimeoutException$, ResourceNotFoundException$, ServiceQuotaExceededException$, ServiceUnavailableException$, ThrottlingException$, ValidationException$, errorTypeRegistries, AsyncInvokeMessage, Body, GuardrailAutomatedReasoningStatementLogicContent, GuardrailAutomatedReasoningStatementNaturalLanguageContent, ModelInputPayload, PartBody, AnyToolChoice$, AppliedGuardrailDetails$, ApplyGuardrailRequest$, ApplyGuardrailResponse$, AsyncInvokeS3OutputDataConfig$, AsyncInvokeSummary$, AudioBlock$, AutoToolChoice$, BidirectionalInputPayloadPart$, BidirectionalOutputPayloadPart$, CacheDetail$, CachePointBlock$, Citation$, CitationsConfig$, CitationsContentBlock$, CitationsDelta$, CitationSourceContentDelta$, ContentBlockDeltaEvent$, ContentBlockStartEvent$, ContentBlockStopEvent$, ConverseMetrics$, ConverseRequest$, ConverseResponse$, ConverseStreamMetadataEvent$, ConverseStreamMetrics$, ConverseStreamRequest$, ConverseStreamResponse$, ConverseStreamTrace$, ConverseTokensRequest$, ConverseTrace$, CountTokensRequest$, CountTokensResponse$, DocumentBlock$, DocumentCharLocation$, DocumentChunkLocation$, DocumentPageLocation$, ErrorBlock$, GetAsyncInvokeRequest$, GetAsyncInvokeResponse$, GuardrailAssessment$, GuardrailAutomatedReasoningImpossibleFinding$, GuardrailAutomatedReasoningInputTextReference$, GuardrailAutomatedReasoningInvalidFinding$, GuardrailAutomatedReasoningLogicWarning$, GuardrailAutomatedReasoningNoTranslationsFinding$, GuardrailAutomatedReasoningPolicyAssessment$, GuardrailAutomatedReasoningRule$, GuardrailAutomatedReasoningSatisfiableFinding$, GuardrailAutomatedReasoningScenario$, GuardrailAutomatedReasoningStatement$, GuardrailAutomatedReasoningTooComplexFinding$, GuardrailAutomatedReasoningTranslation$, GuardrailAutomatedReasoningTranslationAmbiguousFinding$, GuardrailAutomatedReasoningTranslationOption$, GuardrailAutomatedReasoningValidFinding$, GuardrailConfiguration$, GuardrailContentFilter$, GuardrailContentPolicyAssessment$, GuardrailContextualGroundingFilter$, GuardrailContextualGroundingPolicyAssessment$, GuardrailConverseImageBlock$, GuardrailConverseTextBlock$, GuardrailCoverage$, GuardrailCustomWord$, GuardrailImageBlock$, GuardrailImageCoverage$, GuardrailInvocationMetrics$, GuardrailManagedWord$, GuardrailOutputContent$, GuardrailPiiEntityFilter$, GuardrailRegexFilter$, GuardrailSensitiveInformationPolicyAssessment$, GuardrailStreamConfiguration$, GuardrailTextBlock$, GuardrailTextCharactersCoverage$, GuardrailTopic$, GuardrailTopicPolicyAssessment$, GuardrailTraceAssessment$, GuardrailUsage$, GuardrailWordPolicyAssessment$, ImageBlock$, ImageBlockDelta$, ImageBlockStart$, InferenceConfiguration$, InvokeModelRequest$, InvokeModelResponse$, InvokeModelTokensRequest$, InvokeModelWithBidirectionalStreamRequest$, InvokeModelWithBidirectionalStreamResponse$, InvokeModelWithResponseStreamRequest$, InvokeModelWithResponseStreamResponse$, JsonSchemaDefinition$, ListAsyncInvokesRequest$, ListAsyncInvokesResponse$, Message$, MessageStartEvent$, MessageStopEvent$, OutputConfig$, OutputFormat$, PayloadPart$, PerformanceConfiguration$, PromptRouterTrace$, ReasoningTextBlock$, S3Location$, SearchResultBlock$, SearchResultContentBlock$, SearchResultLocation$, ServiceTier$, SpecificToolChoice$, StartAsyncInvokeRequest$, StartAsyncInvokeResponse$, SystemTool$, Tag$, TokenUsage$, ToolConfiguration$, ToolResultBlock$, ToolResultBlockStart$, ToolSpecification$, ToolUseBlock$, ToolUseBlockDelta$, ToolUseBlockStart$, VideoBlock$, WebLocation$, AdditionalModelResponseFieldPaths, AsyncInvokeSummaries, CacheDetailsList, CitationGeneratedContentList, Citations, CitationSourceContentList, CitationSourceContentListDelta, ContentBlocks, DocumentContentBlocks, GuardrailAssessmentList, GuardrailAutomatedReasoningDifferenceScenarioList, GuardrailAutomatedReasoningFindingList, GuardrailAutomatedReasoningInputTextReferenceList, GuardrailAutomatedReasoningRuleList, GuardrailAutomatedReasoningStatementList, GuardrailAutomatedReasoningTranslationList, GuardrailAutomatedReasoningTranslationOptionList, GuardrailContentBlockList, GuardrailContentFilterList, GuardrailContentQualifierList, GuardrailContextualGroundingFilters, GuardrailConverseContentQualifierList, GuardrailCustomWordList, GuardrailManagedWordList, GuardrailOriginList, GuardrailOutputContentList, GuardrailPiiEntityFilterList, GuardrailRegexFilterList, GuardrailTopicList, Messages2, ModelOutputs, NonEmptyStringList, SearchResultContentBlocks, SystemContentBlocks, TagList, ToolResultBlocksDelta, ToolResultContentBlocks, Tools, GuardrailAssessmentListMap, GuardrailAssessmentMap, PromptVariableMap, RequestMetadata, AsyncInvokeOutputDataConfig$, AudioSource$, CitationGeneratedContent$, CitationLocation$, CitationSourceContent$, ContentBlock$, ContentBlockDelta$, ContentBlockStart$, ConverseOutput$, ConverseStreamOutput$, CountTokensInput$, DocumentContentBlock$, DocumentSource$, GuardrailAutomatedReasoningFinding$, GuardrailContentBlock$, GuardrailConverseContentBlock$, GuardrailConverseImageSource$, GuardrailImageSource$, ImageSource$, InvokeModelWithBidirectionalStreamInput$, InvokeModelWithBidirectionalStreamOutput$, OutputFormatStructure$, PromptVariableValues$, ReasoningContentBlock$, ReasoningContentBlockDelta$, ResponseStream$, SystemContentBlock$, Tool$, ToolChoice$, ToolInputSchema$, ToolResultBlockDelta$, ToolResultContentBlock$, VideoSource$, ApplyGuardrail$, Converse$, ConverseStream$, CountTokens$, GetAsyncInvoke$, InvokeModel$, InvokeModelWithBidirectionalStream$, InvokeModelWithResponseStream$, ListAsyncInvokes$, StartAsyncInvoke$;
5266
- var init_schemas_0 = __esm(() => {
5267
- init_BedrockRuntimeServiceException();
5268
- init_errors();
5269
- import_schema = __toESM(require_schema(), 1);
5270
- _s_registry = import_schema.TypeRegistry.for(_s);
5271
- BedrockRuntimeServiceException$ = [-3, _s, "BedrockRuntimeServiceException", 0, [], []];
5272
- _s_registry.registerError(BedrockRuntimeServiceException$, BedrockRuntimeServiceException);
5273
- n0_registry = import_schema.TypeRegistry.for(n0);
5274
- AccessDeniedException$ = [
5275
- -3,
5276
- n0,
5277
- _ADE,
5278
- { [_e]: _c, [_hE]: 403 },
5279
- [_m],
5280
- [0]
5281
- ];
5282
- n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
5283
- ConflictException$ = [
5284
- -3,
5285
- n0,
5286
- _CE,
5287
- { [_e]: _c, [_hE]: 400 },
5288
- [_m],
5289
- [0]
5290
- ];
5291
- n0_registry.registerError(ConflictException$, ConflictException);
5292
- InternalServerException$ = [
5293
- -3,
5294
- n0,
5295
- _ISE,
5296
- { [_e]: _se, [_hE]: 500 },
5297
- [_m],
5298
- [0]
5299
- ];
5300
- n0_registry.registerError(InternalServerException$, InternalServerException);
5301
- ModelErrorException$ = [
5302
- -3,
5303
- n0,
5304
- _MEE,
5305
- { [_e]: _c, [_hE]: 424 },
5306
- [_m, _oSC, _rN],
5307
- [0, 1, 0]
5308
- ];
5309
- n0_registry.registerError(ModelErrorException$, ModelErrorException);
5310
- ModelNotReadyException$ = [
5311
- -3,
5312
- n0,
5313
- _MNRE,
5314
- { [_e]: _c, [_hE]: 429 },
5315
- [_m],
5316
- [0]
5317
- ];
5318
- n0_registry.registerError(ModelNotReadyException$, ModelNotReadyException);
5319
- ModelStreamErrorException$ = [
5320
- -3,
5321
- n0,
5322
- _MSEE,
5323
- { [_e]: _c, [_hE]: 424 },
5324
- [_m, _oSC, _oM],
5325
- [0, 1, 0]
5326
- ];
5327
- n0_registry.registerError(ModelStreamErrorException$, ModelStreamErrorException);
5328
- ModelTimeoutException$ = [
5329
- -3,
5330
- n0,
5331
- _MTE,
5332
- { [_e]: _c, [_hE]: 408 },
5333
- [_m],
5334
- [0]
5335
- ];
5336
- n0_registry.registerError(ModelTimeoutException$, ModelTimeoutException);
5337
- ResourceNotFoundException$ = [
5338
- -3,
5339
- n0,
5340
- _RNFE,
5341
- { [_e]: _c, [_hE]: 404 },
5342
- [_m],
5343
- [0]
5344
- ];
5345
- n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
5346
- ServiceQuotaExceededException$ = [
5347
- -3,
5348
- n0,
5349
- _SQEE,
5350
- { [_e]: _c, [_hE]: 400 },
5351
- [_m],
5352
- [0]
5353
- ];
5354
- n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
5355
- ServiceUnavailableException$ = [
5356
- -3,
5357
- n0,
5358
- _SUE,
5359
- { [_e]: _se, [_hE]: 503 },
5360
- [_m],
5361
- [0]
5362
- ];
5363
- n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
5364
- ThrottlingException$ = [
5365
- -3,
5366
- n0,
5367
- _TE,
5368
- { [_e]: _c, [_hE]: 429 },
5369
- [_m],
5370
- [0]
5371
- ];
5372
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
5373
- ValidationException$ = [
5374
- -3,
5375
- n0,
5376
- _VE,
5377
- { [_e]: _c, [_hE]: 400 },
5378
- [_m],
5379
- [0]
5380
- ];
5381
- n0_registry.registerError(ValidationException$, ValidationException);
5382
- errorTypeRegistries = [
5383
- _s_registry,
5384
- n0_registry
5385
- ];
5386
- AsyncInvokeMessage = [0, n0, _AIM, 8, 0];
5387
- Body = [0, n0, _B, 8, 21];
5388
- GuardrailAutomatedReasoningStatementLogicContent = [0, n0, _GARSLC, 8, 0];
5389
- GuardrailAutomatedReasoningStatementNaturalLanguageContent = [0, n0, _GARSNLC, 8, 0];
5390
- ModelInputPayload = [0, n0, _MIP, 8, 15];
5391
- PartBody = [0, n0, _PB, 8, 21];
5392
- AnyToolChoice$ = [
5393
- 3,
5394
- n0,
5395
- _ATC,
5396
- 0,
5397
- [],
5398
- []
5399
- ];
5400
- AppliedGuardrailDetails$ = [
5401
- 3,
5402
- n0,
5403
- _AGD,
5404
- 0,
5405
- [_gI, _gV, _gA, _gO, _gOu],
5406
- [0, 0, 0, 64 | 0, 0]
5407
- ];
5408
- ApplyGuardrailRequest$ = [
5409
- 3,
5410
- n0,
5411
- _AGR,
5412
- 0,
5413
- [_gIu, _gV, _so, _co, _oS],
5414
- [[0, 1], [0, 1], 0, [() => GuardrailContentBlockList, 0], 0],
5415
- 4
5416
- ];
5417
- ApplyGuardrailResponse$ = [
5418
- 3,
5419
- n0,
5420
- _AGRp,
5421
- 0,
5422
- [_u, _a, _o, _as, _aR, _gC],
5423
- [() => GuardrailUsage$, 0, () => GuardrailOutputContentList, [() => GuardrailAssessmentList, 0], 0, () => GuardrailCoverage$],
5424
- 4
5425
- ];
5426
- AsyncInvokeS3OutputDataConfig$ = [
5427
- 3,
5428
- n0,
5429
- _AISODC,
5430
- 0,
5431
- [_sU, _kKI, _bO],
5432
- [0, 0, 0],
5433
- 1
5434
- ];
5435
- AsyncInvokeSummary$ = [
5436
- 3,
5437
- n0,
5438
- _AIS,
5439
- 0,
5440
- [_iA, _mA, _sT, _oDC, _cRT, _st, _fM, _lMT, _eT],
5441
- [0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, 0, [() => AsyncInvokeMessage, 0], 5, 5],
5442
- 4
5443
- ];
5444
- AudioBlock$ = [
5445
- 3,
5446
- n0,
5447
- _AB,
5448
- 0,
5449
- [_f, _so, _e],
5450
- [0, [() => AudioSource$, 0], [() => ErrorBlock$, 0]],
5451
- 2
5452
- ];
5453
- AutoToolChoice$ = [
5454
- 3,
5455
- n0,
5456
- _ATCu,
5457
- 0,
5458
- [],
5459
- []
5460
- ];
5461
- BidirectionalInputPayloadPart$ = [
5462
- 3,
5463
- n0,
5464
- _BIPP,
5465
- 8,
5466
- [_b],
5467
- [[() => PartBody, 0]]
5468
- ];
5469
- BidirectionalOutputPayloadPart$ = [
5470
- 3,
5471
- n0,
5472
- _BOPP,
5473
- 8,
5474
- [_b],
5475
- [[() => PartBody, 0]]
5476
- ];
5477
- CacheDetail$ = [
5478
- 3,
5479
- n0,
5480
- _CD,
5481
- 0,
5482
- [_t, _iT],
5483
- [0, 1],
5484
- 2
5485
- ];
5486
- CachePointBlock$ = [
5487
- 3,
5488
- n0,
5489
- _CPB,
5490
- 0,
5491
- [_ty, _t],
5492
- [0, 0],
5493
- 1
5494
- ];
5495
- Citation$ = [
5496
- 3,
5497
- n0,
5498
- _C,
5499
- 0,
5500
- [_ti, _so, _sC, _l],
5501
- [0, 0, () => CitationSourceContentList, () => CitationLocation$]
5502
- ];
5503
- CitationsConfig$ = [
5504
- 3,
5505
- n0,
5506
- _CC,
5507
- 0,
5508
- [_en],
5509
- [2],
5510
- 1
5511
- ];
5512
- CitationsContentBlock$ = [
5513
- 3,
5514
- n0,
5515
- _CCB,
5516
- 0,
5517
- [_co, _ci],
5518
- [() => CitationGeneratedContentList, () => Citations]
5519
- ];
5520
- CitationsDelta$ = [
5521
- 3,
5522
- n0,
5523
- _CDi,
5524
- 0,
5525
- [_ti, _so, _sC, _l],
5526
- [0, 0, () => CitationSourceContentListDelta, () => CitationLocation$]
5527
- ];
5528
- CitationSourceContentDelta$ = [
5529
- 3,
5530
- n0,
5531
- _CSCD,
5532
- 0,
5533
- [_te],
5534
- [0]
5535
- ];
5536
- ContentBlockDeltaEvent$ = [
5537
- 3,
5538
- n0,
5539
- _CBDE,
5540
- 0,
5541
- [_d, _cBI],
5542
- [[() => ContentBlockDelta$, 0], 1],
5543
- 2
5544
- ];
5545
- ContentBlockStartEvent$ = [
5546
- 3,
5547
- n0,
5548
- _CBSE,
5549
- 0,
5550
- [_sta, _cBI],
5551
- [() => ContentBlockStart$, 1],
5552
- 2
5553
- ];
5554
- ContentBlockStopEvent$ = [
5555
- 3,
5556
- n0,
5557
- _CBSEo,
5558
- 0,
5559
- [_cBI],
5560
- [1],
5561
- 1
5562
- ];
5563
- ConverseMetrics$ = [
5564
- 3,
5565
- n0,
5566
- _CM,
5567
- 0,
5568
- [_lM],
5569
- [1],
5570
- 1
5571
- ];
5572
- ConverseRequest$ = [
5573
- 3,
5574
- n0,
5575
- _CR,
5576
- 0,
5577
- [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
5578
- [[0, 1], [() => Messages2, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
5579
- 1
5580
- ];
5581
- ConverseResponse$ = [
5582
- 3,
5583
- n0,
5584
- _CRo,
5585
- 0,
5586
- [_ou, _sR, _u, _met, _aMRFd, _tr, _pC, _sTe],
5587
- [[() => ConverseOutput$, 0], 0, () => TokenUsage$, () => ConverseMetrics$, 15, [() => ConverseTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
5588
- 4
5589
- ];
5590
- ConverseStreamMetadataEvent$ = [
5591
- 3,
5592
- n0,
5593
- _CSME,
5594
- 0,
5595
- [_u, _met, _tr, _pC, _sTe],
5596
- [() => TokenUsage$, () => ConverseStreamMetrics$, [() => ConverseStreamTrace$, 0], () => PerformanceConfiguration$, () => ServiceTier$],
5597
- 2
5598
- ];
5599
- ConverseStreamMetrics$ = [
5600
- 3,
5601
- n0,
5602
- _CSM,
5603
- 0,
5604
- [_lM],
5605
- [1],
5606
- 1
5607
- ];
5608
- ConverseStreamRequest$ = [
5609
- 3,
5610
- n0,
5611
- _CSR,
5612
- 0,
5613
- [_mI, _me, _sy, _iC, _tC, _gCu, _aMRF, _pV, _aMRFP, _rM, _pC, _sTe, _oC],
5614
- [[0, 1], [() => Messages2, 0], [() => SystemContentBlocks, 0], () => InferenceConfiguration$, () => ToolConfiguration$, () => GuardrailStreamConfiguration$, 15, [() => PromptVariableMap, 0], 64 | 0, [() => RequestMetadata, 0], () => PerformanceConfiguration$, () => ServiceTier$, [() => OutputConfig$, 0]],
5615
- 1
5616
- ];
5617
- ConverseStreamResponse$ = [
5618
- 3,
5619
- n0,
5620
- _CSRo,
5621
- 0,
5622
- [_str],
5623
- [[() => ConverseStreamOutput$, 16]]
5624
- ];
5625
- ConverseStreamTrace$ = [
5626
- 3,
5627
- n0,
5628
- _CST,
5629
- 0,
5630
- [_g, _pR],
5631
- [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
5632
- ];
5633
- ConverseTokensRequest$ = [
5634
- 3,
5635
- n0,
5636
- _CTR,
5637
- 0,
5638
- [_me, _sy, _tC, _aMRF],
5639
- [[() => Messages2, 0], [() => SystemContentBlocks, 0], () => ToolConfiguration$, 15]
5640
- ];
5641
- ConverseTrace$ = [
5642
- 3,
5643
- n0,
5644
- _CT,
5645
- 0,
5646
- [_g, _pR],
5647
- [[() => GuardrailTraceAssessment$, 0], () => PromptRouterTrace$]
5648
- ];
5649
- CountTokensRequest$ = [
5650
- 3,
5651
- n0,
5652
- _CTRo,
5653
- 0,
5654
- [_mI, _i],
5655
- [[0, 1], [() => CountTokensInput$, 0]],
5656
- 2
5657
- ];
5658
- CountTokensResponse$ = [
5659
- 3,
5660
- n0,
5661
- _CTRou,
5662
- 0,
5663
- [_iT],
5664
- [1],
5665
- 1
5666
- ];
5667
- DocumentBlock$ = [
5668
- 3,
5669
- n0,
5670
- _DB,
5671
- 0,
5672
- [_n, _so, _f, _con, _ci],
5673
- [0, () => DocumentSource$, 0, 0, () => CitationsConfig$],
5674
- 2
5675
- ];
5676
- DocumentCharLocation$ = [
5677
- 3,
5678
- n0,
5679
- _DCL,
5680
- 0,
5681
- [_dI, _sta, _end],
5682
- [1, 1, 1]
5683
- ];
5684
- DocumentChunkLocation$ = [
5685
- 3,
5686
- n0,
5687
- _DCLo,
5688
- 0,
5689
- [_dI, _sta, _end],
5690
- [1, 1, 1]
5691
- ];
5692
- DocumentPageLocation$ = [
5693
- 3,
5694
- n0,
5695
- _DPL,
5696
- 0,
5697
- [_dI, _sta, _end],
5698
- [1, 1, 1]
5699
- ];
5700
- ErrorBlock$ = [
5701
- 3,
5702
- n0,
5703
- _EB,
5704
- 8,
5705
- [_m],
5706
- [0]
5707
- ];
5708
- GetAsyncInvokeRequest$ = [
5709
- 3,
5710
- n0,
5711
- _GAIR,
5712
- 0,
5713
- [_iA],
5714
- [[0, 1]],
5715
- 1
5716
- ];
5717
- GetAsyncInvokeResponse$ = [
5718
- 3,
5719
- n0,
5720
- _GAIRe,
5721
- 0,
5722
- [_iA, _mA, _st, _sT, _oDC, _cRT, _fM, _lMT, _eT],
5723
- [0, 0, 0, 5, () => AsyncInvokeOutputDataConfig$, 0, [() => AsyncInvokeMessage, 0], 5, 5],
5724
- 5
5725
- ];
5726
- GuardrailAssessment$ = [
5727
- 3,
5728
- n0,
5729
- _GA,
5730
- 0,
5731
- [_tP, _cP, _wP, _sIP, _cGP, _aRP, _iM, _aGD],
5732
- [() => GuardrailTopicPolicyAssessment$, () => GuardrailContentPolicyAssessment$, () => GuardrailWordPolicyAssessment$, () => GuardrailSensitiveInformationPolicyAssessment$, () => GuardrailContextualGroundingPolicyAssessment$, [() => GuardrailAutomatedReasoningPolicyAssessment$, 0], () => GuardrailInvocationMetrics$, () => AppliedGuardrailDetails$]
5733
- ];
5734
- GuardrailAutomatedReasoningImpossibleFinding$ = [
5735
- 3,
5736
- n0,
5737
- _GARIF,
5738
- 0,
5739
- [_tra, _cR, _lW],
5740
- [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
5741
- ];
5742
- GuardrailAutomatedReasoningInputTextReference$ = [
5743
- 3,
5744
- n0,
5745
- _GARITR,
5746
- 0,
5747
- [_te],
5748
- [[() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
5749
- ];
5750
- GuardrailAutomatedReasoningInvalidFinding$ = [
5751
- 3,
5752
- n0,
5753
- _GARIFu,
5754
- 0,
5755
- [_tra, _cR, _lW],
5756
- [[() => GuardrailAutomatedReasoningTranslation$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
5757
- ];
5758
- GuardrailAutomatedReasoningLogicWarning$ = [
5759
- 3,
5760
- n0,
5761
- _GARLW,
5762
- 0,
5763
- [_ty, _p, _cl],
5764
- [0, [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0]]
5765
- ];
5766
- GuardrailAutomatedReasoningNoTranslationsFinding$ = [
5767
- 3,
5768
- n0,
5769
- _GARNTF,
5770
- 0,
5771
- [],
5772
- []
5773
- ];
5774
- GuardrailAutomatedReasoningPolicyAssessment$ = [
5775
- 3,
5776
- n0,
5777
- _GARPA,
5778
- 0,
5779
- [_fi],
5780
- [[() => GuardrailAutomatedReasoningFindingList, 0]]
5781
- ];
5782
- GuardrailAutomatedReasoningRule$ = [
5783
- 3,
5784
- n0,
5785
- _GARR,
5786
- 0,
5787
- [_id, _pVA],
5788
- [0, 0]
5789
- ];
5790
- GuardrailAutomatedReasoningSatisfiableFinding$ = [
5791
- 3,
5792
- n0,
5793
- _GARSF,
5794
- 0,
5795
- [_tra, _cTS, _cFS, _lW],
5796
- [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
5797
- ];
5798
- GuardrailAutomatedReasoningScenario$ = [
5799
- 3,
5800
- n0,
5801
- _GARS,
5802
- 0,
5803
- [_stat],
5804
- [[() => GuardrailAutomatedReasoningStatementList, 0]]
5805
- ];
5806
- GuardrailAutomatedReasoningStatement$ = [
5807
- 3,
5808
- n0,
5809
- _GARSu,
5810
- 0,
5811
- [_lo, _nL],
5812
- [[() => GuardrailAutomatedReasoningStatementLogicContent, 0], [() => GuardrailAutomatedReasoningStatementNaturalLanguageContent, 0]]
5813
- ];
5814
- GuardrailAutomatedReasoningTooComplexFinding$ = [
5815
- 3,
5816
- n0,
5817
- _GARTCF,
5818
- 0,
5819
- [],
5820
- []
5821
- ];
5822
- GuardrailAutomatedReasoningTranslation$ = [
5823
- 3,
5824
- n0,
5825
- _GART,
5826
- 0,
5827
- [_p, _cl, _uP, _uC, _conf],
5828
- [[() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningStatementList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], [() => GuardrailAutomatedReasoningInputTextReferenceList, 0], 1]
5829
- ];
5830
- GuardrailAutomatedReasoningTranslationAmbiguousFinding$ = [
5831
- 3,
5832
- n0,
5833
- _GARTAF,
5834
- 0,
5835
- [_op, _dS],
5836
- [[() => GuardrailAutomatedReasoningTranslationOptionList, 0], [() => GuardrailAutomatedReasoningDifferenceScenarioList, 0]]
5837
- ];
5838
- GuardrailAutomatedReasoningTranslationOption$ = [
5839
- 3,
5840
- n0,
5841
- _GARTO,
5842
- 0,
5843
- [_tran],
5844
- [[() => GuardrailAutomatedReasoningTranslationList, 0]]
5845
- ];
5846
- GuardrailAutomatedReasoningValidFinding$ = [
5847
- 3,
5848
- n0,
5849
- _GARVF,
5850
- 0,
5851
- [_tra, _cTS, _sRu, _lW],
5852
- [[() => GuardrailAutomatedReasoningTranslation$, 0], [() => GuardrailAutomatedReasoningScenario$, 0], () => GuardrailAutomatedReasoningRuleList, [() => GuardrailAutomatedReasoningLogicWarning$, 0]]
5853
- ];
5854
- GuardrailConfiguration$ = [
5855
- 3,
5856
- n0,
5857
- _GC,
5858
- 0,
5859
- [_gIu, _gV, _tr],
5860
- [0, 0, 0]
5861
- ];
5862
- GuardrailContentFilter$ = [
5863
- 3,
5864
- n0,
5865
- _GCF,
5866
- 0,
5867
- [_ty, _conf, _a, _fS, _de],
5868
- [0, 0, 0, 0, 2],
5869
- 3
5870
- ];
5871
- GuardrailContentPolicyAssessment$ = [
5872
- 3,
5873
- n0,
5874
- _GCPA,
5875
- 0,
5876
- [_fil],
5877
- [() => GuardrailContentFilterList],
5878
- 1
5879
- ];
5880
- GuardrailContextualGroundingFilter$ = [
5881
- 3,
5882
- n0,
5883
- _GCGF,
5884
- 0,
5885
- [_ty, _th, _sc, _a, _de],
5886
- [0, 1, 1, 0, 2],
5887
- 4
5888
- ];
5889
- GuardrailContextualGroundingPolicyAssessment$ = [
5890
- 3,
5891
- n0,
5892
- _GCGPA,
5893
- 0,
5894
- [_fil],
5895
- [() => GuardrailContextualGroundingFilters]
5896
- ];
5897
- GuardrailConverseImageBlock$ = [
5898
- 3,
5899
- n0,
5900
- _GCIB,
5901
- 8,
5902
- [_f, _so],
5903
- [0, [() => GuardrailConverseImageSource$, 0]],
5904
- 2
5905
- ];
5906
- GuardrailConverseTextBlock$ = [
5907
- 3,
5908
- n0,
5909
- _GCTB,
5910
- 0,
5911
- [_te, _q],
5912
- [0, 64 | 0],
5913
- 1
5914
- ];
5915
- GuardrailCoverage$ = [
5916
- 3,
5917
- n0,
5918
- _GCu,
5919
- 0,
5920
- [_tCe, _im],
5921
- [() => GuardrailTextCharactersCoverage$, () => GuardrailImageCoverage$]
5922
- ];
5923
- GuardrailCustomWord$ = [
5924
- 3,
5925
- n0,
5926
- _GCW,
5927
- 0,
5928
- [_ma, _a, _de],
5929
- [0, 0, 2],
5930
- 2
5931
- ];
5932
- GuardrailImageBlock$ = [
5933
- 3,
5934
- n0,
5935
- _GIB,
5936
- 8,
5937
- [_f, _so],
5938
- [0, [() => GuardrailImageSource$, 0]],
5939
- 2
5940
- ];
5941
- GuardrailImageCoverage$ = [
5942
- 3,
5943
- n0,
5944
- _GIC,
5945
- 0,
5946
- [_gu, _to],
5947
- [1, 1]
5948
- ];
5949
- GuardrailInvocationMetrics$ = [
5950
- 3,
5951
- n0,
5952
- _GIM,
5953
- 0,
5954
- [_gPL, _u, _gC],
5955
- [1, () => GuardrailUsage$, () => GuardrailCoverage$]
5956
- ];
5957
- GuardrailManagedWord$ = [
5958
- 3,
5959
- n0,
5960
- _GMW,
5961
- 0,
5962
- [_ma, _ty, _a, _de],
5963
- [0, 0, 0, 2],
5964
- 3
5965
- ];
5966
- GuardrailOutputContent$ = [
5967
- 3,
5968
- n0,
5969
- _GOC,
5970
- 0,
5971
- [_te],
5972
- [0]
5973
- ];
5974
- GuardrailPiiEntityFilter$ = [
5975
- 3,
5976
- n0,
5977
- _GPEF,
5978
- 0,
5979
- [_ma, _ty, _a, _de],
5980
- [0, 0, 0, 2],
5981
- 3
5982
- ];
5983
- GuardrailRegexFilter$ = [
5984
- 3,
5985
- n0,
5986
- _GRF,
5987
- 0,
5988
- [_a, _n, _ma, _r, _de],
5989
- [0, 0, 0, 0, 2],
5990
- 1
5991
- ];
5992
- GuardrailSensitiveInformationPolicyAssessment$ = [
5993
- 3,
5994
- n0,
5995
- _GSIPA,
5996
- 0,
5997
- [_pE, _re],
5998
- [() => GuardrailPiiEntityFilterList, () => GuardrailRegexFilterList],
5999
- 2
6000
- ];
6001
- GuardrailStreamConfiguration$ = [
6002
- 3,
6003
- n0,
6004
- _GSC,
6005
- 0,
6006
- [_gIu, _gV, _tr, _sPM],
6007
- [0, 0, 0, 0]
6008
- ];
6009
- GuardrailTextBlock$ = [
6010
- 3,
6011
- n0,
6012
- _GTB,
6013
- 0,
6014
- [_te, _q],
6015
- [0, 64 | 0],
6016
- 1
6017
- ];
6018
- GuardrailTextCharactersCoverage$ = [
6019
- 3,
6020
- n0,
6021
- _GTCC,
6022
- 0,
6023
- [_gu, _to],
6024
- [1, 1]
6025
- ];
6026
- GuardrailTopic$ = [
6027
- 3,
6028
- n0,
6029
- _GT,
6030
- 0,
6031
- [_n, _ty, _a, _de],
6032
- [0, 0, 0, 2],
6033
- 3
6034
- ];
6035
- GuardrailTopicPolicyAssessment$ = [
6036
- 3,
6037
- n0,
6038
- _GTPA,
6039
- 0,
6040
- [_top],
6041
- [() => GuardrailTopicList],
6042
- 1
6043
- ];
6044
- GuardrailTraceAssessment$ = [
6045
- 3,
6046
- n0,
6047
- _GTA,
6048
- 0,
6049
- [_mO, _iAn, _oA, _aR],
6050
- [64 | 0, [() => GuardrailAssessmentMap, 0], [() => GuardrailAssessmentListMap, 0], 0]
6051
- ];
6052
- GuardrailUsage$ = [
6053
- 3,
6054
- n0,
6055
- _GU,
6056
- 0,
6057
- [_tPU, _cPU, _wPU, _sIPU, _sIPFU, _cGPU, _cPIU, _aRPU, _aRPu],
6058
- [1, 1, 1, 1, 1, 1, 1, 1, 1],
6059
- 6
6060
- ];
6061
- GuardrailWordPolicyAssessment$ = [
6062
- 3,
6063
- n0,
6064
- _GWPA,
6065
- 0,
6066
- [_cW, _mWL],
6067
- [() => GuardrailCustomWordList, () => GuardrailManagedWordList],
6068
- 2
6069
- ];
6070
- ImageBlock$ = [
6071
- 3,
6072
- n0,
6073
- _IB,
6074
- 0,
6075
- [_f, _so, _e],
6076
- [0, [() => ImageSource$, 0], [() => ErrorBlock$, 0]],
6077
- 2
6078
- ];
6079
- ImageBlockDelta$ = [
6080
- 3,
6081
- n0,
6082
- _IBD,
6083
- 0,
6084
- [_so, _e],
6085
- [[() => ImageSource$, 0], [() => ErrorBlock$, 0]]
6086
- ];
6087
- ImageBlockStart$ = [
6088
- 3,
6089
- n0,
6090
- _IBS,
6091
- 0,
6092
- [_f],
6093
- [0],
6094
- 1
6095
- ];
6096
- InferenceConfiguration$ = [
6097
- 3,
6098
- n0,
6099
- _IC,
6100
- 0,
6101
- [_mT, _tem, _tPo, _sS],
6102
- [1, 1, 1, 64 | 0]
6103
- ];
6104
- InvokeModelRequest$ = [
6105
- 3,
6106
- n0,
6107
- _IMR,
6108
- 0,
6109
- [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
6110
- [[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 }]],
6111
- 1
6112
- ];
6113
- InvokeModelResponse$ = [
6114
- 3,
6115
- n0,
6116
- _IMRn,
6117
- 0,
6118
- [_bo, _cT, _pCL, _sTe],
6119
- [[() => Body, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
6120
- 2
6121
- ];
6122
- InvokeModelTokensRequest$ = [
6123
- 3,
6124
- n0,
6125
- _IMTR,
6126
- 0,
6127
- [_bo],
6128
- [[() => Body, 0]],
6129
- 1
6130
- ];
6131
- InvokeModelWithBidirectionalStreamRequest$ = [
6132
- 3,
6133
- n0,
6134
- _IMWBSR,
6135
- 0,
6136
- [_mI, _bo],
6137
- [[0, 1], [() => InvokeModelWithBidirectionalStreamInput$, 16]],
6138
- 2
6139
- ];
6140
- InvokeModelWithBidirectionalStreamResponse$ = [
6141
- 3,
6142
- n0,
6143
- _IMWBSRn,
6144
- 0,
6145
- [_bo],
6146
- [[() => InvokeModelWithBidirectionalStreamOutput$, 16]],
6147
- 1
6148
- ];
6149
- InvokeModelWithResponseStreamRequest$ = [
6150
- 3,
6151
- n0,
6152
- _IMWRSR,
6153
- 0,
6154
- [_mI, _bo, _cT, _ac, _tr, _gIu, _gV, _pCL, _sTe],
6155
- [[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 }]],
6156
- 1
6157
- ];
6158
- InvokeModelWithResponseStreamResponse$ = [
6159
- 3,
6160
- n0,
6161
- _IMWRSRn,
6162
- 0,
6163
- [_bo, _cT, _pCL, _sTe],
6164
- [[() => ResponseStream$, 16], [0, { [_hH]: _XABCT }], [0, { [_hH]: _XABPL }], [0, { [_hH]: _XABST }]],
6165
- 2
6166
- ];
6167
- JsonSchemaDefinition$ = [
6168
- 3,
6169
- n0,
6170
- _JSD,
6171
- 0,
6172
- [_sch, _n, _des],
6173
- [0, 0, 0],
6174
- 1
6175
- ];
6176
- ListAsyncInvokesRequest$ = [
6177
- 3,
6178
- n0,
6179
- _LAIR,
6180
- 0,
6181
- [_sTA, _sTB, _sE, _mR, _nT, _sB, _sO],
6182
- [[5, { [_hQ]: _sTA }], [5, { [_hQ]: _sTB }], [0, { [_hQ]: _sE }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }], [0, { [_hQ]: _sB }], [0, { [_hQ]: _sO }]]
6183
- ];
6184
- ListAsyncInvokesResponse$ = [
6185
- 3,
6186
- n0,
6187
- _LAIRi,
6188
- 0,
6189
- [_nT, _aIS],
6190
- [0, [() => AsyncInvokeSummaries, 0]]
6191
- ];
6192
- Message$ = [
6193
- 3,
6194
- n0,
6195
- _M,
6196
- 0,
6197
- [_ro, _co],
6198
- [0, [() => ContentBlocks, 0]],
6199
- 2
6200
- ];
6201
- MessageStartEvent$ = [
6202
- 3,
6203
- n0,
6204
- _MSE,
6205
- 0,
6206
- [_ro],
6207
- [0],
6208
- 1
6209
- ];
6210
- MessageStopEvent$ = [
6211
- 3,
6212
- n0,
6213
- _MSEe,
6214
- 0,
6215
- [_sR, _aMRFd],
6216
- [0, 15],
6217
- 1
6218
- ];
6219
- OutputConfig$ = [
6220
- 3,
6221
- n0,
6222
- _OC,
6223
- 0,
6224
- [_tF],
6225
- [[() => OutputFormat$, 0]]
6226
- ];
6227
- OutputFormat$ = [
6228
- 3,
6229
- n0,
6230
- _OF,
6231
- 0,
6232
- [_ty, _stru],
6233
- [0, [() => OutputFormatStructure$, 0]],
6234
- 2
6235
- ];
6236
- PayloadPart$ = [
6237
- 3,
6238
- n0,
6239
- _PP,
6240
- 8,
6241
- [_b],
6242
- [[() => PartBody, 0]]
6243
- ];
6244
- PerformanceConfiguration$ = [
6245
- 3,
6246
- n0,
6247
- _PC,
6248
- 0,
6249
- [_la],
6250
- [0]
6251
- ];
6252
- PromptRouterTrace$ = [
6253
- 3,
6254
- n0,
6255
- _PRT,
6256
- 0,
6257
- [_iMI],
6258
- [0]
6259
- ];
6260
- ReasoningTextBlock$ = [
6261
- 3,
6262
- n0,
6263
- _RTB,
6264
- 8,
6265
- [_te, _si],
6266
- [0, 0],
6267
- 1
6268
- ];
6269
- S3Location$ = [
6270
- 3,
6271
- n0,
6272
- _SL,
6273
- 0,
6274
- [_ur, _bO],
6275
- [0, 0],
6276
- 1
6277
- ];
6278
- SearchResultBlock$ = [
6279
- 3,
6280
- n0,
6281
- _SRB,
6282
- 0,
6283
- [_so, _ti, _co, _ci],
6284
- [0, 0, () => SearchResultContentBlocks, () => CitationsConfig$],
6285
- 3
6286
- ];
6287
- SearchResultContentBlock$ = [
6288
- 3,
6289
- n0,
6290
- _SRCB,
6291
- 0,
6292
- [_te],
6293
- [0],
6294
- 1
6295
- ];
6296
- SearchResultLocation$ = [
6297
- 3,
6298
- n0,
6299
- _SRL,
6300
- 0,
6301
- [_sRI, _sta, _end],
6302
- [1, 1, 1]
6303
- ];
6304
- ServiceTier$ = [
6305
- 3,
6306
- n0,
6307
- _ST,
6308
- 0,
6309
- [_ty],
6310
- [0],
6311
- 1
6312
- ];
6313
- SpecificToolChoice$ = [
6314
- 3,
6315
- n0,
6316
- _STC,
6317
- 0,
6318
- [_n],
6319
- [0],
6320
- 1
6321
- ];
6322
- StartAsyncInvokeRequest$ = [
6323
- 3,
6324
- n0,
6325
- _SAIR,
6326
- 0,
6327
- [_mI, _mIo, _oDC, _cRT, _ta],
6328
- [0, [() => ModelInputPayload, 0], () => AsyncInvokeOutputDataConfig$, [0, 4], () => TagList],
6329
- 3
6330
- ];
6331
- StartAsyncInvokeResponse$ = [
6332
- 3,
6333
- n0,
6334
- _SAIRt,
6335
- 0,
6336
- [_iA],
6337
- [0],
6338
- 1
6339
- ];
6340
- SystemTool$ = [
6341
- 3,
6342
- n0,
6343
- _STy,
6344
- 0,
6345
- [_n],
6346
- [0],
6347
- 1
6348
- ];
6349
- Tag$ = [
6350
- 3,
6351
- n0,
6352
- _T,
6353
- 0,
6354
- [_k, _v],
6355
- [0, 0],
6356
- 2
6357
- ];
6358
- TokenUsage$ = [
6359
- 3,
6360
- n0,
6361
- _TU,
6362
- 0,
6363
- [_iT, _oT, _tT, _cRIT, _cWIT, _cD],
6364
- [1, 1, 1, 1, 1, () => CacheDetailsList],
6365
- 3
6366
- ];
6367
- ToolConfiguration$ = [
6368
- 3,
6369
- n0,
6370
- _TC,
6371
- 0,
6372
- [_too, _tCo],
6373
- [() => Tools, () => ToolChoice$],
6374
- 1
6375
- ];
6376
- ToolResultBlock$ = [
6377
- 3,
6378
- n0,
6379
- _TRB,
6380
- 0,
6381
- [_tUI, _co, _st, _ty],
6382
- [0, [() => ToolResultContentBlocks, 0], 0, 0],
6383
- 2
6384
- ];
6385
- ToolResultBlockStart$ = [
6386
- 3,
6387
- n0,
6388
- _TRBS,
6389
- 0,
6390
- [_tUI, _ty, _st],
6391
- [0, 0, 0],
6392
- 1
6393
- ];
6394
- ToolSpecification$ = [
6395
- 3,
6396
- n0,
6397
- _TS,
6398
- 0,
6399
- [_n, _iS, _des, _stri],
6400
- [0, () => ToolInputSchema$, 0, 2],
6401
- 2
6402
- ];
6403
- ToolUseBlock$ = [
6404
- 3,
6405
- n0,
6406
- _TUB,
6407
- 0,
6408
- [_tUI, _n, _i, _ty],
6409
- [0, 0, 15, 0],
6410
- 3
6411
- ];
6412
- ToolUseBlockDelta$ = [
6413
- 3,
6414
- n0,
6415
- _TUBD,
6416
- 0,
6417
- [_i],
6418
- [0],
6419
- 1
6420
- ];
6421
- ToolUseBlockStart$ = [
6422
- 3,
6423
- n0,
6424
- _TUBS,
6425
- 0,
6426
- [_tUI, _n, _ty],
6427
- [0, 0, 0],
6428
- 2
6429
- ];
6430
- VideoBlock$ = [
6431
- 3,
6432
- n0,
6433
- _VB,
6434
- 0,
6435
- [_f, _so],
6436
- [0, () => VideoSource$],
6437
- 2
6438
- ];
6439
- WebLocation$ = [
6440
- 3,
6441
- n0,
6442
- _WL,
6443
- 0,
6444
- [_url, _do],
6445
- [0, 0]
6446
- ];
6447
- AdditionalModelResponseFieldPaths = 64 | 0;
6448
- AsyncInvokeSummaries = [
6449
- 1,
6450
- n0,
6451
- _AISs,
6452
- 0,
6453
- [
6454
- () => AsyncInvokeSummary$,
6455
- 0
6456
- ]
6457
- ];
6458
- CacheDetailsList = [
6459
- 1,
6460
- n0,
6461
- _CDL,
6462
- 0,
6463
- () => CacheDetail$
6464
- ];
6465
- CitationGeneratedContentList = [
6466
- 1,
6467
- n0,
6468
- _CGCL,
6469
- 0,
6470
- () => CitationGeneratedContent$
6471
- ];
6472
- Citations = [
6473
- 1,
6474
- n0,
6475
- _Ci,
6476
- 0,
6477
- () => Citation$
6478
- ];
6479
- CitationSourceContentList = [
6480
- 1,
6481
- n0,
6482
- _CSCL,
6483
- 0,
6484
- () => CitationSourceContent$
6485
- ];
6486
- CitationSourceContentListDelta = [
6487
- 1,
6488
- n0,
6489
- _CSCLD,
6490
- 0,
6491
- () => CitationSourceContentDelta$
6492
- ];
6493
- ContentBlocks = [
6494
- 1,
6495
- n0,
6496
- _CB,
6497
- 0,
6498
- [
6499
- () => ContentBlock$,
6500
- 0
6501
- ]
6502
- ];
6503
- DocumentContentBlocks = [
6504
- 1,
6505
- n0,
6506
- _DCB,
6507
- 0,
6508
- () => DocumentContentBlock$
6509
- ];
6510
- GuardrailAssessmentList = [
6511
- 1,
6512
- n0,
6513
- _GAL,
6514
- 0,
6515
- [
6516
- () => GuardrailAssessment$,
6517
- 0
6518
- ]
6519
- ];
6520
- GuardrailAutomatedReasoningDifferenceScenarioList = [
6521
- 1,
6522
- n0,
6523
- _GARDSL,
6524
- 0,
6525
- [
6526
- () => GuardrailAutomatedReasoningScenario$,
6527
- 0
6528
- ]
6529
- ];
6530
- GuardrailAutomatedReasoningFindingList = [
6531
- 1,
6532
- n0,
6533
- _GARFL,
6534
- 0,
6535
- [
6536
- () => GuardrailAutomatedReasoningFinding$,
6537
- 0
6538
- ]
6539
- ];
6540
- GuardrailAutomatedReasoningInputTextReferenceList = [
6541
- 1,
6542
- n0,
6543
- _GARITRL,
6544
- 0,
6545
- [
6546
- () => GuardrailAutomatedReasoningInputTextReference$,
6547
- 0
6548
- ]
6549
- ];
6550
- GuardrailAutomatedReasoningRuleList = [
6551
- 1,
6552
- n0,
6553
- _GARRL,
6554
- 0,
6555
- () => GuardrailAutomatedReasoningRule$
6556
- ];
6557
- GuardrailAutomatedReasoningStatementList = [
6558
- 1,
6559
- n0,
6560
- _GARSL,
6561
- 0,
6562
- [
6563
- () => GuardrailAutomatedReasoningStatement$,
6564
- 0
6565
- ]
6566
- ];
6567
- GuardrailAutomatedReasoningTranslationList = [
6568
- 1,
6569
- n0,
6570
- _GARTL,
6571
- 0,
6572
- [
6573
- () => GuardrailAutomatedReasoningTranslation$,
6574
- 0
6575
- ]
6576
- ];
6577
- GuardrailAutomatedReasoningTranslationOptionList = [
6578
- 1,
6579
- n0,
6580
- _GARTOL,
6581
- 0,
6582
- [
6583
- () => GuardrailAutomatedReasoningTranslationOption$,
6584
- 0
6585
- ]
6586
- ];
6587
- GuardrailContentBlockList = [
6588
- 1,
6589
- n0,
6590
- _GCBL,
6591
- 0,
6592
- [
6593
- () => GuardrailContentBlock$,
6594
- 0
6595
- ]
6596
- ];
6597
- GuardrailContentFilterList = [
6598
- 1,
6599
- n0,
6600
- _GCFL,
6601
- 0,
6602
- () => GuardrailContentFilter$
6603
- ];
6604
- GuardrailContentQualifierList = 64 | 0;
6605
- GuardrailContextualGroundingFilters = [
6606
- 1,
6607
- n0,
6608
- _GCGFu,
6609
- 0,
6610
- () => GuardrailContextualGroundingFilter$
6611
- ];
6612
- GuardrailConverseContentQualifierList = 64 | 0;
6613
- GuardrailCustomWordList = [
6614
- 1,
6615
- n0,
6616
- _GCWL,
6617
- 0,
6618
- () => GuardrailCustomWord$
6619
- ];
6620
- GuardrailManagedWordList = [
6621
- 1,
6622
- n0,
6623
- _GMWL,
6624
- 0,
6625
- () => GuardrailManagedWord$
6626
- ];
6627
- GuardrailOriginList = 64 | 0;
6628
- GuardrailOutputContentList = [
6629
- 1,
6630
- n0,
6631
- _GOCL,
6632
- 0,
6633
- () => GuardrailOutputContent$
6634
- ];
6635
- GuardrailPiiEntityFilterList = [
6636
- 1,
6637
- n0,
6638
- _GPEFL,
6639
- 0,
6640
- () => GuardrailPiiEntityFilter$
6641
- ];
6642
- GuardrailRegexFilterList = [
6643
- 1,
6644
- n0,
6645
- _GRFL,
6646
- 0,
6647
- () => GuardrailRegexFilter$
6648
- ];
6649
- GuardrailTopicList = [
6650
- 1,
6651
- n0,
6652
- _GTL,
6653
- 0,
6654
- () => GuardrailTopic$
6655
- ];
6656
- Messages2 = [
6657
- 1,
6658
- n0,
6659
- _Me,
6660
- 0,
6661
- [
6662
- () => Message$,
6663
- 0
6664
- ]
6665
- ];
6666
- ModelOutputs = 64 | 0;
6667
- NonEmptyStringList = 64 | 0;
6668
- SearchResultContentBlocks = [
6669
- 1,
6670
- n0,
6671
- _SRCBe,
6672
- 0,
6673
- () => SearchResultContentBlock$
6674
- ];
6675
- SystemContentBlocks = [
6676
- 1,
6677
- n0,
6678
- _SCB,
6679
- 0,
6680
- [
6681
- () => SystemContentBlock$,
6682
- 0
6683
- ]
6684
- ];
6685
- TagList = [
6686
- 1,
6687
- n0,
6688
- _TL,
6689
- 0,
6690
- () => Tag$
6691
- ];
6692
- ToolResultBlocksDelta = [
6693
- 1,
6694
- n0,
6695
- _TRBD,
6696
- 0,
6697
- () => ToolResultBlockDelta$
6698
- ];
6699
- ToolResultContentBlocks = [
6700
- 1,
6701
- n0,
6702
- _TRCB,
6703
- 0,
6704
- [
6705
- () => ToolResultContentBlock$,
6706
- 0
6707
- ]
6708
- ];
6709
- Tools = [
6710
- 1,
6711
- n0,
6712
- _To,
6713
- 0,
6714
- () => Tool$
6715
- ];
6716
- GuardrailAssessmentListMap = [
6717
- 2,
6718
- n0,
6719
- _GALM,
6720
- 0,
6721
- [
6722
- 0,
6723
- 0
6724
- ],
6725
- [
6726
- () => GuardrailAssessmentList,
6727
- 0
6728
- ]
6729
- ];
6730
- GuardrailAssessmentMap = [
6731
- 2,
6732
- n0,
6733
- _GAM,
6734
- 0,
6735
- [
6736
- 0,
6737
- 0
6738
- ],
6739
- [
6740
- () => GuardrailAssessment$,
6741
- 0
6742
- ]
6743
- ];
6744
- PromptVariableMap = [
6745
- 2,
6746
- n0,
6747
- _PVM,
6748
- 8,
6749
- 0,
6750
- () => PromptVariableValues$
6751
- ];
6752
- RequestMetadata = [
6753
- 2,
6754
- n0,
6755
- _RM,
6756
- 8,
6757
- 0,
6758
- 0
6759
- ];
6760
- AsyncInvokeOutputDataConfig$ = [
6761
- 4,
6762
- n0,
6763
- _AIODC,
6764
- 0,
6765
- [_sODC],
6766
- [() => AsyncInvokeS3OutputDataConfig$]
6767
- ];
6768
- AudioSource$ = [
6769
- 4,
6770
- n0,
6771
- _AS,
6772
- 8,
6773
- [_b, _sL],
6774
- [21, () => S3Location$]
6775
- ];
6776
- CitationGeneratedContent$ = [
6777
- 4,
6778
- n0,
6779
- _CGC,
6780
- 0,
6781
- [_te],
6782
- [0]
6783
- ];
6784
- CitationLocation$ = [
6785
- 4,
6786
- n0,
6787
- _CL,
6788
- 0,
6789
- [_w, _dC, _dP, _dCo, _sRL],
6790
- [() => WebLocation$, () => DocumentCharLocation$, () => DocumentPageLocation$, () => DocumentChunkLocation$, () => SearchResultLocation$]
6791
- ];
6792
- CitationSourceContent$ = [
6793
- 4,
6794
- n0,
6795
- _CSC,
6796
- 0,
6797
- [_te],
6798
- [0]
6799
- ];
6800
- ContentBlock$ = [
6801
- 4,
6802
- n0,
6803
- _CBo,
6804
- 0,
6805
- [_te, _ima, _doc, _vi, _au, _tU, _tR, _gCua, _cPa, _rC, _cC, _sRe],
6806
- [0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, [() => AudioBlock$, 0], () => ToolUseBlock$, [() => ToolResultBlock$, 0], [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$, [() => ReasoningContentBlock$, 0], () => CitationsContentBlock$, () => SearchResultBlock$]
6807
- ];
6808
- ContentBlockDelta$ = [
6809
- 4,
6810
- n0,
6811
- _CBD,
6812
- 0,
6813
- [_te, _tU, _tR, _rC, _cit, _ima],
6814
- [0, () => ToolUseBlockDelta$, () => ToolResultBlocksDelta, [() => ReasoningContentBlockDelta$, 0], () => CitationsDelta$, [() => ImageBlockDelta$, 0]]
6815
- ];
6816
- ContentBlockStart$ = [
6817
- 4,
6818
- n0,
6819
- _CBS,
6820
- 0,
6821
- [_tU, _tR, _ima],
6822
- [() => ToolUseBlockStart$, () => ToolResultBlockStart$, () => ImageBlockStart$]
6823
- ];
6824
- ConverseOutput$ = [
6825
- 4,
6826
- n0,
6827
- _CO,
6828
- 0,
6829
- [_m],
6830
- [[() => Message$, 0]]
6831
- ];
6832
- ConverseStreamOutput$ = [
6833
- 4,
6834
- n0,
6835
- _CSO,
6836
- { [_stre]: 1 },
6837
- [_mS, _cBS, _cBD, _cBSo, _mSe, _meta, _iSE, _mSEE, _vE, _tE, _sUE],
6838
- [() => MessageStartEvent$, () => ContentBlockStartEvent$, [() => ContentBlockDeltaEvent$, 0], () => ContentBlockStopEvent$, () => MessageStopEvent$, [() => ConverseStreamMetadataEvent$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ServiceUnavailableException$, 0]]
6839
- ];
6840
- CountTokensInput$ = [
6841
- 4,
6842
- n0,
6843
- _CTI,
6844
- 0,
6845
- [_iMn, _conv],
6846
- [[() => InvokeModelTokensRequest$, 0], [() => ConverseTokensRequest$, 0]]
6847
- ];
6848
- DocumentContentBlock$ = [
6849
- 4,
6850
- n0,
6851
- _DCBo,
6852
- 0,
6853
- [_te],
6854
- [0]
6855
- ];
6856
- DocumentSource$ = [
6857
- 4,
6858
- n0,
6859
- _DS,
6860
- 0,
6861
- [_b, _sL, _te, _co],
6862
- [21, () => S3Location$, 0, () => DocumentContentBlocks]
6863
- ];
6864
- GuardrailAutomatedReasoningFinding$ = [
6865
- 4,
6866
- n0,
6867
- _GARF,
6868
- 0,
6869
- [_va, _in, _sa, _imp, _tA, _tCoo, _nTo],
6870
- [[() => GuardrailAutomatedReasoningValidFinding$, 0], [() => GuardrailAutomatedReasoningInvalidFinding$, 0], [() => GuardrailAutomatedReasoningSatisfiableFinding$, 0], [() => GuardrailAutomatedReasoningImpossibleFinding$, 0], [() => GuardrailAutomatedReasoningTranslationAmbiguousFinding$, 0], () => GuardrailAutomatedReasoningTooComplexFinding$, () => GuardrailAutomatedReasoningNoTranslationsFinding$]
6871
- ];
6872
- GuardrailContentBlock$ = [
6873
- 4,
6874
- n0,
6875
- _GCB,
6876
- 0,
6877
- [_te, _ima],
6878
- [() => GuardrailTextBlock$, [() => GuardrailImageBlock$, 0]]
6879
- ];
6880
- GuardrailConverseContentBlock$ = [
6881
- 4,
6882
- n0,
6883
- _GCCB,
6884
- 0,
6885
- [_te, _ima],
6886
- [() => GuardrailConverseTextBlock$, [() => GuardrailConverseImageBlock$, 0]]
6887
- ];
6888
- GuardrailConverseImageSource$ = [
6889
- 4,
6890
- n0,
6891
- _GCIS,
6892
- 8,
6893
- [_b],
6894
- [21]
6895
- ];
6896
- GuardrailImageSource$ = [
6897
- 4,
6898
- n0,
6899
- _GIS,
6900
- 8,
6901
- [_b],
6902
- [21]
6903
- ];
6904
- ImageSource$ = [
6905
- 4,
6906
- n0,
6907
- _IS,
6908
- 8,
6909
- [_b, _sL],
6910
- [21, () => S3Location$]
6911
- ];
6912
- InvokeModelWithBidirectionalStreamInput$ = [
6913
- 4,
6914
- n0,
6915
- _IMWBSI,
6916
- { [_stre]: 1 },
6917
- [_ch],
6918
- [[() => BidirectionalInputPayloadPart$, 0]]
6919
- ];
6920
- InvokeModelWithBidirectionalStreamOutput$ = [
6921
- 4,
6922
- n0,
6923
- _IMWBSO,
6924
- { [_stre]: 1 },
6925
- [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
6926
- [[() => BidirectionalOutputPayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
6927
- ];
6928
- OutputFormatStructure$ = [
6929
- 4,
6930
- n0,
6931
- _OFS,
6932
- 8,
6933
- [_jS],
6934
- [() => JsonSchemaDefinition$]
6935
- ];
6936
- PromptVariableValues$ = [
6937
- 4,
6938
- n0,
6939
- _PVV,
6940
- 0,
6941
- [_te],
6942
- [0]
6943
- ];
6944
- ReasoningContentBlock$ = [
6945
- 4,
6946
- n0,
6947
- _RCB,
6948
- 8,
6949
- [_rT, _rCe],
6950
- [[() => ReasoningTextBlock$, 0], 21]
6951
- ];
6952
- ReasoningContentBlockDelta$ = [
6953
- 4,
6954
- n0,
6955
- _RCBD,
6956
- 8,
6957
- [_te, _rCe, _si],
6958
- [0, 21, 0]
6959
- ];
6960
- ResponseStream$ = [
6961
- 4,
6962
- n0,
6963
- _RS,
6964
- { [_stre]: 1 },
6965
- [_ch, _iSE, _mSEE, _vE, _tE, _mTE, _sUE],
6966
- [[() => PayloadPart$, 0], [() => InternalServerException$, 0], [() => ModelStreamErrorException$, 0], [() => ValidationException$, 0], [() => ThrottlingException$, 0], [() => ModelTimeoutException$, 0], [() => ServiceUnavailableException$, 0]]
6967
- ];
6968
- SystemContentBlock$ = [
6969
- 4,
6970
- n0,
6971
- _SCBy,
6972
- 0,
6973
- [_te, _gCua, _cPa],
6974
- [0, [() => GuardrailConverseContentBlock$, 0], () => CachePointBlock$]
6975
- ];
6976
- Tool$ = [
6977
- 4,
6978
- n0,
6979
- _Too,
6980
- 0,
6981
- [_tS, _sTy, _cPa],
6982
- [() => ToolSpecification$, () => SystemTool$, () => CachePointBlock$]
6983
- ];
6984
- ToolChoice$ = [
6985
- 4,
6986
- n0,
6987
- _TCo,
6988
- 0,
6989
- [_aut, _an, _tool],
6990
- [() => AutoToolChoice$, () => AnyToolChoice$, () => SpecificToolChoice$]
6991
- ];
6992
- ToolInputSchema$ = [
6993
- 4,
6994
- n0,
6995
- _TIS,
6996
- 0,
6997
- [_j],
6998
- [15]
6999
- ];
7000
- ToolResultBlockDelta$ = [
7001
- 4,
7002
- n0,
7003
- _TRBDo,
7004
- 0,
7005
- [_te, _j],
7006
- [0, 15]
7007
- ];
7008
- ToolResultContentBlock$ = [
7009
- 4,
7010
- n0,
7011
- _TRCBo,
7012
- 0,
7013
- [_j, _te, _ima, _doc, _vi, _sRe],
7014
- [15, 0, [() => ImageBlock$, 0], () => DocumentBlock$, () => VideoBlock$, () => SearchResultBlock$]
7015
- ];
7016
- VideoSource$ = [
7017
- 4,
7018
- n0,
7019
- _VS,
7020
- 0,
7021
- [_b, _sL],
7022
- [21, () => S3Location$]
7023
- ];
7024
- ApplyGuardrail$ = [
7025
- 9,
7026
- n0,
7027
- _AG,
7028
- { [_h]: ["POST", "/guardrail/{guardrailIdentifier}/version/{guardrailVersion}/apply", 200] },
7029
- () => ApplyGuardrailRequest$,
7030
- () => ApplyGuardrailResponse$
7031
- ];
7032
- Converse$ = [
7033
- 9,
7034
- n0,
7035
- _Co,
7036
- { [_h]: ["POST", "/model/{modelId}/converse", 200] },
7037
- () => ConverseRequest$,
7038
- () => ConverseResponse$
7039
- ];
7040
- ConverseStream$ = [
7041
- 9,
7042
- n0,
7043
- _CS,
7044
- { [_h]: ["POST", "/model/{modelId}/converse-stream", 200] },
7045
- () => ConverseStreamRequest$,
7046
- () => ConverseStreamResponse$
7047
- ];
7048
- CountTokens$ = [
7049
- 9,
7050
- n0,
7051
- _CTo,
7052
- { [_h]: ["POST", "/model/{modelId}/count-tokens", 200] },
7053
- () => CountTokensRequest$,
7054
- () => CountTokensResponse$
7055
- ];
7056
- GetAsyncInvoke$ = [
7057
- 9,
7058
- n0,
7059
- _GAI,
7060
- { [_h]: ["GET", "/async-invoke/{invocationArn}", 200] },
7061
- () => GetAsyncInvokeRequest$,
7062
- () => GetAsyncInvokeResponse$
7063
- ];
7064
- InvokeModel$ = [
7065
- 9,
7066
- n0,
7067
- _IM,
7068
- { [_h]: ["POST", "/model/{modelId}/invoke", 200] },
7069
- () => InvokeModelRequest$,
7070
- () => InvokeModelResponse$
7071
- ];
7072
- InvokeModelWithBidirectionalStream$ = [
7073
- 9,
7074
- n0,
7075
- _IMWBS,
7076
- { [_h]: ["POST", "/model/{modelId}/invoke-with-bidirectional-stream", 200] },
7077
- () => InvokeModelWithBidirectionalStreamRequest$,
7078
- () => InvokeModelWithBidirectionalStreamResponse$
7079
- ];
7080
- InvokeModelWithResponseStream$ = [
7081
- 9,
7082
- n0,
7083
- _IMWRS,
7084
- { [_h]: ["POST", "/model/{modelId}/invoke-with-response-stream", 200] },
7085
- () => InvokeModelWithResponseStreamRequest$,
7086
- () => InvokeModelWithResponseStreamResponse$
7087
- ];
7088
- ListAsyncInvokes$ = [
7089
- 9,
7090
- n0,
7091
- _LAI,
7092
- { [_h]: ["GET", "/async-invoke", 200] },
7093
- () => ListAsyncInvokesRequest$,
7094
- () => ListAsyncInvokesResponse$
7095
- ];
7096
- StartAsyncInvoke$ = [
7097
- 9,
7098
- n0,
7099
- _SAI,
7100
- { [_h]: ["POST", "/async-invoke", 200] },
7101
- () => StartAsyncInvokeRequest$,
7102
- () => StartAsyncInvokeResponse$
7103
- ];
7104
- });
7105
-
7106
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.shared.js
7107
- var import_httpAuthSchemes2, import_protocols, import_core2, import_smithy_client2, import_url_parser, import_util_base642, import_util_utf87, getRuntimeConfig = (config3) => {
7108
- return {
7109
- apiVersion: "2023-09-30",
7110
- base64Decoder: config3?.base64Decoder ?? import_util_base642.fromBase64,
7111
- base64Encoder: config3?.base64Encoder ?? import_util_base642.toBase64,
7112
- disableHostPrefix: config3?.disableHostPrefix ?? false,
7113
- endpointProvider: config3?.endpointProvider ?? defaultEndpointResolver,
7114
- extensions: config3?.extensions ?? [],
7115
- httpAuthSchemeProvider: config3?.httpAuthSchemeProvider ?? defaultBedrockRuntimeHttpAuthSchemeProvider,
7116
- httpAuthSchemes: config3?.httpAuthSchemes ?? [
7117
- {
7118
- schemeId: "aws.auth#sigv4",
7119
- identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
7120
- signer: new import_httpAuthSchemes2.AwsSdkSigV4Signer
7121
- },
7122
- {
7123
- schemeId: "smithy.api#httpBearerAuth",
7124
- identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
7125
- signer: new import_core2.HttpBearerAuthSigner
7126
- }
7127
- ],
7128
- logger: config3?.logger ?? new import_smithy_client2.NoOpLogger,
7129
- protocol: config3?.protocol ?? import_protocols.AwsRestJsonProtocol,
7130
- protocolSettings: config3?.protocolSettings ?? {
7131
- defaultNamespace: "com.amazonaws.bedrockruntime",
7132
- errorTypeRegistries,
7133
- version: "2023-09-30",
7134
- serviceTarget: "AmazonBedrockFrontendService"
7135
- },
7136
- serviceId: config3?.serviceId ?? "Bedrock Runtime",
7137
- urlParser: config3?.urlParser ?? import_url_parser.parseUrl,
7138
- utf8Decoder: config3?.utf8Decoder ?? import_util_utf87.fromUtf8,
7139
- utf8Encoder: config3?.utf8Encoder ?? import_util_utf87.toUtf8
7140
- };
7141
- };
7142
- var init_runtimeConfig_shared = __esm(() => {
7143
- init_httpAuthSchemeProvider();
7144
- init_endpointResolver();
7145
- init_schemas_0();
7146
- import_httpAuthSchemes2 = __toESM(require_httpAuthSchemes(), 1);
7147
- import_protocols = __toESM(require_protocols(), 1);
7148
- import_core2 = __toESM(require_dist_cjs13(), 1);
7149
- import_smithy_client2 = __toESM(require_dist_cjs22(), 1);
7150
- import_url_parser = __toESM(require_dist_cjs12(), 1);
7151
- import_util_base642 = __toESM(require_dist_cjs2(), 1);
7152
- import_util_utf87 = __toESM(require_dist_cjs(), 1);
7153
- });
7154
-
7155
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeConfig.js
7156
- 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_handler2, import_smithy_client3, import_util_body_length_node, import_util_defaults_mode_node, import_util_retry, getRuntimeConfig2 = (config3) => {
7157
- import_smithy_client3.emitWarningIfUnsupportedVersion(process.version);
7158
- const defaultsMode = import_util_defaults_mode_node.resolveDefaultsModeConfig(config3);
7159
- const defaultConfigProvider = () => defaultsMode().then(import_smithy_client3.loadConfigsForDefaultMode);
7160
- const clientSharedValues = getRuntimeConfig(config3);
7161
- import_client.emitWarningIfUnsupportedVersion(process.version);
7162
- const loaderConfig = {
7163
- profile: config3?.profile,
7164
- logger: clientSharedValues.logger,
7165
- signingName: "bedrock"
7166
- };
7167
- return {
7168
- ...clientSharedValues,
7169
- ...config3,
7170
- runtime: "node",
7171
- defaultsMode,
7172
- authSchemePreference: config3?.authSchemePreference ?? import_node_config_provider.loadConfig(import_httpAuthSchemes3.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
7173
- bodyLengthChecker: config3?.bodyLengthChecker ?? import_util_body_length_node.calculateBodyLength,
7174
- credentialDefaultProvider: config3?.credentialDefaultProvider ?? defaultProvider,
7175
- defaultUserAgentProvider: config3?.defaultUserAgentProvider ?? import_util_user_agent_node.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }),
7176
- eventStreamPayloadHandlerProvider: config3?.eventStreamPayloadHandlerProvider ?? eventStreamPayloadHandlerProvider2,
7177
- eventStreamSerdeProvider: config3?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
7178
- httpAuthSchemes: config3?.httpAuthSchemes ?? [
7179
- {
7180
- schemeId: "aws.auth#sigv4",
7181
- identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
7182
- signer: new import_httpAuthSchemes3.AwsSdkSigV4Signer
7183
- },
7184
- {
7185
- schemeId: "smithy.api#httpBearerAuth",
7186
- identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth") || (async (idProps) => {
7187
- try {
7188
- return await fromEnvSigningName({ signingName: "bedrock" })();
7189
- } catch (error) {
7190
- return await nodeProvider(idProps)(idProps);
7191
- }
7192
- }),
7193
- signer: new import_core3.HttpBearerAuthSigner
7194
- }
7195
- ],
7196
- maxAttempts: config3?.maxAttempts ?? import_node_config_provider.loadConfig(import_middleware_retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config3),
7197
- region: config3?.region ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_REGION_CONFIG_OPTIONS, { ...import_config_resolver.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
7198
- requestHandler: import_node_http_handler2.NodeHttp2Handler.create(config3?.requestHandler ?? (async () => ({
7199
- ...await defaultConfigProvider(),
7200
- disableConcurrentStreams: true
7201
- }))),
7202
- retryMode: config3?.retryMode ?? import_node_config_provider.loadConfig({
7203
- ...import_middleware_retry.NODE_RETRY_MODE_CONFIG_OPTIONS,
7204
- default: async () => (await defaultConfigProvider()).retryMode || import_util_retry.DEFAULT_RETRY_MODE
7205
- }, config3),
7206
- sha256: config3?.sha256 ?? import_hash_node.Hash.bind(null, "sha256"),
7207
- streamCollector: config3?.streamCollector ?? import_node_http_handler2.streamCollector,
7208
- useDualstackEndpoint: config3?.useDualstackEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
7209
- useFipsEndpoint: config3?.useFipsEndpoint ?? import_node_config_provider.loadConfig(import_config_resolver.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
7210
- userAgentAppId: config3?.userAgentAppId ?? import_node_config_provider.loadConfig(import_util_user_agent_node.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
7211
- };
7212
- };
7213
- var init_runtimeConfig = __esm(() => {
7214
- init_package();
7215
- init_dist_es4();
7216
- init_dist_es31();
7217
- init_dist_es3();
7218
- init_dist_es32();
7219
- init_runtimeConfig_shared();
7220
- import_client = __toESM(require_client(), 1);
7221
- import_httpAuthSchemes3 = __toESM(require_httpAuthSchemes(), 1);
7222
- import_util_user_agent_node = __toESM(require_dist_cjs24(), 1);
7223
- import_config_resolver = __toESM(require_dist_cjs18(), 1);
7224
- import_core3 = __toESM(require_dist_cjs13(), 1);
7225
- import_hash_node = __toESM(require_dist_cjs25(), 1);
7226
- import_middleware_retry = __toESM(require_dist_cjs23(), 1);
7227
- import_node_config_provider = __toESM(require_dist_cjs20(), 1);
7228
- import_node_http_handler2 = __toESM(require_dist_cjs11(), 1);
7229
- import_smithy_client3 = __toESM(require_dist_cjs22(), 1);
7230
- import_util_body_length_node = __toESM(require_dist_cjs4(), 1);
7231
- import_util_defaults_mode_node = __toESM(require_dist_cjs26(), 1);
7232
- import_util_retry = __toESM(require_dist_cjs16(), 1);
7233
- });
7234
-
7235
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/auth/httpAuthExtensionConfiguration.js
7236
- var getHttpAuthExtensionConfiguration = (runtimeConfig) => {
7237
- const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
7238
- let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
7239
- let _credentials = runtimeConfig.credentials;
7240
- let _token = runtimeConfig.token;
7241
- return {
7242
- setHttpAuthScheme(httpAuthScheme) {
7243
- const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
7244
- if (index === -1) {
7245
- _httpAuthSchemes.push(httpAuthScheme);
7246
- } else {
7247
- _httpAuthSchemes.splice(index, 1, httpAuthScheme);
7248
- }
7249
- },
7250
- httpAuthSchemes() {
7251
- return _httpAuthSchemes;
7252
- },
7253
- setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
7254
- _httpAuthSchemeProvider = httpAuthSchemeProvider;
7255
- },
7256
- httpAuthSchemeProvider() {
7257
- return _httpAuthSchemeProvider;
7258
- },
7259
- setCredentials(credentials) {
7260
- _credentials = credentials;
7261
- },
7262
- credentials() {
7263
- return _credentials;
7264
- },
7265
- setToken(token) {
7266
- _token = token;
7267
- },
7268
- token() {
7269
- return _token;
7270
- }
7271
- };
7272
- }, resolveHttpAuthRuntimeConfig = (config3) => {
7273
- return {
7274
- httpAuthSchemes: config3.httpAuthSchemes(),
7275
- httpAuthSchemeProvider: config3.httpAuthSchemeProvider(),
7276
- credentials: config3.credentials(),
7277
- token: config3.token()
7278
- };
7279
- };
7280
- var init_httpAuthExtensionConfiguration = () => {};
7281
-
7282
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/runtimeExtensions.js
7283
- var import_region_config_resolver, import_protocol_http8, import_smithy_client4, resolveRuntimeExtensions = (runtimeConfig, extensions5) => {
7284
- const extensionConfiguration = Object.assign(import_region_config_resolver.getAwsRegionExtensionConfiguration(runtimeConfig), import_smithy_client4.getDefaultExtensionConfiguration(runtimeConfig), import_protocol_http8.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
7285
- extensions5.forEach((extension) => extension.configure(extensionConfiguration));
7286
- return Object.assign(runtimeConfig, import_region_config_resolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), import_smithy_client4.resolveDefaultRuntimeConfig(extensionConfiguration), import_protocol_http8.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
7287
- };
7288
- var init_runtimeExtensions = __esm(() => {
7289
- init_httpAuthExtensionConfiguration();
7290
- import_region_config_resolver = __toESM(require_dist_cjs27(), 1);
7291
- import_protocol_http8 = __toESM(require_dist_cjs5(), 1);
7292
- import_smithy_client4 = __toESM(require_dist_cjs22(), 1);
7293
- });
7294
-
7295
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntimeClient.js
7296
- var import_middleware_host_header, import_middleware_logger, import_middleware_recursion_detection, import_middleware_user_agent, import_config_resolver2, import_core4, import_schema2, import_middleware_content_length, import_middleware_endpoint, import_middleware_retry2, import_smithy_client5, BedrockRuntimeClient;
7297
- var init_BedrockRuntimeClient = __esm(() => {
7298
- init_dist_es26();
7299
- init_dist_es29();
7300
- init_dist_es30();
7301
- init_httpAuthSchemeProvider();
7302
- init_EndpointParameters();
7303
- init_runtimeConfig();
7304
- init_runtimeExtensions();
7305
- import_middleware_host_header = __toESM(require_dist_cjs7(), 1);
7306
- import_middleware_logger = __toESM(require_dist_cjs8(), 1);
7307
- import_middleware_recursion_detection = __toESM(require_dist_cjs9(), 1);
7308
- import_middleware_user_agent = __toESM(require_dist_cjs17(), 1);
7309
- import_config_resolver2 = __toESM(require_dist_cjs18(), 1);
7310
- import_core4 = __toESM(require_dist_cjs13(), 1);
7311
- import_schema2 = __toESM(require_schema(), 1);
7312
- import_middleware_content_length = __toESM(require_dist_cjs19(), 1);
7313
- import_middleware_endpoint = __toESM(require_dist_cjs21(), 1);
7314
- import_middleware_retry2 = __toESM(require_dist_cjs23(), 1);
7315
- import_smithy_client5 = __toESM(require_dist_cjs22(), 1);
7316
- BedrockRuntimeClient = class BedrockRuntimeClient extends import_smithy_client5.Client {
7317
- config;
7318
- constructor(...[configuration]) {
7319
- const _config_0 = getRuntimeConfig2(configuration || {});
7320
- super(_config_0);
7321
- this.initConfig = _config_0;
7322
- const _config_1 = resolveClientEndpointParameters(_config_0);
7323
- const _config_2 = import_middleware_user_agent.resolveUserAgentConfig(_config_1);
7324
- const _config_3 = import_middleware_retry2.resolveRetryConfig(_config_2);
7325
- const _config_4 = import_config_resolver2.resolveRegionConfig(_config_3);
7326
- const _config_5 = import_middleware_host_header.resolveHostHeaderConfig(_config_4);
7327
- const _config_6 = import_middleware_endpoint.resolveEndpointConfig(_config_5);
7328
- const _config_7 = resolveEventStreamSerdeConfig(_config_6);
7329
- const _config_8 = resolveHttpAuthSchemeConfig(_config_7);
7330
- const _config_9 = resolveEventStreamConfig(_config_8);
7331
- const _config_10 = resolveWebSocketConfig(_config_9);
7332
- const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
7333
- this.config = _config_11;
7334
- this.middlewareStack.use(import_schema2.getSchemaSerdePlugin(this.config));
7335
- this.middlewareStack.use(import_middleware_user_agent.getUserAgentPlugin(this.config));
7336
- this.middlewareStack.use(import_middleware_retry2.getRetryPlugin(this.config));
7337
- this.middlewareStack.use(import_middleware_content_length.getContentLengthPlugin(this.config));
7338
- this.middlewareStack.use(import_middleware_host_header.getHostHeaderPlugin(this.config));
7339
- this.middlewareStack.use(import_middleware_logger.getLoggerPlugin(this.config));
7340
- this.middlewareStack.use(import_middleware_recursion_detection.getRecursionDetectionPlugin(this.config));
7341
- this.middlewareStack.use(import_core4.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
7342
- httpAuthSchemeParametersProvider: defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
7343
- identityProviderConfigProvider: async (config3) => new import_core4.DefaultIdentityProviderConfig({
7344
- "aws.auth#sigv4": config3.credentials,
7345
- "smithy.api#httpBearerAuth": config3.token
7346
- })
7347
- }));
7348
- this.middlewareStack.use(import_core4.getHttpSigningPlugin(this.config));
7349
- }
7350
- destroy() {
7351
- super.destroy();
7352
- }
7353
- };
7354
- });
7355
-
7356
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ApplyGuardrailCommand.js
7357
- var import_middleware_endpoint2, import_smithy_client6, ApplyGuardrailCommand;
7358
- var init_ApplyGuardrailCommand = __esm(() => {
7359
- init_EndpointParameters();
7360
- init_schemas_0();
7361
- import_middleware_endpoint2 = __toESM(require_dist_cjs21(), 1);
7362
- import_smithy_client6 = __toESM(require_dist_cjs22(), 1);
7363
- ApplyGuardrailCommand = class ApplyGuardrailCommand extends import_smithy_client6.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7364
- return [import_middleware_endpoint2.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7365
- }).s("AmazonBedrockFrontendService", "ApplyGuardrail", {}).n("BedrockRuntimeClient", "ApplyGuardrailCommand").sc(ApplyGuardrail$).build() {
7366
- };
7367
- });
7368
-
7369
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseCommand.js
7370
- var import_middleware_endpoint3, import_smithy_client7, ConverseCommand;
7371
- var init_ConverseCommand = __esm(() => {
7372
- init_EndpointParameters();
7373
- init_schemas_0();
7374
- import_middleware_endpoint3 = __toESM(require_dist_cjs21(), 1);
7375
- import_smithy_client7 = __toESM(require_dist_cjs22(), 1);
7376
- ConverseCommand = class ConverseCommand extends import_smithy_client7.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7377
- return [import_middleware_endpoint3.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7378
- }).s("AmazonBedrockFrontendService", "Converse", {}).n("BedrockRuntimeClient", "ConverseCommand").sc(Converse$).build() {
7379
- };
7380
- });
7381
-
7382
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ConverseStreamCommand.js
7383
- var import_middleware_endpoint4, import_smithy_client8, ConverseStreamCommand;
7384
- var init_ConverseStreamCommand = __esm(() => {
7385
- init_EndpointParameters();
7386
- init_schemas_0();
7387
- import_middleware_endpoint4 = __toESM(require_dist_cjs21(), 1);
7388
- import_smithy_client8 = __toESM(require_dist_cjs22(), 1);
7389
- ConverseStreamCommand = class ConverseStreamCommand extends import_smithy_client8.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7390
- return [import_middleware_endpoint4.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7391
- }).s("AmazonBedrockFrontendService", "ConverseStream", {
7392
- eventStream: {
7393
- output: true
7394
- }
7395
- }).n("BedrockRuntimeClient", "ConverseStreamCommand").sc(ConverseStream$).build() {
7396
- };
7397
- });
7398
-
7399
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/CountTokensCommand.js
7400
- var import_middleware_endpoint5, import_smithy_client9, CountTokensCommand;
7401
- var init_CountTokensCommand = __esm(() => {
7402
- init_EndpointParameters();
7403
- init_schemas_0();
7404
- import_middleware_endpoint5 = __toESM(require_dist_cjs21(), 1);
7405
- import_smithy_client9 = __toESM(require_dist_cjs22(), 1);
7406
- CountTokensCommand = class CountTokensCommand extends import_smithy_client9.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7407
- return [import_middleware_endpoint5.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7408
- }).s("AmazonBedrockFrontendService", "CountTokens", {}).n("BedrockRuntimeClient", "CountTokensCommand").sc(CountTokens$).build() {
7409
- };
7410
- });
7411
-
7412
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/GetAsyncInvokeCommand.js
7413
- var import_middleware_endpoint6, import_smithy_client10, GetAsyncInvokeCommand;
7414
- var init_GetAsyncInvokeCommand = __esm(() => {
7415
- init_EndpointParameters();
7416
- init_schemas_0();
7417
- import_middleware_endpoint6 = __toESM(require_dist_cjs21(), 1);
7418
- import_smithy_client10 = __toESM(require_dist_cjs22(), 1);
7419
- GetAsyncInvokeCommand = class GetAsyncInvokeCommand extends import_smithy_client10.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7420
- return [import_middleware_endpoint6.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7421
- }).s("AmazonBedrockFrontendService", "GetAsyncInvoke", {}).n("BedrockRuntimeClient", "GetAsyncInvokeCommand").sc(GetAsyncInvoke$).build() {
7422
- };
7423
- });
7424
-
7425
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelCommand.js
7426
- var import_middleware_endpoint7, import_smithy_client11, InvokeModelCommand;
7427
- var init_InvokeModelCommand = __esm(() => {
7428
- init_EndpointParameters();
7429
- init_schemas_0();
7430
- import_middleware_endpoint7 = __toESM(require_dist_cjs21(), 1);
7431
- import_smithy_client11 = __toESM(require_dist_cjs22(), 1);
7432
- InvokeModelCommand = class InvokeModelCommand extends import_smithy_client11.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7433
- return [import_middleware_endpoint7.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7434
- }).s("AmazonBedrockFrontendService", "InvokeModel", {}).n("BedrockRuntimeClient", "InvokeModelCommand").sc(InvokeModel$).build() {
7435
- };
7436
- });
7437
-
7438
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithBidirectionalStreamCommand.js
7439
- var import_middleware_endpoint8, import_smithy_client12, InvokeModelWithBidirectionalStreamCommand;
7440
- var init_InvokeModelWithBidirectionalStreamCommand = __esm(() => {
7441
- init_dist_es26();
7442
- init_dist_es29();
7443
- init_EndpointParameters();
7444
- init_schemas_0();
7445
- import_middleware_endpoint8 = __toESM(require_dist_cjs21(), 1);
7446
- import_smithy_client12 = __toESM(require_dist_cjs22(), 1);
7447
- InvokeModelWithBidirectionalStreamCommand = class InvokeModelWithBidirectionalStreamCommand extends import_smithy_client12.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7448
- return [
7449
- import_middleware_endpoint8.getEndpointPlugin(config3, Command.getEndpointParameterInstructions()),
7450
- getEventStreamPlugin(config3),
7451
- getWebSocketPlugin(config3, {
7452
- headerPrefix: "x-amz-bedrock-"
7453
- })
7454
- ];
7455
- }).s("AmazonBedrockFrontendService", "InvokeModelWithBidirectionalStream", {
7456
- eventStream: {
7457
- input: true,
7458
- output: true
7459
- }
7460
- }).n("BedrockRuntimeClient", "InvokeModelWithBidirectionalStreamCommand").sc(InvokeModelWithBidirectionalStream$).build() {
7461
- };
7462
- });
7463
-
7464
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/InvokeModelWithResponseStreamCommand.js
7465
- var import_middleware_endpoint9, import_smithy_client13, InvokeModelWithResponseStreamCommand;
7466
- var init_InvokeModelWithResponseStreamCommand = __esm(() => {
7467
- init_EndpointParameters();
7468
- init_schemas_0();
7469
- import_middleware_endpoint9 = __toESM(require_dist_cjs21(), 1);
7470
- import_smithy_client13 = __toESM(require_dist_cjs22(), 1);
7471
- InvokeModelWithResponseStreamCommand = class InvokeModelWithResponseStreamCommand extends import_smithy_client13.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7472
- return [import_middleware_endpoint9.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7473
- }).s("AmazonBedrockFrontendService", "InvokeModelWithResponseStream", {
7474
- eventStream: {
7475
- output: true
7476
- }
7477
- }).n("BedrockRuntimeClient", "InvokeModelWithResponseStreamCommand").sc(InvokeModelWithResponseStream$).build() {
7478
- };
7479
- });
7480
-
7481
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/ListAsyncInvokesCommand.js
7482
- var import_middleware_endpoint10, import_smithy_client14, ListAsyncInvokesCommand;
7483
- var init_ListAsyncInvokesCommand = __esm(() => {
7484
- init_EndpointParameters();
7485
- init_schemas_0();
7486
- import_middleware_endpoint10 = __toESM(require_dist_cjs21(), 1);
7487
- import_smithy_client14 = __toESM(require_dist_cjs22(), 1);
7488
- ListAsyncInvokesCommand = class ListAsyncInvokesCommand extends import_smithy_client14.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7489
- return [import_middleware_endpoint10.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7490
- }).s("AmazonBedrockFrontendService", "ListAsyncInvokes", {}).n("BedrockRuntimeClient", "ListAsyncInvokesCommand").sc(ListAsyncInvokes$).build() {
7491
- };
7492
- });
7493
-
7494
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/StartAsyncInvokeCommand.js
7495
- var import_middleware_endpoint11, import_smithy_client15, StartAsyncInvokeCommand;
7496
- var init_StartAsyncInvokeCommand = __esm(() => {
7497
- init_EndpointParameters();
7498
- init_schemas_0();
7499
- import_middleware_endpoint11 = __toESM(require_dist_cjs21(), 1);
7500
- import_smithy_client15 = __toESM(require_dist_cjs22(), 1);
7501
- StartAsyncInvokeCommand = class StartAsyncInvokeCommand extends import_smithy_client15.Command.classBuilder().ep(commonParams).m(function(Command, cs, config3, o2) {
7502
- return [import_middleware_endpoint11.getEndpointPlugin(config3, Command.getEndpointParameterInstructions())];
7503
- }).s("AmazonBedrockFrontendService", "StartAsyncInvoke", {}).n("BedrockRuntimeClient", "StartAsyncInvokeCommand").sc(StartAsyncInvoke$).build() {
7504
- };
7505
- });
7506
-
7507
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/ListAsyncInvokesPaginator.js
7508
- var import_core5, paginateListAsyncInvokes;
7509
- var init_ListAsyncInvokesPaginator = __esm(() => {
7510
- init_BedrockRuntimeClient();
7511
- init_ListAsyncInvokesCommand();
7512
- import_core5 = __toESM(require_dist_cjs13(), 1);
7513
- paginateListAsyncInvokes = import_core5.createPaginator(BedrockRuntimeClient, ListAsyncInvokesCommand, "nextToken", "nextToken", "maxResults");
7514
- });
7515
-
7516
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/BedrockRuntime.js
7517
- var import_smithy_client16, commands, paginators, BedrockRuntime;
7518
- var init_BedrockRuntime = __esm(() => {
7519
- init_BedrockRuntimeClient();
7520
- init_ApplyGuardrailCommand();
7521
- init_ConverseCommand();
7522
- init_ConverseStreamCommand();
7523
- init_CountTokensCommand();
7524
- init_GetAsyncInvokeCommand();
7525
- init_InvokeModelCommand();
7526
- init_InvokeModelWithBidirectionalStreamCommand();
7527
- init_InvokeModelWithResponseStreamCommand();
7528
- init_ListAsyncInvokesCommand();
7529
- init_StartAsyncInvokeCommand();
7530
- init_ListAsyncInvokesPaginator();
7531
- import_smithy_client16 = __toESM(require_dist_cjs22(), 1);
7532
- commands = {
7533
- ApplyGuardrailCommand,
7534
- ConverseCommand,
7535
- ConverseStreamCommand,
7536
- CountTokensCommand,
7537
- GetAsyncInvokeCommand,
7538
- InvokeModelCommand,
7539
- InvokeModelWithBidirectionalStreamCommand,
7540
- InvokeModelWithResponseStreamCommand,
7541
- ListAsyncInvokesCommand,
7542
- StartAsyncInvokeCommand
7543
- };
7544
- paginators = {
7545
- paginateListAsyncInvokes
7546
- };
7547
- BedrockRuntime = class BedrockRuntime extends BedrockRuntimeClient {
7548
- };
7549
- import_smithy_client16.createAggregatedClient(commands, BedrockRuntime, { paginators });
7550
- });
7551
-
7552
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/commands/index.js
7553
- var init_commands = __esm(() => {
7554
- init_ApplyGuardrailCommand();
7555
- init_ConverseCommand();
7556
- init_ConverseStreamCommand();
7557
- init_CountTokensCommand();
7558
- init_GetAsyncInvokeCommand();
7559
- init_InvokeModelCommand();
7560
- init_InvokeModelWithBidirectionalStreamCommand();
7561
- init_InvokeModelWithResponseStreamCommand();
7562
- init_ListAsyncInvokesCommand();
7563
- init_StartAsyncInvokeCommand();
7564
- });
7565
-
7566
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/Interfaces.js
7567
- var init_Interfaces = () => {};
7568
-
7569
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/pagination/index.js
7570
- var init_pagination3 = __esm(() => {
7571
- init_Interfaces();
7572
- init_ListAsyncInvokesPaginator();
7573
- });
7574
-
7575
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/enums.js
7576
- var init_enums = () => {};
7577
-
7578
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/models/models_0.js
7579
- var init_models_0 = () => {};
7580
-
7581
- // node_modules/.bun/@aws-sdk+client-bedrock-runtime@3.1020.0/node_modules/@aws-sdk/client-bedrock-runtime/dist-es/index.js
7582
- var init_dist_es33 = __esm(() => {
7583
- init_BedrockRuntimeClient();
7584
- init_BedrockRuntime();
7585
- init_commands();
7586
- init_schemas_0();
7587
- init_pagination3();
7588
- init_enums();
7589
- init_errors();
7590
- init_models_0();
7591
- });
7592
-
7593
- // node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/AWS_restJson1.mjs
7594
- var de_InternalServerExceptionRes = async (parsedOutput, context) => {
7595
- const contents = map({});
7596
- const data = parsedOutput.body;
7597
- const doc = take(data, {
7598
- message: expectString
7599
- });
7600
- Object.assign(contents, doc);
7601
- const exception = new InternalServerException({
7602
- $metadata: deserializeMetadata(parsedOutput),
7603
- ...contents
7604
- });
7605
- return decorateServiceException(exception, parsedOutput.body);
7606
- }, de_ModelStreamErrorExceptionRes = async (parsedOutput, context) => {
7607
- const contents = map({});
7608
- const data = parsedOutput.body;
7609
- const doc = take(data, {
7610
- message: expectString,
7611
- originalMessage: expectString,
7612
- originalStatusCode: expectInt32
7613
- });
7614
- Object.assign(contents, doc);
7615
- const exception = new ModelStreamErrorException({
7616
- $metadata: deserializeMetadata(parsedOutput),
7617
- ...contents
7618
- });
7619
- return decorateServiceException(exception, parsedOutput.body);
7620
- }, de_ThrottlingExceptionRes = async (parsedOutput, context) => {
7621
- const contents = map({});
7622
- const data = parsedOutput.body;
7623
- const doc = take(data, {
7624
- message: expectString
7625
- });
7626
- Object.assign(contents, doc);
7627
- const exception = new ThrottlingException({
7628
- $metadata: deserializeMetadata(parsedOutput),
7629
- ...contents
7630
- });
7631
- return decorateServiceException(exception, parsedOutput.body);
7632
- }, de_ValidationExceptionRes = async (parsedOutput, context) => {
7633
- const contents = map({});
7634
- const data = parsedOutput.body;
7635
- const doc = take(data, {
7636
- message: expectString
7637
- });
7638
- Object.assign(contents, doc);
7639
- const exception = new ValidationException({
7640
- $metadata: deserializeMetadata(parsedOutput),
7641
- ...contents
7642
- });
7643
- return decorateServiceException(exception, parsedOutput.body);
7644
- }, de_ResponseStream = (output, context) => {
7645
- return context.eventStreamMarshaller.deserialize(output, async (event) => {
7646
- if (event["chunk"] != null) {
7647
- return {
7648
- chunk: await de_PayloadPart_event(event["chunk"], context)
7649
- };
7650
- }
7651
- if (event["internalServerException"] != null) {
7652
- return {
7653
- internalServerException: await de_InternalServerException_event(event["internalServerException"], context)
7654
- };
7655
- }
7656
- if (event["modelStreamErrorException"] != null) {
7657
- return {
7658
- modelStreamErrorException: await de_ModelStreamErrorException_event(event["modelStreamErrorException"], context)
7659
- };
7660
- }
7661
- if (event["validationException"] != null) {
7662
- return {
7663
- validationException: await de_ValidationException_event(event["validationException"], context)
7664
- };
7665
- }
7666
- if (event["throttlingException"] != null) {
7667
- return {
7668
- throttlingException: await de_ThrottlingException_event(event["throttlingException"], context)
7669
- };
7670
- }
7671
- return { $unknown: output };
7672
- });
7673
- }, de_InternalServerException_event = async (output, context) => {
7674
- const parsedOutput = {
7675
- ...output,
7676
- body: await parseBody(output.body, context)
7677
- };
7678
- return de_InternalServerExceptionRes(parsedOutput, context);
7679
- }, de_ModelStreamErrorException_event = async (output, context) => {
7680
- const parsedOutput = {
7681
- ...output,
7682
- body: await parseBody(output.body, context)
7683
- };
7684
- return de_ModelStreamErrorExceptionRes(parsedOutput, context);
7685
- }, de_PayloadPart_event = async (output, context) => {
7686
- const contents = {};
7687
- const data = await parseBody(output.body, context);
7688
- Object.assign(contents, de_PayloadPart(data, context));
7689
- return contents;
7690
- }, de_ThrottlingException_event = async (output, context) => {
7691
- const parsedOutput = {
7692
- ...output,
7693
- body: await parseBody(output.body, context)
7694
- };
7695
- return de_ThrottlingExceptionRes(parsedOutput, context);
7696
- }, de_ValidationException_event = async (output, context) => {
7697
- const parsedOutput = {
7698
- ...output,
7699
- body: await parseBody(output.body, context)
7700
- };
7701
- return de_ValidationExceptionRes(parsedOutput, context);
7702
- }, de_PayloadPart = (output, context) => {
7703
- return take(output, {
7704
- bytes: context.base64Decoder
7705
- });
7706
- }, deserializeMetadata = (output) => ({
7707
- httpStatusCode: output.statusCode,
7708
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"] ?? "",
7709
- extendedRequestId: output.headers["x-amz-id-2"] ?? "",
7710
- cfId: output.headers["x-amz-cf-id"] ?? ""
7711
- }), collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)), parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
7712
- if (encoded.length) {
7713
- return JSON.parse(encoded);
7714
- }
7715
- return {};
7716
- });
7717
- var init_AWS_restJson1 = __esm(() => {
7718
- init_dist_es25();
7719
- init_dist_es33();
3945
+ var init_AWS_restJson1 = __esm(() => {
3946
+ init_dist_es24();
3947
+ init_dist_es3();
7720
3948
  });
7721
3949
 
7722
3950
  // node_modules/.bun/@anthropic-ai+bedrock-sdk@0.26.4+3c5d820c62823f0b/node_modules/@anthropic-ai/bedrock-sdk/internal/shims.mjs
@@ -7731,9 +3959,9 @@ function ReadableStreamToAsyncIterable(stream3) {
7731
3959
  if (result?.done)
7732
3960
  reader.releaseLock();
7733
3961
  return result;
7734
- } catch (e2) {
3962
+ } catch (e) {
7735
3963
  reader.releaseLock();
7736
- throw e2;
3964
+ throw e;
7737
3965
  }
7738
3966
  },
7739
3967
  async return() {
@@ -7821,20 +4049,20 @@ var init_log = __esm(() => {
7821
4049
  function isAbortError(err) {
7822
4050
  return typeof err === "object" && err !== null && (("name" in err) && err.name === "AbortError" || ("message" in err) && String(err.message).includes("FetchRequestCanceledException"));
7823
4051
  }
7824
- var import_fetch_http_handler2, toUtf84 = (input) => new TextDecoder("utf-8").decode(input), fromUtf85 = (input) => new TextEncoder().encode(input), getMinimalSerdeContext = () => {
7825
- const marshaller = new EventStreamMarshaller3({ utf8Encoder: toUtf84, utf8Decoder: fromUtf85 });
4052
+ var import_fetch_http_handler2, toUtf83 = (input) => new TextDecoder("utf-8").decode(input), fromUtf84 = (input) => new TextEncoder().encode(input), getMinimalSerdeContext = () => {
4053
+ const marshaller = new EventStreamMarshaller3({ utf8Encoder: toUtf83, utf8Decoder: fromUtf84 });
7826
4054
  return {
7827
4055
  base64Decoder: fromBase64,
7828
4056
  base64Encoder: toBase64,
7829
- utf8Decoder: fromUtf85,
7830
- utf8Encoder: toUtf84,
4057
+ utf8Decoder: fromUtf84,
4058
+ utf8Encoder: toUtf83,
7831
4059
  eventStreamMarshaller: marshaller,
7832
4060
  streamCollector: import_fetch_http_handler2.streamCollector
7833
4061
  };
7834
4062
  }, Stream2;
7835
4063
  var init_streaming2 = __esm(() => {
4064
+ init_dist_es17();
7836
4065
  init_dist_es18();
7837
- init_dist_es19();
7838
4066
  init_streaming();
7839
4067
  init_error2();
7840
4068
  init_sdk();
@@ -7842,7 +4070,7 @@ var init_streaming2 = __esm(() => {
7842
4070
  init_shims();
7843
4071
  init_values();
7844
4072
  init_log();
7845
- import_fetch_http_handler2 = __toESM(require_dist_cjs6(), 1);
4073
+ import_fetch_http_handler2 = __toESM(require_dist_cjs(), 1);
7846
4074
  Stream2 = class Stream2 extends Stream {
7847
4075
  static fromSSEResponse(response3, controller, client4) {
7848
4076
  let consumed = false;
@@ -7856,8 +4084,8 @@ var init_streaming2 = __esm(() => {
7856
4084
  const eventStream3 = de_ResponseStream(responseBodyIter, getMinimalSerdeContext());
7857
4085
  for await (const event of eventStream3) {
7858
4086
  if (event.chunk && event.chunk.bytes) {
7859
- const s2 = toUtf84(event.chunk.bytes);
7860
- yield { event: "chunk", data: s2, raw: [] };
4087
+ const s = toUtf83(event.chunk.bytes);
4088
+ yield { event: "chunk", data: s, raw: [] };
7861
4089
  } else if (event.internalServerException) {
7862
4090
  yield { event: "error", data: "InternalServerException", raw: [] };
7863
4091
  } else if (event.modelStreamErrorException) {
@@ -7880,10 +4108,10 @@ var init_streaming2 = __esm(() => {
7880
4108
  if (sse.event === "chunk") {
7881
4109
  try {
7882
4110
  yield JSON.parse(sse.data);
7883
- } catch (e2) {
4111
+ } catch (e) {
7884
4112
  logger4.error(`Could not parse message into JSON:`, sse.data);
7885
4113
  logger4.error(`From chunk:`, sse.raw);
7886
- throw e2;
4114
+ throw e;
7887
4115
  }
7888
4116
  }
7889
4117
  if (sse.event === "error") {
@@ -7894,10 +4122,10 @@ var init_streaming2 = __esm(() => {
7894
4122
  }
7895
4123
  }
7896
4124
  done = true;
7897
- } catch (e2) {
7898
- if (isAbortError(e2))
4125
+ } catch (e) {
4126
+ if (isAbortError(e))
7899
4127
  return;
7900
- throw e2;
4128
+ throw e;
7901
4129
  } finally {
7902
4130
  if (!done)
7903
4131
  controller.abort();
@@ -8021,7 +4249,7 @@ var EMPTY, createPathTagFunction = (pathEncoder = encodeURIPath) => function pat
8021
4249
  error: `Value "${match[0]}" can't be safely passed as a path parameter`
8022
4250
  });
8023
4251
  }
8024
- invalidSegments.sort((a2, b2) => a2.start - b2.start);
4252
+ invalidSegments.sort((a, b) => a.start - b.start);
8025
4253
  if (invalidSegments.length > 0) {
8026
4254
  let lastEnd = 0;
8027
4255
  const underline = invalidSegments.reduce((acc, segment) => {
@@ -8031,7 +4259,7 @@ var EMPTY, createPathTagFunction = (pathEncoder = encodeURIPath) => function pat
8031
4259
  return acc + spaces + arrows;
8032
4260
  }, "");
8033
4261
  throw new AnthropicError(`Path parameters result in path with invalid segments:
8034
- ${invalidSegments.map((e2) => e2.error).join(`
4262
+ ${invalidSegments.map((e) => e.error).join(`
8035
4263
  `)}
8036
4264
  ${path2}
8037
4265
  ${underline}`);