vansrouter 0.9.97 → 0.9.99

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 (561) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +12 -12
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/react-loadable-manifest.json +7 -7
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-fitness/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-fitness/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +4 -4
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.rsc +2 -2
  60. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +2 -2
  61. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  62. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  65. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +2 -2
  66. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  69. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  70. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  71. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  72. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  73. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  74. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  75. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  76. package/app/.next-cli-build/server/app/api/auth/check/route.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  81. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  85. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  87. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  90. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  92. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  100. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  104. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  106. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  112. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  114. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  118. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/providers/[id]/gcp-projects/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/[name]/reset/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/providers/circuit-breakers/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/fitness/clear/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/proxy-pools/fitness/clear-all/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/proxy-pools/fitness/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  226. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/usage/request-details/[id]/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  284. package/app/.next-cli-build/server/app/callback.html +1 -1
  285. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  286. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  287. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  288. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  289. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  290. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  291. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  292. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  293. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  294. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  295. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  296. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  297. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  298. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  299. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  300. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  301. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  302. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  303. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  304. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  305. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  306. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  307. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  308. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  309. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  310. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  311. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  312. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  313. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  314. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  315. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  316. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  317. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  318. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  319. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  320. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  321. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  322. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  323. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  324. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  325. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  326. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  327. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  328. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  329. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  330. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  331. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  332. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  333. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +7 -7
  334. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  335. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  336. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  337. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  338. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  339. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +7 -7
  340. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  341. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  342. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  343. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  344. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  345. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  346. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  347. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  348. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  349. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  350. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  351. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  352. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  353. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  354. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  355. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  356. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  357. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  358. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  359. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  360. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  361. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  362. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  363. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  364. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +7 -7
  365. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  366. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  367. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  368. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  369. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  370. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +7 -7
  371. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  372. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  373. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  374. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  375. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  376. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  377. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  378. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  379. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  380. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  381. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  382. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  383. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  384. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.html +1 -1
  385. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.rsc +6 -6
  386. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness/__PAGE__.segment.rsc +2 -2
  387. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard/proxy-fitness.segment.rsc +1 -1
  388. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  389. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  390. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_full.segment.rsc +6 -6
  391. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_head.segment.rsc +1 -1
  392. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_index.segment.rsc +4 -4
  393. package/app/.next-cli-build/server/app/dashboard/proxy-fitness.segments/_tree.segment.rsc +2 -2
  394. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  395. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  396. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  397. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  398. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  399. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  400. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  401. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  402. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  403. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  404. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  406. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  407. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  408. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  409. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  410. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  411. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  412. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  413. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  414. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  415. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  416. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  417. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  419. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  420. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  421. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  422. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  423. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  424. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  426. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  427. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  428. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  429. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  430. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  431. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  432. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  433. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  434. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  435. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  437. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  438. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  439. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  440. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  441. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  442. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  443. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  444. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  445. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  446. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  448. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  452. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  453. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  455. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  456. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  458. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  459. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  460. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  463. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  465. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  466. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  468. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  469. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  470. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  472. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  473. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  474. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  475. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  476. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  477. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  478. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  480. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  481. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  482. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  483. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  484. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  486. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  487. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  488. package/app/.next-cli-build/server/app/landing.html +1 -1
  489. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  490. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  491. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  492. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  493. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  494. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  496. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  497. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  498. package/app/.next-cli-build/server/app/login.html +1 -1
  499. package/app/.next-cli-build/server/app/login.rsc +5 -5
  500. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  501. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  502. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  503. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  504. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/masuk/page.js.nft.json +1 -1
  508. package/app/.next-cli-build/server/app/masuk/page_client-reference-manifest.js +1 -1
  509. package/app/.next-cli-build/server/app-paths-manifest.json +12 -12
  510. package/app/.next-cli-build/server/chunks/1248.js +1 -1
  511. package/app/.next-cli-build/server/chunks/127.js +1 -1
  512. package/app/.next-cli-build/server/chunks/1632.js +1 -1
  513. package/app/.next-cli-build/server/chunks/1685.js +1 -1
  514. package/app/.next-cli-build/server/chunks/2764.js +1 -1
  515. package/app/.next-cli-build/server/chunks/4105.js +1 -1
  516. package/app/.next-cli-build/server/chunks/4574.js +2 -2
  517. package/app/.next-cli-build/server/chunks/5006.js +1 -1
  518. package/app/.next-cli-build/server/chunks/5050.js +1 -1
  519. package/app/.next-cli-build/server/chunks/5300.js +1 -0
  520. package/app/.next-cli-build/server/chunks/5302.js +1 -1
  521. package/app/.next-cli-build/server/chunks/6385.js +1 -1
  522. package/app/.next-cli-build/server/chunks/6415.js +10 -0
  523. package/app/.next-cli-build/server/chunks/6685.js +1 -1
  524. package/app/.next-cli-build/server/chunks/7104.js +1 -1
  525. package/app/.next-cli-build/server/chunks/7502.js +1 -1
  526. package/app/.next-cli-build/server/chunks/8524.js +1 -1
  527. package/app/.next-cli-build/server/chunks/88.js +1 -1
  528. package/app/.next-cli-build/server/chunks/8857.js +1 -1
  529. package/app/.next-cli-build/server/chunks/8941.js +1 -1
  530. package/app/.next-cli-build/server/chunks/9984.js +1 -1
  531. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  532. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  533. package/app/.next-cli-build/server/middleware.js +1 -1
  534. package/app/.next-cli-build/server/pages/404.html +1 -1
  535. package/app/.next-cli-build/server/pages/500.html +1 -1
  536. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  537. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  538. package/app/.next-cli-build/static/chunks/2884.80ed08ba28ed9dc3.js +1 -0
  539. package/app/.next-cli-build/static/chunks/3257.d8154293f6c3befa.js +1 -0
  540. package/app/.next-cli-build/static/chunks/{4385-523f8ad37beda677.js → 4385-c87cdb3beb184733.js} +1 -1
  541. package/app/.next-cli-build/static/chunks/5560.e2ab1ca9979178f3.js +1 -0
  542. package/app/.next-cli-build/static/chunks/6474.05cd6a7a0760c2a1.js +1 -0
  543. package/app/.next-cli-build/static/chunks/6909.20637e0929ccd959.js +1 -0
  544. package/app/.next-cli-build/static/chunks/9146.7174fc5feff1bf58.js +1 -0
  545. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-4e73c3bf9b393b12.js → page-19b29a55b52a2ed9.js} +1 -1
  546. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-c8a179ca8b3961a1.js +4 -0
  547. package/app/.next-cli-build/static/chunks/{webpack-ae0d2579e88dabcc.js → webpack-a93413593916815e.js} +1 -1
  548. package/app/.next-cli-build/static/css/170aaccd50e74dd7.css +1 -0
  549. package/app/package.json +1 -1
  550. package/package.json +1 -1
  551. package/app/.next-cli-build/server/chunks/8734.js +0 -10
  552. package/app/.next-cli-build/static/chunks/2884.d5538f4fb96995c4.js +0 -1
  553. package/app/.next-cli-build/static/chunks/3257.87d6a61b9e5f6a92.js +0 -1
  554. package/app/.next-cli-build/static/chunks/5560.8286d410d8bda0da.js +0 -1
  555. package/app/.next-cli-build/static/chunks/6474.06effe2dc57f25fb.js +0 -1
  556. package/app/.next-cli-build/static/chunks/6909.38877fab8673c355.js +0 -1
  557. package/app/.next-cli-build/static/chunks/9146.cf59a3c6b6d8c735.js +0 -1
  558. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-6bed0a11900ab240.js +0 -4
  559. package/app/.next-cli-build/static/css/7ca8ae8bdf3b39ab.css +0 -1
  560. /package/app/.next-cli-build/static/{YuMtvFzXHJJRdiMbSi-hq → DEvbhZaKhFHleOIAerxk2}/_buildManifest.js +0 -0
  561. /package/app/.next-cli-build/static/{YuMtvFzXHJJRdiMbSi-hq → DEvbhZaKhFHleOIAerxk2}/_ssgManifest.js +0 -0
@@ -117,46 +117,46 @@
117
117
  "/api/models/alias/route": "app/api/models/alias/route.js",
118
118
  "/api/models/custom/route": "app/api/models/custom/route.js",
119
119
  "/api/models/disabled/route": "app/api/models/disabled/route.js",
120
- "/api/oauth/kiro/import-cli-proxy/route": "app/api/oauth/kiro/import-cli-proxy/route.js",
121
120
  "/api/oauth/[provider]/[action]/route": "app/api/oauth/[provider]/[action]/route.js",
121
+ "/api/oauth/kiro/import-cli-proxy/route": "app/api/oauth/kiro/import-cli-proxy/route.js",
122
122
  "/api/oauth/kiro/auto-import/route": "app/api/oauth/kiro/auto-import/route.js",
123
123
  "/api/provider-nodes/[id]/route": "app/api/provider-nodes/[id]/route.js",
124
- "/api/provider-nodes/route": "app/api/provider-nodes/route.js",
125
- "/api/providers/[id]/gcp-projects/route": "app/api/providers/[id]/gcp-projects/route.js",
126
124
  "/api/provider-nodes/validate/route": "app/api/provider-nodes/validate/route.js",
125
+ "/api/providers/[id]/gcp-projects/route": "app/api/providers/[id]/gcp-projects/route.js",
127
126
  "/api/providers/circuit-breakers/[name]/reset/route": "app/api/providers/circuit-breakers/[name]/reset/route.js",
128
127
  "/api/providers/circuit-breakers/route": "app/api/providers/circuit-breakers/route.js",
129
128
  "/api/providers/[id]/route": "app/api/providers/[id]/route.js",
130
129
  "/api/providers/client/route": "app/api/providers/client/route.js",
131
130
  "/api/providers/suggested-models/route": "app/api/providers/suggested-models/route.js",
132
- "/api/providers/[id]/models/route": "app/api/providers/[id]/models/route.js",
133
- "/api/providers/route": "app/api/providers/route.js",
134
131
  "/api/proxy-pools/[id]/fitness/clear/route": "app/api/proxy-pools/[id]/fitness/clear/route.js",
135
- "/api/proxy-pools/[id]/route": "app/api/proxy-pools/[id]/route.js",
132
+ "/api/providers/route": "app/api/providers/route.js",
136
133
  "/api/proxy-pools/[id]/test/route": "app/api/proxy-pools/[id]/test/route.js",
134
+ "/api/proxy-pools/[id]/route": "app/api/proxy-pools/[id]/route.js",
137
135
  "/api/proxy-pools/cloudflare-deploy/route": "app/api/proxy-pools/cloudflare-deploy/route.js",
138
136
  "/api/proxy-pools/fitness/clear-all/route": "app/api/proxy-pools/fitness/clear-all/route.js",
139
137
  "/api/proxy-pools/fitness/route": "app/api/proxy-pools/fitness/route.js",
140
138
  "/api/proxy-pools/deno-deploy/route": "app/api/proxy-pools/deno-deploy/route.js",
141
- "/api/pxpipe/health/route": "app/api/pxpipe/health/route.js",
142
139
  "/api/proxy-pools/route": "app/api/proxy-pools/route.js",
143
- "/api/proxy-pools/vercel-deploy/route": "app/api/proxy-pools/vercel-deploy/route.js",
144
- "/api/pxpipe/install/route": "app/api/pxpipe/install/route.js",
140
+ "/api/providers/[id]/models/route": "app/api/providers/[id]/models/route.js",
141
+ "/api/pxpipe/health/route": "app/api/pxpipe/health/route.js",
145
142
  "/api/pxpipe/logs/route": "app/api/pxpipe/logs/route.js",
143
+ "/api/pxpipe/install/route": "app/api/pxpipe/install/route.js",
144
+ "/api/proxy-pools/vercel-deploy/route": "app/api/proxy-pools/vercel-deploy/route.js",
146
145
  "/api/pxpipe/restart/route": "app/api/pxpipe/restart/route.js",
147
146
  "/api/pxpipe/start/route": "app/api/pxpipe/start/route.js",
148
147
  "/api/pxpipe/stats/route": "app/api/pxpipe/stats/route.js",
149
148
  "/api/pxpipe/status/route": "app/api/pxpipe/status/route.js",
150
149
  "/api/pxpipe/stop/route": "app/api/pxpipe/stop/route.js",
151
- "/api/settings/database/route": "app/api/settings/database/route.js",
152
150
  "/api/settings/proxy-test/route": "app/api/settings/proxy-test/route.js",
153
- "/api/settings/route": "app/api/settings/route.js",
151
+ "/api/settings/database/route": "app/api/settings/database/route.js",
152
+ "/api/provider-nodes/route": "app/api/provider-nodes/route.js",
154
153
  "/api/translator/console-logs/stream/route": "app/api/translator/console-logs/stream/route.js",
154
+ "/api/settings/route": "app/api/settings/route.js",
155
155
  "/api/usage/[connectionId]/route": "app/api/usage/[connectionId]/route.js",
156
156
  "/api/usage/[connectionId]/codex-reset-credits/route": "app/api/usage/[connectionId]/codex-reset-credits/route.js",
157
157
  "/api/usage/stats/route": "app/api/usage/stats/route.js",
158
- "/api/usage/stream/route": "app/api/usage/stream/route.js",
159
158
  "/api/v1/audio/transcriptions/route": "app/api/v1/audio/transcriptions/route.js",
159
+ "/api/usage/stream/route": "app/api/usage/stream/route.js",
160
160
  "/api/version/shutdown/route": "app/api/version/shutdown/route.js",
161
161
  "/api/v1beta/models/[...path]/route": "app/api/v1beta/models/[...path]/route.js",
162
162
  "/callback/page": "app/callback/page.js",
@@ -1 +1 @@
1
- "use strict";exports.id=1248,exports.ids=[1248],exports.modules={71248:(a,b,c)=>{c.r(b),c.d(b,{default:()=>g});var d=c(66238),e=c(71183),f=c(43736);function g({isOpen:a,onMethodSelect:b,onClose:c}){let[h,i]=(0,e.useState)(null),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)("us-east-1"),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(""),[t,u]=(0,e.useState)("us-east-1"),[v,w]=(0,e.useState)(null),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(!1),[D,E]=(0,e.useState)(null),F=a=>{i(a),w(null)},G=()=>{i(null),w(null)},H=async()=>{if(!n.trim())return void w("Please enter a refresh token");y(!0),w(null);try{let a=await fetch("/api/oauth/kiro/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:n.trim(),...D||{}})}),c=await a.json();if(!a.ok)throw Error(c.error||"Import failed");b("import")}catch(a){w(a.message)}finally{y(!1)}},I=async()=>{if(!p.trim())return void w("Please paste CLIProxyAPI auth JSON");y(!0),w(null);try{let a=await fetch("/api/oauth/kiro/import-cli-proxy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({json:p.trim()})}),c=await a.json();if(!a.ok)throw Error(c.error||"CLIProxyAPI import failed");b("import-cli-proxy")}catch(a){w(a.message)}finally{y(!1)}},J=async()=>{if(!r.trim())return void w("Please enter an API key");y(!0),w(null);try{let a=await fetch("/api/oauth/kiro/api-key",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:r.trim(),region:t.trim()||"us-east-1"})}),c=await a.json();if(!a.ok)throw Error(c.error||"Import failed");b("api-key")}catch(a){w(a.message)}finally{y(!1)}},K=a=>{b("social",{provider:a})};return(0,d.jsx)(f.Modal,{isOpen:a,title:"Connect Kiro",onClose:c,size:"lg",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[!h&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Choose your authentication method:"}),(0,d.jsx)("button",{onClick:()=>b("builder-id"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"shield"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS Builder ID"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Recommended for most users. Free AWS account required."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("idc"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"business"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS IAM Identity Center"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"For enterprise users with custom AWS IAM Identity Center."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("api-key"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"key"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"API Key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Use a long-lived Kiro/CodeWhisperer API key (headless auth)."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("social-google"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"account_circle"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Google Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your Google account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("social-github"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"code"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"GitHub Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your GitHub account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("import"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"file_upload"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import Token"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste refresh token from Kiro IDE."})]})]})}),(0,d.jsx)("button",{onClick:()=>F("import-cli-proxy"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"data_object"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import CLIProxyAPI JSON"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste external_idp auth JSON from CLIProxyAPI/Kiro Microsoft login."})]})]})})]}),"idc"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["IDC Start URL ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:j,onChange:a=>k(a.target.value),placeholder:"https://your-org.awsapps.com/start",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Your organization's AWS IAM Identity Center URL"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(f.Input,{value:l,onChange:a=>m(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for your Identity Center (default: us-east-1)"})]}),v&&(0,d.jsx)("p",{className:"text-sm text-red-600",children:v}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>{j.trim()?b("idc",{startUrl:j.trim(),region:l}):w("Please enter your IDC start URL")},fullWidth:!0,children:"Continue"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"api-key"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Paste a long-lived Kiro/CodeWhisperer API key. It is validated against AWS and stored directly as a bearer credential (no refresh)."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["API Key ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:r,onChange:a=>s(a.target.value),placeholder:"Paste your Kiro API key...",className:"font-mono text-sm"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(f.Input,{value:t,onChange:a=>u(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for the key (default: us-east-1)"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:J,fullWidth:!0,disabled:x||!r.trim(),children:x?"Validating...":"Add API Key"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-google"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>K("google"),fullWidth:!0,children:"Continue with Google"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-github"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>K("github"),fullWidth:!0,children:"Continue with GitHub"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"import"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[z&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting token..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from AWS SSO cache"})]}),!z&&(0,d.jsxs)(d.Fragment,{children:[B&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Token auto-detected from Kiro IDE successfully!"})]})}),!B&&!v&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Kiro IDE not detected. Please paste your refresh token manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Refresh Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:n,onChange:a=>o(a.target.value),placeholder:"Token will be auto-filled...",className:"font-mono text-sm"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:H,fullWidth:!0,disabled:x||!n.trim(),children:x?"Importing...":"Import Token"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]}),"import-cli-proxy"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Paste the Kiro CLIProxyAPI auth JSON containing auth_method=external_idp. Only Microsoft login token endpoints are accepted."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["CLIProxyAPI Auth JSON ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)("textarea",{value:p,onChange:a=>q(a.target.value),placeholder:'{"auth_method":"external_idp","access_token":"...","refresh_token":"...","client_id":"...","token_endpoint":"https://login.microsoftonline.com/.../oauth2/v2.0/token","profile_arn":"...","scopes":"..."}',className:"min-h-40 w-full rounded-md border border-border bg-background p-3 font-mono text-sm outline-none focus:border-primary"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:I,fullWidth:!0,disabled:x||!p.trim(),children:x?"Importing...":"Import CLIProxyAPI JSON"}),(0,d.jsx)(f.Button,{onClick:G,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]})})}}};
1
+ "use strict";exports.id=1248,exports.ids=[1248],exports.modules={71248:(a,b,c)=>{c.r(b),c.d(b,{default:()=>g});var d=c(66238),e=c(71183),f=c(43736);function g({isOpen:a,onMethodSelect:b,onClose:c}){let[h,i]=(0,e.useState)(null),[j,k]=(0,e.useState)(""),[l,m]=(0,e.useState)("us-east-1"),[n,o]=(0,e.useState)(""),[p,q]=(0,e.useState)(""),[r,s]=(0,e.useState)(""),[t,u]=(0,e.useState)("us-east-1"),[v,w]=(0,e.useState)(null),[x,y]=(0,e.useState)(!1),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(!1),[D,E]=(0,e.useState)(null),F=(0,e.useRef)(0),G=a=>{F.current+=1,i(a),w(null)},H=()=>{F.current+=1,i(null),w(null)},I=async()=>{if(!n.trim())return void w("Please enter a refresh token");let c=++F.current;y(!0),w(null);try{let d=await fetch("/api/oauth/kiro/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:n.trim(),...D||{}})}),e=await d.json();if(!d.ok)throw Error(e.error||"Import failed");if(c!==F.current||!a)return;b("import")}catch(b){c===F.current&&a&&w(b.message)}finally{c===F.current&&y(!1)}},J=async()=>{if(!p.trim())return void w("Please paste CLIProxyAPI auth JSON");y(!0),w(null);try{let a=await fetch("/api/oauth/kiro/import-cli-proxy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({json:p.trim()})}),c=await a.json();if(!a.ok)throw Error(c.error||"CLIProxyAPI import failed");b("import-cli-proxy")}catch(a){w(a.message)}finally{y(!1)}},K=async()=>{if(!r.trim())return void w("Please enter an API key");y(!0),w(null);try{let a=await fetch("/api/oauth/kiro/api-key",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({apiKey:r.trim(),region:t.trim()||"us-east-1"})}),c=await a.json();if(!a.ok)throw Error(c.error||"Import failed");b("api-key")}catch(a){w(a.message)}finally{y(!1)}},L=a=>{b("social",{provider:a})};return(0,d.jsx)(f.Modal,{isOpen:a,title:"Connect Kiro",onClose:c,size:"lg",children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[!h&&(0,d.jsxs)("div",{className:"space-y-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Choose your authentication method:"}),(0,d.jsx)("button",{onClick:()=>b("builder-id"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"shield"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS Builder ID"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Recommended for most users. Free AWS account required."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("idc"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"business"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"AWS IAM Identity Center"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"For enterprise users with custom AWS IAM Identity Center."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("api-key"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"key"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"API Key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Use a long-lived Kiro/CodeWhisperer API key (headless auth)."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("social-google"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"account_circle"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Google Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your Google account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("social-github"),className:"hidden w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"code"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"GitHub Account"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Login with your GitHub account (manual callback)."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("import"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"file_upload"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import Token"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste refresh token from Kiro IDE."})]})]})}),(0,d.jsx)("button",{onClick:()=>G("import-cli-proxy"),className:"w-full p-4 text-left border border-border rounded-lg hover:bg-sidebar transition-colors",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary mt-0.5",children:"data_object"}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsx)("h3",{className:"font-semibold mb-1",children:"Import CLIProxyAPI JSON"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Paste external_idp auth JSON from CLIProxyAPI/Kiro Microsoft login."})]})]})})]}),"idc"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["IDC Start URL ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:j,onChange:a=>k(a.target.value),placeholder:"https://your-org.awsapps.com/start",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Your organization's AWS IAM Identity Center URL"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(f.Input,{value:l,onChange:a=>m(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for your Identity Center (default: us-east-1)"})]}),v&&(0,d.jsx)("p",{className:"text-sm text-red-600",children:v}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>{j.trim()?b("idc",{startUrl:j.trim(),region:l}):w("Please enter your IDC start URL")},fullWidth:!0,children:"Continue"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"api-key"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Paste a long-lived Kiro/CodeWhisperer API key. It is validated against AWS and stored directly as a bearer credential (no refresh)."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["API Key ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:r,onChange:a=>s(a.target.value),placeholder:"Paste your Kiro API key...",className:"font-mono text-sm"})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"block text-sm font-medium mb-2",children:"AWS Region"}),(0,d.jsx)(f.Input,{value:t,onChange:a=>u(a.target.value),placeholder:"us-east-1",className:"font-mono text-sm"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"AWS region for the key (default: us-east-1)"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:K,fullWidth:!0,disabled:x||!r.trim(),children:x?"Validating...":"Add API Key"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-google"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>L("google"),fullWidth:!0,children:"Continue with Google"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"social-github"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-4 rounded-lg border border-amber-200 dark:border-amber-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsxs)("div",{className:"flex-1 text-sm",children:[(0,d.jsx)("p",{className:"font-medium text-amber-900 dark:text-amber-100 mb-1",children:"Manual Callback Required"}),(0,d.jsx)("p",{className:"text-amber-800 dark:text-amber-200",children:"After login, you'll need to copy the callback URL from your browser and paste it back here."})]})]})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:()=>L("github"),fullWidth:!0,children:"Continue with GitHub"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]}),"import"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[z&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting token..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from AWS SSO cache"})]}),!z&&(0,d.jsxs)(d.Fragment,{children:[B&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Token auto-detected from Kiro IDE successfully!"})]})}),!B&&!v&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Kiro IDE not detected. Please paste your refresh token manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["Refresh Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{value:n,onChange:a=>o(a.target.value),placeholder:"Token will be auto-filled...",className:"font-mono text-sm"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:I,fullWidth:!0,disabled:x||!n.trim(),children:x?"Importing...":"Import Token"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]}),"import-cli-proxy"===h&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Paste the Kiro CLIProxyAPI auth JSON containing auth_method=external_idp. Only Microsoft login token endpoints are accepted."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{className:"block text-sm font-medium mb-2",children:["CLIProxyAPI Auth JSON ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)("textarea",{value:p,onChange:a=>q(a.target.value),placeholder:'{"auth_method":"external_idp","access_token":"...","refresh_token":"...","client_id":"...","token_endpoint":"https://login.microsoftonline.com/.../oauth2/v2.0/token","profile_arn":"...","scopes":"..."}',className:"min-h-40 w-full rounded-md border border-border bg-background p-3 font-mono text-sm outline-none focus:border-primary"})]}),v&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:v})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:J,fullWidth:!0,disabled:x||!p.trim(),children:x?"Importing...":"Import CLIProxyAPI JSON"}),(0,d.jsx)(f.Button,{onClick:H,variant:"ghost",fullWidth:!0,children:"Back"})]})]})]})})}}};
@@ -1 +1 @@
1
- "use strict";exports.id=127,exports.ids=[127],exports.modules={20127:(a,b,c)=>{c.r(b),c.d(b,{default:()=>h});var d=c(66238),e=c(71183),f=c(43736);function g(a,b){switch(b.type){case"SET_TOKEN":return{...a,accessToken:b.value};case"SET_MACHINE_ID":return{...a,machineId:b.value};case"AUTO_DETECT_START":return{...a,autoDetecting:!0,error:null,autoDetected:!1,windowsManual:!1};case"AUTO_DETECT_DONE":return{...a,autoDetecting:!1,autoDetected:b.found||!1,accessToken:b.accessToken||a.accessToken,machineId:b.machineId||a.machineId,windowsManual:b.windowsManual||!1,error:b.error||null};case"IMPORT_START":return{...a,importing:!0,error:null};case"IMPORT_DONE":return{...a,importing:!1,error:b.error||null};case"ERROR":return{...a,error:b.error};default:return a}}function h({isOpen:a,onSuccess:b,onClose:c}){let[i,j]=(0,e.useReducer)(g,{accessToken:"",machineId:"",error:null,importing:!1,autoDetecting:!1,autoDetected:!1,windowsManual:!1}),{accessToken:k,machineId:l,error:m,importing:n,autoDetecting:o,autoDetected:p,windowsManual:q}=i,r=async()=>{j({type:"AUTO_DETECT_START"});try{let a=await fetch("/api/oauth/cursor/auto-import"),b=await a.json();b.found?j({type:"AUTO_DETECT_DONE",found:!0,accessToken:b.accessToken,machineId:b.machineId}):b.windowsManual?j({type:"AUTO_DETECT_DONE",windowsManual:!0}):j({type:"AUTO_DETECT_DONE",error:b.error||"Could not auto-detect tokens"})}catch(a){j({type:"AUTO_DETECT_DONE",error:"Failed to auto-detect tokens"})}},s=async()=>{if(!k.trim())return void j({type:"ERROR",error:"Please enter an access token"});if(!l.trim())return void j({type:"ERROR",error:"Please enter a machine ID"});j({type:"IMPORT_START"});try{let a=await fetch("/api/oauth/cursor/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:k.trim(),machineId:l.trim()})}),d=await a.json();if(!a.ok)throw Error(d.error||"Import failed");b?.(),c()}catch(a){j({type:"IMPORT_DONE",error:a.message})}};return(0,d.jsx)(f.Modal,{isOpen:a,title:"Connect Cursor IDE",onClose:c,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[o&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting tokens..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from Cursor IDE database"})]}),!o&&(0,d.jsxs)(d.Fragment,{children:[p&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Tokens auto-detected from Cursor IDE successfully!"})]})}),q&&(0,d.jsxs)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-3 rounded-lg border border-amber-200 dark:border-amber-800 flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm font-medium text-amber-800 dark:text-amber-200",children:"Could not read Cursor database automatically."})]}),(0,d.jsxs)("p",{className:"text-xs text-amber-700 dark:text-amber-300",children:["Make sure Cursor IDE has been opened at least once, then click ",(0,d.jsx)("strong",{children:"Retry"}),". If the problem persists, paste your tokens manually below."]}),(0,d.jsx)(f.Button,{onClick:r,variant:"outline",fullWidth:!0,children:"Retry"})]}),!p&&!q&&!m&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Cursor IDE not detected. Please paste your tokens manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:"cursor-access-token",className:"block text-sm font-medium mb-2",children:["Access Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)("textarea",{id:"cursor-access-token",value:k,onChange:a=>j({type:"SET_TOKEN",value:a.target.value}),placeholder:"Access token will be auto-filled...",rows:3,className:"w-full px-3 py-2 text-sm font-mono border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:"cursor-machine-id",className:"block text-sm font-medium mb-2",children:["Machine ID ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{id:"cursor-machine-id",value:l,onChange:a=>j({type:"SET_MACHINE_ID",value:a.target.value}),placeholder:"Machine ID will be auto-filled...",className:"font-mono text-sm"})]}),m&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:m})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:s,fullWidth:!0,disabled:n||!k.trim()||!l.trim(),children:n?"Importing...":"Import Token"}),(0,d.jsx)(f.Button,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})})}}};
1
+ "use strict";exports.id=127,exports.ids=[127],exports.modules={20127:(a,b,c)=>{c.r(b),c.d(b,{default:()=>h});var d=c(66238),e=c(71183),f=c(43736);function g(a,b){switch(b.type){case"SET_TOKEN":return{...a,accessToken:b.value};case"SET_MACHINE_ID":return{...a,machineId:b.value};case"AUTO_DETECT_START":return{...a,autoDetecting:!0,error:null,autoDetected:!1,windowsManual:!1};case"AUTO_DETECT_DONE":return{...a,autoDetecting:!1,autoDetected:b.found||!1,accessToken:b.accessToken||a.accessToken,machineId:b.machineId||a.machineId,windowsManual:b.windowsManual||!1,error:b.error||null};case"IMPORT_START":return{...a,importing:!0,error:null};case"IMPORT_DONE":return{...a,importing:!1,error:b.error||null};case"ERROR":return{...a,error:b.error};default:return a}}function h({isOpen:a,onSuccess:b,onClose:c}){let[i,j]=(0,e.useReducer)(g,{accessToken:"",machineId:"",error:null,importing:!1,autoDetecting:!1,autoDetected:!1,windowsManual:!1}),{accessToken:k,machineId:l,error:m,importing:n,autoDetecting:o,autoDetected:p,windowsManual:q}=i,r=(0,e.useRef)(0),s=async()=>{let b=++r.current;j({type:"AUTO_DETECT_START"});try{let c=await fetch("/api/oauth/cursor/auto-import"),d=await c.json();if(b!==r.current||!a)return;d.found?j({type:"AUTO_DETECT_DONE",found:!0,accessToken:d.accessToken,machineId:d.machineId}):d.windowsManual?j({type:"AUTO_DETECT_DONE",windowsManual:!0}):j({type:"AUTO_DETECT_DONE",error:d.error||"Could not auto-detect tokens"})}catch(c){b===r.current&&a&&j({type:"AUTO_DETECT_DONE",error:"Failed to auto-detect tokens"})}},t=async()=>{if(!k.trim())return void j({type:"ERROR",error:"Please enter an access token"});if(!l.trim())return void j({type:"ERROR",error:"Please enter a machine ID"});let d=r.current;j({type:"IMPORT_START"});try{let e=await fetch("/api/oauth/cursor/import",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({accessToken:k.trim(),machineId:l.trim()})}),f=await e.json();if(!e.ok)throw Error(f.error||"Import failed");if(d!==r.current||!a)return;b?.(),c()}catch(b){d===r.current&&a&&j({type:"IMPORT_DONE",error:b.message})}};return(0,d.jsx)(f.Modal,{isOpen:a,title:"Connect Cursor IDE",onClose:c,children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[o&&(0,d.jsxs)("div",{className:"text-center py-6",children:[(0,d.jsx)("div",{className:"size-16 mx-auto mb-4 rounded-full bg-primary/10 flex items-center justify-center",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-3xl text-primary animate-spin",children:"progress_activity"})}),(0,d.jsx)("h3",{className:"text-lg font-semibold mb-2",children:"Auto-detecting tokens..."}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Reading from Cursor IDE database"})]}),!o&&(0,d.jsxs)(d.Fragment,{children:[p&&(0,d.jsx)("div",{className:"bg-green-50 dark:bg-green-900/20 p-3 rounded-lg border border-green-200 dark:border-green-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-green-600 dark:text-green-400",children:"check_circle"}),(0,d.jsx)("p",{className:"text-sm text-green-800 dark:text-green-200",children:"Tokens auto-detected from Cursor IDE successfully!"})]})}),q&&(0,d.jsxs)("div",{className:"bg-amber-50 dark:bg-amber-900/20 p-3 rounded-lg border border-amber-200 dark:border-amber-800 flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-amber-600 dark:text-amber-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm font-medium text-amber-800 dark:text-amber-200",children:"Could not read Cursor database automatically."})]}),(0,d.jsxs)("p",{className:"text-xs text-amber-700 dark:text-amber-300",children:["Make sure Cursor IDE has been opened at least once, then click ",(0,d.jsx)("strong",{children:"Retry"}),". If the problem persists, paste your tokens manually below."]}),(0,d.jsx)(f.Button,{onClick:s,variant:"outline",fullWidth:!0,children:"Retry"})]}),!p&&!q&&!m&&(0,d.jsx)("div",{className:"bg-blue-50 dark:bg-blue-900/20 p-3 rounded-lg border border-blue-200 dark:border-blue-800",children:(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-blue-600 dark:text-blue-400",children:"info"}),(0,d.jsx)("p",{className:"text-sm text-blue-800 dark:text-blue-200",children:"Cursor IDE not detected. Please paste your tokens manually."})]})}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:"cursor-access-token",className:"block text-sm font-medium mb-2",children:["Access Token ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)("textarea",{id:"cursor-access-token",value:k,onChange:a=>j({type:"SET_TOKEN",value:a.target.value}),placeholder:"Access token will be auto-filled...",rows:3,className:"w-full px-3 py-2 text-sm font-mono border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"})]}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("label",{htmlFor:"cursor-machine-id",className:"block text-sm font-medium mb-2",children:["Machine ID ",(0,d.jsx)("span",{className:"text-red-500",children:"*"})]}),(0,d.jsx)(f.Input,{id:"cursor-machine-id",value:l,onChange:a=>j({type:"SET_MACHINE_ID",value:a.target.value}),placeholder:"Machine ID will be auto-filled...",className:"font-mono text-sm"})]}),m&&(0,d.jsx)("div",{className:"bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800",children:(0,d.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:m})}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(f.Button,{onClick:t,fullWidth:!0,disabled:n||!k.trim()||!l.trim(),children:n?"Importing...":"Import Token"}),(0,d.jsx)(f.Button,{onClick:c,variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})]})})}}};