@bkm016/basalt 0.1.15 → 0.1.17

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 (558) hide show
  1. package/{chunk-mfb3dgs8.js → chunk-1c9nr9rs.js} +1 -1
  2. package/{chunk-z9p6s986.js → chunk-4hf0r9hv.js} +3 -3
  3. package/{chunk-p886jr17.js → chunk-6ae9810t.js} +2 -2
  4. package/{chunk-6hx9y86d.js → chunk-6exa9fp7.js} +1 -1
  5. package/{chunk-tszctb17.js → chunk-8jn0yax5.js} +26 -26
  6. package/{chunk-xq74x4gc.js → chunk-8r4baw9e.js} +1 -1
  7. package/{chunk-5n1qra6k.js → chunk-9jtvj8md.js} +265 -256
  8. package/{chunk-qjnx4fsn.js → chunk-b350b01x.js} +3 -3
  9. package/{chunk-59hg9a84.js → chunk-bv96b8q7.js} +1 -1
  10. package/{chunk-343jsm46.js → chunk-e8x8zwkg.js} +1 -1
  11. package/{chunk-k38jaz6c.js → chunk-ehnc8g6v.js} +2 -2
  12. package/{chunk-kcn05erf.js → chunk-fzftb4n2.js} +3 -3
  13. package/{chunk-0rasqm8y.js → chunk-nrdszs0g.js} +2 -2
  14. package/{chunk-qs161f2q.js → chunk-p78wde92.js} +1 -1
  15. package/{chunk-39mh7h58.js → chunk-pna1wh02.js} +1 -1
  16. package/{chunk-edcf97ka.js → chunk-q6tgpaf3.js} +1 -1
  17. package/{chunk-qe76naq9.js → chunk-rqn67tm8.js} +1 -1
  18. package/{chunk-en7z6ne5.js → chunk-v9ttcf6r.js} +1 -1
  19. package/{chunk-9v3b7jjv.js → chunk-vv9csar7.js} +1 -1
  20. package/{chunk-81x8r8w4.js → chunk-xba6fr5v.js} +1 -1
  21. package/{chunk-03wzwnn6.js → chunk-ypxs8djn.js} +1 -1
  22. package/compiled.js +4 -4
  23. package/package.json +1 -1
  24. package/ui-test-worker.js +2 -2
  25. package/web/{chunk-hdtvrh0f.js → chunk-013et20n.js} +2 -2
  26. package/web/chunk-013et20n.js.br +0 -0
  27. package/web/chunk-013et20n.js.gz +0 -0
  28. package/web/chunk-0ernj3c0.js +1 -0
  29. package/web/chunk-0ernj3c0.js.br +0 -0
  30. package/web/chunk-0ernj3c0.js.gz +0 -0
  31. package/web/chunk-0j65yg1p.js +1 -0
  32. package/web/chunk-0j65yg1p.js.br +0 -0
  33. package/web/chunk-0j65yg1p.js.gz +0 -0
  34. package/web/chunk-0khcpaa8.js +1 -0
  35. package/web/chunk-0khcpaa8.js.br +0 -0
  36. package/web/chunk-0khcpaa8.js.gz +0 -0
  37. package/web/chunk-0wbdd74r.js +1 -0
  38. package/web/chunk-0wbdd74r.js.br +2 -0
  39. package/web/chunk-0wbdd74r.js.gz +0 -0
  40. package/web/chunk-1f2wvhq9.js +1 -0
  41. package/web/chunk-1f2wvhq9.js.br +0 -0
  42. package/web/chunk-1f2wvhq9.js.gz +0 -0
  43. package/web/{chunk-7frnjms9.js → chunk-1q2kmv35.js} +18 -18
  44. package/web/chunk-1q2kmv35.js.br +0 -0
  45. package/web/chunk-1q2kmv35.js.gz +0 -0
  46. package/web/{chunk-k4qrqmdk.js → chunk-1tfrm3pk.js} +2 -2
  47. package/web/chunk-1tfrm3pk.js.br +0 -0
  48. package/web/chunk-1tfrm3pk.js.gz +0 -0
  49. package/web/chunk-2qt5fy5n.js +1 -0
  50. package/web/chunk-2qt5fy5n.js.br +0 -0
  51. package/web/chunk-2qt5fy5n.js.gz +0 -0
  52. package/web/chunk-2sxtb709.js +1 -0
  53. package/web/chunk-2sxtb709.js.br +0 -0
  54. package/web/chunk-2sxtb709.js.gz +0 -0
  55. package/web/chunk-2wrwm0qe.js +1 -0
  56. package/web/chunk-2wrwm0qe.js.br +0 -0
  57. package/web/chunk-2wrwm0qe.js.gz +0 -0
  58. package/web/{chunk-251yw6f2.js → chunk-2wwj27b9.js} +3 -3
  59. package/web/chunk-2wwj27b9.js.br +0 -0
  60. package/web/chunk-2wwj27b9.js.gz +0 -0
  61. package/web/chunk-33mmrjdp.js +1 -0
  62. package/web/chunk-33mmrjdp.js.br +2 -0
  63. package/web/chunk-33mmrjdp.js.gz +0 -0
  64. package/web/chunk-33tb7q04.js +2 -0
  65. package/web/chunk-33tb7q04.js.br +0 -0
  66. package/web/chunk-33tb7q04.js.gz +0 -0
  67. package/web/chunk-3txb4sha.js +1 -0
  68. package/web/chunk-3txb4sha.js.br +0 -0
  69. package/web/chunk-3txb4sha.js.gz +0 -0
  70. package/web/{chunk-t78qm9gs.js → chunk-3xgfsx7y.js} +2 -2
  71. package/web/chunk-3xgfsx7y.js.br +0 -0
  72. package/web/chunk-3xgfsx7y.js.gz +0 -0
  73. package/web/chunk-40jka4r7.js +2 -0
  74. package/web/chunk-40jka4r7.js.br +0 -0
  75. package/web/chunk-40jka4r7.js.gz +0 -0
  76. package/web/{chunk-vwv6pqy7.js → chunk-41vh5n86.js} +1 -1
  77. package/web/chunk-41vh5n86.js.br +0 -0
  78. package/web/chunk-41vh5n86.js.gz +0 -0
  79. package/web/chunk-4wd9r73y.js.br +0 -0
  80. package/web/chunk-4wd9r73y.js.gz +0 -0
  81. package/web/chunk-5kz048x3.js +2 -0
  82. package/web/chunk-5kz048x3.js.br +0 -0
  83. package/web/chunk-5kz048x3.js.gz +0 -0
  84. package/web/chunk-5mbz8yj9.js +3 -0
  85. package/web/chunk-5mbz8yj9.js.br +0 -0
  86. package/web/chunk-5mbz8yj9.js.gz +0 -0
  87. package/web/chunk-6024wfxb.js +30 -0
  88. package/web/chunk-6024wfxb.js.br +0 -0
  89. package/web/chunk-6024wfxb.js.gz +0 -0
  90. package/web/chunk-6ey4c6gw.js +2 -0
  91. package/web/chunk-6ey4c6gw.js.br +0 -0
  92. package/web/chunk-6ey4c6gw.js.gz +0 -0
  93. package/web/chunk-6q3p851n.js +1 -0
  94. package/web/chunk-6q3p851n.js.br +2 -0
  95. package/web/chunk-6q3p851n.js.gz +0 -0
  96. package/web/{chunk-2tm4xe0j.js → chunk-74g3wh08.js} +2 -2
  97. package/web/chunk-74g3wh08.js.br +0 -0
  98. package/web/chunk-74g3wh08.js.gz +0 -0
  99. package/web/{chunk-ea6b8b50.js → chunk-78akzkgs.js} +12 -12
  100. package/web/chunk-78akzkgs.js.br +0 -0
  101. package/web/chunk-78akzkgs.js.gz +0 -0
  102. package/web/chunk-7ck99bsp.js +62 -0
  103. package/web/chunk-7ck99bsp.js.br +0 -0
  104. package/web/chunk-7ck99bsp.js.gz +0 -0
  105. package/web/chunk-7fjbyns9.js +1 -0
  106. package/web/chunk-7fjbyns9.js.br +0 -0
  107. package/web/chunk-7fjbyns9.js.gz +0 -0
  108. package/web/chunk-7n6b2xra.js +21 -0
  109. package/web/chunk-7n6b2xra.js.br +0 -0
  110. package/web/chunk-7n6b2xra.js.gz +0 -0
  111. package/web/chunk-7p4mcqkd.js +78 -0
  112. package/web/chunk-7p4mcqkd.js.br +0 -0
  113. package/web/chunk-7p4mcqkd.js.gz +0 -0
  114. package/web/chunk-7ztwkhg5.js +1 -0
  115. package/web/chunk-7ztwkhg5.js.br +0 -0
  116. package/web/chunk-7ztwkhg5.js.gz +0 -0
  117. package/web/{chunk-4q2jtvwn.js → chunk-823etvc3.js} +19 -19
  118. package/web/chunk-823etvc3.js.br +0 -0
  119. package/web/chunk-823etvc3.js.gz +0 -0
  120. package/web/{chunk-mv9q8jrm.js → chunk-8ec53vjd.js} +1 -1
  121. package/web/chunk-8ec53vjd.js.br +0 -0
  122. package/web/chunk-8ec53vjd.js.gz +0 -0
  123. package/web/chunk-8g239029.js.br +0 -0
  124. package/web/chunk-8g239029.js.gz +0 -0
  125. package/web/{chunk-wfgrdabk.js → chunk-8g55ytgz.js} +1 -1
  126. package/web/chunk-8g55ytgz.js.br +0 -0
  127. package/web/chunk-8g55ytgz.js.gz +0 -0
  128. package/web/chunk-8nxjthxc.js +1 -0
  129. package/web/chunk-8nxjthxc.js.br +0 -0
  130. package/web/chunk-8nxjthxc.js.gz +0 -0
  131. package/web/chunk-8q76yd76.js +291 -0
  132. package/web/chunk-8q76yd76.js.br +0 -0
  133. package/web/chunk-8q76yd76.js.gz +0 -0
  134. package/web/chunk-9kbrjmtz.js +1 -0
  135. package/web/chunk-9kbrjmtz.js.br +0 -0
  136. package/web/chunk-9kbrjmtz.js.gz +0 -0
  137. package/web/chunk-9s4bh6qm.js +40 -0
  138. package/web/chunk-9s4bh6qm.js.br +0 -0
  139. package/web/chunk-9s4bh6qm.js.gz +0 -0
  140. package/web/chunk-9v1f6yc8.js.br +0 -0
  141. package/web/chunk-9v1f6yc8.js.gz +0 -0
  142. package/web/{chunk-a205cj09.js → chunk-9vf3zy3d.js} +2 -2
  143. package/web/chunk-9vf3zy3d.js.br +0 -0
  144. package/web/chunk-9vf3zy3d.js.gz +0 -0
  145. package/web/{chunk-yzmrbssn.js → chunk-a449xjq6.js} +6 -6
  146. package/web/chunk-a449xjq6.js.br +0 -0
  147. package/web/chunk-a449xjq6.js.gz +0 -0
  148. package/web/chunk-ad6x47yy.js.br +0 -0
  149. package/web/chunk-ad6x47yy.js.gz +0 -0
  150. package/web/chunk-b05eay33.js +1 -0
  151. package/web/chunk-b05eay33.js.br +0 -0
  152. package/web/chunk-b05eay33.js.gz +0 -0
  153. package/web/{chunk-dgepxev9.js → chunk-bdypt5mj.js} +55 -55
  154. package/web/chunk-bdypt5mj.js.br +0 -0
  155. package/web/chunk-bdypt5mj.js.gz +0 -0
  156. package/web/chunk-bvyjy17t.js +14 -0
  157. package/web/chunk-bvyjy17t.js.br +0 -0
  158. package/web/chunk-bvyjy17t.js.gz +0 -0
  159. package/web/{chunk-7zfqppsx.js → chunk-ccy2q2z0.js} +2 -2
  160. package/web/chunk-ccy2q2z0.js.br +0 -0
  161. package/web/chunk-ccy2q2z0.js.gz +0 -0
  162. package/web/{chunk-k3ah0513.js → chunk-ceg13tma.js} +2 -2
  163. package/web/chunk-ceg13tma.js.br +0 -0
  164. package/web/chunk-ceg13tma.js.gz +0 -0
  165. package/web/{chunk-bzdn9sxz.js → chunk-ch60a61d.js} +2 -2
  166. package/web/chunk-ch60a61d.js.br +0 -0
  167. package/web/chunk-ch60a61d.js.gz +0 -0
  168. package/web/chunk-czvdg0c5.js +1 -0
  169. package/web/chunk-czvdg0c5.js.br +0 -0
  170. package/web/chunk-czvdg0c5.js.gz +0 -0
  171. package/web/chunk-d18r4m14.js.br +0 -0
  172. package/web/chunk-d18r4m14.js.gz +0 -0
  173. package/web/chunk-dmqtdeb4.js.br +0 -0
  174. package/web/chunk-dmqtdeb4.js.gz +0 -0
  175. package/web/chunk-drr7mqg2.js +1 -0
  176. package/web/chunk-drr7mqg2.js.br +0 -0
  177. package/web/chunk-drr7mqg2.js.gz +0 -0
  178. package/web/{chunk-3zs2v6b4.js → chunk-dsa5m3h6.js} +34 -34
  179. package/web/chunk-dsa5m3h6.js.br +0 -0
  180. package/web/chunk-dsa5m3h6.js.gz +0 -0
  181. package/web/chunk-dww3grm3.js +24 -0
  182. package/web/chunk-dww3grm3.js.br +0 -0
  183. package/web/chunk-dww3grm3.js.gz +0 -0
  184. package/web/chunk-e187gt5x.js +1 -0
  185. package/web/chunk-e187gt5x.js.br +0 -0
  186. package/web/chunk-e187gt5x.js.gz +0 -0
  187. package/web/{chunk-pf65cank.js → chunk-emxa4wv3.js} +2 -2
  188. package/web/chunk-emxa4wv3.js.br +0 -0
  189. package/web/chunk-emxa4wv3.js.gz +0 -0
  190. package/web/{chunk-6x1hfjb9.js → chunk-ey0zwvbx.js} +1 -1
  191. package/web/chunk-ey0zwvbx.js.br +0 -0
  192. package/web/chunk-ey0zwvbx.js.gz +0 -0
  193. package/web/chunk-ey14knbn.js +2 -0
  194. package/web/chunk-ey14knbn.js.br +0 -0
  195. package/web/chunk-ey14knbn.js.gz +0 -0
  196. package/web/chunk-fba06jm8.js +1132 -0
  197. package/web/chunk-fba06jm8.js.br +0 -0
  198. package/web/chunk-fba06jm8.js.gz +0 -0
  199. package/web/chunk-fh56vgfx.js +39 -0
  200. package/web/chunk-fh56vgfx.js.br +0 -0
  201. package/web/chunk-fh56vgfx.js.gz +0 -0
  202. package/web/chunk-ft05x3my.js +169 -0
  203. package/web/chunk-ft05x3my.js.br +0 -0
  204. package/web/chunk-ft05x3my.js.gz +0 -0
  205. package/web/chunk-fzmrnh17.js +303 -0
  206. package/web/chunk-fzmrnh17.js.br +0 -0
  207. package/web/chunk-fzmrnh17.js.gz +0 -0
  208. package/web/{chunk-jdx7qp2w.js → chunk-gbt7asd7.js} +2 -2
  209. package/web/chunk-gbt7asd7.js.br +0 -0
  210. package/web/chunk-gbt7asd7.js.gz +0 -0
  211. package/web/chunk-gh9fkn3t.js +1 -0
  212. package/web/chunk-gh9fkn3t.js.br +2 -0
  213. package/web/chunk-gh9fkn3t.js.gz +0 -0
  214. package/web/{chunk-sd3cdqcm.js → chunk-h1syyjqq.js} +2 -2
  215. package/web/chunk-h1syyjqq.js.br +0 -0
  216. package/web/chunk-h1syyjqq.js.gz +0 -0
  217. package/web/{chunk-te15yhn5.js → chunk-h7byk4z3.js} +12 -12
  218. package/web/chunk-h7byk4z3.js.br +0 -0
  219. package/web/chunk-h7byk4z3.js.gz +0 -0
  220. package/web/chunk-hby0hkv4.js +1 -0
  221. package/web/chunk-hby0hkv4.js.br +0 -0
  222. package/web/chunk-hby0hkv4.js.gz +0 -0
  223. package/web/chunk-hjvsp2yx.js +1 -0
  224. package/web/chunk-hjvsp2yx.js.br +0 -0
  225. package/web/chunk-hjvsp2yx.js.gz +0 -0
  226. package/web/chunk-hp167dbv.js.br +0 -0
  227. package/web/chunk-hp167dbv.js.gz +0 -0
  228. package/web/{chunk-t2v01k4z.js → chunk-hpjzy5ww.js} +1 -1
  229. package/web/chunk-hpjzy5ww.js.br +0 -0
  230. package/web/chunk-hpjzy5ww.js.gz +0 -0
  231. package/web/{chunk-jx3z63tq.js → chunk-hzfp8kqx.js} +11 -11
  232. package/web/chunk-hzfp8kqx.js.br +0 -0
  233. package/web/chunk-hzfp8kqx.js.gz +0 -0
  234. package/web/{chunk-5d9veaef.js → chunk-j6jjk46a.js} +2 -2
  235. package/web/chunk-j6jjk46a.js.br +0 -0
  236. package/web/chunk-j6jjk46a.js.gz +0 -0
  237. package/web/chunk-j8f0m1dq.js +1 -0
  238. package/web/chunk-j8f0m1dq.js.br +0 -0
  239. package/web/chunk-j8f0m1dq.js.gz +0 -0
  240. package/web/{chunk-qv1w36ja.js → chunk-jc178ad5.js} +2 -2
  241. package/web/chunk-jc178ad5.js.br +0 -0
  242. package/web/chunk-jc178ad5.js.gz +0 -0
  243. package/web/chunk-jcsf0ke5.js +41 -0
  244. package/web/chunk-jcsf0ke5.js.br +0 -0
  245. package/web/chunk-jcsf0ke5.js.gz +0 -0
  246. package/web/chunk-jg43a2xk.js +139 -0
  247. package/web/chunk-jg43a2xk.js.br +0 -0
  248. package/web/chunk-jg43a2xk.js.gz +0 -0
  249. package/web/chunk-jrgdxqtq.js +7 -0
  250. package/web/chunk-jrgdxqtq.js.br +0 -0
  251. package/web/chunk-jrgdxqtq.js.gz +0 -0
  252. package/web/chunk-js8dvtfg.js +2 -0
  253. package/web/chunk-js8dvtfg.js.br +0 -0
  254. package/web/chunk-js8dvtfg.js.gz +0 -0
  255. package/web/chunk-jt0s9qs7.js +1 -0
  256. package/web/chunk-jt0s9qs7.js.br +0 -0
  257. package/web/chunk-jt0s9qs7.js.gz +0 -0
  258. package/web/chunk-jv5faf88.js +34 -0
  259. package/web/chunk-jv5faf88.js.br +0 -0
  260. package/web/chunk-jv5faf88.js.gz +0 -0
  261. package/web/{chunk-6xfbh4z5.js → chunk-k295x81w.js} +79 -79
  262. package/web/chunk-k295x81w.js.br +0 -0
  263. package/web/chunk-k295x81w.js.gz +0 -0
  264. package/web/{chunk-1zwc09e8.js → chunk-k3aa37pw.js} +2 -2
  265. package/web/chunk-k3aa37pw.js.br +0 -0
  266. package/web/chunk-k3aa37pw.js.gz +0 -0
  267. package/web/{chunk-kxr473dw.js → chunk-k6wxwgp1.js} +26 -26
  268. package/web/chunk-k6wxwgp1.js.br +0 -0
  269. package/web/chunk-k6wxwgp1.js.gz +0 -0
  270. package/web/chunk-k9vc7kp2.js +292 -0
  271. package/web/chunk-k9vc7kp2.js.br +0 -0
  272. package/web/chunk-k9vc7kp2.js.gz +0 -0
  273. package/web/chunk-kxyws7q7.js +1 -0
  274. package/web/chunk-kxyws7q7.js.br +0 -0
  275. package/web/chunk-kxyws7q7.js.gz +0 -0
  276. package/web/{chunk-8qzsxg1q.js → chunk-mcgf645h.js} +1 -1
  277. package/web/chunk-mcgf645h.js.br +4 -0
  278. package/web/chunk-mcgf645h.js.gz +0 -0
  279. package/web/{chunk-27cntdyk.js → chunk-mj3tshy8.js} +31 -31
  280. package/web/chunk-mj3tshy8.js.br +0 -0
  281. package/web/chunk-mj3tshy8.js.gz +0 -0
  282. package/web/chunk-mnb2wdvy.js +24 -0
  283. package/web/chunk-mnb2wdvy.js.br +0 -0
  284. package/web/chunk-mnb2wdvy.js.gz +0 -0
  285. package/web/chunk-ndf58dgc.js +1 -0
  286. package/web/chunk-ndf58dgc.js.br +0 -0
  287. package/web/chunk-ndf58dgc.js.gz +0 -0
  288. package/web/chunk-nhpm5nd5.js +2 -0
  289. package/web/chunk-nhpm5nd5.js.br +0 -0
  290. package/web/chunk-nhpm5nd5.js.gz +0 -0
  291. package/web/chunk-nj0cv1cq.js.br +0 -0
  292. package/web/chunk-nj0cv1cq.js.gz +0 -0
  293. package/web/{chunk-zf4b8jb9.js → chunk-nwxjdetb.js} +1 -1
  294. package/web/chunk-nwxjdetb.js.br +0 -0
  295. package/web/chunk-nwxjdetb.js.gz +0 -0
  296. package/web/chunk-nyjfcard.js +106 -0
  297. package/web/chunk-nyjfcard.js.br +0 -0
  298. package/web/chunk-nyjfcard.js.gz +0 -0
  299. package/web/chunk-nzey7cpv.js.br +0 -0
  300. package/web/chunk-nzey7cpv.js.gz +0 -0
  301. package/web/{chunk-937ndmh1.js → chunk-pcfjcy3a.js} +23 -23
  302. package/web/chunk-pcfjcy3a.js.br +0 -0
  303. package/web/chunk-pcfjcy3a.js.gz +0 -0
  304. package/web/chunk-pry6wdbe.js +1 -0
  305. package/web/chunk-pry6wdbe.js.br +0 -0
  306. package/web/chunk-pry6wdbe.js.gz +0 -0
  307. package/web/chunk-pvahdcgy.js +2 -0
  308. package/web/chunk-pvahdcgy.js.br +0 -0
  309. package/web/chunk-pvahdcgy.js.gz +0 -0
  310. package/web/{chunk-1v6hhgc6.js → chunk-q3njnnef.js} +2 -2
  311. package/web/chunk-q3njnnef.js.br +0 -0
  312. package/web/chunk-q3njnnef.js.gz +0 -0
  313. package/web/chunk-qxvqkkmw.js +1 -0
  314. package/web/chunk-qxvqkkmw.js.br +0 -0
  315. package/web/chunk-qxvqkkmw.js.gz +0 -0
  316. package/web/chunk-qych3sbs.js +1 -0
  317. package/web/chunk-qych3sbs.js.br +0 -0
  318. package/web/chunk-qych3sbs.js.gz +0 -0
  319. package/web/chunk-r1dnh0s8.js.br +0 -0
  320. package/web/chunk-r1dnh0s8.js.gz +0 -0
  321. package/web/chunk-r5eakmw6.js.br +0 -0
  322. package/web/chunk-r5eakmw6.js.gz +0 -0
  323. package/web/chunk-rbmp2e4b.js +1 -0
  324. package/web/chunk-rbmp2e4b.js.br +0 -0
  325. package/web/chunk-rbmp2e4b.js.gz +0 -0
  326. package/web/chunk-rcre1stj.js +1 -0
  327. package/web/chunk-rcre1stj.js.br +0 -0
  328. package/web/chunk-rcre1stj.js.gz +0 -0
  329. package/web/chunk-rdb6091n.js +89 -0
  330. package/web/chunk-rdb6091n.js.br +0 -0
  331. package/web/chunk-rdb6091n.js.gz +0 -0
  332. package/web/chunk-ryw7xnab.js +1 -0
  333. package/web/chunk-ryw7xnab.js.br +0 -0
  334. package/web/chunk-ryw7xnab.js.gz +0 -0
  335. package/web/{chunk-7wzszsf5.js → chunk-sbbmy02e.js} +2 -2
  336. package/web/chunk-sbbmy02e.js.br +0 -0
  337. package/web/chunk-sbbmy02e.js.gz +0 -0
  338. package/web/{chunk-s0xy00v5.js → chunk-sgbc835w.js} +2 -2
  339. package/web/chunk-sgbc835w.js.br +0 -0
  340. package/web/chunk-sgbc835w.js.gz +0 -0
  341. package/web/chunk-sydy10mb.js +1 -0
  342. package/web/chunk-sydy10mb.js.br +0 -0
  343. package/web/chunk-sydy10mb.js.gz +0 -0
  344. package/web/chunk-t0ywnp5e.js +1 -0
  345. package/web/chunk-t0ywnp5e.js.br +0 -0
  346. package/web/chunk-t0ywnp5e.js.gz +0 -0
  347. package/web/chunk-t6agpn2z.js.br +0 -0
  348. package/web/chunk-t6agpn2z.js.gz +0 -0
  349. package/web/{chunk-s6bc73n3.js → chunk-t72jq97z.js} +2 -2
  350. package/web/chunk-t72jq97z.js.br +0 -0
  351. package/web/chunk-t72jq97z.js.gz +0 -0
  352. package/web/{chunk-pa82db2e.js → chunk-tfcc9bcz.js} +3 -3
  353. package/web/chunk-tfcc9bcz.js.br +0 -0
  354. package/web/chunk-tfcc9bcz.js.gz +0 -0
  355. package/web/chunk-v2bvbgfc.js +2 -0
  356. package/web/chunk-v2bvbgfc.js.br +0 -0
  357. package/web/chunk-v2bvbgfc.js.gz +0 -0
  358. package/web/{chunk-n0ezfa12.js → chunk-v7zq4vc9.js} +5 -5
  359. package/web/chunk-v7zq4vc9.js.br +0 -0
  360. package/web/chunk-v7zq4vc9.js.gz +0 -0
  361. package/web/chunk-vh8pkcem.css +1 -0
  362. package/web/chunk-vh8pkcem.css.br +0 -0
  363. package/web/chunk-vh8pkcem.css.gz +0 -0
  364. package/web/chunk-vq3sby7x.js +1 -0
  365. package/web/chunk-vq3sby7x.js.br +0 -0
  366. package/web/chunk-vq3sby7x.js.gz +0 -0
  367. package/web/{chunk-vvvd3grf.js → chunk-vszya05r.js} +2 -2
  368. package/web/chunk-vszya05r.js.br +0 -0
  369. package/web/chunk-vszya05r.js.gz +0 -0
  370. package/web/chunk-was9xf03.js +8 -0
  371. package/web/chunk-was9xf03.js.br +0 -0
  372. package/web/chunk-was9xf03.js.gz +0 -0
  373. package/web/chunk-we1v1829.js +2 -0
  374. package/web/chunk-we1v1829.js.br +0 -0
  375. package/web/chunk-we1v1829.js.gz +0 -0
  376. package/web/chunk-wfa1c8dn.js +1 -0
  377. package/web/chunk-wfa1c8dn.js.br +0 -0
  378. package/web/chunk-wfa1c8dn.js.gz +0 -0
  379. package/web/chunk-wg2exnxe.js +1 -0
  380. package/web/chunk-wg2exnxe.js.br +2 -0
  381. package/web/chunk-wg2exnxe.js.gz +0 -0
  382. package/web/chunk-wvd3zj1m.js +70 -0
  383. package/web/chunk-wvd3zj1m.js.br +0 -0
  384. package/web/chunk-wvd3zj1m.js.gz +0 -0
  385. package/web/chunk-wzmxtr30.js +1 -0
  386. package/web/chunk-wzmxtr30.js.br +0 -0
  387. package/web/chunk-wzmxtr30.js.gz +0 -0
  388. package/web/chunk-x815g7yp.js +1 -0
  389. package/web/chunk-x815g7yp.js.br +0 -0
  390. package/web/chunk-x815g7yp.js.gz +0 -0
  391. package/web/{chunk-ymtq18z6.js → chunk-x8ps0p82.js} +14 -14
  392. package/web/chunk-x8ps0p82.js.br +0 -0
  393. package/web/chunk-x8ps0p82.js.gz +0 -0
  394. package/web/{chunk-5fzmk43v.js → chunk-xea3snym.js} +1 -1
  395. package/web/chunk-xea3snym.js.br +0 -0
  396. package/web/chunk-xea3snym.js.gz +0 -0
  397. package/web/chunk-xet1jjy9.js.br +0 -0
  398. package/web/chunk-xet1jjy9.js.gz +0 -0
  399. package/web/{chunk-17wwzrp4.js → chunk-xg4v60m7.js} +1 -1
  400. package/web/chunk-xg4v60m7.js.br +0 -0
  401. package/web/chunk-xg4v60m7.js.gz +0 -0
  402. package/web/chunk-xhr9jrjt.js +89 -0
  403. package/web/chunk-xhr9jrjt.js.br +0 -0
  404. package/web/chunk-xhr9jrjt.js.gz +0 -0
  405. package/web/chunk-xp90g2e7.js +36 -0
  406. package/web/chunk-xp90g2e7.js.br +0 -0
  407. package/web/chunk-xp90g2e7.js.gz +0 -0
  408. package/web/{chunk-hbwxtbq3.js → chunk-xs1g97qa.js} +2 -2
  409. package/web/chunk-xs1g97qa.js.br +0 -0
  410. package/web/chunk-xs1g97qa.js.gz +0 -0
  411. package/web/chunk-xyk1wpr4.js +1 -0
  412. package/web/chunk-xyk1wpr4.js.br +3 -0
  413. package/web/chunk-xyk1wpr4.js.gz +0 -0
  414. package/web/chunk-yavbdwyt.js +1 -0
  415. package/web/chunk-yavbdwyt.js.br +0 -0
  416. package/web/chunk-yavbdwyt.js.gz +0 -0
  417. package/web/chunk-yfnhnsxe.js +4 -0
  418. package/web/chunk-yfnhnsxe.js.br +0 -0
  419. package/web/chunk-yfnhnsxe.js.gz +0 -0
  420. package/web/chunk-yk965yth.js +1 -0
  421. package/web/chunk-yk965yth.js.br +0 -0
  422. package/web/chunk-yk965yth.js.gz +0 -0
  423. package/web/{chunk-25sn840r.js → chunk-ynhcjhsx.js} +2 -2
  424. package/web/chunk-ynhcjhsx.js.br +0 -0
  425. package/web/chunk-ynhcjhsx.js.gz +0 -0
  426. package/web/chunk-ypmm1gts.js +1 -0
  427. package/web/chunk-ypmm1gts.js.br +0 -0
  428. package/web/chunk-ypmm1gts.js.gz +0 -0
  429. package/web/chunk-yssx5a5q.js +1 -0
  430. package/web/chunk-yssx5a5q.js.br +0 -0
  431. package/web/chunk-yssx5a5q.js.gz +0 -0
  432. package/web/chunk-z09emmrb.js.br +0 -0
  433. package/web/chunk-z09emmrb.js.gz +0 -0
  434. package/web/chunk-z0a8cnq8.js +1 -0
  435. package/web/chunk-z0a8cnq8.js.br +0 -0
  436. package/web/chunk-z0a8cnq8.js.gz +0 -0
  437. package/web/{chunk-pafw34vg.js → chunk-z1afsvbv.js} +2 -2
  438. package/web/chunk-z1afsvbv.js.br +0 -0
  439. package/web/chunk-z1afsvbv.js.gz +0 -0
  440. package/web/{chunk-fttdbcqv.js → chunk-z1ka8jtd.js} +2 -2
  441. package/web/chunk-z1ka8jtd.js.br +0 -0
  442. package/web/chunk-z1ka8jtd.js.gz +0 -0
  443. package/web/chunk-z7tdzen9.js +1 -0
  444. package/web/chunk-z7tdzen9.js.br +0 -0
  445. package/web/chunk-z7tdzen9.js.gz +0 -0
  446. package/web/{chunk-tvaxyhh0.js → chunk-zbwjj06m.js} +6 -6
  447. package/web/chunk-zbwjj06m.js.br +0 -0
  448. package/web/chunk-zbwjj06m.js.gz +0 -0
  449. package/web/chunk-zd2j189j.js +1 -0
  450. package/web/chunk-zd2j189j.js.br +0 -0
  451. package/web/chunk-zd2j189j.js.gz +0 -0
  452. package/web/chunk-zfgpq4n4.js +120 -0
  453. package/web/chunk-zfgpq4n4.js.br +0 -0
  454. package/web/chunk-zfgpq4n4.js.gz +0 -0
  455. package/web/chunk-zgas56xw.js +1 -0
  456. package/web/chunk-zgas56xw.js.br +0 -0
  457. package/web/chunk-zgas56xw.js.gz +0 -0
  458. package/web/chunk-zkfepf91.js +1 -0
  459. package/web/chunk-zkfepf91.js.br +0 -0
  460. package/web/chunk-zkfepf91.js.gz +0 -0
  461. package/web/icon-1wgy7kzy.svg.br +0 -0
  462. package/web/icon-1wgy7kzy.svg.gz +0 -0
  463. package/web/icon.svg.br +0 -0
  464. package/web/icon.svg.gz +0 -0
  465. package/web/index.html +11 -1
  466. package/web/index.html.br +0 -0
  467. package/web/index.html.gz +0 -0
  468. package/web/manifest-txf6vfbq.webmanifest.br +0 -0
  469. package/web/manifest-txf6vfbq.webmanifest.gz +0 -0
  470. package/web/manifest.webmanifest.br +0 -0
  471. package/web/manifest.webmanifest.gz +0 -0
  472. package/web/sw.js +146 -27
  473. package/web/sw.js.br +0 -0
  474. package/web/sw.js.gz +0 -0
  475. package/web/chunk-00swes3c.js +0 -1
  476. package/web/chunk-01nbc18z.js +0 -2
  477. package/web/chunk-0e995hjg.js +0 -1
  478. package/web/chunk-1bhpfsvr.js +0 -36
  479. package/web/chunk-1y387f45.js +0 -1
  480. package/web/chunk-3egthz5k.js +0 -2
  481. package/web/chunk-3f8fjee5.js +0 -2
  482. package/web/chunk-3fjzgpaw.js +0 -1
  483. package/web/chunk-3hy2gsgf.js +0 -1
  484. package/web/chunk-3mgzqbc8.js +0 -1
  485. package/web/chunk-3yvanftw.js +0 -1
  486. package/web/chunk-43194184.js +0 -1
  487. package/web/chunk-43bczb21.js +0 -120
  488. package/web/chunk-4m9mgdaa.js +0 -1
  489. package/web/chunk-4tbhxtnm.js +0 -1
  490. package/web/chunk-50vgq2nk.js +0 -139
  491. package/web/chunk-57b8j192.js +0 -1
  492. package/web/chunk-5rwg3qqd.js +0 -169
  493. package/web/chunk-62gj74fq.js +0 -1
  494. package/web/chunk-64h7k870.js +0 -1
  495. package/web/chunk-65ay0j1t.js +0 -39
  496. package/web/chunk-66164wmv.js +0 -2
  497. package/web/chunk-6ehecat3.js +0 -1
  498. package/web/chunk-6s1vjny7.js +0 -24
  499. package/web/chunk-73941p08.js +0 -1
  500. package/web/chunk-7jh6zxg3.js +0 -1
  501. package/web/chunk-7mgwejn4.js +0 -1
  502. package/web/chunk-7qq1ypvj.js +0 -1
  503. package/web/chunk-8nm0mghm.js +0 -2
  504. package/web/chunk-8zg89764.js +0 -1
  505. package/web/chunk-95gbcs8j.js +0 -1
  506. package/web/chunk-at0xtfhy.js +0 -1
  507. package/web/chunk-aw6wg8fe.js +0 -3
  508. package/web/chunk-b323qea5.js +0 -1
  509. package/web/chunk-bcx7xges.js +0 -1
  510. package/web/chunk-cq1f20k6.js +0 -89
  511. package/web/chunk-dde64qjd.js +0 -1
  512. package/web/chunk-djnq1w1e.js +0 -21
  513. package/web/chunk-ed5xfgxb.js +0 -2
  514. package/web/chunk-ehz9m6g4.js +0 -292
  515. package/web/chunk-evp6t44y.js +0 -8
  516. package/web/chunk-eyg28s83.js +0 -1
  517. package/web/chunk-g7bcntpm.js +0 -1
  518. package/web/chunk-g9bqacq1.js +0 -1
  519. package/web/chunk-gh8kjzdj.js +0 -1
  520. package/web/chunk-h0c42zy3.js +0 -1
  521. package/web/chunk-j031r08w.js +0 -1
  522. package/web/chunk-jab2p5zv.js +0 -2
  523. package/web/chunk-jca9xbe0.js +0 -40
  524. package/web/chunk-jpf8x9tm.js +0 -1
  525. package/web/chunk-jy448465.js +0 -1142
  526. package/web/chunk-jy8zat04.js +0 -1
  527. package/web/chunk-k8s7kye3.js +0 -1
  528. package/web/chunk-k9zn1n6d.js +0 -1
  529. package/web/chunk-ksnsfqrn.js +0 -24
  530. package/web/chunk-m5psa69k.js +0 -30
  531. package/web/chunk-md9j949p.js +0 -1
  532. package/web/chunk-mss6eg27.js +0 -106
  533. package/web/chunk-nbcpbqq4.js +0 -1
  534. package/web/chunk-npyrdsf8.css +0 -1
  535. package/web/chunk-p1bb9xp8.js +0 -89
  536. package/web/chunk-pdmcr6d4.js +0 -41
  537. package/web/chunk-phj4pcx4.js +0 -78
  538. package/web/chunk-pma5pats.js +0 -7
  539. package/web/chunk-pmghe7rh.js +0 -62
  540. package/web/chunk-ppfhtyxt.js +0 -1
  541. package/web/chunk-pze2v3v1.js +0 -2
  542. package/web/chunk-q6j2e8a1.js +0 -70
  543. package/web/chunk-q6jf3zc1.js +0 -1
  544. package/web/chunk-qdn3hmfy.js +0 -1
  545. package/web/chunk-qdsg8wp0.js +0 -1
  546. package/web/chunk-qf2kb7zj.js +0 -2
  547. package/web/chunk-sdtesqbb.js +0 -1
  548. package/web/chunk-t0z8ygx4.js +0 -1
  549. package/web/chunk-t5ke9cyg.js +0 -303
  550. package/web/chunk-t72z2ww3.js +0 -4
  551. package/web/chunk-vypfy030.js +0 -34
  552. package/web/chunk-w7cyrbk2.js +0 -1
  553. package/web/chunk-w9nkvcjr.js +0 -1
  554. package/web/chunk-x2f8bwd2.js +0 -1
  555. package/web/chunk-xq8x7dvr.js +0 -1
  556. package/web/chunk-xtss82z2.js +0 -1
  557. package/web/chunk-yeh77fvq.js +0 -2
  558. package/web/chunk-z5h046zm.js +0 -291
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{vr,It,Xt,Jt,Yt,Zt,_r,Ar,Mt,Er,Tr,Pr,kr,Rr,Cr}from"./chunk-39mh7h58.js";import{_}from"./chunk-ge38dhv9.js";import{oe}from"./chunk-pyj6avd5.js";import{X}from"./chunk-qs161f2q.js";import{w}from"./chunk-b516bp7n.js";import{V,J}from"./chunk-8np9b2y8.js";import{we}from"./chunk-tfhp09nj.js";import{W,ge,ae,Ue,Y,K}from"./chunk-z9p6s986.js";import{U}from"./chunk-4yxd2kg1.js";var T="v1",v="gcp-vertex-credentials",O=0,C=(e,o,t)=>{let i=new U,u=Ue(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=L(t),g=c?I(e,c,t?.headers):R(e,M(t),P(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 Cr(()=>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=Ar(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=Mt(r.thinkingSignature,a.thoughtSignature),i.push({type:"thinking_delta",contentIndex:l(),delta:a.text,partial:n});else r.text+=a.text,r.textSignature=Mt(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((x)=>x.type==="toolCall"&&x.id===d)?`${a.functionCall.name}_${Date.now()}_${++O}`: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=Rr(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}},Y(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},ue=(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=Xt(e,u);if(Jt(e))return C(e,o,{...i,thinking:{enabled:!0,level:Yt(n)}});return C(e,o,{...i,thinking:{enabled:!0,budgetTokens:N(e,n,t.thinkingBudgets)}})};function R(e,o,t,i,u){let n=G(u);return new It({vertexai:!0,project:o,location:t,apiVersion:T,...n?{googleAuthOptions:n}:{},httpOptions:b(e,i)})}function I(e,o,t){return new It({vertexai:!0,apiKey:o,apiVersion:T,httpOptions:b(e,t)})}function b(e,o){let t={},i=S(e.baseUrl);if(i){if(t.baseUrl=i,t.baseUrlResourceScope=vr.COLLECTION,E(i))t.apiVersion=""}let u=we({"User-Agent":oe(),...e.headers,...o});if(u)t.headers=u;return Object.keys(t).length>0?t:void 0}function S(e){let o=e.trim();if(!o||o.includes("{location}"))return;return o}function E(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 G(e){let o=_("GOOGLE_APPLICATION_CREDENTIALS",e);return o?{keyFilename:o}:void 0}function L(e){let o=e?.apiKey?.trim();if(!o||o===v||A(o))return;return o}function A(e){return/^<[^>]+>$/.test(e)}function M(e){let o=e?.project||_("GOOGLE_CLOUD_PROJECT",e?.env)||_("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 P(e){let o=e?.location||_("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=Er(e,o),u=ge(o.messages),n=ae(o.messages),c={};if(t.temperature!==void 0)c.temperature=t.temperature;if(t.maxTokens!==void 0)c.maxOutputTokens=t.maxTokens;let g=Pr(e.id),h=n.length>0?kr(n,t.toolChoice,g):void 0,m=u?W(u):"",p={...Object.keys(c).length>0&&c,...m&&{systemInstruction:w(m)},...n.length>0&&{tools:Tr(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=Zt(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=_r(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,ue as streamSimple};
2
+ import{vr,It,Xt,Jt,Yt,Zt,_r,Ar,Mt,Er,Tr,Pr,kr,Rr,Cr}from"./chunk-pna1wh02.js";import{_}from"./chunk-ge38dhv9.js";import{oe}from"./chunk-pyj6avd5.js";import{X}from"./chunk-p78wde92.js";import{w}from"./chunk-b516bp7n.js";import{V,J}from"./chunk-8np9b2y8.js";import{we}from"./chunk-tfhp09nj.js";import{H,ge,ae,Ue,Y,K}from"./chunk-4hf0r9hv.js";import{U}from"./chunk-4yxd2kg1.js";var T="v1",v="gcp-vertex-credentials",O=0,C=(e,o,t)=>{let i=new U,u=Ue(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=L(t),g=c?I(e,c,t?.headers):R(e,M(t),P(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 Cr(()=>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=Ar(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=Mt(r.thinkingSignature,a.thoughtSignature),i.push({type:"thinking_delta",contentIndex:l(),delta:a.text,partial:n});else r.text+=a.text,r.textSignature=Mt(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((x)=>x.type==="toolCall"&&x.id===d)?`${a.functionCall.name}_${Date.now()}_${++O}`: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=Rr(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}},Y(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},ue=(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=Xt(e,u);if(Jt(e))return C(e,o,{...i,thinking:{enabled:!0,level:Yt(n)}});return C(e,o,{...i,thinking:{enabled:!0,budgetTokens:N(e,n,t.thinkingBudgets)}})};function R(e,o,t,i,u){let n=G(u);return new It({vertexai:!0,project:o,location:t,apiVersion:T,...n?{googleAuthOptions:n}:{},httpOptions:b(e,i)})}function I(e,o,t){return new It({vertexai:!0,apiKey:o,apiVersion:T,httpOptions:b(e,t)})}function b(e,o){let t={},i=S(e.baseUrl);if(i){if(t.baseUrl=i,t.baseUrlResourceScope=vr.COLLECTION,E(i))t.apiVersion=""}let u=we({"User-Agent":oe(),...e.headers,...o});if(u)t.headers=u;return Object.keys(t).length>0?t:void 0}function S(e){let o=e.trim();if(!o||o.includes("{location}"))return;return o}function E(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 G(e){let o=_("GOOGLE_APPLICATION_CREDENTIALS",e);return o?{keyFilename:o}:void 0}function L(e){let o=e?.apiKey?.trim();if(!o||o===v||A(o))return;return o}function A(e){return/^<[^>]+>$/.test(e)}function M(e){let o=e?.project||_("GOOGLE_CLOUD_PROJECT",e?.env)||_("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 P(e){let o=e?.location||_("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=Er(e,o),u=ge(o.messages),n=ae(o.messages),c={};if(t.temperature!==void 0)c.temperature=t.temperature;if(t.maxTokens!==void 0)c.maxOutputTokens=t.maxTokens;let g=Pr(e.id),h=n.length>0?kr(n,t.toolChoice,g):void 0,m=u?H(u):"",p={...Object.keys(c).length>0&&c,...m&&{systemInstruction:w(m)},...n.length>0&&{tools:Tr(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=Zt(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=_r(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,ue as streamSimple};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{xr}from"./chunk-343jsm46.js";import{pe}from"./chunk-xq74x4gc.js";var s="Cloudflare Workers AI";function n(r){if(Array.isArray(r)){let e=r.map((t)=>pe(t)&&typeof t.message==="string"?t.message:void 0).filter((t)=>t!==void 0);if(e.length>0)return`${s} error: ${e.join("; ")}`}return`${s} request failed`}var o={api:"cloudflare-workers-ai-system-one",label:s,url:(r)=>new URL("run",`${r.baseUrl.replace(/\/+$/u,"")}/`),payload:(r,e)=>({model:r.id,input:e}),output:(r)=>{if(!pe(r))throw Error(`${s} returned an unexpected response`);if(r.success===!1)throw Error(n(r.errors));let e=r.result;if(!pe(e))throw Error(`${s} returned an unexpected response`);if("answers"in e)return e;if(e.state!=="Completed")throw Error(`${s} run did not complete (state: ${String(e.state)})`);if(!pe(e.result))throw Error(`${s} returned an unexpected response`);return e.result}},i=(r,e,t)=>xr(o,r,e,t);export{i as classify};
2
+ import{xr}from"./chunk-e8x8zwkg.js";import{pe}from"./chunk-8r4baw9e.js";var s="Cloudflare Workers AI";function n(r){if(Array.isArray(r)){let e=r.map((t)=>pe(t)&&typeof t.message==="string"?t.message:void 0).filter((t)=>t!==void 0);if(e.length>0)return`${s} error: ${e.join("; ")}`}return`${s} request failed`}var o={api:"cloudflare-workers-ai-system-one",label:s,url:(r)=>new URL("run",`${r.baseUrl.replace(/\/+$/u,"")}/`),payload:(r,e)=>({model:r.id,input:e}),output:(r)=>{if(!pe(r))throw Error(`${s} returned an unexpected response`);if(r.success===!1)throw Error(n(r.errors));let e=r.result;if(!pe(e))throw Error(`${s} returned an unexpected response`);if("answers"in e)return e;if(e.state!=="Completed")throw Error(`${s} run did not complete (state: ${String(e.state)})`);if(!pe(e.result))throw Error(`${s} returned an unexpected response`);return e.result}},i=(r,e,t)=>xr(o,r,e,t);export{i as classify};
@@ -1,3 +1,3 @@
1
1
  // @bun
2
- import{ie}from"./chunk-z9p6s986.js";var g=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,s,a,r,p){return s?i?".jsx":".js":a&&(!r||!p)?e:a+r+"."+p.toLowerCase()+"js"});return t},x=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(g(i))},l;function Si(t){l=t}var wi=()=>ie(async()=>l??await x("./bedrock-converse-stream.ts"));var u={"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"}}};function c(t,i){return Object.fromEntries(Object.values(t).flatMap((e)=>Object.values(e)).filter((e)=>e.type===i).map((e)=>[e.id,e]))}function m(t,i){return c(i,"chat")}function h(t,i){return c(i,"image")}function f(t,i){return c(i,"classifier")}var $r=m("github-copilot",u),E=h("github-copilot",u),G=f("github-copilot",u);var b=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,s,a,r,p){return s?i?".jsx":".js":a&&(!r||!p)?e:a+r+"."+p.toLowerCase()+"js"});return t},n=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(b(i))},o;function xi(t){o=t}var vi=async()=>{if(o)return o.anthropic();return(await n("./anthropic.ts")).anthropicOAuth},_i=async()=>{if(o)return o.openaiCodex();return(await n("./openai-codex.ts")).openaiCodexOAuth},Ai=async()=>{if(o)return o.openaiChatGPT();return(await n("./openai-chatgpt.ts")).openaiChatGPTOAuth},Ei=async()=>{if(o)return o.githubCopilot();return(await n("./github-copilot.ts")).githubCopilotOAuth},Ti=async()=>{if(o)return o.openrouter();return(await n("./openrouter.ts")).openRouterOAuth},Pi=async()=>{if(o)return o.kimiCoding();return(await n("./kimi-coding.ts")).kimiCodingOAuth},ki=async()=>{if(o)return o.meta();return(await n("./meta.ts")).metaOAuth},Ri=async()=>{if(o)return o.xai();return(await n("./xai.ts")).xaiOAuth},Ci=async(t)=>{if(o)return o.radius(t);return(await n("./radius.ts")).createRadiusOAuth(t)};var Bo="https://radius.pi.dev";function C(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 d(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(C).map((s)=>({...s}))}}function rr(t){return(/^https?:\/\//iu.test(t)?t:`https://${t}`).replace(/\/+$/u,"")}function y(t){return d(t?.gatewayConfig)}function Fo(t,i){return i.models.map((e)=>({...e,api:"pi-messages",provider:t,baseUrl:i.baseUrl}))}function Ii(t,i){let e=y(i);return e?Fo(t,e):[]}function A(t){let i=t.trim();return i.length>512?`${i.slice(0,512)}\u2026`:i}async function Mi(t,i,e){let s={accept:"application/json"};if(i)s.authorization=`Bearer ${i}`;let a=await fetch(new URL("/v1/config",t),{headers:s,signal:e});if(!a.ok)throw Error(`Could not load Radius config from ${t}: ${a.status}: ${A(await a.text())}`);let r=d(await a.json());if(!r)throw Error(`Invalid Radius config from ${t}`);return r}
2
+ import{ie}from"./chunk-4hf0r9hv.js";var g=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,s,a,r,p){return s?i?".jsx":".js":a&&(!r||!p)?e:a+r+"."+p.toLowerCase()+"js"});return t},x=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(g(i))},l;function Si(t){l=t}var wi=()=>ie(async()=>l??await x("./bedrock-converse-stream.ts"));var u={"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"}}};function c(t,i){return Object.fromEntries(Object.values(t).flatMap((e)=>Object.values(e)).filter((e)=>e.type===i).map((e)=>[e.id,e]))}function m(t,i){return c(i,"chat")}function h(t,i){return c(i,"image")}function f(t,i){return c(i,"classifier")}var $r=m("github-copilot",u),E=h("github-copilot",u),G=f("github-copilot",u);var b=function(t,i){if(typeof t==="string"&&/^\.\.?\//.test(t))return t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,s,a,r,p){return s?i?".jsx":".js":a&&(!r||!p)?e:a+r+"."+p.toLowerCase()+"js"});return t},n=(t)=>{let i=import.meta.url.endsWith(".js")?t.replace(/\.ts$/,".js"):t;return import(b(i))},o;function xi(t){o=t}var vi=async()=>{if(o)return o.anthropic();return(await n("./anthropic.ts")).anthropicOAuth},_i=async()=>{if(o)return o.openaiCodex();return(await n("./openai-codex.ts")).openaiCodexOAuth},Ai=async()=>{if(o)return o.openaiChatGPT();return(await n("./openai-chatgpt.ts")).openaiChatGPTOAuth},Ei=async()=>{if(o)return o.githubCopilot();return(await n("./github-copilot.ts")).githubCopilotOAuth},Ti=async()=>{if(o)return o.openrouter();return(await n("./openrouter.ts")).openRouterOAuth},Pi=async()=>{if(o)return o.kimiCoding();return(await n("./kimi-coding.ts")).kimiCodingOAuth},ki=async()=>{if(o)return o.meta();return(await n("./meta.ts")).metaOAuth},Ri=async()=>{if(o)return o.xai();return(await n("./xai.ts")).xaiOAuth},Ci=async(t)=>{if(o)return o.radius(t);return(await n("./radius.ts")).createRadiusOAuth(t)};var Bo="https://radius.pi.dev";function C(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 d(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(C).map((s)=>({...s}))}}function rr(t){return(/^https?:\/\//iu.test(t)?t:`https://${t}`).replace(/\/+$/u,"")}function y(t){return d(t?.gatewayConfig)}function Fo(t,i){return i.models.map((e)=>({...e,api:"pi-messages",provider:t,baseUrl:i.baseUrl}))}function Ii(t,i){let e=y(i);return e?Fo(t,e):[]}function A(t){let i=t.trim();return i.length>512?`${i.slice(0,512)}\u2026`:i}async function Mi(t,i,e){let s={accept:"application/json"};if(i)s.authorization=`Bearer ${i}`;let a=await fetch(new URL("/v1/config",t),{headers:s,signal:e});if(!a.ok)throw Error(`Could not load Radius config from ${t}: ${a.status}: ${A(await a.text())}`);let r=d(await a.json());if(!r)throw Error(`Invalid Radius config from ${t}`);return r}
3
3
  export{Si,wi,m,h,f,$r,xi,vi,_i,Ai,Ei,Ti,Pi,ki,Ri,Ci,Bo,rr,Fo,Ii,Mi};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Qt,mo}from"./chunk-p886jr17.js";import"./chunk-ge38dhv9.js";import"./chunk-38g4jd6v.js";export{Qt as stream,mo as streamSimple};
2
+ import{Qt,mo}from"./chunk-6ae9810t.js";import"./chunk-ge38dhv9.js";import"./chunk-38g4jd6v.js";export{Qt as stream,mo as streamSimple};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Bn}from"./chunk-xf7zw32f.js";import"./chunk-ge38dhv9.js";import"./chunk-38g4jd6v.js";import{wr,ai}from"./chunk-4f6p4n7k.js";import{ut,tt,pt}from"./chunk-qjnx4fsn.js";import{Ke}from"./chunk-86yr2c0r.js";import{oe}from"./chunk-pyj6avd5.js";import{ue}from"./chunk-vqm94hz2.js";import{Re,dt,X}from"./chunk-qs161f2q.js";import{V,J}from"./chunk-8np9b2y8.js";import{Q}from"./chunk-tfhp09nj.js";import{se,xe,ve,K}from"./chunk-z9p6s986.js";import{U}from"./chunk-4yxd2kg1.js";var g=new Set(["openai","openai-codex","opencode","azure"]),h=16;function y(r){return J(V(r),"Azure OpenAI API error")}var A=(r,a,e)=>{let t=new U,i=se(a,r.compat?.supportsMidConvoSystemMessages);return(async()=>{let n=wr(r,e),s={role:"assistant",content:[],api:"azure-openai-responses",provider:r.provider,model:r.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{let p=e?.apiKey;if(!p)throw Error(`No API key for provider: ${r.provider}`);let c=R(r,p,e),o=Re(xe(i.messages),r.compat?.supportsOpenAIGrammarTools??!1),m=T(r,i,e,n,o),u=await e?.onPayload?.(m,r);if(u!==void 0)m=u;let f={...e?.signal?{signal:e.signal}:{},...e?.timeoutMs!==void 0?{timeout:e.timeoutMs}:{},maxRetries:0},{data:d,response:l}=await ue(()=>c.responses.create(m,f).withResponse(),{maxRetries:e?.maxRetries,maxRetryDelayMs:e?.maxRetryDelayMs,signal:e?.signal});if(await e?.onResponse?.({status:l.status,headers:Q(l.headers)},r),t.push({type:"start",partial:s}),await pt(d,s,t,r,{onProviderStreamEvent:e?.onProviderStreamEvent,grammarToolInputProperties:o}),e?.signal?.aborted)throw Error("Request was aborted");if(s.stopReason==="pending")throw Error("Azure OpenAI Responses stream ended without a stop reason");if(s.stopReason==="aborted"||s.stopReason==="error")throw Error(s.errorMessage||"An unknown error occurred");t.push({type:"done",reason:s.stopReason,message:s}),t.end()}catch(p){for(let c of s.content)delete c.index,delete c.partialJson,delete c.customInput;s.stopReason=e?.signal?.aborted?"aborted":"error",s.errorMessage=y(p),t.push({type:"error",reason:s.stopReason,error:s}),t.end()}})(),t},z=(r,a,e)=>{let t=e?.apiKey;if(!t)throw Error(`No API key for provider: ${r.provider}`);let i={...X(r,a,e,t),toolChoice:e?.toolChoice},n=e?.reasoning?K(r,e.reasoning):void 0;return A(r,a,{...i,reasoningEffort:n==="off"?void 0:n})};function R(r,a,e){let t={"User-Agent":oe(),...r.headers};if(e?.headers)Object.assign(t,e.headers);let{baseUrl:i,apiVersion:n}=ai(r,e);return new Bn({apiKey:a,apiVersion:n,dangerouslyAllowBrowser:!0,fetch:e?.fetch,defaultHeaders:t,baseURL:i})}function T(r,a,e,t,i=Re(xe(a.messages),r.compat?.supportsOpenAIGrammarTools??!1)){let n=r.compat?.supportsAdditionalTools??!1,s=r.compat?.supportsToolSearch??!1,p=ve(a.messages,n||s),c=ut(r,a,g,{grammarToolInputProperties:i,supportsMidConvoSystemMessages:r.compat?.supportsMidConvoSystemMessages??!1,supportsAdditionalTools:n,supportsToolSearch:s,toolOptions:{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1}}),o={model:t,input:c,stream:!0,prompt_cache_key:Ke(e?.sessionId),store:!1};if(e?.maxTokens)o.max_output_tokens=Math.max(e.maxTokens,h);if(e?.temperature!==void 0)o.temperature=e?.temperature;if(p.requestTools.length>0)o.tools=tt(p.requestTools,{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1});if(e?.toolChoice!==void 0)o.tool_choice=e.toolChoice;let m=e?.reasoningEffort??(e?.reasoningSummary?"medium":void 0);if(r.reasoning){if(m){let f=e?.reasoningEffort?r.thinkingLevelMap?.[e.reasoningEffort]??e.reasoningEffort:m;o.reasoning={effort:f,summary:e?.reasoningSummary||"auto"},o.include=["reasoning.encrypted_content"]}else if(r.thinkingLevelMap?.off!==null)o.reasoning={effort:r.thinkingLevelMap?.off??"none"}}let u=dt(r,m??"off",e?.samplingParams);if(u)Object.assign(o,u);return o}export{A as stream,z as streamSimple};
2
+ import{Bn}from"./chunk-xf7zw32f.js";import"./chunk-ge38dhv9.js";import"./chunk-38g4jd6v.js";import{wr,ai}from"./chunk-4f6p4n7k.js";import{ut,tt,pt}from"./chunk-b350b01x.js";import{Ke}from"./chunk-86yr2c0r.js";import{oe}from"./chunk-pyj6avd5.js";import{ue}from"./chunk-vqm94hz2.js";import{Re,dt,X}from"./chunk-p78wde92.js";import{V,J}from"./chunk-8np9b2y8.js";import{Q}from"./chunk-tfhp09nj.js";import{se,xe,ve,K}from"./chunk-4hf0r9hv.js";import{U}from"./chunk-4yxd2kg1.js";var g=new Set(["openai","openai-codex","opencode","azure"]),h=16;function y(r){return J(V(r),"Azure OpenAI API error")}var A=(r,a,e)=>{let t=new U,i=se(a,r.compat?.supportsMidConvoSystemMessages);return(async()=>{let n=wr(r,e),s={role:"assistant",content:[],api:"azure-openai-responses",provider:r.provider,model:r.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{let p=e?.apiKey;if(!p)throw Error(`No API key for provider: ${r.provider}`);let c=R(r,p,e),o=Re(xe(i.messages),r.compat?.supportsOpenAIGrammarTools??!1),m=T(r,i,e,n,o),u=await e?.onPayload?.(m,r);if(u!==void 0)m=u;let f={...e?.signal?{signal:e.signal}:{},...e?.timeoutMs!==void 0?{timeout:e.timeoutMs}:{},maxRetries:0},{data:d,response:l}=await ue(()=>c.responses.create(m,f).withResponse(),{maxRetries:e?.maxRetries,maxRetryDelayMs:e?.maxRetryDelayMs,signal:e?.signal});if(await e?.onResponse?.({status:l.status,headers:Q(l.headers)},r),t.push({type:"start",partial:s}),await pt(d,s,t,r,{onProviderStreamEvent:e?.onProviderStreamEvent,grammarToolInputProperties:o}),e?.signal?.aborted)throw Error("Request was aborted");if(s.stopReason==="pending")throw Error("Azure OpenAI Responses stream ended without a stop reason");if(s.stopReason==="aborted"||s.stopReason==="error")throw Error(s.errorMessage||"An unknown error occurred");t.push({type:"done",reason:s.stopReason,message:s}),t.end()}catch(p){for(let c of s.content)delete c.index,delete c.partialJson,delete c.customInput;s.stopReason=e?.signal?.aborted?"aborted":"error",s.errorMessage=y(p),t.push({type:"error",reason:s.stopReason,error:s}),t.end()}})(),t},z=(r,a,e)=>{let t=e?.apiKey;if(!t)throw Error(`No API key for provider: ${r.provider}`);let i={...X(r,a,e,t),toolChoice:e?.toolChoice},n=e?.reasoning?K(r,e.reasoning):void 0;return A(r,a,{...i,reasoningEffort:n==="off"?void 0:n})};function R(r,a,e){let t={"User-Agent":oe(),...r.headers};if(e?.headers)Object.assign(t,e.headers);let{baseUrl:i,apiVersion:n}=ai(r,e);return new Bn({apiKey:a,apiVersion:n,dangerouslyAllowBrowser:!0,fetch:e?.fetch,defaultHeaders:t,baseURL:i})}function T(r,a,e,t,i=Re(xe(a.messages),r.compat?.supportsOpenAIGrammarTools??!1)){let n=r.compat?.supportsAdditionalTools??!1,s=r.compat?.supportsToolSearch??!1,p=ve(a.messages,n||s),c=ut(r,a,g,{grammarToolInputProperties:i,supportsMidConvoSystemMessages:r.compat?.supportsMidConvoSystemMessages??!1,supportsAdditionalTools:n,supportsToolSearch:s,toolOptions:{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1}}),o={model:t,input:c,stream:!0,prompt_cache_key:Ke(e?.sessionId),store:!1};if(e?.maxTokens)o.max_output_tokens=Math.max(e.maxTokens,h);if(e?.temperature!==void 0)o.temperature=e?.temperature;if(p.requestTools.length>0)o.tools=tt(p.requestTools,{supportsStrictMode:r.compat?.supportsStrictMode??!0,supportsOpenAIGrammarTools:r.compat?.supportsOpenAIGrammarTools??!1});if(e?.toolChoice!==void 0)o.tool_choice=e.toolChoice;let m=e?.reasoningEffort??(e?.reasoningSummary?"medium":void 0);if(r.reasoning){if(m){let f=e?.reasoningEffort?r.thinkingLevelMap?.[e.reasoningEffort]??e.reasoningEffort:m;o.reasoning={effort:f,summary:e?.reasoningSummary||"auto"},o.include=["reasoning.encrypted_content"]}else if(r.thinkingLevelMap?.off!==null)o.reasoning={effort:r.thinkingLevelMap?.off??"none"}}let u=dt(r,m??"off",e?.samplingParams);if(u)Object.assign(o,u);return o}export{A as stream,z as streamSimple};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{xr}from"./chunk-343jsm46.js";import{pe}from"./chunk-xq74x4gc.js";var t={api:"typesafe-system-one",label:"System One API",url:(e)=>new URL("systemone",`${e.baseUrl.replace(/\/+$/u,"")}/`),payload:(e,r)=>({model:e.id,...r}),output:(e)=>{if(!pe(e))throw Error("System One API returned an unexpected response");return e}},a=(e,r,s)=>xr(t,e,r,s);export{a as classify};
2
+ import{xr}from"./chunk-e8x8zwkg.js";import{pe}from"./chunk-8r4baw9e.js";var t={api:"typesafe-system-one",label:"System One API",url:(e)=>new URL("systemone",`${e.baseUrl.replace(/\/+$/u,"")}/`),payload:(e,r)=>({model:e.id,...r}),output:(e)=>{if(!pe(e))throw Error("System One API returned an unexpected response");return e}},a=(e,r,s)=>xr(t,e,r,s);export{a as classify};