9router 0.5.112 → 0.5.116

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 (1217) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -9
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +5 -5
  5. package/app/.next-cli-build/required-server-files.json +7 -1
  6. package/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -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 +8 -8
  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 +4 -4
  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 +2 -2
  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 +3 -3
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  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 +2 -2
  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 +2 -2
  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 +5 -5
  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 +2 -2
  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 +1 -1
  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 +2 -2
  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 +1 -1
  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/copilot-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  139. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  147. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
  159. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js +4 -0
  231. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -0
  232. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route_client-reference-manifest.js +1 -0
  233. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  264. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  306. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  313. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  317. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  319. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  321. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  323. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  325. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  327. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  343. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +2 -2
  393. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +6 -3
  401. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  443. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  445. package/app/.next-cli-build/server/app/callback.html +1 -1
  446. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  447. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  448. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  450. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  452. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  453. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  454. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  457. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  458. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  459. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  460. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  462. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  463. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  464. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  467. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  468. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  469. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  470. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  472. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  473. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  474. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  477. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  478. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  479. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  480. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  482. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  483. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  484. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  487. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  488. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  489. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  492. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  493. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  494. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +3 -3
  497. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +3 -3
  498. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +3 -3
  499. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  502. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  503. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  504. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
  507. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  508. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
  509. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  510. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  515. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  516. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  517. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  518. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  520. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  521. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  522. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +3 -3
  525. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +3 -3
  526. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +3 -3
  527. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  530. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  531. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  532. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/usage.rsc +3 -3
  535. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +3 -3
  536. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +3 -3
  537. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  539. package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  540. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  541. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  542. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  544. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  545. package/app/.next-cli-build/server/app/index.html +1 -1
  546. package/app/.next-cli-build/server/app/index.rsc +3 -3
  547. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  548. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  549. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  551. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  552. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  553. package/app/.next-cli-build/server/app/landing.html +1 -1
  554. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  555. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  556. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  558. package/app/.next-cli-build/server/app/login/page.js +1 -1
  559. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  560. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  561. package/app/.next-cli-build/server/app/login.html +1 -1
  562. package/app/.next-cli-build/server/app/login.rsc +3 -3
  563. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  564. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  566. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  567. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/page.js +1 -1
  569. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  570. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  571. package/app/.next-cli-build/server/app-paths-manifest.json +10 -9
  572. package/app/.next-cli-build/server/chunks/1004.js +1 -0
  573. package/app/.next-cli-build/server/chunks/1051.js +1 -1
  574. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  575. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  576. package/app/.next-cli-build/server/chunks/238.js +1 -1
  577. package/app/.next-cli-build/server/chunks/2380.js +9 -9
  578. package/app/.next-cli-build/server/chunks/2598.js +1 -1
  579. package/app/.next-cli-build/server/chunks/2822.js +1 -1
  580. package/app/.next-cli-build/server/chunks/{5299.js → 3783.js} +3 -3
  581. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  582. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  583. package/app/.next-cli-build/server/chunks/4480.js +1 -1
  584. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  585. package/app/.next-cli-build/server/chunks/5330.js +7 -7
  586. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  587. package/app/.next-cli-build/server/chunks/6690.js +1 -1
  588. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  589. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  590. package/app/.next-cli-build/server/chunks/{2132.js → 7573.js} +1 -1
  591. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  592. package/app/.next-cli-build/server/chunks/8499.js +1 -1
  593. package/app/.next-cli-build/server/chunks/8623.js +1 -1
  594. package/app/.next-cli-build/server/chunks/869.js +1 -1
  595. package/app/.next-cli-build/server/chunks/8895.js +2 -2
  596. package/app/.next-cli-build/server/chunks/8896.js +1 -0
  597. package/app/.next-cli-build/server/chunks/9102.js +1 -0
  598. package/app/.next-cli-build/server/chunks/9128.js +1 -1
  599. package/app/.next-cli-build/server/chunks/9604.js +1 -1
  600. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  601. package/app/.next-cli-build/server/chunks/9696.js +1 -1
  602. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  603. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  604. package/app/.next-cli-build/server/middleware.js +14 -14
  605. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  606. package/app/.next-cli-build/server/pages/404.html +1 -1
  607. package/app/.next-cli-build/server/pages/500.html +1 -1
  608. package/app/.next-cli-build/server/preview-props.json +3 -3
  609. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  610. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  611. package/app/.next-cli-build/server/webpack-runtime.js +1 -1
  612. package/app/.next-cli-build/static/Z4ZIksyhEDiaIj7-73igf/_buildManifest.js +1 -0
  613. package/app/.next-cli-build/static/chunks/1321-93eb6ca56f8fcb1e.js +1 -0
  614. package/app/.next-cli-build/static/chunks/{761-f671b0371daf6356.js → 9134-07842c4023ec2223.js} +11 -11
  615. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-9fe240988c674585.js → page-dde07454165b542e.js} +1 -1
  616. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-2e6e4ef7c270a4ff.js → page-0e889b3c170b388d.js} +1 -1
  617. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0f55372821920062.js → page-0688449cf035f993.js} +6 -6
  618. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-2f96a614dc53d80f.js → page-38924c451fb16b6e.js} +1 -1
  619. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-f9897bc47dce7e8f.js → page-f98f1e29fd6fc471.js} +5 -5
  620. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-9782a8d4c3075073.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/_global-error/{page-a70f643786fb402f.js → page-4e22949b210a2492.js} +1 -1
  622. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  623. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  624. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  625. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4e22949b210a2492.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4e22949b210a2492.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4e22949b210a2492.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4e22949b210a2492.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4e22949b210a2492.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4e22949b210a2492.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4e22949b210a2492.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4e22949b210a2492.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4e22949b210a2492.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4e22949b210a2492.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4e22949b210a2492.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4e22949b210a2492.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4e22949b210a2492.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4e22949b210a2492.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4e22949b210a2492.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4e22949b210a2492.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4e22949b210a2492.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4e22949b210a2492.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4e22949b210a2492.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4e22949b210a2492.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4e22949b210a2492.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4e22949b210a2492.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4e22949b210a2492.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4e22949b210a2492.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4e22949b210a2492.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4e22949b210a2492.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-4e22949b210a2492.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4e22949b210a2492.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4e22949b210a2492.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4e22949b210a2492.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4e22949b210a2492.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4e22949b210a2492.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4e22949b210a2492.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4e22949b210a2492.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4e22949b210a2492.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4e22949b210a2492.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4e22949b210a2492.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/combos/route-4e22949b210a2492.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4e22949b210a2492.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4e22949b210a2492.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4e22949b210a2492.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4e22949b210a2492.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4e22949b210a2492.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4e22949b210a2492.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/health/route-4e22949b210a2492.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/init/route-4e22949b210a2492.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4e22949b210a2492.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/keys/route-4e22949b210a2492.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/locale/route-4e22949b210a2492.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4e22949b210a2492.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4e22949b210a2492.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4e22949b210a2492.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4e22949b210a2492.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4e22949b210a2492.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4e22949b210a2492.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4e22949b210a2492.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4e22949b210a2492.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4e22949b210a2492.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4e22949b210a2492.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4e22949b210a2492.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4e22949b210a2492.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/models/route-4e22949b210a2492.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4e22949b210a2492.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4e22949b210a2492.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4e22949b210a2492.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4e22949b210a2492.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/oauth/commandcode/auto-import/route-4e22949b210a2492.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4e22949b210a2492.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4e22949b210a2492.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4e22949b210a2492.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4e22949b210a2492.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4e22949b210a2492.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4e22949b210a2492.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4e22949b210a2492.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4e22949b210a2492.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4e22949b210a2492.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4e22949b210a2492.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4e22949b210a2492.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4e22949b210a2492.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4e22949b210a2492.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4e22949b210a2492.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4e22949b210a2492.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4e22949b210a2492.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4e22949b210a2492.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4e22949b210a2492.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4e22949b210a2492.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4e22949b210a2492.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4e22949b210a2492.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4e22949b210a2492.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4e22949b210a2492.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4e22949b210a2492.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4e22949b210a2492.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4e22949b210a2492.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4e22949b210a2492.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4e22949b210a2492.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/providers/route-4e22949b210a2492.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4e22949b210a2492.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4e22949b210a2492.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4e22949b210a2492.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-4e22949b210a2492.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4e22949b210a2492.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4e22949b210a2492.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4e22949b210a2492.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4e22949b210a2492.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-4e22949b210a2492.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4e22949b210a2492.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4e22949b210a2492.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4e22949b210a2492.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4e22949b210a2492.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4e22949b210a2492.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4e22949b210a2492.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4e22949b210a2492.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4e22949b210a2492.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4e22949b210a2492.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4e22949b210a2492.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4e22949b210a2492.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4e22949b210a2492.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4e22949b210a2492.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/settings/route-4e22949b210a2492.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4e22949b210a2492.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/tags/route-4e22949b210a2492.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4e22949b210a2492.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4e22949b210a2492.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4e22949b210a2492.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4e22949b210a2492.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4e22949b210a2492.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4e22949b210a2492.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4e22949b210a2492.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4e22949b210a2492.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4e22949b210a2492.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4e22949b210a2492.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4e22949b210a2492.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4e22949b210a2492.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4e22949b210a2492.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4e22949b210a2492.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4e22949b210a2492.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4e22949b210a2492.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4e22949b210a2492.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4e22949b210a2492.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4e22949b210a2492.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4e22949b210a2492.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4e22949b210a2492.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4e22949b210a2492.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4e22949b210a2492.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4e22949b210a2492.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4e22949b210a2492.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4e22949b210a2492.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4e22949b210a2492.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4e22949b210a2492.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4e22949b210a2492.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4e22949b210a2492.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4e22949b210a2492.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4e22949b210a2492.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4e22949b210a2492.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4e22949b210a2492.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4e22949b210a2492.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4e22949b210a2492.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4e22949b210a2492.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4e22949b210a2492.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/v1/route-4e22949b210a2492.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4e22949b210a2492.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4e22949b210a2492.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4e22949b210a2492.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4e22949b210a2492.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4e22949b210a2492.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4e22949b210a2492.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4e22949b210a2492.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4e22949b210a2492.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4e22949b210a2492.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/version/route-4e22949b210a2492.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4e22949b210a2492.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4e22949b210a2492.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4e22949b210a2492.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/page-4e22949b210a2492.js +1 -0
  799. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4e22949b210a2492.js +1 -0
  800. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4e22949b210a2492.js +1 -0
  801. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4e22949b210a2492.js +1 -0
  802. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4e22949b210a2492.js +1 -0
  803. package/app/.next-cli-build/static/css/836344dc90be2bb4.css +1 -0
  804. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  805. package/app/node_modules/undici/LICENSE +21 -0
  806. package/app/node_modules/undici/README.md +828 -0
  807. package/app/node_modules/undici/docs/docs/api/Agent.md +291 -0
  808. package/app/node_modules/undici/docs/docs/api/BalancedPool.md +297 -0
  809. package/app/node_modules/undici/docs/docs/api/CacheStorage.md +188 -0
  810. package/app/node_modules/undici/docs/docs/api/CacheStore.md +375 -0
  811. package/app/node_modules/undici/docs/docs/api/Client.md +538 -0
  812. package/app/node_modules/undici/docs/docs/api/ClientStats.md +93 -0
  813. package/app/node_modules/undici/docs/docs/api/Connector.md +198 -0
  814. package/app/node_modules/undici/docs/docs/api/ContentType.md +97 -0
  815. package/app/node_modules/undici/docs/docs/api/Cookies.md +179 -0
  816. package/app/node_modules/undici/docs/docs/api/Debug.md +78 -0
  817. package/app/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +518 -0
  818. package/app/node_modules/undici/docs/docs/api/Dispatcher.md +839 -0
  819. package/app/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +171 -0
  820. package/app/node_modules/undici/docs/docs/api/Errors.md +624 -0
  821. package/app/node_modules/undici/docs/docs/api/EventSource.md +358 -0
  822. package/app/node_modules/undici/docs/docs/api/Fetch.md +721 -0
  823. package/app/node_modules/undici/docs/docs/api/GlobalInstallation.md +121 -0
  824. package/app/node_modules/undici/docs/docs/api/H2CClient.md +386 -0
  825. package/app/node_modules/undici/docs/docs/api/Interceptors.md +439 -0
  826. package/app/node_modules/undici/docs/docs/api/MockAgent.md +622 -0
  827. package/app/node_modules/undici/docs/docs/api/MockCallHistory.md +371 -0
  828. package/app/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +206 -0
  829. package/app/node_modules/undici/docs/docs/api/MockClient.md +199 -0
  830. package/app/node_modules/undici/docs/docs/api/MockErrors.md +63 -0
  831. package/app/node_modules/undici/docs/docs/api/MockPool.md +618 -0
  832. package/app/node_modules/undici/docs/docs/api/Pool.md +278 -0
  833. package/app/node_modules/undici/docs/docs/api/PoolStats.md +141 -0
  834. package/app/node_modules/undici/docs/docs/api/ProxyAgent.md +248 -0
  835. package/app/node_modules/undici/docs/docs/api/RedirectHandler.md +279 -0
  836. package/app/node_modules/undici/docs/docs/api/RetryAgent.md +136 -0
  837. package/app/node_modules/undici/docs/docs/api/RetryHandler.md +200 -0
  838. package/app/node_modules/undici/docs/docs/api/RoundRobinPool.md +239 -0
  839. package/app/node_modules/undici/docs/docs/api/SnapshotAgent.md +361 -0
  840. package/app/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +256 -0
  841. package/app/node_modules/undici/docs/docs/api/Util.md +82 -0
  842. package/app/node_modules/undici/docs/docs/api/WebSocket.md +536 -0
  843. package/app/node_modules/undici/docs/docs/api/api-lifecycle.md +159 -0
  844. package/app/node_modules/undici/docs/docs/best-practices/client-certificate.md +66 -0
  845. package/app/node_modules/undici/docs/docs/best-practices/crawling.md +60 -0
  846. package/app/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +233 -0
  847. package/app/node_modules/undici/docs/docs/best-practices/mocking-request.md +192 -0
  848. package/app/node_modules/undici/docs/docs/best-practices/proxy.md +129 -0
  849. package/app/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +226 -0
  850. package/app/node_modules/undici/docs/docs/best-practices/writing-tests.md +65 -0
  851. package/app/node_modules/undici/docs/docs/getting-started.md +281 -0
  852. package/app/node_modules/undici/docs/docs/index.md +793 -0
  853. package/app/node_modules/undici/docs/docs/site.json +125 -0
  854. package/app/node_modules/undici/docs/docs/type-map.json +79 -0
  855. package/app/node_modules/undici/index-fetch.js +65 -0
  856. package/app/node_modules/undici/index.d.ts +3 -0
  857. package/app/node_modules/undici/index.js +236 -0
  858. package/app/node_modules/undici/lib/api/abort-signal.js +59 -0
  859. package/app/node_modules/undici/lib/api/api-connect.js +112 -0
  860. package/app/node_modules/undici/lib/api/api-pipeline.js +265 -0
  861. package/app/node_modules/undici/lib/api/api-request.js +244 -0
  862. package/app/node_modules/undici/lib/api/api-stream.js +270 -0
  863. package/app/node_modules/undici/lib/api/api-upgrade.js +121 -0
  864. package/app/node_modules/undici/lib/api/index.js +7 -0
  865. package/app/node_modules/undici/lib/api/readable.js +615 -0
  866. package/app/node_modules/undici/lib/cache/memory-cache-store.js +314 -0
  867. package/app/node_modules/undici/lib/cache/sqlite-cache-store.js +547 -0
  868. package/app/node_modules/undici/lib/core/connect.js +198 -0
  869. package/app/node_modules/undici/lib/core/constants.js +131 -0
  870. package/app/node_modules/undici/lib/core/diagnostics.js +227 -0
  871. package/app/node_modules/undici/lib/core/errors.js +534 -0
  872. package/app/node_modules/undici/lib/core/request.js +582 -0
  873. package/app/node_modules/undici/lib/core/socks5-client.js +422 -0
  874. package/app/node_modules/undici/lib/core/socks5-utils.js +212 -0
  875. package/app/node_modules/undici/lib/core/symbols.js +81 -0
  876. package/app/node_modules/undici/lib/core/tree.js +160 -0
  877. package/app/node_modules/undici/lib/core/util.js +1035 -0
  878. package/app/node_modules/undici/lib/dispatcher/agent.js +181 -0
  879. package/app/node_modules/undici/lib/dispatcher/balanced-pool.js +217 -0
  880. package/app/node_modules/undici/lib/dispatcher/client-h1.js +1844 -0
  881. package/app/node_modules/undici/lib/dispatcher/client-h2.js +1932 -0
  882. package/app/node_modules/undici/lib/dispatcher/client.js +749 -0
  883. package/app/node_modules/undici/lib/dispatcher/dispatcher-base.js +198 -0
  884. package/app/node_modules/undici/lib/dispatcher/dispatcher.js +58 -0
  885. package/app/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +127 -0
  886. package/app/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +190 -0
  887. package/app/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  888. package/app/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  889. package/app/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
  890. package/app/node_modules/undici/lib/dispatcher/pool-base.js +347 -0
  891. package/app/node_modules/undici/lib/dispatcher/pool.js +229 -0
  892. package/app/node_modules/undici/lib/dispatcher/proxy-agent.js +418 -0
  893. package/app/node_modules/undici/lib/dispatcher/retry-agent.js +48 -0
  894. package/app/node_modules/undici/lib/dispatcher/round-robin-pool.js +169 -0
  895. package/app/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +350 -0
  896. package/app/node_modules/undici/lib/encoding/index.js +33 -0
  897. package/app/node_modules/undici/lib/global.js +82 -0
  898. package/app/node_modules/undici/lib/handler/cache-handler.js +956 -0
  899. package/app/node_modules/undici/lib/handler/cache-revalidation-handler.js +134 -0
  900. package/app/node_modules/undici/lib/handler/decorator-handler.js +72 -0
  901. package/app/node_modules/undici/lib/handler/deduplication-handler.js +540 -0
  902. package/app/node_modules/undici/lib/handler/redirect-handler.js +263 -0
  903. package/app/node_modules/undici/lib/handler/retry-handler.js +686 -0
  904. package/app/node_modules/undici/lib/interceptor/cache.js +682 -0
  905. package/app/node_modules/undici/lib/interceptor/decompress.js +574 -0
  906. package/app/node_modules/undici/lib/interceptor/deduplicate.js +118 -0
  907. package/app/node_modules/undici/lib/interceptor/dns.js +593 -0
  908. package/app/node_modules/undici/lib/interceptor/dump.js +99 -0
  909. package/app/node_modules/undici/lib/interceptor/redirect.js +21 -0
  910. package/app/node_modules/undici/lib/interceptor/response-error.js +139 -0
  911. package/app/node_modules/undici/lib/interceptor/retry.js +19 -0
  912. package/app/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
  913. package/app/node_modules/undici/lib/llhttp/constants.js +531 -0
  914. package/app/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  915. package/app/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  916. package/app/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
  917. package/app/node_modules/undici/lib/llhttp/utils.js +12 -0
  918. package/app/node_modules/undici/lib/milo/LICENSE.md +7 -0
  919. package/app/node_modules/undici/lib/milo/no-simd.js +1002 -0
  920. package/app/node_modules/undici/lib/milo/simd.js +1002 -0
  921. package/app/node_modules/undici/lib/mock/mock-agent.js +255 -0
  922. package/app/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  923. package/app/node_modules/undici/lib/mock/mock-client.js +68 -0
  924. package/app/node_modules/undici/lib/mock/mock-errors.js +29 -0
  925. package/app/node_modules/undici/lib/mock/mock-interceptor.js +227 -0
  926. package/app/node_modules/undici/lib/mock/mock-pool.js +68 -0
  927. package/app/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  928. package/app/node_modules/undici/lib/mock/mock-utils.js +720 -0
  929. package/app/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  930. package/app/node_modules/undici/lib/mock/snapshot-agent.js +371 -0
  931. package/app/node_modules/undici/lib/mock/snapshot-recorder.js +624 -0
  932. package/app/node_modules/undici/lib/mock/snapshot-utils.js +159 -0
  933. package/app/node_modules/undici/lib/util/cache.js +764 -0
  934. package/app/node_modules/undici/lib/util/date.js +670 -0
  935. package/app/node_modules/undici/lib/util/runtime-features.js +93 -0
  936. package/app/node_modules/undici/lib/util/stats.js +32 -0
  937. package/app/node_modules/undici/lib/util/timers.js +425 -0
  938. package/app/node_modules/undici/lib/web/cache/cache.js +871 -0
  939. package/app/node_modules/undici/lib/web/cache/cachestorage.js +158 -0
  940. package/app/node_modules/undici/lib/web/cache/util.js +45 -0
  941. package/app/node_modules/undici/lib/web/cookies/constants.js +12 -0
  942. package/app/node_modules/undici/lib/web/cookies/index.js +211 -0
  943. package/app/node_modules/undici/lib/web/cookies/parse.js +318 -0
  944. package/app/node_modules/undici/lib/web/cookies/util.js +371 -0
  945. package/app/node_modules/undici/lib/web/eventsource/eventsource-stream.js +575 -0
  946. package/app/node_modules/undici/lib/web/eventsource/eventsource.js +547 -0
  947. package/app/node_modules/undici/lib/web/eventsource/util.js +60 -0
  948. package/app/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  949. package/app/node_modules/undici/lib/web/fetch/body.js +563 -0
  950. package/app/node_modules/undici/lib/web/fetch/constants.js +131 -0
  951. package/app/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  952. package/app/node_modules/undici/lib/web/fetch/formdata-parser.js +594 -0
  953. package/app/node_modules/undici/lib/web/fetch/formdata.js +272 -0
  954. package/app/node_modules/undici/lib/web/fetch/global.js +40 -0
  955. package/app/node_modules/undici/lib/web/fetch/headers.js +722 -0
  956. package/app/node_modules/undici/lib/web/fetch/index.js +2457 -0
  957. package/app/node_modules/undici/lib/web/fetch/request.js +1139 -0
  958. package/app/node_modules/undici/lib/web/fetch/response.js +638 -0
  959. package/app/node_modules/undici/lib/web/fetch/util.js +1530 -0
  960. package/app/node_modules/undici/lib/web/infra/index.js +244 -0
  961. package/app/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  962. package/app/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  963. package/app/node_modules/undici/lib/web/webidl/index.js +992 -0
  964. package/app/node_modules/undici/lib/web/websocket/connection.js +350 -0
  965. package/app/node_modules/undici/lib/web/websocket/constants.js +126 -0
  966. package/app/node_modules/undici/lib/web/websocket/events.js +348 -0
  967. package/app/node_modules/undici/lib/web/websocket/frame.js +127 -0
  968. package/app/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  969. package/app/node_modules/undici/lib/web/websocket/receiver.js +530 -0
  970. package/app/node_modules/undici/lib/web/websocket/sender.js +109 -0
  971. package/app/node_modules/undici/lib/web/websocket/stream/websocketerror.js +107 -0
  972. package/app/node_modules/undici/lib/web/websocket/stream/websocketstream.js +511 -0
  973. package/app/node_modules/undici/lib/web/websocket/util.js +347 -0
  974. package/app/node_modules/undici/lib/web/websocket/websocket.js +783 -0
  975. package/app/node_modules/undici/package.json +154 -0
  976. package/app/node_modules/undici/scripts/strip-comments.js +10 -0
  977. package/app/node_modules/undici/types/README.md +6 -0
  978. package/app/node_modules/undici/types/agent.d.ts +30 -0
  979. package/app/node_modules/undici/types/api.d.ts +43 -0
  980. package/app/node_modules/undici/types/balanced-pool.d.ts +30 -0
  981. package/app/node_modules/undici/types/cache-interceptor.d.ts +189 -0
  982. package/app/node_modules/undici/types/cache.d.ts +36 -0
  983. package/app/node_modules/undici/types/client-stats.d.ts +15 -0
  984. package/app/node_modules/undici/types/client.d.ts +190 -0
  985. package/app/node_modules/undici/types/connector.d.ts +37 -0
  986. package/app/node_modules/undici/types/content-type.d.ts +21 -0
  987. package/app/node_modules/undici/types/cookies.d.ts +30 -0
  988. package/app/node_modules/undici/types/diagnostics-channel.d.ts +75 -0
  989. package/app/node_modules/undici/types/dispatcher.d.ts +253 -0
  990. package/app/node_modules/undici/types/dispatcher1-wrapper.d.ts +7 -0
  991. package/app/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  992. package/app/node_modules/undici/types/errors.d.ts +202 -0
  993. package/app/node_modules/undici/types/eventsource.d.ts +66 -0
  994. package/app/node_modules/undici/types/fetch.d.ts +235 -0
  995. package/app/node_modules/undici/types/formdata.d.ts +108 -0
  996. package/app/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  997. package/app/node_modules/undici/types/global-origin.d.ts +7 -0
  998. package/app/node_modules/undici/types/h2c-client.d.ts +73 -0
  999. package/app/node_modules/undici/types/handlers.d.ts +16 -0
  1000. package/app/node_modules/undici/types/header.d.ts +165 -0
  1001. package/app/node_modules/undici/types/index.d.ts +93 -0
  1002. package/app/node_modules/undici/types/interceptors.d.ts +87 -0
  1003. package/app/node_modules/undici/types/mock-agent.d.ts +69 -0
  1004. package/app/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1005. package/app/node_modules/undici/types/mock-client.d.ts +27 -0
  1006. package/app/node_modules/undici/types/mock-errors.d.ts +12 -0
  1007. package/app/node_modules/undici/types/mock-interceptor.d.ts +98 -0
  1008. package/app/node_modules/undici/types/mock-pool.d.ts +27 -0
  1009. package/app/node_modules/undici/types/patch.d.ts +29 -0
  1010. package/app/node_modules/undici/types/pool-stats.d.ts +19 -0
  1011. package/app/node_modules/undici/types/pool.d.ts +39 -0
  1012. package/app/node_modules/undici/types/proxy-agent.d.ts +36 -0
  1013. package/app/node_modules/undici/types/readable.d.ts +68 -0
  1014. package/app/node_modules/undici/types/retry-agent.d.ts +8 -0
  1015. package/app/node_modules/undici/types/retry-handler.d.ts +125 -0
  1016. package/app/node_modules/undici/types/round-robin-pool.d.ts +39 -0
  1017. package/app/node_modules/undici/types/snapshot-agent.d.ts +113 -0
  1018. package/app/node_modules/undici/types/socks5-proxy-agent.d.ts +27 -0
  1019. package/app/node_modules/undici/types/util.d.ts +18 -0
  1020. package/app/node_modules/undici/types/utility.d.ts +7 -0
  1021. package/app/node_modules/undici/types/webidl.d.ts +352 -0
  1022. package/app/node_modules/undici/types/websocket.d.ts +188 -0
  1023. package/app/open-sse/lib/deepseek-pow-hash.js +136 -0
  1024. package/app/package.json +2 -2
  1025. package/app/server.js +1 -1
  1026. package/cli.js +112 -55
  1027. package/hooks/sqliteRuntime.js +2 -1
  1028. package/package.json +1 -1
  1029. package/src/cli/tray/tray.js +88 -9
  1030. package/src/cli/utils/launcherProcess.js +186 -0
  1031. package/app/.next-cli-build/server/chunks/436.js +0 -1
  1032. package/app/.next-cli-build/server/chunks/7557.js +0 -1
  1033. package/app/.next-cli-build/server/chunks/7774.js +0 -120
  1034. package/app/.next-cli-build/server/chunks/7995.js +0 -120
  1035. package/app/.next-cli-build/server/chunks/8128.js +0 -1
  1036. package/app/.next-cli-build/static/Mwpv7kpqnhzp2SJMtsIA1/_buildManifest.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/1321-02944667ec55f586.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-2b2fe8a972d455af.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a70f643786fb402f.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a70f643786fb402f.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-a70f643786fb402f.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-a70f643786fb402f.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-a70f643786fb402f.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-a70f643786fb402f.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-a70f643786fb402f.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-a70f643786fb402f.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a70f643786fb402f.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a70f643786fb402f.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a70f643786fb402f.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a70f643786fb402f.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a70f643786fb402f.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-a70f643786fb402f.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-a70f643786fb402f.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a70f643786fb402f.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a70f643786fb402f.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a70f643786fb402f.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a70f643786fb402f.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a70f643786fb402f.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-a70f643786fb402f.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a70f643786fb402f.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-a70f643786fb402f.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a70f643786fb402f.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-a70f643786fb402f.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-a70f643786fb402f.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-a70f643786fb402f.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a70f643786fb402f.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a70f643786fb402f.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a70f643786fb402f.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-a70f643786fb402f.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a70f643786fb402f.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a70f643786fb402f.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-a70f643786fb402f.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-a70f643786fb402f.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a70f643786fb402f.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-a70f643786fb402f.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/combos/route-a70f643786fb402f.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a70f643786fb402f.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a70f643786fb402f.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a70f643786fb402f.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a70f643786fb402f.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a70f643786fb402f.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a70f643786fb402f.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/health/route-a70f643786fb402f.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/init/route-a70f643786fb402f.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a70f643786fb402f.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/keys/route-a70f643786fb402f.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/locale/route-a70f643786fb402f.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a70f643786fb402f.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a70f643786fb402f.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a70f643786fb402f.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a70f643786fb402f.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a70f643786fb402f.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a70f643786fb402f.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a70f643786fb402f.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-a70f643786fb402f.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-a70f643786fb402f.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-a70f643786fb402f.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-a70f643786fb402f.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a70f643786fb402f.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/models/route-a70f643786fb402f.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/models/test/route-a70f643786fb402f.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a70f643786fb402f.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-a70f643786fb402f.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a70f643786fb402f.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a70f643786fb402f.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a70f643786fb402f.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a70f643786fb402f.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a70f643786fb402f.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a70f643786fb402f.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-a70f643786fb402f.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a70f643786fb402f.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a70f643786fb402f.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-a70f643786fb402f.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a70f643786fb402f.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a70f643786fb402f.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a70f643786fb402f.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a70f643786fb402f.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-a70f643786fb402f.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-a70f643786fb402f.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-a70f643786fb402f.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-a70f643786fb402f.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/pricing/route-a70f643786fb402f.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a70f643786fb402f.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a70f643786fb402f.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a70f643786fb402f.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a70f643786fb402f.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-a70f643786fb402f.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a70f643786fb402f.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a70f643786fb402f.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a70f643786fb402f.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-a70f643786fb402f.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a70f643786fb402f.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/providers/route-a70f643786fb402f.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a70f643786fb402f.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a70f643786fb402f.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a70f643786fb402f.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-a70f643786fb402f.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a70f643786fb402f.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a70f643786fb402f.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a70f643786fb402f.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a70f643786fb402f.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-a70f643786fb402f.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a70f643786fb402f.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a70f643786fb402f.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a70f643786fb402f.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a70f643786fb402f.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-a70f643786fb402f.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a70f643786fb402f.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a70f643786fb402f.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a70f643786fb402f.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a70f643786fb402f.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a70f643786fb402f.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-a70f643786fb402f.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a70f643786fb402f.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a70f643786fb402f.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/settings/route-a70f643786fb402f.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-a70f643786fb402f.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/tags/route-a70f643786fb402f.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a70f643786fb402f.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a70f643786fb402f.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-a70f643786fb402f.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-a70f643786fb402f.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-a70f643786fb402f.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a70f643786fb402f.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a70f643786fb402f.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a70f643786fb402f.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a70f643786fb402f.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a70f643786fb402f.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a70f643786fb402f.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a70f643786fb402f.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a70f643786fb402f.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-a70f643786fb402f.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a70f643786fb402f.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a70f643786fb402f.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a70f643786fb402f.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-a70f643786fb402f.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-a70f643786fb402f.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a70f643786fb402f.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a70f643786fb402f.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a70f643786fb402f.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a70f643786fb402f.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a70f643786fb402f.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a70f643786fb402f.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a70f643786fb402f.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a70f643786fb402f.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a70f643786fb402f.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a70f643786fb402f.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a70f643786fb402f.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a70f643786fb402f.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a70f643786fb402f.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a70f643786fb402f.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-a70f643786fb402f.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a70f643786fb402f.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-a70f643786fb402f.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a70f643786fb402f.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a70f643786fb402f.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/v1/route-a70f643786fb402f.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-a70f643786fb402f.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-a70f643786fb402f.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-a70f643786fb402f.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-a70f643786fb402f.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-a70f643786fb402f.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-a70f643786fb402f.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a70f643786fb402f.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a70f643786fb402f.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a70f643786fb402f.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/version/route-a70f643786fb402f.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a70f643786fb402f.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/version/update/route-a70f643786fb402f.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a70f643786fb402f.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/page-a70f643786fb402f.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a70f643786fb402f.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a70f643786fb402f.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a70f643786fb402f.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a70f643786fb402f.js +0 -1
  1216. package/app/.next-cli-build/static/css/eca85123800ee802.css +0 -1
  1217. /package/app/.next-cli-build/static/{Mwpv7kpqnhzp2SJMtsIA1 → Z4ZIksyhEDiaIj7-73igf}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3554],{50498:(e,t,a)=>{Promise.resolve().then(a.bind(a,85309))},85309:(e,t,a)=>{"use strict";a.d(t,{default:()=>x});var s=a(95155),l=a(12115),i=a(98500),r=a.n(i),d=a(35497),o=a(3534),c=a(28777),n=a(10761);let u="https://9router.com";function x({toolId:e,machineId:t}){let a=o.dM[e],[i,v]=(0,l.useState)([]),[m,h]=(0,l.useState)(!0),[p,f]=(0,l.useState)({}),[b,E]=(0,l.useState)(!1),[j,P]=(0,l.useState)(!1),[g,w]=(0,l.useState)(""),[k,N]=(0,l.useState)(!1),[S,y]=(0,l.useState)(""),[A,M]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return(async()=>{try{let[t,a,s,l]=await Promise.all([fetch("/api/providers"),fetch("/api/settings"),fetch("/api/tunnel/status"),fetch("/api/keys")]);if(!e)return;if(t.ok){let e=await t.json();v(e.connections||[])}if(a.ok){let e=await a.json();E(e.cloudEnabled||!1)}if(s.ok){let e=await s.json();P(!!(e.tunnel?.enabled||e.tunnel?.settingsEnabled)),w(e.tunnel?.publicUrl||""),N(!!(e.tailscale?.enabled||e.tailscale?.settingsEnabled)),y(e.tailscale?.tunnelUrl||"")}if(l.ok){let e=await l.json();M(e.keys||[])}}catch(e){console.log("Error loading tool data:",e)}finally{e&&h(!1)}})(),()=>{e=!1}},[]);let $=()=>i.filter(e=>!1!==e.isActive),_=(0,l.useCallback)((e,t,a)=>{f(s=>s[e]?.[t]===a?s:{...s,[e]:{...s[e],[t]:a}})},[]);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})]}),m?(0,s.jsx)(d.Qv,{}):(()=>{let t,l,i,r=(t=$(),l=[],i=new Set,t.forEach(e=>{let t=c.Xg[e.provider]||e.provider,a=(0,c.KC)(e.provider);if(a.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}))}),0===a.length){let a=e.providerSpecificData?.prefix||t,s=[];e.defaultModel&&s.push({id:e.defaultModel,name:e.defaultModel}),(e.providerSpecificData?.customModels||[]).forEach(e=>{e?.id&&!s.some(t=>t.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:`${a}/model-id`}),s.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}))})}}),l).length>0,d={tool:a,isExpanded:!0,onToggle:()=>{},baseUrl:j&&g?g:b&&u?u:window.location.origin,apiKeys:A,tunnelEnabled:j,tunnelPublicUrl:g,tailscaleEnabled:k,tailscaleUrl:S};switch(e){case"claude":return(0,s.jsx)(n.Tk,{...d,activeProviders:$(),modelMappings:p[e]||{},onModelMappingChange:(t,a)=>_(e,t,a),hasActiveProviders:r,cloudEnabled:b});case"codex":return(0,s.jsx)(n.Ah,{...d,activeProviders:$(),cloudEnabled:b});case"opencode":return(0,s.jsx)(n.qO,{...d,activeProviders:$(),cloudEnabled:b});case"cowork":return(0,s.jsx)(n.Q6,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b,cloudUrl:u,tunnelEnabled:j,tunnelPublicUrl:g,tailscaleEnabled:k,tailscaleUrl:S});case"droid":return(0,s.jsx)(n.ZM,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"openclaw":return(0,s.jsx)(n.yZ,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"hermes":return(0,s.jsx)(n.RF,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"cline":return(0,s.jsx)(n.aG,{...d,activeProviders:$(),cloudEnabled:b});case"kilo":return(0,s.jsx)(n.c9,{...d,activeProviders:$(),cloudEnabled:b});case"deepseek-tui":return(0,s.jsx)(n.lF,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"jcode":return(0,s.jsx)(n.mW,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"grok-build":return(0,s.jsx)(n.E_,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"pi":case"omp":case"crush":case"forge":case"smelt":case"codewhale":return(0,s.jsx)(n.WE,{...d,activeProviders:$(),cloudEnabled:b});default:return(0,s.jsx)(n.a7,{toolId:e,...d,activeProviders:$(),cloudEnabled:b,tunnelEnabled:j})}})()]}):(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."})]})}}},e=>{e.O(0,[763,5772,1321,705,5497,761,8441,3794,7358],()=>e(e.s=50498)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3554],{50498:(e,t,a)=>{Promise.resolve().then(a.bind(a,85309))},85309:(e,t,a)=>{"use strict";a.d(t,{default:()=>x});var s=a(95155),l=a(12115),i=a(98500),r=a.n(i),d=a(35497),o=a(3534),c=a(28777),n=a(29134);let u="https://9router.com";function x({toolId:e,machineId:t}){let a=o.dM[e],[i,v]=(0,l.useState)([]),[m,h]=(0,l.useState)(!0),[p,f]=(0,l.useState)({}),[b,E]=(0,l.useState)(!1),[j,P]=(0,l.useState)(!1),[g,w]=(0,l.useState)(""),[k,N]=(0,l.useState)(!1),[S,y]=(0,l.useState)(""),[A,M]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!0;return(async()=>{try{let[t,a,s,l]=await Promise.all([fetch("/api/providers"),fetch("/api/settings"),fetch("/api/tunnel/status"),fetch("/api/keys")]);if(!e)return;if(t.ok){let e=await t.json();v(e.connections||[])}if(a.ok){let e=await a.json();E(e.cloudEnabled||!1)}if(s.ok){let e=await s.json();P(!!(e.tunnel?.enabled||e.tunnel?.settingsEnabled)),w(e.tunnel?.publicUrl||""),N(!!(e.tailscale?.enabled||e.tailscale?.settingsEnabled)),y(e.tailscale?.tunnelUrl||"")}if(l.ok){let e=await l.json();M(e.keys||[])}}catch(e){console.log("Error loading tool data:",e)}finally{e&&h(!1)}})(),()=>{e=!1}},[]);let $=()=>i.filter(e=>!1!==e.isActive),_=(0,l.useCallback)((e,t,a)=>{f(s=>s[e]?.[t]===a?s:{...s,[e]:{...s[e],[t]:a}})},[]);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})]}),m?(0,s.jsx)(d.Qv,{}):(()=>{let t,l,i,r=(t=$(),l=[],i=new Set,t.forEach(e=>{let t=c.Xg[e.provider]||e.provider,a=(0,c.KC)(e.provider);if(a.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}))}),0===a.length){let a=e.providerSpecificData?.prefix||t,s=[];e.defaultModel&&s.push({id:e.defaultModel,name:e.defaultModel}),(e.providerSpecificData?.customModels||[]).forEach(e=>{e?.id&&!s.some(t=>t.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:`${a}/model-id`}),s.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}))})}}),l).length>0,d={tool:a,isExpanded:!0,onToggle:()=>{},baseUrl:j&&g?g:b&&u?u:window.location.origin,apiKeys:A,tunnelEnabled:j,tunnelPublicUrl:g,tailscaleEnabled:k,tailscaleUrl:S};switch(e){case"claude":return(0,s.jsx)(n.Tk,{...d,activeProviders:$(),modelMappings:p[e]||{},onModelMappingChange:(t,a)=>_(e,t,a),hasActiveProviders:r,cloudEnabled:b});case"codex":return(0,s.jsx)(n.Ah,{...d,activeProviders:$(),cloudEnabled:b});case"opencode":return(0,s.jsx)(n.qO,{...d,activeProviders:$(),cloudEnabled:b});case"cowork":return(0,s.jsx)(n.Q6,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b,cloudUrl:u,tunnelEnabled:j,tunnelPublicUrl:g,tailscaleEnabled:k,tailscaleUrl:S});case"droid":return(0,s.jsx)(n.ZM,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"openclaw":return(0,s.jsx)(n.yZ,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"hermes":return(0,s.jsx)(n.RF,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"cline":return(0,s.jsx)(n.aG,{...d,activeProviders:$(),cloudEnabled:b});case"kilo":return(0,s.jsx)(n.c9,{...d,activeProviders:$(),cloudEnabled:b});case"deepseek-tui":return(0,s.jsx)(n.lF,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"jcode":return(0,s.jsx)(n.mW,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"grok-build":return(0,s.jsx)(n.E_,{...d,activeProviders:$(),hasActiveProviders:r,cloudEnabled:b});case"pi":case"omp":case"crush":case"forge":case"smelt":case"codewhale":return(0,s.jsx)(n.WE,{...d,activeProviders:$(),cloudEnabled:b});default:return(0,s.jsx)(n.a7,{toolId:e,...d,activeProviders:$(),cloudEnabled:b,tunnelEnabled:j})}})()]}):(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."})]})}}},e=>{e.O(0,[763,5772,1321,705,5497,9134,8441,3794,7358],()=>e(e.s=50498)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{25403:(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.has9Router?{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,[763,5772,1321,705,5497,761,8441,3794,7358],()=>e(e.s=25403)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2326],{25403:(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(29134),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.has9Router?{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,[763,5772,1321,705,5497,9134,8441,3794,7358],()=>e(e.s=25403)),_N_E=e.O()}]);
@@ -48,12 +48,12 @@
48
48
  -H "Content-Type: application/json" \\
49
49
  -H "Authorization: Bearer ${O||"YOUR_KEY"}" \\
50
50
  -d '${JSON.stringify(eS)}' \\
51
- ${"json"===z?"":`--output speech.${e$}`}`,eT=async()=>{if(!C.trim()||!eC)return;Q(!0),ee(""),J(""),W(""),Y(null);let e=Date.now();try{let t={"Content-Type":"application/json"};O&&(t.Authorization=`Bearer ${O}`);let s=`/api/v1/audio/speech${"json"===z?"?response_format=json":""}`,a=await fetch(s,{method:"POST",headers:t,body:JSON.stringify({...eS,input:C.trim()})});if(es(Date.now()-e),!a.ok){let e=await a.json().catch(()=>({}));ee(e?.error?.message||e?.error||`HTTP ${a.status}`);return}if("json"===z){let e=await a.json();Y(e);let t=e.format||"mp3",s=await fetch(`data:audio/${t};base64,${e.audio}`).then(e=>e.blob()),r=URL.createObjectURL(s);J(r),W(r)}else if("pcm"===z){let e=await a.arrayBuffer(),t=new Blob([e],{type:"audio/pcm"});W(URL.createObjectURL(t));let s=function(e,t=24e3,s=1){let a=2*s,r=e.byteLength,l=new ArrayBuffer(44+r),o=new DataView(l);function n(e,t){for(let s=0;s<t.length;s++)o.setUint8(e+s,t.charCodeAt(s))}return n(0,"RIFF"),o.setUint32(4,36+r,!0),n(8,"WAVE"),n(12,"fmt "),o.setUint32(16,16,!0),o.setUint16(20,1,!0),o.setUint16(22,s,!0),o.setUint32(24,t,!0),o.setUint32(28,t*a,!0),o.setUint16(32,a,!0),o.setUint16(34,16,!0),n(36,"data"),o.setUint32(40,r,!0),new Uint8Array(l,44).set(new Uint8Array(e)),new Blob([l],{type:"audio/wav"})}(e,24e3,1);J(URL.createObjectURL(s))}else{let e=await a.blob(),t=URL.createObjectURL(e);J(t),W(t)}}catch(e){ee(e.message||"Network error")}finally{Q(!1)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.Zp,{children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,a.jsx)(k,{label:"Endpoint",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[eN,"/v1/audio/speech"]}),D&&(0,a.jsxs)("button",{onClick:()=>U(e=>!e),title:M?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${M?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,a.jsx)(k,{label:"API Key",children:(0,a.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:O?`${O.slice(0,8)}${"•".repeat(Math.min(20,Math.max(0,O.length-8)))}`:ey>0?(0,a.jsxs)("span",{className:"text-text-muted italic",children:["Using stored key(s) \xb7 ",ey," connection",ey>1?"s":""]}):(0,a.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),"selfhosted-tts"===e&&(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("input",{value:w,onChange:e=>N(e.target.value),placeholder:"e.g. kokoro or Qwen3-TTS-12Hz-1.7B-CustomVoice-bf16",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),"selfhosted-tts"!==e&&l.hasModelSelector&&(l.modelKey||(0,y.KC)(e).some(e=>"tts"===(0,y.CP)(e)))&&(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("select",{value:w,onChange:e=>N(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:((s=(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e))).length?s:(0,y.KC)(l.modelKey)||[]).map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}),l.hasLanguageHint&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsxs)("select",{value:eg,onChange:e=>ef(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"",children:"Auto-detect"}),(l.languageOptions||P.I).map(e=>"string"==typeof e?(0,a.jsx)("option",{value:e,children:e},e):(0,a.jsx)("option",{value:e.name,children:e.name},e.id))]})}),l.hasBrowseButton&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsx)("button",{onClick:ej,className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background font-mono truncate text-left hover:border-primary/40 transition-colors",children:f?(0,a.jsx)("span",{className:"text-text-main",children:en.find(e=>e.code===f)?.name||f}):(0,a.jsx)("span",{className:"text-text-muted",children:"No language selected"})}),(0,a.jsxs)("button",{onClick:ej,className:"flex w-full items-center justify-center gap-1 text-xs px-2.5 py-1.5 rounded-lg border border-border text-text-muted hover:text-primary hover:border-primary/40 transition-colors sm:w-auto sm:shrink-0",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"language"}),"Select language"]})]})}),b.length>0&&(0,a.jsx)(k,{label:"Voice",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:b.map(e=>(0,a.jsxs)("button",{onClick:()=>{u(e.id),p(e.name),l.hasVoiceIdInput&&h(e.id)},className:`px-2.5 py-1 rounded-full text-xs border transition-colors ${d===e.id?"bg-primary/15 border-primary/40 text-primary font-medium":"border-border text-text-muted hover:text-primary hover:border-primary/40"}`,children:[e.name,e.language?` \xb7 ${e.language}`:"",e.gender?` \xb7 ${e.gender[0].toUpperCase()}`:"",!0===e.free_users_allowed&&(0,a.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-green-500/15 text-green-600 border border-green-500/20",children:"Free"}),!1===e.free_users_allowed&&(0,a.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-amber-500/15 text-amber-600 border border-amber-500/20",children:"Paid"})]},e.id))})}),l.hasVoiceIdInput&&(0,a.jsx)(k,{label:"Voice ID",children:(0,a.jsx)("div",{className:"flex flex-col gap-1",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:x,onChange:e=>{h(e.target.value),u(e.target.value)},placeholder:"selfhosted-tts"===e||"ollama-local"===e?"e.g. Zoey, Easton, Freya, or default":"e.g. CwhRBWXzGAHq8TQ4Fs17",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"}),x&&(0,a.jsx)("button",{type:"button",onClick:()=>{h(""),u("")},className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})})}),l.hasLanguageDropdown&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsx)("select",{value:d,onChange:t=>{let s=(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e)).find(e=>e.id===t.target.value);u(t.target.value),p(s?.name||t.target.value)},className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e)).map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}),(0,a.jsx)(k,{label:"Input",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:C,onChange:e=>S(e.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),C&&(0,a.jsx)("button",{type:"button",onClick:()=>S(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),l.hasStyleInput&&(0,a.jsx)(k,{label:(0,T.Tl)("Style"),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("textarea",{value:$,onChange:e=>E(e.target.value),placeholder:(0,T.Tl)("e.g. a warm, gentle voice, speaking slowly with a British accent"),rows:2,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"}),$&&(0,a.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,a.jsx)(k,{label:"Output Format",children:(0,a.jsx)("select",{value:z,onChange:e=>q(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:o.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))})}),(0,a.jsxs)("div",{className:"mt-1",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("button",{onClick:()=>er(e_),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ea?"check":"content_copy"}),ea?"Copied":"Copy"]}),(0,a.jsxs)("button",{onClick:eT,disabled:Z||!C.trim()||!eC,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:Z?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),Z?"Generating...":"Run"]})]})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:e_})]}),X&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:X}),V?(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",et&&(0,a.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",et,"ms"]})]}),(0,a.jsxs)("a",{href:H||V,download:`speech.${"pcm"===z?"pcm":"wav"===z||"ollama-local"===e?"wav":"mp3"}`,className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})]}),(0,a.jsx)("audio",{controls:!0,src:V,className:"w-full"}),G&&(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"JSON Response"})}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:JSON.stringify({format:G.format,audio:G.audio?`${G.audio.substring(0,100)}...`:""},null,2)})]})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Response"}),(0,a.jsx)("pre",{className:"mt-1.5 bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-50",children:A})]})]})]}),el&&(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",style:{backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(2px)"},onClick:()=>eo(!1),children:(0,a.jsxs)("div",{className:"border border-border rounded-xl shadow-2xl w-full max-w-md mx-4 flex flex-col max-h-[80vh]",style:{backgroundColor:"var(--color-bg)",isolation:"isolate"},onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border shrink-0 rounded-t-xl",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",children:"Select Language"}),(0,a.jsx)("button",{onClick:()=>eo(!1),className:"text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,a.jsx)("div",{className:"px-4 py-2.5 border-b border-border shrink-0",children:(0,a.jsx)("input",{autoFocus:!0,value:eu,onChange:e=>em(e.target.value),placeholder:"Search language...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),(0,a.jsxs)("div",{className:"overflow-y-auto flex-1 p-2",children:[ep&&(0,a.jsx)("p",{className:"text-xs text-red-500 px-2 py-1",children:ep}),ed?(0,a.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"Loading..."}):(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[ew.map(e=>(0,a.jsxs)("button",{onClick:()=>{let t;return eo(!1),j(e.code),void(g(t=eh[e.code]?.voices||[]),t.length&&(u(t[0].id),p(t[0].name),l.hasVoiceIdInput&&h(t[0].id)))},className:`flex items-center justify-between w-full px-3 py-2 rounded-lg text-left hover:bg-sidebar transition-colors ${f===e.code?"bg-primary/10 text-primary":""}`,children:[(0,a.jsx)("span",{className:"text-sm",children:e.name}),(0,a.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:[e.voices.length," voices"]}),f===e.code&&(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",children:"check"})]})]},e.code)),0===ew.length&&(0,a.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"No languages found."})]})]})]})})]})}let E="https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog.png";function O(e){let t="string"==typeof e?e.trim():"";return t?/^(data:image\/|https?:\/\/)/i.test(t)?t:`data:image/png;base64,${t}`:""}function L({providerId:e,kind:t}){let s=(0,c.wG)(e),r=(0,c.rs)(s)===e?s:e,l=c.rj.find(e=>e.id===t),o=C[t],d=o||{},u=(0,y.KC)(e).filter(e=>(0,y.CP)(e)===t),m=new Set(["image","video","music","imageToText","systemone"]).has(t),p=m&&0===u.length,[x,h]=(0,n.useState)(u[0]?.id??""),b=u.find(e=>e.id===x),g=!!b?.capabilities?.includes("edit"),f=!!b?.capabilities?.includes("mask"),[j,w]=(0,n.useState)(d.defaultInput||""),[N,S]=(0,n.useState)("Does this request require urgent attention?"),[$,_]=(0,n.useState)(""),[T,I]=(0,n.useState)(""),[P,A]=(0,n.useState)(()=>(d.extraFields||[]).reduce((e,t)=>(e[t.key]=t.default??"",e),{})),[R,M]=(0,n.useState)(""),[U,B]=(0,n.useState)(!1),[K,D]=(0,n.useState)(""),[F,z]=(0,n.useState)(""),[q,V]=(0,n.useState)(null),[J,H]=(0,n.useState)(null),[W,G]=(0,n.useState)(null),[Y,Z]=(0,n.useState)("json"),[Q,X]=(0,n.useState)(""),[ee,et]=(0,n.useState)(!1),[es,ea]=(0,n.useState)(""),[er,el]=(0,n.useState)([]),[eo,en]=(0,n.useState)(""),{copied:ei,copy:ed}=(0,v.C)(),{copied:ec,copy:eu}=(0,v.C)();if((0,n.useEffect)(()=>{D(window.location.origin),fetch("/api/keys").then(e=>e.json()).then(e=>{M((e.keys||[]).find(e=>!1!==e.isActive)?.key||"")}).catch(()=>{}),fetch("/api/tunnel/status").then(e=>e.json()).then(e=>{e.publicUrl&&z(e.publicUrl)}).catch(()=>{}),fetch("/api/providers/client").then(e=>e.json()).then(t=>{el((t.connections||[]).filter(t=>t.provider===e&&!1!==t.isActive))}).catch(()=>{})},[e]),!l||!o)return null;let em=U?F:K,ep=l.endpoint.path,ex=m?x?`${r}/${x}`:p?"":r:r,eh="huggingface"===e?{image:E}:"cloudflare-ai"!==e?{}:"@cf/runwayml/stable-diffusion-v1-5-img2img"===x?{image:E}:"@cf/runwayml/stable-diffusion-v1-5-inpainting"===x?{image:E,mask_image:"https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog-mask.png"}:{},eb=$.trim()||eh.image||"",eg=T.trim()||eh.mask_image||"",ef=O(eb),ey=O(eg),ev=Object.entries(P).reduce((e,[t,s])=>(""===s||null==s||"number"==typeof s&&Number.isNaN(s)||(e[t]=s),e),{}),ej="systemone"===t?{questions:{is_urgent:{type:"noul",instructions:N.trim()||"Does this request require urgent attention?"}}}:{},ew={model:ex,[o.bodyKey]:j,...o.extraBody,...ev,...ej,...g&&eb?{image:eb}:{},...f&&eg?{mask_image:eg}:{}},eN="image"===t&&"binary"===Y,ek="image"===t&&"codex"===e&&!eN,eC=`${ep}${eN?"?response_format=binary":""}`,eS=`-H "Content-Type: application/json" \\
52
- -H "Authorization: Bearer ${R||"YOUR_KEY"}"${eo?` \\
53
- -H "x-connection-id: ${eo}"`:""}${ek?` \\
54
- -H "Accept: text/event-stream"`:""}`,e$=`curl -X ${l.endpoint.method} ${em}${eC} \\
55
- ${eS.replace(/\\\n /g,"\\\n ")} \\
56
- -d '${JSON.stringify(ew)}'${eN?" \\\n --output image.png":""}`,e_=async()=>{if(!j.trim()||!ex)return;if(et(!0),ea(""),V(null),H(null),G(null),Q){try{URL.revokeObjectURL(Q)}catch{}X("")}let e=Date.now();try{let t={"Content-Type":"application/json"};R&&(t.Authorization=`Bearer ${R}`),eo&&(t["x-connection-id"]=eo),ek&&(t.Accept="text/event-stream");let s={...ew,model:ex},a=await fetch(`/api${eC}`,{method:l.endpoint.method,headers:t,body:JSON.stringify(s)});if(!a.ok){let e=await a.json().catch(()=>({}));ea(e?.error?.message||e?.error||`HTTP ${a.status}`);return}let r=a.headers.get("content-type")||"";if(r.startsWith("image/")){let t=await a.blob(),s=URL.createObjectURL(t);X(s),V({data:{binary:!0,mime:r,size:t.size},latencyMs:Date.now()-e});return}if(r.includes("text/event-stream")&&a.body){let t=a.body.getReader(),s=new TextDecoder,r="",l=null,o=null;for(;;){let e,{done:a,value:n}=await t.read();if(a)break;for(r+=s.decode(n,{stream:!0});-1!==(e=r.indexOf("\n\n"));){let t=r.slice(0,e);r=r.slice(e+2);let s=null,a="";for(let e of t.split("\n"))e.startsWith("event:")?s=e.slice(6).trim():e.startsWith("data:")&&(a+=e.slice(5).trim());if(s)try{let e=a?JSON.parse(a):{};"progress"===s?H(e):"partial_image"===s?G(e):"done"===s?l=e:"error"===s&&(o=e?.message||"Stream error")}catch{}}}let n=Date.now()-e;if(o)return void ea(o);l&&V({data:l,latencyMs:n})}else{let t=await a.json(),s=Date.now()-e;V({data:t,latencyMs:s})}}catch(e){ea(e.message||"Network error")}finally{et(!1)}},eT=e=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(eT);let t={};for(let[s,a]of Object.entries(e))"b64_json"===s&&"string"==typeof a&&a.length>100?t[s]=`<${a.length} chars base64>`:"string"==typeof a&&a.length>100&&/^data:[^,]+,/.test(a)?t[s]=`<${a.length} chars data URI>`:t[s]=eT(a);return t},eI=q?JSON.stringify(eT(q.data),null,2):"",eP=q&&(q.data?.video?.url||q.data?.data?.[0]?.url)||null;return(0,a.jsxs)(i.Zp,{children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2.5",children:[u.length>0?(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("select",{value:x,onChange:e=>h(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:u.map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}):p?(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("input",{value:x,onChange:e=>h(e.target.value),placeholder:"Enter model id (provider-specific)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}):null,(0,a.jsx)(k,{label:"Endpoint",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[em,ep]}),F&&(0,a.jsxs)("button",{onClick:()=>B(e=>!e),title:U?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${U?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,a.jsx)(k,{label:"API Key",children:(0,a.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:R?`${R.slice(0,8)}${"•".repeat(Math.min(20,Math.max(0,R.length-8)))}`:(0,a.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),er.length>0&&(0,a.jsx)(k,{label:"Connection",children:(0,a.jsxs)("select",{value:eo,onChange:e=>en(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"",children:"Auto (by priority)"}),er.map(e=>{let t=e.providerSpecificData?.chatgptPlanType,s=e.email||e.name||e.id.slice(0,8);return(0,a.jsxs)("option",{value:e.id,children:[s,t?` [${t}]`:""]},e.id)})]})}),(0,a.jsx)(k,{label:o.inputLabel,children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:j,onChange:e=>w(e.target.value),placeholder:o.inputPlaceholder,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),j&&(0,a.jsx)("button",{type:"button",onClick:()=>w(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),"systemone"===t&&(0,a.jsx)(k,{label:"Question",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:N,onChange:e=>S(e.target.value),placeholder:"Enter evaluation question or criteria",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),N&&(0,a.jsx)("button",{type:"button",onClick:()=>S(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),g&&(0,a.jsx)(k,{label:"Ref Image (URL)",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:$,onChange:e=>_(e.target.value),placeholder:eh.image||"https://example.com/source.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),$&&(0,a.jsx)("button",{type:"button",onClick:()=>_(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ef&&(0,a.jsx)("img",{src:ef,alt:"Reference",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:e=>{e.currentTarget.style.display="none"},onLoad:e=>{e.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),f&&(0,a.jsx)(k,{label:"Mask (URL)",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:T,onChange:e=>I(e.target.value),placeholder:eh.mask_image||"https://example.com/mask.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),T&&(0,a.jsx)("button",{type:"button",onClick:()=>I(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ey&&(0,a.jsx)("img",{src:ey,alt:"Mask",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:e=>{e.currentTarget.style.display="none"},onLoad:e=>{e.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),(o.extraFields||[]).filter(e=>0===u.length||Array.isArray(b?.params)&&b.params.includes(e.key)).map(e=>(0,a.jsx)(k,{label:e.label,children:"select"===e.type?(0,a.jsx)("select",{value:P[e.key]??"",onChange:t=>A(s=>({...s,[e.key]:t.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:(e.options||[]).map(e=>(0,a.jsx)("option",{value:e,children:""===e?"(default)":e},e))}):"text"===e.type?(0,a.jsx)("input",{type:"text",value:P[e.key]??"",placeholder:e.placeholder,onChange:t=>A(s=>({...s,[e.key]:t.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}):"image"===e.type?(0,a.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,a.jsx)("input",{type:"text",value:P[e.key]??"",placeholder:"https://… or click Upload",onChange:t=>A(s=>({...s,[e.key]:t.target.value})),className:"flex-1 min-w-0 px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),(0,a.jsxs)("label",{className:"shrink-0 inline-flex items-center gap-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background hover:bg-accent cursor-pointer transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"upload"}),"Upload",(0,a.jsx)("input",{type:"file",accept:"image/*",className:"hidden",onChange:t=>{let s=t.target.files?.[0];if(!s)return;let a=new FileReader;a.onload=()=>A(t=>({...t,[e.key]:String(a.result||"")})),a.readAsDataURL(s)}})]})]}):"boolean"===e.type?(0,a.jsxs)("label",{className:"inline-flex items-center gap-2 text-sm text-text-main",children:[(0,a.jsx)("input",{type:"checkbox",checked:!0===P[e.key],onChange:t=>A(s=>({...s,[e.key]:t.target.checked})),className:"size-4 accent-primary"}),P[e.key]?"Enabled":"Disabled"]}):(0,a.jsx)("input",{type:"number",value:P[e.key]??"",min:e.min,max:e.max,onChange:t=>A(s=>({...s,[e.key]:""===t.target.value?"":Number(t.target.value)})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})},e.key)),"image"===t&&(0,a.jsx)(k,{label:"Output Format",children:(0,a.jsxs)("select",{value:Y,onChange:e=>Z(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"json",children:"JSON (Base64)"}),(0,a.jsx)("option",{value:"binary",children:"Binary File"})]})}),(0,a.jsxs)("div",{className:"mt-1",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("button",{onClick:()=>ed(e$),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ei?"check":"content_copy"}),ei?"Copied":"Copy"]}),(0,a.jsxs)("button",{onClick:e_,disabled:ee||!j.trim()||!ex,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:ee?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),ee?"Running...":"Run"]})]})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:e$})]}),(ee||J)&&ek&&(0,a.jsxs)("div",{className:"flex flex-col gap-2 px-3 py-2 rounded-lg bg-sidebar border border-border sm:flex-row sm:items-center sm:gap-3",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",style:ee?{animation:"spin 1s linear infinite"}:void 0,children:ee?"progress_activity":"check_circle"}),(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:[J?.stage||"starting",!ee&&J?.bytesReceived?` \xb7 ${(J.bytesReceived/1024).toFixed(1)} KB`:""]})]}),W?.b64_json&&!q&&(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Partial preview"}),(0,a.jsx)("img",{src:`data:image/png;base64,${W.b64_json}`,alt:"Partial",className:"max-w-full rounded-lg border border-border mt-1.5 opacity-80",loading:"lazy",decoding:"async"})]}),es&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:es}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",q&&(0,a.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",q.latencyMs,"ms"]})]}),q&&(0,a.jsxs)("button",{onClick:()=>eu(eI),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ec?"check":"content_copy"}),ec?"Copied":"Copy"]})]}),"image"===t&&(Q||q?.data?.data?.[0])&&(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,a.jsxs)("a",{href:Q||(q?.data?.data?.[0]?.b64_json?`data:image/png;base64,${q.data.data[0].b64_json}`:q?.data?.data?.[0]?.url||""),download:"image.png",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,a.jsx)("img",{src:Q||(q?.data?.data?.[0]?.b64_json?`data:image/png;base64,${q.data.data[0].b64_json}`:q?.data?.data?.[0]?.url),alt:"Generated",className:"max-w-full rounded-lg border border-border",loading:"lazy",decoding:"async"})]}),"video"===t&&eP&&(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,a.jsxs)("a",{href:eP,download:"video.mp4",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,a.jsx)("video",{controls:!0,src:eP,className:"max-w-full rounded-lg border border-border"})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:q?eI:o.defaultResponse})]})]})]})}function M({providerId:e}){let t=(0,c.wG)(e),s=(0,y.KC)(e).filter(e=>"stt"===(0,y.CP)(e)),[r,l]=(0,n.useState)([]),o=[...s,...r],[d,u]=(0,n.useState)(s[0]?.id??""),m=o.find(e=>e.id===d),p=Array.isArray(m?.params)?m.params:[],x=m?.responseFormats||["json","text","srt","verbose_json","vtt"],[h,b]=(0,n.useState)(null),[g,f]=(0,n.useState)(""),[j,w]=(0,n.useState)(""),[N,C]=(0,n.useState)("json"),[S,$]=(0,n.useState)(""),[_,T]=(0,n.useState)(""),[I,P]=(0,n.useState)(!1),[A,R]=(0,n.useState)(!1),[E,O]=(0,n.useState)(""),[L,U]=(0,n.useState)(""),[B,K]=(0,n.useState)(!1),[D,F]=(0,n.useState)(""),[z,q]=(0,n.useState)(""),[V,J]=(0,n.useState)(null),[H,W]=(0,n.useState)(null),[G,Y]=(0,n.useState)(!1),[Z,Q]=(0,n.useState)(""),{copied:X,copy:ee}=(0,v.C)(),{copied:et,copy:es}=(0,v.C)();(0,n.useEffect)(()=>{F(window.location.origin),fetch("/api/keys").then(e=>e.json()).then(e=>{U((e.keys||[]).find(e=>!1!==e.isActive)?.key||"")}).catch(()=>{}),fetch("/api/tunnel/status").then(e=>e.json()).then(e=>{e.publicUrl&&q(e.publicUrl)}).catch(()=>{});let e=()=>{fetch("/api/models/custom",{cache:"no-store"}).then(e=>e.json()).then(e=>{l((e.models||[]).filter(e=>"stt"===(0,y.CP)(e)&&e.providerAlias===t))}).catch(()=>{})};return e(),window.addEventListener("focus",e),window.addEventListener("customModelChanged",e),()=>{window.removeEventListener("focus",e),window.removeEventListener("customModelChanged",e)}},[t]);let ea=B?z:D,er=d?`${t}/${d}`:"",el=`curl -X POST ${ea}/v1/audio/transcriptions \\
51
+ ${"json"===z?"":`--output speech.${e$}`}`,eT=async()=>{if(!C.trim()||!eC)return;Q(!0),ee(""),J(""),W(""),Y(null);let e=Date.now();try{let t={"Content-Type":"application/json"};O&&(t.Authorization=`Bearer ${O}`);let s=`/api/v1/audio/speech${"json"===z?"?response_format=json":""}`,a=await fetch(s,{method:"POST",headers:t,body:JSON.stringify({...eS,input:C.trim()})});if(es(Date.now()-e),!a.ok){let e=await a.json().catch(()=>({}));ee(e?.error?.message||e?.error||`HTTP ${a.status}`);return}if("json"===z){let e=await a.json();Y(e);let t=e.format||"mp3",s=await fetch(`data:audio/${t};base64,${e.audio}`).then(e=>e.blob()),r=URL.createObjectURL(s);J(r),W(r)}else if("pcm"===z){let e=await a.arrayBuffer(),t=new Blob([e],{type:"audio/pcm"});W(URL.createObjectURL(t));let s=function(e,t=24e3,s=1){let a=2*s,r=e.byteLength,l=new ArrayBuffer(44+r),o=new DataView(l);function n(e,t){for(let s=0;s<t.length;s++)o.setUint8(e+s,t.charCodeAt(s))}return n(0,"RIFF"),o.setUint32(4,36+r,!0),n(8,"WAVE"),n(12,"fmt "),o.setUint32(16,16,!0),o.setUint16(20,1,!0),o.setUint16(22,s,!0),o.setUint32(24,t,!0),o.setUint32(28,t*a,!0),o.setUint16(32,a,!0),o.setUint16(34,16,!0),n(36,"data"),o.setUint32(40,r,!0),new Uint8Array(l,44).set(new Uint8Array(e)),new Blob([l],{type:"audio/wav"})}(e,24e3,1);J(URL.createObjectURL(s))}else{let e=await a.blob(),t=URL.createObjectURL(e);J(t),W(t)}}catch(e){ee(e.message||"Network error")}finally{Q(!1)}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(i.Zp,{children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,a.jsx)(k,{label:"Endpoint",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[eN,"/v1/audio/speech"]}),D&&(0,a.jsxs)("button",{onClick:()=>U(e=>!e),title:M?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${M?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,a.jsx)(k,{label:"API Key",children:(0,a.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:O?`${O.slice(0,8)}${"•".repeat(Math.min(20,Math.max(0,O.length-8)))}`:ey>0?(0,a.jsxs)("span",{className:"text-text-muted italic",children:["Using stored key(s) \xb7 ",ey," connection",ey>1?"s":""]}):(0,a.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),"selfhosted-tts"===e&&(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("input",{value:w,onChange:e=>N(e.target.value),placeholder:"e.g. kokoro or Qwen3-TTS-12Hz-1.7B-CustomVoice-bf16",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}),"selfhosted-tts"!==e&&l.hasModelSelector&&(l.modelKey||(0,y.KC)(e).some(e=>"tts"===(0,y.CP)(e)))&&(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("select",{value:w,onChange:e=>N(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:((s=(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e))).length?s:(0,y.KC)(l.modelKey)||[]).map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}),l.hasLanguageHint&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsxs)("select",{value:eg,onChange:e=>ef(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"",children:"Auto-detect"}),(l.languageOptions||P.I).map(e=>"string"==typeof e?(0,a.jsx)("option",{value:e,children:e},e):(0,a.jsx)("option",{value:e.name,children:e.name},e.id))]})}),l.hasBrowseButton&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsx)("button",{onClick:ej,className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background font-mono truncate text-left hover:border-primary/40 transition-colors",children:f?(0,a.jsx)("span",{className:"text-text-main",children:en.find(e=>e.code===f)?.name||f}):(0,a.jsx)("span",{className:"text-text-muted",children:"No language selected"})}),(0,a.jsxs)("button",{onClick:ej,className:"flex w-full items-center justify-center gap-1 text-xs px-2.5 py-1.5 rounded-lg border border-border text-text-muted hover:text-primary hover:border-primary/40 transition-colors sm:w-auto sm:shrink-0",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"language"}),"Select language"]})]})}),b.length>0&&(0,a.jsx)(k,{label:"Voice",children:(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:b.map(e=>(0,a.jsxs)("button",{onClick:()=>{u(e.id),p(e.name),l.hasVoiceIdInput&&h(e.id)},className:`px-2.5 py-1 rounded-full text-xs border transition-colors ${d===e.id?"bg-primary/15 border-primary/40 text-primary font-medium":"border-border text-text-muted hover:text-primary hover:border-primary/40"}`,children:[e.name,e.language?` \xb7 ${e.language}`:"",e.gender?` \xb7 ${e.gender[0].toUpperCase()}`:"",!0===e.free_users_allowed&&(0,a.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-green-500/15 text-green-600 border border-green-500/20",children:"Free"}),!1===e.free_users_allowed&&(0,a.jsx)("span",{className:"ml-1.5 px-1 py-0.5 text-[9px] font-semibold rounded bg-amber-500/15 text-amber-600 border border-amber-500/20",children:"Paid"})]},e.id))})}),l.hasVoiceIdInput&&(0,a.jsx)(k,{label:"Voice ID",children:(0,a.jsx)("div",{className:"flex flex-col gap-1",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:x,onChange:e=>{h(e.target.value),u(e.target.value)},placeholder:"selfhosted-tts"===e||"ollama-local"===e?"e.g. Zoey, Easton, Freya, or default":"e.g. CwhRBWXzGAHq8TQ4Fs17",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"}),x&&(0,a.jsx)("button",{type:"button",onClick:()=>{h(""),u("")},className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})})}),l.hasLanguageDropdown&&(0,a.jsx)(k,{label:"Language",children:(0,a.jsx)("select",{value:d,onChange:t=>{let s=(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e)).find(e=>e.id===t.target.value);u(t.target.value),p(s?.name||t.target.value)},className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:(0,y.KC)(e).filter(e=>"tts"===(0,y.CP)(e)).map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}),(0,a.jsx)(k,{label:"Input",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:C,onChange:e=>S(e.target.value),className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),C&&(0,a.jsx)("button",{type:"button",onClick:()=>S(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),l.hasStyleInput&&(0,a.jsx)(k,{label:(0,T.Tl)("Style"),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("textarea",{value:$,onChange:e=>E(e.target.value),placeholder:(0,T.Tl)("e.g. a warm, gentle voice, speaking slowly with a British accent"),rows:2,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary resize-none"}),$&&(0,a.jsx)("button",{type:"button",onClick:()=>E(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),(0,a.jsx)(k,{label:"Output Format",children:(0,a.jsx)("select",{value:z,onChange:e=>q(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:o.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},e.value))})}),(0,a.jsxs)("div",{className:"mt-1",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("button",{onClick:()=>er(e_),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ea?"check":"content_copy"}),ea?"Copied":"Copy"]}),(0,a.jsxs)("button",{onClick:eT,disabled:Z||!C.trim()||!eC,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:Z?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),Z?"Generating...":"Run"]})]})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:e_})]}),X&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:X}),V?(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",et&&(0,a.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",et,"ms"]})]}),(0,a.jsxs)("a",{href:H||V,download:`speech.${"pcm"===z?"pcm":"wav"===z||"ollama-local"===e?"wav":"mp3"}`,className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})]}),(0,a.jsx)("audio",{controls:!0,src:V,className:"w-full"}),G&&(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"JSON Response"})}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:JSON.stringify({format:G.format,audio:G.audio?`${G.audio.substring(0,100)}...`:""},null,2)})]})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Response"}),(0,a.jsx)("pre",{className:"mt-1.5 bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-50",children:A})]})]})]}),el&&(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-end justify-center sm:items-center",style:{backgroundColor:"rgba(0,0,0,0.6)",backdropFilter:"blur(2px)"},onClick:()=>eo(!1),children:(0,a.jsxs)("div",{className:"border border-border rounded-xl shadow-2xl w-full max-w-md mx-4 flex flex-col max-h-[80vh]",style:{backgroundColor:"var(--color-bg)",isolation:"isolate"},onClick:e=>e.stopPropagation(),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 border-b border-border shrink-0 rounded-t-xl",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",children:"Select Language"}),(0,a.jsx)("button",{onClick:()=>eo(!1),className:"text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"close"})})]}),(0,a.jsx)("div",{className:"px-4 py-2.5 border-b border-border shrink-0",children:(0,a.jsx)("input",{autoFocus:!0,value:eu,onChange:e=>em(e.target.value),placeholder:"Search language...",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})}),(0,a.jsxs)("div",{className:"overflow-y-auto flex-1 p-2",children:[ep&&(0,a.jsx)("p",{className:"text-xs text-red-500 px-2 py-1",children:ep}),ed?(0,a.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"Loading..."}):(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[ew.map(e=>(0,a.jsxs)("button",{onClick:()=>{let t;return eo(!1),j(e.code),void(g(t=eh[e.code]?.voices||[]),t.length&&(u(t[0].id),p(t[0].name),l.hasVoiceIdInput&&h(t[0].id)))},className:`flex items-center justify-between w-full px-3 py-2 rounded-lg text-left hover:bg-sidebar transition-colors ${f===e.code?"bg-primary/10 text-primary":""}`,children:[(0,a.jsx)("span",{className:"text-sm",children:e.name}),(0,a.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:[e.voices.length," voices"]}),f===e.code&&(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",children:"check"})]})]},e.code)),0===ew.length&&(0,a.jsx)("p",{className:"text-xs text-text-muted px-2 py-3",children:"No languages found."})]})]})]})})]})}let E="https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog.png";function O(e){let t="string"==typeof e?e.trim():"";return t?/^(data:image\/|https?:\/\/)/i.test(t)?t:`data:image/png;base64,${t}`:""}function L({providerId:e,kind:t}){let s=(0,c.wG)(e),r=(0,c.rs)(s)===e?s:e,l=c.rj.find(e=>e.id===t),o=C[t],d=o||{},u="webFetch"===t?c.Q2[e]?.fetchConfig?.formats:null,m=Array.isArray(u)&&u.length>0,p=(d.extraFields||[]).map(e=>"format"===e.key&&m?{...e,options:u,default:u.includes(e.default)?e.default:u[0]}:e),x=(0,y.KC)(e).filter(e=>(0,y.CP)(e)===t),h=new Set(["image","video","music","imageToText","systemone"]).has(t),b=h&&0===x.length,[g,f]=(0,n.useState)(x[0]?.id??""),j=x.find(e=>e.id===g),w=!!j?.capabilities?.includes("edit"),N=!!j?.capabilities?.includes("mask"),[S,$]=(0,n.useState)(d.defaultInput||""),[_,T]=(0,n.useState)("Does this request require urgent attention?"),[I,P]=(0,n.useState)(""),[A,R]=(0,n.useState)(""),[M,U]=(0,n.useState)(()=>p.reduce((e,t)=>(e[t.key]=t.default??"",e),{})),[B,K]=(0,n.useState)(""),[D,F]=(0,n.useState)(!1),[z,q]=(0,n.useState)(""),[V,J]=(0,n.useState)(""),[H,W]=(0,n.useState)(null),[G,Y]=(0,n.useState)(null),[Z,Q]=(0,n.useState)(null),[X,ee]=(0,n.useState)("json"),[et,es]=(0,n.useState)(""),[ea,er]=(0,n.useState)(!1),[el,eo]=(0,n.useState)(""),[en,ei]=(0,n.useState)([]),[ed,ec]=(0,n.useState)(""),{copied:eu,copy:em}=(0,v.C)(),{copied:ep,copy:ex}=(0,v.C)();if((0,n.useEffect)(()=>{q(window.location.origin),fetch("/api/keys").then(e=>e.json()).then(e=>{K((e.keys||[]).find(e=>!1!==e.isActive)?.key||"")}).catch(()=>{}),fetch("/api/tunnel/status").then(e=>e.json()).then(e=>{e.publicUrl&&J(e.publicUrl)}).catch(()=>{}),fetch("/api/providers/client").then(e=>e.json()).then(t=>{ei((t.connections||[]).filter(t=>t.provider===e&&!1!==t.isActive))}).catch(()=>{})},[e]),!l||!o)return null;let eh=D?V:z,eb=l.endpoint.path,eg=h?g?`${r}/${g}`:b?"":r:r,ef="huggingface"===e?{image:E}:"cloudflare-ai"!==e?{}:"@cf/runwayml/stable-diffusion-v1-5-img2img"===g?{image:E}:"@cf/runwayml/stable-diffusion-v1-5-inpainting"===g?{image:E,mask_image:"https://pub-1fb693cb11cc46b2b2f656f51e015a2c.r2.dev/dog-mask.png"}:{},ey=I.trim()||ef.image||"",ev=A.trim()||ef.mask_image||"",ej=O(ey),ew=O(ev),eN=m&&!u.includes(M.format)?{...M,format:p.find(e=>"format"===e.key)?.default}:M,ek=Object.entries(eN).reduce((e,[t,s])=>(""===s||null==s||"number"==typeof s&&Number.isNaN(s)||(e[t]=s),e),{}),eC="systemone"===t?{questions:{is_urgent:{type:"noul",instructions:_.trim()||"Does this request require urgent attention?"}}}:{},eS={model:eg,[o.bodyKey]:S,...o.extraBody,...ek,...eC,...w&&ey?{image:ey}:{},...N&&ev?{mask_image:ev}:{}},e$="image"===t&&"binary"===X,e_="image"===t&&"codex"===e&&!e$,eT=`${eb}${e$?"?response_format=binary":""}`,eI=`-H "Content-Type: application/json" \\
52
+ -H "Authorization: Bearer ${B||"YOUR_KEY"}"${ed?` \\
53
+ -H "x-connection-id: ${ed}"`:""}${e_?` \\
54
+ -H "Accept: text/event-stream"`:""}`,eP=`curl -X ${l.endpoint.method} ${eh}${eT} \\
55
+ ${eI.replace(/\\\n /g,"\\\n ")} \\
56
+ -d '${JSON.stringify(eS)}'${e$?" \\\n --output image.png":""}`,eA=async()=>{if(!S.trim()||!eg)return;if(er(!0),eo(""),W(null),Y(null),Q(null),et){try{URL.revokeObjectURL(et)}catch{}es("")}let e=Date.now();try{let t={"Content-Type":"application/json"};B&&(t.Authorization=`Bearer ${B}`),ed&&(t["x-connection-id"]=ed),e_&&(t.Accept="text/event-stream");let s={...eS,model:eg},a=await fetch(`/api${eT}`,{method:l.endpoint.method,headers:t,body:JSON.stringify(s)});if(!a.ok){let e=await a.json().catch(()=>({}));eo(e?.error?.message||e?.error||`HTTP ${a.status}`);return}let r=a.headers.get("content-type")||"";if(r.startsWith("image/")){let t=await a.blob(),s=URL.createObjectURL(t);es(s),W({data:{binary:!0,mime:r,size:t.size},latencyMs:Date.now()-e});return}if(r.includes("text/event-stream")&&a.body){let t=a.body.getReader(),s=new TextDecoder,r="",l=null,o=null;for(;;){let e,{done:a,value:n}=await t.read();if(a)break;for(r+=s.decode(n,{stream:!0});-1!==(e=r.indexOf("\n\n"));){let t=r.slice(0,e);r=r.slice(e+2);let s=null,a="";for(let e of t.split("\n"))e.startsWith("event:")?s=e.slice(6).trim():e.startsWith("data:")&&(a+=e.slice(5).trim());if(s)try{let e=a?JSON.parse(a):{};"progress"===s?Y(e):"partial_image"===s?Q(e):"done"===s?l=e:"error"===s&&(o=e?.message||"Stream error")}catch{}}}let n=Date.now()-e;if(o)return void eo(o);l&&W({data:l,latencyMs:n})}else{let t=await a.json(),s=Date.now()-e;W({data:t,latencyMs:s})}}catch(e){eo(e.message||"Network error")}finally{er(!1)}},eR=e=>{if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(eR);let t={};for(let[s,a]of Object.entries(e))"b64_json"===s&&"string"==typeof a&&a.length>100?t[s]=`<${a.length} chars base64>`:"string"==typeof a&&a.length>100&&/^data:[^,]+,/.test(a)?t[s]=`<${a.length} chars data URI>`:t[s]=eR(a);return t},eE=H?JSON.stringify(eR(H.data),null,2):"",eO=H&&(H.data?.video?.url||H.data?.data?.[0]?.url)||null;return(0,a.jsxs)(i.Zp,{children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,a.jsxs)("div",{className:"flex flex-col gap-2.5",children:[x.length>0?(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("select",{value:g,onChange:e=>f(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:x.map(e=>(0,a.jsx)("option",{value:e.id,children:e.name||e.id},e.id))})}):b?(0,a.jsx)(k,{label:"Model",children:(0,a.jsx)("input",{value:g,onChange:e=>f(e.target.value),placeholder:"Enter model id (provider-specific)",className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary font-mono"})}):null,(0,a.jsx)(k,{label:"Endpoint",children:(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate",children:[eh,eb]}),V&&(0,a.jsxs)("button",{onClick:()=>F(e=>!e),title:D?"Using tunnel":"Using local",className:`flex items-center gap-1 text-xs px-2 py-1.5 rounded-lg border shrink-0 transition-colors ${D?"border-primary/40 bg-primary/10 text-primary":"border-border text-text-muted hover:text-primary"}`,children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"wifi_tethering"}),"Tunnel"]})]})}),(0,a.jsx)(k,{label:"API Key",children:(0,a.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono text-text-main bg-sidebar rounded-lg truncate block",children:B?`${B.slice(0,8)}${"•".repeat(Math.min(20,Math.max(0,B.length-8)))}`:(0,a.jsx)("span",{className:"text-text-muted italic",children:"No key configured"})})}),en.length>0&&(0,a.jsx)(k,{label:"Connection",children:(0,a.jsxs)("select",{value:ed,onChange:e=>ec(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"",children:"Auto (by priority)"}),en.map(e=>{let t=e.providerSpecificData?.chatgptPlanType,s=e.email||e.name||e.id.slice(0,8);return(0,a.jsxs)("option",{value:e.id,children:[s,t?` [${t}]`:""]},e.id)})]})}),(0,a.jsx)(k,{label:o.inputLabel,children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:S,onChange:e=>$(e.target.value),placeholder:o.inputPlaceholder,className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),S&&(0,a.jsx)("button",{type:"button",onClick:()=>$(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),"systemone"===t&&(0,a.jsx)(k,{label:"Question",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:_,onChange:e=>T(e.target.value),placeholder:"Enter evaluation question or criteria",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),_&&(0,a.jsx)("button",{type:"button",onClick:()=>T(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]})}),w&&(0,a.jsx)(k,{label:"Ref Image (URL)",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:I,onChange:e=>P(e.target.value),placeholder:ef.image||"https://example.com/source.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),I&&(0,a.jsx)("button",{type:"button",onClick:()=>P(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ej&&(0,a.jsx)("img",{src:ej,alt:"Reference",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:e=>{e.currentTarget.style.display="none"},onLoad:e=>{e.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),N&&(0,a.jsx)(k,{label:"Mask (URL)",children:(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{value:A,onChange:e=>R(e.target.value),placeholder:ef.mask_image||"https://example.com/mask.png",className:"w-full px-3 py-1.5 pr-7 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),A&&(0,a.jsx)("button",{type:"button",onClick:()=>R(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-text-muted hover:text-primary transition-colors",children:(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"close"})})]}),ew&&(0,a.jsx)("img",{src:ew,alt:"Mask",className:"max-h-40 rounded-lg border border-border object-contain bg-sidebar",onError:e=>{e.currentTarget.style.display="none"},onLoad:e=>{e.currentTarget.style.display="block"},loading:"lazy",decoding:"async"})]})}),p.filter(e=>0===x.length||Array.isArray(j?.params)&&j.params.includes(e.key)).map(e=>(0,a.jsx)(k,{label:e.label,children:"select"===e.type?(0,a.jsx)("select",{value:eN[e.key]??"",onChange:t=>U(s=>({...s,[e.key]:t.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:(e.options||[]).map(e=>(0,a.jsx)("option",{value:e,children:""===e?"(default)":e},e))}):"text"===e.type?(0,a.jsx)("input",{type:"text",value:M[e.key]??"",placeholder:e.placeholder,onChange:t=>U(s=>({...s,[e.key]:t.target.value})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}):"image"===e.type?(0,a.jsxs)("div",{className:"flex gap-2 items-center",children:[(0,a.jsx)("input",{type:"text",value:M[e.key]??"",placeholder:"https://… or click Upload",onChange:t=>U(s=>({...s,[e.key]:t.target.value})),className:"flex-1 min-w-0 px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"}),(0,a.jsxs)("label",{className:"shrink-0 inline-flex items-center gap-1 px-3 py-1.5 text-sm border border-border rounded-lg bg-background hover:bg-accent cursor-pointer transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"upload"}),"Upload",(0,a.jsx)("input",{type:"file",accept:"image/*",className:"hidden",onChange:t=>{let s=t.target.files?.[0];if(!s)return;let a=new FileReader;a.onload=()=>U(t=>({...t,[e.key]:String(a.result||"")})),a.readAsDataURL(s)}})]})]}):"boolean"===e.type?(0,a.jsxs)("label",{className:"inline-flex items-center gap-2 text-sm text-text-main",children:[(0,a.jsx)("input",{type:"checkbox",checked:!0===M[e.key],onChange:t=>U(s=>({...s,[e.key]:t.target.checked})),className:"size-4 accent-primary"}),M[e.key]?"Enabled":"Disabled"]}):(0,a.jsx)("input",{type:"number",value:M[e.key]??"",min:e.min,max:e.max,onChange:t=>U(s=>({...s,[e.key]:""===t.target.value?"":Number(t.target.value)})),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary"})},e.key)),"image"===t&&(0,a.jsx)(k,{label:"Output Format",children:(0,a.jsxs)("select",{value:X,onChange:e=>ee(e.target.value),className:"w-full px-3 py-1.5 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",children:[(0,a.jsx)("option",{value:"json",children:"JSON (Base64)"}),(0,a.jsx)("option",{value:"binary",children:"Binary File"})]})}),(0,a.jsxs)("div",{className:"mt-1",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Request"}),(0,a.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,a.jsxs)("button",{onClick:()=>em(eP),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:eu?"check":"content_copy"}),eu?"Copied":"Copy"]}),(0,a.jsxs)("button",{onClick:eA,disabled:ea||!S.trim()||!eg,className:"flex w-full sm:w-auto items-center justify-center gap-1.5 px-3 py-1 rounded-lg bg-primary text-white text-xs font-medium hover:bg-primary/90 transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",style:ea?{animation:"spin 1s linear infinite"}:void 0,children:"play_arrow"}),ea?"Running...":"Run"]})]})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all",children:eP})]}),(ea||G)&&e_&&(0,a.jsxs)("div",{className:"flex flex-col gap-2 px-3 py-2 rounded-lg bg-sidebar border border-border sm:flex-row sm:items-center sm:gap-3",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-primary",style:ea?{animation:"spin 1s linear infinite"}:void 0,children:ea?"progress_activity":"check_circle"}),(0,a.jsxs)("span",{className:"text-xs text-text-muted",children:[G?.stage||"starting",!ea&&G?.bytesReceived?` \xb7 ${(G.bytesReceived/1024).toFixed(1)} KB`:""]})]}),Z?.b64_json&&!H&&(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:"Partial preview"}),(0,a.jsx)("img",{src:`data:image/png;base64,${Z.b64_json}`,alt:"Partial",className:"max-w-full rounded-lg border border-border mt-1.5 opacity-80",loading:"lazy",decoding:"async"})]}),el&&(0,a.jsx)("p",{className:"text-xs text-red-500 break-words",children:el}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,a.jsxs)("span",{className:"text-xs font-semibold text-text-muted uppercase tracking-wider",children:["Response ",H&&(0,a.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",H.latencyMs,"ms"]})]}),H&&(0,a.jsxs)("button",{onClick:()=>ex(eE),className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:ep?"check":"content_copy"}),ep?"Copied":"Copy"]})]}),"image"===t&&(et||H?.data?.data?.[0])&&(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,a.jsxs)("a",{href:et||(H?.data?.data?.[0]?.b64_json?`data:image/png;base64,${H.data.data[0].b64_json}`:H?.data?.data?.[0]?.url||""),download:"image.png",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,a.jsx)("img",{src:et||(H?.data?.data?.[0]?.b64_json?`data:image/png;base64,${H.data.data[0].b64_json}`:H?.data?.data?.[0]?.url),alt:"Generated",className:"max-w-full rounded-lg border border-border",loading:"lazy",decoding:"async"})]}),"video"===t&&eO&&(0,a.jsxs)("div",{className:"mb-2",children:[(0,a.jsx)("div",{className:"flex items-center justify-end mb-1.5",children:(0,a.jsxs)("a",{href:eO,download:"video.mp4",className:"inline-flex items-center gap-1 text-xs text-text-muted hover:text-primary transition-colors",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:"download"}),"Download"]})}),(0,a.jsx)("video",{controls:!0,src:eO,className:"max-w-full rounded-lg border border-border"})]}),(0,a.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono text-text-main overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:H?eE:o.defaultResponse})]})]})]})}function M({providerId:e}){let t=(0,c.wG)(e),s=(0,y.KC)(e).filter(e=>"stt"===(0,y.CP)(e)),[r,l]=(0,n.useState)([]),o=[...s,...r],[d,u]=(0,n.useState)(s[0]?.id??""),m=o.find(e=>e.id===d),p=Array.isArray(m?.params)?m.params:[],x=m?.responseFormats||["json","text","srt","verbose_json","vtt"],[h,b]=(0,n.useState)(null),[g,f]=(0,n.useState)(""),[j,w]=(0,n.useState)(""),[N,C]=(0,n.useState)("json"),[S,$]=(0,n.useState)(""),[_,T]=(0,n.useState)(""),[I,P]=(0,n.useState)(!1),[A,R]=(0,n.useState)(!1),[E,O]=(0,n.useState)(""),[L,U]=(0,n.useState)(""),[B,K]=(0,n.useState)(!1),[D,F]=(0,n.useState)(""),[z,q]=(0,n.useState)(""),[V,J]=(0,n.useState)(null),[H,W]=(0,n.useState)(null),[G,Y]=(0,n.useState)(!1),[Z,Q]=(0,n.useState)(""),{copied:X,copy:ee}=(0,v.C)(),{copied:et,copy:es}=(0,v.C)();(0,n.useEffect)(()=>{F(window.location.origin),fetch("/api/keys").then(e=>e.json()).then(e=>{U((e.keys||[]).find(e=>!1!==e.isActive)?.key||"")}).catch(()=>{}),fetch("/api/tunnel/status").then(e=>e.json()).then(e=>{e.publicUrl&&q(e.publicUrl)}).catch(()=>{});let e=()=>{fetch("/api/models/custom",{cache:"no-store"}).then(e=>e.json()).then(e=>{l((e.models||[]).filter(e=>"stt"===(0,y.CP)(e)&&e.providerAlias===t))}).catch(()=>{})};return e(),window.addEventListener("focus",e),window.addEventListener("customModelChanged",e),()=>{window.removeEventListener("focus",e),window.removeEventListener("customModelChanged",e)}},[t]);let ea=B?z:D,er=d?`${t}/${d}`:"",el=`curl -X POST ${ea}/v1/audio/transcriptions \\
57
57
  -H "Authorization: Bearer ${L||"YOUR_KEY"}" \\
58
58
  -F "file=@${h?.name||"audio.mp3"}" \\
59
59
  -F "model=${er}"${p.includes("language")&&g?` \\
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6607],{23879:(e,s,t)=>{"use strict";t.d(s,{default:()=>d});var a=t(95155),i=t(12115),n=t(3534),l=t(28777),o=t(88105),r=t(10761);function d(){let[e,s]=(0,i.useState)([]),[t,d]=(0,i.useState)([]),[c,u]=(0,i.useState)({}),[h,p]=(0,i.useState)(!1),[w,f]=(0,i.useState)(null),[y,x]=(0,i.useState)({running:!1,certExists:!1,dnsStatus:{},hasCachedPassword:!1});(0,i.useEffect)(()=>{g(),v(),m(),S()},[]);let g=async()=>{try{let e=await fetch("/api/providers");if(e.ok){let t=await e.json();s(t.connections||[])}}catch{}},v=async()=>{try{let e=await fetch("/api/keys");if(e.ok){let s=await e.json();d(s.keys||[])}}catch{}},m=async()=>{try{let e=await fetch("/api/models/alias");if(e.ok){let s=await e.json();u(s.aliases||{})}}catch{}},S=async()=>{try{let e=await fetch("/api/settings");if(e.ok){let s=await e.json();p(s.cloudEnabled||!1)}}catch{}},b=()=>e.filter(e=>!1!==e.isActive),k=Object.entries(n.wn);return(0,a.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2 px-3 py-2 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,a.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:"⚠️ MITM intercepts HTTPS traffic of IDE tools (Antigravity, GitHub Copilot, Kiro) via local CA to redirect requests to your providers. May violate ToS → account ban. Use at your own risk."})]}),(0,a.jsx)(r.tA,{apiKeys:t,cloudEnabled:h,onStatusChange:x}),(0,a.jsx)("div",{className:"grid gap-3 sm:gap-4",children:k.map(([e,s])=>(0,a.jsx)(r.kn,{tool:s,isExpanded:w===e,onToggle:()=>f(w===e?null:e),serverRunning:y.running,dnsActive:y.dnsStatus?.[e]||!1,hasCachedPassword:y.hasCachedPassword||!1,needsSudoPassword:!1!==y.needsSudoPassword,isWin:!0===y.isWin,apiKeys:t,activeProviders:b(),hasActiveProviders:b().some(e=>(0,l.KC)(e.provider).length>0||(0,o.mq)(e.provider)||(0,o.gb)(e.provider)),modelAliases:c,cloudEnabled:h,onDnsChange:e=>x(s=>({...s,dnsStatus:e.dnsStatus??s.dnsStatus}))},e))})]})}},34008:(e,s,t)=>{Promise.resolve().then(t.bind(t,23879))}},e=>{e.O(0,[763,5772,1321,705,5497,761,8441,3794,7358],()=>e(e.s=34008)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6607],{23879:(e,s,t)=>{"use strict";t.d(s,{default:()=>d});var a=t(95155),i=t(12115),n=t(3534),l=t(28777),o=t(88105),r=t(29134);function d(){let[e,s]=(0,i.useState)([]),[t,d]=(0,i.useState)([]),[c,u]=(0,i.useState)({}),[h,p]=(0,i.useState)(!1),[w,f]=(0,i.useState)(null),[y,x]=(0,i.useState)({running:!1,certExists:!1,dnsStatus:{},hasCachedPassword:!1});(0,i.useEffect)(()=>{g(),v(),m(),S()},[]);let g=async()=>{try{let e=await fetch("/api/providers");if(e.ok){let t=await e.json();s(t.connections||[])}}catch{}},v=async()=>{try{let e=await fetch("/api/keys");if(e.ok){let s=await e.json();d(s.keys||[])}}catch{}},m=async()=>{try{let e=await fetch("/api/models/alias");if(e.ok){let s=await e.json();u(s.aliases||{})}}catch{}},S=async()=>{try{let e=await fetch("/api/settings");if(e.ok){let s=await e.json();p(s.cloudEnabled||!1)}}catch{}},b=()=>e.filter(e=>!1!==e.isActive),k=Object.entries(n.wn);return(0,a.jsxs)("div",{className:"flex w-full flex-col gap-6",children:[(0,a.jsxs)("div",{className:"flex items-start gap-2 px-3 py-2 rounded-lg bg-yellow-500/10 border border-yellow-500/30",children:[(0,a.jsx)("span",{className:"material-symbols-outlined text-[16px] text-yellow-500 mt-0.5 shrink-0",children:"warning"}),(0,a.jsx)("p",{className:"text-xs text-red-600 dark:text-yellow-400 leading-relaxed",children:"⚠️ MITM intercepts HTTPS traffic of IDE tools (Antigravity, GitHub Copilot, Kiro) via local CA to redirect requests to your providers. May violate ToS → account ban. Use at your own risk."})]}),(0,a.jsx)(r.tA,{apiKeys:t,cloudEnabled:h,onStatusChange:x}),(0,a.jsx)("div",{className:"grid gap-3 sm:gap-4",children:k.map(([e,s])=>(0,a.jsx)(r.kn,{tool:s,isExpanded:w===e,onToggle:()=>f(w===e?null:e),serverRunning:y.running,dnsActive:y.dnsStatus?.[e]||!1,hasCachedPassword:y.hasCachedPassword||!1,needsSudoPassword:!1!==y.needsSudoPassword,isWin:!0===y.isWin,apiKeys:t,activeProviders:b(),hasActiveProviders:b().some(e=>(0,l.KC)(e.provider).length>0||(0,o.mq)(e.provider)||(0,o.gb)(e.provider)),modelAliases:c,cloudEnabled:h,onDnsChange:e=>x(s=>({...s,dnsStatus:e.dnsStatus??s.dnsStatus}))},e))})]})}},34008:(e,s,t)=>{Promise.resolve().then(t.bind(t,23879))}},e=>{e.O(0,[763,5772,1321,705,5497,9134,8441,3794,7358],()=>e(e.s=34008)),_N_E=e.O()}]);