@sifxprime/krouter 0.5.144 → 0.5.146

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 (902) hide show
  1. package/README.md +219 -0
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +13 -11
  4. package/app/.next-cli-build/build-manifest.json +2 -2
  5. package/app/.next-cli-build/prerender-manifest.json +46 -18
  6. package/app/.next-cli-build/routes-manifest.json +12 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page.js +13 -0
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/presidio/page_client-reference-manifest.js +1 -0
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  58. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  60. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  61. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  62. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  63. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  64. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  65. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  67. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  68. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  69. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  70. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  71. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  72. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  73. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  74. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  75. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  76. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  77. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  78. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  79. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +3 -3
  80. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  81. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  82. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  83. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  84. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  85. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  86. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  87. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  88. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  89. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  90. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  91. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  92. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  93. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/import/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  107. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  108. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  115. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  116. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/mitm/cert/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/models/live/route.js +3 -3
  123. package/app/.next-cli-build/server/app/api/models/live-by-connection/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/models/preview/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  142. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  148. package/app/.next-cli-build/server/app/api/providers/health/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  152. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/providers/zenith/log/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/providers/zenith/route.js +1 -1
  156. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  160. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  163. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  168. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  169. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/settings/environment/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/settings/presidio/route.js +1 -0
  172. package/app/.next-cli-build/server/app/api/settings/presidio/route_client-reference-manifest.js +1 -0
  173. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  191. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  222. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  224. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  227. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  228. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  229. package/app/.next-cli-build/server/app/callback.html +1 -1
  230. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  231. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  232. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  233. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  234. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  235. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  236. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +6 -6
  237. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  238. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  239. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  240. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  241. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  242. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  243. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  244. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  245. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  246. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +6 -6
  247. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  248. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  249. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  250. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  251. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +6 -6
  252. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  253. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  254. package/app/.next-cli-build/server/app/dashboard/environment.html +1 -1
  255. package/app/.next-cli-build/server/app/dashboard/environment.rsc +6 -6
  256. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment/__PAGE__.segment.rsc +6 -6
  257. package/app/.next-cli-build/server/app/dashboard/environment.segments/_full.segment.rsc +6 -6
  258. package/app/.next-cli-build/server/app/dashboard/environment.segments/_tree.segment.rsc +2 -2
  259. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  260. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  261. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +6 -6
  262. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  263. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  264. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  265. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  266. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  267. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  268. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  269. package/app/.next-cli-build/server/app/dashboard/presidio.html +1 -0
  270. package/app/.next-cli-build/server/app/dashboard/presidio.meta +36 -0
  271. package/app/.next-cli-build/server/app/dashboard/presidio.rsc +26 -0
  272. package/app/.next-cli-build/server/app/dashboard/presidio.segments/!KGRhc2hib2FyZCk/dashboard/presidio/__PAGE__.segment.rsc +32 -0
  273. package/app/.next-cli-build/server/app/dashboard/presidio.segments/_full.segment.rsc +26 -0
  274. package/app/.next-cli-build/server/app/dashboard/presidio.segments/_tree.segment.rsc +5 -0
  275. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  276. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  277. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +6 -6
  278. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  279. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  280. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  281. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  282. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +6 -6
  283. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  284. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  285. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  286. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  287. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +6 -6
  288. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  289. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  290. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  291. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  292. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +6 -6
  293. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  294. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  295. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  296. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  297. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +6 -6
  298. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  299. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  300. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  301. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  302. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +7 -7
  303. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  304. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  305. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  306. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  307. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  308. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +5 -5
  309. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +5 -5
  310. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  311. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +5 -5
  312. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  313. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  314. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +6 -6
  315. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  316. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  317. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  318. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  319. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +6 -6
  320. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  321. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  322. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  323. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  324. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +6 -6
  325. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  326. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  327. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  328. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  329. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
  330. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  331. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  332. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  333. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  334. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +6 -6
  335. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  336. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  337. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  338. package/app/.next-cli-build/server/app/index.html +1 -1
  339. package/app/.next-cli-build/server/app/index.rsc +4 -4
  340. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  341. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  342. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  343. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  344. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  345. package/app/.next-cli-build/server/app/landing.html +1 -1
  346. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  347. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  348. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  349. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  350. package/app/.next-cli-build/server/app/login/page.js +1 -1
  351. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  352. package/app/.next-cli-build/server/app/login.html +1 -1
  353. package/app/.next-cli-build/server/app/login.rsc +5 -5
  354. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  355. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  356. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +5 -5
  357. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  358. package/app/.next-cli-build/server/app/page.js +1 -1
  359. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  360. package/app/.next-cli-build/server/app-paths-manifest.json +13 -11
  361. package/app/.next-cli-build/server/chunks/2365.js +1 -1
  362. package/app/.next-cli-build/server/chunks/412.js +2 -2
  363. package/app/.next-cli-build/server/chunks/5330.js +11 -11
  364. package/app/.next-cli-build/server/chunks/6182.js +4 -4
  365. package/app/.next-cli-build/server/chunks/6200.js +3 -0
  366. package/app/.next-cli-build/server/chunks/706.js +1 -1
  367. package/app/.next-cli-build/server/chunks/7153.js +1 -1
  368. package/app/.next-cli-build/server/chunks/7276.js +1 -1
  369. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  370. package/app/.next-cli-build/server/chunks/8361.js +1 -1
  371. package/app/.next-cli-build/server/chunks/8895.js +1 -1
  372. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  373. package/app/.next-cli-build/server/middleware.js +5 -5
  374. package/app/.next-cli-build/server/pages/404.html +1 -1
  375. package/app/.next-cli-build/server/pages/500.html +1 -1
  376. package/app/.next-cli-build/server/prefetch-hints.json +24 -0
  377. package/app/.next-cli-build/static/alT51K3CdFyFBv27IY7wb/_buildManifest.js +1 -0
  378. package/app/.next-cli-build/static/chunks/{1321-7abcf5df16effef0.js → 1321-6c49a954d60cdf8d.js} +1 -1
  379. package/app/.next-cli-build/static/chunks/5497-df084be192db340d.js +7 -0
  380. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/presidio/page-d99bb3a54c3dbb50.js +13 -0
  381. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-b1182e42595e08ba.js +1 -0
  382. package/app/.next-cli-build/static/chunks/app/_global-error/{page-679268ce464db514.js → page-0a9962733d0ef748.js} +1 -1
  383. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
  384. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
  385. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-679268ce464db514.js → route-0a9962733d0ef748.js} +1 -1
  386. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-0a9962733d0ef748.js +1 -0
  387. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-0a9962733d0ef748.js +1 -0
  388. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-0a9962733d0ef748.js +1 -0
  389. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-0a9962733d0ef748.js +1 -0
  390. package/app/.next-cli-build/static/chunks/app/api/cache/route-0a9962733d0ef748.js +1 -0
  391. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-0a9962733d0ef748.js +1 -0
  392. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-0a9962733d0ef748.js +1 -0
  393. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-0a9962733d0ef748.js +1 -0
  394. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-0a9962733d0ef748.js +1 -0
  395. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-0a9962733d0ef748.js +1 -0
  396. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-0a9962733d0ef748.js +1 -0
  397. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-0a9962733d0ef748.js +1 -0
  398. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-0a9962733d0ef748.js +1 -0
  399. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-0a9962733d0ef748.js +1 -0
  400. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-0a9962733d0ef748.js +1 -0
  401. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-0a9962733d0ef748.js +1 -0
  402. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-0a9962733d0ef748.js +1 -0
  403. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-0a9962733d0ef748.js +1 -0
  404. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-0a9962733d0ef748.js +1 -0
  405. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-0a9962733d0ef748.js +1 -0
  406. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-0a9962733d0ef748.js +1 -0
  407. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-0a9962733d0ef748.js +1 -0
  408. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-0a9962733d0ef748.js +1 -0
  409. package/app/.next-cli-build/static/chunks/app/api/combos/route-0a9962733d0ef748.js +1 -0
  410. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-0a9962733d0ef748.js +1 -0
  411. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-0a9962733d0ef748.js +1 -0
  412. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-0a9962733d0ef748.js +1 -0
  413. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-0a9962733d0ef748.js +1 -0
  414. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-0a9962733d0ef748.js +1 -0
  415. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-0a9962733d0ef748.js +1 -0
  416. package/app/.next-cli-build/static/chunks/app/api/health/route-0a9962733d0ef748.js +1 -0
  417. package/app/.next-cli-build/static/chunks/app/api/import/route-0a9962733d0ef748.js +1 -0
  418. package/app/.next-cli-build/static/chunks/app/api/init/route-0a9962733d0ef748.js +1 -0
  419. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-0a9962733d0ef748.js +1 -0
  420. package/app/.next-cli-build/static/chunks/app/api/keys/route-0a9962733d0ef748.js +1 -0
  421. package/app/.next-cli-build/static/chunks/app/api/locale/route-0a9962733d0ef748.js +1 -0
  422. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-0a9962733d0ef748.js +1 -0
  423. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-0a9962733d0ef748.js +1 -0
  424. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-0a9962733d0ef748.js +1 -0
  425. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-0a9962733d0ef748.js +1 -0
  426. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-0a9962733d0ef748.js +1 -0
  427. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-0a9962733d0ef748.js +1 -0
  428. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-0a9962733d0ef748.js +1 -0
  429. package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-0a9962733d0ef748.js +1 -0
  430. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-0a9962733d0ef748.js +1 -0
  431. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-0a9962733d0ef748.js +1 -0
  432. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-0a9962733d0ef748.js +1 -0
  433. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-0a9962733d0ef748.js +1 -0
  434. package/app/.next-cli-build/static/chunks/app/api/models/live/route-0a9962733d0ef748.js +1 -0
  435. package/app/.next-cli-build/static/chunks/app/api/models/live-by-connection/route-0a9962733d0ef748.js +1 -0
  436. package/app/.next-cli-build/static/chunks/app/api/models/preview/route-0a9962733d0ef748.js +1 -0
  437. package/app/.next-cli-build/static/chunks/app/api/models/route-0a9962733d0ef748.js +1 -0
  438. package/app/.next-cli-build/static/chunks/app/api/models/test/route-0a9962733d0ef748.js +1 -0
  439. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-0a9962733d0ef748.js +1 -0
  440. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-0a9962733d0ef748.js +1 -0
  441. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-0a9962733d0ef748.js +1 -0
  442. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-0a9962733d0ef748.js +1 -0
  443. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-0a9962733d0ef748.js +1 -0
  444. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-0a9962733d0ef748.js +1 -0
  445. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-0a9962733d0ef748.js +1 -0
  446. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-0a9962733d0ef748.js +1 -0
  447. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-0a9962733d0ef748.js +1 -0
  448. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-0a9962733d0ef748.js +1 -0
  449. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-0a9962733d0ef748.js +1 -0
  450. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-0a9962733d0ef748.js +1 -0
  451. package/app/.next-cli-build/static/chunks/app/api/pricing/route-0a9962733d0ef748.js +1 -0
  452. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-0a9962733d0ef748.js +1 -0
  453. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-0a9962733d0ef748.js +1 -0
  454. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-0a9962733d0ef748.js +1 -0
  455. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-0a9962733d0ef748.js +1 -0
  456. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-0a9962733d0ef748.js +1 -0
  457. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-0a9962733d0ef748.js +1 -0
  458. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-0a9962733d0ef748.js +1 -0
  459. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-0a9962733d0ef748.js +1 -0
  460. package/app/.next-cli-build/static/chunks/app/api/providers/health/route-0a9962733d0ef748.js +1 -0
  461. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-0a9962733d0ef748.js +1 -0
  462. package/app/.next-cli-build/static/chunks/app/api/providers/route-0a9962733d0ef748.js +1 -0
  463. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-0a9962733d0ef748.js +1 -0
  464. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-0a9962733d0ef748.js +1 -0
  465. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-0a9962733d0ef748.js +1 -0
  466. package/app/.next-cli-build/static/chunks/app/api/providers/zenith/log/route-0a9962733d0ef748.js +1 -0
  467. package/app/.next-cli-build/static/chunks/app/api/providers/zenith/route-0a9962733d0ef748.js +1 -0
  468. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-0a9962733d0ef748.js +1 -0
  469. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-0a9962733d0ef748.js +1 -0
  470. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-0a9962733d0ef748.js +1 -0
  471. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-0a9962733d0ef748.js +1 -0
  472. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-0a9962733d0ef748.js +1 -0
  473. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-0a9962733d0ef748.js +1 -0
  474. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-0a9962733d0ef748.js +1 -0
  475. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-0a9962733d0ef748.js +1 -0
  476. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-0a9962733d0ef748.js +1 -0
  477. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-0a9962733d0ef748.js +1 -0
  478. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-0a9962733d0ef748.js +1 -0
  479. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-0a9962733d0ef748.js +1 -0
  480. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-0a9962733d0ef748.js +1 -0
  481. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-0a9962733d0ef748.js +1 -0
  482. package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-0a9962733d0ef748.js +1 -0
  483. package/app/.next-cli-build/static/chunks/app/api/settings/presidio/route-0a9962733d0ef748.js +1 -0
  484. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-0a9962733d0ef748.js +1 -0
  485. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-0a9962733d0ef748.js +1 -0
  486. package/app/.next-cli-build/static/chunks/app/api/settings/route-0a9962733d0ef748.js +1 -0
  487. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-0a9962733d0ef748.js +1 -0
  488. package/app/.next-cli-build/static/chunks/app/api/tags/route-0a9962733d0ef748.js +1 -0
  489. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-0a9962733d0ef748.js +1 -0
  490. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-0a9962733d0ef748.js +1 -0
  491. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-0a9962733d0ef748.js +1 -0
  492. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-0a9962733d0ef748.js +1 -0
  493. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-0a9962733d0ef748.js +1 -0
  494. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-0a9962733d0ef748.js +1 -0
  495. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-0a9962733d0ef748.js +1 -0
  496. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-0a9962733d0ef748.js +1 -0
  497. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-0a9962733d0ef748.js +1 -0
  498. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-0a9962733d0ef748.js +1 -0
  499. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-0a9962733d0ef748.js +1 -0
  500. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-0a9962733d0ef748.js +1 -0
  501. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-0a9962733d0ef748.js +1 -0
  502. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-0a9962733d0ef748.js +1 -0
  503. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-0a9962733d0ef748.js +1 -0
  504. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-0a9962733d0ef748.js +1 -0
  505. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-0a9962733d0ef748.js +1 -0
  506. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-0a9962733d0ef748.js +1 -0
  507. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-0a9962733d0ef748.js +1 -0
  508. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-0a9962733d0ef748.js +1 -0
  509. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-0a9962733d0ef748.js +1 -0
  510. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-0a9962733d0ef748.js +1 -0
  511. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-0a9962733d0ef748.js +1 -0
  512. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-0a9962733d0ef748.js +1 -0
  513. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-0a9962733d0ef748.js +1 -0
  514. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-0a9962733d0ef748.js +1 -0
  515. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-0a9962733d0ef748.js +1 -0
  516. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-0a9962733d0ef748.js +1 -0
  517. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-0a9962733d0ef748.js +1 -0
  518. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-0a9962733d0ef748.js +1 -0
  519. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-0a9962733d0ef748.js +1 -0
  520. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-0a9962733d0ef748.js +1 -0
  521. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-0a9962733d0ef748.js +1 -0
  522. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-0a9962733d0ef748.js +1 -0
  523. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-0a9962733d0ef748.js +1 -0
  524. package/app/.next-cli-build/static/chunks/app/api/v1/route-0a9962733d0ef748.js +1 -0
  525. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-0a9962733d0ef748.js +1 -0
  526. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-0a9962733d0ef748.js +1 -0
  527. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-0a9962733d0ef748.js +1 -0
  528. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-0a9962733d0ef748.js +1 -0
  529. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-0a9962733d0ef748.js +1 -0
  530. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-0a9962733d0ef748.js +1 -0
  531. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-0a9962733d0ef748.js +1 -0
  532. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-0a9962733d0ef748.js +1 -0
  533. package/app/.next-cli-build/static/chunks/app/api/version/route-0a9962733d0ef748.js +1 -0
  534. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-0a9962733d0ef748.js +1 -0
  535. package/app/.next-cli-build/static/chunks/app/api/version/update/route-0a9962733d0ef748.js +1 -0
  536. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-045957f92dd4e66b.js +1 -0
  537. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-0a9962733d0ef748.js +1 -0
  538. package/app/.next-cli-build/static/chunks/app/page-0a9962733d0ef748.js +1 -0
  539. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-0a9962733d0ef748.js +1 -0
  540. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-0a9962733d0ef748.js +1 -0
  541. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-0a9962733d0ef748.js +1 -0
  542. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-0a9962733d0ef748.js +1 -0
  543. package/app/.next-cli-build/static/css/ec08ba27b16d57e9.css +1 -0
  544. package/app/cli/package.json +1 -1
  545. package/app/package.json +2 -1
  546. package/app/src/mitm/server.js +1 -1
  547. package/package.json +1 -1
  548. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +0 -1
  549. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +0 -1
  550. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +0 -1
  551. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +0 -1
  552. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +0 -1
  553. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +0 -1
  554. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js.nft.json +0 -1
  555. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +0 -1
  556. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +0 -1
  557. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +0 -1
  558. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +0 -1
  559. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +0 -1
  560. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +0 -1
  561. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +0 -1
  562. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +0 -1
  563. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +0 -1
  564. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +0 -1
  565. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +0 -1
  566. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +0 -1
  567. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +0 -1
  568. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +0 -1
  569. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +0 -1
  570. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +0 -1
  571. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +0 -1
  572. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +0 -1
  573. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +0 -1
  574. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +0 -1
  575. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +0 -1
  576. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +0 -1
  577. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +0 -1
  578. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +0 -1
  579. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +0 -1
  580. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +0 -1
  581. package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +0 -1
  582. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +0 -1
  583. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +0 -1
  584. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +0 -1
  585. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +0 -1
  586. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +0 -1
  587. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +0 -1
  588. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +0 -1
  589. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +0 -1
  590. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +0 -1
  591. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +0 -1
  592. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +0 -1
  593. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +0 -1
  594. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +0 -1
  595. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +0 -1
  596. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +0 -1
  597. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +0 -1
  598. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +0 -1
  599. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +0 -1
  600. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +0 -1
  601. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +0 -1
  602. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +0 -1
  603. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +0 -1
  604. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +0 -1
  605. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +0 -1
  606. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +0 -1
  607. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +0 -1
  608. package/app/.next-cli-build/server/app/api/import/route.js.nft.json +0 -1
  609. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +0 -1
  610. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +0 -1
  611. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +0 -1
  612. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +0 -1
  613. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +0 -1
  614. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +0 -1
  615. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +0 -1
  616. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +0 -1
  617. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +0 -1
  618. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +0 -1
  619. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +0 -1
  620. package/app/.next-cli-build/server/app/api/mitm/cert/route.js.nft.json +0 -1
  621. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +0 -1
  622. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +0 -1
  623. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +0 -1
  624. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +0 -1
  625. package/app/.next-cli-build/server/app/api/models/live/route.js.nft.json +0 -1
  626. package/app/.next-cli-build/server/app/api/models/live-by-connection/route.js.nft.json +0 -1
  627. package/app/.next-cli-build/server/app/api/models/preview/route.js.nft.json +0 -1
  628. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +0 -1
  629. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +0 -1
  630. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +0 -1
  631. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +0 -1
  632. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +0 -1
  633. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +0 -1
  634. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +0 -1
  635. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +0 -1
  636. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +0 -1
  637. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +0 -1
  638. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +0 -1
  639. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +0 -1
  640. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +0 -1
  641. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +0 -1
  642. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +0 -1
  643. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +0 -1
  644. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +0 -1
  645. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +0 -1
  646. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +0 -1
  647. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +0 -1
  648. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +0 -1
  649. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +0 -1
  650. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +0 -1
  651. package/app/.next-cli-build/server/app/api/providers/health/route.js.nft.json +0 -1
  652. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +0 -1
  653. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +0 -1
  654. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +0 -1
  655. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +0 -1
  656. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +0 -1
  657. package/app/.next-cli-build/server/app/api/providers/zenith/log/route.js.nft.json +0 -1
  658. package/app/.next-cli-build/server/app/api/providers/zenith/route.js.nft.json +0 -1
  659. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +0 -1
  660. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +0 -1
  661. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +0 -1
  662. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +0 -1
  663. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +0 -1
  664. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +0 -1
  665. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +0 -1
  666. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +0 -1
  667. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +0 -1
  668. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +0 -1
  669. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +0 -1
  670. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +0 -1
  671. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +0 -1
  672. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +0 -1
  673. package/app/.next-cli-build/server/app/api/settings/environment/route.js.nft.json +0 -1
  674. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +0 -1
  675. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +0 -1
  676. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +0 -1
  677. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +0 -1
  678. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +0 -1
  679. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +0 -1
  680. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +0 -1
  681. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +0 -1
  682. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +0 -1
  683. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +0 -1
  684. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +0 -1
  685. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +0 -1
  686. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +0 -1
  687. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +0 -1
  688. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +0 -1
  689. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +0 -1
  690. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +0 -1
  691. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +0 -1
  692. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +0 -1
  693. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +0 -1
  694. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +0 -1
  695. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +0 -1
  696. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +0 -1
  697. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +0 -1
  698. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +0 -1
  699. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +0 -1
  700. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +0 -1
  701. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +0 -1
  702. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +0 -1
  703. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +0 -1
  704. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +0 -1
  705. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +0 -1
  706. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +0 -1
  707. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +0 -1
  708. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +0 -1
  709. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +0 -1
  710. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +0 -1
  711. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +0 -1
  712. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +0 -1
  713. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +0 -1
  714. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +0 -1
  715. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +0 -1
  716. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +0 -1
  717. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +0 -1
  718. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +0 -1
  719. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +0 -1
  720. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +0 -1
  721. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +0 -1
  722. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +0 -1
  723. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +0 -1
  724. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +0 -1
  725. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +0 -1
  726. package/app/.next-cli-build/server/app/callback/page.js.nft.json +0 -1
  727. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +0 -1
  728. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +0 -1
  729. package/app/.next-cli-build/server/app/landing/page.js.nft.json +0 -1
  730. package/app/.next-cli-build/server/app/login/page.js.nft.json +0 -1
  731. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +0 -1
  732. package/app/.next-cli-build/server/app/page.js.nft.json +0 -1
  733. package/app/.next-cli-build/server/chunks/9489.js +0 -3
  734. package/app/.next-cli-build/static/chunks/5497-15b03497ab8e5fce.js +0 -7
  735. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-64fc5c6c998f5551.js +0 -1
  736. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-679268ce464db514.js +0 -1
  737. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-679268ce464db514.js +0 -1
  738. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-679268ce464db514.js +0 -1
  739. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-679268ce464db514.js +0 -1
  740. package/app/.next-cli-build/static/chunks/app/api/cache/route-679268ce464db514.js +0 -1
  741. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-679268ce464db514.js +0 -1
  742. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-679268ce464db514.js +0 -1
  743. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-679268ce464db514.js +0 -1
  744. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-679268ce464db514.js +0 -1
  745. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-679268ce464db514.js +0 -1
  746. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-679268ce464db514.js +0 -1
  747. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-679268ce464db514.js +0 -1
  748. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-679268ce464db514.js +0 -1
  749. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-679268ce464db514.js +0 -1
  750. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-679268ce464db514.js +0 -1
  751. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-679268ce464db514.js +0 -1
  752. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-679268ce464db514.js +0 -1
  753. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-679268ce464db514.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-679268ce464db514.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-679268ce464db514.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-679268ce464db514.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-679268ce464db514.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-679268ce464db514.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/combos/route-679268ce464db514.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-679268ce464db514.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-679268ce464db514.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-679268ce464db514.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-679268ce464db514.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-679268ce464db514.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-679268ce464db514.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/health/route-679268ce464db514.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/import/route-679268ce464db514.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/init/route-679268ce464db514.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-679268ce464db514.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/keys/route-679268ce464db514.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/locale/route-679268ce464db514.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-679268ce464db514.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-679268ce464db514.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-679268ce464db514.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-679268ce464db514.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-679268ce464db514.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-679268ce464db514.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-679268ce464db514.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-679268ce464db514.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-679268ce464db514.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-679268ce464db514.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-679268ce464db514.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-679268ce464db514.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/models/live/route-679268ce464db514.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/models/live-by-connection/route-679268ce464db514.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/models/preview/route-679268ce464db514.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/models/route-679268ce464db514.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/models/test/route-679268ce464db514.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-679268ce464db514.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-679268ce464db514.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-679268ce464db514.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-679268ce464db514.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-679268ce464db514.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-679268ce464db514.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-679268ce464db514.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-679268ce464db514.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-679268ce464db514.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-679268ce464db514.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-679268ce464db514.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-679268ce464db514.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/pricing/route-679268ce464db514.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-679268ce464db514.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-679268ce464db514.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-679268ce464db514.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-679268ce464db514.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-679268ce464db514.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-679268ce464db514.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-679268ce464db514.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-679268ce464db514.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/providers/health/route-679268ce464db514.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-679268ce464db514.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/providers/route-679268ce464db514.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-679268ce464db514.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-679268ce464db514.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-679268ce464db514.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/providers/zenith/log/route-679268ce464db514.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/providers/zenith/route-679268ce464db514.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-679268ce464db514.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-679268ce464db514.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-679268ce464db514.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-679268ce464db514.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-679268ce464db514.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-679268ce464db514.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-679268ce464db514.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-679268ce464db514.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-679268ce464db514.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-679268ce464db514.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-679268ce464db514.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-679268ce464db514.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-679268ce464db514.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-679268ce464db514.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-679268ce464db514.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-679268ce464db514.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-679268ce464db514.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/settings/route-679268ce464db514.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-679268ce464db514.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/tags/route-679268ce464db514.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-679268ce464db514.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-679268ce464db514.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-679268ce464db514.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-679268ce464db514.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-679268ce464db514.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-679268ce464db514.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-679268ce464db514.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-679268ce464db514.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-679268ce464db514.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-679268ce464db514.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-679268ce464db514.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-679268ce464db514.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-679268ce464db514.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-679268ce464db514.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-679268ce464db514.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-679268ce464db514.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-679268ce464db514.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-679268ce464db514.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-679268ce464db514.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-679268ce464db514.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-679268ce464db514.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-679268ce464db514.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-679268ce464db514.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-679268ce464db514.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-679268ce464db514.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-679268ce464db514.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-679268ce464db514.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-679268ce464db514.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-679268ce464db514.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-679268ce464db514.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-679268ce464db514.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-679268ce464db514.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-679268ce464db514.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-679268ce464db514.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-679268ce464db514.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/v1/route-679268ce464db514.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-679268ce464db514.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-679268ce464db514.js +0 -1
  876. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-679268ce464db514.js +0 -1
  877. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-679268ce464db514.js +0 -1
  878. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-679268ce464db514.js +0 -1
  879. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-679268ce464db514.js +0 -1
  880. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-679268ce464db514.js +0 -1
  881. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-679268ce464db514.js +0 -1
  882. package/app/.next-cli-build/static/chunks/app/api/version/route-679268ce464db514.js +0 -1
  883. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-679268ce464db514.js +0 -1
  884. package/app/.next-cli-build/static/chunks/app/api/version/update/route-679268ce464db514.js +0 -1
  885. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-016fc417daafa8c4.js +0 -1
  886. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-679268ce464db514.js +0 -1
  887. package/app/.next-cli-build/static/chunks/app/page-679268ce464db514.js +0 -1
  888. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-679268ce464db514.js +0 -1
  889. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-679268ce464db514.js +0 -1
  890. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-679268ce464db514.js +0 -1
  891. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-679268ce464db514.js +0 -1
  892. package/app/.next-cli-build/static/css/c2f5122f40c47e19.css +0 -1
  893. package/app/.next-cli-build/static/p4jE6g-j-05K8E74ySO-I/_buildManifest.js +0 -1
  894. package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.115-to-0.5.116-0.5.116-20260718-013135/data.sqlite +0 -0
  895. package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.116-to-0.5.117-0.5.117-20260718-032541/data.sqlite +0 -0
  896. package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.117-to-0.5.118-0.5.118-20260718-064958/data.sqlite +0 -0
  897. package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.118-to-0.5.143-0.5.143-20260822-000036/data.sqlite +0 -0
  898. package/app/cli/.build-home/.krouter/db/data.sqlite +0 -0
  899. package/app/cli/.build-home/.krouter/jwt-secret +0 -1
  900. package/app/cli/.build-home/.krouter/machine-id +0 -1
  901. package/app/cli/.build-home/Library/Preferences/nextjs-nodejs/config.json +0 -7
  902. /package/app/.next-cli-build/static/{p4jE6g-j-05K8E74ySO-I → alT51K3CdFyFBv27IY7wb}/_ssgManifest.js +0 -0
@@ -0,0 +1,13 @@
1
+ (()=>{var a={};a.id=1581,a.ids=[1581],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},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")},16192:(a,b,c)=>{Promise.resolve().then(c.bind(c,32763))},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")},20406:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>k});var d=c(48249),e=c(67484),f=c(17660);function g(a,b){let c=[a?.message,a?.details].filter(Boolean);return c.length>0?c.join(": "):b}async function h(a){let b={enabled:a.enabled,piiRedaction:a.piiRedaction,customRegex:a.customRegex};a.customRegex&&void 0!==a.yamlContent&&(b.yamlContent=a.yamlContent);let c=await fetch("/api/settings/presidio",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(b)});if(!c.ok){let a=await c.json();throw Error(g(a?.error,`HTTP ${c.status}: ${c.statusText}`))}let d=await c.json();if(!d.success)throw Error(g(d.error,"Failed to update Presidio settings"));return{enabled:d.data.enabled,piiRedaction:d.data.piiRedaction,customRegex:d.data.customRegex,yamlContent:d.data.yamlContent||"",yamlPath:d.data.yamlPath,updatedAt:d.data.updatedAt}}function i(){var a;let b,[c,g]=(0,e.useState)({enabled:!1,piiRedaction:!1,customRegex:!1,yamlContent:""}),[i,k]=(0,e.useState)(""),[l,m]=(0,e.useState)(!0),[n,o]=(0,e.useState)(!1),[p,q]=(0,e.useState)(null),[r,s]=(0,e.useState)(null),[t,u]=(0,e.useState)("idle"),v=(0,e.useCallback)((a=a=>{let b=function(a){try{let b=a.split("\n"),c=a.trim();if(!c)return{valid:!0};if(!c.includes("rules:"))return{valid:!1,error:'Missing "rules:" key in YAML'};let d=!1;for(let a of b){let b=a.trim();b.startsWith("rules:")?d=!0:d&&b.startsWith("- entity:")||d&&b.startsWith("pattern:")||d&&b.startsWith("description:")}return{valid:!0}}catch(a){return{valid:!1,error:a.message}}}(a);s(b.valid?null:b.error)},function(...c){clearTimeout(b),b=setTimeout(()=>{clearTimeout(b),a(...c)},500)}),[]),w=a=>{g(b=>({...b,[a]:!b[a]}))},x=async()=>{if(r)return void q("Please fix validation errors before saving");o(!0),q(null);try{await h({enabled:c.enabled,piiRedaction:c.piiRedaction,customRegex:c.customRegex,yamlContent:c.customRegex?i:void 0}),u("success"),setTimeout(()=>u("idle"),3e3)}catch(a){q(a.message),u("error"),setTimeout(()=>u("idle"),3e3),console.error("Failed to save Presidio settings:",a)}finally{o(!1)}};return(0,d.jsxs)(f.default,{title:"Presidio Settings",subtitle:"Configure PII redaction using Microsoft Presidio",icon:"security",children:[l&&(0,d.jsxs)("div",{className:"flex items-center justify-center py-8 text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin mr-2",children:"refresh"}),"Loading settings..."]}),p&&(0,d.jsx)("div",{className:"mb-4 p-4 bg-error/10 border border-error/30 rounded-lg text-error text-sm",children:(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-lg",children:"error"}),p]})}),!l&&(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"font-medium text-text-main",children:"Presidio Sidecar"}),c.enabled&&(0,d.jsx)("span",{className:"px-2 py-0.5 text-xs bg-success/20 text-success rounded-full",children:"Active"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Enable PII redaction middleware"})]}),(0,d.jsx)(j,{label:"Presidio Sidecar",checked:c.enabled,onChange:()=>w("enabled"),disabled:n})]}),c.enabled&&(0,d.jsxs)("div",{className:"ml-4 pl-4 border-l-2 border-border-subtle space-y-4",children:[(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"PII Redaction"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Redact PII from messages using Presidio"})]}),(0,d.jsx)(j,{label:"PII Redaction",checked:c.piiRedaction,onChange:()=>w("piiRedaction"),disabled:n})]}),(0,d.jsxs)(f.default.ListItem,{children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{className:"font-medium text-text-main",children:"Custom Regex Patterns"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mt-0.5",children:"Use custom regex patterns from YAML config"})]}),(0,d.jsx)(j,{label:"Custom Regex Patterns",checked:c.customRegex,onChange:()=>w("customRegex"),disabled:n})]}),c.customRegex&&(0,d.jsxs)("div",{className:"mt-4",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,d.jsx)("label",{className:"text-sm font-medium text-text-main",children:"Custom Regex Patterns"}),r?(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs text-error",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),r]}):(0,d.jsxs)("span",{className:"flex items-center gap-1 text-xs text-success",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check_circle"}),"Valid"]})]}),(0,d.jsx)("textarea",{value:i,onChange:a=>{let b=a.target.value;k(b),g(a=>({...a,yamlContent:b})),v(b)},className:"w-full h-64 p-4 font-mono text-sm bg-bg border border-border-subtle rounded-lg resize-y focus:outline-none focus:ring-2 focus:ring-primary/50",placeholder:'# Presidio Redaction Configuration\nrules:\n - entity: "EMAIL_REGEX"\n pattern: "\\\\S+@\\\\S+"\n description: "Email pattern"',spellCheck:!1}),(0,d.jsx)("div",{className:"flex justify-end mt-2",children:(0,d.jsx)("button",{onClick:x,disabled:n||!!r,className:`
2
+ px-4 py-2 rounded-lg font-medium text-sm transition-all
3
+ ${n?"bg-text-muted text-text-muted-foreground cursor-not-allowed":"success"===t?"bg-success text-white":"error"===t?"bg-error text-white":r?"bg-text-muted text-text-muted-foreground cursor-not-allowed":"bg-primary text-white hover:bg-primary/90"}
4
+ `,children:n?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"refresh"}),"Saving..."]}):"success"===t?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"check"}),"Saved"]}):"error"===t?(0,d.jsxs)("span",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"close"}),"Failed"]}):"Save Configuration"})})]})]}),c.enabled&&!c.customRegex&&(0,d.jsx)("div",{className:"flex justify-end pt-4 border-t border-border-subtle",children:(0,d.jsx)("button",{onClick:x,disabled:n,className:"px-4 py-2 bg-primary text-white rounded-lg font-medium text-sm hover:bg-primary/90 disabled:opacity-50 disabled:cursor-not-allowed transition-all",children:n?"Saving...":"Save Changes"})})]})]})}function j({checked:a,onChange:b,disabled:c,label:e}){return(0,d.jsx)("button",{type:"button",role:"switch","aria-checked":a,"aria-label":e,onClick:()=>!c&&b(!a),disabled:c,className:`
5
+ relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent
6
+ transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-primary/50 focus:ring-offset-2
7
+ ${a?"bg-primary":"bg-surface-3"}
8
+ ${c?"opacity-50 cursor-not-allowed":""}
9
+ `,children:(0,d.jsx)("span",{className:`
10
+ pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0
11
+ transition duration-200 ease-in-out
12
+ ${a?"translate-x-5":"translate-x-0"}
13
+ `})})}function k(){return(0,d.jsxs)("div",{className:"max-w-4xl mx-auto p-6 space-y-6",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-3xl font-bold text-text-main",children:"Settings"}),(0,d.jsx)("p",{className:"text-text-muted mt-1",children:"Configure kRouter security and middleware settings"})]}),(0,d.jsx)(i,{})]})}},21820:a=>{"use strict";a.exports=require("os")},27910:a=>{"use strict";a.exports=require("stream")},28354:a=>{"use strict";a.exports=require("util")},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")},32763:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.js\" 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.")},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.js","default")},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")},43920:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),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,50385))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["presidio",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,32763))),"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.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,"/Users/shofiqulislam/9router-master/src/app/(dashboard)/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/Users/shofiqulislam/9router-master/src/app/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/presidio/page",pathname:"/dashboard/presidio",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},45568:(a,b,c)=>{Promise.resolve().then(c.bind(c,20406))},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")},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")},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")},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")},83997:a=>{"use strict";a.exports=require("tty")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=43920));module.exports=c})();
@@ -0,0 +1 @@
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dashboard)/dashboard/presidio/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"98":{"*":{"id":"4770","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"50585","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"85306","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"32456","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"59026","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"83552","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"14731","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"40410","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"65141","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"19308","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"267","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"23296","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"35655","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"91809","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"79488","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"74812","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"81921","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"20084","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"91099","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"39645","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"38930","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"51109","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"53845","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"81157","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"62727","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"20309","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"20406","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"11633","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"23658","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"75171","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"25919","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"19388","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"19598","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"86209","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"56254","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"5291","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"94558","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"61377","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"25930","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"16316","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"3212","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"51585","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"3493","name":"*","chunks":[],"async":false}},"76084":{"*":{"id":"23906","name":"*","chunks":[],"async":false}},"77241":{"*":{"id":"7592","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"2091","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"3236","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"95145","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"40074","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"14412","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"17660","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"29499","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"18968","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"14144","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"73180","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"79346","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"53838","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"48781","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"99070","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"42196","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"56110","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"7870","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"5211","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"43182","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"43173","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"67738","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"54510","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"32971","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"95514","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/builtin/global-error.js":{"id":27123,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Inter\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-inter\"}],\"variableName\":\"inter\"}":{"id":35154,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.js\",\"import\":\"Space_Grotesk\",\"arguments\":[{\"subsets\":[\"latin\"],\"weight\":[\"500\",\"600\",\"700\"],\"variable\":\"--font-space-grotesk\",\"display\":\"swap\"}],\"variableName\":\"spaceGrotesk\"}":{"id":93968,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/node_modules/material-symbols/outlined.css":{"id":5887,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/globals.css":{"id":51743,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/i18n/RuntimeI18nProvider.js":{"id":94635,"name":"*","chunks":["1321","static/chunks/1321-6c49a954d60cdf8d.js","7177","static/chunks/app/layout-ad1b0eddf87f5d0d.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ThemeProvider.js":{"id":21110,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/callback/page.js":{"id":59884,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/dashboard/settings/pricing/page.js":{"id":87304,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/landing/page.js":{"id":85941,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/login/page.js":{"id":83016,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/AddCustomEmbeddingModal.js":{"id":96748,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Avatar.js":{"id":56319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Badge.js":{"id":56061,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Button.js":{"id":92542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/CapacityBadges.js":{"id":29366,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Card.js":{"id":84588,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ChangelogModal.js":{"id":97556,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ComboFormModal.js":{"id":45455,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/CursorAuthModal.js":{"id":30815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/EditConnectionModal.js":{"id":73579,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Footer.js":{"id":92173,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/GitLabAuthModal.js":{"id":95088,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Header.js":{"id":8823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/HeaderMenu.js":{"id":80752,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/IFlowCookieModal.js":{"id":23936,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Input.js":{"id":11910,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroAuthModal.js":{"id":61500,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroOAuthWrapper.js":{"id":62899,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/KiroSocialOAuthModal.js":{"id":94230,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/LanguageSwitcher.js":{"id":21931,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/layouts/AuthLayout.js":{"id":91450,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/layouts/DashboardLayout.js":{"id":7648,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Loading.js":{"id":25086,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ManualConfigModal.js":{"id":28815,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/McpMarketplaceModal.js":{"id":28058,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Modal.js":{"id":81127,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ModelSelectModal.js":{"id":46067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/NoAuthProxyCard.js":{"id":4823,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/OAuthModal.js":{"id":90882,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ProviderInfoCard.js":{"id":51825,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/RequestLogger.js":{"id":23615,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/SegmentedControl.js":{"id":28067,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Select.js":{"id":98,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Sidebar.js":{"id":92622,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/ThemeToggle.js":{"id":38587,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Toggle.js":{"id":98542,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/Tooltip.js":{"id":97677,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/shared/components/UsageStats.js":{"id":10319,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","9305","static/chunks/app/(dashboard)/layout-7757ccc2ebe422f2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/basic-chat/BasicChatPageClient.js":{"id":88512,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/cli-tools/[toolId]/ToolDetailClient.js":{"id":85309,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/cli-tools/CLIToolsPageClient.js":{"id":53501,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/combos/page.js":{"id":80191,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.js":{"id":95907,"name":"*","chunks":["7504","static/chunks/7504-6f7ca1eab428dd5e.js","1321","static/chunks/1321-6c49a954d60cdf8d.js","5497","static/chunks/5497-df084be192db340d.js","3395","static/chunks/3395-ee203e7ee50296be.js","6337","static/chunks/app/(dashboard)/dashboard/page-dcf16d0f112217c2.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/environment/page.js":{"id":61521,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js":{"id":94588,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/[kind]/page.js":{"id":16144,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js":{"id":22662,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/media-providers/web/page.js":{"id":71088,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/mitm/MitmPageClient.js":{"id":22879,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/new/page.js":{"id":15615,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/pxpipe/PxpipeClient.js":{"id":71470,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/usage/components/ProviderLimits/index.js":{"id":75095,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/skills/page.js":{"id":64082,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/token-saver/TokenSaverClient.js":{"id":70323,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/translator/page.js":{"id":76084,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/usage/page.js":{"id":81772,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/console-log/ConsoleLogClient.js":{"id":44493,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page.js":{"id":47766,"name":"*","chunks":["1581","static/chunks/app/(dashboard)/dashboard/presidio/page-d99bb3a54c3dbb50.js"],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js":{"id":64561,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/[id]/page.js":{"id":77241,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/providers/page.js":{"id":18160,"name":"*","chunks":[],"async":false},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/proxy-pools/page.js":{"id":57076,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/Users/shofiqulislam/9router-master/src/":[],"/Users/shofiqulislam/9router-master/src/app/layout":[{"inlined":false,"path":"static/css/f408a041a2395281.css"},{"inlined":false,"path":"static/css/ec08ba27b16d57e9.css"}],"/Users/shofiqulislam/9router-master/src/app/page":[],"/Users/shofiqulislam/9router-master/src/app/(dashboard)/layout":[],"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/page":[],"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/presidio/page":[]},"rscModuleMapping":{"98":{"*":{"id":"83784","name":"*","chunks":[],"async":false}},"4823":{"*":{"id":"5843","name":"*","chunks":[],"async":false}},"5887":{"*":{"id":"36497","name":"*","chunks":[],"async":false}},"7648":{"*":{"id":"61780","name":"*","chunks":[],"async":false}},"8823":{"*":{"id":"92669","name":"*","chunks":[],"async":false}},"10319":{"*":{"id":"2422","name":"*","chunks":[],"async":false}},"11910":{"*":{"id":"71230","name":"*","chunks":[],"async":false}},"15615":{"*":{"id":"24885","name":"*","chunks":[],"async":false}},"16144":{"*":{"id":"6452","name":"*","chunks":[],"async":false}},"18160":{"*":{"id":"44030","name":"*","chunks":[],"async":false}},"21110":{"*":{"id":"89886","name":"*","chunks":[],"async":false}},"21931":{"*":{"id":"45205","name":"*","chunks":[],"async":false}},"22662":{"*":{"id":"50254","name":"*","chunks":[],"async":false}},"22879":{"*":{"id":"8523","name":"*","chunks":[],"async":false}},"23615":{"*":{"id":"19083","name":"*","chunks":[],"async":false}},"23936":{"*":{"id":"80342","name":"*","chunks":[],"async":false}},"25086":{"*":{"id":"92082","name":"*","chunks":[],"async":false}},"27123":{"*":{"id":"95547","name":"*","chunks":[],"async":false}},"28058":{"*":{"id":"962","name":"*","chunks":[],"async":false}},"28067":{"*":{"id":"54065","name":"*","chunks":[],"async":false}},"28815":{"*":{"id":"70603","name":"*","chunks":[],"async":false}},"29366":{"*":{"id":"4996","name":"*","chunks":[],"async":false}},"30815":{"*":{"id":"40167","name":"*","chunks":[],"async":false}},"38587":{"*":{"id":"40515","name":"*","chunks":[],"async":false}},"44493":{"*":{"id":"99259","name":"*","chunks":[],"async":false}},"45455":{"*":{"id":"20493","name":"*","chunks":[],"async":false}},"46067":{"*":{"id":"94582","name":"*","chunks":[],"async":false}},"47766":{"*":{"id":"32763","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"51825":{"*":{"id":"81923","name":"*","chunks":[],"async":false}},"53501":{"*":{"id":"79518","name":"*","chunks":[],"async":false}},"56061":{"*":{"id":"33893","name":"*","chunks":[],"async":false}},"56319":{"*":{"id":"70061","name":"*","chunks":[],"async":false}},"57076":{"*":{"id":"23450","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"59884":{"*":{"id":"3604","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"61500":{"*":{"id":"82448","name":"*","chunks":[],"async":false}},"61521":{"*":{"id":"13019","name":"*","chunks":[],"async":false}},"62899":{"*":{"id":"14285","name":"*","chunks":[],"async":false}},"64082":{"*":{"id":"40852","name":"*","chunks":[],"async":false}},"64561":{"*":{"id":"50047","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"70323":{"*":{"id":"13397","name":"*","chunks":[],"async":false}},"71088":{"*":{"id":"93918","name":"*","chunks":[],"async":false}},"71470":{"*":{"id":"26702","name":"*","chunks":[],"async":false}},"73579":{"*":{"id":"70139","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"75095":{"*":{"id":"57471","name":"*","chunks":[],"async":false}},"76084":{"*":{"id":"38308","name":"*","chunks":[],"async":false}},"77241":{"*":{"id":"93110","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"80191":{"*":{"id":"35447","name":"*","chunks":[],"async":false}},"80752":{"*":{"id":"29354","name":"*","chunks":[],"async":false}},"81127":{"*":{"id":"10079","name":"*","chunks":[],"async":false}},"81772":{"*":{"id":"87149","name":"*","chunks":[],"async":false}},"83016":{"*":{"id":"65674","name":"*","chunks":[],"async":false}},"84588":{"*":{"id":"7290","name":"*","chunks":[],"async":false}},"85309":{"*":{"id":"99005","name":"*","chunks":[],"async":false}},"85941":{"*":{"id":"852","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87304":{"*":{"id":"93870","name":"*","chunks":[],"async":false}},"88512":{"*":{"id":"79286","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"90882":{"*":{"id":"3080","name":"*","chunks":[],"async":false}},"91450":{"*":{"id":"64420","name":"*","chunks":[],"async":false}},"92173":{"*":{"id":"49123","name":"*","chunks":[],"async":false}},"92542":{"*":{"id":"45512","name":"*","chunks":[],"async":false}},"92622":{"*":{"id":"26866","name":"*","chunks":[],"async":false}},"94230":{"*":{"id":"87228","name":"*","chunks":[],"async":false}},"94588":{"*":{"id":"69296","name":"*","chunks":[],"async":false}},"94635":{"*":{"id":"85117","name":"*","chunks":[],"async":false}},"95088":{"*":{"id":"64148","name":"*","chunks":[],"async":false}},"95907":{"*":{"id":"51747","name":"*","chunks":[],"async":false}},"96748":{"*":{"id":"18200","name":"*","chunks":[],"async":false}},"97556":{"*":{"id":"33811","name":"*","chunks":[],"async":false}},"97677":{"*":{"id":"18421","name":"*","chunks":[],"async":false}},"98542":{"*":{"id":"70092","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -1 +1 @@
1
- (()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},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")},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")},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")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js\" 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.")},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js","default")},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")},55908:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),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,50385))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.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,"/Users/shofiqulislam/9router-master/src/app/(dashboard)/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/Users/shofiqulislam/9router-master/src/app/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},57075:a=>{"use strict";a.exports=require("node:stream")},57975:a=>{"use strict";a.exports=require("node:util")},61377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818);function n(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)({fallbackStrategy:"fill-first"}),[y,z]=(0,e.useState)(!0),[A,B]=(0,e.useState)({current:"",new:"",confirm:""}),[C,D]=(0,e.useState)({type:"",message:""}),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)({type:"",message:""}),[K,L]=(0,e.useState)({open:!1,mode:"",password:""}),M=(0,e.useRef)(null),[N,O]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[P,Q]=(0,e.useState)(""),[R,S]=(0,e.useState)({type:"",message:""}),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)({type:"",message:""}),[Z,$]=(0,e.useState)("/api/auth/oidc/callback"),[_,aa]=(0,e.useState)(!1),ab=(0,e.useRef)(null),[ac,ad]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[ae,af]=(0,e.useState)({type:"",message:""}),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(!1),ak=async a=>{if(a.preventDefault(),!0===w.outboundProxyEnabled){ah(!0),af({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:ac.outboundProxyUrl,outboundNoProxy:ac.outboundNoProxy})}),b=await a.json();a.ok?(x(a=>({...a,...b})),af({type:"success",message:"Proxy settings applied"})):af({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}}},al=async()=>{if(!0!==w.outboundProxyEnabled)return;let a=(ac.outboundProxyUrl||"").trim();if(!a)return void af({type:"error",message:"Please enter a Proxy URL to test"});aj(!0),af({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?af({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):af({type:"error",message:c?.error||"Proxy test failed"})}catch(a){af({type:"error",message:"An error occurred"})}finally{aj(!1)}},am=async a=>{ah(!0),af({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(x(a=>({...a,...c})),ad(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),af({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):af({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}},an=async a=>{if(a.preventDefault(),A.new!==A.confirm)return void D({type:"error",message:"Passwords do not match"});F(!0),D({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:A.current,newPassword:A.new})}),b=await a.json();a.ok?(D({type:"success",message:"Password updated successfully"}),B({current:"",new:"",confirm:""})):D({type:"error",message:b.error||"Failed to update password"})}catch(a){D({type:"error",message:"An error occurred"})}finally{F(!1)}},ao=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&x(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},ap=async(a,b)=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[a]:b})})).ok&&x(c=>({...c,[a]:b}))}catch(b){console.error(`Failed to update ${a}:`,b)}},aq=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&x(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},ar=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&x(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},as=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&x(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},at=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&x(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},au=(a,b)=>{O(c=>({...c,[a]:b}))},av=async(a=N.authMode||"password")=>{let b=N.oidcIssuerUrl.trim(),c=N.oidcClientId.trim(),d=N.oidcScopes.trim(),e=N.oidcLoginLabel.trim(),f=P.trim();if("password"!==a&&(!b||!c||!f)&&!w.oidcConfigured)return void S({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});U(!0),S({type:"",message:""}),Y({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(x(a=>({...a,...i})),O({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),Q(""),S({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):S({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){S({type:"error",message:"An error occurred"})}finally{U(!1)}},aw=async()=>{let a=N.oidcIssuerUrl.trim(),b=N.oidcClientId.trim(),c=N.oidcScopes.trim(),d=P.trim();if(!a||!b)return void Y({type:"error",message:"Issuer URL and client ID are required to test the connection."});W(!0),S({type:"",message:""}),Y({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:N.authMode||w.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:N.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void Y({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;Y({type:"success",message:a})}else Y({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){Y({type:"error",message:"An error occurred"})}finally{W(!1)}},ax=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&x(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},ay=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();x(b)}catch(a){console.error("Failed to reload settings:",a)}},az=async a=>{H(!0),J({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`krouter-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),J({type:"success",message:"Database backup downloaded"})}catch(a){J({type:"error",message:a.message||"Failed to export database"})}finally{H(!1)}},aA=async a=>{let b=M.current;if(b){H(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await ay(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aB=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await az(b):"import"===a&&await aA(b)},aC=!0===w.enableObservability,aD=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aE=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.krouter/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:()=>L({open:!0,mode:"export",password:""}),loading:G,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>ab.current?.click(),disabled:G,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:ab,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];ab.current&&(ab.current.value=""),b&&(M.current=b,J({type:"",message:""}),L({open:!0,mode:"import",password:""}))}})]}),I.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===I.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:I.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>r(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===w.requireLogin,onChange:()=>at(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:an,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[w.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:A.current,onChange:a=>B({...A,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:A.new,onChange:a=>B({...A,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:A.confirm,onChange:a=>B({...A,confirm:a.target.value}),required:!0})]})]}),C.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===C.type?"text-red-500":"text-green-500"}`,children:C.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:E,className:"w-full sm:w-auto",children:w.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aa(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===w.authMode?"OIDC active":"both"===w.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:_?"expand_less":"expand_more"})]}),_&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=N.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>au("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:y||T,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/krouter/",value:N.oidcIssuerUrl,onChange:a=>au("oidcIssuerUrl",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"krouter-dashboard",value:N.oidcClientId,onChange:a=>au("oidcClientId",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:P,onChange:a=>Q(a.target.value),disabled:y||T}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:N.oidcScopes,onChange:a=>au("oidcScopes",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:N.oidcLoginLabel,onChange:a=>au("oidcLoginLabel",a.target.value),disabled:y||T})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:Z})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:T,onClick:()=>av(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:aw,className:"w-full sm:w-auto",children:"Test connection"})]}),X.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===X.type?"text-red-500":"text-green-500"}`,children:X.message}),R.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===R.type?"text-red-500":"text-green-500"}`,children:R.message}),"oidc"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Strategy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"How kRouter picks the next available account"})]}),(0,d.jsx)(g.l6,{value:w.fallbackStrategy||"fill-first",onChange:a=>ao(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Fill First (default)"},{value:"round-robin",label:"Round Robin"},{value:"p2c",label:"P2C (Power of 2 Choices)"},{value:"random",label:"Random"}]})]}),"round-robin"===w.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:w.stickyRoundRobinLimit||3,onChange:a=>ar(a.target.value),disabled:y,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>aq("round-robin"===w.comboStrategy?"fallback":"round-robin"),disabled:y})]}),"round-robin"===w.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:w.comboStickyRoundRobinLimit||1,onChange:a=>as(a.target.value),disabled:y,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===w.fallbackStrategy?`Distributing requests across all available accounts with ${w.stickyRoundRobinLimit||3} calls per account.`:"p2c"===w.fallbackStrategy?"Picking the healthier of 2 random accounts on each request (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account on each request.":"Using accounts in priority order (Fill First).","round-robin"===w.comboStrategy?` Combos rotate after ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"psychology"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Task-Aware Routing"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Show intent suggestions in logs"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Classify every request as code / math / reasoning / creative / simple (9 languages) and log the suggested combo. Log-only; never overrides your chosen model."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.routingIntelligenceEnabled,onChange:()=>ap("routingIntelligenceEnabled",!1===w.routingIntelligenceEnabled),disabled:y})]}),!1!==w.routingIntelligenceEnabled&&(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Active — check the dev console for ",(0,d.jsx)("code",{children:"[ROUTING] intent=X complexity=Y score=N tier=Z"})," lines. Custom intent→combo overrides via ",(0,d.jsx)("code",{children:"taskAwareRouterMap"})," setting (JSON)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"emergency"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Emergency Fallback"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Redirect on budget exhaustion"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:'When an upstream returns 402 or "insufficient funds", transparently re-route the request to a free model so the user still gets a response.'})]}),(0,d.jsx)(g.lM,{checked:!!w.emergencyFallbackEnabled,onChange:()=>ap("emergencyFallbackEnabled",!w.emergencyFallbackEnabled),disabled:y})]}),w.emergencyFallbackEnabled&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback provider"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Provider ID used for the redirect (e.g. ",(0,d.jsx)("code",{children:"nvidia"}),", ",(0,d.jsx)("code",{children:"openrouter"}),", ",(0,d.jsx)("code",{children:"opencode"}),")"]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackProvider||"nvidia",onChange:a=>ap("emergencyFallbackProvider",a.target.value.trim()),disabled:y,className:"w-32 sm:w-44 text-center shrink-0",placeholder:"nvidia"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback model"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Model ID at that provider. Default ",(0,d.jsx)("code",{children:"openai/gpt-oss-120b"})," is free on NVIDIA NIM."]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackModel||"openai/gpt-oss-120b",onChange:a=>ap("emergencyFallbackModel",a.target.value.trim()),disabled:y,className:"w-40 sm:w-56 text-center shrink-0",placeholder:"openai/gpt-oss-120b"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Skip for tool requests"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Don't redirect when the request has tools — the free model may not support tool calling."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.emergencyFallbackSkipForTools,onChange:()=>ap("emergencyFallbackSkipForTools",!1===w.emergencyFallbackSkipForTools),disabled:y})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Currently redirecting 402 / budget errors to"," ",(0,d.jsxs)("code",{children:[w.emergencyFallbackProvider||"nvidia","/",w.emergencyFallbackModel||"openai/gpt-oss-120b"]}),"."]})]}),!w.emergencyFallbackEnabled&&(0,d.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:"Disabled — 402 / budget errors are returned to the user as-is."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"database"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Cache Control"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Mode"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Controls whether kRouter mutates ",(0,d.jsx)("code",{children:"cache_control"})," markers on Claude-shape requests. Anthropic's prompt cache is byte-keyed; any mutation busts the cache."]})]}),(0,d.jsxs)("select",{value:w.cacheControlMode||"auto",onChange:a=>ap("cacheControlMode",a.target.value),disabled:y,className:"w-32 sm:w-44 px-3 py-2 text-sm rounded border border-border bg-bg text-text-main shrink-0",children:[(0,d.jsx)("option",{value:"auto",children:"Auto (recommended)"}),(0,d.jsx)("option",{value:"always",children:"Always preserve"}),(0,d.jsx)("option",{value:"never",children:"Never preserve (legacy)"})]})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Quick toggle"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Got a fresh-turn 429 because your prompt is bigger than your tier's TPM? Click once to switch into legacy trimming, send your first turn, then click again to return to cache-preserve mode."})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ap("cacheControlMode","never"===(w.cacheControlMode||"auto")?"auto":"never"),disabled:y,className:`w-32 sm:w-44 px-3 py-2 text-sm font-medium rounded shrink-0 transition-colors ${"never"===(w.cacheControlMode||"auto")?"bg-amber-500/15 text-amber-600 border border-amber-500/40 hover:bg-amber-500/25":"bg-cyan-500/15 text-cyan-600 border border-cyan-500/40 hover:bg-cyan-500/25"}`,children:"never"===(w.cacheControlMode||"auto")?"Restore cache preserve":"Emergency: trim prompt"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["auto"===(w.cacheControlMode||"auto")&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"auto"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," only on Claude Desktop / Claude Code passthrough (",(0,d.jsx)("code",{children:'clientTool==="claude"'})," & ",(0,d.jsx)("code",{children:'provider==="claude"'}),"). All other paths mutate as before."]}),"always"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"always"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," on any Claude-shape target (including ",(0,d.jsx)("code",{children:"anthropic-compatible-*"})," resellers and translated requests). Paranoid mode."]}),"never"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"never"}),": legacy 0.5.31-and-earlier behaviour — always strip and rewrite ",(0,d.jsx)("code",{children:"cache_control"}),". Escape hatch only."]})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===w.outboundProxyEnabled,onChange:()=>am(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:ak,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:ac.outboundProxyUrl,onChange:a=>ad(b=>({...b,outboundProxyUrl:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:ac.outboundNoProxy,onChange:a=>ad(b=>({...b,outboundNoProxy:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:ai,disabled:y||ag,onClick:al,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ag,className:"w-full sm:w-auto",children:"Apply"})]})]}),ae.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ae.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:ae.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aC,onChange:ax,disabled:y})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>t(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aE,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:q,onClose:a=>{r(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:s,onClose:()=>t(!1),onConfirm:aD,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:u}),(0,d.jsxs)(h.default,{isOpen:K.open,onClose:()=>L({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>L({open:!1,mode:"",password:""}),disabled:G,children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"primary",onClick:aB,loading:G,disabled:!K.password,children:"Confirm"})]}),children:[(0,d.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===K.mode?"export":"import"," the database."]}),(0,d.jsx)(g.pd,{type:"password",value:K.password,onChange:a=>L(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&K.password&&aB()},placeholder:"Current password",autoFocus:!0})]})]})}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},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")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81432:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},83997:a=>{"use strict";a.exports=require("tty")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91160:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=55908));module.exports=c})();
1
+ (()=>{var a={};a.id=3471,a.ids=[3471],a.modules={643:a=>{"use strict";a.exports=require("node:perf_hooks")},1708:a=>{"use strict";a.exports=require("node:process")},1932:a=>{"use strict";a.exports=require("url")},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")},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")},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")},48161:a=>{"use strict";a.exports=require("node:os")},50047:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js\" 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.")},"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.js","default")},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")},61377:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>n});var d=c(48249),e=c(67484),f=c(19099),g=c(50412),h=c(95145),i=c(267),j=c(42118),k=c(71404),l=c(12020);c(51126);var m=c(818);function n(){let a=(0,f.useRouter)(),{theme:b,setTheme:c,isDark:n}=(0,j.D)(),[o,p]=(0,e.useState)("en"),[q,r]=(0,e.useState)(!1),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(!1),[w,x]=(0,e.useState)({fallbackStrategy:"fill-first"}),[y,z]=(0,e.useState)(!0),[A,B]=(0,e.useState)({current:"",new:"",confirm:""}),[C,D]=(0,e.useState)({type:"",message:""}),[E,F]=(0,e.useState)(!1),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)({type:"",message:""}),[K,L]=(0,e.useState)({open:!1,mode:"",password:""}),M=(0,e.useRef)(null),[N,O]=(0,e.useState)({authMode:"password",oidcIssuerUrl:"",oidcClientId:"",oidcScopes:"openid profile email",oidcLoginLabel:"Sign in with OIDC"}),[P,Q]=(0,e.useState)(""),[R,S]=(0,e.useState)({type:"",message:""}),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(!1),[X,Y]=(0,e.useState)({type:"",message:""}),[Z,$]=(0,e.useState)("/api/auth/oidc/callback"),[_,aa]=(0,e.useState)(!1),ab=(0,e.useRef)(null),[ac,ad]=(0,e.useState)({outboundProxyEnabled:!1,outboundProxyUrl:"",outboundNoProxy:""}),[ae,af]=(0,e.useState)({type:"",message:""}),[ag,ah]=(0,e.useState)(!1),[ai,aj]=(0,e.useState)(!1),ak=async a=>{if(a.preventDefault(),!0===w.outboundProxyEnabled){ah(!0),af({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyUrl:ac.outboundProxyUrl,outboundNoProxy:ac.outboundNoProxy})}),b=await a.json();a.ok?(x(a=>({...a,...b})),af({type:"success",message:"Proxy settings applied"})):af({type:"error",message:b.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}}},al=async()=>{if(!0!==w.outboundProxyEnabled)return;let a=(ac.outboundProxyUrl||"").trim();if(!a)return void af({type:"error",message:"Please enter a Proxy URL to test"});aj(!0),af({type:"",message:""});try{let b=await fetch("/api/settings/proxy-test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({proxyUrl:a})}),c=await b.json();b.ok&&c?.ok?af({type:"success",message:`Proxy test OK (${c.status}) in ${c.elapsedMs}ms`}):af({type:"error",message:c?.error||"Proxy test failed"})}catch(a){af({type:"error",message:"An error occurred"})}finally{aj(!1)}},am=async a=>{ah(!0),af({type:"",message:""});try{let b=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({outboundProxyEnabled:a})}),c=await b.json();b.ok?(x(a=>({...a,...c})),ad(a=>({...a,outboundProxyEnabled:c?.outboundProxyEnabled===!0})),af({type:"success",message:a?"Proxy enabled":"Proxy disabled"})):af({type:"error",message:c.error||"Failed to update proxy settings"})}catch(a){af({type:"error",message:"An error occurred"})}finally{ah(!1)}},an=async a=>{if(a.preventDefault(),A.new!==A.confirm)return void D({type:"error",message:"Passwords do not match"});F(!0),D({type:"",message:""});try{let a=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({currentPassword:A.current,newPassword:A.new})}),b=await a.json();a.ok?(D({type:"success",message:"Password updated successfully"}),B({current:"",new:"",confirm:""})):D({type:"error",message:b.error||"Failed to update password"})}catch(a){D({type:"error",message:"An error occurred"})}finally{F(!1)}},ao=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({fallbackStrategy:a})})).ok&&x(b=>({...b,fallbackStrategy:a}))}catch(a){console.error("Failed to update settings:",a)}},ap=async(a,b)=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({[a]:b})})).ok&&x(c=>({...c,[a]:b}))}catch(b){console.error(`Failed to update ${a}:`,b)}},aq=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStrategy:a})})).ok&&x(b=>({...b,comboStrategy:a}))}catch(a){console.error("Failed to update combo strategy:",a)}},ar=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({stickyRoundRobinLimit:b})})).ok&&x(a=>({...a,stickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update sticky limit:",a)}},as=async a=>{let b=parseInt(a,10);if(!isNaN(b)&&!(b<1))try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({comboStickyRoundRobinLimit:b})})).ok&&x(a=>({...a,comboStickyRoundRobinLimit:b}))}catch(a){console.error("Failed to update combo sticky limit:",a)}},at=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireLogin:a})})).ok&&x(b=>({...b,requireLogin:a}))}catch(a){console.error("Failed to update require login:",a)}},au=(a,b)=>{O(c=>({...c,[a]:b}))},av=async(a=N.authMode||"password")=>{let b=N.oidcIssuerUrl.trim(),c=N.oidcClientId.trim(),d=N.oidcScopes.trim(),e=N.oidcLoginLabel.trim(),f=P.trim();if("password"!==a&&(!b||!c||!f)&&!w.oidcConfigured)return void S({type:"error",message:"Issuer URL, client ID, and client secret are required to enable OIDC."});U(!0),S({type:"",message:""}),Y({type:"",message:""});try{let g={authMode:a,oidcIssuerUrl:b,oidcClientId:c,oidcScopes:d||"openid profile email",oidcLoginLabel:e||"Sign in with OIDC"};f&&(g.oidcClientSecret=f);let h=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}),i=await h.json();h.ok?(x(a=>({...a,...i})),O({authMode:i?.authMode||a,oidcIssuerUrl:i?.oidcIssuerUrl||b,oidcClientId:i?.oidcClientId||c,oidcScopes:i?.oidcScopes||d||"openid profile email",oidcLoginLabel:i?.oidcLoginLabel||e||"Sign in with OIDC"}),Q(""),S({type:"success",message:"oidc"===a?"OIDC login enabled":"both"===a?"Password and OIDC login enabled":"OIDC settings saved"})):S({type:"error",message:i.error||"Failed to save OIDC settings"})}catch(a){S({type:"error",message:"An error occurred"})}finally{U(!1)}},aw=async()=>{let a=N.oidcIssuerUrl.trim(),b=N.oidcClientId.trim(),c=N.oidcScopes.trim(),d=P.trim();if(!a||!b)return void Y({type:"error",message:"Issuer URL and client ID are required to test the connection."});W(!0),S({type:"",message:""}),Y({type:"",message:""});try{let e=await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({authMode:N.authMode||w.authMode||"password",oidcIssuerUrl:a,oidcClientId:b,oidcScopes:c||"openid profile email",oidcLoginLabel:N.oidcLoginLabel.trim()||"Sign in with OIDC",...d?{oidcClientSecret:d}:{}})}),f=await e.json().catch(()=>({}));if(!e.ok)return void Y({type:"error",message:f.error||"Failed to save OIDC settings before testing"});let g=await fetch("/api/auth/oidc/test",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({issuerUrl:f.oidcIssuerUrl||a,clientId:f.oidcClientId||b,scopes:f.oidcScopes||c||"openid profile email"})}),h=await g.json().catch(()=>({}));if(g.ok&&h?.ok){let a=h.clientSecretTested?!0===h.clientSecretValid?`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret validated too.`:`Connection OK. Discovery loaded from ${h.issuerUrl}. Client secret was not checked.`:`Connection OK. Discovery loaded from ${h.issuerUrl}.`;Y({type:"success",message:a})}else Y({type:"error",message:h.error||"OIDC connection test failed"})}catch(a){Y({type:"error",message:"An error occurred"})}finally{W(!1)}},ax=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({enableObservability:a})})).ok&&x(b=>({...b,enableObservability:a}))}catch(a){console.error("Failed to update enableObservability:",a)}},ay=async()=>{try{let a=await fetch("/api/settings");if(!a.ok)return;let b=await a.json();x(b)}catch(a){console.error("Failed to reload settings:",a)}},az=async a=>{H(!0),J({type:"",message:""});try{let b=await fetch("/api/settings/database",{headers:{"x-9r-password":a}});if(!b.ok){let a=await b.json().catch(()=>({}));throw Error(a.error||"Failed to export database")}let c=await b.json(),d=JSON.stringify(c,null,2),e=new Blob([d],{type:"application/json"}),f=URL.createObjectURL(e),g=document.createElement("a"),h=new Date().toISOString().replace(/[.:]/g,"-");g.href=f,g.download=`krouter-backup-${h}.json`,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(f),J({type:"success",message:"Database backup downloaded"})}catch(a){J({type:"error",message:a.message||"Failed to export database"})}finally{H(!1)}},aA=async a=>{let b=M.current;if(b){H(!0);try{let c=await b.text(),d=JSON.parse(c),e=await fetch("/api/settings/database",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...d,password:a})}),f=await e.json().catch(()=>({}));if(!e.ok)throw Error(f.error||"Failed to import database");await ay(),J({type:"success",message:"Database imported successfully"})}catch(a){J({type:"error",message:a.message||"Invalid backup file"})}finally{M.current=null,H(!1)}}},aB=async()=>{let{mode:a,password:b}=K;L({open:!1,mode:"",password:""}),"export"===a?await az(b):"import"===a&&await aA(b)},aC=!0===w.enableObservability,aD=async()=>{v(!0);try{await fetch("/api/version/shutdown",{method:"POST"})}catch(a){}v(!1),t(!1)},aE=async()=>{try{(await fetch("/api/auth/logout",{method:"POST"})).ok&&(a.push("/login"),a.refresh())}catch(a){console.error("Failed to logout:",a)}};return(0,d.jsxs)("div",{className:"max-w-2xl mx-auto px-4 sm:px-0",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,d.jsx)("div",{className:"size-10 sm:size-12 rounded-lg bg-green-500/10 text-green-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-xl sm:text-2xl",children:"computer"})}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-lg sm:text-xl font-semibold",children:"Local Mode"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Running on your machine"})]})]}),(0,d.jsx)("div",{className:"inline-flex p-1 rounded-lg bg-black/5 dark:bg-white/5 w-full sm:w-auto",children:["light","dark","system"].map(a=>(0,d.jsxs)("button",{type:"button",onClick:()=>c(a),className:(0,k.cn)("flex items-center justify-center gap-1 sm:gap-1.5 px-2 sm:px-3 py-1.5 rounded-md font-medium transition-all flex-1 sm:flex-initial",b===a?"bg-white dark:bg-white/10 text-text-main shadow-sm":"text-text-muted hover:text-text-main"),children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"light"===a?"light_mode":"dark"===a?"dark_mode":"contrast"}),(0,d.jsx)("span",{className:"capitalize text-xs sm:text-sm",children:a})]},a))})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-3 pt-4 border-t border-border",children:[(0,d.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between p-3 rounded-lg bg-bg border border-border gap-2",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Database Location"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted font-mono break-all",children:"~/.krouter/db/data.sqlite"})]})}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"secondary",icon:"download",onClick:()=>L({open:!0,mode:"export",password:""}),loading:G,className:"w-full sm:w-auto",children:"Download Backup"}),(0,d.jsx)(g.$n,{variant:"outline",icon:"upload",onClick:()=>ab.current?.click(),disabled:G,className:"w-full sm:w-auto",children:"Import Backup"}),(0,d.jsx)("input",{ref:ab,type:"file",accept:"application/json,.json",className:"hidden",onChange:a=>{let b=a.target.files?.[0];ab.current&&(ab.current.value=""),b&&(M.current=b,J({type:"",message:""}),L({open:!0,mode:"import",password:""}))}})]}),I.message&&(0,d.jsx)("p",{className:`text-sm ${"error"===I.type?"text-red-500":"text-green-600 dark:text-green-400"}`,children:I.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"size-10 rounded-lg bg-blue-500/10 text-blue-500 flex items-center justify-center shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"language"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Language"})]}),(0,d.jsxs)("button",{onClick:()=>r(!0),className:"flex items-center justify-between w-full p-3 rounded-lg bg-bg border border-border hover:border-primary/50 transition-colors","data-i18n-skip":"true",children:[(0,d.jsx)("span",{className:"text-sm text-text-muted",children:"Display language"}),(0,d.jsx)("span",{className:"text-2xl",children:m.h[o]||"\uD83C\uDF10"})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-primary/10 text-primary shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"shield"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Security"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Require login"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"When ON, dashboard requires password. When OFF, access without login."})]}),(0,d.jsx)(g.lM,{checked:!0===w.requireLogin,onChange:()=>at(!w.requireLogin),disabled:y})]}),!0===w.requireLogin&&(0,d.jsxs)("form",{onSubmit:an,className:"flex flex-col gap-4 pt-4 border-t border-border/50",children:[w.hasPassword&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Current Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter current password",value:A.current,onChange:a=>B({...A,current:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Enter new password",value:A.new,onChange:a=>B({...A,new:a.target.value}),required:!0})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"text-xs sm:text-sm font-medium",children:"Confirm New Password"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Confirm new password",value:A.confirm,onChange:a=>B({...A,confirm:a.target.value}),required:!0})]})]}),C.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===C.type?"text-red-500":"text-green-500"}`,children:C.message}),(0,d.jsx)("div",{className:"pt-2",children:(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:E,className:"w-full sm:w-auto",children:w.hasPassword?"Update Password":"Set Password"})})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("button",{type:"button",onClick:()=>aa(a=>!a),className:"w-full flex items-center gap-3 text-left",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-indigo-500/10 text-indigo-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"lock_open"})}),(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"OIDC Dashboard Login"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"oidc"===w.authMode?"OIDC active":"both"===w.authMode?"Password + OIDC active":"Optional SSO via Authentik/Keycloak/Google"})]}),(0,d.jsx)("span",{className:"material-symbols-outlined text-text-muted shrink-0",children:_?"expand_less":"expand_more"})]}),_&&(0,d.jsxs)("div",{className:"flex flex-col gap-4 mt-4",children:[(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Use Authentik or any OIDC provider to sign in to the dashboard. You can enable password-only, OIDC-only, or both for the dashboard; model API access still uses API keys."}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Auth Mode"}),(0,d.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-2",children:[{value:"password",title:"Password only",desc:"Keep the legacy password login."},{value:"oidc",title:"OIDC only",desc:"Require OIDC for dashboard access."},{value:"both",title:"Both",desc:"Allow either password or OIDC."}].map(a=>{let b=N.authMode===a.value;return(0,d.jsxs)("button",{type:"button",onClick:()=>au("authMode",a.value),className:(0,k.cn)("text-left rounded-lg border p-3 transition-colors",b?"border-primary bg-primary/5":"border-border bg-bg hover:bg-black/5 dark:hover:bg-white/5"),disabled:y||T,children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:a.title}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted mt-1",children:a.desc})]},a.value)})})]}),(0,d.jsxs)("div",{className:"grid grid-cols-1 gap-4",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Issuer URL"}),(0,d.jsx)(g.pd,{placeholder:"https://auth.example.com/application/o/krouter/",value:N.oidcIssuerUrl,onChange:a=>au("oidcIssuerUrl",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client ID"}),(0,d.jsx)(g.pd,{placeholder:"krouter-dashboard",value:N.oidcClientId,onChange:a=>au("oidcClientId",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Client Secret"}),(0,d.jsx)(g.pd,{type:"password",placeholder:"Leave blank to keep existing secret",value:P,onChange:a=>Q(a.target.value),disabled:y||T}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"This value is write-only after saving."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Scopes"}),(0,d.jsx)(g.pd,{placeholder:"openid profile email",value:N.oidcScopes,onChange:a=>au("oidcScopes",a.target.value),disabled:y||T})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Login Button Label"}),(0,d.jsx)(g.pd,{placeholder:"Sign in with OIDC",value:N.oidcLoginLabel,onChange:a=>au("oidcLoginLabel",a.target.value),disabled:y||T})]})]}),(0,d.jsxs)("div",{className:"rounded-lg border border-border bg-bg p-3 text-xs sm:text-sm text-text-muted",children:[(0,d.jsx)("p",{className:"font-medium text-text-main mb-1",children:"Redirect URI"}),(0,d.jsx)("code",{className:"block break-all font-mono",children:Z})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)(g.$n,{type:"button",variant:"primary",loading:T,onClick:()=>av(),className:"w-full sm:w-auto",children:"Save auth mode"}),(0,d.jsx)(g.$n,{type:"button",variant:"outline",loading:V,onClick:aw,className:"w-full sm:w-auto",children:"Test connection"})]}),X.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===X.type?"text-red-500":"text-green-500"}`,children:X.message}),R.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===R.type?"text-red-500":"text-green-500"}`,children:R.message}),"oidc"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"OIDC login is currently active. Password login is disabled until you switch back."}),"both"===w.authMode&&(0,d.jsx)("p",{className:"text-xs sm:text-sm text-amber-600 dark:text-amber-400",children:"Password and OIDC login are both active."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-blue-500/10 text-blue-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"route"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Routing Strategy"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Strategy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"How kRouter picks the next available account"})]}),(0,d.jsx)(g.l6,{value:w.fallbackStrategy||"fill-first",onChange:a=>ao(a.target.value),disabled:y,className:"w-44 sm:w-56 shrink-0",options:[{value:"fill-first",label:"Fill First (default)"},{value:"round-robin",label:"Round Robin"},{value:"p2c",label:"P2C (Power of 2 Choices)"},{value:"random",label:"Random"}]})]}),"round-robin"===w.fallbackStrategy&&(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Sticky Limit"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Calls per account before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"10",value:w.stickyRoundRobinLimit||3,onChange:a=>ar(a.target.value),disabled:y,className:"w-16 sm:w-20 text-center shrink-0"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-4 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Combo Round Robin"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Cycle through providers in combos instead of always starting with first"})]}),(0,d.jsx)(g.lM,{checked:"round-robin"===w.comboStrategy,onChange:()=>aq("round-robin"===w.comboStrategy?"fallback":"round-robin"),disabled:y})]}),"round-robin"===w.comboStrategy&&(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Combo Sticky Limit"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Calls per combo model before switching"})]}),(0,d.jsx)(g.pd,{type:"number",min:"1",max:"100",value:w.comboStickyRoundRobinLimit||1,onChange:a=>as(a.target.value),disabled:y,className:"w-20 text-center"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["round-robin"===w.fallbackStrategy?`Distributing requests across all available accounts with ${w.stickyRoundRobinLimit||3} calls per account.`:"p2c"===w.fallbackStrategy?"Picking the healthier of 2 random accounts on each request (good for load-balancing equal-tier accounts).":"random"===w.fallbackStrategy?"Picking a uniformly random account on each request.":"Using accounts in priority order (Fill First).","round-robin"===w.comboStrategy?` Combos rotate after ${w.comboStickyRoundRobinLimit||1} call${1===(w.comboStickyRoundRobinLimit||1)?"":"s"} per model.`:" Combos always start with their first model."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"psychology"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Task-Aware Routing"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Show intent suggestions in logs"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Classify every request as code / math / reasoning / creative / simple (9 languages) and log the suggested combo. Log-only; never overrides your chosen model."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.routingIntelligenceEnabled,onChange:()=>ap("routingIntelligenceEnabled",!1===w.routingIntelligenceEnabled),disabled:y})]}),!1!==w.routingIntelligenceEnabled&&(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Active — check the dev console for ",(0,d.jsx)("code",{children:"[ROUTING] intent=X complexity=Y score=N tier=Z"})," lines. Custom intent→combo overrides via ",(0,d.jsx)("code",{children:"taskAwareRouterMap"})," setting (JSON)."]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-amber-500/10 text-amber-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"emergency"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Emergency Fallback"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Redirect on budget exhaustion"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:'When an upstream returns 402 or "insufficient funds", transparently re-route the request to a free model so the user still gets a response.'})]}),(0,d.jsx)(g.lM,{checked:!!w.emergencyFallbackEnabled,onChange:()=>ap("emergencyFallbackEnabled",!w.emergencyFallbackEnabled),disabled:y})]}),w.emergencyFallbackEnabled&&(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback provider"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Provider ID used for the redirect (e.g. ",(0,d.jsx)("code",{children:"nvidia"}),", ",(0,d.jsx)("code",{children:"openrouter"}),", ",(0,d.jsx)("code",{children:"opencode"}),")"]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackProvider||"nvidia",onChange:a=>ap("emergencyFallbackProvider",a.target.value.trim()),disabled:y,className:"w-32 sm:w-44 text-center shrink-0",placeholder:"nvidia"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Fallback model"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Model ID at that provider. Default ",(0,d.jsx)("code",{children:"openai/gpt-oss-120b"})," is free on NVIDIA NIM."]})]}),(0,d.jsx)(g.pd,{type:"text",value:w.emergencyFallbackModel||"openai/gpt-oss-120b",onChange:a=>ap("emergencyFallbackModel",a.target.value.trim()),disabled:y,className:"w-40 sm:w-56 text-center shrink-0",placeholder:"openai/gpt-oss-120b"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Skip for tool requests"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Don't redirect when the request has tools — the free model may not support tool calling."})]}),(0,d.jsx)(g.lM,{checked:!1!==w.emergencyFallbackSkipForTools,onChange:()=>ap("emergencyFallbackSkipForTools",!1===w.emergencyFallbackSkipForTools),disabled:y})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["Currently redirecting 402 / budget errors to"," ",(0,d.jsxs)("code",{children:[w.emergencyFallbackProvider||"nvidia","/",w.emergencyFallbackModel||"openai/gpt-oss-120b"]}),"."]})]}),!w.emergencyFallbackEnabled&&(0,d.jsx)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:"Disabled — 402 / budget errors are returned to the user as-is."})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-cyan-500/10 text-cyan-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"database"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Cache Control"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Mode"}),(0,d.jsxs)("p",{className:"text-xs sm:text-sm text-text-muted",children:["Controls whether kRouter mutates ",(0,d.jsx)("code",{children:"cache_control"})," markers on Claude-shape requests. Anthropic's prompt cache is byte-keyed; any mutation busts the cache."]})]}),(0,d.jsxs)("select",{value:w.cacheControlMode||"auto",onChange:a=>ap("cacheControlMode",a.target.value),disabled:y,className:"w-32 sm:w-44 px-3 py-2 text-sm rounded border border-border bg-bg text-text-main shrink-0",children:[(0,d.jsx)("option",{value:"auto",children:"Auto (recommended)"}),(0,d.jsx)("option",{value:"always",children:"Always preserve"}),(0,d.jsx)("option",{value:"never",children:"Never preserve (legacy)"})]})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4 pt-3 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Quick toggle"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Got a fresh-turn 429 because your prompt is bigger than your tier's TPM? Click once to switch into legacy trimming, send your first turn, then click again to return to cache-preserve mode."})]}),(0,d.jsx)("button",{type:"button",onClick:()=>ap("cacheControlMode","never"===(w.cacheControlMode||"auto")?"auto":"never"),disabled:y,className:`w-32 sm:w-44 px-3 py-2 text-sm font-medium rounded shrink-0 transition-colors ${"never"===(w.cacheControlMode||"auto")?"bg-amber-500/15 text-amber-600 border border-amber-500/40 hover:bg-amber-500/25":"bg-cyan-500/15 text-cyan-600 border border-cyan-500/40 hover:bg-cyan-500/25"}`,children:"never"===(w.cacheControlMode||"auto")?"Restore cache preserve":"Emergency: trim prompt"})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted italic pt-2 border-t border-border/50",children:["auto"===(w.cacheControlMode||"auto")&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"auto"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," only on Claude Desktop / Claude Code passthrough (",(0,d.jsx)("code",{children:'clientTool==="claude"'})," & ",(0,d.jsx)("code",{children:'provider==="claude"'}),"). All other paths mutate as before."]}),"always"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"always"}),": preserves ",(0,d.jsx)("code",{children:"cache_control"})," on any Claude-shape target (including ",(0,d.jsx)("code",{children:"anthropic-compatible-*"})," resellers and translated requests). Paranoid mode."]}),"never"===w.cacheControlMode&&(0,d.jsxs)(d.Fragment,{children:["Currently ",(0,d.jsx)("strong",{children:"never"}),": legacy 0.5.31-and-earlier behaviour — always strip and rewrite ",(0,d.jsx)("code",{children:"cache_control"}),". Escape hatch only."]})]})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-purple-500/10 text-purple-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"wifi"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Network"})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Outbound Proxy"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Enable proxy for OAuth + provider outbound requests."})]}),(0,d.jsx)(g.lM,{checked:!0===w.outboundProxyEnabled,onChange:()=>am(!0!==w.outboundProxyEnabled),disabled:y||ag})]}),!0===w.outboundProxyEnabled&&(0,d.jsxs)("form",{onSubmit:ak,className:"flex flex-col gap-4 pt-2 border-t border-border/50",children:[(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"Proxy URL"}),(0,d.jsx)(g.pd,{placeholder:"http://127.0.0.1:7897",value:ac.outboundProxyUrl,onChange:a=>ad(b=>({...b,outboundProxyUrl:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Leave empty to inherit existing env proxy (if any)."})]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2 pt-2 border-t border-border/50",children:[(0,d.jsx)("label",{className:"font-medium text-sm sm:text-base",children:"No Proxy"}),(0,d.jsx)(g.pd,{placeholder:"localhost,127.0.0.1",value:ac.outboundNoProxy,onChange:a=>ad(b=>({...b,outboundNoProxy:a.target.value})),disabled:y||ag}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Comma-separated hostnames/domains to bypass the proxy."})]}),(0,d.jsxs)("div",{className:"pt-2 border-t border-border/50 flex flex-col sm:flex-row items-stretch sm:items-center gap-2",children:[(0,d.jsx)(g.$n,{type:"button",variant:"secondary",loading:ai,disabled:y||ag,onClick:al,className:"w-full sm:w-auto",children:"Test proxy URL"}),(0,d.jsx)(g.$n,{type:"submit",variant:"primary",loading:ag,className:"w-full sm:w-auto",children:"Apply"})]})]}),ae.message&&(0,d.jsx)("p",{className:`text-xs sm:text-sm ${"error"===ae.type?"text-red-500":"text-green-500"} pt-2 border-t border-border/50`,children:ae.message})]})]}),(0,d.jsxs)(g.Zp,{children:[(0,d.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,d.jsx)("div",{className:"p-2 rounded-lg bg-orange-500/10 text-orange-500 shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[20px]",children:"monitoring"})}),(0,d.jsx)("h3",{className:"text-base sm:text-lg font-semibold",children:"Observability"})]}),(0,d.jsxs)("div",{className:"flex items-start sm:items-center justify-between gap-4",children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"font-medium text-sm sm:text-base",children:"Enable Observability"}),(0,d.jsx)("p",{className:"text-xs sm:text-sm text-text-muted",children:"Record request details for inspection in the logs view"})]}),(0,d.jsx)(g.lM,{checked:aC,onChange:ax,disabled:y})]})]}),(0,d.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"power_settings_new",onClick:()=>t(!0),className:"text-red-500 border-red-200 hover:bg-red-50 hover:border-red-300",children:"Shutdown"}),(0,d.jsx)(g.$n,{variant:"outline",fullWidth:!0,icon:"logout",onClick:aE,children:"Logout"})]}),(0,d.jsxs)("div",{className:"text-center text-xs sm:text-sm text-text-muted py-4",children:[(0,d.jsxs)("p",{children:[l.vQ.name," v",l.vQ.version]}),(0,d.jsx)("p",{className:"mt-1",children:"Local Mode - All data stored on your machine"})]})]}),(0,d.jsx)(i.default,{hideTrigger:!0,isOpen:q,onClose:a=>{r(!1),p(a)}}),(0,d.jsx)(h.ConfirmModal,{isOpen:s,onClose:()=>t(!1),onConfirm:aD,title:"Close Proxy",message:"Are you sure you want to close the proxy server?",confirmText:"Close",cancelText:"Cancel",variant:"danger",loading:u}),(0,d.jsxs)(h.default,{isOpen:K.open,onClose:()=>L({open:!1,mode:"",password:""}),title:"Confirm Password",size:"sm",footer:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>L({open:!1,mode:"",password:""}),disabled:G,children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"primary",onClick:aB,loading:G,disabled:!K.password,children:"Confirm"})]}),children:[(0,d.jsxs)("p",{className:"text-text-muted mb-3 text-sm",children:["Enter your current password to ","export"===K.mode?"export":"import"," the database."]}),(0,d.jsx)(g.pd,{type:"password",value:K.password,onChange:a=>L(b=>({...b,password:a.target.value})),onKeyDown:a=>{"Enter"===a.key&&K.password&&aB()},placeholder:"Current password",autoFocus:!0})]})]})}},61670:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>w,handler:()=>y,routeModule:()=>x});var d=c(21635),e=c(86315),f=c(1020),g=c(61287),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,50385))),j=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),k=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),l=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),m=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),n=(0,d.p)(()=>Promise.resolve().then(c.bind(c,30508))),o=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),p=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,55091,23))),q=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,45270,23))),r=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,28193,23))),s=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),t=(0,d.p)(()=>Promise.resolve().then(c.t.bind(c,95547,23))),u={children:["",{children:["(dashboard)",{children:["dashboard",{children:["profile",{children:["__PAGE__",{},{page:[(0,d.p)(()=>Promise.resolve().then(c.bind(c,50047))),"/Users/shofiqulislam/9router-master/src/app/(dashboard)/dashboard/profile/page.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,"/Users/shofiqulislam/9router-master/src/app/(dashboard)/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]},{layout:[i,"/Users/shofiqulislam/9router-master/src/app/layout.js"],"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:[async a=>(await (0,d.p)(()=>Promise.resolve().then(c.bind(c,70440)))()).default(a)],apple:[],openGraph:[],twitter:[],manifest:"/manifest.webmanifest"}},[]]}.children,v=(0,e.H)({tree:u,page:"/(dashboard)/dashboard/profile/page",pathname:"/dashboard/profile",require:c,loadChunk:()=>Promise.resolve(),interopDefault:f.T}),w=v.__next_app__,x=v.routeModule,y=v.handler},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},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")},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81432:(a,b,c)=>{Promise.resolve().then(c.bind(c,50047))},81630:a=>{"use strict";a.exports=require("http")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},83997:a=>{"use strict";a.exports=require("tty")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},87997:a=>{"use strict";a.exports=require("node:timers")},91160:(a,b,c)=>{Promise.resolve().then(c.bind(c,61377))},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,[4741,7774,5433,4380,2430,5030,1344,4884,5024,5681,4404,4315,8590,4746,6306,1450,7276,8361,5330,8895,6182,6457,706,412,9560],()=>b(b.s=61670));module.exports=c})();