@rabbi696/ezrouter 0.6.15 → 0.6.16

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 (863) hide show
  1. package/README.md +72 -1
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +27 -27
  4. package/app/.next-cli-build/build-manifest.json +2 -2
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  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 +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +10 -6
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  92. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  94. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  95. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  103. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  105. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  106. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  107. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  108. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  109. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +3 -3
  110. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
  232. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
  236. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
  366. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  393. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
  443. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  460. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  480. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  482. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  484. package/app/.next-cli-build/server/app/callback.html +1 -1
  485. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  486. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  487. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +3 -3
  489. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +5 -5
  494. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  498. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +5 -5
  499. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  500. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +3 -3
  501. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  504. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  509. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +3 -3
  511. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/combos.rsc +5 -5
  514. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +5 -5
  519. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +3 -3
  521. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  522. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  523. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +5 -5
  524. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  525. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  526. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  527. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +5 -5
  529. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +3 -3
  531. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  533. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +5 -5
  534. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  537. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +5 -5
  539. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +3 -3
  541. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  543. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +5 -5
  544. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  545. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  546. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  547. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  549. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +5 -5
  550. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +3 -3
  552. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +1 -1
  553. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +5 -5
  555. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  557. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  559. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +5 -5
  561. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  562. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +3 -3
  563. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +5 -5
  566. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  567. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  568. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  570. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +5 -5
  571. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +3 -3
  573. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +1 -1
  574. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +5 -5
  576. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  577. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  578. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  579. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  581. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +5 -5
  582. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +3 -3
  584. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  585. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  587. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  589. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  591. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  592. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +3 -3
  594. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  595. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/profile.rsc +5 -5
  597. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  598. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  599. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  600. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  601. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +5 -5
  602. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  603. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +3 -3
  604. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  605. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  606. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +5 -5
  607. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  608. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  609. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  610. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  612. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +5 -5
  613. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  614. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +3 -3
  615. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  616. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/providers.rsc +5 -5
  618. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  619. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  620. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  622. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +5 -5
  623. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +3 -3
  625. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  626. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  628. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  629. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  630. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  631. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  632. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  633. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  634. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +3 -3
  635. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  636. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  637. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +5 -5
  638. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  639. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  640. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  641. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  642. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +5 -5
  643. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  644. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +3 -3
  645. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  646. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  647. package/app/.next-cli-build/server/app/dashboard/quota.rsc +6 -6
  648. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  649. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  650. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  651. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  652. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +6 -6
  653. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  654. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +3 -3
  655. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  656. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  657. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +5 -5
  658. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  659. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  660. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  661. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  662. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +5 -5
  663. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  664. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +3 -3
  665. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +1 -1
  666. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  667. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  669. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  670. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  671. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  672. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  673. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +3 -3
  674. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  675. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  676. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  677. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  678. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  680. package/app/.next-cli-build/server/app/dashboard/skills.rsc +5 -5
  681. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  682. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  683. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  684. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  685. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +5 -5
  686. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +3 -3
  688. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  689. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  690. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +5 -5
  691. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  692. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  693. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  694. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  695. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +5 -5
  696. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +3 -3
  698. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  699. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  700. package/app/.next-cli-build/server/app/dashboard/translator.rsc +5 -5
  701. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  702. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  703. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  704. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  705. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +5 -5
  706. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  707. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +3 -3
  708. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  709. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  710. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  711. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  712. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  713. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  714. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  715. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  716. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  717. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +3 -3
  718. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  719. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  720. package/app/.next-cli-build/server/app/dashboard.rsc +5 -5
  721. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  722. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  723. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  724. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +5 -5
  725. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  726. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +3 -3
  727. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  728. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  729. package/app/.next-cli-build/server/app/index.html +1 -1
  730. package/app/.next-cli-build/server/app/index.rsc +3 -3
  731. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  732. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  733. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  734. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +3 -3
  735. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  736. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  737. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  738. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  739. package/app/.next-cli-build/server/app/landing.html +1 -1
  740. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  741. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  742. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  743. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +3 -3
  744. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  745. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  746. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  747. package/app/.next-cli-build/server/app/login/page.js +1 -1
  748. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  749. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  750. package/app/.next-cli-build/server/app/login.html +1 -1
  751. package/app/.next-cli-build/server/app/login.rsc +4 -4
  752. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  753. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  754. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +3 -3
  755. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  756. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  757. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  758. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  759. package/app/.next-cli-build/server/app/page.js +1 -1
  760. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  761. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  762. package/app/.next-cli-build/server/app-paths-manifest.json +27 -27
  763. package/app/.next-cli-build/server/chunks/1253.js +1 -1
  764. package/app/.next-cli-build/server/chunks/1482.js +4 -2
  765. package/app/.next-cli-build/server/chunks/1531.js +1 -1
  766. package/app/.next-cli-build/server/chunks/1641.js +1 -0
  767. package/app/.next-cli-build/server/chunks/1733.js +1 -1
  768. package/app/.next-cli-build/server/chunks/1847.js +1 -1
  769. package/app/.next-cli-build/server/chunks/2269.js +1 -1
  770. package/app/.next-cli-build/server/chunks/2348.js +1 -1
  771. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  772. package/app/.next-cli-build/server/chunks/3583.js +2 -2
  773. package/app/.next-cli-build/server/chunks/3593.js +2 -2
  774. package/app/.next-cli-build/server/chunks/369.js +22 -22
  775. package/app/.next-cli-build/server/chunks/3886.js +1 -1
  776. package/app/.next-cli-build/server/chunks/3912.js +1 -1
  777. package/app/.next-cli-build/server/chunks/3977.js +2 -2
  778. package/app/.next-cli-build/server/chunks/412.js +1 -1
  779. package/app/.next-cli-build/server/chunks/4378.js +3 -3
  780. package/app/.next-cli-build/server/chunks/4485.js +1 -1
  781. package/app/.next-cli-build/server/chunks/4574.js +1 -1
  782. package/app/.next-cli-build/server/chunks/4646.js +1 -1
  783. package/app/.next-cli-build/server/chunks/4704.js +2 -2
  784. package/app/.next-cli-build/server/chunks/4739.js +2 -2
  785. package/app/.next-cli-build/server/chunks/4768.js +1 -1
  786. package/app/.next-cli-build/server/chunks/4780.js +2 -2
  787. package/app/.next-cli-build/server/chunks/4803.js +2 -2
  788. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  789. package/app/.next-cli-build/server/chunks/4878.js +1 -1
  790. package/app/.next-cli-build/server/chunks/5011.js +1 -1
  791. package/app/.next-cli-build/server/chunks/507.js +2 -2
  792. package/app/.next-cli-build/server/chunks/5130.js +1 -1
  793. package/app/.next-cli-build/server/chunks/{8421.js → 5251.js} +1 -1
  794. package/app/.next-cli-build/server/chunks/5258.js +2 -2
  795. package/app/.next-cli-build/server/chunks/5434.js +1 -1
  796. package/app/.next-cli-build/server/chunks/5460.js +40 -0
  797. package/app/.next-cli-build/server/chunks/5704.js +254 -0
  798. package/app/.next-cli-build/server/chunks/5872.js +1 -0
  799. package/app/.next-cli-build/server/chunks/5875.js +1 -1
  800. package/app/.next-cli-build/server/chunks/6252.js +2 -2
  801. package/app/.next-cli-build/server/chunks/6420.js +1 -1
  802. package/app/.next-cli-build/server/chunks/6670.js +2 -2
  803. package/app/.next-cli-build/server/chunks/6769.js +1 -0
  804. package/app/.next-cli-build/server/chunks/6799.js +2 -2
  805. package/app/.next-cli-build/server/chunks/698.js +2 -2
  806. package/app/.next-cli-build/server/chunks/7073.js +2 -2
  807. package/app/.next-cli-build/server/chunks/7218.js +1 -1
  808. package/app/.next-cli-build/server/chunks/7239.js +2 -2
  809. package/app/.next-cli-build/server/chunks/7362.js +1 -1
  810. package/app/.next-cli-build/server/chunks/7594.js +6 -6
  811. package/app/.next-cli-build/server/chunks/7663.js +1 -1
  812. package/app/.next-cli-build/server/chunks/7677.js +1 -1
  813. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  814. package/app/.next-cli-build/server/chunks/7811.js +1 -0
  815. package/app/.next-cli-build/server/chunks/7965.js +2 -2
  816. package/app/.next-cli-build/server/chunks/8062.js +2 -2
  817. package/app/.next-cli-build/server/chunks/8129.js +1 -1
  818. package/app/.next-cli-build/server/chunks/8231.js +1 -1
  819. package/app/.next-cli-build/server/chunks/8243.js +5 -5
  820. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  821. package/app/.next-cli-build/server/chunks/8469.js +2 -2
  822. package/app/.next-cli-build/server/chunks/8520.js +2 -2
  823. package/app/.next-cli-build/server/chunks/8644.js +1 -1
  824. package/app/.next-cli-build/server/chunks/8772.js +1 -1
  825. package/app/.next-cli-build/server/chunks/8976.js +1 -1
  826. package/app/.next-cli-build/server/chunks/9026.js +24 -24
  827. package/app/.next-cli-build/server/chunks/9062.js +1 -1
  828. package/app/.next-cli-build/server/chunks/9303.js +1 -1
  829. package/app/.next-cli-build/server/chunks/9485.js +1 -1
  830. package/app/.next-cli-build/server/chunks/9718.js +1 -1
  831. package/app/.next-cli-build/server/instrumentation.js +1 -1
  832. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  833. package/app/.next-cli-build/server/middleware.js +3 -3
  834. package/app/.next-cli-build/server/pages/404.html +1 -1
  835. package/app/.next-cli-build/server/pages/500.html +1 -1
  836. package/app/.next-cli-build/static/chunks/1321-73fdccd2b1bf151d.js +1 -0
  837. package/app/.next-cli-build/static/chunks/{5497-8766958582f95dc7.js → 5497-ff58e90f4053e184.js} +3 -3
  838. package/app/.next-cli-build/static/chunks/{6252-34f2d410651e1103.js → 6252-886aa8324e135e9c.js} +13 -13
  839. package/app/.next-cli-build/static/chunks/8105-9b41dc96e4b019cf.js +1 -0
  840. package/app/.next-cli-build/static/chunks/9227-4471c8f39a105c5f.js +5 -0
  841. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-89b4f70958736f2a.js → page-c35f746b4bd9fc90.js} +18 -14
  842. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-fa195b4f7348e2d6.js → page-0868ecc0d2f1bd04.js} +2 -2
  843. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-a31d9ca05cc3d528.js → page-6cb070834a750fdd.js} +1 -1
  844. package/app/CHANGELOG.md +54 -32
  845. package/app/package.json +1 -1
  846. package/app/public/CHANGELOG.md +54 -32
  847. package/app/src/mitm/server.js +24 -24
  848. package/cli.js +71 -69
  849. package/package.json +1 -1
  850. package/src/cli/commands/connect.js +157 -15
  851. package/src/cli/commands/connectTools.js +222 -4
  852. package/src/cli/commands/show.js +101 -0
  853. package/src/cli/menus/providers.js +8 -0
  854. package/app/.next-cli-build/server/chunks/3252.js +0 -1
  855. package/app/.next-cli-build/server/chunks/3267.js +0 -40
  856. package/app/.next-cli-build/server/chunks/6707.js +0 -1
  857. package/app/.next-cli-build/server/chunks/8450.js +0 -254
  858. package/app/.next-cli-build/server/chunks/9143.js +0 -1
  859. package/app/.next-cli-build/static/chunks/1321-043afc56cba448b8.js +0 -1
  860. package/app/.next-cli-build/static/chunks/8105-9dfc2c5ffef6e778.js +0 -1
  861. package/app/.next-cli-build/static/chunks/9227-af65f6ac1fca28c9.js +0 -3
  862. /package/app/.next-cli-build/static/{zQapcWqcr7oLVi5jh7t01 → Y5Sk8uSUyB0vJ-ZgW1X1U}/_buildManifest.js +0 -0
  863. /package/app/.next-cli-build/static/{zQapcWqcr7oLVi5jh7t01 → Y5Sk8uSUyB0vJ-ZgW1X1U}/_ssgManifest.js +0 -0
@@ -1,3 +0,0 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9227],{15536:(e,t,s)=>{"use strict";s.d(t,{Cp:()=>n,Hx:()=>r,Iv:()=>u,N9:()=>m,Nv:()=>p,RL:()=>c,YR:()=>o,ev:()=>x,fl:()=>i,hT:()=>l,oX:()=>a,t6:()=>d});let l=["zh-CN","zh-TW"],a=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],r=2e3,n=3e5,i=5e3,o=3e4,d=5,c=1e4,m=6e4,u=5e3,x=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}],p=[{id:"lite",label:"Lite",desc:"Build asked, name lazier option"},{id:"full",label:"Full",desc:"Ladder enforced: stdlib/native first"},{id:"ultra",label:"Ultra",desc:"YAGNI extremist, deletion first"}]},34403:(e,t,s)=>{"use strict";s.d(t,{default:()=>N});var l=s(95155),a=s(12115),r=s(14051),n=s.n(r),i=s(35497),o=s(11059),d=s(15536);async function c(e){if(!e)return!1;try{return(await fetch(`${e}/api/health`,{mode:"cors",cache:"no-store",signal:AbortSignal.timeout(d.Iv)})).ok}catch{return!1}}async function m(...e){let t=e.filter(Boolean).map(c);return!!t.length&&new Promise(e=>{let s=t.length;t.forEach(t=>t.then(t=>{t?e(!0):0==--s&&e(!1)}))})}var u=s(72767);function x({label:e,url:t,copyId:s,copied:a,onCopy:r,badge:n,actions:o}){return(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${"CF"===n||"TS"===n?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:e}),(0,l.jsx)(i.pd,{value:t,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,l.jsx)("button",{onClick:()=>r(t,s),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:a===s?"check":"content_copy"})}),o]})}function p({status:e,className:t=""}){return(0,l.jsx)("div",{className:`p-2 rounded text-sm ${t} ${"success"===e.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===e.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===e.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:e.message.split(/(https?:\/\/[^\s]+)/g).map((e,t)=>/^https?:\/\//.test(e)?(0,l.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:e},t):e)})}function h({text:e}){return(0,l.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,l.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:e})]})}function b({message:e,action:t}){return(0,l.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,l.jsx)("p",{className:"text-xs flex-1",children:e}),t&&(0,l.jsx)("a",{href:t.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:t.href.startsWith("#")?e=>{e.preventDefault(),document.getElementById(t.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:t.label})]})}var y=s(57250),g=s(88105);function f({value:e,onChange:t}){let[s,r]=(0,a.useState)([]),[n,i]=(0,a.useState)(!0),[o,d]=(0,a.useState)(()=>new Set);(0,a.useEffect)(()=>{let e=!1;return fetch("/v1/models",{cache:"no-store"}).then(e=>e.ok?e.json():{data:[]}).then(t=>{e||r(Array.isArray(t.data)?t.data:[])}).catch(()=>{e||r([])}).finally(()=>{e||i(!1)}),()=>{e=!0}},[]);let c=(0,a.useMemo)(()=>(function(e){let t=new Map;for(let s of e){if(!s?.id||"string"!=typeof s.id||!s.id.includes("/"))continue;let e=s.owned_by||s.id.slice(0,s.id.indexOf("/")),l=s.id.slice(s.id.indexOf("/")+1);t.has(e)||t.set(e,[]),t.get(e).push(l)}return t})(s),[s]),m=(0,a.useMemo)(()=>Array.from(c.keys()).sort((e,t)=>e.localeCompare(t)),[c]),u=null==e,x=(0,a.useMemo)(()=>new Set(e?.providers||[]),[e]);(0,a.useMemo)(()=>new Set(e?.models||[]),[e]);let p=t=>{let s=`${t}/`;return(e?.models||[]).filter(e=>e.startsWith(s))},h=(e,s)=>{0===e.length?t(null):t({providers:e,models:s})},b=e=>{d(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.add(e),s})};return n?(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"Loading available providers…"}):(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsxs)("label",{className:"flex items-center gap-2 text-sm",children:[(0,l.jsx)("input",{type:"checkbox",checked:u,onChange:e=>t(e.target.checked?null:{providers:[],models:[]})}),(0,l.jsx)("span",{children:"Unrestricted (key can reach every provider and model)"})]}),!u&&(0,l.jsxs)("div",{className:"flex flex-col gap-1 max-h-80 overflow-y-auto border border-black/[0.06] dark:border-white/[0.06] rounded-lg p-2",children:[0===m.length&&(0,l.jsx)("p",{className:"text-sm text-text-muted px-2 py-1",children:"No providers configured yet."}),m.map(t=>{let s,a=(0,g.rs)(t),r=g.Q2[a],n=c.get(t)||[],i=(s=(0,g.rs)(t),x.has(t)||x.has(s)),d=p(t),m=o.has(t);return(0,l.jsxs)("div",{className:"border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 py-1",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("input",{type:"checkbox",checked:i,onChange:()=>{let s,l;return s=new Set(e?.providers||[]),l=(e?.models||[]).slice(),void(s.has(t)?(s.delete(t),l=l.filter(e=>!e.startsWith(`${t}/`))):s.add(t),h(Array.from(s),l))}}),(0,l.jsx)(y.A,{providerId:a,size:16}),(0,l.jsx)("button",{type:"button",className:"flex-1 text-left text-sm font-medium",onClick:()=>b(t),children:r?.name||t}),(0,l.jsx)("span",{className:"text-xs text-text-muted",children:i?0===d.length?`all ${n.length} models`:`${d.length}/${n.length} models`:""}),(0,l.jsx)("button",{type:"button",className:"material-symbols-outlined text-[16px] text-text-muted",onClick:()=>b(t),children:m?"expand_less":"expand_more"})]}),m&&(0,l.jsx)("div",{className:"pl-8 mt-1 flex flex-col gap-1",children:n.map(s=>{let a=`${t}/${s}`,r=i&&(0===d.length||d.includes(a));return(0,l.jsxs)("label",{className:"flex items-center gap-2 text-xs",children:[(0,l.jsx)("input",{type:"checkbox",checked:r,onChange:()=>{let l,a,r,n,i,o;return(a=new Set(e?.providers||[])).add(t),r=`${t}/${s}`,n=p(t),i=c.get(t)||[],o=(e?.models||[]).filter(e=>!e.startsWith(`${t}/`)),void(0===n.length?l=i.filter(e=>e!==s).map(e=>`${t}/${e}`):n.includes(r)?l=n.filter(e=>e!==r):(l=[...n,r]).length===i.length&&(l=[]),h(Array.from(a),[...o,...l]))}}),(0,l.jsx)("span",{className:"font-mono",children:s})]},a)})})]},t)})]})]})}f.propTypes={value:n().shape({providers:n().arrayOf(n().string),models:n().arrayOf(n().string)}),onChange:n().func.isRequired};let j=[{label:"100K",value:"100000"},{label:"500K",value:"500000"},{label:"1M",value:"1000000"},{label:"5M",value:"5000000"},{label:"10M",value:"10000000"}];function v(e){let t=Math.max(0,Number(e)||0);return t>=1e6?`${(t/1e6).toFixed(+(t%1e6!=0))}M`:t>=1e3?`${(t/1e3).toFixed(+(t%1e3!=0))}K`:String(t)}function k({used:e,limit:t}){let s=Math.max(1,Number(t)||1),a=Math.max(0,Number(e)||0),r=Math.min(100,Math.round(a/s*100)),n=Math.max(0,s-a),i=r>=90?{bar:"bg-red-500",text:"text-red-600 dark:text-red-400"}:r>=75?{bar:"bg-amber-500",text:"text-amber-600 dark:text-amber-400"}:{bar:"bg-emerald-500",text:"text-text-muted"};return(0,l.jsxs)("div",{className:"mt-2 max-w-sm",title:`${v(a)} of ${v(s)} tokens used`,children:[(0,l.jsxs)("div",{className:"mb-1 flex items-center justify-between gap-3 text-[11px]",children:[(0,l.jsxs)("span",{className:i.text,children:[r,"% used"]}),(0,l.jsxs)("span",{className:"text-text-muted",children:[v(n)," remaining"]})]}),(0,l.jsx)("div",{className:"h-1.5 overflow-hidden rounded-full bg-black/10 dark:bg-white/10",role:"progressbar","aria-label":`Token usage: ${r}% used, ${v(n)} remaining`,"aria-valuemin":0,"aria-valuemax":s,"aria-valuenow":Math.min(a,s),children:(0,l.jsx)("div",{className:`h-full rounded-full transition-[width] duration-300 ${i.bar}`,style:{width:`${r}%`}})})]})}function w({apiKey:e,activeProviders:t,modelAliases:s,onClose:r,onSave:n}){let[o,d]=(0,a.useState)(e.expiresAt?e.expiresAt.slice(0,16):""),[c,m]=(0,a.useState)(e.allowedModels||[]),[u,x]=(0,a.useState)(""),[p,h]=(0,a.useState)(null==e.tokenLimit?"unlimited":"unchanged"),[b,y]=(0,a.useState)(!1),[g,f]=(0,a.useState)(!1),k=null!=e.tokenLimit,N=async()=>{f(!0),await n({expiresAt:o||null,allowedModels:c,..."unlimited"===p?{tokenLimit:null}:u?{[k?"tokenLimitIncrement":"tokenLimit"]:u}:{}}),f(!1)};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.aF,{isOpen:!0,onClose:r,title:`Edit ${e.name}`,children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(i.pd,{label:"Expires at (optional)",type:"datetime-local",value:o,onChange:e=>d(e.target.value),hint:"Leave blank for no expiry."}),(0,l.jsx)(i.pd,{label:k?"Add tokens":"Set token limit",type:"number",min:"1",step:"1",value:u,onChange:e=>{let t=e.target.value;x(t),h(t?"amount":k?"unchanged":"unlimited")},placeholder:k?"e.g. 500000":"e.g. 1000000",hint:k?`Added to the current ${v(e.tokenLimit)} limit; usage is preserved.`:"Choose Unlimited to remove the limit."}),(0,l.jsxs)("div",{className:"-mt-2 flex flex-wrap gap-1.5","aria-label":"Token limit presets",children:[j.map(e=>{let t="amount"===p&&u===e.value;return(0,l.jsx)("button",{type:"button",onClick:()=>{x(e.value),h("amount")},"aria-pressed":t,className:`rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${t?"border-primary bg-primary text-white":"border-border bg-surface-2 text-text-muted hover:border-primary/50 hover:text-primary"}`,children:e.label},e.value)}),(0,l.jsx)("button",{type:"button",onClick:()=>{x(""),h("unlimited")},"aria-pressed":"unlimited"===p,className:`rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${"unlimited"===p?"border-primary bg-primary text-white":"border-border bg-surface-2 text-text-muted hover:border-primary/50 hover:text-primary"}`,children:"Unlimited"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"mb-1.5 block text-sm font-medium text-text-main",children:"Allowed models"}),(0,l.jsx)("div",{className:"flex min-h-12 flex-wrap gap-1 rounded-lg border border-border bg-surface-2 p-2",children:c.length?c.map(e=>(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md bg-primary/10 px-2 py-1 text-xs text-primary",children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)("button",{type:"button",onClick:()=>m(t=>t.filter(t=>t!==e)),"aria-label":`Remove ${e}`,className:"material-symbols-outlined text-[14px]",children:"close"})]},e)):(0,l.jsx)("span",{className:"p-1 text-xs text-text-muted",children:"All models allowed"})}),(0,l.jsxs)("button",{type:"button",onClick:()=>y(!0),className:"mt-2 flex w-full items-center justify-center gap-1 rounded-lg border border-dashed border-black/10 py-2 text-xs font-medium text-primary dark:border-white/10",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"edit"}),"Edit model access"]})]}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:N,fullWidth:!0,disabled:g,children:g?"Saving...":"Save changes"}),(0,l.jsx)(i.$n,{onClick:r,variant:"ghost",fullWidth:!0,disabled:g,children:"Cancel"})]})]})}),b&&(0,l.jsx)(i.rq,{isOpen:!0,onClose:()=>y(!1),onSelect:e=>m(t=>t.includes(e.value)?t:[...t,e.value]),onDeselect:e=>m(t=>t.filter(t=>t!==e.value)),activeProviders:t,modelAliases:s,addedModelValues:c,closeOnSelect:!1,title:"Edit allowed models"})]})}function N({machineId:e}){let[t,s]=(0,a.useState)([]),[r,n]=(0,a.useState)(!0),[y,g]=(0,a.useState)(!1),[v,C]=(0,a.useState)(""),[S,$]=(0,a.useState)(""),[T,A]=(0,a.useState)(""),[E,P]=(0,a.useState)([]),[_,U]=(0,a.useState)(!1),[O,L]=(0,a.useState)([]),[R,F]=(0,a.useState)({}),[I,D]=(0,a.useState)(null),[M,q]=(0,a.useState)(null),[W,K]=(0,a.useState)(null),[z,H]=(0,a.useState)(null),[J,B]=(0,a.useState)(null),[Q,V]=(0,a.useState)(null),[Y,X]=(0,a.useState)(!1),[Z,G]=(0,a.useState)(!0),[ee,et]=(0,a.useState)(!0),[es,el]=(0,a.useState)(!1),[ea,er]=(0,a.useState)(!1),[en,ei]=(0,a.useState)(!1),[eo,ed]=(0,a.useState)(!1),[ec,em]=(0,a.useState)(""),[eu,ex]=(0,a.useState)(""),[ep,eh]=(0,a.useState)(!1),[eb,ey]=(0,a.useState)(""),[eg,ef]=(0,a.useState)(null),[ej,ev]=(0,a.useState)(!1),[ek,ew]=(0,a.useState)(!1),[eN,eC]=(0,a.useState)(!1),[eS,e$]=(0,a.useState)(!1),[eT,eA]=(0,a.useState)(""),[eE,eP]=(0,a.useState)(!1),[e_,eU]=(0,a.useState)(""),[eO,eL]=(0,a.useState)(null),[eR,eF]=(0,a.useState)(""),[eI,eD]=(0,a.useState)(""),[eM,eq]=(0,a.useState)(null),[eW,eK]=(0,a.useState)(!1),[ez,eH]=(0,a.useState)([]),[eJ,eB]=(0,a.useState)(""),[eQ,eV]=(0,a.useState)(!1),[eY,eX]=(0,a.useState)(!1),[eZ,eG]=(0,a.useState)(!1),e0=(0,a.useRef)(null),e1=(0,a.useRef)(0),e5=(0,a.useRef)(0),e2=(0,a.useRef)(!1),e4=(0,a.useRef)(!1),e3=(0,a.useRef)(!1),e6=(0,a.useRef)(!1),[e8,e7]=(0,a.useState)(!1),[e9,te]=(0,a.useState)(!1),[tt,ts]=(0,a.useState)(new Set),[tl,ta]=(0,a.useState)(!1);(0,a.useEffect)(()=>{ta(!["localhost","127.0.0.1","::1"].includes(window.location.hostname))},[]);let{copied:tr,copy:tn}=(0,o.C)(),ti=!Z||!ee,to=Z?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,a.useEffect)(()=>{e0.current&&(e0.current.scrollTop=e0.current.scrollHeight)},[ez]),(0,a.useEffect)(()=>{tp(),tm()},[]),(0,a.useEffect)(()=>{if(!y&&!W)return;let e=!1;return Promise.all([fetch("/api/providers"),fetch("/api/models/alias")]).then(async([t,s])=>{let[l,a]=await Promise.all([t.ok?t.json():{},s.ok?s.json():{}]);e||(L(l.connections||[]),F(a.aliases||{}))}).catch(e=>console.log("Error loading model picker:",e)),()=>{e=!0}},[y,W]),(0,a.useEffect)(()=>{if(!(en||eN))return;let e=!en||eo,t=!eN||eS,s=()=>{document.hidden||tc()};document.addEventListener("visibilitychange",s);let l=setInterval(()=>{document.hidden||tc()},e&&t?d.YR:d.fl);return()=>{clearInterval(l),document.removeEventListener("visibilitychange",s)}},[en,eN,eo,eS]),(0,a.useEffect)(()=>{let e=async()=>{if(!document.hidden){if(en&&(ec||eu)){let e=await m(eu,ec);e2.current=e,e?(e1.current=0,ed(!0),e3.current||(e3.current=!0,e7(!0))):(e1.current+=1,e1.current>=d.t6&&ed(!1))}else e2.current=!1;if(eN&&eT){let e=await c(eT);e4.current=e,e?(e5.current=0,e$(!0),e6.current||(e6.current=!0,te(!0))):(e5.current+=1,e5.current>=d.t6&&e$(!1))}else e4.current=!1}};if(!(en&&(ec||eu)||eN&&eT))return;e();let t=!eN||eS,s=setInterval(e,(!en||eo)&&t?d.N9:d.RL);return()=>clearInterval(s)},[en,ec,eu,eN,eT,eo,eS]);let td=(0,a.useCallback)((e,t,s,l,a,r)=>{t.current?(s.current=0,l(!0),a.current||(a.current=!0,r(!0))):(s.current+=1,s.current>=d.t6&&l(!1))},[]),tc=async()=>{try{let e=await fetch("/api/tunnel/status",{cache:"no-store"});if(!e.ok)return;let t=await e.json(),s=t.tunnel?.settingsEnabled??t.tunnel?.enabled??!1,l=t.tunnel?.tunnelUrl||"";em(l),ex(t.tunnel?.publicUrl||""),ei(s),td(null,e2,e1,ed,e3,e7);let a=t.tailscale?.settingsEnabled??t.tailscale?.enabled??!1,r=t.tailscale?.tunnelUrl||"";eA(r),eC(a),td(null,e4,e5,e$,e6,te)}catch{}},tm=async()=>{try{let[e,t]=await Promise.all([u.A.getState().fetchSettings(),fetch("/api/tunnel/status",{cache:"no-store"})]);if(e&&(X(e.requireApiKey||!1),G(!1!==e.requireLogin),et(e.hasPassword||!1),el(e.tunnelDashboardAccess||!1)),t.ok){let e=await t.json(),s=e.tunnel?.settingsEnabled??e.tunnel?.enabled??!1,l=e.tunnel?.tunnelUrl||"";em(l),ex(e.tunnel?.publicUrl||""),ei(s),td(null,e2,e1,ed,e3,e7);let a=e.tailscale?.settingsEnabled??e.tailscale?.enabled??!1,r=e.tailscale?.tunnelUrl||"";eA(r),eC(a),td(null,e4,e5,e$,e6,te)}}catch(e){console.log("Error loading settings:",e)}finally{er(!1)}},tu=async e=>{try{await u.A.getState().patchSettings({tunnelDashboardAccess:e})&&el(e)}catch(e){console.log("Error updating tunnelDashboardAccess:",e)}},tx=async e=>{try{await u.A.getState().patchSettings({requireApiKey:e})&&X(e)}catch(e){console.log("Error updating requireApiKey:",e)}},tp=async()=>{try{let e=await fetch("/api/keys"),t=await e.json();e.ok&&s(t.keys||[])}catch(e){console.log("Error fetching data:",e)}finally{n(!1)}},th=async(...e)=>{eh(!0),ey("Waiting for tunnel ready...");let t=e.filter(Boolean).map(e=>`${e}/api/health`),s=Date.now();for(;Date.now()-s<d.Cp;){if(await new Promise(e=>setTimeout(e,d.Hx)),await Promise.any(t.map(async e=>{if((await fetch(e,{mode:"cors",cache:"no-store"})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return ei(!0),eh(!1),ey(""),!0;if((Date.now()-s)%1e4<d.Hx)try{let e=await fetch("/api/tunnel/status");if(e.ok){let t=await e.json();if(!t.tunnel?.enabled)return ef({type:"error",message:"Tunnel process stopped unexpectedly."}),eh(!1),ey(""),!1}}catch{}}return ef({type:"error",message:"Tunnel created but not reachable. Please try again."}),eh(!1),ey(""),!1},tb=async()=>{ev(!1),eh(!0),ef(null),ey("Creating tunnel...");let e=!0;(async()=>{for(;e;){try{let t=await fetch("/api/tunnel/status");if(t.ok){let s=await t.json();s.download?.downloading?ey(`Downloading cloudflared... ${s.download.progress}%`):e&&ey("Creating tunnel...")}}catch{}await new Promise(e=>setTimeout(e,1e3))}})();try{let t=await fetch("/api/tunnel/enable",{method:"POST"});e=!1;let s=await t.json();if(!t.ok)return void ef({type:"error",message:s.error||"Failed to enable tunnel"});let l=s.tunnelUrl;if(!l)return void ef({type:"error",message:"No tunnel URL returned"});em(l),ex(s.publicUrl||""),await th(s.publicUrl,l)}catch(e){ef({type:"error",message:e.message})}finally{e=!1,eh(!1),ey("")}},ty=async()=>{eh(!0),ef(null);try{let e=await fetch("/api/tunnel/disable",{method:"POST"}),t=await e.json();e.ok?(ei(!1),em(""),ew(!1),ef({type:"success",message:"Tunnel disabled"})):ef({type:"error",message:t.error||"Failed to disable tunnel"})}catch(e){ef({type:"error",message:e.message})}finally{eh(!1)}},tg=async()=>{eq(null);try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok){let t=await e.json();return eq(t.installed),t}}catch{}return eq(!1),{installed:!1}},tf=async()=>{eK(!0),eL(null),eH([]);try{let e=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:eJ})});eB("");let t=e.body.getReader(),s=new TextDecoder,l="";for(;;){let{done:e,value:a}=await t.read();if(e)break;let r=(l+=s.decode(a,{stream:!0})).split("\n\n");for(let e of(l=r.pop()||"",r)){let t=e.split("\n"),s="progress",l=null;for(let e of t)if(e.startsWith("event: ")&&(s=e.slice(7).trim()),e.startsWith("data: "))try{l=JSON.parse(e.slice(6))}catch{}if(l)if("progress"===s)eH(e=>[...e.slice(-50),l.message]);else if("done"===s){eq(!0),eK(!1),eX(!1),tw();return}else"error"===s&&eL({type:"error",message:l.error||"Install failed"})}}}catch(e){eL({type:"error",message:e.message})}finally{eK(!1)}},tj=async e=>{eU("Waiting for Tailscale ready...");let t=`${e}/api/health`,s=Date.now();for(;Date.now()-s<d.Cp;){await new Promise(e=>setTimeout(e,d.Hx));try{let e=await fetch(t,{mode:"no-cors",cache:"no-store"});if(e.ok||"opaque"===e.type)return!0}catch{}}return!1},tv=(e,t)=>{eF(e),eD(t)},tk=()=>{eF(""),eD("")},tw=async()=>{eX(!1),eV(!0),eP(!0),eL(null),eU("Connecting..."),tk();try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){eA(t.tunnelUrl||"");let e=await tj(t.tunnelUrl);eC(!0),eL(e?null:{type:"warning",message:"Connected but not reachable yet."});return}if(t.needsLogin&&t.authUrl){tv(t.authUrl,"Open Login Page"),eU('Login required — click "Open Login Page" to continue');for(let e=0;e<40;e++){await new Promise(e=>setTimeout(e,3e3));try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok&&(await e.json()).loggedIn){tk(),eU("Starting funnel...");let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){eA(t.tunnelUrl||"");let e=await tj(t.tunnelUrl);eC(!0),eL(e?null:{type:"warning",message:"Connected but not reachable yet."})}else t.funnelNotEnabled&&t.enableUrl?await tN(t.enableUrl):eL({type:"error",message:t.error||"Failed to start funnel"});return}}catch{}}tk(),eL({type:"error",message:"Login timed out. Please try again."});return}if(t.funnelNotEnabled&&t.enableUrl)return void await tN(t.enableUrl);eL({type:"error",message:t.error||"Failed to connect"})}catch(e){eL({type:"error",message:e.message})}finally{eP(!1),eV(!1),eU(""),tk()}},tN=async e=>{tv(e,"Open Funnel Settings"),eU('Click "Open Funnel Settings" to enable Funnel...');for(let e=0;e<40;e++){await new Promise(e=>setTimeout(e,3e3));try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){tk(),eA(t.tunnelUrl||"");let e=await tj(t.tunnelUrl);eC(!0),eL(e?null:{type:"warning",message:"Connected but not reachable yet."});return}if(t.funnelNotEnabled)continue;if(t.error){tk(),eL({type:"error",message:t.error});return}}catch{}}tk(),eL({type:"error",message:"Timed out waiting for Funnel to be enabled."})},tC=async()=>{eP(!0),eL(null);try{let e=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),t=await e.json();e.ok?(eC(!1),eA(""),eG(!1),eL({type:"success",message:"Tailscale disabled"})):eL({type:"error",message:t.error||"Failed to disable Tailscale"})}catch(e){eL({type:"error",message:e.message})}finally{eP(!1)}},tS=async()=>{eL(null),eH([]);let e=await tg();e?.installed&&e?.hasCachedPassword?tw():eX(!0)},t$=async()=>{if(v.trim())try{let e=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:v,expiresAt:S||null,tokenLimit:T||null,allowedModels:E,scope:I})}),t=await e.json();e.ok&&(q(t.key),await tp(),C(""),$(""),A(""),P([]),U(!1),D(null),g(!1))}catch(e){console.log("Error creating key:",e)}},tT=async()=>{if(J)try{(await fetch(`/api/keys/${J.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({scope:Q})})).ok&&(s(e=>e.map(e=>e.id===J.id?{...e,scope:Q}:e)),B(null),V(null))}catch(e){console.log("Error updating key scope:",e)}},tA=async e=>{H({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{H(null);try{(await fetch(`/api/keys/${e}`,{method:"DELETE"})).ok&&(s(t.filter(t=>t.id!==e)),ts(t=>{let s=new Set(t);return s.delete(e),s}))}catch(e){console.log("Error deleting key:",e)}}})},tE=async(e,t)=>{try{(await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:t})})).ok&&s(s=>s.map(s=>s.id===e?{...s,isActive:t}:s))}catch(e){console.log("Error toggling key:",e)}},tP=async(e,t)=>{let s=await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(!s.ok)throw Error((await s.json()).error||"Failed to update key");await tp(),K(null)},[t_,tU]=(0,a.useState)("/v1");return((0,a.useEffect)(()=>{tU(`${window.location.origin}/v1`)},[]),r)?(0,l.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,l.jsx)(i.Qv,{}),(0,l.jsx)(i.Qv,{})]}):(0,l.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,l.jsxs)(i.Zp,{children:[(0,l.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(x,{label:"Local",url:t_,copyId:"local_url",copied:tr,onCopy:tn}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${en?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),en&&!ep&&eo?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.pd,{value:`${eu||ec}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,l.jsx)("button",{onClick:()=>tn(`${eu||ec}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===tr?"check":"content_copy"})}),(0,l.jsx)("button",{onClick:()=>ew(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!en||ep||eo?ep?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),eb||"Creating tunnel..."]}),(0,l.jsx)("button",{onClick:()=>{eh(!1),ey("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):eg?.type==="error"?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),eg.message]}),(0,l.jsx)(i.$n,{size:"sm",icon:"cloud_upload",onClick:()=>ev(!0),children:"Enable"})]}):ea?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,l.jsx)("button",{onClick:()=>er(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,l.jsx)(i.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{ti?ef({type:"error",message:`Security required: ${to}`}):Y?ev(!0):ef({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),e8?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,l.jsx)("button",{onClick:()=>ew(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${eN?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tailscale"}),eN&&!eE&&eS?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.pd,{value:`${eT}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,l.jsx)("button",{onClick:()=>tn(`${eT}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===tr?"check":"content_copy"})}),(0,l.jsx)("button",{onClick:()=>eG(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!eN||eE||eS?eE||eQ?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),e_||"Connecting..."]}),eR&&(0,l.jsx)(i.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(eR,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:eI||"Open"}),(0,l.jsx)("button",{onClick:()=>{eP(!1),eV(!1),eU(""),tk()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):eO?.type==="error"?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),eO.message]}),(0,l.jsx)(i.$n,{size:"sm",icon:"vpn_lock",onClick:tS,children:"Enable"})]}):(0,l.jsx)(i.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{ti?eL({type:"error",message:`Security required: ${to}`}):tS()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),e9?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,l.jsx)("button",{onClick:()=>eG(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),ti&&!en&&!eN&&(0,l.jsx)("div",{className:"mt-4",children:(0,l.jsx)(b,{message:to,action:{label:"Open settings",href:"/dashboard/profile"}})}),(en||eN)&&(0,l.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!Y&&(0,l.jsx)(b,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!Z||!ee)&&(0,l.jsx)(b,{message:Z?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:Z?"Change password":"Enable",href:"/dashboard/profile"}})]}),(en||eN)&&(0,l.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,l.jsx)(i.lM,{checked:es,onChange:()=>tu(!es)}),(0,l.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,l.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,l.jsx)(h,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked."})]})]})]}),(0,l.jsxs)(i.Zp,{id:"require-api-key",children:[(0,l.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,l.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,l.jsx)(i.$n,{icon:"add",onClick:()=>g(!0),children:"Create Key"})]}),(0,l.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,l.jsx)(i.lM,{checked:Y,onChange:()=>tx(!Y)})]}),tl&&!Y&&(0,l.jsx)("div",{className:"mb-4 -mt-2",children:(0,l.jsx)(b,{message:"Endpoint is exposed without an API key."})}),0===t.length?(0,l.jsxs)("div",{className:"text-center py-12",children:[(0,l.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,l.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,l.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,l.jsx)(i.$n,{icon:"add",onClick:()=>g(!0),children:"Create Key"})]}):(0,l.jsx)("div",{className:"flex flex-col",children:t.map(e=>{var t;return(0,l.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===e.isActive?"opacity-60":""}`,children:[(0,l.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,l.jsx)("p",{className:"text-sm font-medium",children:e.name}),(0,l.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,l.jsx)("code",{className:"text-xs text-text-muted font-mono",children:tt.has(e.id)?e.key:(t=e.key)&&!(t.length<=10)?t.slice(0,6)+"•".repeat(t.length-10)+t.slice(-4):t||""}),(0,l.jsx)("button",{onClick:()=>{var t;return t=e.id,void ts(e=>{let s=new Set(e);return s.has(t)?s.delete(t):s.add(t),s})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:tt.has(e.id)?"Hide key":"Show key",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:tt.has(e.id)?"visibility_off":"visibility"})}),(0,l.jsx)("button",{onClick:()=>tn(e.key,e.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:tr===e.id?"check":"content_copy"})})]}),(0,l.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(e.createdAt).toLocaleDateString(),e.expiresAt?` \xb7 Expires ${new Date(e.expiresAt).toLocaleString()}`:" \xb7 No expiry",null!=e.tokenLimit?` \xb7 ${e.tokensUsed}/${e.tokenLimit} tokens`:" \xb7 Unlimited tokens"]}),null!=e.tokenLimit&&(0,l.jsx)(k,{used:e.tokensUsed,limit:e.tokenLimit}),Array.isArray(e.allowedModels)&&e.allowedModels.length>0&&(0,l.jsxs)("p",{className:"text-xs text-text-muted mt-1 truncate",title:e.allowedModels.join(", "),children:["Models: ",e.allowedModels.join(", ")]}),!1===e.isActive&&(0,l.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"}),e.scope&&(0,l.jsxs)("p",{className:"text-xs text-primary mt-1",children:["Scoped (",(e.scope.providers||[]).length," provider",1===(e.scope.providers||[]).length?"":"s",")"]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("button",{onClick:()=>{B(e),V(e.scope??null)},className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-all",title:"Edit scope",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tune"})}),(0,l.jsx)(i.lM,{size:"sm",checked:e.isActive??!0,onChange:t=>{e.isActive&&!t?H({title:"Pause API Key",message:`Pause API key "${e.name}"?
2
-
3
- This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{H(null),tE(e.id,t)}}):tE(e.id,t)},title:e.isActive?"Pause key":"Resume key"}),(0,l.jsx)("button",{onClick:()=>K(e),className:"p-2 hover:bg-primary/10 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:"Edit key",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"})}),(0,l.jsx)("button",{onClick:()=>tA(e.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},e.id)})})]}),W&&(0,l.jsx)(w,{apiKey:W,activeProviders:O,modelAliases:R,onClose:()=>K(null),onSave:e=>tP(W.id,e)},W.id),(0,l.jsx)(i.aF,{isOpen:y,title:"Create API Key",onClose:()=>{g(!1),C(""),$(""),A(""),P([]),U(!1),D(null)},children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(i.pd,{label:"Key Name",value:v,onChange:e=>C(e.target.value),placeholder:"Production Key"}),(0,l.jsx)(i.pd,{label:"Expires at (optional)",type:"datetime-local",value:S,onChange:e=>$(e.target.value),hint:"Leave blank for no expiry."}),(0,l.jsx)(i.pd,{label:"Token limit (optional)",type:"number",min:"1",step:"1",value:T,onChange:e=>A(e.target.value),placeholder:"Unlimited",hint:"Total input and output tokens. Strictly enforced."}),(0,l.jsxs)("div",{className:"-mt-2 flex flex-wrap gap-1.5","aria-label":"Token limit presets",children:[j.map(e=>{let t=T===e.value;return(0,l.jsx)("button",{type:"button",onClick:()=>A(e.value),"aria-pressed":t,className:`rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${t?"border-primary bg-primary text-white":"border-border bg-surface-2 text-text-muted hover:border-primary/50 hover:text-primary"}`,children:e.label},e.value)}),(0,l.jsx)("button",{type:"button",onClick:()=>A(""),"aria-pressed":!T,className:`rounded-full border px-2.5 py-1 text-xs font-medium transition-colors ${!T?"border-primary bg-primary text-white":"border-border bg-surface-2 text-text-muted hover:border-primary/50 hover:text-primary"}`,children:"Unlimited"})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,l.jsx)("label",{className:"text-sm font-medium text-text-main",children:"Allowed models (optional)"}),0===E.length?(0,l.jsxs)("div",{className:"rounded-lg border border-dashed border-black/10 bg-black/[0.01] px-3 py-4 text-center dark:border-white/10 dark:bg-white/[0.01]",children:[(0,l.jsx)("span",{className:"material-symbols-outlined mb-1 text-xl text-text-muted",children:"layers"}),(0,l.jsx)("p",{className:"text-xs text-text-muted",children:"All models are allowed"})]}):(0,l.jsx)("div",{className:"flex max-h-28 flex-wrap gap-1 overflow-y-auto rounded-lg border border-border bg-surface-2 p-2",children:E.map(e=>(0,l.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md bg-primary/10 px-2 py-1 text-xs text-primary",children:[(0,l.jsx)("span",{className:"max-w-48 truncate",children:e}),(0,l.jsx)("button",{type:"button",onClick:()=>P(t=>t.filter(t=>t!==e)),"aria-label":`Remove ${e}`,className:"material-symbols-outlined text-[14px] hover:text-red-500",children:"close"})]},e))}),(0,l.jsxs)("button",{type:"button",onClick:()=>U(!0),className:"flex w-full items-center justify-center gap-1 rounded-lg border border-dashed border-black/10 py-2 text-xs font-medium text-primary transition-colors hover:border-primary/50 dark:border-white/10",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),E.length?"Add another model":"Choose models"]}),(0,l.jsx)("p",{className:"text-xs text-text-muted",children:"Leave empty to allow every model."})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm font-medium mb-2",children:"Access Scope"}),(0,l.jsx)(f,{value:I,onChange:D})]}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:t$,fullWidth:!0,disabled:!v.trim(),children:"Create"}),(0,l.jsx)(i.$n,{onClick:()=>{g(!1),C(""),$(""),A(""),P([]),U(!1),D(null)},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,l.jsx)(i.aF,{isOpen:!!J,title:`Edit Scope — ${J?.name||""}`,onClose:()=>{B(null),V(null)},children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(f,{value:Q,onChange:V}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:tT,fullWidth:!0,children:"Save"}),(0,l.jsx)(i.$n,{onClick:()=>{B(null),V(null)},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),_&&(0,l.jsx)(i.rq,{isOpen:_,onClose:()=>U(!1),onSelect:e=>P(t=>t.includes(e.value)?t:[...t,e.value]),onDeselect:e=>P(t=>t.filter(t=>t!==e.value)),activeProviders:O,modelAliases:R,addedModelValues:E,closeOnSelect:!1,title:"Choose models for this API key"}),(0,l.jsx)(i.aF,{isOpen:!!M,title:"API Key Created",onClose:()=>q(null),children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,l.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,l.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.pd,{value:M||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,l.jsx)(i.$n,{variant:"secondary",icon:"created_key"===tr?"check":"content_copy",onClick:()=>tn(M,"created_key"),children:"created_key"===tr?"Copied!":"Copy"})]}),(0,l.jsx)(i.$n,{onClick:()=>q(null),fullWidth:!0,children:"Done"})]})}),(0,l.jsx)(i.aF,{isOpen:ej,title:"Enable Tunnel",onClose:()=>ev(!1),children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,l.jsxs)("div",{className:"flex items-start gap-3",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local 9Router to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,l.jsx)("div",{className:"grid grid-cols-2 gap-3",children:d.oX.map(e=>(0,l.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:e.icon}),(0,l.jsx)("p",{className:"text-xs font-semibold",children:e.title}),(0,l.jsx)("p",{className:"text-xs text-text-muted",children:e.desc})]},e.title))}),(0,l.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:tb,fullWidth:!0,children:"Start Tunnel"}),(0,l.jsx)(i.$n,{onClick:()=>ev(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,l.jsx)(i.aF,{isOpen:ek,title:"Disable Tunnel",onClose:()=>!ep&&ew(!1),children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:ty,fullWidth:!0,disabled:ep,variant:"danger",children:ep?"Disabling...":"Disable"}),(0,l.jsx)(i.$n,{onClick:()=>ew(!1),variant:"ghost",fullWidth:!0,disabled:ep,children:"Cancel"})]})]})}),(0,l.jsx)(i.aF,{isOpen:eY,title:"Tailscale Funnel",onClose:()=>{eW||(eX(!1),eB(""),eL(null))},children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[null===eM&&(0,l.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===eM&&!eW&&(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:tf,fullWidth:!0,children:"Install Tailscale"}),(0,l.jsx)(i.$n,{onClick:()=>eX(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),eW&&(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,l.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),ez.length>0&&(0,l.jsx)("div",{ref:e0,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:ez.map((e,t)=>(0,l.jsx)("div",{children:e},t))})]}),!0===eM&&!eW&&(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:()=>tw(),fullWidth:!0,children:"Connect"}),(0,l.jsx)(i.$n,{onClick:()=>eX(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),eO&&(0,l.jsx)(p,{status:eO})]})}),(0,l.jsx)(i.aF,{isOpen:eZ,title:"Disable Tailscale",onClose:()=>!eE&&eG(!1),children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(i.$n,{onClick:tC,fullWidth:!0,disabled:eE,variant:"danger",children:eE?"Disabling...":"Disable"}),(0,l.jsx)(i.$n,{onClick:()=>eG(!1),variant:"ghost",fullWidth:!0,disabled:eE,children:"Cancel"})]})]})}),(0,l.jsx)(i.uo,{isOpen:!!z,onClose:()=>H(null),onConfirm:z?.onConfirm,title:z?.title||"Confirm",message:z?.message,variant:"danger"})]})}k.propTypes={used:n().number,limit:n().number.isRequired},w.propTypes={apiKey:n().object.isRequired,activeProviders:n().array.isRequired,modelAliases:n().object.isRequired,onClose:n().func.isRequired,onSave:n().func.isRequired},N.propTypes={machineId:n().string.isRequired}},59227:(e,t,s)=>{Promise.resolve().then(s.bind(s,34403))}}]);