@rsalmn/extremerouter 0.8.6 → 0.8.8

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 (1134) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +15 -11
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +3 -3
  5. package/app/.next-cli-build/routes-manifest.json +26 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js +2 -2
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/alerts/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +3 -3
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js +2 -2
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/health/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js +2 -2
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js +2 -2
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/overview/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js +2 -2
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/playground/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page.js +2 -2
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/smart-routing/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js +2 -2
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/swarm/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  93. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  94. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  105. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  107. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  108. package/app/.next-cli-build/server/app/_not-found.rsc +6 -6
  109. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +6 -6
  110. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  111. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +6 -6
  112. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  114. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  115. package/app/.next-cli-build/server/app/api/alerts/test/route.js +2 -2
  116. package/app/.next-cli-build/server/app/api/alerts/test/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/login/route.js +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/breaker/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/breaker/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cache/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/cache/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +4 -4
  136. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  138. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  142. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  150. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +2 -2
  154. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +3 -3
  160. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +3 -3
  168. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/lab/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/lab/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/combos/simulate/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/combos/simulate/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/combos/validate-roles/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js +2 -2
  180. package/app/.next-cli-build/server/app/api/dashboard/stream/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +2 -2
  186. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/health/overview/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/health/overview/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/health/providers/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/health/providers/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/health/stream/route.js +2 -2
  194. package/app/.next-cli-build/server/app/api/health/stream/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  198. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +5 -5
  206. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -0
  222. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -0
  223. package/app/.next-cli-build/server/app/api/models/catalog-sync/route_client-reference-manifest.js +1 -0
  224. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/oauth/1min/import/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/freebuff/import/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/freebuff/import/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/auto-import/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/import/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kimi-desktop/quota/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/oauth/qwen/import/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/wp-studio/import/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route.js +1 -0
  273. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route.js.nft.json +1 -0
  274. package/app/.next-cli-build/server/app/api/oauth/zcode/import/route_client-reference-manifest.js +1 -0
  275. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  276. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/[id]/agnes-profile/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/[id]/felo-profile/route.js +2 -2
  290. package/app/.next-cli-build/server/app/api/providers/[id]/felo-profile/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/[id]/freebuff-profile/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/[id]/health-timeline/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/[id]/inxora-profile/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +2 -2
  298. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-api-profile/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/providers/[id]/onemin-profile/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js +1 -1
  304. package/app/.next-cli-build/server/app/api/providers/[id]/qwencloud-profile/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/providers/[id]/v0-profile/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/vault-pool/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/zai-profile/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/zai-profile/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/[id]/zenmux-plans/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/capture/launch/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/capture/launch/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/capture/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/capture/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/felo-capture/launch/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/felo-capture/launch/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/felo-capture/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/felo-capture/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  344. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  346. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +2 -2
  350. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  352. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/smart-routing/active/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/smart-routing/active/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/smart-routing/history/route.js +2 -2
  368. package/app/.next-cli-build/server/app/api/smart-routing/history/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/smart-routing/lab/route.js +2 -2
  370. package/app/.next-cli-build/server/app/api/smart-routing/lab/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/smart-routing/stream/route.js +2 -2
  372. package/app/.next-cli-build/server/app/api/smart-routing/stream/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/swarm/active/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/swarm/active/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/swarm/stream/route.js +2 -2
  376. package/app/.next-cli-build/server/app/api/swarm/stream/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  382. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  404. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/usage/leaderboard/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/usage/meta/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/usage/meta/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/usage/retry-stats/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  430. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route.js +1 -0
  446. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route.js.nft.json +1 -0
  447. package/app/.next-cli-build/server/app/api/v1/media/results/[id]/route_client-reference-manifest.js +1 -0
  448. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/models/[kind]/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  457. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  460. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/video/generations/route.js +1 -0
  467. package/app/.next-cli-build/server/app/api/v1/video/generations/route.js.nft.json +1 -0
  468. package/app/.next-cli-build/server/app/api/v1/video/generations/route_client-reference-manifest.js +1 -0
  469. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  482. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  484. package/app/.next-cli-build/server/app/callback.html +1 -1
  485. package/app/.next-cli-build/server/app/callback.rsc +6 -6
  486. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +6 -6
  487. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  488. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +6 -6
  489. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  491. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  493. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  494. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  495. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +7 -7
  497. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +7 -7
  498. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  499. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +6 -6
  500. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +2 -2
  502. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  503. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  504. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  505. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  506. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  507. package/app/.next-cli-build/server/app/index.html +1 -1
  508. package/app/.next-cli-build/server/app/index.rsc +6 -6
  509. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +6 -6
  511. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  512. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +6 -6
  513. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  514. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  515. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  516. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  517. package/app/.next-cli-build/server/app/landing.html +1 -1
  518. package/app/.next-cli-build/server/app/landing.rsc +6 -6
  519. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +6 -6
  520. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  521. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +6 -6
  522. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/login/page.js +2 -2
  526. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  527. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  528. package/app/.next-cli-build/server/app/login.html +1 -1
  529. package/app/.next-cli-build/server/app/login.rsc +7 -7
  530. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +7 -7
  531. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  532. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +6 -6
  533. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  535. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  536. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  537. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  538. package/app/.next-cli-build/server/app/page.js +2 -2
  539. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  540. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  541. package/app/.next-cli-build/server/app-paths-manifest.json +15 -11
  542. package/app/.next-cli-build/server/chunks/1194.js +1 -1
  543. package/app/.next-cli-build/server/chunks/1241.js +1 -1
  544. package/app/.next-cli-build/server/chunks/1350.js +3 -3
  545. package/app/.next-cli-build/server/chunks/1411.js +9 -0
  546. package/app/.next-cli-build/server/chunks/1429.js +1 -1
  547. package/app/.next-cli-build/server/chunks/1719.js +1 -1
  548. package/app/.next-cli-build/server/chunks/212.js +1 -1
  549. package/app/.next-cli-build/server/chunks/2409.js +1 -1
  550. package/app/.next-cli-build/server/chunks/2436.js +1 -0
  551. package/app/.next-cli-build/server/chunks/3520.js +1 -1
  552. package/app/.next-cli-build/server/chunks/3535.js +1 -1
  553. package/app/.next-cli-build/server/chunks/3552.js +1 -0
  554. package/app/.next-cli-build/server/chunks/3593.js +1 -1
  555. package/app/.next-cli-build/server/chunks/4046.js +1 -1
  556. package/app/.next-cli-build/server/chunks/4109.js +1 -1
  557. package/app/.next-cli-build/server/chunks/412.js +1 -1
  558. package/app/.next-cli-build/server/chunks/4161.js +1 -0
  559. package/app/.next-cli-build/server/chunks/4502.js +6 -6
  560. package/app/.next-cli-build/server/chunks/4739.js +1 -1
  561. package/app/.next-cli-build/server/chunks/4780.js +1 -1
  562. package/app/.next-cli-build/server/chunks/4828.js +1 -0
  563. package/app/.next-cli-build/server/chunks/4957.js +1 -0
  564. package/app/.next-cli-build/server/chunks/4987.js +1 -0
  565. package/app/.next-cli-build/server/chunks/5050.js +2 -0
  566. package/app/.next-cli-build/server/chunks/507.js +1 -1
  567. package/app/.next-cli-build/server/chunks/5253.js +1 -1
  568. package/app/.next-cli-build/server/chunks/5258.js +1 -1
  569. package/app/.next-cli-build/server/chunks/5330.js +17 -17
  570. package/app/.next-cli-build/server/chunks/5473.js +9 -0
  571. package/app/.next-cli-build/server/chunks/5604.js +13 -0
  572. package/app/.next-cli-build/server/chunks/5612.js +1 -1
  573. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  574. package/app/.next-cli-build/server/chunks/5628.js +1 -1
  575. package/app/.next-cli-build/server/chunks/5961.js +1 -1
  576. package/app/.next-cli-build/server/chunks/6007.js +10 -0
  577. package/app/.next-cli-build/server/chunks/6157.js +1 -0
  578. package/app/.next-cli-build/server/chunks/6182.js +1 -1
  579. package/app/.next-cli-build/server/chunks/6488.js +1 -0
  580. package/app/.next-cli-build/server/chunks/6777.js +1 -1
  581. package/app/.next-cli-build/server/chunks/698.js +1 -1
  582. package/app/.next-cli-build/server/chunks/7247.js +1 -0
  583. package/app/.next-cli-build/server/chunks/7566.js +2 -2
  584. package/app/.next-cli-build/server/chunks/7765.js +2 -2
  585. package/app/.next-cli-build/server/chunks/7965.js +1 -1
  586. package/app/.next-cli-build/server/chunks/809.js +1 -1
  587. package/app/.next-cli-build/server/chunks/8238.js +1 -1
  588. package/app/.next-cli-build/server/chunks/8240.js +1 -0
  589. package/app/.next-cli-build/server/chunks/8266.js +1 -1
  590. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  591. package/app/.next-cli-build/server/chunks/8520.js +1 -1
  592. package/app/.next-cli-build/server/chunks/8802.js +2 -2
  593. package/app/.next-cli-build/server/chunks/885.js +15 -15
  594. package/app/.next-cli-build/server/chunks/8851.js +3 -0
  595. package/app/.next-cli-build/server/chunks/8895.js +6 -6
  596. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  597. package/app/.next-cli-build/server/chunks/9715.js +1 -0
  598. package/app/.next-cli-build/server/chunks/9903.js +1 -1
  599. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  600. package/app/.next-cli-build/server/middleware.js +6 -6
  601. package/app/.next-cli-build/server/pages/404.html +1 -1
  602. package/app/.next-cli-build/server/pages/500.html +1 -1
  603. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  604. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  605. package/app/.next-cli-build/static/chunks/1321-738b3efba6f43f03.js +1 -0
  606. package/app/.next-cli-build/static/chunks/5497-97801e653d366579.js +7 -0
  607. package/app/.next-cli-build/static/chunks/705-1b66113f1f9bdd89.js +1 -0
  608. package/app/.next-cli-build/static/chunks/9086-5e0c8ccb81f25cbb.js +1 -0
  609. package/app/.next-cli-build/static/chunks/{9622-fcd7c93a94eaa38f.js → 9622-1dc5485471326b33.js} +6 -6
  610. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/alerts/{page-812b19e92ea94f14.js → page-5da9d88aea0f0c4d.js} +1 -1
  611. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/basic-chat/{page-9a0e996c5bc5a169.js → page-af18b8bd5a604e31.js} +1 -1
  612. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-0e1d5c3cf52823c3.js → page-c933ec2b61961be3.js} +1 -1
  613. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-3122fd2735ba291c.js → page-3b6ddb5ae1f382fc.js} +1 -1
  614. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-6e960c6e7b31b9df.js +3 -0
  615. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-dd4edb101f50cc0f.js +1 -0
  616. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-f1add2aaae4a459c.js +1 -0
  617. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/health/{page-1c94a0710d61767e.js → page-2ac0245eea32c9aa.js} +1 -1
  618. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-9e98db59d6b1d05f.js → page-e0b2567bb9fe606d.js} +7 -7
  619. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/{page-026721fa921475e0.js → page-9da68f29ab52796d.js} +1 -1
  620. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-ec37860600228def.js → page-2c80d26d992e4bb2.js} +1 -1
  621. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/page-7cdd74503baa001a.js +1 -0
  622. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/web/{page-825c8673e6351d02.js → page-ebc169fccd95e5d8.js} +1 -1
  623. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-65072e4024bb73b6.js → page-50b3f8c8ed3358f2.js} +1 -1
  624. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/overview/{page-b92bc7ebaa0813b2.js → page-c4728000c2a09214.js} +1 -1
  625. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-86eaf12ef68c60ba.js +1 -0
  626. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-c43d594bf432dbb3.js +1 -0
  627. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-8147c101767a32a1.js +1 -0
  628. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/{page-9eea89b85926cfd8.js → page-f20fce2b984f4ef3.js} +3 -3
  629. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/new/{page-aaaaeede554f51a5.js → page-99b2fb0411fa61e4.js} +1 -1
  630. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-3231355c17df9913.js +1 -0
  631. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/{page-70bfba02b4fc414f.js → page-c619835a47dd125d.js} +1 -1
  632. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-46f5c7b65b5bb9ad.js +1 -0
  633. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/skills/{page-17bcf4e0db497e3a.js → page-fb7fe2c2ce8ee710.js} +1 -1
  634. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/token-saver/{page-6e8f34517990d858.js → page-971ad40322c4940b.js} +1 -1
  635. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/translator/{page-d9e35b679b85696a.js → page-33f472a9351a93f8.js} +1 -1
  636. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-52a5ff6e854d82e7.js +1 -0
  637. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-20cc41f2e1307f06.js → layout-6605206f3a2e2db9.js} +1 -1
  638. package/app/.next-cli-build/static/chunks/app/_global-error/page-fe046df355b8d174.js +1 -0
  639. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-fe046df355b8d174.js +1 -0
  640. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-fe046df355b8d174.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-fe046df355b8d174.js +1 -0
  642. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-fe046df355b8d174.js +1 -0
  643. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-fe046df355b8d174.js +1 -0
  644. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-fe046df355b8d174.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-fe046df355b8d174.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-fe046df355b8d174.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/breaker/route-fe046df355b8d174.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/cache/route-fe046df355b8d174.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-fe046df355b8d174.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-fe046df355b8d174.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-fe046df355b8d174.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-fe046df355b8d174.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-fe046df355b8d174.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-fe046df355b8d174.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-fe046df355b8d174.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-fe046df355b8d174.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-fe046df355b8d174.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-fe046df355b8d174.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-fe046df355b8d174.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-fe046df355b8d174.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-fe046df355b8d174.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-fe046df355b8d174.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-fe046df355b8d174.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-fe046df355b8d174.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-fe046df355b8d174.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-fe046df355b8d174.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/combos/lab/route-fe046df355b8d174.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/combos/route-fe046df355b8d174.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/combos/simulate/route-fe046df355b8d174.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-fe046df355b8d174.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-fe046df355b8d174.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-fe046df355b8d174.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-fe046df355b8d174.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-fe046df355b8d174.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/health/overview/route-fe046df355b8d174.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-fe046df355b8d174.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/health/route-fe046df355b8d174.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-fe046df355b8d174.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/init/route-fe046df355b8d174.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-fe046df355b8d174.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/keys/route-fe046df355b8d174.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/locale/route-fe046df355b8d174.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-fe046df355b8d174.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-fe046df355b8d174.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-fe046df355b8d174.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-fe046df355b8d174.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-fe046df355b8d174.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-fe046df355b8d174.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-fe046df355b8d174.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-fe046df355b8d174.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-fe046df355b8d174.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-fe046df355b8d174.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-fe046df355b8d174.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-fe046df355b8d174.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/models/route-fe046df355b8d174.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/models/test/route-fe046df355b8d174.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-fe046df355b8d174.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-fe046df355b8d174.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-fe046df355b8d174.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-fe046df355b8d174.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-fe046df355b8d174.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-fe046df355b8d174.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/oauth/freebuff/import/route-fe046df355b8d174.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-fe046df355b8d174.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-fe046df355b8d174.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/auto-import/route-fe046df355b8d174.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/import/route-fe046df355b8d174.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/quota/route-fe046df355b8d174.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-fe046df355b8d174.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-fe046df355b8d174.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-fe046df355b8d174.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-fe046df355b8d174.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-fe046df355b8d174.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-fe046df355b8d174.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-fe046df355b8d174.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-fe046df355b8d174.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/zcode/import/route-fe046df355b8d174.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-fe046df355b8d174.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-fe046df355b8d174.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/pricing/route-fe046df355b8d174.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-fe046df355b8d174.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-fe046df355b8d174.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-fe046df355b8d174.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-fe046df355b8d174.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/felo-profile/route-fe046df355b8d174.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-fe046df355b8d174.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-fe046df355b8d174.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-fe046df355b8d174.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-fe046df355b8d174.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-fe046df355b8d174.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-fe046df355b8d174.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-fe046df355b8d174.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-fe046df355b8d174.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-fe046df355b8d174.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-fe046df355b8d174.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-fe046df355b8d174.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-fe046df355b8d174.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zai-profile/route-fe046df355b8d174.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-fe046df355b8d174.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/providers/capture/launch/route-fe046df355b8d174.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/providers/capture/route-fe046df355b8d174.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-fe046df355b8d174.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/launch/route-fe046df355b8d174.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/route-fe046df355b8d174.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-fe046df355b8d174.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/providers/route-fe046df355b8d174.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-fe046df355b8d174.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-fe046df355b8d174.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-fe046df355b8d174.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-fe046df355b8d174.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-fe046df355b8d174.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-fe046df355b8d174.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-fe046df355b8d174.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-fe046df355b8d174.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-fe046df355b8d174.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-fe046df355b8d174.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-fe046df355b8d174.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-fe046df355b8d174.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-fe046df355b8d174.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-fe046df355b8d174.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/settings/route-fe046df355b8d174.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-fe046df355b8d174.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/smart-routing/active/route-fe046df355b8d174.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/smart-routing/history/route-fe046df355b8d174.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/smart-routing/lab/route-fe046df355b8d174.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/smart-routing/stream/route-fe046df355b8d174.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-fe046df355b8d174.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-fe046df355b8d174.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/tags/route-fe046df355b8d174.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-fe046df355b8d174.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-fe046df355b8d174.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-fe046df355b8d174.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-fe046df355b8d174.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-fe046df355b8d174.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-fe046df355b8d174.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-fe046df355b8d174.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-fe046df355b8d174.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-fe046df355b8d174.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-fe046df355b8d174.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-fe046df355b8d174.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-fe046df355b8d174.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-fe046df355b8d174.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-fe046df355b8d174.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-fe046df355b8d174.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-fe046df355b8d174.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-fe046df355b8d174.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-fe046df355b8d174.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-fe046df355b8d174.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-fe046df355b8d174.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-fe046df355b8d174.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-fe046df355b8d174.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-fe046df355b8d174.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-fe046df355b8d174.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-fe046df355b8d174.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-fe046df355b8d174.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-fe046df355b8d174.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-fe046df355b8d174.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-fe046df355b8d174.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-fe046df355b8d174.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-fe046df355b8d174.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-fe046df355b8d174.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-fe046df355b8d174.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/media/results/[id]/route-fe046df355b8d174.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-fe046df355b8d174.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-fe046df355b8d174.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-fe046df355b8d174.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-fe046df355b8d174.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-fe046df355b8d174.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-fe046df355b8d174.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-fe046df355b8d174.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/route-fe046df355b8d174.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-fe046df355b8d174.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/video/generations/route-fe046df355b8d174.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-fe046df355b8d174.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-fe046df355b8d174.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-fe046df355b8d174.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/version/route-fe046df355b8d174.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-fe046df355b8d174.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/version/update/route-fe046df355b8d174.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/dashboard/settings/pricing/{page-bc142d42a8a549b4.js → page-cb505396f61fd853.js} +1 -1
  821. package/app/.next-cli-build/static/chunks/app/{layout-0e3fdd66d189006c.js → layout-43c49c1c04131398.js} +1 -1
  822. package/app/.next-cli-build/static/chunks/app/login/{page-4b39978fc147efa3.js → page-783218bde9da4df5.js} +1 -1
  823. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-fe046df355b8d174.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/page-fe046df355b8d174.js +1 -0
  825. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-fe046df355b8d174.js +1 -0
  826. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-fe046df355b8d174.js +1 -0
  827. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-fe046df355b8d174.js +1 -0
  828. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-fe046df355b8d174.js +1 -0
  829. package/app/.next-cli-build/static/css/4311ce5e9ab1213e.css +1 -0
  830. package/app/.next-cli-build/static/zahf-uMWnrDSCrrfcee0d/_buildManifest.js +1 -0
  831. package/app/package.json +1 -1
  832. package/app/public/favicon.svg +70 -8
  833. package/app/public/icons/icon-192.svg +73 -3
  834. package/app/public/icons/icon-512.svg +72 -3
  835. package/app/public/providers/ai21.png +0 -0
  836. package/app/public/providers/aimlapi.png +0 -0
  837. package/app/public/providers/ainative.png +0 -0
  838. package/app/public/providers/aion.png +0 -0
  839. package/app/public/providers/alibaba-cn.svg +1 -11
  840. package/app/public/providers/alibaba.svg +1 -11
  841. package/app/public/providers/alitp-intl.svg +1 -0
  842. package/app/public/providers/anyapi.png +0 -0
  843. package/app/public/providers/arcee-ai.png +0 -0
  844. package/app/public/providers/auriko.svg +61 -4
  845. package/app/public/providers/azure-ai.svg +23 -4
  846. package/app/public/providers/bai.png +0 -0
  847. package/app/public/providers/baseten.png +0 -0
  848. package/app/public/providers/blackbox-web.png +0 -0
  849. package/app/public/providers/bluesminds.png +0 -0
  850. package/app/public/providers/bytez.png +0 -0
  851. package/app/public/providers/charm-hyper.png +0 -0
  852. package/app/public/providers/chatanywhere.svg +1 -4
  853. package/app/public/providers/cheaperinference.png +0 -0
  854. package/app/public/providers/chenzk.png +0 -0
  855. package/app/public/providers/clarifai.svg +1 -4
  856. package/app/public/providers/cloudcode-one.svg +12 -3
  857. package/app/public/providers/conol-web.png +0 -0
  858. package/app/public/providers/crof.png +0 -0
  859. package/app/public/providers/datarobot.png +0 -0
  860. package/app/public/providers/digitalocean.svg +1 -4
  861. package/app/public/providers/dit.svg +9 -3
  862. package/app/public/providers/docker-model-runner.svg +1 -1
  863. package/app/public/providers/duckduckgo-web.svg +1 -7
  864. package/app/public/providers/dxnt.svg +9 -3
  865. package/app/public/providers/gemini-business.svg +1 -1
  866. package/app/public/providers/gitlab.svg +1 -0
  867. package/app/public/providers/hailuo-web.svg +1 -1
  868. package/app/public/providers/heroku.svg +15 -3
  869. package/app/public/providers/huggingchat.svg +1 -9
  870. package/app/public/providers/kimi-desktop.svg +1 -9
  871. package/app/public/providers/kimi-web.svg +1 -8
  872. package/app/public/providers/lm-studio.svg +1 -1
  873. package/app/public/providers/meta-llama.svg +1 -4
  874. package/app/public/providers/modal.svg +1 -4
  875. package/app/public/providers/modelscope.svg +1 -4
  876. package/app/public/providers/notion-web.svg +1 -1
  877. package/app/public/providers/oci.svg +19 -3
  878. package/app/public/providers/ollama-cloud.svg +1 -4
  879. package/app/public/providers/orcarouter.png +0 -0
  880. package/app/public/providers/ovhcloud.svg +1 -4
  881. package/app/public/providers/perplexity-agent.svg +1 -13
  882. package/app/public/providers/poe-web.svg +1 -8
  883. package/app/public/providers/qwen-cloud.svg +1 -1
  884. package/app/public/providers/qwen-web.svg +1 -6
  885. package/app/public/providers/qwencloud.svg +1 -6
  886. package/app/public/providers/sap.svg +1 -4
  887. package/app/public/providers/scaleway.svg +1 -4
  888. package/app/public/providers/snowflake.svg +1 -4
  889. package/app/public/providers/triton.svg +1 -1
  890. package/app/public/providers/vllm.svg +1 -1
  891. package/app/public/providers/wandb.svg +1 -4
  892. package/app/public/providers/watsonx.svg +50 -3
  893. package/app/public/providers/xkiro.svg +11 -0
  894. package/app/public/providers/zai-web.svg +1 -7
  895. package/app/public/providers/zcode.png +0 -0
  896. package/app/public/vercel.svg +73 -1
  897. package/app/src/lib/db/migrate.js +6 -3
  898. package/app/src/mitm/server.js +27 -27
  899. package/package.json +1 -1
  900. package/src/cli/menus/providers.js +6 -0
  901. package/src/cli/tray/icon.ico +0 -0
  902. package/src/cli/tray/icon.png +0 -0
  903. package/app/.next-cli-build/server/chunks/1891.js +0 -10
  904. package/app/.next-cli-build/server/chunks/3735.js +0 -1
  905. package/app/.next-cli-build/server/chunks/3841.js +0 -1
  906. package/app/.next-cli-build/server/chunks/3988.js +0 -1
  907. package/app/.next-cli-build/server/chunks/422.js +0 -9
  908. package/app/.next-cli-build/server/chunks/5699.js +0 -1
  909. package/app/.next-cli-build/server/chunks/6306.js +0 -1
  910. package/app/.next-cli-build/server/chunks/6878.js +0 -1
  911. package/app/.next-cli-build/server/chunks/7016.js +0 -3
  912. package/app/.next-cli-build/server/chunks/7410.js +0 -1
  913. package/app/.next-cli-build/server/chunks/8048.js +0 -1
  914. package/app/.next-cli-build/server/chunks/874.js +0 -9
  915. package/app/.next-cli-build/server/chunks/9703.js +0 -14
  916. package/app/.next-cli-build/static/FP2YsqoRbzETOIHRfld7X/_buildManifest.js +0 -1
  917. package/app/.next-cli-build/static/chunks/1321-a387932dc3179f86.js +0 -1
  918. package/app/.next-cli-build/static/chunks/5497-c6d8b48c8828240a.js +0 -7
  919. package/app/.next-cli-build/static/chunks/705-42ad329bbe0c47df.js +0 -1
  920. package/app/.next-cli-build/static/chunks/9497-d27e455b90c7936e.js +0 -1
  921. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-a84afe4d66f3439a.js +0 -3
  922. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/console-log/page-9850fafcf9dd605b.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/endpoint/page-9879594c5128cd91.js +0 -1
  924. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/page-99c8024bece93467.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/page-d3be818ebce4ade2.js +0 -1
  926. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/playground/page-5ef2d54550eda9da.js +0 -1
  927. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/profile/page-d208597b457fee58.js +0 -1
  928. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/page-1f465a9d64823fe6.js +0 -1
  929. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-e249d28461673557.js +0 -1
  930. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-7ea08e0acef52ce3.js +0 -1
  931. package/app/.next-cli-build/static/chunks/app/_global-error/page-d93feb6893aee449.js +0 -1
  932. package/app/.next-cli-build/static/chunks/app/api/alerts/test/route-d93feb6893aee449.js +0 -1
  933. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-d93feb6893aee449.js +0 -1
  934. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-d93feb6893aee449.js +0 -1
  935. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-d93feb6893aee449.js +0 -1
  936. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-d93feb6893aee449.js +0 -1
  937. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-d93feb6893aee449.js +0 -1
  938. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-d93feb6893aee449.js +0 -1
  939. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-d93feb6893aee449.js +0 -1
  940. package/app/.next-cli-build/static/chunks/app/api/breaker/route-d93feb6893aee449.js +0 -1
  941. package/app/.next-cli-build/static/chunks/app/api/cache/route-d93feb6893aee449.js +0 -1
  942. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-d93feb6893aee449.js +0 -1
  943. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-d93feb6893aee449.js +0 -1
  944. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-d93feb6893aee449.js +0 -1
  945. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-d93feb6893aee449.js +0 -1
  946. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-d93feb6893aee449.js +0 -1
  947. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-d93feb6893aee449.js +0 -1
  948. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-d93feb6893aee449.js +0 -1
  949. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-d93feb6893aee449.js +0 -1
  950. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-d93feb6893aee449.js +0 -1
  951. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-d93feb6893aee449.js +0 -1
  952. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-d93feb6893aee449.js +0 -1
  953. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-d93feb6893aee449.js +0 -1
  954. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-d93feb6893aee449.js +0 -1
  955. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-d93feb6893aee449.js +0 -1
  956. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-d93feb6893aee449.js +0 -1
  957. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-d93feb6893aee449.js +0 -1
  958. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-d93feb6893aee449.js +0 -1
  959. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-d93feb6893aee449.js +0 -1
  960. package/app/.next-cli-build/static/chunks/app/api/combos/lab/route-d93feb6893aee449.js +0 -1
  961. package/app/.next-cli-build/static/chunks/app/api/combos/route-d93feb6893aee449.js +0 -1
  962. package/app/.next-cli-build/static/chunks/app/api/combos/simulate/route-d93feb6893aee449.js +0 -1
  963. package/app/.next-cli-build/static/chunks/app/api/combos/validate-roles/route-d93feb6893aee449.js +0 -1
  964. package/app/.next-cli-build/static/chunks/app/api/dashboard/stream/route-d93feb6893aee449.js +0 -1
  965. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-d93feb6893aee449.js +0 -1
  966. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-d93feb6893aee449.js +0 -1
  967. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-d93feb6893aee449.js +0 -1
  968. package/app/.next-cli-build/static/chunks/app/api/health/overview/route-d93feb6893aee449.js +0 -1
  969. package/app/.next-cli-build/static/chunks/app/api/health/providers/route-d93feb6893aee449.js +0 -1
  970. package/app/.next-cli-build/static/chunks/app/api/health/route-d93feb6893aee449.js +0 -1
  971. package/app/.next-cli-build/static/chunks/app/api/health/stream/route-d93feb6893aee449.js +0 -1
  972. package/app/.next-cli-build/static/chunks/app/api/init/route-d93feb6893aee449.js +0 -1
  973. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-d93feb6893aee449.js +0 -1
  974. package/app/.next-cli-build/static/chunks/app/api/keys/route-d93feb6893aee449.js +0 -1
  975. package/app/.next-cli-build/static/chunks/app/api/locale/route-d93feb6893aee449.js +0 -1
  976. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-d93feb6893aee449.js +0 -1
  977. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-d93feb6893aee449.js +0 -1
  978. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-d93feb6893aee449.js +0 -1
  979. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-d93feb6893aee449.js +0 -1
  980. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-d93feb6893aee449.js +0 -1
  981. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-d93feb6893aee449.js +0 -1
  982. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-d93feb6893aee449.js +0 -1
  983. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-d93feb6893aee449.js +0 -1
  984. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-d93feb6893aee449.js +0 -1
  985. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-d93feb6893aee449.js +0 -1
  986. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-d93feb6893aee449.js +0 -1
  987. package/app/.next-cli-build/static/chunks/app/api/models/route-d93feb6893aee449.js +0 -1
  988. package/app/.next-cli-build/static/chunks/app/api/models/test/route-d93feb6893aee449.js +0 -1
  989. package/app/.next-cli-build/static/chunks/app/api/oauth/1min/import/route-d93feb6893aee449.js +0 -1
  990. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-d93feb6893aee449.js +0 -1
  991. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-d93feb6893aee449.js +0 -1
  992. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-d93feb6893aee449.js +0 -1
  993. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-d93feb6893aee449.js +0 -1
  994. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-d93feb6893aee449.js +0 -1
  995. package/app/.next-cli-build/static/chunks/app/api/oauth/freebuff/import/route-d93feb6893aee449.js +0 -1
  996. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-d93feb6893aee449.js +0 -1
  997. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-d93feb6893aee449.js +0 -1
  998. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/auto-import/route-d93feb6893aee449.js +0 -1
  999. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/import/route-d93feb6893aee449.js +0 -1
  1000. package/app/.next-cli-build/static/chunks/app/api/oauth/kimi-desktop/quota/route-d93feb6893aee449.js +0 -1
  1001. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-d93feb6893aee449.js +0 -1
  1002. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-d93feb6893aee449.js +0 -1
  1003. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-d93feb6893aee449.js +0 -1
  1004. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-d93feb6893aee449.js +0 -1
  1005. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-d93feb6893aee449.js +0 -1
  1006. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-d93feb6893aee449.js +0 -1
  1007. package/app/.next-cli-build/static/chunks/app/api/oauth/qwen/import/route-d93feb6893aee449.js +0 -1
  1008. package/app/.next-cli-build/static/chunks/app/api/oauth/wp-studio/import/route-d93feb6893aee449.js +0 -1
  1009. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-d93feb6893aee449.js +0 -1
  1010. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-d93feb6893aee449.js +0 -1
  1011. package/app/.next-cli-build/static/chunks/app/api/pricing/route-d93feb6893aee449.js +0 -1
  1012. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-d93feb6893aee449.js +0 -1
  1013. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-d93feb6893aee449.js +0 -1
  1014. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-d93feb6893aee449.js +0 -1
  1015. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/agnes-profile/route-d93feb6893aee449.js +0 -1
  1016. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/felo-profile/route-d93feb6893aee449.js +0 -1
  1017. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/freebuff-profile/route-d93feb6893aee449.js +0 -1
  1018. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/health-timeline/route-d93feb6893aee449.js +0 -1
  1019. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/inxora-profile/route-d93feb6893aee449.js +0 -1
  1020. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-d93feb6893aee449.js +0 -1
  1021. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-api-profile/route-d93feb6893aee449.js +0 -1
  1022. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/onemin-profile/route-d93feb6893aee449.js +0 -1
  1023. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/qwencloud-profile/route-d93feb6893aee449.js +0 -1
  1024. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-d93feb6893aee449.js +0 -1
  1025. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-d93feb6893aee449.js +0 -1
  1026. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-d93feb6893aee449.js +0 -1
  1027. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/v0-profile/route-d93feb6893aee449.js +0 -1
  1028. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/vault-pool/route-d93feb6893aee449.js +0 -1
  1029. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zai-profile/route-d93feb6893aee449.js +0 -1
  1030. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/zenmux-plans/route-d93feb6893aee449.js +0 -1
  1031. package/app/.next-cli-build/static/chunks/app/api/providers/capture/launch/route-d93feb6893aee449.js +0 -1
  1032. package/app/.next-cli-build/static/chunks/app/api/providers/capture/route-d93feb6893aee449.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-d93feb6893aee449.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/launch/route-d93feb6893aee449.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/providers/felo-capture/route-d93feb6893aee449.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-d93feb6893aee449.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/providers/route-d93feb6893aee449.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-d93feb6893aee449.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-d93feb6893aee449.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-d93feb6893aee449.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-d93feb6893aee449.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-d93feb6893aee449.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-d93feb6893aee449.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-d93feb6893aee449.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-d93feb6893aee449.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-d93feb6893aee449.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-d93feb6893aee449.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-d93feb6893aee449.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-d93feb6893aee449.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-d93feb6893aee449.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-d93feb6893aee449.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/settings/route-d93feb6893aee449.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-d93feb6893aee449.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/smart-routing/active/route-d93feb6893aee449.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/smart-routing/history/route-d93feb6893aee449.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/smart-routing/lab/route-d93feb6893aee449.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/smart-routing/stream/route-d93feb6893aee449.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/swarm/active/route-d93feb6893aee449.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/swarm/stream/route-d93feb6893aee449.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/tags/route-d93feb6893aee449.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-d93feb6893aee449.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-d93feb6893aee449.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-d93feb6893aee449.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-d93feb6893aee449.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-d93feb6893aee449.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-d93feb6893aee449.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-d93feb6893aee449.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-d93feb6893aee449.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-d93feb6893aee449.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-d93feb6893aee449.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-d93feb6893aee449.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-d93feb6893aee449.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-d93feb6893aee449.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-d93feb6893aee449.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-d93feb6893aee449.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-d93feb6893aee449.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-d93feb6893aee449.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/usage/leaderboard/route-d93feb6893aee449.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-d93feb6893aee449.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/usage/meta/route-d93feb6893aee449.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-d93feb6893aee449.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-d93feb6893aee449.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-d93feb6893aee449.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/usage/retry-stats/route-d93feb6893aee449.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-d93feb6893aee449.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-d93feb6893aee449.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-d93feb6893aee449.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-d93feb6893aee449.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-d93feb6893aee449.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-d93feb6893aee449.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-d93feb6893aee449.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-d93feb6893aee449.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-d93feb6893aee449.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-d93feb6893aee449.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-d93feb6893aee449.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/v1/models/[kind]/route-d93feb6893aee449.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-d93feb6893aee449.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-d93feb6893aee449.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-d93feb6893aee449.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-d93feb6893aee449.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/v1/route-d93feb6893aee449.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-d93feb6893aee449.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-d93feb6893aee449.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-d93feb6893aee449.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-d93feb6893aee449.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/version/route-d93feb6893aee449.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-d93feb6893aee449.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/version/update/route-d93feb6893aee449.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-d93feb6893aee449.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/page-d93feb6893aee449.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-d93feb6893aee449.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-d93feb6893aee449.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-d93feb6893aee449.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-d93feb6893aee449.js +0 -1
  1115. package/app/.next-cli-build/static/css/d30ee18d498368cc.css +0 -1
  1116. package/app/public/providers/ai21.svg +0 -4
  1117. package/app/public/providers/aimlapi.svg +0 -4
  1118. package/app/public/providers/ainative.svg +0 -4
  1119. package/app/public/providers/aion.svg +0 -4
  1120. package/app/public/providers/anyapi.svg +0 -4
  1121. package/app/public/providers/arcee-ai.svg +0 -4
  1122. package/app/public/providers/bai.svg +0 -4
  1123. package/app/public/providers/baseten.svg +0 -4
  1124. package/app/public/providers/blackbox-web.svg +0 -6
  1125. package/app/public/providers/bluesminds.svg +0 -4
  1126. package/app/public/providers/bytez.svg +0 -4
  1127. package/app/public/providers/charm-hyper.svg +0 -4
  1128. package/app/public/providers/cheaperinference.svg +0 -4
  1129. package/app/public/providers/chenzk.svg +0 -4
  1130. package/app/public/providers/conol-web.svg +0 -1
  1131. package/app/public/providers/crof.svg +0 -4
  1132. package/app/public/providers/datarobot.svg +0 -4
  1133. package/app/public/providers/orcarouter.svg +0 -4
  1134. /package/app/.next-cli-build/static/{FP2YsqoRbzETOIHRfld7X → zahf-uMWnrDSCrrfcee0d}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=626,a.ids=[626],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},24467:(a,b,c)=>{"use strict";c.d(b,{DS:()=>r,GK:()=>m,MX:()=>l,RF:()=>s,X6:()=>f,Yh:()=>t,aS:()=>p,gI:()=>h,hy:()=>i,i5:()=>o,j8:()=>n});var d=c(78474);global._circuitBreakers||(global._circuitBreakers=new Map,global._breakerEmitter=new d.EventEmitter,global._breakerEmitter.setMaxListeners(50));let e=global._circuitBreakers,f=global._breakerEmitter,g={enabled:!0,failureThreshold:5,windowMs:6e4,cooldownMs:3e4,halfOpenMaxCalls:1};function h(a,b){let c=b&&"object"==typeof b?b:{};if(!c.connectionProxyEnabled)return a;let d=c.connectionProxyPoolId||"",e=c.connectionProxyUrl||"";return`${a}:proxy:${d||e}`}function i(a){let b=Number(a)||0;return 0===b||429===b||b>=500}function j(a){let b=e.get(a);return b||(b={key:a,state:"closed",failures:[],openedAt:null,cooldownEndsAt:null,halfOpenCalls:0,lastActivityAt:Date.now()},e.set(a,b)),b}function k(a){let b=e.get(a);b&&f.emit("breaker:update",{provider:b.key,state:b.state,failures:b.failures.length,openedAt:b.openedAt,cooldownEndsAt:b.cooldownEndsAt})}function l(a,b={},c=null){let d={...g,...b?.circuitBreaker||{}};if(!d.enabled)return!1;let e=c||a,f=j(e);f.lastActivityAt=Date.now();let h=Date.now();if("open"===f.state)if(!f.cooldownEndsAt||!(h>=f.cooldownEndsAt))return!0;else f.state="halfOpen",f.halfOpenCalls=0,k(e);if("halfOpen"===f.state){if(f.halfOpenCalls>=d.halfOpenMaxCalls)return!0;f.halfOpenCalls++}return!1}function m(a,b={},c=null){let d={...g,...b?.circuitBreaker||{}};if(!d.enabled)return!1;let f=e.get(c||a);if(!f)return!1;let h=Date.now();return"open"===f.state?!f.cooldownEndsAt||!(h>=f.cooldownEndsAt):"halfOpen"===f.state&&f.halfOpenCalls>=d.halfOpenMaxCalls}function n(a,b={},c=null){if(!({...g,...b?.circuitBreaker||{}}).enabled)return;let d=c||a,e=j(d);e.lastActivityAt=Date.now(),("closed"!==e.state||e.failures.length>0)&&(e.state="closed",e.failures=[],e.openedAt=null,e.cooldownEndsAt=null,e.halfOpenCalls=0,k(d))}function o(a,b,c={},d=null){let e={...g,...c?.circuitBreaker||{}};if(!e.enabled)return;let f=d||a,h=j(f);h.lastActivityAt=Date.now();let i=Date.now();if("halfOpen"===h.state){h.state="open",h.openedAt=i,h.cooldownEndsAt=i+e.cooldownMs,h.halfOpenCalls=0,h.failures=[{ts:i,status:b}],k(f);return}if("closed"===h.state){h.failures.push({ts:i,status:b});let a=i-e.windowMs;h.failures=h.failures.filter(b=>b.ts>=a),h.failures.length>=e.failureThreshold&&(h.state="open",h.openedAt=i,h.cooldownEndsAt=i+e.cooldownMs,k(f))}}function p(a,b=null){let c=e.get(b||a);!c||(c.lastActivityAt=Date.now(),"halfOpen"===c.state&&c.halfOpenCalls>0&&c.halfOpenCalls--)}let q=0;function r(){let a=Date.now();!function(a){if(a-q<6e4)return;q=a;let b=a-6e5;for(let[a,c]of e)"closed"===c.state&&(c.lastActivityAt||0)<b&&e.delete(a)}(a);let b=[];for(let c of e.values()){let d=c.state,e=null;"open"===c.state&&c.cooldownEndsAt&&0===(e=Math.max(0,c.cooldownEndsAt-a))&&(d="halfOpen"),b.push({provider:c.key,state:d,failures:c.failures.length,openedAt:c.openedAt,cooldownEndsAt:c.cooldownEndsAt,cooldownRemainingMs:e})}return b}function s(a,b=null){let c=e.get(b||a);return c&&"open"===c.state&&c.cooldownEndsAt?c.cooldownEndsAt:null}function t(a,b=null){if(b){let a=e.get(b);return!!a&&(a.state="closed",a.failures=[],a.openedAt=null,a.cooldownEndsAt=null,a.halfOpenCalls=0,k(b),!0)}let c=!1;for(let[b,d]of e)(b===a||b.startsWith(`${a}:`))&&(d.state="closed",d.failures=[],d.openedAt=null,d.cooldownEndsAt=null,d.halfOpenCalls=0,k(b),c=!0);return c}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69139:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>x,POST:()=>y,dynamic:()=>w});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(24467);let w="force-dynamic";async function x(){return Response.json({breakers:(0,v.DS)()})}async function y(a){let b;try{b=await a.json()}catch{b={}}let c=b?.provider;if("string"!=typeof c||!c)return Response.json({error:"provider is required"},{status:400});let d="string"==typeof b?.key&&b.key?b.key:null,e=(0,v.Yh)(c,d);return Response.json({success:!0,resets:e,provider:c,key:d})}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/breaker/route",pathname:"/api/breaker",filename:"route",bundlePath:"app/api/breaker/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/src/app/api/breaker/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/breaker/route";"/index"===d&&(d="/");let e=await z.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:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.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)=>z.onRequestError(a,b,d,e,C)},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=>z.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&&D&&E&&!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(!J)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 z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.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)!==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",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,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||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 z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},78335:()=>{},78474:a=>{"use strict";a.exports=require("node:events")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=69139));module.exports=c})();
1
+ (()=>{var a={};a.id=626,a.ids=[626],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19225:(a,b,c)=>{"use strict";a.exports=c(44870)},24467:(a,b,c)=>{"use strict";c.d(b,{DS:()=>r,GK:()=>m,MX:()=>l,RF:()=>s,X6:()=>f,Yh:()=>u,aS:()=>p,gI:()=>h,hy:()=>i,i5:()=>o,j8:()=>n,qK:()=>t});var d=c(78474);global._circuitBreakers||(global._circuitBreakers=new Map,global._breakerEmitter=new d.EventEmitter,global._breakerEmitter.setMaxListeners(50));let e=global._circuitBreakers,f=global._breakerEmitter,g={enabled:!0,failureThreshold:5,windowMs:6e4,cooldownMs:3e4,halfOpenMaxCalls:1};function h(a,b){let c=b&&"object"==typeof b?b:{};if(!c.connectionProxyEnabled)return a;let d=c.connectionProxyPoolId||"",e=c.connectionProxyUrl||"";return`${a}:proxy:${d||e}`}function i(a){let b=Number(a)||0;return 0===b||429===b||b>=500}function j(a){let b=e.get(a);return b||(b={key:a,state:"closed",failures:[],openedAt:null,cooldownEndsAt:null,halfOpenCalls:0,lastActivityAt:Date.now()},e.set(a,b)),b}function k(a){let b=e.get(a);b&&f.emit("breaker:update",{provider:b.key,state:b.state,failures:b.failures.length,openedAt:b.openedAt,cooldownEndsAt:b.cooldownEndsAt})}function l(a,b={},c=null){let d={...g,...b?.circuitBreaker||{}};if(!d.enabled)return!1;let e=c||a,f=j(e);f.lastActivityAt=Date.now();let h=Date.now();if("open"===f.state)if(!f.cooldownEndsAt||!(h>=f.cooldownEndsAt))return!0;else f.state="halfOpen",f.halfOpenCalls=0,k(e);if("halfOpen"===f.state){if(f.halfOpenCalls>=d.halfOpenMaxCalls)return!0;f.halfOpenCalls++}return!1}function m(a,b={},c=null){let d={...g,...b?.circuitBreaker||{}};if(!d.enabled)return!1;let f=e.get(c||a);if(!f)return!1;let h=Date.now();return"open"===f.state?!f.cooldownEndsAt||!(h>=f.cooldownEndsAt):"halfOpen"===f.state&&f.halfOpenCalls>=d.halfOpenMaxCalls}function n(a,b={},c=null){if(!({...g,...b?.circuitBreaker||{}}).enabled)return;let d=c||a,e=j(d);e.lastActivityAt=Date.now(),("closed"!==e.state||e.failures.length>0)&&(e.state="closed",e.failures=[],e.openedAt=null,e.cooldownEndsAt=null,e.halfOpenCalls=0,k(d))}function o(a,b,c={},d=null){let e={...g,...c?.circuitBreaker||{}};if(!e.enabled)return;let f=d||a,h=j(f);h.lastActivityAt=Date.now();let i=Date.now();if("halfOpen"===h.state){h.state="open",h.openedAt=i,h.cooldownEndsAt=i+e.cooldownMs,h.halfOpenCalls=0,h.failures=[{ts:i,status:b}],k(f);return}if("closed"===h.state){h.failures.push({ts:i,status:b});let a=i-e.windowMs;h.failures=h.failures.filter(b=>b.ts>=a),h.failures.length>=e.failureThreshold&&(h.state="open",h.openedAt=i,h.cooldownEndsAt=i+e.cooldownMs,k(f))}}function p(a,b=null){let c=e.get(b||a);!c||(c.lastActivityAt=Date.now(),"halfOpen"===c.state&&c.halfOpenCalls>0&&c.halfOpenCalls--)}let q=0;function r(){let a=Date.now();!function(a){if(a-q<6e4)return;q=a;let b=a-6e5;for(let[a,c]of e)"closed"===c.state&&(c.lastActivityAt||0)<b&&e.delete(a)}(a);let b=[];for(let c of e.values()){let d=c.state,e=null;"open"===c.state&&c.cooldownEndsAt&&0===(e=Math.max(0,c.cooldownEndsAt-a))&&(d="halfOpen"),b.push({provider:c.key,state:d,failures:c.failures.length,openedAt:c.openedAt,cooldownEndsAt:c.cooldownEndsAt,cooldownRemainingMs:e})}return b}function s(a,b=null){let c=e.get(b||a);return c&&"open"===c.state&&c.cooldownEndsAt?c.cooldownEndsAt:null}function t(){return 0!==e.size&&(e.clear(),!0)}function u(a,b=null){if(b){let a=e.get(b);return!!a&&(a.state="closed",a.failures=[],a.openedAt=null,a.cooldownEndsAt=null,a.halfOpenCalls=0,k(b),!0)}let c=!1;for(let[b,d]of e)(b===a||b.startsWith(`${a}:`))&&(d.state="closed",d.failures=[],d.openedAt=null,d.cooldownEndsAt=null,d.halfOpenCalls=0,k(b),c=!0);return c}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},78474:a=>{"use strict";a.exports=require("node:events")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},92280:(a,b,c)=>{"use strict";Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94489:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{GET:()=>x,POST:()=>y,dynamic:()=>w});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(24467);let w="force-dynamic";async function x(){return Response.json({breakers:(0,v.DS)()})}async function y(a){let b;try{b=await a.json()}catch{b={}}let c=b?.provider;if("string"!=typeof c||!c)return Response.json({error:"provider is required"},{status:400});let d="string"==typeof b?.key&&b.key?b.key:null,e=(0,v.Yh)(c,d);return Response.json({success:!0,resets:e,provider:c,key:d})}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/breaker/route",pathname:"/api/breaker",filename:"route",bundlePath:"app/api/breaker/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/src/app/api/breaker/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/breaker/route";"/index"===d&&(d="/");let e=await z.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:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.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)=>z.onRequestError(a,b,d,e,C)},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=>z.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&&D&&E&&!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(!J)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 z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.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)!==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",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,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||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 z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741],()=>b(b.s=94489));module.exports=c})();
@@ -1 +1 @@
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/1129.js","../../../chunks/1194.js","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1260.js","../../../chunks/1350.js","../../../chunks/1429.js","../../../chunks/1477.js","../../../chunks/1719.js","../../../chunks/1813.js","../../../chunks/1891.js","../../../chunks/1998.js","../../../chunks/212.js","../../../chunks/2409.js","../../../chunks/241.js","../../../chunks/319.js","../../../chunks/3520.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3593.js","../../../chunks/3735.js","../../../chunks/3841.js","../../../chunks/3988.js","../../../chunks/4013.js","../../../chunks/4046.js","../../../chunks/4109.js","../../../chunks/412.js","../../../chunks/42.js","../../../chunks/422.js","../../../chunks/4452.js","../../../chunks/4502.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4780.js","../../../chunks/507.js","../../../chunks/5253.js","../../../chunks/5258.js","../../../chunks/5330.js","../../../chunks/5573.js","../../../chunks/5612.js","../../../chunks/5615.js","../../../chunks/5628.js","../../../chunks/5699.js","../../../chunks/5781.js","../../../chunks/5852.js","../../../chunks/595.js","../../../chunks/5961.js","../../../chunks/6182.js","../../../chunks/6306.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6591.js","../../../chunks/6630.js","../../../chunks/6638.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6878.js","../../../chunks/6935.js","../../../chunks/698.js","../../../chunks/7016.js","../../../chunks/7410.js","../../../chunks/7524.js","../../../chunks/7566.js","../../../chunks/7765.js","../../../chunks/7774.js","../../../chunks/7914.js","../../../chunks/7965.js","../../../chunks/8000.js","../../../chunks/8048.js","../../../chunks/809.js","../../../chunks/8238.js","../../../chunks/8266.js","../../../chunks/8271.js","../../../chunks/8520.js","../../../chunks/874.js","../../../chunks/8802.js","../../../chunks/885.js","../../../chunks/8895.js","../../../chunks/8971.js","../../../chunks/9365.js","../../../chunks/9528.js","../../../chunks/9573.js","../../../chunks/9609.js","../../../chunks/9703.js","../../../chunks/9903.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/1129.js","../../../chunks/1194.js","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1260.js","../../../chunks/1350.js","../../../chunks/1411.js","../../../chunks/1429.js","../../../chunks/1477.js","../../../chunks/1719.js","../../../chunks/1813.js","../../../chunks/1998.js","../../../chunks/212.js","../../../chunks/2409.js","../../../chunks/241.js","../../../chunks/2436.js","../../../chunks/319.js","../../../chunks/3520.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3552.js","../../../chunks/3593.js","../../../chunks/4013.js","../../../chunks/4046.js","../../../chunks/4109.js","../../../chunks/412.js","../../../chunks/4161.js","../../../chunks/42.js","../../../chunks/4452.js","../../../chunks/4502.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4780.js","../../../chunks/4828.js","../../../chunks/4957.js","../../../chunks/4987.js","../../../chunks/5050.js","../../../chunks/507.js","../../../chunks/5253.js","../../../chunks/5258.js","../../../chunks/5330.js","../../../chunks/5473.js","../../../chunks/5573.js","../../../chunks/5604.js","../../../chunks/5612.js","../../../chunks/5615.js","../../../chunks/5628.js","../../../chunks/5781.js","../../../chunks/5852.js","../../../chunks/595.js","../../../chunks/5961.js","../../../chunks/6007.js","../../../chunks/6157.js","../../../chunks/6182.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6488.js","../../../chunks/6591.js","../../../chunks/6630.js","../../../chunks/6638.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6935.js","../../../chunks/698.js","../../../chunks/7247.js","../../../chunks/7524.js","../../../chunks/7566.js","../../../chunks/7765.js","../../../chunks/7774.js","../../../chunks/7914.js","../../../chunks/7965.js","../../../chunks/8000.js","../../../chunks/809.js","../../../chunks/8238.js","../../../chunks/8240.js","../../../chunks/8266.js","../../../chunks/8271.js","../../../chunks/8520.js","../../../chunks/8802.js","../../../chunks/885.js","../../../chunks/8851.js","../../../chunks/8895.js","../../../chunks/8971.js","../../../chunks/9365.js","../../../chunks/9528.js","../../../chunks/9573.js","../../../chunks/9609.js","../../../chunks/9715.js","../../../chunks/9903.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- (()=>{var a={};a.id=5616,a.ids=[5616],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},18243:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{DELETE:()=>y,GET:()=>x});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(89630);async function x(){try{let a=(0,w.QS)();return v.NextResponse.json(a)}catch{return v.NextResponse.json({size:0,hits:0,misses:0,hitRate:0})}}async function y(){try{let a=(0,w.IL)();return v.NextResponse.json({success:!0,cleared:a})}catch(a){return v.NextResponse.json({error:a?.message||"Failed to clear cache"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cache/route",pathname:"/api/cache",filename:"route",bundlePath:"app/api/cache/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/src/app/api/cache/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cache/route";"/index"===d&&(d="/");let e=await z.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:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.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)=>z.onRequestError(a,b,d,e,C)},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=>z.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&&D&&E&&!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(!J)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 z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.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)!==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",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,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||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 z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89630:(a,b,c)=>{"use strict";c.d(b,{IL:()=>m,QS:()=>l,TZ:()=>i,fQ:()=>j,ww:()=>k});let d=global._semanticCache??=new Map,e=global._semanticCacheStats??={hits:0,misses:0,nearHits:0,stored:0,evicted:0};function f(a){return new Set(String(a).toLowerCase().replace(/[^\w\s]/g," ").split(/\s+/).filter(a=>a.length>=2))}function g(a){if(!Array.isArray(a))return"";let b=[];for(let c of a)if("user"===c.role){if("string"==typeof c.content)b.push(c.content);else if(Array.isArray(c.content))for(let a of c.content)"text"===a.type&&a.text&&b.push(a.text)}return b.join("\n")}function h(a,b,c,d=""){let e=0x811c9dc5,f=`${d}::${a}::${b}::${c}`;for(let a=0;a<f.length;a++)e^=f.charCodeAt(a),e=Math.imul(e,0x1000193);return e>>>0}function i(a,b,c,d){if(b||!a?.messages||a.tools||a.tool_choice||a.functions||g(a.messages).length<10)return!1;for(let b of a.messages)if("system"===b.role&&"string"==typeof b.content&&/do not cache|no cache/i.test(b.content))return!1;return!0}function j(a,b,c,i=.85,k=""){let l=g(c.messages);if(!l)return e.misses++,null;let m=h(a,b,l,k),n=Date.now(),o=d.get(m);if(o&&o.expiresAt>n)return o.lastAccessed=n,e.hits++,{response:o.response,similarity:1,exact:!0};o&&d.delete(m);let p=f(l),q=null,r=0;for(let[c,f]of d){if(f.expiresAt<=n){d.delete(c),e.evicted++;continue}if(f.identity!==k||f.provider!==a||f.model!==b)continue;let g=function(a,b){if(0===a.size||0===b.size)return 0;let c=0;for(let d of a)b.has(d)&&c++;return c/(a.size+b.size-c)}(p,f.tokenSet);g>=i&&g>r&&(r=g,q=f)}return q?(q.lastAccessed=n,e.nearHits++,{response:q.response,similarity:r,exact:!1}):(e.misses++,null)}function k(a,b,c,i,j=18e5,l=""){let m=g(c.messages);if(!m)return;let n=h(a,b,m,l),o=Date.now();if(d.size>=200){let a=null,b=1/0;for(let[c,e]of d)e.lastAccessed<b&&(b=e.lastAccessed,a=c);a&&(d.delete(a),e.evicted++)}d.set(n,{provider:a,model:b,identity:l,response:i,tokenSet:f(m),text:m,createdAt:o,lastAccessed:o,expiresAt:o+j}),e.stored++}function l(){let a=0,b=Date.now();for(let c of d.values())c.expiresAt<=b&&a++;return{size:d.size,active:d.size-a,expired:a,...e,hitRate:e.hits+e.nearHits+e.misses>0?Math.round((e.hits+e.nearHits)/(e.hits+e.nearHits+e.misses)*100):0}}function m(){let a=d.size;return d.clear(),e.hits=0,e.misses=0,e.nearHits=0,e.stored=0,e.evicted=0,a}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=18243));module.exports=c})();
1
+ (()=>{var a={};a.id=5616,a.ids=[5616],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},56558:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>E,patchFetch:()=>D,routeModule:()=>z,serverHooks:()=>C,workAsyncStorage:()=>A,workUnitAsyncStorage:()=>B});var d={};c.r(d),c.d(d,{DELETE:()=>y,GET:()=>x});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(89630);async function x(){try{let a=(0,w.QS)();return v.NextResponse.json(a)}catch{return v.NextResponse.json({size:0,hits:0,misses:0,hitRate:0})}}async function y(){try{let a=(0,w.IL)();return v.NextResponse.json({success:!0,cleared:a})}catch(a){return v.NextResponse.json({error:a?.message||"Failed to clear cache"},{status:500})}}let z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/cache/route",pathname:"/api/cache",filename:"route",bundlePath:"app/api/cache/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/src/app/api/cache/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:A,workUnitAsyncStorage:B,serverHooks:C}=z;function D(){return(0,g.patchFetch)({workAsyncStorage:A,workUnitAsyncStorage:B})}async function E(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/cache/route";"/index"===d&&(d="/");let e=await z.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:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,y,!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(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||z.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===z.isDev||!J,N=J&&!M;H&&G&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,i.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await z.getIncrementalCache(a,x,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:B.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)=>z.onRequestError(a,b,d,e,C)},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=>z.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&&D&&E&&!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(!J)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 z.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},k=await z.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.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)!==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",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,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&J||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 z.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},78335:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89630:(a,b,c)=>{"use strict";c.d(b,{IL:()=>m,QS:()=>l,TZ:()=>i,fQ:()=>j,ww:()=>k});let d=global._semanticCache??=new Map,e=global._semanticCacheStats??={hits:0,misses:0,nearHits:0,stored:0,evicted:0};function f(a){return new Set(String(a).toLowerCase().replace(/[^\w\s]/g," ").split(/\s+/).filter(a=>a.length>=2))}function g(a){if(!Array.isArray(a))return"";let b=[];for(let c of a)if("user"===c.role){if("string"==typeof c.content)b.push(c.content);else if(Array.isArray(c.content))for(let a of c.content)"text"===a.type&&a.text&&b.push(a.text)}return b.join("\n")}function h(a,b,c,d=""){let e=0x811c9dc5,f=`${d}::${a}::${b}::${c}`;for(let a=0;a<f.length;a++)e^=f.charCodeAt(a),e=Math.imul(e,0x1000193);return e>>>0}function i(a,b,c,d){if(b||!a?.messages||a.tools||a.tool_choice||a.functions||g(a.messages).length<10)return!1;for(let b of a.messages)if("system"===b.role&&"string"==typeof b.content&&/do not cache|no cache/i.test(b.content))return!1;return!0}function j(a,b,c,i=.85,k=""){let l=g(c.messages);if(!l)return e.misses++,null;let m=h(a,b,l,k),n=Date.now(),o=d.get(m);if(o&&o.expiresAt>n)return o.lastAccessed=n,e.hits++,{response:o.response,similarity:1,exact:!0};o&&d.delete(m);let p=f(l),q=null,r=0;for(let[c,f]of d){if(f.expiresAt<=n){d.delete(c),e.evicted++;continue}if(f.identity!==k||f.provider!==a||f.model!==b)continue;let g=function(a,b){if(0===a.size||0===b.size)return 0;let c=0;for(let d of a)b.has(d)&&c++;return c/(a.size+b.size-c)}(p,f.tokenSet);g>=i&&g>r&&(r=g,q=f)}return q?(q.lastAccessed=n,e.nearHits++,{response:q.response,similarity:r,exact:!1}):(e.misses++,null)}function k(a,b,c,i,j=18e5,l=""){let m=g(c.messages);if(!m)return;let n=h(a,b,m,l),o=Date.now();if(d.size>=200){let a=null,b=1/0;for(let[c,e]of d)e.lastAccessed<b&&(b=e.lastAccessed,a=c);a&&(d.delete(a),e.evicted++)}d.set(n,{provider:a,model:b,identity:l,response:i,tokenSet:f(m),text:m,createdAt:o,lastAccessed:o,expiresAt:o+j}),e.stored++}function l(){let a=0,b=Date.now();for(let c of d.values())c.expiresAt<=b&&a++;return{size:d.size,active:d.size-a,expired:a,...e,hitRate:e.hits+e.nearHits+e.misses>0?Math.round((e.hits+e.nearHits)/(e.hits+e.nearHits+e.misses)*100):0}}function m(){let a=d.size;return d.clear(),e.hits=0,e.misses=0,e.nearHits=0,e.stored=0,e.evicted=0,a}},96487:()=>{}};var b=require("../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813],()=>b(b.s=56558));module.exports=c})();
@@ -1 +1 @@
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/1129.js","../../../chunks/1194.js","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1260.js","../../../chunks/1350.js","../../../chunks/1429.js","../../../chunks/1477.js","../../../chunks/1719.js","../../../chunks/1813.js","../../../chunks/1891.js","../../../chunks/1998.js","../../../chunks/212.js","../../../chunks/2409.js","../../../chunks/241.js","../../../chunks/319.js","../../../chunks/3520.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3593.js","../../../chunks/3735.js","../../../chunks/3841.js","../../../chunks/3988.js","../../../chunks/4013.js","../../../chunks/4046.js","../../../chunks/4109.js","../../../chunks/412.js","../../../chunks/42.js","../../../chunks/422.js","../../../chunks/4452.js","../../../chunks/4502.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4780.js","../../../chunks/507.js","../../../chunks/5253.js","../../../chunks/5258.js","../../../chunks/5330.js","../../../chunks/5573.js","../../../chunks/5612.js","../../../chunks/5615.js","../../../chunks/5628.js","../../../chunks/5699.js","../../../chunks/5781.js","../../../chunks/5852.js","../../../chunks/595.js","../../../chunks/5961.js","../../../chunks/6182.js","../../../chunks/6306.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6591.js","../../../chunks/6630.js","../../../chunks/6638.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6878.js","../../../chunks/6935.js","../../../chunks/698.js","../../../chunks/7016.js","../../../chunks/7410.js","../../../chunks/7524.js","../../../chunks/7566.js","../../../chunks/7765.js","../../../chunks/7774.js","../../../chunks/7914.js","../../../chunks/7965.js","../../../chunks/8000.js","../../../chunks/8048.js","../../../chunks/809.js","../../../chunks/8238.js","../../../chunks/8266.js","../../../chunks/8271.js","../../../chunks/8520.js","../../../chunks/874.js","../../../chunks/8802.js","../../../chunks/885.js","../../../chunks/8895.js","../../../chunks/8971.js","../../../chunks/9365.js","../../../chunks/9528.js","../../../chunks/9573.js","../../../chunks/9609.js","../../../chunks/9703.js","../../../chunks/9903.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/1129.js","../../../chunks/1194.js","../../../chunks/1220.js","../../../chunks/1241.js","../../../chunks/1260.js","../../../chunks/1350.js","../../../chunks/1411.js","../../../chunks/1429.js","../../../chunks/1477.js","../../../chunks/1719.js","../../../chunks/1813.js","../../../chunks/1998.js","../../../chunks/212.js","../../../chunks/2409.js","../../../chunks/241.js","../../../chunks/2436.js","../../../chunks/319.js","../../../chunks/3520.js","../../../chunks/3535.js","../../../chunks/3546.js","../../../chunks/3552.js","../../../chunks/3593.js","../../../chunks/4013.js","../../../chunks/4046.js","../../../chunks/4109.js","../../../chunks/412.js","../../../chunks/4161.js","../../../chunks/42.js","../../../chunks/4452.js","../../../chunks/4502.js","../../../chunks/4739.js","../../../chunks/4741.js","../../../chunks/4780.js","../../../chunks/4828.js","../../../chunks/4957.js","../../../chunks/4987.js","../../../chunks/5050.js","../../../chunks/507.js","../../../chunks/5253.js","../../../chunks/5258.js","../../../chunks/5330.js","../../../chunks/5473.js","../../../chunks/5573.js","../../../chunks/5604.js","../../../chunks/5612.js","../../../chunks/5615.js","../../../chunks/5628.js","../../../chunks/5781.js","../../../chunks/5852.js","../../../chunks/595.js","../../../chunks/5961.js","../../../chunks/6007.js","../../../chunks/6157.js","../../../chunks/6182.js","../../../chunks/6457.js","../../../chunks/6482.js","../../../chunks/6488.js","../../../chunks/6591.js","../../../chunks/6630.js","../../../chunks/6638.js","../../../chunks/6777.js","../../../chunks/6844.js","../../../chunks/6935.js","../../../chunks/698.js","../../../chunks/7247.js","../../../chunks/7524.js","../../../chunks/7566.js","../../../chunks/7765.js","../../../chunks/7774.js","../../../chunks/7914.js","../../../chunks/7965.js","../../../chunks/8000.js","../../../chunks/809.js","../../../chunks/8238.js","../../../chunks/8240.js","../../../chunks/8266.js","../../../chunks/8271.js","../../../chunks/8520.js","../../../chunks/8802.js","../../../chunks/885.js","../../../chunks/8851.js","../../../chunks/8895.js","../../../chunks/8971.js","../../../chunks/9365.js","../../../chunks/9528.js","../../../chunks/9573.js","../../../chunks/9609.js","../../../chunks/9715.js","../../../chunks/9903.js","../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1,15 +1,15 @@
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:()=>r,GET:()=>o,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(24102),i=c(24424);let j=a=>"string"==typeof a?a:a&&"object"==typeof a?a.primary??"":"",k=()=>g().join(os.homedir(),".openclaw"),l=()=>g().join(k(),"openclaw.json"),m=()=>(0,h.cs)(l()),n=async a=>{try{let b=g().join(a,"models.json"),c=await (0,h.n9)(b,null);if(null===c)return null;let d=JSON.parse(c),e=d?.providers?.["@rsalmn/extremerouter"]?.models;return e?.[0]?.id||null}catch{return null}};async function o(){try{if(!await (0,h.yK)({binary:"openclaw",configPaths:[l()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await m(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await n(a.agentDir):null;return{...a,model:j(a.model),currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasExtremeRouter:!!a&&!!a.models&&!!a.models.providers&&!!a.models.providers["@rsalmn/extremerouter"],settingsPath:l()})}catch(a){return(0,h.Ol)("Error checking openclaw settings",a,"Failed to check openclaw settings")}}let p=async(a,b,c,d)=>{await (0,h.Gu)(a);let e=g().join(a,"models.json"),f=await (0,h.cs)(e)||{};f.providers||(f.providers={}),f.providers["@rsalmn/extremerouter"]={baseUrl:c,apiKey:d||"your_api_key",api:"openai-completions",models:[{id:b,name:b.split("/").pop()||b}]},await (0,h.An)(e,f)};async function q(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=k(),i=l();await (0,h.Gu)(g);let n=await m()||{};n.agents||(n.agents={}),n.agents.defaults||(n.agents.defaults={}),n.agents.defaults.model||(n.agents.defaults.model={}),n.agents.defaults.models||(n.agents.defaults.models={}),n.models||(n.models={}),n.models.providers||(n.models.providers={});let o=(0,h.Sp)(b,"/v1"),q=`extremerouter/${d}`;Object.keys(n.agents.defaults.models).filter(a=>a.startsWith("extremerouter/")).forEach(a=>{delete n.agents.defaults.models[a]}),n.agents.defaults.model.primary=q;let r=new Set([d]);return Object.values(f).forEach(a=>{a&&r.add(a)}),r.forEach(a=>{n.agents.defaults.models[`extremerouter/${a}`]={}}),n.agents.list&&(n.agents.list=n.agents.list.map(a=>{if(j(a.model).startsWith("extremerouter/")){let{model:b,...c}=a;return c}return a})),n.models.providers["@rsalmn/extremerouter"]={baseUrl:o,apiKey:c||"your_api_key",api:"openai-completions",models:[...r].map(a=>({id:a,name:a.split("/").pop()||a}))},n.agents.list&&(n.agents.list=n.agents.list.map(a=>{let b=f[a.id];return b?{...a,model:`extremerouter/${b}`}:a}),await Promise.all(n.agents.list.map(async a=>{if(!a.agentDir)return;let b=f[a.id];await p(a.agentDir,b||d,o,c)}))),await (0,h.An)(i,n),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:i})}catch(a){return(0,h.Ol)("Error updating openclaw settings",a,"Failed to update openclaw settings")}}async function r(){try{let a=l();if(await (0,h.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await m()||{};if(b.models&&b.models.providers&&(delete b.models.providers["@rsalmn/extremerouter"],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("extremerouter/")))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("extremerouter/")&&delete b.agents.defaults.model.primary,await (0,h.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,h.Ol)("Error resetting openclaw settings",a,"Failed to reset openclaw settings")}}(0,i.D)([o,q,r]),(0,d.A)(o,"0035c9455c6f1a20c0c7e51ac1c3f7dae04325f9eb",null),(0,d.A)(q,"403986cf07d89dc3ab6b1168cde68fbf1ad08ac1d3",null),(0,d.A)(r,"00856ab4bf5f6114ea2a5d3f2959837f9d14bf2e9d",null)},8304:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>r,GET:()=>p,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".local","share","kilo"),m=()=>g().join(l(),"auth.json"),n=()=>g().join(i().homedir(),".config","Code","User","settings.json"),o=a=>(0,j.cs)(a);async function p(){try{if(!await (0,j.yK)({binary:"kilo",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await o(m());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasExtremeRouter:(a=>{if(!a)return!1;let b=a["openai-compatible"]||a["@rsalmn/extremerouter"];if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||c.includes("@rsalmn/extremerouter")})(a),authPath:m()})}catch(a){return(0,j.Ol)("Error checking kilo settings",a,"Failed to check kilo settings")}}async function q(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 (0,j.Gu)(l());let f=(0,j.Sp)(b,"/v1"),g=await o(m())||{};g["openai-compatible"]={type:"api-key",apiKey:c,baseUrl:f,model:d},await (0,j.An)(m(),g);try{let a=await o(n())||{};a["kilocode.customProvider"]={name:"ExtremeRouter",baseURL:f,apiKey:c},a["kilocode.defaultModel"]=d,await (0,j.An)(n(),a)}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:m()})}catch(a){return(0,j.Ol)("Error updating kilo settings",a,"Failed to update kilo settings")}}async function r(){try{let a=await o(m());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});delete a["openai-compatible"],delete a["@rsalmn/extremerouter"],await (0,j.An)(m(),a);try{let a=await o(n());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await (0,j.An)(n(),a))}catch{}return e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed from Kilo Code"})}catch(a){return(0,j.Ol)("Error resetting kilo settings",a,"Failed to reset kilo settings")}}(0,k.D)([p,q,r]),(0,d.A)(p,"00f0205b761364b9a0493cf3a6d311982363a6d804",null),(0,d.A)(q,"405b3ee0d517593f9331fb097cff90a031f900db01",null),(0,d.A)(r,"00d406105923893a49f2c92e667e2499628d176673",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:()=>q,GET:()=>n,POST:()=>o});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".claude","settings.json"),m=()=>(0,j.cs)(l());async function n(){try{if(!await (0,j.yK)({binary:"claude",configPaths:[l()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Claude CLI is not installed"});let a=await m(),b=!!a?.env?.ANTHROPIC_BASE_URL;return e.NextResponse.json({installed:!0,settings:a,hasExtremeRouter:b,settingsPath:l()})}catch(a){return(0,j.Ol)("Error checking claude settings",a,"Failed to check claude settings")}}async function o(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=l(),d=g().dirname(c);await (0,j.Gu)(d);let f=await m()||{};b.ANTHROPIC_BASE_URL&&(b.ANTHROPIC_BASE_URL=(0,j.Sp)(b.ANTHROPIC_BASE_URL,"/v1"));let h={...f,hasCompletedOnboarding:!0,env:{...f.env||{},...b}};return await (0,j.An)(c,h),e.NextResponse.json({success:!0,message:"Settings updated successfully"})}catch(a){return(0,j.Ol)("Error updating claude settings",a,"Failed to update claude settings")}}let p=["ANTHROPIC_BASE_URL","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","API_TIMEOUT_MS"];async function q(){try{let a=l();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await m()||{};return b.env&&(p.forEach(a=>{delete b.env[a]}),0===Object.keys(b.env).length&&delete b.env),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"Settings reset successfully"})}catch(a){return(0,j.Ol)("Error resetting claude settings",a,"Failed to reset claude settings")}}(0,k.D)([n,o,q]),(0,d.A)(n,"001b22835dbcbd127fffe80bc4ad28d9fe1c33b40b",null),(0,d.A)(o,"40c58bc5de11746a70e4f786044ee166adeac102ec",null),(0,d.A)(q,"00edba4a2611e97add91cbca820872dc68c95adee8",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,"00c582d559102d939a4b385105ebf0d638e455bc46",null)},20703:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>o,GET:()=>m,POST:()=>n});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>{let a=i().homedir(),b=i().platform();return"win32"===b?g().join(process.env.APPDATA||a,"Code","User","chatLanguageModels.json"):"darwin"===b?g().join(a,"Library","Application Support","Code","User","chatLanguageModels.json"):g().join(a,".config","Code","User","chatLanguageModels.json")};async function m(){try{let a=await (0,j.cs)(l()),b=Array.isArray(a)&&a.find(a=>"ExtremeRouter"===a.name)||null;return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:!!Array.isArray(a)&&a.some(a=>"ExtremeRouter"===a.name),configPath:l(),currentModel:b?.models?.[0]?.id||null,currentUrl:b?.models?.[0]?.url||null})}catch(a){return(0,j.Ol)("Error checking copilot settings",a,"Failed to check copilot settings")}}async function n(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=l();await (0,j.Gu)(g().dirname(f));let h=[],i=await (0,j.cs)(f);Array.isArray(i)&&(h=i);let k=`${b}/chat/completions#models.ai.azure.com`,m={name:"ExtremeRouter",vendor:"azure",apiKey:c||"sk_extremerouter",models:d.map(a=>({id:a,name:a,url:k,toolCalling:!0,vision:!1,maxInputTokens:128e3,maxOutputTokens:16e3}))},n=h.findIndex(a=>"ExtremeRouter"===a.name);return n>=0?h[n]=m:h.push(m),await (0,j.An)(f,h),e.NextResponse.json({success:!0,message:"Copilot settings applied! Reload VS Code to take effect.",configPath:f})}catch(a){return(0,j.Ol)("Error updating copilot settings",a,"Failed to update copilot settings")}}async function o(){try{let a=l();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});let b=[],c=await (0,j.cs)(a);return Array.isArray(c)&&(b=c),b=b.filter(a=>"ExtremeRouter"!==a.name),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter removed from Copilot config"})}catch(a){return(0,j.Ol)("Error resetting copilot settings",a,"Failed to reset copilot settings")}}(0,k.D)([m,n,o]),(0,d.A)(m,"00d2bb45534c36f76a8983b8829b76c7a52c7a158c",null),(0,d.A)(n,"40b3c62668d5b29758cb75ddf676e75810dfc19e39",null),(0,d.A)(o,"0057954f88a1bb90689680d4b4cc479e0d80a94189",null)},21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>s,GET:()=>q,POST:()=>r});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".hermes"),m=()=>g().join(l(),"config.yaml"),n=()=>g().join(l(),".env"),o=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,p=()=>(0,j.n9)(m(),"");async function q(){try{if(!await (0,j.yK)({binary:"hermes",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let a=await p(),b=(a=>{let b=a.match(o);if(!b)return null;let c=b[1]||"",d=a=>{let b=c.match(RegExp(`^[ \\t]+${a}:[ \\t]*["']?([^"'\r
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:()=>r,GET:()=>o,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(24102),i=c(24424);let j=a=>"string"==typeof a?a:a&&"object"==typeof a?a.primary??"":"",k=()=>g().join(os.homedir(),".openclaw"),l=()=>g().join(k(),"openclaw.json"),m=()=>(0,h.cs)(l()),n=async a=>{try{let b=g().join(a,"models.json"),c=await (0,h.n9)(b,null);if(null===c)return null;let d=JSON.parse(c),e=d?.providers?.["@rsalmn/extremerouter"]?.models;return e?.[0]?.id||null}catch{return null}};async function o(){try{if(!await (0,h.yK)({binary:"openclaw",configPaths:[l()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Open Claw CLI is not installed"});let a=await m(),b=a?.agents?.list||[],c=await Promise.all(b.map(async a=>{let b=a.agentDir?await n(a.agentDir):null;return{...a,model:j(a.model),currentModel:b}}));return e.NextResponse.json({installed:!0,settings:a,agents:c,hasExtremeRouter:!!a&&!!a.models&&!!a.models.providers&&!!a.models.providers["@rsalmn/extremerouter"],settingsPath:l()})}catch(a){return(0,h.Ol)("Error checking openclaw settings",a,"Failed to check openclaw settings")}}let p=async(a,b,c,d)=>{await (0,h.Gu)(a);let e=g().join(a,"models.json"),f=await (0,h.cs)(e)||{};f.providers||(f.providers={}),f.providers["@rsalmn/extremerouter"]={baseUrl:c,apiKey:d||"your_api_key",api:"openai-completions",models:[{id:b,name:b.split("/").pop()||b}]},await (0,h.An)(e,f)};async function q(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=k(),i=l();await (0,h.Gu)(g);let n=await m()||{};n.agents||(n.agents={}),n.agents.defaults||(n.agents.defaults={}),n.agents.defaults.model||(n.agents.defaults.model={}),n.agents.defaults.models||(n.agents.defaults.models={}),n.models||(n.models={}),n.models.providers||(n.models.providers={});let o=(0,h.Sp)(b,"/v1"),q=`extremerouter/${d}`;Object.keys(n.agents.defaults.models).filter(a=>a.startsWith("extremerouter/")).forEach(a=>{delete n.agents.defaults.models[a]}),n.agents.defaults.model.primary=q;let r=new Set([d]);return Object.values(f).forEach(a=>{a&&r.add(a)}),r.forEach(a=>{n.agents.defaults.models[`extremerouter/${a}`]={}}),n.agents.list&&(n.agents.list=n.agents.list.map(a=>{if(j(a.model).startsWith("extremerouter/")){let{model:b,...c}=a;return c}return a})),n.models.providers["@rsalmn/extremerouter"]={baseUrl:o,apiKey:c||"your_api_key",api:"openai-completions",models:[...r].map(a=>({id:a,name:a.split("/").pop()||a}))},n.agents.list&&(n.agents.list=n.agents.list.map(a=>{let b=f[a.id];return b?{...a,model:`extremerouter/${b}`}:a}),await Promise.all(n.agents.list.map(async a=>{if(!a.agentDir)return;let b=f[a.id];await p(a.agentDir,b||d,o,c)}))),await (0,h.An)(i,n),e.NextResponse.json({success:!0,message:"Open Claw settings applied successfully!",settingsPath:i})}catch(a){return(0,h.Ol)("Error updating openclaw settings",a,"Failed to update openclaw settings")}}async function r(){try{let a=l();if(await (0,h.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await m()||{};if(b.models&&b.models.providers&&(delete b.models.providers["@rsalmn/extremerouter"],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("extremerouter/")))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("extremerouter/")&&delete b.agents.defaults.model.primary,await (0,h.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,h.Ol)("Error resetting openclaw settings",a,"Failed to reset openclaw settings")}}(0,i.D)([o,q,r]),(0,d.A)(o,"0016ff44ca767ed49d779e17eb0233fd45b83b5073",null),(0,d.A)(q,"4099a63a38db79d1635292063769c4af760ff7e4e8",null),(0,d.A)(r,"00a0ee939b2d4a61b47e5c91328f023a4263ed5e0c",null)},8304:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>r,GET:()=>p,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".local","share","kilo"),m=()=>g().join(l(),"auth.json"),n=()=>g().join(i().homedir(),".config","Code","User","settings.json"),o=a=>(0,j.cs)(a);async function p(){try{if(!await (0,j.yK)({binary:"kilo",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Kilo Code CLI is not installed"});let a=await o(m());return e.NextResponse.json({installed:!0,settings:{auth:a?Object.keys(a):[]},hasExtremeRouter:(a=>{if(!a)return!1;let b=a["openai-compatible"]||a["@rsalmn/extremerouter"];if(!b)return!1;let c=b.baseUrl||b.baseURL||"";return c.includes("localhost")||c.includes("127.0.0.1")||c.includes("@rsalmn/extremerouter")})(a),authPath:m()})}catch(a){return(0,j.Ol)("Error checking kilo settings",a,"Failed to check kilo settings")}}async function q(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 (0,j.Gu)(l());let f=(0,j.Sp)(b,"/v1"),g=await o(m())||{};g["openai-compatible"]={type:"api-key",apiKey:c,baseUrl:f,model:d},await (0,j.An)(m(),g);try{let a=await o(n())||{};a["kilocode.customProvider"]={name:"ExtremeRouter",baseURL:f,apiKey:c},a["kilocode.defaultModel"]=d,await (0,j.An)(n(),a)}catch{}return e.NextResponse.json({success:!0,message:"Kilo Code settings applied successfully!",authPath:m()})}catch(a){return(0,j.Ol)("Error updating kilo settings",a,"Failed to update kilo settings")}}async function r(){try{let a=await o(m());if(!a)return e.NextResponse.json({success:!0,message:"No settings file to reset"});delete a["openai-compatible"],delete a["@rsalmn/extremerouter"],await (0,j.An)(m(),a);try{let a=await o(n());a&&(delete a["kilocode.customProvider"],delete a["kilocode.defaultModel"],await (0,j.An)(n(),a))}catch{}return e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed from Kilo Code"})}catch(a){return(0,j.Ol)("Error resetting kilo settings",a,"Failed to reset kilo settings")}}(0,k.D)([p,q,r]),(0,d.A)(p,"0006d04f3c0c27fcc35d3b6ba81d68a5b489761e8f",null),(0,d.A)(q,"403613d27315607f3fd77aaf486c761800698cb9df",null),(0,d.A)(r,"00499caeab02ab33b8a6bb6eb4109fca3410aaadf0",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:()=>q,GET:()=>n,POST:()=>o});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".claude","settings.json"),m=()=>(0,j.cs)(l());async function n(){try{if(!await (0,j.yK)({binary:"claude",configPaths:[l()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Claude CLI is not installed"});let a=await m(),b=!!a?.env?.ANTHROPIC_BASE_URL;return e.NextResponse.json({installed:!0,settings:a,hasExtremeRouter:b,settingsPath:l()})}catch(a){return(0,j.Ol)("Error checking claude settings",a,"Failed to check claude settings")}}async function o(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=l(),d=g().dirname(c);await (0,j.Gu)(d);let f=await m()||{};b.ANTHROPIC_BASE_URL&&(b.ANTHROPIC_BASE_URL=(0,j.Sp)(b.ANTHROPIC_BASE_URL,"/v1"));let h={...f,hasCompletedOnboarding:!0,env:{...f.env||{},...b}};return await (0,j.An)(c,h),e.NextResponse.json({success:!0,message:"Settings updated successfully"})}catch(a){return(0,j.Ol)("Error updating claude settings",a,"Failed to update claude settings")}}let p=["ANTHROPIC_BASE_URL","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","API_TIMEOUT_MS"];async function q(){try{let a=l();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await m()||{};return b.env&&(p.forEach(a=>{delete b.env[a]}),0===Object.keys(b.env).length&&delete b.env),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"Settings reset successfully"})}catch(a){return(0,j.Ol)("Error resetting claude settings",a,"Failed to reset claude settings")}}(0,k.D)([n,o,q]),(0,d.A)(n,"00582f2823de2bc4e1feb3792910a6ee51f0cad695",null),(0,d.A)(o,"400d8d69bed3a017b106ed69a367662a72872450f9",null),(0,d.A)(q,"00375eaa3c080af5570570f8f4fa5a540109b546ce",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,"00c3847c832d38ac7bc31daa1e08e6b8877e46b28b",null)},20703:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>o,GET:()=>m,POST:()=>n});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>{let a=i().homedir(),b=i().platform();return"win32"===b?g().join(process.env.APPDATA||a,"Code","User","chatLanguageModels.json"):"darwin"===b?g().join(a,"Library","Application Support","Code","User","chatLanguageModels.json"):g().join(a,".config","Code","User","chatLanguageModels.json")};async function m(){try{let a=await (0,j.cs)(l()),b=Array.isArray(a)&&a.find(a=>"ExtremeRouter"===a.name)||null;return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:!!Array.isArray(a)&&a.some(a=>"ExtremeRouter"===a.name),configPath:l(),currentModel:b?.models?.[0]?.id||null,currentUrl:b?.models?.[0]?.url||null})}catch(a){return(0,j.Ol)("Error checking copilot settings",a,"Failed to check copilot settings")}}async function n(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=l();await (0,j.Gu)(g().dirname(f));let h=[],i=await (0,j.cs)(f);Array.isArray(i)&&(h=i);let k=`${b}/chat/completions#models.ai.azure.com`,m={name:"ExtremeRouter",vendor:"azure",apiKey:c||"sk_extremerouter",models:d.map(a=>({id:a,name:a,url:k,toolCalling:!0,vision:!1,maxInputTokens:128e3,maxOutputTokens:16e3}))},n=h.findIndex(a=>"ExtremeRouter"===a.name);return n>=0?h[n]=m:h.push(m),await (0,j.An)(f,h),e.NextResponse.json({success:!0,message:"Copilot settings applied! Reload VS Code to take effect.",configPath:f})}catch(a){return(0,j.Ol)("Error updating copilot settings",a,"Failed to update copilot settings")}}async function o(){try{let a=l();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});let b=[],c=await (0,j.cs)(a);return Array.isArray(c)&&(b=c),b=b.filter(a=>"ExtremeRouter"!==a.name),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter removed from Copilot config"})}catch(a){return(0,j.Ol)("Error resetting copilot settings",a,"Failed to reset copilot settings")}}(0,k.D)([m,n,o]),(0,d.A)(m,"008fee156e3a1a26b9c0a1d2f98486e3e0bc17e34f",null),(0,d.A)(n,"40318e682e024af409d70045f39449e7e585c4708b",null),(0,d.A)(o,"00de74c13fa79e582f427c3c2bdf71c70179d3226e",null)},21757:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>s,GET:()=>q,POST:()=>r});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".hermes"),m=()=>g().join(l(),"config.yaml"),n=()=>g().join(l(),".env"),o=/^model:[ \t]*\r?\n((?:[ \t]+.*\r?\n?|[ \t]*\r?\n)*)/m,p=()=>(0,j.n9)(m(),"");async function q(){try{if(!await (0,j.yK)({binary:"hermes",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Hermes Agent is not installed"});let a=await p(),b=(a=>{let b=a.match(o);if(!b)return null;let c=b[1]||"",d=a=>{let b=c.match(RegExp(`^[ \\t]+${a}:[ \\t]*["']?([^"'\r
2
2
  ]+)["']?`,"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},hasExtremeRouter:!!b?.base_url&&"custom"===b.provider&&/localhost|127\.0\.0\.1|0\.0\.0\.0/.test(b.base_url),configPath:m()})}catch(a){return(0,j.Ol)("Error checking hermes settings",a,"Failed to check hermes settings")}}async function r(a){try{var b,c;let{baseUrl:d,apiKey:f,model:g}=await a.json();if(!d||!g)return e.NextResponse.json({error:"baseUrl and model are required"},{status:400});await (0,j.Gu)(l());let h=(0,j.Sp)(d,"/v1"),i=(b=await p(),c=`model:
3
3
  default: "${g}"
4
4
  provider: "custom"
5
5
  base_url: "${h}"
6
6
  `,o.test(b)?b.replace(o,c):b.length>0?`${c}
7
- ${b}`:c);if(await (0,j.Tl)(m(),i),f){let a=await (0,j.n9)(n(),""),b=(0,j.r2)(a,"OPENAI_API_KEY",f);await (0,j.Tl)(n(),b)}return e.NextResponse.json({success:!0,message:"Hermes settings applied successfully!",configPath:m()})}catch(a){return(0,j.Ol)("Error updating hermes settings",a,"Failed to update hermes settings")}}async function s(){try{let a=m(),b=await (0,j.n9)(a,null);if(null===b)return e.NextResponse.json({success:!0,message:"No config file to reset"});let c=b.replace(o,"").replace(/^\n+/,"");return await (0,j.Tl)(a,c),e.NextResponse.json({success:!0,message:"@rsalmn/extremerouter model block removed"})}catch(a){return(0,j.Ol)("Error resetting hermes settings",a,"Failed to reset hermes settings")}}(0,k.D)([q,r,s]),(0,d.A)(q,"00fdb607a248954ed4c16b46be7644f806fc87458a",null),(0,d.A)(r,"400ac50829e43fa397fcbcbda41cee20b7f0c3c6a5",null),(0,d.A)(s,"005ad6d508d4c2f23677f4756e3f4492cbbde1a640",null)},21820:a=>{a.exports=require("os")},28354:a=>{a.exports=require("util")},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:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".factory"),m=()=>g().join(l(),"settings.json"),n=()=>(0,j.cs)(m());async function o(){try{if(!await (0,j.yK)({binary:"droid",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Factory Droid CLI is not installed"});let a=await n();return e.NextResponse.json({installed:!0,settings:a,hasExtremeRouter:!!a&&!!a.customModels&&a.customModels.some(a=>a.id?.startsWith("custom:ExtremeRouter")),settingsPath:m()})}catch(a){return(0,j.Ol)("Error checking droid settings",a,"Failed to check droid settings")}}async function p(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 i=l(),k=m();await (0,j.Gu)(i);let o=await n()||{};o.customModels||(o.customModels=[]),o.customModels=o.customModels.filter(a=>!a.id?.startsWith("custom:ExtremeRouter"));let p=(0,j.Sp)(b,"/v1"),q=c||"your_api_key",r=0;if("string"==typeof g)if(""===g)r=-1;else{let a=h.indexOf(g);r=a>=0?a:0}for(let a=0;a<h.length;a++){let b=h[a];b&&"string"==typeof b&&o.customModels.push({model:b,id:`custom:ExtremeRouter-${a}`,index:a,baseUrl:p,apiKey:q,displayName:b,maxOutputTokens:131072,noImageSupport:!1,provider:"openai"})}if(r>=0&&o.customModels[r]){let[a]=o.customModels.splice(r,1);o.customModels.unshift({...a,index:0}),o.customModels.forEach((a,b)=>{a.index=b})}return await (0,j.An)(k,o),e.NextResponse.json({success:!0,message:"Factory Droid settings applied successfully!",settingsPath:k})}catch(a){return(0,j.Ol)("Error updating droid settings",a,"Failed to update droid settings")}}async function q(){try{let a=m();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await n()||{};return b.customModels&&(b.customModels=b.customModels.filter(a=>!a.id?.startsWith("custom:ExtremeRouter")),0===b.customModels.length&&delete b.customModels),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,j.Ol)("Error resetting droid settings",a,"Failed to reset droid settings")}}(0,k.D)([o,p,q]),(0,d.A)(o,"009ba4c99fc5ee7db3cde408fe043cb415d361f8ff",null),(0,d.A)(p,"408302405f6e93b053bae0952adcbecd5e55dfc292",null),(0,d.A)(q,"00eaacc1ef45f6f44eca0a162c3911f78e23d32afe",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:()=>r,GET:()=>p,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".cline","data"),m=()=>g().join(l(),"globalState.json"),n=()=>g().join(l(),"secrets.json"),o=a=>(0,j.cs)(a);async function p(){try{if(!await (0,j.yK)({binary:"cline",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Cline CLI is not installed"});let a=await o(m());return e.NextResponse.json({installed:!0,settings:{actModeApiProvider:a?.actModeApiProvider,planModeApiProvider:a?.planModeApiProvider,openAiBaseUrl:a?.openAiBaseUrl,openAiModelId:a?.openAiModelId},hasExtremeRouter:(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("@rsalmn/extremerouter"))})(a),globalStatePath:m()})}catch(a){return(0,j.Ol)("Error checking cline settings",a,"Failed to check cline settings")}}async function q(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 (0,j.Gu)(l());let f=(0,j.fn)(b,"/v1"),g=await o(m())||{};g.actModeApiProvider="openai",g.planModeApiProvider="openai",g.openAiBaseUrl=f,g.openAiModelId=d,g.planModeOpenAiModelId=d,await (0,j.An)(m(),g);let h=await o(n())||{};return h.openAiApiKey=c,await (0,j.An)(n(),h),e.NextResponse.json({success:!0,message:"Cline settings applied successfully!",globalStatePath:m()})}catch(a){return(0,j.Ol)("Error updating cline settings",a,"Failed to update cline settings")}}async function r(){try{let a=await o(m());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 (0,j.An)(m(),a);let b=await o(n())||{};return delete b.openAiApiKey,await (0,j.An)(n(),b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed from Cline"})}catch(a){return(0,j.Ol)("Error resetting cline settings",a,"Failed to reset cline settings")}}(0,k.D)([p,q,r]),(0,d.A)(p,"0017019394ff79464e8ba391e50916c6540ffd4f98",null),(0,d.A)(q,"40ccc310be1ea23aa6c52c5628a3abb5e242be9f2e",null),(0,d.A)(r,"0095ed15b866a6b87fe58d3808f97eb7b52114cc58",null)},48074:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>x,GET:()=>v,POST:()=>w});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(52750),m=c(24102),n=c(24424);let o=()=>i().join(k().homedir(),".jcode"),p=()=>i().join(o(),"config.toml"),q=()=>{let a=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(a,"jcode","provider-extremerouter.env")},r=async()=>{try{let a=p(),b=await g().readFile(a,"utf-8");return(0,l.M)(b)}catch(a){return{providers:{}}}},s=async a=>{let b=p(),c=(0,l.q)(a);await g().writeFile(b,c,"utf-8")},t=async()=>{try{let a=q(),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{}}},u=async a=>{let b=q(),c="# jcode provider environment variables\n";for(let[b,d]of Object.entries(a))c+=`${b}="${d}"
8
- `;await g().writeFile(b,c,"utf-8")};async function v(){if(!await (0,m.yK)({binary:"jcode",configPaths:[o()]}))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 r(),b=(a=>{if(!a||!a.providers)return!1;let b=a.providers;if(b["@rsalmn/extremerouter"])return!0;for(let[a,c]of Object.entries(b))if(c.base_url&&c.base_url.includes("localhost:20128"))return!0;return!1})(a);return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:b,configPath:p()})}async function w(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`,g=await r();g.providers||(g.providers={}),g.providers["@rsalmn/extremerouter"]={type:"openai-compatible",base_url:f,auth:"bearer",api_key_env:"JCODE_EXTREMEROUTER_API_KEY",env_file:"provider-extremerouter.env",default_model:d&&d.length>0?d[0]:"cc/claude-opus-4-7",requires_api_key:!0},await (0,m.Gu)(o()),await s(g);let h=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config"),j=i().join(h,"jcode");await (0,m.Gu)(j);let l=await t();return l.JCODE_EXTREMEROUTER_API_KEY=c,await u(l),e.NextResponse.json({success:!0,message:"jcode configured successfully. Use: jcode --provider-profile extremerouter",configPath:p()})}catch(a){return(0,m.Ol)("Error configuring jcode",a,a.message)}}async function x(){try{let a=await r();if(!a.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});delete a.providers["@rsalmn/extremerouter"],await s(a);let b=await t();return delete b.JCODE_EXTREMEROUTER_API_KEY,await u(b),e.NextResponse.json({success:!0,message:"extremerouter configuration removed from jcode"})}catch(a){return(0,m.Ol)("Error removing jcode configuration",a,a.message)}}(0,n.D)([v,w,x]),(0,d.A)(v,"00c03401192fab53dd17c6a236181e92968d5ca722",null),(0,d.A)(w,"40f3b4c718c236c5a42faa2fe3f512ca2aef046602",null),(0,d.A)(x,"0013c25e175aec0e2d10da07c5683c7df09f28107e",null)},48161:a=>{a.exports=require("node:os")},51692:(a,b,c)=>{c.r(b),c.d(b,{"0013c25e175aec0e2d10da07c5683c7df09f28107e":()=>p.DELETE,"0017019394ff79464e8ba391e50916c6540ffd4f98":()=>m.GET,"001b22835dbcbd127fffe80bc4ad28d9fe1c33b40b":()=>e.GET,"0035c9455c6f1a20c0c7e51ac1c3f7dae04325f9eb":()=>i.GET,"0043152c65109a1946a8deb45b0df7c5c549d7a62a":()=>f.GET,"0057954f88a1bb90689680d4b4cc479e0d80a94189":()=>l.DELETE,"00596a460ec6eaa519928814d3144b07ee89714659":()=>o.DELETE,"005ad6d508d4c2f23677f4756e3f4492cbbde1a640":()=>j.DELETE,"0078c8fd442579c5e420149029b1b9d56f79b30709":()=>k.GET,"00856ab4bf5f6114ea2a5d3f2959837f9d14bf2e9d":()=>i.DELETE,"008e6d15ce5552d97657b8cd2a73a1a8b3eaa9e8c6":()=>k.DELETE,"0095ed15b866a6b87fe58d3808f97eb7b52114cc58":()=>m.DELETE,"009a605b6a6309eda3475c77ea46236773787a126c":()=>f.DELETE,"009ba4c99fc5ee7db3cde408fe043cb415d361f8ff":()=>h.GET,"00a67a16c37582477c3bf4182273894ccc6fa48601":()=>o.GET,"00a9e24a247f34fbf0693032a80be6f9add5846388":()=>g.GET,"00c03401192fab53dd17c6a236181e92968d5ca722":()=>p.GET,"00c582d559102d939a4b385105ebf0d638e455bc46":()=>d.GET,"00d2bb45534c36f76a8983b8829b76c7a52c7a158c":()=>l.GET,"00d406105923893a49f2c92e667e2499628d176673":()=>n.DELETE,"00eaacc1ef45f6f44eca0a162c3911f78e23d32afe":()=>h.DELETE,"00edba4a2611e97add91cbca820872dc68c95adee8":()=>e.DELETE,"00f0205b761364b9a0493cf3a6d311982363a6d804":()=>n.GET,"00fdb607a248954ed4c16b46be7644f806fc87458a":()=>j.GET,"400ac50829e43fa397fcbcbda41cee20b7f0c3c6a5":()=>j.POST,"40285405a58968212f5202e08c0d3dcb2a34897290":()=>k.POST,"403986cf07d89dc3ab6b1168cde68fbf1ad08ac1d3":()=>i.POST,"4053699d3b6c0de0022a9a84e212f6d4cf3a0f6733":()=>g.DELETE,"405b3ee0d517593f9331fb097cff90a031f900db01":()=>n.POST,"406c7966e33a42df53beffdc286061cb22282349cf":()=>f.POST,"4073b03811f689454cfdceef71d3d05f4ce279e870":()=>g.POST,"408302405f6e93b053bae0952adcbecd5e55dfc292":()=>h.POST,"409578871bada092de94f3dadb5fddecd8b803355f":()=>g.PATCH,"40b3c62668d5b29758cb75ddf676e75810dfc19e39":()=>l.POST,"40c58bc5de11746a70e4f786044ee166adeac102ec":()=>e.POST,"40ccc310be1ea23aa6c52c5628a3abb5e242be9f2e":()=>m.POST,"40f3b4c718c236c5a42faa2fe3f512ca2aef046602":()=>p.POST,"40f421a58f794e67f1bb5433ce529f591df594d978":()=>o.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)},55511:a=>{a.exports=require("crypto")},58750:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>z,GET:()=>x,POST:()=>y});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(52750),m=c(24102),n=c(24424);let o=()=>i().join(k().homedir(),".codex"),p=()=>i().join(o(),"config.toml"),q=()=>i().join(o(),"auth.json"),r="@rsalmn/extremerouter",s="extremerouter",t=a=>a??{},u=(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},v=(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]]},w=async()=>{try{return await g().readFile(p(),"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}};async function x(){try{if(!await (0,m.yK)({binary:"codex",configPaths:[p()]}))return e.NextResponse.json({installed:!1,config:null,message:"Codex CLI is not installed"});let a=await w();return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:(a=>{if(!a)return!1;try{let b=(0,l.M)(a);if(b.model_provider===r||b.model_provider===s)return!0;return!!b.model_providers?.[s]}catch{return!1}})(a),configPath:p()})}catch(a){return(0,m.Ol)("Error checking codex settings",a,"Failed to check codex settings")}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d,subagentModel:f}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});let h=o(),i=p();await g().mkdir(h,{recursive:!0});let j={};try{let a=await g().readFile(i,"utf-8");j=t((0,l.M)(a))}catch{}j.model=d,j.model_provider=r;let k=(0,m.Sp)(b,"/v1");u(j,`model_providers.${s}`,{name:"ExtremeRouter",base_url:k,wire_api:"responses"});let n=f||d;u(j,"agents.subagent",{model:n});let v=(0,l.q)(j);await g().writeFile(i,v);let w=q(),x={};try{let a=await g().readFile(w,"utf-8");x=JSON.parse(a)}catch{}return x.OPENAI_API_KEY=c,x.auth_mode="apikey",await g().writeFile(w,JSON.stringify(x,null,2)),e.NextResponse.json({success:!0,message:"Codex settings applied successfully!",configPath:i})}catch(a){return(0,m.Ol)("Error updating codex settings",a,"Failed to update codex settings")}}async function z(){try{let a=p(),b={};try{let c=await g().readFile(a,"utf-8");b=t((0,l.M)(c))}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}(b.model_provider===r||b.model_provider===s)&&(delete b.model,delete b.model_provider),v(b,`model_providers.${s}`),v(b,"agents.subagent");let c=(0,l.q)(b);await g().writeFile(a,c);let d=q();try{let a=await g().readFile(d,"utf-8"),b=JSON.parse(a);delete b.OPENAI_API_KEY,delete b.auth_mode,0===Object.keys(b).length?await g().unlink(d):await g().writeFile(d,JSON.stringify(b,null,2))}catch{}return e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,m.Ol)("Error resetting codex settings",a,"Failed to reset codex settings")}}(0,n.D)([x,y,z]),(0,d.A)(x,"0043152c65109a1946a8deb45b0df7c5c549d7a62a",null),(0,d.A)(y,"406c7966e33a42df53beffdc286061cb22282349cf",null),(0,d.A)(z,"009a605b6a6309eda3475c77ea46236773787a126c",null)},60198:(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-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/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}}},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:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".deepseek"),m=()=>g().join(l(),"config.toml"),n=`provider = "deepseek"
7
+ ${b}`:c);if(await (0,j.Tl)(m(),i),f){let a=await (0,j.n9)(n(),""),b=(0,j.r2)(a,"OPENAI_API_KEY",f);await (0,j.Tl)(n(),b)}return e.NextResponse.json({success:!0,message:"Hermes settings applied successfully!",configPath:m()})}catch(a){return(0,j.Ol)("Error updating hermes settings",a,"Failed to update hermes settings")}}async function s(){try{let a=m(),b=await (0,j.n9)(a,null);if(null===b)return e.NextResponse.json({success:!0,message:"No config file to reset"});let c=b.replace(o,"").replace(/^\n+/,"");return await (0,j.Tl)(a,c),e.NextResponse.json({success:!0,message:"@rsalmn/extremerouter model block removed"})}catch(a){return(0,j.Ol)("Error resetting hermes settings",a,"Failed to reset hermes settings")}}(0,k.D)([q,r,s]),(0,d.A)(q,"00765a83847bae63fcd11a0bbe994ef933260c7d8b",null),(0,d.A)(r,"40aa71d9506e4d262e0e086707fcaa943ee3b5922c",null),(0,d.A)(s,"000bec0875dc8ec1dda694e80cd071d016680ae0e2",null)},21820:a=>{a.exports=require("os")},28354:a=>{a.exports=require("util")},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:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".factory"),m=()=>g().join(l(),"settings.json"),n=()=>(0,j.cs)(m());async function o(){try{if(!await (0,j.yK)({binary:"droid",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Factory Droid CLI is not installed"});let a=await n();return e.NextResponse.json({installed:!0,settings:a,hasExtremeRouter:!!a&&!!a.customModels&&a.customModels.some(a=>a.id?.startsWith("custom:ExtremeRouter")),settingsPath:m()})}catch(a){return(0,j.Ol)("Error checking droid settings",a,"Failed to check droid settings")}}async function p(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 i=l(),k=m();await (0,j.Gu)(i);let o=await n()||{};o.customModels||(o.customModels=[]),o.customModels=o.customModels.filter(a=>!a.id?.startsWith("custom:ExtremeRouter"));let p=(0,j.Sp)(b,"/v1"),q=c||"your_api_key",r=0;if("string"==typeof g)if(""===g)r=-1;else{let a=h.indexOf(g);r=a>=0?a:0}for(let a=0;a<h.length;a++){let b=h[a];b&&"string"==typeof b&&o.customModels.push({model:b,id:`custom:ExtremeRouter-${a}`,index:a,baseUrl:p,apiKey:q,displayName:b,maxOutputTokens:131072,noImageSupport:!1,provider:"openai"})}if(r>=0&&o.customModels[r]){let[a]=o.customModels.splice(r,1);o.customModels.unshift({...a,index:0}),o.customModels.forEach((a,b)=>{a.index=b})}return await (0,j.An)(k,o),e.NextResponse.json({success:!0,message:"Factory Droid settings applied successfully!",settingsPath:k})}catch(a){return(0,j.Ol)("Error updating droid settings",a,"Failed to update droid settings")}}async function q(){try{let a=m();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No settings file to reset"});let b=await n()||{};return b.customModels&&(b.customModels=b.customModels.filter(a=>!a.id?.startsWith("custom:ExtremeRouter")),0===b.customModels.length&&delete b.customModels),await (0,j.An)(a,b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,j.Ol)("Error resetting droid settings",a,"Failed to reset droid settings")}}(0,k.D)([o,p,q]),(0,d.A)(o,"0002f498f3928a29a0e6dbc45a88be23fecbb1fb6d",null),(0,d.A)(p,"40452164968fa89d6a88981ca12b43f2b0978c99a2",null),(0,d.A)(q,"00d8c80a16cd28b8cc0e1abf1b89b5f6eb986d0cb2",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:()=>r,GET:()=>p,POST:()=>q});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".cline","data"),m=()=>g().join(l(),"globalState.json"),n=()=>g().join(l(),"secrets.json"),o=a=>(0,j.cs)(a);async function p(){try{if(!await (0,j.yK)({binary:"cline",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"Cline CLI is not installed"});let a=await o(m());return e.NextResponse.json({installed:!0,settings:{actModeApiProvider:a?.actModeApiProvider,planModeApiProvider:a?.planModeApiProvider,openAiBaseUrl:a?.openAiBaseUrl,openAiModelId:a?.openAiModelId},hasExtremeRouter:(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("@rsalmn/extremerouter"))})(a),globalStatePath:m()})}catch(a){return(0,j.Ol)("Error checking cline settings",a,"Failed to check cline settings")}}async function q(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 (0,j.Gu)(l());let f=(0,j.fn)(b,"/v1"),g=await o(m())||{};g.actModeApiProvider="openai",g.planModeApiProvider="openai",g.openAiBaseUrl=f,g.openAiModelId=d,g.planModeOpenAiModelId=d,await (0,j.An)(m(),g);let h=await o(n())||{};return h.openAiApiKey=c,await (0,j.An)(n(),h),e.NextResponse.json({success:!0,message:"Cline settings applied successfully!",globalStatePath:m()})}catch(a){return(0,j.Ol)("Error updating cline settings",a,"Failed to update cline settings")}}async function r(){try{let a=await o(m());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 (0,j.An)(m(),a);let b=await o(n())||{};return delete b.openAiApiKey,await (0,j.An)(n(),b),e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed from Cline"})}catch(a){return(0,j.Ol)("Error resetting cline settings",a,"Failed to reset cline settings")}}(0,k.D)([p,q,r]),(0,d.A)(p,"009bda254b0a49de9f4cc0bf701e3897174b6182ae",null),(0,d.A)(q,"40c55454742cbe20eb0de869b09d50d5ff1ed02f43",null),(0,d.A)(r,"005e1e6e127c9d77f1ebb1e4d46438ffba726c27f4",null)},48074:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>x,GET:()=>v,POST:()=>w});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(52750),m=c(24102),n=c(24424);let o=()=>i().join(k().homedir(),".jcode"),p=()=>i().join(o(),"config.toml"),q=()=>{let a=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config");return i().join(a,"jcode","provider-extremerouter.env")},r=async()=>{try{let a=p(),b=await g().readFile(a,"utf-8");return(0,l.M)(b)}catch(a){return{providers:{}}}},s=async a=>{let b=p(),c=(0,l.q)(a);await g().writeFile(b,c,"utf-8")},t=async()=>{try{let a=q(),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{}}},u=async a=>{let b=q(),c="# jcode provider environment variables\n";for(let[b,d]of Object.entries(a))c+=`${b}="${d}"
8
+ `;await g().writeFile(b,c,"utf-8")};async function v(){if(!await (0,m.yK)({binary:"jcode",configPaths:[o()]}))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 r(),b=(a=>{if(!a||!a.providers)return!1;let b=a.providers;if(b["@rsalmn/extremerouter"])return!0;for(let[a,c]of Object.entries(b))if(c.base_url&&c.base_url.includes("localhost:20128"))return!0;return!1})(a);return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:b,configPath:p()})}async function w(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`,g=await r();g.providers||(g.providers={}),g.providers["@rsalmn/extremerouter"]={type:"openai-compatible",base_url:f,auth:"bearer",api_key_env:"JCODE_EXTREMEROUTER_API_KEY",env_file:"provider-extremerouter.env",default_model:d&&d.length>0?d[0]:"cc/claude-opus-4-7",requires_api_key:!0},await (0,m.Gu)(o()),await s(g);let h=process.env.XDG_CONFIG_HOME||i().join(k().homedir(),".config"),j=i().join(h,"jcode");await (0,m.Gu)(j);let l=await t();return l.JCODE_EXTREMEROUTER_API_KEY=c,await u(l),e.NextResponse.json({success:!0,message:"jcode configured successfully. Use: jcode --provider-profile extremerouter",configPath:p()})}catch(a){return(0,m.Ol)("Error configuring jcode",a,a.message)}}async function x(){try{let a=await r();if(!a.providers)return e.NextResponse.json({success:!0,message:"No configuration to remove"});delete a.providers["@rsalmn/extremerouter"],await s(a);let b=await t();return delete b.JCODE_EXTREMEROUTER_API_KEY,await u(b),e.NextResponse.json({success:!0,message:"extremerouter configuration removed from jcode"})}catch(a){return(0,m.Ol)("Error removing jcode configuration",a,a.message)}}(0,n.D)([v,w,x]),(0,d.A)(v,"0060bdb94348e4d66ded4faccfa8a8df0686765e70",null),(0,d.A)(w,"4005efda5f98dabbb603e7131375babd9270c6f258",null),(0,d.A)(x,"00414923f54daf714f169541b52c27dd8f5a3b6e85",null)},48161:a=>{a.exports=require("node:os")},55511:a=>{a.exports=require("crypto")},56919:(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-cli-build",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/ExtremeRouter/ExtremeRouter/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:()=>z,GET:()=>x,POST:()=>y});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(52750),m=c(24102),n=c(24424);let o=()=>i().join(k().homedir(),".codex"),p=()=>i().join(o(),"config.toml"),q=()=>i().join(o(),"auth.json"),r="@rsalmn/extremerouter",s="extremerouter",t=a=>a??{},u=(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},v=(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]]},w=async()=>{try{return await g().readFile(p(),"utf-8")}catch(a){if("ENOENT"===a.code)return null;throw a}};async function x(){try{if(!await (0,m.yK)({binary:"codex",configPaths:[p()]}))return e.NextResponse.json({installed:!1,config:null,message:"Codex CLI is not installed"});let a=await w();return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:(a=>{if(!a)return!1;try{let b=(0,l.M)(a);if(b.model_provider===r||b.model_provider===s)return!0;return!!b.model_providers?.[s]}catch{return!1}})(a),configPath:p()})}catch(a){return(0,m.Ol)("Error checking codex settings",a,"Failed to check codex settings")}}async function y(a){try{let{baseUrl:b,apiKey:c,model:d,subagentModel:f}=await a.json();if(!b||!c||!d)return e.NextResponse.json({error:"baseUrl, apiKey and model are required"},{status:400});let h=o(),i=p();await g().mkdir(h,{recursive:!0});let j={};try{let a=await g().readFile(i,"utf-8");j=t((0,l.M)(a))}catch{}j.model=d,j.model_provider=r;let k=(0,m.Sp)(b,"/v1");u(j,`model_providers.${s}`,{name:"ExtremeRouter",base_url:k,wire_api:"responses"});let n=f||d;u(j,"agents.subagent",{model:n});let v=(0,l.q)(j);await g().writeFile(i,v);let w=q(),x={};try{let a=await g().readFile(w,"utf-8");x=JSON.parse(a)}catch{}return x.OPENAI_API_KEY=c,x.auth_mode="apikey",await g().writeFile(w,JSON.stringify(x,null,2)),e.NextResponse.json({success:!0,message:"Codex settings applied successfully!",configPath:i})}catch(a){return(0,m.Ol)("Error updating codex settings",a,"Failed to update codex settings")}}async function z(){try{let a=p(),b={};try{let c=await g().readFile(a,"utf-8");b=t((0,l.M)(c))}catch(a){if("ENOENT"===a.code)return e.NextResponse.json({success:!0,message:"No config file to reset"});throw a}(b.model_provider===r||b.model_provider===s)&&(delete b.model,delete b.model_provider),v(b,`model_providers.${s}`),v(b,"agents.subagent");let c=(0,l.q)(b);await g().writeFile(a,c);let d=q();try{let a=await g().readFile(d,"utf-8"),b=JSON.parse(a);delete b.OPENAI_API_KEY,delete b.auth_mode,0===Object.keys(b).length?await g().unlink(d):await g().writeFile(d,JSON.stringify(b,null,2))}catch{}return e.NextResponse.json({success:!0,message:"ExtremeRouter settings removed successfully"})}catch(a){return(0,m.Ol)("Error resetting codex settings",a,"Failed to reset codex settings")}}(0,n.D)([x,y,z]),(0,d.A)(x,"006d386fbffb998bf2bb43a9deb1a7542453ea4f04",null),(0,d.A)(y,"40837e3070cdb81fe834a10dde58608ce4de730480",null),(0,d.A)(z,"001652ed5a41f2c6760016dc3e1875ba1f7aaa8529",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:()=>q,GET:()=>o,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".deepseek"),m=()=>g().join(l(),"config.toml"),n=`provider = "deepseek"
9
9
  `;async function o(){try{if(!await (0,j.yK)({binary:"deepseek",configPaths:[m()]}))return e.NextResponse.json({installed:!1,settings:null,message:"DeepSeek TUI is not installed"});let a=await (0,j.n9)(m(),""),b=(0,j._7)(a);return e.NextResponse.json({installed:!0,settings:b,hasExtremeRouter:(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:m()})}catch(a){return(0,j.Ol)("Error checking deepseek-tui settings",a,"Failed to check deepseek-tui settings")}}async function p(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});await (0,j.Gu)(l());let h=(b=f||"sk_extremerouter",c=d.endsWith("/v1")?d:`${d}/v1`,`provider = "openai"
10
10
 
11
11
  [providers.openai]
12
12
  base_url = "${c}"
13
13
  api_key = "${b}"
14
14
  model = "${g}"
15
- `);return await (0,j.Tl)(m(),h),e.NextResponse.json({success:!0,message:"DeepSeek TUI settings applied successfully!",configPath:m()})}catch(a){return(0,j.Ol)("Error updating deepseek-tui settings",a,"Failed to update deepseek-tui settings")}}async function q(){try{let a=m();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});return await (0,j.Tl)(a,n),e.NextResponse.json({success:!0,message:"@rsalmn/extremerouter config reset to DeepSeek defaults"})}catch(a){return(0,j.Ol)("Error resetting deepseek-tui settings",a,"Failed to reset deepseek-tui settings")}}(0,k.D)([o,p,q]),(0,d.A)(o,"00a67a16c37582477c3bf4182273894ccc6fa48601",null),(0,d.A)(p,"40f421a58f794e67f1bb5433ce529f591df594d978",null),(0,d.A)(q,"00596a460ec6eaa519928814d3144b07ee89714659",null)},72452:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>r,GET:()=>o,PATCH:()=>q,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".config","opencode"),m=()=>g().join(l(),"opencode.json"),n=()=>(0,j.cs)(m());async function o(){try{if(!await (0,j.yK)({binary:"opencode",configPaths:[m()]}))return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await n(),b=a?.provider?.["@rsalmn/extremerouter"],c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:!!a?.provider&&!!a.provider["@rsalmn/extremerouter"],configPath:m(),opencode:{models:Object.keys(c),activeModel:a?.model?.startsWith("extremerouter/")?a.model.replace(/^extremerouter\//,""):null,baseURL:b?.options?.baseURL||null}})}catch(a){return(0,j.Ol)("Error checking opencode settings",a,"Failed to check opencode settings")}}async function p(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),i=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===i.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=l(),o=m();await (0,j.Gu)(k);let p=await n()||{},q=(0,j.Sp)(b,"/v1"),r=h||i[0];p.provider||(p.provider={});let s=p.provider["@rsalmn/extremerouter"]||{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let a of(s.options={...s.options,baseURL:q,apiKey:c||"sk_extremerouter"},s.models=s.models||{},i))a&&"string"==typeof a&&(s.models[a]={name:a,modalities:{input:["text","image"],output:["text"]}});if(p.provider["@rsalmn/extremerouter"]=s,""===g)p.model="";else{let a=g||i[0];a&&(p.model=`extremerouter/${a}`)}return p.agent||(p.agent={}),p.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:`extremerouter/${r}`},await (0,j.An)(o,p),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:o})}catch(a){return(0,j.Ol)("Error applying opencode settings",a,"Failed to apply settings")}}async function q(a){try{let{clearActiveModel:b}=await a.json(),c=m();if(await (0,j.n9)(c,null)===null)return e.NextResponse.json({success:!0,message:"No config file found"});let d=await n()||{};return!0===b&&d.model?.startsWith("extremerouter/")&&(d.model=""),await (0,j.An)(c,d),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return(0,j.Ol)("Error patching opencode settings",a,"Failed to patch settings")}}async function r(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=m();if(await (0,j.n9)(d,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});let f=await n()||{};if(c&&f.provider?.["@rsalmn/extremerouter"]?.models){if(delete f.provider["@rsalmn/extremerouter"].models[c],0===Object.keys(f.provider["@rsalmn/extremerouter"].models).length)delete f.provider["@rsalmn/extremerouter"],f.model?.startsWith("extremerouter/")&&delete f.model;else if(f.model===`extremerouter/${c}`){let a=Object.keys(f.provider["@rsalmn/extremerouter"].models);f.model=`extremerouter/${a[0]}`}}else f.provider&&delete f.provider["@rsalmn/extremerouter"],f.model?.startsWith("extremerouter/")&&delete f.model;return f.agent?.explorer?.model?.startsWith("extremerouter/")&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await (0,j.An)(d,f),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:"ExtremeRouter settings removed from OpenCode"})}catch(a){return(0,j.Ol)("Error resetting opencode settings",a,"Failed to reset opencode settings")}}(0,k.D)([o,p,q,r]),(0,d.A)(o,"00a9e24a247f34fbf0693032a80be6f9add5846388",null),(0,d.A)(p,"4073b03811f689454cfdceef71d3d05f4ce279e870",null),(0,d.A)(q,"409578871bada092de94f3dadb5fddecd8b803355f",null),(0,d.A)(r,"4053699d3b6c0de0022a9a84e212f6d4cf3a0f6733",null)},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},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,3988,8266,1350],()=>b(b.s=60198));module.exports=c})();
15
+ `);return await (0,j.Tl)(m(),h),e.NextResponse.json({success:!0,message:"DeepSeek TUI settings applied successfully!",configPath:m()})}catch(a){return(0,j.Ol)("Error updating deepseek-tui settings",a,"Failed to update deepseek-tui settings")}}async function q(){try{let a=m();if(await (0,j.n9)(a,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});return await (0,j.Tl)(a,n),e.NextResponse.json({success:!0,message:"@rsalmn/extremerouter config reset to DeepSeek defaults"})}catch(a){return(0,j.Ol)("Error resetting deepseek-tui settings",a,"Failed to reset deepseek-tui settings")}}(0,k.D)([o,p,q]),(0,d.A)(o,"00bf1591b974c2bb0047cf43110dd552dc19ee55cb",null),(0,d.A)(p,"400a859544fe6c458b36c79e15d2c5dad553ab717d",null),(0,d.A)(q,"00b3c66022dd41f374d458e6ffec49075a3a248b3a",null)},72452:(a,b,c)=>{c.r(b),c.d(b,{DELETE:()=>r,GET:()=>o,PATCH:()=>q,POST:()=>p});var d=c(49796),e=c(23211),f=c(33873),g=c.n(f),h=c(21820),i=c.n(h),j=c(24102),k=c(24424);let l=()=>g().join(i().homedir(),".config","opencode"),m=()=>g().join(l(),"opencode.json"),n=()=>(0,j.cs)(m());async function o(){try{if(!await (0,j.yK)({binary:"opencode",configPaths:[m()]}))return e.NextResponse.json({installed:!1,config:null,message:"OpenCode CLI is not installed"});let a=await n(),b=a?.provider?.["@rsalmn/extremerouter"],c=b?.models||{};return e.NextResponse.json({installed:!0,config:a,hasExtremeRouter:!!a?.provider&&!!a.provider["@rsalmn/extremerouter"],configPath:m(),opencode:{models:Object.keys(c),activeModel:a?.model?.startsWith("extremerouter/")?a.model.replace(/^extremerouter\//,""):null,baseURL:b?.options?.baseURL||null}})}catch(a){return(0,j.Ol)("Error checking opencode settings",a,"Failed to check opencode settings")}}async function p(a){try{let{baseUrl:b,apiKey:c,model:d,models:f,activeModel:g,subagentModel:h}=await a.json(),i=Array.isArray(f)?f.slice():"string"==typeof d?[d]:[];if(!b||0===i.length)return e.NextResponse.json({error:"baseUrl and at least one model are required"},{status:400});let k=l(),o=m();await (0,j.Gu)(k);let p=await n()||{},q=(0,j.Sp)(b,"/v1"),r=h||i[0];p.provider||(p.provider={});let s=p.provider["@rsalmn/extremerouter"]||{npm:"@ai-sdk/openai-compatible",options:{},models:{}};for(let a of(s.options={...s.options,baseURL:q,apiKey:c||"sk_extremerouter"},s.models=s.models||{},i))a&&"string"==typeof a&&(s.models[a]={name:a,modalities:{input:["text","image"],output:["text"]}});if(p.provider["@rsalmn/extremerouter"]=s,""===g)p.model="";else{let a=g||i[0];a&&(p.model=`extremerouter/${a}`)}return p.agent||(p.agent={}),p.agent.explorer={description:"Fast explorer subagent for codebase exploration",mode:"subagent",model:`extremerouter/${r}`},await (0,j.An)(o,p),e.NextResponse.json({success:!0,message:"OpenCode settings applied successfully!",configPath:o})}catch(a){return(0,j.Ol)("Error applying opencode settings",a,"Failed to apply settings")}}async function q(a){try{let{clearActiveModel:b}=await a.json(),c=m();if(await (0,j.n9)(c,null)===null)return e.NextResponse.json({success:!0,message:"No config file found"});let d=await n()||{};return!0===b&&d.model?.startsWith("extremerouter/")&&(d.model=""),await (0,j.An)(c,d),e.NextResponse.json({success:!0,message:"Settings updated"})}catch(a){return(0,j.Ol)("Error patching opencode settings",a,"Failed to patch settings")}}async function r(a){try{let{searchParams:b}=new URL(a.url),c=b.get("model"),d=m();if(await (0,j.n9)(d,null)===null)return e.NextResponse.json({success:!0,message:"No config file to reset"});let f=await n()||{};if(c&&f.provider?.["@rsalmn/extremerouter"]?.models){if(delete f.provider["@rsalmn/extremerouter"].models[c],0===Object.keys(f.provider["@rsalmn/extremerouter"].models).length)delete f.provider["@rsalmn/extremerouter"],f.model?.startsWith("extremerouter/")&&delete f.model;else if(f.model===`extremerouter/${c}`){let a=Object.keys(f.provider["@rsalmn/extremerouter"].models);f.model=`extremerouter/${a[0]}`}}else f.provider&&delete f.provider["@rsalmn/extremerouter"],f.model?.startsWith("extremerouter/")&&delete f.model;return f.agent?.explorer?.model?.startsWith("extremerouter/")&&(delete f.agent.explorer,0===Object.keys(f.agent).length&&delete f.agent),await (0,j.An)(d,f),e.NextResponse.json({success:!0,message:c?`Model "${c}" removed`:"ExtremeRouter settings removed from OpenCode"})}catch(a){return(0,j.Ol)("Error resetting opencode settings",a,"Failed to reset opencode settings")}}(0,k.D)([o,p,q,r]),(0,d.A)(o,"00bdf9c8b43540724d8cd8b51b2ee395763ec3b9e8",null),(0,d.A)(p,"4054cdfdfba6128c1c4ebe348bf21b0c00eb7691b3",null),(0,d.A)(q,"40e1ffa90a171c6bb42c544edf448c9d38a422bc06",null),(0,d.A)(r,"4015bcb024f78c99e77149d0030bc7f9e20b67defd",null)},73024:a=>{a.exports=require("node:fs")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},85100:(a,b,c)=>{c.r(b),c.d(b,{"0002f498f3928a29a0e6dbc45a88be23fecbb1fb6d":()=>h.GET,"0006d04f3c0c27fcc35d3b6ba81d68a5b489761e8f":()=>n.GET,"000bec0875dc8ec1dda694e80cd071d016680ae0e2":()=>j.DELETE,"001652ed5a41f2c6760016dc3e1875ba1f7aaa8529":()=>f.DELETE,"0016ff44ca767ed49d779e17eb0233fd45b83b5073":()=>i.GET,"00375eaa3c080af5570570f8f4fa5a540109b546ce":()=>e.DELETE,"0040ff9552cfae2cfd820ef242c16eb00706638111":()=>k.DELETE,"00414923f54daf714f169541b52c27dd8f5a3b6e85":()=>p.DELETE,"00499caeab02ab33b8a6bb6eb4109fca3410aaadf0":()=>n.DELETE,"00582f2823de2bc4e1feb3792910a6ee51f0cad695":()=>e.GET,"005e1e6e127c9d77f1ebb1e4d46438ffba726c27f4":()=>m.DELETE,"0060bdb94348e4d66ded4faccfa8a8df0686765e70":()=>p.GET,"006d386fbffb998bf2bb43a9deb1a7542453ea4f04":()=>f.GET,"006e3a3905afd1d08dca17fbeb556a75968eb7f27d":()=>k.GET,"00765a83847bae63fcd11a0bbe994ef933260c7d8b":()=>j.GET,"008fee156e3a1a26b9c0a1d2f98486e3e0bc17e34f":()=>l.GET,"009bda254b0a49de9f4cc0bf701e3897174b6182ae":()=>m.GET,"00a0ee939b2d4a61b47e5c91328f023a4263ed5e0c":()=>i.DELETE,"00b3c66022dd41f374d458e6ffec49075a3a248b3a":()=>o.DELETE,"00bdf9c8b43540724d8cd8b51b2ee395763ec3b9e8":()=>g.GET,"00bf1591b974c2bb0047cf43110dd552dc19ee55cb":()=>o.GET,"00c3847c832d38ac7bc31daa1e08e6b8877e46b28b":()=>d.GET,"00d8c80a16cd28b8cc0e1abf1b89b5f6eb986d0cb2":()=>h.DELETE,"00de74c13fa79e582f427c3c2bdf71c70179d3226e":()=>l.DELETE,"4005efda5f98dabbb603e7131375babd9270c6f258":()=>p.POST,"400a859544fe6c458b36c79e15d2c5dad553ab717d":()=>o.POST,"400d8d69bed3a017b106ed69a367662a72872450f9":()=>e.POST,"4015bcb024f78c99e77149d0030bc7f9e20b67defd":()=>g.DELETE,"40318e682e024af409d70045f39449e7e585c4708b":()=>l.POST,"403613d27315607f3fd77aaf486c761800698cb9df":()=>n.POST,"40452164968fa89d6a88981ca12b43f2b0978c99a2":()=>h.POST,"4054cdfdfba6128c1c4ebe348bf21b0c00eb7691b3":()=>g.POST,"40837e3070cdb81fe834a10dde58608ce4de730480":()=>f.POST,"4099a63a38db79d1635292063769c4af760ff7e4e8":()=>i.POST,"40aa71d9506e4d262e0e086707fcaa943ee3b5922c":()=>j.POST,"40c55454742cbe20eb0de869b09d50d5ff1ed02f43":()=>m.POST,"40cbab9266c438dc8fdda0fedd0b385584cb983a55":()=>k.POST,"40e1ffa90a171c6bb42c544edf448c9d38a422bc06":()=>g.PATCH});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)},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,2436,8266,1350],()=>b(b.s=56919));module.exports=c})();