ktrouter 1.1.8 → 1.2.0

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 (1969) hide show
  1. package/app/.next/BUILD_ID +1 -1
  2. package/app/.next/app-path-routes-manifest.json +14 -12
  3. package/app/.next/build-manifest.json +4 -4
  4. package/app/.next/prerender-manifest.json +3 -3
  5. package/app/.next/required-server-files.json +7 -4
  6. package/app/.next/routes-manifest.json +16 -0
  7. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  8. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  11. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  14. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  17. package/app/.next/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  20. package/app/.next/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  23. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  26. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  29. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  32. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  35. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  38. package/app/.next/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next/server/app/(dashboard)/dashboard/page.js +2 -2
  41. package/app/.next/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  44. package/app/.next/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  47. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  50. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  53. package/app/.next/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  56. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  59. package/app/.next/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  60. package/app/.next/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  61. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  62. package/app/.next/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  63. package/app/.next/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  64. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  65. package/app/.next/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  66. package/app/.next/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  67. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  68. package/app/.next/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  69. package/app/.next/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  70. package/app/.next/server/app/_global-error/page.js +3 -3
  71. package/app/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  72. package/app/.next/server/app/_global-error.html +1 -1
  73. package/app/.next/server/app/_global-error.rsc +1 -1
  74. package/app/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  75. package/app/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  76. package/app/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  77. package/app/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  78. package/app/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  79. package/app/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  80. package/app/.next/server/app/_not-found/page.js +2 -2
  81. package/app/.next/server/app/_not-found/page.js.nft.json +1 -1
  82. package/app/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  83. package/app/.next/server/app/_not-found.html +1 -1
  84. package/app/.next/server/app/_not-found.rsc +5 -5
  85. package/app/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
  86. package/app/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  87. package/app/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
  88. package/app/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  89. package/app/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  90. package/app/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -3
  91. package/app/.next/server/app/api/auth/login/route.js +1 -1
  92. package/app/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  93. package/app/.next/server/app/api/auth/login/route_client-reference-manifest.js +1 -1
  94. package/app/.next/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next/server/app/api/auth/logout/route_client-reference-manifest.js +1 -1
  96. package/app/.next/server/app/api/auth/oidc/callback/route.js +1 -1
  97. package/app/.next/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  98. package/app/.next/server/app/api/auth/oidc/callback/route_client-reference-manifest.js +1 -1
  99. package/app/.next/server/app/api/auth/oidc/start/route.js +1 -1
  100. package/app/.next/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  101. package/app/.next/server/app/api/auth/oidc/start/route_client-reference-manifest.js +1 -1
  102. package/app/.next/server/app/api/auth/oidc/test/route.js +1 -1
  103. package/app/.next/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  104. package/app/.next/server/app/api/auth/oidc/test/route_client-reference-manifest.js +1 -1
  105. package/app/.next/server/app/api/auth/status/route.js +1 -1
  106. package/app/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  107. package/app/.next/server/app/api/auth/status/route_client-reference-manifest.js +1 -1
  108. package/app/.next/server/app/api/cli-tools/all-statuses/route.js +4 -4
  109. package/app/.next/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  110. package/app/.next/server/app/api/cli-tools/all-statuses/route_client-reference-manifest.js +1 -1
  111. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  112. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  113. package/app/.next/server/app/api/cli-tools/antigravity-mitm/alias/route_client-reference-manifest.js +1 -1
  114. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  115. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  116. package/app/.next/server/app/api/cli-tools/antigravity-mitm/route_client-reference-manifest.js +1 -1
  117. package/app/.next/server/app/api/cli-tools/claude-settings/route.js +2 -2
  118. package/app/.next/server/app/api/cli-tools/claude-settings/route_client-reference-manifest.js +1 -1
  119. package/app/.next/server/app/api/cli-tools/cline-settings/route.js +2 -2
  120. package/app/.next/server/app/api/cli-tools/cline-settings/route_client-reference-manifest.js +1 -1
  121. package/app/.next/server/app/api/cli-tools/codex-settings/route.js +1 -1
  122. package/app/.next/server/app/api/cli-tools/codex-settings/route_client-reference-manifest.js +1 -1
  123. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  124. package/app/.next/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  125. package/app/.next/server/app/api/cli-tools/copilot-settings/route_client-reference-manifest.js +1 -1
  126. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route.js +1 -1
  127. package/app/.next/server/app/api/cli-tools/cowork-mcp-registry/route_client-reference-manifest.js +1 -1
  128. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  129. package/app/.next/server/app/api/cli-tools/cowork-mcp-tools/route_client-reference-manifest.js +1 -1
  130. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  131. package/app/.next/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  132. package/app/.next/server/app/api/cli-tools/cowork-settings/route_client-reference-manifest.js +1 -1
  133. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  134. package/app/.next/server/app/api/cli-tools/deepseek-tui-settings/route_client-reference-manifest.js +1 -1
  135. package/app/.next/server/app/api/cli-tools/droid-settings/route.js +2 -2
  136. package/app/.next/server/app/api/cli-tools/droid-settings/route_client-reference-manifest.js +1 -1
  137. package/app/.next/server/app/api/cli-tools/hermes-settings/route.js +2 -2
  138. package/app/.next/server/app/api/cli-tools/hermes-settings/route_client-reference-manifest.js +1 -1
  139. package/app/.next/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  140. package/app/.next/server/app/api/cli-tools/jcode-settings/route_client-reference-manifest.js +1 -1
  141. package/app/.next/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  142. package/app/.next/server/app/api/cli-tools/kilo-settings/route_client-reference-manifest.js +1 -1
  143. package/app/.next/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  144. package/app/.next/server/app/api/cli-tools/openclaw-settings/route_client-reference-manifest.js +1 -1
  145. package/app/.next/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  146. package/app/.next/server/app/api/cli-tools/opencode-settings/route_client-reference-manifest.js +1 -1
  147. package/app/.next/server/app/api/cloud/auth/route.js +1 -1
  148. package/app/.next/server/app/api/cloud/auth/route.js.nft.json +1 -1
  149. package/app/.next/server/app/api/cloud/auth/route_client-reference-manifest.js +1 -1
  150. package/app/.next/server/app/api/cloud/credentials/update/route.js +1 -1
  151. package/app/.next/server/app/api/cloud/credentials/update/route.js.nft.json +1 -1
  152. package/app/.next/server/app/api/cloud/credentials/update/route_client-reference-manifest.js +1 -1
  153. package/app/.next/server/app/api/cloud/model/resolve/route.js +1 -1
  154. package/app/.next/server/app/api/cloud/model/resolve/route.js.nft.json +1 -1
  155. package/app/.next/server/app/api/cloud/model/resolve/route_client-reference-manifest.js +1 -1
  156. package/app/.next/server/app/api/cloud/models/alias/route.js +1 -1
  157. package/app/.next/server/app/api/cloud/models/alias/route.js.nft.json +1 -1
  158. package/app/.next/server/app/api/cloud/models/alias/route_client-reference-manifest.js +1 -1
  159. package/app/.next/server/app/api/combos/[id]/route.js +1 -1
  160. package/app/.next/server/app/api/combos/[id]/route.js.nft.json +1 -1
  161. package/app/.next/server/app/api/combos/[id]/route_client-reference-manifest.js +1 -1
  162. package/app/.next/server/app/api/combos/route.js +1 -1
  163. package/app/.next/server/app/api/combos/route.js.nft.json +1 -1
  164. package/app/.next/server/app/api/combos/route_client-reference-manifest.js +1 -1
  165. package/app/.next/server/app/api/health/route.js +1 -1
  166. package/app/.next/server/app/api/health/route_client-reference-manifest.js +1 -1
  167. package/app/.next/server/app/api/init/route.js +1 -1
  168. package/app/.next/server/app/api/init/route.js.nft.json +1 -1
  169. package/app/.next/server/app/api/init/route_client-reference-manifest.js +1 -1
  170. package/app/.next/server/app/api/keys/[id]/route.js +1 -1
  171. package/app/.next/server/app/api/keys/[id]/route.js.nft.json +1 -1
  172. package/app/.next/server/app/api/keys/[id]/route_client-reference-manifest.js +1 -1
  173. package/app/.next/server/app/api/keys/route.js +1 -1
  174. package/app/.next/server/app/api/keys/route.js.nft.json +1 -1
  175. package/app/.next/server/app/api/keys/route_client-reference-manifest.js +1 -1
  176. package/app/.next/server/app/api/locale/route.js +1 -1
  177. package/app/.next/server/app/api/locale/route_client-reference-manifest.js +1 -1
  178. package/app/.next/server/app/api/mcp/[plugin]/message/route.js +1 -1
  179. package/app/.next/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  180. package/app/.next/server/app/api/mcp/[plugin]/message/route_client-reference-manifest.js +1 -1
  181. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  182. package/app/.next/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  183. package/app/.next/server/app/api/mcp/[plugin]/sse/route_client-reference-manifest.js +1 -1
  184. package/app/.next/server/app/api/media/download/route.js +1 -1
  185. package/app/.next/server/app/api/media/download/route_client-reference-manifest.js +1 -1
  186. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  187. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  188. package/app/.next/server/app/api/media-providers/tts/deepgram/voices/route_client-reference-manifest.js +1 -1
  189. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  190. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  191. package/app/.next/server/app/api/media-providers/tts/elevenlabs/voices/route_client-reference-manifest.js +1 -1
  192. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  193. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  194. package/app/.next/server/app/api/media-providers/tts/inworld/voices/route_client-reference-manifest.js +1 -1
  195. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  196. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  197. package/app/.next/server/app/api/media-providers/tts/minimax/voices/route_client-reference-manifest.js +1 -1
  198. package/app/.next/server/app/api/media-providers/tts/voices/route.js +1 -1
  199. package/app/.next/server/app/api/media-providers/tts/voices/route_client-reference-manifest.js +1 -1
  200. package/app/.next/server/app/api/models/alias/route.js +1 -1
  201. package/app/.next/server/app/api/models/alias/route.js.nft.json +1 -1
  202. package/app/.next/server/app/api/models/alias/route_client-reference-manifest.js +1 -1
  203. package/app/.next/server/app/api/models/availability/route.js +1 -1
  204. package/app/.next/server/app/api/models/availability/route.js.nft.json +1 -1
  205. package/app/.next/server/app/api/models/availability/route_client-reference-manifest.js +1 -1
  206. package/app/.next/server/app/api/models/custom/route.js +1 -1
  207. package/app/.next/server/app/api/models/custom/route.js.nft.json +1 -1
  208. package/app/.next/server/app/api/models/custom/route_client-reference-manifest.js +1 -1
  209. package/app/.next/server/app/api/models/disabled/route.js +1 -1
  210. package/app/.next/server/app/api/models/disabled/route.js.nft.json +1 -1
  211. package/app/.next/server/app/api/models/disabled/route_client-reference-manifest.js +1 -1
  212. package/app/.next/server/app/api/models/route.js +1 -1
  213. package/app/.next/server/app/api/models/route.js.nft.json +1 -1
  214. package/app/.next/server/app/api/models/route_client-reference-manifest.js +1 -1
  215. package/app/.next/server/app/api/models/test/route.js +1 -1
  216. package/app/.next/server/app/api/models/test/route.js.nft.json +1 -1
  217. package/app/.next/server/app/api/models/test/route_client-reference-manifest.js +1 -1
  218. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  219. package/app/.next/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  220. package/app/.next/server/app/api/oauth/[provider]/[action]/route_client-reference-manifest.js +1 -1
  221. package/app/.next/server/app/api/oauth/codex/import/route.js +1 -1
  222. package/app/.next/server/app/api/oauth/codex/import/route.js.nft.json +1 -1
  223. package/app/.next/server/app/api/oauth/codex/import/route_client-reference-manifest.js +1 -1
  224. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  225. package/app/.next/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  226. package/app/.next/server/app/api/oauth/cursor/auto-import/route_client-reference-manifest.js +1 -1
  227. package/app/.next/server/app/api/oauth/cursor/import/route.js +1 -1
  228. package/app/.next/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  229. package/app/.next/server/app/api/oauth/cursor/import/route_client-reference-manifest.js +1 -1
  230. package/app/.next/server/app/api/oauth/gitlab/pat/route.js +1 -1
  231. package/app/.next/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  232. package/app/.next/server/app/api/oauth/gitlab/pat/route_client-reference-manifest.js +1 -1
  233. package/app/.next/server/app/api/oauth/iflow/cookie/route.js +1 -1
  234. package/app/.next/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  235. package/app/.next/server/app/api/oauth/iflow/cookie/route_client-reference-manifest.js +1 -1
  236. package/app/.next/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  237. package/app/.next/server/app/api/oauth/kiro/auto-import/route_client-reference-manifest.js +1 -1
  238. package/app/.next/server/app/api/oauth/kiro/browser-login/route.js +2 -2
  239. package/app/.next/server/app/api/oauth/kiro/browser-login/route.js.nft.json +1 -1
  240. package/app/.next/server/app/api/oauth/kiro/browser-login/route_client-reference-manifest.js +1 -1
  241. package/app/.next/server/app/api/oauth/kiro/import/route.js +1 -1
  242. package/app/.next/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  243. package/app/.next/server/app/api/oauth/kiro/import/route_client-reference-manifest.js +1 -1
  244. package/app/.next/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  245. package/app/.next/server/app/api/oauth/kiro/social-authorize/route_client-reference-manifest.js +1 -1
  246. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  247. package/app/.next/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  248. package/app/.next/server/app/api/oauth/kiro/social-exchange/route_client-reference-manifest.js +1 -1
  249. package/app/.next/server/app/api/pricing/route.js +1 -1
  250. package/app/.next/server/app/api/pricing/route.js.nft.json +1 -1
  251. package/app/.next/server/app/api/pricing/route_client-reference-manifest.js +1 -1
  252. package/app/.next/server/app/api/provider-nodes/[id]/route.js +1 -1
  253. package/app/.next/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  254. package/app/.next/server/app/api/provider-nodes/[id]/route_client-reference-manifest.js +1 -1
  255. package/app/.next/server/app/api/provider-nodes/route.js +1 -1
  256. package/app/.next/server/app/api/provider-nodes/route.js.nft.json +1 -1
  257. package/app/.next/server/app/api/provider-nodes/route_client-reference-manifest.js +1 -1
  258. package/app/.next/server/app/api/provider-nodes/validate/route.js +1 -1
  259. package/app/.next/server/app/api/provider-nodes/validate/route_client-reference-manifest.js +1 -1
  260. package/app/.next/server/app/api/providers/[id]/models/route.js +1 -1
  261. package/app/.next/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  262. package/app/.next/server/app/api/providers/[id]/models/route_client-reference-manifest.js +1 -1
  263. package/app/.next/server/app/api/providers/[id]/route.js +1 -1
  264. package/app/.next/server/app/api/providers/[id]/route.js.nft.json +1 -1
  265. package/app/.next/server/app/api/providers/[id]/route_client-reference-manifest.js +1 -1
  266. package/app/.next/server/app/api/providers/[id]/sync-models/route.js +1 -0
  267. package/app/.next/server/app/api/providers/[id]/sync-models/route.js.nft.json +1 -0
  268. package/app/.next/server/app/api/providers/[id]/sync-models/route_client-reference-manifest.js +1 -0
  269. package/app/.next/server/app/api/providers/[id]/test/route.js +1 -1
  270. package/app/.next/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  271. package/app/.next/server/app/api/providers/[id]/test/route_client-reference-manifest.js +1 -1
  272. package/app/.next/server/app/api/providers/[id]/test-models/route.js +1 -1
  273. package/app/.next/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  274. package/app/.next/server/app/api/providers/[id]/test-models/route_client-reference-manifest.js +1 -1
  275. package/app/.next/server/app/api/providers/client/route.js +1 -1
  276. package/app/.next/server/app/api/providers/client/route.js.nft.json +1 -1
  277. package/app/.next/server/app/api/providers/client/route_client-reference-manifest.js +1 -1
  278. package/app/.next/server/app/api/providers/export/route.js +1 -1
  279. package/app/.next/server/app/api/providers/export/route.js.nft.json +1 -1
  280. package/app/.next/server/app/api/providers/export/route_client-reference-manifest.js +1 -1
  281. package/app/.next/server/app/api/providers/import/route.js +1 -1
  282. package/app/.next/server/app/api/providers/import/route.js.nft.json +1 -1
  283. package/app/.next/server/app/api/providers/import/route_client-reference-manifest.js +1 -1
  284. package/app/.next/server/app/api/providers/kilo/free-models/route.js +1 -1
  285. package/app/.next/server/app/api/providers/kilo/free-models/route_client-reference-manifest.js +1 -1
  286. package/app/.next/server/app/api/providers/route.js +1 -1
  287. package/app/.next/server/app/api/providers/route.js.nft.json +1 -1
  288. package/app/.next/server/app/api/providers/route_client-reference-manifest.js +1 -1
  289. package/app/.next/server/app/api/providers/suggested-models/route.js +1 -1
  290. package/app/.next/server/app/api/providers/suggested-models/route_client-reference-manifest.js +1 -1
  291. package/app/.next/server/app/api/providers/test-batch/route.js +1 -1
  292. package/app/.next/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  293. package/app/.next/server/app/api/providers/test-batch/route_client-reference-manifest.js +1 -1
  294. package/app/.next/server/app/api/providers/validate/route.js +1 -1
  295. package/app/.next/server/app/api/providers/validate/route.js.nft.json +1 -1
  296. package/app/.next/server/app/api/providers/validate/route_client-reference-manifest.js +1 -1
  297. package/app/.next/server/app/api/proxy-pools/[id]/route.js +1 -1
  298. package/app/.next/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  299. package/app/.next/server/app/api/proxy-pools/[id]/route_client-reference-manifest.js +1 -1
  300. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  301. package/app/.next/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  302. package/app/.next/server/app/api/proxy-pools/[id]/test/route_client-reference-manifest.js +1 -1
  303. package/app/.next/server/app/api/proxy-pools/route.js +1 -1
  304. package/app/.next/server/app/api/proxy-pools/route.js.nft.json +1 -1
  305. package/app/.next/server/app/api/proxy-pools/route_client-reference-manifest.js +1 -1
  306. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  307. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  308. package/app/.next/server/app/api/proxy-pools/vercel-deploy/route_client-reference-manifest.js +1 -1
  309. package/app/.next/server/app/api/settings/database/route.js +1 -1
  310. package/app/.next/server/app/api/settings/database/route.js.nft.json +1 -1
  311. package/app/.next/server/app/api/settings/database/route_client-reference-manifest.js +1 -1
  312. package/app/.next/server/app/api/settings/proxy-test/route.js +1 -1
  313. package/app/.next/server/app/api/settings/proxy-test/route_client-reference-manifest.js +1 -1
  314. package/app/.next/server/app/api/settings/require-login/route.js +1 -1
  315. package/app/.next/server/app/api/settings/require-login/route.js.nft.json +1 -1
  316. package/app/.next/server/app/api/settings/require-login/route_client-reference-manifest.js +1 -1
  317. package/app/.next/server/app/api/settings/route.js +1 -1
  318. package/app/.next/server/app/api/settings/route.js.nft.json +1 -1
  319. package/app/.next/server/app/api/settings/route_client-reference-manifest.js +1 -1
  320. package/app/.next/server/app/api/shutdown/route.js +1 -1
  321. package/app/.next/server/app/api/shutdown/route_client-reference-manifest.js +1 -1
  322. package/app/.next/server/app/api/tags/route.js +1 -1
  323. package/app/.next/server/app/api/tags/route_client-reference-manifest.js +1 -1
  324. package/app/.next/server/app/api/translator/console-logs/route.js +1 -1
  325. package/app/.next/server/app/api/translator/console-logs/route_client-reference-manifest.js +1 -1
  326. package/app/.next/server/app/api/translator/console-logs/stream/route.js +2 -2
  327. package/app/.next/server/app/api/translator/console-logs/stream/route_client-reference-manifest.js +1 -1
  328. package/app/.next/server/app/api/translator/load/route.js +1 -1
  329. package/app/.next/server/app/api/translator/load/route_client-reference-manifest.js +1 -1
  330. package/app/.next/server/app/api/translator/save/route.js +1 -1
  331. package/app/.next/server/app/api/translator/save/route_client-reference-manifest.js +1 -1
  332. package/app/.next/server/app/api/translator/send/route.js +1 -1
  333. package/app/.next/server/app/api/translator/send/route.js.nft.json +1 -1
  334. package/app/.next/server/app/api/translator/send/route_client-reference-manifest.js +1 -1
  335. package/app/.next/server/app/api/translator/translate/route.js +1 -1
  336. package/app/.next/server/app/api/translator/translate/route.js.nft.json +1 -1
  337. package/app/.next/server/app/api/translator/translate/route_client-reference-manifest.js +1 -1
  338. package/app/.next/server/app/api/update/check/route.js +1 -1
  339. package/app/.next/server/app/api/update/check/route_client-reference-manifest.js +1 -1
  340. package/app/.next/server/app/api/usage/[connectionId]/route.js +1 -1
  341. package/app/.next/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  342. package/app/.next/server/app/api/usage/[connectionId]/route_client-reference-manifest.js +1 -1
  343. package/app/.next/server/app/api/usage/chart/route.js +1 -1
  344. package/app/.next/server/app/api/usage/chart/route.js.nft.json +1 -1
  345. package/app/.next/server/app/api/usage/chart/route_client-reference-manifest.js +1 -1
  346. package/app/.next/server/app/api/usage/history/route.js +1 -1
  347. package/app/.next/server/app/api/usage/history/route.js.nft.json +1 -1
  348. package/app/.next/server/app/api/usage/history/route_client-reference-manifest.js +1 -1
  349. package/app/.next/server/app/api/usage/providers/route.js +1 -1
  350. package/app/.next/server/app/api/usage/providers/route.js.nft.json +1 -1
  351. package/app/.next/server/app/api/usage/providers/route_client-reference-manifest.js +1 -1
  352. package/app/.next/server/app/api/usage/request-details/route.js +1 -1
  353. package/app/.next/server/app/api/usage/request-details/route.js.nft.json +1 -1
  354. package/app/.next/server/app/api/usage/request-details/route_client-reference-manifest.js +1 -1
  355. package/app/.next/server/app/api/usage/request-logs/route.js +1 -1
  356. package/app/.next/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  357. package/app/.next/server/app/api/usage/request-logs/route_client-reference-manifest.js +1 -1
  358. package/app/.next/server/app/api/usage/stats/route.js +1 -1
  359. package/app/.next/server/app/api/usage/stats/route.js.nft.json +1 -1
  360. package/app/.next/server/app/api/usage/stats/route_client-reference-manifest.js +1 -1
  361. package/app/.next/server/app/api/usage/stream/route.js +2 -2
  362. package/app/.next/server/app/api/usage/stream/route.js.nft.json +1 -1
  363. package/app/.next/server/app/api/usage/stream/route_client-reference-manifest.js +1 -1
  364. package/app/.next/server/app/api/v1/api/chat/route.js +1 -1
  365. package/app/.next/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  366. package/app/.next/server/app/api/v1/api/chat/route_client-reference-manifest.js +1 -1
  367. package/app/.next/server/app/api/v1/audio/speech/route.js +1 -1
  368. package/app/.next/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  369. package/app/.next/server/app/api/v1/audio/speech/route_client-reference-manifest.js +1 -1
  370. package/app/.next/server/app/api/v1/audio/transcriptions/route.js +1 -1
  371. package/app/.next/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  372. package/app/.next/server/app/api/v1/audio/transcriptions/route_client-reference-manifest.js +1 -1
  373. package/app/.next/server/app/api/v1/audio/voices/route.js +1 -1
  374. package/app/.next/server/app/api/v1/audio/voices/route_client-reference-manifest.js +1 -1
  375. package/app/.next/server/app/api/v1/chat/completions/route.js +1 -1
  376. package/app/.next/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  377. package/app/.next/server/app/api/v1/chat/completions/route_client-reference-manifest.js +1 -1
  378. package/app/.next/server/app/api/v1/chatgpt-web/image/[id]/route.js +1 -0
  379. package/app/.next/server/app/api/v1/chatgpt-web/image/[id]/route.js.nft.json +1 -0
  380. package/app/.next/server/app/api/v1/chatgpt-web/image/[id]/route_client-reference-manifest.js +1 -0
  381. package/app/.next/server/app/api/v1/embeddings/route.js +1 -1
  382. package/app/.next/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  383. package/app/.next/server/app/api/v1/embeddings/route_client-reference-manifest.js +1 -1
  384. package/app/.next/server/app/api/v1/images/generations/route.js +2 -2
  385. package/app/.next/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  386. package/app/.next/server/app/api/v1/images/generations/route_client-reference-manifest.js +1 -1
  387. package/app/.next/server/app/api/v1/messages/count_tokens/route.js +1 -1
  388. package/app/.next/server/app/api/v1/messages/count_tokens/route_client-reference-manifest.js +1 -1
  389. package/app/.next/server/app/api/v1/messages/route.js +1 -1
  390. package/app/.next/server/app/api/v1/messages/route.js.nft.json +1 -1
  391. package/app/.next/server/app/api/v1/messages/route_client-reference-manifest.js +1 -1
  392. package/app/.next/server/app/api/v1/models/[kind]/route.js +1 -1
  393. package/app/.next/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  394. package/app/.next/server/app/api/v1/models/[kind]/route_client-reference-manifest.js +1 -1
  395. package/app/.next/server/app/api/v1/models/info/route.js +1 -1
  396. package/app/.next/server/app/api/v1/models/info/route_client-reference-manifest.js +1 -1
  397. package/app/.next/server/app/api/v1/models/route.js +1 -1
  398. package/app/.next/server/app/api/v1/models/route.js.nft.json +1 -1
  399. package/app/.next/server/app/api/v1/models/route_client-reference-manifest.js +1 -1
  400. package/app/.next/server/app/api/v1/responses/compact/route.js +1 -1
  401. package/app/.next/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  402. package/app/.next/server/app/api/v1/responses/compact/route_client-reference-manifest.js +1 -1
  403. package/app/.next/server/app/api/v1/responses/route.js +1 -1
  404. package/app/.next/server/app/api/v1/responses/route.js.nft.json +1 -1
  405. package/app/.next/server/app/api/v1/responses/route_client-reference-manifest.js +1 -1
  406. package/app/.next/server/app/api/v1/route.js +1 -1
  407. package/app/.next/server/app/api/v1/route.js.nft.json +1 -1
  408. package/app/.next/server/app/api/v1/route_client-reference-manifest.js +1 -1
  409. package/app/.next/server/app/api/v1/search/route.js +1 -1
  410. package/app/.next/server/app/api/v1/search/route.js.nft.json +1 -1
  411. package/app/.next/server/app/api/v1/search/route_client-reference-manifest.js +1 -1
  412. package/app/.next/server/app/api/v1/video/generations/route.js +1 -1
  413. package/app/.next/server/app/api/v1/video/generations/route.js.nft.json +1 -1
  414. package/app/.next/server/app/api/v1/video/generations/route_client-reference-manifest.js +1 -1
  415. package/app/.next/server/app/api/v1/web/fetch/route.js +1 -1
  416. package/app/.next/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  417. package/app/.next/server/app/api/v1/web/fetch/route_client-reference-manifest.js +1 -1
  418. package/app/.next/server/app/api/v1beta/models/[...path]/route.js +1 -1
  419. package/app/.next/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  420. package/app/.next/server/app/api/v1beta/models/[...path]/route_client-reference-manifest.js +1 -1
  421. package/app/.next/server/app/api/v1beta/models/route.js +1 -1
  422. package/app/.next/server/app/api/v1beta/models/route_client-reference-manifest.js +1 -1
  423. package/app/.next/server/app/callback/page.js +2 -2
  424. package/app/.next/server/app/callback/page.js.nft.json +1 -1
  425. package/app/.next/server/app/callback/page_client-reference-manifest.js +1 -1
  426. package/app/.next/server/app/callback.html +1 -1
  427. package/app/.next/server/app/callback.rsc +6 -6
  428. package/app/.next/server/app/callback.segments/_full.segment.rsc +6 -6
  429. package/app/.next/server/app/callback.segments/_head.segment.rsc +1 -1
  430. package/app/.next/server/app/callback.segments/_index.segment.rsc +5 -5
  431. package/app/.next/server/app/callback.segments/_tree.segment.rsc +3 -3
  432. package/app/.next/server/app/callback.segments/callback/__PAGE__.segment.rsc +2 -2
  433. package/app/.next/server/app/callback.segments/callback.segment.rsc +1 -1
  434. package/app/.next/server/app/dashboard/basic-chat.html +1 -1
  435. package/app/.next/server/app/dashboard/basic-chat.rsc +8 -8
  436. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  437. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  438. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  439. package/app/.next/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  440. package/app/.next/server/app/dashboard/basic-chat.segments/_full.segment.rsc +8 -8
  441. package/app/.next/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  442. package/app/.next/server/app/dashboard/basic-chat.segments/_index.segment.rsc +5 -5
  443. package/app/.next/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +4 -4
  444. package/app/.next/server/app/dashboard/cli-tools.html +1 -1
  445. package/app/.next/server/app/dashboard/cli-tools.rsc +9 -9
  446. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  447. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  448. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  449. package/app/.next/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  450. package/app/.next/server/app/dashboard/cli-tools.segments/_full.segment.rsc +9 -9
  451. package/app/.next/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  452. package/app/.next/server/app/dashboard/cli-tools.segments/_index.segment.rsc +5 -5
  453. package/app/.next/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +4 -4
  454. package/app/.next/server/app/dashboard/combos.html +1 -1
  455. package/app/.next/server/app/dashboard/combos.rsc +8 -8
  456. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  457. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  458. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  459. package/app/.next/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  460. package/app/.next/server/app/dashboard/combos.segments/_full.segment.rsc +8 -8
  461. package/app/.next/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  462. package/app/.next/server/app/dashboard/combos.segments/_index.segment.rsc +5 -5
  463. package/app/.next/server/app/dashboard/combos.segments/_tree.segment.rsc +4 -4
  464. package/app/.next/server/app/dashboard/endpoint.html +1 -1
  465. package/app/.next/server/app/dashboard/endpoint.rsc +9 -9
  466. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  467. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  468. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  469. package/app/.next/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  470. package/app/.next/server/app/dashboard/endpoint.segments/_full.segment.rsc +9 -9
  471. package/app/.next/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  472. package/app/.next/server/app/dashboard/endpoint.segments/_index.segment.rsc +5 -5
  473. package/app/.next/server/app/dashboard/endpoint.segments/_tree.segment.rsc +4 -4
  474. package/app/.next/server/app/dashboard/media-providers/web.html +1 -1
  475. package/app/.next/server/app/dashboard/media-providers/web.rsc +8 -8
  476. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  477. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  478. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  479. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  480. package/app/.next/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  481. package/app/.next/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +8 -8
  482. package/app/.next/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  483. package/app/.next/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +5 -5
  484. package/app/.next/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +4 -4
  485. package/app/.next/server/app/dashboard/mitm.html +1 -1
  486. package/app/.next/server/app/dashboard/mitm.rsc +8 -8
  487. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  488. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  489. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  490. package/app/.next/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  491. package/app/.next/server/app/dashboard/mitm.segments/_full.segment.rsc +8 -8
  492. package/app/.next/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  493. package/app/.next/server/app/dashboard/mitm.segments/_index.segment.rsc +5 -5
  494. package/app/.next/server/app/dashboard/mitm.segments/_tree.segment.rsc +4 -4
  495. package/app/.next/server/app/dashboard/profile.html +1 -1
  496. package/app/.next/server/app/dashboard/profile.rsc +8 -8
  497. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  498. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  499. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  500. package/app/.next/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  501. package/app/.next/server/app/dashboard/profile.segments/_full.segment.rsc +8 -8
  502. package/app/.next/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  503. package/app/.next/server/app/dashboard/profile.segments/_index.segment.rsc +5 -5
  504. package/app/.next/server/app/dashboard/profile.segments/_tree.segment.rsc +4 -4
  505. package/app/.next/server/app/dashboard/providers/new.html +1 -1
  506. package/app/.next/server/app/dashboard/providers/new.rsc +8 -8
  507. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  508. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  509. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  510. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  511. package/app/.next/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  512. package/app/.next/server/app/dashboard/providers/new.segments/_full.segment.rsc +8 -8
  513. package/app/.next/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  514. package/app/.next/server/app/dashboard/providers/new.segments/_index.segment.rsc +5 -5
  515. package/app/.next/server/app/dashboard/providers/new.segments/_tree.segment.rsc +4 -4
  516. package/app/.next/server/app/dashboard/providers.html +1 -1
  517. package/app/.next/server/app/dashboard/providers.rsc +8 -8
  518. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  519. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  520. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  521. package/app/.next/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  522. package/app/.next/server/app/dashboard/providers.segments/_full.segment.rsc +8 -8
  523. package/app/.next/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  524. package/app/.next/server/app/dashboard/providers.segments/_index.segment.rsc +5 -5
  525. package/app/.next/server/app/dashboard/providers.segments/_tree.segment.rsc +4 -4
  526. package/app/.next/server/app/dashboard/proxy-pools.html +1 -1
  527. package/app/.next/server/app/dashboard/proxy-pools.rsc +8 -8
  528. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  529. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  530. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  531. package/app/.next/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  532. package/app/.next/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +8 -8
  533. package/app/.next/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  534. package/app/.next/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +5 -5
  535. package/app/.next/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +4 -4
  536. package/app/.next/server/app/dashboard/quota.html +2 -2
  537. package/app/.next/server/app/dashboard/quota.rsc +9 -9
  538. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  539. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  540. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  541. package/app/.next/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  542. package/app/.next/server/app/dashboard/quota.segments/_full.segment.rsc +9 -9
  543. package/app/.next/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  544. package/app/.next/server/app/dashboard/quota.segments/_index.segment.rsc +5 -5
  545. package/app/.next/server/app/dashboard/quota.segments/_tree.segment.rsc +4 -4
  546. package/app/.next/server/app/dashboard/settings/pricing/page.js +2 -2
  547. package/app/.next/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  548. package/app/.next/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  549. package/app/.next/server/app/dashboard/settings/pricing.html +1 -1
  550. package/app/.next/server/app/dashboard/settings/pricing.rsc +6 -6
  551. package/app/.next/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +6 -6
  552. package/app/.next/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  553. package/app/.next/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +5 -5
  554. package/app/.next/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +3 -3
  555. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  556. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  557. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  558. package/app/.next/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  559. package/app/.next/server/app/dashboard/skills.html +1 -1
  560. package/app/.next/server/app/dashboard/skills.rsc +8 -8
  561. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  562. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  563. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  564. package/app/.next/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  565. package/app/.next/server/app/dashboard/skills.segments/_full.segment.rsc +8 -8
  566. package/app/.next/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  567. package/app/.next/server/app/dashboard/skills.segments/_index.segment.rsc +5 -5
  568. package/app/.next/server/app/dashboard/skills.segments/_tree.segment.rsc +4 -4
  569. package/app/.next/server/app/dashboard/translator.html +1 -1
  570. package/app/.next/server/app/dashboard/translator.rsc +8 -8
  571. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  572. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  573. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  574. package/app/.next/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  575. package/app/.next/server/app/dashboard/translator.segments/_full.segment.rsc +8 -8
  576. package/app/.next/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  577. package/app/.next/server/app/dashboard/translator.segments/_index.segment.rsc +5 -5
  578. package/app/.next/server/app/dashboard/translator.segments/_tree.segment.rsc +4 -4
  579. package/app/.next/server/app/dashboard/usage.html +1 -1
  580. package/app/.next/server/app/dashboard/usage.rsc +8 -8
  581. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  582. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  583. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  584. package/app/.next/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  585. package/app/.next/server/app/dashboard/usage.segments/_full.segment.rsc +8 -8
  586. package/app/.next/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  587. package/app/.next/server/app/dashboard/usage.segments/_index.segment.rsc +5 -5
  588. package/app/.next/server/app/dashboard/usage.segments/_tree.segment.rsc +4 -4
  589. package/app/.next/server/app/dashboard.html +1 -1
  590. package/app/.next/server/app/dashboard.rsc +9 -9
  591. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  592. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  593. package/app/.next/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +3 -3
  594. package/app/.next/server/app/dashboard.segments/_full.segment.rsc +9 -9
  595. package/app/.next/server/app/dashboard.segments/_head.segment.rsc +1 -1
  596. package/app/.next/server/app/dashboard.segments/_index.segment.rsc +5 -5
  597. package/app/.next/server/app/dashboard.segments/_tree.segment.rsc +4 -4
  598. package/app/.next/server/app/favicon.ico/route.js +1 -1
  599. package/app/.next/server/app/index.html +1 -1
  600. package/app/.next/server/app/index.rsc +5 -5
  601. package/app/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  602. package/app/.next/server/app/index.segments/_full.segment.rsc +5 -5
  603. package/app/.next/server/app/index.segments/_head.segment.rsc +1 -1
  604. package/app/.next/server/app/index.segments/_index.segment.rsc +5 -5
  605. package/app/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  606. package/app/.next/server/app/landing/page.js +2 -2
  607. package/app/.next/server/app/landing/page.js.nft.json +1 -1
  608. package/app/.next/server/app/landing/page_client-reference-manifest.js +1 -1
  609. package/app/.next/server/app/landing.html +1 -1
  610. package/app/.next/server/app/landing.rsc +6 -6
  611. package/app/.next/server/app/landing.segments/_full.segment.rsc +6 -6
  612. package/app/.next/server/app/landing.segments/_head.segment.rsc +1 -1
  613. package/app/.next/server/app/landing.segments/_index.segment.rsc +5 -5
  614. package/app/.next/server/app/landing.segments/_tree.segment.rsc +3 -3
  615. package/app/.next/server/app/landing.segments/landing/__PAGE__.segment.rsc +2 -2
  616. package/app/.next/server/app/landing.segments/landing.segment.rsc +1 -1
  617. package/app/.next/server/app/login/page.js +2 -2
  618. package/app/.next/server/app/login/page.js.nft.json +1 -1
  619. package/app/.next/server/app/login/page_client-reference-manifest.js +1 -1
  620. package/app/.next/server/app/login.html +1 -1
  621. package/app/.next/server/app/login.rsc +7 -7
  622. package/app/.next/server/app/login.segments/_full.segment.rsc +7 -7
  623. package/app/.next/server/app/login.segments/_head.segment.rsc +1 -1
  624. package/app/.next/server/app/login.segments/_index.segment.rsc +5 -5
  625. package/app/.next/server/app/login.segments/_tree.segment.rsc +4 -4
  626. package/app/.next/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  627. package/app/.next/server/app/login.segments/login.segment.rsc +1 -1
  628. package/app/.next/server/app/manifest.webmanifest/route.js +2 -2
  629. package/app/.next/server/app/manifest.webmanifest/route_client-reference-manifest.js +1 -1
  630. package/app/.next/server/app/page.js +2 -2
  631. package/app/.next/server/app/page.js.nft.json +1 -1
  632. package/app/.next/server/app/page_client-reference-manifest.js +1 -1
  633. package/app/.next/server/app-paths-manifest.json +14 -12
  634. package/app/.next/server/chunks/1526.js +1 -0
  635. package/app/.next/server/chunks/2029.js +2 -7
  636. package/app/.next/server/chunks/2204.js +1 -1
  637. package/app/.next/server/chunks/250.js +1 -0
  638. package/app/.next/server/chunks/2549.js +1 -1
  639. package/app/.next/server/chunks/2722.js +5 -5
  640. package/app/.next/server/chunks/3110.js +3 -3
  641. package/app/.next/server/chunks/319.js +3 -3
  642. package/app/.next/server/chunks/412.js +1 -1
  643. package/app/.next/server/chunks/4149.js +1 -1
  644. package/app/.next/server/chunks/4404.js +1 -1
  645. package/app/.next/server/chunks/4741.js +2 -2
  646. package/app/.next/server/chunks/4746.js +1 -1
  647. package/app/.next/server/chunks/4820.js +1 -1
  648. package/app/.next/server/chunks/5644.js +1 -1
  649. package/app/.next/server/chunks/5681.js +1 -1
  650. package/app/.next/server/chunks/5718.js +1 -1
  651. package/app/.next/server/chunks/6084.js +1 -1
  652. package/app/.next/server/chunks/6108.js +1 -1
  653. package/app/.next/server/chunks/6202.js +1 -1
  654. package/app/.next/server/chunks/6750.js +1 -0
  655. package/app/.next/server/chunks/6811.js +1 -1
  656. package/app/.next/server/chunks/6814.js +5 -0
  657. package/app/.next/server/chunks/7341.js +1 -1
  658. package/app/.next/server/chunks/7482.js +18 -18
  659. package/app/.next/server/chunks/7774.js +10 -10
  660. package/app/.next/server/chunks/8491.js +1 -1
  661. package/app/.next/server/chunks/8590.js +1 -1
  662. package/app/.next/server/chunks/8895.js +1 -1
  663. package/app/.next/server/chunks/9982.js +1 -0
  664. package/app/.next/server/middleware-build-manifest.js +1 -1
  665. package/app/.next/server/middleware.js +4 -4
  666. package/app/.next/server/pages/404.html +1 -1
  667. package/app/.next/server/pages/500.html +1 -1
  668. package/app/.next/server/server-reference-manifest.js +1 -1
  669. package/app/.next/server/server-reference-manifest.json +1 -1
  670. package/app/.next/static/{uSk8fvki1Xuy7nlktCQsE → 0upBBziHoCcHIU60tgxI0}/_buildManifest.js +1 -1
  671. package/app/.next/static/chunks/1321-7ee7a3836004e2b1.js +1 -0
  672. package/app/.next/static/chunks/1a258343-bc0b514c079d8898.js +1 -0
  673. package/app/{.next-cli-build/static/chunks/3794-ba2500baa4c52d55.js → .next/static/chunks/3794-e569667691edc8f7.js} +1 -1
  674. package/app/{.next-cli-build/static/chunks/5497-0933701d0fd550c2.js → .next/static/chunks/5497-540d0b186ec57b3b.js} +1 -1
  675. package/app/.next/static/chunks/{6069-7212bf60ef116c9d.js → 6069-18fd723e73586589.js} +7 -7
  676. package/app/.next/static/chunks/698-0bd94087d85c591c.js +64 -0
  677. package/app/.next/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-db8ac7cf0ef9a361.js → page-a0a8d98397b7ca72.js} +1 -1
  678. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-3e2d437f00e86228.js → page-05b0777df2a6420f.js} +1 -1
  679. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-2f0c02b6169a110a.js +1 -0
  680. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-75c3e40efcd0c885.js +1 -0
  681. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-0e6ef3c2c5a8f3cc.js +1 -0
  682. package/app/.next/static/chunks/app/(dashboard)/dashboard/{page-14a181e5e19c5186.js → endpoint/page-6887eb40c91902b7.js} +1 -1
  683. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-963642d77344259e.js → page-0069897df5ad4c14.js} +2 -2
  684. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-3723e8ba96394d8c.js → page-50845ea95967abce.js} +1 -1
  685. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-05769b574d5c4ef8.js → page-8c377a4332874fe4.js} +1 -1
  686. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-f6ef4eef0f416702.js +1 -0
  687. package/app/.next/static/chunks/app/(dashboard)/dashboard/mitm/{page-e1b5a604b766ad70.js → page-320c432152003c09.js} +1 -1
  688. package/app/.next/static/chunks/app/(dashboard)/dashboard/{endpoint/page-14a181e5e19c5186.js → page-6887eb40c91902b7.js} +1 -1
  689. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-138e1c46accc056f.js +1 -0
  690. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-990f7a655b170757.js +3 -0
  691. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-54886878afdbc216.js +1 -0
  692. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-7348a53c1dd3d2f9.js +1 -0
  693. package/app/{.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-d5ad4c7d44722fef.js → .next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-da705aa383019f4b.js} +2 -2
  694. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-1ad16b0309e214ac.js +1 -0
  695. package/app/.next/static/chunks/app/(dashboard)/dashboard/skills/page-d3877492b08af072.js +1 -0
  696. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-e38a8c16b9fd9a18.js +1 -0
  697. package/app/.next/static/chunks/app/(dashboard)/dashboard/usage/{page-163bfd423028e8c6.js → page-a9e59eed3cf5a601.js} +1 -1
  698. package/app/.next/static/chunks/app/(dashboard)/{layout-06932c731d47c1e3.js → layout-297b038d45f7d6bb.js} +1 -1
  699. package/app/.next/static/chunks/app/_global-error/page-6f9d205c518b4013.js +1 -0
  700. package/app/.next/static/chunks/app/_not-found/{page-cc659eb86a43c282.js → page-5c2a1336b39b2dde.js} +1 -1
  701. package/app/.next/static/chunks/app/api/auth/login/route-6f9d205c518b4013.js +1 -0
  702. package/app/.next/static/chunks/app/api/auth/logout/route-6f9d205c518b4013.js +1 -0
  703. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-6f9d205c518b4013.js +1 -0
  704. package/app/.next/static/chunks/app/api/auth/oidc/start/route-6f9d205c518b4013.js +1 -0
  705. package/app/.next/static/chunks/app/api/auth/oidc/test/route-6f9d205c518b4013.js +1 -0
  706. package/app/.next/static/chunks/app/api/auth/status/route-6f9d205c518b4013.js +1 -0
  707. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-6f9d205c518b4013.js +1 -0
  708. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-6f9d205c518b4013.js +1 -0
  709. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-6f9d205c518b4013.js +1 -0
  710. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-6f9d205c518b4013.js +1 -0
  711. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-6f9d205c518b4013.js +1 -0
  712. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-6f9d205c518b4013.js +1 -0
  713. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-6f9d205c518b4013.js +1 -0
  714. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-6f9d205c518b4013.js +1 -0
  715. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-6f9d205c518b4013.js +1 -0
  716. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-6f9d205c518b4013.js +1 -0
  717. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-6f9d205c518b4013.js +1 -0
  718. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-6f9d205c518b4013.js +1 -0
  719. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-6f9d205c518b4013.js +1 -0
  720. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-6f9d205c518b4013.js +1 -0
  721. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-6f9d205c518b4013.js +1 -0
  722. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-6f9d205c518b4013.js +1 -0
  723. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-6f9d205c518b4013.js +1 -0
  724. package/app/.next/static/chunks/app/api/cloud/auth/route-6f9d205c518b4013.js +1 -0
  725. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-6f9d205c518b4013.js +1 -0
  726. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-6f9d205c518b4013.js +1 -0
  727. package/app/.next/static/chunks/app/api/cloud/models/alias/route-6f9d205c518b4013.js +1 -0
  728. package/app/.next/static/chunks/app/api/combos/[id]/route-6f9d205c518b4013.js +1 -0
  729. package/app/.next/static/chunks/app/api/combos/route-6f9d205c518b4013.js +1 -0
  730. package/app/.next/static/chunks/app/api/health/route-6f9d205c518b4013.js +1 -0
  731. package/app/.next/static/chunks/app/api/init/route-6f9d205c518b4013.js +1 -0
  732. package/app/.next/static/chunks/app/api/keys/[id]/route-6f9d205c518b4013.js +1 -0
  733. package/app/.next/static/chunks/app/api/keys/route-6f9d205c518b4013.js +1 -0
  734. package/app/.next/static/chunks/app/api/locale/route-6f9d205c518b4013.js +1 -0
  735. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-6f9d205c518b4013.js +1 -0
  736. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-6f9d205c518b4013.js +1 -0
  737. package/app/.next/static/chunks/app/api/media/download/route-6f9d205c518b4013.js +1 -0
  738. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-6f9d205c518b4013.js +1 -0
  739. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-6f9d205c518b4013.js +1 -0
  740. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-6f9d205c518b4013.js +1 -0
  741. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-6f9d205c518b4013.js +1 -0
  742. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-6f9d205c518b4013.js +1 -0
  743. package/app/.next/static/chunks/app/api/models/alias/route-6f9d205c518b4013.js +1 -0
  744. package/app/.next/static/chunks/app/api/models/availability/route-6f9d205c518b4013.js +1 -0
  745. package/app/.next/static/chunks/app/api/models/custom/route-6f9d205c518b4013.js +1 -0
  746. package/app/.next/static/chunks/app/api/models/disabled/route-6f9d205c518b4013.js +1 -0
  747. package/app/.next/static/chunks/app/api/models/route-6f9d205c518b4013.js +1 -0
  748. package/app/.next/static/chunks/app/api/models/test/route-6f9d205c518b4013.js +1 -0
  749. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-6f9d205c518b4013.js +1 -0
  750. package/app/.next/static/chunks/app/api/oauth/codex/import/route-6f9d205c518b4013.js +1 -0
  751. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-6f9d205c518b4013.js +1 -0
  752. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-6f9d205c518b4013.js +1 -0
  753. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-6f9d205c518b4013.js +1 -0
  754. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-6f9d205c518b4013.js +1 -0
  755. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-6f9d205c518b4013.js +1 -0
  756. package/app/.next/static/chunks/app/api/oauth/kiro/browser-login/route-6f9d205c518b4013.js +1 -0
  757. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-6f9d205c518b4013.js +1 -0
  758. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-6f9d205c518b4013.js +1 -0
  759. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-6f9d205c518b4013.js +1 -0
  760. package/app/.next/static/chunks/app/api/pricing/route-6f9d205c518b4013.js +1 -0
  761. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-6f9d205c518b4013.js +1 -0
  762. package/app/.next/static/chunks/app/api/provider-nodes/route-6f9d205c518b4013.js +1 -0
  763. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-6f9d205c518b4013.js +1 -0
  764. package/app/.next/static/chunks/app/api/providers/[id]/models/route-6f9d205c518b4013.js +1 -0
  765. package/app/.next/static/chunks/app/api/providers/[id]/route-6f9d205c518b4013.js +1 -0
  766. package/app/.next/static/chunks/app/api/providers/[id]/sync-models/route-6f9d205c518b4013.js +1 -0
  767. package/app/.next/static/chunks/app/api/providers/[id]/test/route-6f9d205c518b4013.js +1 -0
  768. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-6f9d205c518b4013.js +1 -0
  769. package/app/.next/static/chunks/app/api/providers/client/route-6f9d205c518b4013.js +1 -0
  770. package/app/.next/static/chunks/app/api/providers/export/route-6f9d205c518b4013.js +1 -0
  771. package/app/.next/static/chunks/app/api/providers/import/route-6f9d205c518b4013.js +1 -0
  772. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-6f9d205c518b4013.js +1 -0
  773. package/app/.next/static/chunks/app/api/providers/route-6f9d205c518b4013.js +1 -0
  774. package/app/.next/static/chunks/app/api/providers/suggested-models/route-6f9d205c518b4013.js +1 -0
  775. package/app/.next/static/chunks/app/api/providers/test-batch/route-6f9d205c518b4013.js +1 -0
  776. package/app/.next/static/chunks/app/api/providers/validate/route-6f9d205c518b4013.js +1 -0
  777. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-6f9d205c518b4013.js +1 -0
  778. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-6f9d205c518b4013.js +1 -0
  779. package/app/.next/static/chunks/app/api/proxy-pools/route-6f9d205c518b4013.js +1 -0
  780. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-6f9d205c518b4013.js +1 -0
  781. package/app/.next/static/chunks/app/api/settings/database/route-6f9d205c518b4013.js +1 -0
  782. package/app/.next/static/chunks/app/api/settings/proxy-test/route-6f9d205c518b4013.js +1 -0
  783. package/app/.next/static/chunks/app/api/settings/require-login/route-6f9d205c518b4013.js +1 -0
  784. package/app/.next/static/chunks/app/api/settings/route-6f9d205c518b4013.js +1 -0
  785. package/app/.next/static/chunks/app/api/shutdown/route-6f9d205c518b4013.js +1 -0
  786. package/app/.next/static/chunks/app/api/tags/route-6f9d205c518b4013.js +1 -0
  787. package/app/.next/static/chunks/app/api/translator/console-logs/route-6f9d205c518b4013.js +1 -0
  788. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-6f9d205c518b4013.js +1 -0
  789. package/app/.next/static/chunks/app/api/translator/load/route-6f9d205c518b4013.js +1 -0
  790. package/app/.next/static/chunks/app/api/translator/save/route-6f9d205c518b4013.js +1 -0
  791. package/app/.next/static/chunks/app/api/translator/send/route-6f9d205c518b4013.js +1 -0
  792. package/app/.next/static/chunks/app/api/translator/translate/route-6f9d205c518b4013.js +1 -0
  793. package/app/.next/static/chunks/app/api/update/check/route-6f9d205c518b4013.js +1 -0
  794. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-6f9d205c518b4013.js +1 -0
  795. package/app/.next/static/chunks/app/api/usage/chart/route-6f9d205c518b4013.js +1 -0
  796. package/app/.next/static/chunks/app/api/usage/history/route-6f9d205c518b4013.js +1 -0
  797. package/app/.next/static/chunks/app/api/usage/providers/route-6f9d205c518b4013.js +1 -0
  798. package/app/.next/static/chunks/app/api/usage/request-details/route-6f9d205c518b4013.js +1 -0
  799. package/app/.next/static/chunks/app/api/usage/request-logs/route-6f9d205c518b4013.js +1 -0
  800. package/app/.next/static/chunks/app/api/usage/stats/route-6f9d205c518b4013.js +1 -0
  801. package/app/.next/static/chunks/app/api/usage/stream/route-6f9d205c518b4013.js +1 -0
  802. package/app/.next/static/chunks/app/api/v1/api/chat/route-6f9d205c518b4013.js +1 -0
  803. package/app/.next/static/chunks/app/api/v1/audio/speech/route-6f9d205c518b4013.js +1 -0
  804. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-6f9d205c518b4013.js +1 -0
  805. package/app/.next/static/chunks/app/api/v1/audio/voices/route-6f9d205c518b4013.js +1 -0
  806. package/app/.next/static/chunks/app/api/v1/chat/completions/route-6f9d205c518b4013.js +1 -0
  807. package/app/.next/static/chunks/app/api/v1/chatgpt-web/image/[id]/route-6f9d205c518b4013.js +1 -0
  808. package/app/.next/static/chunks/app/api/v1/embeddings/route-6f9d205c518b4013.js +1 -0
  809. package/app/.next/static/chunks/app/api/v1/images/generations/route-6f9d205c518b4013.js +1 -0
  810. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-6f9d205c518b4013.js +1 -0
  811. package/app/.next/static/chunks/app/api/v1/messages/route-6f9d205c518b4013.js +1 -0
  812. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-6f9d205c518b4013.js +1 -0
  813. package/app/.next/static/chunks/app/api/v1/models/info/route-6f9d205c518b4013.js +1 -0
  814. package/app/.next/static/chunks/app/api/v1/models/route-6f9d205c518b4013.js +1 -0
  815. package/app/.next/static/chunks/app/api/v1/responses/compact/route-6f9d205c518b4013.js +1 -0
  816. package/app/.next/static/chunks/app/api/v1/responses/route-6f9d205c518b4013.js +1 -0
  817. package/app/.next/static/chunks/app/api/v1/route-6f9d205c518b4013.js +1 -0
  818. package/app/.next/static/chunks/app/api/v1/search/route-6f9d205c518b4013.js +1 -0
  819. package/app/.next/static/chunks/app/api/v1/video/generations/route-6f9d205c518b4013.js +1 -0
  820. package/app/.next/static/chunks/app/api/v1/web/fetch/route-6f9d205c518b4013.js +1 -0
  821. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-6f9d205c518b4013.js +1 -0
  822. package/app/.next/static/chunks/app/api/v1beta/models/route-6f9d205c518b4013.js +1 -0
  823. package/app/.next/static/chunks/app/callback/page-48be92cc88223eb6.js +1 -0
  824. package/app/.next/static/chunks/app/dashboard/settings/pricing/page-06a8d864ae01d4a7.js +1 -0
  825. package/app/.next/static/chunks/app/landing/{page-3d2b079bd25f0dda.js → page-2461168fb59fbc7f.js} +1 -1
  826. package/app/.next/static/chunks/app/{layout-ed446c17642f5aeb.js → layout-707bc0af2cad348a.js} +1 -1
  827. package/app/.next/static/chunks/app/login/page-ce242826dfda53f2.js +1 -0
  828. package/app/.next/static/chunks/app/manifest.webmanifest/route-6f9d205c518b4013.js +1 -0
  829. package/app/.next/static/chunks/app/page-6f9d205c518b4013.js +1 -0
  830. package/app/.next/static/chunks/{main-8edc076c219c1a63.js → main-195dd2cec8411e79.js} +2 -2
  831. package/app/.next/static/chunks/{main-app-2703eaf4f69e57d7.js → main-app-914c450e94817d03.js} +1 -1
  832. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-6f9d205c518b4013.js +1 -0
  833. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-6f9d205c518b4013.js +1 -0
  834. package/app/.next/static/chunks/next/dist/client/components/builtin/global-error-d8ee3c482864b9da.js +1 -0
  835. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-6f9d205c518b4013.js +1 -0
  836. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-6f9d205c518b4013.js +1 -0
  837. package/app/{.next-cli-build/static/css/599369d853c61df7.css → .next/static/css/008a05b0ad6b854a.css} +1 -1
  838. package/app/.next/static/css/{454db3b478540e33.css → 7a3e1568f247f3d0.css} +1 -1
  839. package/app/.next/static/css/9f207d7ed6efa211.css +1 -0
  840. package/app/.next/static/media/material-symbols-outlined.ec1fa111.woff2 +0 -0
  841. package/app/.next-cli-build/static/{uSk8fvki1Xuy7nlktCQsE → 0upBBziHoCcHIU60tgxI0}/_buildManifest.js +1 -1
  842. package/app/.next-cli-build/static/chunks/1321-7ee7a3836004e2b1.js +1 -0
  843. package/app/.next-cli-build/static/chunks/1a258343-bc0b514c079d8898.js +1 -0
  844. package/app/{.next/static/chunks/3794-ba2500baa4c52d55.js → .next-cli-build/static/chunks/3794-e569667691edc8f7.js} +1 -1
  845. package/app/{.next/static/chunks/5497-0933701d0fd550c2.js → .next-cli-build/static/chunks/5497-540d0b186ec57b3b.js} +1 -1
  846. package/app/.next-cli-build/static/chunks/{6069-7212bf60ef116c9d.js → 6069-18fd723e73586589.js} +7 -7
  847. package/app/.next-cli-build/static/chunks/698-0bd94087d85c591c.js +64 -0
  848. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-db8ac7cf0ef9a361.js → page-a0a8d98397b7ca72.js} +1 -1
  849. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-3e2d437f00e86228.js → page-05b0777df2a6420f.js} +1 -1
  850. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-2f0c02b6169a110a.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-75c3e40efcd0c885.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-0e6ef3c2c5a8f3cc.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/{page-14a181e5e19c5186.js → page-6887eb40c91902b7.js} +1 -1
  854. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-963642d77344259e.js → page-0069897df5ad4c14.js} +2 -2
  855. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-3723e8ba96394d8c.js → page-50845ea95967abce.js} +1 -1
  856. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-05769b574d5c4ef8.js → page-8c377a4332874fe4.js} +1 -1
  857. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-f6ef4eef0f416702.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-e1b5a604b766ad70.js → page-320c432152003c09.js} +1 -1
  859. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/{page-14a181e5e19c5186.js → page-6887eb40c91902b7.js} +1 -1
  860. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-138e1c46accc056f.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-990f7a655b170757.js +3 -0
  862. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-54886878afdbc216.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-7348a53c1dd3d2f9.js +1 -0
  864. package/app/{.next/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-d5ad4c7d44722fef.js → .next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-da705aa383019f4b.js} +2 -2
  865. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-1ad16b0309e214ac.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-d3877492b08af072.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-e38a8c16b9fd9a18.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/{page-163bfd423028e8c6.js → page-a9e59eed3cf5a601.js} +1 -1
  869. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-06932c731d47c1e3.js → layout-297b038d45f7d6bb.js} +1 -1
  870. package/app/.next-cli-build/static/chunks/app/_global-error/page-6f9d205c518b4013.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/_not-found/{page-cc659eb86a43c282.js → page-5c2a1336b39b2dde.js} +1 -1
  872. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-6f9d205c518b4013.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-6f9d205c518b4013.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-6f9d205c518b4013.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-6f9d205c518b4013.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-6f9d205c518b4013.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-6f9d205c518b4013.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-6f9d205c518b4013.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-6f9d205c518b4013.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-6f9d205c518b4013.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-6f9d205c518b4013.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-6f9d205c518b4013.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-6f9d205c518b4013.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-6f9d205c518b4013.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-6f9d205c518b4013.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-6f9d205c518b4013.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-6f9d205c518b4013.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-6f9d205c518b4013.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-6f9d205c518b4013.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-6f9d205c518b4013.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-6f9d205c518b4013.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-6f9d205c518b4013.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-6f9d205c518b4013.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-6f9d205c518b4013.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/cloud/auth/route-6f9d205c518b4013.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/cloud/credentials/update/route-6f9d205c518b4013.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/cloud/model/resolve/route-6f9d205c518b4013.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/cloud/models/alias/route-6f9d205c518b4013.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-6f9d205c518b4013.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/combos/route-6f9d205c518b4013.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/health/route-6f9d205c518b4013.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/init/route-6f9d205c518b4013.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-6f9d205c518b4013.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/keys/route-6f9d205c518b4013.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/locale/route-6f9d205c518b4013.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-6f9d205c518b4013.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-6f9d205c518b4013.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/media/download/route-6f9d205c518b4013.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-6f9d205c518b4013.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-6f9d205c518b4013.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-6f9d205c518b4013.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-6f9d205c518b4013.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-6f9d205c518b4013.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-6f9d205c518b4013.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-6f9d205c518b4013.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-6f9d205c518b4013.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-6f9d205c518b4013.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/models/route-6f9d205c518b4013.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/models/test/route-6f9d205c518b4013.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-6f9d205c518b4013.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import/route-6f9d205c518b4013.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-6f9d205c518b4013.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-6f9d205c518b4013.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-6f9d205c518b4013.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-6f9d205c518b4013.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-6f9d205c518b4013.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/browser-login/route-6f9d205c518b4013.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-6f9d205c518b4013.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-6f9d205c518b4013.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-6f9d205c518b4013.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/pricing/route-6f9d205c518b4013.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-6f9d205c518b4013.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-6f9d205c518b4013.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-6f9d205c518b4013.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-6f9d205c518b4013.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-6f9d205c518b4013.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/sync-models/route-6f9d205c518b4013.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-6f9d205c518b4013.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-6f9d205c518b4013.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-6f9d205c518b4013.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/providers/export/route-6f9d205c518b4013.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/providers/import/route-6f9d205c518b4013.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-6f9d205c518b4013.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/providers/route-6f9d205c518b4013.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-6f9d205c518b4013.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-6f9d205c518b4013.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-6f9d205c518b4013.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-6f9d205c518b4013.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-6f9d205c518b4013.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-6f9d205c518b4013.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-6f9d205c518b4013.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-6f9d205c518b4013.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-6f9d205c518b4013.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-6f9d205c518b4013.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/settings/route-6f9d205c518b4013.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-6f9d205c518b4013.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/tags/route-6f9d205c518b4013.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-6f9d205c518b4013.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-6f9d205c518b4013.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-6f9d205c518b4013.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-6f9d205c518b4013.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-6f9d205c518b4013.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-6f9d205c518b4013.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/update/check/route-6f9d205c518b4013.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-6f9d205c518b4013.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-6f9d205c518b4013.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-6f9d205c518b4013.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-6f9d205c518b4013.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-6f9d205c518b4013.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-6f9d205c518b4013.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-6f9d205c518b4013.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-6f9d205c518b4013.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-6f9d205c518b4013.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-6f9d205c518b4013.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-6f9d205c518b4013.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-6f9d205c518b4013.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-6f9d205c518b4013.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/v1/chatgpt-web/image/[id]/route-6f9d205c518b4013.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-6f9d205c518b4013.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-6f9d205c518b4013.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-6f9d205c518b4013.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-6f9d205c518b4013.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-6f9d205c518b4013.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-6f9d205c518b4013.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-6f9d205c518b4013.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-6f9d205c518b4013.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-6f9d205c518b4013.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/v1/route-6f9d205c518b4013.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-6f9d205c518b4013.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/v1/video/generations/route-6f9d205c518b4013.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-6f9d205c518b4013.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-6f9d205c518b4013.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-6f9d205c518b4013.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/callback/page-48be92cc88223eb6.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-06a8d864ae01d4a7.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/landing/{page-3d2b079bd25f0dda.js → page-2461168fb59fbc7f.js} +1 -1
  997. package/app/.next-cli-build/static/chunks/app/{layout-ed446c17642f5aeb.js → layout-707bc0af2cad348a.js} +1 -1
  998. package/app/.next-cli-build/static/chunks/app/login/page-ce242826dfda53f2.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-6f9d205c518b4013.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/page-6f9d205c518b4013.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/{main-8edc076c219c1a63.js → main-195dd2cec8411e79.js} +2 -2
  1002. package/app/.next-cli-build/static/chunks/{main-app-2703eaf4f69e57d7.js → main-app-914c450e94817d03.js} +1 -1
  1003. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-6f9d205c518b4013.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-6f9d205c518b4013.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-d8ee3c482864b9da.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-6f9d205c518b4013.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-6f9d205c518b4013.js +1 -0
  1008. package/app/{.next/static/css/599369d853c61df7.css → .next-cli-build/static/css/008a05b0ad6b854a.css} +1 -1
  1009. package/app/.next-cli-build/static/css/{454db3b478540e33.css → 7a3e1568f247f3d0.css} +1 -1
  1010. package/app/.next-cli-build/static/css/9f207d7ed6efa211.css +1 -0
  1011. package/app/.next-cli-build/static/media/material-symbols-outlined.ec1fa111.woff2 +0 -0
  1012. package/app/node_modules/@next/env/package.json +2 -2
  1013. package/app/node_modules/baseline-browser-mapping/dist/index.cjs +1 -1
  1014. package/app/node_modules/baseline-browser-mapping/package.json +3 -3
  1015. package/app/node_modules/caniuse-lite/data/agents.js +1 -1
  1016. package/app/node_modules/caniuse-lite/data/browserVersions.js +1 -1
  1017. package/app/node_modules/caniuse-lite/data/features/aac.js +1 -1
  1018. package/app/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
  1019. package/app/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
  1020. package/app/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
  1021. package/app/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
  1022. package/app/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
  1023. package/app/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
  1024. package/app/node_modules/caniuse-lite/data/features/apng.js +1 -1
  1025. package/app/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
  1026. package/app/node_modules/caniuse-lite/data/features/array-find.js +1 -1
  1027. package/app/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
  1028. package/app/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
  1029. package/app/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
  1030. package/app/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
  1031. package/app/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
  1032. package/app/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
  1033. package/app/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
  1034. package/app/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
  1035. package/app/node_modules/caniuse-lite/data/features/audio.js +1 -1
  1036. package/app/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
  1037. package/app/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
  1038. package/app/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
  1039. package/app/node_modules/caniuse-lite/data/features/av1.js +1 -1
  1040. package/app/node_modules/caniuse-lite/data/features/avif.js +1 -1
  1041. package/app/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
  1042. package/app/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
  1043. package/app/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
  1044. package/app/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
  1045. package/app/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
  1046. package/app/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
  1047. package/app/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
  1048. package/app/node_modules/caniuse-lite/data/features/beacon.js +1 -1
  1049. package/app/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
  1050. package/app/node_modules/caniuse-lite/data/features/bigint.js +1 -1
  1051. package/app/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
  1052. package/app/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
  1053. package/app/node_modules/caniuse-lite/data/features/border-image.js +1 -1
  1054. package/app/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
  1055. package/app/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
  1056. package/app/node_modules/caniuse-lite/data/features/brotli.js +1 -1
  1057. package/app/node_modules/caniuse-lite/data/features/calc.js +1 -1
  1058. package/app/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
  1059. package/app/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
  1060. package/app/node_modules/caniuse-lite/data/features/canvas.js +1 -1
  1061. package/app/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
  1062. package/app/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
  1063. package/app/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
  1064. package/app/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
  1065. package/app/node_modules/caniuse-lite/data/features/classlist.js +1 -1
  1066. package/app/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
  1067. package/app/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
  1068. package/app/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
  1069. package/app/node_modules/caniuse-lite/data/features/colr.js +1 -1
  1070. package/app/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
  1071. package/app/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
  1072. package/app/node_modules/caniuse-lite/data/features/console-time.js +1 -1
  1073. package/app/node_modules/caniuse-lite/data/features/const.js +1 -1
  1074. package/app/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
  1075. package/app/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
  1076. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
  1077. package/app/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
  1078. package/app/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
  1079. package/app/node_modules/caniuse-lite/data/features/cors.js +1 -1
  1080. package/app/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
  1081. package/app/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
  1082. package/app/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
  1083. package/app/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
  1084. package/app/node_modules/caniuse-lite/data/features/css-all.js +1 -1
  1085. package/app/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
  1086. package/app/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
  1087. package/app/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
  1088. package/app/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
  1089. package/app/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
  1090. package/app/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
  1091. package/app/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
  1092. package/app/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
  1093. package/app/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
  1094. package/app/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
  1095. package/app/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
  1096. package/app/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
  1097. package/app/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
  1098. package/app/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
  1099. package/app/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
  1100. package/app/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
  1101. package/app/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
  1102. package/app/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
  1103. package/app/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
  1104. package/app/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
  1105. package/app/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
  1106. package/app/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
  1107. package/app/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
  1108. package/app/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
  1109. package/app/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
  1110. package/app/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
  1111. package/app/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
  1112. package/app/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
  1113. package/app/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
  1114. package/app/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
  1115. package/app/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
  1116. package/app/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
  1117. package/app/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
  1118. package/app/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
  1119. package/app/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
  1120. package/app/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
  1121. package/app/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
  1122. package/app/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
  1123. package/app/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
  1124. package/app/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
  1125. package/app/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
  1126. package/app/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
  1127. package/app/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
  1128. package/app/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
  1129. package/app/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
  1130. package/app/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
  1131. package/app/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
  1132. package/app/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
  1133. package/app/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
  1134. package/app/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
  1135. package/app/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
  1136. package/app/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
  1137. package/app/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
  1138. package/app/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
  1139. package/app/node_modules/caniuse-lite/data/features/css-has.js +1 -1
  1140. package/app/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
  1141. package/app/node_modules/caniuse-lite/data/features/css-if.js +1 -1
  1142. package/app/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
  1143. package/app/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
  1144. package/app/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
  1145. package/app/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
  1146. package/app/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
  1147. package/app/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
  1148. package/app/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
  1149. package/app/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
  1150. package/app/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
  1151. package/app/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
  1152. package/app/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
  1153. package/app/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
  1154. package/app/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
  1155. package/app/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
  1156. package/app/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
  1157. package/app/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
  1158. package/app/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
  1159. package/app/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
  1160. package/app/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
  1161. package/app/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
  1162. package/app/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
  1163. package/app/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
  1164. package/app/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
  1165. package/app/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
  1166. package/app/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
  1167. package/app/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
  1168. package/app/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
  1169. package/app/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
  1170. package/app/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
  1171. package/app/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
  1172. package/app/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
  1173. package/app/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
  1174. package/app/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
  1175. package/app/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
  1176. package/app/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
  1177. package/app/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
  1178. package/app/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
  1179. package/app/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
  1180. package/app/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
  1181. package/app/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
  1182. package/app/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
  1183. package/app/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
  1184. package/app/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
  1185. package/app/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
  1186. package/app/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
  1187. package/app/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
  1188. package/app/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
  1189. package/app/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
  1190. package/app/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
  1191. package/app/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
  1192. package/app/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
  1193. package/app/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
  1194. package/app/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
  1195. package/app/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
  1196. package/app/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
  1197. package/app/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
  1198. package/app/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
  1199. package/app/node_modules/caniuse-lite/data/features/css-table.js +1 -1
  1200. package/app/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
  1201. package/app/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
  1202. package/app/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
  1203. package/app/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
  1204. package/app/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
  1205. package/app/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
  1206. package/app/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
  1207. package/app/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
  1208. package/app/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
  1209. package/app/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
  1210. package/app/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
  1211. package/app/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
  1212. package/app/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
  1213. package/app/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
  1214. package/app/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
  1215. package/app/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
  1216. package/app/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
  1217. package/app/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
  1218. package/app/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
  1219. package/app/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
  1220. package/app/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
  1221. package/app/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
  1222. package/app/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
  1223. package/app/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
  1224. package/app/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
  1225. package/app/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
  1226. package/app/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
  1227. package/app/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
  1228. package/app/node_modules/caniuse-lite/data/features/customevent.js +1 -1
  1229. package/app/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
  1230. package/app/node_modules/caniuse-lite/data/features/datalist.js +1 -1
  1231. package/app/node_modules/caniuse-lite/data/features/dataset.js +1 -1
  1232. package/app/node_modules/caniuse-lite/data/features/datauri.js +1 -1
  1233. package/app/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
  1234. package/app/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
  1235. package/app/node_modules/caniuse-lite/data/features/decorators.js +1 -1
  1236. package/app/node_modules/caniuse-lite/data/features/details.js +1 -1
  1237. package/app/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
  1238. package/app/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
  1239. package/app/node_modules/caniuse-lite/data/features/dialog.js +1 -1
  1240. package/app/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
  1241. package/app/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
  1242. package/app/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
  1243. package/app/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
  1244. package/app/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
  1245. package/app/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
  1246. package/app/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
  1247. package/app/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
  1248. package/app/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
  1249. package/app/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
  1250. package/app/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
  1251. package/app/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
  1252. package/app/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
  1253. package/app/node_modules/caniuse-lite/data/features/download.js +1 -1
  1254. package/app/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
  1255. package/app/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
  1256. package/app/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
  1257. package/app/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
  1258. package/app/node_modules/caniuse-lite/data/features/eme.js +1 -1
  1259. package/app/node_modules/caniuse-lite/data/features/eot.js +1 -1
  1260. package/app/node_modules/caniuse-lite/data/features/es5.js +1 -1
  1261. package/app/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
  1262. package/app/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
  1263. package/app/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
  1264. package/app/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
  1265. package/app/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
  1266. package/app/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
  1267. package/app/node_modules/caniuse-lite/data/features/es6.js +1 -1
  1268. package/app/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
  1269. package/app/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
  1270. package/app/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
  1271. package/app/node_modules/caniuse-lite/data/features/fetch.js +1 -1
  1272. package/app/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
  1273. package/app/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
  1274. package/app/node_modules/caniuse-lite/data/features/filereader.js +1 -1
  1275. package/app/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
  1276. package/app/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
  1277. package/app/node_modules/caniuse-lite/data/features/flac.js +1 -1
  1278. package/app/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
  1279. package/app/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
  1280. package/app/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
  1281. package/app/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
  1282. package/app/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
  1283. package/app/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
  1284. package/app/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
  1285. package/app/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
  1286. package/app/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
  1287. package/app/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
  1288. package/app/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
  1289. package/app/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
  1290. package/app/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
  1291. package/app/node_modules/caniuse-lite/data/features/fontface.js +1 -1
  1292. package/app/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
  1293. package/app/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
  1294. package/app/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
  1295. package/app/node_modules/caniuse-lite/data/features/forms.js +1 -1
  1296. package/app/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
  1297. package/app/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
  1298. package/app/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
  1299. package/app/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
  1300. package/app/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
  1301. package/app/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
  1302. package/app/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
  1303. package/app/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
  1304. package/app/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
  1305. package/app/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
  1306. package/app/node_modules/caniuse-lite/data/features/heif.js +1 -1
  1307. package/app/node_modules/caniuse-lite/data/features/hevc.js +1 -1
  1308. package/app/node_modules/caniuse-lite/data/features/hidden.js +1 -1
  1309. package/app/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
  1310. package/app/node_modules/caniuse-lite/data/features/history.js +1 -1
  1311. package/app/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
  1312. package/app/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
  1313. package/app/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
  1314. package/app/node_modules/caniuse-lite/data/features/http2.js +1 -1
  1315. package/app/node_modules/caniuse-lite/data/features/http3.js +1 -1
  1316. package/app/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
  1317. package/app/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
  1318. package/app/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
  1319. package/app/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
  1320. package/app/node_modules/caniuse-lite/data/features/ime.js +1 -1
  1321. package/app/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
  1322. package/app/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
  1323. package/app/node_modules/caniuse-lite/data/features/imports.js +1 -1
  1324. package/app/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
  1325. package/app/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
  1326. package/app/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
  1327. package/app/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
  1328. package/app/node_modules/caniuse-lite/data/features/innertext.js +1 -1
  1329. package/app/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
  1330. package/app/node_modules/caniuse-lite/data/features/input-color.js +1 -1
  1331. package/app/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
  1332. package/app/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
  1333. package/app/node_modules/caniuse-lite/data/features/input-event.js +1 -1
  1334. package/app/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
  1335. package/app/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
  1336. package/app/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
  1337. package/app/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
  1338. package/app/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
  1339. package/app/node_modules/caniuse-lite/data/features/input-number.js +1 -1
  1340. package/app/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
  1341. package/app/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
  1342. package/app/node_modules/caniuse-lite/data/features/input-range.js +1 -1
  1343. package/app/node_modules/caniuse-lite/data/features/input-search.js +1 -1
  1344. package/app/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
  1345. package/app/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
  1346. package/app/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
  1347. package/app/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
  1348. package/app/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
  1349. package/app/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
  1350. package/app/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
  1351. package/app/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
  1352. package/app/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
  1353. package/app/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
  1354. package/app/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
  1355. package/app/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
  1356. package/app/node_modules/caniuse-lite/data/features/json.js +1 -1
  1357. package/app/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
  1358. package/app/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
  1359. package/app/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
  1360. package/app/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
  1361. package/app/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
  1362. package/app/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
  1363. package/app/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
  1364. package/app/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
  1365. package/app/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
  1366. package/app/node_modules/caniuse-lite/data/features/let.js +1 -1
  1367. package/app/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
  1368. package/app/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
  1369. package/app/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
  1370. package/app/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
  1371. package/app/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
  1372. package/app/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
  1373. package/app/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
  1374. package/app/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
  1375. package/app/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
  1376. package/app/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
  1377. package/app/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
  1378. package/app/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
  1379. package/app/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
  1380. package/app/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
  1381. package/app/node_modules/caniuse-lite/data/features/mathml.js +1 -1
  1382. package/app/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
  1383. package/app/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
  1384. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
  1385. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
  1386. package/app/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
  1387. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
  1388. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
  1389. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
  1390. package/app/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
  1391. package/app/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
  1392. package/app/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
  1393. package/app/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
  1394. package/app/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
  1395. package/app/node_modules/caniuse-lite/data/features/menu.js +1 -1
  1396. package/app/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
  1397. package/app/node_modules/caniuse-lite/data/features/meter.js +1 -1
  1398. package/app/node_modules/caniuse-lite/data/features/midi.js +1 -1
  1399. package/app/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
  1400. package/app/node_modules/caniuse-lite/data/features/mp3.js +1 -1
  1401. package/app/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
  1402. package/app/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
  1403. package/app/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
  1404. package/app/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
  1405. package/app/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
  1406. package/app/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
  1407. package/app/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
  1408. package/app/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
  1409. package/app/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
  1410. package/app/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
  1411. package/app/node_modules/caniuse-lite/data/features/notifications.js +1 -1
  1412. package/app/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
  1413. package/app/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
  1414. package/app/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
  1415. package/app/node_modules/caniuse-lite/data/features/object-values.js +1 -1
  1416. package/app/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
  1417. package/app/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
  1418. package/app/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
  1419. package/app/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
  1420. package/app/node_modules/caniuse-lite/data/features/ogv.js +1 -1
  1421. package/app/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
  1422. package/app/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
  1423. package/app/node_modules/caniuse-lite/data/features/online-status.js +1 -1
  1424. package/app/node_modules/caniuse-lite/data/features/opus.js +1 -1
  1425. package/app/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
  1426. package/app/node_modules/caniuse-lite/data/features/outline.js +1 -1
  1427. package/app/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
  1428. package/app/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
  1429. package/app/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
  1430. package/app/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
  1431. package/app/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
  1432. package/app/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
  1433. package/app/node_modules/caniuse-lite/data/features/path2d.js +1 -1
  1434. package/app/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
  1435. package/app/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
  1436. package/app/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
  1437. package/app/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
  1438. package/app/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
  1439. package/app/node_modules/caniuse-lite/data/features/picture.js +1 -1
  1440. package/app/node_modules/caniuse-lite/data/features/ping.js +1 -1
  1441. package/app/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
  1442. package/app/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
  1443. package/app/node_modules/caniuse-lite/data/features/pointer.js +1 -1
  1444. package/app/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
  1445. package/app/node_modules/caniuse-lite/data/features/portals.js +1 -1
  1446. package/app/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
  1447. package/app/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
  1448. package/app/node_modules/caniuse-lite/data/features/progress.js +1 -1
  1449. package/app/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
  1450. package/app/node_modules/caniuse-lite/data/features/promises.js +1 -1
  1451. package/app/node_modules/caniuse-lite/data/features/proximity.js +1 -1
  1452. package/app/node_modules/caniuse-lite/data/features/proxy.js +1 -1
  1453. package/app/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
  1454. package/app/node_modules/caniuse-lite/data/features/push-api.js +1 -1
  1455. package/app/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
  1456. package/app/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
  1457. package/app/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
  1458. package/app/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
  1459. package/app/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
  1460. package/app/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
  1461. package/app/node_modules/caniuse-lite/data/features/rellist.js +1 -1
  1462. package/app/node_modules/caniuse-lite/data/features/rem.js +1 -1
  1463. package/app/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
  1464. package/app/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
  1465. package/app/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
  1466. package/app/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
  1467. package/app/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
  1468. package/app/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
  1469. package/app/node_modules/caniuse-lite/data/features/ruby.js +1 -1
  1470. package/app/node_modules/caniuse-lite/data/features/run-in.js +1 -1
  1471. package/app/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
  1472. package/app/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
  1473. package/app/node_modules/caniuse-lite/data/features/script-async.js +1 -1
  1474. package/app/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
  1475. package/app/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
  1476. package/app/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
  1477. package/app/node_modules/caniuse-lite/data/features/sdch.js +1 -1
  1478. package/app/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
  1479. package/app/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
  1480. package/app/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
  1481. package/app/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
  1482. package/app/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
  1483. package/app/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
  1484. package/app/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
  1485. package/app/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
  1486. package/app/node_modules/caniuse-lite/data/features/sni.js +1 -1
  1487. package/app/node_modules/caniuse-lite/data/features/spdy.js +1 -1
  1488. package/app/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
  1489. package/app/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
  1490. package/app/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
  1491. package/app/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
  1492. package/app/node_modules/caniuse-lite/data/features/srcset.js +1 -1
  1493. package/app/node_modules/caniuse-lite/data/features/stream.js +1 -1
  1494. package/app/node_modules/caniuse-lite/data/features/streams.js +1 -1
  1495. package/app/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
  1496. package/app/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
  1497. package/app/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
  1498. package/app/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
  1499. package/app/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
  1500. package/app/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
  1501. package/app/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
  1502. package/app/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
  1503. package/app/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
  1504. package/app/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
  1505. package/app/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
  1506. package/app/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
  1507. package/app/node_modules/caniuse-lite/data/features/svg.js +1 -1
  1508. package/app/node_modules/caniuse-lite/data/features/sxg.js +1 -1
  1509. package/app/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
  1510. package/app/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
  1511. package/app/node_modules/caniuse-lite/data/features/template.js +1 -1
  1512. package/app/node_modules/caniuse-lite/data/features/temporal.js +1 -1
  1513. package/app/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
  1514. package/app/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
  1515. package/app/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
  1516. package/app/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
  1517. package/app/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
  1518. package/app/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
  1519. package/app/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
  1520. package/app/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
  1521. package/app/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
  1522. package/app/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
  1523. package/app/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
  1524. package/app/node_modules/caniuse-lite/data/features/touch.js +1 -1
  1525. package/app/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
  1526. package/app/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
  1527. package/app/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
  1528. package/app/node_modules/caniuse-lite/data/features/ttf.js +1 -1
  1529. package/app/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
  1530. package/app/node_modules/caniuse-lite/data/features/u2f.js +1 -1
  1531. package/app/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
  1532. package/app/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
  1533. package/app/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
  1534. package/app/node_modules/caniuse-lite/data/features/url.js +1 -1
  1535. package/app/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
  1536. package/app/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
  1537. package/app/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
  1538. package/app/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
  1539. package/app/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
  1540. package/app/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
  1541. package/app/node_modules/caniuse-lite/data/features/vibration.js +1 -1
  1542. package/app/node_modules/caniuse-lite/data/features/video.js +1 -1
  1543. package/app/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
  1544. package/app/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
  1545. package/app/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
  1546. package/app/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
  1547. package/app/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
  1548. package/app/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
  1549. package/app/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
  1550. package/app/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
  1551. package/app/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
  1552. package/app/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
  1553. package/app/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
  1554. package/app/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
  1555. package/app/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
  1556. package/app/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
  1557. package/app/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
  1558. package/app/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
  1559. package/app/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
  1560. package/app/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
  1561. package/app/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
  1562. package/app/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
  1563. package/app/node_modules/caniuse-lite/data/features/wasm.js +1 -1
  1564. package/app/node_modules/caniuse-lite/data/features/wav.js +1 -1
  1565. package/app/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
  1566. package/app/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
  1567. package/app/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
  1568. package/app/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
  1569. package/app/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
  1570. package/app/node_modules/caniuse-lite/data/features/web-share.js +1 -1
  1571. package/app/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
  1572. package/app/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
  1573. package/app/node_modules/caniuse-lite/data/features/webgl.js +1 -1
  1574. package/app/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
  1575. package/app/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
  1576. package/app/node_modules/caniuse-lite/data/features/webhid.js +1 -1
  1577. package/app/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
  1578. package/app/node_modules/caniuse-lite/data/features/webm.js +1 -1
  1579. package/app/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
  1580. package/app/node_modules/caniuse-lite/data/features/webp.js +1 -1
  1581. package/app/node_modules/caniuse-lite/data/features/websockets.js +1 -1
  1582. package/app/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
  1583. package/app/node_modules/caniuse-lite/data/features/webusb.js +1 -1
  1584. package/app/node_modules/caniuse-lite/data/features/webvr.js +1 -1
  1585. package/app/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
  1586. package/app/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
  1587. package/app/node_modules/caniuse-lite/data/features/webxr.js +1 -1
  1588. package/app/node_modules/caniuse-lite/data/features/will-change.js +1 -1
  1589. package/app/node_modules/caniuse-lite/data/features/woff.js +1 -1
  1590. package/app/node_modules/caniuse-lite/data/features/woff2.js +1 -1
  1591. package/app/node_modules/caniuse-lite/data/features/word-break.js +1 -1
  1592. package/app/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
  1593. package/app/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
  1594. package/app/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
  1595. package/app/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
  1596. package/app/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
  1597. package/app/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
  1598. package/app/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
  1599. package/app/node_modules/caniuse-lite/data/features/zstd.js +1 -1
  1600. package/app/node_modules/caniuse-lite/package.json +1 -1
  1601. package/app/node_modules/koffi/build/koffi/darwin_arm64/koffi.node +0 -0
  1602. package/app/node_modules/koffi/build/koffi/darwin_x64/koffi.node +0 -0
  1603. package/app/node_modules/koffi/build/koffi/freebsd_arm64/koffi.node +0 -0
  1604. package/app/node_modules/koffi/build/koffi/freebsd_ia32/koffi.node +0 -0
  1605. package/app/node_modules/koffi/build/koffi/freebsd_x64/koffi.node +0 -0
  1606. package/app/node_modules/koffi/build/koffi/linux_arm64/koffi.node +0 -0
  1607. package/app/node_modules/koffi/build/koffi/linux_armhf/koffi.node +0 -0
  1608. package/app/node_modules/koffi/build/koffi/linux_ia32/koffi.node +0 -0
  1609. package/app/node_modules/koffi/build/koffi/linux_loong64/koffi.node +0 -0
  1610. package/app/node_modules/koffi/build/koffi/linux_riscv64d/koffi.node +0 -0
  1611. package/app/node_modules/koffi/build/koffi/linux_x64/koffi.node +0 -0
  1612. package/app/node_modules/koffi/build/koffi/musl_arm64/koffi.node +0 -0
  1613. package/app/node_modules/koffi/build/koffi/musl_x64/koffi.node +0 -0
  1614. package/app/node_modules/koffi/build/koffi/openbsd_ia32/koffi.node +0 -0
  1615. package/app/node_modules/koffi/build/koffi/openbsd_x64/koffi.node +0 -0
  1616. package/app/node_modules/koffi/build/koffi/win32_arm64/koffi.node +0 -0
  1617. package/app/node_modules/koffi/build/koffi/win32_ia32/koffi.node +0 -0
  1618. package/app/node_modules/koffi/build/koffi/win32_x64/koffi.node +0 -0
  1619. package/app/node_modules/koffi/index.js +634 -0
  1620. package/app/node_modules/koffi/package.json +38 -0
  1621. package/app/node_modules/next/dist/build/swc/index.js +1 -1
  1622. package/app/node_modules/next/dist/build/webpack-config.js +3 -3
  1623. package/app/node_modules/next/dist/client/dev/debug-channel.js +102 -2
  1624. package/app/node_modules/next/dist/compiled/next-server/app-page-experimental.runtime.prod.js +10 -10
  1625. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +11 -11
  1626. package/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +13 -13
  1627. package/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js +10 -10
  1628. package/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js +2 -2
  1629. package/app/node_modules/next/dist/compiled/next-server/pages.runtime.prod.js +1 -1
  1630. package/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  1631. package/app/node_modules/next/dist/server/app-render/action-handler.js +18 -8
  1632. package/app/node_modules/next/dist/server/config-schema.js +1 -0
  1633. package/app/node_modules/next/dist/server/config.js +1 -1
  1634. package/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  1635. package/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  1636. package/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  1637. package/app/node_modules/next/dist/server/lib/encode-cache-tag.js +45 -0
  1638. package/app/node_modules/next/dist/server/lib/implicit-tags.js +6 -3
  1639. package/app/node_modules/next/dist/server/lib/patch-fetch.js +5 -1
  1640. package/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  1641. package/app/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  1642. package/app/node_modules/next/dist/shared/lib/router/router.js +8 -1
  1643. package/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  1644. package/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  1645. package/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  1646. package/app/node_modules/next/package.json +15 -15
  1647. package/app/node_modules/tldts/dist/cjs/index.js +1170 -0
  1648. package/app/node_modules/tldts/package.json +89 -0
  1649. package/app/node_modules/tls-client-node/bin/tls-client-windows-64-1.15.1.dll +0 -0
  1650. package/app/node_modules/tls-client-node/dist/binary.js +293 -0
  1651. package/app/node_modules/tls-client-node/dist/client.js +1000 -0
  1652. package/app/node_modules/tls-client-node/dist/errors.js +41 -0
  1653. package/app/node_modules/tls-client-node/dist/index.js +19 -0
  1654. package/app/node_modules/tls-client-node/dist/multipart.js +69 -0
  1655. package/app/node_modules/tls-client-node/dist/native.js +95 -0
  1656. package/app/node_modules/tls-client-node/dist/response.js +66 -0
  1657. package/app/node_modules/tls-client-node/dist/types.js +88 -0
  1658. package/app/node_modules/tls-client-node/index.mjs +16 -0
  1659. package/app/node_modules/tls-client-node/package.json +78 -0
  1660. package/app/node_modules/tough-cookie/dist/index.cjs +2282 -0
  1661. package/app/node_modules/tough-cookie/package.json +148 -0
  1662. package/app/package.json +80 -79
  1663. package/app/public/providers/chatgpt-web.png +0 -0
  1664. package/app/server.js +1 -1
  1665. package/app/src/mitm/server.js +2 -2
  1666. package/package.json +49 -49
  1667. package/src/cli/menus/providers.js +8 -4
  1668. package/app/.next/server/chunks/4657.js +0 -1
  1669. package/app/.next/server/chunks/4888.js +0 -1
  1670. package/app/.next/server/chunks/8918.js +0 -1
  1671. package/app/.next/server/chunks/9142.js +0 -1
  1672. package/app/.next/static/chunks/1321-653ca08ce4c6e895.js +0 -1
  1673. package/app/.next/static/chunks/1a258343-5938f676ed376386.js +0 -1
  1674. package/app/.next/static/chunks/698-57b11f0d345c21be.js +0 -64
  1675. package/app/.next/static/chunks/app/(dashboard)/dashboard/cli-tools/page-780e29c4c311194c.js +0 -1
  1676. package/app/.next/static/chunks/app/(dashboard)/dashboard/combos/page-bcc9a2e4246ddbd8.js +0 -1
  1677. package/app/.next/static/chunks/app/(dashboard)/dashboard/console-log/page-b2d77aea3c0b05d0.js +0 -1
  1678. package/app/.next/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-005bbd9915c7cea0.js +0 -1
  1679. package/app/.next/static/chunks/app/(dashboard)/dashboard/profile/page-57708bcc11f45673.js +0 -1
  1680. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-820f3344240f98b4.js +0 -3
  1681. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/new/page-96c63eae7adf29f3.js +0 -1
  1682. package/app/.next/static/chunks/app/(dashboard)/dashboard/providers/page-96b20973bc54c145.js +0 -1
  1683. package/app/.next/static/chunks/app/(dashboard)/dashboard/quota/page-e88c7eea495f269b.js +0 -1
  1684. package/app/.next/static/chunks/app/(dashboard)/dashboard/skills/page-c4158204df8fc9c8.js +0 -1
  1685. package/app/.next/static/chunks/app/(dashboard)/dashboard/translator/page-a769d03c4f44374e.js +0 -1
  1686. package/app/.next/static/chunks/app/_global-error/page-415e99982d77970b.js +0 -1
  1687. package/app/.next/static/chunks/app/api/auth/login/route-415e99982d77970b.js +0 -1
  1688. package/app/.next/static/chunks/app/api/auth/logout/route-415e99982d77970b.js +0 -1
  1689. package/app/.next/static/chunks/app/api/auth/oidc/callback/route-415e99982d77970b.js +0 -1
  1690. package/app/.next/static/chunks/app/api/auth/oidc/start/route-415e99982d77970b.js +0 -1
  1691. package/app/.next/static/chunks/app/api/auth/oidc/test/route-415e99982d77970b.js +0 -1
  1692. package/app/.next/static/chunks/app/api/auth/status/route-415e99982d77970b.js +0 -1
  1693. package/app/.next/static/chunks/app/api/cli-tools/all-statuses/route-415e99982d77970b.js +0 -1
  1694. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-415e99982d77970b.js +0 -1
  1695. package/app/.next/static/chunks/app/api/cli-tools/antigravity-mitm/route-415e99982d77970b.js +0 -1
  1696. package/app/.next/static/chunks/app/api/cli-tools/claude-settings/route-415e99982d77970b.js +0 -1
  1697. package/app/.next/static/chunks/app/api/cli-tools/cline-settings/route-415e99982d77970b.js +0 -1
  1698. package/app/.next/static/chunks/app/api/cli-tools/codex-settings/route-415e99982d77970b.js +0 -1
  1699. package/app/.next/static/chunks/app/api/cli-tools/copilot-settings/route-415e99982d77970b.js +0 -1
  1700. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-415e99982d77970b.js +0 -1
  1701. package/app/.next/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-415e99982d77970b.js +0 -1
  1702. package/app/.next/static/chunks/app/api/cli-tools/cowork-settings/route-415e99982d77970b.js +0 -1
  1703. package/app/.next/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-415e99982d77970b.js +0 -1
  1704. package/app/.next/static/chunks/app/api/cli-tools/droid-settings/route-415e99982d77970b.js +0 -1
  1705. package/app/.next/static/chunks/app/api/cli-tools/hermes-settings/route-415e99982d77970b.js +0 -1
  1706. package/app/.next/static/chunks/app/api/cli-tools/jcode-settings/route-415e99982d77970b.js +0 -1
  1707. package/app/.next/static/chunks/app/api/cli-tools/kilo-settings/route-415e99982d77970b.js +0 -1
  1708. package/app/.next/static/chunks/app/api/cli-tools/openclaw-settings/route-415e99982d77970b.js +0 -1
  1709. package/app/.next/static/chunks/app/api/cli-tools/opencode-settings/route-415e99982d77970b.js +0 -1
  1710. package/app/.next/static/chunks/app/api/cloud/auth/route-415e99982d77970b.js +0 -1
  1711. package/app/.next/static/chunks/app/api/cloud/credentials/update/route-415e99982d77970b.js +0 -1
  1712. package/app/.next/static/chunks/app/api/cloud/model/resolve/route-415e99982d77970b.js +0 -1
  1713. package/app/.next/static/chunks/app/api/cloud/models/alias/route-415e99982d77970b.js +0 -1
  1714. package/app/.next/static/chunks/app/api/combos/[id]/route-415e99982d77970b.js +0 -1
  1715. package/app/.next/static/chunks/app/api/combos/route-415e99982d77970b.js +0 -1
  1716. package/app/.next/static/chunks/app/api/health/route-415e99982d77970b.js +0 -1
  1717. package/app/.next/static/chunks/app/api/init/route-415e99982d77970b.js +0 -1
  1718. package/app/.next/static/chunks/app/api/keys/[id]/route-415e99982d77970b.js +0 -1
  1719. package/app/.next/static/chunks/app/api/keys/route-415e99982d77970b.js +0 -1
  1720. package/app/.next/static/chunks/app/api/locale/route-415e99982d77970b.js +0 -1
  1721. package/app/.next/static/chunks/app/api/mcp/[plugin]/message/route-415e99982d77970b.js +0 -1
  1722. package/app/.next/static/chunks/app/api/mcp/[plugin]/sse/route-415e99982d77970b.js +0 -1
  1723. package/app/.next/static/chunks/app/api/media/download/route-415e99982d77970b.js +0 -1
  1724. package/app/.next/static/chunks/app/api/media-providers/tts/deepgram/voices/route-415e99982d77970b.js +0 -1
  1725. package/app/.next/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-415e99982d77970b.js +0 -1
  1726. package/app/.next/static/chunks/app/api/media-providers/tts/inworld/voices/route-415e99982d77970b.js +0 -1
  1727. package/app/.next/static/chunks/app/api/media-providers/tts/minimax/voices/route-415e99982d77970b.js +0 -1
  1728. package/app/.next/static/chunks/app/api/media-providers/tts/voices/route-415e99982d77970b.js +0 -1
  1729. package/app/.next/static/chunks/app/api/models/alias/route-415e99982d77970b.js +0 -1
  1730. package/app/.next/static/chunks/app/api/models/availability/route-415e99982d77970b.js +0 -1
  1731. package/app/.next/static/chunks/app/api/models/custom/route-415e99982d77970b.js +0 -1
  1732. package/app/.next/static/chunks/app/api/models/disabled/route-415e99982d77970b.js +0 -1
  1733. package/app/.next/static/chunks/app/api/models/route-415e99982d77970b.js +0 -1
  1734. package/app/.next/static/chunks/app/api/models/test/route-415e99982d77970b.js +0 -1
  1735. package/app/.next/static/chunks/app/api/oauth/[provider]/[action]/route-415e99982d77970b.js +0 -1
  1736. package/app/.next/static/chunks/app/api/oauth/codex/import/route-415e99982d77970b.js +0 -1
  1737. package/app/.next/static/chunks/app/api/oauth/cursor/auto-import/route-415e99982d77970b.js +0 -1
  1738. package/app/.next/static/chunks/app/api/oauth/cursor/import/route-415e99982d77970b.js +0 -1
  1739. package/app/.next/static/chunks/app/api/oauth/gitlab/pat/route-415e99982d77970b.js +0 -1
  1740. package/app/.next/static/chunks/app/api/oauth/iflow/cookie/route-415e99982d77970b.js +0 -1
  1741. package/app/.next/static/chunks/app/api/oauth/kiro/auto-import/route-415e99982d77970b.js +0 -1
  1742. package/app/.next/static/chunks/app/api/oauth/kiro/browser-login/route-415e99982d77970b.js +0 -1
  1743. package/app/.next/static/chunks/app/api/oauth/kiro/import/route-415e99982d77970b.js +0 -1
  1744. package/app/.next/static/chunks/app/api/oauth/kiro/social-authorize/route-415e99982d77970b.js +0 -1
  1745. package/app/.next/static/chunks/app/api/oauth/kiro/social-exchange/route-415e99982d77970b.js +0 -1
  1746. package/app/.next/static/chunks/app/api/pricing/route-415e99982d77970b.js +0 -1
  1747. package/app/.next/static/chunks/app/api/provider-nodes/[id]/route-415e99982d77970b.js +0 -1
  1748. package/app/.next/static/chunks/app/api/provider-nodes/route-415e99982d77970b.js +0 -1
  1749. package/app/.next/static/chunks/app/api/provider-nodes/validate/route-415e99982d77970b.js +0 -1
  1750. package/app/.next/static/chunks/app/api/providers/[id]/models/route-415e99982d77970b.js +0 -1
  1751. package/app/.next/static/chunks/app/api/providers/[id]/route-415e99982d77970b.js +0 -1
  1752. package/app/.next/static/chunks/app/api/providers/[id]/test/route-415e99982d77970b.js +0 -1
  1753. package/app/.next/static/chunks/app/api/providers/[id]/test-models/route-415e99982d77970b.js +0 -1
  1754. package/app/.next/static/chunks/app/api/providers/client/route-415e99982d77970b.js +0 -1
  1755. package/app/.next/static/chunks/app/api/providers/export/route-415e99982d77970b.js +0 -1
  1756. package/app/.next/static/chunks/app/api/providers/import/route-415e99982d77970b.js +0 -1
  1757. package/app/.next/static/chunks/app/api/providers/kilo/free-models/route-415e99982d77970b.js +0 -1
  1758. package/app/.next/static/chunks/app/api/providers/route-415e99982d77970b.js +0 -1
  1759. package/app/.next/static/chunks/app/api/providers/suggested-models/route-415e99982d77970b.js +0 -1
  1760. package/app/.next/static/chunks/app/api/providers/test-batch/route-415e99982d77970b.js +0 -1
  1761. package/app/.next/static/chunks/app/api/providers/validate/route-415e99982d77970b.js +0 -1
  1762. package/app/.next/static/chunks/app/api/proxy-pools/[id]/route-415e99982d77970b.js +0 -1
  1763. package/app/.next/static/chunks/app/api/proxy-pools/[id]/test/route-415e99982d77970b.js +0 -1
  1764. package/app/.next/static/chunks/app/api/proxy-pools/route-415e99982d77970b.js +0 -1
  1765. package/app/.next/static/chunks/app/api/proxy-pools/vercel-deploy/route-415e99982d77970b.js +0 -1
  1766. package/app/.next/static/chunks/app/api/settings/database/route-415e99982d77970b.js +0 -1
  1767. package/app/.next/static/chunks/app/api/settings/proxy-test/route-415e99982d77970b.js +0 -1
  1768. package/app/.next/static/chunks/app/api/settings/require-login/route-415e99982d77970b.js +0 -1
  1769. package/app/.next/static/chunks/app/api/settings/route-415e99982d77970b.js +0 -1
  1770. package/app/.next/static/chunks/app/api/shutdown/route-415e99982d77970b.js +0 -1
  1771. package/app/.next/static/chunks/app/api/tags/route-415e99982d77970b.js +0 -1
  1772. package/app/.next/static/chunks/app/api/translator/console-logs/route-415e99982d77970b.js +0 -1
  1773. package/app/.next/static/chunks/app/api/translator/console-logs/stream/route-415e99982d77970b.js +0 -1
  1774. package/app/.next/static/chunks/app/api/translator/load/route-415e99982d77970b.js +0 -1
  1775. package/app/.next/static/chunks/app/api/translator/save/route-415e99982d77970b.js +0 -1
  1776. package/app/.next/static/chunks/app/api/translator/send/route-415e99982d77970b.js +0 -1
  1777. package/app/.next/static/chunks/app/api/translator/translate/route-415e99982d77970b.js +0 -1
  1778. package/app/.next/static/chunks/app/api/update/check/route-415e99982d77970b.js +0 -1
  1779. package/app/.next/static/chunks/app/api/usage/[connectionId]/route-415e99982d77970b.js +0 -1
  1780. package/app/.next/static/chunks/app/api/usage/chart/route-415e99982d77970b.js +0 -1
  1781. package/app/.next/static/chunks/app/api/usage/history/route-415e99982d77970b.js +0 -1
  1782. package/app/.next/static/chunks/app/api/usage/providers/route-415e99982d77970b.js +0 -1
  1783. package/app/.next/static/chunks/app/api/usage/request-details/route-415e99982d77970b.js +0 -1
  1784. package/app/.next/static/chunks/app/api/usage/request-logs/route-415e99982d77970b.js +0 -1
  1785. package/app/.next/static/chunks/app/api/usage/stats/route-415e99982d77970b.js +0 -1
  1786. package/app/.next/static/chunks/app/api/usage/stream/route-415e99982d77970b.js +0 -1
  1787. package/app/.next/static/chunks/app/api/v1/api/chat/route-415e99982d77970b.js +0 -1
  1788. package/app/.next/static/chunks/app/api/v1/audio/speech/route-415e99982d77970b.js +0 -1
  1789. package/app/.next/static/chunks/app/api/v1/audio/transcriptions/route-415e99982d77970b.js +0 -1
  1790. package/app/.next/static/chunks/app/api/v1/audio/voices/route-415e99982d77970b.js +0 -1
  1791. package/app/.next/static/chunks/app/api/v1/chat/completions/route-415e99982d77970b.js +0 -1
  1792. package/app/.next/static/chunks/app/api/v1/embeddings/route-415e99982d77970b.js +0 -1
  1793. package/app/.next/static/chunks/app/api/v1/images/generations/route-415e99982d77970b.js +0 -1
  1794. package/app/.next/static/chunks/app/api/v1/messages/count_tokens/route-415e99982d77970b.js +0 -1
  1795. package/app/.next/static/chunks/app/api/v1/messages/route-415e99982d77970b.js +0 -1
  1796. package/app/.next/static/chunks/app/api/v1/models/[kind]/route-415e99982d77970b.js +0 -1
  1797. package/app/.next/static/chunks/app/api/v1/models/info/route-415e99982d77970b.js +0 -1
  1798. package/app/.next/static/chunks/app/api/v1/models/route-415e99982d77970b.js +0 -1
  1799. package/app/.next/static/chunks/app/api/v1/responses/compact/route-415e99982d77970b.js +0 -1
  1800. package/app/.next/static/chunks/app/api/v1/responses/route-415e99982d77970b.js +0 -1
  1801. package/app/.next/static/chunks/app/api/v1/route-415e99982d77970b.js +0 -1
  1802. package/app/.next/static/chunks/app/api/v1/search/route-415e99982d77970b.js +0 -1
  1803. package/app/.next/static/chunks/app/api/v1/video/generations/route-415e99982d77970b.js +0 -1
  1804. package/app/.next/static/chunks/app/api/v1/web/fetch/route-415e99982d77970b.js +0 -1
  1805. package/app/.next/static/chunks/app/api/v1beta/models/[...path]/route-415e99982d77970b.js +0 -1
  1806. package/app/.next/static/chunks/app/api/v1beta/models/route-415e99982d77970b.js +0 -1
  1807. package/app/.next/static/chunks/app/callback/page-9b5bdc320d59c61a.js +0 -1
  1808. package/app/.next/static/chunks/app/dashboard/settings/pricing/page-8e3fa29a8f753a5e.js +0 -1
  1809. package/app/.next/static/chunks/app/login/page-050a9acacb7d8882.js +0 -1
  1810. package/app/.next/static/chunks/app/manifest.webmanifest/route-415e99982d77970b.js +0 -1
  1811. package/app/.next/static/chunks/app/page-415e99982d77970b.js +0 -1
  1812. package/app/.next/static/chunks/next/dist/client/components/builtin/app-error-415e99982d77970b.js +0 -1
  1813. package/app/.next/static/chunks/next/dist/client/components/builtin/forbidden-415e99982d77970b.js +0 -1
  1814. package/app/.next/static/chunks/next/dist/client/components/builtin/global-error-3bf57d79ea2a59e9.js +0 -1
  1815. package/app/.next/static/chunks/next/dist/client/components/builtin/not-found-415e99982d77970b.js +0 -1
  1816. package/app/.next/static/chunks/next/dist/client/components/builtin/unauthorized-415e99982d77970b.js +0 -1
  1817. package/app/.next/static/css/7c9ebbeddd0a45aa.css +0 -1
  1818. package/app/.next/static/media/material-symbols-outlined.a9f35393.woff2 +0 -0
  1819. package/app/.next-cli-build/static/chunks/1321-653ca08ce4c6e895.js +0 -1
  1820. package/app/.next-cli-build/static/chunks/1a258343-5938f676ed376386.js +0 -1
  1821. package/app/.next-cli-build/static/chunks/698-57b11f0d345c21be.js +0 -64
  1822. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/page-780e29c4c311194c.js +0 -1
  1823. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-bcc9a2e4246ddbd8.js +0 -1
  1824. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-b2d77aea3c0b05d0.js +0 -1
  1825. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/page-005bbd9915c7cea0.js +0 -1
  1826. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-57708bcc11f45673.js +0 -1
  1827. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-820f3344240f98b4.js +0 -3
  1828. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/page-96c63eae7adf29f3.js +0 -1
  1829. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-96b20973bc54c145.js +0 -1
  1830. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e88c7eea495f269b.js +0 -1
  1831. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/page-c4158204df8fc9c8.js +0 -1
  1832. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/page-a769d03c4f44374e.js +0 -1
  1833. package/app/.next-cli-build/static/chunks/app/_global-error/page-415e99982d77970b.js +0 -1
  1834. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-415e99982d77970b.js +0 -1
  1835. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-415e99982d77970b.js +0 -1
  1836. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-415e99982d77970b.js +0 -1
  1837. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-415e99982d77970b.js +0 -1
  1838. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-415e99982d77970b.js +0 -1
  1839. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-415e99982d77970b.js +0 -1
  1840. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-415e99982d77970b.js +0 -1
  1841. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-415e99982d77970b.js +0 -1
  1842. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-415e99982d77970b.js +0 -1
  1843. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-415e99982d77970b.js +0 -1
  1844. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-415e99982d77970b.js +0 -1
  1845. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-415e99982d77970b.js +0 -1
  1846. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-415e99982d77970b.js +0 -1
  1847. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-415e99982d77970b.js +0 -1
  1848. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-415e99982d77970b.js +0 -1
  1849. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-415e99982d77970b.js +0 -1
  1850. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-415e99982d77970b.js +0 -1
  1851. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-415e99982d77970b.js +0 -1
  1852. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-415e99982d77970b.js +0 -1
  1853. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-415e99982d77970b.js +0 -1
  1854. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-415e99982d77970b.js +0 -1
  1855. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-415e99982d77970b.js +0 -1
  1856. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-415e99982d77970b.js +0 -1
  1857. package/app/.next-cli-build/static/chunks/app/api/cloud/auth/route-415e99982d77970b.js +0 -1
  1858. package/app/.next-cli-build/static/chunks/app/api/cloud/credentials/update/route-415e99982d77970b.js +0 -1
  1859. package/app/.next-cli-build/static/chunks/app/api/cloud/model/resolve/route-415e99982d77970b.js +0 -1
  1860. package/app/.next-cli-build/static/chunks/app/api/cloud/models/alias/route-415e99982d77970b.js +0 -1
  1861. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-415e99982d77970b.js +0 -1
  1862. package/app/.next-cli-build/static/chunks/app/api/combos/route-415e99982d77970b.js +0 -1
  1863. package/app/.next-cli-build/static/chunks/app/api/health/route-415e99982d77970b.js +0 -1
  1864. package/app/.next-cli-build/static/chunks/app/api/init/route-415e99982d77970b.js +0 -1
  1865. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-415e99982d77970b.js +0 -1
  1866. package/app/.next-cli-build/static/chunks/app/api/keys/route-415e99982d77970b.js +0 -1
  1867. package/app/.next-cli-build/static/chunks/app/api/locale/route-415e99982d77970b.js +0 -1
  1868. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-415e99982d77970b.js +0 -1
  1869. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-415e99982d77970b.js +0 -1
  1870. package/app/.next-cli-build/static/chunks/app/api/media/download/route-415e99982d77970b.js +0 -1
  1871. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-415e99982d77970b.js +0 -1
  1872. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-415e99982d77970b.js +0 -1
  1873. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-415e99982d77970b.js +0 -1
  1874. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-415e99982d77970b.js +0 -1
  1875. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-415e99982d77970b.js +0 -1
  1876. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-415e99982d77970b.js +0 -1
  1877. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-415e99982d77970b.js +0 -1
  1878. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-415e99982d77970b.js +0 -1
  1879. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-415e99982d77970b.js +0 -1
  1880. package/app/.next-cli-build/static/chunks/app/api/models/route-415e99982d77970b.js +0 -1
  1881. package/app/.next-cli-build/static/chunks/app/api/models/test/route-415e99982d77970b.js +0 -1
  1882. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-415e99982d77970b.js +0 -1
  1883. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import/route-415e99982d77970b.js +0 -1
  1884. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-415e99982d77970b.js +0 -1
  1885. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-415e99982d77970b.js +0 -1
  1886. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-415e99982d77970b.js +0 -1
  1887. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-415e99982d77970b.js +0 -1
  1888. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-415e99982d77970b.js +0 -1
  1889. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/browser-login/route-415e99982d77970b.js +0 -1
  1890. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-415e99982d77970b.js +0 -1
  1891. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-415e99982d77970b.js +0 -1
  1892. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-415e99982d77970b.js +0 -1
  1893. package/app/.next-cli-build/static/chunks/app/api/pricing/route-415e99982d77970b.js +0 -1
  1894. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-415e99982d77970b.js +0 -1
  1895. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-415e99982d77970b.js +0 -1
  1896. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-415e99982d77970b.js +0 -1
  1897. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-415e99982d77970b.js +0 -1
  1898. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-415e99982d77970b.js +0 -1
  1899. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-415e99982d77970b.js +0 -1
  1900. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-415e99982d77970b.js +0 -1
  1901. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-415e99982d77970b.js +0 -1
  1902. package/app/.next-cli-build/static/chunks/app/api/providers/export/route-415e99982d77970b.js +0 -1
  1903. package/app/.next-cli-build/static/chunks/app/api/providers/import/route-415e99982d77970b.js +0 -1
  1904. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-415e99982d77970b.js +0 -1
  1905. package/app/.next-cli-build/static/chunks/app/api/providers/route-415e99982d77970b.js +0 -1
  1906. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-415e99982d77970b.js +0 -1
  1907. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-415e99982d77970b.js +0 -1
  1908. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-415e99982d77970b.js +0 -1
  1909. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-415e99982d77970b.js +0 -1
  1910. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-415e99982d77970b.js +0 -1
  1911. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-415e99982d77970b.js +0 -1
  1912. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-415e99982d77970b.js +0 -1
  1913. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-415e99982d77970b.js +0 -1
  1914. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-415e99982d77970b.js +0 -1
  1915. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-415e99982d77970b.js +0 -1
  1916. package/app/.next-cli-build/static/chunks/app/api/settings/route-415e99982d77970b.js +0 -1
  1917. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-415e99982d77970b.js +0 -1
  1918. package/app/.next-cli-build/static/chunks/app/api/tags/route-415e99982d77970b.js +0 -1
  1919. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-415e99982d77970b.js +0 -1
  1920. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-415e99982d77970b.js +0 -1
  1921. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-415e99982d77970b.js +0 -1
  1922. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-415e99982d77970b.js +0 -1
  1923. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-415e99982d77970b.js +0 -1
  1924. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-415e99982d77970b.js +0 -1
  1925. package/app/.next-cli-build/static/chunks/app/api/update/check/route-415e99982d77970b.js +0 -1
  1926. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-415e99982d77970b.js +0 -1
  1927. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-415e99982d77970b.js +0 -1
  1928. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-415e99982d77970b.js +0 -1
  1929. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-415e99982d77970b.js +0 -1
  1930. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-415e99982d77970b.js +0 -1
  1931. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-415e99982d77970b.js +0 -1
  1932. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-415e99982d77970b.js +0 -1
  1933. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-415e99982d77970b.js +0 -1
  1934. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-415e99982d77970b.js +0 -1
  1935. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-415e99982d77970b.js +0 -1
  1936. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-415e99982d77970b.js +0 -1
  1937. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-415e99982d77970b.js +0 -1
  1938. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-415e99982d77970b.js +0 -1
  1939. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-415e99982d77970b.js +0 -1
  1940. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-415e99982d77970b.js +0 -1
  1941. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-415e99982d77970b.js +0 -1
  1942. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-415e99982d77970b.js +0 -1
  1943. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-415e99982d77970b.js +0 -1
  1944. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-415e99982d77970b.js +0 -1
  1945. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-415e99982d77970b.js +0 -1
  1946. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-415e99982d77970b.js +0 -1
  1947. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-415e99982d77970b.js +0 -1
  1948. package/app/.next-cli-build/static/chunks/app/api/v1/route-415e99982d77970b.js +0 -1
  1949. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-415e99982d77970b.js +0 -1
  1950. package/app/.next-cli-build/static/chunks/app/api/v1/video/generations/route-415e99982d77970b.js +0 -1
  1951. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-415e99982d77970b.js +0 -1
  1952. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-415e99982d77970b.js +0 -1
  1953. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-415e99982d77970b.js +0 -1
  1954. package/app/.next-cli-build/static/chunks/app/callback/page-9b5bdc320d59c61a.js +0 -1
  1955. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/page-8e3fa29a8f753a5e.js +0 -1
  1956. package/app/.next-cli-build/static/chunks/app/login/page-050a9acacb7d8882.js +0 -1
  1957. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-415e99982d77970b.js +0 -1
  1958. package/app/.next-cli-build/static/chunks/app/page-415e99982d77970b.js +0 -1
  1959. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-415e99982d77970b.js +0 -1
  1960. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-415e99982d77970b.js +0 -1
  1961. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/global-error-3bf57d79ea2a59e9.js +0 -1
  1962. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-415e99982d77970b.js +0 -1
  1963. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-415e99982d77970b.js +0 -1
  1964. package/app/.next-cli-build/static/css/7c9ebbeddd0a45aa.css +0 -1
  1965. package/app/.next-cli-build/static/media/material-symbols-outlined.a9f35393.woff2 +0 -0
  1966. package/app/cli/.build-home/AppData/Local/npm-cache/_update-notifier-last-checked +0 -0
  1967. package/app/cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json +0 -7
  1968. /package/app/.next/static/{uSk8fvki1Xuy7nlktCQsE → 0upBBziHoCcHIU60tgxI0}/_ssgManifest.js +0 -0
  1969. /package/app/.next-cli-build/static/{uSk8fvki1Xuy7nlktCQsE → 0upBBziHoCcHIU60tgxI0}/_ssgManifest.js +0 -0
@@ -1,4 +1,4 @@
1
- "use strict";(()=>{var a={};a.id=4761,a.ids=[4761],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4126:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>x,GET:()=>u,POST:()=>w});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".openclaw"),q=()=>k().join(p(),"openclaw.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["openclaw"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=q(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}},t=async a=>{try{let b=k().join(a,"models.json"),c=await i().readFile(b,"utf-8"),d=JSON.parse(c),e=d?.providers?.ktrouter?.models;return e?.[0]?.id||null}catch{return null}};async function u(){try{if(!await r())return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await s(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await t(a.agentDir):null;return{...a,currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasKTRouter:!!a&&!!a.models&&!!a.models.providers&&!!a.models.providers.ktrouter,settingsPath:q()})}catch(a){return console.log("Error checking openclaw settings:",a),e.NextResponse.json({error:"Failed to check openclaw settings"},{status:500})}}let v=async(a,b,c,d)=>{await i().mkdir(a,{recursive:!0});let e=k().join(a,"models.json"),f={};try{let a=await i().readFile(e,"utf-8");f=JSON.parse(a)}catch{}f.providers||(f.providers={}),f.providers.ktrouter={baseUrl:c,apiKey:d||"your_api_key",api:"openai-completions",models:[{id:b,name:b.split("/").pop()||b}]},await i().writeFile(e,JSON.stringify(f,null,2))};async function w(a){try{let{baseUrl:b,apiKey:c,model:d,agentModels:f={}}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let g=p(),h=q();await i().mkdir(g,{recursive:!0});let j={};try{let a=await i().readFile(h,"utf-8");j=JSON.parse(a)}catch{}j.agents||(j.agents={}),j.agents.defaults||(j.agents.defaults={}),j.agents.defaults.model||(j.agents.defaults.model={}),j.agents.defaults.models||(j.agents.defaults.models={}),j.models||(j.models={}),j.models.providers||(j.models.providers={});let k=b.endsWith("/v1")?b:`${b}/v1`,l=`ktrouter/${d}`;Object.keys(j.agents.defaults.models).filter(a=>a.startsWith("ktrouter/")).forEach(a=>{delete j.agents.defaults.models[a]}),j.agents.defaults.model.primary=l;let m=new Set([d]);return Object.values(f).forEach(a=>{a&&m.add(a)}),m.forEach(a=>{j.agents.defaults.models[`ktrouter/${a}`]={}}),j.agents.list&&(j.agents.list=j.agents.list.map(a=>{if(a.model?.startsWith("ktrouter/")){let{model:b,...c}=a;return c}return a})),j.models.providers.ktrouter={baseUrl:k,apiKey:c||"your_api_key",api:"openai-completions",models:[...m].map(a=>({id:a,name:a.split("/").pop()||a}))},j.agents.list&&(j.agents.list=j.agents.list.map(a=>{let b=f[a.id];return b?{...a,model:`ktrouter/${b}`}:a}),await Promise.all(j.agents.list.map(async a=>{if(!a.agentDir)return;let b=f[a.id];await v(a.agentDir,b||d,k,c)}))),await i().writeFile(h,JSON.stringify(j,null,2)),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:h})}catch(a){return console.log("Error updating openclaw settings:",a),e.NextResponse.json({error:"Failed to update openclaw settings"},{status:500})}}async function x(){try{let a=q(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}if(b.models&&b.models.providers&&(delete b.models.providers.ktrouter,0===Object.keys(b.models.providers).length&&delete b.models.providers),b.agents?.defaults?.models){for(let a of Object.keys(b.agents.defaults.models).filter(a=>a.startsWith("ktrouter/")))delete b.agents.defaults.models[a];0===Object.keys(b.agents.defaults.models).length&&delete b.agents.defaults.models}return b.agents?.defaults?.model?.primary?.startsWith("ktrouter/")&&delete b.agents.defaults.model.primary,await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting openclaw settings:",a),e.NextResponse.json({error:"Failed to reset openclaw settings"},{status:500})}}(0,n.D)([u,w,x]),(0,d.A)(u,"0074c5b91b99766f506465dc8b2104ef38e6721987",null),(0,d.A)(w,"407fabb2b4e9f4f73badbc9b7298f4036aa560901d",null),(0,d.A)(x,"006574ae4c0faebc0ff29c9e06109fccb64344091a",null)},8304:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".local","share","kilo"),q=()=>k().join(p(),"auth.json"),r=()=>k().join(m().homedir(),".config","Code","User","settings.json"),s=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["kilo"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async a=>{try{let b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await t(q());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasKTRouter:(a=>{if(!a)return!1;let b=a["openai-compatible"]||a.ktrouter;if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||c.includes("ktrouter")})(a),authPath:q()})}catch(a){return console.log("Error checking kilo settings:",a),e.NextResponse.json({error:"Failed to check kilo settings"},{status:500})}}async function v(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(p(),{recursive:!0});let f=b.endsWith("/v1")?b:`${b}/v1`,g=await t(q())||{};g["openai-compatible"]={type:"api-key",apiKey:c,baseUrl:f,model:d},await i().writeFile(q(),JSON.stringify(g,null,2));try{let a=await t(r())||{};a["kilocode.customProvider"]={name:"KTRouter",baseURL:f,apiKey:c},a["kilocode.defaultModel"]=d,await i().writeFile(r(),JSON.stringify(a,null,2))}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:q()})}catch(a){return console.log("Error updating kilo settings:",a),e.NextResponse.json({error:"Failed to update kilo settings"},{status:500})}}async function w(){try{let a=await t(q());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});delete a["openai-compatible"],delete a.ktrouter,await i().writeFile(q(),JSON.stringify(a,null,2));try{let a=await t(r());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await i().writeFile(r(),JSON.stringify(a,null,2)))}catch{}return e.NextResponse.json({success:!0,message:"KTRouter settings removed from Kilo Code"})}catch(a){return console.log("Error resetting kilo settings:",a),e.NextResponse.json({error:"Failed to reset kilo settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"00f6bfa6b76b3d8339db7f450969e85da2101f9020",null),(0,d.A)(v,"40a1fd371486cae3052d585aa0151cca5ad3fad705",null),(0,d.A)(w,"00238ecae47a325de562bea5647cb6510e291e3a4a",null)},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14833:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>v,GET:()=>s,POST:()=>t});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>{let a=m().homedir();return k().join(a,".claude","settings.json")},q=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["claude"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(p()),!0}catch{return!1}}},r=async()=>{try{let a=p(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function s(){try{if(!await q())return e.NextResponse.json({installed:!1,settings:null,message:"Claude CLI is not installed"});let a=await r(),b=!!a?.env?.ANTHROPIC_BASE_URL;return e.NextResponse.json({installed:!0,settings:a,hasKTRouter:b,settingsPath:p()})}catch(a){return console.log("Error checking claude settings:",a),e.NextResponse.json({error:"Failed to check claude settings"},{status:500})}}async function t(a){try{let{env:b}=await a.json();if(!b||"object"!=typeof b)return e.NextResponse.json({error:"Invalid env object"},{status:400});let c=p(),d=k().dirname(c);await i().mkdir(d,{recursive:!0});let f={};try{let a=await i().readFile(c,"utf-8");f=JSON.parse(a)}catch(a){if("ENOENT"!==a.code)throw a}b.ANTHROPIC_BASE_URL&&(b.ANTHROPIC_BASE_URL=b.ANTHROPIC_BASE_URL.endsWith("/v1")?b.ANTHROPIC_BASE_URL:`${b.ANTHROPIC_BASE_URL}/v1`);let g={...f,hasCompletedOnboarding:!0,env:{...f.env||{},...b}};return await i().writeFile(c,JSON.stringify(g,null,2)),e.NextResponse.json({success:!0,message:"Settings updated successfully"})}catch(a){return console.log("Error updating claude settings:",a),e.NextResponse.json({error:"Failed to update claude settings"},{status:500})}}let u=["ANTHROPIC_BASE_URL","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","API_TIMEOUT_MS"];async function v(){try{let a=p(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}return b.env&&(u.forEach(a=>{delete b.env[a]}),0===Object.keys(b.env).length&&delete b.env),await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"Settings reset successfully"})}catch(a){return console.log("Error resetting claude settings:",a),e.NextResponse.json({error:"Failed to reset claude settings"},{status:500})}}(0,n.D)([s,t,v]),(0,d.A)(s,"00ffd54911ae5dfb4da80fff46418385ef402d3927",null),(0,d.A)(t,"40fff2e400da7fd8e6baf43ce0688f33401a4f954e",null),(0,d.A)(v,"001792cb8c7499ea655978522bfc3de48280d47f17",null)},19593:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>t});var d=c(49796),e=c(23211),f=c(14833),g=c(58750),h=c(72452),i=c(29657),j=c(4126),k=c(21757),l=c(21350),m=c(20703),n=c(46298),o=c(8304),p=c(67116),q=c(48074),r=c(24424);let s={claude:f.GET,codex:g.GET,opencode:h.GET,droid:i.GET,openclaw:j.GET,hermes:k.GET,cowork:l.GET,copilot:m.GET,cline:n.GET,kilo:o.GET,"deepseek-tui":p.GET,jcode:q.GET};async function t(){let a=await Promise.all(Object.entries(s).map(async([a,b])=>{try{let c=await b(),d=await c.json();return[a,d]}catch{return[a,null]}}));return e.NextResponse.json(Object.fromEntries(a))}(0,r.D)([t]),(0,d.A)(t,"009418fcb5522168110ef0402f3cc4fddaae66e76c",null)},20703:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(24424);let m=()=>{let a=k().homedir(),b=k().platform();return"win32"===b?i().join(process.env.APPDATA||a,"Code","User","chatLanguageModels.json"):"darwin"===b?i().join(a,"Library","Application Support","Code","User","chatLanguageModels.json"):i().join(a,".config","Code","User","chatLanguageModels.json")},n=async()=>{try{let a=await g().readFile(m(),"utf-8");return JSON.parse(a)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function o(){try{let a=await n(),b=Array.isArray(a)&&a.find(a=>"KTRouter"===a.name)||null;return e.NextResponse.json({installed:!0,config:a,hasKTRouter:!!Array.isArray(a)&&a.some(a=>"KTRouter"===a.name),configPath:m(),currentModel:b?.models?.[0]?.id||null,currentUrl:b?.models?.[0]?.url||null})}catch(a){return console.log("Error checking copilot settings:",a),e.NextResponse.json({error:"Failed to check copilot settings"},{status:500})}}async function p(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!d?.length)return e.NextResponse.json({error:"baseUrl and models are required"},{status:400});let f=m();await g().mkdir(i().dirname(f),{recursive:!0});let h=[];try{let a=await g().readFile(f,"utf-8"),b=JSON.parse(a);h=Array.isArray(b)?b:[]}catch{}let j=`${b}/chat/completions#models.ai.azure.com`,k={name:"KTRouter",vendor:"azure",apiKey:c||"sk_ktrouter",models:d.map(a=>({id:a,name:a,url:j,toolCalling:!0,vision:!1,maxInputTokens:128e3,maxOutputTokens:16e3}))},l=h.findIndex(a=>"KTRouter"===a.name);return l>=0?h[l]=k:h.push(k),await g().writeFile(f,JSON.stringify(h,null,2)),e.NextResponse.json({success:!0,message:"Copilot settings applied! Reload VS Code to take effect.",configPath:f})}catch(a){return console.log("Error updating copilot settings:",a),e.NextResponse.json({error:"Failed to update copilot settings"},{status:500})}}async function q(){try{let a=m(),b=[];try{let c=await g().readFile(a,"utf-8"),d=JSON.parse(c);b=Array.isArray(d)?d:[]}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}return b=b.filter(a=>"KTRouter"!==a.name),await g().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter removed from Copilot config"})}catch(a){return console.log("Error resetting copilot settings:",a),e.NextResponse.json({error:"Failed to reset copilot settings"},{status:500})}}(0,l.D)([o,p,q]),(0,d.A)(o,"00904520038bed827e5b341eef4ff63001d6958d27",null),(0,d.A)(p,"40ae6365c0c533d19e317b53578aba7db29a812900",null),(0,d.A)(q,"0067c43119a0009c17ddc55089dd43de6b4ba88e23",null)},21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>y,GET:()=>w,POST:()=>x});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".hermes"),q=()=>k().join(p(),"config.yaml"),r=()=>k().join(p(),".env"),s=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,t=async()=>{try{let a="win32"===m().platform();return await o(a?"where":"which",["hermes"],{windowsHide:!0}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},u=async()=>{try{return await i().readFile(q(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}},v=async()=>{try{return await i().readFile(r(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}};async function w(){try{if(!await t())return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let a=await u(),b=(a=>{let b=a.match(s);if(!b)return null;let c=b[1]||"",d=a=>{let b=c.match(RegExp(`^[ \\t]+${a}:[ ]*["']?([^"'\\r\\n]+)["']?`,"m"));return b?b[1].trim():null};return{default:d("default"),provider:d("provider"),base_url:d("base_url")}})(a);return e.NextResponse.json({installed:!0,settings:{model:b},hasKTRouter:!!b?.base_url&&"custom"===b.provider&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(b.base_url),configPath:q()})}catch(a){return console.log("Error checking hermes settings:",a),e.NextResponse.json({error:"Failed to check hermes settings"},{status:500})}}async function x(a){try{var b,c,d,f;let{baseUrl:g,apiKey:h,model:j}=await a.json();if(!g||!j)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let k=p();await i().mkdir(k,{recursive:!0});let l=g.endsWith("/v1")?g:`${g}/v1`,m=(b=await u(),c=`model:
1
+ "use strict";(()=>{var a={};a.id=4761,a.ids=[4761],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4126:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>x,GET:()=>u,POST:()=>w});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".openclaw"),q=()=>k().join(p(),"openclaw.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["openclaw"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=q(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}},t=async a=>{try{let b=k().join(a,"models.json"),c=await i().readFile(b,"utf-8"),d=JSON.parse(c),e=d?.providers?.ktrouter?.models;return e?.[0]?.id||null}catch{return null}};async function u(){try{if(!await r())return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await s(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await t(a.agentDir):null;return{...a,currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasKTRouter:!!a&&!!a.models&&!!a.models.providers&&!!a.models.providers.ktrouter,settingsPath:q()})}catch(a){return console.log("Error checking openclaw settings:",a),e.NextResponse.json({error:"Failed to check openclaw settings"},{status:500})}}let v=async(a,b,c,d)=>{await i().mkdir(a,{recursive:!0});let e=k().join(a,"models.json"),f={};try{let a=await i().readFile(e,"utf-8");f=JSON.parse(a)}catch{}f.providers||(f.providers={}),f.providers.ktrouter={baseUrl:c,apiKey:d||"your_api_key",api:"openai-completions",models:[{id:b,name:b.split("/").pop()||b}]},await i().writeFile(e,JSON.stringify(f,null,2))};async function w(a){try{let{baseUrl:b,apiKey:c,model:d,agentModels:f={}}=await a.json();if(!b||!d)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let g=p(),h=q();await i().mkdir(g,{recursive:!0});let j={};try{let a=await i().readFile(h,"utf-8");j=JSON.parse(a)}catch{}j.agents||(j.agents={}),j.agents.defaults||(j.agents.defaults={}),j.agents.defaults.model||(j.agents.defaults.model={}),j.agents.defaults.models||(j.agents.defaults.models={}),j.models||(j.models={}),j.models.providers||(j.models.providers={});let k=b.endsWith("/v1")?b:`${b}/v1`,l=`ktrouter/${d}`;Object.keys(j.agents.defaults.models).filter(a=>a.startsWith("ktrouter/")).forEach(a=>{delete j.agents.defaults.models[a]}),j.agents.defaults.model.primary=l;let m=new Set([d]);return Object.values(f).forEach(a=>{a&&m.add(a)}),m.forEach(a=>{j.agents.defaults.models[`ktrouter/${a}`]={}}),j.agents.list&&(j.agents.list=j.agents.list.map(a=>{if(a.model?.startsWith("ktrouter/")){let{model:b,...c}=a;return c}return a})),j.models.providers.ktrouter={baseUrl:k,apiKey:c||"your_api_key",api:"openai-completions",models:[...m].map(a=>({id:a,name:a.split("/").pop()||a}))},j.agents.list&&(j.agents.list=j.agents.list.map(a=>{let b=f[a.id];return b?{...a,model:`ktrouter/${b}`}:a}),await Promise.all(j.agents.list.map(async a=>{if(!a.agentDir)return;let b=f[a.id];await v(a.agentDir,b||d,k,c)}))),await i().writeFile(h,JSON.stringify(j,null,2)),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:h})}catch(a){return console.log("Error updating openclaw settings:",a),e.NextResponse.json({error:"Failed to update openclaw settings"},{status:500})}}async function x(){try{let a=q(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}if(b.models&&b.models.providers&&(delete b.models.providers.ktrouter,0===Object.keys(b.models.providers).length&&delete b.models.providers),b.agents?.defaults?.models){for(let a of Object.keys(b.agents.defaults.models).filter(a=>a.startsWith("ktrouter/")))delete b.agents.defaults.models[a];0===Object.keys(b.agents.defaults.models).length&&delete b.agents.defaults.models}return b.agents?.defaults?.model?.primary?.startsWith("ktrouter/")&&delete b.agents.defaults.model.primary,await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting openclaw settings:",a),e.NextResponse.json({error:"Failed to reset openclaw settings"},{status:500})}}(0,n.D)([u,w,x]),(0,d.A)(u,"00bb7fdb2a168620324945780380941c22617044e9",null),(0,d.A)(w,"40ba87684c96e56df0168b087b2cf0310cb8c2837f",null),(0,d.A)(x,"00f9bff63999cc13c07d7113da2e51f08cd3de15d6",null)},8304:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".local","share","kilo"),q=()=>k().join(p(),"auth.json"),r=()=>k().join(m().homedir(),".config","Code","User","settings.json"),s=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["kilo"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async a=>{try{let b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await t(q());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasKTRouter:(a=>{if(!a)return!1;let b=a["openai-compatible"]||a.ktrouter;if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||c.includes("ktrouter")})(a),authPath:q()})}catch(a){return console.log("Error checking kilo settings:",a),e.NextResponse.json({error:"Failed to check kilo settings"},{status:500})}}async function v(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(p(),{recursive:!0});let f=b.endsWith("/v1")?b:`${b}/v1`,g=await t(q())||{};g["openai-compatible"]={type:"api-key",apiKey:c,baseUrl:f,model:d},await i().writeFile(q(),JSON.stringify(g,null,2));try{let a=await t(r())||{};a["kilocode.customProvider"]={name:"KTRouter",baseURL:f,apiKey:c},a["kilocode.defaultModel"]=d,await i().writeFile(r(),JSON.stringify(a,null,2))}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:q()})}catch(a){return console.log("Error updating kilo settings:",a),e.NextResponse.json({error:"Failed to update kilo settings"},{status:500})}}async function w(){try{let a=await t(q());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});delete a["openai-compatible"],delete a.ktrouter,await i().writeFile(q(),JSON.stringify(a,null,2));try{let a=await t(r());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await i().writeFile(r(),JSON.stringify(a,null,2)))}catch{}return e.NextResponse.json({success:!0,message:"KTRouter settings removed from Kilo Code"})}catch(a){return console.log("Error resetting kilo settings:",a),e.NextResponse.json({error:"Failed to reset kilo settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"0085dc6a2d038ae081e5f6225e65dfcab965f0389d",null),(0,d.A)(v,"40325ec9dcec982a0704c851deac67d6e75cf96cc4",null),(0,d.A)(w,"00cc300dca57cbaf900e2839dd2b06b414d6b0ee3a",null)},8643:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(19593);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/all-statuses/route",pathname:"/api/cli-tools/all-statuses",filename:"route",bundlePath:"app/api/cli-tools/all-statuses/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"D:\\code\\9router\\src\\app\\api\\cli-tools\\all-statuses\\route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/all-statuses/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14833:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>v,GET:()=>s,POST:()=>t});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>{let a=m().homedir();return k().join(a,".claude","settings.json")},q=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["claude"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(p()),!0}catch{return!1}}},r=async()=>{try{let a=p(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function s(){try{if(!await q())return e.NextResponse.json({installed:!1,settings:null,message:"Claude CLI is not installed"});let a=await r(),b=!!a?.env?.ANTHROPIC_BASE_URL;return e.NextResponse.json({installed:!0,settings:a,hasKTRouter:b,settingsPath:p()})}catch(a){return console.log("Error checking claude settings:",a),e.NextResponse.json({error:"Failed to check claude settings"},{status:500})}}async function t(a){try{let{env:b}=await a.json();if(!b||"object"!=typeof b)return e.NextResponse.json({error:"Invalid env object"},{status:400});let c=p(),d=k().dirname(c);await i().mkdir(d,{recursive:!0});let f={};try{let a=await i().readFile(c,"utf-8");f=JSON.parse(a)}catch(a){if("ENOENT"!==a.code)throw a}b.ANTHROPIC_BASE_URL&&(b.ANTHROPIC_BASE_URL=b.ANTHROPIC_BASE_URL.endsWith("/v1")?b.ANTHROPIC_BASE_URL:`${b.ANTHROPIC_BASE_URL}/v1`);let g={...f,hasCompletedOnboarding:!0,env:{...f.env||{},...b}};return await i().writeFile(c,JSON.stringify(g,null,2)),e.NextResponse.json({success:!0,message:"Settings updated successfully"})}catch(a){return console.log("Error updating claude settings:",a),e.NextResponse.json({error:"Failed to update claude settings"},{status:500})}}let u=["ANTHROPIC_BASE_URL","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","API_TIMEOUT_MS"];async function v(){try{let a=p(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}return b.env&&(u.forEach(a=>{delete b.env[a]}),0===Object.keys(b.env).length&&delete b.env),await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"Settings reset successfully"})}catch(a){return console.log("Error resetting claude settings:",a),e.NextResponse.json({error:"Failed to reset claude settings"},{status:500})}}(0,n.D)([s,t,v]),(0,d.A)(s,"008376f6a6cfa61d083cb0148892fd13003e51c557",null),(0,d.A)(t,"40f3f9b45d8fb157ed8023c8918e48ce659c9c5389",null),(0,d.A)(v,"00b9ce018b0b1af625ce98d4752266e890191d0420",null)},19593:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>t});var d=c(49796),e=c(23211),f=c(14833),g=c(58750),h=c(72452),i=c(29657),j=c(4126),k=c(21757),l=c(21350),m=c(20703),n=c(46298),o=c(8304),p=c(67116),q=c(48074),r=c(24424);let s={claude:f.GET,codex:g.GET,opencode:h.GET,droid:i.GET,openclaw:j.GET,hermes:k.GET,cowork:l.GET,copilot:m.GET,cline:n.GET,kilo:o.GET,"deepseek-tui":p.GET,jcode:q.GET};async function t(){let a=await Promise.all(Object.entries(s).map(async([a,b])=>{try{let c=await b(),d=await c.json();return[a,d]}catch{return[a,null]}}));return e.NextResponse.json(Object.fromEntries(a))}(0,r.D)([t]),(0,d.A)(t,"0034e825c922bca285b9c8f7e962485831cc7c4d78",null)},20703:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(24424);let m=()=>{let a=k().homedir(),b=k().platform();return"win32"===b?i().join(process.env.APPDATA||a,"Code","User","chatLanguageModels.json"):"darwin"===b?i().join(a,"Library","Application Support","Code","User","chatLanguageModels.json"):i().join(a,".config","Code","User","chatLanguageModels.json")},n=async()=>{try{let a=await g().readFile(m(),"utf-8");return JSON.parse(a)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function o(){try{let a=await n(),b=Array.isArray(a)&&a.find(a=>"KTRouter"===a.name)||null;return e.NextResponse.json({installed:!0,config:a,hasKTRouter:!!Array.isArray(a)&&a.some(a=>"KTRouter"===a.name),configPath:m(),currentModel:b?.models?.[0]?.id||null,currentUrl:b?.models?.[0]?.url||null})}catch(a){return console.log("Error checking copilot settings:",a),e.NextResponse.json({error:"Failed to check copilot settings"},{status:500})}}async function p(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!d?.length)return e.NextResponse.json({error:"baseUrl and models are required"},{status:400});let f=m();await g().mkdir(i().dirname(f),{recursive:!0});let h=[];try{let a=await g().readFile(f,"utf-8"),b=JSON.parse(a);h=Array.isArray(b)?b:[]}catch{}let j=`${b}/chat/completions#models.ai.azure.com`,k={name:"KTRouter",vendor:"azure",apiKey:c||"sk_ktrouter",models:d.map(a=>({id:a,name:a,url:j,toolCalling:!0,vision:!1,maxInputTokens:128e3,maxOutputTokens:16e3}))},l=h.findIndex(a=>"KTRouter"===a.name);return l>=0?h[l]=k:h.push(k),await g().writeFile(f,JSON.stringify(h,null,2)),e.NextResponse.json({success:!0,message:"Copilot settings applied! Reload VS Code to take effect.",configPath:f})}catch(a){return console.log("Error updating copilot settings:",a),e.NextResponse.json({error:"Failed to update copilot settings"},{status:500})}}async function q(){try{let a=m(),b=[];try{let c=await g().readFile(a,"utf-8"),d=JSON.parse(c);b=Array.isArray(d)?d:[]}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}return b=b.filter(a=>"KTRouter"!==a.name),await g().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter removed from Copilot config"})}catch(a){return console.log("Error resetting copilot settings:",a),e.NextResponse.json({error:"Failed to reset copilot settings"},{status:500})}}(0,l.D)([o,p,q]),(0,d.A)(o,"00a01a0db1d4d43da5ac4c53f282d35d297a4e7d4e",null),(0,d.A)(p,"404bb03970cff2d843e6fcdaf65c5e57dd172b4f6d",null),(0,d.A)(q,"00047b8591d312484cceeb81225351f0b49906cbd3",null)},21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>y,GET:()=>w,POST:()=>x});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".hermes"),q=()=>k().join(p(),"config.yaml"),r=()=>k().join(p(),".env"),s=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,t=async()=>{try{let a="win32"===m().platform();return await o(a?"where":"which",["hermes"],{windowsHide:!0}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},u=async()=>{try{return await i().readFile(q(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}},v=async()=>{try{return await i().readFile(r(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}};async function w(){try{if(!await t())return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let a=await u(),b=(a=>{let b=a.match(s);if(!b)return null;let c=b[1]||"",d=a=>{let b=c.match(RegExp(`^[ \\t]+${a}:[ ]*["']?([^"'\\r\\n]+)["']?`,"m"));return b?b[1].trim():null};return{default:d("default"),provider:d("provider"),base_url:d("base_url")}})(a);return e.NextResponse.json({installed:!0,settings:{model:b},hasKTRouter:!!b?.base_url&&"custom"===b.provider&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(b.base_url),configPath:q()})}catch(a){return console.log("Error checking hermes settings:",a),e.NextResponse.json({error:"Failed to check hermes settings"},{status:500})}}async function x(a){try{var b,c,d,f;let{baseUrl:g,apiKey:h,model:j}=await a.json();if(!g||!j)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let k=p();await i().mkdir(k,{recursive:!0});let l=g.endsWith("/v1")?g:`${g}/v1`,m=(b=await u(),c=`model:
2
2
  default: "${j}"
3
3
  provider: "custom"
4
4
  base_url: "${l}"
@@ -6,12 +6,12 @@
6
6
  ${b}`:c);if(await i().writeFile(q(),m),h){let a,b,c=(d=await v(),f="OPENAI_API_KEY",a=RegExp(`^${f}=.*$`,"m"),b=`${f}=${h}`,a.test(d)?d.replace(a,b):d.length>0&&!d.endsWith("\n")?`${d}
7
7
  ${b}
8
8
  `:`${d}${b}
9
- `);await i().writeFile(r(),c)}return e.NextResponse.json({success:!0,message:"Hermes settings applied successfully!",configPath:q()})}catch(a){return console.log("Error updating hermes settings:",a),e.NextResponse.json({error:"Failed to update hermes settings"},{status:500})}}async function y(){try{let a=q(),b="";try{b=await i().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}let c=b.replace(s,"").replace(/^\n+/,"");return await i().writeFile(a,c),e.NextResponse.json({success:!0,message:"ktrouter model block removed"})}catch(a){return console.log("Error resetting hermes settings:",a),e.NextResponse.json({error:"Failed to reset hermes settings"},{status:500})}}(0,n.D)([w,x,y]),(0,d.A)(w,"002ba69bbeb2bfa2a0c8a9986516f9012ca0fdaa35",null),(0,d.A)(x,"40a70acbfa42c8f0fc4b72875c2ea311b75bad710f",null),(0,d.A)(y,"0054286592d9b4dd27b12de32c1be90ba6e3f36618",null)},21820:a=>{a.exports=require("os")},22486:(a,b,c)=>{c.r(b),c.d(b,{"001178068aa48650aa099d243365e8fb5f4cf394c0":()=>h.GET,"001792cb8c7499ea655978522bfc3de48280d47f17":()=>e.DELETE,"00238ecae47a325de562bea5647cb6510e291e3a4a":()=>n.DELETE,"002aed9468db085e834db165e46eea3e910703d922":()=>p.GET,"002ba69bbeb2bfa2a0c8a9986516f9012ca0fdaa35":()=>j.GET,"003541aca44f942ffb532c6de44fd603be9d389b1a":()=>f.GET,"003e7138882032ee12d5895e0524495714d858cbcb":()=>m.DELETE,"0054286592d9b4dd27b12de32c1be90ba6e3f36618":()=>j.DELETE,"006574ae4c0faebc0ff29c9e06109fccb64344091a":()=>i.DELETE,"0067c43119a0009c17ddc55089dd43de6b4ba88e23":()=>l.DELETE,"0073e116981c45ded7e7cdde9cce667ad52eb7c09a":()=>m.GET,"0074c5b91b99766f506465dc8b2104ef38e6721987":()=>i.GET,"00904520038bed827e5b341eef4ff63001d6958d27":()=>l.GET,"009418fcb5522168110ef0402f3cc4fddaae66e76c":()=>d.GET,"009d0252771654d3c9cec9b7163a61ca49582b70a8":()=>f.DELETE,"009e602f28c8c063f2aa9af5038e9a4a4e56812f36":()=>p.DELETE,"00bfe6339751c52e127a94697754bb78df9afa98f3":()=>k.DELETE,"00c3bd1f6ee873495cc29f6752ff1a94cc7d2b300f":()=>k.GET,"00ca0d1bd246ea950c47f37d30ef72839d8cd94948":()=>o.GET,"00d41745de5ec7a027c00280af1b27bbfea9d42b1d":()=>g.GET,"00e27d968aea9f8fb7fd1a0839631a89fafef3f2df":()=>o.DELETE,"00e52e8aafe1a5df1ca5d010df3d3c8054c4383cd6":()=>h.DELETE,"00f6bfa6b76b3d8339db7f450969e85da2101f9020":()=>n.GET,"00ffd54911ae5dfb4da80fff46418385ef402d3927":()=>e.GET,"400f93f51afd40ca2135903e9c21ad1010a740eb69":()=>f.POST,"4041db1113759f73140b3c819a1b6d2ba6c889254e":()=>k.POST,"405e7f7fa0e9424df5eb8b48823103d6da12bc20f7":()=>h.POST,"4065eea03e4441f36d447abf78b79c35dc16ab1fc1":()=>o.POST,"4072fb04c7e3e60bfdd6cf9f6c6dd8b062fc45d260":()=>g.POST,"407fabb2b4e9f4f73badbc9b7298f4036aa560901d":()=>i.POST,"40939687afaeb4aa80e3eab935a534feb808fd69a2":()=>g.PATCH,"4096864d0eae9619703f6ee15e00ec8d80a452703e":()=>p.POST,"409d02974fe433899da8021f52fd96bc317dfa9509":()=>m.POST,"40a1fd371486cae3052d585aa0151cca5ad3fad705":()=>n.POST,"40a70acbfa42c8f0fc4b72875c2ea311b75bad710f":()=>j.POST,"40ae6365c0c533d19e317b53578aba7db29a812900":()=>l.POST,"40d74d09a00056bb98539fcd0021795effff97575f":()=>g.DELETE,"40fff2e400da7fd8e6baf43ce0688f33401a4f954e":()=>e.POST});var d=c(19593),e=c(14833),f=c(58750),g=c(72452),h=c(29657),i=c(4126),j=c(21757),k=c(21350),l=c(20703),m=c(46298),n=c(8304),o=c(67116),p=c(48074)},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29657:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>v,GET:()=>t,POST:()=>u});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".factory"),q=()=>k().join(p(),"settings.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["droid"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=q(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function t(){try{if(!await r())return e.NextResponse.json({installed:!1,settings:null,message:"Factory Droid CLI is not installed"});let a=await s();return e.NextResponse.json({installed:!0,settings:a,hasKTRouter:!!a&&!!a.customModels&&a.customModels.some(a=>a.id?.startsWith("custom:KTRouter")),settingsPath:q()})}catch(a){return console.log("Error checking droid settings:",a),e.NextResponse.json({error:"Failed to check droid settings"},{status:500})}}async function u(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g}=await a.json(),h=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===h.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let j=p(),k=q();await i().mkdir(j,{recursive:!0});let l={};try{let a=await i().readFile(k,"utf-8");l=JSON.parse(a)}catch{}l.customModels||(l.customModels=[]),l.customModels=l.customModels.filter(a=>!a.id?.startsWith("custom:KTRouter"));let m=b.endsWith("/v1")?b:`${b}/v1`,n=c||"your_api_key",o=0;if("string"==typeof g)if(""===g)o=-1;else{let a=h.indexOf(g);o=a>=0?a:0}for(let a=0;a<h.length;a++){let b=h[a];b&&"string"==typeof b&&l.customModels.push({model:b,id:`custom:KTRouter-${a}`,index:a,baseUrl:m,apiKey:n,displayName:b,maxOutputTokens:131072,noImageSupport:!1,provider:"openai"})}if(o>=0&&l.customModels[o]){let[a]=l.customModels.splice(o,1);l.customModels.unshift({...a,index:0}),l.customModels.forEach((a,b)=>{a.index=b})}return await i().writeFile(k,JSON.stringify(l,null,2)),e.NextResponse.json({success:!0,message:"Factory Droid settings applied successfully!",settingsPath:k})}catch(a){return console.log("Error updating droid settings:",a),e.NextResponse.json({error:"Failed to update droid settings"},{status:500})}}async function v(){try{let a=q(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}return b.customModels&&(b.customModels=b.customModels.filter(a=>!a.id?.startsWith("custom:KTRouter")),0===b.customModels.length&&delete b.customModels),await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting droid settings:",a),e.NextResponse.json({error:"Failed to reset droid settings"},{status:500})}}(0,n.D)([t,u,v]),(0,d.A)(t,"001178068aa48650aa099d243365e8fb5f4cf394c0",null),(0,d.A)(u,"405e7f7fa0e9424df5eb8b48823103d6da12bc20f7",null),(0,d.A)(v,"00e52e8aafe1a5df1ca5d010df3d3c8054c4383cd6",null)},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46298:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".cline","data"),q=()=>k().join(p(),"globalState.json"),r=()=>k().join(p(),"secrets.json"),s=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["cline"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async a=>{try{let b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"Cline CLI is not installed"});let a=await t(q());return e.NextResponse.json({installed:!0,settings:{actModeApiProvider:a?.actModeApiProvider,planModeApiProvider:a?.planModeApiProvider,openAiBaseUrl:a?.openAiBaseUrl,openAiModelId:a?.openAiModelId},hasKTRouter:(a=>{if(!a)return!1;let b="openai"===a.actModeApiProvider||"openai"===a.planModeApiProvider,c=a.openAiBaseUrl||"";return b&&(c.includes("localhost")||c.includes("127.0.0.1")||c.includes("ktrouter"))})(a),globalStatePath:q()})}catch(a){return console.log("Error checking cline settings:",a),e.NextResponse.json({error:"Failed to check cline settings"},{status:500})}}async function v(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(p(),{recursive:!0});let f=b.endsWith("/v1")?b.slice(0,-3):b,g=await t(q())||{};g.actModeApiProvider="openai",g.planModeApiProvider="openai",g.openAiBaseUrl=f,g.openAiModelId=d,g.planModeOpenAiModelId=d,await i().writeFile(q(),JSON.stringify(g,null,2));let h=await t(r())||{};return h.openAiApiKey=c,await i().writeFile(r(),JSON.stringify(h,null,2)),e.NextResponse.json({success:!0,message:"Cline settings applied successfully!",globalStatePath:q()})}catch(a){return console.log("Error updating cline settings:",a),e.NextResponse.json({error:"Failed to update cline settings"},{status:500})}}async function w(){try{let a=await t(q());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});"openai"===a.actModeApiProvider&&(delete a.openAiBaseUrl,delete a.openAiModelId,delete a.planModeOpenAiModelId,a.actModeApiProvider="cline",a.planModeApiProvider="cline"),await i().writeFile(q(),JSON.stringify(a,null,2));let b=await t(r())||{};return delete b.openAiApiKey,await i().writeFile(r(),JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed from Cline"})}catch(a){return console.log("Error resetting cline settings:",a),e.NextResponse.json({error:"Failed to reset cline settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"0073e116981c45ded7e7cdde9cce667ad52eb7c09a",null),(0,d.A)(v,"409d02974fe433899da8021f52fd96bc317dfa9509",null),(0,d.A)(w,"003e7138882032ee12d5895e0524495714d858cbcb",null)},48074:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>A,GET:()=>y,POST:()=>z});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(79646),m=c(28354),n=c(52750),o=c(24424);let p=(0,m.promisify)(l.execFile),q=()=>i().join(k().homedir(),".jcode"),r=()=>i().join(q(),"config.toml"),s=()=>{let a=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(a,"jcode","provider-ktrouter.env")},t=async()=>{try{let a="win32"===k().platform();return await p(a?"where":"which",["jcode"],{windowsHide:!0}),!0}catch{try{return await g().access(q()),!0}catch{return!1}}},u=async()=>{try{let a=r(),b=await g().readFile(a,"utf-8");return(0,n.M)(b)}catch(a){return{providers:{}}}},v=async a=>{let b=r(),c=(0,n.q)(a);await g().writeFile(b,c,"utf-8")},w=async()=>{try{let a=s(),b=await g().readFile(a,"utf-8"),c={};for(let a of b.split("\n")){let b=a.trim();if(!b||b.startsWith("#"))continue;let d=b.indexOf("=");if(d>0){let a=b.slice(0,d).trim(),e=b.slice(d+1).trim();(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),c[a]=e}}return c}catch{return{}}},x=async a=>{let b=s(),c="# jcode provider environment variables\n";for(let[b,d]of Object.entries(a))c+=`${b}="${d}"
10
- `;await g().writeFile(b,c,"utf-8")};async function y(){if(!await t())return e.NextResponse.json({installed:!1,message:"jcode not installed. Install via: curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash"});let a=await u(),b=(a=>{if(!a||!a.providers)return!1;let b=a.providers;if(b.ktrouter)return!0;for(let[a,c]of Object.entries(b))if(c.base_url&&c.base_url.includes("localhost:3008"))return!0;return!1})(a);return e.NextResponse.json({installed:!0,config:a,hasKTRouter:b,configPath:r()})}async function z(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let f=b.endsWith("/v1")?b:`${b}/v1`,h=await u();h.providers||(h.providers={}),h.providers.ktrouter={type:"openai-compatible",base_url:f,auth:"bearer",api_key_env:"JCODE_9ROUTER_API_KEY",env_file:"provider-ktrouter.env",default_model:d&&d.length>0?d[0]:"cc/claude-opus-4-7",requires_api_key:!0};let j=q();await g().mkdir(j,{recursive:!0}),await v(h);let l=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config"),m=i().join(l,"jcode");await g().mkdir(m,{recursive:!0});let n=await w();return n.JCODE_9ROUTER_API_KEY=c,await x(n),e.NextResponse.json({success:!0,message:"jcode configured successfully. Use: jcode --provider-profile ktrouter",configPath:r()})}catch(a){return console.error("Error configuring jcode:",a),e.NextResponse.json({error:a.message},{status:500})}}async function A(){try{let a=await u();if(!a.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});delete a.providers.ktrouter,await v(a);let b=await w();return delete b.JCODE_9ROUTER_API_KEY,await x(b),e.NextResponse.json({success:!0,message:"ktrouter configuration removed from jcode"})}catch(a){return console.error("Error removing jcode configuration:",a),e.NextResponse.json({error:a.message},{status:500})}}(0,o.D)([y,z,A]),(0,d.A)(y,"002aed9468db085e834db165e46eea3e910703d922",null),(0,d.A)(z,"4096864d0eae9619703f6ee15e00ec8d80a452703e",null),(0,d.A)(A,"009e602f28c8c063f2aa9af5038e9a4a4e56812f36",null)},55511:a=>{a.exports=require("crypto")},57554:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(19593);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/all-statuses/route",pathname:"/api/cli-tools/all-statuses",filename:"route",bundlePath:"app/api/cli-tools/all-statuses/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\api\\cli-tools\\all-statuses\\route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/all-statuses/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},58750:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>B,GET:()=>z,POST:()=>A});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(52750),o=c(24424);let p=(0,g.promisify)(f.execFile),q=()=>k().join(m().homedir(),".codex"),r=()=>k().join(q(),"config.toml"),s=()=>k().join(q(),"auth.json"),t=a=>{if(!a||"string"!=typeof a)return!1;let b=a.indexOf("/");return b>0&&b<a.length-1},u=a=>a??{},v=(a,b,c)=>{let d=b.split("."),e=a;for(let a=0;a<d.length-1;a++)(null==e[d[a]]||"object"!=typeof e[d[a]])&&(e[d[a]]={}),e=e[d[a]];e[d[d.length-1]]=c},w=(a,b)=>{let c=b.split("."),d=a;for(let a=0;a<c.length-1;a++)if(null==(d=d?.[c[a]]))return;delete d[c[c.length-1]]},x=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await p(a?"where":"which",["codex"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(r()),!0}catch{return!1}}},y=async()=>{try{let a=r();return{content:await i().readFile(a,"utf-8"),format:"toml",path:a}}catch(a){if("ENOENT"===a.code)return null;throw a}};async function z(){try{if(!await x())return e.NextResponse.json({installed:!1,config:null,message:"Codex CLI is not installed"});let a=await y(),b=a?.content||null;return e.NextResponse.json({installed:!0,config:b,hasKTRouter:!!b&&(b.includes('model_provider = "ktrouter"')||b.includes("[model_providers.quoctai]")),configPath:a?.path||r(),configFormat:"toml"})}catch(a){return console.log("Error checking codex settings:",a),e.NextResponse.json({error:"Failed to check codex settings"},{status:500})}}async function A(a){try{let{baseUrl:b,apiKey:c,model:d,subagentModel:f,reasoningEffort:g,wireApi:h}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});if(!t(d))return e.NextResponse.json({error:"Codex model must use direct provider/model format; combos and bare aliases are not supported"},{status:400});if(f&&!t(f))return e.NextResponse.json({error:"Codex subagent model must use direct provider/model format, or be omitted"},{status:400});let j=q(),k=r();await i().mkdir(j,{recursive:!0});let l={};try{let a=await i().readFile(k,"utf-8");l=u((0,n.M)(a))}catch{}l.model=d,l.model_provider="quoctai",g&&"none"!==g?l.model_reasoning_effort=g:delete l.model_reasoning_effort;let m=b.endsWith("/v1")?b:`${b}/v1`;v(l,"model_providers.quoctai",{name:"QuocTai",base_url:m,wire_api:h||"responses"});let o=f||d;v(l,"agents.subagent",{model:o}),l.model_context_window=1e6,w(l,"notice.model_migrations");let p=(0,n.q)(l);await i().writeFile(k,p);let x=s(),y={};try{let a=await i().readFile(x,"utf-8");y=JSON.parse(a)}catch{}return y.OPENAI_API_KEY=c,y.auth_mode="apikey",await i().writeFile(x,JSON.stringify(y,null,2)),e.NextResponse.json({success:!0,message:"Codex settings applied successfully!",configPath:r()})}catch(a){return console.log("Error updating codex settings:",a),e.NextResponse.json({error:"Failed to update codex settings"},{status:500})}}async function B(){try{let a=r(),b={};try{let c=await i().readFile(a,"utf-8");b=u((0,n.M)(c))}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}"quoctai"===b.model_provider&&(delete b.model,delete b.model_provider),w(b,"model_providers.quoctai"),delete b.model_reasoning_effort,w(b,"notice.model_migrations"),w(b,"agents.subagent");let c=(0,n.q)(b);await i().writeFile(a,c);let d=s();try{let a=await i().readFile(d,"utf-8"),b=JSON.parse(a);delete b.OPENAI_API_KEY,delete b.auth_mode,0===Object.keys(b).length?await i().unlink(d):await i().writeFile(d,JSON.stringify(b,null,2))}catch{}return e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting codex settings:",a),e.NextResponse.json({error:"Failed to reset codex settings"},{status:500})}}(0,o.D)([z,A,B]),(0,d.A)(z,"003541aca44f942ffb532c6de44fd603be9d389b1a",null),(0,d.A)(A,"400f93f51afd40ca2135903e9c21ad1010a740eb69",null),(0,d.A)(B,"009d0252771654d3c9cec9b7163a61ca49582b70a8",null)},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67116:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".deepseek"),q=()=>k().join(p(),"config.toml"),r=`provider = "deepseek"
9
+ `);await i().writeFile(r(),c)}return e.NextResponse.json({success:!0,message:"Hermes settings applied successfully!",configPath:q()})}catch(a){return console.log("Error updating hermes settings:",a),e.NextResponse.json({error:"Failed to update hermes settings"},{status:500})}}async function y(){try{let a=q(),b="";try{b=await i().readFile(a,"utf-8")}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}let c=b.replace(s,"").replace(/^\n+/,"");return await i().writeFile(a,c),e.NextResponse.json({success:!0,message:"ktrouter model block removed"})}catch(a){return console.log("Error resetting hermes settings:",a),e.NextResponse.json({error:"Failed to reset hermes settings"},{status:500})}}(0,n.D)([w,x,y]),(0,d.A)(w,"007271c135c977004c9a2816b3268338231e4bb778",null),(0,d.A)(x,"407a771050c00a54635cc11026e0167cc0aed3b342",null),(0,d.A)(y,"00ae67e39e5cd32a1045768321bfa55fa4ba0832dd",null)},21820:a=>{a.exports=require("os")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},29657:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>v,GET:()=>t,POST:()=>u});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".factory"),q=()=>k().join(p(),"settings.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["droid"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=q(),b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function t(){try{if(!await r())return e.NextResponse.json({installed:!1,settings:null,message:"Factory Droid CLI is not installed"});let a=await s();return e.NextResponse.json({installed:!0,settings:a,hasKTRouter:!!a&&!!a.customModels&&a.customModels.some(a=>a.id?.startsWith("custom:KTRouter")),settingsPath:q()})}catch(a){return console.log("Error checking droid settings:",a),e.NextResponse.json({error:"Failed to check droid settings"},{status:500})}}async function u(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g}=await a.json(),h=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===h.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let j=p(),k=q();await i().mkdir(j,{recursive:!0});let l={};try{let a=await i().readFile(k,"utf-8");l=JSON.parse(a)}catch{}l.customModels||(l.customModels=[]),l.customModels=l.customModels.filter(a=>!a.id?.startsWith("custom:KTRouter"));let m=b.endsWith("/v1")?b:`${b}/v1`,n=c||"your_api_key",o=0;if("string"==typeof g)if(""===g)o=-1;else{let a=h.indexOf(g);o=a>=0?a:0}for(let a=0;a<h.length;a++){let b=h[a];b&&"string"==typeof b&&l.customModels.push({model:b,id:`custom:KTRouter-${a}`,index:a,baseUrl:m,apiKey:n,displayName:b,maxOutputTokens:131072,noImageSupport:!1,provider:"openai"})}if(o>=0&&l.customModels[o]){let[a]=l.customModels.splice(o,1);l.customModels.unshift({...a,index:0}),l.customModels.forEach((a,b)=>{a.index=b})}return await i().writeFile(k,JSON.stringify(l,null,2)),e.NextResponse.json({success:!0,message:"Factory Droid settings applied successfully!",settingsPath:k})}catch(a){return console.log("Error updating droid settings:",a),e.NextResponse.json({error:"Failed to update droid settings"},{status:500})}}async function v(){try{let a=q(),b={};try{let c=await i().readFile(a,"utf-8");b=JSON.parse(c)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No settings file to reset"});throw a}return b.customModels&&(b.customModels=b.customModels.filter(a=>!a.id?.startsWith("custom:KTRouter")),0===b.customModels.length&&delete b.customModels),await i().writeFile(a,JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting droid settings:",a),e.NextResponse.json({error:"Failed to reset droid settings"},{status:500})}}(0,n.D)([t,u,v]),(0,d.A)(t,"00ee23fb4e7cfba3eab808fa7ab03f6c2d9156cb97",null),(0,d.A)(u,"40b495aab32a3b5cfa41809863e5be0f300dcfe71f",null),(0,d.A)(v,"0062f01f7eaceb7978128d1caf874a5d82d40ec0d9",null)},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46298:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".cline","data"),q=()=>k().join(p(),"globalState.json"),r=()=>k().join(p(),"secrets.json"),s=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["cline"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async a=>{try{let b=await i().readFile(a,"utf-8");return JSON.parse(b)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"Cline CLI is not installed"});let a=await t(q());return e.NextResponse.json({installed:!0,settings:{actModeApiProvider:a?.actModeApiProvider,planModeApiProvider:a?.planModeApiProvider,openAiBaseUrl:a?.openAiBaseUrl,openAiModelId:a?.openAiModelId},hasKTRouter:(a=>{if(!a)return!1;let b="openai"===a.actModeApiProvider||"openai"===a.planModeApiProvider,c=a.openAiBaseUrl||"";return b&&(c.includes("localhost")||c.includes("127.0.0.1")||c.includes("ktrouter"))})(a),globalStatePath:q()})}catch(a){return console.log("Error checking cline settings:",a),e.NextResponse.json({error:"Failed to check cline settings"},{status:500})}}async function v(a){try{let{baseUrl:b,apiKey:c,model:d}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});await i().mkdir(p(),{recursive:!0});let f=b.endsWith("/v1")?b.slice(0,-3):b,g=await t(q())||{};g.actModeApiProvider="openai",g.planModeApiProvider="openai",g.openAiBaseUrl=f,g.openAiModelId=d,g.planModeOpenAiModelId=d,await i().writeFile(q(),JSON.stringify(g,null,2));let h=await t(r())||{};return h.openAiApiKey=c,await i().writeFile(r(),JSON.stringify(h,null,2)),e.NextResponse.json({success:!0,message:"Cline settings applied successfully!",globalStatePath:q()})}catch(a){return console.log("Error updating cline settings:",a),e.NextResponse.json({error:"Failed to update cline settings"},{status:500})}}async function w(){try{let a=await t(q());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});"openai"===a.actModeApiProvider&&(delete a.openAiBaseUrl,delete a.openAiModelId,delete a.planModeOpenAiModelId,a.actModeApiProvider="cline",a.planModeApiProvider="cline"),await i().writeFile(q(),JSON.stringify(a,null,2));let b=await t(r())||{};return delete b.openAiApiKey,await i().writeFile(r(),JSON.stringify(b,null,2)),e.NextResponse.json({success:!0,message:"KTRouter settings removed from Cline"})}catch(a){return console.log("Error resetting cline settings:",a),e.NextResponse.json({error:"Failed to reset cline settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"00637dbb4b1dcbcfba6141ccdcade88b27a49cb051",null),(0,d.A)(v,"40c167c49a14173aa4043e067a7bf8e2591f49dc41",null),(0,d.A)(w,"000f5947bc396b09c69da388fcb2c98531b37d6116",null)},48074:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>A,GET:()=>y,POST:()=>z});var d=c(49796),e=c(23211),f=c(79748),g=c.n(f),h=c(33873),i=c.n(h),j=c(21820),k=c.n(j),l=c(79646),m=c(28354),n=c(52750),o=c(24424);let p=(0,m.promisify)(l.execFile),q=()=>i().join(k().homedir(),".jcode"),r=()=>i().join(q(),"config.toml"),s=()=>{let a=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(a,"jcode","provider-ktrouter.env")},t=async()=>{try{let a="win32"===k().platform();return await p(a?"where":"which",["jcode"],{windowsHide:!0}),!0}catch{try{return await g().access(q()),!0}catch{return!1}}},u=async()=>{try{let a=r(),b=await g().readFile(a,"utf-8");return(0,n.M)(b)}catch(a){return{providers:{}}}},v=async a=>{let b=r(),c=(0,n.q)(a);await g().writeFile(b,c,"utf-8")},w=async()=>{try{let a=s(),b=await g().readFile(a,"utf-8"),c={};for(let a of b.split("\n")){let b=a.trim();if(!b||b.startsWith("#"))continue;let d=b.indexOf("=");if(d>0){let a=b.slice(0,d).trim(),e=b.slice(d+1).trim();(e.startsWith('"')&&e.endsWith('"')||e.startsWith("'")&&e.endsWith("'"))&&(e=e.slice(1,-1)),c[a]=e}}return c}catch{return{}}},x=async a=>{let b=s(),c="# jcode provider environment variables\n";for(let[b,d]of Object.entries(a))c+=`${b}="${d}"
10
+ `;await g().writeFile(b,c,"utf-8")};async function y(){if(!await t())return e.NextResponse.json({installed:!1,message:"jcode not installed. Install via: curl -fsSL https://raw.githubusercontent.com/1jehuang/jcode/master/scripts/install.sh | bash"});let a=await u(),b=(a=>{if(!a||!a.providers)return!1;let b=a.providers;if(b.ktrouter)return!0;for(let[a,c]of Object.entries(b))if(c.base_url&&c.base_url.includes("localhost:3008"))return!0;return!1})(a);return e.NextResponse.json({installed:!0,config:a,hasKTRouter:b,configPath:r()})}async function z(a){try{let{baseUrl:b,apiKey:c,models:d}=await a.json();if(!b||!c)return e.NextResponse.json({error:"baseUrl and apiKey are required"},{status:400});let f=b.endsWith("/v1")?b:`${b}/v1`,h=await u();h.providers||(h.providers={}),h.providers.ktrouter={type:"openai-compatible",base_url:f,auth:"bearer",api_key_env:"JCODE_9ROUTER_API_KEY",env_file:"provider-ktrouter.env",default_model:d&&d.length>0?d[0]:"cc/claude-opus-4-7",requires_api_key:!0};let j=q();await g().mkdir(j,{recursive:!0}),await v(h);let l=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config"),m=i().join(l,"jcode");await g().mkdir(m,{recursive:!0});let n=await w();return n.JCODE_9ROUTER_API_KEY=c,await x(n),e.NextResponse.json({success:!0,message:"jcode configured successfully. Use: jcode --provider-profile ktrouter",configPath:r()})}catch(a){return console.error("Error configuring jcode:",a),e.NextResponse.json({error:a.message},{status:500})}}async function A(){try{let a=await u();if(!a.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});delete a.providers.ktrouter,await v(a);let b=await w();return delete b.JCODE_9ROUTER_API_KEY,await x(b),e.NextResponse.json({success:!0,message:"ktrouter configuration removed from jcode"})}catch(a){return console.error("Error removing jcode configuration:",a),e.NextResponse.json({error:a.message},{status:500})}}(0,o.D)([y,z,A]),(0,d.A)(y,"002815c9328d7e28a0444a78f2609aa5a4196104c8",null),(0,d.A)(z,"4098f026a535f64798e7440df65b0a93b9bad6edac",null),(0,d.A)(A,"00911f62b75d3ef5e0065fcfd43a96a36f4b843be9",null)},55511:a=>{a.exports=require("crypto")},58750:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>C,GET:()=>A,POST:()=>B});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(52750),o=c(73818),p=c(24424);let q=(0,g.promisify)(f.execFile),r=()=>k().join(m().homedir(),".codex"),s=()=>k().join(r(),"config.toml"),t=()=>k().join(r(),"auth.json"),u=a=>{if(!a||"string"!=typeof a)return!1;let b=a.indexOf("/");return b>0&&b<a.length-1},v=a=>a??{},w=(a,b,c)=>{let d=b.split("."),e=a;for(let a=0;a<d.length-1;a++)(null==e[d[a]]||"object"!=typeof e[d[a]])&&(e[d[a]]={}),e=e[d[a]];e[d[d.length-1]]=c},x=(a,b)=>{let c=b.split("."),d=a;for(let a=0;a<c.length-1;a++)if(null==(d=d?.[c[a]]))return;delete d[c[c.length-1]]},y=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await q(a?"where":"which",["codex"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(s()),!0}catch{return!1}}},z=async()=>{try{let a=s();return{content:await i().readFile(a,"utf-8"),format:"toml",path:a}}catch(a){if("ENOENT"===a.code)return null;throw a}};async function A(){try{if(!await y())return e.NextResponse.json({installed:!1,config:null,message:"Codex CLI is not installed"});let a=await z(),b=a?.content||null;return e.NextResponse.json({installed:!0,config:b,hasKTRouter:!!b&&(b.includes('model_provider = "ktrouter"')||b.includes("[model_providers.quoctai]")),configPath:a?.path||s(),configFormat:"toml"})}catch(a){return console.log("Error checking codex settings:",a),e.NextResponse.json({error:"Failed to check codex settings"},{status:500})}}async function B(a){try{let{baseUrl:b,apiKey:c,model:d,subagentModel:f,reasoningEffort:g,wireApi:h}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});if(!u(d))return e.NextResponse.json({error:"Codex model must use direct provider/model format; combos and bare aliases are not supported"},{status:400});if(f&&!u(f))return e.NextResponse.json({error:"Codex subagent model must use direct provider/model format, or be omitted"},{status:400});let j=g?(0,o.SP)(g):null;if(g&&!j)return e.NextResponse.json({error:"Unsupported Codex reasoning effort"},{status:400});let k=r(),l=s();await i().mkdir(k,{recursive:!0});let m={};try{let a=await i().readFile(l,"utf-8");m=v((0,n.M)(a))}catch{}m.model=d,m.model_provider="quoctai",j&&"none"!==j?m.model_reasoning_effort=j:delete m.model_reasoning_effort;let p=b.endsWith("/v1")?b:`${b}/v1`;w(m,"model_providers.quoctai",{name:"QuocTai",base_url:p,wire_api:h||"responses"});let q=f||d;w(m,"agents.subagent",{model:q}),x(m,"notice.model_migrations");let y=(0,n.q)(m);await i().writeFile(l,y);let z=t(),A={};try{let a=await i().readFile(z,"utf-8");A=JSON.parse(a)}catch{}return A.OPENAI_API_KEY=c,A.auth_mode="apikey",await i().writeFile(z,JSON.stringify(A,null,2)),e.NextResponse.json({success:!0,message:"Codex settings applied successfully!",configPath:s()})}catch(a){return console.log("Error updating codex settings:",a),e.NextResponse.json({error:"Failed to update codex settings"},{status:500})}}async function C(){try{let a=s(),b={};try{let c=await i().readFile(a,"utf-8");b=v((0,n.M)(c))}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}"quoctai"===b.model_provider&&(delete b.model,delete b.model_provider),x(b,"model_providers.quoctai"),delete b.model_reasoning_effort,x(b,"notice.model_migrations"),x(b,"agents.subagent");let c=(0,n.q)(b);await i().writeFile(a,c);let d=t();try{let a=await i().readFile(d,"utf-8"),b=JSON.parse(a);delete b.OPENAI_API_KEY,delete b.auth_mode,0===Object.keys(b).length?await i().unlink(d):await i().writeFile(d,JSON.stringify(b,null,2))}catch{}return e.NextResponse.json({success:!0,message:"KTRouter settings removed successfully"})}catch(a){return console.log("Error resetting codex settings:",a),e.NextResponse.json({error:"Failed to reset codex settings"},{status:500})}}(0,p.D)([A,B,C]),(0,d.A)(A,"007725b74f0f9046695e62ccdeace31a341bb312f4",null),(0,d.A)(B,"40c4e750a7e9f8d082038e3063143918f375535141",null),(0,d.A)(C,"00cbd62771480a7aed56ff7ad4ba4f41e17753f1ba",null)},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},65624:(a,b,c)=>{c.r(b),c.d(b,{"00047b8591d312484cceeb81225351f0b49906cbd3":()=>l.DELETE,"000f5947bc396b09c69da388fcb2c98531b37d6116":()=>m.DELETE,"002815c9328d7e28a0444a78f2609aa5a4196104c8":()=>p.GET,"0034e825c922bca285b9c8f7e962485831cc7c4d78":()=>d.GET,"0062f01f7eaceb7978128d1caf874a5d82d40ec0d9":()=>h.DELETE,"00637dbb4b1dcbcfba6141ccdcade88b27a49cb051":()=>m.GET,"007271c135c977004c9a2816b3268338231e4bb778":()=>j.GET,"00751bc8525da5bfc59b191167932a8a4454b51b63":()=>k.GET,"007725b74f0f9046695e62ccdeace31a341bb312f4":()=>f.GET,"008376f6a6cfa61d083cb0148892fd13003e51c557":()=>e.GET,"0085dc6a2d038ae081e5f6225e65dfcab965f0389d":()=>n.GET,"00891aa12647c8817eb5b69e9d608cfa332042b8ad":()=>k.DELETE,"00911f62b75d3ef5e0065fcfd43a96a36f4b843be9":()=>p.DELETE,"0096014e9244790ac798def6bc2fdd6bd191cc80e6":()=>o.GET,"00a01a0db1d4d43da5ac4c53f282d35d297a4e7d4e":()=>l.GET,"00a0637cc5906d7b3ce16ee673bd06be595faa6d4a":()=>o.DELETE,"00ae67e39e5cd32a1045768321bfa55fa4ba0832dd":()=>j.DELETE,"00b9ce018b0b1af625ce98d4752266e890191d0420":()=>e.DELETE,"00bb7fdb2a168620324945780380941c22617044e9":()=>i.GET,"00cbd62771480a7aed56ff7ad4ba4f41e17753f1ba":()=>f.DELETE,"00cc300dca57cbaf900e2839dd2b06b414d6b0ee3a":()=>n.DELETE,"00d5a3292642c32c94454ee934fb1d97e63cbe2783":()=>g.GET,"00ee23fb4e7cfba3eab808fa7ab03f6c2d9156cb97":()=>h.GET,"00f9bff63999cc13c07d7113da2e51f08cd3de15d6":()=>i.DELETE,"40151647571b37ef9441cadd09402fe6e567d19fee":()=>o.POST,"40325ec9dcec982a0704c851deac67d6e75cf96cc4":()=>n.POST,"4035b0d1b30b134bef9a36939b2d5bafe0a2b81206":()=>g.PATCH,"404bb03970cff2d843e6fcdaf65c5e57dd172b4f6d":()=>l.POST,"405c5ef5dff8cca60807ae01a9e4df149d5c643827":()=>g.POST,"4074a39a442b51630979707d291d410bf97daabaab":()=>k.POST,"407a771050c00a54635cc11026e0167cc0aed3b342":()=>j.POST,"4098f026a535f64798e7440df65b0a93b9bad6edac":()=>p.POST,"409d6d44fd8cbf50da05290c3962327d7d21b004d0":()=>g.DELETE,"40b495aab32a3b5cfa41809863e5be0f300dcfe71f":()=>h.POST,"40ba87684c96e56df0168b087b2cf0310cb8c2837f":()=>i.POST,"40c167c49a14173aa4043e067a7bf8e2591f49dc41":()=>m.POST,"40c4e750a7e9f8d082038e3063143918f375535141":()=>f.POST,"40f3f9b45d8fb157ed8023c8918e48ce659c9c5389":()=>e.POST});var d=c(19593),e=c(14833),f=c(58750),g=c(72452),h=c(29657),i=c(4126),j=c(21757),k=c(21350),l=c(20703),m=c(46298),n=c(8304),o=c(67116),p=c(48074)},67116:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>u,POST:()=>v});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".deepseek"),q=()=>k().join(p(),"config.toml"),r=`provider = "deepseek"
11
11
  `,s=async()=>{try{let a="win32"===m().platform();return await o(a?"where":"which",["deepseek"],{windowsHide:!0}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},t=async()=>{try{return await i().readFile(q(),"utf-8")}catch(a){if("ENOENT"===a.code)return"";throw a}};async function u(){try{if(!await s())return e.NextResponse.json({installed:!1,settings:null,message:"DeepSeek TUI is not installed"});let a=await t(),b=(a=>{let b={},c=b;for(let d of a.split(/\r?\n/)){let a=d.trim();if(!a||a.startsWith("#"))continue;let e=a.match(/^\[([^\]]+)\]$/);if(e){let a=e[1];b[a]||(b[a]={}),c=b[a];continue}let f=a.match(/^(\w+)\s*=\s*"([^"]*)"$/);if(f){c[f[1]]=f[2];continue}let g=a.match(/^(\w+)\s*=\s*(.+)$/);g&&(c[g[1]]=g[2].trim())}return b})(a);return e.NextResponse.json({installed:!0,settings:b,hasKTRouter:(a=>{if(!a||"openai"!==a.provider)return!1;let b=a["providers.openai"];return!!b?.base_url&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(b.base_url)})(b),configPath:q()})}catch(a){return console.log("Error checking deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to check deepseek-tui settings"},{status:500})}}async function v(a){try{var b;let c,{baseUrl:d,apiKey:f,model:g}=await a.json();if(!d||!g)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});let h=p();await i().mkdir(h,{recursive:!0});let j=(b=f||"sk_ktrouter",c=d.endsWith("/v1")?d:`${d}/v1`,`provider = "openai"
12
12
 
13
13
  [providers.openai]
14
14
  base_url = "${c}"
15
15
  api_key = "${b}"
16
16
  model = "${g}"
17
- `);return await i().writeFile(q(),j),e.NextResponse.json({success:!0,message:"DeepSeek TUI settings applied successfully!",configPath:q()})}catch(a){return console.log("Error updating deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to update deepseek-tui settings"},{status:500})}}async function w(){try{let a=q();try{await i().access(a)}catch{return e.NextResponse.json({success:!0,message:"No config file to reset"})}return await i().writeFile(a,r),e.NextResponse.json({success:!0,message:"ktrouter config reset to DeepSeek defaults"})}catch(a){return console.log("Error resetting deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to reset deepseek-tui settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"00ca0d1bd246ea950c47f37d30ef72839d8cd94948",null),(0,d.A)(v,"4065eea03e4441f36d447abf78b79c35dc16ab1fc1",null),(0,d.A)(w,"00e27d968aea9f8fb7fd1a0839631a89fafef3f2df",null)},72452:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>t,PATCH:()=>v,POST:()=>u});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".config","opencode"),q=()=>k().join(p(),"opencode.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["opencode"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=await i().readFile(q(),"utf-8");return JSON.parse(a)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function t(){try{if(!await r())return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await s(),b=a?.provider?.ktrouter,c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasKTRouter:!!a?.provider&&!!a.provider.ktrouter,configPath:q(),opencode:{models:Object.keys(c),activeModel:a?.model?.startsWith("ktrouter/")?a.model.replace(/^ktrouter\//,""):null,baseURL:b?.options?.baseURL||null}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function u(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),j=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===j.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=p(),l=q();await i().mkdir(k,{recursive:!0});let m={};try{let a=await i().readFile(l,"utf-8");m=JSON.parse(a)}catch{}let n=b.endsWith("/v1")?b:`${b}/v1`,o=h||j[0];m.provider||(m.provider={});let r=m.provider.ktrouter||{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let a of(r.options={...r.options,baseURL:n,apiKey:c||"sk_ktrouter"},r.models=r.models||{},j))a&&"string"==typeof a&&(r.models[a]={name:a});if(m.provider.ktrouter=r,""===g)m.model="";else{let a=g||j[0];a&&(m.model=`ktrouter/${a}`)}return m.agent||(m.agent={}),m.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:`ktrouter/${o}`},await i().writeFile(l,JSON.stringify(m,null,2)),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:l})}catch(a){return console.log("Error applying opencode settings:",a),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function v(a){try{let{clearActiveModel:b}=await a.json(),c=q(),d={};try{let a=await i().readFile(c,"utf-8");d=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file found"});throw a}return!0===b&&d.model?.startsWith("ktrouter/")&&(d.model=""),await i().writeFile(c,JSON.stringify(d,null,2)),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return console.log("Error patching opencode settings:",a),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function w(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=q(),f={};try{let a=await i().readFile(d,"utf-8");f=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}if(c&&f.provider?.ktrouter?.models){if(delete f.provider.ktrouter.models[c],0===Object.keys(f.provider.ktrouter.models).length)delete f.provider.ktrouter,f.model?.startsWith("ktrouter/")&&delete f.model;else if(f.model===`ktrouter/${c}`){let a=Object.keys(f.provider.ktrouter.models);f.model=`ktrouter/${a[0]}`}}else f.provider&&delete f.provider.ktrouter,f.model?.startsWith("ktrouter/")&&delete f.model;return f.agent?.explorer?.model?.startsWith("ktrouter/")&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await i().writeFile(d,JSON.stringify(f,null,2)),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:"KTRouter settings removed from OpenCode"})}catch(a){return console.log("Error resetting opencode settings:",a),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,n.D)([t,u,v,w]),(0,d.A)(t,"00d41745de5ec7a027c00280af1b27bbfea9d42b1d",null),(0,d.A)(u,"4072fb04c7e3e60bfdd6cf9f6c6dd8b062fc45d260",null),(0,d.A)(v,"40939687afaeb4aa80e3eab935a534feb808fd69a2",null),(0,d.A)(w,"40d74d09a00056bb98539fcd0021795effff97575f",null)},73024:a=>{a.exports=require("node:fs")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,9528,5681,4404,4820,4746],()=>b(b.s=57554));module.exports=c})();
17
+ `);return await i().writeFile(q(),j),e.NextResponse.json({success:!0,message:"DeepSeek TUI settings applied successfully!",configPath:q()})}catch(a){return console.log("Error updating deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to update deepseek-tui settings"},{status:500})}}async function w(){try{let a=q();try{await i().access(a)}catch{return e.NextResponse.json({success:!0,message:"No config file to reset"})}return await i().writeFile(a,r),e.NextResponse.json({success:!0,message:"ktrouter config reset to DeepSeek defaults"})}catch(a){return console.log("Error resetting deepseek-tui settings:",a),e.NextResponse.json({error:"Failed to reset deepseek-tui settings"},{status:500})}}(0,n.D)([u,v,w]),(0,d.A)(u,"0096014e9244790ac798def6bc2fdd6bd191cc80e6",null),(0,d.A)(v,"40151647571b37ef9441cadd09402fe6e567d19fee",null),(0,d.A)(w,"00a0637cc5906d7b3ce16ee673bd06be595faa6d4a",null)},72452:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>w,GET:()=>t,PATCH:()=>v,POST:()=>u});var d=c(49796),e=c(23211),f=c(79646),g=c(28354),h=c(79748),i=c.n(h),j=c(33873),k=c.n(j),l=c(21820),m=c.n(l),n=c(24424);let o=(0,g.promisify)(f.execFile),p=()=>k().join(m().homedir(),".config","opencode"),q=()=>k().join(p(),"opencode.json"),r=async()=>{try{let a="win32"===m().platform(),b=a?{...process.env,PATH:`${process.env.APPDATA}\\npm;${process.env.PATH}`}:process.env;return await o(a?"where":"which",["opencode"],{windowsHide:!0,env:b}),!0}catch{try{return await i().access(q()),!0}catch{return!1}}},s=async()=>{try{let a=await i().readFile(q(),"utf-8");return JSON.parse(a)}catch(a){if("ENOENT"===a.code)return null;throw a}};async function t(){try{if(!await r())return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await s(),b=a?.provider?.ktrouter,c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasKTRouter:!!a?.provider&&!!a.provider.ktrouter,configPath:q(),opencode:{models:Object.keys(c),activeModel:a?.model?.startsWith("ktrouter/")?a.model.replace(/^ktrouter\//,""):null,baseURL:b?.options?.baseURL||null}})}catch(a){return console.log("Error checking opencode settings:",a),e.NextResponse.json({error:"Failed to check opencode settings"},{status:500})}}async function u(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),j=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===j.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=p(),l=q();await i().mkdir(k,{recursive:!0});let m={};try{let a=await i().readFile(l,"utf-8");m=JSON.parse(a)}catch{}let n=b.endsWith("/v1")?b:`${b}/v1`,o=h||j[0];m.provider||(m.provider={});let r=m.provider.ktrouter||{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let a of(r.options={...r.options,baseURL:n,apiKey:c||"sk_ktrouter"},r.models=r.models||{},j))a&&"string"==typeof a&&(r.models[a]={name:a});if(m.provider.ktrouter=r,""===g)m.model="";else{let a=g||j[0];a&&(m.model=`ktrouter/${a}`)}return m.agent||(m.agent={}),m.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:`ktrouter/${o}`},await i().writeFile(l,JSON.stringify(m,null,2)),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:l})}catch(a){return console.log("Error applying opencode settings:",a),e.NextResponse.json({error:"Failed to apply settings"},{status:500})}}async function v(a){try{let{clearActiveModel:b}=await a.json(),c=q(),d={};try{let a=await i().readFile(c,"utf-8");d=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file found"});throw a}return!0===b&&d.model?.startsWith("ktrouter/")&&(d.model=""),await i().writeFile(c,JSON.stringify(d,null,2)),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return console.log("Error patching opencode settings:",a),e.NextResponse.json({error:"Failed to patch settings"},{status:500})}}async function w(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=q(),f={};try{let a=await i().readFile(d,"utf-8");f=JSON.parse(a)}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}if(c&&f.provider?.ktrouter?.models){if(delete f.provider.ktrouter.models[c],0===Object.keys(f.provider.ktrouter.models).length)delete f.provider.ktrouter,f.model?.startsWith("ktrouter/")&&delete f.model;else if(f.model===`ktrouter/${c}`){let a=Object.keys(f.provider.ktrouter.models);f.model=`ktrouter/${a[0]}`}}else f.provider&&delete f.provider.ktrouter,f.model?.startsWith("ktrouter/")&&delete f.model;return f.agent?.explorer?.model?.startsWith("ktrouter/")&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await i().writeFile(d,JSON.stringify(f,null,2)),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:"KTRouter settings removed from OpenCode"})}catch(a){return console.log("Error resetting opencode settings:",a),e.NextResponse.json({error:"Failed to reset opencode settings"},{status:500})}}(0,n.D)([t,u,v,w]),(0,d.A)(t,"00d5a3292642c32c94454ee934fb1d97e63cbe2783",null),(0,d.A)(u,"405c5ef5dff8cca60807ae01a9e4df149d5c643827",null),(0,d.A)(v,"4035b0d1b30b134bef9a36939b2d5bafe0a2b81206",null),(0,d.A)(w,"409d6d44fd8cbf50da05290c3962327d7d21b004d0",null)},73024:a=>{a.exports=require("node:fs")},73818:(a,b,c)=>{c.d(b,{$1:()=>h,HQ:()=>d,SP:()=>f,d_:()=>i,z4:()=>g});let d=["none","low","medium","high","xhigh","max"],e=new Set(d);function f(a){if("string"!=typeof a)return null;let b=a.trim().toLowerCase();return e.has(b)?b:null}function g(...a){for(let b of a){let a=f(b);if(a)return a}return null}function h(a,b={}){let c=f(a);return c?({none:0,low:1024,medium:8192,high:16384,xhigh:32768,max:32768,...b})[c]??null:null}function i(a){let b=Number(a)||0;return b<=0?"none":b<=2048?"low":b<=16384?"medium":b<=32768?"high":b<=65536?"xhigh":"max"}},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,9528,5681,4404,4820,4746],()=>b(b.s=8643));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../cli/.build-home/AppData/Local/npm-cache/_update-notifier-last-checked","../../../../../../cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json","../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/4404.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4820.js","../../../../chunks/5681.js","../../../../chunks/9528.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../package.json","../../../../../package.json","../../../../chunks/1813.js","../../../../chunks/4404.js","../../../../chunks/4741.js","../../../../chunks/4746.js","../../../../chunks/4820.js","../../../../chunks/5681.js","../../../../chunks/9528.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cli-tools/all-statuses/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\api\\cli-tools\\all-statuses\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cli-tools/all-statuses/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"D:\\code\\9router\\src\\app\\api\\cli-tools\\all-statuses\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
@@ -1,2 +1,2 @@
1
- "use strict";(()=>{var a={};a.id=6580,a.ids=[1998,6580],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},3466:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(11414);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/antigravity-mitm/alias/route",pathname:"/api/cli-tools/antigravity-mitm/alias",filename:"route",bundlePath:"app/api/cli-tools/antigravity-mitm/alias/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\alias\\route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/antigravity-mitm/alias/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11414:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>i,PUT:()=>j});var d=c(49796),e=c(23211),f=c(71998),g=c(96182),h=c(76476);async function i(a){try{let{searchParams:b}=new URL(a.url),c=b.get("tool"),d=await (0,f.c)(c||void 0);return e.NextResponse.json({aliases:d})}catch(a){return console.log("Error fetching MITM aliases:",a.message),e.NextResponse.json({error:"Failed to fetch aliases"},{status:500})}}async function j(a){try{let{tool:b,mappings:c}=await a.json();if(!b||!c||"object"!=typeof c)return e.NextResponse.json({error:"tool and mappings required"},{status:400});let d=await (0,g.getMitmStatus)();if(!d.dnsStatus||!d.dnsStatus[b])return e.NextResponse.json({error:`DNS must be enabled for ${b} before editing model mappings`},{status:403});let i={};for(let[a,b]of Object.entries(c))b&&b.trim()&&(i[a]=b.trim());return await (0,f.L9)(b,i),(0,h.N)(b,i),e.NextResponse.json({success:!0,aliases:i})}catch(a){return console.log("Error saving MITM aliases:",a.message),e.NextResponse.json({error:"Failed to save aliases"},{status:500})}}(0,c(24424).D)([i,j]),(0,d.A)(i,"40776102340a5a3570a1598c4630b50d99394971d6",null),(0,d.A)(j,"40af717cccb6c698cf6f95c2f1c3ef8ba5de43c3ff",null)},21820:a=>{a.exports=require("os")},24424:(a,b)=>{function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
- Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},28612:(a,b,c)=>{c.r(b),c.d(b,{"40776102340a5a3570a1598c4630b50d99394971d6":()=>d.GET,"40af717cccb6c698cf6f95c2f1c3ef8ba5de43c3ff":()=>d.PUT});var d=c(11414)},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{a.exports=require("node:fs")},74075:a=>{a.exports=require("zlib")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},77943:(a,b,c)=>{a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,1260,4884,5718],()=>b(b.s=3466));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=6580,a.ids=[1998,6580],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11414:(a,b,c)=>{c.r(b),c.d(b,{GET:()=>i,PUT:()=>j});var d=c(49796),e=c(23211),f=c(71998),g=c(96182),h=c(76476);async function i(a){try{let{searchParams:b}=new URL(a.url),c=b.get("tool"),d=await (0,f.c)(c||void 0);return e.NextResponse.json({aliases:d})}catch(a){return console.log("Error fetching MITM aliases:",a.message),e.NextResponse.json({error:"Failed to fetch aliases"},{status:500})}}async function j(a){try{let{tool:b,mappings:c}=await a.json();if(!b||!c||"object"!=typeof c)return e.NextResponse.json({error:"tool and mappings required"},{status:400});let d=await (0,g.getMitmStatus)();if(!d.dnsStatus||!d.dnsStatus[b])return e.NextResponse.json({error:`DNS must be enabled for ${b} before editing model mappings`},{status:403});let i={};for(let[a,b]of Object.entries(c))b&&b.trim()&&(i[a]=b.trim());return await (0,f.L9)(b,i),(0,h.N)(b,i),e.NextResponse.json({success:!0,aliases:i})}catch(a){return console.log("Error saving MITM aliases:",a.message),e.NextResponse.json({error:"Failed to save aliases"},{status:500})}}(0,c(24424).D)([i,j]),(0,d.A)(i,"403314a59b983c4137c455503d2b0d24f3a070ffc3",null),(0,d.A)(j,"40534351f7705e8b94ef053947f84876c5568c63fb",null)},21820:a=>{a.exports=require("os")},24424:(a,b)=>{function c(a){for(let b=0;b<a.length;b++){let c=a[b];if("function"!=typeof c)throw Object.defineProperty(Error(`A "use server" file can only export async functions, found ${typeof c}.
2
+ Read more: https://nextjs.org/docs/messages/invalid-use-server-value`),"__NEXT_ERROR_CODE",{value:"E352",enumerable:!1,configurable:!0})}}Object.defineProperty(b,"D",{enumerable:!0,get:function(){return c}})},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},38828:(a,b,c)=>{c.r(b),c.d(b,{"403314a59b983c4137c455503d2b0d24f3a070ffc3":()=>d.GET,"40534351f7705e8b94ef053947f84876c5568c63fb":()=>d.PUT});var d=c(11414)},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},49796:(a,b,c)=>{Object.defineProperty(b,"A",{enumerable:!0,get:function(){return d.registerServerReference}});let d=c(77943)},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},56825:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527),u=c(11414);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/cli-tools/antigravity-mitm/alias/route",pathname:"/api/cli-tools/antigravity-mitm/alias",filename:"route",bundlePath:"app/api/cli-tools/antigravity-mitm/alias/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"D:\\code\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\alias\\route.js",nextConfigOutput:"standalone",userland:u,...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/antigravity-mitm/alias/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:u,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||v.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===v.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts},cacheComponents:!!y.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:y.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>v.onRequestError(a,b,d,e,C)},sharedContext:{buildId:u,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b));try{let f,g=async a=>v.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route");if(e){let b=`${O} ${e}`;a.setAttributes({"next.route":e,"http.route":e,"next.span_name":b}),a.updateName(b),f&&f!==a&&(f.setAttribute("http.route",e),f.updateName(b))}else a.updateName(`${O} ${d}`)}),i=async f=>{var h,i;let j=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(f);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[r.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await v.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,p.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||l.delete(r.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,q.getCacheControlHeader)(k.cacheControl)),await (0,o.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await i(Q):(f=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},i),void 0,!R))}catch(b){if(b instanceof s.NoFallbackError||await v.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,o.I)(V,W,new Response(null,{status:500})),null}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71998:(a,b,c)=>{c.d(b,{Fh:()=>d.Fh,L9:()=>d.L9,Mc:()=>d.Mc,OM:()=>d.OM,P:()=>d.getProviderConnections,Pc:()=>d.Pc,Q_:()=>d.Q_,Qu:()=>d.Qu,S8:()=>d.S8,Yd:()=>d.Yd,ZO:()=>d.ZO,c:()=>d.c,createProviderConnection:()=>d.iE,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,o5:()=>d.o5,op:()=>d.op,rj:()=>d.updateProviderConnection,uL:()=>d.uL,ui:()=>d.ui,uv:()=>d.uv});var d=c(89718)},73024:a=>{a.exports=require("node:fs")},74075:a=>{a.exports=require("zlib")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},77943:(a,b,c)=>{a.exports=c(7553).vendored["react-rsc"].ReactServerDOMWebpackServer},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,1260,4884,5718],()=>b(b.s=56825));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../cli/.build-home/AppData/Roaming/nextjs-nodejs/Config/config.json","../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../node_modules/react/index.js","../../../../../../../node_modules/react/package.json","../../../../../../../package.json","../../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../../src/lib/db/migrate.js","../../../../../../../src/mitm/server.js","../../../../../../../src/shared/utils/apiKey.js","../../../../../../package.json","../../../../../chunks/1260.js","../../../../../chunks/1813.js","../../../../../chunks/3593.js","../../../../../chunks/4739.js","../../../../../chunks/4741.js","../../../../../chunks/4884.js","../../../../../chunks/5258.js","../../../../../chunks/5718.js","../../../../../chunks/5748.js","../../../../../chunks/6844.js","../../../../../chunks/7341.js","../../../../../chunks/8520.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/package.json","../../../../../../../node_modules/react/cjs/react.development.js","../../../../../../../node_modules/react/cjs/react.production.js","../../../../../../../node_modules/react/index.js","../../../../../../../node_modules/react/package.json","../../../../../../../package.json","../../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../../src/lib/db/migrate.js","../../../../../../../src/mitm/server.js","../../../../../../../src/shared/utils/apiKey.js","../../../../../../package.json","../../../../../chunks/1260.js","../../../../../chunks/1813.js","../../../../../chunks/3593.js","../../../../../chunks/4739.js","../../../../../chunks/4741.js","../../../../../chunks/4884.js","../../../../../chunks/5258.js","../../../../../chunks/5718.js","../../../../../chunks/5748.js","../../../../../chunks/6844.js","../../../../../chunks/7341.js","../../../../../chunks/8520.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cli-tools/antigravity-mitm/alias/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\alias\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/cli-tools/antigravity-mitm/alias/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"D:\\code\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\alias\\route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=8573,a.ids=[8573],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{a.exports=require("os")},25981:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>O,patchFetch:()=>N,routeModule:()=>J,serverHooks:()=>M,workAsyncStorage:()=>K,workUnitAsyncStorage:()=>L});var d={};c.r(d),c.d(d,{DELETE:()=>H,GET:()=>F,PATCH:()=>I,POST:()=>G});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(96182),x=c(89718),y=c(76476);(0,w.initDbHooks)(x.mt,x.Xx);let z="http://localhost:3008",A="win32"===process.platform;function B(a){return a||(0,w.getCachedPassword)()||null}function C(a){return!A&&!a&&(0,w.isSudoPasswordRequired)()}function D(){if(A)try{return c(79646).execSync("net session >nul 2>&1",{windowsHide:!0}),!0}catch{return!1}return"function"==typeof process.getuid&&0===process.getuid()}function E(a){return!!D()||!A&&(!(0,w.isSudoPasswordRequired)()||!!a)}async function F(){try{let a=await (0,w.getMitmStatus)(),b=await (0,x.mt)(),c=!!(0,w.getCachedPassword)()||!!await (0,w.loadEncryptedPassword)();return v.NextResponse.json({running:a.running,pid:a.pid||null,certExists:a.certExists||!1,certTrusted:a.certTrusted||!1,dnsStatus:a.dnsStatus||{},hasCachedPassword:c,isWin:A,needsSudoPassword:!A&&!c&&(0,w.isSudoPasswordRequired)(),isAdmin:D(),mitmRouterBaseUrl:b.mitmRouterBaseUrl&&String(b.mitmRouterBaseUrl).trim()||z})}catch(a){return console.log("Error getting MITM status:",a.message),v.NextResponse.json({error:"Failed to get MITM status"},{status:500})}}async function G(a){try{let{apiKey:b,sudoPassword:c,mitmRouterBaseUrl:d,forceKillPort443:e}=await a.json(),f=B(c)||await (0,w.loadEncryptedPassword)()||"";if(!b||C(f))return v.NextResponse.json({error:b?"Missing sudoPassword":"Missing apiKey"},{status:400});if(!E(f))return v.NextResponse.json({error:A?"Administrator required — restart KTRouter as Administrator":"Root or sudo password required to start MITM"},{status:403});if(null!=d)try{let a=function(a){let b;if(null==a||""===String(a).trim())return z;let c=String(a).trim().replace(/\/+$/,"");try{b=new URL(c)}catch{throw Error("Invalid MITM router URL")}if("http:"!==b.protocol&&"https:"!==b.protocol)throw Error("MITM router URL must use http or https");return c}(d);await (0,x.Xx)({mitmRouterBaseUrl:a})}catch(a){return v.NextResponse.json({error:a.message||"Invalid MITM router URL"},{status:400})}await (0,y.v)();let g=await (0,w.startServer)(b,f,!!e);return A||(0,w.setCachedPassword)(f),v.NextResponse.json({success:!0,running:g.running,pid:g.pid})}catch(a){if(console.log("Error starting MITM server:",a.message),"PORT_443_BUSY"===a.code)return v.NextResponse.json({error:a.message,code:"PORT_443_BUSY",portOwner:a.portOwner},{status:409});return v.NextResponse.json({error:a.message||"Failed to start MITM server"},{status:500})}}async function H(a){try{let{sudoPassword:b}=await a.json().catch(()=>({})),c=B(b)||await (0,w.loadEncryptedPassword)()||"";if(C(c))return v.NextResponse.json({error:"Missing sudoPassword"},{status:400});return await (0,w.stopServer)(c),!A&&b&&(0,w.setCachedPassword)(b),v.NextResponse.json({success:!0,running:!1})}catch(a){return console.log("Error stopping MITM server:",a.message),v.NextResponse.json({error:a.message||"Failed to stop MITM server"},{status:500})}}async function I(a){try{let{tool:b,action:c,sudoPassword:d}=await a.json(),e=B(d)||await (0,w.loadEncryptedPassword)()||"";if(!b||!c)return v.NextResponse.json({error:"tool and action required"},{status:400});if(C(e))return v.NextResponse.json({error:"Missing sudoPassword"},{status:400});if(!E(e))return v.NextResponse.json({error:A?"Administrator required — restart KTRouter as Administrator":"Root or sudo password required to modify DNS"},{status:403});if("enable"===c)await (0,w.enableToolDNS)(b,e);else if("disable"===c)await (0,w.disableToolDNS)(b,e);else{if("trust-cert"!==c)return v.NextResponse.json({error:"action must be enable, disable, or trust-cert"},{status:400});await (0,w.trustCert)(e),!A&&d&&(0,w.setCachedPassword)(d);let a=await (0,w.getMitmStatus)();return v.NextResponse.json({success:!0,certTrusted:a.certTrusted})}!A&&d&&(0,w.setCachedPassword)(d);let f=await (0,w.getMitmStatus)();return v.NextResponse.json({success:!0,dnsStatus:f.dnsStatus})}catch(a){return console.log("Error toggling DNS:",a.message),v.NextResponse.json({error:a.message||"Failed to toggle DNS"},{status:500})}}let J=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cli-tools/antigravity-mitm/route",pathname:"/api/cli-tools/antigravity-mitm",filename:"route",bundlePath:"app/api/cli-tools/antigravity-mitm/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"C:\\Users\\QuocTai\\Documents\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:K,workUnitAsyncStorage:L,serverHooks:M}=J;function N(){return(0,g.patchFetch)({workAsyncStorage:K,workUnitAsyncStorage:L})}async function O(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),J.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/antigravity-mitm/route";"/index"===d&&(d="/");let e=await J.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!I||J.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===J.isDev||!I,N=I&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await J.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>J.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>J.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!I)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await J.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await J.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await J.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},74075:a=>{a.exports=require("zlib")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,1260,4884,5718],()=>b(b.s=25981));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=8573,a.ids=[8573],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},21820:a=>{a.exports=require("os")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31491:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>O,patchFetch:()=>N,routeModule:()=>J,serverHooks:()=>M,workAsyncStorage:()=>K,workUnitAsyncStorage:()=>L});var d={};c.r(d),c.d(d,{DELETE:()=>H,GET:()=>F,PATCH:()=>I,POST:()=>G});var e=c(19225),f=c(84006),g=c(8317),h=c(99373),i=c(34775),j=c(24235),k=c(261),l=c(54365),m=c(90771),n=c(73461),o=c(67798),p=c(92280),q=c(62018),r=c(45696),s=c(47929),t=c(86439),u=c(37527),v=c(23211),w=c(96182),x=c(89718),y=c(76476);(0,w.initDbHooks)(x.mt,x.Xx);let z="http://localhost:3008",A="win32"===process.platform;function B(a){return a||(0,w.getCachedPassword)()||null}function C(a){return!A&&!a&&(0,w.isSudoPasswordRequired)()}function D(){if(A)try{return c(79646).execSync("net session >nul 2>&1",{windowsHide:!0}),!0}catch{return!1}return"function"==typeof process.getuid&&0===process.getuid()}function E(a){return!!D()||!A&&(!(0,w.isSudoPasswordRequired)()||!!a)}async function F(){try{let a=await (0,w.getMitmStatus)(),b=await (0,x.mt)(),c=!!(0,w.getCachedPassword)()||!!await (0,w.loadEncryptedPassword)();return v.NextResponse.json({running:a.running,pid:a.pid||null,certExists:a.certExists||!1,certTrusted:a.certTrusted||!1,dnsStatus:a.dnsStatus||{},hasCachedPassword:c,isWin:A,needsSudoPassword:!A&&!c&&(0,w.isSudoPasswordRequired)(),isAdmin:D(),mitmRouterBaseUrl:b.mitmRouterBaseUrl&&String(b.mitmRouterBaseUrl).trim()||z})}catch(a){return console.log("Error getting MITM status:",a.message),v.NextResponse.json({error:"Failed to get MITM status"},{status:500})}}async function G(a){try{let{apiKey:b,sudoPassword:c,mitmRouterBaseUrl:d,forceKillPort443:e}=await a.json(),f=B(c)||await (0,w.loadEncryptedPassword)()||"";if(!b||C(f))return v.NextResponse.json({error:b?"Missing sudoPassword":"Missing apiKey"},{status:400});if(!E(f))return v.NextResponse.json({error:A?"Administrator required — restart KTRouter as Administrator":"Root or sudo password required to start MITM"},{status:403});if(null!=d)try{let a=function(a){let b;if(null==a||""===String(a).trim())return z;let c=String(a).trim().replace(/\/+$/,"");try{b=new URL(c)}catch{throw Error("Invalid MITM router URL")}if("http:"!==b.protocol&&"https:"!==b.protocol)throw Error("MITM router URL must use http or https");return c}(d);await (0,x.Xx)({mitmRouterBaseUrl:a})}catch(a){return v.NextResponse.json({error:a.message||"Invalid MITM router URL"},{status:400})}await (0,y.v)();let g=await (0,w.startServer)(b,f,!!e);return A||(0,w.setCachedPassword)(f),v.NextResponse.json({success:!0,running:g.running,pid:g.pid})}catch(a){if(console.log("Error starting MITM server:",a.message),"PORT_443_BUSY"===a.code)return v.NextResponse.json({error:a.message,code:"PORT_443_BUSY",portOwner:a.portOwner},{status:409});return v.NextResponse.json({error:a.message||"Failed to start MITM server"},{status:500})}}async function H(a){try{let{sudoPassword:b}=await a.json().catch(()=>({})),c=B(b)||await (0,w.loadEncryptedPassword)()||"";if(C(c))return v.NextResponse.json({error:"Missing sudoPassword"},{status:400});return await (0,w.stopServer)(c),!A&&b&&(0,w.setCachedPassword)(b),v.NextResponse.json({success:!0,running:!1})}catch(a){return console.log("Error stopping MITM server:",a.message),v.NextResponse.json({error:a.message||"Failed to stop MITM server"},{status:500})}}async function I(a){try{let{tool:b,action:c,sudoPassword:d}=await a.json(),e=B(d)||await (0,w.loadEncryptedPassword)()||"";if(!b||!c)return v.NextResponse.json({error:"tool and action required"},{status:400});if(C(e))return v.NextResponse.json({error:"Missing sudoPassword"},{status:400});if(!E(e))return v.NextResponse.json({error:A?"Administrator required — restart KTRouter as Administrator":"Root or sudo password required to modify DNS"},{status:403});if("enable"===c)await (0,w.enableToolDNS)(b,e);else if("disable"===c)await (0,w.disableToolDNS)(b,e);else{if("trust-cert"!==c)return v.NextResponse.json({error:"action must be enable, disable, or trust-cert"},{status:400});await (0,w.trustCert)(e),!A&&d&&(0,w.setCachedPassword)(d);let a=await (0,w.getMitmStatus)();return v.NextResponse.json({success:!0,certTrusted:a.certTrusted})}!A&&d&&(0,w.setCachedPassword)(d);let f=await (0,w.getMitmStatus)();return v.NextResponse.json({success:!0,dnsStatus:f.dnsStatus})}catch(a){return console.log("Error toggling DNS:",a.message),v.NextResponse.json({error:a.message||"Failed to toggle DNS"},{status:500})}}let J=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cli-tools/antigravity-mitm/route",pathname:"/api/cli-tools/antigravity-mitm",filename:"route",bundlePath:"app/api/cli-tools/antigravity-mitm/route"},distDir:".next",relativeProjectDir:"",resolvedPagePath:"D:\\code\\9router\\src\\app\\api\\cli-tools\\antigravity-mitm\\route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:K,workUnitAsyncStorage:L,serverHooks:M}=J;function N(){return(0,g.patchFetch)({workAsyncStorage:K,workUnitAsyncStorage:L})}async function O(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),J.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cli-tools/antigravity-mitm/route";"/index"===d&&(d="/");let e=await J.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!I||J.isDev||z||(L="/index"===(L=E)?"/":L);let M=!0===J.isDev||!I,N=I&&!M;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await J.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>J.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>J.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!I)return await (0,p.I)(V,W,d,U.renderOpts.pendingWaitUntil),null;{let a=await d.blob(),b=(0,q.toNodeOutgoingHttpHeaders)(d.headers);i&&(b[s.NEXT_CACHE_TAGS_HEADER]=i),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:U.renderOpts.collectedExpire;return{value:{kind:u.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==f?void 0:f.isStale)&&await J.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await J.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(V,W,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};R&&Q?await h(Q):(e=P.getActiveScopeSpan(),await P.withPropagatedContext(a.headers,()=>P.trace(n.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},h),void 0,!R))}catch(b){if(b instanceof t.NoFallbackError||await J.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},33873:a=>{a.exports=require("path")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{a.exports=require("node:fs")},74075:a=>{a.exports=require("zlib")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,1260,4884,5718],()=>b(b.s=31491));module.exports=c})();