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,23 +0,0 @@
1
- // @bun
2
- import {
3
- init_api_promise,
4
- init_client,
5
- init_error,
6
- init_pagination,
7
- init_uploads
8
- } from "./chunk-7739pg2c.js";
9
- import {
10
- __esm
11
- } from "./chunk-qp2qdcda.js";
12
-
13
- // node_modules/.bun/@anthropic-ai+sdk@0.80.0+3c5d820c62823f0b/node_modules/@anthropic-ai/sdk/index.mjs
14
- var init_sdk = __esm(() => {
15
- init_client();
16
- init_uploads();
17
- init_api_promise();
18
- init_client();
19
- init_pagination();
20
- init_error();
21
- });
22
-
23
- export { init_sdk };
@@ -1,615 +0,0 @@
1
- // @bun
2
- import {
3
- require_dist_cjs1 as require_dist_cjs3
4
- } from "./chunk-3enkzjbw.js";
5
- import {
6
- require_dist_cjs as require_dist_cjs2
7
- } from "./chunk-xsq9ae7x.js";
8
- import {
9
- require_dist_cjs
10
- } from "./chunk-kxqjncxw.js";
11
- import {
12
- __commonJS
13
- } from "./chunk-qp2qdcda.js";
14
-
15
- // node_modules/.bun/@smithy+util-endpoints@3.3.3/node_modules/@smithy/util-endpoints/dist-cjs/index.js
16
- var require_dist_cjs4 = __commonJS((exports) => {
17
- var types = require_dist_cjs2();
18
-
19
- class EndpointCache {
20
- capacity;
21
- data = new Map;
22
- parameters = [];
23
- constructor({ size, params }) {
24
- this.capacity = size ?? 50;
25
- if (params) {
26
- this.parameters = params;
27
- }
28
- }
29
- get(endpointParams, resolver) {
30
- const key = this.hash(endpointParams);
31
- if (key === false) {
32
- return resolver();
33
- }
34
- if (!this.data.has(key)) {
35
- if (this.data.size > this.capacity + 10) {
36
- const keys = this.data.keys();
37
- let i = 0;
38
- while (true) {
39
- const { value, done } = keys.next();
40
- this.data.delete(value);
41
- if (done || ++i > 10) {
42
- break;
43
- }
44
- }
45
- }
46
- this.data.set(key, resolver());
47
- }
48
- return this.data.get(key);
49
- }
50
- size() {
51
- return this.data.size;
52
- }
53
- hash(endpointParams) {
54
- let buffer = "";
55
- const { parameters } = this;
56
- if (parameters.length === 0) {
57
- return false;
58
- }
59
- for (const param of parameters) {
60
- const val = String(endpointParams[param] ?? "");
61
- if (val.includes("|;")) {
62
- return false;
63
- }
64
- buffer += val + "|;";
65
- }
66
- return buffer;
67
- }
68
- }
69
- var IP_V4_REGEX = new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);
70
- var isIpAddress = (value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]");
71
- var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);
72
- var isValidHostLabel = (value, allowSubDomains = false) => {
73
- if (!allowSubDomains) {
74
- return VALID_HOST_LABEL_REGEX.test(value);
75
- }
76
- const labels = value.split(".");
77
- for (const label of labels) {
78
- if (!isValidHostLabel(label)) {
79
- return false;
80
- }
81
- }
82
- return true;
83
- };
84
- var customEndpointFunctions = {};
85
- var debugId = "endpoints";
86
- function toDebugString(input) {
87
- if (typeof input !== "object" || input == null) {
88
- return input;
89
- }
90
- if ("ref" in input) {
91
- return `$${toDebugString(input.ref)}`;
92
- }
93
- if ("fn" in input) {
94
- return `${input.fn}(${(input.argv || []).map(toDebugString).join(", ")})`;
95
- }
96
- return JSON.stringify(input, null, 2);
97
- }
98
-
99
- class EndpointError extends Error {
100
- constructor(message) {
101
- super(message);
102
- this.name = "EndpointError";
103
- }
104
- }
105
- var booleanEquals = (value1, value2) => value1 === value2;
106
- var getAttrPathList = (path) => {
107
- const parts = path.split(".");
108
- const pathList = [];
109
- for (const part of parts) {
110
- const squareBracketIndex = part.indexOf("[");
111
- if (squareBracketIndex !== -1) {
112
- if (part.indexOf("]") !== part.length - 1) {
113
- throw new EndpointError(`Path: '${path}' does not end with ']'`);
114
- }
115
- const arrayIndex = part.slice(squareBracketIndex + 1, -1);
116
- if (Number.isNaN(parseInt(arrayIndex))) {
117
- throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`);
118
- }
119
- if (squareBracketIndex !== 0) {
120
- pathList.push(part.slice(0, squareBracketIndex));
121
- }
122
- pathList.push(arrayIndex);
123
- } else {
124
- pathList.push(part);
125
- }
126
- }
127
- return pathList;
128
- };
129
- var getAttr = (value, path) => getAttrPathList(path).reduce((acc, index) => {
130
- if (typeof acc !== "object") {
131
- throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`);
132
- } else if (Array.isArray(acc)) {
133
- return acc[parseInt(index)];
134
- }
135
- return acc[index];
136
- }, value);
137
- var isSet = (value) => value != null;
138
- var not = (value) => !value;
139
- var DEFAULT_PORTS = {
140
- [types.EndpointURLScheme.HTTP]: 80,
141
- [types.EndpointURLScheme.HTTPS]: 443
142
- };
143
- var parseURL = (value) => {
144
- const whatwgURL = (() => {
145
- try {
146
- if (value instanceof URL) {
147
- return value;
148
- }
149
- if (typeof value === "object" && "hostname" in value) {
150
- const { hostname: hostname2, port, protocol: protocol2 = "", path = "", query = {} } = value;
151
- const url = new URL(`${protocol2}//${hostname2}${port ? `:${port}` : ""}${path}`);
152
- url.search = Object.entries(query).map(([k, v]) => `${k}=${v}`).join("&");
153
- return url;
154
- }
155
- return new URL(value);
156
- } catch (error) {
157
- return null;
158
- }
159
- })();
160
- if (!whatwgURL) {
161
- console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`);
162
- return null;
163
- }
164
- const urlString = whatwgURL.href;
165
- const { host, hostname, pathname, protocol, search } = whatwgURL;
166
- if (search) {
167
- return null;
168
- }
169
- const scheme = protocol.slice(0, -1);
170
- if (!Object.values(types.EndpointURLScheme).includes(scheme)) {
171
- return null;
172
- }
173
- const isIp = isIpAddress(hostname);
174
- const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) || typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`);
175
- const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`;
176
- return {
177
- scheme,
178
- authority,
179
- path: pathname,
180
- normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`,
181
- isIp
182
- };
183
- };
184
- var stringEquals = (value1, value2) => value1 === value2;
185
- var substring = (input, start, stop, reverse) => {
186
- if (start >= stop || input.length < stop || /[^\u0000-\u007f]/.test(input)) {
187
- return null;
188
- }
189
- if (!reverse) {
190
- return input.substring(start, stop);
191
- }
192
- return input.substring(input.length - stop, input.length - start);
193
- };
194
- var uriEncode = (value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`);
195
- var endpointFunctions = {
196
- booleanEquals,
197
- getAttr,
198
- isSet,
199
- isValidHostLabel,
200
- not,
201
- parseURL,
202
- stringEquals,
203
- substring,
204
- uriEncode
205
- };
206
- var evaluateTemplate = (template, options) => {
207
- const evaluatedTemplateArr = [];
208
- const templateContext = {
209
- ...options.endpointParams,
210
- ...options.referenceRecord
211
- };
212
- let currentIndex = 0;
213
- while (currentIndex < template.length) {
214
- const openingBraceIndex = template.indexOf("{", currentIndex);
215
- if (openingBraceIndex === -1) {
216
- evaluatedTemplateArr.push(template.slice(currentIndex));
217
- break;
218
- }
219
- evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex));
220
- const closingBraceIndex = template.indexOf("}", openingBraceIndex);
221
- if (closingBraceIndex === -1) {
222
- evaluatedTemplateArr.push(template.slice(openingBraceIndex));
223
- break;
224
- }
225
- if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") {
226
- evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex));
227
- currentIndex = closingBraceIndex + 2;
228
- }
229
- const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex);
230
- if (parameterName.includes("#")) {
231
- const [refName, attrName] = parameterName.split("#");
232
- evaluatedTemplateArr.push(getAttr(templateContext[refName], attrName));
233
- } else {
234
- evaluatedTemplateArr.push(templateContext[parameterName]);
235
- }
236
- currentIndex = closingBraceIndex + 1;
237
- }
238
- return evaluatedTemplateArr.join("");
239
- };
240
- var getReferenceValue = ({ ref }, options) => {
241
- const referenceRecord = {
242
- ...options.endpointParams,
243
- ...options.referenceRecord
244
- };
245
- return referenceRecord[ref];
246
- };
247
- var evaluateExpression = (obj, keyName, options) => {
248
- if (typeof obj === "string") {
249
- return evaluateTemplate(obj, options);
250
- } else if (obj["fn"]) {
251
- return group$2.callFunction(obj, options);
252
- } else if (obj["ref"]) {
253
- return getReferenceValue(obj, options);
254
- }
255
- throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`);
256
- };
257
- var callFunction = ({ fn, argv }, options) => {
258
- const evaluatedArgs = argv.map((arg) => ["boolean", "number"].includes(typeof arg) ? arg : group$2.evaluateExpression(arg, "arg", options));
259
- const fnSegments = fn.split(".");
260
- if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) {
261
- return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs);
262
- }
263
- return endpointFunctions[fn](...evaluatedArgs);
264
- };
265
- var group$2 = {
266
- evaluateExpression,
267
- callFunction
268
- };
269
- var evaluateCondition = ({ assign, ...fnArgs }, options) => {
270
- if (assign && assign in options.referenceRecord) {
271
- throw new EndpointError(`'${assign}' is already defined in Reference Record.`);
272
- }
273
- const value = callFunction(fnArgs, options);
274
- options.logger?.debug?.(`${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`);
275
- return {
276
- result: value === "" ? true : !!value,
277
- ...assign != null && { toAssign: { name: assign, value } }
278
- };
279
- };
280
- var evaluateConditions = (conditions = [], options) => {
281
- const conditionsReferenceRecord = {};
282
- for (const condition of conditions) {
283
- const { result, toAssign } = evaluateCondition(condition, {
284
- ...options,
285
- referenceRecord: {
286
- ...options.referenceRecord,
287
- ...conditionsReferenceRecord
288
- }
289
- });
290
- if (!result) {
291
- return { result };
292
- }
293
- if (toAssign) {
294
- conditionsReferenceRecord[toAssign.name] = toAssign.value;
295
- options.logger?.debug?.(`${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`);
296
- }
297
- }
298
- return { result: true, referenceRecord: conditionsReferenceRecord };
299
- };
300
- var getEndpointHeaders = (headers, options) => Object.entries(headers).reduce((acc, [headerKey, headerVal]) => ({
301
- ...acc,
302
- [headerKey]: headerVal.map((headerValEntry) => {
303
- const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options);
304
- if (typeof processedExpr !== "string") {
305
- throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`);
306
- }
307
- return processedExpr;
308
- })
309
- }), {});
310
- var getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => ({
311
- ...acc,
312
- [propertyKey]: group$1.getEndpointProperty(propertyVal, options)
313
- }), {});
314
- var getEndpointProperty = (property, options) => {
315
- if (Array.isArray(property)) {
316
- return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options));
317
- }
318
- switch (typeof property) {
319
- case "string":
320
- return evaluateTemplate(property, options);
321
- case "object":
322
- if (property === null) {
323
- throw new EndpointError(`Unexpected endpoint property: ${property}`);
324
- }
325
- return group$1.getEndpointProperties(property, options);
326
- case "boolean":
327
- return property;
328
- default:
329
- throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`);
330
- }
331
- };
332
- var group$1 = {
333
- getEndpointProperty,
334
- getEndpointProperties
335
- };
336
- var getEndpointUrl = (endpointUrl, options) => {
337
- const expression = evaluateExpression(endpointUrl, "Endpoint URL", options);
338
- if (typeof expression === "string") {
339
- try {
340
- return new URL(expression);
341
- } catch (error) {
342
- console.error(`Failed to construct URL with ${expression}`, error);
343
- throw error;
344
- }
345
- }
346
- throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`);
347
- };
348
- var evaluateEndpointRule = (endpointRule, options) => {
349
- const { conditions, endpoint } = endpointRule;
350
- const { result, referenceRecord } = evaluateConditions(conditions, options);
351
- if (!result) {
352
- return;
353
- }
354
- const endpointRuleOptions = {
355
- ...options,
356
- referenceRecord: { ...options.referenceRecord, ...referenceRecord }
357
- };
358
- const { url, properties, headers } = endpoint;
359
- options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
360
- return {
361
- ...headers != null && {
362
- headers: getEndpointHeaders(headers, endpointRuleOptions)
363
- },
364
- ...properties != null && {
365
- properties: getEndpointProperties(properties, endpointRuleOptions)
366
- },
367
- url: getEndpointUrl(url, endpointRuleOptions)
368
- };
369
- };
370
- var evaluateErrorRule = (errorRule, options) => {
371
- const { conditions, error } = errorRule;
372
- const { result, referenceRecord } = evaluateConditions(conditions, options);
373
- if (!result) {
374
- return;
375
- }
376
- throw new EndpointError(evaluateExpression(error, "Error", {
377
- ...options,
378
- referenceRecord: { ...options.referenceRecord, ...referenceRecord }
379
- }));
380
- };
381
- var evaluateRules = (rules, options) => {
382
- for (const rule of rules) {
383
- if (rule.type === "endpoint") {
384
- const endpointOrUndefined = evaluateEndpointRule(rule, options);
385
- if (endpointOrUndefined) {
386
- return endpointOrUndefined;
387
- }
388
- } else if (rule.type === "error") {
389
- evaluateErrorRule(rule, options);
390
- } else if (rule.type === "tree") {
391
- const endpointOrUndefined = group.evaluateTreeRule(rule, options);
392
- if (endpointOrUndefined) {
393
- return endpointOrUndefined;
394
- }
395
- } else {
396
- throw new EndpointError(`Unknown endpoint rule: ${rule}`);
397
- }
398
- }
399
- throw new EndpointError(`Rules evaluation failed`);
400
- };
401
- var evaluateTreeRule = (treeRule, options) => {
402
- const { conditions, rules } = treeRule;
403
- const { result, referenceRecord } = evaluateConditions(conditions, options);
404
- if (!result) {
405
- return;
406
- }
407
- return group.evaluateRules(rules, {
408
- ...options,
409
- referenceRecord: { ...options.referenceRecord, ...referenceRecord }
410
- });
411
- };
412
- var group = {
413
- evaluateRules,
414
- evaluateTreeRule
415
- };
416
- var resolveEndpoint = (ruleSetObject, options) => {
417
- const { endpointParams, logger } = options;
418
- const { parameters, rules } = ruleSetObject;
419
- options.logger?.debug?.(`${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`);
420
- const paramsWithDefault = Object.entries(parameters).filter(([, v]) => v.default != null).map(([k, v]) => [k, v.default]);
421
- if (paramsWithDefault.length > 0) {
422
- for (const [paramKey, paramDefaultValue] of paramsWithDefault) {
423
- endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue;
424
- }
425
- }
426
- const requiredParams = Object.entries(parameters).filter(([, v]) => v.required).map(([k]) => k);
427
- for (const requiredParam of requiredParams) {
428
- if (endpointParams[requiredParam] == null) {
429
- throw new EndpointError(`Missing required parameter: '${requiredParam}'`);
430
- }
431
- }
432
- const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} });
433
- options.logger?.debug?.(`${debugId} Resolved endpoint: ${toDebugString(endpoint)}`);
434
- return endpoint;
435
- };
436
- exports.EndpointCache = EndpointCache;
437
- exports.EndpointError = EndpointError;
438
- exports.customEndpointFunctions = customEndpointFunctions;
439
- exports.isIpAddress = isIpAddress;
440
- exports.isValidHostLabel = isValidHostLabel;
441
- exports.resolveEndpoint = resolveEndpoint;
442
- });
443
-
444
- // node_modules/.bun/@smithy+config-resolver@4.4.13/node_modules/@smithy/config-resolver/dist-cjs/index.js
445
- var require_dist_cjs5 = __commonJS((exports) => {
446
- var utilConfigProvider = require_dist_cjs();
447
- var utilMiddleware = require_dist_cjs3();
448
- var utilEndpoints = require_dist_cjs4();
449
- var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT";
450
- var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint";
451
- var DEFAULT_USE_DUALSTACK_ENDPOINT = false;
452
- var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = {
453
- environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),
454
- configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
455
- default: false
456
- };
457
- var nodeDualstackConfigSelectors = {
458
- environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.ENV),
459
- configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_DUALSTACK_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
460
- default: undefined
461
- };
462
- var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT";
463
- var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint";
464
- var DEFAULT_USE_FIPS_ENDPOINT = false;
465
- var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = {
466
- environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),
467
- configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
468
- default: false
469
- };
470
- var nodeFipsConfigSelectors = {
471
- environmentVariableSelector: (env) => utilConfigProvider.booleanSelector(env, ENV_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.ENV),
472
- configFileSelector: (profile) => utilConfigProvider.booleanSelector(profile, CONFIG_USE_FIPS_ENDPOINT, utilConfigProvider.SelectorType.CONFIG),
473
- default: undefined
474
- };
475
- var resolveCustomEndpointsConfig = (input) => {
476
- const { tls, endpoint, urlParser, useDualstackEndpoint } = input;
477
- return Object.assign(input, {
478
- tls: tls ?? true,
479
- endpoint: utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint),
480
- isCustomEndpoint: true,
481
- useDualstackEndpoint: utilMiddleware.normalizeProvider(useDualstackEndpoint ?? false)
482
- });
483
- };
484
- var getEndpointFromRegion = async (input) => {
485
- const { tls = true } = input;
486
- const region = await input.region();
487
- const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);
488
- if (!dnsHostRegex.test(region)) {
489
- throw new Error("Invalid region in client config");
490
- }
491
- const useDualstackEndpoint = await input.useDualstackEndpoint();
492
- const useFipsEndpoint = await input.useFipsEndpoint();
493
- const { hostname } = await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint }) ?? {};
494
- if (!hostname) {
495
- throw new Error("Cannot resolve hostname from client config");
496
- }
497
- return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`);
498
- };
499
- var resolveEndpointsConfig = (input) => {
500
- const useDualstackEndpoint = utilMiddleware.normalizeProvider(input.useDualstackEndpoint ?? false);
501
- const { endpoint, useFipsEndpoint, urlParser, tls } = input;
502
- return Object.assign(input, {
503
- tls: tls ?? true,
504
- endpoint: endpoint ? utilMiddleware.normalizeProvider(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }),
505
- isCustomEndpoint: !!endpoint,
506
- useDualstackEndpoint
507
- });
508
- };
509
- var REGION_ENV_NAME = "AWS_REGION";
510
- var REGION_INI_NAME = "region";
511
- var NODE_REGION_CONFIG_OPTIONS = {
512
- environmentVariableSelector: (env) => env[REGION_ENV_NAME],
513
- configFileSelector: (profile) => profile[REGION_INI_NAME],
514
- default: () => {
515
- throw new Error("Region is missing");
516
- }
517
- };
518
- var NODE_REGION_CONFIG_FILE_OPTIONS = {
519
- preferredFile: "credentials"
520
- };
521
- var validRegions = new Set;
522
- var checkRegion = (region, check = utilEndpoints.isValidHostLabel) => {
523
- if (!validRegions.has(region) && !check(region)) {
524
- if (region === "*") {
525
- console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);
526
- } else {
527
- throw new Error(`Region not accepted: region="${region}" is not a valid hostname component.`);
528
- }
529
- } else {
530
- validRegions.add(region);
531
- }
532
- };
533
- var isFipsRegion = (region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips"));
534
- var getRealRegion = (region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region;
535
- var resolveRegionConfig = (input) => {
536
- const { region, useFipsEndpoint } = input;
537
- if (!region) {
538
- throw new Error("Region is missing");
539
- }
540
- return Object.assign(input, {
541
- region: async () => {
542
- const providedRegion = typeof region === "function" ? await region() : region;
543
- const realRegion = getRealRegion(providedRegion);
544
- checkRegion(realRegion);
545
- return realRegion;
546
- },
547
- useFipsEndpoint: async () => {
548
- const providedRegion = typeof region === "string" ? region : await region();
549
- if (isFipsRegion(providedRegion)) {
550
- return true;
551
- }
552
- return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
553
- }
554
- });
555
- };
556
- var getHostnameFromVariants = (variants = [], { useFipsEndpoint, useDualstackEndpoint }) => variants.find(({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack"))?.hostname;
557
- var getResolvedHostname = (resolvedRegion, { regionHostname, partitionHostname }) => regionHostname ? regionHostname : partitionHostname ? partitionHostname.replace("{region}", resolvedRegion) : undefined;
558
- var getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws";
559
- var getResolvedSigningRegion = (hostname, { signingRegion, regionRegex, useFipsEndpoint }) => {
560
- if (signingRegion) {
561
- return signingRegion;
562
- } else if (useFipsEndpoint) {
563
- const regionRegexJs = regionRegex.replace("\\\\", "\\").replace(/^\^/g, "\\.").replace(/\$$/g, "\\.");
564
- const regionRegexmatchArray = hostname.match(regionRegexJs);
565
- if (regionRegexmatchArray) {
566
- return regionRegexmatchArray[0].slice(1, -1);
567
- }
568
- }
569
- };
570
- var getRegionInfo = (region, { useFipsEndpoint = false, useDualstackEndpoint = false, signingService, regionHash, partitionHash }) => {
571
- const partition = getResolvedPartition(region, { partitionHash });
572
- const resolvedRegion = region in regionHash ? region : partitionHash[partition]?.endpoint ?? region;
573
- const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint };
574
- const regionHostname = getHostnameFromVariants(regionHash[resolvedRegion]?.variants, hostnameOptions);
575
- const partitionHostname = getHostnameFromVariants(partitionHash[partition]?.variants, hostnameOptions);
576
- const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname });
577
- if (hostname === undefined) {
578
- throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`);
579
- }
580
- const signingRegion = getResolvedSigningRegion(hostname, {
581
- signingRegion: regionHash[resolvedRegion]?.signingRegion,
582
- regionRegex: partitionHash[partition].regionRegex,
583
- useFipsEndpoint
584
- });
585
- return {
586
- partition,
587
- signingService,
588
- hostname,
589
- ...signingRegion && { signingRegion },
590
- ...regionHash[resolvedRegion]?.signingService && {
591
- signingService: regionHash[resolvedRegion].signingService
592
- }
593
- };
594
- };
595
- exports.CONFIG_USE_DUALSTACK_ENDPOINT = CONFIG_USE_DUALSTACK_ENDPOINT;
596
- exports.CONFIG_USE_FIPS_ENDPOINT = CONFIG_USE_FIPS_ENDPOINT;
597
- exports.DEFAULT_USE_DUALSTACK_ENDPOINT = DEFAULT_USE_DUALSTACK_ENDPOINT;
598
- exports.DEFAULT_USE_FIPS_ENDPOINT = DEFAULT_USE_FIPS_ENDPOINT;
599
- exports.ENV_USE_DUALSTACK_ENDPOINT = ENV_USE_DUALSTACK_ENDPOINT;
600
- exports.ENV_USE_FIPS_ENDPOINT = ENV_USE_FIPS_ENDPOINT;
601
- exports.NODE_REGION_CONFIG_FILE_OPTIONS = NODE_REGION_CONFIG_FILE_OPTIONS;
602
- exports.NODE_REGION_CONFIG_OPTIONS = NODE_REGION_CONFIG_OPTIONS;
603
- exports.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS;
604
- exports.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS;
605
- exports.REGION_ENV_NAME = REGION_ENV_NAME;
606
- exports.REGION_INI_NAME = REGION_INI_NAME;
607
- exports.getRegionInfo = getRegionInfo;
608
- exports.nodeDualstackConfigSelectors = nodeDualstackConfigSelectors;
609
- exports.nodeFipsConfigSelectors = nodeFipsConfigSelectors;
610
- exports.resolveCustomEndpointsConfig = resolveCustomEndpointsConfig;
611
- exports.resolveEndpointsConfig = resolveEndpointsConfig;
612
- exports.resolveRegionConfig = resolveRegionConfig;
613
- });
614
-
615
- export { require_dist_cjs4 as require_dist_cjs, require_dist_cjs5 as require_dist_cjs1 };