@amir83nasr/10router 0.1.12 → 0.1.14

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 (695) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +2 -4
  3. package/.next/build-manifest.json +2 -2
  4. package/.next/prerender-manifest.json +22 -50
  5. package/.next/routes-manifest.json +0 -12
  6. package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  7. package/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  9. package/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  11. package/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  13. package/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  15. package/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.js +2 -2
  17. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/[id]/page_client-reference-manifest.js +1 -1
  18. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page.js +1 -1
  19. package/.next/server/app/(dashboard)/dashboard/media-providers/systemone/page_client-reference-manifest.js +1 -1
  20. package/.next/server/app/(dashboard)/dashboard/page.js +1 -1
  21. package/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  22. package/.next/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  23. package/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  24. package/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  25. package/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  26. package/.next/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  27. package/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  28. package/.next/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  29. package/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  30. package/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  31. package/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  32. package/.next/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  33. package/.next/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  34. package/.next/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  35. package/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  36. package/.next/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  37. package/.next/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  38. package/.next/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  39. package/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  40. package/.next/server/app/_global-error/page.js +2 -2
  41. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  42. package/.next/server/app/_global-error.html +1 -1
  43. package/.next/server/app/_global-error.rsc +1 -1
  44. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  45. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  46. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  47. package/.next/server/app/_not-found/page.js +1 -1
  48. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/_not-found.html +1 -1
  50. package/.next/server/app/_not-found.rsc +6 -6
  51. package/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
  52. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -6
  53. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  54. package/.next/server/app/api/auth/login/route.js +1 -1
  55. package/.next/server/app/api/auth/logout/route.js +1 -1
  56. package/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  57. package/.next/server/app/api/auth/oidc/start/route.js +1 -1
  58. package/.next/server/app/api/auth/oidc/test/route.js +1 -1
  59. package/.next/server/app/api/auth/reset-password/route.js +1 -1
  60. package/.next/server/app/api/auth/saml/acs/route.js +1 -1
  61. package/.next/server/app/api/auth/saml/metadata/route.js +2 -2
  62. package/.next/server/app/api/auth/saml/start/route.js +1 -1
  63. package/.next/server/app/api/auth/saml/test/route.js +1 -1
  64. package/.next/server/app/api/auth/status/route.js +1 -1
  65. package/.next/server/app/api/changelog/route.js +1 -1
  66. package/.next/server/app/api/cli-tools/all-statuses/route.js +1 -1
  67. package/.next/server/app/api/cli-tools/claude-settings/route.js +1 -1
  68. package/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  69. package/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  70. package/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  71. package/.next/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  72. package/.next/server/app/api/cli-tools/dsh-settings/route.js +1 -1
  73. package/.next/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  74. package/.next/server/app/api/combos/[id]/route.js +1 -1
  75. package/.next/server/app/api/combos/route.js +1 -1
  76. package/.next/server/app/api/headroom/extras/route.js +1 -1
  77. package/.next/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  78. package/.next/server/app/api/headroom/restart/route.js +1 -1
  79. package/.next/server/app/api/headroom/start/route.js +1 -1
  80. package/.next/server/app/api/headroom/status/route.js +1 -1
  81. package/.next/server/app/api/headroom/stop/route.js +1 -1
  82. package/.next/server/app/api/health/route.js +1 -1
  83. package/.next/server/app/api/init/route.js +1 -1
  84. package/.next/server/app/api/keys/[id]/route.js +1 -1
  85. package/.next/server/app/api/keys/route.js +1 -1
  86. package/.next/server/app/api/locale/route.js +1 -1
  87. package/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
  88. package/.next/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  89. package/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  90. package/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  91. package/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  92. package/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  93. package/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  94. package/.next/server/app/api/models/alias/route.js +1 -1
  95. package/.next/server/app/api/models/availability/route.js +1 -1
  96. package/.next/server/app/api/models/catalog-sync/route.js +1 -1
  97. package/.next/server/app/api/models/custom/route.js +1 -1
  98. package/.next/server/app/api/models/disabled/route.js +1 -1
  99. package/.next/server/app/api/models/route.js +1 -1
  100. package/.next/server/app/api/models/test/route.js +1 -1
  101. package/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  102. package/.next/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  103. package/.next/server/app/api/oauth/codex/import-token/route.js +1 -1
  104. package/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  105. package/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  106. package/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  107. package/.next/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  108. package/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  109. package/.next/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  110. package/.next/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  111. package/.next/server/app/api/pricing/route.js +1 -1
  112. package/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  113. package/.next/server/app/api/provider-nodes/route.js +1 -1
  114. package/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  115. package/.next/server/app/api/providers/[id]/models/route.js +1 -1
  116. package/.next/server/app/api/providers/[id]/route.js +1 -1
  117. package/.next/server/app/api/providers/[id]/test/route.js +1 -1
  118. package/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  119. package/.next/server/app/api/providers/client/route.js +1 -1
  120. package/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  121. package/.next/server/app/api/providers/route.js +1 -1
  122. package/.next/server/app/api/providers/suggested-models/route.js +1 -1
  123. package/.next/server/app/api/providers/test-batch/route.js +1 -1
  124. package/.next/server/app/api/providers/validate/route.js +1 -1
  125. package/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  126. package/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  127. package/.next/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  128. package/.next/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  129. package/.next/server/app/api/proxy-pools/route.js +1 -1
  130. package/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  131. package/.next/server/app/api/pxpipe/health/route.js +2 -2
  132. package/.next/server/app/api/pxpipe/install/route.js +1 -1
  133. package/.next/server/app/api/pxpipe/logs/route.js +1 -1
  134. package/.next/server/app/api/pxpipe/restart/route.js +1 -1
  135. package/.next/server/app/api/pxpipe/start/route.js +1 -1
  136. package/.next/server/app/api/pxpipe/stats/route.js +1 -1
  137. package/.next/server/app/api/pxpipe/status/route.js +1 -1
  138. package/.next/server/app/api/pxpipe/stop/route.js +1 -1
  139. package/.next/server/app/api/settings/database/route.js +1 -1
  140. package/.next/server/app/api/settings/proxy-test/route.js +1 -1
  141. package/.next/server/app/api/settings/require-login/route.js +1 -1
  142. package/.next/server/app/api/settings/route.js +1 -1
  143. package/.next/server/app/api/shutdown/route.js +1 -1
  144. package/.next/server/app/api/tags/route.js +1 -1
  145. package/.next/server/app/api/translator/console-logs/route.js +1 -1
  146. package/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  147. package/.next/server/app/api/translator/load/route.js +1 -1
  148. package/.next/server/app/api/translator/save/route.js +1 -1
  149. package/.next/server/app/api/translator/send/route.js +1 -1
  150. package/.next/server/app/api/translator/translate/route.js +1 -1
  151. package/.next/server/app/api/tunnel/disable/route.js +1 -1
  152. package/.next/server/app/api/tunnel/enable/route.js +1 -1
  153. package/.next/server/app/api/tunnel/status/route.js +1 -1
  154. package/.next/server/app/api/tunnel/tailscale-check/route.js +1 -1
  155. package/.next/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  156. package/.next/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  157. package/.next/server/app/api/tunnel/tailscale-install/route.js +3 -3
  158. package/.next/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  159. package/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  160. package/.next/server/app/api/usage/chart/route.js +1 -1
  161. package/.next/server/app/api/usage/health/route.js +1 -1
  162. package/.next/server/app/api/usage/history/route.js +1 -1
  163. package/.next/server/app/api/usage/logs/route.js +1 -1
  164. package/.next/server/app/api/usage/providers/route.js +1 -1
  165. package/.next/server/app/api/usage/request-details/route.js +1 -1
  166. package/.next/server/app/api/usage/request-logs/route.js +1 -1
  167. package/.next/server/app/api/usage/stats/route.js +1 -1
  168. package/.next/server/app/api/usage/stream/route.js +2 -2
  169. package/.next/server/app/api/v1/api/chat/route.js +1 -1
  170. package/.next/server/app/api/v1/audio/speech/route.js +1 -1
  171. package/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  172. package/.next/server/app/api/v1/audio/voices/route.js +1 -1
  173. package/.next/server/app/api/v1/chat/completions/route.js +1 -1
  174. package/.next/server/app/api/v1/embeddings/route.js +1 -1
  175. package/.next/server/app/api/v1/images/generations/route.js +2 -2
  176. package/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  177. package/.next/server/app/api/v1/messages/route.js +1 -1
  178. package/.next/server/app/api/v1/models/[...model]/route.js +1 -1
  179. package/.next/server/app/api/v1/models/info/route.js +1 -1
  180. package/.next/server/app/api/v1/models/route.js +1 -1
  181. package/.next/server/app/api/v1/responses/compact/route.js +1 -1
  182. package/.next/server/app/api/v1/responses/route.js +1 -1
  183. package/.next/server/app/api/v1/route.js +1 -1
  184. package/.next/server/app/api/v1/search/route.js +1 -1
  185. package/.next/server/app/api/v1/systemone/route.js +1 -1
  186. package/.next/server/app/api/v1/videos/[id]/route.js +1 -1
  187. package/.next/server/app/api/v1/videos/edits/route.js +1 -1
  188. package/.next/server/app/api/v1/videos/extensions/route.js +1 -1
  189. package/.next/server/app/api/v1/videos/generations/route.js +1 -1
  190. package/.next/server/app/api/v1/web/fetch/route.js +1 -1
  191. package/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  192. package/.next/server/app/api/v1beta/models/route.js +1 -1
  193. package/.next/server/app/api/version/route.js +1 -1
  194. package/.next/server/app/api/version/shutdown/route.js +1 -1
  195. package/.next/server/app/api/version/update/route.js +1 -1
  196. package/.next/server/app/callback/page.js +1 -1
  197. package/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  198. package/.next/server/app/callback.html +1 -1
  199. package/.next/server/app/callback.rsc +7 -7
  200. package/.next/server/app/callback.segments/_full.segment.rsc +7 -7
  201. package/.next/server/app/callback.segments/_tree.segment.rsc +2 -2
  202. package/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +7 -7
  203. package/.next/server/app/dashboard/cli-tools.html +1 -1
  204. package/.next/server/app/dashboard/cli-tools.rsc +8 -8
  205. package/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +8 -8
  206. package/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +8 -8
  207. package/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  208. package/.next/server/app/dashboard/combos.html +1 -1
  209. package/.next/server/app/dashboard/combos.rsc +8 -8
  210. package/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +8 -8
  211. package/.next/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  212. package/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  213. package/.next/server/app/dashboard/endpoint.html +1 -1
  214. package/.next/server/app/dashboard/endpoint.rsc +8 -8
  215. package/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +8 -8
  216. package/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +8 -8
  217. package/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  218. package/.next/server/app/dashboard/media-providers/systemone.html +1 -1
  219. package/.next/server/app/dashboard/media-providers/systemone.rsc +8 -8
  220. package/.next/server/app/dashboard/media-providers/systemone.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/systemone/__PAGE__.segment.rsc +8 -8
  221. package/.next/server/app/dashboard/media-providers/systemone.segments/_full.segment.rsc +8 -8
  222. package/.next/server/app/dashboard/media-providers/systemone.segments/_tree.segment.rsc +2 -2
  223. package/.next/server/app/dashboard/profile.html +1 -1
  224. package/.next/server/app/dashboard/profile.rsc +8 -8
  225. package/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +8 -8
  226. package/.next/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  227. package/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  228. package/.next/server/app/dashboard/providers/new.html +1 -1
  229. package/.next/server/app/dashboard/providers/new.rsc +8 -8
  230. package/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +8 -8
  231. package/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  232. package/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  233. package/.next/server/app/dashboard/providers.html +1 -1
  234. package/.next/server/app/dashboard/providers.rsc +8 -8
  235. package/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +8 -8
  236. package/.next/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  237. package/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  238. package/.next/server/app/dashboard/proxy-pools.html +1 -1
  239. package/.next/server/app/dashboard/proxy-pools.rsc +8 -8
  240. package/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +8 -8
  241. package/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  242. package/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  243. package/.next/server/app/dashboard/pxpipe.html +1 -1
  244. package/.next/server/app/dashboard/pxpipe.rsc +7 -7
  245. package/.next/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +7 -7
  246. package/.next/server/app/dashboard/pxpipe.segments/_full.segment.rsc +7 -7
  247. package/.next/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  248. package/.next/server/app/dashboard/quota.html +2 -2
  249. package/.next/server/app/dashboard/quota.rsc +9 -9
  250. package/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +9 -9
  251. package/.next/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  252. package/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  253. package/.next/server/app/dashboard/settings/pricing/page.js +1 -1
  254. package/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  255. package/.next/server/app/dashboard/settings/pricing.html +1 -1
  256. package/.next/server/app/dashboard/settings/pricing.rsc +7 -7
  257. package/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  258. package/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  259. package/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +7 -7
  260. package/.next/server/app/dashboard/token-saver.html +1 -1
  261. package/.next/server/app/dashboard/token-saver.rsc +8 -8
  262. package/.next/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +8 -8
  263. package/.next/server/app/dashboard/token-saver.segments/_full.segment.rsc +8 -8
  264. package/.next/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  265. package/.next/server/app/dashboard/usage.html +2 -2
  266. package/.next/server/app/dashboard/usage.rsc +8 -8
  267. package/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +8 -8
  268. package/.next/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  269. package/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  270. package/.next/server/app/dashboard.html +1 -1
  271. package/.next/server/app/dashboard.rsc +8 -8
  272. package/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +8 -8
  273. package/.next/server/app/dashboard.segments/_full.segment.rsc +8 -8
  274. package/.next/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  275. package/.next/server/app/index.html +1 -1
  276. package/.next/server/app/index.rsc +6 -6
  277. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -6
  278. package/.next/server/app/index.segments/_full.segment.rsc +6 -6
  279. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  280. package/.next/server/app/landing/page.js +1 -1
  281. package/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  282. package/.next/server/app/landing.html +1 -1
  283. package/.next/server/app/landing.rsc +7 -7
  284. package/.next/server/app/landing.segments/_full.segment.rsc +7 -7
  285. package/.next/server/app/landing.segments/_tree.segment.rsc +2 -2
  286. package/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +7 -7
  287. package/.next/server/app/login/page.js +1 -1
  288. package/.next/server/app/login/page_client-reference-manifest.js +1 -1
  289. package/.next/server/app/login.html +1 -1
  290. package/.next/server/app/login.rsc +6 -6
  291. package/.next/server/app/login.segments/_full.segment.rsc +6 -6
  292. package/.next/server/app/login.segments/_tree.segment.rsc +2 -2
  293. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +6 -6
  294. package/.next/server/app/manifest.webmanifest/route.js +1 -1
  295. package/.next/server/app/page.js +1 -1
  296. package/.next/server/app/page_client-reference-manifest.js +1 -1
  297. package/.next/server/app-paths-manifest.json +2 -4
  298. package/.next/server/chunks/1011.js +1 -1
  299. package/.next/server/chunks/1194.js +1 -1
  300. package/.next/server/chunks/1289.js +1 -1
  301. package/.next/server/chunks/1633.js +1 -1
  302. package/.next/server/chunks/1985.js +1 -1
  303. package/.next/server/chunks/2282.js +1 -1
  304. package/.next/server/chunks/2339.js +1 -1
  305. package/.next/server/chunks/2706.js +1 -1
  306. package/.next/server/chunks/2801.js +1 -1
  307. package/.next/server/chunks/3034.js +1 -1
  308. package/.next/server/chunks/3425.js +1 -1
  309. package/.next/server/chunks/6056.js +1 -1
  310. package/.next/server/chunks/7348.js +1 -1
  311. package/.next/server/chunks/9429.js +1 -1
  312. package/.next/server/middleware-build-manifest.js +1 -1
  313. package/.next/server/middleware.js +3 -3
  314. package/.next/server/pages/404.html +1 -1
  315. package/.next/server/pages/500.html +1 -1
  316. package/.next/server/prefetch-hints.json +0 -24
  317. package/.next/server/server-reference-manifest.js +1 -1
  318. package/.next/server/server-reference-manifest.json +1 -1
  319. package/.next/static/chunks/1278-1bef1ffb32ea7f41.js +1 -0
  320. package/.next/static/chunks/1660-25564899e7912146.js +1 -0
  321. package/.next/static/chunks/1699-49be310981e2759e.js +67 -0
  322. package/.next/static/chunks/{2836-4781ea7374870f4a.js → 2836-d97f0aa2718945d5.js} +1 -1
  323. package/.next/static/chunks/5148-7d67073becfaf162.js +1 -0
  324. package/.next/static/chunks/6428-5a5f71440049a4e6.js +1 -0
  325. package/.next/static/chunks/7128-78b41798c1177008.js +1 -0
  326. package/.next/static/chunks/7835-06b436358f3395f6.js +1 -0
  327. package/.next/static/chunks/9150-32b4247b1af5e206.js +1 -0
  328. package/.next/static/chunks/{9369-07e432041bb48a39.js → 9369-0d43b295968c2168.js} +1 -1
  329. package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-36ad70a4f906c64b.js → page-c913b130003c1672.js} +3 -3
  330. package/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-aae6be7f75fcd819.js → page-3bab0c661f222ea3.js} +1 -1
  331. package/.next/static/chunks/app/(dashboard)/dashboard/combos/{page-18212c87b17b33cf.js → page-76cc2c386af12738.js} +1 -1
  332. package/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-58a29f3cb409597a.js +1 -0
  333. package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-d5f693c646ae044b.js +1 -0
  334. package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/[id]/{page-610d962dd8bd1744.js → page-7340dad2b87640cf.js} +1 -1
  335. package/.next/static/chunks/app/(dashboard)/dashboard/media-providers/systemone/{page-9dbf4cd6901b6042.js → page-32e3e07a8f54ec11.js} +1 -1
  336. package/.next/static/chunks/app/(dashboard)/dashboard/page-a7f59da8c0db5cf1.js +1 -0
  337. package/.next/static/chunks/app/(dashboard)/dashboard/profile/{page-2ab30b6e1baf1efd.js → page-7123127fd841cfa5.js} +1 -1
  338. package/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-b17607bc2ed06d50.js → page-fab6f4b4cccc1a6f.js} +1 -1
  339. package/.next/static/chunks/app/(dashboard)/dashboard/providers/new/{page-0e649a78a041306a.js → page-819e98f53bf2f4f7.js} +1 -1
  340. package/.next/static/chunks/app/(dashboard)/dashboard/providers/{page-b10c05192c664e8d.js → page-9054f870a5e0f5c6.js} +1 -1
  341. package/.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-b33051a3fc600082.js → page-3e4657b108582404.js} +2 -2
  342. package/.next/static/chunks/app/(dashboard)/dashboard/quota/{page-ee2a0fa91d9bea9c.js → page-61780f0a2b494680.js} +1 -1
  343. package/.next/static/chunks/app/(dashboard)/dashboard/token-saver/{page-bcc37fc2b4089f2f.js → page-4e366abb76514be7.js} +1 -1
  344. package/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-2457f236bc58e590.js → page-2d71fa2936b16f45.js} +1 -1
  345. package/.next/static/chunks/app/(dashboard)/{layout-7ef1d599b3c4c6d2.js → layout-91f41c68685ed739.js} +1 -1
  346. package/.next/static/chunks/app/_global-error/page-9a2a13ac6b89ba91.js +1 -0
  347. package/.next/static/chunks/app/api/auth/login/route-9a2a13ac6b89ba91.js +1 -0
  348. package/.next/static/chunks/app/api/auth/logout/route-9a2a13ac6b89ba91.js +1 -0
  349. package/.next/static/chunks/app/api/auth/oidc/callback/route-9a2a13ac6b89ba91.js +1 -0
  350. package/.next/static/chunks/app/api/auth/oidc/start/route-9a2a13ac6b89ba91.js +1 -0
  351. package/.next/static/chunks/app/api/auth/oidc/test/route-9a2a13ac6b89ba91.js +1 -0
  352. package/.next/static/chunks/app/api/auth/reset-password/route-9a2a13ac6b89ba91.js +1 -0
  353. package/.next/static/chunks/app/api/auth/saml/acs/route-9a2a13ac6b89ba91.js +1 -0
  354. package/.next/static/chunks/app/api/auth/saml/metadata/route-9a2a13ac6b89ba91.js +1 -0
  355. package/.next/static/chunks/app/api/auth/saml/start/route-9a2a13ac6b89ba91.js +1 -0
  356. package/.next/static/chunks/app/api/auth/saml/test/route-9a2a13ac6b89ba91.js +1 -0
  357. package/.next/static/chunks/app/api/auth/status/route-9a2a13ac6b89ba91.js +1 -0
  358. package/.next/static/chunks/app/api/changelog/route-9a2a13ac6b89ba91.js +1 -0
  359. package/.next/static/chunks/app/api/cli-tools/all-statuses/route-9a2a13ac6b89ba91.js +1 -0
  360. package/.next/static/chunks/app/api/cli-tools/claude-settings/route-9a2a13ac6b89ba91.js +1 -0
  361. package/.next/static/chunks/app/api/cli-tools/codex-settings/route-9a2a13ac6b89ba91.js +1 -0
  362. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-9a2a13ac6b89ba91.js +1 -0
  363. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-9a2a13ac6b89ba91.js +1 -0
  364. package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-9a2a13ac6b89ba91.js +1 -0
  365. package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-9a2a13ac6b89ba91.js +1 -0
  366. package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-9a2a13ac6b89ba91.js +1 -0
  367. package/.next/static/chunks/app/api/combos/[id]/route-9a2a13ac6b89ba91.js +1 -0
  368. package/.next/static/chunks/app/api/combos/route-9a2a13ac6b89ba91.js +1 -0
  369. package/.next/static/chunks/app/api/headroom/extras/route-9a2a13ac6b89ba91.js +1 -0
  370. package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-9a2a13ac6b89ba91.js +1 -0
  371. package/.next/static/chunks/app/api/headroom/restart/route-9a2a13ac6b89ba91.js +1 -0
  372. package/.next/static/chunks/app/api/headroom/start/route-9a2a13ac6b89ba91.js +1 -0
  373. package/.next/static/chunks/app/api/headroom/status/route-9a2a13ac6b89ba91.js +1 -0
  374. package/.next/static/chunks/app/api/headroom/stop/route-9a2a13ac6b89ba91.js +1 -0
  375. package/.next/static/chunks/app/api/health/route-9a2a13ac6b89ba91.js +1 -0
  376. package/.next/static/chunks/app/api/init/route-9a2a13ac6b89ba91.js +1 -0
  377. package/.next/static/chunks/app/api/keys/[id]/route-9a2a13ac6b89ba91.js +1 -0
  378. package/.next/static/chunks/app/api/keys/route-9a2a13ac6b89ba91.js +1 -0
  379. package/.next/static/chunks/app/api/locale/route-9a2a13ac6b89ba91.js +1 -0
  380. package/.next/static/chunks/app/api/mcp/[plugin]/message/route-9a2a13ac6b89ba91.js +1 -0
  381. package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-9a2a13ac6b89ba91.js +1 -0
  382. package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-9a2a13ac6b89ba91.js +1 -0
  383. package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-9a2a13ac6b89ba91.js +1 -0
  384. package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-9a2a13ac6b89ba91.js +1 -0
  385. package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-9a2a13ac6b89ba91.js +1 -0
  386. package/.next/static/chunks/app/api/media-providers/tts/voices/route-9a2a13ac6b89ba91.js +1 -0
  387. package/.next/static/chunks/app/api/models/alias/route-9a2a13ac6b89ba91.js +1 -0
  388. package/.next/static/chunks/app/api/models/availability/route-9a2a13ac6b89ba91.js +1 -0
  389. package/.next/static/chunks/app/api/models/catalog-sync/route-9a2a13ac6b89ba91.js +1 -0
  390. package/.next/static/chunks/app/api/models/custom/route-9a2a13ac6b89ba91.js +1 -0
  391. package/.next/static/chunks/app/api/models/disabled/route-9a2a13ac6b89ba91.js +1 -0
  392. package/.next/static/chunks/app/api/models/route-9a2a13ac6b89ba91.js +1 -0
  393. package/.next/static/chunks/app/api/models/test/route-9a2a13ac6b89ba91.js +1 -0
  394. package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-9a2a13ac6b89ba91.js +1 -0
  395. package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
  396. package/.next/static/chunks/app/api/oauth/codex/import-token/route-9a2a13ac6b89ba91.js +1 -0
  397. package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-9a2a13ac6b89ba91.js +1 -0
  398. package/.next/static/chunks/app/api/oauth/cursor/import/route-9a2a13ac6b89ba91.js +1 -0
  399. package/.next/static/chunks/app/api/oauth/gitlab/pat/route-9a2a13ac6b89ba91.js +1 -0
  400. package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-9a2a13ac6b89ba91.js +1 -0
  401. package/.next/static/chunks/app/api/oauth/iflow/cookie/route-9a2a13ac6b89ba91.js +1 -0
  402. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-9a2a13ac6b89ba91.js +1 -0
  403. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-9a2a13ac6b89ba91.js +1 -0
  404. package/.next/static/chunks/app/api/pricing/route-9a2a13ac6b89ba91.js +1 -0
  405. package/.next/static/chunks/app/api/provider-nodes/[id]/route-9a2a13ac6b89ba91.js +1 -0
  406. package/.next/static/chunks/app/api/provider-nodes/route-9a2a13ac6b89ba91.js +1 -0
  407. package/.next/static/chunks/app/api/provider-nodes/validate/route-9a2a13ac6b89ba91.js +1 -0
  408. package/.next/static/chunks/app/api/providers/[id]/models/route-9a2a13ac6b89ba91.js +1 -0
  409. package/.next/static/chunks/app/api/providers/[id]/route-9a2a13ac6b89ba91.js +1 -0
  410. package/.next/static/chunks/app/api/providers/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
  411. package/.next/static/chunks/app/api/providers/[id]/test-models/route-9a2a13ac6b89ba91.js +1 -0
  412. package/.next/static/chunks/app/api/providers/client/route-9a2a13ac6b89ba91.js +1 -0
  413. package/.next/static/chunks/app/api/providers/kilo/free-models/route-9a2a13ac6b89ba91.js +1 -0
  414. package/.next/static/chunks/app/api/providers/route-9a2a13ac6b89ba91.js +1 -0
  415. package/.next/static/chunks/app/api/providers/suggested-models/route-9a2a13ac6b89ba91.js +1 -0
  416. package/.next/static/chunks/app/api/providers/test-batch/route-9a2a13ac6b89ba91.js +1 -0
  417. package/.next/static/chunks/app/api/providers/validate/route-9a2a13ac6b89ba91.js +1 -0
  418. package/.next/static/chunks/app/api/proxy-pools/[id]/route-9a2a13ac6b89ba91.js +1 -0
  419. package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-9a2a13ac6b89ba91.js +1 -0
  420. package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-9a2a13ac6b89ba91.js +1 -0
  421. package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-9a2a13ac6b89ba91.js +1 -0
  422. package/.next/static/chunks/app/api/proxy-pools/route-9a2a13ac6b89ba91.js +1 -0
  423. package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-9a2a13ac6b89ba91.js +1 -0
  424. package/.next/static/chunks/app/api/pxpipe/health/route-9a2a13ac6b89ba91.js +1 -0
  425. package/.next/static/chunks/app/api/pxpipe/install/route-9a2a13ac6b89ba91.js +1 -0
  426. package/.next/static/chunks/app/api/pxpipe/logs/route-9a2a13ac6b89ba91.js +1 -0
  427. package/.next/static/chunks/app/api/pxpipe/restart/route-9a2a13ac6b89ba91.js +1 -0
  428. package/.next/static/chunks/app/api/pxpipe/start/route-9a2a13ac6b89ba91.js +1 -0
  429. package/.next/static/chunks/app/api/pxpipe/stats/route-9a2a13ac6b89ba91.js +1 -0
  430. package/.next/static/chunks/app/api/pxpipe/status/route-9a2a13ac6b89ba91.js +1 -0
  431. package/.next/static/chunks/app/api/pxpipe/stop/route-9a2a13ac6b89ba91.js +1 -0
  432. package/.next/static/chunks/app/api/settings/database/route-9a2a13ac6b89ba91.js +1 -0
  433. package/.next/static/chunks/app/api/settings/proxy-test/route-9a2a13ac6b89ba91.js +1 -0
  434. package/.next/static/chunks/app/api/settings/require-login/route-9a2a13ac6b89ba91.js +1 -0
  435. package/.next/static/chunks/app/api/settings/route-9a2a13ac6b89ba91.js +1 -0
  436. package/.next/static/chunks/app/api/shutdown/route-9a2a13ac6b89ba91.js +1 -0
  437. package/.next/static/chunks/app/api/tags/route-9a2a13ac6b89ba91.js +1 -0
  438. package/.next/static/chunks/app/api/translator/console-logs/route-9a2a13ac6b89ba91.js +1 -0
  439. package/.next/static/chunks/app/api/translator/console-logs/stream/route-9a2a13ac6b89ba91.js +1 -0
  440. package/.next/static/chunks/app/api/translator/load/route-9a2a13ac6b89ba91.js +1 -0
  441. package/.next/static/chunks/app/api/translator/save/route-9a2a13ac6b89ba91.js +1 -0
  442. package/.next/static/chunks/app/api/translator/send/route-9a2a13ac6b89ba91.js +1 -0
  443. package/.next/static/chunks/app/api/translator/translate/route-9a2a13ac6b89ba91.js +1 -0
  444. package/.next/static/chunks/app/api/tunnel/disable/route-9a2a13ac6b89ba91.js +1 -0
  445. package/.next/static/chunks/app/api/tunnel/enable/route-9a2a13ac6b89ba91.js +1 -0
  446. package/.next/static/chunks/app/api/tunnel/status/route-9a2a13ac6b89ba91.js +1 -0
  447. package/.next/static/chunks/app/api/tunnel/tailscale-check/route-9a2a13ac6b89ba91.js +1 -0
  448. package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-9a2a13ac6b89ba91.js +1 -0
  449. package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-9a2a13ac6b89ba91.js +1 -0
  450. package/.next/static/chunks/app/api/tunnel/tailscale-install/route-9a2a13ac6b89ba91.js +1 -0
  451. package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-9a2a13ac6b89ba91.js +1 -0
  452. package/.next/static/chunks/app/api/usage/[connectionId]/route-9a2a13ac6b89ba91.js +1 -0
  453. package/.next/static/chunks/app/api/usage/chart/route-9a2a13ac6b89ba91.js +1 -0
  454. package/.next/static/chunks/app/api/usage/health/route-9a2a13ac6b89ba91.js +1 -0
  455. package/.next/static/chunks/app/api/usage/history/route-9a2a13ac6b89ba91.js +1 -0
  456. package/.next/static/chunks/app/api/usage/logs/route-9a2a13ac6b89ba91.js +1 -0
  457. package/.next/static/chunks/app/api/usage/providers/route-9a2a13ac6b89ba91.js +1 -0
  458. package/.next/static/chunks/app/api/usage/request-details/route-9a2a13ac6b89ba91.js +1 -0
  459. package/.next/static/chunks/app/api/usage/request-logs/route-9a2a13ac6b89ba91.js +1 -0
  460. package/.next/static/chunks/app/api/usage/stats/route-9a2a13ac6b89ba91.js +1 -0
  461. package/.next/static/chunks/app/api/usage/stream/route-9a2a13ac6b89ba91.js +1 -0
  462. package/.next/static/chunks/app/api/v1/api/chat/route-9a2a13ac6b89ba91.js +1 -0
  463. package/.next/static/chunks/app/api/v1/audio/speech/route-9a2a13ac6b89ba91.js +1 -0
  464. package/.next/static/chunks/app/api/v1/audio/transcriptions/route-9a2a13ac6b89ba91.js +1 -0
  465. package/.next/static/chunks/app/api/v1/audio/voices/route-9a2a13ac6b89ba91.js +1 -0
  466. package/.next/static/chunks/app/api/v1/chat/completions/route-9a2a13ac6b89ba91.js +1 -0
  467. package/.next/static/chunks/app/api/v1/embeddings/route-9a2a13ac6b89ba91.js +1 -0
  468. package/.next/static/chunks/app/api/v1/images/generations/route-9a2a13ac6b89ba91.js +1 -0
  469. package/.next/static/chunks/app/api/v1/messages/count_tokens/route-9a2a13ac6b89ba91.js +1 -0
  470. package/.next/static/chunks/app/api/v1/messages/route-9a2a13ac6b89ba91.js +1 -0
  471. package/.next/static/chunks/app/api/v1/models/[...model]/route-9a2a13ac6b89ba91.js +1 -0
  472. package/.next/static/chunks/app/api/v1/models/info/route-9a2a13ac6b89ba91.js +1 -0
  473. package/.next/static/chunks/app/api/v1/models/route-9a2a13ac6b89ba91.js +1 -0
  474. package/.next/static/chunks/app/api/v1/responses/compact/route-9a2a13ac6b89ba91.js +1 -0
  475. package/.next/static/chunks/app/api/v1/responses/route-9a2a13ac6b89ba91.js +1 -0
  476. package/.next/static/chunks/app/api/v1/route-9a2a13ac6b89ba91.js +1 -0
  477. package/.next/static/chunks/app/api/v1/search/route-9a2a13ac6b89ba91.js +1 -0
  478. package/.next/static/chunks/app/api/v1/systemone/route-9a2a13ac6b89ba91.js +1 -0
  479. package/.next/static/chunks/app/api/v1/videos/[id]/route-9a2a13ac6b89ba91.js +1 -0
  480. package/.next/static/chunks/app/api/v1/videos/edits/route-9a2a13ac6b89ba91.js +1 -0
  481. package/.next/static/chunks/app/api/v1/videos/extensions/route-9a2a13ac6b89ba91.js +1 -0
  482. package/.next/static/chunks/app/api/v1/videos/generations/route-9a2a13ac6b89ba91.js +1 -0
  483. package/.next/static/chunks/app/api/v1/web/fetch/route-9a2a13ac6b89ba91.js +1 -0
  484. package/.next/static/chunks/app/api/v1beta/models/[...path]/route-9a2a13ac6b89ba91.js +1 -0
  485. package/.next/static/chunks/app/api/v1beta/models/route-9a2a13ac6b89ba91.js +1 -0
  486. package/.next/static/chunks/app/api/version/route-9a2a13ac6b89ba91.js +1 -0
  487. package/.next/static/chunks/app/api/version/shutdown/route-9a2a13ac6b89ba91.js +1 -0
  488. package/.next/static/chunks/app/api/version/update/route-9a2a13ac6b89ba91.js +1 -0
  489. package/.next/static/chunks/app/callback/page-8b6862b2e58a129e.js +1 -0
  490. package/.next/static/chunks/app/dashboard/settings/pricing/page-c1dfa7608ff710d1.js +1 -0
  491. package/.next/static/chunks/app/landing/page-a76ba2642bd02bf5.js +1 -0
  492. package/.next/static/chunks/app/layout-cc98f6c7473b86a3.js +1 -0
  493. package/.next/static/chunks/app/manifest.webmanifest/route-9a2a13ac6b89ba91.js +1 -0
  494. package/.next/static/chunks/app/page-9a2a13ac6b89ba91.js +1 -0
  495. package/.next/static/chunks/next/dist/client/components/builtin/app-error-9a2a13ac6b89ba91.js +1 -0
  496. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-9a2a13ac6b89ba91.js +1 -0
  497. package/.next/static/chunks/next/dist/client/components/builtin/not-found-9a2a13ac6b89ba91.js +1 -0
  498. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-9a2a13ac6b89ba91.js +1 -0
  499. package/.next/static/css/efaf98e3b295f727.css +1 -0
  500. package/.next/static/wBARQPScPhD6SLn7WQvI9/_buildManifest.js +1 -0
  501. package/CHANGELOG.md +11 -0
  502. package/package.json +1 -2
  503. package/src/app/(dashboard)/dashboard/cli-tools/components/cards/ClaudeToolCard.tsx +10 -0
  504. package/src/app/api/cli-tools/claude-settings/route.js +10 -0
  505. package/src/app/globals.css +16 -37
  506. package/src/components/app-sidebar.tsx +0 -1
  507. package/src/shared/components/Header.tsx +0 -8
  508. package/src/shared/components/layouts/DashboardLayout.tsx +2 -8
  509. package/src/shared/constants/cliTools.js +5 -0
  510. package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +0 -1
  511. package/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +0 -1
  512. package/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +0 -1
  513. package/.next/server/app/api/dashboard/chat/completions/route.js +0 -1
  514. package/.next/server/app/api/dashboard/chat/completions/route.js.nft.json +0 -1
  515. package/.next/server/app/api/dashboard/chat/completions/route_client-reference-manifest.js +0 -1
  516. package/.next/server/app/dashboard/basic-chat.html +0 -1
  517. package/.next/server/app/dashboard/basic-chat.meta +0 -36
  518. package/.next/server/app/dashboard/basic-chat.rsc +0 -26
  519. package/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +0 -31
  520. package/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +0 -26
  521. package/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +0 -6
  522. package/.next/static/C423Aljus-j0GJlKCHgC1/_buildManifest.js +0 -1
  523. package/.next/static/chunks/1278-3b5ed69340ddb23f.js +0 -1
  524. package/.next/static/chunks/1471-69a7c30abf98c656.js +0 -1
  525. package/.next/static/chunks/159-89c77cec422bd76f.js +0 -1
  526. package/.next/static/chunks/2392-b07fcae4714087ef.js +0 -65
  527. package/.next/static/chunks/2441-96064c4ee1216099.js +0 -1
  528. package/.next/static/chunks/5113-5c4f5181388aab72.js +0 -1
  529. package/.next/static/chunks/5778-9d97ce04f2ac118c.js +0 -1
  530. package/.next/static/chunks/6920-e2b533c1eafa9521.js +0 -1
  531. package/.next/static/chunks/7835-c1ef8f5cdaaad483.js +0 -1
  532. package/.next/static/chunks/9320-ae7eb68edeb92e89.js +0 -3
  533. package/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/page-34f4d77aa3df67a8.js +0 -1
  534. package/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-52b5a6dc2c2d2d93.js +0 -1
  535. package/.next/static/chunks/app/(dashboard)/dashboard/endpoint/page-9287a3cbd098b9c4.js +0 -1
  536. package/.next/static/chunks/app/(dashboard)/dashboard/page-1d6e969653676c7d.js +0 -1
  537. package/.next/static/chunks/app/_global-error/page-a826a2eb5dc30149.js +0 -1
  538. package/.next/static/chunks/app/api/auth/login/route-a826a2eb5dc30149.js +0 -1
  539. package/.next/static/chunks/app/api/auth/logout/route-a826a2eb5dc30149.js +0 -1
  540. package/.next/static/chunks/app/api/auth/oidc/callback/route-a826a2eb5dc30149.js +0 -1
  541. package/.next/static/chunks/app/api/auth/oidc/start/route-a826a2eb5dc30149.js +0 -1
  542. package/.next/static/chunks/app/api/auth/oidc/test/route-a826a2eb5dc30149.js +0 -1
  543. package/.next/static/chunks/app/api/auth/reset-password/route-a826a2eb5dc30149.js +0 -1
  544. package/.next/static/chunks/app/api/auth/saml/acs/route-a826a2eb5dc30149.js +0 -1
  545. package/.next/static/chunks/app/api/auth/saml/metadata/route-a826a2eb5dc30149.js +0 -1
  546. package/.next/static/chunks/app/api/auth/saml/start/route-a826a2eb5dc30149.js +0 -1
  547. package/.next/static/chunks/app/api/auth/saml/test/route-a826a2eb5dc30149.js +0 -1
  548. package/.next/static/chunks/app/api/auth/status/route-a826a2eb5dc30149.js +0 -1
  549. package/.next/static/chunks/app/api/changelog/route-a826a2eb5dc30149.js +0 -1
  550. package/.next/static/chunks/app/api/cli-tools/all-statuses/route-a826a2eb5dc30149.js +0 -1
  551. package/.next/static/chunks/app/api/cli-tools/claude-settings/route-a826a2eb5dc30149.js +0 -1
  552. package/.next/static/chunks/app/api/cli-tools/codex-settings/route-a826a2eb5dc30149.js +0 -1
  553. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a826a2eb5dc30149.js +0 -1
  554. package/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a826a2eb5dc30149.js +0 -1
  555. package/.next/static/chunks/app/api/cli-tools/cowork-settings/route-a826a2eb5dc30149.js +0 -1
  556. package/.next/static/chunks/app/api/cli-tools/dsh-settings/route-a826a2eb5dc30149.js +0 -1
  557. package/.next/static/chunks/app/api/cli-tools/opencode-settings/route-a826a2eb5dc30149.js +0 -1
  558. package/.next/static/chunks/app/api/combos/[id]/route-a826a2eb5dc30149.js +0 -1
  559. package/.next/static/chunks/app/api/combos/route-a826a2eb5dc30149.js +0 -1
  560. package/.next/static/chunks/app/api/dashboard/chat/completions/route-a826a2eb5dc30149.js +0 -1
  561. package/.next/static/chunks/app/api/headroom/extras/route-a826a2eb5dc30149.js +0 -1
  562. package/.next/static/chunks/app/api/headroom/proxy/[...path]/route-a826a2eb5dc30149.js +0 -1
  563. package/.next/static/chunks/app/api/headroom/restart/route-a826a2eb5dc30149.js +0 -1
  564. package/.next/static/chunks/app/api/headroom/start/route-a826a2eb5dc30149.js +0 -1
  565. package/.next/static/chunks/app/api/headroom/status/route-a826a2eb5dc30149.js +0 -1
  566. package/.next/static/chunks/app/api/headroom/stop/route-a826a2eb5dc30149.js +0 -1
  567. package/.next/static/chunks/app/api/health/route-a826a2eb5dc30149.js +0 -1
  568. package/.next/static/chunks/app/api/init/route-a826a2eb5dc30149.js +0 -1
  569. package/.next/static/chunks/app/api/keys/[id]/route-a826a2eb5dc30149.js +0 -1
  570. package/.next/static/chunks/app/api/keys/route-a826a2eb5dc30149.js +0 -1
  571. package/.next/static/chunks/app/api/locale/route-a826a2eb5dc30149.js +0 -1
  572. package/.next/static/chunks/app/api/mcp/[plugin]/message/route-a826a2eb5dc30149.js +0 -1
  573. package/.next/static/chunks/app/api/mcp/[plugin]/sse/route-a826a2eb5dc30149.js +0 -1
  574. package/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a826a2eb5dc30149.js +0 -1
  575. package/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a826a2eb5dc30149.js +0 -1
  576. package/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-a826a2eb5dc30149.js +0 -1
  577. package/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-a826a2eb5dc30149.js +0 -1
  578. package/.next/static/chunks/app/api/media-providers/tts/voices/route-a826a2eb5dc30149.js +0 -1
  579. package/.next/static/chunks/app/api/models/alias/route-a826a2eb5dc30149.js +0 -1
  580. package/.next/static/chunks/app/api/models/availability/route-a826a2eb5dc30149.js +0 -1
  581. package/.next/static/chunks/app/api/models/catalog-sync/route-a826a2eb5dc30149.js +0 -1
  582. package/.next/static/chunks/app/api/models/custom/route-a826a2eb5dc30149.js +0 -1
  583. package/.next/static/chunks/app/api/models/disabled/route-a826a2eb5dc30149.js +0 -1
  584. package/.next/static/chunks/app/api/models/route-a826a2eb5dc30149.js +0 -1
  585. package/.next/static/chunks/app/api/models/test/route-a826a2eb5dc30149.js +0 -1
  586. package/.next/static/chunks/app/api/oauth/[provider]/[action]/route-a826a2eb5dc30149.js +0 -1
  587. package/.next/static/chunks/app/api/oauth/codex/bulk-import/route-a826a2eb5dc30149.js +0 -1
  588. package/.next/static/chunks/app/api/oauth/codex/import-token/route-a826a2eb5dc30149.js +0 -1
  589. package/.next/static/chunks/app/api/oauth/cursor/auto-import/route-a826a2eb5dc30149.js +0 -1
  590. package/.next/static/chunks/app/api/oauth/cursor/import/route-a826a2eb5dc30149.js +0 -1
  591. package/.next/static/chunks/app/api/oauth/gitlab/pat/route-a826a2eb5dc30149.js +0 -1
  592. package/.next/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a826a2eb5dc30149.js +0 -1
  593. package/.next/static/chunks/app/api/oauth/iflow/cookie/route-a826a2eb5dc30149.js +0 -1
  594. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a826a2eb5dc30149.js +0 -1
  595. package/.next/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a826a2eb5dc30149.js +0 -1
  596. package/.next/static/chunks/app/api/pricing/route-a826a2eb5dc30149.js +0 -1
  597. package/.next/static/chunks/app/api/provider-nodes/[id]/route-a826a2eb5dc30149.js +0 -1
  598. package/.next/static/chunks/app/api/provider-nodes/route-a826a2eb5dc30149.js +0 -1
  599. package/.next/static/chunks/app/api/provider-nodes/validate/route-a826a2eb5dc30149.js +0 -1
  600. package/.next/static/chunks/app/api/providers/[id]/models/route-a826a2eb5dc30149.js +0 -1
  601. package/.next/static/chunks/app/api/providers/[id]/route-a826a2eb5dc30149.js +0 -1
  602. package/.next/static/chunks/app/api/providers/[id]/test/route-a826a2eb5dc30149.js +0 -1
  603. package/.next/static/chunks/app/api/providers/[id]/test-models/route-a826a2eb5dc30149.js +0 -1
  604. package/.next/static/chunks/app/api/providers/client/route-a826a2eb5dc30149.js +0 -1
  605. package/.next/static/chunks/app/api/providers/kilo/free-models/route-a826a2eb5dc30149.js +0 -1
  606. package/.next/static/chunks/app/api/providers/route-a826a2eb5dc30149.js +0 -1
  607. package/.next/static/chunks/app/api/providers/suggested-models/route-a826a2eb5dc30149.js +0 -1
  608. package/.next/static/chunks/app/api/providers/test-batch/route-a826a2eb5dc30149.js +0 -1
  609. package/.next/static/chunks/app/api/providers/validate/route-a826a2eb5dc30149.js +0 -1
  610. package/.next/static/chunks/app/api/proxy-pools/[id]/route-a826a2eb5dc30149.js +0 -1
  611. package/.next/static/chunks/app/api/proxy-pools/[id]/test/route-a826a2eb5dc30149.js +0 -1
  612. package/.next/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a826a2eb5dc30149.js +0 -1
  613. package/.next/static/chunks/app/api/proxy-pools/deno-deploy/route-a826a2eb5dc30149.js +0 -1
  614. package/.next/static/chunks/app/api/proxy-pools/route-a826a2eb5dc30149.js +0 -1
  615. package/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-a826a2eb5dc30149.js +0 -1
  616. package/.next/static/chunks/app/api/pxpipe/health/route-a826a2eb5dc30149.js +0 -1
  617. package/.next/static/chunks/app/api/pxpipe/install/route-a826a2eb5dc30149.js +0 -1
  618. package/.next/static/chunks/app/api/pxpipe/logs/route-a826a2eb5dc30149.js +0 -1
  619. package/.next/static/chunks/app/api/pxpipe/restart/route-a826a2eb5dc30149.js +0 -1
  620. package/.next/static/chunks/app/api/pxpipe/start/route-a826a2eb5dc30149.js +0 -1
  621. package/.next/static/chunks/app/api/pxpipe/stats/route-a826a2eb5dc30149.js +0 -1
  622. package/.next/static/chunks/app/api/pxpipe/status/route-a826a2eb5dc30149.js +0 -1
  623. package/.next/static/chunks/app/api/pxpipe/stop/route-a826a2eb5dc30149.js +0 -1
  624. package/.next/static/chunks/app/api/settings/database/route-a826a2eb5dc30149.js +0 -1
  625. package/.next/static/chunks/app/api/settings/proxy-test/route-a826a2eb5dc30149.js +0 -1
  626. package/.next/static/chunks/app/api/settings/require-login/route-a826a2eb5dc30149.js +0 -1
  627. package/.next/static/chunks/app/api/settings/route-a826a2eb5dc30149.js +0 -1
  628. package/.next/static/chunks/app/api/shutdown/route-a826a2eb5dc30149.js +0 -1
  629. package/.next/static/chunks/app/api/tags/route-a826a2eb5dc30149.js +0 -1
  630. package/.next/static/chunks/app/api/translator/console-logs/route-a826a2eb5dc30149.js +0 -1
  631. package/.next/static/chunks/app/api/translator/console-logs/stream/route-a826a2eb5dc30149.js +0 -1
  632. package/.next/static/chunks/app/api/translator/load/route-a826a2eb5dc30149.js +0 -1
  633. package/.next/static/chunks/app/api/translator/save/route-a826a2eb5dc30149.js +0 -1
  634. package/.next/static/chunks/app/api/translator/send/route-a826a2eb5dc30149.js +0 -1
  635. package/.next/static/chunks/app/api/translator/translate/route-a826a2eb5dc30149.js +0 -1
  636. package/.next/static/chunks/app/api/tunnel/disable/route-a826a2eb5dc30149.js +0 -1
  637. package/.next/static/chunks/app/api/tunnel/enable/route-a826a2eb5dc30149.js +0 -1
  638. package/.next/static/chunks/app/api/tunnel/status/route-a826a2eb5dc30149.js +0 -1
  639. package/.next/static/chunks/app/api/tunnel/tailscale-check/route-a826a2eb5dc30149.js +0 -1
  640. package/.next/static/chunks/app/api/tunnel/tailscale-disable/route-a826a2eb5dc30149.js +0 -1
  641. package/.next/static/chunks/app/api/tunnel/tailscale-enable/route-a826a2eb5dc30149.js +0 -1
  642. package/.next/static/chunks/app/api/tunnel/tailscale-install/route-a826a2eb5dc30149.js +0 -1
  643. package/.next/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a826a2eb5dc30149.js +0 -1
  644. package/.next/static/chunks/app/api/usage/[connectionId]/route-a826a2eb5dc30149.js +0 -1
  645. package/.next/static/chunks/app/api/usage/chart/route-a826a2eb5dc30149.js +0 -1
  646. package/.next/static/chunks/app/api/usage/health/route-a826a2eb5dc30149.js +0 -1
  647. package/.next/static/chunks/app/api/usage/history/route-a826a2eb5dc30149.js +0 -1
  648. package/.next/static/chunks/app/api/usage/logs/route-a826a2eb5dc30149.js +0 -1
  649. package/.next/static/chunks/app/api/usage/providers/route-a826a2eb5dc30149.js +0 -1
  650. package/.next/static/chunks/app/api/usage/request-details/route-a826a2eb5dc30149.js +0 -1
  651. package/.next/static/chunks/app/api/usage/request-logs/route-a826a2eb5dc30149.js +0 -1
  652. package/.next/static/chunks/app/api/usage/stats/route-a826a2eb5dc30149.js +0 -1
  653. package/.next/static/chunks/app/api/usage/stream/route-a826a2eb5dc30149.js +0 -1
  654. package/.next/static/chunks/app/api/v1/api/chat/route-a826a2eb5dc30149.js +0 -1
  655. package/.next/static/chunks/app/api/v1/audio/speech/route-a826a2eb5dc30149.js +0 -1
  656. package/.next/static/chunks/app/api/v1/audio/transcriptions/route-a826a2eb5dc30149.js +0 -1
  657. package/.next/static/chunks/app/api/v1/audio/voices/route-a826a2eb5dc30149.js +0 -1
  658. package/.next/static/chunks/app/api/v1/chat/completions/route-a826a2eb5dc30149.js +0 -1
  659. package/.next/static/chunks/app/api/v1/embeddings/route-a826a2eb5dc30149.js +0 -1
  660. package/.next/static/chunks/app/api/v1/images/generations/route-a826a2eb5dc30149.js +0 -1
  661. package/.next/static/chunks/app/api/v1/messages/count_tokens/route-a826a2eb5dc30149.js +0 -1
  662. package/.next/static/chunks/app/api/v1/messages/route-a826a2eb5dc30149.js +0 -1
  663. package/.next/static/chunks/app/api/v1/models/[...model]/route-a826a2eb5dc30149.js +0 -1
  664. package/.next/static/chunks/app/api/v1/models/info/route-a826a2eb5dc30149.js +0 -1
  665. package/.next/static/chunks/app/api/v1/models/route-a826a2eb5dc30149.js +0 -1
  666. package/.next/static/chunks/app/api/v1/responses/compact/route-a826a2eb5dc30149.js +0 -1
  667. package/.next/static/chunks/app/api/v1/responses/route-a826a2eb5dc30149.js +0 -1
  668. package/.next/static/chunks/app/api/v1/route-a826a2eb5dc30149.js +0 -1
  669. package/.next/static/chunks/app/api/v1/search/route-a826a2eb5dc30149.js +0 -1
  670. package/.next/static/chunks/app/api/v1/systemone/route-a826a2eb5dc30149.js +0 -1
  671. package/.next/static/chunks/app/api/v1/videos/[id]/route-a826a2eb5dc30149.js +0 -1
  672. package/.next/static/chunks/app/api/v1/videos/edits/route-a826a2eb5dc30149.js +0 -1
  673. package/.next/static/chunks/app/api/v1/videos/extensions/route-a826a2eb5dc30149.js +0 -1
  674. package/.next/static/chunks/app/api/v1/videos/generations/route-a826a2eb5dc30149.js +0 -1
  675. package/.next/static/chunks/app/api/v1/web/fetch/route-a826a2eb5dc30149.js +0 -1
  676. package/.next/static/chunks/app/api/v1beta/models/[...path]/route-a826a2eb5dc30149.js +0 -1
  677. package/.next/static/chunks/app/api/v1beta/models/route-a826a2eb5dc30149.js +0 -1
  678. package/.next/static/chunks/app/api/version/route-a826a2eb5dc30149.js +0 -1
  679. package/.next/static/chunks/app/api/version/shutdown/route-a826a2eb5dc30149.js +0 -1
  680. package/.next/static/chunks/app/api/version/update/route-a826a2eb5dc30149.js +0 -1
  681. package/.next/static/chunks/app/callback/page-f714c2306a1e9004.js +0 -1
  682. package/.next/static/chunks/app/dashboard/settings/pricing/page-86197107690a0580.js +0 -1
  683. package/.next/static/chunks/app/landing/page-7a83d1be493ddc8c.js +0 -1
  684. package/.next/static/chunks/app/layout-f34e075b1872747e.js +0 -1
  685. package/.next/static/chunks/app/manifest.webmanifest/route-a826a2eb5dc30149.js +0 -1
  686. package/.next/static/chunks/app/page-a826a2eb5dc30149.js +0 -1
  687. package/.next/static/chunks/next/dist/client/components/builtin/app-error-a826a2eb5dc30149.js +0 -1
  688. package/.next/static/chunks/next/dist/client/components/builtin/forbidden-a826a2eb5dc30149.js +0 -1
  689. package/.next/static/chunks/next/dist/client/components/builtin/not-found-a826a2eb5dc30149.js +0 -1
  690. package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-a826a2eb5dc30149.js +0 -1
  691. package/.next/static/css/a2628e64fa8ac12e.css +0 -1
  692. package/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.tsx +0 -1178
  693. package/src/app/(dashboard)/dashboard/basic-chat/page.tsx +0 -5
  694. package/src/app/api/dashboard/chat/completions/route.ts +0 -45
  695. /package/.next/static/{C423Aljus-j0GJlKCHgC1 → wBARQPScPhD6SLn7WQvI9}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- (()=>{var a={};a.id=2421,a.ids=[2421],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},28589:(a,b,c)=>{Promise.resolve().then(c.bind(c,41923))},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34094:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});var d=c(26720),e=c(29966),f=c(36243),g=c(70310),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,79452))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,11089))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),u=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["systemone",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,65307))),"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/10Router/10Router/src/app/(dashboard)/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/10Router/10Router/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/media-providers/systemone/[id]/page",pathname:"/dashboard/media-providers/systemone/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},41923:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>F});var d=c(86240),e=c(4459),f=c.n(e),g=c(70126),h=c(70433),i=c(4271),j=c(63265),k=c(29184),l=c(28907),m=c(92968),n=c(5409),o=c(92393),p=c(83777),q=c(67209),r=c(20482),s=c(65342),t=c(70369);function u({isOpen:a,provider:b,providerName:c,proxyPools:e,onSave:f,onClose:g}){let i="__none__",[l,m]=(0,h.useState)({name:"",apiKey:"",priority:1,proxyPoolId:i}),[n,o]=(0,h.useState)(!1),[r,s]=(0,h.useState)(null),[t,v]=(0,h.useState)(!1),w=async()=>{o(!0);try{let a=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:l.apiKey})}),c=await a.json();s(c.valid?"success":"failed")}catch{s("failed")}finally{o(!1)}},x=async()=>{if(b&&l.apiKey){v(!0);try{let a=!1;try{o(!0),s(null);let c=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:l.apiKey})});a=!!(await c.json()).valid,s(a?"success":"failed")}catch{s("failed")}finally{o(!1)}await f({name:l.name,apiKey:l.apiKey,priority:l.priority,proxyPoolId:l.proxyPoolId===i?null:l.proxyPoolId,testStatus:a?"active":"unknown"})}finally{v(!1)}}};return b?(0,d.jsx)(q.lG,{open:a,onOpenChange:a=>!a&&g(),children:(0,d.jsxs)(q.Cf,{className:"max-w-md",children:[(0,d.jsx)(q.c7,{children:(0,d.jsx)(q.L3,{children:`Add ${c||b} API Key`})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Name"}),(0,d.jsx)("input",{className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.name,onChange:a=>m({...l,name:a.target.value}),placeholder:"Production Key"})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"API Key"}),(0,d.jsx)("input",{type:"password",className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.apiKey,onChange:a=>m({...l,apiKey:a.target.value})})]}),(0,d.jsx)("div",{className:"pt-6",children:(0,d.jsx)(j.$,{onClick:w,disabled:!l.apiKey||n||t,variant:"secondary",children:n?"Checking...":"Check"})})]}),r&&(0,d.jsx)(k.E,{variant:"success"===r?"default":"destructive",children:"success"===r?"Valid":"Invalid"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Priority"}),(0,d.jsx)("input",{type:"number",className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.priority,onChange:a=>m({...l,priority:Number.parseInt(a.target.value)||1})})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,d.jsx)("label",{className:"text-sm font-medium text-foreground",children:"Proxy Pool"}),(0,d.jsxs)(p.l6,{value:l.proxyPoolId,onValueChange:a=>m({...l,proxyPoolId:a}),children:[(0,d.jsx)(p.bq,{className:"w-full",children:(0,d.jsx)(p.yv,{placeholder:"None"})}),(0,d.jsxs)(p.gC,{children:[(0,d.jsx)(p.eb,{value:i,children:"None"}),(e||[]).map(a=>(0,d.jsx)(p.eb,{value:String(a.id),children:a.name},a.id))]})]})]}),(0,d.jsx)(j.$,{onClick:x,className:"w-full",disabled:!l.name||!l.apiKey||t,children:t?"Saving...":"Save"})]})]})}):null}function v({providerId:a,isOAuth:b}){let[c,e]=(0,h.useState)([]),[f,g]=(0,h.useState)([]),[k,m]=(0,h.useState)(!0),[n,o]=(0,h.useState)(!1),[p,q]=(0,h.useState)(!1),[w,x]=(0,h.useState)(null),[y,z]=(0,h.useState)(null),[A,B]=(0,h.useState)("1"),[C,D]=(0,h.useState)(null),E=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),f=await b.json(),h=await c.json(),i=d.ok?await d.json():{};b.ok&&e((f.connections||[]).filter(b=>b.provider===a)),c.ok&&g(h.proxyPools||[]);let j=(i.providerStrategies||{})[a]||{};z(j.fallbackStrategy||null),B(null!=j.stickyRoundRobinLimit?String(j.stickyRoundRobinLimit):"1")}catch(a){console.log("ConnectionsCard fetch error:",a)}finally{m(!1)}},[a]),F=async(b,c)=>{try{let d=await fetch("/api/settings",{cache:"no-store"}),e=(d.ok?await d.json():{}).providerStrategies||{},f={};b&&(f.fallbackStrategy=b),"round-robin"===b&&""!==c&&(f.stickyRoundRobinLimit=Number(c)||3);let g={...e};0===Object.keys(f).length?delete g[a]:g[a]=f,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:g})})}catch(a){console.log("saveStrategy error:",a)}},G=async(a,b)=>{let d=[...c];[d[a],d[b]]=[d[b],d[a]],e(d);try{await Promise.all([fetch(`/api/providers/${d[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${d[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch{await E()}},H=async a=>{D({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{D(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&e(b=>b.filter(b=>b.id!==a))}catch(a){console.log("delete error:",a)}}})},I=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&e(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("toggle error:",a)}},J=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&e(c=>c.map(c=>c.id===a?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("proxy error:",a)}},K=async b=>{try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:a,...b})})).ok&&(await E(),o(!1))}catch(a){console.log("save apikey error:",a)}},L=async a=>{try{(await fetch(`/api/providers/${w.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await E(),q(!1))}catch(a){console.log("update connection error:",a)}};return k?(0,d.jsx)(r.KX,{}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Zp,{children:(0,d.jsxs)(i.Wu,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between mb-4",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground font-medium",children:"Round Robin"}),(0,d.jsx)(t.d,{checked:"round-robin"===y,onCheckedChange:a=>{let b=a?"round-robin":null;z(b),a&&!A&&B("1"),F(b,a?A||"1":A)}}),"round-robin"===y&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:A,onChange:a=>{B(a.target.value),F("round-robin",a.target.value)},className:"w-16 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]}),0===c.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:"No connections yet"}),(0,d.jsxs)(j.$,{size:"sm",onClick:()=>o(!0),children:[(0,d.jsx)(l.default,{name:"add"}),"Add Connection"]})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"flex flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03] max-h-[500px] overflow-y-auto pr-1",children:c.map((a,e)=>(0,d.jsx)(s.A,{connection:a,proxyPools:f,isOAuth:b,isFirst:0===e,isLast:e===c.length-1,onMoveUp:()=>G(e,e-1),onMoveDown:()=>G(e,e+1),onToggleActive:b=>I(a.id,b),onUpdateProxy:b=>J(a.id,b),onEdit:()=>{x(a),q(!0)},onDelete:()=>H(a.id)},a.id))}),(0,d.jsx)("div",{className:"mt-4 flex justify-stretch sm:justify-start",children:(0,d.jsxs)(j.$,{size:"sm",onClick:()=>o(!0),children:[(0,d.jsx)(l.default,{name:"add"}),"Add"]})})]})]})}),(0,d.jsx)(u,{isOpen:n,provider:a,proxyPools:f,onSave:K,onClose:()=>o(!1)}),(0,d.jsx)(r.wI,{isOpen:p,connection:w,proxyPools:f,onSave:L,onClose:()=>q(!1)}),(0,d.jsx)(r.uo,{isOpen:!!C,onClose:()=>D(null),onConfirm:C?.onConfirm,title:C?.title||"Confirm",message:C?.message,variant:"danger"})]})}var w=c(31952),x=c(95137),y=c(86177),z=c(57145);function A({model:a,fullModel:b,copied:c,onCopy:e,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let m="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,d.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(l.default,{name:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy",className:"text-base",style:m?{color:m}:void 0}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("code",{className:"text-xs text-muted-foreground font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,d.jsx)("span",{className:"text-[9px] text-muted-foreground/70 italic pl-1",children:a.name})]}),j&&(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-muted-foreground hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,d.jsx)(l.default,{name:k?"progress_activity":"science",className:"text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0})}),(0,d.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-muted-foreground whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:k?"Testing...":"Test"})]}),(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:()=>e(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-muted-foreground hover:text-primary",children:(0,d.jsx)(l.default,{name:c===`model-${a.id}`?"check":"content_copy",className:"text-sm"})}),(0,d.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-muted-foreground whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,d.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),g&&(0,d.jsxs)(w.m_,{children:[(0,d.jsx)(w.k$,{asChild:!0,children:(0,d.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-muted-foreground hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",children:(0,d.jsx)(l.default,{name:"close",className:"text-sm"})})}),(0,d.jsx)(w.ZI,{children:"Remove custom model"})]})]})})}function B({isOpen:a,onSave:b,onClose:c}){let[e,f]=(0,h.useState)(""),g=()=>{e.trim()&&(b(e.trim()),f(""))};return(0,d.jsx)(q.lG,{open:a,onOpenChange:a=>!a&&c(),children:(0,d.jsxs)(q.Cf,{className:"max-w-md",children:[(0,d.jsx)(q.c7,{children:(0,d.jsx)(q.L3,{children:"Add Custom Model"})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Model ID"}),(0,d.jsx)("input",{className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:e,onChange:a=>f(a.target.value),onKeyDown:a=>"Enter"===a.key&&g(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,d.jsx)(j.$,{onClick:g,className:"w-full",disabled:!e.trim(),children:"Add"})]})]})})}function C({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:e,copy:f}=(0,z.C)(),[g,j]=(0,h.useState)({}),[k,m]=(0,h.useState)([]),[n,o]=(0,h.useState)({}),[p,q]=(0,h.useState)(null),[r,s]=(0,h.useState)(""),[t,u]=(0,h.useState)(!1),v=c||(0,y.wG)(a),w=b||"llm",D=(0,h.useCallback)(async()=>{try{let[a,b]=await Promise.all([fetch("/api/models/alias"),fetch("/api/models/custom",{cache:"no-store"})]),c=await a.json(),d=await b.json();a.ok&&j(c.aliases||{}),b.ok&&m(d.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[]),E=async(a,b)=>{let c=`${v}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await D()}catch(a){console.log("set alias error:",a)}},F=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await D()}catch(a){console.log("delete alias error:",a)}},G=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:v,id:a,type:w})})).ok&&(await D(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},H=async a=>{try{let b=new URLSearchParams({providerAlias:v,id:a,type:w});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await D(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},I=async a=>{if(!p){q(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${v}/${a}`,kind:b})}),d=await c.json();o(b=>({...b,[a]:d.ok?"ok":"error"})),s(d.ok?"":d.error||"Model not reachable")}catch{o(b=>({...b,[a]:"error"})),s("Network error")}finally{q(null)}}},J=(0,x.KC)(a),K=b?J.filter(a=>a.kinds?a.kinds.includes(b):(0,x.CP)(a,"llm")===b):J,L=k.filter(a=>a.providerAlias===v&&(0,x.CP)(a,"llm")===w&&!K.some(b=>b.id===a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Zp,{children:(0,d.jsxs)(i.Wu,{children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),r&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:r}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[K.map(a=>{let b=`${v}/${a.id}`,c=Object.entries(g).find(([,a])=>a===b)?.[0];return(0,d.jsx)(A,{model:a,fullModel:`${v}/${a.id}`,alias:c,copied:e,onCopy:f,onSetAlias:b=>E(a.id,b),onDeleteAlias:()=>F(c),testStatus:n[a.id],onTest:()=>I(a.id),isTesting:p===a.id,isFree:a.isFree},a.id)}),L.map(a=>(0,d.jsx)(A,{model:{id:a.id,name:a.name},fullModel:`${v}/${a.id}`,copied:e,onCopy:f,onSetAlias:()=>{},onDeleteAlias:()=>H(a.id),testStatus:n[a.id],onTest:()=>I(a.id),isTesting:p===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,d.jsxs)("button",{onClick:()=>u(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-muted-foreground hover:text-primary hover:border-primary/40 transition-colors",children:[(0,d.jsx)(l.default,{name:"add",className:"text-sm"}),"Add Model"]})]})]})}),(0,d.jsx)(B,{isOpen:t,onSave:async a=>{await G(a),u(!1)},onClose:()=>u(!1)})]})}function D({label:a,children:b}){return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5 sm:flex-row sm:items-center sm:gap-3",children:[(0,d.jsx)("span",{className:"w-full text-xs font-medium text-muted-foreground sm:w-20 sm:shrink-0",children:a}),(0,d.jsx)("div",{className:"w-full min-w-0 flex-1",children:b})]})}let E="Does this request require urgent attention?";function F(){let{id:a}=(0,g.useParams)(),b=y.rj.find(a=>"systemone"===a.id);if(!b)return(0,g.notFound)();let c=y.Q2[a]||(0,y.zt)(a);if(!c)return(0,g.notFound)();let e=c.id,p=c.serviceKinds??["llm"];if(!p.includes("systemone"))return(0,g.notFound)();let q=(0,y.wG)(e),r=(0,x.KC)(e).filter(a=>"systemone"===(0,x.CP)(a)),[s,t]=(0,h.useState)(r[0]?.id??""),[u,w]=(0,h.useState)("My payments have failed for three days and I am losing sales. Please help now."),[A,B]=(0,h.useState)(E),[F,G]=(0,h.useState)(""),[H,I]=(0,h.useState)(!1),[J,K]=(0,h.useState)(""),[L,M]=(0,h.useState)(null),[N,O]=(0,h.useState)(null),[P,Q]=(0,h.useState)(""),{copied:R,copy:S}=(0,z.C)(),{copied:T,copy:U}=(0,z.C)(),V=s?`${q}/${s}`:q,W={model:V,state:u,questions:{is_urgent:{type:"noul",instructions:A.trim()||E}}},X=P||window.location.origin,Y=b.endpoint.path,Z=`curl -X ${b.endpoint.method} ${X}${Y} \\
1
+ (()=>{var a={};a.id=2421,a.ids=[2421],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{"use strict";a.exports=require("node:buffer")},7066:a=>{"use strict";a.exports=require("node:tty")},8128:a=>{"use strict";a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{"use strict";a.exports=require("dns")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},28589:(a,b,c)=>{Promise.resolve().then(c.bind(c,41923))},29021:a=>{"use strict";a.exports=require("fs")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32467:a=>{"use strict";a.exports=require("node:http2")},33873:a=>{"use strict";a.exports=require("path")},34589:a=>{"use strict";a.exports=require("node:assert")},37067:a=>{"use strict";a.exports=require("node:http")},37540:a=>{"use strict";a.exports=require("node:console")},38522:a=>{"use strict";a.exports=require("node:zlib")},40610:a=>{"use strict";a.exports=require("node:dns")},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},41692:a=>{"use strict";a.exports=require("node:tls")},41792:a=>{"use strict";a.exports=require("node:querystring")},41923:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>F});var d=c(86240),e=c(4459),f=c.n(e),g=c(70126),h=c(70433),i=c(4271),j=c(63265),k=c(29184),l=c(28907),m=c(92968),n=c(5409),o=c(92393),p=c(83777),q=c(67209),r=c(20482),s=c(65342),t=c(70369);function u({isOpen:a,provider:b,providerName:c,proxyPools:e,onSave:f,onClose:g}){let i="__none__",[l,m]=(0,h.useState)({name:"",apiKey:"",priority:1,proxyPoolId:i}),[n,o]=(0,h.useState)(!1),[r,s]=(0,h.useState)(null),[t,v]=(0,h.useState)(!1),w=async()=>{o(!0);try{let a=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:l.apiKey})}),c=await a.json();s(c.valid?"success":"failed")}catch{s("failed")}finally{o(!1)}},x=async()=>{if(b&&l.apiKey){v(!0);try{let a=!1;try{o(!0),s(null);let c=await fetch("/api/providers/validate",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:b,apiKey:l.apiKey})});a=!!(await c.json()).valid,s(a?"success":"failed")}catch{s("failed")}finally{o(!1)}await f({name:l.name,apiKey:l.apiKey,priority:l.priority,proxyPoolId:l.proxyPoolId===i?null:l.proxyPoolId,testStatus:a?"active":"unknown"})}finally{v(!1)}}};return b?(0,d.jsx)(q.lG,{open:a,onOpenChange:a=>!a&&g(),children:(0,d.jsxs)(q.Cf,{className:"max-w-md",children:[(0,d.jsx)(q.c7,{children:(0,d.jsx)(q.L3,{children:`Add ${c||b} API Key`})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Name"}),(0,d.jsx)("input",{className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.name,onChange:a=>m({...l,name:a.target.value}),placeholder:"Production Key"})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"API Key"}),(0,d.jsx)("input",{type:"password",className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.apiKey,onChange:a=>m({...l,apiKey:a.target.value})})]}),(0,d.jsx)("div",{className:"pt-6",children:(0,d.jsx)(j.$,{onClick:w,disabled:!l.apiKey||n||t,variant:"secondary",children:n?"Checking...":"Check"})})]}),r&&(0,d.jsx)(k.E,{variant:"success"===r?"default":"destructive",children:"success"===r?"Valid":"Invalid"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Priority"}),(0,d.jsx)("input",{type:"number",className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:l.priority,onChange:a=>m({...l,priority:Number.parseInt(a.target.value)||1})})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,d.jsx)("label",{className:"text-sm font-medium text-foreground",children:"Proxy Pool"}),(0,d.jsxs)(p.l6,{value:l.proxyPoolId,onValueChange:a=>m({...l,proxyPoolId:a}),children:[(0,d.jsx)(p.bq,{className:"w-full",children:(0,d.jsx)(p.yv,{placeholder:"None"})}),(0,d.jsxs)(p.gC,{children:[(0,d.jsx)(p.eb,{value:i,children:"None"}),(e||[]).map(a=>(0,d.jsx)(p.eb,{value:String(a.id),children:a.name},a.id))]})]})]}),(0,d.jsx)(j.$,{onClick:x,className:"w-full",disabled:!l.name||!l.apiKey||t,children:t?"Saving...":"Save"})]})]})}):null}function v({providerId:a,isOAuth:b}){let[c,e]=(0,h.useState)([]),[f,g]=(0,h.useState)([]),[k,m]=(0,h.useState)(!0),[n,o]=(0,h.useState)(!1),[p,q]=(0,h.useState)(!1),[w,x]=(0,h.useState)(null),[y,z]=(0,h.useState)(null),[A,B]=(0,h.useState)("1"),[C,D]=(0,h.useState)(null),E=(0,h.useCallback)(async()=>{try{let[b,c,d]=await Promise.all([fetch("/api/providers",{cache:"no-store"}),fetch("/api/proxy-pools?isActive=true",{cache:"no-store"}),fetch("/api/settings",{cache:"no-store"})]),f=await b.json(),h=await c.json(),i=d.ok?await d.json():{};b.ok&&e((f.connections||[]).filter(b=>b.provider===a)),c.ok&&g(h.proxyPools||[]);let j=(i.providerStrategies||{})[a]||{};z(j.fallbackStrategy||null),B(null!=j.stickyRoundRobinLimit?String(j.stickyRoundRobinLimit):"1")}catch(a){console.log("ConnectionsCard fetch error:",a)}finally{m(!1)}},[a]),F=async(b,c)=>{try{let d=await fetch("/api/settings",{cache:"no-store"}),e=(d.ok?await d.json():{}).providerStrategies||{},f={};b&&(f.fallbackStrategy=b),"round-robin"===b&&""!==c&&(f.stickyRoundRobinLimit=Number(c)||3);let g={...e};0===Object.keys(f).length?delete g[a]:g[a]=f,await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerStrategies:g})})}catch(a){console.log("saveStrategy error:",a)}},G=async(a,b)=>{let d=[...c];[d[a],d[b]]=[d[b],d[a]],e(d);try{await Promise.all([fetch(`/api/providers/${d[a].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:a})}),fetch(`/api/providers/${d[b].id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({priority:b})})])}catch{await E()}},H=async a=>{D({title:"Delete Connection",message:"Delete this connection?",onConfirm:async()=>{D(null);try{(await fetch(`/api/providers/${a}`,{method:"DELETE"})).ok&&e(b=>b.filter(b=>b.id!==a))}catch(a){console.log("delete error:",a)}}})},I=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&e(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("toggle error:",a)}},J=async(a,b)=>{try{(await fetch(`/api/providers/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyPoolId:b||null})})).ok&&e(c=>c.map(c=>c.id===a?{...c,providerSpecificData:{...c.providerSpecificData,proxyPoolId:b||null}}:c))}catch(a){console.log("proxy error:",a)}},K=async b=>{try{(await fetch("/api/providers",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({provider:a,...b})})).ok&&(await E(),o(!1))}catch(a){console.log("save apikey error:",a)}},L=async a=>{try{(await fetch(`/api/providers/${w.id}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})).ok&&(await E(),q(!1))}catch(a){console.log("update connection error:",a)}};return k?(0,d.jsx)(r.KX,{}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Zp,{children:(0,d.jsxs)(i.Wu,{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between mb-4",children:[(0,d.jsx)("h2",{className:"text-lg font-semibold",children:"Connections"}),(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground font-medium",children:"Round Robin"}),(0,d.jsx)(t.d,{checked:"round-robin"===y,onCheckedChange:a=>{let b=a?"round-robin":null;z(b),a&&!A&&B("1"),F(b,a?A||"1":A)}}),"round-robin"===y&&(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-1.5",children:[(0,d.jsx)("span",{className:"text-xs text-muted-foreground",children:"Sticky:"}),(0,d.jsx)("input",{type:"number",min:1,value:A,onChange:a=>{B(a.target.value),F("round-robin",a.target.value)},className:"w-16 px-2 py-1 text-xs border border-border rounded-md bg-background focus:outline-none focus:border-primary"})]})]})]}),0===c.length?(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[(0,d.jsx)("p",{className:"text-sm text-muted-foreground",children:"No connections yet"}),(0,d.jsxs)(j.$,{size:"sm",onClick:()=>o(!0),children:[(0,d.jsx)(l.default,{name:"add"}),"Add Connection"]})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("div",{className:"flex flex-col divide-y divide-black/[0.03] dark:divide-white/[0.03] max-h-[500px] overflow-y-auto pr-1",children:c.map((a,e)=>(0,d.jsx)(s.A,{connection:a,proxyPools:f,isOAuth:b,isFirst:0===e,isLast:e===c.length-1,onMoveUp:()=>G(e,e-1),onMoveDown:()=>G(e,e+1),onToggleActive:b=>I(a.id,b),onUpdateProxy:b=>J(a.id,b),onEdit:()=>{x(a),q(!0)},onDelete:()=>H(a.id)},a.id))}),(0,d.jsx)("div",{className:"mt-4 flex justify-stretch sm:justify-start",children:(0,d.jsxs)(j.$,{size:"sm",onClick:()=>o(!0),children:[(0,d.jsx)(l.default,{name:"add"}),"Add"]})})]})]})}),(0,d.jsx)(u,{isOpen:n,provider:a,proxyPools:f,onSave:K,onClose:()=>o(!1)}),(0,d.jsx)(r.wI,{isOpen:p,connection:w,proxyPools:f,onSave:L,onClose:()=>q(!1)}),(0,d.jsx)(r.uo,{isOpen:!!C,onClose:()=>D(null),onConfirm:C?.onConfirm,title:C?.title||"Confirm",message:C?.message,variant:"danger"})]})}var w=c(31952),x=c(95137),y=c(86177),z=c(57145);function A({model:a,fullModel:b,copied:c,onCopy:e,testStatus:f,isCustom:g,isFree:h,onDeleteAlias:i,onTest:j,isTesting:k}){let m="ok"===f?"#22c55e":"error"===f?"#ef4444":void 0;return(0,d.jsx)("div",{className:`group px-3 py-2 rounded-lg border ${"ok"===f?"border-green-500/40":"error"===f?"border-red-500/40":"border-border"} hover:bg-sidebar/50`,children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(l.default,{name:"ok"===f?"check_circle":"error"===f?"cancel":"smart_toy",className:"text-base",style:m?{color:m}:void 0}),(0,d.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,d.jsx)("code",{className:"text-xs text-muted-foreground font-mono bg-sidebar px-1.5 py-0.5 rounded",children:b}),a.name&&(0,d.jsx)("span",{className:"text-[9px] text-muted-foreground/70 italic pl-1",children:a.name})]}),j&&(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:j,disabled:k,className:`p-0.5 hover:bg-sidebar rounded text-muted-foreground hover:text-primary transition-opacity ${k?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:(0,d.jsx)(l.default,{name:k?"progress_activity":"science",className:"text-sm",style:k?{animation:"spin 1s linear infinite"}:void 0})}),(0,d.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-muted-foreground whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:k?"Testing...":"Test"})]}),(0,d.jsxs)("div",{className:"relative group/btn",children:[(0,d.jsx)("button",{onClick:()=>e(b,`model-${a.id}`),className:"p-0.5 hover:bg-sidebar rounded text-muted-foreground hover:text-primary",children:(0,d.jsx)(l.default,{name:c===`model-${a.id}`?"check":"content_copy",className:"text-sm"})}),(0,d.jsx)("span",{className:"pointer-events-none absolute mt-1 top-5 left-1/2 -translate-x-1/2 text-[10px] text-muted-foreground whitespace-nowrap opacity-0 group-hover/btn:opacity-100 transition-opacity",children:c===`model-${a.id}`?"Copied!":"Copy"})]}),h&&(0,d.jsx)("span",{className:"text-[10px] font-bold text-green-500 bg-green-500/10 px-1.5 py-0.5 rounded",children:"FREE"}),g&&(0,d.jsxs)(w.m_,{children:[(0,d.jsx)(w.k$,{asChild:!0,children:(0,d.jsx)("button",{onClick:i,className:"p-0.5 hover:bg-red-500/10 rounded text-muted-foreground hover:text-red-500 opacity-0 group-hover:opacity-100 transition-opacity ml-auto",children:(0,d.jsx)(l.default,{name:"close",className:"text-sm"})})}),(0,d.jsx)(w.ZI,{children:"Remove custom model"})]})]})})}function B({isOpen:a,onSave:b,onClose:c}){let[e,f]=(0,h.useState)(""),g=()=>{e.trim()&&(b(e.trim()),f(""))};return(0,d.jsx)(q.lG,{open:a,onOpenChange:a=>!a&&c(),children:(0,d.jsxs)(q.Cf,{className:"max-w-md",children:[(0,d.jsx)(q.c7,{children:(0,d.jsx)(q.L3,{children:"Add Custom Model"})}),(0,d.jsxs)("div",{className:"flex max-h-[calc(85vh-120px)] flex-col gap-4 overflow-y-auto p-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("label",{className:"text-xs text-muted-foreground mb-1 block",children:"Model ID"}),(0,d.jsx)("input",{className:"w-full min-w-0 px-3 py-2 text-sm border border-border rounded-lg bg-background focus:outline-none focus:border-primary",value:e,onChange:a=>f(a.target.value),onKeyDown:a=>"Enter"===a.key&&g(),placeholder:"e.g. tts-1-hd",autoFocus:!0})]}),(0,d.jsx)(j.$,{onClick:g,className:"w-full",disabled:!e.trim(),children:"Add"})]})]})})}function C({providerId:a,kindFilter:b,providerAliasOverride:c}){let{copied:e,copy:f}=(0,z.C)(),[g,j]=(0,h.useState)({}),[k,m]=(0,h.useState)([]),[n,o]=(0,h.useState)({}),[p,q]=(0,h.useState)(null),[r,s]=(0,h.useState)(""),[t,u]=(0,h.useState)(!1),v=c||(0,y.wG)(a),w=b||"llm",D=(0,h.useCallback)(async()=>{try{let[a,b]=await Promise.all([fetch("/api/models/alias"),fetch("/api/models/custom",{cache:"no-store"})]),c=await a.json(),d=await b.json();a.ok&&j(c.aliases||{}),b.ok&&m(d.models||[])}catch(a){console.log("ModelsCard fetch error:",a)}},[]),E=async(a,b)=>{let c=`${v}/${a}`;try{(await fetch("/api/models/alias",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:c,alias:b})})).ok&&await D()}catch(a){console.log("set alias error:",a)}},F=async a=>{try{(await fetch(`/api/models/alias?alias=${encodeURIComponent(a)}`,{method:"DELETE"})).ok&&await D()}catch(a){console.log("delete alias error:",a)}},G=async a=>{try{(await fetch("/api/models/custom",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({providerAlias:v,id:a,type:w})})).ok&&(await D(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("add custom model error:",a)}},H=async a=>{try{let b=new URLSearchParams({providerAlias:v,id:a,type:w});(await fetch(`/api/models/custom?${b}`,{method:"DELETE"})).ok&&(await D(),window.dispatchEvent(new CustomEvent("customModelChanged")))}catch(a){console.log("delete custom model error:",a)}},I=async a=>{if(!p){q(a);try{let c=await fetch("/api/models/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({model:`${v}/${a}`,kind:b})}),d=await c.json();o(b=>({...b,[a]:d.ok?"ok":"error"})),s(d.ok?"":d.error||"Model not reachable")}catch{o(b=>({...b,[a]:"error"})),s("Network error")}finally{q(null)}}},J=(0,x.KC)(a),K=b?J.filter(a=>a.kinds?a.kinds.includes(b):(0,x.CP)(a,"llm")===b):J,L=k.filter(a=>a.providerAlias===v&&(0,x.CP)(a,"llm")===w&&!K.some(b=>b.id===a.id));return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(i.Zp,{children:(0,d.jsxs)(i.Wu,{children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold",children:["Models",b?` — ${b.toUpperCase()}`:""]})}),r&&(0,d.jsx)("p",{className:"text-xs text-red-500 mb-3 break-words",children:r}),(0,d.jsxs)("div",{className:"flex flex-wrap gap-3",children:[K.map(a=>{let b=`${v}/${a.id}`,c=Object.entries(g).find(([,a])=>a===b)?.[0];return(0,d.jsx)(A,{model:a,fullModel:`${v}/${a.id}`,alias:c,copied:e,onCopy:f,onSetAlias:b=>E(a.id,b),onDeleteAlias:()=>F(c),testStatus:n[a.id],onTest:()=>I(a.id),isTesting:p===a.id,isFree:a.isFree},a.id)}),L.map(a=>(0,d.jsx)(A,{model:{id:a.id,name:a.name},fullModel:`${v}/${a.id}`,copied:e,onCopy:f,onSetAlias:()=>{},onDeleteAlias:()=>H(a.id),testStatus:n[a.id],onTest:()=>I(a.id),isTesting:p===a.id,isCustom:!0},`${a.id}-${a.type}`)),(0,d.jsxs)("button",{onClick:()=>u(!0),className:"flex items-center gap-1.5 px-3 py-2 rounded-lg border border-dashed border-black/15 dark:border-white/15 text-xs text-muted-foreground hover:text-primary hover:border-primary/40 transition-colors",children:[(0,d.jsx)(l.default,{name:"add",className:"text-sm"}),"Add Model"]})]})]})}),(0,d.jsx)(B,{isOpen:t,onSave:async a=>{await G(a),u(!1)},onClose:()=>u(!1)})]})}function D({label:a,children:b}){return(0,d.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5 sm:flex-row sm:items-center sm:gap-3",children:[(0,d.jsx)("span",{className:"w-full text-xs font-medium text-muted-foreground sm:w-20 sm:shrink-0",children:a}),(0,d.jsx)("div",{className:"w-full min-w-0 flex-1",children:b})]})}let E="Does this request require urgent attention?";function F(){let{id:a}=(0,g.useParams)(),b=y.rj.find(a=>"systemone"===a.id);if(!b)return(0,g.notFound)();let c=y.Q2[a]||(0,y.zt)(a);if(!c)return(0,g.notFound)();let e=c.id,p=c.serviceKinds??["llm"];if(!p.includes("systemone"))return(0,g.notFound)();let q=(0,y.wG)(e),r=(0,x.KC)(e).filter(a=>"systemone"===(0,x.CP)(a)),[s,t]=(0,h.useState)(r[0]?.id??""),[u,w]=(0,h.useState)("My payments have failed for three days and I am losing sales. Please help now."),[A,B]=(0,h.useState)(E),[F,G]=(0,h.useState)(""),[H,I]=(0,h.useState)(!1),[J,K]=(0,h.useState)(""),[L,M]=(0,h.useState)(null),[N,O]=(0,h.useState)(null),[P,Q]=(0,h.useState)(""),{copied:R,copy:S}=(0,z.C)(),{copied:T,copy:U}=(0,z.C)(),V=s?`${q}/${s}`:q,W={model:V,state:u,questions:{is_urgent:{type:"noul",instructions:A.trim()||E}}},X=P||window.location.origin,Y=b.endpoint.path,Z=`curl -X ${b.endpoint.method} ${X}${Y} \\
2
2
  -H "Content-Type: application/json" \\
3
3
  -H "Authorization: Bearer ${F||"YOUR_KEY"}" \\
4
4
  -d '${JSON.stringify(W)}'`,$=async()=>{if(!u.trim()||!V)return;I(!0),K(""),M(null),O(null);let a=Date.now();try{let c={"Content-Type":"application/json"};F&&(c.Authorization=`Bearer ${F}`);let d=await fetch(`/api${Y}`,{method:b.endpoint.method,headers:c,body:JSON.stringify(W)}),e=await d.json().catch(()=>({}));if(O(Date.now()-a),!d.ok)return void K(e?.error?.message||e?.error||`HTTP ${d.status}`);M(e)}catch(a){K(a.message||"Network error")}finally{I(!1)}},_=L?JSON.stringify(L,null,2):"";return(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)(j.$,{variant:"outline",size:"sm",asChild:!0,className:"mb-4 self-start",children:(0,d.jsxs)(f(),{href:"/dashboard/media-providers/systemone",children:[(0,d.jsx)(l.default,{name:"arrow_back",className:"text-lg"}),"System One"]})}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:gap-4",children:[(0,d.jsx)("div",{className:"size-12 rounded-lg flex items-center justify-center shrink-0",style:{backgroundColor:`${c.color}15`},children:(0,d.jsx)(m.A,{src:`/providers/${e}.png`,alt:c.name,size:48,className:"object-contain rounded-lg max-w-[48px] max-h-[48px]",fallbackText:c.textIcon||e.slice(0,2).toUpperCase(),fallbackColor:c.color})}),(0,d.jsxs)("div",{className:"flex-1",children:[(0,d.jsxs)("div",{className:"flex flex-wrap items-center gap-2 sm:gap-3",children:[(0,d.jsx)("h1",{className:"text-3xl font-semibold tracking-tight",children:c.name}),c.notice?.apiKeyUrl&&(0,d.jsxs)("a",{href:c.notice.apiKeyUrl,target:"_blank",rel:"noopener noreferrer",className:"text-xs text-primary hover:underline inline-flex items-center gap-1",children:[(0,d.jsx)(l.default,{name:"open_in_new",className:"text-sm"}),"Get API Key"]})]}),(0,d.jsx)("div",{className:"flex items-center gap-1.5 mt-1 flex-wrap",children:p.map(a=>(0,d.jsx)(k.E,{variant:"systemone"===a?"default":"secondary",children:a.toUpperCase()},a))})]})]})]}),c.noAuth?(0,d.jsx)(n.default,{providerId:e}):(0,d.jsx)(v,{providerId:e,isOAuth:!1}),(0,d.jsx)(C,{providerId:e,kindFilter:"systemone"}),c.systemoneConfig&&(0,d.jsx)(o.default,{config:c.systemoneConfig,provider:c,title:"System One Config"}),(0,d.jsx)(i.Zp,{children:(0,d.jsxs)(i.Wu,{children:[(0,d.jsx)("h2",{className:"text-lg font-semibold mb-4",children:"Example"}),(0,d.jsxs)("div",{className:"flex flex-col gap-2.5",children:[r.length>0?(0,d.jsx)(D,{label:"Model",children:(0,d.jsx)("select",{value:s,onChange:a=>t(a.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:r.map(a=>(0,d.jsx)("option",{value:a.id,children:a.name||a.id},a.id))})}):(0,d.jsx)(D,{label:"Model",children:(0,d.jsx)("input",{value:s,onChange:a=>t(a.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"})}),(0,d.jsx)(D,{label:"Endpoint",children:(0,d.jsxs)("span",{className:"w-full min-w-0 flex-1 px-3 py-1.5 text-sm font-mono bg-sidebar rounded-lg truncate block",children:[X,Y]})}),(0,d.jsx)(D,{label:"API Key",children:(0,d.jsx)("span",{className:"px-3 py-1.5 text-sm font-mono bg-sidebar rounded-lg truncate block",children:F?`${F.slice(0,8)}${"•".repeat(Math.min(20,Math.max(0,F.length-8)))}`:(0,d.jsx)("span",{className:"text-muted-foreground italic",children:"No key configured"})})}),(0,d.jsx)(D,{label:"State",children:(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("input",{value:u,onChange:a=>w(a.target.value),placeholder:"Situation, support ticket, or text to evaluate",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"}),u&&(0,d.jsx)("button",{type:"button",onClick:()=>w(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-primary transition-colors",children:(0,d.jsx)(l.default,{name:"close",className:"text-[14px]"})})]})}),(0,d.jsx)(D,{label:"Question",children:(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("input",{value:A,onChange:a=>B(a.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"}),A&&(0,d.jsx)("button",{type:"button",onClick:()=>B(""),className:"absolute right-2 top-1/2 -translate-y-1/2 text-muted-foreground hover:text-primary transition-colors",children:(0,d.jsx)(l.default,{name:"close",className:"text-[14px]"})})]})}),(0,d.jsxs)("div",{className:"mt-1",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsx)("span",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:"Request"}),(0,d.jsxs)("div",{className:"flex w-full flex-col gap-2 sm:w-auto sm:flex-row sm:items-center",children:[(0,d.jsxs)("button",{onClick:()=>S(Z),className:"inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-primary transition-colors",children:[(0,d.jsx)(l.default,{name:R?"check":"content_copy",className:"text-[14px]"}),R?"Copied":"Copy"]}),(0,d.jsxs)("button",{onClick:$,disabled:H||!u.trim()||!V,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,d.jsx)(l.default,{name:"play_arrow",className:"text-[14px]",style:H?{animation:"spin 1s linear infinite"}:void 0}),H?"Running...":"Run"]})]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono overflow-x-auto whitespace-pre-wrap break-all",children:Z})]}),J&&(0,d.jsx)("p",{className:"text-xs text-red-500 break-words",children:J}),(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between mb-1.5",children:[(0,d.jsxs)("span",{className:"text-xs font-semibold text-muted-foreground uppercase tracking-wider",children:["Response"," ",null!==N&&(0,d.jsxs)("span",{className:"font-normal normal-case",children:["⚡ ",N,"ms"]})]}),L&&(0,d.jsxs)("button",{onClick:()=>U(_),className:"inline-flex items-center gap-1 text-xs text-muted-foreground hover:text-primary transition-colors",children:[(0,d.jsx)(l.default,{name:T?"check":"content_copy",className:"text-[14px]"}),T?"Copied":"Copy"]})]}),(0,d.jsx)("pre",{className:"bg-sidebar rounded-lg px-3 py-2.5 text-xs font-mono overflow-x-auto whitespace-pre-wrap break-all opacity-70",children:L?_:`{
@@ -7,4 +7,4 @@
7
7
  "is_urgent": { "type": "noul", "noul": 0.99 }
8
8
  },
9
9
  "usage": { "input_tokens": 312, "output_tokens": 48 }
10
- }`})]})]})]})})]})}},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},47149:(a,b,c)=>{Promise.resolve().then(c.bind(c,65307))},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65307:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(35062).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx","default")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1316,1238,7963,8569,7257,6009,9817,7535,7816,7156,2339,6461,4301,1289,9018,2801,1985],()=>b(b.s=34094));module.exports=c})();
10
+ }`})]})]})]})})]})}},46060:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external.js")},46293:a=>{"use strict";a.exports=require("sql.js")},47149:(a,b,c)=>{Promise.resolve().then(c.bind(c,65307))},48161:a=>{"use strict";a.exports=require("node:os")},51455:a=>{"use strict";a.exports=require("node:fs/promises")},53053:a=>{"use strict";a.exports=require("node:diagnostics_channel")},55511:a=>{"use strict";a.exports=require("crypto")},55591:a=>{"use strict";a.exports=require("https")},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65307:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(35062).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx","default")},71553:a=>{"use strict";a.exports=require("node:dns/promises")},71622:a=>{"use strict";a.exports=import("open")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},73429:a=>{"use strict";a.exports=require("node:util/types")},73496:a=>{"use strict";a.exports=require("http2")},74075:a=>{"use strict";a.exports=require("zlib")},75919:a=>{"use strict";a.exports=require("node:worker_threads")},76760:a=>{"use strict";a.exports=require("node:path")},77030:a=>{"use strict";a.exports=require("node:net")},77598:a=>{"use strict";a.exports=require("node:crypto")},78474:a=>{"use strict";a.exports=require("node:events")},79408:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>y,handler:()=>A,routeModule:()=>z});var d=c(26720),e=c(29966),f=c(36243),g=c(70310),h={};for(let a in g)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(h[a]=()=>g[a]);c.d(b,h);let i=(0,d.p)(()=>Promise.resolve().then(c.bind(c,79452))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,11089))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,2808,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,8329,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,41580,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),u=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),v=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,67694,23))),w={children:["",{children:["(dashboard)",{children:["dashboard",{children:["media-providers",{children:["systemone",{children:["[id]",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,65307))),"/home/runner/work/10Router/10Router/src/app/(dashboard)/dashboard/media-providers/systemone/[id]/page.tsx"]}]},{"global-error":[v,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[u,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[t,"next/dist/client/components/builtin/global-error.js"]},[]]},{"global-error":[s,"next/dist/client/components/builtin/global-error.js"]},[]]},{layout:[n,"/home/runner/work/10Router/10Router/src/app/(dashboard)/layout.tsx"],"global-error":[o,"next/dist/client/components/builtin/global-error.js"],"not-found":[p,"next/dist/client/components/builtin/not-found.js"],forbidden:[q,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[r,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/home/runner/work/10Router/10Router/src/app/layout.tsx"],"global-error":[j,"next/dist/client/components/builtin/global-error.js"],"not-found":[k,"next/dist/client/components/builtin/not-found.js"],forbidden:[l,"next/dist/client/components/builtin/forbidden.js"],unauthorized:[m,"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,x=(0,e.H)({tree:w,page:"/(dashboard)/dashboard/media-providers/systemone/[id]/page",pathname:"/dashboard/media-providers/systemone/[id]",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),y=x.__next_app__,z=x.routeModule,A=x.handler},79551:a=>{"use strict";a.exports=require("url")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},87997:a=>{"use strict";a.exports=require("node:timers")},91645:a=>{"use strict";a.exports=require("net")},94735:a=>{"use strict";a.exports=require("events")}};var b=require("../../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[1316,1238,7963,8569,7257,6009,9817,7535,7816,7156,2339,6461,4301,1289,9018,2801,1985],()=>b(b.s=79408));module.exports=c})();