@sifxprime/krouter 0.5.14 → 0.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (882) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +7 -6
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +6 -0
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +2 -2
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/environment/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  72. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  75. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  76. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  77. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  78. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  83. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  86. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  87. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  88. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  89. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  91. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  92. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  108. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -2
  142. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  144. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/import/route.js +1 -0
  148. package/app/.next-cli-build/server/app/api/import/route.js.nft.json +1 -0
  149. package/app/.next-cli-build/server/app/api/import/route_client-reference-manifest.js +1 -0
  150. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  157. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  165. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/mitm/cert/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/mitm/cert/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/models/live/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/models/live/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  195. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  243. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  245. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  249. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/settings/environment/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/settings/environment/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/settings/route.js +1 -2
  259. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  267. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  305. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -2
  309. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -3
  319. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -2
  337. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -2
  339. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  343. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  351. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  353. package/app/.next-cli-build/server/app/callback.html +1 -1
  354. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  355. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  356. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  357. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  358. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  359. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  360. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  361. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  362. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  363. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  364. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  365. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  366. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  367. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  368. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  369. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  370. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  371. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  372. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  373. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  374. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  375. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  376. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  377. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  378. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  379. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  380. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  381. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  382. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  383. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  384. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  385. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  386. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  387. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  388. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  389. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  390. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  391. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  392. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  393. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  394. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  395. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  396. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  397. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  398. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  399. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  400. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  401. package/app/.next-cli-build/server/app/dashboard/environment.html +1 -1
  402. package/app/.next-cli-build/server/app/dashboard/environment.rsc +6 -6
  403. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment/__PAGE__.segment.rsc +2 -2
  404. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard/environment.segment.rsc +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  406. package/app/.next-cli-build/server/app/dashboard/environment.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  407. package/app/.next-cli-build/server/app/dashboard/environment.segments/_full.segment.rsc +6 -6
  408. package/app/.next-cli-build/server/app/dashboard/environment.segments/_head.segment.rsc +1 -1
  409. package/app/.next-cli-build/server/app/dashboard/environment.segments/_index.segment.rsc +4 -4
  410. package/app/.next-cli-build/server/app/dashboard/environment.segments/_tree.segment.rsc +2 -2
  411. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  412. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  413. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  414. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  415. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  416. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  417. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  418. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  419. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  420. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  421. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  422. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  423. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  424. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  425. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  426. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  427. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  428. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  429. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  430. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  431. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  432. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  433. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  434. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  435. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  436. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  437. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  438. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  439. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  440. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  441. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  442. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  443. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  444. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  445. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  446. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  447. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  448. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  450. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  452. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  453. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  454. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  455. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  456. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  458. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  459. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  460. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  462. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  463. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  464. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  465. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  466. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  468. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  469. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  470. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  472. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  473. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  474. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  475. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  476. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  478. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  479. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  480. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  482. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  483. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  484. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  488. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  489. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  490. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  491. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  492. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  493. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  498. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  499. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  500. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  502. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  503. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  505. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  506. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  508. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  509. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  512. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  513. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  515. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  517. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  518. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  519. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  522. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  523. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  525. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  527. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  528. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  530. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  531. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  532. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  533. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  534. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  536. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  537. package/app/.next-cli-build/server/app/index.html +1 -1
  538. package/app/.next-cli-build/server/app/index.rsc +4 -4
  539. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  540. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  541. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  542. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  543. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  545. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  546. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  547. package/app/.next-cli-build/server/app/landing.html +1 -1
  548. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  549. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  550. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  551. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  552. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  553. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/login/page.js +2 -2
  556. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  557. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  558. package/app/.next-cli-build/server/app/login.html +1 -1
  559. package/app/.next-cli-build/server/app/login.rsc +5 -5
  560. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  561. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  562. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  563. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  564. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  567. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/page.js +2 -2
  569. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  570. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  571. package/app/.next-cli-build/server/app-paths-manifest.json +7 -6
  572. package/app/.next-cli-build/server/chunks/318.js +2 -2
  573. package/app/.next-cli-build/server/chunks/412.js +5 -5
  574. package/app/.next-cli-build/server/chunks/4161.js +1 -1
  575. package/app/.next-cli-build/server/chunks/4404.js +1 -1
  576. package/app/.next-cli-build/server/chunks/4746.js +1 -1
  577. package/app/.next-cli-build/server/chunks/4884.js +1 -1
  578. package/app/.next-cli-build/server/chunks/5681.js +1 -1
  579. package/app/.next-cli-build/server/chunks/6298.js +2 -2
  580. package/app/.next-cli-build/server/chunks/6306.js +1 -0
  581. package/app/.next-cli-build/server/chunks/706.js +1 -1
  582. package/app/.next-cli-build/server/chunks/7153.js +1 -1
  583. package/app/.next-cli-build/server/chunks/7501.js +1 -1
  584. package/app/.next-cli-build/server/chunks/7540.js +2 -2
  585. package/app/.next-cli-build/server/chunks/7774.js +1 -1
  586. package/app/.next-cli-build/server/chunks/8255.js +1 -0
  587. package/app/.next-cli-build/server/chunks/8895.js +8 -2
  588. package/app/.next-cli-build/server/chunks/8910.js +2 -0
  589. package/app/.next-cli-build/server/chunks/9560.js +1 -0
  590. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  591. package/app/.next-cli-build/server/middleware.js +1 -1
  592. package/app/.next-cli-build/server/pages/404.html +1 -1
  593. package/app/.next-cli-build/server/pages/500.html +1 -1
  594. package/app/.next-cli-build/static/chunks/1321-c5bb9c9981eb6f37.js +1 -0
  595. package/app/.next-cli-build/static/chunks/3395-c4e08d6b85162aa4.js +3 -0
  596. package/app/.next-cli-build/static/chunks/5497-b751a4f52800ea7c.js +7 -0
  597. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-7de80778aa0f41e3.js +1 -0
  598. package/app/.next-cli-build/static/chunks/app/_global-error/page-f9d7b7adec5f9df6.js +1 -0
  599. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-f9d7b7adec5f9df6.js +1 -0
  600. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-f9d7b7adec5f9df6.js +1 -0
  601. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-f9d7b7adec5f9df6.js +1 -0
  602. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-f9d7b7adec5f9df6.js +1 -0
  603. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-f9d7b7adec5f9df6.js +1 -0
  604. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-f9d7b7adec5f9df6.js +1 -0
  605. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-f9d7b7adec5f9df6.js +1 -0
  606. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-f9d7b7adec5f9df6.js +1 -0
  607. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-f9d7b7adec5f9df6.js +1 -0
  608. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-f9d7b7adec5f9df6.js +1 -0
  609. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-f9d7b7adec5f9df6.js +1 -0
  610. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-f9d7b7adec5f9df6.js +1 -0
  611. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-f9d7b7adec5f9df6.js +1 -0
  612. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-f9d7b7adec5f9df6.js +1 -0
  613. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-f9d7b7adec5f9df6.js +1 -0
  614. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-f9d7b7adec5f9df6.js +1 -0
  615. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-f9d7b7adec5f9df6.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-f9d7b7adec5f9df6.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-f9d7b7adec5f9df6.js +1 -0
  618. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-f9d7b7adec5f9df6.js +1 -0
  619. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-f9d7b7adec5f9df6.js +1 -0
  620. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-f9d7b7adec5f9df6.js +1 -0
  621. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-f9d7b7adec5f9df6.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-f9d7b7adec5f9df6.js +1 -0
  623. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-f9d7b7adec5f9df6.js +1 -0
  624. package/app/.next-cli-build/static/chunks/app/api/combos/route-f9d7b7adec5f9df6.js +1 -0
  625. package/app/.next-cli-build/static/chunks/app/api/health/route-f9d7b7adec5f9df6.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/api/import/route-f9d7b7adec5f9df6.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/api/init/route-f9d7b7adec5f9df6.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-f9d7b7adec5f9df6.js +1 -0
  629. package/app/.next-cli-build/static/chunks/app/api/keys/route-f9d7b7adec5f9df6.js +1 -0
  630. package/app/.next-cli-build/static/chunks/app/api/locale/route-f9d7b7adec5f9df6.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-f9d7b7adec5f9df6.js +1 -0
  632. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-f9d7b7adec5f9df6.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-f9d7b7adec5f9df6.js +1 -0
  634. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-f9d7b7adec5f9df6.js +1 -0
  635. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-f9d7b7adec5f9df6.js +1 -0
  636. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-f9d7b7adec5f9df6.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-f9d7b7adec5f9df6.js +1 -0
  638. package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-f9d7b7adec5f9df6.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-f9d7b7adec5f9df6.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-f9d7b7adec5f9df6.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-f9d7b7adec5f9df6.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-f9d7b7adec5f9df6.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/models/live/route-f9d7b7adec5f9df6.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/models/route-f9d7b7adec5f9df6.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/models/test/route-f9d7b7adec5f9df6.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-f9d7b7adec5f9df6.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-f9d7b7adec5f9df6.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-f9d7b7adec5f9df6.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-f9d7b7adec5f9df6.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-f9d7b7adec5f9df6.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-f9d7b7adec5f9df6.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-f9d7b7adec5f9df6.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-f9d7b7adec5f9df6.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-f9d7b7adec5f9df6.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-f9d7b7adec5f9df6.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-f9d7b7adec5f9df6.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/pricing/route-f9d7b7adec5f9df6.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-f9d7b7adec5f9df6.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-f9d7b7adec5f9df6.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-f9d7b7adec5f9df6.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-f9d7b7adec5f9df6.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-f9d7b7adec5f9df6.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-f9d7b7adec5f9df6.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-f9d7b7adec5f9df6.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-f9d7b7adec5f9df6.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-f9d7b7adec5f9df6.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/providers/route-f9d7b7adec5f9df6.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-f9d7b7adec5f9df6.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-f9d7b7adec5f9df6.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-f9d7b7adec5f9df6.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-f9d7b7adec5f9df6.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-f9d7b7adec5f9df6.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-f9d7b7adec5f9df6.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-f9d7b7adec5f9df6.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-f9d7b7adec5f9df6.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-f9d7b7adec5f9df6.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-f9d7b7adec5f9df6.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-f9d7b7adec5f9df6.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-f9d7b7adec5f9df6.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-f9d7b7adec5f9df6.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/settings/route-f9d7b7adec5f9df6.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-f9d7b7adec5f9df6.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/tags/route-f9d7b7adec5f9df6.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-f9d7b7adec5f9df6.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-f9d7b7adec5f9df6.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-f9d7b7adec5f9df6.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-f9d7b7adec5f9df6.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-f9d7b7adec5f9df6.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-f9d7b7adec5f9df6.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-f9d7b7adec5f9df6.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-f9d7b7adec5f9df6.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-f9d7b7adec5f9df6.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-f9d7b7adec5f9df6.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-f9d7b7adec5f9df6.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-f9d7b7adec5f9df6.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-f9d7b7adec5f9df6.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-f9d7b7adec5f9df6.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-f9d7b7adec5f9df6.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-f9d7b7adec5f9df6.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-f9d7b7adec5f9df6.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-f9d7b7adec5f9df6.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-f9d7b7adec5f9df6.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-f9d7b7adec5f9df6.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-f9d7b7adec5f9df6.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-f9d7b7adec5f9df6.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-f9d7b7adec5f9df6.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-f9d7b7adec5f9df6.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-f9d7b7adec5f9df6.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-f9d7b7adec5f9df6.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-f9d7b7adec5f9df6.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-f9d7b7adec5f9df6.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-f9d7b7adec5f9df6.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-f9d7b7adec5f9df6.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-f9d7b7adec5f9df6.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-f9d7b7adec5f9df6.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-f9d7b7adec5f9df6.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-f9d7b7adec5f9df6.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-f9d7b7adec5f9df6.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/v1/route-f9d7b7adec5f9df6.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-f9d7b7adec5f9df6.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-f9d7b7adec5f9df6.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-f9d7b7adec5f9df6.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-f9d7b7adec5f9df6.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/version/route-f9d7b7adec5f9df6.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-f9d7b7adec5f9df6.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/version/update/route-f9d7b7adec5f9df6.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-f9d7b7adec5f9df6.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/page-f9d7b7adec5f9df6.js +1 -0
  729. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-f9d7b7adec5f9df6.js +1 -0
  730. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-f9d7b7adec5f9df6.js +1 -0
  731. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-f9d7b7adec5f9df6.js +1 -0
  732. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-f9d7b7adec5f9df6.js +1 -0
  733. package/app/.next-cli-build/static/css/{21ff5c7907b80a4a.css → b6746edbc35cbd99.css} +1 -1
  734. package/app/.next-cli-build/static/kzRnTfrZiVox-SX1ePItu/_buildManifest.js +1 -0
  735. package/app/cli/.build-home/.krouter/db/backups/{upgrade-0.5.10-to-0.5.11-0.5.11-20260620-162512 → upgrade-0.5.14-to-0.5.15-0.5.15-20260621-044317}/data.sqlite +0 -0
  736. package/app/cli/.build-home/.krouter/db/data.sqlite +0 -0
  737. package/app/package.json +1 -1
  738. package/package.json +1 -1
  739. package/app/.next-cli-build/server/chunks/3700.js +0 -1
  740. package/app/.next-cli-build/server/chunks/9489.js +0 -2
  741. package/app/.next-cli-build/server/chunks/9754.js +0 -1
  742. package/app/.next-cli-build/static/chunks/1321-ff408316d2e4b1f2.js +0 -1
  743. package/app/.next-cli-build/static/chunks/3395-e3a12949e3ef2269.js +0 -3
  744. package/app/.next-cli-build/static/chunks/5497-29c1c79626bd0957.js +0 -7
  745. package/app/.next-cli-build/static/chunks/app/(dashboard)/layout-87b4f7d89be31350.js +0 -1
  746. package/app/.next-cli-build/static/chunks/app/_global-error/page-1b9d3e997faee35b.js +0 -1
  747. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-1b9d3e997faee35b.js +0 -1
  748. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-1b9d3e997faee35b.js +0 -1
  749. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-1b9d3e997faee35b.js +0 -1
  750. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-1b9d3e997faee35b.js +0 -1
  751. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-1b9d3e997faee35b.js +0 -1
  752. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-1b9d3e997faee35b.js +0 -1
  753. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-1b9d3e997faee35b.js +0 -1
  754. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-1b9d3e997faee35b.js +0 -1
  755. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-1b9d3e997faee35b.js +0 -1
  756. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-1b9d3e997faee35b.js +0 -1
  757. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-1b9d3e997faee35b.js +0 -1
  758. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-1b9d3e997faee35b.js +0 -1
  759. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-1b9d3e997faee35b.js +0 -1
  760. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-1b9d3e997faee35b.js +0 -1
  761. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-1b9d3e997faee35b.js +0 -1
  762. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-1b9d3e997faee35b.js +0 -1
  763. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-1b9d3e997faee35b.js +0 -1
  764. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-1b9d3e997faee35b.js +0 -1
  765. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-1b9d3e997faee35b.js +0 -1
  766. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-1b9d3e997faee35b.js +0 -1
  767. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-1b9d3e997faee35b.js +0 -1
  768. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-1b9d3e997faee35b.js +0 -1
  769. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-1b9d3e997faee35b.js +0 -1
  770. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-1b9d3e997faee35b.js +0 -1
  771. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-1b9d3e997faee35b.js +0 -1
  772. package/app/.next-cli-build/static/chunks/app/api/combos/route-1b9d3e997faee35b.js +0 -1
  773. package/app/.next-cli-build/static/chunks/app/api/health/route-1b9d3e997faee35b.js +0 -1
  774. package/app/.next-cli-build/static/chunks/app/api/init/route-1b9d3e997faee35b.js +0 -1
  775. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-1b9d3e997faee35b.js +0 -1
  776. package/app/.next-cli-build/static/chunks/app/api/keys/route-1b9d3e997faee35b.js +0 -1
  777. package/app/.next-cli-build/static/chunks/app/api/locale/route-1b9d3e997faee35b.js +0 -1
  778. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-1b9d3e997faee35b.js +0 -1
  779. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-1b9d3e997faee35b.js +0 -1
  780. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-1b9d3e997faee35b.js +0 -1
  781. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-1b9d3e997faee35b.js +0 -1
  782. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-1b9d3e997faee35b.js +0 -1
  783. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-1b9d3e997faee35b.js +0 -1
  784. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-1b9d3e997faee35b.js +0 -1
  785. package/app/.next-cli-build/static/chunks/app/api/mitm/cert/route-1b9d3e997faee35b.js +0 -1
  786. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-1b9d3e997faee35b.js +0 -1
  787. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-1b9d3e997faee35b.js +0 -1
  788. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-1b9d3e997faee35b.js +0 -1
  789. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-1b9d3e997faee35b.js +0 -1
  790. package/app/.next-cli-build/static/chunks/app/api/models/live/route-1b9d3e997faee35b.js +0 -1
  791. package/app/.next-cli-build/static/chunks/app/api/models/route-1b9d3e997faee35b.js +0 -1
  792. package/app/.next-cli-build/static/chunks/app/api/models/test/route-1b9d3e997faee35b.js +0 -1
  793. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-1b9d3e997faee35b.js +0 -1
  794. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-1b9d3e997faee35b.js +0 -1
  795. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-1b9d3e997faee35b.js +0 -1
  796. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-1b9d3e997faee35b.js +0 -1
  797. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-1b9d3e997faee35b.js +0 -1
  798. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-1b9d3e997faee35b.js +0 -1
  799. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-1b9d3e997faee35b.js +0 -1
  800. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-1b9d3e997faee35b.js +0 -1
  801. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-1b9d3e997faee35b.js +0 -1
  802. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-1b9d3e997faee35b.js +0 -1
  803. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-1b9d3e997faee35b.js +0 -1
  804. package/app/.next-cli-build/static/chunks/app/api/pricing/route-1b9d3e997faee35b.js +0 -1
  805. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-1b9d3e997faee35b.js +0 -1
  806. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-1b9d3e997faee35b.js +0 -1
  807. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-1b9d3e997faee35b.js +0 -1
  808. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-1b9d3e997faee35b.js +0 -1
  809. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-1b9d3e997faee35b.js +0 -1
  810. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-1b9d3e997faee35b.js +0 -1
  811. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-1b9d3e997faee35b.js +0 -1
  812. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-1b9d3e997faee35b.js +0 -1
  813. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-1b9d3e997faee35b.js +0 -1
  814. package/app/.next-cli-build/static/chunks/app/api/providers/route-1b9d3e997faee35b.js +0 -1
  815. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-1b9d3e997faee35b.js +0 -1
  816. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-1b9d3e997faee35b.js +0 -1
  817. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-1b9d3e997faee35b.js +0 -1
  818. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-1b9d3e997faee35b.js +0 -1
  819. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-1b9d3e997faee35b.js +0 -1
  820. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-1b9d3e997faee35b.js +0 -1
  821. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-1b9d3e997faee35b.js +0 -1
  822. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-1b9d3e997faee35b.js +0 -1
  823. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-1b9d3e997faee35b.js +0 -1
  824. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-1b9d3e997faee35b.js +0 -1
  825. package/app/.next-cli-build/static/chunks/app/api/settings/environment/route-1b9d3e997faee35b.js +0 -1
  826. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-1b9d3e997faee35b.js +0 -1
  827. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-1b9d3e997faee35b.js +0 -1
  828. package/app/.next-cli-build/static/chunks/app/api/settings/route-1b9d3e997faee35b.js +0 -1
  829. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-1b9d3e997faee35b.js +0 -1
  830. package/app/.next-cli-build/static/chunks/app/api/tags/route-1b9d3e997faee35b.js +0 -1
  831. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-1b9d3e997faee35b.js +0 -1
  832. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-1b9d3e997faee35b.js +0 -1
  833. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-1b9d3e997faee35b.js +0 -1
  834. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-1b9d3e997faee35b.js +0 -1
  835. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-1b9d3e997faee35b.js +0 -1
  836. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-1b9d3e997faee35b.js +0 -1
  837. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-1b9d3e997faee35b.js +0 -1
  838. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-1b9d3e997faee35b.js +0 -1
  839. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-1b9d3e997faee35b.js +0 -1
  840. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-1b9d3e997faee35b.js +0 -1
  841. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-1b9d3e997faee35b.js +0 -1
  842. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-1b9d3e997faee35b.js +0 -1
  843. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-1b9d3e997faee35b.js +0 -1
  844. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-1b9d3e997faee35b.js +0 -1
  845. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-1b9d3e997faee35b.js +0 -1
  846. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-1b9d3e997faee35b.js +0 -1
  847. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-1b9d3e997faee35b.js +0 -1
  848. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-1b9d3e997faee35b.js +0 -1
  849. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-1b9d3e997faee35b.js +0 -1
  850. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-1b9d3e997faee35b.js +0 -1
  851. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-1b9d3e997faee35b.js +0 -1
  852. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-1b9d3e997faee35b.js +0 -1
  853. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-1b9d3e997faee35b.js +0 -1
  854. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-1b9d3e997faee35b.js +0 -1
  855. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-1b9d3e997faee35b.js +0 -1
  856. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-1b9d3e997faee35b.js +0 -1
  857. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-1b9d3e997faee35b.js +0 -1
  858. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-1b9d3e997faee35b.js +0 -1
  859. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-1b9d3e997faee35b.js +0 -1
  860. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-1b9d3e997faee35b.js +0 -1
  861. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-1b9d3e997faee35b.js +0 -1
  862. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-1b9d3e997faee35b.js +0 -1
  863. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-1b9d3e997faee35b.js +0 -1
  864. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-1b9d3e997faee35b.js +0 -1
  865. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-1b9d3e997faee35b.js +0 -1
  866. package/app/.next-cli-build/static/chunks/app/api/v1/route-1b9d3e997faee35b.js +0 -1
  867. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-1b9d3e997faee35b.js +0 -1
  868. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-1b9d3e997faee35b.js +0 -1
  869. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-1b9d3e997faee35b.js +0 -1
  870. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-1b9d3e997faee35b.js +0 -1
  871. package/app/.next-cli-build/static/chunks/app/api/version/route-1b9d3e997faee35b.js +0 -1
  872. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-1b9d3e997faee35b.js +0 -1
  873. package/app/.next-cli-build/static/chunks/app/api/version/update/route-1b9d3e997faee35b.js +0 -1
  874. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-1b9d3e997faee35b.js +0 -1
  875. package/app/.next-cli-build/static/chunks/app/page-1b9d3e997faee35b.js +0 -1
  876. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-1b9d3e997faee35b.js +0 -1
  877. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-1b9d3e997faee35b.js +0 -1
  878. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-1b9d3e997faee35b.js +0 -1
  879. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-1b9d3e997faee35b.js +0 -1
  880. package/app/.next-cli-build/static/ux5j9InyTdrNBdzWwBJus/_buildManifest.js +0 -1
  881. package/app/cli/.build-home/.krouter/db/backups/upgrade-0.5.9-to-0.5.10-0.5.10-20260620-113606/data.sqlite +0 -0
  882. /package/app/.next-cli-build/static/{ux5j9InyTdrNBdzWwBJus → kzRnTfrZiVox-SX1ePItu}/_ssgManifest.js +0 -0
@@ -1,3 +1,3 @@
1
- exports.id=6298,exports.ids=[6298],exports.modules={40133:(a,b,c)=>{Promise.resolve().then(c.bind(c,51747))},43173:(a,b,c)=>{"use strict";c.d(b,{default:()=>m});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(50377);c(99258);let j=["zh-CN","zh-TW"],k=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],l=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}];function m({machineId:a}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[r,s]=(0,e.useState)(!1),[t,u]=(0,e.useState)(""),[v,w]=(0,e.useState)(null),[x,y]=(0,e.useState)(null),[z,A]=(0,e.useState)(!1),[B,C]=(0,e.useState)(!0),[D,E]=(0,e.useState)(!0),[F,G]=(0,e.useState)(!1),[H,I]=(0,e.useState)(!0),[J,K]=(0,e.useState)(!1),[L,M]=(0,e.useState)("full"),[N,O]=(0,e.useState)("en"),[P,Q]=(0,e.useState)(!0),[R,S]=(0,e.useState)(!1),[T,U]=(0,e.useState)(!1),[V,W]=(0,e.useState)(""),[X,Y]=(0,e.useState)(""),[Z,$]=(0,e.useState)(!1),[_,aa]=(0,e.useState)(""),[ab,ac]=(0,e.useState)(null),[ad,ae]=(0,e.useState)(!1),[af,ag]=(0,e.useState)(!1),[ah,ai]=(0,e.useState)(!1),[aj,ak]=(0,e.useState)(!1),[al,am]=(0,e.useState)(""),[an,ao]=(0,e.useState)(!1),[ap,aq]=(0,e.useState)(""),[ar,as]=(0,e.useState)(null),[at,au]=(0,e.useState)(""),[av,aw]=(0,e.useState)(""),[ax,ay]=(0,e.useState)(null),[az,aA]=(0,e.useState)(!1),[aB,aC]=(0,e.useState)([]),[aD,aE]=(0,e.useState)(""),[aF,aG]=(0,e.useState)(!1),[aH,aI]=(0,e.useState)(!1),[aJ,aK]=(0,e.useState)(!1),aL=(0,e.useRef)(null);(0,e.useRef)(0),(0,e.useRef)(0),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1);let[aM,aN]=(0,e.useState)(!1),[aO,aP]=(0,e.useState)(!1),[aQ,aR]=(0,e.useState)(new Set),[aS,aT]=(0,e.useState)(!1),aU=j.includes(N)?l:l.filter(a=>!a.wenyan),{copied:aV,copy:aW}=(0,i.C)(),aX=!B||!D,aY=B?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,e.useCallback)((a,b,c,d,e,f)=>{b.current?(c.current=0,d(!0),e.current||(e.current=!0,f(!0))):(c.current+=1,c.current>=5&&d(!1))},[]);let aZ=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({tunnelDashboardAccess:a})})).ok&&G(a)}catch(a){console.log("Error updating tunnelDashboardAccess:",a)}},a$=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireApiKey:a})})).ok&&A(a)}catch(a){console.log("Error updating requireApiKey:",a)}},a_=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:a})})).ok&&I(a)}catch(a){console.log("Error updating rtkEnabled:",a)}},a0=async a=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}catch(a){console.log("Error updating setting:",a)}},a1=async()=>{try{let a=await fetch("/api/keys"),b=await a.json();a.ok&&c(b.keys||[])}catch(a){console.log("Error fetching data:",a)}finally{g(!1)}},a2=async(...a)=>{$(!0),aa("Waiting for tunnel ready...");let b=a.filter(Boolean).map(a=>`${a}/api/health`),c=Date.now();for(;Date.now()-c<3e5;){if(await new Promise(a=>setTimeout(a,2e3)),await Promise.any(b.map(async a=>{if((await fetch(a,{mode:"cors",cache:"no-store"})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return S(!0),$(!1),aa(""),!0;if((Date.now()-c)%1e4<2e3)try{let a=await fetch("/api/tunnel/status");if(a.ok){let b=await a.json();if(!b.tunnel?.enabled)return ac({type:"error",message:"Tunnel process stopped unexpectedly."}),$(!1),aa(""),!1}}catch{}}return ac({type:"error",message:"Tunnel created but not reachable. Please try again."}),$(!1),aa(""),!1},a3=async()=>{ae(!1),$(!0),ac(null),aa("Creating tunnel...");let a=!0;(async()=>{for(;a;){try{let b=await fetch("/api/tunnel/status");if(b.ok){let c=await b.json();c.download?.downloading?aa(`Downloading cloudflared... ${c.download.progress}%`):a&&aa("Creating tunnel...")}}catch{}await new Promise(a=>setTimeout(a,1e3))}})();try{let b=await fetch("/api/tunnel/enable",{method:"POST"});a=!1;let c=await b.json();if(!b.ok)return void ac({type:"error",message:c.error||"Failed to enable tunnel"});let d=c.tunnelUrl;if(!d)return void ac({type:"error",message:"No tunnel URL returned"});W(d),Y(c.publicUrl||""),await a2(c.publicUrl,d)}catch(a){ac({type:"error",message:a.message})}finally{a=!1,$(!1),aa("")}},a4=async()=>{$(!0),ac(null);try{let a=await fetch("/api/tunnel/disable",{method:"POST"}),b=await a.json();a.ok?(S(!1),W(""),ag(!1),ac({type:"success",message:"Tunnel disabled"})):ac({type:"error",message:b.error||"Failed to disable tunnel"})}catch(a){ac({type:"error",message:a.message})}finally{$(!1)}},a5=async()=>{ay(null);try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok){let b=await a.json();return ay(b.installed),b}}catch{}return ay(!1),{installed:!1}},a6=async()=>{aA(!0),as(null),aC([]);try{let a=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:aD})});aE("");let b=a.body.getReader(),c=new TextDecoder,d="";for(;;){let{done:a,value:e}=await b.read();if(a)break;let f=(d+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(d=f.pop()||"",f)){let b=a.split("\n"),c="progress",d=null;for(let a of b)if(a.startsWith("event: ")&&(c=a.slice(7).trim()),a.startsWith("data: "))try{d=JSON.parse(a.slice(6))}catch{}if(d)if("progress"===c)aC(a=>[...a.slice(-50),d.message]);else if("done"===c){ay(!0),aA(!1),aI(!1),ba();return}else"error"===c&&as({type:"error",message:d.error||"Install failed"})}}}catch(a){as({type:"error",message:a.message})}finally{aA(!1)}},a7=async a=>{aq("Waiting for Tailscale ready...");let b=`${a}/api/health`,c=Date.now();for(;Date.now()-c<3e5;){await new Promise(a=>setTimeout(a,2e3));try{let a=await fetch(b,{mode:"no-cors",cache:"no-store"});if(a.ok||"opaque"===a.type)return!0}catch{}}return!1},a8=(a,b)=>{au(a),aw(b)},a9=()=>{au(""),aw("")},ba=async()=>{aI(!1),aG(!0),ao(!0),as(null),aq("Connecting..."),a9();try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){am(b.tunnelUrl||"");let a=await a7(b.tunnelUrl);ai(!0),as(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.needsLogin&&b.authUrl){a8(b.authUrl,"Open Login Page"),aq('Login required — click "Open Login Page" to continue');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok&&(await a.json()).loggedIn){a9(),aq("Starting funnel...");let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){am(b.tunnelUrl||"");let a=await a7(b.tunnelUrl);ai(!0),as(a?null:{type:"warning",message:"Connected but not reachable yet."})}else b.funnelNotEnabled&&b.enableUrl?await bb(b.enableUrl):as({type:"error",message:b.error||"Failed to start funnel"});return}}catch{}}a9(),as({type:"error",message:"Login timed out. Please try again."});return}if(b.funnelNotEnabled&&b.enableUrl)return void await bb(b.enableUrl);as({type:"error",message:b.error||"Failed to connect"})}catch(a){as({type:"error",message:a.message})}finally{ao(!1),aG(!1),aq(""),a9()}},bb=async a=>{a8(a,"Open Funnel Settings"),aq('Click "Open Funnel Settings" to enable Funnel...');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){a9(),am(b.tunnelUrl||"");let a=await a7(b.tunnelUrl);ai(!0),as(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.funnelNotEnabled)continue;if(b.error){a9(),as({type:"error",message:b.error});return}}catch{}}a9(),as({type:"error",message:"Timed out waiting for Funnel to be enabled."})},bc=async()=>{ao(!0),as(null);try{let a=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),b=await a.json();a.ok?(ai(!1),am(""),aK(!1),as({type:"success",message:"Tailscale disabled"})):as({type:"error",message:b.error||"Failed to disable Tailscale"})}catch(a){as({type:"error",message:a.message})}finally{ao(!1)}},bd=async()=>{as(null),aC([]);let a=await a5();a?.installed&&a?.hasCachedPassword?ba():aI(!0)},be=async()=>{if(t.trim())try{let a=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t})}),b=await a.json();a.ok&&(w(b.key),await a1(),u(""),s(!1))}catch(a){console.log("Error creating key:",a)}},bf=async a=>{y({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{y(null);try{(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&(c(b.filter(b=>b.id!==a)),aR(b=>{let c=new Set(b);return c.delete(a),c}))}catch(a){console.log("Error deleting key:",a)}}})},bg=async(a,b)=>{try{(await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&c(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error toggling key:",a)}},[bh,bi]=(0,e.useState)("/v1");return f?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(h.Qv,{}),(0,d.jsx)(h.Qv,{})]}):(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)(h.Zp,{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(n,{label:"Local",url:bh,copyId:"local_url",copied:aV,onCopy:aW}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${R?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),R&&!Z&&T?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${X||V}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aW(`${X||V}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===aV?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>ag(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!R||Z||T?Z?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),_||"Creating tunnel..."]}),(0,d.jsx)("button",{onClick:()=>{$(!1),aa("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ab?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ab.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>ae(!0),children:"Enable"})]}):P?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,d.jsx)("button",{onClick:()=>Q(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{aX?ac({type:"error",message:`Security required: ${aY}`}):z?ae(!0):ac({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aM?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,d.jsx)("button",{onClick:()=>ag(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${ah?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tailscale"}),ah&&!an&&aj?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${al}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>aW(`${al}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===aV?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>aK(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!ah||an||aj?an||aF?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),ap||"Connecting..."]}),at&&(0,d.jsx)(h.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(at,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:av||"Open"}),(0,d.jsx)("button",{onClick:()=>{ao(!1),aG(!1),aq(""),a9()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ar?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ar.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:bd,children:"Enable"})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{aX?as({type:"error",message:`Security required: ${aY}`}):bd()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aO?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,d.jsx)("button",{onClick:()=>aK(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),aX&&!R&&!ah&&(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(q,{message:aY,action:{label:"Open settings",href:"/dashboard/profile"}})}),(R||ah)&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!z&&(0,d.jsx)(q,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!B||!D)&&(0,d.jsx)(q,{message:B?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:B?"Change password":"Enable",href:"/dashboard/profile"}})]}),(R||ah)&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,d.jsx)(h.lM,{checked:F,onChange:()=>aZ(!F)}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,d.jsx)(p,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked."})]})]})]}),(0,d.jsxs)(h.Zp,{id:"rtk",children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"bolt"}),"Token Saver"]})}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-4 border-b border-border gap-4",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress tool output"," ",(0,d.jsx)("a",{href:"https://github.com/rtk-ai/rtk",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(RTK)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"git/grep/ls/tree/logs → 60-90% fewer input tokens"})]}),(0,d.jsx)(h.lM,{checked:H,onChange:()=>a_(!H)})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-4 gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress LLM output"," ",(0,d.jsx)("a",{href:"https://github.com/JuliusBrussee/caveman",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Caveman)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[J&&(0,d.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:aU.map(a=>(0,d.jsx)("button",{onClick:()=>{var b;M(b=a.id),a0({cavemanLevel:b})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${L===a.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:a.desc,children:a.label},a.id))}),(0,d.jsx)("p",{className:"text-xs text-primary",children:l.find(a=>a.id===L)?.desc})]}),(0,d.jsx)(h.lM,{checked:J,onChange:()=>{var a;K(a=!J),a0({cavemanEnabled:a})}})]})]})]}),(0,d.jsxs)(h.Zp,{id:"require-api-key",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>s(!0),children:"Create Key"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,d.jsx)(h.lM,{checked:z,onChange:()=>a$(!z)})]}),aS&&!z&&(0,d.jsx)("div",{className:"mb-4 -mt-2",children:(0,d.jsx)(q,{message:"Endpoint is exposed without an API key."})}),0===b.length?(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,d.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>s(!0),children:"Create Key"})]}):(0,d.jsx)("div",{className:"flex flex-col",children:b.map(a=>{var b;return(0,d.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono",children:aQ.has(a.id)?a.key:(b=a.key)?b.length>8?b.slice(0,8)+"...":b:""}),(0,d.jsx)("button",{onClick:()=>{var b;return b=a.id,void aR(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:aQ.has(a.id)?"Hide key":"Show key",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aQ.has(a.id)?"visibility_off":"visibility"})}),(0,d.jsx)("button",{onClick:()=>aW(a.key,a.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aV===a.id?"check":"content_copy"})})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(a.createdAt).toLocaleDateString()]}),!1===a.isActive&&(0,d.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(h.lM,{size:"sm",checked:a.isActive??!0,onChange:b=>{a.isActive&&!b?y({title:"Pause API Key",message:`Pause API key "${a.name}"?
1
+ exports.id=6298,exports.ids=[6298],exports.modules={40133:(a,b,c)=>{Promise.resolve().then(c.bind(c,51747))},43173:(a,b,c)=>{"use strict";c.d(b,{default:()=>n});var d=c(48249),e=c(67484),f=c(49885),g=c.n(f),h=c(50412),i=c(50377);c(99258);let j=["zh-CN","zh-TW"],k=[{icon:"public",title:"Access Anywhere",desc:"Use your API from any network"},{icon:"group",title:"Share Endpoint",desc:"Share URL with team members"},{icon:"code",title:"Use in Cursor/Cline",desc:"Connect AI tools remotely"},{icon:"lock",title:"Encrypted",desc:"End-to-end TLS via Cloudflare"}],l=[{id:"lite",label:"Lite",desc:"Drop filler, keep grammar"},{id:"full",label:"Full",desc:"Drop articles, fragments OK"},{id:"ultra",label:"Ultra",desc:"Telegraphic, max compression"},{id:"wenyan-lite",label:"文 Lite",desc:"Classical Chinese, light compression",wenyan:!0},{id:"wenyan",label:"文 Full",desc:"Maximum 文言文, 80-90% reduction",wenyan:!0},{id:"wenyan-ultra",label:"文 Ultra",desc:"Extreme classical compression",wenyan:!0}],m=[{id:"lite",label:"Lite",desc:"Minimal code, brief explanations"},{id:"full",label:"Full",desc:"Code-only output, no prose"},{id:"ultra",label:"Ultra",desc:"Raw code, zero commentary"}];function n({machineId:a}){let[b,c]=(0,e.useState)([]),[f,g]=(0,e.useState)(!0),[s,t]=(0,e.useState)(!1),[u,v]=(0,e.useState)(""),[w,x]=(0,e.useState)(null),[y,z]=(0,e.useState)(null),[A,B]=(0,e.useState)(!1),[C,D]=(0,e.useState)(!0),[E,F]=(0,e.useState)(!0),[G,H]=(0,e.useState)(!1),[I,J]=(0,e.useState)(!0),[K,L]=(0,e.useState)(!1),[M,N]=(0,e.useState)("full"),[O,P]=(0,e.useState)(!1),[Q,R]=(0,e.useState)("full"),[S,T]=(0,e.useState)("en"),[U,V]=(0,e.useState)(!0),[W,X]=(0,e.useState)(!1),[Y,Z]=(0,e.useState)(!1),[$,_]=(0,e.useState)(""),[aa,ab]=(0,e.useState)(""),[ac,ad]=(0,e.useState)(!1),[ae,af]=(0,e.useState)(""),[ag,ah]=(0,e.useState)(null),[ai,aj]=(0,e.useState)(!1),[ak,al]=(0,e.useState)(!1),[am,an]=(0,e.useState)(!1),[ao,ap]=(0,e.useState)(!1),[aq,ar]=(0,e.useState)(""),[as,at]=(0,e.useState)(!1),[au,av]=(0,e.useState)(""),[aw,ax]=(0,e.useState)(null),[ay,az]=(0,e.useState)(""),[aA,aB]=(0,e.useState)(""),[aC,aD]=(0,e.useState)(null),[aE,aF]=(0,e.useState)(!1),[aG,aH]=(0,e.useState)([]),[aI,aJ]=(0,e.useState)(""),[aK,aL]=(0,e.useState)(!1),[aM,aN]=(0,e.useState)(!1),[aO,aP]=(0,e.useState)(!1),aQ=(0,e.useRef)(null);(0,e.useRef)(0),(0,e.useRef)(0),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1),(0,e.useRef)(!1);let[aR,aS]=(0,e.useState)(!1),[aT,aU]=(0,e.useState)(!1),[aV,aW]=(0,e.useState)(new Set),[aX,aY]=(0,e.useState)(!1),aZ=j.includes(S)?l:l.filter(a=>!a.wenyan),{copied:a$,copy:a_}=(0,i.C)(),a0=!C||!E,a1=C?"Change the default dashboard password before activating the tunnel.":'Enable "Require login" and set a custom password before activating the tunnel.';(0,e.useCallback)((a,b,c,d,e,f)=>{b.current?(c.current=0,d(!0),e.current||(e.current=!0,f(!0))):(c.current+=1,c.current>=5&&d(!1))},[]);let a2=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({tunnelDashboardAccess:a})})).ok&&H(a)}catch(a){console.log("Error updating tunnelDashboardAccess:",a)}},a3=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({requireApiKey:a})})).ok&&B(a)}catch(a){console.log("Error updating requireApiKey:",a)}},a4=async a=>{try{(await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({rtkEnabled:a})})).ok&&J(a)}catch(a){console.log("Error updating rtkEnabled:",a)}},a5=async a=>{try{await fetch("/api/settings",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}catch(a){console.log("Error updating setting:",a)}},a6=async()=>{try{let a=await fetch("/api/keys"),b=await a.json();a.ok&&c(b.keys||[])}catch(a){console.log("Error fetching data:",a)}finally{g(!1)}},a7=async(...a)=>{ad(!0),af("Waiting for tunnel ready...");let b=a.filter(Boolean).map(a=>`${a}/api/health`),c=Date.now();for(;Date.now()-c<3e5;){if(await new Promise(a=>setTimeout(a,2e3)),await Promise.any(b.map(async a=>{if((await fetch(a,{mode:"cors",cache:"no-store"})).ok)return!0;throw Error("not ready")})).catch(()=>!1))return X(!0),ad(!1),af(""),!0;if((Date.now()-c)%1e4<2e3)try{let a=await fetch("/api/tunnel/status");if(a.ok){let b=await a.json();if(!b.tunnel?.enabled)return ah({type:"error",message:"Tunnel process stopped unexpectedly."}),ad(!1),af(""),!1}}catch{}}return ah({type:"error",message:"Tunnel created but not reachable. Please try again."}),ad(!1),af(""),!1},a8=async()=>{aj(!1),ad(!0),ah(null),af("Creating tunnel...");let a=!0;(async()=>{for(;a;){try{let b=await fetch("/api/tunnel/status");if(b.ok){let c=await b.json();c.download?.downloading?af(`Downloading cloudflared... ${c.download.progress}%`):a&&af("Creating tunnel...")}}catch{}await new Promise(a=>setTimeout(a,1e3))}})();try{let b=await fetch("/api/tunnel/enable",{method:"POST"});a=!1;let c=await b.json();if(!b.ok)return void ah({type:"error",message:c.error||"Failed to enable tunnel"});let d=c.tunnelUrl;if(!d)return void ah({type:"error",message:"No tunnel URL returned"});_(d),ab(c.publicUrl||""),await a7(c.publicUrl,d)}catch(a){ah({type:"error",message:a.message})}finally{a=!1,ad(!1),af("")}},a9=async()=>{ad(!0),ah(null);try{let a=await fetch("/api/tunnel/disable",{method:"POST"}),b=await a.json();a.ok?(X(!1),_(""),al(!1),ah({type:"success",message:"Tunnel disabled"})):ah({type:"error",message:b.error||"Failed to disable tunnel"})}catch(a){ah({type:"error",message:a.message})}finally{ad(!1)}},ba=async()=>{aD(null);try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok){let b=await a.json();return aD(b.installed),b}}catch{}return aD(!1),{installed:!1}},bb=async()=>{aF(!0),ax(null),aH([]);try{let a=await fetch("/api/tunnel/tailscale-install",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sudoPassword:aI})});aJ("");let b=a.body.getReader(),c=new TextDecoder,d="";for(;;){let{done:a,value:e}=await b.read();if(a)break;let f=(d+=c.decode(e,{stream:!0})).split("\n\n");for(let a of(d=f.pop()||"",f)){let b=a.split("\n"),c="progress",d=null;for(let a of b)if(a.startsWith("event: ")&&(c=a.slice(7).trim()),a.startsWith("data: "))try{d=JSON.parse(a.slice(6))}catch{}if(d)if("progress"===c)aH(a=>[...a.slice(-50),d.message]);else if("done"===c){aD(!0),aF(!1),aN(!1),bf();return}else"error"===c&&ax({type:"error",message:d.error||"Install failed"})}}}catch(a){ax({type:"error",message:a.message})}finally{aF(!1)}},bc=async a=>{av("Waiting for Tailscale ready...");let b=`${a}/api/health`,c=Date.now();for(;Date.now()-c<3e5;){await new Promise(a=>setTimeout(a,2e3));try{let a=await fetch(b,{mode:"no-cors",cache:"no-store"});if(a.ok||"opaque"===a.type)return!0}catch{}}return!1},bd=(a,b)=>{az(a),aB(b)},be=()=>{az(""),aB("")},bf=async()=>{aN(!1),aL(!0),at(!0),ax(null),av("Connecting..."),be();try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){ar(b.tunnelUrl||"");let a=await bc(b.tunnelUrl);an(!0),ax(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.needsLogin&&b.authUrl){bd(b.authUrl,"Open Login Page"),av('Login required — click "Open Login Page" to continue');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-check");if(a.ok&&(await a.json()).loggedIn){be(),av("Starting funnel...");let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){ar(b.tunnelUrl||"");let a=await bc(b.tunnelUrl);an(!0),ax(a?null:{type:"warning",message:"Connected but not reachable yet."})}else b.funnelNotEnabled&&b.enableUrl?await bg(b.enableUrl):ax({type:"error",message:b.error||"Failed to start funnel"});return}}catch{}}be(),ax({type:"error",message:"Login timed out. Please try again."});return}if(b.funnelNotEnabled&&b.enableUrl)return void await bg(b.enableUrl);ax({type:"error",message:b.error||"Failed to connect"})}catch(a){ax({type:"error",message:a.message})}finally{at(!1),aL(!1),av(""),be()}},bg=async a=>{bd(a,"Open Funnel Settings"),av('Click "Open Funnel Settings" to enable Funnel...');for(let a=0;a<40;a++){await new Promise(a=>setTimeout(a,3e3));try{let a=await fetch("/api/tunnel/tailscale-enable",{method:"POST"}),b=await a.json();if(a.ok&&b.success){be(),ar(b.tunnelUrl||"");let a=await bc(b.tunnelUrl);an(!0),ax(a?null:{type:"warning",message:"Connected but not reachable yet."});return}if(b.funnelNotEnabled)continue;if(b.error){be(),ax({type:"error",message:b.error});return}}catch{}}be(),ax({type:"error",message:"Timed out waiting for Funnel to be enabled."})},bh=async()=>{at(!0),ax(null);try{let a=await fetch("/api/tunnel/tailscale-disable",{method:"POST"}),b=await a.json();a.ok?(an(!1),ar(""),aP(!1),ax({type:"success",message:"Tailscale disabled"})):ax({type:"error",message:b.error||"Failed to disable Tailscale"})}catch(a){ax({type:"error",message:a.message})}finally{at(!1)}},bi=async()=>{ax(null),aH([]);let a=await ba();a?.installed&&a?.hasCachedPassword?bf():aN(!0)},bj=async()=>{if(u.trim())try{let a=await fetch("/api/keys",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:u})}),b=await a.json();a.ok&&(x(b.key),await a6(),v(""),t(!1))}catch(a){console.log("Error creating key:",a)}},bk=async a=>{z({title:"Delete API Key",message:"Delete this API key?",onConfirm:async()=>{z(null);try{(await fetch(`/api/keys/${a}`,{method:"DELETE"})).ok&&(c(b.filter(b=>b.id!==a)),aW(b=>{let c=new Set(b);return c.delete(a),c}))}catch(a){console.log("Error deleting key:",a)}}})},bl=async(a,b)=>{try{(await fetch(`/api/keys/${a}`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({isActive:b})})).ok&&c(c=>c.map(c=>c.id===a?{...c,isActive:b}:c))}catch(a){console.log("Error toggling key:",a)}},[bm,bn]=(0,e.useState)("/v1");return f?(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsx)(h.Qv,{}),(0,d.jsx)(h.Qv,{})]}):(0,d.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,d.jsxs)(h.Zp,{children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold mb-4 flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"api"}),"API Endpoint"]}),(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsx)(o,{label:"Local",url:bm,copyId:"local_url",copied:a$,onCopy:a_}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${W?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tunnel"}),W&&!ac&&Y?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${aa||$}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>a_(`${aa||$}/v1`,"tunnel_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"tunnel_url"===a$?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>al(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!W||ac||Y?ac?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),ae||"Creating tunnel..."]}),(0,d.jsx)("button",{onClick:()=>{ad(!1),af("")},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):ag?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),ag.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>aj(!0),children:"Enable"})]}):U?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),(0,d.jsx)("button",{onClick:()=>V(!1),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"cloud_upload",onClick:()=>{a0?ah({type:"error",message:`Security required: ${a1}`}):A?aj(!0):ah({type:"error",message:'Security required: Enable "Require API key" before activating the tunnel.'})},children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aR?"Tunnel reconnecting...":"Tunnel checking..."]}),(0,d.jsx)("button",{onClick:()=>al(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tunnel",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${am?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:"Tailscale"}),am&&!as&&ao?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(h.pd,{value:`${aq}/v1`,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>a_(`${aq}/v1`,"ts_url"),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"ts_url"===a$?"check":"content_copy"})}),(0,d.jsx)("button",{onClick:()=>aP(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):!am||as||ao?as||aK?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-border bg-input text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),au||"Connecting..."]}),ay&&(0,d.jsx)(h.$n,{size:"sm",icon:"open_in_new",onClick:()=>window.open(ay,"tailscale_auth","width=600,height=700,noopener,noreferrer"),children:aA||"Open"}),(0,d.jsx)("button",{onClick:()=>{at(!1),aL(!1),av(""),be()},className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Stop",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]}):aw?.type==="error"?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-red-300 dark:border-red-800 bg-red-500/5 text-sm text-red-600 dark:text-red-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-sm",children:"error"}),aw.message]}),(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:bi,children:"Enable"})]}):(0,d.jsx)(h.$n,{size:"sm",icon:"vpn_lock",onClick:()=>{a0?ax({type:"error",message:`Security required: ${a1}`}):bi()},className:"bg-linear-to-r from-indigo-500 to-purple-500 hover:from-indigo-600 hover:to-purple-600 text-white!",children:"Enable"}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("div",{className:"flex-1 flex items-center gap-2 px-3 py-1.5 rounded border border-amber-300 dark:border-amber-800 bg-amber-500/5 text-sm text-amber-600 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),aT?"Tailscale reconnecting...":"Tailscale checking..."]}),(0,d.jsx)("button",{onClick:()=>aP(!0),className:"p-2 hover:bg-red-500/10 rounded text-red-500 transition-colors shrink-0",title:"Disable Tailscale",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"power_settings_new"})})]})]})]}),a0&&!W&&!am&&(0,d.jsx)("div",{className:"mt-4",children:(0,d.jsx)(r,{message:a1,action:{label:"Open settings",href:"/dashboard/profile"}})}),(W||am)&&(0,d.jsxs)("div",{className:"mt-4 flex flex-col gap-2",children:[!A&&(0,d.jsx)(r,{message:"Require API key is disabled — your endpoint is publicly accessible without authentication.",action:{label:"Enable",href:"#require-api-key"}}),(!C||!E)&&(0,d.jsx)(r,{message:C?"Dashboard uses the default password — change it in Profile settings.":"Require login is disabled — anyone can access your dashboard via tunnel.",action:{label:C?"Change password":"Enable",href:"/dashboard/profile"}})]}),(W||am)&&(0,d.jsxs)("div",{className:"mt-4 pt-4 border-t border-border flex items-center gap-3",children:[(0,d.jsx)(h.lM,{checked:G,onChange:()=>a2(!G)}),(0,d.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,d.jsx)("p",{className:"font-medium text-sm",children:"Allow dashboard access via tunnel"}),(0,d.jsx)(q,{text:"When enabled, the dashboard can be accessed through your tunnel or Tailscale URL (login still required). When disabled, dashboard access via tunnel/Tailscale is completely blocked."})]})]})]}),(0,d.jsxs)(h.Zp,{id:"rtk",children:[(0,d.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"bolt"}),"Token Saver"]})}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-2 pb-4 border-b border-border gap-4",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress tool output"," ",(0,d.jsx)("a",{href:"https://github.com/rtk-ai/rtk",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(RTK)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"git/grep/ls/tree/logs → 60-90% fewer input tokens"})]}),(0,d.jsx)(h.lM,{checked:I,onChange:()=>a4(!I)})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-4 gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Compress LLM output"," ",(0,d.jsx)("a",{href:"https://github.com/JuliusBrussee/caveman",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Caveman)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Terse-style system prompt → ~65% fewer output tokens (up to 87%)"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[K&&(0,d.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:aZ.map(a=>(0,d.jsx)("button",{onClick:()=>{var b;N(b=a.id),a5({cavemanLevel:b})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${M===a.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:a.desc,children:a.label},a.id))}),(0,d.jsx)("p",{className:"text-xs text-primary",children:l.find(a=>a.id===M)?.desc})]}),(0,d.jsx)(h.lM,{checked:K,onChange:()=>{var a;L(a=!K),a5({cavemanEnabled:a})}})]})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pt-4 mt-4 border-t border-border gap-4 flex-wrap",children:[(0,d.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,d.jsxs)("p",{className:"font-medium",children:["Bias toward minimal code"," ",(0,d.jsx)("a",{href:"https://github.com/DietrichGebert/ponytail",target:"_blank",rel:"noreferrer",className:"text-xs font-normal text-primary underline hover:opacity-80",children:"(Ponytail)"})]}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:'"Lazy senior dev" prompt → YAGNI-first, deletion over addition, shorter diffs'})]}),(0,d.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[O&&(0,d.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,d.jsx)("div",{className:"flex items-center gap-1.5",children:m.map(a=>(0,d.jsx)("button",{onClick:()=>{var b;R(b=a.id),a5({ponytailLevel:b})},className:`px-3 py-1.5 rounded text-xs font-medium border transition-colors ${Q===a.id?"bg-primary text-white border-primary":"bg-transparent border-border text-text-muted hover:bg-surface-2"}`,title:a.desc,children:a.label},a.id))}),(0,d.jsx)("p",{className:"text-xs text-primary",children:m.find(a=>a.id===Q)?.desc})]}),(0,d.jsx)(h.lM,{checked:O,onChange:()=>{var a;P(a=!O),a5({ponytailEnabled:a})}})]})]})]}),(0,d.jsxs)(h.Zp,{id:"require-api-key",children:[(0,d.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[(0,d.jsxs)("h2",{className:"text-lg font-semibold flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"vpn_key"}),"API Keys"]}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>t(!0),children:"Create Key"})]}),(0,d.jsxs)("div",{className:"flex items-center justify-between pb-4 mb-4 border-b border-border",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"font-medium",children:"Require API key"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Requests without a valid key will be rejected"})]}),(0,d.jsx)(h.lM,{checked:A,onChange:()=>a3(!A)})]}),aX&&!A&&(0,d.jsx)("div",{className:"mb-4 -mt-2",children:(0,d.jsx)(r,{message:"Endpoint is exposed without an API key."})}),0===b.length?(0,d.jsxs)("div",{className:"text-center py-12",children:[(0,d.jsx)("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-primary/10 text-primary mb-4",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[32px]",children:"vpn_key"})}),(0,d.jsx)("p",{className:"text-text-main font-medium mb-1",children:"No API keys yet"}),(0,d.jsx)("p",{className:"text-sm text-text-muted mb-4",children:"Create your first API key to get started"}),(0,d.jsx)(h.$n,{icon:"add",onClick:()=>t(!0),children:"Create Key"})]}):(0,d.jsx)("div",{className:"flex flex-col",children:b.map(a=>{var b;return(0,d.jsxs)("div",{className:`group flex items-center justify-between py-3 border-b border-black/[0.03] dark:border-white/[0.03] last:border-b-0 ${!1===a.isActive?"opacity-60":""}`,children:[(0,d.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,d.jsx)("p",{className:"text-sm font-medium",children:a.name}),(0,d.jsxs)("div",{className:"flex items-center gap-2 mt-1",children:[(0,d.jsx)("code",{className:"text-xs text-text-muted font-mono",children:aV.has(a.id)?a.key:(b=a.key)?b.length>8?b.slice(0,8)+"...":b:""}),(0,d.jsx)("button",{onClick:()=>{var b;return b=a.id,void aW(a=>{let c=new Set(a);return c.has(b)?c.delete(b):c.add(b),c})},className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",title:aV.has(a.id)?"Hide key":"Show key",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:aV.has(a.id)?"visibility_off":"visibility"})}),(0,d.jsx)("button",{onClick:()=>a_(a.key,a.id),className:"p-1 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px]",children:a$===a.id?"check":"content_copy"})})]}),(0,d.jsxs)("p",{className:"text-xs text-text-muted mt-1",children:["Created ",new Date(a.createdAt).toLocaleDateString()]}),!1===a.isActive&&(0,d.jsx)("p",{className:"text-xs text-orange-500 mt-1",children:"Paused"})]}),(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)(h.lM,{size:"sm",checked:a.isActive??!0,onChange:b=>{a.isActive&&!b?z({title:"Pause API Key",message:`Pause API key "${a.name}"?
2
2
 
3
- This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{y(null),bg(a.id,b)}}):bg(a.id,b)},title:a.isActive?"Pause key":"Resume key"}),(0,d.jsx)("button",{onClick:()=>bf(a.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},a.id)})})]}),(0,d.jsx)(h.aF,{isOpen:r,title:"Create API Key",onClose:()=>{s(!1),u("")},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(h.pd,{label:"Key Name",value:t,onChange:a=>u(a.target.value),placeholder:"Production Key"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:be,fullWidth:!0,disabled:!t.trim(),children:"Create"}),(0,d.jsx)(h.$n,{onClick:()=>{s(!1),u("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:!!v,title:"API Key Created",onClose:()=>w(null),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,d.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,d.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.pd,{value:v||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)(h.$n,{variant:"secondary",icon:"created_key"===aV?"check":"content_copy",onClick:()=>aW(v,"created_key"),children:"created_key"===aV?"Copied!":"Copy"})]}),(0,d.jsx)(h.$n,{onClick:()=>w(null),fullWidth:!0,children:"Done"})]})}),(0,d.jsx)(h.aF,{isOpen:ad,title:"Enable Tunnel",onClose:()=>ae(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local kRouter to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-3",children:k.map(a=>(0,d.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:a.icon}),(0,d.jsx)("p",{className:"text-xs font-semibold",children:a.title}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:a.desc})]},a.title))}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a3,fullWidth:!0,children:"Start Tunnel"}),(0,d.jsx)(h.$n,{onClick:()=>ae(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:af,title:"Disable Tunnel",onClose:()=>!Z&&ag(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a4,fullWidth:!0,disabled:Z,variant:"danger",children:Z?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>ag(!1),variant:"ghost",fullWidth:!0,disabled:Z,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:aH,title:"Tailscale Funnel",onClose:()=>{az||(aI(!1),aE(""),as(null))},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[null===ax&&(0,d.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===ax&&!az&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a6,fullWidth:!0,children:"Install Tailscale"}),(0,d.jsx)(h.$n,{onClick:()=>aI(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),az&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),aB.length>0&&(0,d.jsx)("div",{ref:aL,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:aB.map((a,b)=>(0,d.jsx)("div",{children:a},b))})]}),!0===ax&&!az&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>ba(),fullWidth:!0,children:"Connect"}),(0,d.jsx)(h.$n,{onClick:()=>aI(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),ar&&(0,d.jsx)(o,{status:ar})]})}),(0,d.jsx)(h.aF,{isOpen:aJ,title:"Disable Tailscale",onClose:()=>!an&&aK(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:bc,fullWidth:!0,disabled:an,variant:"danger",children:an?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>aK(!1),variant:"ghost",fullWidth:!0,disabled:an,children:"Cancel"})]})]})}),(0,d.jsx)(h.uo,{isOpen:!!x,onClose:()=>y(null),onConfirm:x?.onConfirm,title:x?.title||"Confirm",message:x?.message,variant:"danger"})]})}function n({label:a,url:b,copyId:c,copied:e,onCopy:f,badge:g,actions:i}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${"CF"===g||"TS"===g?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:a}),(0,d.jsx)(h.pd,{value:b,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>f(b,c),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e===c?"check":"content_copy"})}),i]})}function o({status:a,className:b=""}){return(0,d.jsx)("div",{className:`p-2 rounded text-sm ${b} ${"success"===a.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===a.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===a.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:a.message.split(/(https?:\/\/[^\s]+)/g).map((a,b)=>/^https?:\/\//.test(a)?(0,d.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:a},b):a)})}function p({text:a}){return(0,d.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,d.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:a})]})}function q({message:a,action:b}){return(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-xs flex-1",children:a}),b&&(0,d.jsx)("a",{href:b.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:b.href.startsWith("#")?a=>{a.preventDefault(),document.getElementById(b.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:b.label})]})}m.propTypes={machineId:g().string.isRequired}},51747:(a,b,c)=>{"use strict";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/endpoint/EndpointPageClient.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/endpoint/EndpointPageClient.js","default")},76581:(a,b,c)=>{Promise.resolve().then(c.bind(c,43173))},87250:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(54603);async function e(){return await (0,d.Xj)()}}};
3
+ This key will stop working immediately but can be resumed later.`,onConfirm:async()=>{z(null),bl(a.id,b)}}):bl(a.id,b)},title:a.isActive?"Pause key":"Resume key"}),(0,d.jsx)("button",{onClick:()=>bk(a.id),className:"p-2 hover:bg-red-500/10 rounded text-red-500 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-all",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:"delete"})})]})]},a.id)})})]}),(0,d.jsx)(h.aF,{isOpen:s,title:"Create API Key",onClose:()=>{t(!1),v("")},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)(h.pd,{label:"Key Name",value:u,onChange:a=>v(a.target.value),placeholder:"Production Key"}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:bj,fullWidth:!0,disabled:!u.trim(),children:"Create"}),(0,d.jsx)(h.$n,{onClick:()=>{t(!1),v("")},variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:!!w,title:"API Key Created",onClose:()=>x(null),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsxs)("div",{className:"bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg p-4",children:[(0,d.jsx)("p",{className:"text-sm text-yellow-800 dark:text-yellow-200 mb-2 font-medium",children:"Save this key now!"}),(0,d.jsx)("p",{className:"text-sm text-yellow-700 dark:text-yellow-300",children:"This is the only time you will see this key. Store it securely."})]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.pd,{value:w||"",readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)(h.$n,{variant:"secondary",icon:"created_key"===a$?"check":"content_copy",onClick:()=>a_(w,"created_key"),children:"created_key"===a$?"Copied!":"Copy"})]}),(0,d.jsx)(h.$n,{onClick:()=>x(null),fullWidth:!0,children:"Done"})]})}),(0,d.jsx)(h.aF,{isOpen:ai,title:"Enable Tunnel",onClose:()=>aj(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("div",{className:"bg-surface-2 border border-border-subtle rounded-lg p-4",children:(0,d.jsxs)("div",{className:"flex items-start gap-3",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-primary",children:"cloud_upload"}),(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"text-sm text-text-main font-medium mb-1",children:"Cloudflare Tunnel"}),(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Expose your local kRouter to the internet. No port forwarding, no static IP needed. Share endpoint URL with your team or use it in Cursor, Cline, and other AI tools from anywhere."})]})]})}),(0,d.jsx)("div",{className:"grid grid-cols-2 gap-3",children:k.map(a=>(0,d.jsxs)("div",{className:"flex flex-col items-center text-center p-3 rounded-lg bg-sidebar/50",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-xl text-primary mb-1",children:a.icon}),(0,d.jsx)("p",{className:"text-xs font-semibold",children:a.title}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:a.desc})]},a.title))}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Requires outbound port 7844 (TCP/UDP). Connection may take 10-30s."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a8,fullWidth:!0,children:"Start Tunnel"}),(0,d.jsx)(h.$n,{onClick:()=>aj(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:ak,title:"Disable Tunnel",onClose:()=>!ac&&al(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"The Cloudflare tunnel will be disconnected. Remote access via tunnel URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:a9,fullWidth:!0,disabled:ac,variant:"danger",children:ac?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>al(!1),variant:"ghost",fullWidth:!0,disabled:ac,children:"Cancel"})]})]})}),(0,d.jsx)(h.aF,{isOpen:aM,title:"Tailscale Funnel",onClose:()=>{aE||(aN(!1),aJ(""),ax(null))},children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[null===aC&&(0,d.jsxs)("p",{className:"text-sm text-text-muted flex items-center gap-2",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Checking..."]}),!1===aC&&!aE&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale is not installed. Install it to enable Funnel."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:bb,fullWidth:!0,children:"Install Tailscale"}),(0,d.jsx)(h.$n,{onClick:()=>aN(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),aE&&(0,d.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-text-muted",children:[(0,d.jsx)("span",{className:"material-symbols-outlined animate-spin text-sm",children:"progress_activity"}),"Installing Tailscale..."]}),aG.length>0&&(0,d.jsx)("div",{ref:aQ,className:"bg-black/5 dark:bg-white/5 rounded p-2 max-h-40 overflow-y-auto font-mono text-xs text-text-muted",children:aG.map((a,b)=>(0,d.jsx)("div",{children:a},b))})]}),!0===aC&&!aE&&(0,d.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,d.jsxs)("div",{className:"flex items-center gap-2 text-sm text-green-600 dark:text-green-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px]",children:"check_circle"}),"Tailscale installed"]}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:()=>bf(),fullWidth:!0,children:"Connect"}),(0,d.jsx)(h.$n,{onClick:()=>aN(!1),variant:"ghost",fullWidth:!0,children:"Cancel"})]})]}),aw&&(0,d.jsx)(p,{status:aw})]})}),(0,d.jsx)(h.aF,{isOpen:aO,title:"Disable Tailscale",onClose:()=>!as&&aP(!1),children:(0,d.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,d.jsx)("p",{className:"text-sm text-text-muted",children:"Tailscale Funnel will be stopped. Remote access via Tailscale URL will stop working."}),(0,d.jsxs)("div",{className:"flex gap-2",children:[(0,d.jsx)(h.$n,{onClick:bh,fullWidth:!0,disabled:as,variant:"danger",children:as?"Disabling...":"Disable"}),(0,d.jsx)(h.$n,{onClick:()=>aP(!1),variant:"ghost",fullWidth:!0,disabled:as,children:"Cancel"})]})]})}),(0,d.jsx)(h.uo,{isOpen:!!y,onClose:()=>z(null),onConfirm:y?.onConfirm,title:y?.title||"Confirm",message:y?.message,variant:"danger"})]})}function o({label:a,url:b,copyId:c,copied:e,onCopy:f,badge:g,actions:i}){return(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:`text-xs font-mono px-1.5 py-0.5 rounded shrink-0 min-w-[88px] text-center ${"CF"===g||"TS"===g?"bg-primary/10 text-primary":"bg-surface-2 text-text-muted"}`,children:a}),(0,d.jsx)(h.pd,{value:b,readOnly:!0,className:"flex-1 font-mono text-sm"}),(0,d.jsx)("button",{onClick:()=>f(b,c),className:"p-2 hover:bg-black/5 dark:hover:bg-white/5 rounded text-text-muted hover:text-primary transition-colors shrink-0",children:(0,d.jsx)("span",{className:"material-symbols-outlined text-[18px]",children:e===c?"check":"content_copy"})}),i]})}function p({status:a,className:b=""}){return(0,d.jsx)("div",{className:`p-2 rounded text-sm ${b} ${"success"===a.type?"bg-green-500/10 text-green-600 dark:text-green-400":"warning"===a.type?"bg-yellow-500/10 text-yellow-600 dark:text-yellow-400":"info"===a.type?"bg-blue-500/10 text-blue-600 dark:text-blue-400":"bg-red-500/10 text-red-600 dark:text-red-400"}`,children:a.message.split(/(https?:\/\/[^\s]+)/g).map((a,b)=>/^https?:\/\//.test(a)?(0,d.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",className:"underline font-medium",children:a},b):a)})}function q({text:a}){return(0,d.jsxs)("span",{className:"relative group inline-flex items-center",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[14px] text-text-muted cursor-help",children:"help"}),(0,d.jsx)("span",{className:"pointer-events-none absolute left-5 top-1/2 -translate-y-1/2 z-50 w-64 rounded bg-gray-900 dark:bg-gray-800 text-white text-xs px-2.5 py-1.5 opacity-0 group-hover:opacity-100 transition-opacity shadow-lg",children:a})]})}function r({message:a,action:b}){return(0,d.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-700 dark:text-amber-400",children:[(0,d.jsx)("span",{className:"material-symbols-outlined text-[16px] shrink-0 mt-0.5",children:"warning"}),(0,d.jsx)("p",{className:"text-xs flex-1",children:a}),b&&(0,d.jsx)("a",{href:b.href,className:"text-xs font-medium underline shrink-0 hover:opacity-80",onClick:b.href.startsWith("#")?a=>{a.preventDefault(),document.getElementById(b.href.slice(1))?.scrollIntoView({behavior:"smooth"})}:void 0,children:b.label})]})}n.propTypes={machineId:g().string.isRequired}},51747:(a,b,c)=>{"use strict";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/endpoint/EndpointPageClient.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/endpoint/EndpointPageClient.js","default")},76581:(a,b,c)=>{Promise.resolve().then(c.bind(c,43173))},87250:(a,b,c)=>{"use strict";c.d(b,{D:()=>e});var d=c(54603);async function e(){return await (0,d.Xj)()}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=6306,exports.ids=[6306],exports.modules={66306:(a,b,c)=>{function d(a,b){return RegExp("^"+a.split("*").map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join(".*")+"$","i").test(b)}c.d(b,{a0:()=>g,nl:()=>k});let e={vision:!1,pdf:!1,audioInput:!1,videoInput:!1,imageOutput:!1,audioOutput:!1,search:!1,tools:!0,reasoning:!1,thinkingFormat:null,thinkingCanDisable:!0,thinkingRange:null,contextWindow:2e5,maxOutput:64e3},f={imageToText:{vision:!0},image:{imageOutput:!0},stt:{audioInput:!0},tts:{audioOutput:!0},embedding:{tools:!1}};function g(a){return f[a]||null}let h={"claude-opus-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4.7":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-opus-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:128e3},"claude-sonnet-4.6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:64e3},"claude-sonnet-4-6":{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive",contextWindow:1e6,maxOutput:64e3},"gpt-image-1":{imageOutput:!0,tools:!1},"glm-4.6v":{vision:!0,reasoning:!0,thinkingFormat:"zai",contextWindow:128e3},"vision-model":{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6},"coder-model":{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6}},i={"codebuddy-cn":{"glm-5.2":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:48e3},"glm-5.1":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5.0":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:48e3},"glm-5.0-turbo":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"glm-5v-turbo":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:38e3},"glm-4.7":{reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:48e3},"minimax-m3":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:512e3,maxOutput:48e3},"minimax-m2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:48e3},"kimi-k2.7":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.6":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:256e3,maxOutput:32e3},"kimi-k2.5":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:164e3,maxOutput:32e3},"hy3-preview":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:192e3,maxOutput:64e3},"deepseek-v4-pro":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v4-flash":{vision:!0,reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:1e6,maxOutput:5e4},"deepseek-v3-2-volc":{reasoning:!0,thinkingFormat:"openai",thinkingCanDisable:!1,contextWindow:96e3,maxOutput:32e3}}},j=[{pattern:"*claude*opus-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*opus-4.8*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.6*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*sonnet-4.7*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-adaptive"}},{pattern:"*claude*haiku*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*opus*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*sonnet*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*claude*fable*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude*mythos*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget",contextWindow:1e6,maxOutput:128e3}},{pattern:"*claude-3*",caps:{vision:!0}},{pattern:"*claude*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"claude-budget"}},{pattern:"*gemini*image*",caps:{vision:!0,imageOutput:!0,contextWindow:1048576}},{pattern:"*gemini-3*pro*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65535}},{pattern:"*gemini-3*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-level",thinkingCanDisable:!1,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2.5*",caps:{vision:!0,audioInput:!0,videoInput:!0,reasoning:!0,search:!0,thinkingFormat:"gemini-budget",thinkingRange:{min:0,max:24576},contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini-2*",caps:{vision:!0,audioInput:!0,videoInput:!0,search:!0,contextWindow:1048576,maxOutput:65536}},{pattern:"*gemini*",caps:{vision:!0,search:!0,contextWindow:1048576}},{pattern:"*gemma*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*nanobanana*",caps:{vision:!0,imageOutput:!0}},{pattern:"*gpt-5*image*",caps:{imageOutput:!0}},{pattern:"*gpt-5*codex*",caps:{reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-5*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:4e5,maxOutput:128e3}},{pattern:"*gpt-4o*",caps:{vision:!0,search:!0,contextWindow:128e3,maxOutput:16384}},{pattern:"*gpt-4.1*",caps:{vision:!0,contextWindow:1e6,maxOutput:32768}},{pattern:"*gpt-4-turbo*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*gpt-4*",caps:{contextWindow:128e3}},{pattern:"*gpt-3.5*",caps:{contextWindow:16385,maxOutput:4096}},{pattern:"*gpt-oss*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1-mini*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:128e3}},{pattern:"*o1*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o3*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*o4*",caps:{vision:!0,reasoning:!0,thinkingFormat:"openai",contextWindow:2e5,maxOutput:1e5}},{pattern:"*grok*image*",caps:{imageOutput:!0}},{pattern:"*grok-code*",caps:{reasoning:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-4*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*grok-3*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:131072}},{pattern:"*grok*",caps:{vision:!0,reasoning:!0,search:!0,thinkingFormat:"openai",contextWindow:256e3}},{pattern:"*qwen*vl*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwen*max*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*plus*",caps:{vision:!0,reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6,maxOutput:65536}},{pattern:"*qwen*235b*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*qwen*coder*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:1e6}},{pattern:"*qwq*",caps:{reasoning:!0,thinkingFormat:"qwen",thinkingCanDisable:!1,contextWindow:131072}},{pattern:"*qwen*",caps:{reasoning:!0,thinkingFormat:"qwen",contextWindow:262144}},{pattern:"*kimi*k2.7*code*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",thinkingCanDisable:!1,contextWindow:262144,maxOutput:262144}},{pattern:"*kimi*k2*",caps:{vision:!0,reasoning:!0,thinkingFormat:"kimi",contextWindow:262144,maxOutput:262144}},{pattern:"*kimi*",caps:{reasoning:!0,thinkingFormat:"kimi",contextWindow:262144}},{pattern:"*glm-5*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4.7*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5,maxOutput:128e3}},{pattern:"*glm-4*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*glm*",caps:{reasoning:!0,thinkingFormat:"zai",contextWindow:2e5}},{pattern:"*deepseek-v4*",caps:{reasoning:!0,thinkingFormat:"deepseek",contextWindow:1e6,maxOutput:384e3}},{pattern:"*reasoner*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-r*",caps:{reasoning:!0,thinkingFormat:"deepseek",thinkingCanDisable:!1,contextWindow:128e3}},{pattern:"*deepseek-chat*",caps:{contextWindow:128e3}},{pattern:"*deepseek*",caps:{reasoning:!0,thinkingFormat:"deepseek",contextWindow:128e3}},{pattern:"*minimax*image*",caps:{imageOutput:!0}},{pattern:"*minimax-m3*",caps:{reasoning:!0,thinkingFormat:"minimax",contextWindow:1048576,maxOutput:512e3}},{pattern:"*minimax-m2.7*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:204800,maxOutput:131072}},{pattern:"*minimax*",caps:{reasoning:!0,thinkingFormat:"minimax",thinkingCanDisable:!1,contextWindow:2e5,maxOutput:131072}},{pattern:"*mimo*v2.5*",caps:{vision:!0,contextWindow:1048576,maxOutput:131072}},{pattern:"*mimo*omni*",caps:{vision:!0,audioInput:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*mimo*",caps:{vision:!0,contextWindow:262144,maxOutput:131072}},{pattern:"*llama-4*",caps:{vision:!0,contextWindow:1e6}},{pattern:"*llama*",caps:{contextWindow:128e3}},{pattern:"*codestral*",caps:{contextWindow:256e3}},{pattern:"*mistral-large*",caps:{vision:!0,contextWindow:256e3}},{pattern:"*mistral*",caps:{contextWindow:128e3}},{pattern:"*command-a-vision*",caps:{vision:!0,contextWindow:128e3}},{pattern:"*command*",caps:{contextWindow:128e3}},{pattern:"*sonar*",caps:{search:!0,contextWindow:128e3}},{pattern:"*pplx*",caps:{search:!0,contextWindow:128e3}},{pattern:"*perplexity*",caps:{search:!0,contextWindow:128e3}},{pattern:"*hunyuan*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"hy3*",caps:{reasoning:!0,thinkingFormat:"hunyuan",contextWindow:262144,maxOutput:262144}},{pattern:"*step-*",caps:{reasoning:!0,thinkingFormat:"step",contextWindow:128e3}},{pattern:"*nemotron*",caps:{reasoning:!0,contextWindow:128e3}},{pattern:"*ling-*",caps:{reasoning:!0,contextWindow:128e3}}];function k(a,b){if(!b)return{...e};if(a&&i[a]?.[b])return{...e,...i[a][b]};let c=b.includes("/")?b.split("/").pop():b;if(h[c])return{...e,...h[c]};if(h[b])return{...e,...h[b]};for(let{pattern:a,caps:f}of j)if(d(a,c)||d(a,b))return{...e,...f};return{...e}}}};