@hilbras/omnihilbras 2.9.1 → 2.9.2

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 (1070) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +18 -24
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/prerender-manifest.json +23 -23
  5. package/app/.next-cli-build/react-loadable-manifest.json +2 -2
  6. package/app/.next-cli-build/routes-manifest.json +0 -36
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +16 -16
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +5 -5
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.rsc +9 -9
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +9 -9
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +9 -9
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +2 -2
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  137. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  139. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +3 -3
  147. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  153. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/models/chat/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/models/chat/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/models/test-batch/route.js +2 -2
  221. package/app/.next-cli-build/server/app/api/models/test-batch/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  227. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  251. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  257. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/web-session/[id]/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/web-session/[id]/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  297. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  299. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  301. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  307. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  309. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  311. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  313. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  317. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  319. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  321. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  335. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  357. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  365. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/rate-limit/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/rate-limit/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  393. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  435. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  437. package/app/.next-cli-build/server/app/callback.html +1 -1
  438. package/app/.next-cli-build/server/app/callback.rsc +9 -9
  439. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +9 -9
  440. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  441. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +9 -9
  442. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  443. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +14 -14
  444. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +14 -14
  445. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +14 -14
  446. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  447. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +27 -28
  449. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +16 -16
  450. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +27 -28
  451. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  452. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  453. package/app/.next-cli-build/server/app/dashboard/combos.rsc +14 -14
  454. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +14 -14
  455. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +14 -14
  456. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  457. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  458. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +27 -28
  459. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +16 -16
  460. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +27 -28
  461. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  462. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  463. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +14 -14
  464. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +14 -14
  465. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +14 -14
  466. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  467. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  468. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +15 -15
  469. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +15 -15
  470. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +15 -15
  471. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  472. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  473. package/app/.next-cli-build/server/app/dashboard/profile.rsc +14 -14
  474. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +14 -14
  475. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +14 -14
  476. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  477. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +14 -14
  479. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +14 -14
  480. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +14 -14
  481. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  482. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  483. package/app/.next-cli-build/server/app/dashboard/providers.rsc +14 -14
  484. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +14 -14
  485. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +14 -14
  486. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  487. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  488. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +14 -14
  489. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +14 -14
  490. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +14 -14
  491. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  492. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +14 -14
  494. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +14 -14
  495. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +14 -14
  496. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  497. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  498. package/app/.next-cli-build/server/app/dashboard/quota.rsc +15 -15
  499. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +15 -15
  500. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +15 -15
  501. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  502. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  505. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +9 -9
  507. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +9 -9
  508. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +9 -9
  510. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/skills.rsc +14 -14
  512. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +14 -14
  513. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +14 -14
  514. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  515. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  516. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +14 -14
  517. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +14 -14
  518. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +14 -14
  519. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/translator.rsc +14 -14
  522. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +14 -14
  523. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +14 -14
  524. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  525. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  526. package/app/.next-cli-build/server/app/dashboard/usage.rsc +14 -14
  527. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +14 -14
  528. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +14 -14
  529. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  531. package/app/.next-cli-build/server/app/dashboard.rsc +15 -15
  532. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +15 -15
  533. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +15 -15
  534. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  536. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  537. package/app/.next-cli-build/server/app/index.html +1 -1
  538. package/app/.next-cli-build/server/app/index.rsc +9 -9
  539. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +9 -9
  540. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +9 -9
  541. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  542. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  543. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  544. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  545. package/app/.next-cli-build/server/app/landing.html +1 -1
  546. package/app/.next-cli-build/server/app/landing.rsc +10 -10
  547. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +10 -10
  548. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  549. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +10 -10
  550. package/app/.next-cli-build/server/app/login/page.js +1 -1
  551. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  552. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  553. package/app/.next-cli-build/server/app/login.html +1 -1
  554. package/app/.next-cli-build/server/app/login.rsc +11 -11
  555. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +11 -11
  556. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +11 -11
  558. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  559. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  560. package/app/.next-cli-build/server/app/page.js +1 -1
  561. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  562. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  563. package/app/.next-cli-build/server/app-paths-manifest.json +18 -24
  564. package/app/.next-cli-build/server/chunks/1159.js +1 -1
  565. package/app/.next-cli-build/server/chunks/1329.js +1 -1
  566. package/app/.next-cli-build/server/chunks/1640.js +1 -1
  567. package/app/.next-cli-build/server/chunks/1679.js +1 -1
  568. package/app/.next-cli-build/server/chunks/2132.js +1 -1
  569. package/app/.next-cli-build/server/chunks/24.js +1 -1
  570. package/app/.next-cli-build/server/chunks/2617.js +1 -1
  571. package/app/.next-cli-build/server/chunks/2881.js +1 -1
  572. package/app/.next-cli-build/server/chunks/3118.js +1 -1
  573. package/app/.next-cli-build/server/chunks/32.js +1 -1
  574. package/app/.next-cli-build/server/chunks/3817.js +1 -1
  575. package/app/.next-cli-build/server/chunks/3845.js +1 -1
  576. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  577. package/app/.next-cli-build/server/chunks/3966.js +1 -1
  578. package/app/.next-cli-build/server/chunks/412.js +1 -1
  579. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  580. package/app/.next-cli-build/server/chunks/4199.js +1 -1
  581. package/app/.next-cli-build/server/chunks/4217.js +1 -1
  582. package/app/.next-cli-build/server/chunks/436.js +1 -1
  583. package/app/.next-cli-build/server/chunks/4693.js +132 -0
  584. package/app/.next-cli-build/server/chunks/5232.js +1 -0
  585. package/app/.next-cli-build/server/chunks/5330.js +1 -1
  586. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  587. package/app/.next-cli-build/server/chunks/5908.js +1 -1
  588. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  589. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  590. package/app/.next-cli-build/server/chunks/615.js +1 -1
  591. package/app/.next-cli-build/server/chunks/6503.js +1 -0
  592. package/app/.next-cli-build/server/chunks/6723.js +1 -0
  593. package/app/.next-cli-build/server/chunks/6922.js +1 -1
  594. package/app/.next-cli-build/server/chunks/7068.js +1 -1
  595. package/app/.next-cli-build/server/chunks/7073.js +1 -1
  596. package/app/.next-cli-build/server/chunks/7121.js +1 -1
  597. package/app/.next-cli-build/server/chunks/7211.js +1 -1
  598. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  599. package/app/.next-cli-build/server/chunks/{6249.js → 7373.js} +1 -1
  600. package/app/.next-cli-build/server/chunks/7431.js +5 -0
  601. package/app/.next-cli-build/server/chunks/7911.js +1 -1
  602. package/app/.next-cli-build/server/chunks/7914.js +1 -0
  603. package/app/.next-cli-build/server/chunks/7971.js +1 -1
  604. package/app/.next-cli-build/server/chunks/8251.js +1 -1
  605. package/app/.next-cli-build/server/chunks/8287.js +1 -1
  606. package/app/.next-cli-build/server/chunks/8401.js +1 -1
  607. package/app/.next-cli-build/server/chunks/8499.js +4 -4
  608. package/app/.next-cli-build/server/chunks/8525.js +1 -1
  609. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  610. package/app/.next-cli-build/server/chunks/8910.js +1 -1
  611. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  612. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  613. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  614. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  615. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  616. package/app/.next-cli-build/server/pages/404.html +1 -1
  617. package/app/.next-cli-build/server/pages/500.html +1 -1
  618. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  619. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  620. package/app/.next-cli-build/static/Ho-j0vBK5JnrPc1xmt713/_buildManifest.js +1 -0
  621. package/app/.next-cli-build/static/chunks/2723-dabad94522f22ee4.js +1 -0
  622. package/app/.next-cli-build/static/chunks/4864-87ba59d0ded310b4.js +132 -0
  623. package/app/.next-cli-build/static/chunks/5497-ed5ffabb85a19716.js +7 -0
  624. package/app/.next-cli-build/static/chunks/{6.a39be827fd6d332c.js → 6.14774bfbac824225.js} +1 -1
  625. package/app/.next-cli-build/static/chunks/7958-316473a002b2e084.js +5 -0
  626. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-be58ffbf710a5dec.js +2 -0
  627. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-2ee3f149ace63801.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-8159f7d4c09ab7cb.js → page-033b10da013937e4.js} +1 -1
  629. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-90317ba3e66b73c8.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/{page-82a7e01a2e463ba2.js → page-4773b0af283b77f7.js} +1 -1
  631. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-22bd9a3196952cf5.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{error-c23142e5f5729b5c.js → error-abf20f892d461b85.js} +1 -1
  633. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-4431f9b1cc053b18.js +69 -0
  634. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-1fa0d89500a5ec38.js → page-509dda0d0869b182.js} +1 -1
  635. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-1015ef8b964c4dd3.js → page-40f87ec4dfb87552.js} +1 -1
  636. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-c837efcd1edb9841.js → page-a4ab01f328185628.js} +1 -1
  637. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-268b6a5d47d71042.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-631c216c13c7bd3d.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/{page-b345ebe088e2e3d7.js → page-7b0e605f98432f1c.js} +1 -1
  640. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-7f56fcd67de5a4df.js +27 -0
  641. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-4284719a1858706e.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-9c31829dd643cc3e.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-f4cd8f5657152167.js +4 -0
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/pxpipe/{page-1e8ce4fa24e2def5.js → page-fbd06481ffdbb573.js} +1 -1
  645. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-2f6a4a085c8dd9a3.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-6d6e4ef9ef854866.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-277d1751a4a9a74b.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-7f602deed988a26d.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-219ebab18ab5b82b.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-c10319f075f1df9e.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/_global-error/page-706c2ea1969b3c65.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-706c2ea1969b3c65.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-706c2ea1969b3c65.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-706c2ea1969b3c65.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-706c2ea1969b3c65.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-706c2ea1969b3c65.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-706c2ea1969b3c65.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-706c2ea1969b3c65.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-706c2ea1969b3c65.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-706c2ea1969b3c65.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-706c2ea1969b3c65.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-706c2ea1969b3c65.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-706c2ea1969b3c65.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-706c2ea1969b3c65.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-706c2ea1969b3c65.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-706c2ea1969b3c65.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-706c2ea1969b3c65.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-706c2ea1969b3c65.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-706c2ea1969b3c65.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-706c2ea1969b3c65.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-706c2ea1969b3c65.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-706c2ea1969b3c65.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-706c2ea1969b3c65.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-706c2ea1969b3c65.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-706c2ea1969b3c65.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-706c2ea1969b3c65.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-706c2ea1969b3c65.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-706c2ea1969b3c65.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-706c2ea1969b3c65.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-706c2ea1969b3c65.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-706c2ea1969b3c65.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-706c2ea1969b3c65.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-706c2ea1969b3c65.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-706c2ea1969b3c65.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-706c2ea1969b3c65.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-706c2ea1969b3c65.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-706c2ea1969b3c65.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-706c2ea1969b3c65.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-706c2ea1969b3c65.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-706c2ea1969b3c65.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/combos/route-706c2ea1969b3c65.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-706c2ea1969b3c65.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-706c2ea1969b3c65.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-706c2ea1969b3c65.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-706c2ea1969b3c65.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-706c2ea1969b3c65.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-706c2ea1969b3c65.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/health/route-706c2ea1969b3c65.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/init/route-706c2ea1969b3c65.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-706c2ea1969b3c65.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/keys/route-706c2ea1969b3c65.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/locale/route-706c2ea1969b3c65.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-706c2ea1969b3c65.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-706c2ea1969b3c65.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-706c2ea1969b3c65.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-706c2ea1969b3c65.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-706c2ea1969b3c65.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-706c2ea1969b3c65.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-706c2ea1969b3c65.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-706c2ea1969b3c65.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-706c2ea1969b3c65.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-706c2ea1969b3c65.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-706c2ea1969b3c65.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/models/route-706c2ea1969b3c65.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/models/test/route-706c2ea1969b3c65.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-706c2ea1969b3c65.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-706c2ea1969b3c65.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-706c2ea1969b3c65.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-706c2ea1969b3c65.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-706c2ea1969b3c65.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-706c2ea1969b3c65.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-706c2ea1969b3c65.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-706c2ea1969b3c65.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-706c2ea1969b3c65.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-706c2ea1969b3c65.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-706c2ea1969b3c65.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-706c2ea1969b3c65.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-706c2ea1969b3c65.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-706c2ea1969b3c65.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-706c2ea1969b3c65.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-706c2ea1969b3c65.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-706c2ea1969b3c65.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-706c2ea1969b3c65.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-706c2ea1969b3c65.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-706c2ea1969b3c65.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/pricing/route-706c2ea1969b3c65.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-706c2ea1969b3c65.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-706c2ea1969b3c65.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-706c2ea1969b3c65.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-706c2ea1969b3c65.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-706c2ea1969b3c65.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-706c2ea1969b3c65.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-706c2ea1969b3c65.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-706c2ea1969b3c65.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-706c2ea1969b3c65.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-706c2ea1969b3c65.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/providers/route-706c2ea1969b3c65.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-706c2ea1969b3c65.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-706c2ea1969b3c65.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-706c2ea1969b3c65.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-706c2ea1969b3c65.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-706c2ea1969b3c65.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-706c2ea1969b3c65.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-706c2ea1969b3c65.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-706c2ea1969b3c65.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-706c2ea1969b3c65.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-706c2ea1969b3c65.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-706c2ea1969b3c65.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-706c2ea1969b3c65.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-706c2ea1969b3c65.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-706c2ea1969b3c65.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-706c2ea1969b3c65.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-706c2ea1969b3c65.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-706c2ea1969b3c65.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-706c2ea1969b3c65.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-706c2ea1969b3c65.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-706c2ea1969b3c65.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-706c2ea1969b3c65.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-706c2ea1969b3c65.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/settings/route-706c2ea1969b3c65.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-706c2ea1969b3c65.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-706c2ea1969b3c65.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-706c2ea1969b3c65.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-706c2ea1969b3c65.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-706c2ea1969b3c65.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-706c2ea1969b3c65.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-706c2ea1969b3c65.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-706c2ea1969b3c65.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-706c2ea1969b3c65.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-706c2ea1969b3c65.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-706c2ea1969b3c65.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-706c2ea1969b3c65.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-706c2ea1969b3c65.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-706c2ea1969b3c65.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-706c2ea1969b3c65.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-706c2ea1969b3c65.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-706c2ea1969b3c65.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-706c2ea1969b3c65.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-706c2ea1969b3c65.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-706c2ea1969b3c65.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-706c2ea1969b3c65.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-706c2ea1969b3c65.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-706c2ea1969b3c65.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-706c2ea1969b3c65.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-706c2ea1969b3c65.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-706c2ea1969b3c65.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-706c2ea1969b3c65.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-706c2ea1969b3c65.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-706c2ea1969b3c65.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-706c2ea1969b3c65.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-706c2ea1969b3c65.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-706c2ea1969b3c65.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-706c2ea1969b3c65.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-706c2ea1969b3c65.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-706c2ea1969b3c65.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-706c2ea1969b3c65.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-706c2ea1969b3c65.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-706c2ea1969b3c65.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-706c2ea1969b3c65.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/route-706c2ea1969b3c65.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-706c2ea1969b3c65.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-706c2ea1969b3c65.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-706c2ea1969b3c65.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-706c2ea1969b3c65.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-706c2ea1969b3c65.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-706c2ea1969b3c65.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-706c2ea1969b3c65.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-706c2ea1969b3c65.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-706c2ea1969b3c65.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/version/route-706c2ea1969b3c65.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-706c2ea1969b3c65.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/api/version/update/route-706c2ea1969b3c65.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/landing/page-3cec872ac0a7df86.js +20 -0
  824. package/app/.next-cli-build/static/chunks/app/{layout-9a382aa3bca368d1.js → layout-d239786c2792c351.js} +1 -1
  825. package/app/.next-cli-build/static/chunks/app/login/{page-f1d11179aeb87a7b.js → page-244f9db6beda1f45.js} +1 -1
  826. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-706c2ea1969b3c65.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/page-706c2ea1969b3c65.js +1 -0
  828. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-706c2ea1969b3c65.js +1 -0
  829. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-706c2ea1969b3c65.js +1 -0
  830. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-706c2ea1969b3c65.js +1 -0
  831. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-706c2ea1969b3c65.js +1 -0
  832. package/app/.next-cli-build/static/chunks/webpack-acff973e5c36dbee.js +1 -0
  833. package/app/.next-cli-build/static/css/4bc6d8008cb75218.css +1 -0
  834. package/app/package.json +1 -1
  835. package/package.json +1 -1
  836. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +0 -2
  837. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +0 -1
  838. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +0 -1
  839. package/app/.next-cli-build/server/app/api/models/availability/route.js +0 -1
  840. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +0 -1
  841. package/app/.next-cli-build/server/app/api/models/availability/route_client-reference-manifest.js +0 -1
  842. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +0 -1
  843. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +0 -1
  844. package/app/.next-cli-build/server/app/api/models/catalog-sync/route_client-reference-manifest.js +0 -1
  845. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +0 -1
  846. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +0 -1
  847. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route_client-reference-manifest.js +0 -1
  848. package/app/.next-cli-build/server/app/api/tags/route.js +0 -1
  849. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +0 -1
  850. package/app/.next-cli-build/server/app/api/tags/route_client-reference-manifest.js +0 -1
  851. package/app/.next-cli-build/server/app/api/usage/history/route.js +0 -1
  852. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +0 -1
  853. package/app/.next-cli-build/server/app/api/usage/history/route_client-reference-manifest.js +0 -1
  854. package/app/.next-cli-build/server/chunks/1004.js +0 -1
  855. package/app/.next-cli-build/server/chunks/199.js +0 -1
  856. package/app/.next-cli-build/server/chunks/3099.js +0 -1
  857. package/app/.next-cli-build/server/chunks/3276.js +0 -5
  858. package/app/.next-cli-build/server/chunks/3390.js +0 -1
  859. package/app/.next-cli-build/server/chunks/3946.js +0 -1
  860. package/app/.next-cli-build/server/chunks/5299.js +0 -132
  861. package/app/.next-cli-build/static/OAeFlmVsdSK27F9zlps1b/_buildManifest.js +0 -1
  862. package/app/.next-cli-build/static/chunks/5497-b25ea0870709c4a3.js +0 -7
  863. package/app/.next-cli-build/static/chunks/761-7590878484e89ed1.js +0 -132
  864. package/app/.next-cli-build/static/chunks/7958-2225e7f9ffa50c55.js +0 -5
  865. package/app/.next-cli-build/static/chunks/85-f029a8034bfaa5f4.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/page-4cf42b10bafdba52.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/page-1c0b229abad77799.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-030895183c4a1b17.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-760cfc8d9a00b49d.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page-de738056c6c3f5e2.js +0 -69
  871. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/page-7127308e5eea216f.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-0ce06644f7408c8e.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-5830aae99fea0caa.js +0 -27
  874. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-99fd3aed621a28fc.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-33bd2ae28949bf4c.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-59307c2c6aa6807f.js +0 -4
  877. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-826990e074e94349.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-e478c2c7c2491d20.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/page-d599af5870c7cbbe.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-fb9f4ab6f11d4816.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-c123f1f5a02afed4.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-3276d4952049b42b.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/_global-error/page-bf2caba997335c3a.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-bf2caba997335c3a.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-bf2caba997335c3a.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-bf2caba997335c3a.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-bf2caba997335c3a.js +0 -1
  888. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-bf2caba997335c3a.js +0 -1
  889. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-bf2caba997335c3a.js +0 -1
  890. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-bf2caba997335c3a.js +0 -1
  891. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-bf2caba997335c3a.js +0 -1
  892. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-bf2caba997335c3a.js +0 -1
  893. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-bf2caba997335c3a.js +0 -1
  894. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-bf2caba997335c3a.js +0 -1
  895. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-bf2caba997335c3a.js +0 -1
  896. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-bf2caba997335c3a.js +0 -1
  897. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-bf2caba997335c3a.js +0 -1
  898. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-bf2caba997335c3a.js +0 -1
  899. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-bf2caba997335c3a.js +0 -1
  900. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-bf2caba997335c3a.js +0 -1
  901. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-bf2caba997335c3a.js +0 -1
  902. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-bf2caba997335c3a.js +0 -1
  903. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-bf2caba997335c3a.js +0 -1
  904. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-bf2caba997335c3a.js +0 -1
  905. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-bf2caba997335c3a.js +0 -1
  906. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-bf2caba997335c3a.js +0 -1
  907. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-bf2caba997335c3a.js +0 -1
  908. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-bf2caba997335c3a.js +0 -1
  909. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-bf2caba997335c3a.js +0 -1
  910. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-bf2caba997335c3a.js +0 -1
  911. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-bf2caba997335c3a.js +0 -1
  912. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-bf2caba997335c3a.js +0 -1
  913. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-bf2caba997335c3a.js +0 -1
  914. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-bf2caba997335c3a.js +0 -1
  915. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-bf2caba997335c3a.js +0 -1
  916. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-bf2caba997335c3a.js +0 -1
  917. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-bf2caba997335c3a.js +0 -1
  918. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-bf2caba997335c3a.js +0 -1
  919. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-bf2caba997335c3a.js +0 -1
  920. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-bf2caba997335c3a.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-bf2caba997335c3a.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-bf2caba997335c3a.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-bf2caba997335c3a.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/api/combos/route-bf2caba997335c3a.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-bf2caba997335c3a.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-bf2caba997335c3a.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-bf2caba997335c3a.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-bf2caba997335c3a.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-bf2caba997335c3a.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-bf2caba997335c3a.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/api/health/route-bf2caba997335c3a.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/init/route-bf2caba997335c3a.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-bf2caba997335c3a.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/keys/route-bf2caba997335c3a.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/locale/route-bf2caba997335c3a.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-bf2caba997335c3a.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-bf2caba997335c3a.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-bf2caba997335c3a.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-bf2caba997335c3a.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-bf2caba997335c3a.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-bf2caba997335c3a.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-bf2caba997335c3a.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-bf2caba997335c3a.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-bf2caba997335c3a.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-bf2caba997335c3a.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/models/chat/route-bf2caba997335c3a.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-bf2caba997335c3a.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-bf2caba997335c3a.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/models/route-bf2caba997335c3a.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/models/test/route-bf2caba997335c3a.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/models/test-batch/route-bf2caba997335c3a.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-bf2caba997335c3a.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-bf2caba997335c3a.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-bf2caba997335c3a.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-bf2caba997335c3a.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-bf2caba997335c3a.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-bf2caba997335c3a.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-bf2caba997335c3a.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-bf2caba997335c3a.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-bf2caba997335c3a.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-bf2caba997335c3a.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-bf2caba997335c3a.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-bf2caba997335c3a.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-bf2caba997335c3a.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-bf2caba997335c3a.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-bf2caba997335c3a.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-bf2caba997335c3a.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-bf2caba997335c3a.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-bf2caba997335c3a.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-bf2caba997335c3a.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-bf2caba997335c3a.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/pricing/route-bf2caba997335c3a.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-bf2caba997335c3a.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-bf2caba997335c3a.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-bf2caba997335c3a.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-bf2caba997335c3a.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-bf2caba997335c3a.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-bf2caba997335c3a.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-bf2caba997335c3a.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-bf2caba997335c3a.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-bf2caba997335c3a.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-bf2caba997335c3a.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/providers/route-bf2caba997335c3a.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-bf2caba997335c3a.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-bf2caba997335c3a.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-bf2caba997335c3a.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/providers/web-session/[id]/route-bf2caba997335c3a.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-bf2caba997335c3a.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-bf2caba997335c3a.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-bf2caba997335c3a.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-bf2caba997335c3a.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-bf2caba997335c3a.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-bf2caba997335c3a.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-bf2caba997335c3a.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-bf2caba997335c3a.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-bf2caba997335c3a.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-bf2caba997335c3a.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-bf2caba997335c3a.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-bf2caba997335c3a.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-bf2caba997335c3a.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-bf2caba997335c3a.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-bf2caba997335c3a.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-bf2caba997335c3a.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-bf2caba997335c3a.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-bf2caba997335c3a.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/settings/route-bf2caba997335c3a.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-bf2caba997335c3a.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/tags/route-bf2caba997335c3a.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-bf2caba997335c3a.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-bf2caba997335c3a.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-bf2caba997335c3a.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-bf2caba997335c3a.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-bf2caba997335c3a.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-bf2caba997335c3a.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-bf2caba997335c3a.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-bf2caba997335c3a.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-bf2caba997335c3a.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-bf2caba997335c3a.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-bf2caba997335c3a.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-bf2caba997335c3a.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-bf2caba997335c3a.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-bf2caba997335c3a.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-bf2caba997335c3a.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-bf2caba997335c3a.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-bf2caba997335c3a.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-bf2caba997335c3a.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-bf2caba997335c3a.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-bf2caba997335c3a.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/usage/rate-limit/route-bf2caba997335c3a.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-bf2caba997335c3a.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-bf2caba997335c3a.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-bf2caba997335c3a.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-bf2caba997335c3a.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-bf2caba997335c3a.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-bf2caba997335c3a.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-bf2caba997335c3a.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-bf2caba997335c3a.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-bf2caba997335c3a.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-bf2caba997335c3a.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-bf2caba997335c3a.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-bf2caba997335c3a.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-bf2caba997335c3a.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-bf2caba997335c3a.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-bf2caba997335c3a.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-bf2caba997335c3a.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-bf2caba997335c3a.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-bf2caba997335c3a.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/v1/route-bf2caba997335c3a.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-bf2caba997335c3a.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-bf2caba997335c3a.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-bf2caba997335c3a.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-bf2caba997335c3a.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-bf2caba997335c3a.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-bf2caba997335c3a.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-bf2caba997335c3a.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-bf2caba997335c3a.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-bf2caba997335c3a.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/version/route-bf2caba997335c3a.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-bf2caba997335c3a.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/version/update/route-bf2caba997335c3a.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/landing/page-0a57d1766f9a201d.js +0 -20
  1062. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-bf2caba997335c3a.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/page-bf2caba997335c3a.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-bf2caba997335c3a.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-bf2caba997335c3a.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-bf2caba997335c3a.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-bf2caba997335c3a.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/webpack-0c7ed5dbed92c324.js +0 -1
  1069. package/app/.next-cli-build/static/css/2aa77407ba4e4386.css +0 -1
  1070. /package/app/.next-cli-build/static/{OAeFlmVsdSK27F9zlps1b → Ho-j0vBK5JnrPc1xmt713}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6],{1620:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(12115),a=r(90085);function i(e){let t=window.matchMedia("(prefers-color-scheme: dark)");return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function o(){return window.matchMedia("(prefers-color-scheme: dark)").matches}function u(){return!1}function l(){let{theme:e,setTheme:t,toggleTheme:r,initTheme:l}=(0,a.A)(),s=(0,n.useSyncExternalStore)(i,o,u);(0,n.useEffect)(()=>{l()},[l]),(0,n.useEffect)(()=>{if("system"!==e)return;let t=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>l();return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e,l]);let c="dark"===e||"system"===e&&s;return{theme:e,setTheme:t,toggleTheme:r,isDark:c}}},1934:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(12115);let a=e=>{let t,r=new Set,n=(e,n)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,a,i);return i},i=e=>{let t=e?a(e):a,r=e=>(function(e,t=e=>e){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},o=e=>e?i(e):i},31474:(e,t,r)=>{"use strict";function n(...e){return e.filter(Boolean).join(" ").replace(/\s+/g," ").trim()}r.d(t,{cn:()=>n})},31692:(e,t,r)=>{"use strict";r.d(t,{Zr:()=>a});let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},a=(e,t)=>(r,a,i)=>{let o,u={storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var r;let n=e=>null===e?null:JSON.parse(e,void 0),a=null!=(r=t.getItem(e))?r:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,r)=>t.setItem(e,JSON.stringify(r,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,s=0,c=new Set,d=new Set,f=u.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${u.name}', the given storage is currently unavailable.`),r(...e)},a,i);let m=()=>{let e=u.partialize({...a()});return f.setItem(u.name,{state:e,version:u.version})},h=i.setState;i.setState=(e,t)=>(h(e,t),m());let g=e((...e)=>(r(...e),m()),a,i);i.getInitialState=()=>g;let v=()=>{var e,t;if(!f)return;let i=++s;l=!1,c.forEach(e=>{var t;return e(null!=(t=a())?t:g)});let h=(null==(t=u.onRehydrateStorage)?void 0:t.call(u,null!=(e=a())?e:g))||void 0;return n(f.getItem.bind(f))(u.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===u.version)return[!1,e.state];else{if(u.migrate){let t=u.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(i!==s)return;let[n,l]=e;if(r(o=u.merge(l,null!=(t=a())?t:g),!0),n)return m()}).then(()=>{i===s&&(null==h||h(a(),void 0),o=a(),l=!0,d.forEach(e=>e(o)))}).catch(e=>{i===s&&(null==h||h(void 0,e))})};return i.persist={setOptions:e=>{u={...u,...e},e.storage&&(f=e.storage)},clearStorage:()=>{++s,null==f||f.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>v(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},u.skipHydration||v(),o||g}},38587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(95155),a=r(1620),i=r(31474);function o({className:e,variant:t="default"}){let{isDark:r,toggleTheme:u}=(0,a.D)(),l={default:(0,i.cn)("theme-toggle relative grid h-9 w-9 place-items-center rounded-full"),card:(0,i.cn)("theme-toggle relative grid h-11 w-11 place-items-center rounded-full")};return(0,n.jsx)("button",{onClick:u,className:(0,i.cn)(l[t],e),"aria-label":`Switch to ${r?"light":"dark"} mode`,title:`Switch to ${r?"light":"dark"} mode`,children:(0,n.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:r?"light_mode":"dark_mode"})})}},54642:e=>{var t;"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),(t={}).endianness=function(){return"LE"},t.hostname=function(){return"u">typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"u">typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"},e.exports=t}}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6],{1620:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var n=r(12115),a=r(22723);function i(e){let t=window.matchMedia("(prefers-color-scheme: dark)");return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function o(){return window.matchMedia("(prefers-color-scheme: dark)").matches}function u(){return!1}function l(){let{theme:e,setTheme:t,toggleTheme:r,initTheme:l}=(0,a.A)(),s=(0,n.useSyncExternalStore)(i,o,u);(0,n.useEffect)(()=>{l()},[l]),(0,n.useEffect)(()=>{if("system"!==e)return;let t=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>l();return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e,l]);let c="dark"===e||"system"===e&&s;return{theme:e,setTheme:t,toggleTheme:r,isDark:c}}},1934:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(12115);let a=e=>{let t,r=new Set,n=(e,n)=>{let a="function"==typeof e?e(t):e;if(!Object.is(a,t)){let e=t;t=(null!=n?n:"object"!=typeof a||null===a)?a:Object.assign({},t,a),r.forEach(r=>r(t,e))}},a=()=>t,i={setState:n,getState:a,getInitialState:()=>o,subscribe:e=>(r.add(e),()=>r.delete(e))},o=t=e(n,a,i);return i},i=e=>{let t=e?a(e):a,r=e=>(function(e,t=e=>e){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},o=e=>e?i(e):i},31474:(e,t,r)=>{"use strict";function n(...e){return e.filter(Boolean).join(" ").replace(/\s+/g," ").trim()}r.d(t,{cn:()=>n})},31692:(e,t,r)=>{"use strict";r.d(t,{Zr:()=>a});let n=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>n(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>n(t)(e)}}},a=(e,t)=>(r,a,i)=>{let o,u={storage:function(e){let t;try{t=e()}catch(e){return}return{getItem:e=>{var r;let n=e=>null===e?null:JSON.parse(e,void 0),a=null!=(r=t.getItem(e))?r:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,r)=>t.setItem(e,JSON.stringify(r,void 0)),removeItem:e=>t.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,s=0,c=new Set,d=new Set,f=u.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${u.name}', the given storage is currently unavailable.`),r(...e)},a,i);let m=()=>{let e=u.partialize({...a()});return f.setItem(u.name,{state:e,version:u.version})},h=i.setState;i.setState=(e,t)=>(h(e,t),m());let g=e((...e)=>(r(...e),m()),a,i);i.getInitialState=()=>g;let v=()=>{var e,t;if(!f)return;let i=++s;l=!1,c.forEach(e=>{var t;return e(null!=(t=a())?t:g)});let h=(null==(t=u.onRehydrateStorage)?void 0:t.call(u,null!=(e=a())?e:g))||void 0;return n(f.getItem.bind(f))(u.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===u.version)return[!1,e.state];else{if(u.migrate){let t=u.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(i!==s)return;let[n,l]=e;if(r(o=u.merge(l,null!=(t=a())?t:g),!0),n)return m()}).then(()=>{i===s&&(null==h||h(a(),void 0),o=a(),l=!0,d.forEach(e=>e(o)))}).catch(e=>{i===s&&(null==h||h(void 0,e))})};return i.persist={setOptions:e=>{u={...u,...e},e.storage&&(f=e.storage)},clearStorage:()=>{++s,null==f||f.removeItem(u.name)},getOptions:()=>u,rehydrate:()=>v(),hasHydrated:()=>l,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},u.skipHydration||v(),o||g}},38587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(95155),a=r(1620),i=r(31474);function o({className:e,variant:t="default"}){let{isDark:r,toggleTheme:u}=(0,a.D)(),l={default:(0,i.cn)("theme-toggle relative grid h-9 w-9 place-items-center rounded-full"),card:(0,i.cn)("theme-toggle relative grid h-11 w-11 place-items-center rounded-full")};return(0,n.jsx)("button",{onClick:u,className:(0,i.cn)(l[t],e),"aria-label":`Switch to ${r?"light":"dark"} mode`,title:`Switch to ${r?"light":"dark"} mode`,children:(0,n.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:r?"light_mode":"dark_mode"})})}},54642:e=>{var t;"u">typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),(t={}).endianness=function(){return"LE"},t.hostname=function(){return"u">typeof location?location.hostname:""},t.loadavg=function(){return[]},t.uptime=function(){return 0},t.freemem=function(){return Number.MAX_VALUE},t.totalmem=function(){return Number.MAX_VALUE},t.cpus=function(){return[]},t.type=function(){return"Browser"},t.release=function(){return"u">typeof navigator?navigator.appVersion:""},t.networkInterfaces=t.getNetworkInterfaces=function(){return{}},t.arch=function(){return"javascript"},t.platform=function(){return"browser"},t.tmpdir=t.tmpDir=function(){return"/tmp"},t.EOL="\n",t.homedir=function(){return"/"},e.exports=t}}]);
@@ -0,0 +1,5 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7958],{15536:(e,t,s)=>{"use strict";s.d(t,{Cp:()=>n,Hx:()=>r,Iv:()=>m,N9:()=>u,Nv:()=>h,RL:()=>d,YR:()=>o,ev:()=>x,fl:()=>i,hT:()=>a,oX:()=>l,t6:()=>c});let a=["zh-CN","zh-TW"],l=[{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,c=5,d=1e4,u=6e4,m=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}],h=[{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"}]},21280:(e,t,s)=>{"use strict";s.d(t,{default:()=>w});var a=s(95155),l=s(12115),r=s(35497),n=s(5293),i=s(15536);async function o(e){if(!e)return!1;try{return(await fetch(`${e}/api/health`,{mode:"cors",cache:"no-store",signal:AbortSignal.timeout(i.Iv)})).ok}catch{return!1}}async function c(...e){let t=e.filter(Boolean).map(o);return!!t.length&&new Promise(e=>{let s=t.length;t.forEach(t=>t.then(t=>{t?e(!0):0==--s&&e(!1)}))})}var d=s(72767);function u({label:e,url:t,copyId:s,copied:l,onCopy:n}){return(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center bg-surface-2 text-text-muted",children:e}),(0,a.jsx)(r.pd,{value:t,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>n(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,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:l===s?"check":"content_copy"})})]})}function m({status:e,className:t=""}){return(0,a.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,a.jsx)("a",{href:e,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:e},t):e)})}function x({text:e}){return(0,a.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,a.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 h({message:e,action:t}){return(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,a.jsx)("p",{className:"text-xs flex-1",children:e}),t&&(0,a.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 p=s(14051),y=s.n(p);function g({apiKey:e,onChange:t,onRequestRestrict:s}){let n=e.access||{restricted:!1,allow:[]},[i,o]=(0,l.useState)(!1),[c,d]=(0,l.useState)([]),[u,m]=(0,l.useState)({}),x=async()=>{o(!0);try{let[e,t]=await Promise.all([fetch("/api/providers"),fetch("/api/models/alias")]);e.ok&&d((await e.json()).connections||[]),t.ok&&m((await t.json()).aliases||{})}catch(e){console.log("Error loading picker data:",e)}},h=e=>t({restricted:!0,allow:e}),p=e=>h(n.allow.filter(t=>t!==e));return(0,a.jsxs)("div",{className:"mt-2","data-testid":"key-access",children:[(0,a.jsx)(r.lM,{size:"sm",checked:n.restricted,label:"Restrict access",onChange:e=>e?s():t({restricted:!1,allow:n.allow})}),n.restricted&&(0,a.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-1.5",children:[0===n.allow.length&&(0,a.jsx)("span",{className:"text-xs text-orange-500",children:"No combos or models allowed — this key can call nothing."}),n.allow.map(e=>(0,a.jsxs)("span",{className:"flex items-center gap-1 rounded-xl border border-primary/30 bg-primary/10 px-2 py-0.5 font-mono text-xs text-text-main",children:[e,(0,a.jsx)("button",{onClick:()=>p(e),className:"rounded text-text-muted hover:text-red-500",title:`Remove ${e}`,"aria-label":`Remove ${e}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"12px"},children:"close"})})]},e)),(0,a.jsxs)("button",{onClick:x,className:"flex items-center gap-0.5 rounded-xl border border-dashed border-black/10 px-2 py-0.5 text-xs font-medium text-primary hover:border-primary/50 dark:border-white/10",children:[(0,a.jsx)("span",{className:"material-symbols-outlined leading-none",style:{fontSize:"14px"},children:"add"}),"Add combo or model"]})]}),i&&(0,a.jsx)(r.rq,{isOpen:i,onClose:()=>o(!1),onSelect:e=>{let t=e?.value;t&&!n.allow.some(e=>e.toLowerCase()===t.toLowerCase())&&h([...n.allow,t])},onDeselect:e=>p(n.allow.find(t=>t.toLowerCase()===String(e?.value).toLowerCase())),activeProviders:c,modelAliases:u,title:`Allowed for "${e.name}"`,addedModelValues:n.allow,closeOnSelect:!1})]})}function b(e,t){if(""===e||null==e)return t??0;let s=Number(e);return Number.isFinite(s)?s:0}function f({apiKey:e}){let t=(0,d.A)(e=>e.settings),s=t?.rateLimit||{},r=s.keyOverrides?.[e.id]||null,[n,i]=(0,l.useState)(!1),o=r?`Rate limit: ${b(r.requestsPerMinute,s.requestsPerMinute)}/min, ${b(r.tokensPerMinute,s.tokensPerMinute)} tokens/min`:"Rate limit: global";return(0,a.jsxs)("div",{className:"mt-2","data-testid":"key-rate-limit",children:[(0,a.jsx)("button",{type:"button",onClick:()=>i(e=>!e),className:"text-xs font-medium text-primary hover:underline",children:o}),n&&(0,a.jsx)(k,{apiKey:e},`${e.id}:${r?.requestsPerMinute}:${r?.tokensPerMinute}:${s.requestsPerMinute}:${s.tokensPerMinute}`),n&&(0,a.jsx)(j,{apiKeyId:e.id})]})}function j({apiKeyId:e}){let[t,s]=(0,l.useState)(null);if((0,l.useEffect)(()=>{let t=!1,a=async()=>{if(!document.hidden)try{let a=await fetch("/api/usage/rate-limit",{cache:"no-store"});if(!a.ok)return;let l=await a.json();if(t)return;let r=(l.identities||[]).find(t=>t.keyId===e);s(r||null)}catch{}},l=()=>{document.hidden||a()};document.addEventListener("visibilitychange",l),a();let r=setInterval(a,15e3);return()=>{t=!0,clearInterval(r),document.removeEventListener("visibilitychange",l)}},[e]),!t)return null;let r=Object.values(t.rejections||{}).reduce((e,t)=>e+(Number(t)||0),0);return(0,a.jsxs)("p",{className:"mt-1 text-xs text-text-muted","data-testid":"key-rate-limit-usage",children:["Last minute: ",t.requestsPerMinute," requests, ",t.tokensPerMinute," tokens",r>0?`, ${r} refused`:""]})}function k({apiKey:e}){let t=(0,d.A)(e=>e.settings),s=(0,d.A)(e=>e.patchSettings),n=t?.rateLimit||{},i=n.keyOverrides?.[e.id]||null,[o,c]=(0,l.useState)(String(i?.requestsPerMinute??n.requestsPerMinute??"")),[u,m]=(0,l.useState)(String(i?.tokensPerMinute??n.tokensPerMinute??"")),[x,h]=(0,l.useState)(!1),[p,y]=(0,l.useState)(""),g=async e=>{h(!0),y("");try{await s({rateLimit:{...n,keyOverrides:e}})||y(d.A.getState().error||"The limit was not saved — the server refused the change.")}finally{h(!1)}};return(0,a.jsxs)("div",{className:"mt-2 flex flex-col gap-2 rounded-xl border border-black/[0.05] dark:border-white/[0.06] p-3",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row",children:[(0,a.jsx)(r.pd,{type:"number",min:"0",label:"Requests / minute",value:o,onChange:e=>c(e.target.value),className:"flex-1"}),(0,a.jsx)(r.pd,{type:"number",min:"0",label:"Tokens / minute",value:u,onChange:e=>m(e.target.value),className:"flex-1"})]}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"0 means unlimited for this key. Leave empty to use the global ceiling."}),p&&(0,a.jsx)("p",{className:"text-xs text-red-500","data-testid":"key-rate-limit-error",children:p}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(r.$n,{size:"sm",onClick:()=>{let t={...n.keyOverrides||{}};t[e.id]={requestsPerMinute:""===o.trim()?"":Number(o)||0,tokensPerMinute:""===u.trim()?"":Number(u)||0},g(t)},disabled:x,children:"Save"}),i&&(0,a.jsx)(r.$n,{size:"sm",variant:"ghost",onClick:()=>{let t={...n.keyOverrides||{}};delete t[e.id],g(t)},disabled:x,children:"Use global"})]})]})}function w(){let[e,t]=(0,l.useState)([]),[s,p]=(0,l.useState)(!0),[y,b]=(0,l.useState)(""),[j,k]=(0,l.useState)(""),[w,v]=(0,l.useState)(""),[N,C]=(0,l.useState)(!1),[S,P]=(0,l.useState)(""),[T,$]=(0,l.useState)(null),[E,A]=(0,l.useState)(null),[R,_]=(0,l.useState)(!1),[I,O]=(0,l.useState)(!0),[q,F]=(0,l.useState)(!0),[U,L]=(0,l.useState)(!1),[D,K]=(0,l.useState)(!0),[M,W]=(0,l.useState)(!1),[z,H]=(0,l.useState)(!1),[J,B]=(0,l.useState)(""),[Y,Q]=(0,l.useState)(""),[V,X]=(0,l.useState)(!1),[Z,G]=(0,l.useState)(""),[ee,et]=(0,l.useState)(null),[es,ea]=(0,l.useState)(!1),[el,er]=(0,l.useState)(!1),[en,ei]=(0,l.useState)(!1),[eo,ec]=(0,l.useState)(!1),[ed,eu]=(0,l.useState)(""),[em,ex]=(0,l.useState)(!1),[eh,ep]=(0,l.useState)(""),[ey,eg]=(0,l.useState)(null),[eb,ef]=(0,l.useState)(""),[ej,ek]=(0,l.useState)(""),[ew,ev]=(0,l.useState)(null),[eN,eC]=(0,l.useState)(!1),[eS,eP]=(0,l.useState)([]),[eT,e$]=(0,l.useState)(""),[eE,eA]=(0,l.useState)(!1),[eR,e_]=(0,l.useState)(!1),[eI,eO]=(0,l.useState)(!1),eq=(0,l.useRef)(null),eF=(0,l.useRef)(!0),eU=(0,l.useRef)(null);(0,l.useEffect)(()=>(eF.current=!0,()=>{eF.current=!1,eU.current?.abort()}),[]);let eL=(0,l.useRef)(0),eD=(0,l.useRef)(0),eK=(0,l.useRef)(!1),eM=(0,l.useRef)(!1),eW=(0,l.useRef)(!1),ez=(0,l.useRef)(!1),[eH,eJ]=(0,l.useState)(!1),[eB,eY]=(0,l.useState)(!1),[eQ,eV]=(0,l.useState)(!1);(0,l.useEffect)(()=>{eV(!["localhost","127.0.0.1","::1"].includes(window.location.hostname))},[]);let{copied:eX,copy:eZ}=(0,n.C)(),eG=!I||!q,e0=I?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,l.useEffect)(()=>{eq.current&&(eq.current.scrollTop=eq.current.scrollHeight)},[eS]),(0,l.useEffect)(()=>{e8(),e2()},[]),(0,l.useEffect)(()=>{if(!(M||en))return;let e=!M||z,t=!en||eo,s=()=>{document.hidden||e5()};document.addEventListener("visibilitychange",s);let a=setInterval(()=>{document.hidden||e5()},e&&t?i.YR:i.fl);return()=>{clearInterval(a),document.removeEventListener("visibilitychange",s)}},[M,en,z,eo]),(0,l.useEffect)(()=>{let e=async()=>{if(!document.hidden){if(M&&(J||Y)){let e=await c(Y,J);eK.current=e,e?(eL.current=0,H(!0),eW.current||(eW.current=!0,eJ(!0))):(eL.current+=1,eL.current>=i.t6&&H(!1))}else eK.current=!1;if(en&&ed){let e=await o(ed);eM.current=e,e?(eD.current=0,ec(!0),ez.current||(ez.current=!0,eY(!0))):(eD.current+=1,eD.current>=i.t6&&ec(!1))}else eM.current=!1}};if(!(M&&(J||Y)||en&&ed))return;e();let t=!en||eo,s=setInterval(e,(!M||z)&&t?i.N9:i.RL);return()=>clearInterval(s)},[M,J,Y,en,ed,z,eo]);let e1=(0,l.useCallback)((e,t,s,a,l,r)=>{t.current?(s.current=0,a(!0),l.current||(l.current=!0,r(!0))):(s.current+=1,s.current>=i.t6&&a(!1))},[]),e5=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,a=t.tunnel?.tunnelUrl||"";B(a),Q(t.tunnel?.publicUrl||""),W(s),e1(null,eK,eL,H,eW,eJ);let l=t.tailscale?.settingsEnabled??t.tailscale?.enabled??!1,r=t.tailscale?.tunnelUrl||"";eu(r),ei(l),e1(null,eM,eD,ec,ez,eY)}catch{}},e2=async()=>{K(!0);try{let[e,t]=await Promise.all([d.A.getState().fetchSettings(),fetch("/api/tunnel/status",{cache:"no-store"})]);if(e&&(_(e.requireApiKey||!1),O(!1!==e.requireLogin),F(e.hasPassword||!1),L(e.tunnelDashboardAccess||!1)),t.ok){let e=await t.json(),s=e.tunnel?.settingsEnabled??e.tunnel?.enabled??!1,a=e.tunnel?.tunnelUrl||"";B(a),Q(e.tunnel?.publicUrl||""),W(s),e1(null,eK,eL,H,eW,eJ);let l=e.tailscale?.settingsEnabled??e.tailscale?.enabled??!1,r=e.tailscale?.tunnelUrl||"";eu(r),ei(l),e1(null,eM,eD,ec,ez,eY)}}catch(e){console.log("Error loading settings:",e)}finally{K(!1)}},e4=async e=>{try{await d.A.getState().patchSettings({tunnelDashboardAccess:e})&&L(e)}catch(e){console.log("Error updating tunnelDashboardAccess:",e)}},e3=async e=>{try{await d.A.getState().patchSettings({requireApiKey:e})&&_(e)}catch(e){console.log("Error updating requireApiKey:",e)}},e8=async()=>{try{let e=async()=>{let e=await fetch("/api/keys");if(!e.ok)throw Error(`Failed to load the API keys (HTTP ${e.status})`);return(await e.json()).keys||[]},s=await e();if(0===s.length){let t=!1;try{t=(await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:"Default Key"})})).ok}catch{}t&&(s=await e())}t(s),b("")}catch(e){console.log("Error fetching data:",e),b(e.message||"Failed to load the API keys.")}finally{p(!1)}},e6=async(...e)=>{if(!eF.current)return!1;X(!0),G("Waiting for tunnel ready...");let t=e.filter(Boolean).map(e=>`${e}/api/health`),s=new AbortController,{signal:a}=s,l=Date.now();for(;Date.now()-l<i.Cp&&eF.current&&(await new Promise(e=>setTimeout(e,i.Hx)),eF.current);){if(await Promise.any(t.map(async e=>{if((await fetch(e,{mode:"cors",cache:"no-store",signal:a})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return W(!0),X(!1),G(""),!0;if((Date.now()-l)%1e4<i.Hx)try{let e=await fetch("/api/tunnel/status",{signal:a});if(e.ok){let t=await e.json();if(!t.tunnel?.enabled)return et({type:"error",message:"Tunnel process stopped unexpectedly."}),X(!1),G(""),!1}}catch{}}return s.abort(),!!eF.current&&(et({type:"error",message:"Tunnel created but not reachable. Please try again."}),X(!1),G(""),!1)},e7=async()=>{ea(!1),X(!0),et(null),G("Creating tunnel...");let e=!0;(async()=>{let t=new AbortController;for(eU.current=t;e;){if(!eF.current){e=!1;break}try{let s=await fetch("/api/tunnel/status",{signal:t.signal});if(s.ok){let t=await s.json();t.download?.downloading?G(`Downloading cloudflared... ${t.download.progress}%`):e&&G("Creating tunnel...")}}catch{}if(!e||!eF.current)break;await new Promise(e=>setTimeout(e,1e3))}eU.current===t&&(eU.current=null)})();try{let t=await fetch("/api/tunnel/enable",{method:"POST"});e=!1;let s=await t.json();if(!t.ok)return void et({type:"error",message:s.error||"Failed to enable tunnel"});let a=s.tunnelUrl;if(!a)return void et({type:"error",message:"No tunnel URL returned"});B(a),Q(s.publicUrl||""),await e6(s.publicUrl,a)}catch(e){et({type:"error",message:e.message})}finally{e=!1,X(!1),G("")}},e9=async()=>{X(!0),et(null);try{let e=await fetch("/api/tunnel/disable",{method:"POST"}),t=await e.json();e.ok?(W(!1),B(""),er(!1),et({type:"success",message:"Tunnel disabled"})):et({type:"error",message:t.error||"Failed to disable tunnel"})}catch(e){et({type:"error",message:e.message})}finally{X(!1)}},te=async()=>{ev(null);try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok){let t=await e.json();return ev(t.installed),t}}catch{}return ev(!1),{installed:!1}},tt=async()=>{eC(!0),eg(null),eP([]);try{let e=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:eT})});e$("");let t=e.body.getReader(),s=new TextDecoder,a="";for(;;){let{done:e,value:l}=await t.read();if(e)break;let r=(a+=s.decode(l,{stream:!0})).split("\n\n");for(let e of(a=r.pop()||"",r)){let t=e.split("\n"),s="progress",a=null;for(let e of t)if(e.startsWith("event: ")&&(s=e.slice(7).trim()),e.startsWith("data: "))try{a=JSON.parse(e.slice(6))}catch{}if(a)if("progress"===s)eP(e=>[...e.slice(-50),a.message]);else if("done"===s){ev(!0),eC(!1),e_(!1),tr();return}else"error"===s&&eg({type:"error",message:a.error||"Install failed"})}}}catch(e){eg({type:"error",message:e.message})}finally{eC(!1)}},ts=async e=>{if(!eF.current)return!1;ep("Waiting for Tailscale ready...");let t=`${e}/api/health`,s=new AbortController,{signal:a}=s,l=Date.now();for(;Date.now()-l<i.Cp&&eF.current&&(await new Promise(e=>setTimeout(e,i.Hx)),eF.current);)try{let e=await fetch(t,{mode:"no-cors",cache:"no-store",signal:a});if(e.ok||"opaque"===e.type)return!0}catch{}return s.abort(),!1},ta=(e,t)=>{ef(e),ek(t)},tl=()=>{ef(""),ek("")},tr=async()=>{e_(!1),eA(!0),ex(!0),eg(null),ep("Connecting..."),tl();try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){eu(t.tunnelUrl||"");let e=await ts(t.tunnelUrl);ei(!0),eg(e?null:{type:"warning",message:"Connected but not reachable yet."});return}if(t.needsLogin&&t.authUrl){ta(t.authUrl,"Open Login Page"),ep('Login required — click "Open Login Page" to continue');for(let e=0;e<40;e++){if(await new Promise(e=>setTimeout(e,3e3)),!eF.current)return;try{let e=await fetch("/api/tunnel/tailscale-check");if(e.ok&&(await e.json()).loggedIn){tl(),ep("Starting funnel...");let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){eu(t.tunnelUrl||"");let e=await ts(t.tunnelUrl);ei(!0),eg(e?null:{type:"warning",message:"Connected but not reachable yet."})}else t.funnelNotEnabled&&t.enableUrl?await tn(t.enableUrl):eg({type:"error",message:t.error||"Failed to start funnel"});return}}catch{}}tl(),eg({type:"error",message:"Login timed out. Please try again."});return}if(t.funnelNotEnabled&&t.enableUrl)return void await tn(t.enableUrl);eg({type:"error",message:t.error||"Failed to connect"})}catch(e){eg({type:"error",message:e.message})}finally{ex(!1),eA(!1),ep(""),tl()}},tn=async e=>{ta(e,"Open Funnel Settings"),ep('Click "Open Funnel Settings" to enable Funnel...');for(let e=0;e<40;e++){if(await new Promise(e=>setTimeout(e,3e3)),!eF.current)return;try{let e=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),t=await e.json();if(e.ok&&t.success){tl(),eu(t.tunnelUrl||"");let e=await ts(t.tunnelUrl);ei(!0),eg(e?null:{type:"warning",message:"Connected but not reachable yet."});return}if(t.funnelNotEnabled)continue;if(t.error){tl(),eg({type:"error",message:t.error});return}}catch{}}tl(),eg({type:"error",message:"Timed out waiting for Funnel to be enabled."})},ti=async()=>{ex(!0),eg(null);try{let e=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),t=await e.json();e.ok?(ei(!1),eu(""),eO(!1),eg({type:"success",message:"Tailscale disabled"})):eg({type:"error",message:t.error||"Failed to disable Tailscale"})}catch(e){eg({type:"error",message:e.message})}finally{ex(!1)}},to=async()=>{eg(null),eP([]);let e=await te();e?.installed&&e?.hasCachedPassword?tr():e_(!0)},tc=async()=>{if(S.trim()){v("");try{let e=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:S})}),t=await e.json().catch(()=>({}));if(!e.ok)return void v(t.error||"Failed to create the key.");$(t.key),await e8(),P(""),C(!1)}catch(e){console.log("Error creating key:",e),v(e.message||"Failed to create the key.")}}},td=async s=>{A({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{A(null);try{(await fetch(`/api/keys/${s}`,{method:"DELETE"})).ok&&t(e.filter(e=>e.id!==s))}catch(e){console.log("Error deleting key:",e)}}})},tu=async(e,s)=>{k("");try{let a=await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:s})});if(a.ok)t(t=>t.map(t=>t.id===e?{...t,isActive:s}:t));else{let e=await a.json().catch(()=>({}));k(e.error||"Failed to update the key.")}}catch(e){console.log("Error toggling key:",e),k(e.message||"Failed to update the key.")}},tm=async(e,s)=>{k("");try{let a=await fetch(`/api/keys/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({access:s})}),l=await a.json().catch(()=>({}));a.ok&&l.key?t(t=>t.map(t=>t.id===e?{...t,access:l.key.access}:t)):k(l.error||"Failed to update the key access.")}catch(e){console.log("Error updating key access:",e),k(e.message||"Failed to update the key access.")}},[tx,th]=(0,l.useState)("/v1");return((0,l.useEffect)(()=>{th(`${window.location.origin}/v1`)},[]),s)?(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsx)(r.Qv,{}),(0,a.jsx)(r.Qv,{})]}):(0,a.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,a.jsxs)(r.Zp,{children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)(u,{label:"Local",url:tx,copyId:"local_url",copied:eX,onCopy:eZ}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${M?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),M&&!V&&z?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.pd,{value:`${Y||J}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>eZ(`${Y||J}/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,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===eX?"check":"content_copy"})}),(0,a.jsx)("button",{onClick:()=>er(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!M||V||z?V?(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),Z||"Creating tunnel..."]}),(0,a.jsx)("button",{onClick:()=>{eU.current?.abort(),eU.current=null,X(!1),G("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ee?.type==="error"?(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ee.message]}),(0,a.jsx)(r.$n,{size:"sm",icon:"cloud_upload",onClick:()=>ea(!0),children:"Enable"})]}):D?(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,a.jsx)("button",{onClick:()=>K(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,a.jsx)(r.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{eG?et({type:"error",message:`Security required: ${e0}`}):R?ea(!0):et({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),eH?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,a.jsx)("button",{onClick:()=>er(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.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&&!em&&eo?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.pd,{value:`${ed}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)("button",{onClick:()=>eZ(`${ed}/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,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===eX?"check":"content_copy"})}),(0,a.jsx)("button",{onClick:()=>eO(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!en||em||eo?em||eE?(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),eh||"Connecting..."]}),eb&&(0,a.jsx)(r.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(eb,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:ej||"Open"}),(0,a.jsx)("button",{onClick:()=>{ex(!1),eA(!1),ep(""),tl()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ey?.type==="error"?(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ey.message]}),(0,a.jsx)(r.$n,{size:"sm",icon:"vpn_lock",onClick:to,children:"Enable"})]}):(0,a.jsx)(r.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{eG?eg({type:"error",message:`Security required: ${e0}`}):to()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,a.jsxs)(a.Fragment,{children:[(0,a.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,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),eB?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,a.jsx)("button",{onClick:()=>eO(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),eG&&!M&&!en&&(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(h,{message:e0,action:{label:"Open settings",href:"/dashboard/profile"}})}),(M||en)&&(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!R&&(0,a.jsx)(h,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!I||!q)&&(0,a.jsx)(h,{message:I?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:I?"Change password":"Enable",href:"/dashboard/profile"}})]}),(M||en)&&(0,a.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,a.jsx)(r.lM,{checked:U,onChange:()=>e4(!U)}),(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,a.jsx)(x,{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,a.jsxs)(r.Zp,{id:"require-api-key",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,a.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,a.jsx)(r.$n,{icon:"add",onClick:()=>{v(""),C(!0)},children:"Create Key"})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,a.jsx)(r.lM,{checked:R,onChange:()=>e3(!R)})]}),eQ&&!R&&(0,a.jsx)("div",{className:"mb-4 -mt-2",children:(0,a.jsx)(h,{message:"Endpoint is exposed without an API key."})}),y||j?(0,a.jsxs)("div",{className:"flex items-center gap-2 rounded-lg border border-red-300 dark:border-red-800 bg-red-500/5 px-3 py-2 text-sm text-red-600 dark:text-red-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"error"}),y||j]}):null,0===e.length?(0,a.jsxs)("div",{className:"text-center py-12",children:[(0,a.jsx)("div",{className:`inline-flex items-center justify-center w-16 h-16 rounded-full mb-4 ${y?"bg-red-500/10 text-red-500":"bg-primary/10 text-primary"}`,children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:y?"error":"vpn_key"})}),(0,a.jsx)("p",{className:"text-text-main font-medium mb-1",children:y?"Could not load the API keys":"No API keys yet"}),(0,a.jsx)("p",{className:"text-sm text-text-muted mb-4",children:y||"Create your first API key to get started"}),!y&&(0,a.jsx)(r.$n,{icon:"add",onClick:()=>{v(""),C(!0)},children:"Create Key"})]}):(0,a.jsx)("div",{className:"flex flex-col",children:e.map(e=>(0,a.jsxs)("div",{className:`group flex items-start justify-between gap-3 py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===e.isActive?"opacity-60":""}`,children:[(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-medium",children:e.name}),(0,a.jsx)("div",{className:"flex items-center gap-2 mt-1 min-w-0 flex-wrap",children:(0,a.jsx)("code",{className:"text-xs text-text-muted font-mono break-all min-w-0",children:e.key})}),(0,a.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(e.createdAt).toLocaleDateString()]}),!1===e.isActive&&(0,a.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"}),(0,a.jsx)(g,{apiKey:e,onChange:t=>tm(e.id,t),onRequestRestrict:()=>A({title:"Restrict API Key",message:`Restrict API key "${e.name}"?
2
+
3
+ It will only be able to call the combos and models you add. Until you add one, it can call nothing.`,onConfirm:async()=>{A(null),tm(e.id,{restricted:!0,allow:e.access?.allow||[]})}})}),(0,a.jsx)(f,{apiKey:e})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 shrink-0 pt-0.5",children:[(0,a.jsx)(r.lM,{size:"sm",checked:e.isActive??!0,onChange:t=>{e.isActive&&!t?A({title:"Pause API Key",message:`Pause API key "${e.name}"?
4
+
5
+ This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{A(null),tu(e.id,t)}}):tu(e.id,t)},title:e.isActive?"Pause key":"Resume key"}),(0,a.jsx)("button",{onClick:()=>td(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,a.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},e.id))})]}),(0,a.jsx)(r.aF,{isOpen:N,title:"Create API Key",onClose:()=>{C(!1),P(""),v("")},children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(r.pd,{label:"Key Name",value:S,onChange:e=>P(e.target.value),placeholder:"Production Key"}),w&&(0,a.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:w}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:tc,fullWidth:!0,disabled:!S.trim(),children:"Create"}),(0,a.jsx)(r.$n,{onClick:()=>{C(!1),P("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,a.jsx)(r.aF,{isOpen:!!T,title:"API Key Created",onClose:()=>$(null),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.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,a.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,a.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,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.pd,{value:T||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,a.jsx)(r.$n,{variant:"secondary",icon:"created_key"===eX?"check":"content_copy",onClick:()=>eZ(T,"created_key"),children:"created_key"===eX?"Copied!":"Copy"})]}),(0,a.jsx)(r.$n,{onClick:()=>$(null),fullWidth:!0,children:"Done"})]})}),(0,a.jsx)(r.aF,{isOpen:es,title:"Enable Tunnel",onClose:()=>ea(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local OmniHilbras 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,a.jsx)("div",{className:"grid grid-cols-2 gap-3",children:i.oX.map(e=>(0,a.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:e.icon}),(0,a.jsx)("p",{className:"text-xs font-semibold",children:e.title}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:e.desc})]},e.title))}),(0,a.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:e7,fullWidth:!0,children:"Start Tunnel"}),(0,a.jsx)(r.$n,{onClick:()=>ea(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,a.jsx)(r.aF,{isOpen:el,title:"Disable Tunnel",onClose:()=>!V&&er(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:e9,fullWidth:!0,disabled:V,variant:"danger",children:V?"Disabling...":"Disable"}),(0,a.jsx)(r.$n,{onClick:()=>er(!1),variant:"ghost",fullWidth:!0,disabled:V,children:"Cancel"})]})]})}),(0,a.jsx)(r.aF,{isOpen:eR,title:"Tailscale Funnel",onClose:()=>{eN||(e_(!1),e$(""),eg(null))},children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[null===ew&&(0,a.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===ew&&!eN&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:tt,fullWidth:!0,children:"Install Tailscale"}),(0,a.jsx)(r.$n,{onClick:()=>e_(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),eN&&(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,a.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),eS.length>0&&(0,a.jsx)("div",{ref:eq,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:eS.map((e,t)=>(0,a.jsx)("div",{children:e},t))})]}),!0===ew&&!eN&&(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:()=>tr(),fullWidth:!0,children:"Connect"}),(0,a.jsx)(r.$n,{onClick:()=>e_(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),ey&&(0,a.jsx)(m,{status:ey})]})}),(0,a.jsx)(r.aF,{isOpen:eI,title:"Disable Tailscale",onClose:()=>!em&&eO(!1),children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsx)(r.$n,{onClick:ti,fullWidth:!0,disabled:em,variant:"danger",children:em?"Disabling...":"Disable"}),(0,a.jsx)(r.$n,{onClick:()=>eO(!1),variant:"ghost",fullWidth:!0,disabled:em,children:"Cancel"})]})]})}),(0,a.jsx)(r.uo,{isOpen:!!E,onClose:()=>A(null),onConfirm:E?.onConfirm,title:E?.title||"Confirm",message:E?.message,variant:"danger"})]})}g.propTypes={apiKey:y().shape({id:y().string.isRequired,name:y().string,access:y().shape({restricted:y().bool,allow:y().arrayOf(y().string)})}).isRequired,onChange:y().func.isRequired,onRequestRestrict:y().func.isRequired},f.propTypes={apiKey:y().shape({id:y().string.isRequired,name:y().string}).isRequired},k.propTypes={apiKey:y().shape({id:y().string.isRequired,name:y().string}).isRequired}},67958:(e,t,s)=>{Promise.resolve().then(s.bind(s,21280))}}]);
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4465],{9565:(e,t,r)=>{Promise.resolve().then(r.bind(r,50559))},50559:(e,t,r)=>{"use strict";r.d(t,{default:()=>b});var s=r(95155),a=r(12115),i=r(35497),l=r(28777),n=r(88105);function o(e){let t=e?.provider||"";return((0,n.mq)(t)||(0,n.gb)(t))&&e?.providerSpecificData?.prefix||t}function d(e,t){let r=(t||"").trim();return r?r.startsWith(`${e}/`)?r:`${e}/${r}`:""}let c="basic-chat.sessions",m="basic-chat.activeSessionId",u="basic-chat.activeProviderId",p="basic-chat.draft";function h(){return globalThis.crypto?.randomUUID?globalThis.crypto.randomUUID():`chat_${Date.now()}_${Math.random().toString(16).slice(2)}`}function x(e){if("string"==typeof e)return e;if(null==e)return"";if(Array.isArray(e))return e.map(x).filter(Boolean).join(" ");if("object"==typeof e){if("string"==typeof e.message)return e.message;if("string"==typeof e.error)return e.error;try{return JSON.stringify(e)}catch{return String(e)}}return String(e)}function f(e=""){let t=x(e).replace(/\s+/g," ").trim();return t?t.length>52?`${t.slice(0,52).trimEnd()}…`:t:"New chat"}async function g(e){return await new Promise((t,r)=>{let s=new FileReader;s.onload=()=>t(String(s.result||"")),s.onerror=()=>r(s.error||Error("Failed to read file")),s.readAsDataURL(e)})}function w(e){return e?.name||function(e=""){return String(e).replace(/[-_]/g," ").replace(/\b\w/g,e=>e.toUpperCase()).trim()||"Unknown"}(e?.provider||e?.id||"provider")}function b(){let[e,t]=(0,a.useState)([]),[r,b]=(0,a.useState)(!0),[v,N]=(0,a.useState)(""),[y,j]=(0,a.useState)([]),[S,I]=(0,a.useState)(""),[A,k]=(0,a.useState)(""),[D,O]=(0,a.useState)(""),[$,C]=(0,a.useState)(""),[E,M]=(0,a.useState)([]),[T,_]=(0,a.useState)(!1),[U,R]=(0,a.useState)(""),[z,P]=(0,a.useState)(""),[q,J]=(0,a.useState)(!1),[B,F]=(0,a.useState)(!1),[K,L]=(0,a.useState)(!1),W=(0,a.useRef)(null),H=(0,a.useRef)(null),Y=(0,a.useRef)(!1),G=(0,a.useRef)(null),Q=(0,a.useRef)(null);(0,a.useEffect)(()=>{try{let e=function(e,t){try{return JSON.parse(e)}catch{return t}}(globalThis.localStorage.getItem(c),[]);Array.isArray(e)&&j(e.map(e=>({...e,messages:Array.isArray(e.messages)?e.messages:[]}))),I(globalThis.localStorage.getItem(m)||""),k(globalThis.localStorage.getItem(u)||""),C(globalThis.localStorage.getItem(p)||"")}catch{}J(!0)},[]),(0,a.useEffect)(()=>()=>{H.current?.abort()},[]),(0,a.useEffect)(()=>{let e=!1;return async function(){b(!0),N("");try{let r=await fetch("/api/providers",{cache:"no-store"}),s=await r.json().catch(()=>({})),a=Array.isArray(s.connections)?s.connections.filter(e=>e?.isActive!==!1):[];if(0===a.length){e||(t([]),N("No providers connected yet."));return}let i=new Map;for(let e of a){let t=e.provider||e.id,r=w(e),s=(0,n.mq)(t)?"openai-compatible":(0,n.gb)(t)?"anthropic-compatible":t;i.has(t)||i.set(t,{providerId:t,providerName:r,providerType:s,connections:[],models:[]});let a=i.get(t);a.providerName=a.providerName||r,a.providerType=a.providerType||s,a.connections.push(e);let c=(0,l.KC)(t).map(t=>(function(e,t){if(!e?.id)return null;let r=d(o(t),e.id);return{id:r,requestModel:r,name:e.name||e.id,providerId:t.provider,providerName:w(t),source:"static"}})(t,e)).filter(Boolean);a.models.push(...c)}for(let e of(await Promise.all(a.map(async e=>{try{let t=await fetch(`/api/providers/${e.id}/models`,{cache:"no-store"}),r=await t.json().catch(()=>({}));if(!t.ok)return{connection:e,models:[]};let s=(Array.isArray(r?.models)?r.models:Array.isArray(r?.data)?r.data:Array.isArray(r?.results)?r.results:Array.isArray(r)?r:[]).map(t=>(function(e,t){let r="string"==typeof e?e:e?.id||e?.name||e?.model||"";if(!r)return null;let s="string"==typeof e?e:e?.name||e?.displayName||r,a=d(o(t),r);return{id:a,requestModel:a,name:s,providerId:t.provider,providerName:w(t),source:"live"}})(t,e)).filter(Boolean);return{connection:e,models:s}}catch{return{connection:e,models:[]}}})))){let t=e.connection.provider||e.connection.id,r=i.get(t);r&&r.models.push(...e.models)}let c=Array.from(i.values()).map(e=>({...e,models:(function(e){let t=new Map;for(let r of e)r?.id&&(t.has(r.id)||t.set(r.id,r));return Array.from(t.values())})(e.models).sort((e,t)=>e.name.localeCompare(t.name))})).filter(e=>e.models.length>0).sort((e,t)=>e.providerName.localeCompare(t.providerName));e||(t(c),0===c.length&&N("Providers connected but no models available."))}catch(r){e||(N(x(r?.message)||"Failed to load providers/models."),t([]))}finally{e||b(!1)}}(),()=>{e=!0}},[]),(0,a.useEffect)(()=>{let e=e=>{G.current&&!G.current.contains(e.target)&&F(!1),Q.current&&!Q.current.contains(e.target)&&L(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let V=(0,a.useMemo)(()=>{let t=new Map;for(let r of e)for(let e of r.models)t.set(e.id,{...e,providerId:r.providerId,providerName:r.providerName});return t},[e]),X=(0,a.useMemo)(()=>e.find(e=>e.providerId===A)||e[0]||null,[e,A]),Z=(0,a.useMemo)(()=>{if(D&&V.has(D))return V.get(D);if(S){let e=y.find(e=>e.id===S);if(e?.modelId&&V.has(e.modelId))return V.get(e.modelId)}return X?.models?.[0]||null},[D,V,X,y,S]),ee=(0,a.useMemo)(()=>y.find(e=>e.id===S)||null,[y,S]),et=ee?.messages||[],er=(0,a.useMemo)(()=>[...y].sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime()),[y]),es=!T&&!!Z&&($.trim().length>0||E.length>0);(0,a.useEffect)(()=>{if(q)try{globalThis.localStorage.setItem(c,JSON.stringify(y)),globalThis.localStorage.setItem(m,S),globalThis.localStorage.setItem(u,A),globalThis.localStorage.setItem(p,$)}catch{}},[q,y,S,A,$]),(0,a.useEffect)(()=>{if(!q||r||Y.current||0===e.length)return;let t=e.find(e=>e.providerId===A)||e[0],s=D&&V.has(D)?V.get(D):t.models[0];if(y.length>0){let e=y.find(e=>e.id===S)||y[0],r=e?.modelId&&V.has(e.modelId)?V.get(e.modelId):s;Y.current=!0,I(e.id),k(r?.providerId||t.providerId),O(r?.id||s.id);return}let a={id:h(),title:"New chat",providerId:t.providerId,providerName:t.providerName,modelId:s.id,modelName:s.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]};Y.current=!0,j([a]),I(a.id),k(t.providerId),O(s.id)},[q,r,e,V,y,S,A,D]);let ea=(e,t)=>{j(r=>r.map(r=>r.id===e?t({...r,messages:Array.isArray(r.messages)?r.messages.map(e=>({...e})):[]}):r))},ei=e=>e?{id:h(),title:"New chat",providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString(),messages:[]}:null,el=async e=>{let t=Array.from(e.target.files||[]);if(0===t.length)return;let r=t.filter(e=>e.type.startsWith("image/"));if(0===r.length){e.target.value="";return}let s=await Promise.all(r.map(async e=>({id:h(),name:e.name,type:e.type,size:e.size,dataUrl:await g(e)})));M(e=>[...e,...s]),e.target.value=""},en=async()=>{let e=Z||X?.models?.[0]||null;if(!e)return;let t=$.trim();if(!t&&0===E.length)return;let r=S,s=y.find(e=>e.id===r);if(!s){if(!(s=ei(e)))return;r=s.id,j(e=>[s,...e]),I(r)}let a={id:h(),role:"user",content:t,attachments:E.map(e=>({id:e.id,name:e.name,type:e.type,dataUrl:e.dataUrl})),createdAt:new Date().toISOString()},i=h(),l={id:i,role:"assistant",content:"",createdAt:new Date().toISOString(),status:"streaming"},n=[...s.messages||[],a,l];j(s=>s.map(s=>s.id===r?{...s,providerId:e.providerId,providerName:e.providerName,modelId:e.id,modelName:e.name,messages:n,updatedAt:new Date().toISOString(),title:"New chat"===s.title?f(t):s.title}:s)),C(""),M([]),_(!0),R(i),P(""),H.current?.abort(),H.current=new AbortController;let o=n.filter(e=>"assistant"!==e.role||e.id!==i).map(e=>({role:e.role,content:"user"===e.role?function(e){let t=x(e.content).trim(),r=(Array.isArray(e.attachments)?e.attachments:[]).filter(e=>e?.dataUrl);if(0===r.length)return t;let s=r.map(e=>`[image: ${e.name}]`).join(" ");return t?`${t}
2
+ ${s}`:s}(e):e.content})),d="";try{var c;let s,a=await fetch("/api/models/chat",{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/event-stream"},body:JSON.stringify({model:e.requestModel||e.id,messages:o,maxTokens:4096}),signal:H.current.signal});if(!a.ok){let e=await a.json().catch(()=>({}));throw Error(x(e.error||e.message||`Request failed (${a.status})`))}let l=a.body?.getReader();if(!l){let e=await a.json().catch(()=>({})),t=x(e?.choices?.[0]?.message?.content||e?.output_text||e?.error||e?.message||"");ea(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:t,status:"done"}:e),updatedAt:new Date().toISOString()}));return}let n=new TextDecoder,m="";for(;;){let{value:e,done:t}=await l.read();if(t)break;let s=(m+=n.decode(e,{stream:!0})).split(/\r?\n/);for(let e of(m=s.pop()||"",s)){let t=e.trim();if(!t.startsWith("data:"))continue;let s=t.slice(5).trim();if(s&&"[DONE]"!==s)try{let e=JSON.parse(s),t=function(e){if(!e||"object"!=typeof e)return"";let t=e.choices?.[0];return[(t?.delta||{}).content,t?.message?.content,e.output_text,e.text].map(x).filter(Boolean)[0]||""}(e);if(!t)continue;d+=t,P(d),ea(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:d,status:"streaming"}:e),updatedAt:new Date().toISOString()}))}catch{}}}ea(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:d||e.content,status:"done"}:e),updatedAt:new Date().toISOString()})),c=r,s=f(t),ea(c,e=>({...e,title:"New chat"===e.title?s:e.title,updatedAt:new Date().toISOString()}))}catch(e){if("AbortError"===e.name)ea(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:d||e.content,status:"done"}:e),updatedAt:new Date().toISOString()}));else{let t=x(e?.message||e);ea(r,e=>({...e,messages:e.messages.map(e=>e.id===i?{...e,content:e.content||`Error: ${t}`,status:"error"}:e),updatedAt:new Date().toISOString()})),N(t||"Failed to send message.")}}finally{_(!1),R(""),P(""),H.current=null}},eo=Z?`${Z.name}`:"Select model",ed=Z?Z.requestModel:"Choose from connected providers";return(0,s.jsx)("div",{className:"relative flex-1 flex flex-col h-full min-h-0 min-w-0 bg-[#212121] text-white overflow-hidden",children:(0,s.jsxs)("div",{className:"relative mx-auto flex flex-1 h-full min-h-0 w-full max-w-4xl flex-col",children:[(0,s.jsxs)("div",{className:"flex shrink-0 items-center justify-between gap-3 px-4 py-3 lg:px-6",children:[(0,s.jsxs)("div",{ref:G,className:"relative",children:[(0,s.jsx)("button",{type:"button",onClick:()=>F(e=>!e),className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-left transition hover:bg-white/8",children:(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm font-semibold text-white",children:eo}),(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-white/70",children:"expand_more"})]}),(0,s.jsx)("p",{className:"truncate text-xs text-white/55",children:ed})]})}),B?(0,s.jsxs)("div",{className:"absolute left-0 top-[calc(100%+10px)] z-30 w-[min(520px,calc(100vw-2rem))] overflow-hidden rounded-[20px] border border-white/10 bg-[#262626] shadow-2xl shadow-black/50",children:[(0,s.jsxs)("div",{className:"border-b border-white/10 px-4 py-3",children:[(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Models"}),(0,s.jsx)("p",{className:"text-sm text-white/75",children:"Only from connected providers"})]}),(0,s.jsx)("div",{className:"max-h-[60vh] overflow-y-auto p-2 custom-scrollbar",children:e.map(e=>(0,s.jsxs)("div",{className:"mb-2 rounded-[16px] border border-white/10 bg-black/20 p-2",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between px-2 py-2",children:[(0,s.jsx)("p",{className:"text-sm font-semibold text-white",children:e.providerName}),(0,s.jsx)(i.Ex,{size:"sm",variant:"default",children:e.models.length})]}),(0,s.jsx)("div",{className:"grid gap-2 sm:grid-cols-2",children:e.models.map(e=>{let t=e.id===D;return(0,s.jsx)("button",{type:"button",onClick:()=>(e=>{let t=V.get(e);if(!t)return;let r=y.find(e=>e.id===S);if(r&&r.messages.length>0){let e=ei(t);if(!e)return;j(t=>[e,...t]),I(e.id)}else if(r)j(e=>e.map(e=>e.id===r.id?{...e,providerId:t.providerId,providerName:t.providerName,modelId:t.id,modelName:t.name}:e)),I(r.id);else{let e=ei(t);if(!e)return;j(t=>[e,...t]),I(e.id)}k(t.providerId),O(t.id),F(!1)})(e.id),className:`rounded-[14px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.name}),(0,s.jsx)("p",{className:"truncate text-[11px] text-white/45",children:e.requestModel})]}),t?(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px] text-blue-300",children:"check_circle"}):null]})},e.id)})})]},e.providerId))})]}):null]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>L(e=>!e),className:"rounded-2xl border border-white/10 bg-white/5 px-4 py-3 text-sm text-white/80 transition hover:bg-white/8",children:"History"}),(0,s.jsx)(i.$n,{variant:"ghost",size:"sm",icon:"add",onClick:()=>{if(!Z)return;let e=ei(Z);e&&(j(t=>[e,...t]),I(e.id),k(e.providerId),O(e.modelId),C(""),M([]),R(""),P(""))},disabled:!Z,children:"New chat"}),(0,s.jsx)(i.$n,{variant:"ghost",size:"sm",icon:"delete",onClick:()=>{if(!S)return;let e=y.filter(e=>e.id!==S),t=e[0]||null;j(e),t?(I(t.id),k(t.providerId),O(t.modelId)):(I(""),k(""),O(""))},disabled:!S||0===y.length,children:"Clear"})]})]}),K?(0,s.jsxs)("div",{ref:Q,className:"absolute right-4 top-[72px] z-20 w-[min(360px,calc(100vw-2rem))] rounded-[20px] border border-white/10 bg-[#262626] p-2 shadow-2xl shadow-black/50 lg:right-6",children:[(0,s.jsx)("div",{className:"px-3 py-2",children:(0,s.jsx)("p",{className:"text-xs uppercase tracking-[0.22em] text-white/45",children:"Recent chats"})}),(0,s.jsx)("div",{className:"max-h-[48vh] space-y-2 overflow-y-auto p-1 custom-scrollbar",children:0===er.length?(0,s.jsx)("div",{className:"rounded-[16px] border border-dashed border-white/10 bg-white/5 p-4 text-sm text-white/55",children:"No conversations yet."}):er.map(e=>{let t=e.id===S,r=[...e.messages||[]].reverse().find(e=>"user"===e.role)||e.messages?.[0];return(0,s.jsx)("button",{type:"button",onClick:()=>{var t;let r;return t=e.id,void((r=y.find(e=>e.id===t))&&(I(t),k(r.providerId||A),O(r.modelId||D),L(!1)))},className:`w-full rounded-[16px] border px-3 py-3 text-left transition ${t?"border-blue-400/40 bg-blue-500/15":"border-white/10 bg-white/5 hover:bg-white/8"}`,children:(0,s.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-white",children:e.title}),(0,s.jsx)("p",{className:"mt-1 truncate text-xs text-white/50",children:x(r?.content)||"Empty chat"})]}),(0,s.jsx)("span",{className:"text-[10px] text-white/40 shrink-0",children:function(e){if(!e)return"Now";let t=new Date(e).getTime();if(Number.isNaN(t))return"Now";let r=Math.max(1,Math.round((Date.now()-t)/6e4));if(r<60)return`${r}m`;let s=Math.round(r/60);return s<24?`${s}h`:`${Math.round(s/24)}d`}(e.updatedAt)})]})},e.id)})})]}):null,v?(0,s.jsx)("div",{className:"mt-4 rounded-[18px] border border-rose-500/20 bg-rose-500/10 px-4 py-3 text-rose-100",children:(0,s.jsxs)("div",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"error"}),(0,s.jsx)("p",{className:"text-sm leading-6",children:v})]})}):null,(0,s.jsxs)("div",{className:"flex flex-1 flex-col min-h-0",children:[(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto py-4 custom-scrollbar",children:[0===et.length?(0,s.jsx)("div",{className:"flex min-h-[50vh] items-center justify-center px-4 text-center",children:(0,s.jsxs)("div",{className:"max-w-xl space-y-4",children:[(0,s.jsx)("div",{className:"mx-auto flex size-16 items-center justify-center rounded-[20px] border border-white/10 bg-white/5 text-white/80",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[30px]",children:"chat"})}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)("h2",{className:"text-2xl font-semibold text-white",children:"Start a conversation"}),(0,s.jsx)("p",{className:"text-sm leading-6 text-white/60",children:"Simple chat interface to interact with any AI model from connected providers. Select a model and start chatting!"})]})]})}):null,(0,s.jsx)("div",{className:"mx-auto flex w-full max-w-3xl flex-col gap-4 px-4",children:et.map(e=>{let t="user"===e.role,r="assistant"===e.role,a=r&&e.id===U&&"streaming"===e.status,i=x(e.content)||(r?z:"");return(0,s.jsx)("div",{className:`flex w-full ${t?"justify-end":"justify-start"} mb-6`,children:(0,s.jsxs)("div",{className:`max-w-[min(88%,42rem)] ${t?"rounded-3xl bg-[#2f2f2f] px-5 py-3.5 text-white":"text-white/90"}`,children:[(0,s.jsx)("div",{className:"mb-1 flex items-center justify-between gap-3",children:(0,s.jsx)("span",{className:"text-xs font-semibold",children:t?"You":Z?.name||"Assistant"})}),e.attachments?.length?(0,s.jsx)("div",{className:"mb-3 grid grid-cols-2 gap-2 sm:grid-cols-3 mt-2",children:e.attachments.map(e=>(0,s.jsx)("a",{href:e.dataUrl,target:"_blank",rel:"noreferrer",className:"overflow-hidden rounded-[18px] border border-white/10 bg-black/20",children:(0,s.jsx)("img",{src:e.dataUrl,alt:e.name,className:"h-28 w-full object-cover",loading:"lazy",decoding:"async"})},e.id))}):null,(0,s.jsxs)("div",{className:"whitespace-pre-wrap break-words text-[15px] leading-7",children:[i,r&&a&&!z?(0,s.jsx)("span",{className:"inline-block animate-pulse",children:"▋"}):null]})]})},e.id)})})]}),(0,s.jsxs)("div",{className:"shrink-0 pt-2",children:[E.length>0?(0,s.jsx)("div",{className:"mx-auto mb-3 flex w-full max-w-3xl flex-wrap gap-2 px-4",children:E.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-3 py-2",children:[(0,s.jsx)("span",{className:"text-xs text-white/80 max-w-[12rem] truncate",children:e.name}),(0,s.jsx)("button",{type:"button",onClick:()=>{var t;return t=e.id,void M(e=>e.filter(e=>e.id!==t))},className:"text-white/55 hover:text-white","aria-label":"Remove attachment",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"close"})})]},e.id))}):null,(0,s.jsx)("div",{className:"mx-auto w-full max-w-3xl px-4 pb-2",children:(0,s.jsxs)("div",{className:"rounded-[26px] bg-[#2f2f2f] px-3 pt-3 pb-2 shadow-[0_0_15px_rgba(0,0,0,0.10)] ring-1 ring-white/5",children:[(0,s.jsx)("textarea",{value:$,onChange:e=>C(e.target.value),onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&(e.preventDefault(),es&&en())},placeholder:"Message AI",rows:1,className:"w-full resize-none bg-transparent px-2 text-[15px] leading-6 text-white outline-none placeholder:text-white/40 custom-scrollbar max-h-[25vh] overflow-y-auto"}),(0,s.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("button",{type:"button",onClick:()=>W.current?.click(),disabled:!Z||r,className:"p-2 text-white/50 hover:text-white transition rounded-full hover:bg-white/5",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"attach_file"})}),(0,s.jsx)("input",{ref:W,type:"file",accept:"image/*",multiple:!0,className:"hidden",onChange:el}),(0,s.jsx)("span",{className:"text-xs font-medium text-white/30 truncate max-w-[120px]",children:Z?Z.name:"No model"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[T?(0,s.jsx)("button",{type:"button",onClick:()=>{H.current?.abort()},className:"p-2 text-white bg-white/10 hover:bg-white/20 transition rounded-full h-8 w-8 flex items-center justify-center",children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"stop"})}):null,(0,s.jsx)("button",{onClick:en,disabled:!es,className:`h-8 w-8 rounded-full flex items-center justify-center transition ${es?"bg-white text-black hover:opacity-90":"bg-white/10 text-white/30 cursor-not-allowed"}`,children:(0,s.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"arrow_upward"})})]})]})]})})]}),(0,s.jsx)("p",{className:"mx-auto mt-2 max-w-3xl px-4 pb-4 text-center text-[11px] text-white/30",children:"Model list is filtered from connected providers."})]})]})})}}},e=>{e.O(0,[8500,246,2723,705,5497,8441,3794,7358],()=>e(e.s=9565)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3554],{85309:(e,a,t)=>{"use strict";t.d(a,{default:()=>x});var s=t(95155),l=t(12115),i=t(98500),r=t.n(i),d=t(35497),o=t(3534),c=t(28777),n=t(24864);let u=t(41463).env.NEXT_PUBLIC_CLOUD_URL;function x({toolId:e}){let a=o.d[e],[t,i]=(0,l.useState)([]),[v,m]=(0,l.useState)(!0),[h,p]=(0,l.useState)({}),[f,b]=(0,l.useState)(!1),[E,j]=(0,l.useState)(!1),[P,g]=(0,l.useState)(""),[w,k]=(0,l.useState)(!1),[N,S]=(0,l.useState)(""),[_,y]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return(async()=>{try{let[a,t,s,l]=await Promise.all([fetch("/api/providers"),fetch("/api/settings"),fetch("/api/tunnel/status"),fetch("/api/keys")]);if(!e)return;if(a.ok){let e=await a.json();i(e.connections||[])}if(t.ok){let e=await t.json();b(e.cloudEnabled||!1)}if(s.ok){let e=await s.json();j(!!(e.tunnel?.enabled||e.tunnel?.settingsEnabled)),g(e.tunnel?.publicUrl||""),k(!!(e.tailscale?.enabled||e.tailscale?.settingsEnabled)),S(e.tailscale?.tunnelUrl||"")}if(l.ok){let e=await l.json();y(e.keys||[])}}catch(e){console.log("Error loading tool data:",e)}finally{e&&m(!1)}})(),()=>{e=!1}},[]);let A=()=>t.filter(e=>!1!==e.isActive),U=(0,l.useCallback)((e,a,t)=>{p(s=>s[e]?.[a]===t?s:{...s,[e]:{...s[e],[a]:t}})},[]);return a?(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-4 px-1 sm:px-0",children:[(0,s.jsxs)(r(),{href:"/dashboard/cli-tools",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary w-fit",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"arrow_back"}),"Back to CLI Tools"]}),(0,s.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,s.jsx)("h1",{className:"text-xl font-semibold text-text-main sm:text-2xl",children:a.name}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:a.description})]}),v?(0,s.jsx)(d.Qv,{}):(()=>{let t,l,i,r=(t=A(),l=[],i=new Set,t.forEach(e=>{let a=c.Xg[e.provider]||e.provider,t=(0,c.KC)(e.provider);if(t.forEach(t=>{let s=`${a}/${t.id}`;i.has(s)||(i.add(s),l.push({value:s,label:`${a}/${t.id}`,provider:e.provider,alias:a,connectionName:e.name,modelId:t.id}))}),0===t.length){let t=e.providerSpecificData?.prefix||a,s=[];e.defaultModel&&s.push({id:e.defaultModel,name:e.defaultModel}),(e.providerSpecificData?.customModels||[]).forEach(e=>{e?.id&&!s.some(a=>a.id===e.id)&&s.push({id:e.id,name:e.name||e.id})}),0===s.length&&"active"===e.testStatus&&s.push({id:"model-id",name:`${t}/model-id`}),s.forEach(a=>{let s=`${t}/${a.id}`;i.has(s)||(i.add(s),l.push({value:s,label:`${t}/${a.id}`,provider:e.provider,alias:t,connectionName:e.name,modelId:a.id}))})}}),l).length>0,d={tool:a,isExpanded:!0,onToggle:()=>{},baseUrl:E&&P?P:f&&u?u:window.location.origin,apiKeys:_,tunnelEnabled:E,tunnelPublicUrl:P,tailscaleEnabled:w,tailscaleUrl:N,cloudUrl:u};switch(e){case"claude":return(0,s.jsx)(n.Tk,{...d,activeProviders:A(),modelMappings:h[e]||{},onModelMappingChange:(a,t)=>U(e,a,t),hasActiveProviders:r,cloudEnabled:f});case"codex":return(0,s.jsx)(n.Ah,{...d,activeProviders:A(),cloudEnabled:f});case"opencode":return(0,s.jsx)(n.qO,{...d,activeProviders:A(),cloudEnabled:f});case"cowork":return(0,s.jsx)(n.Q6,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f,cloudUrl:u,tunnelEnabled:E,tunnelPublicUrl:P,tailscaleEnabled:w,tailscaleUrl:N});case"droid":return(0,s.jsx)(n.ZM,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"openclaw":return(0,s.jsx)(n.yZ,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"hermes":return(0,s.jsx)(n.RF,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"cline":return(0,s.jsx)(n.aG,{...d,activeProviders:A(),cloudEnabled:f});case"kilo":return(0,s.jsx)(n.c9,{...d,activeProviders:A(),cloudEnabled:f});case"deepseek-tui":return(0,s.jsx)(n.lF,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"jcode":return(0,s.jsx)(n.mW,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"grok-build":return(0,s.jsx)(n.E_,{...d,activeProviders:A(),hasActiveProviders:r,cloudEnabled:f});case"pi":case"omp":case"crush":case"forge":case"smelt":case"codewhale":return(0,s.jsx)(n.WE,{...d,activeProviders:A(),cloudEnabled:f});default:return(0,s.jsx)(n.a7,{toolId:e,...d,activeProviders:A(),cloudEnabled:f,tunnelEnabled:E})}})()]}):(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-4 px-1 sm:px-0",children:[(0,s.jsxs)(r(),{href:"/dashboard/cli-tools",className:"inline-flex items-center gap-1 text-sm text-text-muted hover:text-primary w-fit",children:[(0,s.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"arrow_back"}),"Back to CLI Tools"]}),(0,s.jsx)("p",{className:"text-sm text-text-muted",children:"Tool not found or disabled."})]})}},87224:(e,a,t)=>{Promise.resolve().then(t.bind(t,85309))}},e=>{e.O(0,[8500,246,5772,2723,705,5497,4864,8441,3794,7358],()=>e(e.s=87224)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{9173:(e,s,l)=>{Promise.resolve().then(l.bind(l,75882))},75882:(e,s,l)=>{"use strict";l.d(s,{default:()=>m});var t=l(95155),a=l(12115),i=l(35497),r=l(3534),c=l(10761),n=l(98500),o=l.n(n),d=l(5772);function x({toolId:e,tool:s,status:l}){let a=s?.configType==="guide"?{label:"Guide",cls:"bg-blue-500/10 text-blue-600 dark:text-blue-400"}:l?l.installed?l.hasOmniHilbras?{label:"Connected",cls:"bg-green-500/10 text-green-600 dark:text-green-400"}:{label:"Not configured",cls:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"}:{label:"Not installed",cls:"bg-gray-500/10 text-gray-500"}:{label:"Unknown",cls:"bg-gray-500/10 text-gray-500"};return(0,t.jsx)(o(),{href:`/dashboard/cli-tools/${e}`,className:"block",children:(0,t.jsx)(i.Zp,{padding:"sm",className:"h-full overflow-hidden hover:border-primary/50 transition-colors cursor-pointer",children:(0,t.jsx)("div",{className:"flex h-full flex-col gap-2",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:s.image?(0,t.jsx)(d.A,{src:s.image,alt:s.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:e=>{e.target.style.display="none"},loading:"lazy",decoding:"async"}):s.icon?(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px]",style:{color:s.color},children:s.icon}):null}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:"font-medium text-sm truncate",children:s.name}),(0,t.jsx)("span",{className:`inline-block mt-1 px-1.5 py-0.5 text-[10px] font-medium rounded-full ${a.cls}`,children:a.label})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px] shrink-0",children:"chevron_right"})]})})})})}function m({machineId:e}){let[s,l]=(0,a.useState)(!0),[n,o]=(0,a.useState)({});if((0,a.useEffect)(()=>{let e=!0;return(async()=>{try{let s=await fetch("/api/cli-tools/all-statuses");s.ok&&e&&o(await s.json())}catch(e){console.log("Error fetching tool statuses:",e)}finally{e&&l(!1)}})(),()=>{e=!1}},[]),s)return(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:[(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{})]});let d=Object.entries(r.dM),g=Object.entries(r.wn);return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-6 px-1 sm:px-0",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:d.map(([e,s])=>(0,t.jsx)(x,{toolId:e,tool:s,status:n[e]},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[18px] text-primary",children:"security"}),(0,t.jsx)("h2",{className:"text-sm font-semibold text-text-main",children:"MITM Tools"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:g.map(([e,s])=>(0,t.jsx)(c.gY,{tool:s},e))})]})]})}}},e=>{e.O(0,[8500,246,5772,85,705,5497,761,8441,3794,7358],()=>e(e.s=9173)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{9173:(e,s,l)=>{Promise.resolve().then(l.bind(l,75882))},75882:(e,s,l)=>{"use strict";l.d(s,{default:()=>m});var t=l(95155),a=l(12115),i=l(35497),r=l(3534),c=l(24864),n=l(98500),o=l.n(n),d=l(5772);function x({toolId:e,tool:s,status:l}){let a=s?.configType==="guide"?{label:"Guide",cls:"bg-blue-500/10 text-blue-600 dark:text-blue-400"}:l?l.installed?l.hasOmniHilbras?{label:"Connected",cls:"bg-green-500/10 text-green-600 dark:text-green-400"}:{label:"Not configured",cls:"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400"}:{label:"Not installed",cls:"bg-gray-500/10 text-gray-500"}:{label:"Unknown",cls:"bg-gray-500/10 text-gray-500"};return(0,t.jsx)(o(),{href:`/dashboard/cli-tools/${e}`,className:"block",children:(0,t.jsx)(i.Zp,{padding:"sm",className:"h-full overflow-hidden hover:border-primary/50 transition-colors cursor-pointer",children:(0,t.jsx)("div",{className:"flex h-full flex-col gap-2",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"size-8 flex items-center justify-center shrink-0",children:s.image?(0,t.jsx)(d.A,{src:s.image,alt:s.name,width:32,height:32,className:"size-8 object-contain rounded-lg",sizes:"32px",onError:e=>{e.target.style.display="none"},loading:"lazy",decoding:"async"}):s.icon?(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px]",style:{color:s.color},children:s.icon}):null}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("h3",{className:"font-medium text-sm truncate",children:s.name}),(0,t.jsx)("span",{className:`inline-block mt-1 px-1.5 py-0.5 text-[10px] font-medium rounded-full ${a.cls}`,children:a.label})]}),(0,t.jsx)("span",{className:"material-symbols-outlined text-text-muted text-[18px] shrink-0",children:"chevron_right"})]})})})})}function m(){let[e,s]=(0,a.useState)(!0),[l,n]=(0,a.useState)({});if((0,a.useEffect)(()=>{let e=!0;return(async()=>{try{let s=await fetch("/api/cli-tools/all-statuses");s.ok&&e&&n(await s.json())}catch(e){console.log("Error fetching tool statuses:",e)}finally{e&&s(!1)}})(),()=>{e=!1}},[]),e)return(0,t.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:[(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{}),(0,t.jsx)(i.Qv,{})]});let o=Object.entries(r.d),d=Object.entries(r.w);return(0,t.jsxs)("div",{className:"mx-auto flex w-full max-w-5xl flex-col gap-6 px-1 sm:px-0",children:[(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:o.map(([e,s])=>(0,t.jsx)(x,{toolId:e,tool:s,status:l[e]},e))}),(0,t.jsxs)("div",{className:"flex flex-col gap-3 sm:gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 px-1",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[18px] text-primary",children:"security"}),(0,t.jsx)("h2",{className:"text-sm font-semibold text-text-main",children:"MITM Tools"})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3 sm:gap-4",children:d.map(([e,s])=>(0,t.jsx)(c.gY,{tool:s},e))})]})]})}}},e=>{e.O(0,[8500,246,5772,2723,705,5497,4864,8441,3794,7358],()=>e(e.s=9173)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3649],{7575:(e,t,s)=>{Promise.resolve().then(s.bind(s,80191))},80191:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>y});var l=s(95155),a=s(12115),r=s(44923),o=s(87256),i=s(39768),n=s(5020),d=s(35497),c=s(5293),m=s(929),x=s(67899);let u=/^[a-zA-Z0-9_.\-]+$/,h=[{key:"vision",label:"Vision",icon:"visibility",desc:"images (png, jpg, webp, …)"},{key:"audioInput",label:"Audio",icon:"graphic_eq",desc:"audio input"}],p="oc/mimo-v2.6-flash-free",f={enabled:!0,roundRobin:!1,models:[]},b={vision:{...f},pdf:{...f},audioInput:{...f},videoInput:{...f}},g=e=>"oc/mimo-v2.5-free"===e?p:e,j=[{value:"fallback",label:"Fallback — try in order"},{value:"round-robin",label:"Round Robin — rotate"},{value:"fusion",label:"Fusion — panel + judge"}];function y(){let e,[t,s]=(0,a.useState)([]),[r,o]=(0,a.useState)(!0),[i,n]=(0,a.useState)(""),[x,u]=(0,a.useState)(!1),[p,y]=(0,a.useState)(null),[v,k]=(0,a.useState)([]),[C,S]=(0,a.useState)({}),[$,M]=(0,a.useState)(b),{getCaps:A}=(0,m.y)(),[D,F]=(0,a.useState)(null),[O,P]=(0,a.useState)(null),[T,R]=(0,a.useState)([]),[_,z]=(0,a.useState)(!1),{copied:I,copy:q}=(0,c.C)();(0,a.useEffect)(()=>{Q()},[]),(0,a.useEffect)(()=>{let e=new Set(t.map(e=>e.id));R(t=>t.filter(t=>e.has(t)))},[t]);let B=t.filter(e=>T.includes(e.id)),J=t.length>0&&T.length===t.length,V=T.length>0,G=()=>R([]),L=async e=>{let t="cursor"===e?"Cursor Default":"Claude Default";P(e);try{let s=await fetch(`/api/combos/presets?source=${e}`),l=await s.json();if(!s.ok)return void alert(l.error||`Failed to preview ${t}`);let a=l.toCreate??(l.items||[]).filter(e=>!e.exists).length,r=l.toSkip??(l.items||[]).filter(e=>e.exists).length,o=(l.items||[]).length;if(0===o)return void alert(`No ${t} models available to generate.`);if(0===a)return void alert(`All ${o} ${t} combos already exist. Nothing to create.`);F({title:`Generate ${t}`,message:`Create ${a} combo${1===a?"":"s"} named like ${"cursor"===e?"Cursor":"Claude"} model IDs (seeded with cu/… or cc/…). ${r} already exist and will be skipped. You can edit any combo afterward to add fallbacks.`,confirmText:"Generate",variant:"primary",onConfirm:async()=>{F(e=>e?{...e,loading:!0}:null);try{let s=await fetch("/api/combos/presets",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:e})}),l=await s.json();if(!s.ok)return void alert(l.error||`Failed to generate ${t}`);await Q(),F(null)}catch(e){console.log(`Error generating ${t}:`,e),alert(`Failed to generate ${t}`),F(e=>e?{...e,loading:!1}:null)}}})}catch(e){console.log(`Error previewing ${t}:`,e),alert(`Failed to preview ${t}`)}finally{P(null)}},Q=async()=>{try{let[t,l,a]=await Promise.all([fetch("/api/combos"),fetch("/api/providers"),fetch("/api/settings")]),r=await t.json(),o=await l.json(),i=a.ok?await a.json():{};t.ok?(s((r.combos||[]).filter(e=>!e.kind||"llm"===e.kind)),n("")):n(r.error||"Could not load the combos."),l.ok&&k((o.connections||[]).filter(e=>!1!==e.isActive)),S(i.comboStrategies||{});let d=i.capacityAdapter||{},c={};for(let t of h){var e;c[t.key]=(e=d[t.key],Array.isArray(e)?{enabled:!0,roundRobin:!1,models:e.map(e=>g(e?.model||e)).filter(Boolean)}:e&&"object"==typeof e?{enabled:!1!==e.enabled,roundRobin:!!e.roundRobin,models:Array.isArray(e.models)?e.models.map(g).filter(Boolean):[]}:{...f})}M(c)}catch(e){console.log("Error fetching data:",e),n("Could not load the combos.")}finally{o(!1)}},Z=async e=>{M(e);try{let t=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({capacityAdapter:e})});if(!t.ok){let e=await t.json().catch(()=>({}));M($),alert(e.error||"Failed to save the capacity adapter.")}}catch(e){console.log("Error updating capacity adapter:",e),M($),alert("Failed to save the capacity adapter.")}},U=async e=>{try{let t=await fetch("/api/combos",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(t.ok)await Q(),u(!1);else{let e=await t.json();alert(e.error||"Failed to create combo")}}catch(e){console.log("Error creating combo:",e)}},W=async(e,t)=>{try{let s=await fetch(`/api/combos/${e}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)});if(s.ok)await Q(),y(null);else{let e=await s.json();alert(e.error||"Failed to update combo")}}catch(e){console.log("Error updating combo:",e)}},H=(e,t=C)=>{let s={...t};for(let t of e)delete s[t];return s},K=async e=>{try{let t=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategies:e})});if(!t.ok){let e=await t.json().catch(()=>({}));return await Q(),alert(e.error||"Failed to save the strategy."),!1}return S(e),!0}catch(e){return console.log("Error saving combo strategies:",e),await Q(),alert("Failed to save the strategy."),!1}},Y=async e=>{let l=t.find(t=>t.id===e);F({title:"Delete Combo",message:l?`Delete combo "${l.name}"?`:"Delete this combo?",onConfirm:async()=>{F(e=>e?{...e,loading:!0}:null);try{(await fetch(`/api/combos/${e}`,{method:"DELETE"})).ok&&(l?.name&&await K(H([l.name])),s(t=>t.filter(t=>t.id!==e)),R(t=>t.filter(t=>t!==e))),F(null)}catch(e){console.log("Error deleting combo:",e),F(e=>e?{...e,loading:!1}:null)}}})},X=async(e,t)=>{try{let s={...C},l={...s[e]||{},...t};l.fallbackStrategy&&"fallback"!==l.fallbackStrategy?s[e]=l:delete s[e],await K(s)}catch(e){console.log("Error updating combo strategy:",e)}},ee=async e=>{if(0!==B.length&&e){z(!0);try{let t={...C};for(let s of B)e&&"fallback"!==e?t[s.name]={...t[s.name]||{},fallbackStrategy:e}:delete t[s.name];await K(t)}catch(e){console.log("Error bulk updating combo strategy:",e),alert("Failed to update strategy for selected combos")}finally{z(!1)}}};return r?(0,l.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,l.jsx)(d.Qv,{}),(0,l.jsx)(d.Qv,{})]}):(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 px-1 sm:px-0",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:"text-sm text-text-muted mt-1",children:"Group models under one name, then pick a strategy per combo:"}),(0,l.jsxs)("ul",{className:"text-sm text-text-muted mt-2 flex flex-col gap-1",children:[(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"font-medium text-text-main",children:"Fallback"})," — tries models in order (next on failure)"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"font-medium text-text-main",children:"Round Robin"})," — rotates models across requests to spread load"]}),(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{className:"font-medium text-text-main",children:"Fusion"})," — queries all models in parallel, then a judge synthesizes one answer. Best quality, but costs the most: every request bills all panel models + the judge (N+1 calls)"]})]}),(0,l.jsxs)("p",{className:"hidden text-xs text-text-muted mt-3 max-w-2xl",children:[(0,l.jsx)("span",{className:"font-medium text-text-main",children:"Cursor / Claude Default"})," create combos named exactly like those clients' model IDs (e.g. ",(0,l.jsx)("code",{className:"font-mono",children:"composer-2.5"}),", ",(0,l.jsx)("code",{className:"font-mono",children:"opus"}),"), seeded with the matching ",(0,l.jsx)("code",{className:"font-mono",children:"cu/…"})," or ",(0,l.jsx)("code",{className:"font-mono",children:"cc/…"})," route so traffic can hit omnihilbras without the prefix."," ",'Note: Cursor IDE itself often blocks built-in Composer / Grok from Override OpenAI Base URL ("model does not support custom API"); add them via Cursor\'s ',(0,l.jsx)("span",{className:"font-medium text-text-main",children:"Add Custom Model"})," using the combo name, or pick a model Cursor allows through the custom endpoint."]})]}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:items-stretch",children:[(0,l.jsx)(d.$n,{icon:"add",onClick:()=>u(!0),className:"w-full sm:w-auto whitespace-nowrap",children:"Create Combo"}),(0,l.jsxs)("div",{className:"hidden",children:[(0,l.jsx)(d.$n,{variant:"secondary",size:"sm",icon:"edit_note",loading:"cursor"===O,disabled:!!O,onClick:()=>L("cursor"),className:"w-full whitespace-nowrap",children:"Cursor Default"}),(0,l.jsx)(d.$n,{variant:"secondary",size:"sm",icon:"smart_toy",loading:"claude"===O,disabled:!!O,onClick:()=>L("claude"),className:"w-full whitespace-nowrap",children:"Claude Default"})]})]})]}),0===t.length?(0,l.jsx)(d.Zp,{children:(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 mb-4 ${i?"bg-red-500/10 text-red-500":"bg-primary/10 text-primary"}`,children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:i?"error":"layers"})}),(0,l.jsx)("p",{className:"text-text-main font-medium mb-1",children:i?"Could not load the combos":"No combos yet"}),(0,l.jsx)("p",{className:"text-sm text-text-muted mb-4",children:i||"Create model combos with fallback support"}),!i&&(0,l.jsx)(d.$n,{icon:"add",onClick:()=>u(!0),className:"w-full sm:w-auto",children:"Create Combo"})]})}):(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-2 rounded-lg border border-black/5 bg-black/[0.015] px-3 py-2 dark:border-white/5 dark:bg-white/[0.02] sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)("label",{className:"flex cursor-pointer items-center gap-2 text-xs text-text-muted hover:text-primary select-none",children:[(0,l.jsx)("input",{type:"checkbox",checked:J,ref:e=>{e&&(e.indeterminate=V&&!J)},onChange:()=>{R(J?[]:t.map(e=>e.id))},className:"h-3.5 w-3.5 rounded border-gray-300 text-primary focus:ring-primary"}),(0,l.jsx)("span",{children:V?`${T.length} selected`:`Select all (${t.length})`})]}),(0,l.jsx)("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:V&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"w-full min-w-[160px] sm:w-[200px]",children:(0,l.jsx)(d.l6,{options:j,value:"",placeholder:"Set strategy…",disabled:_,onChange:e=>{let t=e.target.value;t&&ee(t)},selectClassName:"py-1.5 text-xs"})}),(0,l.jsxs)(d.$n,{size:"sm",variant:"danger",icon:"delete",disabled:_,loading:_,onClick:()=>{if(0===B.length)return;let e=B.length;F({title:"Delete Selected Combos",message:`Delete ${e} selected combo${1===e?"":"s"}? This cannot be undone.`,confirmText:"Delete",variant:"danger",onConfirm:async()=>{F(e=>e?{...e,loading:!0}:null),z(!0);try{let e=B.map(e=>e.id),t=B.map(e=>e.name),l=(await Promise.all(e.map(e=>fetch(`/api/combos/${e}`,{method:"DELETE"})))).filter(e=>!e.ok).length;await K(H(t)),s(t=>t.filter(t=>!e.includes(t.id))),G(),F(null),l>0&&alert(`Deleted with ${l} failure${1===l?"":"s"}.`)}catch(e){console.log("Error bulk deleting combos:",e),alert("Failed to delete selected combos"),F(e=>e?{...e,loading:!1}:null)}finally{z(!1)}}})},className:"whitespace-nowrap",children:["Delete (",T.length,")"]}),(0,l.jsx)(d.$n,{size:"sm",variant:"ghost",onClick:G,disabled:_,children:"Clear"})]})})]}),(0,l.jsx)("div",{className:"flex flex-col gap-3",children:(e=Object.fromEntries(t.map(e=>[e.name,e.models])),t.map(t=>(0,l.jsx)(w,{combo:t,getCaps:A,comboByName:e,activeProviders:v,copied:I,onCopy:q,onEdit:()=>y(t),onDelete:()=>Y(t.id),strategy:C[t.name]||{},onSetStrategy:e=>X(t.name,e),selected:T.includes(t.id),onToggleSelect:()=>{var e;return e=t.id,void R(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}},t.id)))})]}),(0,l.jsx)(N,{capacityAdapter:$,onChange:Z,activeProviders:v,getCaps:A}),x&&(0,l.jsx)(E,{isOpen:x,onClose:()=>u(!1),onSave:U,activeProviders:v},"create"),p&&(0,l.jsx)(E,{isOpen:!!p,combo:p,onClose:()=>y(null),onSave:e=>W(p.id,e),activeProviders:v},p.id),(0,l.jsx)(d.uo,{isOpen:!!D,onClose:()=>!D?.loading&&F(null),onConfirm:D?.onConfirm,title:D?.title||"Confirm",message:D?.message,confirmText:D?.confirmText||"Confirm",variant:D?.variant||"danger",loading:!!D?.loading})]})}let v=e=>{if(!e)return"?";if(e>=1e6){let t=e/1e6;return`${Number.isInteger(t)?t:t.toFixed(1)}M`}return`${Math.round(e/1e3)}k`};function w({combo:e,getCaps:t,comboByName:s={},activeProviders:r=[],copied:o,onCopy:i,onEdit:n,onDelete:c,strategy:m={},onSetStrategy:u,selected:h=!1,onToggleSelect:p}){let[f,b]=(0,a.useState)(!1),g=m.fallbackStrategy||"fallback",y=m.judgeModel||"",N=(0,x.Q5)(e.models,s,t);return(0,l.jsxs)(d.Zp,{padding:"sm",className:`group ${h?"ring-1 ring-primary/40 bg-primary/[0.03]":""}`,children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-3 sm:items-center",children:[(0,l.jsx)("label",{className:"flex shrink-0 items-center pt-1 sm:pt-0 cursor-pointer",title:"Select combo",children:(0,l.jsx)("input",{type:"checkbox",checked:h,onChange:p,onClick:e=>e.stopPropagation(),className:"h-4 w-4 rounded border-gray-300 text-primary focus:ring-primary","aria-label":`Select ${e.name}`})}),(0,l.jsx)("div",{className:"size-8 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-primary text-[18px]",children:"layers"})}),(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsx)("code",{className:"block truncate font-mono text-sm font-medium",children:e.name}),(0,l.jsxs)("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1",children:[0===e.models.length?(0,l.jsx)("span",{className:"text-xs text-text-muted italic",children:"No models"}):e.models.slice(0,3).map((e,a)=>(0,l.jsxs)("code",{className:"inline-flex items-center gap-1 rounded bg-black/5 px-1.5 py-0.5 font-mono text-xs text-text-muted dark:bg-white/5",children:[(0,l.jsx)("span",{children:e}),(0,l.jsx)(d.nh,{caps:s[e]?(0,x.Q5)(s[e],s,t):t?.(e)})]},a)),e.models.length>3&&(0,l.jsxs)("span",{className:"text-[10px] text-text-muted",children:["+",e.models.length-3," more"]})]}),N&&(0,l.jsxs)("div",{className:"mt-1 flex items-center gap-2 text-[10px] text-text-muted",children:[(0,l.jsxs)("span",{children:["ctx ",v(N.contextWindow)]}),(0,l.jsx)("span",{className:"opacity-40",children:"\xb7"}),(0,l.jsxs)("span",{children:["max ",v(N.maxOutput)]})]}),"fusion"===g&&(0,l.jsxs)("div",{className:"mt-2 flex min-w-0 flex-wrap items-center gap-1.5",children:[(0,l.jsx)("span",{className:"text-[11px] font-medium text-text-muted",children:"Judge"}),(0,l.jsxs)("button",{onClick:()=>b(!0),className:"inline-flex max-w-full items-center gap-1 rounded border border-dashed border-primary/40 px-1.5 py-0.5 font-mono text-[11px] text-primary hover:border-primary hover:bg-primary/5 transition-colors",title:"Pick the model that fuses panel answers",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"gavel"}),(0,l.jsx)("span",{className:"truncate",children:y||`Auto — ${e.models[0]||"first model"}`})]}),y&&(0,l.jsx)("button",{onClick:()=>u({judgeModel:""}),className:"p-0.5 rounded text-text-muted hover:text-red-500 hover:bg-red-500/10 transition-colors",title:"Reset judge to Auto",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[13px]",children:"close"})})]})]})]}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center sm:gap-3 sm:shrink-0",children:[(0,l.jsx)("div",{className:"w-full sm:w-[200px]",children:(0,l.jsx)(d.l6,{options:j,value:g,onChange:e=>u({fallbackStrategy:e.target.value}),selectClassName:"py-1.5 text-xs"})}),(0,l.jsxs)("div",{className:"grid grid-cols-3 gap-1 sm:flex",children:[(0,l.jsxs)("button",{onClick:t=>{t.stopPropagation(),i(e.name,`combo-${e.id}`)},className:"flex flex-col items-center rounded px-2 py-1 text-text-muted transition-colors hover:bg-black/5 hover:text-primary dark:hover:bg-white/5",title:"Copy combo name",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:o===`combo-${e.id}`?"check":"content_copy"}),(0,l.jsx)("span",{className:"text-[10px] leading-tight",children:"Copy"})]}),(0,l.jsxs)("button",{onClick:n,className:"flex flex-col items-center rounded px-2 py-1 text-text-muted transition-colors hover:bg-black/5 hover:text-primary dark:hover:bg-white/5",title:"Edit",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"edit"}),(0,l.jsx)("span",{className:"text-[10px] leading-tight",children:"Edit"})]}),(0,l.jsxs)("button",{onClick:c,className:"flex flex-col items-center rounded px-2 py-1 text-red-500 transition-colors hover:bg-red-500/10",title:"Delete",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"}),(0,l.jsx)("span",{className:"text-[10px] leading-tight",children:"Delete"})]})]})]})]}),f&&(0,l.jsx)(d.rq,{isOpen:f,onClose:()=>b(!1),onSelect:e=>{u({judgeModel:e?.value||""}),b(!1)},activeProviders:r,title:"Select Judge Model",addedModelValues:y?[y]:[],closeOnSelect:!0})]})}function N({capacityAdapter:e,onChange:t,activeProviders:s,getCaps:a}){return(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsx)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("p",{className:"text-sm font-medium",children:"Vision & Audio Adapter"}),(0,l.jsx)("p",{className:"text-xs text-text-muted mt-0.5",children:"Your model can't read image/audio? Auto-switches to a model in the pool below."})]})}),(0,l.jsx)("div",{className:"flex flex-col gap-4",children:h.map(r=>(0,l.jsx)(k,{cap:r,entry:e[r.key]||f,onChange:s=>t({...e,[r.key]:s}),activeProviders:s,getCaps:a},r.key))})]})}function k({cap:e,entry:t,onChange:s,activeProviders:r,getCaps:o}){let[i,n]=(0,a.useState)(!1),{enabled:c,roundRobin:m,models:x}=t,u=e=>s({...t,...e}),h=(e,t)=>{let s=e+t;if(s<0||s>=x.length)return;let l=[...x];[l[e],l[s]]=[l[s],l[e]],u({models:l})};return(0,l.jsxs)(d.Zp,{padding:"sm",className:`group ${!c?"opacity-50":""}`,children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,l.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-2.5 sm:items-center",children:[(0,l.jsx)(d.lM,{checked:c,onChange:e=>u({enabled:e}),"aria-label":`Enable ${e.label} adapter`}),(0,l.jsx)("div",{className:"size-8 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-primary text-[18px]",children:e.icon})}),(0,l.jsx)("div",{className:"min-w-0 flex-1",children:(0,l.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,l.jsx)("code",{className:"font-mono text-sm font-medium",children:e.label}),(0,l.jsxs)("span",{className:"text-[10px] text-text-muted",children:["— ",e.desc]})]})})]}),(0,l.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center sm:gap-3 sm:shrink-0",children:[(0,l.jsxs)("label",{className:"flex items-center gap-1.5 text-xs text-text-muted cursor-pointer select-none",children:[(0,l.jsx)(d.lM,{checked:m,onChange:e=>u({roundRobin:e}),disabled:!c,"aria-label":`Round-robin ${e.label} adapter`}),(0,l.jsx)("span",{children:"Round"})]}),(0,l.jsx)(d.$n,{icon:"add",variant:"ghost",size:"sm",onClick:()=>n(!0),disabled:!c,title:`Add ${e.label} model`,children:"Add Model"})]})]}),0===x.length?(0,l.jsxs)("div",{className:"mt-3 py-2 text-center text-xs text-text-muted italic",children:["No models in pool (will fallback to ",p,")"]}):(0,l.jsx)("div",{className:"mt-3 overflow-hidden rounded-lg border border-border/50",children:(0,l.jsxs)("table",{className:"w-full text-left text-xs",children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{className:"border-b border-border/40 bg-black/[0.02] text-text-muted dark:bg-white/[0.02]",children:[(0,l.jsx)("th",{className:"w-12 px-3 py-1.5 font-medium text-center",children:"#"}),(0,l.jsx)("th",{className:"px-3 py-1.5 font-medium",children:"Model"}),(0,l.jsx)("th",{className:"w-24 px-3 py-1.5 font-medium text-center",children:"Order"}),(0,l.jsx)("th",{className:"w-12 px-3 py-1.5 font-medium text-right"})]})}),(0,l.jsx)("tbody",{className:"divide-y divide-border/30 font-mono",children:x.map((e,t)=>(0,l.jsxs)("tr",{className:"hover:bg-black/[0.02] dark:hover:bg-white/[0.02] transition-colors",children:[(0,l.jsxs)("td",{className:"px-3 py-2 text-center text-text-muted text-[11px] font-sans",children:["#",t+1]}),(0,l.jsx)("td",{className:"px-3 py-2 text-text-main",children:(0,l.jsxs)("div",{className:"flex items-center gap-1.5 flex-wrap",children:[(0,l.jsx)("span",{className:"truncate",children:e}),(0,l.jsx)(d.nh,{caps:o?.(e)}),e===p&&(0,l.jsx)("span",{className:"rounded bg-emerald-500/10 px-1.5 py-0.5 font-sans text-[10px] font-medium text-emerald-600 dark:text-emerald-400",children:"free default"})]})}),(0,l.jsx)("td",{className:"px-3 py-2 text-center",children:(0,l.jsxs)("div",{className:"inline-flex items-center gap-1",children:[(0,l.jsx)("button",{type:"button",onClick:()=>h(t,-1),disabled:!c||0===t,className:`p-1 rounded transition-colors ${!c||0===t?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move up",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px] leading-none",children:"arrow_upward"})}),(0,l.jsx)("button",{type:"button",onClick:()=>h(t,1),disabled:!c||t===x.length-1,className:`p-1 rounded transition-colors ${!c||t===x.length-1?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move down",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px] leading-none",children:"arrow_downward"})})]})}),(0,l.jsx)("td",{className:"px-3 py-2 text-right",children:(0,l.jsx)("button",{type:"button",onClick:()=>{let e;u({models:0===(e=x.filter((e,s)=>s!==t)).length?[p]:e})},disabled:!c,className:`p-1 rounded transition-colors ${!c?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-red-500 hover:bg-red-500/10"}`,title:"Remove model",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px] leading-none",children:"close"})})})]},`${e}-${t}`))})]})}),i&&(0,l.jsx)(d.rq,{isOpen:i,onClose:()=>n(!1),onSelect:e=>{let t=e?.value||e?.name||e;!t||x.includes(t)||u({models:[...x,t]})},onDeselect:e=>{let t=e?.value||e?.name||e,s=x.filter(e=>e!==t);u({models:0===s.length?[p]:s})},activeProviders:r,title:`Add ${e.label} Model`,addedModelValues:x,capFilter:e.key,closeOnSelect:!1})]})}function C({id:e,index:t,model:s,isFirst:r,isLast:n,onEdit:d,onMoveUp:c,onMoveDown:m,onRemove:x}){let{attributes:u,listeners:h,setNodeRef:p,transform:f,isDragging:b}=(0,o.gl)({id:e}),g={transform:i.Ks.Transform.toString(f),opacity:b?.4:1,zIndex:b?999:void 0},[j,y]=(0,a.useState)(!1),[v,w]=(0,a.useState)(s),N=()=>{let e=v.trim();e&&e!==s?d(e):w(s),y(!1)};return(0,l.jsxs)("div",{ref:p,style:g,className:`group flex min-w-0 items-center gap-1.5 rounded-md px-2 py-1 bg-black/[0.02] hover:bg-black/[0.04] dark:bg-white/[0.02] dark:hover:bg-white/[0.04] transition-colors ${b?"shadow-md ring-1 ring-primary/30":""}`,children:[(0,l.jsx)("button",{...u,...h,type:"button",className:"cursor-grab touch-none p-0.5 rounded text-text-muted hover:text-primary active:cursor-grabbing shrink-0",title:"Drag to reorder",children:(0,l.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:[(0,l.jsx)("circle",{cx:"9",cy:"4",r:"2"}),(0,l.jsx)("circle",{cx:"15",cy:"4",r:"2"}),(0,l.jsx)("circle",{cx:"9",cy:"12",r:"2"}),(0,l.jsx)("circle",{cx:"15",cy:"12",r:"2"}),(0,l.jsx)("circle",{cx:"9",cy:"20",r:"2"}),(0,l.jsx)("circle",{cx:"15",cy:"20",r:"2"})]})}),(0,l.jsx)("span",{className:"text-[10px] font-medium text-text-muted w-3 text-center shrink-0",children:t+1}),j?(0,l.jsx)("input",{autoFocus:!0,value:v,onChange:e=>w(e.target.value),onBlur:N,onKeyDown:e=>{"Enter"===e.key&&N(),"Escape"===e.key&&(w(s),y(!1))},className:"min-w-0 flex-1 rounded border border-primary/40 bg-white px-1.5 py-0.5 font-mono text-xs text-text-main outline-none dark:bg-black/20"}):(0,l.jsx)("div",{className:"min-w-0 flex-1 cursor-text truncate rounded px-1.5 py-0.5 font-mono text-xs text-text-main hover:bg-black/5 dark:hover:bg-white/5",onClick:()=>y(!0),title:"Click to edit",children:s}),(0,l.jsxs)("div",{className:"flex shrink-0 items-center gap-0.5",children:[(0,l.jsx)("button",{onClick:c,disabled:r,className:`p-0.5 rounded ${r?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move up",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_upward"})}),(0,l.jsx)("button",{onClick:m,disabled:n,className:`p-0.5 rounded ${n?"text-text-muted/20 cursor-not-allowed":"text-text-muted hover:text-primary hover:bg-black/5 dark:hover:bg-white/5"}`,title:"Move down",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"arrow_downward"})})]}),(0,l.jsx)("button",{onClick:x,className:"p-0.5 hover:bg-red-500/10 rounded text-text-muted hover:text-red-500 transition-all",title:"Remove",children:(0,l.jsx)("span",{className:"material-symbols-outlined text-[12px]",children:"close"})})]})}let S=0,$=()=>`combo-model-${S+=1}`;function E({isOpen:e,combo:t,onClose:s,onSave:i,activeProviders:c}){let[m,x]=(0,a.useState)(t?.name||""),[h,p]=(0,a.useState)(()=>(t?.models||[]).map(e=>({uid:$(),model:e}))),[f,b]=(0,a.useState)(!1),[g,j]=(0,a.useState)(!1),[y,v]=(0,a.useState)(""),[w,N]=(0,a.useState)({}),k=h.map(e=>e.model),S=(0,r.FR)((0,r.MS)(r.AN,{activationConstraint:{distance:5}}),(0,r.MS)(r.uN,{coordinateGetter:o.JR})),M=async()=>{try{let e=await fetch("/api/models/alias");if(!e.ok)return;let t=await e.json();N(t.aliases||{})}catch(e){console.error("Error fetching modal data:",e)}};(0,a.useEffect)(()=>{e&&M()},[e]);let A=e=>e.trim()?u.test(e)?(v(""),!0):(v("Only letters, numbers, -, _ and . allowed"),!1):(v("Name is required"),!1),D=async()=>{A(m)&&(j(!0),await i({name:m.trim(),models:k}),j(!1))},F=!!t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.aF,{isOpen:e,onClose:s,title:F?"Edit Combo":"Create Combo",children:(0,l.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(d.pd,{label:"Combo Name",value:m,onChange:e=>{let t=e.target.value;x(t),t?A(t):v("")},placeholder:"my-combo",error:y}),(0,l.jsx)("p",{className:"text-[10px] text-text-muted mt-0.5",children:"Only letters, numbers, -, _ and . allowed"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("label",{className:"text-sm font-medium mb-1.5 block",children:"Models"}),0===k.length?(0,l.jsxs)("div",{className:"text-center py-4 border border-dashed border-black/10 dark:border-white/10 rounded-lg bg-black/[0.01] dark:bg-white/[0.01]",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-text-muted text-xl mb-1",children:"layers"}),(0,l.jsx)("p",{className:"text-xs text-text-muted",children:"No models added yet"})]}):(0,l.jsx)(r.Mp,{sensors:S,collisionDetection:r.fp,onDragEnd:e=>{let{active:t,over:s}=e;if(s&&t.id!==s.id){let e=h.findIndex(e=>e.uid===t.id),l=h.findIndex(e=>e.uid===s.id);-1!==e&&-1!==l&&p(t=>(0,o.be)(t,e,l))}},modifiers:[n.FN,n.gj],children:(0,l.jsx)(o.gB,{items:h.map(e=>e.uid),strategy:o._G,children:(0,l.jsx)("div",{className:"flex max-h-[55vh] min-w-0 flex-col gap-1 overflow-y-auto sm:max-h-[350px]",children:h.map((e,t)=>(0,l.jsx)(C,{id:e.uid,index:t,model:e.model,isFirst:0===t,isLast:t===h.length-1,onEdit:t=>{p(s=>s.map(s=>s.uid===e.uid?{...s,model:t}:s))},onMoveUp:()=>{p(e=>{if(0===t)return e;let s=[...e];return[s[t-1],s[t]]=[s[t],s[t-1]],s})},onMoveDown:()=>{p(e=>{if(t===e.length-1)return e;let s=[...e];return[s[t],s[t+1]]=[s[t+1],s[t]],s})},onRemove:()=>{p(e=>e.filter((e,s)=>s!==t))}},e.uid))})})}),(0,l.jsxs)("button",{onClick:()=>b(!0),className:"w-full mt-2 py-2 border border-dashed border-black/10 dark:border-white/10 rounded-lg text-xs text-primary font-medium hover:text-primary hover:border-primary/50 transition-colors flex items-center justify-center gap-1",children:[(0,l.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"add"}),"Add Model"]})]}),(0,l.jsxs)("div",{className:"flex flex-col gap-2 pt-1 sm:flex-row",children:[(0,l.jsx)(d.$n,{onClick:s,variant:"ghost",fullWidth:!0,size:"sm",children:"Cancel"}),(0,l.jsx)(d.$n,{onClick:D,fullWidth:!0,size:"sm",disabled:!m.trim()||!!y||g,children:g?"Saving...":F?"Save":"Create"})]})]})}),f&&(0,l.jsx)(d.rq,{isOpen:f,onClose:()=>b(!1),onSelect:e=>{p(t=>t.some(t=>t.model===e.value)?t:[...t,{uid:$(),model:e.value}])},onDeselect:e=>{p(t=>t.filter(t=>t.model!==e.value))},activeProviders:c,modelAliases:w,title:"Add Model to Combo",addedModelValues:k,closeOnSelect:!1})]})}},84680:(e,t,s)=>{"use strict";s.d(t,{PM:()=>l.PM,Sj:()=>l.Sj,Vy:()=>l.Vy,fF:()=>l.fF,sl:()=>l.sl,vL:()=>l.vL,y$:()=>l.y$,zM:()=>l.zM});var l=s(44923)}},e=>{e.O(0,[8500,246,5353,2723,705,5497,8441,3794,7358],()=>e(e.s=7575)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[712],{44493:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var s=l(95155),n=l(12115),r=l(35497),a=l(90620);let c={LOG:"text-green-400",INFO:"text-blue-400",WARN:"text-yellow-400",ERROR:"text-red-400",DEBUG:"text-purple-400"};function o(){let[e,t]=(0,n.useState)([]),[l,o]=(0,n.useState)(!1),i=(0,n.useRef)(null),u=async()=>{try{await fetch("/api/translator/console-logs",{method:"DELETE"})}catch(e){console.error("Failed to clear console logs:",e)}};return(0,n.useEffect)(()=>{let e=new EventSource("/api/translator/console-logs/stream");return e.onopen=()=>o(!0),e.onmessage=e=>{let l;try{l=JSON.parse(e.data)}catch{return}"init"===l.type?t(l.logs.slice(-a.UY.maxLines)):"line"===l.type?t(e=>{let t=[...e,l.line];return t.length>a.UY.maxLines?t.slice(-a.UY.maxLines):t}):"lines"===l.type?t(e=>{let t=[...e,...l.lines];return t.length>a.UY.maxLines?t.slice(-a.UY.maxLines):t}):"clear"===l.type&&t([])},e.onerror=()=>o(!1),()=>e.close()},[]),(0,n.useEffect)(()=>{i.current&&(i.current.scrollTop=i.current.scrollHeight)},[e]),(0,s.jsx)("div",{className:"",children:(0,s.jsxs)(r.Zp,{children:[(0,s.jsx)("div",{className:"flex items-center justify-end px-4 pt-3 pb-2",children:(0,s.jsx)(r.$n,{size:"sm",variant:"outline",icon:"delete",onClick:u,children:"Clear"})}),(0,s.jsx)("div",{ref:i,className:"bg-black rounded-b-lg p-4 text-xs font-mono h-[calc(100vh-220px)] overflow-y-auto",children:0===e.length?(0,s.jsx)("span",{className:"text-text-muted",children:"No console logs yet."}):(0,s.jsx)("div",{className:"space-y-0.5",children:e.map((e,t)=>{let l,n;return(0,s.jsx)("div",{children:(n=c[(l=e.match(/\[(\w+)\]/))?l[1]:null]||"text-green-400",(0,s.jsx)("span",{className:n,children:e}))},t)})})})]})})}},74204:(e,t,l)=>{Promise.resolve().then(l.bind(l,44493))}},e=>{e.O(0,[8500,246,85,705,5497,8441,3794,7358],()=>e(e.s=74204)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[712],{44493:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var s=l(95155),n=l(12115),r=l(35497),a=l(90620);let c={LOG:"text-green-400",INFO:"text-blue-400",WARN:"text-yellow-400",ERROR:"text-red-400",DEBUG:"text-purple-400"};function o(){let[e,t]=(0,n.useState)([]),[l,o]=(0,n.useState)(!1),i=(0,n.useRef)(null),u=async()=>{try{await fetch("/api/translator/console-logs",{method:"DELETE"})}catch(e){console.error("Failed to clear console logs:",e)}};return(0,n.useEffect)(()=>{let e=new EventSource("/api/translator/console-logs/stream");return e.onopen=()=>o(!0),e.onmessage=e=>{let l;try{l=JSON.parse(e.data)}catch{return}"init"===l.type?t(l.logs.slice(-a.UY.maxLines)):"line"===l.type?t(e=>{let t=[...e,l.line];return t.length>a.UY.maxLines?t.slice(-a.UY.maxLines):t}):"lines"===l.type?t(e=>{let t=[...e,...l.lines];return t.length>a.UY.maxLines?t.slice(-a.UY.maxLines):t}):"clear"===l.type&&t([])},e.onerror=()=>o(!1),()=>e.close()},[]),(0,n.useEffect)(()=>{i.current&&(i.current.scrollTop=i.current.scrollHeight)},[e]),(0,s.jsx)("div",{className:"",children:(0,s.jsxs)(r.Zp,{children:[(0,s.jsx)("div",{className:"flex items-center justify-end px-4 pt-3 pb-2",children:(0,s.jsx)(r.$n,{size:"sm",variant:"outline",icon:"delete",onClick:u,children:"Clear"})}),(0,s.jsx)("div",{ref:i,className:"bg-black rounded-b-lg p-4 text-xs font-mono h-[calc(100vh-220px)] overflow-y-auto",children:0===e.length?(0,s.jsx)("span",{className:"text-text-muted",children:"No console logs yet."}):(0,s.jsx)("div",{className:"space-y-0.5",children:e.map((e,t)=>{let l,n;return(0,s.jsx)("div",{children:(n=c[(l=e.match(/\[(\w+)\]/))?l[1]:null]||"text-green-400",(0,s.jsx)("span",{className:n,children:e}))},t)})})})]})})}},74204:(e,t,l)=>{Promise.resolve().then(l.bind(l,44493))}},e=>{e.O(0,[8500,246,2723,705,5497,8441,3794,7358],()=>e(e.s=74204)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6099],{},_=>{_.O(0,[8500,246,2723,705,5497,7958,8441,3794,7358],()=>_(_.s=67958)),_N_E=_.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2274],{6842:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>l});var t=s(95155),n=s(35497);function l({error:e,reset:r}){return(0,t.jsx)("div",{className:"flex min-h-[60vh] items-center justify-center px-4 py-10",children:(0,t.jsxs)("div",{className:"flex w-full max-w-md flex-col items-center gap-3 rounded-xl border border-border bg-surface p-6 text-center",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold mb-1",children:"Something went wrong"}),(0,t.jsx)("p",{className:"text-sm text-text-muted break-words",children:e?.message||"An unexpected error occurred."})]}),(0,t.jsx)(n.$n,{onClick:r,children:"Try again"})]})})}},20922:(e,r,s)=>{Promise.resolve().then(s.bind(s,6842))}},e=>{e.O(0,[8500,246,85,705,5497,8441,3794,7358],()=>e(e.s=20922)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2274],{6842:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>l});var t=s(95155),n=s(35497);function l({error:e,reset:r}){return(0,t.jsx)("div",{className:"flex min-h-[60vh] items-center justify-center px-4 py-10",children:(0,t.jsxs)("div",{className:"flex w-full max-w-md flex-col items-center gap-3 rounded-xl border border-border bg-surface p-6 text-center",children:[(0,t.jsx)("span",{className:"material-symbols-outlined text-[28px] text-red-500",children:"error"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-lg font-semibold mb-1",children:"Something went wrong"}),(0,t.jsx)("p",{className:"text-sm text-text-muted break-words",children:e?.message||"An unexpected error occurred."})]}),(0,t.jsx)(n.$n,{onClick:r,children:"Try again"})]})})}},20922:(e,r,s)=>{Promise.resolve().then(s.bind(s,6842))}},e=>{e.O(0,[8500,246,2723,705,5497,8441,3794,7358],()=>e(e.s=20922)),_N_E=e.O()}]);