@zyycn/claudex 1.0.3-fork.1453470

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 (454) hide show
  1. package/LICENSE.md +5 -0
  2. package/README.md +490 -0
  3. package/bin/claudex.js +40 -0
  4. package/dist/chunk-00xcm9ma.js +21933 -0
  5. package/dist/chunk-06saje2v.js +39 -0
  6. package/dist/chunk-0731m51q.js +8 -0
  7. package/dist/chunk-07q1ebdc.js +1581 -0
  8. package/dist/chunk-0cm1btdy.js +258 -0
  9. package/dist/chunk-0m99m848.js +674 -0
  10. package/dist/chunk-0paqc2yw.js +15 -0
  11. package/dist/chunk-0q2xkmse.js +58 -0
  12. package/dist/chunk-0vkfrmqm.js +690 -0
  13. package/dist/chunk-0xjaqda8.js +1124 -0
  14. package/dist/chunk-104enera.js +2838 -0
  15. package/dist/chunk-1141xmr4.js +8 -0
  16. package/dist/chunk-14as9yqj.js +287 -0
  17. package/dist/chunk-14jv3jm7.js +17 -0
  18. package/dist/chunk-1601tsaf.js +6109 -0
  19. package/dist/chunk-197dj5s7.js +275 -0
  20. package/dist/chunk-1ax9sgfe.js +107 -0
  21. package/dist/chunk-1cbn5kxf.js +7 -0
  22. package/dist/chunk-1dagmjxx.js +496 -0
  23. package/dist/chunk-1e0rncz4.js +440 -0
  24. package/dist/chunk-1h2famwb.js +49 -0
  25. package/dist/chunk-1hr1qamm.js +347 -0
  26. package/dist/chunk-1q1et22j.js +164 -0
  27. package/dist/chunk-1vh98qr0.js +4521 -0
  28. package/dist/chunk-1xkekb9y.js +19 -0
  29. package/dist/chunk-218tsjb7.js +2644 -0
  30. package/dist/chunk-238g70xa.js +36 -0
  31. package/dist/chunk-27xc1csx.js +104 -0
  32. package/dist/chunk-29pk8qx4.js +2336 -0
  33. package/dist/chunk-2a42s11t.js +412 -0
  34. package/dist/chunk-2eykm0j0.js +20 -0
  35. package/dist/chunk-2fwze72g.js +24 -0
  36. package/dist/chunk-2gzv8nrw.js +205 -0
  37. package/dist/chunk-2k995y2x.js +880 -0
  38. package/dist/chunk-2nayx6q1.js +63 -0
  39. package/dist/chunk-2t1frg13.js +716 -0
  40. package/dist/chunk-2t3vw4tx.js +22820 -0
  41. package/dist/chunk-2tvta4r1.js +276 -0
  42. package/dist/chunk-30rst83v.js +168 -0
  43. package/dist/chunk-357zqad6.js +85 -0
  44. package/dist/chunk-36nhmzjx.js +71 -0
  45. package/dist/chunk-3803xm8e.js +10476 -0
  46. package/dist/chunk-38700exh.js +42 -0
  47. package/dist/chunk-3c25bcsw.js +17 -0
  48. package/dist/chunk-3h8a89gy.js +46 -0
  49. package/dist/chunk-3jdqfdj5.js +93 -0
  50. package/dist/chunk-3jmv6cad.js +91 -0
  51. package/dist/chunk-3kgnmgyg.js +173 -0
  52. package/dist/chunk-3nk79af8.js +8 -0
  53. package/dist/chunk-3peatsdv.js +41 -0
  54. package/dist/chunk-3tqnjgfx.js +16415 -0
  55. package/dist/chunk-3vs3nm7w.js +31 -0
  56. package/dist/chunk-3w6s9m5w.js +16 -0
  57. package/dist/chunk-3z6xe0z5.js +159 -0
  58. package/dist/chunk-41rz4mzb.js +277 -0
  59. package/dist/chunk-41z3jj0a.js +56 -0
  60. package/dist/chunk-44fpr6jq.js +434 -0
  61. package/dist/chunk-4955sd1a.js +94 -0
  62. package/dist/chunk-495d85x1.js +8066 -0
  63. package/dist/chunk-4av3760g.js +128 -0
  64. package/dist/chunk-4b16ycde.js +268 -0
  65. package/dist/chunk-4bjnawcq.js +301 -0
  66. package/dist/chunk-4g3v8y12.js +23 -0
  67. package/dist/chunk-4jm600zv.js +13 -0
  68. package/dist/chunk-4kheks3z.js +513 -0
  69. package/dist/chunk-4m4hyh1h.js +162 -0
  70. package/dist/chunk-4qz9vbs1.js +349 -0
  71. package/dist/chunk-4rs8bmvr.js +196 -0
  72. package/dist/chunk-4tskdppn.js +281 -0
  73. package/dist/chunk-4vp8gkjg.js +400 -0
  74. package/dist/chunk-4zfkzkt6.js +37 -0
  75. package/dist/chunk-526cgeb7.js +61 -0
  76. package/dist/chunk-55wgxwa9.js +13877 -0
  77. package/dist/chunk-56jgazae.js +28 -0
  78. package/dist/chunk-58ehr4xs.js +459 -0
  79. package/dist/chunk-5h0tb1wb.js +91 -0
  80. package/dist/chunk-5r0rd14p.js +522 -0
  81. package/dist/chunk-5t7kf175.js +40 -0
  82. package/dist/chunk-61awbwy1.js +648 -0
  83. package/dist/chunk-65s8h28p.js +123 -0
  84. package/dist/chunk-68zrgehv.js +120 -0
  85. package/dist/chunk-6b1fr6n7.js +117 -0
  86. package/dist/chunk-6bd8brc4.js +48 -0
  87. package/dist/chunk-6dj5t602.js +341 -0
  88. package/dist/chunk-6gr3c3w9.js +378 -0
  89. package/dist/chunk-6gz76344.js +1493 -0
  90. package/dist/chunk-6jcffd48.js +643 -0
  91. package/dist/chunk-6mjm0xrg.js +253 -0
  92. package/dist/chunk-6mtvk568.js +89 -0
  93. package/dist/chunk-6n2qgm9v.js +8 -0
  94. package/dist/chunk-6n3ckbjv.js +348 -0
  95. package/dist/chunk-6nwxg1wn.js +40 -0
  96. package/dist/chunk-6p1yy212.js +779 -0
  97. package/dist/chunk-6r1adgey.js +109 -0
  98. package/dist/chunk-6s43cqmc.js +420 -0
  99. package/dist/chunk-6tq2v3rk.js +186 -0
  100. package/dist/chunk-730qrdey.js +173526 -0
  101. package/dist/chunk-73rpbt04.js +1947 -0
  102. package/dist/chunk-75pprgct.js +165 -0
  103. package/dist/chunk-760252na.js +101 -0
  104. package/dist/chunk-7739pg2c.js +4261 -0
  105. package/dist/chunk-77b9hpzq.js +373 -0
  106. package/dist/chunk-7aw745vx.js +40175 -0
  107. package/dist/chunk-7cgwfdew.js +225 -0
  108. package/dist/chunk-7e0f3syh.js +458 -0
  109. package/dist/chunk-7e6ahfxz.js +61 -0
  110. package/dist/chunk-7jakcwb2.js +3445 -0
  111. package/dist/chunk-7kky1hfh.js +92 -0
  112. package/dist/chunk-7m2nd8da.js +110 -0
  113. package/dist/chunk-7q237ftq.js +1585 -0
  114. package/dist/chunk-7tkfa40b.js +790 -0
  115. package/dist/chunk-7v6gz550.js +849 -0
  116. package/dist/chunk-7wm5s02e.js +216 -0
  117. package/dist/chunk-7x11xrtw.js +38 -0
  118. package/dist/chunk-7xyswgjh.js +8 -0
  119. package/dist/chunk-7zaxrfnt.js +42 -0
  120. package/dist/chunk-7zbnzxqn.js +116 -0
  121. package/dist/chunk-7zd6zng2.js +107 -0
  122. package/dist/chunk-83hfzbx3.js +10 -0
  123. package/dist/chunk-87ffvh11.js +105 -0
  124. package/dist/chunk-899qbava.js +107 -0
  125. package/dist/chunk-8bedvdm1.js +32 -0
  126. package/dist/chunk-8c94hy8y.js +123 -0
  127. package/dist/chunk-8ew3mqvp.js +153 -0
  128. package/dist/chunk-8hq5kk3y.js +44 -0
  129. package/dist/chunk-8jq0b9dd.js +2057 -0
  130. package/dist/chunk-8tnsngw2.js +31 -0
  131. package/dist/chunk-8x3n4n3s.js +1551 -0
  132. package/dist/chunk-8y12jxg8.js +10 -0
  133. package/dist/chunk-8ymf4e6z.js +48 -0
  134. package/dist/chunk-90wp6wez.js +10510 -0
  135. package/dist/chunk-926wns55.js +127 -0
  136. package/dist/chunk-9aqjhv75.js +604 -0
  137. package/dist/chunk-9btg8g3w.js +111 -0
  138. package/dist/chunk-9dk9pm7z.js +87 -0
  139. package/dist/chunk-9gbamk79.js +93 -0
  140. package/dist/chunk-9k27xdmg.js +542 -0
  141. package/dist/chunk-9k2drwej.js +106 -0
  142. package/dist/chunk-9x5zgy22.js +12 -0
  143. package/dist/chunk-9zg3gwdm.js +41634 -0
  144. package/dist/chunk-a064vv85.js +674 -0
  145. package/dist/chunk-a1gt3qge.js +328 -0
  146. package/dist/chunk-a8ejc632.js +3094 -0
  147. package/dist/chunk-a9vdeb6y.js +258 -0
  148. package/dist/chunk-a9zh40sj.js +48 -0
  149. package/dist/chunk-adhxmj22.js +86 -0
  150. package/dist/chunk-af8a6k9v.js +195 -0
  151. package/dist/chunk-ahcsxfaq.js +812 -0
  152. package/dist/chunk-ar1vk71q.js +220 -0
  153. package/dist/chunk-atz9g9e3.js +160 -0
  154. package/dist/chunk-b0b9ky2w.js +87 -0
  155. package/dist/chunk-b4wg70y1.js +54 -0
  156. package/dist/chunk-b75fzr8e.js +969 -0
  157. package/dist/chunk-b7ab6apt.js +98 -0
  158. package/dist/chunk-b7cywkg9.js +908 -0
  159. package/dist/chunk-b89h5a6c.js +269 -0
  160. package/dist/chunk-b8x1gk3y.js +1299 -0
  161. package/dist/chunk-b9kme9pv.js +38 -0
  162. package/dist/chunk-bfw2dvsc.js +654 -0
  163. package/dist/chunk-bha97m81.js +267 -0
  164. package/dist/chunk-bjqw6798.js +328 -0
  165. package/dist/chunk-bm1qb16p.js +17 -0
  166. package/dist/chunk-bq49tmzw.js +642 -0
  167. package/dist/chunk-bqfnp99q.js +477 -0
  168. package/dist/chunk-bsst5zkx.js +534 -0
  169. package/dist/chunk-bvp4dgm4.js +182 -0
  170. package/dist/chunk-bxxg6sdr.js +176 -0
  171. package/dist/chunk-bzdmqgbz.js +106 -0
  172. package/dist/chunk-c0383q54.js +1873 -0
  173. package/dist/chunk-c6pqnmxz.js +92 -0
  174. package/dist/chunk-c84cgat5.js +692 -0
  175. package/dist/chunk-c88ad6hr.js +54 -0
  176. package/dist/chunk-cb9fgtbm.js +726 -0
  177. package/dist/chunk-cdz5yb0r.js +57 -0
  178. package/dist/chunk-cfkzkjn9.js +745 -0
  179. package/dist/chunk-cfmxfyg6.js +224 -0
  180. package/dist/chunk-cfv996bs.js +22 -0
  181. package/dist/chunk-cgfdkzhb.js +12 -0
  182. package/dist/chunk-cheg55f3.js +605 -0
  183. package/dist/chunk-cq8s6gda.js +54 -0
  184. package/dist/chunk-cr3259a6.js +756 -0
  185. package/dist/chunk-cvkdw06a.js +752 -0
  186. package/dist/chunk-cx75kdrc.js +47 -0
  187. package/dist/chunk-czensfac.js +476 -0
  188. package/dist/chunk-d3js9jm5.js +281 -0
  189. package/dist/chunk-d9kz373t.js +122 -0
  190. package/dist/chunk-db4echta.js +98 -0
  191. package/dist/chunk-dbew99r4.js +318 -0
  192. package/dist/chunk-dbzgpyb7.js +3418 -0
  193. package/dist/chunk-dbzm0jxw.js +66 -0
  194. package/dist/chunk-dgqrcy74.js +48 -0
  195. package/dist/chunk-dnh7jtpb.js +37 -0
  196. package/dist/chunk-ds5nkfg0.js +1095 -0
  197. package/dist/chunk-dstxhxsx.js +121 -0
  198. package/dist/chunk-dv1wfr85.js +6373 -0
  199. package/dist/chunk-e5pntxye.js +37 -0
  200. package/dist/chunk-eebcvtbb.js +1646 -0
  201. package/dist/chunk-ehtwnxpg.js +1591 -0
  202. package/dist/chunk-enpkjp09.js +202 -0
  203. package/dist/chunk-enqchn86.js +229 -0
  204. package/dist/chunk-eqp1rfft.js +17 -0
  205. package/dist/chunk-etamtd56.js +167 -0
  206. package/dist/chunk-evb24rwp.js +469 -0
  207. package/dist/chunk-evgp57w2.js +69 -0
  208. package/dist/chunk-ewadzrm8.js +103 -0
  209. package/dist/chunk-ezf1ppbj.js +208 -0
  210. package/dist/chunk-f5ma3nh5.js +3436 -0
  211. package/dist/chunk-f6tfp1jv.js +115 -0
  212. package/dist/chunk-fbpftpf0.js +69 -0
  213. package/dist/chunk-fbv4apne.js +51 -0
  214. package/dist/chunk-fgebe8s1.js +119 -0
  215. package/dist/chunk-fh2tsdgg.js +83 -0
  216. package/dist/chunk-fyc5fepv.js +10 -0
  217. package/dist/chunk-fz0qs5hv.js +196 -0
  218. package/dist/chunk-g0j0t6qk.js +26 -0
  219. package/dist/chunk-g10m43cg.js +713 -0
  220. package/dist/chunk-g338npwr.js +1061 -0
  221. package/dist/chunk-g3jde8ef.js +99 -0
  222. package/dist/chunk-g3t0act8.js +8 -0
  223. package/dist/chunk-g4he0n52.js +527 -0
  224. package/dist/chunk-g5az2c6a.js +155 -0
  225. package/dist/chunk-g97qe5j6.js +90 -0
  226. package/dist/chunk-gdr19kp1.js +802 -0
  227. package/dist/chunk-gmaybtrd.js +726 -0
  228. package/dist/chunk-gqp7j1pk.js +283 -0
  229. package/dist/chunk-gshz06b1.js +5398 -0
  230. package/dist/chunk-gv0tqhg0.js +118 -0
  231. package/dist/chunk-gvhssfc5.js +155 -0
  232. package/dist/chunk-gy0rcgj2.js +9194 -0
  233. package/dist/chunk-gyj242zr.js +20 -0
  234. package/dist/chunk-gzzfhtdv.js +7189 -0
  235. package/dist/chunk-h0qngp9w.js +157 -0
  236. package/dist/chunk-h0rbjg6x.js +55 -0
  237. package/dist/chunk-hakdhagh.js +16606 -0
  238. package/dist/chunk-hh7cmy4k.js +20 -0
  239. package/dist/chunk-hjakzpqc.js +70 -0
  240. package/dist/chunk-hk9xz7gk.js +118 -0
  241. package/dist/chunk-hqmz36b3.js +552 -0
  242. package/dist/chunk-hzhe8ygc.js +547 -0
  243. package/dist/chunk-j2k4p94p.js +55 -0
  244. package/dist/chunk-j3a4p81y.js +184 -0
  245. package/dist/chunk-j4fb0y95.js +247 -0
  246. package/dist/chunk-j5hc27hv.js +444 -0
  247. package/dist/chunk-j64ga6ta.js +8035 -0
  248. package/dist/chunk-j8xzqet7.js +116 -0
  249. package/dist/chunk-jc8jhcwz.js +198 -0
  250. package/dist/chunk-jce5r25x.js +18 -0
  251. package/dist/chunk-jcnp9j3v.js +1154 -0
  252. package/dist/chunk-jd32zbps.js +15 -0
  253. package/dist/chunk-jdgeec04.js +4249 -0
  254. package/dist/chunk-jhbnb87k.js +26 -0
  255. package/dist/chunk-jhyqz4ns.js +1556 -0
  256. package/dist/chunk-jnhkref0.js +30 -0
  257. package/dist/chunk-jpp9dqv4.js +6956 -0
  258. package/dist/chunk-jw9hq3rg.js +702 -0
  259. package/dist/chunk-jx817w05.js +11 -0
  260. package/dist/chunk-jzhcme7n.js +1318 -0
  261. package/dist/chunk-jzmz18nn.js +65 -0
  262. package/dist/chunk-k0p9w03v.js +4957 -0
  263. package/dist/chunk-k2aj61ee.js +27 -0
  264. package/dist/chunk-k4sev2n6.js +28 -0
  265. package/dist/chunk-k7k2y0qv.js +469 -0
  266. package/dist/chunk-kgf50mqk.js +60 -0
  267. package/dist/chunk-kjcfwnj1.js +247 -0
  268. package/dist/chunk-kjtm8wb0.js +95 -0
  269. package/dist/chunk-knzevfpr.js +229 -0
  270. package/dist/chunk-krw2vdg2.js +44 -0
  271. package/dist/chunk-kwekc97v.js +18 -0
  272. package/dist/chunk-kz5tvd47.js +212 -0
  273. package/dist/chunk-m67n5wzy.js +61 -0
  274. package/dist/chunk-m94gp2rw.js +5019 -0
  275. package/dist/chunk-mdz0t7r4.js +89 -0
  276. package/dist/chunk-mmmjegxm.js +184 -0
  277. package/dist/chunk-mncjx567.js +53 -0
  278. package/dist/chunk-mt25echc.js +6157 -0
  279. package/dist/chunk-mtcm9j6q.js +644 -0
  280. package/dist/chunk-myh82e4t.js +244 -0
  281. package/dist/chunk-n0qaeaa5.js +256 -0
  282. package/dist/chunk-n18624dq.js +131 -0
  283. package/dist/chunk-n1gcz9xn.js +103 -0
  284. package/dist/chunk-n1h5c74g.js +307 -0
  285. package/dist/chunk-n1pva86g.js +133 -0
  286. package/dist/chunk-n60m0dep.js +584 -0
  287. package/dist/chunk-n6gk18y0.js +250 -0
  288. package/dist/chunk-n7ttdtk0.js +641 -0
  289. package/dist/chunk-n8326eqb.js +655 -0
  290. package/dist/chunk-ndmk8yet.js +222 -0
  291. package/dist/chunk-nh4bndav.js +74 -0
  292. package/dist/chunk-nj0xc01y.js +90 -0
  293. package/dist/chunk-nj17bhkh.js +125 -0
  294. package/dist/chunk-nka1g8f4.js +773 -0
  295. package/dist/chunk-nm970nr7.js +145 -0
  296. package/dist/chunk-nmw6qveb.js +101 -0
  297. package/dist/chunk-nq0fxyxh.js +752 -0
  298. package/dist/chunk-nsw7n8c5.js +246 -0
  299. package/dist/chunk-nt837qt9.js +21 -0
  300. package/dist/chunk-nw5xe0mg.js +130 -0
  301. package/dist/chunk-nwsmn6zm.js +15 -0
  302. package/dist/chunk-nyefvg0p.js +105 -0
  303. package/dist/chunk-p2816w9z.js +1486 -0
  304. package/dist/chunk-p2d5nh3g.js +342 -0
  305. package/dist/chunk-p331ghzg.js +391 -0
  306. package/dist/chunk-p5x1s3vx.js +93 -0
  307. package/dist/chunk-p81favnw.js +62 -0
  308. package/dist/chunk-pe2yzwmw.js +102 -0
  309. package/dist/chunk-pe6w0anj.js +780 -0
  310. package/dist/chunk-pgjc4ya7.js +177 -0
  311. package/dist/chunk-pmsp9ed2.js +34 -0
  312. package/dist/chunk-ppwjyveh.js +8 -0
  313. package/dist/chunk-ps49ymvj.js +43 -0
  314. package/dist/chunk-ps540063.js +826 -0
  315. package/dist/chunk-ptvb90nk.js +90 -0
  316. package/dist/chunk-pwwa7s62.js +11 -0
  317. package/dist/chunk-pxdkbxs2.js +97 -0
  318. package/dist/chunk-py5y9jh1.js +38 -0
  319. package/dist/chunk-pym4ctcb.js +376 -0
  320. package/dist/chunk-pza5nphx.js +698 -0
  321. package/dist/chunk-q0sq5qtt.js +606 -0
  322. package/dist/chunk-q25bjaev.js +15 -0
  323. package/dist/chunk-q2rb0hsc.js +192 -0
  324. package/dist/chunk-q7bxdsfd.js +22 -0
  325. package/dist/chunk-qbt1tq74.js +145 -0
  326. package/dist/chunk-qhqhf88n.js +130 -0
  327. package/dist/chunk-qnfx3qtx.js +617 -0
  328. package/dist/chunk-qp2qdcda.js +100 -0
  329. package/dist/chunk-qp869k8g.js +69 -0
  330. package/dist/chunk-qpkz2rcx.js +83 -0
  331. package/dist/chunk-qqfa0dqg.js +2343 -0
  332. package/dist/chunk-qw8vnxtf.js +169 -0
  333. package/dist/chunk-qx65dt48.js +299 -0
  334. package/dist/chunk-qz2x630m.js +49145 -0
  335. package/dist/chunk-r12gdn3d.js +99 -0
  336. package/dist/chunk-r4dttv31.js +71 -0
  337. package/dist/chunk-r6b58y3x.js +17 -0
  338. package/dist/chunk-r9me94js.js +84 -0
  339. package/dist/chunk-r9r8nt97.js +765 -0
  340. package/dist/chunk-raqgs410.js +116 -0
  341. package/dist/chunk-re8evv5h.js +216 -0
  342. package/dist/chunk-res15ktd.js +18 -0
  343. package/dist/chunk-rhxgs39k.js +208 -0
  344. package/dist/chunk-rn0v1hk8.js +34 -0
  345. package/dist/chunk-rtgznsee.js +43 -0
  346. package/dist/chunk-rv01ch9w.js +117 -0
  347. package/dist/chunk-rwbhn5vg.js +120 -0
  348. package/dist/chunk-rysbfwvp.js +849 -0
  349. package/dist/chunk-s3pzvdss.js +50 -0
  350. package/dist/chunk-s66y2n3j.js +94 -0
  351. package/dist/chunk-samn3teq.js +998 -0
  352. package/dist/chunk-sbbj6ta3.js +1711 -0
  353. package/dist/chunk-sd36yzx8.js +954 -0
  354. package/dist/chunk-sd92cfq6.js +71 -0
  355. package/dist/chunk-sdj9b9wh.js +782 -0
  356. package/dist/chunk-shb6nvk6.js +27 -0
  357. package/dist/chunk-skbaxc8w.js +266 -0
  358. package/dist/chunk-sm5gbd0n.js +93 -0
  359. package/dist/chunk-sm7pm2be.js +114 -0
  360. package/dist/chunk-sp1beegb.js +24 -0
  361. package/dist/chunk-sw7ramwg.js +333 -0
  362. package/dist/chunk-swg7z17h.js +40 -0
  363. package/dist/chunk-szj5wvdy.js +28 -0
  364. package/dist/chunk-t0rgmccj.js +39 -0
  365. package/dist/chunk-t3360k46.js +75 -0
  366. package/dist/chunk-te2byqrn.js +265 -0
  367. package/dist/chunk-tggpkxkz.js +463 -0
  368. package/dist/chunk-tj6kpqkn.js +338 -0
  369. package/dist/chunk-tjk56vh8.js +81 -0
  370. package/dist/chunk-tn9vdsk8.js +42 -0
  371. package/dist/chunk-tnkpg5zy.js +96 -0
  372. package/dist/chunk-tp1jevns.js +88 -0
  373. package/dist/chunk-ts2p6bv1.js +224 -0
  374. package/dist/chunk-ttk5dzz8.js +25 -0
  375. package/dist/chunk-tw1qdn17.js +273 -0
  376. package/dist/chunk-v0kjwb0t.js +432 -0
  377. package/dist/chunk-v0zymd55.js +97 -0
  378. package/dist/chunk-v19nxarv.js +145 -0
  379. package/dist/chunk-v1kzp02e.js +785 -0
  380. package/dist/chunk-v2ezs6e1.js +102 -0
  381. package/dist/chunk-v3m9g5sk.js +5954 -0
  382. package/dist/chunk-v78fj8by.js +145 -0
  383. package/dist/chunk-v7n7nnwc.js +63 -0
  384. package/dist/chunk-v90xv5n9.js +157 -0
  385. package/dist/chunk-v9g1vkw6.js +490 -0
  386. package/dist/chunk-v9smspw2.js +4301 -0
  387. package/dist/chunk-vaangq3b.js +91 -0
  388. package/dist/chunk-vav0bknn.js +3205 -0
  389. package/dist/chunk-vd3bb2zh.js +173 -0
  390. package/dist/chunk-vest0y6x.js +3830 -0
  391. package/dist/chunk-vf5sd1nq.js +12 -0
  392. package/dist/chunk-vfkbphk7.js +110 -0
  393. package/dist/chunk-vfz0cnrr.js +538 -0
  394. package/dist/chunk-vhjx5fag.js +56 -0
  395. package/dist/chunk-vm90ex8p.js +87 -0
  396. package/dist/chunk-vn4hnzzj.js +1391 -0
  397. package/dist/chunk-vnhf95xv.js +1921 -0
  398. package/dist/chunk-vqk1n5qr.js +63 -0
  399. package/dist/chunk-vqv555ym.js +154 -0
  400. package/dist/chunk-vqvd3qz0.js +151 -0
  401. package/dist/chunk-vry2drqk.js +3059 -0
  402. package/dist/chunk-vwtd8nde.js +154 -0
  403. package/dist/chunk-vx361530.js +1015 -0
  404. package/dist/chunk-vyjeh50y.js +2149 -0
  405. package/dist/chunk-w100pzs6.js +41 -0
  406. package/dist/chunk-wfz0qffj.js +3939 -0
  407. package/dist/chunk-wg4dbja0.js +472 -0
  408. package/dist/chunk-wgcssf6v.js +722 -0
  409. package/dist/chunk-wgx66wsj.js +79 -0
  410. package/dist/chunk-wn0553ta.js +566 -0
  411. package/dist/chunk-wn2268qd.js +335 -0
  412. package/dist/chunk-wnd5166q.js +32 -0
  413. package/dist/chunk-wrhhmkf7.js +16 -0
  414. package/dist/chunk-wsswrgqp.js +339 -0
  415. package/dist/chunk-wx6ww2hs.js +89 -0
  416. package/dist/chunk-wzpdet3m.js +843 -0
  417. package/dist/chunk-x6r4v44b.js +8 -0
  418. package/dist/chunk-x8b7vft8.js +132 -0
  419. package/dist/chunk-xbtacp2f.js +4389 -0
  420. package/dist/chunk-xfxyj6qk.js +79 -0
  421. package/dist/chunk-xq4cfvpn.js +213 -0
  422. package/dist/chunk-xsq9ae7x.js +90 -0
  423. package/dist/chunk-xszk7n10.js +14358 -0
  424. package/dist/chunk-xv3era3s.js +8 -0
  425. package/dist/chunk-y1784krc.js +19 -0
  426. package/dist/chunk-y2ymcvfg.js +287 -0
  427. package/dist/chunk-y3kmy2bv.js +306 -0
  428. package/dist/chunk-y43rmrar.js +438 -0
  429. package/dist/chunk-ya2a18ws.js +59 -0
  430. package/dist/chunk-ybcvr9fg.js +73 -0
  431. package/dist/chunk-ybe68nyc.js +387 -0
  432. package/dist/chunk-yqddvpyv.js +100 -0
  433. package/dist/chunk-yr403t45.js +140 -0
  434. package/dist/chunk-ys4nx5va.js +90 -0
  435. package/dist/chunk-ysvwcdav.js +9300 -0
  436. package/dist/chunk-ytvzxnx2.js +862 -0
  437. package/dist/chunk-ywxd4qw4.js +22 -0
  438. package/dist/chunk-yysj6sxt.js +336 -0
  439. package/dist/chunk-z21fwesz.js +32 -0
  440. package/dist/chunk-z2dp53wn.js +17 -0
  441. package/dist/chunk-z84vgtw3.js +87 -0
  442. package/dist/chunk-z8fszc51.js +1322 -0
  443. package/dist/chunk-z97w0agx.js +444 -0
  444. package/dist/chunk-z9pphyhq.js +500 -0
  445. package/dist/chunk-zc6g0qqe.js +29 -0
  446. package/dist/chunk-zk2wsm7d.js +15 -0
  447. package/dist/chunk-zngsje4b.js +257 -0
  448. package/dist/chunk-zp37prdd.js +26840 -0
  449. package/dist/chunk-zsfxha74.js +17655 -0
  450. package/dist/chunk-ztmjzgq7.js +524 -0
  451. package/dist/chunk-zx7pgp71.js +20 -0
  452. package/dist/chunk-zy31eks8.js +372 -0
  453. package/dist/cli.js +92 -0
  454. package/package.json +36 -0
@@ -0,0 +1,412 @@
1
+ // @bun
2
+ import {
3
+ require_dist_cjs as require_dist_cjs2
4
+ } from "./chunk-jzmz18nn.js";
5
+ import {
6
+ require_dist_cjs as require_dist_cjs3
7
+ } from "./chunk-j2k4p94p.js";
8
+ import {
9
+ require_dist_cjs
10
+ } from "./chunk-hk9xz7gk.js";
11
+ import {
12
+ __esm,
13
+ __toESM
14
+ } from "./chunk-qp2qdcda.js";
15
+
16
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js
17
+ import { Buffer } from "buffer";
18
+ import { request } from "http";
19
+ function httpRequest(options) {
20
+ return new Promise((resolve, reject) => {
21
+ const req = request({
22
+ method: "GET",
23
+ ...options,
24
+ hostname: options.hostname?.replace(/^\[(.+)\]$/, "$1")
25
+ });
26
+ req.on("error", (err) => {
27
+ reject(Object.assign(new import_property_provider.ProviderError("Unable to connect to instance metadata service"), err));
28
+ req.destroy();
29
+ });
30
+ req.on("timeout", () => {
31
+ reject(new import_property_provider.ProviderError("TimeoutError from instance metadata service"));
32
+ req.destroy();
33
+ });
34
+ req.on("response", (res) => {
35
+ const { statusCode = 400 } = res;
36
+ if (statusCode < 200 || 300 <= statusCode) {
37
+ reject(Object.assign(new import_property_provider.ProviderError("Error response received from instance metadata service"), { statusCode }));
38
+ req.destroy();
39
+ }
40
+ const chunks = [];
41
+ res.on("data", (chunk) => {
42
+ chunks.push(chunk);
43
+ });
44
+ res.on("end", () => {
45
+ resolve(Buffer.concat(chunks));
46
+ req.destroy();
47
+ });
48
+ });
49
+ req.end();
50
+ });
51
+ }
52
+ var import_property_provider;
53
+ var init_httpRequest = __esm(() => {
54
+ import_property_provider = __toESM(require_dist_cjs(), 1);
55
+ });
56
+
57
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/ImdsCredentials.js
58
+ var isImdsCredentials = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", fromImdsCredentials = (creds) => ({
59
+ accessKeyId: creds.AccessKeyId,
60
+ secretAccessKey: creds.SecretAccessKey,
61
+ sessionToken: creds.Token,
62
+ expiration: new Date(creds.Expiration),
63
+ ...creds.AccountId && { accountId: creds.AccountId }
64
+ });
65
+ var init_ImdsCredentials = () => {};
66
+
67
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/RemoteProviderInit.js
68
+ var DEFAULT_TIMEOUT = 1000, DEFAULT_MAX_RETRIES = 0, providerConfigFromInit = ({ maxRetries = DEFAULT_MAX_RETRIES, timeout = DEFAULT_TIMEOUT }) => ({ maxRetries, timeout });
69
+ var init_RemoteProviderInit = () => {};
70
+
71
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/retry.js
72
+ var retry = (toRetry, maxRetries) => {
73
+ let promise = toRetry();
74
+ for (let i = 0;i < maxRetries; i++) {
75
+ promise = promise.catch(toRetry);
76
+ }
77
+ return promise;
78
+ };
79
+ var init_retry = () => {};
80
+
81
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/fromContainerMetadata.js
82
+ import { parse } from "url";
83
+ var import_property_provider2, ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI", ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI", ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN", fromContainerMetadata = (init = {}) => {
84
+ const { timeout, maxRetries } = providerConfigFromInit(init);
85
+ return () => retry(async () => {
86
+ const requestOptions = await getCmdsUri({ logger: init.logger });
87
+ const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions));
88
+ if (!isImdsCredentials(credsResponse)) {
89
+ throw new import_property_provider2.CredentialsProviderError("Invalid response received from instance metadata service.", {
90
+ logger: init.logger
91
+ });
92
+ }
93
+ return fromImdsCredentials(credsResponse);
94
+ }, maxRetries);
95
+ }, requestFromEcsImds = async (timeout, options) => {
96
+ if (process.env[ENV_CMDS_AUTH_TOKEN]) {
97
+ options.headers = {
98
+ ...options.headers,
99
+ Authorization: process.env[ENV_CMDS_AUTH_TOKEN]
100
+ };
101
+ }
102
+ const buffer = await httpRequest({
103
+ ...options,
104
+ timeout
105
+ });
106
+ return buffer.toString();
107
+ }, CMDS_IP = "169.254.170.2", GREENGRASS_HOSTS, GREENGRASS_PROTOCOLS, getCmdsUri = async ({ logger }) => {
108
+ if (process.env[ENV_CMDS_RELATIVE_URI]) {
109
+ return {
110
+ hostname: CMDS_IP,
111
+ path: process.env[ENV_CMDS_RELATIVE_URI]
112
+ };
113
+ }
114
+ if (process.env[ENV_CMDS_FULL_URI]) {
115
+ const parsed = parse(process.env[ENV_CMDS_FULL_URI]);
116
+ if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) {
117
+ throw new import_property_provider2.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, {
118
+ tryNextLink: false,
119
+ logger
120
+ });
121
+ }
122
+ if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) {
123
+ throw new import_property_provider2.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, {
124
+ tryNextLink: false,
125
+ logger
126
+ });
127
+ }
128
+ return {
129
+ ...parsed,
130
+ port: parsed.port ? parseInt(parsed.port, 10) : undefined
131
+ };
132
+ }
133
+ throw new import_property_provider2.CredentialsProviderError("The container metadata credential provider cannot be used unless" + ` the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment` + " variable is set", {
134
+ tryNextLink: false,
135
+ logger
136
+ });
137
+ };
138
+ var init_fromContainerMetadata = __esm(() => {
139
+ init_httpRequest();
140
+ init_ImdsCredentials();
141
+ init_RemoteProviderInit();
142
+ init_retry();
143
+ import_property_provider2 = __toESM(require_dist_cjs(), 1);
144
+ GREENGRASS_HOSTS = {
145
+ localhost: true,
146
+ "127.0.0.1": true
147
+ };
148
+ GREENGRASS_PROTOCOLS = {
149
+ "http:": true,
150
+ "https:": true
151
+ };
152
+ });
153
+
154
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/error/InstanceMetadataV1FallbackError.js
155
+ var import_property_provider3, InstanceMetadataV1FallbackError;
156
+ var init_InstanceMetadataV1FallbackError = __esm(() => {
157
+ import_property_provider3 = __toESM(require_dist_cjs(), 1);
158
+ InstanceMetadataV1FallbackError = class InstanceMetadataV1FallbackError extends import_property_provider3.CredentialsProviderError {
159
+ tryNextLink;
160
+ name = "InstanceMetadataV1FallbackError";
161
+ constructor(message, tryNextLink = true) {
162
+ super(message, tryNextLink);
163
+ this.tryNextLink = tryNextLink;
164
+ Object.setPrototypeOf(this, InstanceMetadataV1FallbackError.prototype);
165
+ }
166
+ };
167
+ });
168
+
169
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/config/Endpoint.js
170
+ var Endpoint;
171
+ var init_Endpoint = __esm(() => {
172
+ (function(Endpoint2) {
173
+ Endpoint2["IPv4"] = "http://169.254.169.254";
174
+ Endpoint2["IPv6"] = "http://[fd00:ec2::254]";
175
+ })(Endpoint || (Endpoint = {}));
176
+ });
177
+
178
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointConfigOptions.js
179
+ var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT", CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint", ENDPOINT_CONFIG_OPTIONS;
180
+ var init_EndpointConfigOptions = __esm(() => {
181
+ ENDPOINT_CONFIG_OPTIONS = {
182
+ environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME],
183
+ configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME],
184
+ default: undefined
185
+ };
186
+ });
187
+
188
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointMode.js
189
+ var EndpointMode;
190
+ var init_EndpointMode = __esm(() => {
191
+ (function(EndpointMode2) {
192
+ EndpointMode2["IPv4"] = "IPv4";
193
+ EndpointMode2["IPv6"] = "IPv6";
194
+ })(EndpointMode || (EndpointMode = {}));
195
+ });
196
+
197
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/config/EndpointModeConfigOptions.js
198
+ var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE", CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode", ENDPOINT_MODE_CONFIG_OPTIONS;
199
+ var init_EndpointModeConfigOptions = __esm(() => {
200
+ init_EndpointMode();
201
+ ENDPOINT_MODE_CONFIG_OPTIONS = {
202
+ environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME],
203
+ configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME],
204
+ default: EndpointMode.IPv4
205
+ };
206
+ });
207
+
208
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/utils/getInstanceMetadataEndpoint.js
209
+ var import_node_config_provider, import_url_parser, getInstanceMetadataEndpoint = async () => import_url_parser.parseUrl(await getFromEndpointConfig() || await getFromEndpointModeConfig()), getFromEndpointConfig = async () => import_node_config_provider.loadConfig(ENDPOINT_CONFIG_OPTIONS)(), getFromEndpointModeConfig = async () => {
210
+ const endpointMode = await import_node_config_provider.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS)();
211
+ switch (endpointMode) {
212
+ case EndpointMode.IPv4:
213
+ return Endpoint.IPv4;
214
+ case EndpointMode.IPv6:
215
+ return Endpoint.IPv6;
216
+ default:
217
+ throw new Error(`Unsupported endpoint mode: ${endpointMode}.` + ` Select from ${Object.values(EndpointMode)}`);
218
+ }
219
+ };
220
+ var init_getInstanceMetadataEndpoint = __esm(() => {
221
+ init_Endpoint();
222
+ init_EndpointConfigOptions();
223
+ init_EndpointMode();
224
+ init_EndpointModeConfigOptions();
225
+ import_node_config_provider = __toESM(require_dist_cjs2(), 1);
226
+ import_url_parser = __toESM(require_dist_cjs3(), 1);
227
+ });
228
+
229
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/utils/getExtendedInstanceMetadataCredentials.js
230
+ var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS, STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS, STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html", getExtendedInstanceMetadataCredentials = (credentials, logger) => {
231
+ const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS);
232
+ const newExpiration = new Date(Date.now() + refreshInterval * 1000);
233
+ logger.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these " + `credentials will be attempted after ${new Date(newExpiration)}.
234
+ For more information, please visit: ` + STATIC_STABILITY_DOC_URL);
235
+ const originalExpiration = credentials.originalExpiration ?? credentials.expiration;
236
+ return {
237
+ ...credentials,
238
+ ...originalExpiration ? { originalExpiration } : {},
239
+ expiration: newExpiration
240
+ };
241
+ };
242
+ var init_getExtendedInstanceMetadataCredentials = __esm(() => {
243
+ STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60;
244
+ STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60;
245
+ });
246
+
247
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/utils/staticStabilityProvider.js
248
+ var staticStabilityProvider = (provider, options = {}) => {
249
+ const logger = options?.logger || console;
250
+ let pastCredentials;
251
+ return async () => {
252
+ let credentials;
253
+ try {
254
+ credentials = await provider();
255
+ if (credentials.expiration && credentials.expiration.getTime() < Date.now()) {
256
+ credentials = getExtendedInstanceMetadataCredentials(credentials, logger);
257
+ }
258
+ } catch (e) {
259
+ if (pastCredentials) {
260
+ logger.warn("Credential renew failed: ", e);
261
+ credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger);
262
+ } else {
263
+ throw e;
264
+ }
265
+ }
266
+ pastCredentials = credentials;
267
+ return credentials;
268
+ };
269
+ };
270
+ var init_staticStabilityProvider = __esm(() => {
271
+ init_getExtendedInstanceMetadataCredentials();
272
+ });
273
+
274
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/fromInstanceMetadata.js
275
+ var import_node_config_provider2, import_property_provider4, IMDS_PATH = "/latest/meta-data/iam/security-credentials/", IMDS_TOKEN_PATH = "/latest/api/token", AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED", PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled", X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token", fromInstanceMetadata = (init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), getInstanceMetadataProvider = (init = {}) => {
276
+ let disableFetchToken = false;
277
+ const { logger, profile } = init;
278
+ const { timeout, maxRetries } = providerConfigFromInit(init);
279
+ const getCredentials = async (maxRetries2, options) => {
280
+ const isImdsV1Fallback = disableFetchToken || options.headers?.[X_AWS_EC2_METADATA_TOKEN] == null;
281
+ if (isImdsV1Fallback) {
282
+ let fallbackBlockedFromProfile = false;
283
+ let fallbackBlockedFromProcessEnv = false;
284
+ const configValue = await import_node_config_provider2.loadConfig({
285
+ environmentVariableSelector: (env) => {
286
+ const envValue = env[AWS_EC2_METADATA_V1_DISABLED];
287
+ fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false";
288
+ if (envValue === undefined) {
289
+ throw new import_property_provider4.CredentialsProviderError(`${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, { logger: init.logger });
290
+ }
291
+ return fallbackBlockedFromProcessEnv;
292
+ },
293
+ configFileSelector: (profile2) => {
294
+ const profileValue = profile2[PROFILE_AWS_EC2_METADATA_V1_DISABLED];
295
+ fallbackBlockedFromProfile = !!profileValue && profileValue !== "false";
296
+ return fallbackBlockedFromProfile;
297
+ },
298
+ default: false
299
+ }, {
300
+ profile
301
+ })();
302
+ if (init.ec2MetadataV1Disabled || configValue) {
303
+ const causes = [];
304
+ if (init.ec2MetadataV1Disabled)
305
+ causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");
306
+ if (fallbackBlockedFromProfile)
307
+ causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`);
308
+ if (fallbackBlockedFromProcessEnv)
309
+ causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`);
310
+ throw new InstanceMetadataV1FallbackError(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join(", ")}].`);
311
+ }
312
+ }
313
+ const imdsProfile = (await retry(async () => {
314
+ let profile2;
315
+ try {
316
+ profile2 = await getProfile(options);
317
+ } catch (err) {
318
+ if (err.statusCode === 401) {
319
+ disableFetchToken = false;
320
+ }
321
+ throw err;
322
+ }
323
+ return profile2;
324
+ }, maxRetries2)).trim();
325
+ return retry(async () => {
326
+ let creds;
327
+ try {
328
+ creds = await getCredentialsFromProfile(imdsProfile, options, init);
329
+ } catch (err) {
330
+ if (err.statusCode === 401) {
331
+ disableFetchToken = false;
332
+ }
333
+ throw err;
334
+ }
335
+ return creds;
336
+ }, maxRetries2);
337
+ };
338
+ return async () => {
339
+ const endpoint = await getInstanceMetadataEndpoint();
340
+ if (disableFetchToken) {
341
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)");
342
+ return getCredentials(maxRetries, { ...endpoint, timeout });
343
+ } else {
344
+ let token;
345
+ try {
346
+ token = (await getMetadataToken({ ...endpoint, timeout })).toString();
347
+ } catch (error) {
348
+ if (error?.statusCode === 400) {
349
+ throw Object.assign(error, {
350
+ message: "EC2 Metadata token request returned error"
351
+ });
352
+ } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) {
353
+ disableFetchToken = true;
354
+ }
355
+ logger?.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)");
356
+ return getCredentials(maxRetries, { ...endpoint, timeout });
357
+ }
358
+ return getCredentials(maxRetries, {
359
+ ...endpoint,
360
+ headers: {
361
+ [X_AWS_EC2_METADATA_TOKEN]: token
362
+ },
363
+ timeout
364
+ });
365
+ }
366
+ };
367
+ }, getMetadataToken = async (options) => httpRequest({
368
+ ...options,
369
+ path: IMDS_TOKEN_PATH,
370
+ method: "PUT",
371
+ headers: {
372
+ "x-aws-ec2-metadata-token-ttl-seconds": "21600"
373
+ }
374
+ }), getProfile = async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(), getCredentialsFromProfile = async (profile, options, init) => {
375
+ const credentialsResponse = JSON.parse((await httpRequest({
376
+ ...options,
377
+ path: IMDS_PATH + profile
378
+ })).toString());
379
+ if (!isImdsCredentials(credentialsResponse)) {
380
+ throw new import_property_provider4.CredentialsProviderError("Invalid response received from instance metadata service.", {
381
+ logger: init.logger
382
+ });
383
+ }
384
+ return fromImdsCredentials(credentialsResponse);
385
+ };
386
+ var init_fromInstanceMetadata = __esm(() => {
387
+ init_InstanceMetadataV1FallbackError();
388
+ init_httpRequest();
389
+ init_ImdsCredentials();
390
+ init_RemoteProviderInit();
391
+ init_retry();
392
+ init_getInstanceMetadataEndpoint();
393
+ init_staticStabilityProvider();
394
+ import_node_config_provider2 = __toESM(require_dist_cjs2(), 1);
395
+ import_property_provider4 = __toESM(require_dist_cjs(), 1);
396
+ });
397
+
398
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/types.js
399
+ var init_types = () => {};
400
+
401
+ // node_modules/.bun/@smithy+credential-provider-imds@4.2.12/node_modules/@smithy/credential-provider-imds/dist-es/index.js
402
+ var init_dist_es = __esm(() => {
403
+ init_httpRequest();
404
+ init_getInstanceMetadataEndpoint();
405
+ init_Endpoint();
406
+ init_fromContainerMetadata();
407
+ init_fromInstanceMetadata();
408
+ init_RemoteProviderInit();
409
+ init_types();
410
+ });
411
+
412
+ export { httpRequest, DEFAULT_TIMEOUT, DEFAULT_MAX_RETRIES, providerConfigFromInit, ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, ENV_CMDS_AUTH_TOKEN, fromContainerMetadata, Endpoint, getInstanceMetadataEndpoint, fromInstanceMetadata, init_dist_es };
@@ -0,0 +1,20 @@
1
+ // @bun
2
+ import {
3
+ require_src
4
+ } from "./chunk-p2816w9z.js";
5
+ import {
6
+ __commonJS
7
+ } from "./chunk-qp2qdcda.js";
8
+
9
+ // node_modules/.bun/@opentelemetry+resources@2.6.1+e40b0dfdd726a224/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-unsupported.js
10
+ var require_getMachineId_unsupported = __commonJS((exports) => {
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getMachineId = undefined;
13
+ var api_1 = require_src();
14
+ async function getMachineId() {
15
+ api_1.diag.debug("could not read machine-id: unsupported platform");
16
+ return;
17
+ }
18
+ exports.getMachineId = getMachineId;
19
+ });
20
+ export default require_getMachineId_unsupported();
@@ -0,0 +1,24 @@
1
+ // @bun
2
+ import"./chunk-qp2qdcda.js";
3
+
4
+ // src/cli/handlers/ant.ts
5
+ var logHandler = async () => {};
6
+ var errorHandler = async () => {};
7
+ var exportHandler = async () => {};
8
+ var taskCreateHandler = async () => {};
9
+ var taskListHandler = async () => {};
10
+ var taskGetHandler = async () => {};
11
+ var taskUpdateHandler = async () => {};
12
+ var taskDirHandler = async () => {};
13
+ var completionHandler = async () => {};
14
+ export {
15
+ taskUpdateHandler,
16
+ taskListHandler,
17
+ taskGetHandler,
18
+ taskDirHandler,
19
+ taskCreateHandler,
20
+ logHandler,
21
+ exportHandler,
22
+ errorHandler,
23
+ completionHandler
24
+ };
@@ -0,0 +1,205 @@
1
+ // @bun
2
+ import {
3
+ __esm
4
+ } from "./chunk-qp2qdcda.js";
5
+
6
+ // node_modules/.bun/p-map@7.0.4/node_modules/p-map/index.js
7
+ async function pMap(iterable, mapper, {
8
+ concurrency = Number.POSITIVE_INFINITY,
9
+ stopOnError = true,
10
+ signal
11
+ } = {}) {
12
+ return new Promise((resolve_, reject_) => {
13
+ if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
14
+ throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
15
+ }
16
+ if (typeof mapper !== "function") {
17
+ throw new TypeError("Mapper function is required");
18
+ }
19
+ if (!(Number.isSafeInteger(concurrency) && concurrency >= 1 || concurrency === Number.POSITIVE_INFINITY)) {
20
+ throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
21
+ }
22
+ const result = [];
23
+ const errors = [];
24
+ const skippedIndexesMap = new Map;
25
+ let isRejected = false;
26
+ let isResolved = false;
27
+ let isIterableDone = false;
28
+ let resolvingCount = 0;
29
+ let currentIndex = 0;
30
+ const iterator = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
31
+ const signalListener = () => {
32
+ reject(signal.reason);
33
+ };
34
+ const cleanup = () => {
35
+ signal?.removeEventListener("abort", signalListener);
36
+ };
37
+ const resolve = (value) => {
38
+ resolve_(value);
39
+ cleanup();
40
+ };
41
+ const reject = (reason) => {
42
+ isRejected = true;
43
+ isResolved = true;
44
+ reject_(reason);
45
+ cleanup();
46
+ };
47
+ if (signal) {
48
+ if (signal.aborted) {
49
+ reject(signal.reason);
50
+ }
51
+ signal.addEventListener("abort", signalListener, { once: true });
52
+ }
53
+ const next = async () => {
54
+ if (isResolved) {
55
+ return;
56
+ }
57
+ const nextItem = await iterator.next();
58
+ const index = currentIndex;
59
+ currentIndex++;
60
+ if (nextItem.done) {
61
+ isIterableDone = true;
62
+ if (resolvingCount === 0 && !isResolved) {
63
+ if (!stopOnError && errors.length > 0) {
64
+ reject(new AggregateError(errors));
65
+ return;
66
+ }
67
+ isResolved = true;
68
+ if (skippedIndexesMap.size === 0) {
69
+ resolve(result);
70
+ return;
71
+ }
72
+ const pureResult = [];
73
+ for (const [index2, value] of result.entries()) {
74
+ if (skippedIndexesMap.get(index2) === pMapSkip) {
75
+ continue;
76
+ }
77
+ pureResult.push(value);
78
+ }
79
+ resolve(pureResult);
80
+ }
81
+ return;
82
+ }
83
+ resolvingCount++;
84
+ (async () => {
85
+ try {
86
+ const element = await nextItem.value;
87
+ if (isResolved) {
88
+ return;
89
+ }
90
+ const value = await mapper(element, index);
91
+ if (value === pMapSkip) {
92
+ skippedIndexesMap.set(index, value);
93
+ }
94
+ result[index] = value;
95
+ resolvingCount--;
96
+ await next();
97
+ } catch (error) {
98
+ if (stopOnError) {
99
+ reject(error);
100
+ } else {
101
+ errors.push(error);
102
+ resolvingCount--;
103
+ try {
104
+ await next();
105
+ } catch (error2) {
106
+ reject(error2);
107
+ }
108
+ }
109
+ }
110
+ })();
111
+ };
112
+ (async () => {
113
+ for (let index = 0;index < concurrency; index++) {
114
+ try {
115
+ await next();
116
+ } catch (error) {
117
+ reject(error);
118
+ break;
119
+ }
120
+ if (isIterableDone || isRejected) {
121
+ break;
122
+ }
123
+ }
124
+ })();
125
+ });
126
+ }
127
+ function pMapIterable(iterable, mapper, {
128
+ concurrency = Number.POSITIVE_INFINITY,
129
+ backpressure = concurrency
130
+ } = {}) {
131
+ if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
132
+ throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
133
+ }
134
+ if (typeof mapper !== "function") {
135
+ throw new TypeError("Mapper function is required");
136
+ }
137
+ if (!(Number.isSafeInteger(concurrency) && concurrency >= 1 || concurrency === Number.POSITIVE_INFINITY)) {
138
+ throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
139
+ }
140
+ if (!(Number.isSafeInteger(backpressure) && backpressure >= concurrency || backpressure === Number.POSITIVE_INFINITY)) {
141
+ throw new TypeError(`Expected \`backpressure\` to be an integer from \`concurrency\` (${concurrency}) and up or \`Infinity\`, got \`${backpressure}\` (${typeof backpressure})`);
142
+ }
143
+ return {
144
+ async* [Symbol.asyncIterator]() {
145
+ const iterator = iterable[Symbol.asyncIterator] === undefined ? iterable[Symbol.iterator]() : iterable[Symbol.asyncIterator]();
146
+ const promises = [];
147
+ let pendingPromisesCount = 0;
148
+ let isDone = false;
149
+ let index = 0;
150
+ function trySpawn() {
151
+ if (isDone || !(pendingPromisesCount < concurrency && promises.length < backpressure)) {
152
+ return;
153
+ }
154
+ pendingPromisesCount++;
155
+ const promise = (async () => {
156
+ const { done, value } = await iterator.next();
157
+ if (done) {
158
+ pendingPromisesCount--;
159
+ return { done: true };
160
+ }
161
+ trySpawn();
162
+ try {
163
+ const returnValue = await mapper(await value, index++);
164
+ pendingPromisesCount--;
165
+ if (returnValue === pMapSkip) {
166
+ const index2 = promises.indexOf(promise);
167
+ if (index2 > 0) {
168
+ promises.splice(index2, 1);
169
+ }
170
+ }
171
+ trySpawn();
172
+ return { done: false, value: returnValue };
173
+ } catch (error) {
174
+ pendingPromisesCount--;
175
+ isDone = true;
176
+ return { error };
177
+ }
178
+ })();
179
+ promises.push(promise);
180
+ }
181
+ trySpawn();
182
+ while (promises.length > 0) {
183
+ const { error, done, value } = await promises[0];
184
+ promises.shift();
185
+ if (error) {
186
+ throw error;
187
+ }
188
+ if (done) {
189
+ return;
190
+ }
191
+ trySpawn();
192
+ if (value === pMapSkip) {
193
+ continue;
194
+ }
195
+ yield value;
196
+ }
197
+ }
198
+ };
199
+ }
200
+ var pMapSkip;
201
+ var init_p_map = __esm(() => {
202
+ pMapSkip = Symbol("skip");
203
+ });
204
+
205
+ export { pMap, pMapIterable, pMapSkip, init_p_map };