@bkm016/basalt 0.1.22 → 0.1.23

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 (1057) hide show
  1. package/chunk-01g872ez.js +3 -0
  2. package/chunk-078td1r4.js +7 -0
  3. package/chunk-1mhv12a5.js +3 -0
  4. package/chunk-1zrht78t.js +2 -0
  5. package/chunk-2e4xds74.js +18 -0
  6. package/chunk-2hkpqjqj.js +3 -0
  7. package/chunk-2mhpgb4t.js +2 -0
  8. package/chunk-3nwqng5t.js +59 -0
  9. package/chunk-3zm1ejmh.js +3 -0
  10. package/chunk-4d9p68s9.js +3 -0
  11. package/chunk-5h96jz3p.js +3 -0
  12. package/chunk-5znfck4s.js +5 -0
  13. package/chunk-6048rq29.js +8 -0
  14. package/chunk-61zk13qr.js +3 -0
  15. package/chunk-62ty404c.js +2 -0
  16. package/chunk-6vp2nqbj.js +2 -0
  17. package/chunk-7a5derff.js +25 -0
  18. package/chunk-7qhbff72.js +5 -0
  19. package/chunk-7xw6fpx3.js +3 -0
  20. package/chunk-84rk4tew.js +2 -0
  21. package/chunk-8np9b2y8.js +3 -0
  22. package/chunk-8wb8yr7d.js +12 -0
  23. package/chunk-93b76hhg.js +11 -0
  24. package/chunk-9h05aqdd.js +25 -0
  25. package/chunk-a2jsx2ew.js +3 -0
  26. package/chunk-a2qwx6cr.js +2 -0
  27. package/chunk-a7h459z1.js +2 -0
  28. package/chunk-atjwde1c.js +2 -0
  29. package/chunk-bk20awc9.js +10 -0
  30. package/chunk-bm2jhkqt.js +3 -0
  31. package/chunk-bp4zk5ch.js +3 -0
  32. package/chunk-c5ess8kd.js +3 -0
  33. package/chunk-cj7yhgnd.js +2 -0
  34. package/chunk-cjq2bzkf.js +3 -0
  35. package/chunk-csrpxzn7.js +3 -0
  36. package/chunk-cwesdh51.js +39 -0
  37. package/chunk-drbd6485.js +3 -0
  38. package/chunk-dt594v3d.js +9 -0
  39. package/chunk-dwxp0gtf.js +4 -0
  40. package/chunk-ejdewe04.js +3 -0
  41. package/chunk-fkzk83xs.js +2 -0
  42. package/chunk-fsnc2sja.js +3 -0
  43. package/chunk-g18hxgdr.js +12 -0
  44. package/chunk-hfwy0rzt.js +10 -0
  45. package/chunk-hg5wmrfb.js +3 -0
  46. package/chunk-hvex6qjc.js +5 -0
  47. package/chunk-hw8xknv5.js +2 -0
  48. package/chunk-j91wgfzj.js +2 -0
  49. package/chunk-jyx4ynyp.js +3 -0
  50. package/chunk-jz1pavma.js +20 -0
  51. package/chunk-kjjrmfmt.js +2 -0
  52. package/chunk-kz1ja7t7.js +31 -0
  53. package/chunk-mh4s6m7e.js +2 -0
  54. package/chunk-n0g6w24y.js +3 -0
  55. package/chunk-nnp82zvz.js +5 -0
  56. package/chunk-p34keb5j.js +3 -0
  57. package/chunk-pcxaycc3.js +3560 -0
  58. package/chunk-pdwexj34.js +16 -0
  59. package/chunk-phpse938.js +3 -0
  60. package/chunk-pt14ba7d.js +15 -0
  61. package/chunk-q0hvv6bh.js +390 -0
  62. package/chunk-qd4xtknk.js +2 -0
  63. package/chunk-qfg0dr8f.js +2 -0
  64. package/chunk-qnrkh3ca.js +7 -0
  65. package/chunk-r1t5yhee.js +7 -0
  66. package/chunk-r5na5qx5.js +2 -0
  67. package/chunk-r7a6q57s.js +2 -0
  68. package/chunk-smsn4ebc.js +4 -0
  69. package/chunk-sqr8tx1m.js +471 -0
  70. package/chunk-t4twa09y.js +2 -0
  71. package/chunk-tjs6h6zk.js +4 -0
  72. package/chunk-tvbh69tm.js +3 -0
  73. package/chunk-tvv9yfqv.js +11 -0
  74. package/chunk-vbdf5psp.js +2 -0
  75. package/chunk-vr60qwyg.js +2 -0
  76. package/chunk-w509y6w6.js +2 -0
  77. package/chunk-w7n83ye7.js +7 -0
  78. package/chunk-wacjm9ww.js +3 -0
  79. package/chunk-xex050bc.js +3 -0
  80. package/chunk-y0fgbrkc.js +2 -0
  81. package/chunk-ysfpdxjy.js +3 -0
  82. package/chunk-ytsnns2n.js +2 -0
  83. package/chunk-zwgdbrbg.js +2 -0
  84. package/chunk-zz7qjanc.js +2 -0
  85. package/compiled.js +8 -8
  86. package/package.json +1 -1
  87. package/ui-test-worker.js +57 -57
  88. package/web/chunk-07q4pdkf.js +1 -0
  89. package/web/chunk-07q4pdkf.js.br +0 -0
  90. package/web/chunk-07q4pdkf.js.gz +0 -0
  91. package/web/chunk-0s237vb2.js +2 -0
  92. package/web/chunk-0s237vb2.js.br +0 -0
  93. package/web/chunk-0s237vb2.js.gz +0 -0
  94. package/web/chunk-0zbmaspt.js +24 -0
  95. package/web/chunk-0zbmaspt.js.br +0 -0
  96. package/web/chunk-0zbmaspt.js.gz +0 -0
  97. package/web/chunk-11p8z5sv.js +8 -0
  98. package/web/chunk-11p8z5sv.js.br +0 -0
  99. package/web/chunk-11p8z5sv.js.gz +0 -0
  100. package/web/chunk-1axadk7j.js +2 -0
  101. package/web/chunk-1axadk7j.js.br +0 -0
  102. package/web/chunk-1axadk7j.js.gz +0 -0
  103. package/web/chunk-1ebz6hbk.js +1 -0
  104. package/web/chunk-1ebz6hbk.js.br +0 -0
  105. package/web/chunk-1ebz6hbk.js.gz +0 -0
  106. package/web/chunk-1pg22vjr.js +38 -0
  107. package/web/chunk-1pg22vjr.js.br +0 -0
  108. package/web/chunk-1pg22vjr.js.gz +0 -0
  109. package/web/chunk-1ys90q5s.js +1 -0
  110. package/web/chunk-1ys90q5s.js.br +0 -0
  111. package/web/chunk-1ys90q5s.js.gz +0 -0
  112. package/web/chunk-1zd8azrg.js +34 -0
  113. package/web/chunk-1zd8azrg.js.br +0 -0
  114. package/web/chunk-1zd8azrg.js.gz +0 -0
  115. package/web/chunk-22rjbwxp.js +303 -0
  116. package/web/chunk-22rjbwxp.js.br +0 -0
  117. package/web/chunk-22rjbwxp.js.gz +0 -0
  118. package/web/chunk-2eg9t1mz.js +2 -0
  119. package/web/chunk-2eg9t1mz.js.br +0 -0
  120. package/web/chunk-2eg9t1mz.js.gz +0 -0
  121. package/web/chunk-2emc5sd7.js +12 -0
  122. package/web/chunk-2emc5sd7.js.br +0 -0
  123. package/web/chunk-2emc5sd7.js.gz +0 -0
  124. package/web/chunk-2gj9yydt.js +2 -0
  125. package/web/chunk-2gj9yydt.js.br +0 -0
  126. package/web/chunk-2gj9yydt.js.gz +0 -0
  127. package/web/chunk-2jvy4y1e.js +1 -0
  128. package/web/chunk-2jvy4y1e.js.br +0 -0
  129. package/web/chunk-2jvy4y1e.js.gz +0 -0
  130. package/web/chunk-2kwn5gsx.js +1 -0
  131. package/web/chunk-2kwn5gsx.js.br +0 -0
  132. package/web/chunk-2kwn5gsx.js.gz +0 -0
  133. package/web/chunk-2r84nrwk.js +99 -0
  134. package/web/chunk-2r84nrwk.js.br +0 -0
  135. package/web/chunk-2r84nrwk.js.gz +0 -0
  136. package/web/chunk-3abhxhtv.js +2 -0
  137. package/web/chunk-3abhxhtv.js.br +0 -0
  138. package/web/chunk-3abhxhtv.js.gz +0 -0
  139. package/web/chunk-3cgxntbk.js +2 -0
  140. package/web/chunk-3cgxntbk.js.br +0 -0
  141. package/web/chunk-3cgxntbk.js.gz +0 -0
  142. package/web/chunk-3g3n9pc5.js +332 -0
  143. package/web/chunk-3g3n9pc5.js.br +0 -0
  144. package/web/chunk-3g3n9pc5.js.gz +0 -0
  145. package/web/chunk-3qmpdzq2.js +1 -0
  146. package/web/chunk-3qmpdzq2.js.br +0 -0
  147. package/web/chunk-3qmpdzq2.js.gz +0 -0
  148. package/web/chunk-3rxjewe5.js +2 -0
  149. package/web/chunk-3rxjewe5.js.br +0 -0
  150. package/web/chunk-3rxjewe5.js.gz +0 -0
  151. package/web/chunk-3vh17h7n.js +62 -0
  152. package/web/chunk-3vh17h7n.js.br +0 -0
  153. package/web/chunk-3vh17h7n.js.gz +0 -0
  154. package/web/chunk-49ywdzda.js +36 -0
  155. package/web/chunk-49ywdzda.js.br +0 -0
  156. package/web/chunk-49ywdzda.js.gz +0 -0
  157. package/web/chunk-5ch8rwjz.js +2 -0
  158. package/web/chunk-5ch8rwjz.js.br +0 -0
  159. package/web/chunk-5ch8rwjz.js.gz +0 -0
  160. package/web/chunk-5k1xca5m.js +324 -0
  161. package/web/chunk-5k1xca5m.js.br +0 -0
  162. package/web/chunk-5k1xca5m.js.gz +0 -0
  163. package/web/chunk-5kcmtrrk.js +2 -0
  164. package/web/chunk-5kcmtrrk.js.br +0 -0
  165. package/web/chunk-5kcmtrrk.js.gz +0 -0
  166. package/web/chunk-5t1yv276.js +1 -0
  167. package/web/chunk-5t1yv276.js.br +0 -0
  168. package/web/chunk-5t1yv276.js.gz +0 -0
  169. package/web/chunk-612xftnp.js +1 -0
  170. package/web/chunk-612xftnp.js.br +0 -0
  171. package/web/chunk-612xftnp.js.gz +0 -0
  172. package/web/chunk-6183jmyq.js +2 -0
  173. package/web/chunk-6183jmyq.js.br +0 -0
  174. package/web/chunk-6183jmyq.js.gz +0 -0
  175. package/web/chunk-66zp24sf.js +2 -0
  176. package/web/chunk-66zp24sf.js.br +0 -0
  177. package/web/chunk-66zp24sf.js.gz +0 -0
  178. package/web/chunk-67wywbgr.js +2 -0
  179. package/web/chunk-67wywbgr.js.br +0 -0
  180. package/web/chunk-67wywbgr.js.gz +0 -0
  181. package/web/chunk-6j0d6131.js +1 -0
  182. package/web/chunk-6j0d6131.js.br +0 -0
  183. package/web/chunk-6j0d6131.js.gz +0 -0
  184. package/web/chunk-6ycpdpfj.js +107 -0
  185. package/web/chunk-6ycpdpfj.js.br +0 -0
  186. package/web/chunk-6ycpdpfj.js.gz +0 -0
  187. package/web/chunk-79tbvvqj.js +1 -0
  188. package/web/chunk-79tbvvqj.js.br +0 -0
  189. package/web/chunk-79tbvvqj.js.gz +0 -0
  190. package/web/chunk-7bcksmqx.js +2 -0
  191. package/web/chunk-7bcksmqx.js.br +0 -0
  192. package/web/chunk-7bcksmqx.js.gz +0 -0
  193. package/web/chunk-7c2zkqgd.js +89 -0
  194. package/web/chunk-7c2zkqgd.js.br +0 -0
  195. package/web/chunk-7c2zkqgd.js.gz +0 -0
  196. package/web/chunk-7ed42dqv.js +1 -0
  197. package/web/chunk-7ed42dqv.js.br +0 -0
  198. package/web/chunk-7ed42dqv.js.gz +0 -0
  199. package/web/chunk-7mzdjjha.js +1 -0
  200. package/web/chunk-7mzdjjha.js.br +0 -0
  201. package/web/chunk-7mzdjjha.js.gz +0 -0
  202. package/web/chunk-7t1sb86g.js +2 -0
  203. package/web/chunk-7t1sb86g.js.br +0 -0
  204. package/web/chunk-7t1sb86g.js.gz +0 -0
  205. package/web/chunk-7t5kzbp1.js +1 -0
  206. package/web/chunk-7t5kzbp1.js.br +0 -0
  207. package/web/chunk-7t5kzbp1.js.gz +0 -0
  208. package/web/chunk-7tmzvm05.js +2 -0
  209. package/web/chunk-7tmzvm05.js.br +0 -0
  210. package/web/chunk-7tmzvm05.js.gz +0 -0
  211. package/web/chunk-80k4k6aw.js +7 -0
  212. package/web/chunk-80k4k6aw.js.br +0 -0
  213. package/web/chunk-80k4k6aw.js.gz +0 -0
  214. package/web/chunk-8tvy5xbr.js +217 -0
  215. package/web/chunk-8tvy5xbr.js.br +0 -0
  216. package/web/chunk-8tvy5xbr.js.gz +0 -0
  217. package/web/chunk-95jr0f0q.js +139 -0
  218. package/web/chunk-95jr0f0q.js.br +0 -0
  219. package/web/chunk-95jr0f0q.js.gz +0 -0
  220. package/web/chunk-9h6ayn54.js +16 -0
  221. package/web/chunk-9h6ayn54.js.br +0 -0
  222. package/web/chunk-9h6ayn54.js.gz +0 -0
  223. package/web/chunk-9jzpxvwa.js +106 -0
  224. package/web/chunk-9jzpxvwa.js.br +0 -0
  225. package/web/chunk-9jzpxvwa.js.gz +0 -0
  226. package/web/chunk-9kx2s040.js +1 -0
  227. package/web/chunk-9kx2s040.js.br +0 -0
  228. package/web/chunk-9kx2s040.js.gz +0 -0
  229. package/web/chunk-9mdbahpr.js +2 -0
  230. package/web/chunk-9mdbahpr.js.br +0 -0
  231. package/web/chunk-9mdbahpr.js.gz +0 -0
  232. package/web/chunk-9w6mjqgp.js +1 -0
  233. package/web/chunk-9w6mjqgp.js.br +0 -0
  234. package/web/chunk-9w6mjqgp.js.gz +0 -0
  235. package/web/chunk-9xb3j03w.js +142 -0
  236. package/web/chunk-9xb3j03w.js.br +0 -0
  237. package/web/chunk-9xb3j03w.js.gz +0 -0
  238. package/web/chunk-abzt3tzj.js +1 -0
  239. package/web/chunk-abzt3tzj.js.br +0 -0
  240. package/web/chunk-abzt3tzj.js.gz +0 -0
  241. package/web/chunk-ahebswgf.js +1 -0
  242. package/web/chunk-ahebswgf.js.br +0 -0
  243. package/web/chunk-ahebswgf.js.gz +0 -0
  244. package/web/chunk-ahsw5yz2.js +2 -0
  245. package/web/chunk-ahsw5yz2.js.br +0 -0
  246. package/web/chunk-ahsw5yz2.js.gz +0 -0
  247. package/web/chunk-b21jhnc3.js +1 -0
  248. package/web/chunk-b21jhnc3.js.br +2 -0
  249. package/web/chunk-b21jhnc3.js.gz +0 -0
  250. package/web/chunk-b3cn4qmw.js +1 -0
  251. package/web/chunk-b3cn4qmw.js.br +0 -0
  252. package/web/chunk-b3cn4qmw.js.gz +0 -0
  253. package/web/chunk-b4qxx7jx.js +2 -0
  254. package/web/chunk-b4qxx7jx.js.br +0 -0
  255. package/web/chunk-b4qxx7jx.js.gz +0 -0
  256. package/web/chunk-b79d9r5v.js +98 -0
  257. package/web/chunk-b79d9r5v.js.br +0 -0
  258. package/web/chunk-b79d9r5v.js.gz +0 -0
  259. package/web/chunk-b9x115jw.css +1 -0
  260. package/web/chunk-b9x115jw.css.br +0 -0
  261. package/web/chunk-b9x115jw.css.gz +0 -0
  262. package/web/chunk-bbnamv1j.js +1 -0
  263. package/web/chunk-bbnamv1j.js.br +2 -0
  264. package/web/chunk-bbnamv1j.js.gz +0 -0
  265. package/web/chunk-bgqfryh2.js +1 -0
  266. package/web/chunk-bgqfryh2.js.br +0 -0
  267. package/web/chunk-bgqfryh2.js.gz +0 -0
  268. package/web/chunk-bjrnqvf4.js +1 -0
  269. package/web/chunk-bjrnqvf4.js.br +0 -0
  270. package/web/chunk-bjrnqvf4.js.gz +0 -0
  271. package/web/chunk-cbh6w44y.js +1 -0
  272. package/web/chunk-cbh6w44y.js.br +0 -0
  273. package/web/chunk-cbh6w44y.js.gz +0 -0
  274. package/web/chunk-d0bt1ypq.js +140 -0
  275. package/web/chunk-d0bt1ypq.js.br +0 -0
  276. package/web/chunk-d0bt1ypq.js.gz +0 -0
  277. package/web/chunk-ddfd1c5x.js +1 -0
  278. package/web/chunk-ddfd1c5x.js.br +0 -0
  279. package/web/chunk-ddfd1c5x.js.gz +0 -0
  280. package/web/chunk-deqy1rfx.js +1 -0
  281. package/web/chunk-deqy1rfx.js.br +0 -0
  282. package/web/chunk-deqy1rfx.js.gz +0 -0
  283. package/web/chunk-dk3dpdnc.js +4 -0
  284. package/web/chunk-dk3dpdnc.js.br +0 -0
  285. package/web/chunk-dk3dpdnc.js.gz +0 -0
  286. package/web/chunk-dr35dsw5.js +1 -0
  287. package/web/chunk-dr35dsw5.js.br +0 -0
  288. package/web/chunk-dr35dsw5.js.gz +0 -0
  289. package/web/chunk-drr7mqg2.js +1 -0
  290. package/web/chunk-drr7mqg2.js.br +0 -0
  291. package/web/chunk-drr7mqg2.js.gz +0 -0
  292. package/web/chunk-dy9amqbz.js +1 -0
  293. package/web/chunk-dy9amqbz.js.br +0 -0
  294. package/web/chunk-dy9amqbz.js.gz +0 -0
  295. package/web/chunk-e039ekp7.js +89 -0
  296. package/web/chunk-e039ekp7.js.br +0 -0
  297. package/web/chunk-e039ekp7.js.gz +0 -0
  298. package/web/chunk-e2e2fdwq.js +30 -0
  299. package/web/chunk-e2e2fdwq.js.br +0 -0
  300. package/web/chunk-e2e2fdwq.js.gz +0 -0
  301. package/web/chunk-e5j1v42p.js +7 -0
  302. package/web/chunk-e5j1v42p.js.br +0 -0
  303. package/web/chunk-e5j1v42p.js.gz +0 -0
  304. package/web/chunk-ef0wf92p.js +2 -0
  305. package/web/chunk-ef0wf92p.js.br +0 -0
  306. package/web/chunk-ef0wf92p.js.gz +0 -0
  307. package/web/chunk-emsyqa1e.js +1 -0
  308. package/web/chunk-emsyqa1e.js.br +0 -0
  309. package/web/chunk-emsyqa1e.js.gz +0 -0
  310. package/web/chunk-en7n9d1p.js +41 -0
  311. package/web/chunk-en7n9d1p.js.br +0 -0
  312. package/web/chunk-en7n9d1p.js.gz +0 -0
  313. package/web/chunk-ez4yt1s1.js +1 -0
  314. package/web/chunk-ez4yt1s1.js.br +0 -0
  315. package/web/chunk-ez4yt1s1.js.gz +0 -0
  316. package/web/chunk-f620k3hk.js +1 -0
  317. package/web/chunk-f620k3hk.js.br +0 -0
  318. package/web/chunk-f620k3hk.js.gz +0 -0
  319. package/web/chunk-fe2hpamc.js +200 -0
  320. package/web/chunk-fe2hpamc.js.br +0 -0
  321. package/web/chunk-fe2hpamc.js.gz +0 -0
  322. package/web/chunk-fm7saxzr.js +1 -0
  323. package/web/chunk-fm7saxzr.js.br +0 -0
  324. package/web/chunk-fm7saxzr.js.gz +0 -0
  325. package/web/chunk-fz5d3ayq.js +2 -0
  326. package/web/chunk-fz5d3ayq.js.br +0 -0
  327. package/web/chunk-fz5d3ayq.js.gz +0 -0
  328. package/web/chunk-gb2tkfv0.js +1 -0
  329. package/web/chunk-gb2tkfv0.js.br +0 -0
  330. package/web/chunk-gb2tkfv0.js.gz +0 -0
  331. package/web/chunk-gc1ypgy4.js +1 -0
  332. package/web/chunk-gc1ypgy4.js.br +0 -0
  333. package/web/chunk-gc1ypgy4.js.gz +0 -0
  334. package/web/chunk-h23pczjh.js +40 -0
  335. package/web/chunk-h23pczjh.js.br +0 -0
  336. package/web/chunk-h23pczjh.js.gz +0 -0
  337. package/web/chunk-h2sttxfn.js +1 -0
  338. package/web/chunk-h2sttxfn.js.br +2 -0
  339. package/web/chunk-h2sttxfn.js.gz +0 -0
  340. package/web/chunk-h5m9ggsm.js +2 -0
  341. package/web/chunk-h5m9ggsm.js.br +0 -0
  342. package/web/chunk-h5m9ggsm.js.gz +0 -0
  343. package/web/chunk-h5zc1hw5.js +1 -0
  344. package/web/chunk-h5zc1hw5.js.br +0 -0
  345. package/web/chunk-h5zc1hw5.js.gz +0 -0
  346. package/web/chunk-hkg6bts9.js +1 -0
  347. package/web/chunk-hkg6bts9.js.br +0 -0
  348. package/web/chunk-hkg6bts9.js.gz +0 -0
  349. package/web/chunk-hncdpeer.js +120 -0
  350. package/web/chunk-hncdpeer.js.br +0 -0
  351. package/web/chunk-hncdpeer.js.gz +0 -0
  352. package/web/chunk-j40wechd.js +2 -0
  353. package/web/chunk-j40wechd.js.br +0 -0
  354. package/web/chunk-j40wechd.js.gz +0 -0
  355. package/web/chunk-jddmse74.js +169 -0
  356. package/web/chunk-jddmse74.js.br +0 -0
  357. package/web/chunk-jddmse74.js.gz +0 -0
  358. package/web/chunk-jdvdg38q.js +3 -0
  359. package/web/chunk-jdvdg38q.js.br +0 -0
  360. package/web/chunk-jdvdg38q.js.gz +0 -0
  361. package/web/chunk-jf6q93m9.js +1 -0
  362. package/web/chunk-jf6q93m9.js.br +0 -0
  363. package/web/chunk-jf6q93m9.js.gz +0 -0
  364. package/web/chunk-jfd1gybx.js +39 -0
  365. package/web/chunk-jfd1gybx.js.br +0 -0
  366. package/web/chunk-jfd1gybx.js.gz +0 -0
  367. package/web/chunk-jkgkt722.js +1 -0
  368. package/web/chunk-jkgkt722.js.br +0 -0
  369. package/web/chunk-jkgkt722.js.gz +0 -0
  370. package/web/chunk-k427fwgp.js +1 -0
  371. package/web/chunk-k427fwgp.js.br +0 -0
  372. package/web/chunk-k427fwgp.js.gz +0 -0
  373. package/web/chunk-k8pezbya.js +2 -0
  374. package/web/chunk-k8pezbya.js.br +3 -0
  375. package/web/chunk-k8pezbya.js.gz +0 -0
  376. package/web/chunk-k9t941fj.js +1 -0
  377. package/web/chunk-k9t941fj.js.br +0 -0
  378. package/web/chunk-k9t941fj.js.gz +0 -0
  379. package/web/chunk-kkzwvnft.js +1 -0
  380. package/web/chunk-kkzwvnft.js.br +0 -0
  381. package/web/chunk-kkzwvnft.js.gz +0 -0
  382. package/web/chunk-kpm8gp4z.js +292 -0
  383. package/web/chunk-kpm8gp4z.js.br +0 -0
  384. package/web/chunk-kpm8gp4z.js.gz +0 -0
  385. package/web/chunk-kqyk2an3.js +214 -0
  386. package/web/chunk-kqyk2an3.js.br +0 -0
  387. package/web/chunk-kqyk2an3.js.gz +0 -0
  388. package/web/chunk-m3gryxba.js +2 -0
  389. package/web/chunk-m3gryxba.js.br +0 -0
  390. package/web/chunk-m3gryxba.js.gz +0 -0
  391. package/web/chunk-m8h3c5x3.js +1 -0
  392. package/web/chunk-m8h3c5x3.js.br +0 -0
  393. package/web/chunk-m8h3c5x3.js.gz +0 -0
  394. package/web/chunk-mb7sr4tf.js +55 -0
  395. package/web/chunk-mb7sr4tf.js.br +0 -0
  396. package/web/chunk-mb7sr4tf.js.gz +0 -0
  397. package/web/chunk-meqcd10n.js +1 -0
  398. package/web/chunk-meqcd10n.js.br +0 -0
  399. package/web/chunk-meqcd10n.js.gz +0 -0
  400. package/web/chunk-msrq7vsz.js +7 -0
  401. package/web/chunk-msrq7vsz.js.br +0 -0
  402. package/web/chunk-msrq7vsz.js.gz +0 -0
  403. package/web/chunk-myhtb5ps.js +2 -0
  404. package/web/chunk-myhtb5ps.js.br +0 -0
  405. package/web/chunk-myhtb5ps.js.gz +0 -0
  406. package/web/chunk-n1n55yt8.js +84 -0
  407. package/web/chunk-n1n55yt8.js.br +0 -0
  408. package/web/chunk-n1n55yt8.js.gz +0 -0
  409. package/web/chunk-nmgy1mrz.js +1 -0
  410. package/web/chunk-nmgy1mrz.js.br +0 -0
  411. package/web/chunk-nmgy1mrz.js.gz +0 -0
  412. package/web/chunk-nmnyaawa.js +24 -0
  413. package/web/chunk-nmnyaawa.js.br +0 -0
  414. package/web/chunk-nmnyaawa.js.gz +0 -0
  415. package/web/chunk-nwepnbvn.js +70 -0
  416. package/web/chunk-nwepnbvn.js.br +0 -0
  417. package/web/chunk-nwepnbvn.js.gz +0 -0
  418. package/web/chunk-p2cmfhpz.js +2 -0
  419. package/web/chunk-p2cmfhpz.js.br +0 -0
  420. package/web/chunk-p2cmfhpz.js.gz +0 -0
  421. package/web/chunk-pac9nyhp.js +2 -0
  422. package/web/chunk-pac9nyhp.js.br +0 -0
  423. package/web/chunk-pac9nyhp.js.gz +0 -0
  424. package/web/chunk-pdt40dj7.js +1 -0
  425. package/web/chunk-pdt40dj7.js.br +2 -0
  426. package/web/chunk-pdt40dj7.js.gz +0 -0
  427. package/web/chunk-phs38wt7.js +2 -0
  428. package/web/chunk-phs38wt7.js.br +0 -0
  429. package/web/chunk-phs38wt7.js.gz +0 -0
  430. package/web/chunk-prc7b9xh.js +1 -0
  431. package/web/chunk-prc7b9xh.js.br +0 -0
  432. package/web/chunk-prc7b9xh.js.gz +0 -0
  433. package/web/chunk-q1e80chw.js +1 -0
  434. package/web/chunk-q1e80chw.js.br +2 -0
  435. package/web/chunk-q1e80chw.js.gz +0 -0
  436. package/web/chunk-q6aqg79d.js +2 -0
  437. package/web/chunk-q6aqg79d.js.br +0 -0
  438. package/web/chunk-q6aqg79d.js.gz +0 -0
  439. package/web/chunk-q6sv3fhe.js +2 -0
  440. package/web/chunk-q6sv3fhe.js.br +0 -0
  441. package/web/chunk-q6sv3fhe.js.gz +0 -0
  442. package/web/chunk-rbd2n2mr.js +1 -0
  443. package/web/chunk-rbd2n2mr.js.br +0 -0
  444. package/web/chunk-rbd2n2mr.js.gz +0 -0
  445. package/web/chunk-rbh0yrp6.js +1 -0
  446. package/web/chunk-rbh0yrp6.js.br +0 -0
  447. package/web/chunk-rbh0yrp6.js.gz +0 -0
  448. package/web/chunk-rdarpbhd.js +2 -0
  449. package/web/chunk-rdarpbhd.js.br +0 -0
  450. package/web/chunk-rdarpbhd.js.gz +0 -0
  451. package/web/chunk-rf93p28v.js +1 -0
  452. package/web/chunk-rf93p28v.js.br +0 -0
  453. package/web/chunk-rf93p28v.js.gz +0 -0
  454. package/web/chunk-rjvdk0s6.js +1 -0
  455. package/web/chunk-rjvdk0s6.js.br +0 -0
  456. package/web/chunk-rjvdk0s6.js.gz +0 -0
  457. package/web/chunk-rvmk483c.js +1 -0
  458. package/web/chunk-rvmk483c.js.br +0 -0
  459. package/web/chunk-rvmk483c.js.gz +0 -0
  460. package/web/chunk-s99vfrrz.js +1 -0
  461. package/web/chunk-s99vfrrz.js.br +0 -0
  462. package/web/chunk-s99vfrrz.js.gz +0 -0
  463. package/web/chunk-saem11tv.js +2 -0
  464. package/web/chunk-saem11tv.js.br +0 -0
  465. package/web/chunk-saem11tv.js.gz +0 -0
  466. package/web/chunk-scv8t4m6.js +1 -0
  467. package/web/chunk-scv8t4m6.js.br +0 -0
  468. package/web/chunk-scv8t4m6.js.gz +0 -0
  469. package/web/chunk-stsmcqxe.js +1 -0
  470. package/web/chunk-stsmcqxe.js.br +0 -0
  471. package/web/chunk-stsmcqxe.js.gz +0 -0
  472. package/web/chunk-svaq7f3c.js +1134 -0
  473. package/web/chunk-svaq7f3c.js.br +0 -0
  474. package/web/chunk-svaq7f3c.js.gz +0 -0
  475. package/web/chunk-sy099zt8.js +1 -0
  476. package/web/chunk-sy099zt8.js.br +0 -0
  477. package/web/chunk-sy099zt8.js.gz +0 -0
  478. package/web/chunk-thqrbjwn.js +1 -0
  479. package/web/chunk-thqrbjwn.js.br +2 -0
  480. package/web/chunk-thqrbjwn.js.gz +0 -0
  481. package/web/chunk-ty1m1k6b.js +1 -0
  482. package/web/chunk-ty1m1k6b.js.br +0 -0
  483. package/web/chunk-ty1m1k6b.js.gz +0 -0
  484. package/web/chunk-w54qcqk3.js +1 -0
  485. package/web/chunk-w54qcqk3.js.br +0 -0
  486. package/web/chunk-w54qcqk3.js.gz +0 -0
  487. package/web/chunk-wgf4paqc.js +1 -0
  488. package/web/chunk-wgf4paqc.js.br +0 -0
  489. package/web/chunk-wgf4paqc.js.gz +0 -0
  490. package/web/chunk-ww5c1dmz.js +1 -0
  491. package/web/chunk-ww5c1dmz.js.br +0 -0
  492. package/web/chunk-ww5c1dmz.js.gz +0 -0
  493. package/web/chunk-x5m7phbb.js +1 -0
  494. package/web/chunk-x5m7phbb.js.br +0 -0
  495. package/web/chunk-x5m7phbb.js.gz +0 -0
  496. package/web/chunk-x9wzj52f.js +2 -0
  497. package/web/chunk-x9wzj52f.js.br +0 -0
  498. package/web/chunk-x9wzj52f.js.gz +0 -0
  499. package/web/chunk-xgfam7bx.js +1 -0
  500. package/web/chunk-xgfam7bx.js.br +0 -0
  501. package/web/chunk-xgfam7bx.js.gz +0 -0
  502. package/web/chunk-xnn07hr4.js +21 -0
  503. package/web/chunk-xnn07hr4.js.br +0 -0
  504. package/web/chunk-xnn07hr4.js.gz +0 -0
  505. package/web/chunk-xreg1e03.js +78 -0
  506. package/web/chunk-xreg1e03.js.br +0 -0
  507. package/web/chunk-xreg1e03.js.gz +0 -0
  508. package/web/chunk-xsxd3wsv.js +4 -0
  509. package/web/chunk-xsxd3wsv.js.br +0 -0
  510. package/web/chunk-xsxd3wsv.js.gz +0 -0
  511. package/web/chunk-y7jebh1j.js +1 -0
  512. package/web/chunk-y7jebh1j.js.br +0 -0
  513. package/web/chunk-y7jebh1j.js.gz +0 -0
  514. package/web/chunk-yhn2mwnb.js +291 -0
  515. package/web/chunk-yhn2mwnb.js.br +0 -0
  516. package/web/chunk-yhn2mwnb.js.gz +0 -0
  517. package/web/chunk-yj85fg74.js +1 -0
  518. package/web/chunk-yj85fg74.js.br +0 -0
  519. package/web/chunk-yj85fg74.js.gz +0 -0
  520. package/web/chunk-yjvjzayn.js +1 -0
  521. package/web/chunk-yjvjzayn.js.br +0 -0
  522. package/web/chunk-yjvjzayn.js.gz +0 -0
  523. package/web/chunk-yqwvedf5.js +370 -0
  524. package/web/chunk-yqwvedf5.js.br +0 -0
  525. package/web/chunk-yqwvedf5.js.gz +0 -0
  526. package/web/chunk-z3tr221x.js +1 -0
  527. package/web/chunk-z3tr221x.js.br +0 -0
  528. package/web/chunk-z3tr221x.js.gz +0 -0
  529. package/web/chunk-z4n3tx0q.js +1 -0
  530. package/web/chunk-z4n3tx0q.js.br +0 -0
  531. package/web/chunk-z4n3tx0q.js.gz +0 -0
  532. package/web/index.html +1 -1
  533. package/web/index.html.br +0 -0
  534. package/web/index.html.gz +0 -0
  535. package/worker.js +1 -1
  536. package/chunk-09tdbx7b.js +0 -3
  537. package/chunk-0b2brwjc.js +0 -3
  538. package/chunk-0rsyawz5.js +0 -8
  539. package/chunk-16yz5ebn.js +0 -2
  540. package/chunk-1kdd7xry.js +0 -2
  541. package/chunk-1td9hjn9.js +0 -25
  542. package/chunk-1xjkzzyh.js +0 -3
  543. package/chunk-38932kzp.js +0 -3
  544. package/chunk-3qxq264t.js +0 -2
  545. package/chunk-3s8rpc1w.js +0 -3
  546. package/chunk-4fbj3k59.js +0 -3
  547. package/chunk-5415fcz7.js +0 -10
  548. package/chunk-5kezbmgw.js +0 -3
  549. package/chunk-5m51j40e.js +0 -7
  550. package/chunk-5mt8xxex.js +0 -3
  551. package/chunk-5ph58x6w.js +0 -39
  552. package/chunk-6jdqe7sz.js +0 -4
  553. package/chunk-6ztgzx9s.js +0 -2
  554. package/chunk-7dzcdpdt.js +0 -2
  555. package/chunk-82djd5fk.js +0 -3
  556. package/chunk-86vhsd3y.js +0 -31
  557. package/chunk-8rfv9mm1.js +0 -15
  558. package/chunk-8tvz5ht1.js +0 -16
  559. package/chunk-9pjmwz01.js +0 -2
  560. package/chunk-9qzyn98b.js +0 -3
  561. package/chunk-9w1m9av8.js +0 -11
  562. package/chunk-9wjd9bxm.js +0 -2
  563. package/chunk-a3fpx924.js +0 -3
  564. package/chunk-b49005n2.js +0 -471
  565. package/chunk-bdz2561d.js +0 -2
  566. package/chunk-bkvhwgeb.js +0 -3
  567. package/chunk-bp9tfav3.js +0 -2
  568. package/chunk-cc9htxzx.js +0 -3557
  569. package/chunk-cr0tqn6j.js +0 -3
  570. package/chunk-cv5kdnsw.js +0 -3
  571. package/chunk-d79s1s4t.js +0 -25
  572. package/chunk-e0ytnnwt.js +0 -3
  573. package/chunk-e2m8ap8f.js +0 -3
  574. package/chunk-ec6bzt7w.js +0 -20
  575. package/chunk-enmrpjpt.js +0 -3
  576. package/chunk-eq54cmsa.js +0 -4
  577. package/chunk-fj56fznw.js +0 -3
  578. package/chunk-g54nd4fd.js +0 -5
  579. package/chunk-g8p5c4vx.js +0 -7
  580. package/chunk-g9bemxpt.js +0 -3
  581. package/chunk-gs5aebwh.js +0 -2
  582. package/chunk-hk5p2eee.js +0 -12
  583. package/chunk-jerp4pj5.js +0 -2
  584. package/chunk-jsvqp20s.js +0 -2
  585. package/chunk-k9x1r69s.js +0 -18
  586. package/chunk-kb526065.js +0 -2
  587. package/chunk-kpw1qa2n.js +0 -11
  588. package/chunk-mbvy2t23.js +0 -2
  589. package/chunk-mmnsdje8.js +0 -390
  590. package/chunk-nffwakxq.js +0 -2
  591. package/chunk-nfj8sj53.js +0 -2
  592. package/chunk-pzwaz2ew.js +0 -5
  593. package/chunk-qtgc74er.js +0 -5
  594. package/chunk-qtrd33pp.js +0 -7
  595. package/chunk-rbk6jxcr.js +0 -2
  596. package/chunk-rpbxbb92.js +0 -10
  597. package/chunk-rx812nrp.js +0 -3
  598. package/chunk-scy1p7x2.js +0 -9
  599. package/chunk-sfgw0vmt.js +0 -2
  600. package/chunk-t3mq64c8.js +0 -3
  601. package/chunk-tmefdwxy.js +0 -2
  602. package/chunk-tvg54x0x.js +0 -2
  603. package/chunk-v878x8zr.js +0 -7
  604. package/chunk-v89f2k9b.js +0 -2
  605. package/chunk-vhe16b65.js +0 -3
  606. package/chunk-vzrmdaba.js +0 -2
  607. package/chunk-w3skxmvx.js +0 -3
  608. package/chunk-w4kasz4j.js +0 -12
  609. package/chunk-w4zkgn1c.js +0 -4
  610. package/chunk-we5emq6f.js +0 -2
  611. package/chunk-x0dcabw6.js +0 -3
  612. package/chunk-xtj7b70y.js +0 -5
  613. package/chunk-xwew53k7.js +0 -59
  614. package/chunk-xyhr89y5.js +0 -3
  615. package/chunk-yce46csn.js +0 -2
  616. package/chunk-yetcb1z9.js +0 -3
  617. package/chunk-ypmpf75h.js +0 -2
  618. package/chunk-zkjnt298.js +0 -3
  619. package/chunk-zz48zvk5.js +0 -2
  620. package/web/chunk-04c54f1s.js +0 -1
  621. package/web/chunk-04c54f1s.js.br +0 -2
  622. package/web/chunk-04c54f1s.js.gz +0 -0
  623. package/web/chunk-04m1cb8w.js +0 -1
  624. package/web/chunk-04m1cb8w.js.br +0 -0
  625. package/web/chunk-04m1cb8w.js.gz +0 -0
  626. package/web/chunk-08z6mkgz.js +0 -40
  627. package/web/chunk-08z6mkgz.js.br +0 -0
  628. package/web/chunk-08z6mkgz.js.gz +0 -0
  629. package/web/chunk-0g9m3rpw.js +0 -55
  630. package/web/chunk-0g9m3rpw.js.br +0 -0
  631. package/web/chunk-0g9m3rpw.js.gz +0 -0
  632. package/web/chunk-0jccrdw3.js +0 -2
  633. package/web/chunk-0jccrdw3.js.br +0 -0
  634. package/web/chunk-0jccrdw3.js.gz +0 -0
  635. package/web/chunk-0rvx1z2b.js +0 -1
  636. package/web/chunk-0rvx1z2b.js.br +0 -0
  637. package/web/chunk-0rvx1z2b.js.gz +0 -0
  638. package/web/chunk-0vweazdh.js +0 -12
  639. package/web/chunk-0vweazdh.js.br +0 -0
  640. package/web/chunk-0vweazdh.js.gz +0 -0
  641. package/web/chunk-0wqmwnd8.js +0 -2
  642. package/web/chunk-0wqmwnd8.js.br +0 -0
  643. package/web/chunk-0wqmwnd8.js.gz +0 -0
  644. package/web/chunk-0z10aqp1.js +0 -2
  645. package/web/chunk-0z10aqp1.js.br +0 -0
  646. package/web/chunk-0z10aqp1.js.gz +0 -0
  647. package/web/chunk-12vcrj7y.js +0 -1
  648. package/web/chunk-12vcrj7y.js.br +0 -0
  649. package/web/chunk-12vcrj7y.js.gz +0 -0
  650. package/web/chunk-1vtf555r.js +0 -1
  651. package/web/chunk-1vtf555r.js.br +0 -0
  652. package/web/chunk-1vtf555r.js.gz +0 -0
  653. package/web/chunk-29z0ft67.js +0 -370
  654. package/web/chunk-29z0ft67.js.br +0 -0
  655. package/web/chunk-29z0ft67.js.gz +0 -0
  656. package/web/chunk-2q3m4btb.js +0 -1
  657. package/web/chunk-2q3m4btb.js.br +0 -0
  658. package/web/chunk-2q3m4btb.js.gz +0 -0
  659. package/web/chunk-2s6fhjjc.js +0 -1134
  660. package/web/chunk-2s6fhjjc.js.br +0 -0
  661. package/web/chunk-2s6fhjjc.js.gz +0 -0
  662. package/web/chunk-2vdx4ykn.js +0 -139
  663. package/web/chunk-2vdx4ykn.js.br +0 -0
  664. package/web/chunk-2vdx4ykn.js.gz +0 -0
  665. package/web/chunk-2zgqe8r7.js +0 -1
  666. package/web/chunk-2zgqe8r7.js.br +0 -0
  667. package/web/chunk-2zgqe8r7.js.gz +0 -0
  668. package/web/chunk-366a11ec.js +0 -1
  669. package/web/chunk-366a11ec.js.br +0 -0
  670. package/web/chunk-366a11ec.js.gz +0 -0
  671. package/web/chunk-3kqpmg83.js +0 -78
  672. package/web/chunk-3kqpmg83.js.br +0 -0
  673. package/web/chunk-3kqpmg83.js.gz +0 -0
  674. package/web/chunk-3rmqxna0.js +0 -1
  675. package/web/chunk-3rmqxna0.js.br +0 -0
  676. package/web/chunk-3rmqxna0.js.gz +0 -0
  677. package/web/chunk-3xmv2349.js +0 -21
  678. package/web/chunk-3xmv2349.js.br +0 -0
  679. package/web/chunk-3xmv2349.js.gz +0 -0
  680. package/web/chunk-46cdys11.js +0 -34
  681. package/web/chunk-46cdys11.js.br +0 -0
  682. package/web/chunk-46cdys11.js.gz +0 -0
  683. package/web/chunk-46mw23f0.js +0 -8
  684. package/web/chunk-46mw23f0.js.br +0 -0
  685. package/web/chunk-46mw23f0.js.gz +0 -0
  686. package/web/chunk-4mypk63p.js +0 -2
  687. package/web/chunk-4mypk63p.js.br +0 -0
  688. package/web/chunk-4mypk63p.js.gz +0 -0
  689. package/web/chunk-4r0dvjrr.js +0 -2
  690. package/web/chunk-4r0dvjrr.js.br +0 -0
  691. package/web/chunk-4r0dvjrr.js.gz +0 -0
  692. package/web/chunk-4v6m84pg.js +0 -3
  693. package/web/chunk-4v6m84pg.js.br +0 -0
  694. package/web/chunk-4v6m84pg.js.gz +0 -0
  695. package/web/chunk-4wd9r73y.js +0 -1
  696. package/web/chunk-4wd9r73y.js.br +0 -0
  697. package/web/chunk-4wd9r73y.js.gz +0 -0
  698. package/web/chunk-4ye31s2w.js +0 -1
  699. package/web/chunk-4ye31s2w.js.br +0 -4
  700. package/web/chunk-4ye31s2w.js.gz +0 -0
  701. package/web/chunk-52tt9qt4.js +0 -2
  702. package/web/chunk-52tt9qt4.js.br +0 -0
  703. package/web/chunk-52tt9qt4.js.gz +0 -0
  704. package/web/chunk-5cp4n5ck.js +0 -2
  705. package/web/chunk-5cp4n5ck.js.br +0 -0
  706. package/web/chunk-5cp4n5ck.js.gz +0 -0
  707. package/web/chunk-5kavsn22.js +0 -4
  708. package/web/chunk-5kavsn22.js.br +0 -0
  709. package/web/chunk-5kavsn22.js.gz +0 -0
  710. package/web/chunk-5q2h4tg8.js +0 -2
  711. package/web/chunk-5q2h4tg8.js.br +0 -4
  712. package/web/chunk-5q2h4tg8.js.gz +0 -0
  713. package/web/chunk-5tbk6dx6.js +0 -292
  714. package/web/chunk-5tbk6dx6.js.br +0 -0
  715. package/web/chunk-5tbk6dx6.js.gz +0 -0
  716. package/web/chunk-5yb0sm1r.js +0 -1
  717. package/web/chunk-5yb0sm1r.js.br +0 -0
  718. package/web/chunk-5yb0sm1r.js.gz +0 -0
  719. package/web/chunk-5yz46tjw.js +0 -2
  720. package/web/chunk-5yz46tjw.js.br +0 -0
  721. package/web/chunk-5yz46tjw.js.gz +0 -0
  722. package/web/chunk-619a8t38.js +0 -1
  723. package/web/chunk-619a8t38.js.br +0 -0
  724. package/web/chunk-619a8t38.js.gz +0 -0
  725. package/web/chunk-6areryyn.js +0 -2
  726. package/web/chunk-6areryyn.js.br +0 -0
  727. package/web/chunk-6areryyn.js.gz +0 -0
  728. package/web/chunk-6ms78sx5.js +0 -1
  729. package/web/chunk-6ms78sx5.js.br +0 -0
  730. package/web/chunk-6ms78sx5.js.gz +0 -0
  731. package/web/chunk-6ts9mtye.js +0 -2
  732. package/web/chunk-6ts9mtye.js.br +0 -0
  733. package/web/chunk-6ts9mtye.js.gz +0 -0
  734. package/web/chunk-79whhay2.js +0 -2
  735. package/web/chunk-79whhay2.js.br +0 -0
  736. package/web/chunk-79whhay2.js.gz +0 -0
  737. package/web/chunk-7cf1kk45.js +0 -1
  738. package/web/chunk-7cf1kk45.js.br +0 -2
  739. package/web/chunk-7cf1kk45.js.gz +0 -0
  740. package/web/chunk-7n1abr86.js +0 -1
  741. package/web/chunk-7n1abr86.js.br +0 -0
  742. package/web/chunk-7n1abr86.js.gz +0 -0
  743. package/web/chunk-7qxfx983.js +0 -1
  744. package/web/chunk-7qxfx983.js.br +0 -0
  745. package/web/chunk-7qxfx983.js.gz +0 -0
  746. package/web/chunk-89crtpnw.js +0 -1
  747. package/web/chunk-89crtpnw.js.br +0 -0
  748. package/web/chunk-89crtpnw.js.gz +0 -0
  749. package/web/chunk-8g239029.js +0 -1
  750. package/web/chunk-8g239029.js.br +0 -0
  751. package/web/chunk-8g239029.js.gz +0 -0
  752. package/web/chunk-91k30q92.js +0 -1
  753. package/web/chunk-91k30q92.js.br +0 -0
  754. package/web/chunk-91k30q92.js.gz +0 -0
  755. package/web/chunk-91nyvkrb.js +0 -324
  756. package/web/chunk-91nyvkrb.js.br +0 -0
  757. package/web/chunk-91nyvkrb.js.gz +0 -0
  758. package/web/chunk-9mbr6znb.js +0 -1
  759. package/web/chunk-9mbr6znb.js.br +0 -0
  760. package/web/chunk-9mbr6znb.js.gz +0 -0
  761. package/web/chunk-9mvw6a5v.js +0 -7
  762. package/web/chunk-9mvw6a5v.js.br +0 -0
  763. package/web/chunk-9mvw6a5v.js.gz +0 -0
  764. package/web/chunk-9r7nbre7.js +0 -2
  765. package/web/chunk-9r7nbre7.js.br +0 -0
  766. package/web/chunk-9r7nbre7.js.gz +0 -0
  767. package/web/chunk-9y9nwaqj.js +0 -1
  768. package/web/chunk-9y9nwaqj.js.br +0 -0
  769. package/web/chunk-9y9nwaqj.js.gz +0 -0
  770. package/web/chunk-a6hdn8tb.js +0 -169
  771. package/web/chunk-a6hdn8tb.js.br +0 -0
  772. package/web/chunk-a6hdn8tb.js.gz +0 -0
  773. package/web/chunk-ad6x47yy.js +0 -1
  774. package/web/chunk-ad6x47yy.js.br +0 -0
  775. package/web/chunk-ad6x47yy.js.gz +0 -0
  776. package/web/chunk-ar6m9fza.js +0 -7
  777. package/web/chunk-ar6m9fza.js.br +0 -0
  778. package/web/chunk-ar6m9fza.js.gz +0 -0
  779. package/web/chunk-ayqakyyq.js +0 -1
  780. package/web/chunk-ayqakyyq.js.br +0 -0
  781. package/web/chunk-ayqakyyq.js.gz +0 -0
  782. package/web/chunk-cc6hn5xv.js +0 -2
  783. package/web/chunk-cc6hn5xv.js.br +0 -0
  784. package/web/chunk-cc6hn5xv.js.gz +0 -0
  785. package/web/chunk-ccymg1hp.js +0 -1
  786. package/web/chunk-ccymg1hp.js.br +0 -0
  787. package/web/chunk-ccymg1hp.js.gz +0 -0
  788. package/web/chunk-cg9fe42b.js +0 -89
  789. package/web/chunk-cg9fe42b.js.br +0 -0
  790. package/web/chunk-cg9fe42b.js.gz +0 -0
  791. package/web/chunk-cmcgmf94.js +0 -1
  792. package/web/chunk-cmcgmf94.js.br +0 -0
  793. package/web/chunk-cmcgmf94.js.gz +0 -0
  794. package/web/chunk-cnbbvd6n.js +0 -1
  795. package/web/chunk-cnbbvd6n.js.br +0 -0
  796. package/web/chunk-cnbbvd6n.js.gz +0 -0
  797. package/web/chunk-cxp2nbtc.js +0 -106
  798. package/web/chunk-cxp2nbtc.js.br +0 -0
  799. package/web/chunk-cxp2nbtc.js.gz +0 -0
  800. package/web/chunk-d18r4m14.js +0 -141
  801. package/web/chunk-d18r4m14.js.br +0 -0
  802. package/web/chunk-d18r4m14.js.gz +0 -0
  803. package/web/chunk-dj2b64aj.js +0 -1
  804. package/web/chunk-dj2b64aj.js.br +0 -0
  805. package/web/chunk-dj2b64aj.js.gz +0 -0
  806. package/web/chunk-dmqtdeb4.js +0 -1
  807. package/web/chunk-dmqtdeb4.js.br +0 -0
  808. package/web/chunk-dmqtdeb4.js.gz +0 -0
  809. package/web/chunk-dsga6rp3.js +0 -1
  810. package/web/chunk-dsga6rp3.js.br +0 -0
  811. package/web/chunk-dsga6rp3.js.gz +0 -0
  812. package/web/chunk-e65y60v1.js +0 -2
  813. package/web/chunk-e65y60v1.js.br +0 -0
  814. package/web/chunk-e65y60v1.js.gz +0 -0
  815. package/web/chunk-ed8qqn45.js +0 -2
  816. package/web/chunk-ed8qqn45.js.br +0 -0
  817. package/web/chunk-ed8qqn45.js.gz +0 -0
  818. package/web/chunk-ef1h0tt7.js +0 -2
  819. package/web/chunk-ef1h0tt7.js.br +0 -0
  820. package/web/chunk-ef1h0tt7.js.gz +0 -0
  821. package/web/chunk-ek6q6a08.js +0 -1
  822. package/web/chunk-ek6q6a08.js.br +0 -2
  823. package/web/chunk-ek6q6a08.js.gz +0 -0
  824. package/web/chunk-et1nm6h1.js +0 -142
  825. package/web/chunk-et1nm6h1.js.br +0 -0
  826. package/web/chunk-et1nm6h1.js.gz +0 -0
  827. package/web/chunk-f1016wh6.js +0 -1
  828. package/web/chunk-f1016wh6.js.br +0 -0
  829. package/web/chunk-f1016wh6.js.gz +0 -0
  830. package/web/chunk-f42mwg61.js +0 -1
  831. package/web/chunk-f42mwg61.js.br +0 -0
  832. package/web/chunk-f42mwg61.js.gz +0 -0
  833. package/web/chunk-fk35d3bz.js +0 -332
  834. package/web/chunk-fk35d3bz.js.br +0 -0
  835. package/web/chunk-fk35d3bz.js.gz +0 -0
  836. package/web/chunk-fpwztdhn.js +0 -39
  837. package/web/chunk-fpwztdhn.js.br +0 -0
  838. package/web/chunk-fpwztdhn.js.gz +0 -0
  839. package/web/chunk-g30nqfka.js +0 -2
  840. package/web/chunk-g30nqfka.js.br +0 -0
  841. package/web/chunk-g30nqfka.js.gz +0 -0
  842. package/web/chunk-g3vbtxgy.js +0 -2
  843. package/web/chunk-g3vbtxgy.js.br +0 -0
  844. package/web/chunk-g3vbtxgy.js.gz +0 -0
  845. package/web/chunk-gbwy4pfg.css +0 -1
  846. package/web/chunk-gbwy4pfg.css.br +0 -0
  847. package/web/chunk-gbwy4pfg.css.gz +0 -0
  848. package/web/chunk-gepgx19m.js +0 -200
  849. package/web/chunk-gepgx19m.js.br +0 -0
  850. package/web/chunk-gepgx19m.js.gz +0 -0
  851. package/web/chunk-grz69q28.js +0 -36
  852. package/web/chunk-grz69q28.js.br +0 -0
  853. package/web/chunk-grz69q28.js.gz +0 -0
  854. package/web/chunk-gt62acsh.js +0 -2
  855. package/web/chunk-gt62acsh.js.br +0 -0
  856. package/web/chunk-gt62acsh.js.gz +0 -0
  857. package/web/chunk-h28xrvmg.js +0 -41
  858. package/web/chunk-h28xrvmg.js.br +0 -0
  859. package/web/chunk-h28xrvmg.js.gz +0 -0
  860. package/web/chunk-h80ypke7.js +0 -2
  861. package/web/chunk-h80ypke7.js.br +0 -0
  862. package/web/chunk-h80ypke7.js.gz +0 -0
  863. package/web/chunk-hj067dfg.js +0 -1
  864. package/web/chunk-hj067dfg.js.br +0 -2
  865. package/web/chunk-hj067dfg.js.gz +0 -0
  866. package/web/chunk-hp167dbv.js +0 -1
  867. package/web/chunk-hp167dbv.js.br +0 -0
  868. package/web/chunk-hp167dbv.js.gz +0 -0
  869. package/web/chunk-j4942vkb.js +0 -1
  870. package/web/chunk-j4942vkb.js.br +0 -0
  871. package/web/chunk-j4942vkb.js.gz +0 -0
  872. package/web/chunk-k1cd6e24.js +0 -1
  873. package/web/chunk-k1cd6e24.js.br +0 -0
  874. package/web/chunk-k1cd6e24.js.gz +0 -0
  875. package/web/chunk-k1d0y72z.js +0 -2
  876. package/web/chunk-k1d0y72z.js.br +0 -0
  877. package/web/chunk-k1d0y72z.js.gz +0 -0
  878. package/web/chunk-k9248573.js +0 -1
  879. package/web/chunk-k9248573.js.br +0 -0
  880. package/web/chunk-k9248573.js.gz +0 -0
  881. package/web/chunk-kh0xyffx.js +0 -1
  882. package/web/chunk-kh0xyffx.js.br +0 -0
  883. package/web/chunk-kh0xyffx.js.gz +0 -0
  884. package/web/chunk-kqgn9dsa.js +0 -7
  885. package/web/chunk-kqgn9dsa.js.br +0 -0
  886. package/web/chunk-kqgn9dsa.js.gz +0 -0
  887. package/web/chunk-kqngpw5m.js +0 -1
  888. package/web/chunk-kqngpw5m.js.br +0 -0
  889. package/web/chunk-kqngpw5m.js.gz +0 -0
  890. package/web/chunk-ktvxgxsd.js +0 -2
  891. package/web/chunk-ktvxgxsd.js.br +0 -0
  892. package/web/chunk-ktvxgxsd.js.gz +0 -0
  893. package/web/chunk-kzj105r1.js +0 -217
  894. package/web/chunk-kzj105r1.js.br +0 -0
  895. package/web/chunk-kzj105r1.js.gz +0 -0
  896. package/web/chunk-m14v2en1.js +0 -1
  897. package/web/chunk-m14v2en1.js.br +0 -0
  898. package/web/chunk-m14v2en1.js.gz +0 -0
  899. package/web/chunk-m34et8g4.js +0 -2
  900. package/web/chunk-m34et8g4.js.br +0 -0
  901. package/web/chunk-m34et8g4.js.gz +0 -0
  902. package/web/chunk-md1f6gmk.js +0 -1
  903. package/web/chunk-md1f6gmk.js.br +0 -0
  904. package/web/chunk-md1f6gmk.js.gz +0 -0
  905. package/web/chunk-n05xf20n.js +0 -98
  906. package/web/chunk-n05xf20n.js.br +0 -0
  907. package/web/chunk-n05xf20n.js.gz +0 -0
  908. package/web/chunk-n2k1gd6n.js +0 -84
  909. package/web/chunk-n2k1gd6n.js.br +0 -0
  910. package/web/chunk-n2k1gd6n.js.gz +0 -0
  911. package/web/chunk-n419cees.js +0 -1
  912. package/web/chunk-n419cees.js.br +0 -0
  913. package/web/chunk-n419cees.js.gz +0 -0
  914. package/web/chunk-n45fgfyt.js +0 -1
  915. package/web/chunk-n45fgfyt.js.br +0 -2
  916. package/web/chunk-n45fgfyt.js.gz +0 -0
  917. package/web/chunk-n5v71fas.js +0 -2
  918. package/web/chunk-n5v71fas.js.br +0 -0
  919. package/web/chunk-n5v71fas.js.gz +0 -0
  920. package/web/chunk-nm8yza3v.js +0 -140
  921. package/web/chunk-nm8yza3v.js.br +0 -0
  922. package/web/chunk-nm8yza3v.js.gz +0 -0
  923. package/web/chunk-nzey7cpv.js +0 -1
  924. package/web/chunk-nzey7cpv.js.br +0 -0
  925. package/web/chunk-nzey7cpv.js.gz +0 -0
  926. package/web/chunk-p76f6cf4.js +0 -2
  927. package/web/chunk-p76f6cf4.js.br +0 -0
  928. package/web/chunk-p76f6cf4.js.gz +0 -0
  929. package/web/chunk-pbg9rdwv.js +0 -1
  930. package/web/chunk-pbg9rdwv.js.br +0 -2
  931. package/web/chunk-pbg9rdwv.js.gz +0 -0
  932. package/web/chunk-qgtqwmkb.js +0 -1
  933. package/web/chunk-qgtqwmkb.js.br +0 -2
  934. package/web/chunk-qgtqwmkb.js.gz +0 -0
  935. package/web/chunk-qj9nd038.js +0 -1
  936. package/web/chunk-qj9nd038.js.br +0 -0
  937. package/web/chunk-qj9nd038.js.gz +0 -0
  938. package/web/chunk-qjaex9c0.js +0 -1
  939. package/web/chunk-qjaex9c0.js.br +0 -2
  940. package/web/chunk-qjaex9c0.js.gz +0 -0
  941. package/web/chunk-qq79vsm8.js +0 -70
  942. package/web/chunk-qq79vsm8.js.br +0 -0
  943. package/web/chunk-qq79vsm8.js.gz +0 -0
  944. package/web/chunk-qs5wnwd6.js +0 -30
  945. package/web/chunk-qs5wnwd6.js.br +0 -0
  946. package/web/chunk-qs5wnwd6.js.gz +0 -0
  947. package/web/chunk-qygjhm63.js +0 -1
  948. package/web/chunk-qygjhm63.js.br +0 -0
  949. package/web/chunk-qygjhm63.js.gz +0 -0
  950. package/web/chunk-r1dnh0s8.js +0 -1
  951. package/web/chunk-r1dnh0s8.js.br +0 -0
  952. package/web/chunk-r1dnh0s8.js.gz +0 -0
  953. package/web/chunk-r381n550.js +0 -1
  954. package/web/chunk-r381n550.js.br +0 -0
  955. package/web/chunk-r381n550.js.gz +0 -0
  956. package/web/chunk-r48vazdm.js +0 -291
  957. package/web/chunk-r48vazdm.js.br +0 -0
  958. package/web/chunk-r48vazdm.js.gz +0 -0
  959. package/web/chunk-r55seq42.js +0 -24
  960. package/web/chunk-r55seq42.js.br +0 -0
  961. package/web/chunk-r55seq42.js.gz +0 -0
  962. package/web/chunk-r5eakmw6.js +0 -1
  963. package/web/chunk-r5eakmw6.js.br +0 -0
  964. package/web/chunk-r5eakmw6.js.gz +0 -0
  965. package/web/chunk-r79zekav.js +0 -1
  966. package/web/chunk-r79zekav.js.br +0 -0
  967. package/web/chunk-r79zekav.js.gz +0 -0
  968. package/web/chunk-r8qyvcks.js +0 -89
  969. package/web/chunk-r8qyvcks.js.br +0 -0
  970. package/web/chunk-r8qyvcks.js.gz +0 -0
  971. package/web/chunk-r9dt0730.js +0 -1
  972. package/web/chunk-r9dt0730.js.br +0 -0
  973. package/web/chunk-r9dt0730.js.gz +0 -0
  974. package/web/chunk-rfsg5rke.js +0 -1
  975. package/web/chunk-rfsg5rke.js.br +0 -2
  976. package/web/chunk-rfsg5rke.js.gz +0 -0
  977. package/web/chunk-rpjzwknn.js +0 -1
  978. package/web/chunk-rpjzwknn.js.br +0 -0
  979. package/web/chunk-rpjzwknn.js.gz +0 -0
  980. package/web/chunk-s7h50avx.js +0 -2
  981. package/web/chunk-s7h50avx.js.br +0 -0
  982. package/web/chunk-s7h50avx.js.gz +0 -0
  983. package/web/chunk-sk3065js.js +0 -62
  984. package/web/chunk-sk3065js.js.br +0 -0
  985. package/web/chunk-sk3065js.js.gz +0 -0
  986. package/web/chunk-sk47kk5j.js +0 -1
  987. package/web/chunk-sk47kk5j.js.br +0 -0
  988. package/web/chunk-sk47kk5j.js.gz +0 -0
  989. package/web/chunk-smywa1zw.js +0 -2
  990. package/web/chunk-smywa1zw.js.br +0 -0
  991. package/web/chunk-smywa1zw.js.gz +0 -0
  992. package/web/chunk-t6agpn2z.js +0 -1
  993. package/web/chunk-t6agpn2z.js.br +0 -0
  994. package/web/chunk-t6agpn2z.js.gz +0 -0
  995. package/web/chunk-t9heac9a.js +0 -2
  996. package/web/chunk-t9heac9a.js.br +0 -0
  997. package/web/chunk-t9heac9a.js.gz +0 -0
  998. package/web/chunk-trssyq9a.js +0 -1
  999. package/web/chunk-trssyq9a.js.br +0 -0
  1000. package/web/chunk-trssyq9a.js.gz +0 -0
  1001. package/web/chunk-v329f8df.js +0 -24
  1002. package/web/chunk-v329f8df.js.br +0 -0
  1003. package/web/chunk-v329f8df.js.gz +0 -0
  1004. package/web/chunk-vb2feptd.js +0 -2
  1005. package/web/chunk-vb2feptd.js.br +0 -0
  1006. package/web/chunk-vb2feptd.js.gz +0 -0
  1007. package/web/chunk-vff33vj3.js +0 -1
  1008. package/web/chunk-vff33vj3.js.br +0 -2
  1009. package/web/chunk-vff33vj3.js.gz +0 -0
  1010. package/web/chunk-w9adyaze.js +0 -16
  1011. package/web/chunk-w9adyaze.js.br +0 -0
  1012. package/web/chunk-w9adyaze.js.gz +0 -0
  1013. package/web/chunk-wgc8z5jv.js +0 -1
  1014. package/web/chunk-wgc8z5jv.js.br +0 -0
  1015. package/web/chunk-wgc8z5jv.js.gz +0 -0
  1016. package/web/chunk-wvdk3w03.js +0 -2
  1017. package/web/chunk-wvdk3w03.js.br +0 -0
  1018. package/web/chunk-wvdk3w03.js.gz +0 -0
  1019. package/web/chunk-wvvrdqgb.js +0 -1
  1020. package/web/chunk-wvvrdqgb.js.br +0 -2
  1021. package/web/chunk-wvvrdqgb.js.gz +0 -0
  1022. package/web/chunk-wxmaw4ht.js +0 -1
  1023. package/web/chunk-wxmaw4ht.js.br +0 -0
  1024. package/web/chunk-wxmaw4ht.js.gz +0 -0
  1025. package/web/chunk-x19jdqnt.js +0 -38
  1026. package/web/chunk-x19jdqnt.js.br +0 -0
  1027. package/web/chunk-x19jdqnt.js.gz +0 -0
  1028. package/web/chunk-x4153gx3.js +0 -214
  1029. package/web/chunk-x4153gx3.js.br +0 -0
  1030. package/web/chunk-x4153gx3.js.gz +0 -0
  1031. package/web/chunk-x7wmb5d3.js +0 -4
  1032. package/web/chunk-x7wmb5d3.js.br +0 -0
  1033. package/web/chunk-x7wmb5d3.js.gz +0 -0
  1034. package/web/chunk-xp2zpmpp.js +0 -303
  1035. package/web/chunk-xp2zpmpp.js.br +0 -0
  1036. package/web/chunk-xp2zpmpp.js.gz +0 -0
  1037. package/web/chunk-xp9tdb5t.js +0 -1
  1038. package/web/chunk-xp9tdb5t.js.br +0 -2
  1039. package/web/chunk-xp9tdb5t.js.gz +0 -0
  1040. package/web/chunk-y09v3sz7.js +0 -1
  1041. package/web/chunk-y09v3sz7.js.br +0 -0
  1042. package/web/chunk-y09v3sz7.js.gz +0 -0
  1043. package/web/chunk-y10hsdq4.js +0 -1
  1044. package/web/chunk-y10hsdq4.js.br +0 -0
  1045. package/web/chunk-y10hsdq4.js.gz +0 -0
  1046. package/web/chunk-ywmsxe5z.js +0 -99
  1047. package/web/chunk-ywmsxe5z.js.br +0 -0
  1048. package/web/chunk-ywmsxe5z.js.gz +0 -0
  1049. package/web/chunk-yzyxa823.js +0 -2
  1050. package/web/chunk-yzyxa823.js.br +0 -0
  1051. package/web/chunk-yzyxa823.js.gz +0 -0
  1052. package/web/chunk-z09emmrb.js +0 -1
  1053. package/web/chunk-z09emmrb.js.br +0 -0
  1054. package/web/chunk-z09emmrb.js.gz +0 -0
  1055. package/web/chunk-zwx48gb8.js +0 -120
  1056. package/web/chunk-zwx48gb8.js.br +0 -0
  1057. package/web/chunk-zwx48gb8.js.gz +0 -0
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{mr,Ho}from"./chunk-7a5derff.js";import"./chunk-5znfck4s.js";export{mr as stream,Ho as streamSimple};
@@ -0,0 +1,4 @@
1
+ // @bun
2
+ import"./chunk-sqr8tx1m.js";import"./chunk-5znfck4s.js";import"./chunk-9h05aqdd.js";import"./chunk-7a5derff.js";import"./chunk-wacjm9ww.js";import{Yr}from"./chunk-pt14ba7d.js";import"./chunk-bm2jhkqt.js";async function u(o,n,s,t){let r=new Yr(o,{localPort:()=>t.port});try{if(n==="set"&&s){let e=t.token??process.env.BASALT_TUNNEL_TOKEN;if(t.team!==void 0&&t.aud===void 0)throw Error("Access \u6821\u9A8C\u9700\u8981 --aud\uFF1B--team \u53EF\u4EE5\u4E0D\u586B\uFF08\u4FDD\u5B58\u65F6\u4F1A\u81EA\u52A8\u63A2\u6D4B\u56E2\u961F\u57DF\u540D\uFF09");let a=await r.save({hostname:s,...e?{token:e}:{},...t.aud?{access:{...t.team?{teamDomain:t.team}:{},audience:t.aud}}:{}},{start:!1});return console.log(`\u5DF2\u4FDD\u5B58\uFF1A${a.publicURL}${a.access?"\uFF08\u5DF2\u542F\u7528 Access \u6821\u9A8C\uFF09":""}`),console.log(`Cloudflare \u91CC\u8BE5\u4E3B\u673A\u540D\u7684\u670D\u52A1\u8981\u6307\u5411 http://localhost:${t.port}`),console.log("\u4E0B\u6B21\u542F\u52A8 basalt \u65F6\u81EA\u52A8\u8FDE\u63A5\uFF1B\u5DF2\u5728\u8FD0\u884C\u7684 basalt \u8BF7\u5230 \u8BBE\u7F6E \u2192 \u670D\u52A1\u5668 \u2192 \u8FDC\u7A0B\u8BBF\u95EE \u91CC\u64CD\u4F5C\uFF0C\u6216\u52A0 --replace \u91CD\u542F\u3002"),0}if(n==="off")return await r.remove(),console.log("\u5DF2\u5220\u9664\u8FDC\u7A0B\u8BBF\u95EE\u914D\u7F6E"),0;if(n==="status"||n===void 0){let e=r.status();if(!e.configured)console.log("\u8FDC\u7A0B\u8BBF\u95EE\uFF1A\u672A\u914D\u7F6E\uFF08basalt tunnel set <\u4E3B\u673A\u540D> --token <\u4EE4\u724C>\uFF09");else console.log(`\u8FDC\u7A0B\u8BBF\u95EE\uFF1A${e.publicURL}
3
+ Access \u6821\u9A8C\uFF1A${e.access?e.access.teamDomain:"\u672A\u542F\u7528"}
4
+ \u4EE4\u724C\uFF1A\u5DF2\u4FDD\u5B58`);return 0}throw Error("\u7528\u6CD5\uFF1Abasalt tunnel set <\u4E3B\u673A\u540D> [--token <\u4EE4\u724C>] [--aud <Audience> [--team <\u56E2\u961F\u57DF\u540D>]] | off | status")}catch(e){return console.error(e instanceof Error?e.message:String(e)),1}}export{u as tunnelCommand};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{h,f,g}from"./chunk-wacjm9ww.js";import{ie}from"./chunk-g18hxgdr.js";var c=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,a,o,s,p){return a?i?".jsx":".js":o&&(!s||!p)?e:o+s+"."+p.toLowerCase()+"js"});return t},l=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(c(i))},r;function Ti(t){r=t}var Pi=()=>ie(async()=>r??await l("./bedrock-converse-stream.ts"));var n={"anthropic-messages":{"chat:claude-fable-5":{id:"claude-fable-5",name:"Claude Fable 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:1,cacheWrite:12.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0},thinkingLevelMap:{off:null,xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-fable-5.1":{id:"claude-fable-5.1",name:"Claude Fable 5.1",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:0.25,cacheWrite:12.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0},thinkingLevelMap:{off:null,xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-haiku-4.5":{id:"claude-haiku-4.5",name:"Claude Haiku 4.5 (latest)",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},contextWindow:200000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsEagerToolInputStreaming:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-haiku-5.5":{id:"claude-haiku-5.5",name:"Claude Haiku 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.1,output:0.5,cacheRead:0.01,cacheWrite:0.125,tiers:[{inputTokensAbove:1e5,input:0.5,output:2.5,cacheRead:0.05,cacheWrite:0.625}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-4.7":{id:"claude-opus-4.7",name:"Claude Opus 4.7",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},compat:{forceAdaptiveThinking:!0,supportsTemperature:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-4.8":{id:"claude-opus-4.8",name:"Claude Opus 4.8",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-5":{id:"claude-opus-5",name:"Claude Opus 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max",minimal:"low"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-opus-5.5":{id:"claude-opus-5.5",name:"Claude Opus 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:4,output:20,cacheRead:0.2,cacheWrite:5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-4.6":{id:"claude-sonnet-4.6",name:"Claude Sonnet 4.6",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},contextWindow:1e6,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{max:"max",minimal:"low"},compat:{forceAdaptiveThinking:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-5":{id:"claude-sonnet-5",name:"Claude Sonnet 5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{xhigh:"xhigh",max:"max"},compat:{forceAdaptiveThinking:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:claude-sonnet-5.5":{id:"claude-sonnet-5.5",name:"Claude Sonnet 5.5",api:"anthropic-messages",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.1,cacheWrite:2.5},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsMidConvoSystemMessages:!0,forceAdaptiveThinking:!0,supportsTemperature:!1},thinkingLevelMap:{xhigh:"xhigh",max:"max"},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}},"openai-completions":{"chat:gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},contextWindow:200000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.6-flash":{id:"gemini-3.6-flash",name:"Gemini 3.6 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.7-flash":{id:"gemini-3.7-flash",name:"Gemini 3.7 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gemini-3.8-flash":{id:"gemini-3.8-flash",name:"Gemini 3.8 Flash",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:3.75,cacheRead:0.075,cacheWrite:0},contextWindow:1e6,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:kimi-k2.7-code":{id:"kimi-k2.7-code",name:"Kimi K2.7 Code",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},contextWindow:256000,maxTokens:32000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:kimi-k3":{id:"kimi-k3",name:"Kimi K3",api:"openai-completions",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:3,output:15,cacheRead:0.3,cacheWrite:0},contextWindow:1048576,maxTokens:131072,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},compat:{supportsStrictMode:!0,supportsStore:!1,supportsDeveloperRole:!1,supportsReasoningEffort:!1,supportsMidConvoSystemMessages:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}},"openai-responses":{"chat:gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 Mini",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},contextWindow:264000,maxTokens:64000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:null,max:null},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0,tiers:[{inputTokensAbove:272000,input:5,output:22.5,cacheRead:0.5,cacheWrite:0}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},contextWindow:400000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.4-nano":{id:"gpt-5.4-nano",name:"GPT-5.4 nano",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},contextWindow:400000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",xhigh:"xhigh"},compat:{supportsOpenAIGrammarTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:5,output:30,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:272000,input:10,output:45,cacheRead:1,cacheWrite:0}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-luna":{id:"gpt-5.6-luna",name:"GPT-5.6 Luna",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.2,cacheRead:0.02,cacheWrite:0.25,tiers:[{inputTokensAbove:200000,input:0.4,output:1.8,cacheRead:0.04,cacheWrite:0.5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-sol":{id:"gpt-5.6-sol",name:"GPT-5.6 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:4,output:20,cacheRead:0.4,cacheWrite:5,tiers:[{inputTokensAbove:272000,input:8,output:30,cacheRead:0.8,cacheWrite:10}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-5.6-terra":{id:"gpt-5.6-terra",name:"GPT-5.6 Terra",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:12,cacheRead:0.2,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:18,cacheRead:0.4,cacheWrite:5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:"low",low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-astra":{id:"gpt-6-astra",name:"GPT-6 Astra",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:10,output:50,cacheRead:1,cacheWrite:12.5,tiers:[{inputTokensAbove:272000,input:20,output:75,cacheRead:2,cacheWrite:25}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-luna":{id:"gpt-6-luna",name:"GPT-6 Luna",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.1,output:0.5,cacheRead:0.01,cacheWrite:0.125,tiers:[{inputTokensAbove:272000,input:0.2,output:0.75,cacheRead:0.02,cacheWrite:0.25}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:"none",minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6-sol":{id:"gpt-6-sol",name:"GPT-6 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:15,cacheRead:0.4,cacheWrite:5}]},contextWindow:1e6,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:"none",minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:gpt-6.1-sol":{id:"gpt-6.1-sol",name:"GPT-6.1 Sol",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:10,cacheRead:0.1,cacheWrite:2.5,tiers:[{inputTokensAbove:272000,input:4,output:15,cacheRead:0.2,cacheWrite:5}]},contextWindow:1050000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:"max"},compat:{supportsOpenAIGrammarTools:!0,supportsMidConvoSystemMessages:!0,supportsAdditionalTools:!0},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.5":{id:"grok-4.5",name:"Grok 4.5",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.6":{id:"grok-4.6",name:"Grok 4.6",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:grok-4.7":{id:"grok-4.7",name:"Grok 4.7",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:2,output:6,cacheRead:0.5,cacheWrite:0,tiers:[{inputTokensAbove:200000,input:4,output:12,cacheRead:1,cacheWrite:0}]},contextWindow:500000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:"xhigh",max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"},"chat:mai-code-1-flash-picker":{id:"mai-code-1-flash-picker",name:"MAI-Code-1-Flash",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text"],cost:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},contextWindow:256000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},type:"chat"},"chat:mai-code-1.1-flash":{id:"mai-code-1.1-flash",name:"MAI-Code-1.1-Flash",api:"openai-responses",provider:"github-copilot",baseUrl:"https://api.individual.githubcopilot.com",reasoning:!0,input:["text","image"],cost:{input:0.2,output:1.2,cacheRead:0.02,cacheWrite:0},contextWindow:256000,maxTokens:128000,headers:{"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},thinkingLevelMap:{off:null,minimal:null,low:"low",medium:"medium",high:"high",xhigh:null,max:null},inputLimits:{images:{resize:{maxWidth:2000,maxHeight:2000,maxBytes:4718592,jpegQuality:80}}},type:"chat"}}};var on=h("github-copilot",n),T=f("github-copilot",n),w=g("github-copilot",n);var qo="https://radius.pi.dev";function m(t){if(typeof t!=="object"||t===null||Array.isArray(t))return!1;let i=t;return typeof i.id==="string"&&typeof i.name==="string"&&typeof i.reasoning==="boolean"&&Array.isArray(i.input)&&typeof i.cost==="object"&&i.cost!==null&&!Array.isArray(i.cost)&&typeof i.contextWindow==="number"&&typeof i.maxTokens==="number"}function u(t){if(typeof t!=="object"||t===null||Array.isArray(t))return;let{baseUrl:i,models:e}=t;if(typeof i!=="string"||!Array.isArray(e))return;return{baseUrl:i,models:e.filter(m).map((a)=>({...a}))}}function fr(t){return(/^https?:\/\//iu.test(t)?t:`https://${t}`).replace(/\/+$/u,"")}function x(t){return u(t?.gatewayConfig)}function Go(t,i){return i.models.map((e)=>({...e,api:"pi-messages",provider:t,baseUrl:i.baseUrl}))}function ki(t,i){let e=x(i);return e?Go(t,e):[]}function v(t){let i=t.trim();return i.length>512?`${i.slice(0,512)}\u2026`:i}async function Ri(t,i,e){let a={accept:"application/json"};if(i)a.authorization=`Bearer ${i}`;let o=await fetch(new URL("/v1/config",t),{headers:a,signal:e});if(!o.ok)throw Error(`Could not load Radius config from ${t}: ${o.status}: ${v(await o.text())}`);let s=u(await o.json());if(!s)throw Error(`Invalid Radius config from ${t}`);return s}
3
+ export{Ti,Pi,on,qo,fr,Go,ki,Ri};
@@ -0,0 +1,11 @@
1
+ // @bun
2
+ import{An,G,d}from"./chunk-g18hxgdr.js";var v="faux",L="faux",b="faux-1",Z="Faux Model",V="http://localhost:0",X=3,F=5,E={input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}};function vt(e){return{type:"text",text:e}}function bn(e){return{type:"thinking",thinking:e}}function io(e,t,n={}){return{type:"toolCall",id:n.id??I("tool"),name:e,arguments:t}}function H(e){if(typeof e==="string")return[vt(e)];return Array.isArray(e)?e:[e]}function er(e,t={}){return{role:"assistant",content:H(e),api:v,provider:L,model:b,usage:E,stopReason:t.stopReason??"stop",...t.deferred===void 0?{}:{deferred:t.deferred},...t.errorMessage===void 0?{}:{errorMessage:t.errorMessage},...t.responseId===void 0?{}:{responseId:t.responseId},timestamp:t.timestamp??Date.now()}}function U(e){return Math.ceil(e.length/4)}function I(e){return`${e}:${Date.now()}:${Math.random().toString(36).slice(2)}`}function P(e){if(typeof e==="string")return e;return e.map((t)=>{if(t.type==="text")return t.text;return`[image:${t.mimeType}:${t.data.length}]`}).join(`
3
+ `)}function N(e){return e.map((t)=>{if(t.type==="text")return t.text;if(t.type==="thinking")return t.thinking;return`${t.name}:${JSON.stringify(t.arguments)}`}).join(`
4
+ `)}function Q(e){return[e.toolName,...e.content.map((t)=>P([t]))].join(`
5
+ `)}function Y(e){if(e.role==="system")return[G(e),...e.toolsRemoved?.map((t)=>`tool-:${JSON.stringify(t)}`)??[],...e.toolsAdded?.map((t)=>`tool+:${JSON.stringify(t)}`)??[]].filter((t)=>t.length>0).join(`
6
+ `);if(e.role==="user")return P(e.content);if(e.role==="assistant")return N(e.content);return Q(e)}function W(e,t=e.length){let n=t>0?(t-1)*2:0;for(let o=0;o<t;o++)n+=e[o].length;return n}function q(e,t){let n=0;while(n<e.length&&n<t.length&&e[n]===t[n])n++;let o=(c)=>n===c.length?"":(n>0?`
7
+
8
+ `:"")+c.slice(n).join(`
9
+
10
+ `);return W(e,n)+ee(o(e),o(t))}function ee(e,t){let n=Math.min(e.length,t.length),o=0;while(o<n&&e[o]===t[o])o++;return o}function C(e,t,n,o){let c=t.messages.map((y)=>`${y.role}:${Y(y)}`),g=W(c),a=Math.ceil(g/4),s=U(N(e.content)),f=a,u=0,x=0,w=n?.sessionId;if(w&&n?.cacheRetention!=="none"){let y=o.get(w);if(y){let M=q(y,c);u=Math.ceil(M/4),x=Math.ceil((g-M)/4),f=Math.max(0,a-u)}else x=a;o.set(w,c)}return{...e,usage:{input:f,output:s,cacheRead:u,cacheWrite:x,totalTokens:f+s+u+x,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}}}}function k(e,t,n){let o=[],c=0;while(c<e.length){let g=t+Math.floor(Math.random()*(n-t+1)),a=Math.max(1,g*4);o.push(e.slice(c,c+a)),c+=a}return o.length>0?o:[""]}function te(e,t,n,o){let c=structuredClone(e);return{...c,api:t,provider:n,model:o,timestamp:c.timestamp??Date.now(),usage:c.usage??E}}function S(e,t){return{role:"assistant",content:[],api:e.api,provider:e.provider,model:e.id,usage:E,stopReason:"deferred",deferred:t,timestamp:Date.now()}}function T(e,t,n,o){return{role:"assistant",content:[],api:t,provider:n,model:o,usage:E,stopReason:"error",errorMessage:e instanceof Error?e.message:String(e),timestamp:Date.now()}}function D(e){return{...e,stopReason:"aborted",errorMessage:"Request was aborted",timestamp:Date.now()}}function A(e,t){if(!t||t<=0)return new Promise((o)=>queueMicrotask(o));let n=U(e)/t*1000;return new Promise((o)=>setTimeout(o,n))}async function _(e,t,n,o,c,g){let a={...t,content:[],stopReason:"pending"};if(g?.aborted){let s=D(a);e.push({type:"error",reason:"aborted",error:s}),e.end(s);return}e.push({type:"start",partial:{...a}});for(let s=0;s<t.content.length;s++){if(g?.aborted){let u=D(a);e.push({type:"error",reason:"aborted",error:u}),e.end(u);return}let f=t.content[s];if(f.type==="thinking"){a.content=[...a.content,{type:"thinking",thinking:""}],e.push({type:"thinking_start",contentIndex:s,partial:{...a}});for(let u of k(f.thinking,n,o)){if(await A(u,c),g?.aborted){let x=D(a);e.push({type:"error",reason:"aborted",error:x}),e.end(x);return}a.content[s].thinking+=u,e.push({type:"thinking_delta",contentIndex:s,delta:u,partial:{...a}})}e.push({type:"thinking_end",contentIndex:s,content:f.thinking,partial:{...a}});continue}if(f.type==="text"){a.content=[...a.content,{type:"text",text:""}],e.push({type:"text_start",contentIndex:s,partial:{...a}});for(let u of k(f.text,n,o)){if(await A(u,c),g?.aborted){let x=D(a);e.push({type:"error",reason:"aborted",error:x}),e.end(x);return}a.content[s].text+=u,e.push({type:"text_delta",contentIndex:s,delta:u,partial:{...a}})}e.push({type:"text_end",contentIndex:s,content:f.text,partial:{...a}});continue}a.content=[...a.content,{type:"toolCall",id:f.id,name:f.name,arguments:{}}],e.push({type:"toolcall_start",contentIndex:s,partial:{...a}});for(let u of k(JSON.stringify(f.arguments),n,o)){if(await A(u,c),g?.aborted){let x=D(a);e.push({type:"error",reason:"aborted",error:x}),e.end(x);return}e.push({type:"toolcall_delta",contentIndex:s,delta:u,partial:{...a}})}a.content[s].arguments=f.arguments,e.push({type:"toolcall_end",contentIndex:s,toolCall:f,partial:{...a}})}if(t.stopReason==="pending")throw Error("Faux response ended without a stop reason");if(t.stopReason==="error"||t.stopReason==="aborted"){e.push({type:"error",reason:t.stopReason,error:t}),e.end(t);return}e.push({type:"done",reason:t.stopReason,message:t}),e.end(t)}function qi(e){let t=e.api??I(v),n=e.provider??L,o=Math.max(1,Math.min(e.tokenSize?.min??X,e.tokenSize?.max??F)),c=Math.max(o,e.tokenSize?.max??F),g=[],a=e.tokensPerSecond,s={callCount:0,deferredFetchCount:0,cancelledDeferred:[]},f=new Map,u=new Map,w=((e.models?.length)?e.models:[{id:b,name:Z,reasoning:!1,input:["text","image"],cost:{input:0,output:0,cacheRead:0,cacheWrite:0},contextWindow:128000,maxTokens:16384}]).map((r)=>({id:r.id,name:r.name??r.id,api:t,provider:n,baseUrl:V,reasoning:r.reasoning??!1,input:r.input??["text","image"],inputLimits:r.inputLimits,cost:r.cost??{input:0,output:0,cacheRead:0,cacheWrite:0},contextWindow:r.contextWindow??128000,maxTokens:r.maxTokens??16384})),y=async(r,p,h,l)=>{let i=typeof r==="function"?await r(p,h,s,l):r;return C(te(i,t,n,l.id),p,h,f)},M=(r,p,h)=>{let l=An(),i=g.shift();return s.callCount++,queueMicrotask(async()=>{try{if(await h?.onResponse?.({status:200,headers:{}},r),!i){let m=T(Error("No more faux responses queued"),t,n,r.id);m=C(m,p,h,f),l.push({type:"error",reason:"error",error:m}),l.end(m);return}if(h?.deferred){let m={provider:r.provider,modelId:r.id,api:r.api,id:I("deferred"),...e.deferred?.pollAfterMs!==void 0?{pollAfterMs:e.deferred.pollAfterMs}:{}};u.set(m.id,{handle:m,step:i,context:p,options:h,model:r,pendingFetches:Math.max(0,Math.floor(e.deferred?.pendingFetches??0)),cancelled:!1}),await _(l,S(r,m),o,c,a,h.signal);return}let R=await y(i,p,h,r);await _(l,R,o,c,a,h?.signal)}catch(R){let m=T(R,t,n,r.id);l.push({type:"error",reason:"error",error:m}),l.end(m)}}),l},j=(r,p,h)=>M(r,p,h),z=(r,p,h)=>{let l=An();return s.deferredFetchCount++,queueMicrotask(async()=>{try{await h?.onResponse?.({status:200,headers:{}},r);let i=u.get(p.id);if(!i||i.handle.provider!==p.provider||i.handle.modelId!==p.modelId||i.handle.api!==p.api)throw Error(`Unknown faux deferred response: ${p.id}`);if(i.cancelled)throw Error(`Faux deferred response was cancelled: ${p.id}`);if(i.pendingFetches>0){i.pendingFetches--,await _(l,S(r,i.handle),o,c,a,h?.signal);return}if(!i.final){let{deferred:R,signal:m,onResponse:ne,...B}=i.options??{};try{i.final=await y(i.step,i.context,B,i.model)}catch(O){i.final=T(O,t,n,i.model.id)}}await _(l,i.final,o,c,a,h?.signal)}catch(i){let R=T(i,t,n,r.id);l.push({type:"error",reason:"error",error:R}),l.end(R)}}),l},J=async(r,p,h)=>{s.cancelledDeferred.push(structuredClone(p));let l=u.get(p.id);if(l)l.cancelled=!0;await h?.onResponse?.({status:200,headers:{}},r)};function K(r){if(!r)return w[0];return w.find((p)=>p.id===r)}return{api:t,provider:n,models:w,stream:M,streamSimple:j,fetchDeferred:z,cancelDeferred:J,getModel:K,state:s,setResponses(r){g=[...r]},appendResponses(r){g.push(...r)},getPendingResponseCount(){return g.length}}}function so(e={}){let t=qi(e);return{provider:d({id:t.provider,auth:{apiKey:{name:"Faux",resolve:async()=>({auth:{}})}},models:t.models,api:{stream:t.stream,streamSimple:t.streamSimple,fetchDeferred:t.fetchDeferred,cancelDeferred:t.cancelDeferred}}),api:t.api,models:t.models,getModel:t.getModel,state:t.state,setResponses:t.setResponses,appendResponses:t.appendResponses,getPendingResponseCount:t.getPendingResponseCount}}
11
+ export{vt,bn,io,er,qi,so};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{je,mt}from"./chunk-jz1pavma.js";import{Ve}from"./chunk-nnp82zvz.js";import{Ze,Ce,B}from"./chunk-93b76hhg.js";import{Te,te,_,Pe,re,at,j}from"./chunk-2e4xds74.js";var{awsEndpointFunctions:Y,emitWarningIfUnsupportedVersion:J,createDefaultUserAgentProvider:X,NODE_APP_ID_CONFIG_OPTIONS:Z,getAwsRegionExtensionConfiguration:ee,resolveAwsRegionExtensionConfiguration:se,resolveUserAgentConfig:oe,resolveHostHeaderConfig:ne,getUserAgentPlugin:ie,getHostHeaderPlugin:ae,getLoggerPlugin:ce,getRecursionDetectionPlugin:ue}=B(),{NoAuthSigner:de,getHttpAuthSchemeEndpointRuleSetPlugin:pe,DefaultIdentityProviderConfig:le,getHttpSigningPlugin:he}=Ce(),{normalizeProvider:F,getSmithyContext:ge,ServiceException:me,NoOpLogger:Se,emitWarningIfUnsupportedVersion:_e,loadConfigsForDefaultMode:Ee,getDefaultExtensionConfiguration:fe,resolveDefaultRuntimeConfig:ve,Client:Re,makeBuilder:xe,createAggregatedClient:Ie}=te(),{Command:Es}=te();var{resolveDefaultsModeConfig:ye,loadConfig:a,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:Ae,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:Oe,NODE_REGION_CONFIG_OPTIONS:we,NODE_REGION_CONFIG_FILE_OPTIONS:Ne,resolveRegionConfig:De}=_(),{BinaryDecisionDiagram:ke,EndpointCache:be,decideEndpoint:Fe,customEndpointFunctions:qe,resolveEndpointConfig:$e,getEndpointPlugin:He}=Pe(),{parseUrl:Ue,getHttpHandlerExtensionConfiguration:Ge,resolveHttpHandlerRuntimeConfig:Me,getContentLengthPlugin:ze}=j(),{DEFAULT_RETRY_MODE:Le,NODE_RETRY_MODE_CONFIG_OPTIONS:Ke,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:Be,resolveRetryConfig:We,getRetryPlugin:Qe}=Ze(),{TypeRegistry:q,getSchemaSerdePlugin:Ye}=Te(),{resolveAwsSdkSigV4Config:Je,AwsSdkSigV4Signer:Xe,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:et}=je(),{toUtf8:tt,fromUtf8:st,toBase64:ot,fromBase64:nt,calculateBodyLength:rt}=re(),{streamCollector:it,NodeHttpHandler:ct}=Ve(),{AwsRestJsonProtocol:ut}=mt(),{Sha256:dt}=at(),pt=async(e,t,s)=>({operation:ge(t).operation,region:await F(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function lt(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"awsssoportal",region:e.region},propertiesExtractor:(t,s)=>({signingProperties:{config:t,context:s}})}}function ht(e){return{schemeId:"smithy.api#noAuth"}}var gt=(e)=>{let t=[];switch(e.operation){case"GetRoleCredentials":{t.push(ht());break}default:t.push(lt(e))}return t},St=(e)=>{let t=Je(e);return Object.assign(t,{authSchemePreference:F(e.authSchemePreference??[])})},_t=(e)=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}),Et={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},ft="3.997.47",Pt={version:ft},p="ref",c=-1,g=!0,T="isSet",H="PartitionResult",m="booleanEquals",R="getAttr",N={[p]:"Endpoint"},x={[p]:H},d={},D=[{[p]:"Region"}],k={conditions:[[T,[N]],[T,D],["aws.partition",D,H],[m,[{[p]:"UseFIPS"},g]],[m,[{[p]:"UseDualStack"},g]],[m,[{fn:R,argv:[x,"supportsDualStack"]},g]],[m,[{fn:R,argv:[x,"supportsFIPS"]},g]],["stringEquals",[{fn:R,argv:[x,"name"]},"aws-us-gov"]]],results:[[c],[c,"Invalid Configuration: FIPS and custom endpoint are not supported"],[c,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[N,d],["https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",d],[c,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://portal.sso.{Region}.amazonaws.com",d],["https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",d],[c,"FIPS is enabled but this partition does not support FIPS"],["https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",d],[c,"DualStack is enabled but this partition does not support DualStack"],["https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",d],[c,"Invalid Configuration: Missing Region"]]},vt=2,n=1e8,Rt=new Int32Array([-1,1,-1,0,13,3,1,4,n+12,2,5,n+12,3,8,6,4,7,n+11,5,n+9,n+10,4,11,9,6,10,n+8,7,n+6,n+7,5,12,n+5,6,n+4,n+5,3,n+1,14,4,n+2,n+3]),xt=ke.from(Rt,vt,k.conditions,k.results),Ct=new be({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),It=(e,t={})=>Ct.get(e,()=>Fe(xt,{endpointParams:e,logger:t.logger}));qe.aws=Y;class u extends me{static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.sso#SSOServiceException";constructor(e){super(e);Object.setPrototypeOf(this,u.prototype)}}class C extends u{static shapeId="com.amazonaws.sso#InvalidRequestException";name="InvalidRequestException";$fault="client";constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,C.prototype)}}class I extends u{static shapeId="com.amazonaws.sso#ResourceNotFoundException";name="ResourceNotFoundException";$fault="client";constructor(e){super({name:"ResourceNotFoundException",$fault:"client",...e});Object.setPrototypeOf(this,I.prototype)}}class y extends u{static shapeId="com.amazonaws.sso#TooManyRequestsException";name="TooManyRequestsException";$fault="client";constructor(e){super({name:"TooManyRequestsException",$fault:"client",...e});Object.setPrototypeOf(this,y.prototype)}}class A extends u{static shapeId="com.amazonaws.sso#UnauthorizedException";name="UnauthorizedException";$fault="client";constructor(e){super({name:"UnauthorizedException",$fault:"client",...e});Object.setPrototypeOf(this,A.prototype)}}var yt="AccessTokenType",At="GetRoleCredentials",Ot="GetRoleCredentialsRequest",wt="GetRoleCredentialsResponse",Tt="InvalidRequestException",Nt="RoleCredentials",Dt="ResourceNotFoundException",kt="SecretAccessKeyType",bt="SessionTokenType",Ft="TooManyRequestsException",qt="UnauthorizedException",$t="accountId",Ht="accessKeyId",Ut="accessToken",Gt="account_id",S="client",E="error",Mt="expiration",zt="http",f="httpError",jt="httpHeader",b="httpQuery",P="message",Lt="roleCredentials",Kt="roleName",Vt="role_name",U="smithy.ts.sdk.synthetic.com.amazonaws.sso",Bt="secretAccessKey",Wt="sessionToken",Qt="x-amz-sso_bearer_token",r="com.amazonaws.sso",G=new q(U),Yt=[-3,U,"SSOServiceException",0,[],[]];G.registerError(Yt,u);var l=new q(r),Jt=[-3,r,Tt,{[E]:S,[f]:400},[P],[0]];l.registerError(Jt,C);var Xt=[-3,r,Dt,{[E]:S,[f]:404},[P],[0]];l.registerError(Xt,I);var Zt=[-3,r,Ft,{[E]:S,[f]:429},[P],[0]];l.registerError(Zt,y);var es=[-3,r,qt,{[E]:S,[f]:401},[P],[0]];l.registerError(es,A);var ts=[G,l],ss=[0,r,yt,8,0],os=[0,r,kt,8,0],ns=[0,r,bt,8,0],rs=[3,r,Ot,0,[Kt,$t,Ut],[[0,{[b]:Vt}],[0,{[b]:Gt}],[()=>ss,{[jt]:Qt}]],3],is=[3,r,wt,0,[Lt],[[()=>as,0]]],as=[3,r,Nt,0,[Ht,Bt,Wt,Mt],[0,[()=>os,0],[()=>ns,0],1]],cs=[9,r,At,{[zt]:["GET","/federation/credentials",200]},()=>rs,()=>is],us=(e)=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??nt,base64Encoder:e?.base64Encoder??ot,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??It,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??gt,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new Xe},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new de}],logger:e?.logger??new Se,protocol:e?.protocol??ut,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.sso",errorTypeRegistries:ts,version:"2019-06-10",serviceTarget:"SWBPortalService"},serviceId:e?.serviceId??"SSO",sha256:e?.sha256??dt,urlParser:e?.urlParser??Ue,utf8Decoder:e?.utf8Decoder??st,utf8Encoder:e?.utf8Encoder??tt}),ds=(e)=>{_e(process.version);let t=ye(e),s=()=>t().then(Ee),i=us(e);J(process.version);let o={profile:e?.profile,logger:i.logger};return{...i,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??a(et,o),bodyLengthChecker:e?.bodyLengthChecker??rt,defaultUserAgentProvider:e?.defaultUserAgentProvider??X({serviceId:i.serviceId,clientVersion:Pt.version}),maxAttempts:e?.maxAttempts??a(Be,e),region:e?.region??a(we,{...Ne,...o}),requestHandler:ct.create(e?.requestHandler??s),retryMode:e?.retryMode??a({...Ke,default:async()=>(await s()).retryMode||Le},e),streamCollector:e?.streamCollector??it,useDualstackEndpoint:e?.useDualstackEndpoint??a(Oe,o),useFipsEndpoint:e?.useFipsEndpoint??a(Ae,o),userAgentAppId:e?.userAgentAppId??a(Z,o)}},ps=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:s,credentials:i}=e;return{setHttpAuthScheme(o){let h=t.findIndex((v)=>v.schemeId===o.schemeId);if(h===-1)t.push(o);else t.splice(h,1,o)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(o){s=o},httpAuthSchemeProvider(){return s},setCredentials(o){i=o},credentials(){return i}}},ls=(e)=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),hs=(e,t)=>{let s=Object.assign(ee(e),fe(e),Ge(e),ps(e));return t.forEach((i)=>i.configure(s)),Object.assign(e,se(s),ve(s),Me(s),ls(s))};class O extends Re{config;constructor(...[e]){let t=ds(e||{});super(t);this.initConfig=t;let s=_t(t),i=oe(s),o=We(i),h=De(o),v=ne(h),K=$e(v),V=St(K),W=hs(V,e?.extensions||[]);this.config=W,this.middlewareStack.use(Ye(this.config)),this.middlewareStack.use(ie(this.config)),this.middlewareStack.use(Qe(this.config)),this.middlewareStack.use(ze(this.config)),this.middlewareStack.use(ae(this.config)),this.middlewareStack.use(ce(this.config)),this.middlewareStack.use(ue(this.config)),this.middlewareStack.use(pe(this.config,{httpAuthSchemeParametersProvider:pt,identityProviderConfigProvider:async(Q)=>new le({"aws.auth#sigv4":Q.credentials})})),this.middlewareStack.use(he(this.config))}destroy(){super.destroy()}}var gs=xe(Et,"SWBPortalService","SSOClient",He),ms={},Ss=(e,t,s,i)=>[];class w extends gs(ms,Ss,"GetRoleCredentials",cs){}var _s={GetRoleCredentialsCommand:w};class M extends O{}Ie(_s,M);var z=w;var L=O;export{z as GetRoleCredentialsCommand,L as SSOClient};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Wn}from"./chunk-ysfpdxjy.js";import{realpath as b}from"fs/promises";import{basename as w,dirname as h,isAbsolute as v,join as y,relative as R}from"path";var k="**/*.{ts,tsx,js,jsx,mjs,cjs}",I=["node_modules",".git","dist"],E=/\b(?:FROM|JOIN|INTO|UPDATE)\s+(?:sessions|entries|projects|plugin_\w+)\b/i,m=(s)=>s instanceof Error?s.message:String(s);async function N(s,t,r){let u=await s.webBundle(t);if(!u)throw Error("Web bundle became unavailable during verification");let e=await Wn(u,t,{signal:r});if(!("slots"in e))throw Error("Invalid module inspection report");let i=[];if(e.pageNav){let{viewID:n,kind:o}=e.pageNav;if(!e.views.includes(n))i.push(`pageNav.viewID is missing from views: ${n}`);else if(o!=="page")i.push(`pageNav.viewID must reference a page view: ${n}`)}return{slots:e.slots,views:e.views,codeBlocks:e.codeBlocks,pageNav:e.pageNav??null,themes:e.themes??[],hints:i}}function B(s,t){if(!/^index\.[^.]+$/.test(w(t)))return[w(t)];return new Bun.Glob(k).scan({cwd:s,onlyFiles:!0,followSymlinks:!1})}async function W(s,t){let r=await b(h(s));for await(let u of B(r,s)){if(t?.throwIfAborted(),u.split("/").some((n)=>I.includes(n)))continue;let e=await b(y(r,u)),i=R(r,e);if(i.startsWith("..")||v(i))continue;if(E.test(await Bun.file(e).text()))return!0}return!1}async function A(s,t,r,u,e){let i=[],n={status:"skipped",errors:[]},o=[],l=[],p=[],g=null,a=[],c=null;if(t.status!=="enabled")n.reason=`Plugin is ${t.status}; enable or repair it before building.`,i.push(n.reason);else if(!t.webBundle){if(n.reason="No dynamic Web entry is declared or discovered.",r.length&&!t.builtin)i.push("Web views are registered but no Web bundle is available.")}else{let d=u??await s.buildWeb(t.id);if(!d.ok){if(n.status="failed",n.errors=d.errors,i.push("Web build failed; fix the reported errors before testing the UI."),r.length)i.push("Registered Web views cannot render while their bundle fails to build.")}else{n.status="passed";try{let f=await N(s,t.id,e);({slots:o,views:l,codeBlocks:p,pageNav:g,themes:a}=f),i.push(...f.hints)}catch(f){e?.throwIfAborted(),c=m(f),i.push(`Web module inspection failed: ${c}`)}}}if(n.status==="passed"&&!c){for(let{view:d}of r)if(d&&!l.includes(d))i.push(`Registered view is missing from Web module: ${d}`)}return{build:n,slots:o,views:l,codeBlocks:p,pageNav:g,themes:a,moduleError:c,hints:i}}async function D(s,t,r,u){r?.throwIfAborted();let e=s.list().find((a)=>a.id===t);if(!e)throw Error(`Unknown plugin: ${t}. Load the plugin before verifying it.`);let i=(e.web??[]).map(({id:a,kind:c,view:d,title:f})=>({id:a,kind:c,view:d,title:f})),n=e.registrations.filter((a)=>a.kind==="route"||a.kind==="websocket"),o=await A(s,e,i,u,r),l=[...o.hints],p=s.sourceEntry(t);if(p&&!e.builtin)try{if(await W(p,r))l.push("\u5BBF\u4E3B\u8868\u4E0D\u662F\u7A33\u5B9A\u5951\u7EA6\uFF0C\u6539\u7528 b.sessions")}catch(a){r?.throwIfAborted(),l.push(`Plugin source scan failed: ${m(a)}`)}if(e.error)l.push("The host reports a plugin error; a previous generation may still be active.");if(n.length)l.push("Routes were not invoked. Use request with explicit inputs to check status and JSON responses.");let g=s.list().find((a)=>a.id===t);if(g?.webRevision!==e.webRevision||g?.status!==e.status)l.push("The plugin changed during verification; rerun verify for a consistent generation.");return{id:t,setup:{ok:e.status==="enabled"&&!e.error,status:e.status,error:e.error??null},registrations:e.registrations,web:{bundle:e.webBundle??!1,build:o.build,slots:o.slots,views:o.views,codeBlocks:o.codeBlocks,pageNav:o.pageNav,themes:o.themes,contributions:i,moduleError:o.moduleError},routes:n,hints:l}}export{D as verifyPlugin};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{cn,un,Hn}from"./chunk-hw8xknv5.js";export{cn as ENV_KEY,un as ENV_SECRET,Hn as fromEnv};
@@ -0,0 +1,7 @@
1
+ // @bun
2
+ import{w}from"./chunk-kz1ja7t7.js";import{z}from"./chunk-5znfck4s.js";import{E}from"./chunk-wacjm9ww.js";import{tt}from"./chunk-fsnc2sja.js";import{ct}from"./chunk-drbd6485.js";import{It,Mt}from"./chunk-cjq2bzkf.js";import{se}from"./chunk-keq5kv9b.js";import{de}from"./chunk-bp4zk5ch.js";import{V,J}from"./chunk-8np9b2y8.js";import{we,sn,an,he,gr,Ie,St,X,jo,Vo,xe}from"./chunk-csrpxzn7.js";import{x}from"./chunk-chfzk1fx.js";import{Y}from"./chunk-5h96jz3p.js";import{W,G,Fe,ae,Ae,Ee,ee,K}from"./chunk-g18hxgdr.js";function Q(e,n){if(!e)return!1;let t=n.toLowerCase();for(let[s,u]of Object.entries(e))if(s.toLowerCase()===t&&u!==null&&u.trim().length>0)return!0;return!1}function ie(e,n,t){if(n)return n;if(Q(t,"authorization")||Q(t,"cf-aig-authorization"))return"unused";throw Error(`No API key for provider: ${e}`)}function ye(e){for(let n of e){if(n.role==="toolResult")return!0;if(n.role==="assistant"){if(n.content.some((t)=>t.type==="toolCall"))return!0}}return!1}function te(e){return e.type==="text"}function ke(e){return e.type==="thinking"}function Te(e){return e.type==="toolCall"}function Re(e){return e.type==="image"}function _e(e){return typeof e==="object"&&e!==null&&!Array.isArray(e)}function ve(e){return(e.id===void 0||e.id===null||typeof e.id==="string")&&(e.format===void 0||typeof e.format==="string")&&(e.index===void 0||typeof e.index==="number")}function j(e){if(!_e(e)||!ve(e))return!1;switch(e.type){case"reasoning.summary":return typeof e.summary==="string";case"reasoning.encrypted":return typeof e.data==="string";case"reasoning.text":return typeof e.text==="string"&&(e.signature===void 0||e.signature===null||typeof e.signature==="string");default:return!1}}function Ce(e){if(!e)return;try{let n=JSON.parse(e);return Array.isArray(n)&&n.length>0&&n.every(j)?n:void 0}catch{return}}function Me(e){if(!e)return;try{let n=JSON.parse(e);return j(n)&&n.type==="reasoning.encrypted"&&typeof n.id==="string"&&n.id.length>0&&n.data.length>0?n:void 0}catch{return}}function ne(e,n){e.id??=n.id,e.format||=n.format,e.index??=n.index}function Se(e,n){let t=e[e.length-1];if(n.type==="reasoning.text"&&t?.type==="reasoning.text"){t.text+=n.text,t.signature||=n.signature,ne(t,n);return}if(n.type==="reasoning.summary"&&t?.type==="reasoning.summary"){t.summary+=n.summary,ne(t,n);return}e.push({...n})}var Oe=["reasoning","reasoning_content","reasoning_text"];function be(e){return Oe.includes(e)}function ue(e,n){if(e)return e;if(E("PI_CACHE_RETENTION",n)==="long")return"long";return"short"}var Be=(e,n,t)=>{let s=new W,u=ae(n,D(e).supportsMidConvoSystemMessages);return(async()=>{let r={role:"assistant",content:[],api:e.api,provider:e.provider,model:e.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"pending",timestamp:Date.now()},k,g=(R)=>{if(k!==void 0)R.thinkingSignature=JSON.stringify(k)};try{let R=ie(e.provider,t?.apiKey,t?.headers),a=D(e),T=Ie(Ae(u.messages),a.supportsOpenAIGrammarTools),p=ue(t?.cacheRetention,t?.env),d=p==="none"?void 0:t?.sessionId,o=Pe(e,u,R,t?.headers,t?.fetch,d,a),f=Le(e,u,t,a,p,T),h=await t?.onPayload?.(f,e);if(h!==void 0)f=h;let C={...t?.signal?{signal:t.signal}:{},...t?.timeoutMs!==void 0?{timeout:t.timeoutMs}:{},maxRetries:0},{data:M,response:P}=await de(()=>o.chat.completions.create(f,C).withResponse(),{maxRetries:t?.maxRetries,maxRetryDelayMs:t?.maxRetryDelayMs,signal:t?.signal});await t?.onResponse?.({status:P.status,headers:Y(P.headers)},e),s.push({type:"start",partial:r});let O=null,F=null,A=!1,b=new Map,L=new Map,l=r.content,I=(i)=>l.indexOf(i),H=(i)=>{let c=i.customInput?.property;if(c===void 0)return"";let _=i.arguments[c];return typeof _==="string"?_:""},U=(i,c,_)=>{let m=i.customInput;if(!m)return;let S=an(m.jsonBuffer,m.property,c,_);return i.arguments={[m.property]:c},S},ce=(i)=>{let c=I(i);if(c===-1)return;if(i.type==="text")s.push({type:"text_end",contentIndex:c,content:i.text,partial:r});else if(i.type==="thinking")g(i),s.push({type:"thinking_end",contentIndex:c,content:i.thinking,partial:r});else if(i.type==="toolCall"){if(i.customInput){let _=U(i,H(i),!0);if(_!==void 0)s.push({type:"toolcall_delta",contentIndex:c,delta:_,partial:r})}else i.arguments=z(i.partialArgs);delete i.partialArgs,delete i.customInput,delete i.streamIndex,s.push({type:"toolcall_end",contentIndex:c,toolCall:i,partial:r})}},pe=()=>{if(!O)O={type:"text",text:""},l.push(O),s.push({type:"text_start",contentIndex:I(O),partial:r});return O},Z=(i)=>{if(!F)F={type:"thinking",thinking:"",thinkingSignature:i},l.push(F),s.push({type:"thinking_start",contentIndex:I(F),partial:r});return F},ge=(i)=>{let c=typeof i.index==="number"?i.index:void 0,_=i.function?.name??i.custom?.name??"",m=c!==void 0?b.get(c):void 0;if(!m&&i.id)m=L.get(i.id);if(!m){let S=i.custom&&!i.function?T.get(_)??"input":void 0,B=S!==void 0;if(m={type:"toolCall",id:i.id||"",name:_,arguments:B?{[S]:""}:{},partialArgs:B?void 0:"",customInput:B?{property:S,jsonBuffer:{input:"",started:!1,closed:!1}}:void 0,streamIndex:c},c!==void 0)b.set(c,m);if(i.id)L.set(i.id,m);l.push(m),s.push({type:"toolcall_start",contentIndex:I(m),partial:r})}if(c!==void 0&&m.streamIndex===void 0)m.streamIndex=c,b.set(c,m);if(i.id)L.set(i.id,m);if(!m.name&&_)m.name=_;if(i.custom&&!i.function&&!m.customInput){let S=T.get(m.name)??"input";m.arguments={[S]:""},m.customInput={property:S,jsonBuffer:{input:"",started:!1,closed:!1}},delete m.partialArgs}return m};for await(let i of M){if(await t?.onProviderStreamEvent?.(i,e),!i||typeof i!=="object")continue;if(r.responseId||=i.id,typeof i.model==="string"&&i.model.length>0&&i.model!==e.id)r.responseModel||=i.model;if(i.usage)r.usage=oe(i.usage,e);let c=Array.isArray(i.choices)?i.choices[0]:void 0;if(!c)continue;if(!i.usage&&c.usage)r.usage=oe(c.usage,e);if(c.finish_reason){r.rawStopReason=c.finish_reason;let _=Je(c.finish_reason);if(r.stopReason=_.stopReason,_.errorMessage)r.errorMessage=_.errorMessage;A=!0}if(c.delta){if(c.delta.content!==null&&c.delta.content!==void 0&&c.delta.content.length>0){let y=pe();y.text+=c.delta.content,s.push({type:"text_delta",contentIndex:I(y),delta:c.delta.content,partial:r})}let _=["reasoning_content","reasoning","reasoning_text"],m=c.delta,S=null;for(let y of _){let v=m[y];if(typeof v==="string"&&v.length>0){S=y;break}}if(S){let y=m[S];if(typeof y==="string"&&y.length>0){let v=e.provider==="opencode-go"&&S==="reasoning"?"reasoning_content":S,q=Z(v);q.thinking+=y,s.push({type:"thinking_delta",contentIndex:I(q),delta:y,partial:r})}}if(c?.delta?.tool_calls)for(let y of c.delta.tool_calls){let v=ge(y);if(!v.id&&y.id)v.id=y.id,L.set(y.id,v);let q=y.function?.name??y.custom?.name;if(!v.name&&q)v.name=q;let N="";if(y.function?.arguments)N=y.function.arguments,v.partialArgs=(v.partialArgs??"")+y.function.arguments,v.arguments=z(v.partialArgs);else if(y.custom?.input){let me=H(v)+y.custom.input;N=U(v,me,!1)??""}s.push({type:"toolcall_delta",contentIndex:I(v),delta:N,partial:r})}let B=c.delta.reasoning_details;if(Array.isArray(B))for(let y of B){if(!j(y))continue;Z(""),k??=[],Se(k,y)}}}for(let i of l)ce(i);if(t?.signal?.aborted)throw Error("Request was aborted");if(r.stopReason==="aborted")throw Error("Request was aborted");if(!A&&!a.supportsFinishReason)r.stopReason=r.content.some((i)=>i.type==="toolCall")?"toolUse":"stop";if(r.stopReason==="error")throw Error(r.errorMessage||"Provider returned an error stop reason");if(a.supportsFinishReason&&!A||r.stopReason==="pending")throw Error("Stream ended without finish_reason");s.push({type:"done",reason:r.stopReason,message:r}),s.end()}catch(R){for(let T of r.content){if(T.type==="thinking")g(T);delete T.index,delete T.partialArgs,delete T.customInput,delete T.streamIndex}r.stopReason=t?.signal?.aborted?"aborted":"error",r.errorMessage=J(V(R));let a=R?.error?.metadata?.raw;if(a&&!r.errorMessage.includes(String(a)))r.errorMessage+=`
3
+ ${a}`;s.push({type:"error",reason:r.stopReason,error:r}),s.end()}})(),s},mt=(e,n,t)=>{ie(e.provider,t?.apiKey,t?.headers);let s={...X(e,n,t,t?.apiKey),toolChoice:t?.toolChoice},u=t?.reasoning?K(e,t.reasoning):void 0;return Be(e,n,{...s,reasoningEffort:u==="off"?void 0:u,thinkingBudgets:t?.thinkingBudgets})};function Pe(e,n,t,s,u,r,k=D(e)){let g={"User-Agent":se(),...e.headers};if(e.provider==="github-copilot"){let R=It(n.messages),a=Mt({messages:n.messages,hasImages:R});Object.assign(g,a)}if(r&&k.sendSessionAffinityHeaders)if(k.sessionAffinityFormat==="openrouter")g["x-session-id"]=r;else{if(k.sessionAffinityFormat==="openai")g.session_id=r;g["x-client-request-id"]=r,g["x-session-affinity"]=r}if(s)Object.assign(g,s);return new w({apiKey:t,baseURL:e.baseUrl,dangerouslyAllowBrowser:!0,fetch:u,defaultHeaders:g})}function Le(e,n,t,s=D(e),u=ue(t?.cacheRetention,t?.env),r=Ie(Ae(n.messages),s.supportsOpenAIGrammarTools)){let k=Ee(n.messages,s.supportsMidConvoSystemMessages===!0&&s.supportsMidConvoToolAdditions===!0),g=We(e,n,s,{grammarToolInputProperties:r}),R=Ge(s,u),a={model:e.id,messages:g,stream:!0,prompt_cache_key:e.baseUrl.includes("api.openai.com")&&u!=="none"||u==="long"&&s.supportsLongCacheRetention?tt(t?.sessionId):void 0,prompt_cache_retention:u==="long"&&s.supportsLongCacheRetention?"24h":void 0};if(s.supportsUsageInStreaming!==!1)a.stream_options={include_usage:!0};if(s.supportsStore)a.store=!1;if(t?.maxTokens)if(s.maxTokensField==="max_tokens")a.max_tokens=t.maxTokens;else a.max_completion_tokens=t.maxTokens;if(t?.temperature!==void 0)a.temperature=t.temperature;if(k.requestTools.length>0){if(a.tools=le(k.requestTools,s),s.zaiToolStream)a.tool_stream=!0}else if(ye(n.messages))a.tools=[];if(R)Ne(g,a.tools,R);if(t?.toolChoice)a.tool_choice=t.toolChoice;if(s.vllmPriority!==void 0)a.priority=s.vllmPriority;let T=qe(s),p=De(e,t,a);if(s.thinkingFormat==="zai"&&e.reasoning){let o=a;if(o.thinking=t?.reasoningEffort?{type:"enabled",clear_thinking:!1}:{type:"disabled"},t?.reasoningEffort&&s.supportsReasoningEffort){let f=e.thinkingLevelMap?.[t.reasoningEffort],h=f===void 0?t.reasoningEffort:f;if(typeof h==="string")o.reasoning_effort=h}}else if(s.thinkingFormat==="qwen"&&e.reasoning){if(a.enable_thinking=!!t?.reasoningEffort,t?.reasoningEffort&&s.supportsReasoningEffort){let o=e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort;if(typeof o==="string")a.reasoning_effort=o}}else if(s.thinkingFormat==="qwen-chat-template"&&e.reasoning)a.chat_template_kwargs={enable_thinking:!!t?.reasoningEffort,preserve_thinking:!0};else if(s.thinkingFormat==="chat-template"&&e.reasoning){let o=re(e,t,s.chatTemplateKwargs,p);if(o)a.chat_template_kwargs=o}else if(s.thinkingFormat==="baseten"&&e.reasoning){let o=a,f=re(e,t,s.chatTemplateArgs,p);if(f)o.chat_template_args=f;if(s.supportsReasoningEffort){let h=t?.reasoningEffort,C=h?e.thinkingLevelMap?.[h]:e.thinkingLevelMap?.off,M=C===void 0?h:C;if(typeof M==="string")o.reasoning_effort=M}}else if(s.thinkingFormat==="deepseek"&&e.reasoning){if(t?.reasoningEffort)a.thinking={type:"enabled"};else if(e.thinkingLevelMap?.off!==null)a.thinking={type:"disabled"};if(t?.reasoningEffort&&s.supportsReasoningEffort)a.reasoning_effort=e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort}else if(s.thinkingFormat==="openrouter"&&e.reasoning){let o=a;if(t?.reasoningEffort)o.reasoning={effort:e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort};else if(e.thinkingLevelMap?.off!==null)o.reasoning={effort:e.thinkingLevelMap?.off??"none"}}else if(s.thinkingFormat==="ant-ling"&&e.reasoning&&t?.reasoningEffort){let o=e.thinkingLevelMap?.[t.reasoningEffort];if(typeof o==="string")a.reasoning={effort:o}}else if(s.thinkingFormat==="together"&&e.reasoning){let o=a;if(o.reasoning={enabled:!!t?.reasoningEffort},t?.reasoningEffort&&s.supportsReasoningEffort)o.reasoning_effort=e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort}else if(s.thinkingFormat==="string-thinking"&&e.reasoning){let o=a;if(t?.reasoningEffort)o.thinking=e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort;else if(e.thinkingLevelMap?.off!==null)o.thinking=e.thinkingLevelMap?.off??"none"}else if(t?.reasoningEffort&&e.reasoning&&s.supportsReasoningEffort)a.reasoning_effort=e.thinkingLevelMap?.[t.reasoningEffort]??t.reasoningEffort;else if(!t?.reasoningEffort&&e.reasoning&&s.supportsReasoningEffort){let o=e.thinkingLevelMap?.off;if(typeof o==="string")a.reasoning_effort=o}if(T&&p!==void 0)Object.assign(a,{[T]:p});if(e.compat?.openRouterRouting)a.provider=e.compat.openRouterRouting;if(e.compat?.vercelGatewayRouting){let o=e.compat.vercelGatewayRouting;if(o.only||o.order){let f={};if(o.only)f.only=o.only;if(o.order)f.order=o.order;a.providerOptions={gateway:f}}}let d=St(e,t?.reasoningEffort??"off",t?.samplingParams);if(d)Object.assign(a,d);return a}function qe(e){if(e.thinkingTokenBudgetField)return e.thinkingTokenBudgetField;if(e.supportsThinkingTokenBudget)return"thinking_token_budget";return}function De(e,n,t){if(!n?.reasoningEffort||!e.reasoning)return;let s=t.max_tokens??t.max_completion_tokens??e.maxTokens,u=Vo(jo(n.reasoningEffort,n.thinkingBudgets),s);return u>0?u:void 0}function re(e,n,t,s){let u={};for(let[r,k]of Object.entries(t)){let g=ze(e,n,k,s);if(g!==void 0)u[r]=g}return Object.keys(u).length>0?u:void 0}function ze(e,n,t,s){if(typeof t!=="object"||t===null)return t;let u=n?.reasoningEffort;if(!u&&t.omitWhenOff)return;if(t.$var==="thinking.enabled")return!!u;if(t.$var==="thinking.budget")return s;let r=u?e.thinkingLevelMap?.[u]:e.thinkingLevelMap?.off;return r===void 0?u:typeof r==="string"?r:void 0}function Ge(e,n){if(e.cacheControlFormat!=="anthropic"||n==="none")return;let t=n==="long"&&e.supportsLongCacheRetention?"1h":void 0;return{type:"ephemeral",...t?{ttl:t}:{}}}function Ne(e,n,t){je(e,t),Ke(n,t),$e(e,t)}function je(e,n){for(let t of e)if(t.role==="system"||t.role==="developer"){He(t,n);return}}function $e(e,n){for(let t=e.length-1;t>=0;t--){let s=e[t];if(s.role==="user"||s.role==="assistant"||s.role==="tool"){if(Ue(s,n))return}}}function Ke(e,n){if(!e||e.length===0)return;let t=e[e.length-1];t.cache_control=n}function He(e,n){return fe(e,n)}function Ue(e,n){if(e.role==="user"||e.role==="assistant"||e.role==="tool")return fe(e,n);return!1}function fe(e,n){let t=e.content;if(typeof t==="string"){if(t.length===0)return!1;return e.content=[{type:"text",text:t,cache_control:n}],!0}if(!Array.isArray(t))return!1;for(let s=t.length-1;s>=0;s--){let u=t[s];if(u?.type==="text"){let r=u;return r.cache_control=n,!0}}return!1}function We(e,n,t,s){let u=ae(n,t.supportsMidConvoSystemMessages),r=[],k=(p)=>{if(p.includes("|")){let d=p.indexOf("|"),o=p.slice(0,d).replace(/[^a-zA-Z0-9_-]/g,"_"),f=p.slice(d+1).replace(/[^a-zA-Z0-9_-]/g,"_"),h=f.length>0?`${o}_${f}`:o;if(h.length<=40)return h;let C=ct(p).slice(0,8);return`${o.slice(0,Math.max(1,40-C.length-1))}_${C}`}if(e.provider==="openai")return p.length>40?p.slice(0,40):p;return p},g=xe(u.messages,e,(p)=>k(p)),R=Ee(u.messages,t.supportsMidConvoSystemMessages===!0&&t.supportsMidConvoToolAdditions===!0),a=e.reasoning&&t.supportsDeveloperRole?"developer":"system",T=null;for(let p=0;p<g.length;p++){let d=g[p];if(t.requiresAssistantAfterToolResult&&T==="toolResult"&&d.role==="user")r.push({role:"assistant",content:"I have processed the tool results."});if(d.role==="system"){let o=p>0&&R.anchorsAdditions?d.toolsAdded??[]:[];if(o.length>0){let h={role:"system",tools:le(o,t)};r.push(h)}let f=p===0?G(d):Fe(d);if(f.length>0)r.push({role:a,content:x(f)})}else if(d.role==="user")if(typeof d.content==="string")r.push({role:"user",content:x(d.content)});else{let o=d.content.filter((f)=>f.type!=="text"||f.text.length>0).map((f)=>{if(f.type==="text")return{type:"text",text:x(f.text)};else return{type:"image_url",image_url:{url:`data:${f.mimeType};base64,${f.data}`}}});if(o.length===0)continue;r.push({role:"user",content:o})}else if(d.role==="assistant"){let o={role:"assistant",content:t.requiresAssistantAfterToolResult?"":null},f=d.content.filter(te).filter((l)=>l.text.trim().length>0).map((l)=>({type:"text",text:x(l.text)})),h=f.map((l)=>l.text).join(""),C=d.content.filter(ke),M=d.content.filter(Te),P=C.map((l)=>Ce(l.thinkingSignature)).find((l)=>l!==void 0),O=M.map((l)=>Me(l.thoughtSignature)).filter((l)=>l!==void 0),F=P??(O.length>0?O:void 0),A=C.filter((l)=>l.thinking.trim().length>0);if(A.length>0)if(t.requiresThinkingAsText){let l=A.map((I)=>x(I.thinking)).join(`
4
+
5
+ `);o.content=[{type:"text",text:l},...f]}else{if(h.length>0)o.content=h;if(!F){let l=A[0].thinkingSignature;if(e.provider==="opencode-go"&&l==="reasoning")l="reasoning_content";if(l&&be(l))o[l]=A.map((I)=>I.thinking).join(`
6
+ `)}}else if(h.length>0)o.content=h;if(M.length>0)o.tool_calls=M.map((l)=>{let I=s?.grammarToolInputProperties?.get(l.name);if(I!==void 0)return{id:l.id,type:"custom",custom:{name:l.name,input:x(sn(l.name,l.arguments,I))}};return{id:l.id,type:"function",function:{name:l.name,arguments:JSON.stringify(l.arguments)}}});if(F)o.reasoning_details=F;if(t.requiresReasoningContentOnAssistantMessages&&e.reasoning&&o.reasoning_content===void 0)o.reasoning_content="";let b=o.content;if(!(b!==null&&b!==void 0&&(typeof b==="string"?b.length>0:b.length>0))&&!o.tool_calls)continue;r.push(o)}else if(d.role==="toolResult"){let o=[],f=p;for(;f<g.length&&g[f].role==="toolResult";f++){let h=g[f],C=h.content.filter(te).map((A)=>A.text).join(`
7
+ `),M=h.content.some((A)=>A.type==="image"),O=C.length>0?C:M?"(see attached image)":"(no tool output)",F={role:"tool",content:x(O),tool_call_id:h.toolCallId};if(t.requiresToolResultName&&h.toolName)F.name=h.toolName;if(r.push(F),M&&e.input.includes("image")){for(let A of h.content)if(Re(A))o.push({type:"image_url",image_url:{url:`data:${A.mimeType};base64,${A.data}`}})}}if(p=f-1,o.length>0){if(t.requiresAssistantAfterToolResult)r.push({role:"assistant",content:"I have processed the tool results."});r.push({role:"user",content:[{type:"text",text:"Attached image(s) from tool result:"},...o]}),T="user"}else T="toolResult";continue}T=d.role}return r}function le(e,n){return e.map((t)=>{let s=gr(t,n.supportsOpenAIGrammarTools);if(s)return{type:"custom",custom:{name:t.name,description:t.description,format:{type:"grammar",grammar:{syntax:s.format,definition:s.definition}}}};let u=he(t,n.supportsStrictMode!==!1);return{type:"function",function:{name:t.name,description:t.description,parameters:we(t,u),...n.supportsStrictMode!==!1&&{strict:u??!1}}}})}function oe(e,n){let t=e.prompt_tokens||0,s=e.prompt_tokens_details?.cached_tokens??e.prompt_cache_hit_tokens??e.cached_tokens??0,u=e.prompt_tokens_details?.cache_write_tokens||0,r=Math.max(0,t-s-u),k=e.completion_tokens||0,g={input:r,output:k,cacheRead:s,cacheWrite:u,reasoning:e.completion_tokens_details?.reasoning_tokens||0,totalTokens:r+k+s+u,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}};return ee(n,g),g}function Je(e){if(e===null)return{stopReason:"stop"};switch(e){case"stop":case"end":return{stopReason:"stop"};case"length":return{stopReason:"length"};case"function_call":case"tool_calls":return{stopReason:"toolUse"};case"content_filter":return{stopReason:"error",errorMessage:"Provider finish_reason: content_filter"};case"network_error":return{stopReason:"error",errorMessage:"Provider finish_reason: network_error"};default:return{stopReason:"error",errorMessage:`Provider finish_reason: ${e}`}}}function Ve(e){let{provider:n,baseUrl:t}=e,s=n==="zai"||n==="zai-coding-cn"||t.includes("api.z.ai")||t.includes("open.bigmodel.cn"),u=n==="together"||t.includes("api.together.ai")||t.includes("api.together.xyz"),r=n==="moonshotai"||n==="moonshotai-cn"||t.includes("api.moonshot."),k=n==="openrouter"||t.includes("openrouter.ai"),g=n==="cloudflare-workers-ai"||t.includes("api.cloudflare.com"),R=n==="cloudflare-ai-gateway"||t.includes("gateway.ai.cloudflare.com"),a=n==="nvidia"||t.includes("integrate.api.nvidia.com"),T=n==="ant-ling"||t.includes("api.ant-ling.com"),p=n==="cerebras"||t.includes("cerebras.ai"),d=n==="deepseek"||t.toLowerCase().includes("deepseek.com"),o=a||p||n==="xai"||t.includes("api.x.ai")||u||t.includes("chutes.ai")||d||s||r||n==="opencode"||t.includes("opencode.ai")||g||R||T,f=t.includes("chutes.ai")||d||r||R||u||a||T||s,h=n==="xai"||t.includes("api.x.ai"),C=k&&(e.id.startsWith("anthropic/")||e.id.startsWith("openai/")),M=n==="openrouter"&&e.id.startsWith("anthropic/")?"anthropic":void 0;return{supportsStore:!o,supportsDeveloperRole:C||!o&&!k,supportsReasoningEffort:!h&&!s&&!r&&!u&&!R&&!a&&!T,supportsUsageInStreaming:!0,supportsFinishReason:!0,maxTokensField:f?"max_tokens":"max_completion_tokens",requiresToolResultName:!1,requiresAssistantAfterToolResult:!1,requiresThinkingAsText:!1,requiresReasoningContentOnAssistantMessages:d,thinkingFormat:d?"deepseek":s?"zai":u?"together":T?"ant-ling":k?"openrouter":"openai",openRouterRouting:{},vercelGatewayRouting:{},chatTemplateKwargs:{},chatTemplateArgs:{},zaiToolStream:!1,supportsThinkingTokenBudget:!1,thinkingTokenBudgetField:void 0,supportsStrictMode:!1,supportsOpenAIGrammarTools:!1,supportsMidConvoSystemMessages:!1,supportsMidConvoToolAdditions:!1,cacheControlFormat:M,sendSessionAffinityHeaders:k,sessionAffinityFormat:k?"openrouter":"openai",supportsLongCacheRetention:!(u||g||R||a||T)}}function D(e){let n=Ve(e);if(!e.compat)return n;return{supportsStore:e.compat.supportsStore??n.supportsStore,supportsDeveloperRole:e.compat.supportsDeveloperRole??n.supportsDeveloperRole,supportsReasoningEffort:e.compat.supportsReasoningEffort??n.supportsReasoningEffort,supportsUsageInStreaming:e.compat.supportsUsageInStreaming??n.supportsUsageInStreaming,supportsFinishReason:e.compat.supportsFinishReason??n.supportsFinishReason,maxTokensField:e.compat.maxTokensField??n.maxTokensField,requiresToolResultName:e.compat.requiresToolResultName??n.requiresToolResultName,requiresAssistantAfterToolResult:e.compat.requiresAssistantAfterToolResult??n.requiresAssistantAfterToolResult,requiresThinkingAsText:e.compat.requiresThinkingAsText??n.requiresThinkingAsText,requiresReasoningContentOnAssistantMessages:e.compat.requiresReasoningContentOnAssistantMessages??n.requiresReasoningContentOnAssistantMessages,thinkingFormat:e.compat.thinkingFormat??n.thinkingFormat,openRouterRouting:e.compat.openRouterRouting??{},vercelGatewayRouting:e.compat.vercelGatewayRouting??n.vercelGatewayRouting,chatTemplateKwargs:e.compat.chatTemplateKwargs??n.chatTemplateKwargs,chatTemplateArgs:e.compat.chatTemplateArgs??n.chatTemplateArgs,zaiToolStream:e.compat.zaiToolStream??n.zaiToolStream,supportsThinkingTokenBudget:e.compat.supportsThinkingTokenBudget??n.supportsThinkingTokenBudget,thinkingTokenBudgetField:e.compat.thinkingTokenBudgetField??n.thinkingTokenBudgetField,supportsStrictMode:e.compat.supportsStrictMode??n.supportsStrictMode,supportsOpenAIGrammarTools:e.compat.supportsOpenAIGrammarTools??n.supportsOpenAIGrammarTools,supportsMidConvoSystemMessages:e.compat.supportsMidConvoSystemMessages??n.supportsMidConvoSystemMessages,supportsMidConvoToolAdditions:e.compat.supportsMidConvoToolAdditions??n.supportsMidConvoToolAdditions,cacheControlFormat:e.compat.cacheControlFormat??n.cacheControlFormat,sendSessionAffinityHeaders:e.compat.sendSessionAffinityHeaders??n.sendSessionAffinityHeaders,sessionAffinityFormat:e.compat.sessionAffinityFormat??n.sessionAffinityFormat,supportsLongCacheRetention:e.compat.supportsLongCacheRetention??n.supportsLongCacheRetention,vllmPriority:e.compat.vllmPriority}}export{We as convertMessages,Be as stream,mt as streamSimple};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{u}from"./chunk-1mhv12a5.js";var s=null;function d(t){if(typeof process>"u"||!process.versions?.bun||Object.keys(process.env).length>0)return;if(s===null){s=new Map;try{let{readFileSync:r}=u("fs"),n=r("/proc/self/environ","utf-8");for(let a of n.split("\x00")){let i=a.indexOf("=");if(i>0)s.set(a.slice(0,i),a.slice(i+1))}}catch{}}return s.get(t)}function E(t,r){return r?.[t]||(typeof process<"u"?process.env[t]:void 0)||d(t)||void 0}function c(t,r){return Object.fromEntries(Object.values(t).flatMap((n)=>Object.values(n)).filter((n)=>n.type===r).map((n)=>[n.id,n]))}function h(t,r){return c(r,"chat")}function f(t,r){return c(r,"image")}function g(t,r){return c(r,"classifier")}var O=function(t,r){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(n,a,i,p,l){return a?r?".jsx":".js":i&&(!p||!l)?n:i+p+"."+l.toLowerCase()+"js"});return t},o=(t)=>{let r=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(O(r))},e;function Ci(t){e=t}var Ii=async()=>{if(e)return e.anthropic();return(await o("./anthropic.ts")).anthropicOAuth},Mi=async()=>{if(e)return e.openaiCodex();return(await o("./openai-codex.ts")).openaiCodexOAuth},Li=async()=>{if(e)return e.openaiChatGPT();return(await o("./openai-chatgpt.ts")).openaiChatGPTOAuth},Oi=async()=>{if(e)return e.githubCopilot();return(await o("./github-copilot.ts")).githubCopilotOAuth},Ni=async()=>{if(e)return e.openrouter();return(await o("./openrouter.ts")).openRouterOAuth},Di=async()=>{if(e)return e.kimiCoding();return(await o("./kimi-coding.ts")).kimiCodingOAuth},Ui=async()=>{if(e)return e.meta();return(await o("./meta.ts")).metaOAuth},Bi=async()=>{if(e)return e.xai();return(await o("./xai.ts")).xaiOAuth},Fi=async(t)=>{if(e)return e.radius(t);return(await o("./radius.ts")).createRadiusOAuth(t)};
3
+ export{E,h,f,g,Ci,Ii,Mi,Li,Oi,Ni,Di,Ui,Bi,Fi};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{E}from"./chunk-wacjm9ww.js";var i="v1";function s(r){let e=new Map;if(!r)return e;for(let t of r.split(",")){let a=t.trim();if(!a)continue;let[n,o]=a.split("=",2);if(!n||!o)continue;e.set(n.trim(),o.trim())}return e}function jr(r,e){if(e?.azureDeploymentName)return e.azureDeploymentName;return s(E("AZURE_OPENAI_DEPLOYMENT_NAME_MAP",e?.env)).get(r.id)||r.id}function m(r){let e=r.trim().replace(/\/+$/,""),t;try{t=new URL(e)}catch{throw Error(`Invalid Azure OpenAI base URL: ${r}`)}let a=t.hostname.endsWith(".openai.azure.com")||t.hostname.endsWith(".cognitiveservices.azure.com")||t.hostname.endsWith(".ai.azure.com"),n=t.pathname.replace(/\/+$/,"");if(a&&(n===""||n==="/"||n==="/openai"||n==="/openai/v1/responses"))t.pathname="/openai/v1",t.search="";return t.toString().replace(/\/+$/,"")}function u(r){return`https://${r}.openai.azure.com/openai/v1`}function Uo(r,e){let t=e?.azureBaseUrl?.trim()||E("AZURE_OPENAI_BASE_URL",e?.env)?.trim()||void 0,a=e?.azureResourceName||E("AZURE_OPENAI_RESOURCE_NAME",e?.env),n=t;if(!n&&a)n=u(a);if(!n&&r.baseUrl)n=r.baseUrl;if(!n)throw Error("Azure OpenAI base URL is required. Set AZURE_OPENAI_BASE_URL or AZURE_OPENAI_RESOURCE_NAME, or pass azureBaseUrl, azureResourceName, or model.baseUrl.");return m(n)}function wi(r,e){return{baseUrl:Uo(r,e),apiVersion:e?.azureApiVersion||E("AZURE_OPENAI_API_VERSION",e?.env)||i}}
3
+ export{jr,Uo,wi};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Lr,Bt,sr,ar,lr,cr,Or,Nr,Ft,Dr,Ur,Br,Fr,$r,Wr}from"./chunk-cwesdh51.js";import{E}from"./chunk-wacjm9ww.js";import{se}from"./chunk-keq5kv9b.js";import{V,J}from"./chunk-8np9b2y8.js";import{X}from"./chunk-csrpxzn7.js";import{x}from"./chunk-chfzk1fx.js";import{ve}from"./chunk-5h96jz3p.js";import{W,G,ge,ce,$e,ee,K}from"./chunk-g18hxgdr.js";var b="v1",O="gcp-vertex-credentials",R=0,C=(e,o,t)=>{let i=new W,u=$e(o);return(async()=>{let n={role:"assistant",content:[],api:"google-vertex",provider:e.provider,model:e.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"pending",timestamp:Date.now()};try{if(t?.fetch&&t.fetch!==globalThis.fetch)throw Error("Custom fetch is not supported by the Google Vertex adapter");let c=A(t),g=c?S(e,c,t?.headers):I(e,P(t),U(t),t?.headers,t?.env),h=D(e,u,t),m=await t?.onPayload?.(h,e);if(m!==void 0)h=m;let p=await Wr(()=>g.models.generateContentStream(h),t);i.push({type:"start",partial:n});let r=null,f=n.content,l=()=>f.length-1;for await(let s of p){await t?.onProviderStreamEvent?.(s,e),n.responseId||=s.responseId;let k=s.candidates?.[0];if(k?.content?.parts)for(let a of k.content.parts){if(a.text!==void 0){let d=Nr(a);if(!r||d&&r.type!=="thinking"||!d&&r.type!=="text"){if(r)if(r.type==="text")i.push({type:"text_end",contentIndex:f.length-1,content:r.text,partial:n});else i.push({type:"thinking_end",contentIndex:l(),content:r.thinking,partial:n});if(d)r={type:"thinking",thinking:"",thinkingSignature:void 0},n.content.push(r),i.push({type:"thinking_start",contentIndex:l(),partial:n});else r={type:"text",text:""},n.content.push(r),i.push({type:"text_start",contentIndex:l(),partial:n})}if(r.type==="thinking")r.thinking+=a.text,r.thinkingSignature=Ft(r.thinkingSignature,a.thoughtSignature),i.push({type:"thinking_delta",contentIndex:l(),delta:a.text,partial:n});else r.text+=a.text,r.textSignature=Ft(r.textSignature,a.thoughtSignature),i.push({type:"text_delta",contentIndex:l(),delta:a.text,partial:n})}if(a.functionCall){if(r){if(r.type==="text")i.push({type:"text_end",contentIndex:l(),content:r.text,partial:n});else i.push({type:"thinking_end",contentIndex:l(),content:r.thinking,partial:n});r=null}let d=a.functionCall.id,y={type:"toolCall",id:!d||n.content.some((T)=>T.type==="toolCall"&&T.id===d)?`${a.functionCall.name}_${Date.now()}_${++R}`:d,name:a.functionCall.name||"",arguments:a.functionCall.args??{},...a.thoughtSignature&&{thoughtSignature:a.thoughtSignature}};n.content.push(y),i.push({type:"toolcall_start",contentIndex:l(),partial:n}),i.push({type:"toolcall_delta",contentIndex:l(),delta:JSON.stringify(y.arguments),partial:n}),i.push({type:"toolcall_end",contentIndex:l(),toolCall:y,partial:n})}}if(k?.finishReason){if(n.rawStopReason=k.finishReason,n.stopReason=$r(k.finishReason),n.content.some((a)=>a.type==="toolCall")&&n.stopReason==="stop")n.stopReason="toolUse"}if(s.usageMetadata)n.usage={input:(s.usageMetadata.promptTokenCount||0)-(s.usageMetadata.cachedContentTokenCount||0),output:(s.usageMetadata.candidatesTokenCount||0)+(s.usageMetadata.thoughtsTokenCount||0),cacheRead:s.usageMetadata.cachedContentTokenCount||0,cacheWrite:0,reasoning:s.usageMetadata.thoughtsTokenCount||0,totalTokens:s.usageMetadata.totalTokenCount||0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},ee(e,n.usage)}if(r)if(r.type==="text")i.push({type:"text_end",contentIndex:l(),content:r.text,partial:n});else i.push({type:"thinking_end",contentIndex:l(),content:r.thinking,partial:n});if(t?.signal?.aborted)throw Error("Request was aborted");if(n.stopReason==="pending")throw Error("Google Vertex stream ended without a finish reason");if(n.stopReason==="aborted"||n.stopReason==="error"){let s=n.rawStopReason?`Provider stopped with: ${n.rawStopReason}`:"An unknown error occurred";throw Error(s)}i.push({type:"done",reason:n.stopReason,message:n}),i.end()}catch(c){for(let g of n.content)if("index"in g)delete g.index;n.stopReason=t?.signal?.aborted?"aborted":"error",n.errorMessage=J(V(c)),i.push({type:"error",reason:n.stopReason,error:n}),i.end()}})(),i},ae=(e,o,t)=>{let i={...X(e,o,t,void 0),toolChoice:t?.toolChoice};if(!t?.reasoning)return C(e,o,{...i,thinking:{enabled:!1}});let u=K(e,t.reasoning);if(u==="off")return C(e,o,{...i,thinking:{enabled:!1}});let n=sr(e,u);if(ar(e))return C(e,o,{...i,thinking:{enabled:!0,level:lr(n)}});return C(e,o,{...i,thinking:{enabled:!0,budgetTokens:N(e,n,t.thinkingBudgets)}})};function I(e,o,t,i,u){let n=L(u);return new Bt({vertexai:!0,project:o,location:t,apiVersion:b,...n?{googleAuthOptions:n}:{},httpOptions:v(e,i)})}function S(e,o,t){return new Bt({vertexai:!0,apiKey:o,apiVersion:b,httpOptions:v(e,t)})}function v(e,o){let t={},i=w(e.baseUrl);if(i){if(t.baseUrl=i,t.baseUrlResourceScope=Lr.COLLECTION,_(i))t.apiVersion=""}let u=ve({"User-Agent":se(),...e.headers,...o});if(u)t.headers=u;return Object.keys(t).length>0?t:void 0}function w(e){let o=e.trim();if(!o||o.includes("{location}"))return;return o}function _(e){try{return new URL(e).pathname.split("/").some((t)=>/^v\d+(?:beta\d*)?$/.test(t))}catch{return/(?:^|\/)v\d+(?:beta\d*)?(?:\/|$)/.test(e)}}function L(e){let o=E("GOOGLE_APPLICATION_CREDENTIALS",e);return o?{keyFilename:o}:void 0}function A(e){let o=e?.apiKey?.trim();if(!o||o===O||M(o))return;return o}function M(e){return/^<[^>]+>$/.test(e)}function P(e){let o=e?.project||E("GOOGLE_CLOUD_PROJECT",e?.env)||E("GCLOUD_PROJECT",e?.env);if(!o)throw Error("Vertex AI requires a project ID. Set GOOGLE_CLOUD_PROJECT/GCLOUD_PROJECT or pass project in options.");return o}function U(e){let o=e?.location||E("GOOGLE_CLOUD_LOCATION",e?.env);if(!o)throw Error("Vertex AI requires a location. Set GOOGLE_CLOUD_LOCATION or pass location in options.");return o}function D(e,o,t={}){let i=Dr(e,o),u=ge(o.messages),n=ce(o.messages),c={};if(t.temperature!==void 0)c.temperature=t.temperature;if(t.maxTokens!==void 0)c.maxOutputTokens=t.maxTokens;let g=Br(e.id),h=n.length>0?Fr(n,t.toolChoice,g):void 0,m=u?G(u):"",p={...Object.keys(c).length>0&&c,...m&&{systemInstruction:x(m)},...n.length>0&&{tools:Ur(n,!1,g)},...h!==void 0&&{toolConfig:{functionCallingConfig:{mode:h}}}};if(t.thinking?.enabled&&e.reasoning){let f={includeThoughts:!0};if(t.thinking.level!==void 0)f.thinkingLevel=cr(t.thinking.level);else if(t.thinking.budgetTokens!==void 0)f.thinkingBudget=t.thinking.budgetTokens;p.thinkingConfig=f}else if(e.reasoning&&t.thinking&&!t.thinking.enabled)p.thinkingConfig=Or(e);if(t.signal){if(t.signal.aborted)throw Error("Request aborted");p.abortSignal=t.signal}return{model:e.id,contents:i,config:p}}function N(e,o,t){if(t?.[o]!==void 0)return t[o];if(e.id.includes("2.5-pro"))return{minimal:128,low:2048,medium:8192,high:32768}[o];if(e.id.includes("2.5-flash"))return{minimal:128,low:2048,medium:8192,high:24576}[o];return-1}export{C as stream,ae as streamSimple};
@@ -0,0 +1,3 @@
1
+ // @bun
2
+ import{hr}from"./chunk-7xw6fpx3.js";var y=Promise.resolve(),M=60000,T=1e4,E=(r)=>r instanceof Error?r.message:String(r);function R(){return new Worker(new URL("./ui-test-worker.js",import.meta.url))}function I(r,e,t){if(!Number.isInteger(e)||e<1||e>t)throw Error(`${r} must be between 1 and ${t}`)}async function Wn(r,e,t={}){let l=t.timeoutMs??M,u=t.importTimeoutMs??T;I("timeoutMs",l,M),I("importTimeoutMs",u,T);let i=y,p=Promise.withResolvers();y=i.then(()=>p.promise);let o=new AbortController,n=t.signal?AbortSignal.any([t.signal,o.signal]):o.signal,g,b,f,w=new Map,c=Promise.withResolvers(),k=()=>c.reject(n.reason??Error("UI test cancelled"));n.addEventListener("abort",k,{once:!0});async function h(d,s){let m=new AbortController;w.set(s.id,m);try{if(!t.runtime)throw Error("API unavailable during module inspection");let a=await hr(t.runtime,s.input,AbortSignal.any([n,m.signal]));if(!n.aborted)d.postMessage({type:"response",id:s.id,response:a})}catch(a){if(!n.aborted)d.postMessage({type:"response",id:s.id,error:E(a)})}finally{w.delete(s.id)}}try{n.throwIfAborted(),f=setTimeout(()=>o.abort(Error(`UI execution timed out after ${l}ms`)),l),await Promise.race([i,c.promise]),n.throwIfAborted();let d=typeof r==="string"?{source:r,css:t.css}:await Promise.race([r(),c.promise.then(()=>{throw Error("Worker finished before startup")})]);n.throwIfAborted();let s=R();return g=s,s.onerror=(m)=>c.reject(Error(m.message)),s.onmessage=(m)=>{let a=m.data;switch(a.type){case"importing":b=setTimeout(()=>o.abort(Error(`UI import timed out after ${u}ms`)),u);break;case"imported":clearTimeout(b);break;case"done":c.resolve(a.result);break;case"error":c.reject(Error(a.error));break;case"cancel":w.get(a.id)?.abort();break;case"request":h(s,a);break}},s.postMessage({type:"start",...d,id:e,input:t.input}),await c.promise}finally{clearTimeout(f),clearTimeout(b),n.removeEventListener("abort",k),o.abort();for(let d of w.values())d.abort();g?.terminate(),p.resolve()}}async function Cs(r,e,t){t?.throwIfAborted();let l=r.plugins.list().find((o)=>o.id===e.id);if(l?.status!=="enabled")throw Error("Load and enable the plugin before ui_test");if([e.slot,e.view,e.codeBlock].filter(Boolean).length!==1)throw Error("ui_test requires exactly one of slot, view or codeBlock");let u=e.view?l.web?.find((o)=>o.view===e.view):void 0;if(e.view&&u&&e.kind&&u.kind!==e.kind)throw Error(`View kind mismatch: expected ${u.kind}, got ${e.kind}`);let i=e.kind??u?.kind;if(i!==void 0&&i!=="page"&&i!=="tab"&&i!=="card"&&i!=="sidebar")throw Error(`Unsupported view kind: ${i}`);let p=await Wn(async()=>{let o=await r.plugins.webBundle(e.id);if(!o)throw Error("Plugin has no dynamic Web bundle");let n=await r.plugins.webCSS(e.id);return{source:o,css:n}},e.id,{input:{...e,kind:i},runtime:r,signal:t,timeoutMs:e.timeoutMs,importTimeoutMs:e.importTimeoutMs});if(!("steps"in p))throw Error("Worker returned an invalid UI report");return p}
3
+ export{Wn,Cs};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{je,mt}from"./chunk-jz1pavma.js";import{Ve}from"./chunk-nnp82zvz.js";import{Ze,Ce,B}from"./chunk-93b76hhg.js";import{Te,te,_,Pe,re,at,j}from"./chunk-2e4xds74.js";var{awsEndpointFunctions:ve,emitWarningIfUnsupportedVersion:Ae,createDefaultUserAgentProvider:ye,NODE_APP_ID_CONFIG_OPTIONS:Oe,getAwsRegionExtensionConfiguration:we,resolveAwsRegionExtensionConfiguration:De,resolveUserAgentConfig:Re,resolveHostHeaderConfig:ke,getUserAgentPlugin:$e,getHostHeaderPlugin:Ne,getLoggerPlugin:be,getRecursionDetectionPlugin:Ue}=B(),{NoAuthSigner:Fe,getHttpAuthSchemeEndpointRuleSetPlugin:qe,DefaultIdentityProviderConfig:ze,getHttpSigningPlugin:He}=Ce(),{normalizeProvider:K,getSmithyContext:Ge,ServiceException:Me,NoOpLogger:Ke,emitWarningIfUnsupportedVersion:Le,loadConfigsForDefaultMode:Be,getDefaultExtensionConfiguration:We,resolveDefaultRuntimeConfig:Ye,Client:V,makeBuilder:Je,createAggregatedClient:Xe}=te(),{Command:Qe}=te();var Kr=Qe,Vr=V;var{resolveDefaultsModeConfig:et,loadConfig:h,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:tt,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:rt,NODE_REGION_CONFIG_OPTIONS:ot,NODE_REGION_CONFIG_FILE_OPTIONS:nt,resolveRegionConfig:st}=_(),{BinaryDecisionDiagram:it,EndpointCache:ct,decideEndpoint:dt,customEndpointFunctions:pt,resolveEndpointConfig:ut,getEndpointPlugin:lt}=Pe(),{parseUrl:ht,getHttpHandlerExtensionConfiguration:Et,resolveHttpHandlerRuntimeConfig:gt,getContentLengthPlugin:_t}=j(),{DEFAULT_RETRY_MODE:xt,NODE_RETRY_MODE_CONFIG_OPTIONS:St,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:ft,resolveRetryConfig:It,getRetryPlugin:vt}=Ze(),{TypeRegistry:L,getSchemaSerdePlugin:Pt}=Te(),{resolveAwsSdkSigV4Config:Ct,AwsSdkSigV4Signer:At,NODE_AUTH_SCHEME_PREFERENCE_OPTIONS:yt}=je(),{toUtf8:Tt,fromUtf8:Ot,toBase64:wt,fromBase64:Dt,calculateBodyLength:Rt}=re(),{streamCollector:kt,NodeHttpHandler:$t}=Ve(),{AwsRestJsonProtocol:Nt}=mt(),{Sha256:bt}=at(),Ut=async(e,t,n)=>({operation:Ge(t).operation,region:await K(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Ft(e){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sso-oauth",region:e.region},propertiesExtractor:(t,n)=>({signingProperties:{config:t,context:n}})}}function qt(e){return{schemeId:"smithy.api#noAuth"}}var zt=(e)=>{let t=[];switch(e.operation){case"CreateToken":{t.push(qt());break}default:t.push(Ft(e))}return t},Ht=(e)=>{let t=Ct(e);return Object.assign(t,{authSchemePreference:K(e.authSchemePreference??[])})},Gt=(e)=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:"sso-oauth"}),Mt={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}},jt="3.997.47",Kt={version:jt},m="ref",E=-1,S=!0,z="isSet",W="PartitionResult",f="booleanEquals",N="getAttr",H={[m]:"Endpoint"},b={[m]:W},g={},G=[{[m]:"Region"}],M={conditions:[[z,[H]],[z,G],["aws.partition",G,W],[f,[{[m]:"UseFIPS"},S]],[f,[{[m]:"UseDualStack"},S]],[f,[{fn:N,argv:[b,"supportsDualStack"]},S]],[f,[{fn:N,argv:[b,"supportsFIPS"]},S]],["stringEquals",[{fn:N,argv:[b,"name"]},"aws-us-gov"]]],results:[[E],[E,"Invalid Configuration: FIPS and custom endpoint are not supported"],[E,"Invalid Configuration: Dualstack and custom endpoint are not supported"],[H,g],["https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[E,"FIPS and DualStack are enabled, but this partition does not support one or both"],["https://oidc.{Region}.amazonaws.com",g],["https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",g],[E,"FIPS is enabled but this partition does not support FIPS"],["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",g],[E,"DualStack is enabled but this partition does not support DualStack"],["https://oidc.{Region}.{PartitionResult#dnsSuffix}",g],[E,"Invalid Configuration: Missing Region"]]},Vt=2,c=1e8,Lt=new Int32Array([-1,1,-1,0,13,3,1,4,c+12,2,5,c+12,3,8,6,4,7,c+11,5,c+9,c+10,4,11,9,6,10,c+8,7,c+6,c+7,5,12,c+5,6,c+4,c+5,3,c+1,14,4,c+2,c+3]),Bt=it.from(Lt,Vt,M.conditions,M.results),Wt=new ct({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]}),Yt=(e,t={})=>Wt.get(e,()=>dt(Bt,{endpointParams:e,logger:t.logger}));pt.aws=ve;class i extends Me{static shapeId="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc#SSOOIDCServiceException";constructor(e){super(e);Object.setPrototypeOf(this,i.prototype)}}class I extends i{static shapeId="com.amazonaws.ssooidc#AccessDeniedException";name="AccessDeniedException";$fault="client";error;reason;error_description;constructor(e){super({name:"AccessDeniedException",$fault:"client",...e});Object.setPrototypeOf(this,I.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}class v extends i{static shapeId="com.amazonaws.ssooidc#AuthorizationPendingException";name="AuthorizationPendingException";$fault="client";error;error_description;constructor(e){super({name:"AuthorizationPendingException",$fault:"client",...e});Object.setPrototypeOf(this,v.prototype),this.error=e.error,this.error_description=e.error_description}}class P extends i{static shapeId="com.amazonaws.ssooidc#ExpiredTokenException";name="ExpiredTokenException";$fault="client";error;error_description;constructor(e){super({name:"ExpiredTokenException",$fault:"client",...e});Object.setPrototypeOf(this,P.prototype),this.error=e.error,this.error_description=e.error_description}}class C extends i{static shapeId="com.amazonaws.ssooidc#InternalServerException";name="InternalServerException";$fault="server";error;error_description;constructor(e){super({name:"InternalServerException",$fault:"server",...e});Object.setPrototypeOf(this,C.prototype),this.error=e.error,this.error_description=e.error_description}}class A extends i{static shapeId="com.amazonaws.ssooidc#InvalidClientException";name="InvalidClientException";$fault="client";error;error_description;constructor(e){super({name:"InvalidClientException",$fault:"client",...e});Object.setPrototypeOf(this,A.prototype),this.error=e.error,this.error_description=e.error_description}}class y extends i{static shapeId="com.amazonaws.ssooidc#InvalidGrantException";name="InvalidGrantException";$fault="client";error;error_description;constructor(e){super({name:"InvalidGrantException",$fault:"client",...e});Object.setPrototypeOf(this,y.prototype),this.error=e.error,this.error_description=e.error_description}}class T extends i{static shapeId="com.amazonaws.ssooidc#InvalidRequestException";name="InvalidRequestException";$fault="client";error;reason;error_description;constructor(e){super({name:"InvalidRequestException",$fault:"client",...e});Object.setPrototypeOf(this,T.prototype),this.error=e.error,this.reason=e.reason,this.error_description=e.error_description}}class O extends i{static shapeId="com.amazonaws.ssooidc#InvalidScopeException";name="InvalidScopeException";$fault="client";error;error_description;constructor(e){super({name:"InvalidScopeException",$fault:"client",...e});Object.setPrototypeOf(this,O.prototype),this.error=e.error,this.error_description=e.error_description}}class w extends i{static shapeId="com.amazonaws.ssooidc#SlowDownException";name="SlowDownException";$fault="client";error;error_description;constructor(e){super({name:"SlowDownException",$fault:"client",...e});Object.setPrototypeOf(this,w.prototype),this.error=e.error,this.error_description=e.error_description}}class D extends i{static shapeId="com.amazonaws.ssooidc#UnauthorizedClientException";name="UnauthorizedClientException";$fault="client";error;error_description;constructor(e){super({name:"UnauthorizedClientException",$fault:"client",...e});Object.setPrototypeOf(this,D.prototype),this.error=e.error,this.error_description=e.error_description}}class R extends i{static shapeId="com.amazonaws.ssooidc#UnsupportedGrantTypeException";name="UnsupportedGrantTypeException";$fault="client";error;error_description;constructor(e){super({name:"UnsupportedGrantTypeException",$fault:"client",...e});Object.setPrototypeOf(this,R.prototype),this.error=e.error,this.error_description=e.error_description}}var Jt="AccessDeniedException",Xt="AuthorizationPendingException",Qt="AccessToken",Zt="ClientSecret",er="CreateToken",tr="CreateTokenRequest",rr="CreateTokenResponse",or="CodeVerifier",nr="ExpiredTokenException",sr="InvalidClientException",ir="InvalidGrantException",cr="InvalidRequestException",ar="InternalServerException",dr="InvalidScopeException",pr="IdToken",ur="RefreshToken",lr="SlowDownException",hr="UnauthorizedClientException",Er="UnsupportedGrantTypeException",gr="accessToken",l="client",_r="clientId",mr="clientSecret",xr="codeVerifier",Sr="code",fr="deviceCode",r="error",Ir="expiresIn",p="error_description",vr="grantType",Pr="http",u="httpError",Cr="idToken",Y="reason",J="refreshToken",Ar="redirectUri",X="smithy.ts.sdk.synthetic.com.amazonaws.ssooidc",yr="scope",Tr="server",Or="tokenType",o="com.amazonaws.ssooidc",Q=new L(X),Z=[-3,X,"SSOOIDCServiceException",0,[],[]];Q.registerError(Z,i);var a=new L(o),ee=[-3,o,Jt,{[r]:l,[u]:400},[r,Y,p],[0,0,0]];a.registerError(ee,I);var oe=[-3,o,Xt,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(oe,v);var ne=[-3,o,nr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ne,P);var se=[-3,o,ar,{[r]:Tr,[u]:500},[r,p],[0,0]];a.registerError(se,C);var ie=[-3,o,sr,{[r]:l,[u]:401},[r,p],[0,0]];a.registerError(ie,A);var ce=[-3,o,ir,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ce,y);var ae=[-3,o,cr,{[r]:l,[u]:400},[r,Y,p],[0,0,0]];a.registerError(ae,T);var de=[-3,o,dr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(de,O);var pe=[-3,o,lr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(pe,w);var ue=[-3,o,hr,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(ue,D);var le=[-3,o,Er,{[r]:l,[u]:400},[r,p],[0,0]];a.registerError(le,R);var he=[Q,a],wr=[0,o,Qt,8,0],Dr=[0,o,Zt,8,0],Rr=[0,o,or,8,0],kr=[0,o,pr,8,0],Ee=[0,o,ur,8,0],ge=[3,o,tr,0,[_r,mr,vr,fr,Sr,J,yr,Ar,xr],[0,[()=>Dr,0],0,0,0,[()=>Ee,0],64,0,[()=>Rr,0]],3],_e=[3,o,rr,0,[gr,Or,Ir,J,Cr],[[()=>wr,0],0,1,[()=>Ee,0],[()=>kr,0]]],me=[9,o,er,{[Pr]:["POST","/token",200]},()=>ge,()=>_e],$r=(e)=>({apiVersion:"2019-06-10",base64Decoder:e?.base64Decoder??Dt,base64Encoder:e?.base64Encoder??wt,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Yt,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??zt,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:(t)=>t.getIdentityProvider("aws.auth#sigv4"),signer:new At},{schemeId:"smithy.api#noAuth",identityProvider:(t)=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new Fe}],logger:e?.logger??new Ke,protocol:e?.protocol??Nt,protocolSettings:e?.protocolSettings??{defaultNamespace:"com.amazonaws.ssooidc",errorTypeRegistries:he,version:"2019-06-10",serviceTarget:"AWSSSOOIDCService"},serviceId:e?.serviceId??"SSO OIDC",sha256:e?.sha256??bt,urlParser:e?.urlParser??ht,utf8Decoder:e?.utf8Decoder??Ot,utf8Encoder:e?.utf8Encoder??Tt}),Nr=(e)=>{Le(process.version);let t=et(e),n=()=>t().then(Be),d=$r(e);Ae(process.version);let s={profile:e?.profile,logger:d.logger};return{...d,...e,runtime:"node",defaultsMode:t,authSchemePreference:e?.authSchemePreference??h(yt,s),bodyLengthChecker:e?.bodyLengthChecker??Rt,defaultUserAgentProvider:e?.defaultUserAgentProvider??ye({serviceId:d.serviceId,clientVersion:Kt.version}),maxAttempts:e?.maxAttempts??h(ft,e),region:e?.region??h(ot,{...nt,...s}),requestHandler:$t.create(e?.requestHandler??n),retryMode:e?.retryMode??h({...St,default:async()=>(await n()).retryMode||xt},e),streamCollector:e?.streamCollector??kt,useDualstackEndpoint:e?.useDualstackEndpoint??h(rt,s),useFipsEndpoint:e?.useFipsEndpoint??h(tt,s),userAgentAppId:e?.userAgentAppId??h(Oe,s)}},br=(e)=>{let{httpAuthSchemes:t,httpAuthSchemeProvider:n,credentials:d}=e;return{setHttpAuthScheme(s){let x=t.findIndex((k)=>k.schemeId===s.schemeId);if(x===-1)t.push(s);else t.splice(x,1,s)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(s){n=s},httpAuthSchemeProvider(){return n},setCredentials(s){d=s},credentials(){return d}}},Ur=(e)=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Fr=(e,t)=>{let n=Object.assign(we(e),We(e),Et(e),br(e));return t.forEach((d)=>d.configure(n)),Object.assign(e,De(n),Ye(n),gt(n),Ur(n))};class U extends V{config;constructor(...[e]){let t=Nr(e||{});super(t);this.initConfig=t;let n=Gt(t),d=Re(n),s=It(d),x=st(s),k=ke(x),xe=ut(k),Se=Ht(xe),fe=Fr(Se,e?.extensions||[]);this.config=fe,this.middlewareStack.use(Pt(this.config)),this.middlewareStack.use($e(this.config)),this.middlewareStack.use(vt(this.config)),this.middlewareStack.use(_t(this.config)),this.middlewareStack.use(Ne(this.config)),this.middlewareStack.use(be(this.config)),this.middlewareStack.use(Ue(this.config)),this.middlewareStack.use(qe(this.config,{httpAuthSchemeParametersProvider:Ut,identityProviderConfigProvider:async(Ie)=>new ze({"aws.auth#sigv4":Ie.credentials})})),this.middlewareStack.use(He(this.config))}destroy(){super.destroy()}}var qr=Je(Mt,"AWSSSOOIDCService","SSOOIDCClient",lt),zr={},Hr=(e,t,n,d)=>[];class F extends qr(zr,Hr,"CreateToken",me){}var Gr={CreateTokenCommand:F};class q extends U{}Xe(Gr,q);var Mr={KMS_ACCESS_DENIED:"KMS_AccessDeniedException"},jr={KMS_DISABLED_KEY:"KMS_DisabledException",KMS_INVALID_KEY_USAGE:"KMS_InvalidKeyUsageException",KMS_INVALID_STATE:"KMS_InvalidStateException",KMS_KEY_NOT_FOUND:"KMS_NotFoundException"};var Lr=I,Br=ee,Wr=Mr,Yr=v,Jr=oe,Xr=me,Qr=F,Zr=ge,eo=_e,to=P,ro=ne,oo=C,no=se,so=A,io=ie,co=y,ao=ce,po=T,uo=ae,lo=jr,ho=O,Eo=de,go=q,_o=U,mo=i,xo=Z,So=w,fo=pe,Io=D,vo=ue,Po=R,Co=le,Ao=he;export{Kr as $Command,Vr as __Client,Lr as AccessDeniedException,Br as AccessDeniedException$,Wr as AccessDeniedExceptionReason,Yr as AuthorizationPendingException,Jr as AuthorizationPendingException$,Xr as CreateToken$,Qr as CreateTokenCommand,Zr as CreateTokenRequest$,eo as CreateTokenResponse$,to as ExpiredTokenException,ro as ExpiredTokenException$,oo as InternalServerException,no as InternalServerException$,so as InvalidClientException,io as InvalidClientException$,co as InvalidGrantException,ao as InvalidGrantException$,po as InvalidRequestException,uo as InvalidRequestException$,lo as InvalidRequestExceptionReason,ho as InvalidScopeException,Eo as InvalidScopeException$,go as SSOOIDC,_o as SSOOIDCClient,mo as SSOOIDCServiceException,xo as SSOOIDCServiceException$,So as SlowDownException,fo as SlowDownException$,Io as UnauthorizedClientException,vo as UnauthorizedClientException$,Po as UnsupportedGrantTypeException,Co as UnsupportedGrantTypeException$,Ao as errorTypeRegistries};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{Bo,Ct,gt,k,Bn,Fo}from"./chunk-62ty404c.js";export{Bo as child_process,Ct as crypto,gt as fs,k as path,Bn as stream,Fo as util};
@@ -0,0 +1,2 @@
1
+ // @bun
2
+ import{B}from"./chunk-93b76hhg.js";import{_}from"./chunk-2e4xds74.js";import{a}from"./chunk-1mhv12a5.js";var i=a(_());var t=a(_());import{exec as w}from"child_process";import{promisify as P}from"util";var p=a(B()),f=(r,e,o)=>{if(e.Version!==1)throw Error(`Profile ${r} credential_process did not return Version 1.`);if(e.AccessKeyId===void 0||e.SecretAccessKey===void 0)throw Error(`Profile ${r} credential_process returned invalid credentials.`);if(e.Expiration){let d=new Date;if(new Date(e.Expiration)<d)throw Error(`Profile ${r} credential_process returned expired credentials.`)}let s=e.AccountId;if(!s&&o?.[r]?.aws_account_id)s=o[r].aws_account_id;let n={accessKeyId:e.AccessKeyId,secretAccessKey:e.SecretAccessKey,...e.SessionToken&&{sessionToken:e.SessionToken},...e.Expiration&&{expiration:new Date(e.Expiration)},...e.CredentialScope&&{credentialScope:e.CredentialScope},...s&&{accountId:s}};return p.setCredentialFeature(n,"CREDENTIALS_PROCESS","w"),n};var u=async(r,e,o)=>{let s=e[r];if(e[r]){let n=s.credential_process;if(n!==void 0){let d=P(t.externalDataInterceptor?.getTokenRecord?.().exec??w);try{let{stdout:c}=await d(n),l;try{l=JSON.parse(c.trim())}catch{throw Error(`Profile ${r} credential_process returned invalid JSON.`)}return f(r,l,e)}catch(c){throw new t.CredentialsProviderError(c.message,{logger:o})}}else throw new t.CredentialsProviderError(`Profile ${r} did not contain credential_process.`,{logger:o})}else throw new t.CredentialsProviderError(`Profile ${r} could not be found in shared credentials file.`,{logger:o})};var m=(r={})=>async({callerClientConfig:e}={})=>{r.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");let o=await i.parseKnownFiles(r);return u(i.getProfileName({profile:r.profile??e?.profile}),o,r.logger)};export{m as fromProcess};