9router 0.2.84 → 0.2.87

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 (1162) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +33 -30
  3. package/app/.next/build-manifest.json +6 -6
  4. package/app/.next/react-loadable-manifest.json +2 -2
  5. package/app/.next/routes-manifest.json +18 -0
  6. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  7. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  8. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  11. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  14. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  17. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  20. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  23. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  26. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  28. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  29. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  31. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  32. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  34. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  35. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  36. package/app/.next/server/app/_global-error/page.js +2 -2
  37. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  38. package/app/.next/server/app/_global-error.html +2 -2
  39. package/app/.next/server/app/_global-error.rsc +7 -7
  40. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  41. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
  42. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +3 -3
  43. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
  44. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  45. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  46. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  47. package/app/.next/server/app/_not-found.html +1 -1
  48. package/app/.next/server/app/_not-found.rsc +10 -10
  49. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +10 -10
  50. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  51. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
  52. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  53. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  54. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  55. package/app/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  56. package/app/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  57. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  58. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +3 -3
  59. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  60. package/app/.next/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  61. package/app/.next/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  62. package/app/.next/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  63. package/app/.next/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  64. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +1 -1
  65. package/app/.next/server/app/api/cloud/credentials/update/route_client-reference-manifest.js +1 -1
  66. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +1 -1
  67. package/app/.next/server/app/api/cloud/models/alias/route_client-reference-manifest.js +1 -1
  68. package/app/.next/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  69. package/app/.next/server/app/api/combos/route_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  71. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  72. package/app/.next/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  73. package/app/.next/server/app/api/keys/route_client-reference-manifest.js +1 -1
  74. package/app/.next/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  75. package/app/.next/server/app/api/models/route.js +1 -1
  76. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  77. package/app/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  78. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  79. package/app/.next/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  80. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  81. package/app/.next/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  82. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  83. package/app/.next/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  84. package/app/.next/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  85. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  86. package/app/.next/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  87. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  88. package/app/.next/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  89. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  90. package/app/.next/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  91. package/app/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  92. package/app/.next/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  93. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  94. package/app/.next/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  95. package/app/.next/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  96. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  97. package/app/.next/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  98. package/app/.next/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  99. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  100. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  101. package/app/.next/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  102. package/app/.next/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  103. package/app/.next/server/app/api/providers/route.js +1 -1
  104. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  105. package/app/.next/server/app/api/providers/route_client-reference-manifest.js +1 -1
  106. package/app/.next/server/app/api/providers/test-batch/route.js +1 -0
  107. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -0
  108. package/app/.next/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -0
  109. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  110. package/app/.next/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  111. package/app/.next/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  112. package/app/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  113. package/app/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  114. package/app/.next/server/app/api/sync/cloud/route_client-reference-manifest.js +1 -1
  115. package/app/.next/server/app/api/sync/initialize/route_client-reference-manifest.js +1 -1
  116. package/app/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
  117. package/app/.next/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  118. package/app/.next/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  119. package/app/.next/server/app/api/translator/send/route.js +1 -1
  120. package/app/.next/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  121. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  122. package/app/.next/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  123. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  124. package/app/.next/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  125. package/app/.next/server/app/api/usage/chart/route.js +1 -0
  126. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -0
  127. package/app/.next/server/app/api/usage/chart/route_client-reference-manifest.js +1 -0
  128. package/app/.next/server/app/api/usage/history/route.js +1 -1
  129. package/app/.next/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  130. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  131. package/app/.next/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  132. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  133. package/app/.next/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  134. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  135. package/app/.next/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  136. package/app/.next/server/app/api/usage/stream/route.js +3 -0
  137. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -0
  138. package/app/.next/server/app/api/usage/stream/route_client-reference-manifest.js +1 -0
  139. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  140. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  141. package/app/.next/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  142. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  143. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  144. package/app/.next/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  145. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  146. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  147. package/app/.next/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  148. package/app/.next/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  149. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  150. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  151. package/app/.next/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  152. package/app/.next/server/app/api/v1/models/route.js +1 -1
  153. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  154. package/app/.next/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  155. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  156. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  157. package/app/.next/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  158. package/app/.next/server/app/api/v1/route_client-reference-manifest.js +1 -1
  159. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  160. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  162. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  163. package/app/.next/server/app/api/v1beta/models/route.js.nft.json +1 -1
  164. package/app/.next/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  165. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  166. package/app/.next/server/app/callback.html +1 -1
  167. package/app/.next/server/app/callback.rsc +12 -12
  168. package/app/.next/server/app/callback.segments/_full.segment.rsc +12 -12
  169. package/app/.next/server/app/callback.segments/_head.segment.rsc +4 -4
  170. package/app/.next/server/app/callback.segments/_index.segment.rsc +5 -5
  171. package/app/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  172. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  173. package/app/.next/server/app/callback.segments/callback.segment.rsc +3 -3
  174. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  175. package/app/.next/server/app/dashboard/cli-tools.rsc +13 -12
  176. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +3 -3
  177. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +3 -3
  178. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  179. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  180. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +13 -12
  181. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +4 -4
  182. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -5
  183. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +3 -2
  184. package/app/.next/server/app/dashboard/combos.html +1 -1
  185. package/app/.next/server/app/dashboard/combos.rsc +14 -13
  186. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  187. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +3 -3
  188. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  189. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  190. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +14 -13
  191. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +4 -4
  192. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +5 -5
  193. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +3 -2
  194. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  195. package/app/.next/server/app/dashboard/endpoint.rsc +13 -12
  196. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  197. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +3 -3
  198. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  199. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  200. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +13 -12
  201. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +4 -4
  202. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -5
  203. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +3 -2
  204. package/app/.next/server/app/dashboard/profile.html +1 -1
  205. package/app/.next/server/app/dashboard/profile.rsc +14 -13
  206. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  207. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +3 -3
  208. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  209. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  210. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +14 -13
  211. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +4 -4
  212. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +5 -5
  213. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +3 -2
  214. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  215. package/app/.next/server/app/dashboard/providers/new.rsc +14 -13
  216. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  217. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +3 -3
  218. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +3 -3
  219. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  220. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  221. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +14 -13
  222. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +4 -4
  223. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -5
  224. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +3 -2
  225. package/app/.next/server/app/dashboard/providers.html +1 -1
  226. package/app/.next/server/app/dashboard/providers.rsc +14 -13
  227. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  228. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +3 -3
  229. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  230. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  231. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +14 -13
  232. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +4 -4
  233. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +5 -5
  234. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +3 -2
  235. package/app/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  236. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  237. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  238. package/app/.next/server/app/dashboard/settings/pricing.rsc +12 -12
  239. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +12 -12
  240. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +4 -4
  241. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -5
  242. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  243. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  244. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +3 -3
  245. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +3 -3
  246. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +3 -3
  247. package/app/.next/server/app/dashboard/translator.html +1 -1
  248. package/app/.next/server/app/dashboard/translator.rsc +14 -13
  249. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
  250. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +3 -3
  251. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  252. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  253. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +14 -13
  254. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +4 -4
  255. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +5 -5
  256. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +3 -2
  257. package/app/.next/server/app/dashboard/usage.html +1 -1
  258. package/app/.next/server/app/dashboard/usage.rsc +14 -13
  259. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +4 -4
  260. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +3 -3
  261. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  262. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  263. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +14 -13
  264. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +4 -4
  265. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +5 -5
  266. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +3 -2
  267. package/app/.next/server/app/dashboard.html +1 -1
  268. package/app/.next/server/app/dashboard.rsc +13 -12
  269. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  270. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +3 -3
  271. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +5 -4
  272. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +13 -12
  273. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +4 -4
  274. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +5 -5
  275. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +3 -2
  276. package/app/.next/server/app/index.html +1 -1
  277. package/app/.next/server/app/index.rsc +10 -10
  278. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  279. package/app/.next/server/app/index.segments/_full.segment.rsc +10 -10
  280. package/app/.next/server/app/index.segments/_head.segment.rsc +4 -4
  281. package/app/.next/server/app/index.segments/_index.segment.rsc +5 -5
  282. package/app/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  283. package/app/.next/server/app/landing/page.js +2 -2
  284. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  285. package/app/.next/server/app/landing.html +1 -1
  286. package/app/.next/server/app/landing.rsc +12 -12
  287. package/app/.next/server/app/landing.segments/_full.segment.rsc +12 -12
  288. package/app/.next/server/app/landing.segments/_head.segment.rsc +4 -4
  289. package/app/.next/server/app/landing.segments/_index.segment.rsc +5 -5
  290. package/app/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  291. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  292. package/app/.next/server/app/landing.segments/landing.segment.rsc +3 -3
  293. package/app/.next/server/app/login/page.js +1 -1
  294. package/app/.next/server/app/login/page.js.nft.json +1 -1
  295. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  296. package/app/.next/server/app/login.html +1 -1
  297. package/app/.next/server/app/login.rsc +13 -12
  298. package/app/.next/server/app/login.segments/_full.segment.rsc +13 -12
  299. package/app/.next/server/app/login.segments/_head.segment.rsc +4 -4
  300. package/app/.next/server/app/login.segments/_index.segment.rsc +5 -5
  301. package/app/.next/server/app/login.segments/_tree.segment.rsc +3 -2
  302. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +5 -4
  303. package/app/.next/server/app/login.segments/login.segment.rsc +3 -3
  304. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  305. package/app/.next/server/app-paths-manifest.json +33 -30
  306. package/app/.next/server/chunks/1164.js +1 -1
  307. package/app/.next/server/chunks/1638.js +1 -0
  308. package/app/.next/server/chunks/2243.js +1 -0
  309. package/app/.next/server/chunks/3110.js +3 -3
  310. package/app/.next/server/chunks/3919.js +1 -1
  311. package/app/.next/server/chunks/3990.js +2 -2
  312. package/app/.next/server/chunks/412.js +2 -2
  313. package/app/.next/server/chunks/4822.js +1 -1
  314. package/app/.next/server/chunks/5330.js +2 -2
  315. package/app/.next/server/chunks/6943.js +1 -0
  316. package/app/.next/server/chunks/7341.js +1 -1
  317. package/app/.next/server/chunks/7471.js +4 -4
  318. package/app/.next/server/chunks/7647.js +1 -1
  319. package/app/.next/server/chunks/8647.js +1 -0
  320. package/app/.next/server/chunks/8954.js +1 -1
  321. package/app/.next/server/chunks/9489.js +4 -4
  322. package/app/.next/server/chunks/9718.js +1 -1
  323. package/app/.next/server/chunks/9862.js +3 -1
  324. package/app/.next/server/middleware-build-manifest.js +1 -1
  325. package/app/.next/server/middleware-react-loadable-manifest.js +1 -1
  326. package/app/.next/server/pages/404.html +1 -1
  327. package/app/.next/server/pages/500.html +2 -2
  328. package/app/.next/static/chunks/1393-5b60aa357f848139.js +3 -0
  329. package/app/.next/static/chunks/1672-4ed8fbaefe011b6e.js +1 -0
  330. package/app/.next/static/chunks/3794-c67589461d449d62.js +2 -0
  331. package/app/.next/static/chunks/4bd1b696-e5d7c65570c947b7.js +1 -0
  332. package/app/.next/static/chunks/5497-825dd88e0a663cfe.js +7 -0
  333. package/app/.next/static/chunks/600-3e3d52de0d15664e.js +3 -0
  334. package/app/.next/static/chunks/8202.c5f295182187a1e0.js +1 -0
  335. package/app/.next/static/chunks/8729-4d9f5ebc26ea7fb5.js +1 -0
  336. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-8a7d7ab7f43677a0.js → page-d5e2be111394971e.js} +3 -3
  337. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-053910552f8141ec.js +1 -0
  338. package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-970e1ec0511819ea.js +1 -0
  339. package/app/.next/static/chunks/app/(dashboard)/dashboard/page-16377aded5ab54f4.js +1 -0
  340. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-6daa1079e32e8e4d.js +1 -0
  341. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-ccad74632e355e04.js +1 -0
  342. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-133c3e673c6fd026.js +1 -0
  343. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-dbe1b90d188f366c.js +1 -0
  344. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-ae0ac756433907e6.js +1 -0
  345. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-694743ad2b6f145b.js +1 -0
  346. package/app/.next/static/chunks/app/(dashboard)/layout-66d69a4ba6e79bd5.js +1 -0
  347. package/app/.next/static/chunks/app/_global-error/page-d1d78f0818dfa7f5.js +1 -0
  348. package/app/.next/static/chunks/app/_not-found/page-3396db0e61e07183.js +1 -0
  349. package/app/.next/static/chunks/app/api/auth/login/route-d1d78f0818dfa7f5.js +1 -0
  350. package/app/.next/static/chunks/app/api/auth/logout/route-d1d78f0818dfa7f5.js +1 -0
  351. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-d1d78f0818dfa7f5.js +1 -0
  352. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-d1d78f0818dfa7f5.js +1 -0
  353. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-d1d78f0818dfa7f5.js +1 -0
  354. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-d1d78f0818dfa7f5.js +1 -0
  355. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-d1d78f0818dfa7f5.js +1 -0
  356. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-d1d78f0818dfa7f5.js +1 -0
  357. package/app/.next/static/chunks/app/api/cloud/auth/route-d1d78f0818dfa7f5.js +1 -0
  358. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-d1d78f0818dfa7f5.js +1 -0
  359. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-d1d78f0818dfa7f5.js +1 -0
  360. package/app/.next/static/chunks/app/api/cloud/models/alias/route-d1d78f0818dfa7f5.js +1 -0
  361. package/app/.next/static/chunks/app/api/combos/[id]/route-d1d78f0818dfa7f5.js +1 -0
  362. package/app/.next/static/chunks/app/api/combos/route-d1d78f0818dfa7f5.js +1 -0
  363. package/app/.next/static/chunks/app/api/init/route-d1d78f0818dfa7f5.js +1 -0
  364. package/app/.next/static/chunks/app/api/keys/[id]/route-d1d78f0818dfa7f5.js +1 -0
  365. package/app/.next/static/chunks/app/api/keys/route-d1d78f0818dfa7f5.js +1 -0
  366. package/app/.next/static/chunks/app/api/models/alias/route-d1d78f0818dfa7f5.js +1 -0
  367. package/app/.next/static/chunks/app/api/models/route-d1d78f0818dfa7f5.js +1 -0
  368. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-d1d78f0818dfa7f5.js +1 -0
  369. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-d1d78f0818dfa7f5.js +1 -0
  370. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-d1d78f0818dfa7f5.js +1 -0
  371. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-d1d78f0818dfa7f5.js +1 -0
  372. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-d1d78f0818dfa7f5.js +1 -0
  373. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-d1d78f0818dfa7f5.js +1 -0
  374. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-d1d78f0818dfa7f5.js +1 -0
  375. package/app/.next/static/chunks/app/api/pricing/route-d1d78f0818dfa7f5.js +1 -0
  376. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-d1d78f0818dfa7f5.js +1 -0
  377. package/app/.next/static/chunks/app/api/provider-nodes/route-d1d78f0818dfa7f5.js +1 -0
  378. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-d1d78f0818dfa7f5.js +1 -0
  379. package/app/.next/static/chunks/app/api/providers/[id]/models/route-d1d78f0818dfa7f5.js +1 -0
  380. package/app/.next/static/chunks/app/api/providers/[id]/route-d1d78f0818dfa7f5.js +1 -0
  381. package/app/.next/static/chunks/app/api/providers/[id]/test/route-d1d78f0818dfa7f5.js +1 -0
  382. package/app/.next/static/chunks/app/api/providers/client/route-d1d78f0818dfa7f5.js +1 -0
  383. package/app/.next/static/chunks/app/api/providers/route-d1d78f0818dfa7f5.js +1 -0
  384. package/app/.next/static/chunks/app/api/providers/test-batch/route-d1d78f0818dfa7f5.js +1 -0
  385. package/app/.next/static/chunks/app/api/providers/validate/route-d1d78f0818dfa7f5.js +1 -0
  386. package/app/.next/static/chunks/app/api/settings/require-login/route-d1d78f0818dfa7f5.js +1 -0
  387. package/app/.next/static/chunks/app/api/settings/route-d1d78f0818dfa7f5.js +1 -0
  388. package/app/.next/static/chunks/app/api/shutdown/route-d1d78f0818dfa7f5.js +1 -0
  389. package/app/.next/static/chunks/app/api/sync/cloud/route-d1d78f0818dfa7f5.js +1 -0
  390. package/app/.next/static/chunks/app/api/sync/initialize/route-d1d78f0818dfa7f5.js +1 -0
  391. package/app/.next/static/chunks/app/api/tags/route-d1d78f0818dfa7f5.js +1 -0
  392. package/app/.next/static/chunks/app/api/translator/load/route-d1d78f0818dfa7f5.js +1 -0
  393. package/app/.next/static/chunks/app/api/translator/save/route-d1d78f0818dfa7f5.js +1 -0
  394. package/app/.next/static/chunks/app/api/translator/send/route-d1d78f0818dfa7f5.js +1 -0
  395. package/app/.next/static/chunks/app/api/translator/translate/route-d1d78f0818dfa7f5.js +1 -0
  396. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-d1d78f0818dfa7f5.js +1 -0
  397. package/app/.next/static/chunks/app/api/usage/chart/route-d1d78f0818dfa7f5.js +1 -0
  398. package/app/.next/static/chunks/app/api/usage/history/route-d1d78f0818dfa7f5.js +1 -0
  399. package/app/.next/static/chunks/app/api/usage/providers/route-d1d78f0818dfa7f5.js +1 -0
  400. package/app/.next/static/chunks/app/api/usage/request-details/route-d1d78f0818dfa7f5.js +1 -0
  401. package/app/.next/static/chunks/app/api/usage/request-logs/route-d1d78f0818dfa7f5.js +1 -0
  402. package/app/.next/static/chunks/app/api/usage/stream/route-d1d78f0818dfa7f5.js +1 -0
  403. package/app/.next/static/chunks/app/api/v1/api/chat/route-d1d78f0818dfa7f5.js +1 -0
  404. package/app/.next/static/chunks/app/api/v1/chat/completions/route-d1d78f0818dfa7f5.js +1 -0
  405. package/app/.next/static/chunks/app/api/v1/embeddings/route-d1d78f0818dfa7f5.js +1 -0
  406. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-d1d78f0818dfa7f5.js +1 -0
  407. package/app/.next/static/chunks/app/api/v1/messages/route-d1d78f0818dfa7f5.js +1 -0
  408. package/app/.next/static/chunks/app/api/v1/models/route-d1d78f0818dfa7f5.js +1 -0
  409. package/app/.next/static/chunks/app/api/v1/responses/route-d1d78f0818dfa7f5.js +1 -0
  410. package/app/.next/static/chunks/app/api/v1/route-d1d78f0818dfa7f5.js +1 -0
  411. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-d1d78f0818dfa7f5.js +1 -0
  412. package/app/.next/static/chunks/app/api/v1beta/models/route-d1d78f0818dfa7f5.js +1 -0
  413. package/app/.next/static/chunks/app/callback/page-358b85864d879fcc.js +1 -0
  414. package/app/.next/static/chunks/app/dashboard/settings/pricing/page-ffe0e1792e93168b.js +1 -0
  415. package/app/.next/static/chunks/app/landing/page-9988533823669cfc.js +1 -0
  416. package/app/.next/static/chunks/app/layout-a9ae8d014d5d7102.js +1 -0
  417. package/app/.next/static/chunks/app/login/page-62fed427ad312406.js +1 -0
  418. package/app/.next/static/chunks/app/page-d1d78f0818dfa7f5.js +1 -0
  419. package/app/.next/static/chunks/c6123951-59125299ca0d7b46.js +1 -0
  420. package/app/.next/static/chunks/framework-9f63a52f5ba18ac8.js +1 -0
  421. package/app/.next/static/chunks/main-aab9e1b069a77e0f.js +5 -0
  422. package/app/.next/static/chunks/main-app-8803a230dfc5c361.js +1 -0
  423. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-d1d78f0818dfa7f5.js +1 -0
  424. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-d1d78f0818dfa7f5.js +1 -0
  425. package/app/.next/static/chunks/next/dist/client/components/builtin/global-error-f740e7b53cfd899a.js +1 -0
  426. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-d1d78f0818dfa7f5.js +1 -0
  427. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-d1d78f0818dfa7f5.js +1 -0
  428. package/app/.next/static/chunks/webpack-25c43999146c934e.js +1 -0
  429. package/app/.next/static/css/599369d853c61df7.css +31 -0
  430. package/app/.next/static/css/6a76c1062906da03.css +3 -0
  431. package/app/.next/static/jWN0ATVbXrki9UzHFr5nv/_buildManifest.js +1 -0
  432. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  433. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  434. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  435. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  436. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  437. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  438. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  439. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  440. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  441. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  442. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  443. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  444. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  445. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  446. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  447. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  448. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  449. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  450. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  451. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  452. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  453. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  454. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  455. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  456. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  457. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  458. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  459. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  460. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  461. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  462. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  463. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  464. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  465. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  466. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  467. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  468. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  469. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  470. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  471. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  472. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  473. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  474. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  475. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  476. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  477. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  478. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  479. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  480. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  481. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  482. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  483. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  484. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  485. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  486. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  487. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  488. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  489. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  490. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  491. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  492. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  493. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  494. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  495. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  496. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  497. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  498. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  499. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  500. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  501. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  502. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  503. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  504. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  505. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  506. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  507. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  508. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  509. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  510. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  511. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  512. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  513. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  514. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  515. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  516. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  517. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  518. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  519. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  520. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  521. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  522. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  523. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  524. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  525. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  526. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  527. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  528. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  529. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  530. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  531. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  532. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  533. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  534. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  535. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  536. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  537. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  538. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  539. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  540. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  541. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  542. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  543. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  544. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  545. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  546. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  547. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  548. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  549. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  550. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  551. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  552. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  553. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  554. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  555. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  556. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  557. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  558. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  559. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  560. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  561. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  562. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  563. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  564. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  565. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  566. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  567. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  568. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  569. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  570. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  571. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  572. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  573. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  574. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  575. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  576. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  577. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  578. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  579. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  580. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  581. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  582. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  583. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  584. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  585. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  586. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  587. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  588. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  589. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  590. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  591. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  592. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  593. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  594. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  595. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  596. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  597. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  598. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  599. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  600. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  601. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  602. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  603. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  604. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  605. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  606. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  607. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  608. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  609. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  610. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  611. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  612. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  613. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  614. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  615. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  616. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  617. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  618. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  619. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  620. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  621. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  622. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  623. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  624. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  625. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  626. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  627. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  628. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  629. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  630. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  631. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  632. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  633. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  634. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  635. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  636. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  637. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  638. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  639. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  640. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  641. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  642. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  643. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  644. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  645. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  646. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  647. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  648. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  649. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  650. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  651. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  652. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  653. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  654. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  655. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  656. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  657. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  658. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  659. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  660. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  661. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  662. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  663. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  664. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  665. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  666. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  667. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  668. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  669. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  670. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  671. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  672. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  673. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  674. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  675. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  676. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  677. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  678. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  679. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  680. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  681. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  682. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  683. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  684. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  685. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  686. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  687. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  688. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  689. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  690. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  691. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  692. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  693. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  694. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  695. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  696. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  697. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  698. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  699. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  700. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  701. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  702. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  703. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  704. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  705. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  706. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  707. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  708. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  709. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  710. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  711. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  712. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  713. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  714. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  715. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  716. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  717. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  718. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  719. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  720. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  721. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  722. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  723. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  724. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  725. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  726. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  727. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  728. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  729. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  730. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  731. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  732. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  733. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  734. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  735. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  736. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  737. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  738. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  739. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  740. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  741. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  742. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  743. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  744. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  745. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  746. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  747. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  748. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  749. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  750. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  751. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  752. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  753. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  754. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  755. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  756. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  757. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  758. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  759. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  760. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  761. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  762. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  763. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  764. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  765. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  766. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  767. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  768. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  769. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  770. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  771. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  772. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  773. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  774. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  775. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  776. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  777. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  778. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  779. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  780. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  781. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  782. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  783. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  784. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  785. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  786. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  787. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  788. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  789. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  790. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  791. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  792. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  793. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  794. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  795. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  796. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  797. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  798. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  799. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  800. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  801. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  802. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  803. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  804. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  805. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  806. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  807. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  808. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  809. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  810. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  811. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  812. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  813. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  814. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  815. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  816. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  817. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  818. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  819. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  820. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  821. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  822. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  823. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  824. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  825. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  826. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  827. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  828. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  829. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  830. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  831. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  832. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  833. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  834. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  835. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  836. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  837. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  838. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  839. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  840. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  841. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  842. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  843. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  844. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  845. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  846. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  847. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  848. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  849. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  850. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  851. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  852. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  853. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  854. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  855. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  856. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  857. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  858. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  859. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  860. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  861. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  862. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  863. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  864. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  865. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  866. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  867. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  868. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  869. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  870. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  871. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  872. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  873. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  874. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  875. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  876. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  877. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  878. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  879. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  880. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  881. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  882. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  883. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  884. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  885. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  886. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  887. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  888. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  889. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  890. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  891. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  892. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  893. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  894. package/app/node_modules/caniuse-lite/data/features/selectlist.js +1 -1
  895. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  896. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  897. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  898. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  899. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  900. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  901. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  902. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  903. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  904. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  905. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  906. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  907. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  908. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  909. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  910. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  911. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  912. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  913. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  914. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  915. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  916. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  917. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  918. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  919. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  920. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  921. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  922. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  923. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  924. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  925. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  926. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  927. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  928. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  929. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  930. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  931. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  932. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  933. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  934. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  935. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  936. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  937. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  938. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  939. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  940. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  941. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  942. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  943. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  944. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  945. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  946. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  947. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  948. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  949. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  950. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  951. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  952. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  953. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  954. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  955. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  956. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  957. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  958. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  959. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  960. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  961. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  962. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  963. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  964. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  965. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  966. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  967. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  968. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  969. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  970. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  971. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  972. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  973. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  974. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  975. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  976. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  977. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  978. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  979. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  980. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  981. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  982. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  983. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  984. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  985. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  986. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  987. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  988. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  989. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  990. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  991. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  992. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  993. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  994. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  995. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  996. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  997. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  998. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  999. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1000. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1001. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1002. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1003. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1004. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1005. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1006. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1007. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1008. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1009. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1010. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1011. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1012. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1013. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1014. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1015. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1016. package/app/node_modules/caniuse-lite/package.json +1 -1
  1017. package/app/node_modules/react/cjs/react.production.js +1 -1
  1018. package/app/node_modules/react/package.json +1 -1
  1019. package/app/node_modules/semver/classes/comparator.js +143 -0
  1020. package/app/node_modules/semver/classes/range.js +557 -0
  1021. package/app/node_modules/semver/classes/semver.js +333 -0
  1022. package/app/node_modules/semver/functions/cmp.js +54 -0
  1023. package/app/node_modules/semver/functions/coerce.js +62 -0
  1024. package/app/node_modules/semver/functions/compare.js +7 -0
  1025. package/app/node_modules/semver/functions/eq.js +5 -0
  1026. package/app/node_modules/semver/functions/gt.js +5 -0
  1027. package/app/node_modules/semver/functions/gte.js +5 -0
  1028. package/app/node_modules/semver/functions/lt.js +5 -0
  1029. package/app/node_modules/semver/functions/lte.js +5 -0
  1030. package/app/node_modules/semver/functions/neq.js +5 -0
  1031. package/app/node_modules/semver/functions/parse.js +18 -0
  1032. package/app/node_modules/semver/functions/satisfies.js +12 -0
  1033. package/app/node_modules/semver/internal/constants.js +37 -0
  1034. package/app/node_modules/semver/internal/debug.js +11 -0
  1035. package/app/node_modules/semver/internal/identifiers.js +29 -0
  1036. package/app/node_modules/semver/internal/lrucache.js +42 -0
  1037. package/app/node_modules/semver/internal/parse-options.js +17 -0
  1038. package/app/node_modules/semver/internal/re.js +223 -0
  1039. package/app/node_modules/semver/package.json +78 -0
  1040. package/app/package.json +3 -1
  1041. package/app/public/providers/cerebras.png +0 -0
  1042. package/app/public/providers/cohere.png +0 -0
  1043. package/app/public/providers/deepseek.png +0 -0
  1044. package/app/public/providers/fireworks.png +0 -0
  1045. package/app/public/providers/groq.png +0 -0
  1046. package/app/public/providers/kilocode.png +0 -0
  1047. package/app/public/providers/kimi-coding.png +0 -0
  1048. package/app/public/providers/mistral.png +0 -0
  1049. package/app/public/providers/nebius.png +0 -0
  1050. package/app/public/providers/nvidia.png +0 -0
  1051. package/app/public/providers/perplexity.png +0 -0
  1052. package/app/public/providers/siliconflow.png +0 -0
  1053. package/app/public/providers/together.png +0 -0
  1054. package/app/public/providers/xai.png +0 -0
  1055. package/app/src/mitm/server.js +2 -1
  1056. package/package.json +1 -1
  1057. package/src/cli/api/client.js +37 -0
  1058. package/src/cli/menus/cliTools.js +367 -215
  1059. package/src/cli/tray/tray.js +2 -1
  1060. package/src/cli/utils/input.js +3 -2
  1061. package/app/.next/server/chunks/2760.js +0 -1
  1062. package/app/.next/server/chunks/4070.js +0 -1
  1063. package/app/.next/server/chunks/8152.js +0 -1
  1064. package/app/.next/static/DI96okdJjzby3HGY7q07Y/_buildManifest.js +0 -1
  1065. package/app/.next/static/chunks/1393-789dc00cee220ab3.js +0 -1
  1066. package/app/.next/static/chunks/3624-e096f4cf594e2fc8.js +0 -1
  1067. package/app/.next/static/chunks/3794-cd98b5cd5fb65b19.js +0 -2
  1068. package/app/.next/static/chunks/4bd1b696-bf5e0dbacfa5baef.js +0 -1
  1069. package/app/.next/static/chunks/5497-22ff80798e3ea482.js +0 -7
  1070. package/app/.next/static/chunks/600-698f3e9fe5d9a2a4.js +0 -3
  1071. package/app/.next/static/chunks/8202.0e16c9f0f8b261d7.js +0 -1
  1072. package/app/.next/static/chunks/8729-d4b43eec95806a5e.js +0 -1
  1073. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-b4abe8655df8ae72.js +0 -1
  1074. package/app/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-ebe23b0367ddebdc.js +0 -1
  1075. package/app/.next/static/chunks/app/(dashboard)/dashboard/page-4940a5acf1d029cb.js +0 -1
  1076. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-7b546958559f0a9d.js +0 -1
  1077. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-d48c3e28182c53fd.js +0 -1
  1078. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-3b4a2a6a9a5ddf7a.js +0 -1
  1079. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-a4e03be7aaaae436.js +0 -1
  1080. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-fee9f03a1672e768.js +0 -1
  1081. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/page-b1db6324fdab22de.js +0 -1
  1082. package/app/.next/static/chunks/app/(dashboard)/layout-2951a18467171aa4.js +0 -1
  1083. package/app/.next/static/chunks/app/_global-error/page-1c55a45c707c87a7.js +0 -1
  1084. package/app/.next/static/chunks/app/_not-found/page-9dced9c9fb6bff0f.js +0 -1
  1085. package/app/.next/static/chunks/app/api/auth/login/route-1c55a45c707c87a7.js +0 -1
  1086. package/app/.next/static/chunks/app/api/auth/logout/route-1c55a45c707c87a7.js +0 -1
  1087. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-1c55a45c707c87a7.js +0 -1
  1088. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-1c55a45c707c87a7.js +0 -1
  1089. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-1c55a45c707c87a7.js +0 -1
  1090. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-1c55a45c707c87a7.js +0 -1
  1091. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-1c55a45c707c87a7.js +0 -1
  1092. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-1c55a45c707c87a7.js +0 -1
  1093. package/app/.next/static/chunks/app/api/cloud/auth/route-1c55a45c707c87a7.js +0 -1
  1094. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-1c55a45c707c87a7.js +0 -1
  1095. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-1c55a45c707c87a7.js +0 -1
  1096. package/app/.next/static/chunks/app/api/cloud/models/alias/route-1c55a45c707c87a7.js +0 -1
  1097. package/app/.next/static/chunks/app/api/combos/[id]/route-1c55a45c707c87a7.js +0 -1
  1098. package/app/.next/static/chunks/app/api/combos/route-1c55a45c707c87a7.js +0 -1
  1099. package/app/.next/static/chunks/app/api/init/route-1c55a45c707c87a7.js +0 -1
  1100. package/app/.next/static/chunks/app/api/keys/[id]/route-1c55a45c707c87a7.js +0 -1
  1101. package/app/.next/static/chunks/app/api/keys/route-1c55a45c707c87a7.js +0 -1
  1102. package/app/.next/static/chunks/app/api/models/alias/route-1c55a45c707c87a7.js +0 -1
  1103. package/app/.next/static/chunks/app/api/models/route-1c55a45c707c87a7.js +0 -1
  1104. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-1c55a45c707c87a7.js +0 -1
  1105. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-1c55a45c707c87a7.js +0 -1
  1106. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-1c55a45c707c87a7.js +0 -1
  1107. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-1c55a45c707c87a7.js +0 -1
  1108. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-1c55a45c707c87a7.js +0 -1
  1109. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-1c55a45c707c87a7.js +0 -1
  1110. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-1c55a45c707c87a7.js +0 -1
  1111. package/app/.next/static/chunks/app/api/pricing/route-1c55a45c707c87a7.js +0 -1
  1112. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-1c55a45c707c87a7.js +0 -1
  1113. package/app/.next/static/chunks/app/api/provider-nodes/route-1c55a45c707c87a7.js +0 -1
  1114. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-1c55a45c707c87a7.js +0 -1
  1115. package/app/.next/static/chunks/app/api/providers/[id]/models/route-1c55a45c707c87a7.js +0 -1
  1116. package/app/.next/static/chunks/app/api/providers/[id]/route-1c55a45c707c87a7.js +0 -1
  1117. package/app/.next/static/chunks/app/api/providers/[id]/test/route-1c55a45c707c87a7.js +0 -1
  1118. package/app/.next/static/chunks/app/api/providers/client/route-1c55a45c707c87a7.js +0 -1
  1119. package/app/.next/static/chunks/app/api/providers/route-1c55a45c707c87a7.js +0 -1
  1120. package/app/.next/static/chunks/app/api/providers/validate/route-1c55a45c707c87a7.js +0 -1
  1121. package/app/.next/static/chunks/app/api/settings/require-login/route-1c55a45c707c87a7.js +0 -1
  1122. package/app/.next/static/chunks/app/api/settings/route-1c55a45c707c87a7.js +0 -1
  1123. package/app/.next/static/chunks/app/api/shutdown/route-1c55a45c707c87a7.js +0 -1
  1124. package/app/.next/static/chunks/app/api/sync/cloud/route-1c55a45c707c87a7.js +0 -1
  1125. package/app/.next/static/chunks/app/api/sync/initialize/route-1c55a45c707c87a7.js +0 -1
  1126. package/app/.next/static/chunks/app/api/tags/route-1c55a45c707c87a7.js +0 -1
  1127. package/app/.next/static/chunks/app/api/translator/load/route-1c55a45c707c87a7.js +0 -1
  1128. package/app/.next/static/chunks/app/api/translator/save/route-1c55a45c707c87a7.js +0 -1
  1129. package/app/.next/static/chunks/app/api/translator/send/route-1c55a45c707c87a7.js +0 -1
  1130. package/app/.next/static/chunks/app/api/translator/translate/route-1c55a45c707c87a7.js +0 -1
  1131. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-1c55a45c707c87a7.js +0 -1
  1132. package/app/.next/static/chunks/app/api/usage/history/route-1c55a45c707c87a7.js +0 -1
  1133. package/app/.next/static/chunks/app/api/usage/providers/route-1c55a45c707c87a7.js +0 -1
  1134. package/app/.next/static/chunks/app/api/usage/request-details/route-1c55a45c707c87a7.js +0 -1
  1135. package/app/.next/static/chunks/app/api/usage/request-logs/route-1c55a45c707c87a7.js +0 -1
  1136. package/app/.next/static/chunks/app/api/v1/api/chat/route-1c55a45c707c87a7.js +0 -1
  1137. package/app/.next/static/chunks/app/api/v1/chat/completions/route-1c55a45c707c87a7.js +0 -1
  1138. package/app/.next/static/chunks/app/api/v1/embeddings/route-1c55a45c707c87a7.js +0 -1
  1139. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-1c55a45c707c87a7.js +0 -1
  1140. package/app/.next/static/chunks/app/api/v1/messages/route-1c55a45c707c87a7.js +0 -1
  1141. package/app/.next/static/chunks/app/api/v1/models/route-1c55a45c707c87a7.js +0 -1
  1142. package/app/.next/static/chunks/app/api/v1/responses/route-1c55a45c707c87a7.js +0 -1
  1143. package/app/.next/static/chunks/app/api/v1/route-1c55a45c707c87a7.js +0 -1
  1144. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-1c55a45c707c87a7.js +0 -1
  1145. package/app/.next/static/chunks/app/api/v1beta/models/route-1c55a45c707c87a7.js +0 -1
  1146. package/app/.next/static/chunks/app/callback/page-5f180e9e33c49571.js +0 -1
  1147. package/app/.next/static/chunks/app/dashboard/settings/pricing/page-6389a6072b45738e.js +0 -1
  1148. package/app/.next/static/chunks/app/landing/page-5601676546256c5c.js +0 -1
  1149. package/app/.next/static/chunks/app/layout-b4f212dd6665a31c.js +0 -1
  1150. package/app/.next/static/chunks/app/login/page-7001e1e8d9ffa21b.js +0 -1
  1151. package/app/.next/static/chunks/app/page-1c55a45c707c87a7.js +0 -1
  1152. package/app/.next/static/chunks/framework-98ded4341da66877.js +0 -1
  1153. package/app/.next/static/chunks/main-9693513a0cc92813.js +0 -5
  1154. package/app/.next/static/chunks/main-app-8bfa111f852aed9b.js +0 -1
  1155. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-1c55a45c707c87a7.js +0 -1
  1156. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-1c55a45c707c87a7.js +0 -1
  1157. package/app/.next/static/chunks/next/dist/client/components/builtin/global-error-8942985441049b52.js +0 -1
  1158. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-1c55a45c707c87a7.js +0 -1
  1159. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-1c55a45c707c87a7.js +0 -1
  1160. package/app/.next/static/chunks/webpack-79a9aedf42a631d8.js +0 -1
  1161. package/app/.next/static/css/749abce1b69e6225.css +0 -3
  1162. /package/app/.next/static/{DI96okdJjzby3HGY7q07Y → jWN0ATVbXrki9UzHFr5nv}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- DI96okdJjzby3HGY7q07Y
1
+ jWN0ATVbXrki9UzHFr5nv
@@ -1,82 +1,85 @@
1
1
  {
2
- "/_global-error/page": "/_global-error",
3
2
  "/_not-found/page": "/_not-found",
4
- "/api/auth/login/route": "/api/auth/login",
3
+ "/_global-error/page": "/_global-error",
5
4
  "/api/auth/logout/route": "/api/auth/logout",
5
+ "/api/auth/login/route": "/api/auth/login",
6
6
  "/api/cli-tools/antigravity-mitm/alias/route": "/api/cli-tools/antigravity-mitm/alias",
7
7
  "/api/cli-tools/claude-settings/route": "/api/cli-tools/claude-settings",
8
8
  "/api/cli-tools/codex-settings/route": "/api/cli-tools/codex-settings",
9
9
  "/api/cli-tools/droid-settings/route": "/api/cli-tools/droid-settings",
10
10
  "/api/cloud/auth/route": "/api/cloud/auth",
11
+ "/api/cli-tools/openclaw-settings/route": "/api/cli-tools/openclaw-settings",
11
12
  "/api/cloud/credentials/update/route": "/api/cloud/credentials/update",
12
13
  "/api/cloud/model/resolve/route": "/api/cloud/model/resolve",
13
- "/api/cli-tools/openclaw-settings/route": "/api/cli-tools/openclaw-settings",
14
- "/api/combos/route": "/api/combos",
14
+ "/api/cloud/models/alias/route": "/api/cloud/models/alias",
15
15
  "/api/combos/[id]/route": "/api/combos/[id]",
16
16
  "/api/init/route": "/api/init",
17
- "/api/keys/[id]/route": "/api/keys/[id]",
17
+ "/api/combos/route": "/api/combos",
18
18
  "/api/keys/route": "/api/keys",
19
- "/api/models/route": "/api/models",
19
+ "/api/keys/[id]/route": "/api/keys/[id]",
20
20
  "/api/models/alias/route": "/api/models/alias",
21
+ "/api/models/route": "/api/models",
21
22
  "/api/oauth/[provider]/[action]/route": "/api/oauth/[provider]/[action]",
22
23
  "/api/oauth/cursor/auto-import/route": "/api/oauth/cursor/auto-import",
23
24
  "/api/oauth/cursor/import/route": "/api/oauth/cursor/import",
24
25
  "/api/oauth/kiro/auto-import/route": "/api/oauth/kiro/auto-import",
25
- "/api/cloud/models/alias/route": "/api/cloud/models/alias",
26
26
  "/api/oauth/kiro/import/route": "/api/oauth/kiro/import",
27
27
  "/api/oauth/kiro/social-authorize/route": "/api/oauth/kiro/social-authorize",
28
+ "/api/oauth/kiro/social-exchange/route": "/api/oauth/kiro/social-exchange",
28
29
  "/api/pricing/route": "/api/pricing",
29
30
  "/api/provider-nodes/[id]/route": "/api/provider-nodes/[id]",
30
- "/api/providers/[id]/models/route": "/api/providers/[id]/models",
31
31
  "/api/provider-nodes/validate/route": "/api/provider-nodes/validate",
32
+ "/api/providers/[id]/models/route": "/api/providers/[id]/models",
32
33
  "/api/providers/[id]/route": "/api/providers/[id]",
33
- "/api/providers/client/route": "/api/providers/client",
34
34
  "/api/providers/[id]/test/route": "/api/providers/[id]/test",
35
+ "/api/providers/client/route": "/api/providers/client",
35
36
  "/api/providers/route": "/api/providers",
36
- "/api/providers/validate/route": "/api/providers/validate",
37
+ "/api/providers/test-batch/route": "/api/providers/test-batch",
37
38
  "/api/settings/require-login/route": "/api/settings/require-login",
39
+ "/api/providers/validate/route": "/api/providers/validate",
38
40
  "/api/shutdown/route": "/api/shutdown",
39
- "/api/sync/initialize/route": "/api/sync/initialize",
41
+ "/api/settings/route": "/api/settings",
40
42
  "/api/sync/cloud/route": "/api/sync/cloud",
43
+ "/api/sync/initialize/route": "/api/sync/initialize",
41
44
  "/api/tags/route": "/api/tags",
45
+ "/api/translator/save/route": "/api/translator/save",
42
46
  "/api/translator/load/route": "/api/translator/load",
43
47
  "/api/translator/translate/route": "/api/translator/translate",
44
- "/api/oauth/kiro/social-exchange/route": "/api/oauth/kiro/social-exchange",
45
- "/api/settings/route": "/api/settings",
48
+ "/api/translator/send/route": "/api/translator/send",
46
49
  "/api/usage/[connectionId]/route": "/api/usage/[connectionId]",
47
50
  "/api/usage/history/route": "/api/usage/history",
48
51
  "/api/usage/logs/route": "/api/usage/logs",
52
+ "/api/usage/providers/route": "/api/usage/providers",
49
53
  "/api/usage/request-details/route": "/api/usage/request-details",
54
+ "/api/usage/request-logs/route": "/api/usage/request-logs",
55
+ "/api/usage/chart/route": "/api/usage/chart",
50
56
  "/api/v1/api/chat/route": "/api/v1/api/chat",
51
57
  "/api/v1/chat/completions/route": "/api/v1/chat/completions",
52
- "/api/usage/providers/route": "/api/usage/providers",
53
58
  "/api/v1/messages/count_tokens/route": "/api/v1/messages/count_tokens",
54
- "/api/translator/send/route": "/api/translator/send",
55
- "/api/v1/models/route": "/api/v1/models",
56
- "/api/usage/request-logs/route": "/api/usage/request-logs",
57
59
  "/api/v1/messages/route": "/api/v1/messages",
58
- "/api/v1/embeddings/route": "/api/v1/embeddings",
59
- "/api/v1beta/models/[...path]/route": "/api/v1beta/models/[...path]",
60
- "/api/v1/route": "/api/v1",
60
+ "/api/v1/models/route": "/api/v1/models",
61
61
  "/api/v1/responses/route": "/api/v1/responses",
62
- "/favicon.ico/route": "/favicon.ico",
62
+ "/api/v1/route": "/api/v1",
63
+ "/api/v1beta/models/[...path]/route": "/api/v1beta/models/[...path]",
63
64
  "/api/v1beta/models/route": "/api/v1beta/models",
65
+ "/api/v1/embeddings/route": "/api/v1/embeddings",
66
+ "/favicon.ico/route": "/favicon.ico",
64
67
  "/api/cli-tools/antigravity-mitm/route": "/api/cli-tools/antigravity-mitm",
65
68
  "/api/provider-nodes/route": "/api/provider-nodes",
66
- "/api/translator/save/route": "/api/translator/save",
69
+ "/api/usage/stream/route": "/api/usage/stream",
67
70
  "/callback/page": "/callback",
68
71
  "/dashboard/settings/pricing/page": "/dashboard/settings/pricing",
69
- "/login/page": "/login",
70
- "/page": "/",
71
72
  "/landing/page": "/landing",
73
+ "/page": "/",
74
+ "/login/page": "/login",
72
75
  "/(dashboard)/dashboard/combos/page": "/dashboard/combos",
73
- "/(dashboard)/dashboard/profile/page": "/dashboard/profile",
76
+ "/(dashboard)/dashboard/cli-tools/page": "/dashboard/cli-tools",
77
+ "/(dashboard)/dashboard/endpoint/page": "/dashboard/endpoint",
74
78
  "/(dashboard)/dashboard/page": "/dashboard",
75
- "/(dashboard)/dashboard/translator/page": "/dashboard/translator",
79
+ "/(dashboard)/dashboard/profile/page": "/dashboard/profile",
80
+ "/(dashboard)/dashboard/providers/[id]/page": "/dashboard/providers/[id]",
76
81
  "/(dashboard)/dashboard/providers/new/page": "/dashboard/providers/new",
77
- "/(dashboard)/dashboard/cli-tools/page": "/dashboard/cli-tools",
78
- "/(dashboard)/dashboard/providers/page": "/dashboard/providers",
82
+ "/(dashboard)/dashboard/translator/page": "/dashboard/translator",
79
83
  "/(dashboard)/dashboard/usage/page": "/dashboard/usage",
80
- "/(dashboard)/dashboard/endpoint/page": "/dashboard/endpoint",
81
- "/(dashboard)/dashboard/providers/[id]/page": "/dashboard/providers/[id]"
84
+ "/(dashboard)/dashboard/providers/page": "/dashboard/providers"
82
85
  }
@@ -4,14 +4,14 @@
4
4
  ],
5
5
  "devFiles": [],
6
6
  "lowPriorityFiles": [
7
- "static/DI96okdJjzby3HGY7q07Y/_buildManifest.js",
8
- "static/DI96okdJjzby3HGY7q07Y/_ssgManifest.js"
7
+ "static/jWN0ATVbXrki9UzHFr5nv/_buildManifest.js",
8
+ "static/jWN0ATVbXrki9UzHFr5nv/_ssgManifest.js"
9
9
  ],
10
10
  "rootMainFiles": [
11
- "static/chunks/webpack-79a9aedf42a631d8.js",
12
- "static/chunks/4bd1b696-bf5e0dbacfa5baef.js",
13
- "static/chunks/3794-cd98b5cd5fb65b19.js",
14
- "static/chunks/main-app-8bfa111f852aed9b.js"
11
+ "static/chunks/webpack-25c43999146c934e.js",
12
+ "static/chunks/4bd1b696-e5d7c65570c947b7.js",
13
+ "static/chunks/3794-c67589461d449d62.js",
14
+ "static/chunks/main-app-8803a230dfc5c361.js"
15
15
  ],
16
16
  "rootMainFilesTree": {},
17
17
  "pages": {
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "app/(dashboard)/dashboard/translator/page.js -> @monaco-editor/react": {
3
- "id": 8202,
3
+ "id": 28202,
4
4
  "files": [
5
- "static/chunks/8202.0e16c9f0f8b261d7.js"
5
+ "static/chunks/8202.c5f295182187a1e0.js"
6
6
  ]
7
7
  }
8
8
  }
@@ -316,6 +316,12 @@
316
316
  "routeKeys": {},
317
317
  "namedRegex": "^/api/providers/client(?:/)?$"
318
318
  },
319
+ {
320
+ "page": "/api/providers/test-batch",
321
+ "regex": "^/api/providers/test\\-batch(?:/)?$",
322
+ "routeKeys": {},
323
+ "namedRegex": "^/api/providers/test\\-batch(?:/)?$"
324
+ },
319
325
  {
320
326
  "page": "/api/providers/validate",
321
327
  "regex": "^/api/providers/validate(?:/)?$",
@@ -382,6 +388,12 @@
382
388
  "routeKeys": {},
383
389
  "namedRegex": "^/api/translator/translate(?:/)?$"
384
390
  },
391
+ {
392
+ "page": "/api/usage/chart",
393
+ "regex": "^/api/usage/chart(?:/)?$",
394
+ "routeKeys": {},
395
+ "namedRegex": "^/api/usage/chart(?:/)?$"
396
+ },
385
397
  {
386
398
  "page": "/api/usage/history",
387
399
  "regex": "^/api/usage/history(?:/)?$",
@@ -412,6 +424,12 @@
412
424
  "routeKeys": {},
413
425
  "namedRegex": "^/api/usage/request\\-logs(?:/)?$"
414
426
  },
427
+ {
428
+ "page": "/api/usage/stream",
429
+ "regex": "^/api/usage/stream(?:/)?$",
430
+ "routeKeys": {},
431
+ "namedRegex": "^/api/usage/stream(?:/)?$"
432
+ },
415
433
  {
416
434
  "page": "/api/v1",
417
435
  "regex": "^/api/v1(?:/)?$",
@@ -5,7 +5,7 @@ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__
5
5
  "model": "{{model}}",
6
6
  "provider": "openai",
7
7
  "apiKey": "{{apiKey}}"
8
- }`}},antigravity:{id:"antigravity",name:"Antigravity",image:"/providers/antigravity.png",color:"#4285F4",description:"Google Antigravity IDE with MITM",configType:"mitm",modelAliases:["claude-opus-4-5-thinking","claude-sonnet-4-5-thinking","claude-sonnet-4-5","gemini-3-pro-high"],defaultModels:[{id:"claude-opus-4-5-thinking",name:"Claude Opus 4.5 Thinking",alias:"claude-opus-4-5-thinking"},{id:"claude-sonnet-4-5-thinking",name:"Claude Sonnet 4.5 Thinking",alias:"claude-sonnet-4-5-thinking"},{id:"claude-sonnet-4-5",name:"Claude Sonnet 4.5",alias:"claude-sonnet-4-5"},{id:"gemini-3-pro-high",name:"Gemini 3 Pro High",alias:"gemini-3-pro-high"},{id:"gemini-3-flash",name:"Gemini 3 Flash",alias:"gemini-3-flash"}]}};var h=c(91431),i=c(81220);let j="https://9router.com";function k({tool:a,isExpanded:b,onToggle:c,activeProviders:g,modelMappings:h,onModelMappingChange:k,baseUrl:l,hasActiveProviders:m,apiKeys:n,cloudEnabled:o}){let p,q,r,[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(null),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(null),[I,J]=(0,e.useState)(""),[K,L]=(0,e.useState)({}),[M,N]=(0,e.useState)(!1),[O,P]=(0,e.useState)("");(0,e.useRef)(!1);let Q=(()=>{if(!s?.installed)return null;let a=s.settings?.env?.ANTHROPIC_BASE_URL;if(!a)return"not_configured";let b=a.includes("localhost")||a.includes("127.0.0.1"),c=o&&j&&a.startsWith(j);return b||c?"configured":"other"})(),R=()=>{let a=O||l;return a.endsWith("/v1")?a:`${a}/v1`},S=async()=>{x(!0),B(null);try{let b={ANTHROPIC_BASE_URL:R()},c=I?.trim()||(n?.length>0?n[0].key:null)||(o?null:"sk_9router");c&&(b.ANTHROPIC_AUTH_TOKEN=c),a.defaultModels.forEach(a=>{let c=h[a.alias];c&&a.envKey&&(b[a.envKey]=c)});let d=await fetch("/api/cli-tools/claude-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({env:b})}),e=await d.json();d.ok?(B({type:"success",text:"Settings applied successfully!"}),t(a=>({...a,hasBackup:!0,settings:{...a?.settings,env:b}}))):B({type:"error",text:e.error||"Failed to apply settings"})}catch(a){B({type:"error",text:a.message})}finally{x(!1)}},T=async()=>{z(!0),B(null);try{let b=await fetch("/api/cli-tools/claude-settings",{method:"DELETE"}),c=await b.json();b.ok?(B({type:"success",text:"Settings reset successfully!"}),a.defaultModels.forEach(a=>k(a.alias,a.defaultValue||"")),J("")):B({type:"error",text:c.error||"Failed to reset settings"})}catch(a){B({type:"error",text:a.message})}finally{z(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/claude.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[u&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Claude CLI..."})]}),!u&&s&&!s.installed&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Claude CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Claude CLI to use this feature."})]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:()=>D(!C),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] mr-1",children:C?"expand_less":"help"}),C?"Hide":"How to Install"]})]}),C&&(0,d.jsxs)("div",{className:"p-4 bg-surface border border-border rounded-lg",children:[(0,d.jsx)("h4",{className:"font-medium mb-3",children:"Installation Guide"}),(0,d.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-text-muted mb-1",children:"macOS / Linux / Windows:"}),(0,d.jsx)("code",{className:"block px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs",children:"npm install -g @anthropic-ai/claude-code"})]}),(0,d.jsxs)("p",{className:"text-text-muted",children:["After installation, run ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"claude"})," to verify."]})]})]})]}),!u&&s?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[s?.settings?.env?.ANTHROPIC_BASE_URL&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:s.settings.env.ANTHROPIC_BASE_URL})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(p=O||l).endsWith("/v1")?p:`${p}/v1`,onChange:a=>P(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),O&&O!==l&&(0,d.jsx)("button",{onClick:()=>P(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),n.length>0?(0,d.jsx)("select",{value:I,onChange:a=>J(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:n.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:o?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),a.defaultModels.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:a.name}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:h[a.alias]||"",onChange:b=>k(a.alias,b.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>{H(a.alias),F(!0)},disabled:!m,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${m?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),h[a.alias]&&(0,d.jsx)("button",{onClick:()=>k(a.alias,""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]},a.alias))]}),A&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===A.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===A.type?"check_circle":"error"}),(0,d.jsx)("span",{children:A.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:S,disabled:!m,loading:w,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:T,disabled:!s?.has9Router,loading:y,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>N(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:E,onClose:()=>F(!1),onSelect:a=>{G&&k(G,a.value)},selectedModel:G?h[G]:null,activeProviders:g,modelAliases:K,title:`Select model for ${G}`}),(0,d.jsx)(f.uR,{isOpen:M,onClose:()=>N(!1),title:"Claude CLI - Manual Configuration",configs:(q=I&&I.trim()?I:o?"<API_KEY_FROM_DASHBOARD>":"sk_9router",r={ANTHROPIC_BASE_URL:R(),ANTHROPIC_AUTH_TOKEN:q},a.defaultModels.forEach(a=>{let b=h[a.alias];b&&a.envKey&&(r[a.envKey]=b)}),[{filename:"~/.claude/settings.json",content:JSON.stringify({env:r},null,2)}])})]})}function l({tool:a,isExpanded:b,onToggle:c,baseUrl:g,apiKeys:h,activeProviders:j,cloudEnabled:k}){let l,m,n,[o,p]=(0,e.useState)(null),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)({}),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)(""),M=o?.installed?o.config?o.config.includes(g)||o.config.includes("localhost")||o.config.includes("127.0.0.1")?"configured":"other":"not_configured":null,N=()=>{let a=K||`${g}/v1`;return a.endsWith("/v1")?a:`${a}/v1`},O=async()=>{r(!0);try{let a=await fetch("/api/cli-tools/codex-settings"),b=await a.json();p(b)}catch(a){p({installed:!1,error:a.message})}finally{r(!1)}},P=async()=>{t(!0),x(null);try{let a=A&&A.trim()||k?A:"sk_9router",b=await fetch("/api/cli-tools/codex-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:N(),apiKey:a,model:C})}),c=await b.json();b.ok?(x({type:"success",text:"Settings applied successfully!"}),O()):x({type:"error",text:c.error||"Failed to apply settings"})}catch(a){x({type:"error",text:a.message})}finally{t(!1)}},Q=async()=>{v(!0),x(null);try{let a=await fetch("/api/cli-tools/codex-settings",{method:"DELETE"}),b=await a.json();a.ok?(x({type:"success",text:"Settings reset successfully!"}),D(""),O()):x({type:"error",text:b.error||"Failed to reset settings"})}catch(a){x({type:"error",text:a.message})}finally{v(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/codex.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[q&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Codex CLI..."})]}),!q&&o&&!o.installed&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Codex CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Codex CLI to use auto-apply feature."})]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:()=>z(!y),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] mr-1",children:y?"expand_less":"help"}),y?"Hide":"How to Install"]})]}),y&&(0,d.jsxs)("div",{className:"p-4 bg-surface border border-border rounded-lg",children:[(0,d.jsx)("h4",{className:"font-medium mb-3",children:"Installation Guide"}),(0,d.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-text-muted mb-1",children:"macOS / Linux / Windows:"}),(0,d.jsx)("code",{className:"block px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs",children:"npm install -g @openai/codex"})]}),(0,d.jsxs)("p",{className:"text-text-muted",children:["After installation, run ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"codex"})," to verify."]}),(0,d.jsx)("div",{className:"pt-2 border-t border-border",children:(0,d.jsxs)("p",{className:"text-text-muted text-xs",children:["Codex uses ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"~/.codex/auth.json"})," with ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"OPENAI_API_KEY"}),'. Click "Apply" to auto-configure.']})})]})]})]}),!q&&o?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[o?.config&&((m=(l=o.config.match(/base_url\s*=\s*"([^"]+)"/))?l[1]:null)?(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:m})]}):null),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:K||`${g}/v1`,onChange:a=>L(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),K&&K!==`${g}/v1`&&(0,d.jsx)("button",{onClick:()=>L(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),h.length>0?(0,d.jsx)("select",{value:A,onChange:a=>B(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:h.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:k?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:C,onChange:a=>D(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>F(!0),disabled:!j?.length,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${j?.length?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),C&&(0,d.jsx)("button",{onClick:()=>D(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:P,disabled:!A||!C,loading:s,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:Q,disabled:!o.has9Router,loading:u,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>J(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:E,onClose:()=>F(!1),onSelect:a=>{D(a.value),F(!1)},selectedModel:C,activeProviders:j,modelAliases:G,title:"Select Model for Codex"}),(0,d.jsx)(f.uR,{isOpen:I,onClose:()=>J(!1),title:"Codex CLI - Manual Configuration",configs:(n=A&&A.trim()?A:k?"<API_KEY_FROM_DASHBOARD>":"sk_9router",[{filename:"~/.codex/config.toml",content:`# 9Router Configuration for Codex CLI
8
+ }`}},antigravity:{id:"antigravity",name:"Antigravity",image:"/providers/antigravity.png",color:"#4285F4",description:"Google Antigravity IDE with MITM",configType:"mitm",modelAliases:["claude-opus-4-6-thinking","claude-sonnet-4-6-thinking","gemini-3-pro-high"],defaultModels:[{id:"claude-opus-4-6-thinking",name:"Claude Opus 4.6 Thinking",alias:"claude-opus-4-6-thinking"},{id:"claude-sonnet-4-6",name:"Claude Sonnet 4.6",alias:"claude-sonnet-4-6"},{id:"gemini-3-1-pro-high",name:"Gemini 3.1 Pro High",alias:"gemini-3-1-pro-high"},{id:"gemini-3-1-pro-low",name:"Gemini 3.1 Pro Low",alias:"gemini-3-1-pro-low"},{id:"gemini-3-pro-high",name:"Gemini 3 Pro High",alias:"gemini-3-pro-high"},{id:"gemini-3-flash",name:"Gemini 3 Flash",alias:"gemini-3-flash"}]}};var h=c(91431),i=c(81220);let j="https://9router.com";function k({tool:a,isExpanded:b,onToggle:c,activeProviders:g,modelMappings:h,onModelMappingChange:k,baseUrl:l,hasActiveProviders:m,apiKeys:n,cloudEnabled:o}){let p,q,r,[s,t]=(0,e.useState)(null),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(!1),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(null),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(null),[I,J]=(0,e.useState)(""),[K,L]=(0,e.useState)({}),[M,N]=(0,e.useState)(!1),[O,P]=(0,e.useState)("");(0,e.useRef)(!1);let Q=(()=>{if(!s?.installed)return null;let a=s.settings?.env?.ANTHROPIC_BASE_URL;if(!a)return"not_configured";let b=a.includes("localhost")||a.includes("127.0.0.1"),c=o&&j&&a.startsWith(j);return b||c?"configured":"other"})(),R=()=>{let a=O||l;return a.endsWith("/v1")?a:`${a}/v1`},S=async()=>{x(!0),B(null);try{let b={ANTHROPIC_BASE_URL:R()},c=I?.trim()||(n?.length>0?n[0].key:null)||(o?null:"sk_9router");c&&(b.ANTHROPIC_AUTH_TOKEN=c),a.defaultModels.forEach(a=>{let c=h[a.alias];c&&a.envKey&&(b[a.envKey]=c)});let d=await fetch("/api/cli-tools/claude-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({env:b})}),e=await d.json();d.ok?(B({type:"success",text:"Settings applied successfully!"}),t(a=>({...a,hasBackup:!0,settings:{...a?.settings,env:b}}))):B({type:"error",text:e.error||"Failed to apply settings"})}catch(a){B({type:"error",text:a.message})}finally{x(!1)}},T=async()=>{z(!0),B(null);try{let b=await fetch("/api/cli-tools/claude-settings",{method:"DELETE"}),c=await b.json();b.ok?(B({type:"success",text:"Settings reset successfully!"}),a.defaultModels.forEach(a=>k(a.alias,a.defaultValue||"")),J("")):B({type:"error",text:c.error||"Failed to reset settings"})}catch(a){B({type:"error",text:a.message})}finally{z(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/claude.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===Q&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[u&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Claude CLI..."})]}),!u&&s&&!s.installed&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Claude CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Claude CLI to use this feature."})]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:()=>D(!C),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] mr-1",children:C?"expand_less":"help"}),C?"Hide":"How to Install"]})]}),C&&(0,d.jsxs)("div",{className:"p-4 bg-surface border border-border rounded-lg",children:[(0,d.jsx)("h4",{className:"font-medium mb-3",children:"Installation Guide"}),(0,d.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-text-muted mb-1",children:"macOS / Linux / Windows:"}),(0,d.jsx)("code",{className:"block px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs",children:"npm install -g @anthropic-ai/claude-code"})]}),(0,d.jsxs)("p",{className:"text-text-muted",children:["After installation, run ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"claude"})," to verify."]})]})]})]}),!u&&s?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[s?.settings?.env?.ANTHROPIC_BASE_URL&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:s.settings.env.ANTHROPIC_BASE_URL})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(p=O||l).endsWith("/v1")?p:`${p}/v1`,onChange:a=>P(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),O&&O!==l&&(0,d.jsx)("button",{onClick:()=>P(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),n.length>0?(0,d.jsx)("select",{value:I,onChange:a=>J(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:n.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:o?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),a.defaultModels.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:a.name}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:h[a.alias]||"",onChange:b=>k(a.alias,b.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>{H(a.alias),F(!0)},disabled:!m,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${m?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),h[a.alias]&&(0,d.jsx)("button",{onClick:()=>k(a.alias,""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]},a.alias))]}),A&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===A.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===A.type?"check_circle":"error"}),(0,d.jsx)("span",{children:A.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:S,disabled:!m,loading:w,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:T,disabled:!s?.has9Router,loading:y,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>N(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:E,onClose:()=>F(!1),onSelect:a=>{G&&k(G,a.value)},selectedModel:G?h[G]:null,activeProviders:g,modelAliases:K,title:`Select model for ${G}`}),(0,d.jsx)(f.uR,{isOpen:M,onClose:()=>N(!1),title:"Claude CLI - Manual Configuration",configs:(q=I&&I.trim()?I:o?"<API_KEY_FROM_DASHBOARD>":"sk_9router",r={ANTHROPIC_BASE_URL:R(),ANTHROPIC_AUTH_TOKEN:q},a.defaultModels.forEach(a=>{let b=h[a.alias];b&&a.envKey&&(r[a.envKey]=b)}),[{filename:"~/.claude/settings.json",content:JSON.stringify({env:r},null,2)}])})]})}function l({tool:a,isExpanded:b,onToggle:c,baseUrl:g,apiKeys:h,activeProviders:j,cloudEnabled:k}){let l,m,n,[o,p]=(0,e.useState)(null),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(""),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)({}),[I,J]=(0,e.useState)(!1),[K,L]=(0,e.useState)(""),M=o?.installed?o.config?o.config.includes(g)||o.config.includes("localhost")||o.config.includes("127.0.0.1")?"configured":"other":"not_configured":null,N=()=>{let a=K||`${g}/v1`;return a.endsWith("/v1")?a:`${a}/v1`},O=async()=>{r(!0);try{let a=await fetch("/api/cli-tools/codex-settings"),b=await a.json();p(b)}catch(a){p({installed:!1,error:a.message})}finally{r(!1)}},P=async()=>{t(!0),x(null);try{let a=A&&A.trim()||k?A:"sk_9router",b=await fetch("/api/cli-tools/codex-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:N(),apiKey:a,model:C})}),c=await b.json();b.ok?(x({type:"success",text:"Settings applied successfully!"}),O()):x({type:"error",text:c.error||"Failed to apply settings"})}catch(a){x({type:"error",text:a.message})}finally{t(!1)}},Q=async()=>{v(!0),x(null);try{let a=await fetch("/api/cli-tools/codex-settings",{method:"DELETE"}),b=await a.json();a.ok?(x({type:"success",text:"Settings reset successfully!"}),D(""),O()):x({type:"error",text:b.error||"Failed to reset settings"})}catch(a){x({type:"error",text:a.message})}finally{v(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/codex.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===M&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[q&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Codex CLI..."})]}),!q&&o&&!o.installed&&(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Codex CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Codex CLI to use auto-apply feature."})]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:()=>z(!y),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px] mr-1",children:y?"expand_less":"help"}),y?"Hide":"How to Install"]})]}),y&&(0,d.jsxs)("div",{className:"p-4 bg-surface border border-border rounded-lg",children:[(0,d.jsx)("h4",{className:"font-medium mb-3",children:"Installation Guide"}),(0,d.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-text-muted mb-1",children:"macOS / Linux / Windows:"}),(0,d.jsx)("code",{className:"block px-3 py-2 bg-black/5 dark:bg-white/5 rounded font-mono text-xs",children:"npm install -g @openai/codex"})]}),(0,d.jsxs)("p",{className:"text-text-muted",children:["After installation, run ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"codex"})," to verify."]}),(0,d.jsx)("div",{className:"pt-2 border-t border-border",children:(0,d.jsxs)("p",{className:"text-text-muted text-xs",children:["Codex uses ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"~/.codex/auth.json"})," with ",(0,d.jsx)("code",{className:"px-1 bg-black/5 dark:bg-white/5 rounded",children:"OPENAI_API_KEY"}),'. Click "Apply" to auto-configure.']})})]})]})]}),!q&&o?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[o?.config&&((m=(l=o.config.match(/base_url\s*=\s*"([^"]+)"/))?l[1]:null)?(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:m})]}):null),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:K||`${g}/v1`,onChange:a=>L(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),K&&K!==`${g}/v1`&&(0,d.jsx)("button",{onClick:()=>L(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),h.length>0?(0,d.jsx)("select",{value:A,onChange:a=>B(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:h.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:k?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:C,onChange:a=>D(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>F(!0),disabled:!j?.length,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${j?.length?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),C&&(0,d.jsx)("button",{onClick:()=>D(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:P,disabled:!A||!C,loading:s,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:Q,disabled:!o.has9Router,loading:u,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>J(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:E,onClose:()=>F(!1),onSelect:a=>{D(a.value),F(!1)},selectedModel:C,activeProviders:j,modelAliases:G,title:"Select Model for Codex"}),(0,d.jsx)(f.uR,{isOpen:I,onClose:()=>J(!1),title:"Codex CLI - Manual Configuration",configs:(n=A&&A.trim()?A:k?"<API_KEY_FROM_DASHBOARD>":"sk_9router",[{filename:"~/.codex/config.toml",content:`# 9Router Configuration for Codex CLI
9
9
  model = "${C}"
10
10
  model_provider = "9router"
11
11
 
@@ -13,4 +13,4 @@ model_provider = "9router"
13
13
  name = "9Router"
14
14
  base_url = "${N()}"
15
15
  wire_api = "responses"
16
- `},{filename:"~/.codex/auth.json",content:JSON.stringify({OPENAI_API_KEY:n},null,2)}])})]})}let m="https://9router.com";function n({tool:a,isExpanded:b,onToggle:c,baseUrl:g,hasActiveProviders:h,apiKeys:j,activeProviders:k,cloudEnabled:l}){let n,o,p,q,[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(null),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)({}),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)("");(0,e.useRef)(!1);let N=(()=>{if(!r?.installed)return null;let a=r.settings?.customModels?.find(a=>"custom:9Router-0"===a.id);if(!a)return"not_configured";let b=a.baseUrl?.includes("localhost")||a.baseUrl?.includes("127.0.0.1"),c=l&&m&&a.baseUrl?.startsWith(m);return b||c?"configured":"other"})(),O=async()=>{u(!0);try{let a=await fetch("/api/cli-tools/droid-settings"),b=await a.json();s(b)}catch(a){s({installed:!1,error:a.message})}finally{u(!1)}},P=()=>{let a=L||g;return a.endsWith("/v1")?a:`${a}/v1`},Q=async()=>{w(!0),A(null);try{let a=B?.trim()||(j?.length>0?j[0].key:null)||(l?null:"sk_9router"),b=await fetch("/api/cli-tools/droid-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:P(),apiKey:a,model:D})}),c=await b.json();b.ok?(A({type:"success",text:"Settings applied successfully!"}),O()):A({type:"error",text:c.error||"Failed to apply settings"})}catch(a){A({type:"error",text:a.message})}finally{w(!1)}},R=async()=>{y(!0),A(null);try{let a=await fetch("/api/cli-tools/droid-settings",{method:"DELETE"}),b=await a.json();a.ok?(A({type:"success",text:"Settings reset successfully!"}),E(""),C(""),O()):A({type:"error",text:b.error||"Failed to reset settings"})}catch(a){A({type:"error",text:a.message})}finally{y(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/droid.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[t&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Factory Droid CLI..."})]}),!t&&r&&!r.installed&&(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Factory Droid CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Factory Droid CLI to use this feature."})]})]}),!t&&r?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[r?.settings?.customModels?.find(a=>"custom:9Router-0"===a.id)?.baseUrl&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:r.settings.customModels.find(a=>"custom:9Router-0"===a.id).baseUrl})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(n=L||g).endsWith("/v1")?n:`${n}/v1`,onChange:a=>M(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),L&&L!==g&&(0,d.jsx)("button",{onClick:()=>M(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),j.length>0?(0,d.jsx)("select",{value:B,onChange:a=>C(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:D,onChange:a=>E(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>G(!0),disabled:!h,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${h?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),D&&(0,d.jsx)("button",{onClick:()=>E(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),z&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===z.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===z.type?"check_circle":"error"}),(0,d.jsx)("span",{children:z.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:Q,disabled:!D,loading:v,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:R,disabled:!r?.has9Router,loading:x,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>K(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:F,onClose:()=>G(!1),onSelect:a=>{E(a.value),G(!1)},selectedModel:D,activeProviders:k,modelAliases:H,title:"Select Model for Factory Droid"}),(0,d.jsx)(f.uR,{isOpen:J,onClose:()=>K(!1),title:"Factory Droid - Manual Configuration",configs:(o=B&&B.trim()?B:l?"<API_KEY_FROM_DASHBOARD>":"sk_9router",p={customModels:[{model:D||"provider/model-id",id:"custom:9Router-0",index:0,baseUrl:P(),apiKey:o,displayName:D||"provider/model-id",maxOutputTokens:131072,noImageSupport:!1,provider:"openai"}]},q="u">typeof navigator&&navigator.platform,[{filename:q?.toLowerCase().includes("win")?"%USERPROFILE%\\.factory\\settings.json":"~/.factory/settings.json",content:JSON.stringify(p,null,2)}])})]})}function o({tool:a,isExpanded:b,onToggle:c,baseUrl:g,hasActiveProviders:h,apiKeys:j,activeProviders:k,cloudEnabled:l}){let m,n,[o,p]=(0,e.useState)(null),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(""),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)({}),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)("");(0,e.useRef)(!1);let K=(()=>{if(!o?.installed)return null;let a=o.settings?.models?.providers?.["9router"];return a?a.baseUrl?.includes("localhost")||a.baseUrl?.includes("127.0.0.1")||a.baseUrl?.includes("0.0.0.0")?"configured":"other":"not_configured"})(),L=async()=>{r(!0);try{let a=await fetch("/api/cli-tools/openclaw-settings"),b=await a.json();p(b)}catch(a){p({installed:!1,error:a.message})}finally{r(!1)}},M=()=>{let a=I||"http://127.0.0.1:20128";return a.endsWith("/v1")?a:`${a}/v1`},N=async()=>{t(!0),x(null);try{let a=y?.trim()||(j?.length>0?j[0].key:null)||(l?null:"sk_9router"),b=await fetch("/api/cli-tools/openclaw-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:M(),apiKey:a,model:A})}),c=await b.json();b.ok?(x({type:"success",text:"Settings applied successfully!"}),L()):x({type:"error",text:c.error||"Failed to apply settings"})}catch(a){x({type:"error",text:a.message})}finally{t(!1)}},O=async()=>{v(!0),x(null);try{let a=await fetch("/api/cli-tools/openclaw-settings",{method:"DELETE"}),b=await a.json();a.ok?(x({type:"success",text:"Settings reset successfully!"}),B(""),z(""),L()):x({type:"error",text:b.error||"Failed to reset settings"})}catch(a){x({type:"error",text:a.message})}finally{v(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/openclaw.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[q&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Open Claw CLI..."})]}),!q&&o&&!o.installed&&(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Open Claw CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Open Claw CLI to use this feature."})]})]}),!q&&o?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[o?.settings?.models?.providers?.["9router"]?.baseUrl&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:o.settings.models.providers["9router"].baseUrl})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(m=I||"http://127.0.0.1:20128").endsWith("/v1")?m:`${m}/v1`,onChange:a=>J(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),I&&I!==g&&(0,d.jsx)("button",{onClick:()=>J(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),j.length>0?(0,d.jsx)("select",{value:y,onChange:a=>z(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:A,onChange:a=>B(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>D(!0),disabled:!h,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${h?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),A&&(0,d.jsx)("button",{onClick:()=>B(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:N,disabled:!A,loading:s,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:O,disabled:!o?.has9Router,loading:u,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>H(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:C,onClose:()=>D(!1),onSelect:a=>{B(a.value),D(!1)},selectedModel:A,activeProviders:k,modelAliases:E,title:"Select Model for Open Claw"}),(0,d.jsx)(f.uR,{isOpen:G,onClose:()=>H(!1),title:"Open Claw - Manual Configuration",configs:(n=y&&y.trim()?y:l?"<API_KEY_FROM_DASHBOARD>":"sk_9router",[{filename:"~/.openclaw/openclaw.json",content:JSON.stringify({agents:{defaults:{model:{primary:`9router/${A||"provider/model-id"}`}}},models:{providers:{"9router":{baseUrl:M(),apiKey:n,api:"openai-completions",models:[{id:A||"provider/model-id",name:(A||"provider/model-id").split("/").pop()}]}}}},null,2)}])})]})}function p({toolId:a,tool:b,isExpanded:c,onToggle:g,baseUrl:h,apiKeys:j,activeProviders:k=[],cloudEnabled:l=!1}){let[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(""),[s,t]=(0,e.useState)(()=>j?.length>0?j[0].key:""),u=a=>{let b=s&&s.trim()?s:l?"your-api-key":"sk_9router",c=h||"http://localhost:20128",d=c.endsWith("/v1")?c:`${c}/v1`;return a.replace(/\{\{baseUrl\}\}/g,d).replace(/\{\{apiKey\}\}/g,b).replace(/\{\{model\}\}/g,q||"provider/model-id")},v=async(a,b)=>{await navigator.clipboard.writeText(u(a)),n(b),setTimeout(()=>n(null),2e3)},w=k.length>0,x=()=>!b.requiresCloud||!!l;return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:g,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 rounded-lg flex items-center justify-center shrink-0",children:b.image?(0,d.jsx)(i.default,{src:b.image,alt:b.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}}):b.icon?(0,d.jsx)("span",{className:"material-symbols-outlined text-xl",style:{color:b.color},children:b.icon}):(0,d.jsx)(i.default,{src:`/providers/${a}.png`,alt:b.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:b.name}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:b.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${c?"rotate-180":""}`,children:"expand_more"})]}),c&&(0,d.jsx)("div",{className:"mt-6 pt-6 border-t border-border",children:b.guideSteps?(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[b.notes&&0!==b.notes.length?(0,d.jsx)("div",{className:"flex flex-col gap-2 mb-4",children:b.notes.map((a,b)=>{if("cloudCheck"===a.type&&l)return null;let c="warning"===a.type,e="cloudCheck"===a.type&&!l,f="bg-blue-500/10 border-blue-500/30",g="text-blue-600 dark:text-blue-400",h="text-blue-500",i="info";return c?(f="bg-yellow-500/10 border-yellow-500/30",g="text-yellow-600 dark:text-yellow-400",h="text-yellow-500",i="warning"):e&&(f="bg-red-500/10 border-red-500/30",g="text-red-600 dark:text-red-400",h="text-red-500",i="error"),(0,d.jsxs)("div",{className:`flex items-start gap-3 p-3 rounded-lg border ${f}`,children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-lg ${h}`,children:i}),(0,d.jsx)("p",{className:`text-sm ${g}`,children:a.text})]},b)})}):null,x()&&b.guideSteps.map(a=>(0,d.jsxs)("div",{className:"flex items-start gap-4",children:[(0,d.jsx)("div",{className:"size-8 rounded-full flex items-center justify-center shrink-0 text-sm font-semibold text-white",style:{backgroundColor:b.color},children:a.step}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-text",children:a.title}),a.desc&&(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:a.desc}),"apiKeySelector"===a.type&&(0,d.jsx)("div",{className:"mt-2 flex items-center gap-2",children:j&&j.length>0?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("select",{value:s,onChange:a=>t(a.target.value),className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}),(0,d.jsx)("button",{onClick:()=>v(s,"apiKey"),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"apiKey"===m?"check":"content_copy"})})]}):(0,d.jsx)("span",{className:"text-sm text-text-muted",children:l?"No API keys - Create one in Keys page":"sk_9router"})}),"modelSelector"===a.type&&(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,d.jsx)("input",{type:"text",value:q,onChange:a=>r(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm border border-border focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>p(!0),disabled:!w,className:`shrink-0 px-3 py-2 rounded-lg border text-sm transition-colors ${w?"bg-bg-secondary border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),q&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:()=>v(q,"model"),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"model"===m?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>r(""),className:"p-2 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"close"})})]})]}),a.value&&(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,d.jsx)("code",{className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm font-mono border border-border truncate",children:u(a.value)}),a.copyable&&(0,d.jsx)("button",{onClick:()=>v(a.value,`${a.step}-${a.title}`),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:m===`${a.step}-${a.title}`?"check":"content_copy"})})]})]})]},a.step)),x()&&b.codeBlock&&(0,d.jsxs)("div",{className:"mt-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted uppercase tracking-wide",children:b.codeBlock.language}),(0,d.jsxs)("button",{onClick:()=>v(b.codeBlock.code,"codeblock"),className:"flex items-center gap-1 px-2 py-1 text-xs bg-bg-secondary hover:bg-bg-tertiary rounded border border-border transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"codeblock"===m?"check":"content_copy"}),"codeblock"===m?"Copied!":"Copy"]})]}),(0,d.jsx)("pre",{className:"p-4 bg-bg-secondary rounded-lg border border-border overflow-x-auto",children:(0,d.jsx)("code",{className:"text-sm font-mono whitespace-pre",children:u(b.codeBlock.code)})})]})]}):(0,d.jsx)("p",{className:"text-text-muted text-sm",children:"Coming soon..."})}),(0,d.jsx)(f.rq,{isOpen:o,onClose:()=>p(!1),onSelect:a=>{r(a.value)},selectedModel:q,activeProviders:k,title:"Select Model"})]})}function q({tool:a,isExpanded:b,onToggle:c,baseUrl:g,apiKeys:h,activeProviders:j,hasActiveProviders:k,cloudEnabled:l}){let[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)(""),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)({}),[A,B]=(0,e.useState)(!1),[C,D]=(0,e.useState)(null),E=async()=>{try{let a=await fetch("/api/cli-tools/antigravity-mitm");if(a.ok){let b=await a.json();n(b)}}catch(a){console.log("Error fetching status:",a),n({running:!1})}},F="u">typeof navigator&&navigator.userAgent?.includes("Windows"),G=async a=>{p(!0),x(null);try{let b=u?.trim()||(h?.length>0?h[0].key:null)||(l?null:"sk_9router"),c=await fetch("/api/cli-tools/antigravity-mitm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:b,sudoPassword:a})}),d=await c.json();c.ok?(x({type:"success",text:"MITM started"}),r(!1),t(""),E()):x({type:"error",text:d.error||"Failed to start"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},H=async a=>{p(!0),x(null);try{let b=await fetch("/api/cli-tools/antigravity-mitm",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:a})}),c=await b.json();b.ok?(x({type:"success",text:"MITM stopped"}),r(!1),t(""),E()):x({type:"error",text:c.error||"Failed to stop"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},I=()=>{s.trim()?m?.running?H(s):G(s):x({type:"error",text:"Sudo password is required"})},J=(a,b)=>{z(c=>({...c,[a]:b}))},K=async()=>{p(!0),x(null);try{let a=await fetch("/api/cli-tools/antigravity-mitm/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tool:"antigravity",mappings:y})});if(!a.ok){let b=await a.json();throw Error(b.error||"Failed to save mappings")}x({type:"success",text:"Mappings saved!"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},L=m?.running;return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/antigravity.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),L?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Active"}):(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"Inactive"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"flex items-center gap-2",children:L?(0,d.jsxs)("button",{onClick:()=>{F||m?.hasCachedPassword?H(""):(r(!0),x(null))},disabled:o,className:"px-4 py-2 rounded-lg bg-red-500/10 border border-red-500/30 text-red-500 font-medium text-sm flex items-center gap-2 hover:bg-red-500/20 transition-colors disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"stop_circle"}),"Stop MITM"]}):(0,d.jsxs)("button",{onClick:()=>{F||m?.hasCachedPassword?G(""):(r(!0),x(null))},disabled:o||!k,className:"px-4 py-2 rounded-lg bg-primary/10 border border-primary/30 text-primary font-medium text-sm flex items-center gap-2 hover:bg-primary/20 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"play_circle"}),"Start MITM"]})}),w?.type==="error"&&(0,d.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1.5 rounded text-xs bg-red-500/10 text-red-600",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),(0,d.jsx)("span",{children:w.text})]}),L&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),h.length>0?(0,d.jsx)("select",{value:u,onChange:a=>v(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:h.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),a.defaultModels.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:a.name}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:y[a.alias]||"",onChange:b=>J(a.alias,b.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>{D(a.alias),B(!0)},disabled:!k,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${k?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select"}),y[a.alias]&&(0,d.jsx)("button",{onClick:()=>J(a.alias,""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]},a.alias)),(0,d.jsx)("div",{className:"flex items-center gap-2",children:(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:K,disabled:o||0===Object.keys(y).length,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Save Mappings"]})})]}),!L&&(0,d.jsxs)("div",{className:"flex flex-col gap-1.5 px-1",children:[(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:[(0,d.jsx)("span",{className:"font-medium text-text-main",children:"How it works:"})," Intercepts Antigravity traffic via DNS redirect, letting you reroute models through 9Router."]}),(0,d.jsxs)("div",{className:"flex flex-col gap-0.5 text-[11px] text-text-muted",children:[(0,d.jsx)("span",{children:"1. Generates SSL cert & adds to system keychain"}),(0,d.jsxs)("span",{children:["2. Redirects ",(0,d.jsx)("code",{className:"text-[10px] bg-surface px-1 rounded",children:"daily-cloudcode-pa.googleapis.com"})," → localhost"]}),(0,d.jsx)("span",{children:"3. Maps Antigravity models to any provider via 9Router"})]})]})]}),(0,d.jsx)(f.aF,{isOpen:q,onClose:()=>{r(!1),t(""),x(null)},title:"Sudo Password Required",size:"sm",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500 text-[20px]",children:"warning"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Required for SSL certificate and DNS configuration"})]}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Enter sudo password",value:s,onChange:a=>t(a.target.value),onKeyDown:a=>{"Enter"!==a.key||o||I()}}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",size:"sm",onClick:()=>{r(!1),t(""),x(null)},disabled:o,children:"Cancel"}),(0,d.jsx)(f.$n,{variant:"primary",size:"sm",onClick:I,loading:o,children:"Confirm"})]})]})}),(0,d.jsx)(f.rq,{isOpen:A,onClose:()=>B(!1),onSelect:a=>{C&&z(b=>({...b,[C]:a.value}))},selectedModel:C?y[C]:null,activeProviders:j,title:`Select model for ${C}`})]})}let r="https://9router.com";function s({machineId:a}){let b,c,i,[j,m]=(0,e.useState)([]),[s,t]=(0,e.useState)(!0),[u,v]=(0,e.useState)(null),[w,x]=(0,e.useState)({}),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)([]),C=()=>j.filter(a=>!1!==a.isActive),D=(0,e.useCallback)((a,b,c)=>{x(d=>d[a]?.[b]===c?d:{...d,[a]:{...d[a],[b]:c}})},[]);if(s)return(0,d.jsx)("div",{className:"flex flex-col gap-6",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{})]})});let E=(b=C(),c=[],i=new Set,b.forEach(a=>{let b=h.Xg[a.provider]||a.provider;(0,h.KC)(a.provider).forEach(d=>{let e=`${b}/${d.id}`;i.has(e)||(i.add(e),c.push({value:e,label:`${b}/${d.id}`,provider:a.provider,alias:b,connectionName:a.name,modelId:d.id}))})}),c).length>0;return(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[!E&&(0,d.jsx)(f.Zp,{className:"border-yellow-500/50 bg-yellow-500/5",children:(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"No active providers"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please add and connect providers first to configure CLI tools."})]})]})}),(0,d.jsx)("div",{className:"flex flex-col gap-4",children:Object.entries(g).map(([a,b])=>((a,b)=>{let c={tool:b,isExpanded:u===a,onToggle:()=>v(u===a?null:a),baseUrl:y&&r?r:"http://localhost:20128",apiKeys:A};switch(a){case"claude":return(0,d.jsx)(k,{...c,activeProviders:C(),modelMappings:w[a]||{},onModelMappingChange:(b,c)=>D(a,b,c),hasActiveProviders:E,cloudEnabled:y},a);case"codex":return(0,d.jsx)(l,{...c,activeProviders:C(),cloudEnabled:y},a);case"droid":return(0,d.jsx)(n,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);case"openclaw":return(0,d.jsx)(o,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);case"antigravity":return(0,d.jsx)(q,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);default:return(0,d.jsx)(p,{toolId:a,...c,activeProviders:C(),cloudEnabled:y},a)}})(a,b))})]})}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5270,7471,3919,4822,2760,9718,8954,412,1164],()=>b(b.s=55268));module.exports=c})();
16
+ `},{filename:"~/.codex/auth.json",content:JSON.stringify({OPENAI_API_KEY:n},null,2)}])})]})}let m="https://9router.com";function n({tool:a,isExpanded:b,onToggle:c,baseUrl:g,hasActiveProviders:h,apiKeys:j,activeProviders:k,cloudEnabled:l}){let n,o,p,q,[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)(!1),[v,w]=(0,e.useState)(!1),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(null),[B,C]=(0,e.useState)(""),[D,E]=(0,e.useState)(""),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)({}),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)("");(0,e.useRef)(!1);let N=(()=>{if(!r?.installed)return null;let a=r.settings?.customModels?.find(a=>"custom:9Router-0"===a.id);if(!a)return"not_configured";let b=a.baseUrl?.includes("localhost")||a.baseUrl?.includes("127.0.0.1"),c=l&&m&&a.baseUrl?.startsWith(m);return b||c?"configured":"other"})(),O=async()=>{u(!0);try{let a=await fetch("/api/cli-tools/droid-settings"),b=await a.json();s(b)}catch(a){s({installed:!1,error:a.message})}finally{u(!1)}},P=()=>{let a=L||g;return a.endsWith("/v1")?a:`${a}/v1`},Q=async()=>{w(!0),A(null);try{let a=B?.trim()||(j?.length>0?j[0].key:null)||(l?null:"sk_9router"),b=await fetch("/api/cli-tools/droid-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:P(),apiKey:a,model:D})}),c=await b.json();b.ok?(A({type:"success",text:"Settings applied successfully!"}),O()):A({type:"error",text:c.error||"Failed to apply settings"})}catch(a){A({type:"error",text:a.message})}finally{w(!1)}},R=async()=>{y(!0),A(null);try{let a=await fetch("/api/cli-tools/droid-settings",{method:"DELETE"}),b=await a.json();a.ok?(A({type:"success",text:"Settings reset successfully!"}),E(""),C(""),O()):A({type:"error",text:b.error||"Failed to reset settings"})}catch(a){A({type:"error",text:a.message})}finally{y(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/droid.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===N&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[t&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Factory Droid CLI..."})]}),!t&&r&&!r.installed&&(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Factory Droid CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Factory Droid CLI to use this feature."})]})]}),!t&&r?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[r?.settings?.customModels?.find(a=>"custom:9Router-0"===a.id)?.baseUrl&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:r.settings.customModels.find(a=>"custom:9Router-0"===a.id).baseUrl})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(n=L||g).endsWith("/v1")?n:`${n}/v1`,onChange:a=>M(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),L&&L!==g&&(0,d.jsx)("button",{onClick:()=>M(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),j.length>0?(0,d.jsx)("select",{value:B,onChange:a=>C(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:D,onChange:a=>E(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>G(!0),disabled:!h,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${h?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),D&&(0,d.jsx)("button",{onClick:()=>E(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),z&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===z.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===z.type?"check_circle":"error"}),(0,d.jsx)("span",{children:z.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:Q,disabled:!D,loading:v,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:R,disabled:!r?.has9Router,loading:x,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>K(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:F,onClose:()=>G(!1),onSelect:a=>{E(a.value),G(!1)},selectedModel:D,activeProviders:k,modelAliases:H,title:"Select Model for Factory Droid"}),(0,d.jsx)(f.uR,{isOpen:J,onClose:()=>K(!1),title:"Factory Droid - Manual Configuration",configs:(o=B&&B.trim()?B:l?"<API_KEY_FROM_DASHBOARD>":"sk_9router",p={customModels:[{model:D||"provider/model-id",id:"custom:9Router-0",index:0,baseUrl:P(),apiKey:o,displayName:D||"provider/model-id",maxOutputTokens:131072,noImageSupport:!1,provider:"openai"}]},q="u">typeof navigator&&navigator.platform,[{filename:q?.toLowerCase().includes("win")?"%USERPROFILE%\\.factory\\settings.json":"~/.factory/settings.json",content:JSON.stringify(p,null,2)}])})]})}function o({tool:a,isExpanded:b,onToggle:c,baseUrl:g,hasActiveProviders:h,apiKeys:j,activeProviders:k,cloudEnabled:l}){let m,n,[o,p]=(0,e.useState)(null),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(""),[A,B]=(0,e.useState)(""),[C,D]=(0,e.useState)(!1),[E,F]=(0,e.useState)({}),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)("");(0,e.useRef)(!1);let K=(()=>{if(!o?.installed)return null;let a=o.settings?.models?.providers?.["9router"];return a?a.baseUrl?.includes("localhost")||a.baseUrl?.includes("127.0.0.1")||a.baseUrl?.includes("0.0.0.0")?"configured":"other":"not_configured"})(),L=async()=>{r(!0);try{let a=await fetch("/api/cli-tools/openclaw-settings"),b=await a.json();p(b)}catch(a){p({installed:!1,error:a.message})}finally{r(!1)}},M=()=>{let a=I||"http://127.0.0.1:20128";return a.endsWith("/v1")?a:`${a}/v1`},N=async()=>{t(!0),x(null);try{let a=y?.trim()||(j?.length>0?j[0].key:null)||(l?null:"sk_9router"),b=await fetch("/api/cli-tools/openclaw-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({baseUrl:M(),apiKey:a,model:A})}),c=await b.json();b.ok?(x({type:"success",text:"Settings applied successfully!"}),L()):x({type:"error",text:c.error||"Failed to apply settings"})}catch(a){x({type:"error",text:a.message})}finally{t(!1)}},O=async()=>{v(!0),x(null);try{let a=await fetch("/api/cli-tools/openclaw-settings",{method:"DELETE"}),b=await a.json();a.ok?(x({type:"success",text:"Settings reset successfully!"}),B(""),z(""),L()):x({type:"error",text:b.error||"Failed to reset settings"})}catch(a){x({type:"error",text:a.message})}finally{v(!1)}};return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/openclaw.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),"configured"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-green-500/10 text-green-600 dark:text-green-400 rounded-full",children:"Connected"}),"not_configured"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-yellow-500/10 text-yellow-600 dark:text-yellow-400 rounded-full",children:"Not configured"}),"other"===K&&(0,d.jsx)("span",{className:"px-1.5 py-0.5 text-[10px] font-medium bg-blue-500/10 text-blue-600 dark:text-blue-400 rounded-full",children:"Other"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[q&&(0,d.jsxs)("div",{className:"flex items-center gap-2 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin",children:"progress_activity"}),(0,d.jsx)("span",{children:"Checking Open Claw CLI..."})]}),!q&&o&&!o.installed&&(0,d.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"Open Claw CLI not installed"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please install Open Claw CLI to use this feature."})]})]}),!q&&o?.installed&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[o?.settings?.models?.providers?.["9router"]?.baseUrl&&(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Current"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("span",{className:"flex-1 px-2 py-1.5 text-xs text-text-muted truncate",children:o.settings.models.providers["9router"].baseUrl})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Base URL"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:(m=I||"http://127.0.0.1:20128").endsWith("/v1")?m:`${m}/v1`,onChange:a=>J(a.target.value),placeholder:"https://.../v1",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),I&&I!==g&&(0,d.jsx)("button",{onClick:()=>J(""),className:"p-1 text-text-muted hover:text-primary rounded transition-colors",title:"Reset to default",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"restart_alt"})})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),j.length>0?(0,d.jsx)("select",{value:y,onChange:a=>z(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"Model"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:A,onChange:a=>B(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>D(!0),disabled:!h,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${h?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),A&&(0,d.jsx)("button",{onClick:()=>B(""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})]}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:N,disabled:!A,loading:s,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Apply"]}),(0,d.jsxs)(f.$n,{variant:"outline",size:"sm",onClick:O,disabled:!o?.has9Router,loading:u,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"restore"}),"Reset"]}),(0,d.jsxs)(f.$n,{variant:"ghost",size:"sm",onClick:()=>H(!0),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"content_copy"}),"Manual Config"]})]})]})]}),(0,d.jsx)(f.rq,{isOpen:C,onClose:()=>D(!1),onSelect:a=>{B(a.value),D(!1)},selectedModel:A,activeProviders:k,modelAliases:E,title:"Select Model for Open Claw"}),(0,d.jsx)(f.uR,{isOpen:G,onClose:()=>H(!1),title:"Open Claw - Manual Configuration",configs:(n=y&&y.trim()?y:l?"<API_KEY_FROM_DASHBOARD>":"sk_9router",[{filename:"~/.openclaw/openclaw.json",content:JSON.stringify({agents:{defaults:{model:{primary:`9router/${A||"provider/model-id"}`}}},models:{providers:{"9router":{baseUrl:M(),apiKey:n,api:"openai-completions",models:[{id:A||"provider/model-id",name:(A||"provider/model-id").split("/").pop()}]}}}},null,2)}])})]})}function p({toolId:a,tool:b,isExpanded:c,onToggle:g,baseUrl:h,apiKeys:j,activeProviders:k=[],cloudEnabled:l=!1}){let[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(""),[s,t]=(0,e.useState)(()=>j?.length>0?j[0].key:""),u=a=>{let b=s&&s.trim()?s:l?"your-api-key":"sk_9router",c=h||"http://localhost:20128",d=c.endsWith("/v1")?c:`${c}/v1`;return a.replace(/\{\{baseUrl\}\}/g,d).replace(/\{\{apiKey\}\}/g,b).replace(/\{\{model\}\}/g,q||"provider/model-id")},v=async(a,b)=>{await navigator.clipboard.writeText(u(a)),n(b),setTimeout(()=>n(null),2e3)},w=k.length>0,x=()=>!b.requiresCloud||!!l;return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:g,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 rounded-lg flex items-center justify-center shrink-0",children:b.image?(0,d.jsx)(i.default,{src:b.image,alt:b.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}}):b.icon?(0,d.jsx)("span",{className:"material-symbols-outlined text-xl",style:{color:b.color},children:b.icon}):(0,d.jsx)(i.default,{src:`/providers/${a}.png`,alt:b.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:b.name}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:b.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${c?"rotate-180":""}`,children:"expand_more"})]}),c&&(0,d.jsx)("div",{className:"mt-6 pt-6 border-t border-border",children:b.guideSteps?(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[b.notes&&0!==b.notes.length?(0,d.jsx)("div",{className:"flex flex-col gap-2 mb-4",children:b.notes.map((a,b)=>{if("cloudCheck"===a.type&&l)return null;let c="warning"===a.type,e="cloudCheck"===a.type&&!l,f="bg-blue-500/10 border-blue-500/30",g="text-blue-600 dark:text-blue-400",h="text-blue-500",i="info";return c?(f="bg-yellow-500/10 border-yellow-500/30",g="text-yellow-600 dark:text-yellow-400",h="text-yellow-500",i="warning"):e&&(f="bg-red-500/10 border-red-500/30",g="text-red-600 dark:text-red-400",h="text-red-500",i="error"),(0,d.jsxs)("div",{className:`flex items-start gap-3 p-3 rounded-lg border ${f}`,children:[(0,d.jsx)("span",{className:`material-symbols-outlined text-lg ${h}`,children:i}),(0,d.jsx)("p",{className:`text-sm ${g}`,children:a.text})]},b)})}):null,x()&&b.guideSteps.map(a=>(0,d.jsxs)("div",{className:"flex items-start gap-4",children:[(0,d.jsx)("div",{className:"size-8 rounded-full flex items-center justify-center shrink-0 text-sm font-semibold text-white",style:{backgroundColor:b.color},children:a.step}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-text",children:a.title}),a.desc&&(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:a.desc}),"apiKeySelector"===a.type&&(0,d.jsx)("div",{className:"mt-2 flex items-center gap-2",children:j&&j.length>0?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("select",{value:s,onChange:a=>t(a.target.value),className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:j.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}),(0,d.jsx)("button",{onClick:()=>v(s,"apiKey"),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"apiKey"===m?"check":"content_copy"})})]}):(0,d.jsx)("span",{className:"text-sm text-text-muted",children:l?"No API keys - Create one in Keys page":"sk_9router"})}),"modelSelector"===a.type&&(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,d.jsx)("input",{type:"text",value:q,onChange:a=>r(a.target.value),placeholder:"provider/model-id",className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm border border-border focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>p(!0),disabled:!w,className:`shrink-0 px-3 py-2 rounded-lg border text-sm transition-colors ${w?"bg-bg-secondary border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select Model"}),q&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("button",{onClick:()=>v(q,"model"),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"model"===m?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>r(""),className:"p-2 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"close"})})]})]}),a.value&&(0,d.jsxs)("div",{className:"mt-2 flex items-center gap-2",children:[(0,d.jsx)("code",{className:"flex-1 px-3 py-2 bg-bg-secondary rounded-lg text-sm font-mono border border-border truncate",children:u(a.value)}),a.copyable&&(0,d.jsx)("button",{onClick:()=>v(a.value,`${a.step}-${a.title}`),className:"shrink-0 px-3 py-2 bg-bg-secondary hover:bg-bg-tertiary rounded-lg border border-border transition-colors",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:m===`${a.step}-${a.title}`?"check":"content_copy"})})]})]})]},a.step)),x()&&b.codeBlock&&(0,d.jsxs)("div",{className:"mt-2",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted uppercase tracking-wide",children:b.codeBlock.language}),(0,d.jsxs)("button",{onClick:()=>v(b.codeBlock.code,"codeblock"),className:"flex items-center gap-1 px-2 py-1 text-xs bg-bg-secondary hover:bg-bg-tertiary rounded border border-border transition-colors",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"codeblock"===m?"check":"content_copy"}),"codeblock"===m?"Copied!":"Copy"]})]}),(0,d.jsx)("pre",{className:"p-4 bg-bg-secondary rounded-lg border border-border overflow-x-auto",children:(0,d.jsx)("code",{className:"text-sm font-mono whitespace-pre",children:u(b.codeBlock.code)})})]})]}):(0,d.jsx)("p",{className:"text-text-muted text-sm",children:"Coming soon..."})}),(0,d.jsx)(f.rq,{isOpen:o,onClose:()=>p(!1),onSelect:a=>{r(a.value)},selectedModel:q,activeProviders:k,title:"Select Model"})]})}function q({tool:a,isExpanded:b,onToggle:c,baseUrl:g,apiKeys:h,activeProviders:j,hasActiveProviders:k,cloudEnabled:l}){let[m,n]=(0,e.useState)(null),[o,p]=(0,e.useState)(!1),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(""),[u,v]=(0,e.useState)(""),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)({}),[A,B]=(0,e.useState)(!1),[C,D]=(0,e.useState)(null),E=async()=>{try{let a=await fetch("/api/cli-tools/antigravity-mitm");if(a.ok){let b=await a.json();n(b)}}catch(a){console.log("Error fetching status:",a),n({running:!1})}},F="u">typeof navigator&&navigator.userAgent?.includes("Windows"),G=async a=>{p(!0),x(null);try{let b=u?.trim()||(h?.length>0?h[0].key:null)||(l?null:"sk_9router"),c=await fetch("/api/cli-tools/antigravity-mitm",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:b,sudoPassword:a})}),d=await c.json();c.ok?(x({type:"success",text:"MITM started"}),r(!1),t(""),E()):x({type:"error",text:d.error||"Failed to start"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},H=async a=>{p(!0),x(null);try{let b=await fetch("/api/cli-tools/antigravity-mitm",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:a})}),c=await b.json();b.ok?(x({type:"success",text:"MITM stopped"}),r(!1),t(""),E()):x({type:"error",text:c.error||"Failed to stop"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},I=()=>{s.trim()?m?.running?H(s):G(s):x({type:"error",text:"Sudo password is required"})},J=(a,b)=>{z(c=>({...c,[a]:b}))},K=async()=>{p(!0),x(null);try{let a=await fetch("/api/cli-tools/antigravity-mitm/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({tool:"antigravity",mappings:y})});if(!a.ok){let b=await a.json();throw Error(b.error||"Failed to save mappings")}x({type:"success",text:"Mappings saved!"})}catch(a){x({type:"error",text:a.message})}finally{p(!1)}},L=m?.running;return(0,d.jsxs)(f.Zp,{padding:"sm",className:"overflow-hidden",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between hover:cursor-pointer",onClick:c,children:[(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:(0,d.jsx)(i.default,{src:"/providers/antigravity.png",alt:a.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:a=>{a.target.style.display="none"}})}),(0,d.jsxs)("div",{className:"min-w-0",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("h3",{className:"font-medium text-sm",children:a.name}),L?(0,d.jsx)(f.Ex,{variant:"success",size:"sm",children:"Active"}):(0,d.jsx)(f.Ex,{variant:"default",size:"sm",children:"Inactive"})]}),(0,d.jsx)("p",{className:"text-xs text-text-muted truncate",children:a.description})]})]}),(0,d.jsx)("span",{className:`material-symbols-outlined text-text-muted text-[20px] transition-transform ${b?"rotate-180":""}`,children:"expand_more"})]}),b&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"flex items-center gap-2",children:L?(0,d.jsxs)("button",{onClick:()=>{F||m?.hasCachedPassword?H(""):(r(!0),x(null))},disabled:o,className:"px-4 py-2 rounded-lg bg-red-500/10 border border-red-500/30 text-red-500 font-medium text-sm flex items-center gap-2 hover:bg-red-500/20 transition-colors disabled:opacity-50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"stop_circle"}),"Stop MITM"]}):(0,d.jsxs)("button",{onClick:()=>{F||m?.hasCachedPassword?G(""):(r(!0),x(null))},disabled:o||!k,className:"px-4 py-2 rounded-lg bg-primary/10 border border-primary/30 text-primary font-medium text-sm flex items-center gap-2 hover:bg-primary/20 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"play_circle"}),"Start MITM"]})}),w?.type==="error"&&(0,d.jsxs)("div",{className:"flex items-center gap-2 px-2 py-1.5 rounded text-xs bg-red-500/10 text-red-600",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"error"}),(0,d.jsx)("span",{children:w.text})]}),L&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:"API Key"}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),h.length>0?(0,d.jsx)("select",{value:u,onChange:a=>v(a.target.value),className:"flex-1 px-2 py-1.5 bg-surface rounded text-xs border border-border focus:outline-none focus:ring-1 focus:ring-primary/50",children:h.map(a=>(0,d.jsx)("option",{value:a.key,children:a.key},a.id))}):(0,d.jsx)("span",{className:"flex-1 text-xs text-text-muted px-2 py-1.5",children:l?"No API keys - Create one in Keys page":"sk_9router (default)"})]}),a.defaultModels.map(a=>(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"w-32 shrink-0 text-sm font-semibold text-text-main text-right",children:a.name}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[14px]",children:"arrow_forward"}),(0,d.jsx)("input",{type:"text",value:y[a.alias]||"",onChange:b=>J(a.alias,b.target.value),placeholder:"provider/model-id",className:"flex-1 px-2 py-1.5 bg-surface rounded border border-border text-xs focus:outline-none focus:ring-1 focus:ring-primary/50"}),(0,d.jsx)("button",{onClick:()=>{D(a.alias),B(!0)},disabled:!k,className:`px-2 py-1.5 rounded border text-xs transition-colors shrink-0 whitespace-nowrap ${k?"bg-surface border-border text-text-main hover:border-primary cursor-pointer":"opacity-50 cursor-not-allowed border-border"}`,children:"Select"}),y[a.alias]&&(0,d.jsx)("button",{onClick:()=>J(a.alias,""),className:"p-1 text-text-muted hover:text-red-500 rounded transition-colors",title:"Clear",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]},a.alias)),(0,d.jsx)("div",{className:"flex items-center gap-2",children:(0,d.jsxs)(f.$n,{variant:"primary",size:"sm",onClick:K,disabled:o||0===Object.keys(y).length,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] mr-1",children:"save"}),"Save Mappings"]})})]}),!L&&(0,d.jsxs)("div",{className:"flex flex-col gap-1.5 px-1",children:[(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:[(0,d.jsx)("span",{className:"font-medium text-text-main",children:"How it works:"})," Intercepts Antigravity traffic via DNS redirect, letting you reroute models through 9Router."]}),(0,d.jsxs)("div",{className:"flex flex-col gap-0.5 text-[11px] text-text-muted",children:[(0,d.jsx)("span",{children:"1. Generates SSL cert & adds to system keychain"}),(0,d.jsxs)("span",{children:["2. Redirects ",(0,d.jsx)("code",{className:"text-[10px] bg-surface px-1 rounded",children:"daily-cloudcode-pa.googleapis.com"})," → localhost"]}),(0,d.jsx)("span",{children:"3. Maps Antigravity models to any provider via 9Router"})]})]})]}),(0,d.jsx)(f.aF,{isOpen:q,onClose:()=>{r(!1),t(""),x(null)},title:"Sudo Password Required",size:"sm",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start gap-3 p-3 bg-yellow-500/10 border border-yellow-500/30 rounded-lg",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500 text-[20px]",children:"warning"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Required for SSL certificate and DNS configuration"})]}),(0,d.jsx)(f.pd,{type:"password",placeholder:"Enter sudo password",value:s,onChange:a=>t(a.target.value),onKeyDown:a=>{"Enter"!==a.key||o||I()}}),w&&(0,d.jsxs)("div",{className:`flex items-center gap-2 px-2 py-1.5 rounded text-xs ${"success"===w.type?"bg-green-500/10 text-green-600":"bg-red-500/10 text-red-600"}`,children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"success"===w.type?"check_circle":"error"}),(0,d.jsx)("span",{children:w.text})]}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,d.jsx)(f.$n,{variant:"ghost",size:"sm",onClick:()=>{r(!1),t(""),x(null)},disabled:o,children:"Cancel"}),(0,d.jsx)(f.$n,{variant:"primary",size:"sm",onClick:I,loading:o,children:"Confirm"})]})]})}),(0,d.jsx)(f.rq,{isOpen:A,onClose:()=>B(!1),onSelect:a=>{C&&z(b=>({...b,[C]:a.value}))},selectedModel:C?y[C]:null,activeProviders:j,title:`Select model for ${C}`})]})}let r="https://9router.com";function s({machineId:a}){let b,c,i,[j,m]=(0,e.useState)([]),[s,t]=(0,e.useState)(!0),[u,v]=(0,e.useState)(null),[w,x]=(0,e.useState)({}),[y,z]=(0,e.useState)(!1),[A,B]=(0,e.useState)([]),C=()=>j.filter(a=>!1!==a.isActive),D=(0,e.useCallback)((a,b,c)=>{x(d=>d[a]?.[b]===c?d:{...d,[a]:{...d[a],[b]:c}})},[]);if(s)return(0,d.jsx)("div",{className:"flex flex-col gap-6",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{}),(0,d.jsx)(f.Qv,{})]})});let E=(b=C(),c=[],i=new Set,b.forEach(a=>{let b=h.Xg[a.provider]||a.provider;(0,h.KC)(a.provider).forEach(d=>{let e=`${b}/${d.id}`;i.has(e)||(i.add(e),c.push({value:e,label:`${b}/${d.id}`,provider:a.provider,alias:b,connectionName:a.name,modelId:d.id}))})}),c).length>0;return(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[!E&&(0,d.jsx)(f.Zp,{className:"border-yellow-500/50 bg-yellow-500/5",children:(0,d.jsxs)("div",{className:"flex items-center gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-yellow-500",children:"warning"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-yellow-600 dark:text-yellow-400",children:"No active providers"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Please add and connect providers first to configure CLI tools."})]})]})}),(0,d.jsx)("div",{className:"flex flex-col gap-4",children:Object.entries(g).map(([a,b])=>((a,b)=>{let c={tool:b,isExpanded:u===a,onToggle:()=>v(u===a?null:a),baseUrl:y&&r?r:"http://localhost:20128",apiKeys:A};switch(a){case"claude":return(0,d.jsx)(k,{...c,activeProviders:C(),modelMappings:w[a]||{},onModelMappingChange:(b,c)=>D(a,b,c),hasActiveProviders:E,cloudEnabled:y},a);case"codex":return(0,d.jsx)(l,{...c,activeProviders:C(),cloudEnabled:y},a);case"droid":return(0,d.jsx)(n,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);case"openclaw":return(0,d.jsx)(o,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);case"antigravity":return(0,d.jsx)(q,{...c,activeProviders:C(),hasActiveProviders:E,cloudEnabled:y},a);default:return(0,d.jsx)(p,{toolId:a,...c,activeProviders:C(),cloudEnabled:y},a)}})(a,b))})]})}}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,5270,7471,3919,4822,6943,9718,8954,412,1164],()=>b(b.s=55268));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1164.js","../../../../chunks/2760.js","../../../../chunks/3919.js","../../../../chunks/412.js","../../../../chunks/4741.js","../../../../chunks/4822.js","../../../../chunks/5270.js","../../../../chunks/6844.js","../../../../chunks/7341.js","../../../../chunks/7471.js","../../../../chunks/8954.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../package.json","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/bytes/index.js","../../../../../../node_modules/next/dist/compiled/bytes/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/dist/shared/lib/size-limit.js","../../../../../../node_modules/next/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1164.js","../../../../chunks/3919.js","../../../../chunks/412.js","../../../../chunks/4741.js","../../../../chunks/4822.js","../../../../chunks/5270.js","../../../../chunks/6844.js","../../../../chunks/6943.js","../../../../chunks/7341.js","../../../../chunks/7471.js","../../../../chunks/8954.js","../../../../chunks/9718.js","../../../../webpack-runtime.js","page_client-reference-manifest.js"]}