@rabbi696/ezrouter 0.6.22 → 0.6.23

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 (928) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +5 -5
  3. package/app/.next-cli-build/build-manifest.json +3 -3
  4. package/app/.next-cli-build/react-loadable-manifest.json +1 -1
  5. package/app/.next-cli-build/required-server-files.json +3 -0
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  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/error-log/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  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 +26 -6
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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/pxpipe/page.js +2 -2
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  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 +1 -1
  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/(dashboard)/dashboard/wakeup/page.js +1 -1
  94. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/(dashboard)/dashboard/wakeup/page_client-reference-manifest.js +1 -1
  96. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  104. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  105. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  106. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  107. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  109. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  110. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  111. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  112. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  114. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  115. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  116. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  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/saml/acs/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  136. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  141. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
  241. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  384. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +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 +1 -1
  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]/claude-reset/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  457. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  460. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  482. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  484. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  486. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  487. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  488. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  489. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  490. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  491. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  492. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  493. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  494. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  495. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  496. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  497. package/app/.next-cli-build/server/app/api/wakeup/route.js +1 -1
  498. package/app/.next-cli-build/server/app/api/wakeup/route.js.nft.json +1 -1
  499. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  500. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  501. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  502. package/app/.next-cli-build/server/app/callback.html +1 -1
  503. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  504. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  505. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  507. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  512. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  517. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  519. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  522. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  527. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  529. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  532. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  536. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  537. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  538. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  539. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +6 -6
  542. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +6 -6
  547. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
  549. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  552. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  553. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  557. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  559. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  561. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +6 -6
  562. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  563. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  567. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +6 -6
  568. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +4 -4
  570. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +6 -6
  573. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  577. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +6 -6
  579. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +4 -4
  581. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +2 -2
  582. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +6 -6
  584. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  585. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  587. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +6 -6
  589. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +4 -4
  591. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +2 -2
  592. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  594. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  597. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  598. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  599. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  600. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  602. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  603. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  604. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  605. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  606. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  609. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  610. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  612. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  613. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  614. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  615. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  616. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  619. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  620. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  622. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  623. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  630. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  631. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  632. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  633. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  634. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  636. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  637. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  638. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  640. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  641. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  642. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  643. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  644. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  646. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  647. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  650. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  651. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  652. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  653. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  654. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  656. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  657. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  658. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  660. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  661. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  663. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  665. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  666. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  667. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  669. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  670. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  671. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  672. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  673. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  674. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  675. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +6 -6
  676. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  677. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  678. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  680. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +6 -6
  681. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  682. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
  683. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
  684. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  685. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  686. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  688. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  689. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  690. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  691. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  692. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  693. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  694. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  695. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  696. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  698. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  699. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  700. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  701. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  702. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  703. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  704. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  705. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  706. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  707. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  708. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  709. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  710. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  711. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  712. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  713. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  714. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  715. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  716. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  717. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  718. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  719. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  720. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  721. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  722. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  723. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  724. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  725. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  726. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  727. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  728. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  729. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  730. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  731. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  732. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  733. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  734. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  735. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  736. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  737. package/app/.next-cli-build/server/app/dashboard/wakeup.html +1 -1
  738. package/app/.next-cli-build/server/app/dashboard/wakeup.rsc +6 -6
  739. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup/__PAGE__.segment.rsc +2 -2
  740. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard/wakeup.segment.rsc +1 -1
  741. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  742. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  743. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_full.segment.rsc +6 -6
  744. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_head.segment.rsc +1 -1
  745. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_index.segment.rsc +4 -4
  746. package/app/.next-cli-build/server/app/dashboard/wakeup.segments/_tree.segment.rsc +2 -2
  747. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  748. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  749. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  750. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  751. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  752. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  753. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  754. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  755. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  756. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  757. package/app/.next-cli-build/server/app/index.html +1 -1
  758. package/app/.next-cli-build/server/app/index.rsc +4 -4
  759. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  760. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  761. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  762. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  763. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  764. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  765. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  766. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  767. package/app/.next-cli-build/server/app/landing.html +1 -1
  768. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  769. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  770. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  771. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  772. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  773. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  774. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  775. package/app/.next-cli-build/server/app/login/page.js +1 -1
  776. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  777. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  778. package/app/.next-cli-build/server/app/login.html +1 -1
  779. package/app/.next-cli-build/server/app/login.rsc +5 -5
  780. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  781. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  782. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  783. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  784. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  785. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  786. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  787. package/app/.next-cli-build/server/app/page.js +1 -1
  788. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  789. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  790. package/app/.next-cli-build/server/app-paths-manifest.json +5 -5
  791. package/app/.next-cli-build/server/chunks/1446.js +1 -1
  792. package/app/.next-cli-build/server/chunks/1482.js +2 -2
  793. package/app/.next-cli-build/server/chunks/1522.js +1 -1
  794. package/app/.next-cli-build/server/chunks/1530.js +1 -0
  795. package/app/.next-cli-build/server/chunks/1561.js +9 -0
  796. package/app/.next-cli-build/server/chunks/1641.js +1 -1
  797. package/app/.next-cli-build/server/chunks/1733.js +5 -1
  798. package/app/.next-cli-build/server/chunks/1847.js +1 -1
  799. package/app/.next-cli-build/server/chunks/1923.js +1 -0
  800. package/app/.next-cli-build/server/chunks/2072.js +255 -0
  801. package/app/.next-cli-build/server/chunks/2180.js +1 -1
  802. package/app/.next-cli-build/server/chunks/2348.js +1 -1
  803. package/app/.next-cli-build/server/chunks/2414.js +1 -0
  804. package/app/.next-cli-build/server/chunks/2687.js +1 -1
  805. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  806. package/app/.next-cli-build/server/chunks/290.js +1 -1
  807. package/app/.next-cli-build/server/chunks/2937.js +1 -0
  808. package/app/.next-cli-build/server/chunks/3092.js +1 -1
  809. package/app/.next-cli-build/server/chunks/3159.js +9 -0
  810. package/app/.next-cli-build/server/chunks/321.js +2 -2
  811. package/app/.next-cli-build/server/chunks/3245.js +1 -1
  812. package/app/.next-cli-build/server/chunks/3433.js +4 -4
  813. package/app/.next-cli-build/server/chunks/3449.js +1 -1
  814. package/app/.next-cli-build/server/chunks/3547.js +1 -1
  815. package/app/.next-cli-build/server/chunks/3548.js +9 -0
  816. package/app/.next-cli-build/server/chunks/369.js +9 -9
  817. package/app/.next-cli-build/server/chunks/3759.js +5 -0
  818. package/app/.next-cli-build/server/chunks/3794.js +1 -1
  819. package/app/.next-cli-build/server/chunks/3966.js +1 -1
  820. package/app/.next-cli-build/server/chunks/3977.js +1 -1
  821. package/app/.next-cli-build/server/chunks/4017.js +1 -0
  822. package/app/.next-cli-build/server/chunks/412.js +5 -5
  823. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  824. package/app/.next-cli-build/server/chunks/4190.js +1 -1
  825. package/app/.next-cli-build/server/chunks/4370.js +2 -0
  826. package/app/.next-cli-build/server/chunks/4642.js +1 -0
  827. package/app/.next-cli-build/server/chunks/4807.js +1 -1
  828. package/app/.next-cli-build/server/chunks/4811.js +1 -1
  829. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  830. package/app/.next-cli-build/server/chunks/4878.js +1 -1
  831. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  832. package/app/.next-cli-build/server/chunks/5005.js +1 -0
  833. package/app/.next-cli-build/server/chunks/5251.js +1 -1
  834. package/app/.next-cli-build/server/chunks/5292.js +1 -1
  835. package/app/.next-cli-build/server/chunks/5434.js +1 -1
  836. package/app/.next-cli-build/server/chunks/5460.js +4 -4
  837. package/app/.next-cli-build/server/chunks/5749.js +1 -1
  838. package/app/.next-cli-build/server/chunks/5872.js +1 -1
  839. package/app/.next-cli-build/server/chunks/6038.js +1 -1
  840. package/app/.next-cli-build/server/chunks/6103.js +1 -1
  841. package/app/.next-cli-build/server/chunks/615.js +1 -1
  842. package/app/.next-cli-build/server/chunks/6569.js +1 -1
  843. package/app/.next-cli-build/server/chunks/6646.js +1 -0
  844. package/app/.next-cli-build/server/chunks/6708.js +1 -1
  845. package/app/.next-cli-build/server/chunks/6889.js +3 -0
  846. package/app/.next-cli-build/server/chunks/6988.js +1 -1
  847. package/app/.next-cli-build/server/chunks/7144.js +1 -0
  848. package/app/.next-cli-build/server/chunks/722.js +1 -0
  849. package/app/.next-cli-build/server/chunks/7511.js +9 -0
  850. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  851. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  852. package/app/.next-cli-build/server/chunks/7811.js +1 -1
  853. package/app/.next-cli-build/server/chunks/7828.js +1 -1
  854. package/app/.next-cli-build/server/chunks/7982.js +9 -0
  855. package/app/.next-cli-build/server/chunks/7995.js +2 -2
  856. package/app/.next-cli-build/server/chunks/8129.js +1 -1
  857. package/app/.next-cli-build/server/chunks/823.js +1 -1
  858. package/app/.next-cli-build/server/chunks/8243.js +1 -1
  859. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  860. package/app/.next-cli-build/server/chunks/8327.js +24 -15
  861. package/app/.next-cli-build/server/chunks/8459.js +1 -1
  862. package/app/.next-cli-build/server/chunks/8670.js +1 -0
  863. package/app/.next-cli-build/server/chunks/8950.js +1 -1
  864. package/app/.next-cli-build/server/chunks/8976.js +1 -1
  865. package/app/.next-cli-build/server/chunks/9303.js +1 -1
  866. package/app/.next-cli-build/server/chunks/9485.js +1 -1
  867. package/app/.next-cli-build/server/chunks/9616.js +1 -1
  868. package/app/.next-cli-build/server/chunks/9761.js +2 -2
  869. package/app/.next-cli-build/server/chunks/9843.js +1 -1
  870. package/app/.next-cli-build/server/chunks/9865.js +1 -1
  871. package/app/.next-cli-build/server/chunks/9898.js +2 -2
  872. package/app/.next-cli-build/server/instrumentation.js +1 -1
  873. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  874. package/app/.next-cli-build/server/middleware-react-loadable-manifest.js +1 -1
  875. package/app/.next-cli-build/server/middleware.js +5 -5
  876. package/app/.next-cli-build/server/next-font-manifest.js +1 -1
  877. package/app/.next-cli-build/server/next-font-manifest.json +1 -1
  878. package/app/.next-cli-build/server/pages/404.html +1 -1
  879. package/app/.next-cli-build/server/pages/500.html +1 -1
  880. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  881. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  882. package/app/.next-cli-build/static/chunks/1321-374cf8300fa9283a.js +1 -0
  883. package/app/.next-cli-build/static/chunks/5497-552ad04ae3380014.js +17 -0
  884. package/app/.next-cli-build/static/chunks/{6252-0f14a5b69160c9da.js → 6252-361b1d5b9d98e0f6.js} +1 -1
  885. package/app/.next-cli-build/static/chunks/6509-8408cfa51bab02b8.js +1 -0
  886. package/app/.next-cli-build/static/chunks/8105-2341cae0a3b70fc9.js +1 -0
  887. package/app/.next-cli-build/static/chunks/9227-08a1ad2fd60f90a1.js +5 -0
  888. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-2ac64e666515ee53.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/error-log/page-1f6447383234195f.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-948cbe61db1d6e26.js → page-94eb5202d9b42b30.js} +1 -1
  891. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/combo/[id]/{page-886fa42ab104c02b.js → page-5b823a675c71106d.js} +2 -2
  892. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-9e25e5d249d9c772.js +27 -0
  893. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-61cabb346811532e.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-ed31b8fb16ed1c2c.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/wakeup/{page-cc38ba001d74e072.js → page-97d58b76627b2b45.js} +1 -1
  896. package/app/.next-cli-build/static/chunks/app/(dashboard)/{layout-0441382e88eeda7c.js → layout-afb8830458a68375.js} +1 -1
  897. package/app/.next-cli-build/static/chunks/{webpack-63e69ceb57f8fc86.js → webpack-d3b25b624caf2b22.js} +1 -1
  898. package/app/.next-cli-build/static/css/09d93ff4fa82a09d.css +1 -0
  899. package/app/CHANGELOG.md +32 -0
  900. package/app/package.json +1 -1
  901. package/app/public/CHANGELOG.md +32 -0
  902. package/app/server.js +1 -1
  903. package/package.json +1 -1
  904. package/src/cli/api/client.js +28 -9
  905. package/src/cli/utils/modelSelector.js +4 -2
  906. package/app/.next-cli-build/server/chunks/1133.js +0 -1
  907. package/app/.next-cli-build/server/chunks/1837.js +0 -3
  908. package/app/.next-cli-build/server/chunks/3275.js +0 -1
  909. package/app/.next-cli-build/server/chunks/5743.js +0 -254
  910. package/app/.next-cli-build/server/chunks/6464.js +0 -1
  911. package/app/.next-cli-build/server/chunks/6765.js +0 -1
  912. package/app/.next-cli-build/server/chunks/7358.js +0 -1
  913. package/app/.next-cli-build/server/chunks/7362.js +0 -2
  914. package/app/.next-cli-build/server/chunks/8540.js +0 -1
  915. package/app/.next-cli-build/server/chunks/9352.js +0 -1
  916. package/app/.next-cli-build/static/chunks/1321-8a4ed98cd27f3c72.js +0 -1
  917. package/app/.next-cli-build/static/chunks/5497-b45e1c7b332ddf12.js +0 -17
  918. package/app/.next-cli-build/static/chunks/6509-3113291463d9844c.js +0 -1
  919. package/app/.next-cli-build/static/chunks/8105-09b5824ceb7fd21b.js +0 -1
  920. package/app/.next-cli-build/static/chunks/9227-96f7384b30545e0d.js +0 -5
  921. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/page-b29a8b9ee4742767.js +0 -1
  922. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/error-log/page-862a88526522df85.js +0 -1
  923. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-5cddf336494d65c2.js +0 -27
  924. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-bb32b01b204c30e6.js +0 -1
  925. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-c804bcf327d3ef5a.js +0 -1
  926. package/app/.next-cli-build/static/css/99e24003a7301d8b.css +0 -1
  927. /package/app/.next-cli-build/static/{Y99WYOLLyt5Zmp6hx75Z1 → qhov0HpMB8g5P8LJxjypq}/_buildManifest.js +0 -0
  928. /package/app/.next-cli-build/static/{Y99WYOLLyt5Zmp6hx75Z1 → qhov0HpMB8g5P8LJxjypq}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (()=>{var a={};a.id=8814,a.ids=[8814,9718],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")},20868:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>J,patchFetch:()=>I,routeModule:()=>E,serverHooks:()=>H,workAsyncStorage:()=>F,workUnitAsyncStorage:()=>G});var d={};c.r(d),c.d(d,{POST:()=>D});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(88556),x=c(68658),y=c(74986);let z=5,A=async(a,b,c=1e4,d=z)=>{let e=new AbortController,f=setTimeout(()=>e.abort(Error("Request timeout")),c);try{let f=await fetch(a,{...b,signal:e.signal,redirect:"manual"}),g=f.status>=300&&f.status<400?f.headers.get("location"):null;if(!g)return f;if(d<=0)throw Error("Blocked URL: too many redirects");let h=new URL(g,a).toString();return await (0,w.hX)(h),await f.arrayBuffer().catch(()=>{}),A(h,b,c,d-1)}finally{clearTimeout(f)}},B=a=>401===a||403===a?"API key unauthorized":404===a?"/models endpoint not found - try chat validation with model ID":a>=500?"Server error - try again later":`Unexpected response (${a})`,C=a=>401===a||403===a?"API key unauthorized":400===a?"Invalid model or bad request":404===a?"Chat endpoint not found":a>=500?"Server error - try again later":`Chat request failed (${a})`;async function D(a){try{let{baseUrl:b,apiKey:c,type:d,modelId:e,clientIdentityProfile:f,clientIdentityHeaders:g}=await a.json(),h={clientIdentityProfile:f,clientIdentityHeaders:g};if(!b||!c)return v.NextResponse.json({error:"Base URL and API key required"},{status:400});if(!(a=>{try{return new URL(a),!0}catch{return!1}})(b))return v.NextResponse.json({error:"Invalid URL format"},{status:400});if(!(0,x.v5)(a))try{await (0,w.hX)(b)}catch{return v.NextResponse.json({error:"URL not allowed"},{status:400})}if("custom-embedding"===d){let a=b.trim().replace(/\/$/,"");if(!e?.trim())return v.NextResponse.json({valid:!1,error:"Model ID required for embedding validation"});let d=await A(`${a}/embeddings`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({model:e.trim(),input:"ping"})});if(d.ok){let a=await d.json().catch(()=>null),b=Array.isArray(a?.data?.[0]?.embedding)?a.data[0].embedding.length:null;return v.NextResponse.json({valid:!0,method:"embeddings",dimensions:b})}if(401===d.status||403===d.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});let f=await d.text().catch(()=>"");return v.NextResponse.json({valid:!1,error:`Embeddings request failed (${d.status})${f?`: ${f.slice(0,200)}`:""}`,method:"embeddings"})}if("custom-video"===d){let a=b.trim().replace(/\/$/,"");a=a.replace(/\/(generations|edits|extensions)$/,"");let d=await A(`${a}/generations`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({})});if(401===d.status||403===d.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(404===d.status)return v.NextResponse.json({valid:!1,error:"/generations endpoint not found - check Base URL"});if(d.status>=500)return v.NextResponse.json({valid:!1,error:"Server error - try again later"});return v.NextResponse.json({valid:!0,method:"generations-probe"})}if("anthropic-compatible"===d){let a=b.trim().replace(/\/$/,"");a.endsWith("/messages")&&(a=a.slice(0,-9));let d=`${a}/models`,f=await A(d,{method:"GET",headers:(0,y.im)({},h,{"x-api-key":c,"anthropic-version":"2023-06-01",Authorization:`Bearer ${c}`})});if(f.ok)return v.NextResponse.json({valid:!0});if(401===f.status||403===f.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(e){let b=await A(`${a}/chat/completions`,{method:"POST",headers:(0,y.im)({"Content-Type":"application/json"},h,{Authorization:`Bearer ${c}`,"x-api-key":c,"anthropic-version":"2023-06-01"}),body:JSON.stringify({model:e,messages:[{role:"user",content:"ping"}],max_tokens:1})});if(b.ok)return v.NextResponse.json({valid:!0,method:"chat"});return v.NextResponse.json({valid:!1,error:C(b.status),method:"chat"})}return v.NextResponse.json({valid:!1,error:B(f.status)})}let i=`${b.replace(/\/$/,"")}/models`,j=await A(i,{headers:(0,y.im)({},h,{Authorization:`Bearer ${c}`})});if(j.ok)return v.NextResponse.json({valid:!0});if(401===j.status||403===j.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(e){let a=await A(`${b.replace(/\/$/,"")}/chat/completions`,{method:"POST",headers:(0,y.im)({"Content-Type":"application/json"},h,{Authorization:`Bearer ${c}`}),body:JSON.stringify({model:e,messages:[{role:"user",content:"ping"}],max_tokens:1})});if(a.ok)return v.NextResponse.json({valid:!0,method:"chat"});return v.NextResponse.json({valid:!1,error:C(a.status),method:"chat"})}return v.NextResponse.json({valid:!1,error:B(j.status)})}catch(b){let a=b.cause?.code==="ECONNREFUSED"?"Connection refused - provider node offline or unreachable":b.cause?.code==="ENOTFOUND"?"DNS lookup failed - invalid domain or network issue":b.cause?.code==="ETIMEDOUT"?"Connection timeout - provider node too slow":b.message.includes("timeout")?"Request timeout (>10s) - provider node not responding":b.cause?.code==="CERT_HAS_EXPIRED"?"SSL certificate expired":b.cause?.code==="UNABLE_TO_VERIFY_LEAF_SIGNATURE"?"SSL certificate verification failed":b.cause?.code?`Network error: ${b.cause.code}`:"Network connection failed - check URL and network connectivity";return console.error("Error validating provider node:",{message:b.message,cause:b.cause,code:b.cause?.code,userMessage:a}),v.NextResponse.json({valid:!1,error:a},{status:500})}}let E=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/provider-nodes/validate/route",pathname:"/api/provider-nodes/validate",filename:"route",bundlePath:"app/api/provider-nodes/validate/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/provider-nodes/validate/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:F,workUnitAsyncStorage:G,serverHooks:H}=E;function I(){return(0,g.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:G})}async function J(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),E.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/provider-nodes/validate/route";"/index"===d&&(d="/");let e=await E.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||E.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===E.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==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await E.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>E.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>E.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!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 E.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await E.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!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",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&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 E.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},40610:a=>{"use strict";a.exports=require("node:dns")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},74986:(a,b,c)=>{"use strict";c.d(b,{I3:()=>i,M_:()=>l,im:()=>j,z5:()=>k});let d={default:{label:"Default",headers:{}},"claude-cli":{label:"Claude CLI",headers:c(92675).$B},"codex-cli":{label:"Codex CLI",headers:{originator:"codex_cli_rs","User-Agent":"codex_cli_rs/0.136.0"}},openclaw:{label:"OpenClaw",headers:{"User-Agent":"openclaw/2026.2.3"}},custom:{label:"Custom",headers:{}}},e=new Set(["authorization","x-api-key","api-key","cookie"]);function f(a){return d[a]?a:"default"}function g(a){let b={};for(let[c,d]of a){let a=String(c||"").trim();if(!a||e.has(String(a||"").trim().toLowerCase())||null==d)continue;let f=String(d).trim();f&&(b[a]=f)}return b}function h(a){if(!a)return{};if("object"==typeof a&&!Array.isArray(a))return g(Object.entries(a));let b=String(a).trim();if(!b)return{};if(b.startsWith("{")){let a=JSON.parse(b);return!a||"object"!=typeof a||Array.isArray(a)?{}:g(Object.entries(a))}return g(function(a){let b=[];for(let c of String(a||"").split(/\r?\n/)){let a=c.trim();if(!a||a.startsWith("#"))continue;let d=a.indexOf(":");d<=0||b.push([a.slice(0,d),a.slice(d+1)])}return b}(b))}function i(a={}){let b=f(a.clientIdentityProfile);return"custom"===b?h(a.clientIdentityHeaders):{...d[b]?.headers||{}}}function j(a={},b={},c={}){return{...a||{},...i(b),...c||{}}}function k(a={}){let b=f(a.clientIdentityProfile);return{clientIdentityProfile:b,clientIdentityHeaders:"custom"===b?h(a.clientIdentityHeaders):{}}}function l({provider:a,baseUrl:b="",clientIdentityProfile:c,identityHeaders:d={}}={}){if(!a?.startsWith?.("anthropic-compatible-"))return!1;let e=String(b||"");if(""===e||e.includes("api.anthropic.com"))return!1;let g=f(c);return!("claude-cli"===g||"custom"===g&&function(a={}){for(let[b,c]of Object.entries(a||{})){let a=b.toLowerCase(),d=String(c||"").toLowerCase();if("x-app"===a&&"cli"===d||"anthropic-dangerous-direct-browser-access"===a||"anthropic-beta"===a&&d.includes("claude-code-20250219")||"user-agent"===a&&(d.includes("claude-cli/")||d.includes("claude-code/")))return!0}return!1}(d))}},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},88556:(a,b,c)=>{"use strict";c.d(b,{PA:()=>q,er:()=>s,hX:()=>r});var d=c(40610),e=c.n(d);let f=new Set(["localhost","ip6-localhost","ip6-loopback"]),g=[".internal",".local",".localhost"];function h(a){let b=a.split(".");if(4!==b.length)return null;let c=0;for(let a of b){if(!/^\d{1,3}$/.test(a))return null;let b=Number(a);if(b>255)return null;c=256*c+b}return c>>>0}let i=[[h("0.0.0.0"),8],[h("10.0.0.0"),8],[h("100.64.0.0"),10],[h("127.0.0.0"),8],[h("169.254.0.0"),16],[h("172.16.0.0"),12],[h("192.168.0.0"),16]];function j(a){return i.some(([b,c])=>{let d=0===c?0:0xffffffff<<32-c>>>0;return(a&d)==(b&d)})}function k(a){let b=h(a);return null!==b&&j(b)}function l(a){if(""===a)return[];let b=a.split(":"),c=[];for(let a of b){if(!/^[0-9a-f]{1,4}$/.test(a))return null;c.push(parseInt(a,16))}return c}function m(a){let b,c=a.toLowerCase(),d=c.match(/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/),e=null;if(d){let a=h(d[1]);if(null===a)return null;e=[a>>>16&65535,65535&a],(c=c.slice(0,c.length-d[1].length)).endsWith("::")||c.endsWith(":")&&(c=c.slice(0,-1))}let f=c.split("::");if(f.length>2)return null;if(2===f.length){let a=l(f[0]),c=l(f[1]);if(null===a||null===c)return null;let d=e?e.length:0,g=8-a.length-c.length-d;if(g<0)return null;b=[...a,...Array(g).fill(0),...c,...e||[]]}else{let a=l(c);if(null===a)return null;b=[...a,...e||[]]}return 8===b.length?b:null}function n(a){let b=b=>0===a[b];if([0,1,2,3,4,5,6].every(b)&&1===a[7]||a.every(a=>0===a)||(65472&a[0])==65152||(65024&a[0])==64512)return!0;let c=(a[6]<<16|a[7])>>>0;return!!([0,1,2,3,4].every(b)&&65535===a[5]||100===a[0]&&65435===a[1]&&[2,3,4,5].every(b)||[0,1,2,3,4,5].every(b)&&0!==c&&1!==c)&&j(c)}function o(a){return a.toLowerCase().replace(/\.+$/,"")}function p(a){if(f.has(a)||g.some(b=>a.endsWith(b))||k(a))return!0;if(a.includes(":")){let b=m(a.replace(/^\[|\]$/g,""));if(b&&n(b))return!0}return!1}function q(a){if(p(o(new URL(a).hostname)))throw Error("Blocked URL: internal host")}async function r(a){let b,c=o(new URL(a).hostname);if(p(c))throw Error("Blocked URL: internal host");let d=c.replace(/^\[|\]$/g,"");if(!(null!==h(d)||d.includes(":"))){try{b=await e().promises.lookup(c,{all:!0,verbatim:!0})}catch{return}for(let{address:a,family:c}of b)if(4===c?k(a):n(m(a)||[]))throw Error("Blocked URL: hostname resolves to an internal host")}}async function s(a,b={},{maxRedirects:c=5}={}){await r(a);let d=a;for(let a=0;;a++){let e=await fetch(d,{...b,redirect:"manual"}),f=e.status>=300&&e.status<400?e.headers.get("location"):null;if(!f)return e;if(a>=c)throw Error("Blocked URL: too many redirects");let g=new URL(f,d).toString();await r(g),d=g}}},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,bI:()=>d.bI,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(33079)},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,4013,4433,8540,5460,8658],()=>b(b.s=20868));module.exports=c})();
1
+ (()=>{var a={};a.id=8814,a.ids=[8814,9718],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")},20868:(a,b,c)=>{"use strict";c.r(b),c.d(b,{handler:()=>J,patchFetch:()=>I,routeModule:()=>E,serverHooks:()=>H,workAsyncStorage:()=>F,workUnitAsyncStorage:()=>G});var d={};c.r(d),c.d(d,{POST:()=>D});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(88556),x=c(68658),y=c(74986);let z=5,A=async(a,b,c=1e4,d=z)=>{let e=new AbortController,f=setTimeout(()=>e.abort(Error("Request timeout")),c);try{let f=await fetch(a,{...b,signal:e.signal,redirect:"manual"}),g=f.status>=300&&f.status<400?f.headers.get("location"):null;if(!g)return f;if(d<=0)throw Error("Blocked URL: too many redirects");let h=new URL(g,a).toString();return await (0,w.hX)(h),await f.arrayBuffer().catch(()=>{}),A(h,b,c,d-1)}finally{clearTimeout(f)}},B=a=>401===a||403===a?"API key unauthorized":404===a?"/models endpoint not found - try chat validation with model ID":a>=500?"Server error - try again later":`Unexpected response (${a})`,C=a=>401===a||403===a?"API key unauthorized":400===a?"Invalid model or bad request":404===a?"Chat endpoint not found":a>=500?"Server error - try again later":`Chat request failed (${a})`;async function D(a){try{let{baseUrl:b,apiKey:c,type:d,modelId:e,clientIdentityProfile:f,clientIdentityHeaders:g}=await a.json(),h={clientIdentityProfile:f,clientIdentityHeaders:g};if(!b||!c)return v.NextResponse.json({error:"Base URL and API key required"},{status:400});if(!(a=>{try{return new URL(a),!0}catch{return!1}})(b))return v.NextResponse.json({error:"Invalid URL format"},{status:400});if(!(0,x.v5)(a))try{await (0,w.hX)(b)}catch{return v.NextResponse.json({error:"URL not allowed"},{status:400})}if("custom-embedding"===d){let a=b.trim().replace(/\/$/,"");if(!e?.trim())return v.NextResponse.json({valid:!1,error:"Model ID required for embedding validation"});let d=await A(`${a}/embeddings`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({model:e.trim(),input:"ping"})});if(d.ok){let a=await d.json().catch(()=>null),b=Array.isArray(a?.data?.[0]?.embedding)?a.data[0].embedding.length:null;return v.NextResponse.json({valid:!0,method:"embeddings",dimensions:b})}if(401===d.status||403===d.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});let f=await d.text().catch(()=>"");return v.NextResponse.json({valid:!1,error:`Embeddings request failed (${d.status})${f?`: ${f.slice(0,200)}`:""}`,method:"embeddings"})}if("custom-video"===d){let a=b.trim().replace(/\/$/,"");a=a.replace(/\/(generations|edits|extensions)$/,"");let d=await A(`${a}/generations`,{method:"POST",headers:{Authorization:`Bearer ${c}`,"Content-Type":"application/json"},body:JSON.stringify({})});if(401===d.status||403===d.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(404===d.status)return v.NextResponse.json({valid:!1,error:"/generations endpoint not found - check Base URL"});if(d.status>=500)return v.NextResponse.json({valid:!1,error:"Server error - try again later"});return v.NextResponse.json({valid:!0,method:"generations-probe"})}if("anthropic-compatible"===d){let a=b.trim().replace(/\/$/,"");a.endsWith("/messages")&&(a=a.slice(0,-9));let d=`${a}/models`,f=await A(d,{method:"GET",headers:(0,y.im)({},h,{"x-api-key":c,"anthropic-version":"2023-06-01",Authorization:`Bearer ${c}`})});if(f.ok)return v.NextResponse.json({valid:!0});if(401===f.status||403===f.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(e){let b=await A(`${a}/chat/completions`,{method:"POST",headers:(0,y.im)({"Content-Type":"application/json"},h,{Authorization:`Bearer ${c}`,"x-api-key":c,"anthropic-version":"2023-06-01"}),body:JSON.stringify({model:e,messages:[{role:"user",content:"ping"}],max_tokens:1})});if(b.ok)return v.NextResponse.json({valid:!0,method:"chat"});return v.NextResponse.json({valid:!1,error:C(b.status),method:"chat"})}return v.NextResponse.json({valid:!1,error:B(f.status)})}let i=`${b.replace(/\/$/,"")}/models`,j=await A(i,{headers:(0,y.im)({},h,{Authorization:`Bearer ${c}`})});if(j.ok)return v.NextResponse.json({valid:!0});if(401===j.status||403===j.status)return v.NextResponse.json({valid:!1,error:"API key unauthorized"});if(e){let a=await A(`${b.replace(/\/$/,"")}/chat/completions`,{method:"POST",headers:(0,y.im)({"Content-Type":"application/json"},h,{Authorization:`Bearer ${c}`}),body:JSON.stringify({model:e,messages:[{role:"user",content:"ping"}],max_tokens:1})});if(a.ok)return v.NextResponse.json({valid:!0,method:"chat"});return v.NextResponse.json({valid:!1,error:C(a.status),method:"chat"})}return v.NextResponse.json({valid:!1,error:B(j.status)})}catch(b){let a=b.cause?.code==="ECONNREFUSED"?"Connection refused - provider node offline or unreachable":b.cause?.code==="ENOTFOUND"?"DNS lookup failed - invalid domain or network issue":b.cause?.code==="ETIMEDOUT"?"Connection timeout - provider node too slow":b.message.includes("timeout")?"Request timeout (>10s) - provider node not responding":b.cause?.code==="CERT_HAS_EXPIRED"?"SSL certificate expired":b.cause?.code==="UNABLE_TO_VERIFY_LEAF_SIGNATURE"?"SSL certificate verification failed":b.cause?.code?`Network error: ${b.cause.code}`:"Network connection failed - check URL and network connectivity";return console.error("Error validating provider node:",{message:b.message,cause:b.cause,code:b.cause?.code,userMessage:a}),v.NextResponse.json({valid:!1,error:a},{status:500})}}let E=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/provider-nodes/validate/route",pathname:"/api/provider-nodes/validate",filename:"route",bundlePath:"app/api/provider-nodes/validate/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/provider-nodes/validate/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:F,workUnitAsyncStorage:G,serverHooks:H}=E;function I(){return(0,g.patchFetch)({workAsyncStorage:F,workUnitAsyncStorage:G})}async function J(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),E.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/provider-nodes/validate/route";"/index"===d&&(d="/");let e=await E.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=e,I=(0,k.normalizeAppPath)(d),J=!!(A.dynamicRoutes[I]||A.routes[F]),K=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(J&&!z){let a=!!A.routes[F],b=A.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await K();throw new t.NoFallbackError}}let L=null;!J||E.isDev||z||(L="/index"===(L=F)?"/":L);let M=!0===E.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==B?void 0:B.isWrappedByNextServer),S=!!(0,h.getRequestMeta)(a,"minimalMode"),T=(0,h.getRequestMeta)(a,"incrementalCache")||await E.getIncrementalCache(a,x,A,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:M,incrementalCache:T,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>E.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},V=new l.NodeNextRequest(a),W=new l.NodeNextResponse(b),X=m.NextRequestAdapter.fromNodeNextRequest(V,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>E.handle(X,U).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==n.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let f=c.get("next.route");if(f){let b=`${O} ${f}`;a.setAttributes({"next.route":f,"http.route":f,"next.span_name":b}),a.updateName(b),e&&e!==a&&(e.setAttribute("http.route",f),e.updateName(b))}else a.updateName(`${O} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!S&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=U.renderOpts.fetchMetrics;let h=U.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=U.renderOpts.collectedTags;if(!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 E.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),b}},k=await E.handleResponse({req:a,nextConfig:x,cacheKey:L,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:S});if(!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",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return S&&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 E.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:N,isOnDemandRevalidate:C})},!1,B),J)throw b;return await (0,p.I)(V,W,new Response(null,{status:500})),null}}},21820:a=>{"use strict";a.exports=require("os")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},33873:a=>{"use strict";a.exports=require("path")},40610:a=>{"use strict";a.exports=require("node:dns")},44870:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{"use strict";a.exports=require("sql.js")},55511:a=>{"use strict";a.exports=require("crypto")},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},73024:a=>{"use strict";a.exports=require("node:fs")},74986:(a,b,c)=>{"use strict";c.d(b,{I3:()=>i,M_:()=>l,im:()=>j,z5:()=>k});let d={default:{label:"Default",headers:{}},"claude-cli":{label:"Claude CLI",headers:c(92675).$B},"codex-cli":{label:"Codex CLI",headers:{originator:"codex_cli_rs","User-Agent":"codex_cli_rs/0.136.0"}},openclaw:{label:"OpenClaw",headers:{"User-Agent":"openclaw/2026.2.3"}},custom:{label:"Custom",headers:{}}},e=new Set(["authorization","x-api-key","api-key","cookie"]);function f(a){return d[a]?a:"default"}function g(a){let b={};for(let[c,d]of a){let a=String(c||"").trim();if(!a||e.has(String(a||"").trim().toLowerCase())||null==d)continue;let f=String(d).trim();f&&(b[a]=f)}return b}function h(a){if(!a)return{};if("object"==typeof a&&!Array.isArray(a))return g(Object.entries(a));let b=String(a).trim();if(!b)return{};if(b.startsWith("{")){let a=JSON.parse(b);return!a||"object"!=typeof a||Array.isArray(a)?{}:g(Object.entries(a))}return g(function(a){let b=[];for(let c of String(a||"").split(/\r?\n/)){let a=c.trim();if(!a||a.startsWith("#"))continue;let d=a.indexOf(":");d<=0||b.push([a.slice(0,d),a.slice(d+1)])}return b}(b))}function i(a={}){let b=f(a.clientIdentityProfile);return"custom"===b?h(a.clientIdentityHeaders):{...d[b]?.headers||{}}}function j(a={},b={},c={}){return{...a||{},...i(b),...c||{}}}function k(a={}){let b=f(a.clientIdentityProfile);return{clientIdentityProfile:b,clientIdentityHeaders:"custom"===b?h(a.clientIdentityHeaders):{}}}function l({provider:a,baseUrl:b="",clientIdentityProfile:c,identityHeaders:d={}}={}){if(!a?.startsWith?.("anthropic-compatible-"))return!1;let e=String(b||"");if(""===e||e.includes("api.anthropic.com"))return!1;let g=f(c);return!("claude-cli"===g||"custom"===g&&function(a={}){for(let[b,c]of Object.entries(a||{})){let a=b.toLowerCase(),d=String(c||"").toLowerCase();if("x-app"===a&&"cli"===d||"anthropic-dangerous-direct-browser-access"===a||"anthropic-beta"===a&&d.includes("claude-code-20250219")||"user-agent"===a&&(d.includes("claude-cli/")||d.includes("claude-code/")))return!0}return!1}(d))}},76760:a=>{"use strict";a.exports=require("node:path")},77598:a=>{"use strict";a.exports=require("node:crypto")},78335:()=>{},79646:a=>{"use strict";a.exports=require("child_process")},79868:a=>{"use strict";a.exports=require("node:sqlite")},81787:a=>{"use strict";a.exports=require("bun:sqlite")},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{"use strict";a.exports=require("better-sqlite3")},88556:(a,b,c)=>{"use strict";c.d(b,{PA:()=>q,er:()=>s,hX:()=>r});var d=c(40610),e=c.n(d);let f=new Set(["localhost","ip6-localhost","ip6-loopback"]),g=[".internal",".local",".localhost"];function h(a){let b=a.split(".");if(4!==b.length)return null;let c=0;for(let a of b){if(!/^\d{1,3}$/.test(a))return null;let b=Number(a);if(b>255)return null;c=256*c+b}return c>>>0}let i=[[h("0.0.0.0"),8],[h("10.0.0.0"),8],[h("100.64.0.0"),10],[h("127.0.0.0"),8],[h("169.254.0.0"),16],[h("172.16.0.0"),12],[h("192.168.0.0"),16]];function j(a){return i.some(([b,c])=>{let d=0===c?0:0xffffffff<<32-c>>>0;return(a&d)==(b&d)})}function k(a){let b=h(a);return null!==b&&j(b)}function l(a){if(""===a)return[];let b=a.split(":"),c=[];for(let a of b){if(!/^[0-9a-f]{1,4}$/.test(a))return null;c.push(parseInt(a,16))}return c}function m(a){let b,c=a.toLowerCase(),d=c.match(/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})$/),e=null;if(d){let a=h(d[1]);if(null===a)return null;e=[a>>>16&65535,65535&a],(c=c.slice(0,c.length-d[1].length)).endsWith("::")||c.endsWith(":")&&(c=c.slice(0,-1))}let f=c.split("::");if(f.length>2)return null;if(2===f.length){let a=l(f[0]),c=l(f[1]);if(null===a||null===c)return null;let d=e?e.length:0,g=8-a.length-c.length-d;if(g<0)return null;b=[...a,...Array(g).fill(0),...c,...e||[]]}else{let a=l(c);if(null===a)return null;b=[...a,...e||[]]}return 8===b.length?b:null}function n(a){let b=b=>0===a[b];if([0,1,2,3,4,5,6].every(b)&&1===a[7]||a.every(a=>0===a)||(65472&a[0])==65152||(65024&a[0])==64512)return!0;let c=(a[6]<<16|a[7])>>>0;return!!([0,1,2,3,4].every(b)&&65535===a[5]||100===a[0]&&65435===a[1]&&[2,3,4,5].every(b)||[0,1,2,3,4,5].every(b)&&0!==c&&1!==c)&&j(c)}function o(a){return a.toLowerCase().replace(/\.+$/,"")}function p(a){if(f.has(a)||g.some(b=>a.endsWith(b))||k(a))return!0;if(a.includes(":")){let b=m(a.replace(/^\[|\]$/g,""));if(b&&n(b))return!0}return!1}function q(a){if(p(o(new URL(a).hostname)))throw Error("Blocked URL: internal host")}async function r(a){let b,c=o(new URL(a).hostname);if(p(c))throw Error("Blocked URL: internal host");let d=c.replace(/^\[|\]$/g,"");if(!(null!==h(d)||d.includes(":"))){try{b=await e().promises.lookup(c,{all:!0,verbatim:!0})}catch{return}for(let{address:a,family:c}of b)if(4===c?k(a):n(m(a)||[]))throw Error("Blocked URL: hostname resolves to an internal host")}}async function s(a,b={},{maxRedirects:c=5}={}){await r(a);let d=a;for(let a=0;;a++){let e=await fetch(d,{...b,redirect:"manual"}),f=e.status>=300&&e.status<400?e.headers.get("location"):null;if(!f)return e;if(a>=c)throw Error("Blocked URL: too many redirects");let g=new URL(f,d).toString();await r(g),d=g}}},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,bI:()=>d.bI,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(33079)},94735:a=>{"use strict";a.exports=require("events")},96487:()=>{}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,4013,4433,290,722,5460,8658],()=>b(b.s=20868));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/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../open-sse/package.json","../../../../../../package.json","../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../src/lib/db/migrate.js","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1133.js","../../../../chunks/1220.js","../../../../chunks/1253.js","../../../../chunks/1306.js","../../../../chunks/14.js","../../../../chunks/1446.js","../../../../chunks/1455.js","../../../../chunks/1482.js","../../../../chunks/1522.js","../../../../chunks/1531.js","../../../../chunks/1641.js","../../../../chunks/1679.js","../../../../chunks/1733.js","../../../../chunks/1757.js","../../../../chunks/1813.js","../../../../chunks/1837.js","../../../../chunks/1847.js","../../../../chunks/2180.js","../../../../chunks/2220.js","../../../../chunks/2269.js","../../../../chunks/2348.js","../../../../chunks/241.js","../../../../chunks/2687.js","../../../../chunks/2750.js","../../../../chunks/2760.js","../../../../chunks/2891.js","../../../../chunks/2898.js","../../../../chunks/290.js","../../../../chunks/3092.js","../../../../chunks/319.js","../../../../chunks/321.js","../../../../chunks/3216.js","../../../../chunks/3245.js","../../../../chunks/3275.js","../../../../chunks/3433.js","../../../../chunks/3449.js","../../../../chunks/3547.js","../../../../chunks/3593.js","../../../../chunks/369.js","../../../../chunks/3794.js","../../../../chunks/3912.js","../../../../chunks/3966.js","../../../../chunks/3977.js","../../../../chunks/4013.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4152.js","../../../../chunks/4190.js","../../../../chunks/4378.js","../../../../chunks/4433.js","../../../../chunks/4485.js","../../../../chunks/4574.js","../../../../chunks/4646.js","../../../../chunks/4704.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4807.js","../../../../chunks/4811.js","../../../../chunks/4827.js","../../../../chunks/4878.js","../../../../chunks/4882.js","../../../../chunks/4989.js","../../../../chunks/5011.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5209.js","../../../../chunks/5251.js","../../../../chunks/5258.js","../../../../chunks/5292.js","../../../../chunks/5296.js","../../../../chunks/5345.js","../../../../chunks/5364.js","../../../../chunks/5434.js","../../../../chunks/5460.js","../../../../chunks/5573.js","../../../../chunks/5743.js","../../../../chunks/5749.js","../../../../chunks/5872.js","../../../../chunks/5875.js","../../../../chunks/595.js","../../../../chunks/6038.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6405.js","../../../../chunks/6464.js","../../../../chunks/6569.js","../../../../chunks/6588.js","../../../../chunks/6623.js","../../../../chunks/6670.js","../../../../chunks/6708.js","../../../../chunks/6765.js","../../../../chunks/6769.js","../../../../chunks/6790.js","../../../../chunks/6799.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6921.js","../../../../chunks/6947.js","../../../../chunks/6950.js","../../../../chunks/6958.js","../../../../chunks/698.js","../../../../chunks/6988.js","../../../../chunks/7073.js","../../../../chunks/7121.js","../../../../chunks/7239.js","../../../../chunks/7302.js","../../../../chunks/7321.js","../../../../chunks/7358.js","../../../../chunks/7362.js","../../../../chunks/7633.js","../../../../chunks/7716.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7811.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/7995.js","../../../../chunks/8062.js","../../../../chunks/8129.js","../../../../chunks/823.js","../../../../chunks/8243.js","../../../../chunks/8306.js","../../../../chunks/8327.js","../../../../chunks/8459.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8540.js","../../../../chunks/8552.js","../../../../chunks/8658.js","../../../../chunks/8749.js","../../../../chunks/8889.js","../../../../chunks/8950.js","../../../../chunks/8976.js","../../../../chunks/9021.js","../../../../chunks/9296.js","../../../../chunks/9303.js","../../../../chunks/9352.js","../../../../chunks/9485.js","../../../../chunks/9616.js","../../../../chunks/9718.js","../../../../chunks/9761.js","../../../../chunks/9843.js","../../../../chunks/9865.js","../../../../chunks/9898.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../node_modules/@swc/helpers/package.json","../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../node_modules/better-sqlite3/package.json","../../../../../../node_modules/bindings/bindings.js","../../../../../../node_modules/bindings/package.json","../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../node_modules/next/dist/client/components/app-router-headers.js","../../../../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../../../../node_modules/next/dist/client/lib/console.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js","../../../../../../node_modules/next/dist/compiled/source-map/package.json","../../../../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../../../../node_modules/next/dist/compiled/ws/index.js","../../../../../../node_modules/next/dist/compiled/ws/package.json","../../../../../../node_modules/next/dist/lib/client-and-server-references.js","../../../../../../node_modules/next/dist/lib/constants.js","../../../../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../../../../node_modules/next/dist/lib/interop-default.js","../../../../../../node_modules/next/dist/lib/is-error.js","../../../../../../node_modules/next/dist/lib/picocolors.js","../../../../../../node_modules/next/dist/lib/scheduler.js","../../../../../../node_modules/next/dist/lib/semver-noop.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../../../../node_modules/next/dist/server/lib/lru-cache.js","../../../../../../node_modules/next/dist/server/lib/parse-stack.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../../../../node_modules/next/dist/server/lib/source-maps.js","../../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../node_modules/next/dist/server/load-manifest.external.js","../../../../../../node_modules/next/dist/server/node-environment-baseline.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../../../../node_modules/next/dist/server/node-environment.js","../../../../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../../../../node_modules/next/dist/server/patch-error-inspect.js","../../../../../../node_modules/next/dist/server/require-hook.js","../../../../../../node_modules/next/dist/server/response-cache/types.js","../../../../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../node_modules/next/package.json","../../../../../../node_modules/react/cjs/react.development.js","../../../../../../node_modules/react/cjs/react.production.js","../../../../../../node_modules/react/index.js","../../../../../../node_modules/react/package.json","../../../../../../node_modules/sql.js/dist/sql-wasm.js","../../../../../../node_modules/sql.js/package.json","../../../../../../open-sse/package.json","../../../../../../package.json","../../../../../../src/lib/db/adapters/betterSqliteAdapter.js","../../../../../../src/lib/db/adapters/bunSqliteAdapter.js","../../../../../../src/lib/db/adapters/nodeSqliteAdapter.js","../../../../../../src/lib/db/adapters/sqljsAdapter.js","../../../../../../src/lib/db/migrate.js","../../../../../../src/shared/utils/apiKey.js","../../../../../package.json","../../../../chunks/1220.js","../../../../chunks/1253.js","../../../../chunks/1306.js","../../../../chunks/14.js","../../../../chunks/1446.js","../../../../chunks/1455.js","../../../../chunks/1482.js","../../../../chunks/1522.js","../../../../chunks/1530.js","../../../../chunks/1531.js","../../../../chunks/1561.js","../../../../chunks/1641.js","../../../../chunks/1679.js","../../../../chunks/1733.js","../../../../chunks/1757.js","../../../../chunks/1813.js","../../../../chunks/1847.js","../../../../chunks/1923.js","../../../../chunks/2072.js","../../../../chunks/2180.js","../../../../chunks/2220.js","../../../../chunks/2269.js","../../../../chunks/2348.js","../../../../chunks/241.js","../../../../chunks/2414.js","../../../../chunks/2687.js","../../../../chunks/2750.js","../../../../chunks/2760.js","../../../../chunks/2891.js","../../../../chunks/2898.js","../../../../chunks/290.js","../../../../chunks/2937.js","../../../../chunks/3092.js","../../../../chunks/3159.js","../../../../chunks/319.js","../../../../chunks/321.js","../../../../chunks/3216.js","../../../../chunks/3245.js","../../../../chunks/3433.js","../../../../chunks/3449.js","../../../../chunks/3547.js","../../../../chunks/3548.js","../../../../chunks/3593.js","../../../../chunks/369.js","../../../../chunks/3759.js","../../../../chunks/3794.js","../../../../chunks/3912.js","../../../../chunks/3966.js","../../../../chunks/3977.js","../../../../chunks/4013.js","../../../../chunks/4017.js","../../../../chunks/412.js","../../../../chunks/4123.js","../../../../chunks/4152.js","../../../../chunks/4190.js","../../../../chunks/4370.js","../../../../chunks/4378.js","../../../../chunks/4433.js","../../../../chunks/4485.js","../../../../chunks/4574.js","../../../../chunks/4642.js","../../../../chunks/4646.js","../../../../chunks/4704.js","../../../../chunks/4730.js","../../../../chunks/4739.js","../../../../chunks/4741.js","../../../../chunks/4755.js","../../../../chunks/4780.js","../../../../chunks/4803.js","../../../../chunks/4807.js","../../../../chunks/4811.js","../../../../chunks/4827.js","../../../../chunks/4878.js","../../../../chunks/4882.js","../../../../chunks/4989.js","../../../../chunks/5005.js","../../../../chunks/5011.js","../../../../chunks/507.js","../../../../chunks/5081.js","../../../../chunks/5209.js","../../../../chunks/5251.js","../../../../chunks/5258.js","../../../../chunks/5292.js","../../../../chunks/5296.js","../../../../chunks/5345.js","../../../../chunks/5364.js","../../../../chunks/5434.js","../../../../chunks/5460.js","../../../../chunks/5573.js","../../../../chunks/5749.js","../../../../chunks/5872.js","../../../../chunks/5875.js","../../../../chunks/595.js","../../../../chunks/6038.js","../../../../chunks/6103.js","../../../../chunks/6140.js","../../../../chunks/615.js","../../../../chunks/6252.js","../../../../chunks/6405.js","../../../../chunks/6569.js","../../../../chunks/6588.js","../../../../chunks/6623.js","../../../../chunks/6646.js","../../../../chunks/6670.js","../../../../chunks/6708.js","../../../../chunks/6769.js","../../../../chunks/6790.js","../../../../chunks/6799.js","../../../../chunks/6844.js","../../../../chunks/6875.js","../../../../chunks/6889.js","../../../../chunks/6921.js","../../../../chunks/6947.js","../../../../chunks/6950.js","../../../../chunks/6958.js","../../../../chunks/698.js","../../../../chunks/6988.js","../../../../chunks/7073.js","../../../../chunks/7121.js","../../../../chunks/7144.js","../../../../chunks/722.js","../../../../chunks/7239.js","../../../../chunks/7302.js","../../../../chunks/7321.js","../../../../chunks/7511.js","../../../../chunks/7633.js","../../../../chunks/7716.js","../../../../chunks/7726.js","../../../../chunks/7753.js","../../../../chunks/7774.js","../../../../chunks/7775.js","../../../../chunks/7811.js","../../../../chunks/7828.js","../../../../chunks/7965.js","../../../../chunks/7982.js","../../../../chunks/7995.js","../../../../chunks/8062.js","../../../../chunks/8129.js","../../../../chunks/823.js","../../../../chunks/8243.js","../../../../chunks/8306.js","../../../../chunks/8327.js","../../../../chunks/8459.js","../../../../chunks/8469.js","../../../../chunks/8520.js","../../../../chunks/8552.js","../../../../chunks/8658.js","../../../../chunks/8670.js","../../../../chunks/8749.js","../../../../chunks/8889.js","../../../../chunks/8950.js","../../../../chunks/8976.js","../../../../chunks/9021.js","../../../../chunks/9296.js","../../../../chunks/9303.js","../../../../chunks/9485.js","../../../../chunks/9616.js","../../../../chunks/9718.js","../../../../chunks/9761.js","../../../../chunks/9843.js","../../../../chunks/9865.js","../../../../chunks/9898.js","../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=5211,a.ids=[5211],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,debugEnabled:()=>w,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}let w=e<=d.DEBUG},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},40694:(a,b,c)=>{c.d(b,{M:()=>i,P:()=>f});var d=c(7866);async function e(a){let b=!!a?.apiKey,c=b?a.apiKey:a?.accessToken;if(!c)return null;let e=new AbortController,f=setTimeout(()=>e.abort(),5e3);try{let a=b?{Accept:"application/json",Authorization:`Bearer ${c}`}:(0,d.w$)(c,{Accept:"application/json"}),f=await fetch("https://api.cline.bot/api/v1/models",{method:"GET",headers:a,signal:e.signal});if(!f.ok)return null;let g=await f.json(),h=Array.isArray(g)?g:g?.data;return Array.isArray(h)?h:null}catch{return null}finally{clearTimeout(f)}}async function f(a){let b=(await h("clinePass"))?.filter(a=>a.id.startsWith("cline-pass/"));if(b?.length)return{models:b};let c=await e(a);if(!c)return null;let d=c.filter(a=>"string"==typeof a?.id&&a.id.startsWith("cline-pass/")).map(a=>({id:a.id,name:a.name||a.id}));return d.length?{models:d}:null}async function g(){return h("free")}async function h(a){let b=new AbortController,c=setTimeout(()=>b.abort(),5e3);try{let c=await fetch("https://api.cline.bot/api/v1/ai/cline/recommended-models",{method:"GET",headers:{Accept:"application/json"},signal:b.signal});if(!c.ok)return null;let d=await c.json(),e=Array.isArray(d?.[a])?d[a]:[];if(!e.length)return null;return e.filter(a=>"string"==typeof a?.id&&""!==a.id.trim()).map(a=>({id:a.id,name:a.name||a.id}))}catch{return null}finally{clearTimeout(c)}}async function i(a){let b=await e(a);if(!b)return null;let c=b.filter(a=>"string"==typeof a?.id&&""!==a.id.trim()).map(a=>({id:a.id,name:a.name||a.id})),d=await g(),f=new Map(c.map(a=>[a.id,a]));for(let a of d||[])f.has(a.id)||f.set(a.id,a);let h=Array.from(f.values());return h.length?{models:h}:null}},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},49934:(a,b,c)=>{c.d(b,{Q_:()=>o,Wc:()=>p,k9:()=>v,le:()=>n,qJ:()=>t,w9:()=>A,xK:()=>g,zn:()=>x});var d=c(77598),e=c(89843);let f="https://cloud.zed.dev",g={expiredToken:"x-zed-expired-token",outdatedToken:"x-zed-outdated-token",clientSupportsStatus:"x-zed-client-supports-status-messages",clientSupportsStreamEnded:"x-zed-client-supports-stream-ended-request-completion-status",serverSupportsStatus:"x-zed-server-supports-status-messages",clientSupportsXai:"x-zed-client-supports-x-ai",systemId:"x-zed-system-id"},h="zed-rsa-pkcs1:",i=new Map,j=new Map,k=new Map;function l(a,b){return String(a||b).replace(/\/+$/,"")}function m(a,b,c,d){let e=l(a?.[b],d);return`${e}${c}`}function n(a={},b={}){let{publicKey:c,privateKey:e}=d.generateKeyPairSync("rsa",{modulusLength:2048,publicKeyEncoding:{type:"pkcs1",format:"der"},privateKeyEncoding:{type:"pkcs1",format:"pem"}}),f=Number(b.nativeAppPort||a.defaultNativeAppPort||58443),g=b.systemId||d.randomUUID(),i=c.toString("base64").replace(/\+/g,"-").replace(/\//g,"_"),j=new URL(`${l(a.webBaseUrl,"https://zed.dev")}/native_app_signin`);return j.searchParams.set("native_app_port",String(f)),j.searchParams.set("native_app_public_key",i),g&&j.searchParams.set("system_id",g),{authUrl:j.toString(),privateKeyVerifier:`${h}${Buffer.from(e).toString("base64url")}`,nativeAppPort:f,systemId:g,publicKey:i}}function o(a){let b=String(a||"").trim();if(!b)throw Error("Missing Zed callback URL");let c={};try{c=JSON.parse(b)}catch{let a;try{a=new URL(b)}catch{try{let c=b.includes("?")?b.slice(b.indexOf("?")+1):b.replace(/^\?/,"");a=new URL(`http://127.0.0.1/?${c}`)}catch{throw Error("Invalid Zed callback URL")}}a.searchParams.forEach((a,b)=>{c[b]=a})}let d=c.user_id||c.userId,e=c.access_token||c.accessToken||c.token;if(!d||!e)throw Error("Zed callback must include user_id and access_token");return{userId:String(d),encryptedAccessToken:String(e)}}function p(a,b){let c=function(a){var b;let c=String(a||"");if(!c.startsWith(h))throw Error("Missing Zed private key verifier; restart the login flow");return b=c.slice(h.length),Buffer.from(String(b||""),"base64url").toString("utf8")}(b),e=Buffer.from(String(a),"base64url"),f=a=>{let b=a instanceof Error?a.message:String(a);throw Error(`Failed to decrypt Zed access token: ${b}`)};try{return d.privateDecrypt({key:c,padding:d.constants.RSA_PKCS1_OAEP_PADDING,oaepHash:"sha256"},e).toString("utf8")}catch(a){try{let b=d.privateDecrypt({key:c,padding:d.constants.RSA_PKCS1_PADDING},e).toString("utf8");return b.includes("īŋŊ")&&f(a),b}catch(b){if(b.message.startsWith("Failed to decrypt Zed access token"))throw b;f(a)}}}function q(a){let b=(a?.providerSpecificData||{}).userId||a?.userId,c=a?.accessToken||a?.apiKey;if(!b||!c)throw Error("Zed credential is missing userId or accessToken");return`${b} ${c}`}function r(a){return String(a?.providerSpecificData?.systemId||a?.systemId||"")}async function s(a,b,c=null){let d=await (0,e.proxyAwareFetch)(a,b,c),f=await d.text(),g=null;if(f)try{g=JSON.parse(f)}catch{g={raw:f}}if(!d.ok){let a=Error(String(g?.message||g?.error?.message||g?.error||f||`HTTP ${d.status}`));throw a.status=d.status,a.body=g,a}return g}async function t(a,b={}){let c=b.config||{},d={Accept:"application/json",Authorization:q(a)},e=r(a);return e&&(d[g.systemId]=e),s(m(c,"cloudBaseUrl","/client/users/me",f),{method:"GET",headers:d,signal:b.signal??void 0},b.proxyOptions??null)}function u(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function v(a,b=null){let c=a?.providerSpecificData||{},d=u(c.organizationId||c.defaultOrganizationId);if(d)return d;let e=u(b?.default_organization_id||b?.defaultOrganizationId);if(e)return e;let f=b?.organizations||[],g=f.find(a=>a?.is_personal)||f[0];return u(g?.id)}async function w(a,b={}){var c;let d,e,h=b.config||{},j=b.organizationId||v(a);if(!j){let c=await t(a,b);j=v(a,c)}if(!j)throw Error("No Zed organization selected");let k=(c=j,d=(a?.providerSpecificData||{}).userId||a?.userId||"unknown",e=a?.accessToken||a?.apiKey||"",`${d}:${c||"default"}:${e.slice(-16)}`),l=i.get(k);if(!b.forceRefresh&&l&&l.expiresAt>Date.now())return l.token;let n={"Content-Type":"application/json",Accept:"application/json",Authorization:q(a)},o=r(a);o&&(n[g.systemId]=o);let p=await s(m(h,"cloudBaseUrl","/client/llm_tokens",f),{method:"POST",headers:n,body:JSON.stringify({organization_id:j}),signal:b.signal??void 0},b.proxyOptions??null),u="string"==typeof p?.token?p.token:p?.token?.[0]||p?.token?.value;if(!u)throw Error("Zed did not return an LLM token");return i.set(k,{token:u,expiresAt:Date.now()+3e6}),u}async function x(a,b,c={}){var d;let f=m(c.config||{},"llmBaseUrl",b,"https://cloud.zed.dev"),h=async b=>{let d=await w(a,{...c,forceRefresh:b});return(0,e.proxyAwareFetch)(f,{...c.fetchOptions,headers:{...c.fetchOptions?.headers||{},Authorization:`Bearer ${d}`},signal:c.signal??void 0})},i=await h(!1);return d=i,(d?.status===401||d?.headers?.has?.(g.expiredToken)||d?.headers?.has?.(g.outdatedToken))&&(i=await h(!0)),i}function y(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function z(a){let b=y(a?.id);return b?{id:b,name:a.display_name||a.displayName||b,provider:a.provider,isLatest:!!a.is_latest,contextLength:a.max_token_count??a.maxTokenCount,contextLengthInMaxMode:a.max_token_count_in_max_mode??a.maxTokenCountInMaxMode,maxOutputTokens:a.max_output_tokens??a.maxOutputTokens,supportsTools:!!a.supports_tools,supportsImages:!!a.supports_images,supportsThinking:!!a.supports_thinking,supportsDisablingThinking:!!a.supports_disabling_thinking,supportsFastMode:!!a.supports_fast_mode,supportsServerSideCompaction:!!a.supports_server_side_compaction,supportedEffortLevels:a.supported_effort_levels??a.supportedEffortLevels??[],supportsStreamingTools:!!a.supports_streaming_tools,supportsParallelToolCalls:!!a.supports_parallel_tool_calls,isDisabled:!!a.is_disabled,disabledReason:a.disabled_reason??null}:null}async function A(a,b={}){let c,d,e;if(!a?.accessToken)return null;let f=(d=(c=a?.providerSpecificData||{}).organizationId||c.defaultOrganizationId||"default",e=a?.accessToken||a?.apiKey||"",`${c.userId||"unknown"}:${d}:${e.slice(-16)}`),h=j.get(f);if(!b.forceRefresh&&h&&h.expiresAt>Date.now())return h;let i=k.get(f);if(i&&!b.forceRefresh)return i;let l=(async()=>{let c=await x(a,"/models",{...b,fetchOptions:{method:"GET",headers:{Accept:"application/json",[g.clientSupportsXai]:"true"}}});if(!c.ok){let a=await c.text().catch(()=>"");throw Error(`Zed models failed: ${c.status} ${a}`)}let d=await c.json(),e=Array.isArray(d?.models)?d.models:[],h=e.map(z).filter(Boolean).filter(a=>!a.isDisabled),i=new Map;for(let a of e){let b=y(a?.id);b&&i.set(b,a)}let k={expiresAt:Date.now()+36e5,models:h,rawModels:e,rawById:i,defaultModel:y(d?.default_model??d?.defaultModel),defaultFastModel:y(d?.default_fast_model??d?.defaultFastModel),recommendedModels:(d?.recommended_models||d?.recommendedModels||[]).map(y).filter(Boolean)};return j.set(f,k),k})();k.set(f,l);try{return await l}finally{k.get(f)===l&&k.delete(f)}}},50295:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>ac,patchFetch:()=>ab,routeModule:()=>Z,serverHooks:()=>aa,workAsyncStorage:()=>$,workUnitAsyncStorage:()=>_});var d={};c.r(d),c.d(d,{GET:()=>Y});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(71998),x=c(40615),y=c(68658),z=c(92990),A=c(67828),B=c(85640),C=c(4630),D=c(29485),E=c(58569),F=c(86925),G=c(9155),H=c(63123),I=c(39326),J=c(26588),K=c(74986),L=c(38071),M=c(66328),N=c(49934),O=c(40694),P=c(21941);async function Q(a){return!!(process.env.VITEST||await (0,y.gN)(a)||await (0,y.wR)(a))}let R=`https://chatgpt.com/backend-api/codex/models?client_version=${P.A.transport.cliVersion}`,S=a=>Array.isArray(a)?a:a?.data||a?.models||a?.results||[],T=a=>({url:a,method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:S}),U=a=>(0,D.KC)(a).map(a=>({...a,id:a.id,name:a.name||a.id})),V=({refreshFn:a,fetchFn:b,parseFn:c,errorLabel:d})=>async e=>{let f,{accessToken:g,refreshToken:h}=e;if(!g)return{error:"No valid token found",status:401};try{let i=await b(g,e);if(!i.ok&&(401===i.status||403===i.status)&&h){let c=await a(e);c?.accessToken&&(await (0,A.vN)(e.id,{accessToken:c.accessToken,refreshToken:c.refreshToken||h,expiresIn:c.expiresIn}),e.accessToken=c.accessToken,c.refreshToken&&(e.refreshToken=c.refreshToken),i=await b(c.accessToken,e))}if(i.ok){let a=await i.json(),b=c(a);if(b.length>0)return{models:b}}else{let a=await i.text();f=`${d}: ${i.status} ${a}`,console.log(`${d} (falling back to static):`,a)}}catch(a){f=`${d}: ${a.message}`,console.log(`${d} (falling back to static):`,a.message)}return{models:[],warning:f}};function W(a){return{customResolver:async b=>{let c,d={provider:a,accessToken:b.accessToken,apiKey:b.apiKey,refreshToken:b.refreshToken,email:b.email,displayName:b.displayName,providerSpecificData:b.providerSpecificData||{}};try{let b=await (0,G.EV)(d,{forceRefresh:!0});if(b?.models?.length)return{models:b.models.map(b=>({id:`${a}/${b.id}`,name:b.name,contextLength:b.contextLength,isVL:b.isVL,isReasoning:b.isReasoning,maxOutputTokens:b.maxOutputTokens,description:b.description}))};c="Qoder returned no models; falling back to static catalog."}catch(a){c=`Failed to fetch Qoder models: ${a.message}`,console.log("Failed to fetch Qoder models dynamically, falling back to static:",a.message)}return{models:[],warning:c}}}}let X={muse:{url:"https://api.meta.ai/v1/models",method:"GET",headers:{"Content-Type":"application/json","x-api-version":"1.0.0"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},claude:{url:"https://api.anthropic.com/v1/models",method:"GET",headers:{"Anthropic-Version":"2023-06-01","Content-Type":"application/json"},authHeader:"x-api-key",parseResponse:a=>a.data||[]},gemini:{url:"https://generativelanguage.googleapis.com/v1beta/models",method:"GET",headers:{"Content-Type":"application/json"},authQuery:"key",parseResponse:a=>a.models||[]},codex:{customResolver:V({refreshFn:a=>(0,A.Wm)(a.refreshToken),fetchFn:a=>fetch(R,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${a}`,originator:"codex_cli_rs"}}),parseFn:a=>S(a).flatMap(a=>{let b=a?.id||a?.slug||a?.model||a?.name;if(!b)return[];let c=a?.display_name||a?.displayName||a?.name||b,d={...a,id:b,name:c};return!("image"!==(a?.type||"llm")&&!b.toLowerCase().includes("embed"))||b.endsWith("-review")?[d]:[d,{...d,id:`${b}-review`,name:`${c} Review`,upstreamModelId:b,quotaFamily:"review"}]}),errorLabel:"Failed to fetch Codex models"})},antigravity:{url:"https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:models",method:"POST",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",body:{},parseResponse:a=>a.models||[]},github:{url:"https://api.githubcopilot.com/models",method:"GET",headers:{"Content-Type":"application/json","Copilot-Integration-Id":"vscode-chat","editor-version":"vscode/1.107.1","editor-plugin-version":"copilot-chat/0.26.7","user-agent":"GitHubCopilotChat/0.26.7"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a?.data?[{id:"auto",name:"Auto",isDefault:!0},...a.data.filter(a=>a.capabilities?.type==="chat").filter(a=>a.policy?.state!=="disabled").map(a=>({id:a.id,name:a.name||a.id,version:a.version,capabilities:a.capabilities,isDefault:!0===a.model_picker_enabled})).filter(a=>"auto"!==a.id)]:[{id:"auto",name:"Auto",isDefault:!0}]},openai:T("https://api.openai.com/v1/models"),openrouter:T("https://openrouter.ai/api/v1/models"),anthropic:{url:"https://api.anthropic.com/v1/models",method:"GET",headers:{"Anthropic-Version":"2023-06-01","Content-Type":"application/json"},authHeader:"x-api-key",parseResponse:a=>a.data||[]},alicode:{url:"https://coding.dashscope.aliyuncs.com/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"alicode-intl":{url:"https://coding-intl.dashscope.aliyuncs.com/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"alims-intl":{url:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"volcengine-ark":T("https://ark.cn-beijing.volces.com/api/coding/v3/models"),byteplus:T("https://ark.ap-southeast.bytepluses.com/api/coding/v3/models"),deepseek:T("https://api.deepseek.com/models"),groq:T("https://api.groq.com/openai/v1/models"),xai:T("https://api.x.ai/v1/models"),mistral:T("https://api.mistral.ai/v1/models"),perplexity:T("https://api.perplexity.ai/v1/models"),"perplexity-agent":T("https://api.perplexity.ai/v1/models"),together:T("https://api.together.xyz/v1/models"),nous:{...T(L.B3),parseResponse:a=>(0,L.bd)(a).map(a=>({...a,id:`nous/${a.id}`,upstreamModelId:a.id}))},fireworks:T("https://api.fireworks.ai/inference/v1/models"),cerebras:T("https://api.cerebras.ai/v1/models"),cohere:T("https://api.cohere.ai/v1/models"),nebius:T("https://api.studio.nebius.ai/v1/models"),novita:T("https://api.novita.ai/openai/v1/models"),siliconflow:T("https://api.siliconflow.com/v1/models"),hyperbolic:T("https://api.hyperbolic.xyz/v1/models"),paraloncloud:T("https://paraloncloud.com/v1/models"),ollama:T("https://ollama.com/api/tags"),nanobanana:T("https://api.nanobananaapi.ai/v1/models"),chutes:T("https://llm.chutes.ai/v1/models"),nvidia:T("https://integrate.api.nvidia.com/v1/models"),assemblyai:T("https://api.assemblyai.com/v1/models"),"vercel-ai-gateway":T("https://ai-gateway.vercel.sh/v1/models"),"frontier-for-all":{customResolver:V({refreshFn:a=>(0,A.go)(a.refreshToken),fetchFn:a=>fetch(z.V1.modelsUrl,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`}}),parseFn:S,errorLabel:"Failed to fetch Frontier models"})},vertex:{customResolver:async a=>{let b,c=(0,B.Sc)(a.apiKey),d=c?.project_id||a.providerSpecificData?.projectId||a.projectId,e=a.providerSpecificData?.location||a.providerSpecificData?.region||"us-central1",f=await (0,I.B)(a.providerSpecificData||{}),g={"Content-Type":"application/json"};if(c){let a=await (0,B.pb)(c);if(!a?.accessToken)return{error:"Failed to mint token from Service Account JSON",status:401};g.Authorization=`Bearer ${a.accessToken}`,b=d?`https://aiplatform.googleapis.com/v1/projects/${d}/locations/${e}/publishers/google/models`:"https://aiplatform.googleapis.com/v1/publishers/google/models"}else if(a.accessToken)g.Authorization=`Bearer ${a.accessToken}`,b=d?`https://aiplatform.googleapis.com/v1/projects/${d}/locations/${e}/publishers/google/models`:"https://aiplatform.googleapis.com/v1/publishers/google/models";else{if(!a.apiKey)return{error:"No API key or Service Account provided",status:401};b=e&&"global"!==e?`https://${e}-aiplatform.googleapis.com/v1/publishers/google/models?key=${a.apiKey}`:`https://aiplatform.googleapis.com/v1/publishers/google/models?key=${a.apiKey}`}try{let a=await (0,M.Vy)(b,{headers:g},f);if(!a.ok){let b=await a.text().catch(()=>"");return console.log("Error fetching Vertex AI models:",b),{models:U("vertex"),warning:`Failed to fetch Vertex models (${a.status}); using static catalog.`}}let c=await a.json().catch(()=>({})),d=(a=>{let b=a?.publisherModels||a?.models||a?.data||[];if(!Array.isArray(b))return[];let c=[];for(let a of b){let b=a?.name||a?.id||a?.model||"";if(!b)continue;let d=b.replace(/^publishers\/google\/models\//,"").replace(/^models\//,"");if(!d||d.includes("__probe__"))continue;let e=a?.displayName||a?.versionId||d;c.push({id:d,name:e})}return c})(c);if(d.length>0)return{models:d}}catch(a){console.log("Failed to fetch Vertex AI models:",a.message)}return{models:U("vertex"),warning:"Vertex AI returned no models; using static catalog."}}},"vertex-partner":{customResolver:async a=>({models:U("vertex-partner")})},tokenharbor:T("https://tokenharbor.ai/v1/models"),dahl:T("https://inference.dahl.global/v1/models"),atria:T("https://api.atria-asi.ai/v1/models"),agnes:T("https://apihub.agnes-ai.com/v1/models"),bai:T("https://api.b.ai/v1/models"),kimchi:{customResolver:async a=>{let b=await (0,F.av)({accessToken:a.accessToken,apiKey:a.apiKey,providerSpecificData:a.providerSpecificData||{}},{forceRefresh:!0,log:console});return b?.models?.length?{models:b.models}:{models:U("kimchi"),warning:"Kimchi returned no live models; falling back to static catalog."}}},cursor:{customResolver:async a=>{let b=await (0,J.FD)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}},{forceRefresh:!0,log:console});return b?.models?.length?{models:b.models}:{models:U("cursor"),warning:"Cursor returned no live models; falling back to static catalog."}}},zed:{customResolver:async a=>{try{let b=await (0,N.w9)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}},{config:z.RY,forceRefresh:!0}),c=(b?.models||[]).filter(a=>a&&!a.isDisabled).map(a=>({id:a.id,name:a.name||a.id,provider:a.provider,contextLength:a.contextLength,contextLengthInMaxMode:a.contextLengthInMaxMode,maxOutputTokens:a.maxOutputTokens,supportsTools:a.supportsTools,supportsImages:a.supportsImages,supportsThinking:a.supportsThinking,supportsDisablingThinking:a.supportsDisablingThinking,supportsFastMode:a.supportsFastMode,supportsServerSideCompaction:a.supportsServerSideCompaction,supportedEffortLevels:a.supportedEffortLevels||[],supportsStreamingTools:a.supportsStreamingTools,supportsParallelToolCalls:a.supportsParallelToolCalls}));if(c.length>0)return{models:c};return{models:[],warning:"Zed returned no live models."}}catch(a){return console.log("Failed to fetch Zed models dynamically:",a.message),{models:[],warning:`Failed to fetch Zed models: ${a.message}`}}}},cline:{customResolver:async a=>{let b=await (0,O.M)({accessToken:a.accessToken,apiKey:a.apiKey});return b?.models?.length?{models:b.models}:{models:U("cline"),warning:"Cline returned no live models; falling back to static catalog."}}},clinepass:{customResolver:async a=>{let b=await (0,O.P)({accessToken:a.accessToken,apiKey:a.apiKey});return b?.models?.length?{models:b.models}:{models:U("clinepass"),warning:"ClinePass returned no live models; falling back to static catalog."}}},kiro:{customResolver:async a=>{let b,c={accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData||{}};try{let d=await (0,E.cW)(c,{log:console,onCredentialsRefreshed:async b=>{b?.accessToken&&(await (0,A.vN)(a.id,{accessToken:b.accessToken,refreshToken:b.refreshToken||a.refreshToken,expiresIn:b.expiresIn}),a.accessToken=b.accessToken,b.refreshToken&&(a.refreshToken=b.refreshToken))}});if(d?.models?.length)return{models:d.models.map(a=>({id:a.id,name:a.name,upstreamModelId:a.upstreamModelId,contextLength:a.contextLength,maxOutputTokens:a.maxOutputTokens,rateMultiplier:a.rateMultiplier,capabilities:a.capabilities,description:a.description}))};b="Kiro returned no models; falling back to static catalog."}catch(a){b=`Failed to fetch Kiro models: ${a.message}`,console.log("Failed to fetch Kiro models dynamically, falling back to static:",a.message)}return{models:[],warning:b}}},qoder:W("qoder"),"qoder-cn":W("qoder-cn"),"gemini-cli":{customResolver:V({refreshFn:a=>(0,A.I9)(a.refreshToken,z.LT.clientId,z.LT.clientSecret),fetchFn:(a,b)=>{let c=b.projectId||b.providerSpecificData?.projectId;return fetch("https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`,"User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1"},body:JSON.stringify(c?{project:c}:{})})},parseFn:a=>Array.isArray(a?.models)?a.models.map(a=>{let b=a?.id||a?.model||a?.name;return b?{id:b,name:a?.displayName||a?.name||b}:null}).filter(Boolean):a?.models&&"object"==typeof a.models?Object.entries(a.models).filter(([,a])=>!a?.isInternal).map(([a,b])=>({id:a,name:b?.displayName||b?.name||a})):[],errorLabel:"Failed to fetch Gemini CLI models"})},"grok-cli":{customResolver:async a=>{let b=await (0,I.B)(a.providerSpecificData||{}),c=await (0,H.M)({...a,connectionId:a.id},{log:console,proxyOptions:{connectionProxyEnabled:!0===b.connectionProxyEnabled,connectionProxyUrl:b.connectionProxyUrl||"",connectionNoProxy:b.connectionNoProxy||"",vercelRelayUrl:b.vercelRelayUrl||"",strictProxy:!0===b.strictProxy},onCredentialsRefreshed:async b=>{await (0,A.vN)(a.id,{...b,existingProviderSpecificData:a.providerSpecificData||{}})}});return c.models.length?c:{models:U("grok-cli"),warning:c.warning||"Grok CLI returned no live models; using static catalog."}}},"ollama-local":{customResolver:async a=>{let b=`${(0,C.Ak)(a)}/api/tags`,c=await fetch(b,{method:"GET",headers:{"Content-Type":"application/json"}});return c.ok?{models:S(await c.json())}:(console.log("Error fetching models from ollama-local:",await c.text()),{error:`Failed to fetch models: ${c.status}`,status:c.status})}}};async function Y(a,{params:b}){if(!await Q(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let{id:a}=await b,c=await (0,w.Mc)(a);if(!c)return v.NextResponse.json({error:"Connection not found"},{status:404});if((0,x.mq)(c.provider)){let a=c.providerSpecificData?.baseUrl;if(!a)return v.NextResponse.json({error:"No base URL configured for OpenAI compatible provider"},{status:400});let b=`${a.replace(/\/$/,"")}/models`,d=await fetch(b,{method:"GET",headers:(0,K.im)({"Content-Type":"application/json"},c.providerSpecificData||{},{Authorization:`Bearer ${c.apiKey}`})});if(!d.ok){let a=await d.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${d.status}`},{status:d.status})}let e=await d.json(),f=e.data||e.models||[];return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:f})}if((0,x.gb)(c.provider)){let a=c.providerSpecificData?.baseUrl;if(!a)return v.NextResponse.json({error:"No base URL configured for Anthropic compatible provider"},{status:400});(a=a.replace(/\/$/,"")).endsWith("/messages")&&(a=a.slice(0,-9));let b=`${a}/models`,d=await fetch(b,{method:"GET",headers:(0,K.im)({"Content-Type":"application/json","anthropic-version":"2023-06-01"},c.providerSpecificData||{},{"x-api-key":c.apiKey,Authorization:`Bearer ${c.apiKey}`})});if(!d.ok){let a=await d.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${d.status}`},{status:d.status})}let e=await d.json(),f=e.data||e.models||[];return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:f})}let d=X[c.provider];if(!d)return v.NextResponse.json({error:`Provider ${c.provider} does not support models listing`},{status:400});if("function"==typeof d.customResolver){let a=await d.customResolver(c);if(a.error)return v.NextResponse.json({error:a.error},{status:a.status||500});return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:a.models,...a.warning?{warning:a.warning}:{}})}let e=c.providerSpecificData?.copilotToken||c.accessToken||c.apiKey;if(!e)return v.NextResponse.json({error:"No valid token found"},{status:401});let f=d.url;d.authQuery&&(f+=`?${d.authQuery}=${e}`);let g={...d.headers};d.authHeader&&!d.authQuery&&(g[d.authHeader]=(d.authPrefix||"")+e);let h={method:d.method,headers:g};d.body&&"POST"===d.method&&(h.body=JSON.stringify(d.body));let i=await fetch(f,h);if(!i.ok){let a=await i.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${i.status}`},{status:i.status})}let j=await i.json(),k=d.parseResponse(j);return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:k})}catch(a){return console.log("Error fetching provider models:",a),v.NextResponse.json({error:"Failed to fetch models"},{status:500})}}let Z=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/[id]/models/route",pathname:"/api/providers/[id]/models",filename:"route",bundlePath:"app/api/providers/[id]/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/[id]/models/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:$,workUnitAsyncStorage:_,serverHooks:aa}=Z;function ab(){return(0,g.patchFetch)({workAsyncStorage:$,workUnitAsyncStorage:_})}async function ac(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),Z.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/[id]/models/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:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||Z.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===Z.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await Z.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,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,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>Z.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.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=`${N} ${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(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.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!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.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:M,isOnDemandRevalidate:C})},!1,B),b}},k=await Z.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await Z.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63123:(a,b,c)=>{c.d(b,{M:()=>h});var d=c(13247),e=c(18129),f=c(89843);let g=`${d.Nr}/models`;async function h(a,b={}){let{fetchFn:c=f.proxyAwareFetch,log:i=console,proxyOptions:j=null,onCredentialsRefreshed:k}=b,l=a?.accessToken;if(!l)return{models:[],warning:"Grok CLI access token is missing."};let m=b=>c(g,{method:"GET",headers:function(a,b={}){let c={Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":d.fZ,"x-xai-token-auth":"xai-grok-cli","x-grok-client-version":d.uG,"x-grok-client-identifier":d.rK,"x-grok-client-mode":"headless"},e=b?.email,f=b?.userId||b?.principalId;return e&&(c["x-email"]=e),f&&(c["x-userid"]=f),c}(b,a?.providerSpecificData)},j);try{let b=await m(l);if((401===b.status||403===b.status)&&a?.refreshToken){let c=await (0,e.Vq)("grok-cli",a,i,j);if(c?.accessToken){l=c.accessToken;try{await k?.(c)}catch(a){i?.warn?.("Grok CLI credential persistence failed",a)}b=await m(l)}}if(!b.ok){let a=await b.text().catch(()=>"");return{models:[],warning:`Grok CLI model discovery failed (${b.status})${a?`: ${a.slice(0,160)}`:""}`}}let c=function(a){let b,c=new Set,e=[];for(let[f,g]of(b=Array.isArray(a)?a:a?.data??a?.models??a?.results??[],Array.isArray(b)?b.map(a=>[null,a]):b&&"object"==typeof b?Object.entries(b):[])){let a="string"==typeof g?{id:g}:g;if(!a||"object"!=typeof a||Array.isArray(a))continue;let b=String(a.id??a.model_id??a.modelId??a.model??a.slug??f??a.name??"").trim();if(!b||c.has(b))continue;c.add(b);let h={...a,id:b,name:a.display_name??a.displayName??a.name??b},i=Number(a.context_length??a.contextLength??a.context_window??a.contextWindow),j=Number(a.max_output_tokens??a.maxOutputTokens);Number.isFinite(i)&&i>0&&(h.contextLength=i),Number.isFinite(j)&&j>0&&(h.maxOutputTokens=j),b===d.to&&(h.contextLength||=5e5,h.maxOutputTokens||=64e3),e.push(h)}return e}(await b.json());return c.length?{models:c}:{models:[],warning:"Grok CLI returned no selectable models."}}catch(a){return{models:[],warning:`Grok CLI model discovery failed: ${a.message}`}}}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86925:(a,b,c)=>{c.d(b,{av:()=>o,gK:()=>m});var d=c(55511),e=c(89843);let f="https://llm.kimchi.dev",g=new Set([429,500,502,503,504]),h=new Map,i=new Map;function j(a){return(("string"==typeof a?a.trim():"")||f).replace(/\/+$/,"")}function k(a){return a?.accessToken||a?.apiKey||a?.providerSpecificData?.apiKey||null}function l(a){if(!a||"object"!=typeof a)return null;let b=a.slug||a.id||a.model||a.name;if("string"!=typeof b||""===b.trim())return null;let c=Array.isArray(a.input_modalities)?a.input_modalities.filter(a=>"text"===a||"image"===a):[],d=a.limits&&"object"==typeof a.limits?a.limits:{},e=Number(d.context_window||a.contextLength||a.context_length)||void 0,f=Number(d.max_output_tokens||a.maxOutputTokens||a.max_output_tokens)||void 0,g="string"==typeof a.provider?a.provider:"",h=!0===a.reasoning,i=Array.isArray(c)&&c.includes("image")?"imageToText":"llm",j={...a,id:b.trim(),name:String(a.display_name||a.displayName||a.name||b).trim(),provider:g,upstreamProvider:g,reasoning:h,inputModalities:c,kind:i,type:i,capabilities:{vision:c.includes("image"),reasoning:h,...e?{contextWindow:e}:{},...f?{maxOutput:f}:{},...g?{upstreamProvider:g}:{}},...e?{contextLength:e}:{},...f?{maxOutputTokens:f}:{}};return"anthropic"===g&&(j.compat={supportsReasoningEffort:!1,cacheControlFormat:"anthropic"}),j}function m(a){if("string"!=typeof a||""===a.trim())return null;let b=a.includes("/")?a.split("/").pop():a;return i.get(b)||i.get(b.toLowerCase())||null}async function n(a,b,c={}){let d=`${j(b)}/v1/models/metadata?include_in_cli=true`,f=new AbortController,h=setTimeout(()=>f.abort(Error("Kimchi models fetch timeout")),2e4),i=c.signal?AbortSignal.any([c.signal,f.signal]):f.signal;try{let b=await (0,e.proxyAwareFetch)(d,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`,"User-Agent":"kimchi/0.1.40"},cache:"no-store",signal:i},c.proxyOptions||null);if(!b.ok){let a=Error(`Kimchi models ${b.status}: ${b.statusText}`);throw a.status=b.status,a.retryable=g.has(b.status),a}let f=await b.json();return Array.isArray(f?.models)?f.models:[]}finally{clearTimeout(h)}}async function o(a,b={}){let c,e,g,m=k(a);if(!m)return null;let p=a?.providerSpecificData?.kimchiEndpoint||b.endpoint||f,q=(g=(e=a?.providerSpecificData||{}).userId||e.username||a?.refreshToken||k(a)||"anonymous",(0,d.createHash)("sha256").update(`kimchi:${j(p)}:${g}`).digest("hex")),r=Date.now();if(!b.forceRefresh){let a=h.get(q);if(a&&a.expiresAt>r)return a}try{c=await n(m,p,b)}catch(a){return b.log?.warn?.("KIMCHI_MODELS",a.message),null}let s=c.map(l).filter(Boolean);if(0===s.length)return null;for(let a of s||[])a?.id&&(i.set(a.id,a),i.set(a.id.toLowerCase(),a));let t={expiresAt:Date.now()+3e5,models:s,rawModels:c};return h.set(q,t),t}},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},94652:a=>{a.exports=require("@aws-sdk/credential-providers")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,4013,4433,7774,8540,5460,1522,4646,1847,9843,9761,4378,8129,6588,7828,8658,1446,3216,2348],()=>b(b.s=50295));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=5211,a.ids=[5211],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},3295:a=>{a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},7803:(a,b,c)=>{c.r(b),c.d(b,{debug:()=>o,debugEnabled:()=>w,error:()=>r,errorLine:()=>l,fmtThink:()=>m,info:()=>p,line:()=>k,maskKey:()=>v,nextTag:()=>i,request:()=>s,response:()=>t,stream:()=>u,tagForSession:()=>j,warn:()=>q});let d={DEBUG:0,INFO:1,WARN:2,ERROR:3},e=d[process.env.LOG_LEVEL?.toUpperCase?.()]??d.INFO;function f(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let g=["\uD83D\uDFE2","\uD83D\uDD35","\uD83D\uDFE3","\uD83D\uDFE1","\uD83D\uDFE0","\uD83D\uDD34","âšĒ","\uD83D\uDFE4"],h=0;function i(){let a=g[h%g.length];return h++,a}function j(a){if(!a)return i();let b=0;for(let c=0;c<a.length;c++)b=31*b+a.charCodeAt(c)|0;return g[Math.abs(b)%g.length]}function k(a,b,c){e>d.INFO||console.log(`[${f()}] ${a} ${b} ${c}`)}function l(a,b,c){console.log(`[${f()}] ${a} ${b} ${c}`)}function m(a){return a&&a.mode?"none"===a.mode?"off":"auto"===a.mode?"auto":"budget"===a.mode?a.budget>=1e3?`${Math.round(a.budget/1e3)}k`:`${a.budget}`:"level"===a.mode?a.level:null:null}function n(a){if(!a)return"";if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}function o(a,b,c){if(e<=d.DEBUG){let d=c?` ${n(c)}`:"";console.log(`[${f()}] 🔍 [${a}] ${b}${d}`)}}function p(a,b,c){if(e<=d.INFO){let d=c?` ${n(c)}`:"";console.log(`[${f()}] â„šī¸ [${a}] ${b}${d}`)}}function q(a,b,c){if(e<=d.WARN){let d=c?` ${n(c)}`:"";console.warn(`[${f()}] âš ī¸ [${a}] ${b}${d}`)}}function r(a,b,c){if(e<=d.ERROR){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ❌ [${a}] ${b}${d}`)}}function s(a,b,c){let d=c?` ${n(c)}`:"";console.log(`\x1b[36m[${f()}] đŸ“Ĩ ${a} ${b}${d}\x1b[0m`)}function t(a,b,c){let d=c?` ${n(c)}`:"";console.log(`[${f()}] ${a<400?"\uD83D\uDCE4":"\uD83D\uDCA5"} ${a} (${b}ms)${d}`)}function u(a,b){let c=b?` ${n(b)}`:"";console.log(`[${f()}] 🌊 [STREAM] ${a}${c}`)}function v(a){return!a||a.length<8?"***":`${a.slice(0,4)}...${a.slice(-4)}`}let w=e<=d.DEBUG},8086:a=>{a.exports=require("module")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},32467:a=>{a.exports=require("node:http2")},33873:a=>{a.exports=require("path")},34589:a=>{a.exports=require("node:assert")},37067:a=>{a.exports=require("node:http")},37540:a=>{a.exports=require("node:console")},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},40694:(a,b,c)=>{c.d(b,{M:()=>i,P:()=>f});var d=c(7866);async function e(a){let b=!!a?.apiKey,c=b?a.apiKey:a?.accessToken;if(!c)return null;let e=new AbortController,f=setTimeout(()=>e.abort(),5e3);try{let a=b?{Accept:"application/json",Authorization:`Bearer ${c}`}:(0,d.w$)(c,{Accept:"application/json"}),f=await fetch("https://api.cline.bot/api/v1/models",{method:"GET",headers:a,signal:e.signal});if(!f.ok)return null;let g=await f.json(),h=Array.isArray(g)?g:g?.data;return Array.isArray(h)?h:null}catch{return null}finally{clearTimeout(f)}}async function f(a){let b=(await h("clinePass"))?.filter(a=>a.id.startsWith("cline-pass/"));if(b?.length)return{models:b};let c=await e(a);if(!c)return null;let d=c.filter(a=>"string"==typeof a?.id&&a.id.startsWith("cline-pass/")).map(a=>({id:a.id,name:a.name||a.id}));return d.length?{models:d}:null}async function g(){return h("free")}async function h(a){let b=new AbortController,c=setTimeout(()=>b.abort(),5e3);try{let c=await fetch("https://api.cline.bot/api/v1/ai/cline/recommended-models",{method:"GET",headers:{Accept:"application/json"},signal:b.signal});if(!c.ok)return null;let d=await c.json(),e=Array.isArray(d?.[a])?d[a]:[];if(!e.length)return null;return e.filter(a=>"string"==typeof a?.id&&""!==a.id.trim()).map(a=>({id:a.id,name:a.name||a.id}))}catch{return null}finally{clearTimeout(c)}}async function i(a){let b=await e(a);if(!b)return null;let c=b.filter(a=>"string"==typeof a?.id&&""!==a.id.trim()).map(a=>({id:a.id,name:a.name||a.id})),d=await g(),f=new Map(c.map(a=>[a.id,a]));for(let a of d||[])f.has(a.id)||f.set(a.id,a);let h=Array.from(f.values());return h.length?{models:h}:null}},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},46293:a=>{a.exports=require("sql.js")},48161:a=>{a.exports=require("node:os")},49934:(a,b,c)=>{c.d(b,{Q_:()=>o,Wc:()=>p,k9:()=>v,le:()=>n,qJ:()=>t,w9:()=>A,xK:()=>g,zn:()=>x});var d=c(77598),e=c(89843);let f="https://cloud.zed.dev",g={expiredToken:"x-zed-expired-token",outdatedToken:"x-zed-outdated-token",clientSupportsStatus:"x-zed-client-supports-status-messages",clientSupportsStreamEnded:"x-zed-client-supports-stream-ended-request-completion-status",serverSupportsStatus:"x-zed-server-supports-status-messages",clientSupportsXai:"x-zed-client-supports-x-ai",systemId:"x-zed-system-id"},h="zed-rsa-pkcs1:",i=new Map,j=new Map,k=new Map;function l(a,b){return String(a||b).replace(/\/+$/,"")}function m(a,b,c,d){let e=l(a?.[b],d);return`${e}${c}`}function n(a={},b={}){let{publicKey:c,privateKey:e}=d.generateKeyPairSync("rsa",{modulusLength:2048,publicKeyEncoding:{type:"pkcs1",format:"der"},privateKeyEncoding:{type:"pkcs1",format:"pem"}}),f=Number(b.nativeAppPort||a.defaultNativeAppPort||58443),g=b.systemId||d.randomUUID(),i=c.toString("base64").replace(/\+/g,"-").replace(/\//g,"_"),j=new URL(`${l(a.webBaseUrl,"https://zed.dev")}/native_app_signin`);return j.searchParams.set("native_app_port",String(f)),j.searchParams.set("native_app_public_key",i),g&&j.searchParams.set("system_id",g),{authUrl:j.toString(),privateKeyVerifier:`${h}${Buffer.from(e).toString("base64url")}`,nativeAppPort:f,systemId:g,publicKey:i}}function o(a){let b=String(a||"").trim();if(!b)throw Error("Missing Zed callback URL");let c={};try{c=JSON.parse(b)}catch{let a;try{a=new URL(b)}catch{try{let c=b.includes("?")?b.slice(b.indexOf("?")+1):b.replace(/^\?/,"");a=new URL(`http://127.0.0.1/?${c}`)}catch{throw Error("Invalid Zed callback URL")}}a.searchParams.forEach((a,b)=>{c[b]=a})}let d=c.user_id||c.userId,e=c.access_token||c.accessToken||c.token;if(!d||!e)throw Error("Zed callback must include user_id and access_token");return{userId:String(d),encryptedAccessToken:String(e)}}function p(a,b){let c=function(a){var b;let c=String(a||"");if(!c.startsWith(h))throw Error("Missing Zed private key verifier; restart the login flow");return b=c.slice(h.length),Buffer.from(String(b||""),"base64url").toString("utf8")}(b),e=Buffer.from(String(a),"base64url"),f=a=>{let b=a instanceof Error?a.message:String(a);throw Error(`Failed to decrypt Zed access token: ${b}`)};try{return d.privateDecrypt({key:c,padding:d.constants.RSA_PKCS1_OAEP_PADDING,oaepHash:"sha256"},e).toString("utf8")}catch(a){try{let b=d.privateDecrypt({key:c,padding:d.constants.RSA_PKCS1_PADDING},e).toString("utf8");return b.includes("īŋŊ")&&f(a),b}catch(b){if(b.message.startsWith("Failed to decrypt Zed access token"))throw b;f(a)}}}function q(a){let b=(a?.providerSpecificData||{}).userId||a?.userId,c=a?.accessToken||a?.apiKey;if(!b||!c)throw Error("Zed credential is missing userId or accessToken");return`${b} ${c}`}function r(a){return String(a?.providerSpecificData?.systemId||a?.systemId||"")}async function s(a,b,c=null){let d=await (0,e.proxyAwareFetch)(a,b,c),f=await d.text(),g=null;if(f)try{g=JSON.parse(f)}catch{g={raw:f}}if(!d.ok){let a=Error(String(g?.message||g?.error?.message||g?.error||f||`HTTP ${d.status}`));throw a.status=d.status,a.body=g,a}return g}async function t(a,b={}){let c=b.config||{},d={Accept:"application/json",Authorization:q(a)},e=r(a);return e&&(d[g.systemId]=e),s(m(c,"cloudBaseUrl","/client/users/me",f),{method:"GET",headers:d,signal:b.signal??void 0},b.proxyOptions??null)}function u(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function v(a,b=null){let c=a?.providerSpecificData||{},d=u(c.organizationId||c.defaultOrganizationId);if(d)return d;let e=u(b?.default_organization_id||b?.defaultOrganizationId);if(e)return e;let f=b?.organizations||[],g=f.find(a=>a?.is_personal)||f[0];return u(g?.id)}async function w(a,b={}){var c;let d,e,h=b.config||{},j=b.organizationId||v(a);if(!j){let c=await t(a,b);j=v(a,c)}if(!j)throw Error("No Zed organization selected");let k=(c=j,d=(a?.providerSpecificData||{}).userId||a?.userId||"unknown",e=a?.accessToken||a?.apiKey||"",`${d}:${c||"default"}:${e.slice(-16)}`),l=i.get(k);if(!b.forceRefresh&&l&&l.expiresAt>Date.now())return l.token;let n={"Content-Type":"application/json",Accept:"application/json",Authorization:q(a)},o=r(a);o&&(n[g.systemId]=o);let p=await s(m(h,"cloudBaseUrl","/client/llm_tokens",f),{method:"POST",headers:n,body:JSON.stringify({organization_id:j}),signal:b.signal??void 0},b.proxyOptions??null),u="string"==typeof p?.token?p.token:p?.token?.[0]||p?.token?.value;if(!u)throw Error("Zed did not return an LLM token");return i.set(k,{token:u,expiresAt:Date.now()+3e6}),u}async function x(a,b,c={}){var d;let f=m(c.config||{},"llmBaseUrl",b,"https://cloud.zed.dev"),h=async b=>{let d=await w(a,{...c,forceRefresh:b});return(0,e.proxyAwareFetch)(f,{...c.fetchOptions,headers:{...c.fetchOptions?.headers||{},Authorization:`Bearer ${d}`},signal:c.signal??void 0})},i=await h(!1);return d=i,(d?.status===401||d?.headers?.has?.(g.expiredToken)||d?.headers?.has?.(g.outdatedToken))&&(i=await h(!0)),i}function y(a){if(!a)return"";if("string"==typeof a)return a;if("object"==typeof a&&null!==a){if("string"==typeof a[0])return a[0];if("string"==typeof a.id)return a.id}return String(a)}function z(a){let b=y(a?.id);return b?{id:b,name:a.display_name||a.displayName||b,provider:a.provider,isLatest:!!a.is_latest,contextLength:a.max_token_count??a.maxTokenCount,contextLengthInMaxMode:a.max_token_count_in_max_mode??a.maxTokenCountInMaxMode,maxOutputTokens:a.max_output_tokens??a.maxOutputTokens,supportsTools:!!a.supports_tools,supportsImages:!!a.supports_images,supportsThinking:!!a.supports_thinking,supportsDisablingThinking:!!a.supports_disabling_thinking,supportsFastMode:!!a.supports_fast_mode,supportsServerSideCompaction:!!a.supports_server_side_compaction,supportedEffortLevels:a.supported_effort_levels??a.supportedEffortLevels??[],supportsStreamingTools:!!a.supports_streaming_tools,supportsParallelToolCalls:!!a.supports_parallel_tool_calls,isDisabled:!!a.is_disabled,disabledReason:a.disabled_reason??null}:null}async function A(a,b={}){let c,d,e;if(!a?.accessToken)return null;let f=(d=(c=a?.providerSpecificData||{}).organizationId||c.defaultOrganizationId||"default",e=a?.accessToken||a?.apiKey||"",`${c.userId||"unknown"}:${d}:${e.slice(-16)}`),h=j.get(f);if(!b.forceRefresh&&h&&h.expiresAt>Date.now())return h;let i=k.get(f);if(i&&!b.forceRefresh)return i;let l=(async()=>{let c=await x(a,"/models",{...b,fetchOptions:{method:"GET",headers:{Accept:"application/json",[g.clientSupportsXai]:"true"}}});if(!c.ok){let a=await c.text().catch(()=>"");throw Error(`Zed models failed: ${c.status} ${a}`)}let d=await c.json(),e=Array.isArray(d?.models)?d.models:[],h=e.map(z).filter(Boolean).filter(a=>!a.isDisabled),i=new Map;for(let a of e){let b=y(a?.id);b&&i.set(b,a)}let k={expiresAt:Date.now()+36e5,models:h,rawModels:e,rawById:i,defaultModel:y(d?.default_model??d?.defaultModel),defaultFastModel:y(d?.default_fast_model??d?.defaultFastModel),recommendedModels:(d?.recommended_models||d?.recommendedModels||[]).map(y).filter(Boolean)};return j.set(f,k),k})();k.set(f,l);try{return await l}finally{k.get(f)===l&&k.delete(f)}}},50295:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>ae,patchFetch:()=>ad,routeModule:()=>_,serverHooks:()=>ac,workAsyncStorage:()=>aa,workUnitAsyncStorage:()=>ab});var d={};c.r(d),c.d(d,{GET:()=>$});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(71998),x=c(40615),y=c(68658),z=c(92990),A=c(67828),B=c(85640),C=c(4630),D=c(29485),E=c(58569),F=c(86925),G=c(9155),H=c(63123),I=c(39326),J=c(26588),K=c(74986),L=c(38071),M=c(66328),N=c(49934),O=c(40694),P=c(21941),Q=c(89865);async function R(a){return!!(process.env.VITEST||await (0,y.gN)(a)||await (0,y.wR)(a))}let S=`https://chatgpt.com/backend-api/codex/models?client_version=${P.A.transport.cliVersion}`,T=a=>Array.isArray(a)?a:a?.data||a?.models||a?.results||[],U=a=>({url:a,method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:T}),V=a=>(0,L.bd)(a).map(a=>({...a,id:`nous/${a.id}`,upstreamModelId:a.id})),W=a=>(0,D.KC)(a).map(a=>({...a,id:a.id,name:a.name||a.id})),X=({refreshFn:a,fetchFn:b,parseFn:c,errorLabel:d})=>async e=>{let f,{accessToken:g,refreshToken:h}=e;if(!g)return{error:"No valid token found",status:401};try{let i=await b(g,e);if(!i.ok&&(401===i.status||403===i.status)&&h){let c=await a(e);c?.accessToken&&(await (0,A.vN)(e.id,{accessToken:c.accessToken,refreshToken:c.refreshToken||h,expiresIn:c.expiresIn}),e.accessToken=c.accessToken,c.refreshToken&&(e.refreshToken=c.refreshToken),i=await b(c.accessToken,e))}if(i.ok){let a=await i.json(),b=c(a);if(b.length>0)return{models:b}}else{let a=await i.text();f=`${d}: ${i.status} ${a}`,console.log(`${d} (falling back to static):`,a)}}catch(a){f=`${d}: ${a.message}`,console.log(`${d} (falling back to static):`,a.message)}return{models:[],warning:f}};function Y(a){return{customResolver:async b=>{let c,d={provider:a,accessToken:b.accessToken,apiKey:b.apiKey,refreshToken:b.refreshToken,email:b.email,displayName:b.displayName,providerSpecificData:b.providerSpecificData||{}};try{let b=await (0,G.EV)(d,{forceRefresh:!0});if(b?.models?.length)return{models:b.models.map(b=>({id:`${a}/${b.id}`,name:b.name,contextLength:b.contextLength,isVL:b.isVL,isReasoning:b.isReasoning,maxOutputTokens:b.maxOutputTokens,description:b.description}))};c="Qoder returned no models; falling back to static catalog."}catch(a){c=`Failed to fetch Qoder models: ${a.message}`,console.log("Failed to fetch Qoder models dynamically, falling back to static:",a.message)}return{models:[],warning:c}}}}let Z={muse:{url:"https://api.meta.ai/v1/models",method:"GET",headers:{"Content-Type":"application/json","x-api-version":"1.0.0"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},claude:{url:"https://api.anthropic.com/v1/models",method:"GET",headers:{"Anthropic-Version":"2023-06-01","Content-Type":"application/json"},authHeader:"x-api-key",parseResponse:a=>a.data||[]},gemini:{url:"https://generativelanguage.googleapis.com/v1beta/models",method:"GET",headers:{"Content-Type":"application/json"},authQuery:"key",parseResponse:a=>a.models||[]},codex:{customResolver:X({refreshFn:a=>(0,A.Wm)(a.refreshToken),fetchFn:a=>fetch(S,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:`Bearer ${a}`,originator:"codex_cli_rs"}}),parseFn:a=>T(a).flatMap(a=>{let b=a?.id||a?.slug||a?.model||a?.name;if(!b)return[];let c=a?.display_name||a?.displayName||a?.name||b,d={...a,id:b,name:c};return!("image"!==(a?.type||"llm")&&!b.toLowerCase().includes("embed"))||b.endsWith("-review")?[d]:[d,{...d,id:`${b}-review`,name:`${c} Review`,upstreamModelId:b,quotaFamily:"review"}]}),errorLabel:"Failed to fetch Codex models"})},antigravity:{url:"https://daily-cloudcode-pa.sandbox.googleapis.com/v1internal:models",method:"POST",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",body:{},parseResponse:a=>a.models||[]},github:{url:"https://api.githubcopilot.com/models",method:"GET",headers:{"Content-Type":"application/json","Copilot-Integration-Id":"vscode-chat","editor-version":"vscode/1.107.1","editor-plugin-version":"copilot-chat/0.26.7","user-agent":"GitHubCopilotChat/0.26.7"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a?.data?[{id:"auto",name:"Auto",isDefault:!0},...a.data.filter(a=>a.capabilities?.type==="chat").filter(a=>a.policy?.state!=="disabled").map(a=>({id:a.id,name:a.name||a.id,version:a.version,capabilities:a.capabilities,isDefault:!0===a.model_picker_enabled})).filter(a=>"auto"!==a.id)]:[{id:"auto",name:"Auto",isDefault:!0}]},openai:U("https://api.openai.com/v1/models"),openrouter:U("https://openrouter.ai/api/v1/models"),nous:{...U(L.B3),parseResponse:V},anthropic:{url:"https://api.anthropic.com/v1/models",method:"GET",headers:{"Anthropic-Version":"2023-06-01","Content-Type":"application/json"},authHeader:"x-api-key",parseResponse:a=>a.data||[]},alicode:{url:"https://coding.dashscope.aliyuncs.com/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"alicode-intl":{url:"https://coding-intl.dashscope.aliyuncs.com/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"alims-intl":{url:"https://dashscope-intl.aliyuncs.com/compatible-mode/v1/models",method:"GET",headers:{"Content-Type":"application/json"},authHeader:"Authorization",authPrefix:"Bearer ",parseResponse:a=>a.data||[]},"volcengine-ark":U("https://ark.cn-beijing.volces.com/api/coding/v3/models"),byteplus:U("https://ark.ap-southeast.bytepluses.com/api/coding/v3/models"),deepseek:U("https://api.deepseek.com/models"),groq:U("https://api.groq.com/openai/v1/models"),xai:U("https://api.x.ai/v1/models"),mistral:U("https://api.mistral.ai/v1/models"),perplexity:U("https://api.perplexity.ai/v1/models"),"perplexity-agent":U("https://api.perplexity.ai/v1/models"),together:U("https://api.together.xyz/v1/models"),nous:{...U(L.B3),parseResponse:V},fireworks:U("https://api.fireworks.ai/inference/v1/models"),cerebras:U("https://api.cerebras.ai/v1/models"),cohere:U("https://api.cohere.ai/v1/models"),nebius:U("https://api.studio.nebius.ai/v1/models"),novita:U("https://api.novita.ai/openai/v1/models"),siliconflow:U("https://api.siliconflow.com/v1/models"),hyperbolic:U("https://api.hyperbolic.xyz/v1/models"),paraloncloud:U("https://paraloncloud.com/v1/models"),ollama:U("https://ollama.com/api/tags"),nanobanana:U("https://api.nanobananaapi.ai/v1/models"),chutes:U("https://llm.chutes.ai/v1/models"),nvidia:U("https://integrate.api.nvidia.com/v1/models"),assemblyai:U("https://api.assemblyai.com/v1/models"),"vercel-ai-gateway":U("https://ai-gateway.vercel.sh/v1/models"),"frontier-for-all":{customResolver:X({refreshFn:a=>(0,A.go)(a.refreshToken),fetchFn:a=>fetch(z.V1.modelsUrl,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`}}),parseFn:T,errorLabel:"Failed to fetch Frontier models"})},vertex:{customResolver:async a=>{let b,c=(0,B.Sc)(a.apiKey),d=c?.project_id||a.providerSpecificData?.projectId||a.projectId,e=a.providerSpecificData?.location||a.providerSpecificData?.region||"us-central1",f=await (0,I.B)(a.providerSpecificData||{}),g={"Content-Type":"application/json"};if(c){let a=await (0,B.pb)(c);if(!a?.accessToken)return{error:"Failed to mint token from Service Account JSON",status:401};g.Authorization=`Bearer ${a.accessToken}`,b=d?`https://aiplatform.googleapis.com/v1/projects/${d}/locations/${e}/publishers/google/models`:"https://aiplatform.googleapis.com/v1/publishers/google/models"}else if(a.accessToken)g.Authorization=`Bearer ${a.accessToken}`,b=d?`https://aiplatform.googleapis.com/v1/projects/${d}/locations/${e}/publishers/google/models`:"https://aiplatform.googleapis.com/v1/publishers/google/models";else{if(!a.apiKey)return{error:"No API key or Service Account provided",status:401};b=e&&"global"!==e?`https://${e}-aiplatform.googleapis.com/v1/publishers/google/models?key=${a.apiKey}`:`https://aiplatform.googleapis.com/v1/publishers/google/models?key=${a.apiKey}`}try{let a=await (0,M.Vy)(b,{headers:g},f);if(!a.ok){let b=await a.text().catch(()=>"");return console.log("Error fetching Vertex AI models:",b),{models:W("vertex"),warning:`Failed to fetch Vertex models (${a.status}); using static catalog.`}}let c=await a.json().catch(()=>({})),d=(a=>{let b=a?.publisherModels||a?.models||a?.data||[];if(!Array.isArray(b))return[];let c=[];for(let a of b){let b=a?.name||a?.id||a?.model||"";if(!b)continue;let d=b.replace(/^publishers\/google\/models\//,"").replace(/^models\//,"");if(!d||d.includes("__probe__"))continue;let e=a?.displayName||a?.versionId||d;c.push({id:d,name:e})}return c})(c);if(d.length>0)return{models:d}}catch(a){console.log("Failed to fetch Vertex AI models:",a.message)}return{models:W("vertex"),warning:"Vertex AI returned no models; using static catalog."}}},"vertex-partner":{customResolver:async a=>({models:W("vertex-partner")})},tokenharbor:U("https://tokenharbor.ai/v1/models"),dahl:U("https://inference.dahl.global/v1/models"),atria:U("https://api.atria-asi.ai/v1/models"),agnes:U("https://apihub.agnes-ai.com/v1/models"),bai:U("https://api.b.ai/v1/models"),kimchi:{customResolver:async a=>{let b=await (0,F.av)({accessToken:a.accessToken,apiKey:a.apiKey,providerSpecificData:a.providerSpecificData||{}},{forceRefresh:!0,log:console});return b?.models?.length?{models:b.models}:{models:W("kimchi"),warning:"Kimchi returned no live models; falling back to static catalog."}}},cursor:{customResolver:async a=>{let b=await (0,J.FD)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}},{forceRefresh:!0,log:console});return b?.models?.length?{models:b.models}:{models:W("cursor"),warning:"Cursor returned no live models; falling back to static catalog."}}},zed:{customResolver:async a=>{try{let b=await (0,N.w9)({accessToken:a.accessToken,providerSpecificData:a.providerSpecificData||{}},{config:z.RY,forceRefresh:!0}),c=(b?.models||[]).filter(a=>a&&!a.isDisabled).map(a=>({id:a.id,name:a.name||a.id,provider:a.provider,contextLength:a.contextLength,contextLengthInMaxMode:a.contextLengthInMaxMode,maxOutputTokens:a.maxOutputTokens,supportsTools:a.supportsTools,supportsImages:a.supportsImages,supportsThinking:a.supportsThinking,supportsDisablingThinking:a.supportsDisablingThinking,supportsFastMode:a.supportsFastMode,supportsServerSideCompaction:a.supportsServerSideCompaction,supportedEffortLevels:a.supportedEffortLevels||[],supportsStreamingTools:a.supportsStreamingTools,supportsParallelToolCalls:a.supportsParallelToolCalls}));if(c.length>0)return{models:c};return{models:[],warning:"Zed returned no live models."}}catch(a){return console.log("Failed to fetch Zed models dynamically:",a.message),{models:[],warning:`Failed to fetch Zed models: ${a.message}`}}}},cline:{customResolver:async a=>{let b=await (0,O.M)({accessToken:a.accessToken,apiKey:a.apiKey});return b?.models?.length?{models:b.models}:{models:W("cline"),warning:"Cline returned no live models; falling back to static catalog."}}},clinepass:{customResolver:async a=>{let b=await (0,O.P)({accessToken:a.accessToken,apiKey:a.apiKey});return b?.models?.length?{models:b.models}:{models:W("clinepass"),warning:"ClinePass returned no live models; falling back to static catalog."}}},kiro:{customResolver:async a=>{let b,c={accessToken:a.accessToken,refreshToken:a.refreshToken,providerSpecificData:a.providerSpecificData||{}};try{let d=await (0,E.cW)(c,{log:console,onCredentialsRefreshed:async b=>{b?.accessToken&&(await (0,A.vN)(a.id,{accessToken:b.accessToken,refreshToken:b.refreshToken||a.refreshToken,expiresIn:b.expiresIn}),a.accessToken=b.accessToken,b.refreshToken&&(a.refreshToken=b.refreshToken))}});if(d?.models?.length)return{models:d.models.map(a=>({id:a.id,name:a.name,upstreamModelId:a.upstreamModelId,contextLength:a.contextLength,maxOutputTokens:a.maxOutputTokens,rateMultiplier:a.rateMultiplier,capabilities:a.capabilities,description:a.description}))};b="Kiro returned no models; falling back to static catalog."}catch(a){b=`Failed to fetch Kiro models: ${a.message}`,console.log("Failed to fetch Kiro models dynamically, falling back to static:",a.message)}return{models:[],warning:b}}},qoder:Y("qoder"),"qoder-cn":Y("qoder-cn"),"gemini-cli":{customResolver:X({refreshFn:a=>(0,A.I9)(a.refreshToken,z.LT.clientId,z.LT.clientSecret),fetchFn:(a,b)=>{let c=b.projectId||b.providerSpecificData?.projectId;return fetch("https://cloudcode-pa.googleapis.com/v1internal:fetchAvailableModels",{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${a}`,"User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1"},body:JSON.stringify(c?{project:c}:{})})},parseFn:a=>Array.isArray(a?.models)?a.models.map(a=>{let b=a?.id||a?.model||a?.name;return b?{id:b,name:a?.displayName||a?.name||b}:null}).filter(Boolean):a?.models&&"object"==typeof a.models?Object.entries(a.models).filter(([,a])=>!a?.isInternal).map(([a,b])=>({id:a,name:b?.displayName||b?.name||a})):[],errorLabel:"Failed to fetch Gemini CLI models"})},"grok-cli":{customResolver:async a=>{let b=await (0,I.B)(a.providerSpecificData||{}),c=await (0,H.M)({...a,connectionId:a.id},{log:console,proxyOptions:{connectionProxyEnabled:!0===b.connectionProxyEnabled,connectionProxyUrl:b.connectionProxyUrl||"",connectionNoProxy:b.connectionNoProxy||"",vercelRelayUrl:b.vercelRelayUrl||"",strictProxy:!0===b.strictProxy},onCredentialsRefreshed:async b=>{await (0,A.vN)(a.id,{...b,existingProviderSpecificData:a.providerSpecificData||{}})}});return c.models.length?c:{models:W("grok-cli"),warning:c.warning||"Grok CLI returned no live models; using static catalog."}}},"ollama-local":{customResolver:async a=>{let b=`${(0,C.Ak)(a)}/api/tags`,c=await fetch(b,{method:"GET",headers:{"Content-Type":"application/json"},signal:AbortSignal.timeout(6e3)});return c.ok?{models:T(await c.json())}:(console.log("Error fetching models from ollama-local:",await c.text()),{error:`Failed to fetch models: ${c.status}`,status:c.status})}}};async function $(a,{params:b}){if(!await R(a))return v.NextResponse.json({error:"Unauthorized"},{status:401});try{let{id:a}=await b,c=await (0,w.Mc)(a);if(!c)return v.NextResponse.json({error:"Connection not found"},{status:404});if((0,x.mq)(c.provider)){let a=c.providerSpecificData?.baseUrl;if(!a)return v.NextResponse.json({error:"No base URL configured for OpenAI compatible provider"},{status:400});let b=`${a.replace(/\/$/,"")}/models`,d=await fetch(b,{method:"GET",headers:(0,K.im)({"Content-Type":"application/json"},c.providerSpecificData||{},{Authorization:`Bearer ${c.apiKey}`}),signal:AbortSignal.timeout(6e3)});if(!d.ok){let a=await d.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${d.status}`},{status:d.status})}let e=await d.json(),f=e.data||e.models||[];return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:f})}if((0,x.gb)(c.provider)){let a=c.providerSpecificData?.baseUrl;if(!a)return v.NextResponse.json({error:"No base URL configured for Anthropic compatible provider"},{status:400});(a=a.replace(/\/$/,"")).endsWith("/messages")&&(a=a.slice(0,-9));let b=`${a}/models`,d=await fetch(b,{method:"GET",headers:(0,K.im)({"Content-Type":"application/json","anthropic-version":"2023-06-01"},c.providerSpecificData||{},{"x-api-key":c.apiKey,Authorization:`Bearer ${c.apiKey}`}),signal:AbortSignal.timeout(6e3)});if(!d.ok){let a=await d.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${d.status}`},{status:d.status})}let e=await d.json(),f=e.data||e.models||[];return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:f})}let d=Z[c.provider];if(!d)return v.NextResponse.json({error:`Provider ${c.provider} does not support models listing`},{status:400});if("function"==typeof d.customResolver){let a=await d.customResolver(c);if(a.error)return v.NextResponse.json({error:a.error},{status:a.status||500});return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:a.models,...a.warning?{warning:a.warning}:{}})}let e=c.providerSpecificData?.copilotToken||c.accessToken||c.apiKey;if(!e)return v.NextResponse.json({error:"No valid token found"},{status:401});let f=d.url;d.authQuery&&(f+=`?${d.authQuery}=${e}`);let g={...d.headers};d.authHeader&&!d.authQuery&&(g[d.authHeader]=(d.authPrefix||"")+e);let h={method:d.method,headers:g,signal:AbortSignal.timeout(6e3)};d.body&&"POST"===d.method&&(h.body=JSON.stringify(d.body));let i=await fetch(f,h);if(!i.ok){let a=await i.text();return console.log(`Error fetching models from ${c.provider}:`,a),v.NextResponse.json({error:`Failed to fetch models: ${i.status}`},{status:i.status})}let j=await i.json(),k=d.parseResponse(j);return v.NextResponse.json({provider:c.provider,connectionId:c.id,models:k})}catch(b){console.log("Error fetching provider models:",b);let a=(0,Q.Gk)(b);return v.NextResponse.json({error:a.message,code:a.code},{status:a.status})}}let _=new e.AppRouteRouteModule({definition:{kind:f.RouteKind.APP_ROUTE,page:"/api/providers/[id]/models/route",pathname:"/api/providers/[id]/models",filename:"route",bundlePath:"app/api/providers/[id]/models/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Volumes/Files/Projects/EzRouter/EzRouter/src/app/api/providers/[id]/models/route.js",nextConfigOutput:"standalone",userland:d,...{}}),{workAsyncStorage:aa,workUnitAsyncStorage:ab,serverHooks:ac}=_;function ad(){return(0,g.patchFetch)({workAsyncStorage:aa,workUnitAsyncStorage:ab})}async function ae(a,b,c){c.requestMeta&&(0,h.setRequestMeta)(a,c.requestMeta),_.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/providers/[id]/models/route";"/index"===d&&(d="/");let e=await _.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!e)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:g,deploymentId:v,params:w,nextConfig:x,parsedUrl:y,isDraftMode:z,prerenderManifest:A,routerServerContext:B,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,resolvedPathname:E,clientReferenceManifest:F,serverActionsManifest:G}=e,H=(0,k.normalizeAppPath)(d),I=!!(A.dynamicRoutes[H]||A.routes[E]),J=async()=>((null==B?void 0:B.render404)?await B.render404(a,b,y,!1):b.end("This page could not be found"),null);if(I&&!z){let a=!!A.routes[E],b=A.dynamicRoutes[H];if(b&&!1===b.fallback&&!a){if(x.adapterPath)return await J();throw new t.NoFallbackError}}let K=null;!I||_.isDev||z||(K="/index"===(K=E)?"/":K);let L=!0===_.isDev||!I,M=I&&!L;G&&F&&(0,j.setManifestsSingleton)({page:d,clientReferenceManifest:F,serverActionsManifest:G});let N=a.method||"GET",O=(0,i.getTracer)(),P=O.getActiveScopeSpan(),Q=!!(null==B?void 0:B.isWrappedByNextServer),R=!!(0,h.getRequestMeta)(a,"minimalMode"),S=(0,h.getRequestMeta)(a,"incrementalCache")||await _.getIncrementalCache(a,x,A,R);null==S||S.resetRequestCache(),globalThis.__incrementalCache=S;let T={params:w,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!x.experimental.authInterrupts},cacheComponents:!!x.cacheComponents,supportsDynamicResponse:L,incrementalCache:S,cacheLifeProfiles:x.cacheLife,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>_.onRequestError(a,b,d,e,B)},sharedContext:{buildId:g,deploymentId:v}},U=new l.NodeNextRequest(a),V=new l.NodeNextResponse(b),W=m.NextRequestAdapter.fromNodeNextRequest(U,(0,m.signalFromNodeResponse)(b));try{let e,g=async a=>_.handle(W,T).finally(()=>{if(!a)return;a.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let c=O.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=`${N} ${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(`${N} ${d}`)}),h=async e=>{var h,i;let j=async({previousCacheEntry:f})=>{try{if(!R&&C&&D&&!f)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await g(e);a.fetchMetrics=T.renderOpts.fetchMetrics;let h=T.renderOpts.pendingWaitUntil;h&&c.waitUntil&&(c.waitUntil(h),h=void 0);let i=T.renderOpts.collectedTags;if(!I)return await (0,p.I)(U,V,d,T.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!==T.renderOpts.collectedRevalidate&&!(T.renderOpts.collectedRevalidate>=s.INFINITE_CACHE)&&T.renderOpts.collectedRevalidate,e=void 0===T.renderOpts.collectedExpire||T.renderOpts.collectedExpire>=s.INFINITE_CACHE?void 0:T.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 _.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),b}},k=await _.handleResponse({req:a,nextConfig:x,cacheKey:K,routeKind:f.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:C,revalidateOnlyGenerated:D,responseGenerator:j,waitUntil:c.waitUntil,isMinimalMode:R});if(!I)return null;if((null==k||null==(h=k.value)?void 0:h.kind)!==u.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==k||null==(i=k.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});R||b.setHeader("x-nextjs-cache",C?"REVALIDATED":k.isMiss?"MISS":k.isStale?"STALE":"HIT"),z&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let l=(0,q.fromNodeOutgoingHttpHeaders)(k.value.headers);return R&&I||l.delete(s.NEXT_CACHE_TAGS_HEADER),!k.cacheControl||b.getHeader("Cache-Control")||l.get("Cache-Control")||l.set("Cache-Control",(0,r.getCacheControlHeader)(k.cacheControl)),await (0,p.I)(U,V,new Response(k.value.body,{headers:l,status:k.value.status||200})),null};Q&&P?await h(P):(e=O.getActiveScopeSpan(),await O.withPropagatedContext(a.headers,()=>O.trace(n.BaseServerSpan.handleRequest,{spanName:`${N} ${d}`,kind:i.SpanKind.SERVER,attributes:{"http.method":N,"http.target":a.url}},h),void 0,!Q))}catch(b){if(b instanceof t.NoFallbackError||await _.onRequestError(a,b,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,o.c)({isStaticGeneration:M,isOnDemandRevalidate:C})},!1,B),I)throw b;return await (0,p.I)(U,V,new Response(null,{status:500})),null}}},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63123:(a,b,c)=>{c.d(b,{M:()=>h});var d=c(13247),e=c(18129),f=c(89843);let g=`${d.Nr}/models`;async function h(a,b={}){let{fetchFn:c=f.proxyAwareFetch,log:i=console,proxyOptions:j=null,onCredentialsRefreshed:k}=b,l=a?.accessToken;if(!l)return{models:[],warning:"Grok CLI access token is missing."};let m=b=>c(g,{method:"GET",headers:function(a,b={}){let c={Authorization:`Bearer ${a}`,Accept:"application/json","User-Agent":d.fZ,"x-xai-token-auth":"xai-grok-cli","x-grok-client-version":d.uG,"x-grok-client-identifier":d.rK,"x-grok-client-mode":"headless"},e=b?.email,f=b?.userId||b?.principalId;return e&&(c["x-email"]=e),f&&(c["x-userid"]=f),c}(b,a?.providerSpecificData)},j);try{let b=await m(l);if((401===b.status||403===b.status)&&a?.refreshToken){let c=await (0,e.Vq)("grok-cli",a,i,j);if(c?.accessToken){l=c.accessToken;try{await k?.(c)}catch(a){i?.warn?.("Grok CLI credential persistence failed",a)}b=await m(l)}}if(!b.ok){let a=await b.text().catch(()=>"");return{models:[],warning:`Grok CLI model discovery failed (${b.status})${a?`: ${a.slice(0,160)}`:""}`}}let c=function(a){let b,c=new Set,e=[];for(let[f,g]of(b=Array.isArray(a)?a:a?.data??a?.models??a?.results??[],Array.isArray(b)?b.map(a=>[null,a]):b&&"object"==typeof b?Object.entries(b):[])){let a="string"==typeof g?{id:g}:g;if(!a||"object"!=typeof a||Array.isArray(a))continue;let b=String(a.id??a.model_id??a.modelId??a.model??a.slug??f??a.name??"").trim();if(!b||c.has(b))continue;c.add(b);let h={...a,id:b,name:a.display_name??a.displayName??a.name??b},i=Number(a.context_length??a.contextLength??a.context_window??a.contextWindow),j=Number(a.max_output_tokens??a.maxOutputTokens);Number.isFinite(i)&&i>0&&(h.contextLength=i),Number.isFinite(j)&&j>0&&(h.maxOutputTokens=j),b===d.to&&(h.contextLength||=5e5,h.maxOutputTokens||=64e3),e.push(h)}return e}(await b.json());return c.length?{models:c}:{models:[],warning:"Grok CLI returned no selectable models."}}catch(a){return{models:[],warning:`Grok CLI model discovery failed: ${a.message}`}}}},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},73496:a=>{a.exports=require("http2")},74075:a=>{a.exports=require("zlib")},75919:a=>{a.exports=require("node:worker_threads")},76760:a=>{a.exports=require("node:path")},77030:a=>{a.exports=require("node:net")},77598:a=>{a.exports=require("node:crypto")},78474:a=>{a.exports=require("node:events")},79646:a=>{a.exports=require("child_process")},79868:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},86925:(a,b,c)=>{c.d(b,{av:()=>o,gK:()=>m});var d=c(55511),e=c(89843);let f="https://llm.kimchi.dev",g=new Set([429,500,502,503,504]),h=new Map,i=new Map;function j(a){return(("string"==typeof a?a.trim():"")||f).replace(/\/+$/,"")}function k(a){return a?.accessToken||a?.apiKey||a?.providerSpecificData?.apiKey||null}function l(a){if(!a||"object"!=typeof a)return null;let b=a.slug||a.id||a.model||a.name;if("string"!=typeof b||""===b.trim())return null;let c=Array.isArray(a.input_modalities)?a.input_modalities.filter(a=>"text"===a||"image"===a):[],d=a.limits&&"object"==typeof a.limits?a.limits:{},e=Number(d.context_window||a.contextLength||a.context_length)||void 0,f=Number(d.max_output_tokens||a.maxOutputTokens||a.max_output_tokens)||void 0,g="string"==typeof a.provider?a.provider:"",h=!0===a.reasoning,i=Array.isArray(c)&&c.includes("image")?"imageToText":"llm",j={...a,id:b.trim(),name:String(a.display_name||a.displayName||a.name||b).trim(),provider:g,upstreamProvider:g,reasoning:h,inputModalities:c,kind:i,type:i,capabilities:{vision:c.includes("image"),reasoning:h,...e?{contextWindow:e}:{},...f?{maxOutput:f}:{},...g?{upstreamProvider:g}:{}},...e?{contextLength:e}:{},...f?{maxOutputTokens:f}:{}};return"anthropic"===g&&(j.compat={supportsReasoningEffort:!1,cacheControlFormat:"anthropic"}),j}function m(a){if("string"!=typeof a||""===a.trim())return null;let b=a.includes("/")?a.split("/").pop():a;return i.get(b)||i.get(b.toLowerCase())||null}async function n(a,b,c={}){let d=`${j(b)}/v1/models/metadata?include_in_cli=true`,f=new AbortController,h=setTimeout(()=>f.abort(Error("Kimchi models fetch timeout")),2e4),i=c.signal?AbortSignal.any([c.signal,f.signal]):f.signal;try{let b=await (0,e.proxyAwareFetch)(d,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${a}`,"User-Agent":"kimchi/0.1.40"},cache:"no-store",signal:i},c.proxyOptions||null);if(!b.ok){let a=Error(`Kimchi models ${b.status}: ${b.statusText}`);throw a.status=b.status,a.retryable=g.has(b.status),a}let f=await b.json();return Array.isArray(f?.models)?f.models:[]}finally{clearTimeout(h)}}async function o(a,b={}){let c,e,g,m=k(a);if(!m)return null;let p=a?.providerSpecificData?.kimchiEndpoint||b.endpoint||f,q=(g=(e=a?.providerSpecificData||{}).userId||e.username||a?.refreshToken||k(a)||"anonymous",(0,d.createHash)("sha256").update(`kimchi:${j(p)}:${g}`).digest("hex")),r=Date.now();if(!b.forceRefresh){let a=h.get(q);if(a&&a.expiresAt>r)return a}try{c=await n(m,p,b)}catch(a){return b.log?.warn?.("KIMCHI_MODELS",a.message),null}let s=c.map(l).filter(Boolean);if(0===s.length)return null;for(let a of s||[])a?.id&&(i.set(a.id,a),i.set(a.id.toLowerCase(),a));let t={expiresAt:Date.now()+3e5,models:s,rawModels:c};return h.set(q,t),t}},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},94652:a=>{a.exports=require("@aws-sdk/credential-providers")},94735:a=>{a.exports=require("events")}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,1813,595,4013,4433,7774,290,722,5460,1522,4646,1847,9843,9761,4378,8129,9865,6588,7828,8658,1446,3216,2348],()=>b(b.s=50295));module.exports=c})();