9router 0.5.112 → 0.5.119

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 (1244) hide show
  1. package/README.md +2 -2
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +12 -11
  4. package/app/.next-cli-build/build-manifest.json +2 -2
  5. package/app/.next-cli-build/prerender-manifest.json +4 -4
  6. package/app/.next-cli-build/required-server-files.json +7 -1
  7. package/app/.next-cli-build/routes-manifest.json +6 -0
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +16 -16
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  78. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  87. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  89. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  90. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  91. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  92. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  94. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  108. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  116. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  122. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  126. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  132. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  140. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  142. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  144. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  146. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  148. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  152. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  156. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  158. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  159. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
  160. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  162. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  164. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  166. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  168. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  174. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  186. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  187. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  188. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  189. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  190. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  194. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  196. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  200. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  216. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  217. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  218. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js +4 -0
  232. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -0
  233. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route_client-reference-manifest.js +1 -0
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  265. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  267. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  275. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  305. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  307. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  309. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  314. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  316. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  318. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  320. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  322. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  324. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  326. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  328. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  340. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  344. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  352. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  366. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +4 -4
  394. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +6 -3
  402. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  444. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  446. package/app/.next-cli-build/server/app/callback.html +1 -1
  447. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  448. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  449. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  450. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  451. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  452. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +4 -4
  453. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +4 -4
  454. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +4 -4
  455. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  456. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  457. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +5 -5
  458. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +5 -5
  459. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +5 -5
  460. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  461. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  462. package/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
  463. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  464. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
  465. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  466. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  467. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
  468. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
  469. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
  470. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  471. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  472. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
  473. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
  474. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
  475. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  476. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  477. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +5 -5
  478. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +5 -5
  479. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +5 -5
  480. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  481. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  482. package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
  483. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  484. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  485. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  486. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  487. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
  488. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  489. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
  490. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  491. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  492. package/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
  493. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  494. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
  495. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  496. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  497. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  498. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +6 -6
  499. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  500. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  501. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  502. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
  503. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
  504. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
  505. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  506. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  507. package/app/.next-cli-build/server/app/dashboard/quota.rsc +5 -5
  508. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +5 -5
  509. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +5 -5
  510. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  511. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  516. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  517. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  518. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  519. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  520. package/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
  521. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
  522. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
  523. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  526. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  527. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  528. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  529. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  530. package/app/.next-cli-build/server/app/dashboard/translator.rsc +4 -4
  531. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
  532. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +4 -4
  533. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  534. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  536. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +6 -6
  537. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  538. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  539. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  540. package/app/.next-cli-build/server/app/dashboard.rsc +4 -4
  541. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
  542. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
  543. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  544. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  545. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  546. package/app/.next-cli-build/server/app/index.html +1 -1
  547. package/app/.next-cli-build/server/app/index.rsc +4 -4
  548. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  549. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  550. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  551. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  552. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  553. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  554. package/app/.next-cli-build/server/app/landing.html +1 -1
  555. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  556. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  557. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  558. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  559. package/app/.next-cli-build/server/app/login/page.js +1 -1
  560. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  561. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  562. package/app/.next-cli-build/server/app/login.html +1 -1
  563. package/app/.next-cli-build/server/app/login.rsc +4 -4
  564. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  565. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  566. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  567. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  568. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  569. package/app/.next-cli-build/server/app/page.js +1 -1
  570. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  571. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  572. package/app/.next-cli-build/server/app-paths-manifest.json +12 -11
  573. package/app/.next-cli-build/server/chunks/1051.js +1 -1
  574. package/app/.next-cli-build/server/chunks/1133.js +1 -1
  575. package/app/.next-cli-build/server/chunks/1297.js +29 -0
  576. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  577. package/app/.next-cli-build/server/chunks/1356.js +1 -1
  578. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  579. package/app/.next-cli-build/server/chunks/{2365.js → 1866.js} +1 -1
  580. package/app/.next-cli-build/server/chunks/238.js +1 -1
  581. package/app/.next-cli-build/server/chunks/24.js +1 -1
  582. package/app/.next-cli-build/server/chunks/2598.js +1 -1
  583. package/app/.next-cli-build/server/chunks/2822.js +1 -1
  584. package/app/.next-cli-build/server/chunks/2840.js +1 -0
  585. package/app/.next-cli-build/server/chunks/3225.js +1 -1
  586. package/app/.next-cli-build/server/chunks/3697.js +1 -1
  587. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  588. package/app/.next-cli-build/server/chunks/412.js +5 -5
  589. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  590. package/app/.next-cli-build/server/chunks/4279.js +1 -1
  591. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  592. package/app/.next-cli-build/server/chunks/5299.js +1 -1
  593. package/app/.next-cli-build/server/chunks/5330.js +40 -40
  594. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  595. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  596. package/app/.next-cli-build/server/chunks/615.js +1 -1
  597. package/app/.next-cli-build/server/chunks/6297.js +1 -0
  598. package/app/.next-cli-build/server/chunks/6576.js +1 -0
  599. package/app/.next-cli-build/server/chunks/6690.js +1 -1
  600. package/app/.next-cli-build/server/chunks/6724.js +1 -1
  601. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  602. package/app/.next-cli-build/server/chunks/6877.js +1 -1
  603. package/app/.next-cli-build/server/chunks/7187.js +1 -1
  604. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  605. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  606. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  607. package/app/.next-cli-build/server/chunks/7552.js +1 -1
  608. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  609. package/app/.next-cli-build/server/chunks/7843.js +51 -0
  610. package/app/.next-cli-build/server/chunks/8251.js +1 -1
  611. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  612. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  613. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  614. package/app/.next-cli-build/server/chunks/8623.js +1 -1
  615. package/app/.next-cli-build/server/chunks/866.js +1 -0
  616. package/app/.next-cli-build/server/chunks/869.js +1 -1
  617. package/app/.next-cli-build/server/chunks/8895.js +4 -4
  618. package/app/.next-cli-build/server/chunks/8896.js +1 -0
  619. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  620. package/app/.next-cli-build/server/chunks/9128.js +1 -1
  621. package/app/.next-cli-build/server/chunks/9198.js +1 -0
  622. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  623. package/app/.next-cli-build/server/chunks/9604.js +1 -1
  624. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  625. package/app/.next-cli-build/server/chunks/9696.js +1 -1
  626. package/app/.next-cli-build/server/instrumentation.js +1 -1
  627. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  628. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  629. package/app/.next-cli-build/server/middleware.js +14 -14
  630. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  631. package/app/.next-cli-build/server/pages/404.html +1 -1
  632. package/app/.next-cli-build/server/pages/500.html +1 -1
  633. package/app/.next-cli-build/server/preview-props.json +3 -3
  634. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  635. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  636. package/app/.next-cli-build/server/webpack-runtime.js +1 -1
  637. package/app/.next-cli-build/static/5PG9DiG39fbvOpgKSnR7p/_buildManifest.js +1 -0
  638. package/app/.next-cli-build/static/chunks/1321-2fde166305caeddb.js +1 -0
  639. package/app/.next-cli-build/static/chunks/5497-2d39b4ce6857f490.js +7 -0
  640. package/app/.next-cli-build/static/chunks/{761-f671b0371daf6356.js → 761-4ab39a76a6565658.js} +8 -8
  641. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0f55372821920062.js → page-899c85a4a09b87cc.js} +15 -15
  642. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-c13b42f0dbad8fcd.js +27 -0
  643. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-8f7c68a9ddffe74b.js +4 -0
  644. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-6923bda560bbc869.js +1 -0
  645. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-3b1b5d8e342d932f.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/_global-error/{page-a70f643786fb402f.js → page-4e22949b210a2492.js} +1 -1
  647. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  648. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  649. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  650. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4e22949b210a2492.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4e22949b210a2492.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4e22949b210a2492.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4e22949b210a2492.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4e22949b210a2492.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4e22949b210a2492.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4e22949b210a2492.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4e22949b210a2492.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4e22949b210a2492.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4e22949b210a2492.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4e22949b210a2492.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4e22949b210a2492.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4e22949b210a2492.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4e22949b210a2492.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4e22949b210a2492.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4e22949b210a2492.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4e22949b210a2492.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4e22949b210a2492.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4e22949b210a2492.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4e22949b210a2492.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4e22949b210a2492.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4e22949b210a2492.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4e22949b210a2492.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4e22949b210a2492.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4e22949b210a2492.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4e22949b210a2492.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-4e22949b210a2492.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4e22949b210a2492.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4e22949b210a2492.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4e22949b210a2492.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4e22949b210a2492.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4e22949b210a2492.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4e22949b210a2492.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4e22949b210a2492.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4e22949b210a2492.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4e22949b210a2492.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4e22949b210a2492.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/combos/route-4e22949b210a2492.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4e22949b210a2492.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4e22949b210a2492.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4e22949b210a2492.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4e22949b210a2492.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4e22949b210a2492.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4e22949b210a2492.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/health/route-4e22949b210a2492.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/init/route-4e22949b210a2492.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4e22949b210a2492.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/keys/route-4e22949b210a2492.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/locale/route-4e22949b210a2492.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4e22949b210a2492.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4e22949b210a2492.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4e22949b210a2492.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4e22949b210a2492.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4e22949b210a2492.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4e22949b210a2492.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4e22949b210a2492.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4e22949b210a2492.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4e22949b210a2492.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4e22949b210a2492.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4e22949b210a2492.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4e22949b210a2492.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/models/route-4e22949b210a2492.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4e22949b210a2492.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4e22949b210a2492.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4e22949b210a2492.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4e22949b210a2492.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/oauth/commandcode/auto-import/route-4e22949b210a2492.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4e22949b210a2492.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4e22949b210a2492.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4e22949b210a2492.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4e22949b210a2492.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4e22949b210a2492.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4e22949b210a2492.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4e22949b210a2492.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4e22949b210a2492.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4e22949b210a2492.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4e22949b210a2492.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4e22949b210a2492.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4e22949b210a2492.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4e22949b210a2492.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4e22949b210a2492.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4e22949b210a2492.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4e22949b210a2492.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4e22949b210a2492.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4e22949b210a2492.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4e22949b210a2492.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4e22949b210a2492.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4e22949b210a2492.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4e22949b210a2492.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4e22949b210a2492.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4e22949b210a2492.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4e22949b210a2492.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4e22949b210a2492.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4e22949b210a2492.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4e22949b210a2492.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/providers/route-4e22949b210a2492.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4e22949b210a2492.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4e22949b210a2492.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4e22949b210a2492.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-4e22949b210a2492.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4e22949b210a2492.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4e22949b210a2492.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4e22949b210a2492.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4e22949b210a2492.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-4e22949b210a2492.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4e22949b210a2492.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4e22949b210a2492.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4e22949b210a2492.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4e22949b210a2492.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4e22949b210a2492.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4e22949b210a2492.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4e22949b210a2492.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4e22949b210a2492.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4e22949b210a2492.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4e22949b210a2492.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4e22949b210a2492.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4e22949b210a2492.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4e22949b210a2492.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/settings/route-4e22949b210a2492.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4e22949b210a2492.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/tags/route-4e22949b210a2492.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4e22949b210a2492.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4e22949b210a2492.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4e22949b210a2492.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4e22949b210a2492.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4e22949b210a2492.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4e22949b210a2492.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4e22949b210a2492.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4e22949b210a2492.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4e22949b210a2492.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4e22949b210a2492.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4e22949b210a2492.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4e22949b210a2492.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4e22949b210a2492.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4e22949b210a2492.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4e22949b210a2492.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4e22949b210a2492.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4e22949b210a2492.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4e22949b210a2492.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4e22949b210a2492.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4e22949b210a2492.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4e22949b210a2492.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4e22949b210a2492.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4e22949b210a2492.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4e22949b210a2492.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4e22949b210a2492.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4e22949b210a2492.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4e22949b210a2492.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4e22949b210a2492.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4e22949b210a2492.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4e22949b210a2492.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4e22949b210a2492.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4e22949b210a2492.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4e22949b210a2492.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4e22949b210a2492.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4e22949b210a2492.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4e22949b210a2492.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4e22949b210a2492.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4e22949b210a2492.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/route-4e22949b210a2492.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4e22949b210a2492.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4e22949b210a2492.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4e22949b210a2492.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4e22949b210a2492.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4e22949b210a2492.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4e22949b210a2492.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4e22949b210a2492.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4e22949b210a2492.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4e22949b210a2492.js +1 -0
  819. package/app/.next-cli-build/static/chunks/app/api/version/route-4e22949b210a2492.js +1 -0
  820. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4e22949b210a2492.js +1 -0
  821. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4e22949b210a2492.js +1 -0
  822. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4e22949b210a2492.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/page-4e22949b210a2492.js +1 -0
  824. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4e22949b210a2492.js +1 -0
  825. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4e22949b210a2492.js +1 -0
  826. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4e22949b210a2492.js +1 -0
  827. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4e22949b210a2492.js +1 -0
  828. package/app/.next-cli-build/static/css/836344dc90be2bb4.css +1 -0
  829. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  830. package/app/node_modules/undici/LICENSE +21 -0
  831. package/app/node_modules/undici/README.md +741 -0
  832. package/app/node_modules/undici/docs/docs/api/Agent.md +84 -0
  833. package/app/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  834. package/app/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  835. package/app/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
  836. package/app/node_modules/undici/docs/docs/api/Client.md +290 -0
  837. package/app/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
  838. package/app/node_modules/undici/docs/docs/api/Connector.md +115 -0
  839. package/app/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  840. package/app/node_modules/undici/docs/docs/api/Cookies.md +128 -0
  841. package/app/node_modules/undici/docs/docs/api/Debug.md +62 -0
  842. package/app/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
  843. package/app/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
  844. package/app/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
  845. package/app/node_modules/undici/docs/docs/api/Errors.md +49 -0
  846. package/app/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  847. package/app/node_modules/undici/docs/docs/api/Fetch.md +60 -0
  848. package/app/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
  849. package/app/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
  850. package/app/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
  851. package/app/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
  852. package/app/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
  853. package/app/node_modules/undici/docs/docs/api/MockClient.md +81 -0
  854. package/app/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  855. package/app/node_modules/undici/docs/docs/api/MockPool.md +555 -0
  856. package/app/node_modules/undici/docs/docs/api/Pool.md +84 -0
  857. package/app/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  858. package/app/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
  859. package/app/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
  860. package/app/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
  861. package/app/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
  862. package/app/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
  863. package/app/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
  864. package/app/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
  865. package/app/node_modules/undici/docs/docs/api/Util.md +25 -0
  866. package/app/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
  867. package/app/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  868. package/app/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  869. package/app/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
  870. package/app/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
  871. package/app/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  872. package/app/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
  873. package/app/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
  874. package/app/node_modules/undici/index-fetch.js +65 -0
  875. package/app/node_modules/undici/index.d.ts +3 -0
  876. package/app/node_modules/undici/index.js +234 -0
  877. package/app/node_modules/undici/lib/api/abort-signal.js +59 -0
  878. package/app/node_modules/undici/lib/api/api-connect.js +110 -0
  879. package/app/node_modules/undici/lib/api/api-pipeline.js +252 -0
  880. package/app/node_modules/undici/lib/api/api-request.js +214 -0
  881. package/app/node_modules/undici/lib/api/api-stream.js +209 -0
  882. package/app/node_modules/undici/lib/api/api-upgrade.js +111 -0
  883. package/app/node_modules/undici/lib/api/index.js +7 -0
  884. package/app/node_modules/undici/lib/api/readable.js +580 -0
  885. package/app/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  886. package/app/node_modules/undici/lib/cache/sqlite-cache-store.js +469 -0
  887. package/app/node_modules/undici/lib/core/connect.js +159 -0
  888. package/app/node_modules/undici/lib/core/constants.js +143 -0
  889. package/app/node_modules/undici/lib/core/diagnostics.js +227 -0
  890. package/app/node_modules/undici/lib/core/errors.js +477 -0
  891. package/app/node_modules/undici/lib/core/request.js +485 -0
  892. package/app/node_modules/undici/lib/core/socks5-client.js +422 -0
  893. package/app/node_modules/undici/lib/core/socks5-utils.js +212 -0
  894. package/app/node_modules/undici/lib/core/symbols.js +76 -0
  895. package/app/node_modules/undici/lib/core/tree.js +160 -0
  896. package/app/node_modules/undici/lib/core/util.js +1013 -0
  897. package/app/node_modules/undici/lib/dispatcher/agent.js +162 -0
  898. package/app/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
  899. package/app/node_modules/undici/lib/dispatcher/client-h1.js +1769 -0
  900. package/app/node_modules/undici/lib/dispatcher/client-h2.js +1056 -0
  901. package/app/node_modules/undici/lib/dispatcher/client.js +669 -0
  902. package/app/node_modules/undici/lib/dispatcher/dispatcher-base.js +196 -0
  903. package/app/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  904. package/app/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  905. package/app/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  906. package/app/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  907. package/app/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  908. package/app/node_modules/undici/lib/dispatcher/pool.js +118 -0
  909. package/app/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  910. package/app/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  911. package/app/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  912. package/app/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  913. package/app/node_modules/undici/lib/encoding/index.js +33 -0
  914. package/app/node_modules/undici/lib/global.js +59 -0
  915. package/app/node_modules/undici/lib/handler/cache-handler.js +1181 -0
  916. package/app/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  917. package/app/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  918. package/app/node_modules/undici/lib/handler/deduplication-handler.js +504 -0
  919. package/app/node_modules/undici/lib/handler/redirect-handler.js +273 -0
  920. package/app/node_modules/undici/lib/handler/retry-handler.js +504 -0
  921. package/app/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  922. package/app/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  923. package/app/node_modules/undici/lib/interceptor/cache.js +746 -0
  924. package/app/node_modules/undici/lib/interceptor/decompress.js +567 -0
  925. package/app/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  926. package/app/node_modules/undici/lib/interceptor/dns.js +571 -0
  927. package/app/node_modules/undici/lib/interceptor/dump.js +99 -0
  928. package/app/node_modules/undici/lib/interceptor/redirect.js +21 -0
  929. package/app/node_modules/undici/lib/interceptor/response-error.js +95 -0
  930. package/app/node_modules/undici/lib/interceptor/retry.js +19 -0
  931. package/app/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  932. package/app/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
  933. package/app/node_modules/undici/lib/llhttp/constants.js +531 -0
  934. package/app/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  935. package/app/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  936. package/app/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
  937. package/app/node_modules/undici/lib/llhttp/utils.js +12 -0
  938. package/app/node_modules/undici/lib/mock/mock-agent.js +232 -0
  939. package/app/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  940. package/app/node_modules/undici/lib/mock/mock-client.js +68 -0
  941. package/app/node_modules/undici/lib/mock/mock-errors.js +29 -0
  942. package/app/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  943. package/app/node_modules/undici/lib/mock/mock-pool.js +68 -0
  944. package/app/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  945. package/app/node_modules/undici/lib/mock/mock-utils.js +486 -0
  946. package/app/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  947. package/app/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  948. package/app/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  949. package/app/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  950. package/app/node_modules/undici/lib/util/cache.js +709 -0
  951. package/app/node_modules/undici/lib/util/date.js +670 -0
  952. package/app/node_modules/undici/lib/util/promise.js +28 -0
  953. package/app/node_modules/undici/lib/util/runtime-features.js +124 -0
  954. package/app/node_modules/undici/lib/util/stats.js +32 -0
  955. package/app/node_modules/undici/lib/util/timers.js +425 -0
  956. package/app/node_modules/undici/lib/web/cache/cache.js +864 -0
  957. package/app/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  958. package/app/node_modules/undici/lib/web/cache/util.js +45 -0
  959. package/app/node_modules/undici/lib/web/cookies/constants.js +12 -0
  960. package/app/node_modules/undici/lib/web/cookies/index.js +201 -0
  961. package/app/node_modules/undici/lib/web/cookies/parse.js +315 -0
  962. package/app/node_modules/undici/lib/web/cookies/util.js +371 -0
  963. package/app/node_modules/undici/lib/web/eventsource/eventsource-stream.js +575 -0
  964. package/app/node_modules/undici/lib/web/eventsource/eventsource.js +504 -0
  965. package/app/node_modules/undici/lib/web/eventsource/util.js +29 -0
  966. package/app/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  967. package/app/node_modules/undici/lib/web/fetch/body.js +518 -0
  968. package/app/node_modules/undici/lib/web/fetch/constants.js +131 -0
  969. package/app/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  970. package/app/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  971. package/app/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  972. package/app/node_modules/undici/lib/web/fetch/global.js +40 -0
  973. package/app/node_modules/undici/lib/web/fetch/headers.js +719 -0
  974. package/app/node_modules/undici/lib/web/fetch/index.js +2413 -0
  975. package/app/node_modules/undici/lib/web/fetch/request.js +1115 -0
  976. package/app/node_modules/undici/lib/web/fetch/response.js +641 -0
  977. package/app/node_modules/undici/lib/web/fetch/util.js +1522 -0
  978. package/app/node_modules/undici/lib/web/infra/index.js +243 -0
  979. package/app/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  980. package/app/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  981. package/app/node_modules/undici/lib/web/webidl/index.js +1006 -0
  982. package/app/node_modules/undici/lib/web/websocket/connection.js +339 -0
  983. package/app/node_modules/undici/lib/web/websocket/constants.js +126 -0
  984. package/app/node_modules/undici/lib/web/websocket/events.js +331 -0
  985. package/app/node_modules/undici/lib/web/websocket/frame.js +133 -0
  986. package/app/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  987. package/app/node_modules/undici/lib/web/websocket/receiver.js +520 -0
  988. package/app/node_modules/undici/lib/web/websocket/sender.js +109 -0
  989. package/app/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  990. package/app/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
  991. package/app/node_modules/undici/lib/web/websocket/util.js +347 -0
  992. package/app/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  993. package/app/node_modules/undici/package.json +152 -0
  994. package/app/node_modules/undici/scripts/strip-comments.js +10 -0
  995. package/app/node_modules/undici/types/README.md +6 -0
  996. package/app/node_modules/undici/types/agent.d.ts +32 -0
  997. package/app/node_modules/undici/types/api.d.ts +43 -0
  998. package/app/node_modules/undici/types/balanced-pool.d.ts +30 -0
  999. package/app/node_modules/undici/types/cache-interceptor.d.ts +179 -0
  1000. package/app/node_modules/undici/types/cache.d.ts +36 -0
  1001. package/app/node_modules/undici/types/client-stats.d.ts +15 -0
  1002. package/app/node_modules/undici/types/client.d.ts +153 -0
  1003. package/app/node_modules/undici/types/connector.d.ts +36 -0
  1004. package/app/node_modules/undici/types/content-type.d.ts +21 -0
  1005. package/app/node_modules/undici/types/cookies.d.ts +30 -0
  1006. package/app/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
  1007. package/app/node_modules/undici/types/dispatcher.d.ts +275 -0
  1008. package/app/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  1009. package/app/node_modules/undici/types/errors.d.ts +177 -0
  1010. package/app/node_modules/undici/types/eventsource.d.ts +66 -0
  1011. package/app/node_modules/undici/types/fetch.d.ts +231 -0
  1012. package/app/node_modules/undici/types/formdata.d.ts +114 -0
  1013. package/app/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  1014. package/app/node_modules/undici/types/global-origin.d.ts +7 -0
  1015. package/app/node_modules/undici/types/h2c-client.d.ts +73 -0
  1016. package/app/node_modules/undici/types/handlers.d.ts +14 -0
  1017. package/app/node_modules/undici/types/header.d.ts +160 -0
  1018. package/app/node_modules/undici/types/index.d.ts +91 -0
  1019. package/app/node_modules/undici/types/interceptors.d.ts +82 -0
  1020. package/app/node_modules/undici/types/mock-agent.d.ts +68 -0
  1021. package/app/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1022. package/app/node_modules/undici/types/mock-client.d.ts +27 -0
  1023. package/app/node_modules/undici/types/mock-errors.d.ts +12 -0
  1024. package/app/node_modules/undici/types/mock-interceptor.d.ts +94 -0
  1025. package/app/node_modules/undici/types/mock-pool.d.ts +27 -0
  1026. package/app/node_modules/undici/types/patch.d.ts +29 -0
  1027. package/app/node_modules/undici/types/pool-stats.d.ts +19 -0
  1028. package/app/node_modules/undici/types/pool.d.ts +41 -0
  1029. package/app/node_modules/undici/types/proxy-agent.d.ts +29 -0
  1030. package/app/node_modules/undici/types/readable.d.ts +68 -0
  1031. package/app/node_modules/undici/types/retry-agent.d.ts +8 -0
  1032. package/app/node_modules/undici/types/retry-handler.d.ts +125 -0
  1033. package/app/node_modules/undici/types/round-robin-pool.d.ts +41 -0
  1034. package/app/node_modules/undici/types/snapshot-agent.d.ts +109 -0
  1035. package/app/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
  1036. package/app/node_modules/undici/types/util.d.ts +18 -0
  1037. package/app/node_modules/undici/types/utility.d.ts +7 -0
  1038. package/app/node_modules/undici/types/webidl.d.ts +347 -0
  1039. package/app/node_modules/undici/types/websocket.d.ts +188 -0
  1040. package/app/open-sse/lib/deepseek-pow-hash.js +136 -0
  1041. package/app/package.json +5 -2
  1042. package/app/public/providers/sensenova-intl.png +0 -0
  1043. package/app/server.js +1 -1
  1044. package/app/src/shared/services/quotaAutoPing.js +17 -2
  1045. package/cli.js +112 -55
  1046. package/hooks/sqliteRuntime.js +2 -1
  1047. package/package.json +2 -2
  1048. package/src/cli/tray/tray.js +88 -9
  1049. package/src/cli/utils/launcherProcess.js +186 -0
  1050. package/app/.next-cli-build/server/chunks/2132.js +0 -1
  1051. package/app/.next-cli-build/server/chunks/2380.js +0 -79
  1052. package/app/.next-cli-build/server/chunks/436.js +0 -1
  1053. package/app/.next-cli-build/server/chunks/4480.js +0 -1
  1054. package/app/.next-cli-build/server/chunks/7557.js +0 -1
  1055. package/app/.next-cli-build/server/chunks/7774.js +0 -120
  1056. package/app/.next-cli-build/server/chunks/7995.js +0 -120
  1057. package/app/.next-cli-build/server/chunks/8128.js +0 -1
  1058. package/app/.next-cli-build/server/chunks/8499.js +0 -1
  1059. package/app/.next-cli-build/static/Mwpv7kpqnhzp2SJMtsIA1/_buildManifest.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/1321-02944667ec55f586.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/5497-870732fd9d818574.js +0 -7
  1062. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f9897bc47dce7e8f.js +0 -27
  1063. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-e5d73ba422004783.js +0 -4
  1064. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-2b2fe8a972d455af.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-888c58ee93724e20.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a70f643786fb402f.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a70f643786fb402f.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-a70f643786fb402f.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-a70f643786fb402f.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-a70f643786fb402f.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-a70f643786fb402f.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-a70f643786fb402f.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-a70f643786fb402f.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a70f643786fb402f.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a70f643786fb402f.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a70f643786fb402f.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a70f643786fb402f.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a70f643786fb402f.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-a70f643786fb402f.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-a70f643786fb402f.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a70f643786fb402f.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a70f643786fb402f.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a70f643786fb402f.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a70f643786fb402f.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a70f643786fb402f.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-a70f643786fb402f.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a70f643786fb402f.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-a70f643786fb402f.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a70f643786fb402f.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-a70f643786fb402f.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-a70f643786fb402f.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-a70f643786fb402f.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a70f643786fb402f.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a70f643786fb402f.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a70f643786fb402f.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-a70f643786fb402f.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a70f643786fb402f.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a70f643786fb402f.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-a70f643786fb402f.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-a70f643786fb402f.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a70f643786fb402f.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-a70f643786fb402f.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/combos/route-a70f643786fb402f.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a70f643786fb402f.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a70f643786fb402f.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a70f643786fb402f.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a70f643786fb402f.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a70f643786fb402f.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a70f643786fb402f.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/health/route-a70f643786fb402f.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/init/route-a70f643786fb402f.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a70f643786fb402f.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/keys/route-a70f643786fb402f.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/locale/route-a70f643786fb402f.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a70f643786fb402f.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a70f643786fb402f.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a70f643786fb402f.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a70f643786fb402f.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a70f643786fb402f.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a70f643786fb402f.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a70f643786fb402f.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-a70f643786fb402f.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-a70f643786fb402f.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-a70f643786fb402f.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-a70f643786fb402f.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a70f643786fb402f.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/models/route-a70f643786fb402f.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/models/test/route-a70f643786fb402f.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a70f643786fb402f.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-a70f643786fb402f.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a70f643786fb402f.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a70f643786fb402f.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a70f643786fb402f.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a70f643786fb402f.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a70f643786fb402f.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a70f643786fb402f.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-a70f643786fb402f.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a70f643786fb402f.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a70f643786fb402f.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-a70f643786fb402f.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a70f643786fb402f.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a70f643786fb402f.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a70f643786fb402f.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a70f643786fb402f.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-a70f643786fb402f.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-a70f643786fb402f.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-a70f643786fb402f.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-a70f643786fb402f.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/pricing/route-a70f643786fb402f.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a70f643786fb402f.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a70f643786fb402f.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a70f643786fb402f.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a70f643786fb402f.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-a70f643786fb402f.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a70f643786fb402f.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a70f643786fb402f.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a70f643786fb402f.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-a70f643786fb402f.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a70f643786fb402f.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/providers/route-a70f643786fb402f.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a70f643786fb402f.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a70f643786fb402f.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a70f643786fb402f.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-a70f643786fb402f.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a70f643786fb402f.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a70f643786fb402f.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a70f643786fb402f.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a70f643786fb402f.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-a70f643786fb402f.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a70f643786fb402f.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a70f643786fb402f.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a70f643786fb402f.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a70f643786fb402f.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-a70f643786fb402f.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a70f643786fb402f.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a70f643786fb402f.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a70f643786fb402f.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a70f643786fb402f.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a70f643786fb402f.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-a70f643786fb402f.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a70f643786fb402f.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a70f643786fb402f.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/settings/route-a70f643786fb402f.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-a70f643786fb402f.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/tags/route-a70f643786fb402f.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a70f643786fb402f.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a70f643786fb402f.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-a70f643786fb402f.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-a70f643786fb402f.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-a70f643786fb402f.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a70f643786fb402f.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a70f643786fb402f.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a70f643786fb402f.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a70f643786fb402f.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a70f643786fb402f.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a70f643786fb402f.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a70f643786fb402f.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a70f643786fb402f.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-a70f643786fb402f.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a70f643786fb402f.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a70f643786fb402f.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a70f643786fb402f.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-a70f643786fb402f.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-a70f643786fb402f.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a70f643786fb402f.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a70f643786fb402f.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a70f643786fb402f.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a70f643786fb402f.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a70f643786fb402f.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a70f643786fb402f.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a70f643786fb402f.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a70f643786fb402f.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a70f643786fb402f.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a70f643786fb402f.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a70f643786fb402f.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a70f643786fb402f.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a70f643786fb402f.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a70f643786fb402f.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-a70f643786fb402f.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a70f643786fb402f.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-a70f643786fb402f.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a70f643786fb402f.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a70f643786fb402f.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/v1/route-a70f643786fb402f.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-a70f643786fb402f.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-a70f643786fb402f.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-a70f643786fb402f.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-a70f643786fb402f.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-a70f643786fb402f.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-a70f643786fb402f.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a70f643786fb402f.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a70f643786fb402f.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a70f643786fb402f.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/app/api/version/route-a70f643786fb402f.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a70f643786fb402f.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/app/api/version/update/route-a70f643786fb402f.js +0 -1
  1237. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a70f643786fb402f.js +0 -1
  1238. package/app/.next-cli-build/static/chunks/app/page-a70f643786fb402f.js +0 -1
  1239. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a70f643786fb402f.js +0 -1
  1240. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a70f643786fb402f.js +0 -1
  1241. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a70f643786fb402f.js +0 -1
  1242. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a70f643786fb402f.js +0 -1
  1243. package/app/.next-cli-build/static/css/eca85123800ee802.css +0 -1
  1244. /package/app/.next-cli-build/static/{Mwpv7kpqnhzp2SJMtsIA1 → 5PG9DiG39fbvOpgKSnR7p}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";(()=>{var a={};a.id=6479,a.ids=[6479],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},643:a=>{a.exports=require("node:perf_hooks")},4573:a=>{a.exports=require("node:buffer")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},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")},19225:(a,b,c)=>{a.exports=c(44870)},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},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")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},43145:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/audio/speech/route",pathname:"/api/v1/audio/speech",filename:"route",bundlePath:"app/api/v1/audio/speech/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/9router/src/app/api/v1/audio/speech/route.js",nextConfigOutput:"standalone",userland:()=>c(63174),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/audio/speech/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.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==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},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")},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},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")},63174:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>q,POST:()=>r});var d=c(80238),e=c(89718),f=c(38775),g=c(27811),h=c(82822),i=c(43659),j=c(41004),k=c(40615),l=c(25308),m=c(7803);let n=new Set(Object.entries(k.AI_PROVIDERS).filter(([,a])=>a.serviceKinds?.includes("tts")&&!a.noAuth&&a.ttsConfig?.authType!=="none").map(([a])=>a));async function o(a){let b;try{b=await a.json()}catch{return(0,i.yj)(j.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),h=b.model,k=c.searchParams.get("response_format")||b.response_format||"mp3",n=b.language||"",o=b.style||"";m.request("POST",`${c.pathname} | ${h} | format=${k}${n?` | lang=${n}`:""}`);let q=await (0,e.mt)();if(q.requireApiKey){let b=(0,d.Tr)(a);if(!b)return(0,i.yj)(j.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(b))return(0,i.yj)(j.gx.UNAUTHORIZED,"Invalid API key")}if(!h)return(0,i.yj)(j.gx.BAD_REQUEST,"Missing model");if(!b.input)return(0,i.yj)(j.gx.BAD_REQUEST,"Missing required field: input");let r=await (0,g.cI)(await (0,g.TM)(a),h);if(r)return r;let s=await (0,f.d_)(h);if(s){let a=q.comboStrategies||{},c=a[h]?.fallbackStrategy||q.comboStrategy||"fallback",d=q.comboStickyRoundRobinLimit;return m.info("TTS",`Combo "${h}" with ${s.length} models (strategy: ${c}, sticky: ${d})`),(0,l.Pr)({body:b,models:s,handleSingleModel:(a,b)=>p(a,b,k,n,o),log:m,comboName:h,comboStrategy:c,comboStickyLimit:d})}return p(b,h,k,n,o)}async function p(a,b,c,e,g){let k=await (0,f.mA)(b);if(!k.provider)return(0,i.yj)(j.gx.BAD_REQUEST,"Invalid model format");let{provider:l,model:o}=k;if(m.info("ROUTING",`Provider: ${l}, Voice: ${o}`),!n.has(l)){let b=await (0,h.PE)({provider:l,model:o,input:a.input,responseFormat:c,language:e,style:g});return b.success?b.response:(0,i.yj)(b.status||j.gx.BAD_GATEWAY,b.error||"TTS failed")}let p=new Set,q=null,r=null;for(;;){let b=await (0,d.c1)(l,p,o);if(!b||b.allRateLimited){if(b?.allRateLimited){let a=q||b.lastError||"Unavailable",c=r||Number(b.lastErrorCode)||j.gx.SERVICE_UNAVAILABLE;return(0,i.wO)(c,`[${l}/${o}] ${a}`,b.retryAfter,b.retryAfterHuman)}if(0===p.size){if("ollama-local"===l){let b=await (0,h.PE)({provider:l,model:o,input:a.input,credentials:null,responseFormat:c,language:e,style:g});if(b.success)return b.response;return(0,i.yj)(b.status||j.gx.BAD_GATEWAY,b.error||"TTS failed")}return(0,i.yj)(j.gx.BAD_REQUEST,`No credentials for provider: ${l}`)}return(0,i.yj)(r||j.gx.SERVICE_UNAVAILABLE,q||"All accounts unavailable")}m.info("AUTH",`\x1b[32mUsing ${l} account: ${b.connectionName}\x1b[0m`);let f=await (0,h.PE)({provider:l,model:o,input:a.input,credentials:b,responseFormat:c,language:e,style:g});if(f.success)return f.response;let{shouldFallback:k}=await (0,d.vk)(b.connectionId,f.status,f.error,l,o);if(k){p.add(b.connectionId),q=f.error,r=f.status;continue}return f.response||(0,i.yj)(f.status,f.error)}}async function q(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function r(a){return await o(a)}},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},73429:a=>{a.exports=require("node:util/types")},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")},80099:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{a.exports=require("events")},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,9100,8499,6070,8920,436,24,7187,8623,8416,9604,238,5308,2822],()=>b(b.s=43145));module.exports=c})();
1
+ "use strict";(()=>{var a={};a.id=6479,a.ids=[6479],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},4573:a=>{a.exports=require("node:buffer")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},9956:a=>{a.exports=require("undici")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},19225:(a,b,c)=>{a.exports=c(44870)},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},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")},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57975:a=>{a.exports=require("node:util")},59321:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/audio/speech/route",pathname:"/api/v1/audio/speech",filename:"route",bundlePath:"app/api/v1/audio/speech/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/9router/src/app/api/v1/audio/speech/route.js",nextConfigOutput:"standalone",userland:()=>c(63174),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/audio/speech/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.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==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},63174:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>q,POST:()=>r});var d=c(80238),e=c(89718),f=c(38775),g=c(27811),h=c(82822),i=c(43659),j=c(41004),k=c(40615),l=c(25308),m=c(7803);let n=new Set(Object.entries(k.AI_PROVIDERS).filter(([,a])=>a.serviceKinds?.includes("tts")&&!a.noAuth&&a.ttsConfig?.authType!=="none").map(([a])=>a));async function o(a){let b;try{b=await a.json()}catch{return(0,i.yj)(j.gx.BAD_REQUEST,"Invalid JSON body")}let c=new URL(a.url),h=b.model,k=c.searchParams.get("response_format")||b.response_format||"mp3",n=b.language||"",o=b.style||"";m.request("POST",`${c.pathname} | ${h} | format=${k}${n?` | lang=${n}`:""}`);let q=await (0,e.mt)();if(q.requireApiKey){let b=(0,d.Tr)(a);if(!b)return(0,i.yj)(j.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(b))return(0,i.yj)(j.gx.UNAUTHORIZED,"Invalid API key")}if(!h)return(0,i.yj)(j.gx.BAD_REQUEST,"Missing model");if(!b.input)return(0,i.yj)(j.gx.BAD_REQUEST,"Missing required field: input");let r=await (0,g.cI)(await (0,g.TM)(a),h);if(r)return r;let s=await (0,f.d_)(h);if(s){let a=q.comboStrategies||{},c=a[h]?.fallbackStrategy||q.comboStrategy||"fallback",d=q.comboStickyRoundRobinLimit;return m.info("TTS",`Combo "${h}" with ${s.length} models (strategy: ${c}, sticky: ${d})`),(0,l.Pr)({body:b,models:s,handleSingleModel:(a,b)=>p(a,b,k,n,o),log:m,comboName:h,comboStrategy:c,comboStickyLimit:d})}return p(b,h,k,n,o)}async function p(a,b,c,e,g){let k=await (0,f.mA)(b);if(!k.provider)return(0,i.yj)(j.gx.BAD_REQUEST,"Invalid model format");let{provider:l,model:o}=k;if(m.info("ROUTING",`Provider: ${l}, Voice: ${o}`),!n.has(l)){let b=await (0,h.PE)({provider:l,model:o,input:a.input,responseFormat:c,language:e,style:g});return b.success?b.response:(0,i.yj)(b.status||j.gx.BAD_GATEWAY,b.error||"TTS failed")}let p=new Set,q=null,r=null;for(;;){let b=await (0,d.c1)(l,p,o);if(!b||b.allRateLimited){if(b?.allRateLimited){let a=q||b.lastError||"Unavailable",c=r||Number(b.lastErrorCode)||j.gx.SERVICE_UNAVAILABLE;return(0,i.wO)(c,`[${l}/${o}] ${a}`,b.retryAfter,b.retryAfterHuman)}if(0===p.size){if("ollama-local"===l){let b=await (0,h.PE)({provider:l,model:o,input:a.input,credentials:null,responseFormat:c,language:e,style:g});if(b.success)return b.response;return(0,i.yj)(b.status||j.gx.BAD_GATEWAY,b.error||"TTS failed")}return(0,i.yj)(j.gx.BAD_REQUEST,`No credentials for provider: ${l}`)}return(0,i.yj)(r||j.gx.SERVICE_UNAVAILABLE,q||"All accounts unavailable")}m.info("AUTH",`\x1b[32mUsing ${l} account: ${b.connectionName}\x1b[0m`);let f=await (0,h.PE)({provider:l,model:o,input:a.input,credentials:b,responseFormat:c,language:e,style:g});if(f.success)return f.response;let{shouldFallback:k}=await (0,d.vk)(b.connectionId,f.status,f.error,l,o);if(k){p.add(b.connectionId),q=f.error,r=f.status;continue}return f.response||(0,i.yj)(f.status,f.error)}}async function q(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function r(a){return await o(a)}},73024:a=>{a.exports=require("node:fs")},75924:(a,b,c)=>{let d;c.d(b,{Ch:()=>k,Cn:()=>p,Co:()=>z,Ic:()=>w,J5:()=>t,K:()=>u,NA:()=>C,Ok:()=>h,QH:()=>q,Wu:()=>B,buildKimiHeaders:()=>D,dw:()=>s,go:()=>j,iO:()=>A,j5:()=>x,nZ:()=>v,sX:()=>l,uR:()=>r,x0:()=>n,zv:()=>y});var e=c(21820),f=c(35024),g=c(74129);let h={hostname:"inference-api.nousresearch.com",chatCompletionsPath:"/v1/chat/completions",tags:["product=9router","client=9router","user=9router"]},i=f.xq["gemini-cli"]?.cliVersion,j=f.xq["gemini-cli"]?.apiClient,k=f.xq.codex?.cliVersion;function l(a="unknown"){let b;return`GeminiCLI/${i}/${a||"unknown"} (${(0,e.platform)()}; ${"ia32"===(b=(0,e.arch)())?"x86":b}; terminal)`}let m=f.xq.github?.copilot||{},n={VSCODE_VERSION:m.vscodeVersion,COPILOT_CHAT_VERSION:m.chatVersion,USER_AGENT:m.userAgent,API_VERSION:m.apiVersion};function o(){let a=(0,e.platform)(),b=(0,e.arch)();return"darwin"===a?"arm64"===b?2:1:"linux"===a?"arm64"===b?4:3:5*("win32"===a)}let p={ideType:9,platform:o(),pluginType:2},q="_ide",r="_ide",s=new Set(["Task","TaskOutput","TaskStop","TaskCreate","TaskGet","TaskUpdate","TaskList","Bash","Glob","Grep","Read","Edit","Write","NotebookEdit","WebFetch","WebSearch","AskUserQuestion","Skill","EnterPlanMode","ExitPlanMode"]),t=new Set(["browser_subagent","command_status","find_by_name","generate_image","grep_search","list_dir","list_resources","multi_replace_file_content","notify_user","read_resource","read_terminal","read_url_content","replace_file_content","run_command","search_web","send_command_input","task_boundary","view_content_chunk","view_file","write_to_file"]),u={"User-Agent":g.Of},v={"gemini-cli":{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"},antigravity:{loadCodeAssist:"https://cloudcode-pa.googleapis.com/v1internal:loadCodeAssist",onboardUser:"https://cloudcode-pa.googleapis.com/v1internal:onboardUser"}},w={"Content-Type":"application/json","User-Agent":"google-api-nodejs-client/9.15.1","X-Goog-Api-Client":"google-cloud-sdk vscode_cloudshelleditor/0.1","Client-Metadata":JSON.stringify({ideType:9,platform:o(),pluginType:2})},x={"Content-Type":"application/json","User-Agent":g.Of},y={ideType:9,platform:o(),pluginType:2},z="You are Claude Code, Anthropic's official CLI for Claude.",A=[{from:"You are a Claude agent, built on Anthropic's Claude Agent SDK.",to:""},{from:/You are Hermes(?: Agent)?(?:,\s*(?:an intelligent AI assistant|an AI assistant|an AI agent))?(?:,?\s*(?:built|created)\s+by\s+Nous Research)?\./gi,to:"You are an AI assistant."},{from:/^x-anthropic-billing-header:[^\n]*(?:\r?\n)*/gim,to:""},{from:/opencode/gi,to:a=>"OpenCode"===a?"Antigravity":"OPENCODE"===a?"ANTIGRAVITY":"antigravity"}],B=Object.fromEntries(Object.entries(f.sr).filter(([,a])=>a.refreshLeadMs).map(([a,b])=>[a,b.refreshLeadMs])),C={google:{token:"https://oauth2.googleapis.com/token",auth:"https://accounts.google.com/o/oauth2/auth"},openai:{token:f.sr.codex?.tokenUrl,auth:f.sr.codex?.authorizeUrl},anthropic:{token:f.sr.claude?.tokenUrl,auth:"https://api.anthropic.com/v1/oauth/authorize"},iflow:{token:f.sr.iflow?.tokenUrl,auth:f.sr.iflow?.authorizeUrl},github:{token:f.sr.github?.tokenUrl,auth:f.sr.github?.authorizeUrl,deviceCode:f.sr.github?.deviceCodeUrl}};function D(a){let b=(0,e.platform)(),f=(0,e.arch)(),g=`${b} ${f}`;"darwin"===b?g=`macOS ${f}`:"win32"===b?g=`Windows ${f}`:"linux"===b&&(g=`Linux ${f}`);let h="unknown";try{h=(0,e.hostname)()||"unknown"}catch{h="unknown"}let i="string"==typeof a&&a.trim()?a.trim():`kimi-${Date.now()}`;return{"X-Msh-Platform":"9router","X-Msh-Version":function(){if(d)return d;try{d=c(39006).rE||"0.0.0"}catch{d=process.env.npm_package_version||"0.0.0"}return d}(),"X-Msh-Device-Name":h,"X-Msh-Device-Model":g,"X-Msh-Device-Id":i}}},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},80099:a=>{a.exports=require("node:sqlite")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{a.exports=require("events")},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,9100,866,6070,9609,8920,24,7187,8623,8416,9604,238,5308,2822],()=>b(b.s=59321));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../../../cli/.build-home/.9router/db/backups/schema-0-to-1-0.5.20-20260710-131610/data.sqlite","../../../../../../../cli/.build-home/.9router/db/backups/schema-1-to-2-0.5.99-20261008-195023/data.sqlite","../../../../../../../cli/.build-home/.9router/db/backups/upgrade-0.5.18-to-0.5.20-0.5.20-20260707-130114/data.sqlite","../../../../../../../cli/.build-home/.9router/db/data.sqlite","../../../../../../../cli/.build-home/.9router/jwt-secret","../../../../../../../cli/.build-home/.9router/machine-id","../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/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/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/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/blocking-route-messages.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/instant-validation/boundary-tracking.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/segment-config/ensure-static.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.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/app-dir-module.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/route-cache-key.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/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.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/route-kind.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/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/instant-messages.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/react-browser-bailout.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/page-path/normalize-page-path.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/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.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","../../../../../../../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/1051.js","../../../../../chunks/1133.js","../../../../../chunks/1220.js","../../../../../chunks/1260.js","../../../../../chunks/1306.js","../../../../../chunks/1350.js","../../../../../chunks/1356.js","../../../../../chunks/1679.js","../../../../../chunks/1757.js","../../../../../chunks/1813.js","../../../../../chunks/1998.js","../../../../../chunks/2132.js","../../../../../chunks/2220.js","../../../../../chunks/2365.js","../../../../../chunks/238.js","../../../../../chunks/2380.js","../../../../../chunks/2391.js","../../../../../chunks/24.js","../../../../../chunks/2409.js","../../../../../chunks/241.js","../../../../../chunks/2416.js","../../../../../chunks/2430.js","../../../../../chunks/2578.js","../../../../../chunks/2598.js","../../../../../chunks/2750.js","../../../../../chunks/2760.js","../../../../../chunks/2822.js","../../../../../chunks/2970.js","../../../../../chunks/3016.js","../../../../../chunks/3225.js","../../../../../chunks/3449.js","../../../../../chunks/3459.js","../../../../../chunks/3535.js","../../../../../chunks/3546.js","../../../../../chunks/3593.js","../../../../../chunks/3697.js","../../../../../chunks/3726.js","../../../../../chunks/3943.js","../../../../../chunks/3966.js","../../../../../chunks/4055.js","../../../../../chunks/4096.js","../../../../../chunks/412.js","../../../../../chunks/4123.js","../../../../../chunks/4152.js","../../../../../chunks/4190.js","../../../../../chunks/4279.js","../../../../../chunks/4293.js","../../../../../chunks/436.js","../../../../../chunks/4480.js","../../../../../chunks/4730.js","../../../../../chunks/4739.js","../../../../../chunks/4780.js","../../../../../chunks/4882.js","../../../../../chunks/507.js","../../../../../chunks/5081.js","../../../../../chunks/5215.js","../../../../../chunks/5217.js","../../../../../chunks/5258.js","../../../../../chunks/5299.js","../../../../../chunks/5308.js","../../../../../chunks/5330.js","../../../../../chunks/5573.js","../../../../../chunks/5615.js","../../../../../chunks/5640.js","../../../../../chunks/595.js","../../../../../chunks/6070.js","../../../../../chunks/6140.js","../../../../../chunks/615.js","../../../../../chunks/6457.js","../../../../../chunks/6690.js","../../../../../chunks/6708.js","../../../../../chunks/6724.js","../../../../../chunks/6763.js","../../../../../chunks/6777.js","../../../../../chunks/6844.js","../../../../../chunks/6877.js","../../../../../chunks/6921.js","../../../../../chunks/698.js","../../../../../chunks/7066.js","../../../../../chunks/7121.js","../../../../../chunks/7187.js","../../../../../chunks/7247.js","../../../../../chunks/7373.js","../../../../../chunks/7525.js","../../../../../chunks/7552.js","../../../../../chunks/7557.js","../../../../../chunks/7716.js","../../../../../chunks/7774.js","../../../../../chunks/7801.js","../../../../../chunks/7828.js","../../../../../chunks/7911.js","../../../../../chunks/7965.js","../../../../../chunks/7995.js","../../../../../chunks/8128.js","../../../../../chunks/8251.js","../../../../../chunks/8271.js","../../../../../chunks/8292.js","../../../../../chunks/8332.js","../../../../../chunks/8402.js","../../../../../chunks/8416.js","../../../../../chunks/8499.js","../../../../../chunks/8520.js","../../../../../chunks/8623.js","../../../../../chunks/869.js","../../../../../chunks/8895.js","../../../../../chunks/8920.js","../../../../../chunks/9055.js","../../../../../chunks/9100.js","../../../../../chunks/9128.js","../../../../../chunks/915.js","../../../../../chunks/9489.js","../../../../../chunks/9604.js","../../../../../chunks/9609.js","../../../../../chunks/9696.js","../../../../../chunks/9745.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../../../../../cli/.build-home/.9router/db/backups/schema-0-to-1-0.5.20-20260710-131610/data.sqlite","../../../../../../../cli/.build-home/.9router/db/backups/schema-1-to-2-0.5.99-20261008-195023/data.sqlite","../../../../../../../cli/.build-home/.9router/db/backups/upgrade-0.5.18-to-0.5.20-0.5.20-20260707-130114/data.sqlite","../../../../../../../cli/.build-home/.9router/db/data.sqlite","../../../../../../../cli/.build-home/.9router/jwt-secret","../../../../../../../cli/.build-home/.9router/machine-id","../../../../../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../../../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../../../../../node_modules/@swc/helpers/esm/_interop_require_default.js","../../../../../../../node_modules/@swc/helpers/package.json","../../../../../../../node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../node_modules/better-sqlite3/lib/database.js","../../../../../../../node_modules/better-sqlite3/lib/index.js","../../../../../../../node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../node_modules/better-sqlite3/lib/util.js","../../../../../../../node_modules/better-sqlite3/package.json","../../../../../../../node_modules/bindings/bindings.js","../../../../../../../node_modules/bindings/package.json","../../../../../../../node_modules/file-uri-to-path/index.js","../../../../../../../node_modules/file-uri-to-path/package.json","../../../../../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../../../../../node_modules/next/dist/client/components/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/hash.js/sha256/256.js","../../../../../../../node_modules/next/dist/compiled/hash.js/sha256/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/blocking-route-messages.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/instant-validation/boundary-tracking.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/segment-config/ensure-static.js","../../../../../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../../../../../node_modules/next/dist/server/app-render/sync-io-messages.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/app-dir-module.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/route-cache-key.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/normalizers/built/app/app-pathname-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/normalizers.js","../../../../../../../node_modules/next/dist/server/normalizers/underscore-normalizer.js","../../../../../../../node_modules/next/dist/server/normalizers/wrap-normalizer-fn.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/route-kind.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/i18n/normalize-locale-path.js","../../../../../../../node_modules/next/dist/shared/lib/instant-messages.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/react-browser-bailout.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/page-path/normalize-page-path.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/router/utils/index.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/is-dynamic.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js","../../../../../../../node_modules/next/dist/shared/lib/router/utils/sorted-routes.js","../../../../../../../node_modules/next/dist/shared/lib/segment.js","../../../../../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../../../../../node_modules/next/dist/shared/lib/utils.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","../../../../../../../node_modules/undici/index.js","../../../../../../../node_modules/undici/lib/api/abort-signal.js","../../../../../../../node_modules/undici/lib/api/api-connect.js","../../../../../../../node_modules/undici/lib/api/api-pipeline.js","../../../../../../../node_modules/undici/lib/api/api-request.js","../../../../../../../node_modules/undici/lib/api/api-stream.js","../../../../../../../node_modules/undici/lib/api/api-upgrade.js","../../../../../../../node_modules/undici/lib/api/index.js","../../../../../../../node_modules/undici/lib/api/readable.js","../../../../../../../node_modules/undici/lib/cache/memory-cache-store.js","../../../../../../../node_modules/undici/lib/cache/sqlite-cache-store.js","../../../../../../../node_modules/undici/lib/core/connect.js","../../../../../../../node_modules/undici/lib/core/constants.js","../../../../../../../node_modules/undici/lib/core/diagnostics.js","../../../../../../../node_modules/undici/lib/core/errors.js","../../../../../../../node_modules/undici/lib/core/request.js","../../../../../../../node_modules/undici/lib/core/socks5-client.js","../../../../../../../node_modules/undici/lib/core/socks5-utils.js","../../../../../../../node_modules/undici/lib/core/symbols.js","../../../../../../../node_modules/undici/lib/core/tree.js","../../../../../../../node_modules/undici/lib/core/util.js","../../../../../../../node_modules/undici/lib/dispatcher/agent.js","../../../../../../../node_modules/undici/lib/dispatcher/balanced-pool.js","../../../../../../../node_modules/undici/lib/dispatcher/client-h1.js","../../../../../../../node_modules/undici/lib/dispatcher/client-h2.js","../../../../../../../node_modules/undici/lib/dispatcher/client.js","../../../../../../../node_modules/undici/lib/dispatcher/dispatcher-base.js","../../../../../../../node_modules/undici/lib/dispatcher/dispatcher.js","../../../../../../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js","../../../../../../../node_modules/undici/lib/dispatcher/fixed-queue.js","../../../../../../../node_modules/undici/lib/dispatcher/h2c-client.js","../../../../../../../node_modules/undici/lib/dispatcher/pool-base.js","../../../../../../../node_modules/undici/lib/dispatcher/pool.js","../../../../../../../node_modules/undici/lib/dispatcher/proxy-agent.js","../../../../../../../node_modules/undici/lib/dispatcher/retry-agent.js","../../../../../../../node_modules/undici/lib/dispatcher/round-robin-pool.js","../../../../../../../node_modules/undici/lib/dispatcher/socks5-proxy-agent.js","../../../../../../../node_modules/undici/lib/encoding/index.js","../../../../../../../node_modules/undici/lib/global.js","../../../../../../../node_modules/undici/lib/handler/cache-handler.js","../../../../../../../node_modules/undici/lib/handler/cache-revalidation-handler.js","../../../../../../../node_modules/undici/lib/handler/decorator-handler.js","../../../../../../../node_modules/undici/lib/handler/deduplication-handler.js","../../../../../../../node_modules/undici/lib/handler/redirect-handler.js","../../../../../../../node_modules/undici/lib/handler/retry-handler.js","../../../../../../../node_modules/undici/lib/handler/unwrap-handler.js","../../../../../../../node_modules/undici/lib/handler/wrap-handler.js","../../../../../../../node_modules/undici/lib/interceptor/cache.js","../../../../../../../node_modules/undici/lib/interceptor/decompress.js","../../../../../../../node_modules/undici/lib/interceptor/deduplicate.js","../../../../../../../node_modules/undici/lib/interceptor/dns.js","../../../../../../../node_modules/undici/lib/interceptor/dump.js","../../../../../../../node_modules/undici/lib/interceptor/redirect.js","../../../../../../../node_modules/undici/lib/interceptor/response-error.js","../../../../../../../node_modules/undici/lib/interceptor/retry.js","../../../../../../../node_modules/undici/lib/llhttp/constants.js","../../../../../../../node_modules/undici/lib/llhttp/llhttp-wasm.js","../../../../../../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js","../../../../../../../node_modules/undici/lib/llhttp/utils.js","../../../../../../../node_modules/undici/lib/mock/mock-agent.js","../../../../../../../node_modules/undici/lib/mock/mock-call-history.js","../../../../../../../node_modules/undici/lib/mock/mock-client.js","../../../../../../../node_modules/undici/lib/mock/mock-errors.js","../../../../../../../node_modules/undici/lib/mock/mock-interceptor.js","../../../../../../../node_modules/undici/lib/mock/mock-pool.js","../../../../../../../node_modules/undici/lib/mock/mock-symbols.js","../../../../../../../node_modules/undici/lib/mock/mock-utils.js","../../../../../../../node_modules/undici/lib/mock/pending-interceptors-formatter.js","../../../../../../../node_modules/undici/lib/mock/snapshot-agent.js","../../../../../../../node_modules/undici/lib/mock/snapshot-recorder.js","../../../../../../../node_modules/undici/lib/mock/snapshot-utils.js","../../../../../../../node_modules/undici/lib/util/cache.js","../../../../../../../node_modules/undici/lib/util/date.js","../../../../../../../node_modules/undici/lib/util/promise.js","../../../../../../../node_modules/undici/lib/util/runtime-features.js","../../../../../../../node_modules/undici/lib/util/stats.js","../../../../../../../node_modules/undici/lib/util/timers.js","../../../../../../../node_modules/undici/lib/web/cache/cache.js","../../../../../../../node_modules/undici/lib/web/cache/cachestorage.js","../../../../../../../node_modules/undici/lib/web/cache/util.js","../../../../../../../node_modules/undici/lib/web/cookies/constants.js","../../../../../../../node_modules/undici/lib/web/cookies/index.js","../../../../../../../node_modules/undici/lib/web/cookies/parse.js","../../../../../../../node_modules/undici/lib/web/cookies/util.js","../../../../../../../node_modules/undici/lib/web/eventsource/eventsource-stream.js","../../../../../../../node_modules/undici/lib/web/eventsource/eventsource.js","../../../../../../../node_modules/undici/lib/web/eventsource/util.js","../../../../../../../node_modules/undici/lib/web/fetch/body.js","../../../../../../../node_modules/undici/lib/web/fetch/constants.js","../../../../../../../node_modules/undici/lib/web/fetch/data-url.js","../../../../../../../node_modules/undici/lib/web/fetch/formdata-parser.js","../../../../../../../node_modules/undici/lib/web/fetch/formdata.js","../../../../../../../node_modules/undici/lib/web/fetch/global.js","../../../../../../../node_modules/undici/lib/web/fetch/headers.js","../../../../../../../node_modules/undici/lib/web/fetch/index.js","../../../../../../../node_modules/undici/lib/web/fetch/request.js","../../../../../../../node_modules/undici/lib/web/fetch/response.js","../../../../../../../node_modules/undici/lib/web/fetch/util.js","../../../../../../../node_modules/undici/lib/web/infra/index.js","../../../../../../../node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js","../../../../../../../node_modules/undici/lib/web/webidl/index.js","../../../../../../../node_modules/undici/lib/web/websocket/connection.js","../../../../../../../node_modules/undici/lib/web/websocket/constants.js","../../../../../../../node_modules/undici/lib/web/websocket/events.js","../../../../../../../node_modules/undici/lib/web/websocket/frame.js","../../../../../../../node_modules/undici/lib/web/websocket/permessage-deflate.js","../../../../../../../node_modules/undici/lib/web/websocket/receiver.js","../../../../../../../node_modules/undici/lib/web/websocket/sender.js","../../../../../../../node_modules/undici/lib/web/websocket/stream/websocketerror.js","../../../../../../../node_modules/undici/lib/web/websocket/stream/websocketstream.js","../../../../../../../node_modules/undici/lib/web/websocket/util.js","../../../../../../../node_modules/undici/lib/web/websocket/websocket.js","../../../../../../../node_modules/undici/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/1051.js","../../../../../chunks/1133.js","../../../../../chunks/1220.js","../../../../../chunks/1260.js","../../../../../chunks/1297.js","../../../../../chunks/1306.js","../../../../../chunks/1350.js","../../../../../chunks/1356.js","../../../../../chunks/1679.js","../../../../../chunks/1757.js","../../../../../chunks/1813.js","../../../../../chunks/1866.js","../../../../../chunks/1998.js","../../../../../chunks/2220.js","../../../../../chunks/238.js","../../../../../chunks/2391.js","../../../../../chunks/24.js","../../../../../chunks/2409.js","../../../../../chunks/241.js","../../../../../chunks/2416.js","../../../../../chunks/2430.js","../../../../../chunks/2578.js","../../../../../chunks/2598.js","../../../../../chunks/2750.js","../../../../../chunks/2760.js","../../../../../chunks/2822.js","../../../../../chunks/2840.js","../../../../../chunks/2970.js","../../../../../chunks/3016.js","../../../../../chunks/3225.js","../../../../../chunks/3449.js","../../../../../chunks/3459.js","../../../../../chunks/3535.js","../../../../../chunks/3546.js","../../../../../chunks/3593.js","../../../../../chunks/3697.js","../../../../../chunks/3726.js","../../../../../chunks/3943.js","../../../../../chunks/3966.js","../../../../../chunks/4055.js","../../../../../chunks/4096.js","../../../../../chunks/412.js","../../../../../chunks/4123.js","../../../../../chunks/4152.js","../../../../../chunks/4190.js","../../../../../chunks/4279.js","../../../../../chunks/4293.js","../../../../../chunks/4730.js","../../../../../chunks/4739.js","../../../../../chunks/4780.js","../../../../../chunks/4882.js","../../../../../chunks/507.js","../../../../../chunks/5081.js","../../../../../chunks/5215.js","../../../../../chunks/5217.js","../../../../../chunks/5258.js","../../../../../chunks/5299.js","../../../../../chunks/5308.js","../../../../../chunks/5330.js","../../../../../chunks/5573.js","../../../../../chunks/5615.js","../../../../../chunks/5640.js","../../../../../chunks/595.js","../../../../../chunks/6070.js","../../../../../chunks/6140.js","../../../../../chunks/615.js","../../../../../chunks/6297.js","../../../../../chunks/6457.js","../../../../../chunks/6576.js","../../../../../chunks/6690.js","../../../../../chunks/6708.js","../../../../../chunks/6724.js","../../../../../chunks/6763.js","../../../../../chunks/6777.js","../../../../../chunks/6844.js","../../../../../chunks/6877.js","../../../../../chunks/6921.js","../../../../../chunks/698.js","../../../../../chunks/7066.js","../../../../../chunks/7121.js","../../../../../chunks/7187.js","../../../../../chunks/7247.js","../../../../../chunks/7373.js","../../../../../chunks/7525.js","../../../../../chunks/7552.js","../../../../../chunks/7716.js","../../../../../chunks/7801.js","../../../../../chunks/7828.js","../../../../../chunks/7843.js","../../../../../chunks/7911.js","../../../../../chunks/7965.js","../../../../../chunks/8251.js","../../../../../chunks/8271.js","../../../../../chunks/8292.js","../../../../../chunks/8332.js","../../../../../chunks/8402.js","../../../../../chunks/8416.js","../../../../../chunks/8520.js","../../../../../chunks/8623.js","../../../../../chunks/866.js","../../../../../chunks/869.js","../../../../../chunks/8895.js","../../../../../chunks/8896.js","../../../../../chunks/8920.js","../../../../../chunks/9055.js","../../../../../chunks/9100.js","../../../../../chunks/9128.js","../../../../../chunks/915.js","../../../../../chunks/9198.js","../../../../../chunks/9489.js","../../../../../chunks/9604.js","../../../../../chunks/9609.js","../../../../../chunks/9696.js","../../../../../chunks/9745.js","../../../../../webpack-runtime.js","route_client-reference-manifest.js","../../../../../../../node_modules/undici/docs/docs/api/Agent.md","../../../../../../../node_modules/undici/docs/docs/api/api-lifecycle.md","../../../../../../../node_modules/undici/docs/docs/api/BalancedPool.md","../../../../../../../node_modules/undici/docs/docs/api/CacheStorage.md","../../../../../../../node_modules/undici/docs/docs/api/CacheStore.md","../../../../../../../node_modules/undici/docs/docs/api/Client.md","../../../../../../../node_modules/undici/docs/docs/api/ClientStats.md","../../../../../../../node_modules/undici/docs/docs/api/Connector.md","../../../../../../../node_modules/undici/docs/docs/api/ContentType.md","../../../../../../../node_modules/undici/docs/docs/api/Cookies.md","../../../../../../../node_modules/undici/docs/docs/api/Debug.md","../../../../../../../node_modules/undici/docs/docs/api/DiagnosticsChannel.md","../../../../../../../node_modules/undici/docs/docs/api/Dispatcher.md","../../../../../../../node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md","../../../../../../../node_modules/undici/docs/docs/api/Errors.md","../../../../../../../node_modules/undici/docs/docs/api/EventSource.md","../../../../../../../node_modules/undici/docs/docs/api/Fetch.md","../../../../../../../node_modules/undici/docs/docs/api/GlobalInstallation.md","../../../../../../../node_modules/undici/docs/docs/api/H2CClient.md","../../../../../../../node_modules/undici/docs/docs/api/MockAgent.md","../../../../../../../node_modules/undici/docs/docs/api/MockCallHistory.md","../../../../../../../node_modules/undici/docs/docs/api/MockCallHistoryLog.md","../../../../../../../node_modules/undici/docs/docs/api/MockClient.md","../../../../../../../node_modules/undici/docs/docs/api/MockErrors.md","../../../../../../../node_modules/undici/docs/docs/api/MockPool.md","../../../../../../../node_modules/undici/docs/docs/api/Pool.md","../../../../../../../node_modules/undici/docs/docs/api/PoolStats.md","../../../../../../../node_modules/undici/docs/docs/api/ProxyAgent.md","../../../../../../../node_modules/undici/docs/docs/api/RedirectHandler.md","../../../../../../../node_modules/undici/docs/docs/api/RetryAgent.md","../../../../../../../node_modules/undici/docs/docs/api/RetryHandler.md","../../../../../../../node_modules/undici/docs/docs/api/RoundRobinPool.md","../../../../../../../node_modules/undici/docs/docs/api/SnapshotAgent.md","../../../../../../../node_modules/undici/docs/docs/api/Socks5ProxyAgent.md","../../../../../../../node_modules/undici/docs/docs/api/Util.md","../../../../../../../node_modules/undici/docs/docs/api/WebSocket.md","../../../../../../../node_modules/undici/docs/docs/best-practices/client-certificate.md","../../../../../../../node_modules/undici/docs/docs/best-practices/crawling.md","../../../../../../../node_modules/undici/docs/docs/best-practices/mocking-request.md","../../../../../../../node_modules/undici/docs/docs/best-practices/proxy.md","../../../../../../../node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md","../../../../../../../node_modules/undici/docs/docs/best-practices/writing-tests.md","../../../../../../../node_modules/undici/index-fetch.js","../../../../../../../node_modules/undici/index.d.ts","../../../../../../../node_modules/undici/lib/llhttp/.gitkeep","../../../../../../../node_modules/undici/lib/llhttp/constants.d.ts","../../../../../../../node_modules/undici/lib/llhttp/utils.d.ts","../../../../../../../node_modules/undici/lib/web/fetch/LICENSE","../../../../../../../node_modules/undici/lib/web/subresource-integrity/Readme.md","../../../../../../../node_modules/undici/LICENSE","../../../../../../../node_modules/undici/README.md","../../../../../../../node_modules/undici/scripts/strip-comments.js","../../../../../../../node_modules/undici/types/agent.d.ts","../../../../../../../node_modules/undici/types/api.d.ts","../../../../../../../node_modules/undici/types/balanced-pool.d.ts","../../../../../../../node_modules/undici/types/cache-interceptor.d.ts","../../../../../../../node_modules/undici/types/cache.d.ts","../../../../../../../node_modules/undici/types/client-stats.d.ts","../../../../../../../node_modules/undici/types/client.d.ts","../../../../../../../node_modules/undici/types/connector.d.ts","../../../../../../../node_modules/undici/types/content-type.d.ts","../../../../../../../node_modules/undici/types/cookies.d.ts","../../../../../../../node_modules/undici/types/diagnostics-channel.d.ts","../../../../../../../node_modules/undici/types/dispatcher.d.ts","../../../../../../../node_modules/undici/types/env-http-proxy-agent.d.ts","../../../../../../../node_modules/undici/types/errors.d.ts","../../../../../../../node_modules/undici/types/eventsource.d.ts","../../../../../../../node_modules/undici/types/fetch.d.ts","../../../../../../../node_modules/undici/types/formdata.d.ts","../../../../../../../node_modules/undici/types/global-dispatcher.d.ts","../../../../../../../node_modules/undici/types/global-origin.d.ts","../../../../../../../node_modules/undici/types/h2c-client.d.ts","../../../../../../../node_modules/undici/types/handlers.d.ts","../../../../../../../node_modules/undici/types/header.d.ts","../../../../../../../node_modules/undici/types/index.d.ts","../../../../../../../node_modules/undici/types/interceptors.d.ts","../../../../../../../node_modules/undici/types/mock-agent.d.ts","../../../../../../../node_modules/undici/types/mock-call-history.d.ts","../../../../../../../node_modules/undici/types/mock-client.d.ts","../../../../../../../node_modules/undici/types/mock-errors.d.ts","../../../../../../../node_modules/undici/types/mock-interceptor.d.ts","../../../../../../../node_modules/undici/types/mock-pool.d.ts","../../../../../../../node_modules/undici/types/patch.d.ts","../../../../../../../node_modules/undici/types/pool-stats.d.ts","../../../../../../../node_modules/undici/types/pool.d.ts","../../../../../../../node_modules/undici/types/proxy-agent.d.ts","../../../../../../../node_modules/undici/types/readable.d.ts","../../../../../../../node_modules/undici/types/README.md","../../../../../../../node_modules/undici/types/retry-agent.d.ts","../../../../../../../node_modules/undici/types/retry-handler.d.ts","../../../../../../../node_modules/undici/types/round-robin-pool.d.ts","../../../../../../../node_modules/undici/types/snapshot-agent.d.ts","../../../../../../../node_modules/undici/types/socks5-proxy-agent.d.ts","../../../../../../../node_modules/undici/types/util.d.ts","../../../../../../../node_modules/undici/types/utility.d.ts","../../../../../../../node_modules/undici/types/webidl.d.ts","../../../../../../../node_modules/undici/types/websocket.d.ts"]}
@@ -1,7 +1,7 @@
1
- "use strict";(()=>{var a={};a.id=1910,a.ids=[1910,7247],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")},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},11859:(a,b,c)=>{c.r(b),c.d(b,{OPTIONS:()=>aa,POST:()=>ab,maxDuration:()=>_});var d=c(80238),e=c(89718),f=c(38775),g=c(27811),h=c(4573),i=c(43659);class j extends Error{constructor(a,b){super(a),this.name="GeminiLiveError",this.status=b||502}}function k(a,b){let c="function"==typeof a?.get?a.get(b):null;return"string"==typeof c&&c.trim()?c.trim():""}function l(a,b,c){let d=Number(k(a,b));return Number.isFinite(d)&&d>0?Math.min(d,3e5):c}async function m({cfg:a,file:b,model:c,token:d,formData:e,mimeType:f}){var g;let i,n,o=globalThis.WebSocket;if(!o)throw new j("Gemini Live transport needs global WebSocket (Node >= 22)",502);let p=h.Buffer.from(await b.arrayBuffer());if(!p.length)throw new j("Empty audio file",400);let q=k(e,"prompt")||"Transcribe the spoken audio verbatim.",r=k(e,"language"),s=l(e,"setup_timeout_ms",1e4),t=l(e,"turn_timeout_ms",6e4),u=k(e,"system_instruction")||(r?`${q} Language: ${r}.`:q),v=(g=a.baseUrl,(i=new URL(g)).protocol="wss:",i.pathname.startsWith("/ws/")||(i.pathname=`/ws/api${i.pathname}`),n=i.toString().replace(/\/+$/,""),`${n}/${encodeURIComponent(c)}:bidiGenerateContent?key=${encodeURIComponent(d||"")}`);return await new Promise((a,b)=>{let d="",e=[],g=!1,h=null,i=null,k=null,l=0,m=0,n=1,q=(a,b)=>{h&&clearTimeout(h),h=setTimeout(()=>x(new j(b,504)),a)},r=()=>{if(h&&(clearTimeout(h),h=null),i&&(clearTimeout(i),i=null),k)try{(k.readyState===o.OPEN||k.readyState===o.CONNECTING)&&k.close(1e3)}catch{}},w=()=>{g||(g=!0,r(),a({text:d,chunks:e}))},x=a=>{g||(g=!0,r(),b(a))},y=a=>{if(k.readyState!==o.OPEN)return!1;try{k.send(JSON.stringify(a))}catch{return!1}return!0},z=()=>{let a=++l;try{k=new o(v)}catch{x(new j("Gemini Live websocket connection failed",502));return}!function(a,{onOpen:b,onMessage:c,onError:d,onClose:e}){if("function"==typeof a.addEventListener){a.addEventListener("open",b),a.addEventListener("message",c),a.addEventListener("error",d),a.addEventListener("close",e);return}a.onopen=b,a.onmessage=c,a.onerror=d,a.onclose=e}(k,{onOpen:()=>{g||a!==l||(q(s,"Gemini Live timed out waiting for setupComplete"),y({setup:{model:`models/${c}`,generationConfig:{responseModalities:["TEXT"],inputAudioTranscription:{}},systemInstruction:{parts:[{text:u}]}}}))},onMessage:b=>{if(g||a!==l)return;let c=function(a){try{return JSON.parse("string"==typeof a?a:String(a))}catch{return null}}(b?.data);if(!c)return;if(c.error){let a=c.error;x(new j(`Gemini Live error${a.status?` (${a.status})`:""}: ${a.message||"unknown"}`,502));return}if(c.goAway)return void(a=>{if(g||i||n<=0)return;let b=Date.parse("string"==typeof a?.time?a.time:"");i=setTimeout(()=>{if(i=null,!g){n--,l++;try{k?.close(1e3)}catch{}z()}},Number.isFinite(b)?Math.max(0,Math.min(b-Date.now(),s)):0)})(c.goAway);let h=c.serverContent;if(!h)return;let o="string"==typeof h.inputTranscription?.text?h.inputTranscription.text:"";if(o.trim()&&(d+=o,e.push(o)),h.setupComplete){q(t,"Gemini Live transcription timed out"),(()=>{for(let a=m;a<p.length;a+=16384){if(!y({realtimeInput:{mediaChunks:[{mimeType:f,data:p.subarray(a,a+16384).toString("base64")}]}}))return void x(new j("Gemini Live socket closed while streaming audio",502));m=Math.min(a+16384,p.length)}y({clientContent:{turns:[{parts:[{text:u}]}],turnComplete:!0}})})();return}h.turnComplete&&w()},onError:()=>{g||a!==l||x(new j("Gemini Live websocket connection failed",502))},onClose:b=>{g||a!==l||(d.trim()?w():x(new j(`Gemini Live socket closed before completion${b?.code?` (code ${b.code})`:""}`,502)))}})};z()})}var n=c(44708),o=c.n(n),p=c(57075),q=c(77598),r=c(39609),s=c(91879),t=c(51455),u=c(48161),v=c(76760),w=c(31421);function x(a,b){return Object.assign(Error(b),{status:a})}async function y(a,b,c,d=413){if(!a)throw x(400,"Missing request body");let e=a.getReader(),f=[],g=0,h=()=>{e.cancel().catch(()=>{})};c.addEventListener("abort",h,{once:!0});try{for(c.throwIfAborted();;){let{done:a,value:h}=await e.read();if(c.throwIfAborted(),a)break;if((g+=h.byteLength)>b)throw x(d,"Body exceeds size limit");f.push(Buffer.from(h))}return Buffer.concat(f,g)}finally{c.removeEventListener("abort",h),await e.cancel().catch(()=>{}),e.releaseLock()}}async function z(a,b){let c=await (0,t.mkdtemp)((0,v.join)((0,u.tmpdir)(),"9router-codex-stt-"));try{let d=(0,v.join)(c,"input");await (0,t.writeFile)(d,Buffer.from(await a.arrayBuffer()),{mode:384});let e=await new Promise((a,c)=>{let e=(0,w.spawn)("ffmpeg",["-nostdin","-hide_banner","-loglevel","error","-threads","1","-protocol_whitelist","file,pipe","-format_whitelist","wav,mp3,mov,matroska,webm,ogg,flac,aac","-i",d,"-map","0:a:0","-vn","-t",String(120.01),"-threads","1","-ac","1","-ar","24000","-c:a","pcm_s16le","-f","s16le","pipe:1"],{stdio:["ignore","pipe","ignore"],signal:b,timeout:15e3,killSignal:"SIGKILL"}),f=[],g=0,h=!1;e.stdout.on("data",a=>{(g+=a.length)>576e4?(h=!0,e.kill("SIGKILL")):f.push(a)}),e.on("error",a=>c(x("ENOENT"===a.code?503:504,"ENOENT"===a.code?"ffmpeg is required for transcription":"Audio conversion timed out"))),e.on("close",b=>{h?c(x(400,"Audio duration exceeds 120 seconds")):0!==b||0===g?c(x(400,"Invalid or unsupported audio")):a(Buffer.concat(f,g))})}),f=Buffer.alloc(44+e.length);return f.write("RIFF"),f.writeUInt32LE(f.length-8,4),f.write("WAVEfmt ",8),f.writeUInt32LE(16,16),f.writeUInt16LE(1,20),f.writeUInt16LE(1,22),f.writeUInt32LE(24e3,24),f.writeUInt32LE(48e3,28),f.writeUInt16LE(2,32),f.writeUInt16LE(16,34),f.write("data",36),f.writeUInt32LE(e.length,40),e.copy(f,44),new Blob([f],{type:"audio/wav"})}finally{await (0,t.rm)(c,{recursive:!0,force:!0})}}let A=0,B=(a,b)=>Object.assign(Error(b),{status:a}),C={"Access-Control-Allow-Origin":"*","Cache-Control":"no-store"};function D(a,{headers:b,body:c,signal:d}){return new Promise((e,f)=>{d?.throwIfAborted();let g=o().request(a,{method:"POST",headers:b,signal:d},a=>{let b=()=>d?.removeEventListener("abort",c),c=()=>a.destroy(d.reason||Error("Aborted"));d?.addEventListener("abort",c,{once:!0}),a.once("close",b),a.once("end",b),d?.aborted&&c();let f=new Headers;for(let[b,c]of Object.entries(a.headers))null!=c&&f.set(b,Array.isArray(c)?c.join(", "):String(c));let g=a.statusCode||502;[204,205,304].includes(g)?(a.resume(),e(new Response(null,{status:g,headers:f}))):e(new Response(p.Readable.toWeb(a),{status:g,headers:f}))});g.once("error",f),g.end(c)})}async function E({formData:a,credentials:b,signal:c,proxyOptions:d}){let e=!1,f=AbortSignal.any([...c?[c]:[],AbortSignal.timeout(6e4)]);try{let c,g=b?.providerSpecificData||{},h=g.workspaceId||g.chatgptAccountId||g.accountId;if(b?.authType!=="oauth"||"string"!=typeof b.accessToken||!/^[\x21-\x7e]+$/.test(b.accessToken)||"string"!=typeof h||!/^[\x21-\x7e]{1,256}$/.test(h))throw B(401,"A valid Codex OAuth account is required");for(let[b]of a)if(!["model","file","response_format","language","prompt","temperature"].includes(b)||1!==a.getAll(b).length)throw B(400,"Unsupported or duplicate form field");let j=a.get("response_format")||"json";if(!["json","text"].includes(j))throw B(400,"Only json and text response formats are supported");for(let b of["language","prompt","temperature"])if(a.has(b)&&""!==a.get(b))throw B(400,`${b} is not supported by Codex transcription`);let k=a.get("file");if(!(k instanceof Blob)||!k.size)throw B(400,"A non-empty audio file is required");if(k.size>0x1900000)throw B(413,"Audio exceeds 25 MiB");if(d?.source==="error")throw B(503,"Account proxy is unavailable");if(A>=2)throw B(503,"Transcription capacity reached");A++,e=!0,f.throwIfAborted();let l=await z(k,f),m=`----9router-codex-${(0,q.randomUUID)()}`,n=Buffer.concat([Buffer.from(`--${m}\r
1
+ "use strict";(()=>{var a={};a.id=1910,a.ids=[1910,7247],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1708:a=>{a.exports=require("node:process")},1932:a=>{a.exports=require("url")},4151:(a,b,c)=>{c.d(b,{l:()=>h});var d=c(4573);class e extends Error{constructor(a,b){super(a),this.name="GeminiLiveError",this.status=b||502}}function f(a,b){let c="function"==typeof a?.get?a.get(b):null;return"string"==typeof c&&c.trim()?c.trim():""}function g(a,b,c){let d=Number(f(a,b));return Number.isFinite(d)&&d>0?Math.min(d,3e5):c}async function h({cfg:a,file:b,model:c,token:i,formData:j,mimeType:k}){var l;let m,n,o=globalThis.WebSocket;if(!o)throw new e("Gemini Live transport needs global WebSocket (Node >= 22)",502);let p=d.Buffer.from(await b.arrayBuffer());if(!p.length)throw new e("Empty audio file",400);let q=f(j,"prompt")||"Transcribe the spoken audio verbatim.",r=f(j,"language"),s=g(j,"setup_timeout_ms",1e4),t=g(j,"turn_timeout_ms",6e4),u=f(j,"system_instruction")||(r?`${q} Language: ${r}.`:q),v=(l=a.baseUrl,(m=new URL(l)).protocol="wss:",m.pathname.startsWith("/ws/")||(m.pathname=`/ws/api${m.pathname}`),n=m.toString().replace(/\/+$/,""),`${n}/${encodeURIComponent(c)}:bidiGenerateContent?key=${encodeURIComponent(i||"")}`);return await new Promise((a,b)=>{let d="",f=[],g=!1,h=null,i=null,j=null,l=0,m=0,n=1,q=(a,b)=>{h&&clearTimeout(h),h=setTimeout(()=>x(new e(b,504)),a)},r=()=>{if(h&&(clearTimeout(h),h=null),i&&(clearTimeout(i),i=null),j)try{(j.readyState===o.OPEN||j.readyState===o.CONNECTING)&&j.close(1e3)}catch{}},w=()=>{g||(g=!0,r(),a({text:d,chunks:f}))},x=a=>{g||(g=!0,r(),b(a))},y=a=>{if(j.readyState!==o.OPEN)return!1;try{j.send(JSON.stringify(a))}catch{return!1}return!0},z=()=>{let a=++l;try{j=new o(v)}catch{x(new e("Gemini Live websocket connection failed",502));return}!function(a,{onOpen:b,onMessage:c,onError:d,onClose:e}){if("function"==typeof a.addEventListener){a.addEventListener("open",b),a.addEventListener("message",c),a.addEventListener("error",d),a.addEventListener("close",e);return}a.onopen=b,a.onmessage=c,a.onerror=d,a.onclose=e}(j,{onOpen:()=>{g||a!==l||(q(s,"Gemini Live timed out waiting for setupComplete"),y({setup:{model:`models/${c}`,generationConfig:{responseModalities:["TEXT"],inputAudioTranscription:{}},systemInstruction:{parts:[{text:u}]}}}))},onMessage:b=>{if(g||a!==l)return;let c=function(a){try{return JSON.parse("string"==typeof a?a:String(a))}catch{return null}}(b?.data);if(!c)return;if(c.error){let a=c.error;x(new e(`Gemini Live error${a.status?` (${a.status})`:""}: ${a.message||"unknown"}`,502));return}if(c.goAway)return void(a=>{if(g||i||n<=0)return;let b=Date.parse("string"==typeof a?.time?a.time:"");i=setTimeout(()=>{if(i=null,!g){n--,l++;try{j?.close(1e3)}catch{}z()}},Number.isFinite(b)?Math.max(0,Math.min(b-Date.now(),s)):0)})(c.goAway);let h=c.serverContent;if(!h)return;let o="string"==typeof h.inputTranscription?.text?h.inputTranscription.text:"";if(o.trim()&&(d+=o,f.push(o)),h.setupComplete){q(t,"Gemini Live transcription timed out"),(()=>{for(let a=m;a<p.length;a+=16384){if(!y({realtimeInput:{mediaChunks:[{mimeType:k,data:p.subarray(a,a+16384).toString("base64")}]}}))return void x(new e("Gemini Live socket closed while streaming audio",502));m=Math.min(a+16384,p.length)}y({clientContent:{turns:[{parts:[{text:u}]}],turnComplete:!0}})})();return}h.turnComplete&&w()},onError:()=>{g||a!==l||x(new e("Gemini Live websocket connection failed",502))},onClose:b=>{g||a!==l||(d.trim()?w():x(new e(`Gemini Live socket closed before completion${b?.code?` (code ${b.code})`:""}`,502)))}})};z()})}},4573:a=>{a.exports=require("node:buffer")},7066:a=>{a.exports=require("node:tty")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},9956:a=>{a.exports=require("undici")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},14985:a=>{a.exports=require("dns")},19225:(a,b,c)=>{a.exports=c(44870)},19566:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{w:()=>r});var e=c(80238),f=c(89718),g=c(38775),h=c(27811),i=c(34479),j=c(43659),k=c(41004),l=c(40615),m=c(7803),n=c(67828),o=c(39326),p=a([i]);i=(p.then?(await p)():p)[0];let s=new Set(Object.entries(l.AI_PROVIDERS).filter(([,a])=>a.serviceKinds?.includes("stt")&&!a.noAuth&&a.sttConfig?.authType!=="none").map(([a])=>a));async function q(a,b){try{let c=(await (0,f.uv)()).find(c=>c&&"stt"===c.type&&c.providerAlias===a&&c.id===b&&"string"==typeof c.transport&&c.transport.trim());return c?c.transport.trim():null}catch{return null}}async function r(a){let b;try{b=await a.formData()}catch{return(0,j.yj)(k.gx.BAD_REQUEST,"Invalid multipart form data")}let c=b.get("model");if(m.request("POST",`/v1/audio/transcriptions | ${c}`),(await (0,f.mt)()).requireApiKey){let b=(0,e.Tr)(a);if(!b)return(0,j.yj)(k.gx.UNAUTHORIZED,"Missing API key");if(!await (0,e.kI)(b))return(0,j.yj)(k.gx.UNAUTHORIZED,"Invalid API key")}if(!c)return(0,j.yj)(k.gx.BAD_REQUEST,"Missing model");if(!b.get("file"))return(0,j.yj)(k.gx.BAD_REQUEST,"Missing required field: file");let d=await (0,g.mA)(c);if(!d.provider)return(0,j.yj)(k.gx.BAD_REQUEST,"Invalid model format");let{provider:p,model:r}=d;if("codex"===p&&"transcribe"!==r)return(0,j.yj)(400,"Use model cx/transcribe for Codex STT");let t=await (0,h.QU)(await (0,h.TM)(a),c,p,r);if(t)return t;m.info("ROUTING",`Provider: ${p}, Model: ${r}`);let u=await q(p,r);if(!s.has(p)){let a=await (0,i.p)({provider:p,model:r,formData:b,sttConfig:l.AI_PROVIDERS[p]?.sttConfig,transport:u});return a.success?a.response:(0,j.yj)(a.status||k.gx.BAD_GATEWAY,a.error||"STT failed")}let v=new Set,w=null,x=null;for(;;){let c,d=await (0,e.c1)(p,v,r);if(!d||d.allRateLimited){if(d?.allRateLimited){let a=w||d.lastError||"Unavailable",b=x||Number(d.lastErrorCode)||k.gx.SERVICE_UNAVAILABLE;return(0,j.wO)(b,`[${p}/${r}] ${a}`,d.retryAfter,d.retryAfterHuman)}if(0===v.size)return(0,j.yj)(k.gx.BAD_REQUEST,`No credentials for provider: ${p}`);return(0,j.yj)(x||k.gx.SERVICE_UNAVAILABLE,w||"All accounts unavailable")}m.info("AUTH",`\x1b[32mUsing ${p} account: ${d.connectionName}\x1b[0m`);try{let f="codex"===p;f&&(d=await (0,n.checkAndRefreshToken)(p,d));let g=f?await (0,o.B)(d._connection?.providerSpecificData||d.providerSpecificData):void 0,h={provider:p,model:r,formData:b,credentials:d,sttConfig:l.AI_PROVIDERS[p]?.sttConfig,transport:u,signal:a.signal,proxyOptions:g};if(c=await (0,i.p)(h),f&&401===c.status&&d.refreshToken&&!a.signal.aborted){let a=d.accessToken;(d=await (0,n.checkAndRefreshToken)(p,d,{force:!0})).accessToken!==a&&(c=await (0,i.p)({...h,credentials:d}))}if(c.success)return f&&await (0,e.Pt)(d.connectionId,d,r),c.response}catch{return(0,j.yj)(k.gx.BAD_GATEWAY,"STT credential or transport failure")}if(a.signal.aborted)return(0,j.yj)(504,"Transcription cancelled");if("codex"===p&&[400,413,504].includes(c.status))return c.response||(0,j.yj)(c.status,c.error);let{shouldFallback:f}=await (0,e.vk)(d.connectionId,c.status,c.error,p,r);if(f){v.add(d.connectionId),w=c.error,x=c.status;continue}return c.response||(0,j.yj)(c.status,c.error)}}d()}catch(a){d(a)}})},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")},33873:a=>{a.exports=require("path")},34479:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{p:()=>w});var e=c(4573),f=c(43659),g=c(4151),h=c(50342),i=c(57247),j=c(41004);let a=globalThis.FormData;try{let b=await Promise.resolve().then(c.t.bind(c,9956,23));b?.FormData&&(a=b.FormData)}catch{}let x=a;function k(a,b){if(!b)return{};switch(a.authHeader){case"bearer":default:return{Authorization:`Bearer ${b}`};case"token":return{Authorization:`Token ${b}`};case"x-api-key":return{"x-api-key":b};case"xi-api-key":return{"xi-api-key":b};case"key":return{Authorization:`Key ${b}`}}}function l(a){let b=(a.type||"").toLowerCase();if(b.startsWith("audio/"))return b;let c="string"==typeof a.name?a.name.toLowerCase():"";return({mp3:"audio/mpeg",mp4:"audio/mp4",m4a:"audio/mp4",wav:"audio/wav",ogg:"audio/ogg",flac:"audio/flac",webm:"audio/webm",aac:"audio/aac",opus:"audio/opus"})[c.includes(".")?c.split(".").pop():""]||"application/octet-stream"}async function m(a){let b="";try{b=await a.text()}catch{}let c=b||`Upstream error (${a.status})`;try{let a=JSON.parse(b);c=a?.error?.message||a?.error||a?.message||c}catch{}return(0,f.A1)(a.status,"string"==typeof c?c:JSON.stringify(c))}async function n(a,b,c,d,e){let f=new URL(a.baseUrl);f.searchParams.set("model",c),f.searchParams.set("smart_format","true"),f.searchParams.set("punctuate","true");let g=e.get("language");"string"==typeof g&&g.trim()?f.searchParams.set("language",g.trim()):f.searchParams.set("detect_language","true");let h=await b.arrayBuffer(),i=await fetch(f,{method:"POST",headers:{...k(a,d),"Content-Type":l(b)},body:h});if(!i.ok)return m(i);let j=await i.json();return v({text:j.results?.channels?.[0]?.alternatives?.[0]?.transcript??""})}async function o(a,b,c,d){let e=k(a,d),g=await b.arrayBuffer(),h=await fetch("https://api.assemblyai.com/v2/upload",{method:"POST",headers:{...e,"Content-Type":"application/octet-stream"},body:g});if(!h.ok)return m(h);let{upload_url:i}=await h.json(),j=await fetch(a.baseUrl,{method:"POST",headers:{...e,"Content-Type":"application/json"},body:JSON.stringify({audio_url:i,speech_models:[c],language_detection:!0})});if(!j.ok)return m(j);let{id:l}=await j.json(),n=Date.now();for(;Date.now()-n<12e4;){await new Promise(a=>setTimeout(a,2e3));let b=await fetch(`${a.baseUrl}/${l}`,{headers:e});if(!b.ok)continue;let c=await b.json();if("completed"===c.status)return v({text:c.text||""});if("error"===c.status)return(0,f.A1)(500,c.error||"AssemblyAI failed")}return(0,f.A1)(504,"AssemblyAI timeout after 120s")}async function p(a,b,c,d){let e=new x;e.append("file",b,b.name||"audio.wav"),e.append("model",c);let f=await fetch(a.baseUrl,{method:"POST",headers:k(a,d),body:e});if(!f.ok)return m(f);let g=await f.json();return v({text:g.text||g.transcript||""})}async function q(a,b,c,d,f){let g=await b.arrayBuffer(),h=e.Buffer.from(g).toString("base64"),i=l(b),j=f.get("language"),k=f.get("prompt"),n=k&&"string"==typeof k&&k.trim()?k.trim():"Generate a transcript of the speech. Return only the transcribed text, no commentary.";"string"==typeof j&&j.trim()&&(n+=` Language: ${j.trim()}.`);let o=`${a.baseUrl}/${c}:generateContent?key=${d}`,p=await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contents:[{parts:[{text:n},{inline_data:{mime_type:i,data:h}}]}]})});if(!p.ok)return m(p);let q=await p.json();return v({text:q?.candidates?.[0]?.content?.parts?.map(a=>a.text).filter(Boolean).join("")||""})}async function r(a,b,c,d,e){let f=new x;f.append("file",b,b.name||"audio.wav"),f.append("model_id",c);let g=a=>{let b=e?.get?.(a);return"string"==typeof b?b.trim():""},h=g("language");h&&f.append("language_code",h);let i=g("timestamps_granularity");["word","character","none"].includes(i)&&f.append("timestamps_granularity",i),"true"===g("tag_audio_events")&&f.append("tag_audio_events","true");let j=Number(g("num_speakers"));"true"===g("diarize")?f.append("diarize","true"):Number.isInteger(j)&&j>=1&&j<=32&&f.append("num_speakers",String(j));let l=g("response_format").toLowerCase()||"json",n=a.responseFormats||{},o={srt:n.subtitles,vtt:n.captions}[l],p=o||("verbose_json"===l?n.segments:null);p&&f.append("additional_formats",JSON.stringify([{format:p}]));let q=await fetch(a.baseUrl,{method:"POST",headers:k(a,d),body:f});if(!q.ok)return m(q);let r=await q.json(),t="string"==typeof r?.text?r.text:"",u=function(a,b){if(!b||!Array.isArray(a?.additional_formats))return null;let c=a.additional_formats.find(a=>a?.format===b)?.content;if("string"!=typeof c)return null;if("seg_json"!==b)return c;try{return JSON.parse(c)}catch{return null}}(r,p);return o?s(u??t):"verbose_json"===l?v({text:t,language:r?.language_code??null,...r?.language_probability!=null?{language_probability:r.language_probability}:{},...Array.isArray(r?.words)?{words:r.words}:{},...r?.num_speakers!=null?{num_speakers:r.num_speakers}:{},...u?{segments:u}:{}}):"text"===l?s(t):v({text:t})}function s(a){return{success:!0,response:new Response(a,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8","Access-Control-Allow-Origin":"*"}})}}async function t(a,b,c,d){if(c.includes("..")||c.includes("//"))return(0,f.A1)(400,"Invalid model ID");let e=`${a.baseUrl.replace(/\/+$/,"")}/${c}`,g=await b.arrayBuffer(),h=await fetch(e,{method:"POST",headers:{...k(a,d),"Content-Type":l(b)},body:g});return h.ok?v({text:(await h.json()).text||""}):m(h)}async function u(a,b,c,d,e){let f=new x;for(let a of(f.append("file",b,b.name||"audio.wav"),f.append("model",c),["language","prompt","response_format","temperature"])){let b=e.get(a);null!=b&&""!==b&&f.append(a,b)}let g=await fetch(a.baseUrl,{method:"POST",headers:k(a,d),body:f});if(!g.ok)return m(g);let h=g.headers.get("content-type")||"application/json";return{success:!0,response:new Response(await g.text(),{status:200,headers:{"Content-Type":h,"Access-Control-Allow-Origin":"*"}})}}function v(a){return{success:!0,response:new Response(JSON.stringify(a),{status:200,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}async function w({provider:a,model:b,formData:c,credentials:d,sttConfig:e,transport:k,signal:m,proxyOptions:s}){let x=c.get("file");if(!x)return(0,f.A1)(j.gx.BAD_REQUEST,"Missing required field: file");let y=e;if(!y)return(0,f.A1)(j.gx.BAD_REQUEST,`Provider '${a}' does not support STT`);if("codex"===a&&"codex-transcribe"===y.format)return(0,h.f)({formData:c,credentials:d,signal:m,proxyOptions:s});let z=d?.providerSpecificData?.baseUrl;z&&(y={...y,baseUrl:String(z).replace(/\/+$/,"")});let A="none"===y.authType?null:d?.apiKey||d?.accessToken;if("none"!==y.authType&&!A)return(0,f.A1)(j.gx.UNAUTHORIZED,`No credentials for STT provider: ${a}`);let B="string"==typeof k&&k.trim()?k.trim():function(a,b){let c=i.Xg[a]||a,d=i.PROVIDER_MODELS[c]||i.PROVIDER_MODELS[a];if(!Array.isArray(d))return null;let e=d.find(a=>a&&a.id===b&&"stt"===(a.kind||"llm"));return("string"==typeof e?.transport?e.transport.trim():"")||null}(a,b);try{switch(B||y.format){case"gemini-live":{let a=await (0,g.l)({cfg:y,file:x,model:b,token:A,formData:c,mimeType:l(x)}),d="function"==typeof c?.get?String(c.get("response_format")??"").trim().toLowerCase():"";if("verbose_json"===d)return v({text:a.text,segments:a.chunks.map((a,b)=>({id:b,text:a}))});return v({text:a.text})}case"deepgram":return await n(y,x,b,A,c);case"assemblyai":return await o(y,x,b,A);case"nvidia-asr":return await p(y,x,b,A);case"huggingface-asr":return await t(y,x,b,A);case"gemini-stt":return await q(y,x,b,A,c);case"elevenlabs-stt":return await r(y,x,b,A,c);default:return await u(y,x,b,A,c)}}catch(a){return(0,f.A1)(a.status||j.gx.BAD_GATEWAY,a.message||"STT request failed")}}d()}catch(a){d(a)}},1)},38522:a=>{a.exports=require("node:zlib")},40610:a=>{a.exports=require("node:dns")},44708:a=>{a.exports=require("node:https")},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")},48346:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{OPTIONS:()=>g,POST:()=>h,maxDuration:()=>i});var e=c(19566),f=a([e]);e=(f.then?(await f)():f)[0];let i=300;async function g(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function h(a){return await (0,e.w)(a)}d()}catch(a){d(a)}})},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},50342:(a,b,c)=>{c.d(b,{f:()=>v});var d=c(44708),e=c.n(d),f=c(57075),g=c(77598),h=c(39609),i=c(91879),j=c(51455),k=c(48161),l=c(76760),m=c(31421);function n(a,b){return Object.assign(Error(b),{status:a})}async function o(a,b,c,d=413){if(!a)throw n(400,"Missing request body");let e=a.getReader(),f=[],g=0,h=()=>{e.cancel().catch(()=>{})};c.addEventListener("abort",h,{once:!0});try{for(c.throwIfAborted();;){let{done:a,value:h}=await e.read();if(c.throwIfAborted(),a)break;if((g+=h.byteLength)>b)throw n(d,"Body exceeds size limit");f.push(Buffer.from(h))}return Buffer.concat(f,g)}finally{c.removeEventListener("abort",h),await e.cancel().catch(()=>{}),e.releaseLock()}}async function p(a,b){let c=await (0,j.mkdtemp)((0,l.join)((0,k.tmpdir)(),"9router-codex-stt-"));try{let d=(0,l.join)(c,"input");await (0,j.writeFile)(d,Buffer.from(await a.arrayBuffer()),{mode:384});let e=await new Promise((a,c)=>{let e=(0,m.spawn)("ffmpeg",["-nostdin","-hide_banner","-loglevel","error","-threads","1","-protocol_whitelist","file,pipe","-format_whitelist","wav,mp3,mov,matroska,webm,ogg,flac,aac","-i",d,"-map","0:a:0","-vn","-t",String(120.01),"-threads","1","-ac","1","-ar","24000","-c:a","pcm_s16le","-f","s16le","pipe:1"],{stdio:["ignore","pipe","ignore"],signal:b,timeout:15e3,killSignal:"SIGKILL"}),f=[],g=0,h=!1;e.stdout.on("data",a=>{(g+=a.length)>576e4?(h=!0,e.kill("SIGKILL")):f.push(a)}),e.on("error",a=>c(n("ENOENT"===a.code?503:504,"ENOENT"===a.code?"ffmpeg is required for transcription":"Audio conversion timed out"))),e.on("close",b=>{h?c(n(400,"Audio duration exceeds 120 seconds")):0!==b||0===g?c(n(400,"Invalid or unsupported audio")):a(Buffer.concat(f,g))})}),f=Buffer.alloc(44+e.length);return f.write("RIFF"),f.writeUInt32LE(f.length-8,4),f.write("WAVEfmt ",8),f.writeUInt32LE(16,16),f.writeUInt16LE(1,20),f.writeUInt16LE(1,22),f.writeUInt32LE(24e3,24),f.writeUInt32LE(48e3,28),f.writeUInt16LE(2,32),f.writeUInt16LE(16,34),f.write("data",36),f.writeUInt32LE(e.length,40),e.copy(f,44),new Blob([f],{type:"audio/wav"})}finally{await (0,j.rm)(c,{recursive:!0,force:!0})}}var q=c(43659);let r=0,s=(a,b)=>Object.assign(Error(b),{status:a}),t={"Access-Control-Allow-Origin":"*","Cache-Control":"no-store"};function u(a,{headers:b,body:c,signal:d}){return new Promise((g,h)=>{d?.throwIfAborted();let i=e().request(a,{method:"POST",headers:b,signal:d},a=>{let b=()=>d?.removeEventListener("abort",c),c=()=>a.destroy(d.reason||Error("Aborted"));d?.addEventListener("abort",c,{once:!0}),a.once("close",b),a.once("end",b),d?.aborted&&c();let e=new Headers;for(let[b,c]of Object.entries(a.headers))null!=c&&e.set(b,Array.isArray(c)?c.join(", "):String(c));let h=a.statusCode||502;[204,205,304].includes(h)?(a.resume(),g(new Response(null,{status:h,headers:e}))):g(new Response(f.Readable.toWeb(a),{status:h,headers:e}))});i.once("error",h),i.end(c)})}async function v({formData:a,credentials:b,signal:c,proxyOptions:d}){let e=!1,f=AbortSignal.any([...c?[c]:[],AbortSignal.timeout(6e4)]);try{let c,j=b?.providerSpecificData||{},k=j.workspaceId||j.chatgptAccountId||j.accountId;if(b?.authType!=="oauth"||"string"!=typeof b.accessToken||!/^[\x21-\x7e]+$/.test(b.accessToken)||"string"!=typeof k||!/^[\x21-\x7e]{1,256}$/.test(k))throw s(401,"A valid Codex OAuth account is required");for(let[b]of a)if(!["model","file","response_format","language","prompt","temperature"].includes(b)||1!==a.getAll(b).length)throw s(400,"Unsupported or duplicate form field");let l=a.get("response_format")||"json";if(!["json","text"].includes(l))throw s(400,"Only json and text response formats are supported");for(let b of["language","prompt","temperature"])if(a.has(b)&&""!==a.get(b))throw s(400,`${b} is not supported by Codex transcription`);let m=a.get("file");if(!(m instanceof Blob)||!m.size)throw s(400,"A non-empty audio file is required");if(m.size>0x1900000)throw s(413,"Audio exceeds 25 MiB");if(d?.source==="error")throw s(503,"Account proxy is unavailable");if(r>=2)throw s(503,"Transcription capacity reached");r++,e=!0,f.throwIfAborted();let n=await p(m,f),v=`----9router-codex-${(0,g.randomUUID)()}`,w=Buffer.concat([Buffer.from(`--${v}\r
2
2
  Content-Disposition: form-data; name="file"; filename="audio.wav"\r
3
3
  Content-Type: audio/wav\r
4
4
  \r
5
- `),Buffer.from(await l.arrayBuffer()),Buffer.from(`\r
6
- --${m}--\r
7
- `)]),o=await (0,r.proxyAwareFetch)(s.A.sttConfig.baseUrl,{method:"POST",redirect:"error",signal:f,body:n,strictTls:!0,directFetch:D,headers:{Authorization:`Bearer ${b.accessToken}`,"ChatGPT-Account-Id":h,"User-Agent":s.A.transport.headers["User-Agent"],"Content-Type":`multipart/form-data; boundary=${m}`,"Content-Length":String(n.length)}},d);if(!o.ok)return await o.body?.cancel(),(0,i.A1)(o.status>=400&&o.status<=599?o.status:502,"Codex transcription failed");let p=await y(o.body,1048576,f,502);try{c=JSON.parse(p.toString("utf8"))}catch{throw B(502,"Invalid transcription response")}if("string"!=typeof c?.text||c.text.length>25e4)throw B(502,"Invalid transcription response");return{success:!0,response:"text"===j?new Response(c.text,{headers:{...C,"Content-Type":"text/plain; charset=utf-8"}}):Response.json({text:c.text},{headers:C})}}catch(a){return(0,i.A1)(a.status||(f.aborted?504:502),a.status?a.message:"Codex transcription failed")}finally{e&&A--}}var F=c(57247),G=c(41004);function H(a,b){if(!b)return{};switch(a.authHeader){case"bearer":default:return{Authorization:`Bearer ${b}`};case"token":return{Authorization:`Token ${b}`};case"x-api-key":return{"x-api-key":b};case"xi-api-key":return{"xi-api-key":b};case"key":return{Authorization:`Key ${b}`}}}function I(a){let b=(a.type||"").toLowerCase();if(b.startsWith("audio/"))return b;let c="string"==typeof a.name?a.name.toLowerCase():"";return({mp3:"audio/mpeg",mp4:"audio/mp4",m4a:"audio/mp4",wav:"audio/wav",ogg:"audio/ogg",flac:"audio/flac",webm:"audio/webm",aac:"audio/aac",opus:"audio/opus"})[c.includes(".")?c.split(".").pop():""]||"application/octet-stream"}async function J(a){let b="";try{b=await a.text()}catch{}let c=b||`Upstream error (${a.status})`;try{let a=JSON.parse(b);c=a?.error?.message||a?.error||a?.message||c}catch{}return(0,i.A1)(a.status,"string"==typeof c?c:JSON.stringify(c))}async function K(a,b,c,d,e){let f=new URL(a.baseUrl);f.searchParams.set("model",c),f.searchParams.set("smart_format","true"),f.searchParams.set("punctuate","true");let g=e.get("language");"string"==typeof g&&g.trim()?f.searchParams.set("language",g.trim()):f.searchParams.set("detect_language","true");let h=await b.arrayBuffer(),i=await fetch(f,{method:"POST",headers:{...H(a,d),"Content-Type":I(b)},body:h});if(!i.ok)return J(i);let j=await i.json();return S({text:j.results?.channels?.[0]?.alternatives?.[0]?.transcript??""})}async function L(a,b,c,d){let e=H(a,d),f=await b.arrayBuffer(),g=await fetch("https://api.assemblyai.com/v2/upload",{method:"POST",headers:{...e,"Content-Type":"application/octet-stream"},body:f});if(!g.ok)return J(g);let{upload_url:h}=await g.json(),j=await fetch(a.baseUrl,{method:"POST",headers:{...e,"Content-Type":"application/json"},body:JSON.stringify({audio_url:h,speech_models:[c],language_detection:!0})});if(!j.ok)return J(j);let{id:k}=await j.json(),l=Date.now();for(;Date.now()-l<12e4;){await new Promise(a=>setTimeout(a,2e3));let b=await fetch(`${a.baseUrl}/${k}`,{headers:e});if(!b.ok)continue;let c=await b.json();if("completed"===c.status)return S({text:c.text||""});if("error"===c.status)return(0,i.A1)(500,c.error||"AssemblyAI failed")}return(0,i.A1)(504,"AssemblyAI timeout after 120s")}async function M(a,b,c,d){let e=new FormData;e.append("file",b,b.name||"audio.wav"),e.append("model",c);let f=await fetch(a.baseUrl,{method:"POST",headers:H(a,d),body:e});if(!f.ok)return J(f);let g=await f.json();return S({text:g.text||g.transcript||""})}async function N(a,b,c,d,e){let f=await b.arrayBuffer(),g=h.Buffer.from(f).toString("base64"),i=I(b),j=e.get("language"),k=e.get("prompt"),l=k&&"string"==typeof k&&k.trim()?k.trim():"Generate a transcript of the speech. Return only the transcribed text, no commentary.";"string"==typeof j&&j.trim()&&(l+=` Language: ${j.trim()}.`);let m=`${a.baseUrl}/${c}:generateContent?key=${d}`,n=await fetch(m,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({contents:[{parts:[{text:l},{inline_data:{mime_type:i,data:g}}]}]})});if(!n.ok)return J(n);let o=await n.json();return S({text:o?.candidates?.[0]?.content?.parts?.map(a=>a.text).filter(Boolean).join("")||""})}async function O(a,b,c,d,e){let f=new FormData;f.append("file",b,b.name||"audio.wav"),f.append("model_id",c);let g=a=>{let b=e?.get?.(a);return"string"==typeof b?b.trim():""},h=g("language");h&&f.append("language_code",h);let i=g("timestamps_granularity");["word","character","none"].includes(i)&&f.append("timestamps_granularity",i),"true"===g("tag_audio_events")&&f.append("tag_audio_events","true");let j=Number(g("num_speakers"));"true"===g("diarize")?f.append("diarize","true"):Number.isInteger(j)&&j>=1&&j<=32&&f.append("num_speakers",String(j));let k=g("response_format").toLowerCase()||"json",l=a.responseFormats||{},m={srt:l.subtitles,vtt:l.captions}[k],n=m||("verbose_json"===k?l.segments:null);n&&f.append("additional_formats",JSON.stringify([{format:n}]));let o=await fetch(a.baseUrl,{method:"POST",headers:H(a,d),body:f});if(!o.ok)return J(o);let p=await o.json(),q="string"==typeof p?.text?p.text:"",r=function(a,b){if(!b||!Array.isArray(a?.additional_formats))return null;let c=a.additional_formats.find(a=>a?.format===b)?.content;if("string"!=typeof c)return null;if("seg_json"!==b)return c;try{return JSON.parse(c)}catch{return null}}(p,n);return m?P(r??q):"verbose_json"===k?S({text:q,language:p?.language_code??null,...p?.language_probability!=null?{language_probability:p.language_probability}:{},...Array.isArray(p?.words)?{words:p.words}:{},...p?.num_speakers!=null?{num_speakers:p.num_speakers}:{},...r?{segments:r}:{}}):"text"===k?P(q):S({text:q})}function P(a){return{success:!0,response:new Response(a,{status:200,headers:{"Content-Type":"text/plain; charset=utf-8","Access-Control-Allow-Origin":"*"}})}}async function Q(a,b,c,d){if(c.includes("..")||c.includes("//"))return(0,i.A1)(400,"Invalid model ID");let e=`${a.baseUrl.replace(/\/+$/,"")}/${c}`,f=await b.arrayBuffer(),g=await fetch(e,{method:"POST",headers:{...H(a,d),"Content-Type":I(b)},body:f});return g.ok?S({text:(await g.json()).text||""}):J(g)}async function R(a,b,c,d,e){let f=new FormData;for(let a of(f.append("file",b,b.name||"audio.wav"),f.append("model",c),["language","prompt","response_format","temperature"])){let b=e.get(a);null!=b&&""!==b&&f.append(a,b)}let g=await fetch(a.baseUrl,{method:"POST",headers:H(a,d),body:f});if(!g.ok)return J(g);let h=g.headers.get("content-type")||"application/json";return{success:!0,response:new Response(await g.text(),{status:200,headers:{"Content-Type":h,"Access-Control-Allow-Origin":"*"}})}}function S(a){return{success:!0,response:new Response(JSON.stringify(a),{status:200,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*"}})}}async function T({provider:a,model:b,formData:c,credentials:d,sttConfig:e,transport:f,signal:g,proxyOptions:h}){let j=c.get("file");if(!j)return(0,i.A1)(G.gx.BAD_REQUEST,"Missing required field: file");let k=e;if(!k)return(0,i.A1)(G.gx.BAD_REQUEST,`Provider '${a}' does not support STT`);if("codex"===a&&"codex-transcribe"===k.format)return E({formData:c,credentials:d,signal:g,proxyOptions:h});let l=d?.providerSpecificData?.baseUrl;l&&(k={...k,baseUrl:String(l).replace(/\/+$/,"")});let n="none"===k.authType?null:d?.apiKey||d?.accessToken;if("none"!==k.authType&&!n)return(0,i.A1)(G.gx.UNAUTHORIZED,`No credentials for STT provider: ${a}`);let o="string"==typeof f&&f.trim()?f.trim():function(a,b){let c=F.Xg[a]||a,d=F.PROVIDER_MODELS[c]||F.PROVIDER_MODELS[a];if(!Array.isArray(d))return null;let e=d.find(a=>a&&a.id===b&&"stt"===(a.kind||"llm"));return("string"==typeof e?.transport?e.transport.trim():"")||null}(a,b);try{switch(o||k.format){case"gemini-live":{let a=await m({cfg:k,file:j,model:b,token:n,formData:c,mimeType:I(j)}),d="function"==typeof c?.get?String(c.get("response_format")??"").trim().toLowerCase():"";if("verbose_json"===d)return S({text:a.text,segments:a.chunks.map((a,b)=>({id:b,text:a}))});return S({text:a.text})}case"deepgram":return await K(k,j,b,n,c);case"assemblyai":return await L(k,j,b,n);case"nvidia-asr":return await M(k,j,b,n);case"huggingface-asr":return await Q(k,j,b,n);case"gemini-stt":return await N(k,j,b,n,c);case"elevenlabs-stt":return await O(k,j,b,n,c);default:return await R(k,j,b,n,c)}}catch(a){return(0,i.A1)(a.status||G.gx.BAD_GATEWAY,a.message||"STT request failed")}}var U=c(40615),V=c(7803),W=c(67828),X=c(39326);let Y=new Set(Object.entries(U.AI_PROVIDERS).filter(([,a])=>a.serviceKinds?.includes("stt")&&!a.noAuth&&a.sttConfig?.authType!=="none").map(([a])=>a));async function Z(a,b){try{let c=(await (0,e.uv)()).find(c=>c&&"stt"===c.type&&c.providerAlias===a&&c.id===b&&"string"==typeof c.transport&&c.transport.trim());return c?c.transport.trim():null}catch{return null}}async function $(a){let b;try{b=await a.formData()}catch{return(0,i.yj)(G.gx.BAD_REQUEST,"Invalid multipart form data")}let c=b.get("model");if(V.request("POST",`/v1/audio/transcriptions | ${c}`),(await (0,e.mt)()).requireApiKey){let b=(0,d.Tr)(a);if(!b)return(0,i.yj)(G.gx.UNAUTHORIZED,"Missing API key");if(!await (0,d.kI)(b))return(0,i.yj)(G.gx.UNAUTHORIZED,"Invalid API key")}if(!c)return(0,i.yj)(G.gx.BAD_REQUEST,"Missing model");if(!b.get("file"))return(0,i.yj)(G.gx.BAD_REQUEST,"Missing required field: file");let h=await (0,f.mA)(c);if(!h.provider)return(0,i.yj)(G.gx.BAD_REQUEST,"Invalid model format");let{provider:j,model:k}=h;if("codex"===j&&"transcribe"!==k)return(0,i.yj)(400,"Use model cx/transcribe for Codex STT");let l=await (0,g.QU)(await (0,g.TM)(a),c,j,k);if(l)return l;V.info("ROUTING",`Provider: ${j}, Model: ${k}`);let m=await Z(j,k);if(!Y.has(j)){let a=await T({provider:j,model:k,formData:b,sttConfig:U.AI_PROVIDERS[j]?.sttConfig,transport:m});return a.success?a.response:(0,i.yj)(a.status||G.gx.BAD_GATEWAY,a.error||"STT failed")}let n=new Set,o=null,p=null;for(;;){let c,e=await (0,d.c1)(j,n,k);if(!e||e.allRateLimited){if(e?.allRateLimited){let a=o||e.lastError||"Unavailable",b=p||Number(e.lastErrorCode)||G.gx.SERVICE_UNAVAILABLE;return(0,i.wO)(b,`[${j}/${k}] ${a}`,e.retryAfter,e.retryAfterHuman)}if(0===n.size)return(0,i.yj)(G.gx.BAD_REQUEST,`No credentials for provider: ${j}`);return(0,i.yj)(p||G.gx.SERVICE_UNAVAILABLE,o||"All accounts unavailable")}V.info("AUTH",`\x1b[32mUsing ${j} account: ${e.connectionName}\x1b[0m`);try{let f="codex"===j;f&&(e=await (0,W.checkAndRefreshToken)(j,e));let g=f?await (0,X.B)(e._connection?.providerSpecificData||e.providerSpecificData):void 0,h={provider:j,model:k,formData:b,credentials:e,sttConfig:U.AI_PROVIDERS[j]?.sttConfig,transport:m,signal:a.signal,proxyOptions:g};if(c=await T(h),f&&401===c.status&&e.refreshToken&&!a.signal.aborted){let a=e.accessToken;(e=await (0,W.checkAndRefreshToken)(j,e,{force:!0})).accessToken!==a&&(c=await T({...h,credentials:e}))}if(c.success)return f&&await (0,d.Pt)(e.connectionId,e,k),c.response}catch{return(0,i.yj)(G.gx.BAD_GATEWAY,"STT credential or transport failure")}if(a.signal.aborted)return(0,i.yj)(504,"Transcription cancelled");if("codex"===j&&[400,413,504].includes(c.status))return c.response||(0,i.yj)(c.status,c.error);let{shouldFallback:f}=await (0,d.vk)(e.connectionId,c.status,c.error,j,k);if(f){n.add(e.connectionId),o=c.error,p=c.status;continue}return c.response||(0,i.yj)(c.status,c.error)}}let _=300;async function aa(){return new Response(null,{headers:{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"POST, OPTIONS","Access-Control-Allow-Headers":"*"}})}async function ab(a){return await $(a)}},14985:a=>{a.exports=require("dns")},16698:a=>{a.exports=require("node:async_hooks")},19225:(a,b,c)=>{a.exports=c(44870)},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")},41692:a=>{a.exports=require("node:tls")},41792:a=>{a.exports=require("node:querystring")},43501:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/audio/transcriptions/route",pathname:"/api/v1/audio/transcriptions",filename:"route",bundlePath:"app/api/v1/audio/transcriptions/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/9router/src/app/api/v1/audio/transcriptions/route.js",nextConfigOutput:"standalone",userland:()=>c(11859),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/audio/transcriptions/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.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==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},44708:a=>{a.exports=require("node:https")},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")},50122:(a,b,c)=>{c.d(b,{k:()=>e});let d=[];for(let a=0;a<256;++a)d.push((a+256).toString(16).slice(1));function e(a,b=0){return(d[a[b+0]]+d[a[b+1]]+d[a[b+2]]+d[a[b+3]]+"-"+d[a[b+4]]+d[a[b+5]]+"-"+d[a[b+6]]+d[a[b+7]]+"-"+d[a[b+8]]+d[a[b+9]]+"-"+d[a[b+10]]+d[a[b+11]]+d[a[b+12]]+d[a[b+13]]+d[a[b+14]]+d[a[b+15]]).toLowerCase()}},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")},57247:(a,b,c)=>{c.d(b,{KC:()=>t,OA:()=>p,PROVIDER_MODELS:()=>e.vq,SM:()=>j,V2:()=>q,Xg:()=>s,cY:()=>u,ez:()=>o,fZ:()=>k,kt:()=>r,ux:()=>n});var d=c(8499),e=c(26070),f=c(99511),g=c(59096),h=c(14170);let i=a=>!a||["oc","opencode","ocg","opencode-go","ocz","opencode-zen"].includes(a);function j(a){return e.vq[a]||[]}function k(a){let b=e.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]);function m(a,b,c){if(!a)return;let d="string"==typeof b?b.replace(/\([^()]+\)\s*$/,"").trim():b,e=a.find(a=>a.id===b||a.id===d);if(e)return e;if(!l.has(c))return;let g=(0,f.Kq)(d);if(g!==d)return a.find(a=>a.id===g)}function n(a,b){if(i(a)&&(0,g.nh)(b))return h.h.OPENAI_RESPONSES;let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.gr)(d):i(a)&&(0,g.i8)(b)?.targetFormat||null}function o(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.ec)(d):i(a)?(0,g.i8)(b)?.supportedFormats||[h.h.OPENAI]:null}function p(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?.kind||d?.type||null}function q(a,b){return m(e.vq[a],b,a)||null}function r(a,b,c=null){let d="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,f=d?d[0]:"",h=f?b.slice(0,d.index).trim():b,i=e.vq[a],j=f?f.slice(1,-1).trim().toLowerCase():"",k="xhigh"===j||"max"===j?"high":"minimal"===j?"low":j;if(!k&&c&&"object"==typeof c){let a=c.reasoning_effort||c.output_config?.effort||("object"==typeof c.reasoning?c.reasoning?.effort:null);if("string"==typeof a&&a){let b=a.toLowerCase().trim();k="xhigh"===b||"max"===b?"high":"minimal"===b?"low":b}else if(c.thinking&&"object"==typeof c.thinking){let a=Number(c.thinking.budget_tokens);Number.isFinite(a)&&a>0&&(k=a>16384?"high":a<=4096?"low":"medium")}}let l=k?`${h}-${k}`:null,n=l&&m(i,l,a)||m(i,h,a),o=n?.upstreamModelId||n?.id;if(o){let a=o.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?o.slice(0,a.index).trim():o)+(f||(b&&k?`(${k})`:b))}return"cx"===a&&"string"==typeof h&&h.endsWith(g.d5)?h.slice(0,-g.d5.length)+f:h+f}Object.fromEntries(d.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias]));let s=Object.fromEntries(d.default.map(a=>[a.id,a.alias||a.id]));function t(a){let b=s[a]||a;return e.vq[b]||[]}function u(a,b){return(0,f.g5)(m(e.vq[a],b,a))}},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},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")},80099:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},87997:a=>{a.exports=require("node:timers")},91645:a=>{a.exports=require("net")},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{a.exports=require("events")},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,9100,8499,6070,436,3943,7187,8416,7828,9604,238],()=>b(b.s=43501));module.exports=c})();
5
+ `),Buffer.from(await n.arrayBuffer()),Buffer.from(`\r
6
+ --${v}--\r
7
+ `)]),x=await (0,h.proxyAwareFetch)(i.A.sttConfig.baseUrl,{method:"POST",redirect:"error",signal:f,body:w,strictTls:!0,directFetch:u,headers:{Authorization:`Bearer ${b.accessToken}`,"ChatGPT-Account-Id":k,"User-Agent":i.A.transport.headers["User-Agent"],"Content-Type":`multipart/form-data; boundary=${v}`,"Content-Length":String(w.length)}},d);if(!x.ok)return await x.body?.cancel(),(0,q.A1)(x.status>=400&&x.status<=599?x.status:502,"Codex transcription failed");let y=await o(x.body,1048576,f,502);try{c=JSON.parse(y.toString("utf8"))}catch{throw s(502,"Invalid transcription response")}if("string"!=typeof c?.text||c.text.length>25e4)throw s(502,"Invalid transcription response");return{success:!0,response:"text"===l?new Response(c.text,{headers:{...t,"Content-Type":"text/plain; charset=utf-8"}}):Response.json({text:c.text},{headers:t})}}catch(a){return(0,q.A1)(a.status||(f.aborted?504:502),a.status?a.message:"Codex transcription failed")}finally{e&&r--}}},51455:a=>{a.exports=require("node:fs/promises")},55511:a=>{a.exports=require("crypto")},55591:a=>{a.exports=require("https")},57075:a=>{a.exports=require("node:stream")},57247:(a,b,c)=>{c.d(b,{KC:()=>t,OA:()=>p,PROVIDER_MODELS:()=>e.vq,SM:()=>j,V2:()=>q,Xg:()=>s,cY:()=>u,ez:()=>o,fZ:()=>k,kt:()=>r,ux:()=>n});var d=c(40866),e=c(26070),f=c(99511),g=c(59096),h=c(14170);let i=a=>!a||["oc","opencode","ocg","opencode-go","ocz","opencode-zen"].includes(a);function j(a){return e.vq[a]||[]}function k(a){let b=e.vq[a];return b?.[0]?.id||null}let l=new Set(["kr","kiro"]);function m(a,b,c){if(!a)return;let d="string"==typeof b?b.replace(/\([^()]+\)\s*$/,"").trim():b,e=a.find(a=>a.id===b||a.id===d);if(e)return e;if(!l.has(c))return;let g=(0,f.Kq)(d);if(g!==d)return a.find(a=>a.id===g)}function n(a,b){if(i(a)&&(0,g.nh)(b))return h.h.OPENAI_RESPONSES;let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.gr)(d):i(a)&&(0,g.i8)(b)?.targetFormat||null}function o(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?(0,f.ec)(d):i(a)?(0,g.i8)(b)?.supportedFormats||[h.h.OPENAI]:null}function p(a,b){let c=e.vq[a];if(!c)return null;let d=m(c,b,a);return d?.kind||d?.type||null}function q(a,b){return m(e.vq[a],b,a)||null}function r(a,b,c=null){let d="string"==typeof b?b.match(/\([^()]+\)\s*$/):null,f=d?d[0]:"",h=f?b.slice(0,d.index).trim():b,i=e.vq[a],j=f?f.slice(1,-1).trim().toLowerCase():"",k="xhigh"===j||"max"===j?"high":"minimal"===j?"low":j;if(!k&&c&&"object"==typeof c){let a=c.reasoning_effort||c.output_config?.effort||("object"==typeof c.reasoning?c.reasoning?.effort:null);if("string"==typeof a&&a){let b=a.toLowerCase().trim();k="xhigh"===b||"max"===b?"high":"minimal"===b?"low":b}else if(c.thinking&&"object"==typeof c.thinking){let a=Number(c.thinking.budget_tokens);Number.isFinite(a)&&a>0&&(k=a>16384?"high":a<=4096?"low":"medium")}}let l=k?`${h}-${k}`:null,n=l&&m(i,l,a)||m(i,h,a),o=n?.upstreamModelId||n?.id;if(o){let a=o.match(/\([^()]+\)\s*$/),b=a?.[0]||"";return(b?o.slice(0,a.index).trim():o)+(f||(b&&k?`(${k})`:b))}return"cx"===a&&"string"==typeof h&&h.endsWith(g.d5)?h.slice(0,-g.d5.length)+f:h+f}Object.fromEntries(d.default.filter(a=>a.alias&&a.alias!==a.id).map(a=>[a.id,a.alias]));let s=Object.fromEntries(d.default.map(a=>[a.id,a.alias||a.id]));function t(a){let b=s[a]||a;return e.vq[b]||[]}function u(a,b){return(0,f.g5)(m(e.vq[a],b,a))}},57975:a=>{a.exports=require("node:util")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},71553:a=>{a.exports=require("node:dns/promises")},71622:a=>{a.exports=import("open")},72271:a=>{a.exports=require("@aws-sdk/credential-providers")},73024:a=>{a.exports=require("node:fs")},73136:a=>{a.exports=require("node:url")},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")},79646:a=>{a.exports=require("child_process")},80099:a=>{a.exports=require("node:sqlite")},81630:a=>{a.exports=require("http")},81787:a=>{a.exports=require("bun:sqlite")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},87550:a=>{a.exports=require("better-sqlite3")},91645:a=>{a.exports=require("net")},92141:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>A,patchFetch:()=>z,routeModule:()=>v,serverHooks:()=>y,workAsyncStorage:()=>w,workUnitAsyncStorage:()=>x});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(10246),u=c(37527);let v=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/v1/audio/transcriptions/route",pathname:"/api/v1/audio/transcriptions",filename:"route",bundlePath:"app/api/v1/audio/transcriptions/route"},distDir:".next-cli-build",relativeProjectDir:"",resolvedPagePath:"/Users/Working/router4/9router/src/app/api/v1/audio/transcriptions/route.js",nextConfigOutput:"standalone",userland:()=>c(48346),...{}}),{workAsyncStorage:w,workUnitAsyncStorage:x,serverHooks:y}=v;function z(){return(0,f.patchFetch)({workAsyncStorage:w,workUnitAsyncStorage:x})}async function A(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),v.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/v1/audio/transcriptions/route";"/index"===d&&(d="/");let f=await v.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:w,deploymentId:x,params:y,nextConfig:z,parsedUrl:A,isDraftMode:B,prerenderManifest:C,routerServerContext:D,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,resolvedPathname:G,clientReferenceManifest:H,serverActionsManifest:I,previewProps:J}=f,K=(0,j.normalizeAppPath)(d),L=!!C.routes[G]&&(v.isDev||(0,t.isRouteCacheOwner)(G,v.cacheOwner,C.routes[G])),M=!!(C.dynamicRoutes[K]||L),N=async()=>((null==D?void 0:D.render404)?await D.render404(a,b,A,!1):b.end("This page could not be found"),null);if(M&&!B){let a=C.dynamicRoutes[K];if(a&&!1===a.fallback&&!L){if(z.adapterPath)return await N();throw new s.NoFallbackError}}let O=null;!M||v.isDev||B||(O="/index"===(O=G)?"/":O),I&&H&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:H,serverActionsManifest:I});let P=a.method||"GET",Q=(0,h.getTracer)(),R=Q.getActiveScopeSpan(),S=!!(null==D?void 0:D.isWrappedByNextServer),T=!!(0,g.getRequestMeta)(a,"minimalMode"),U=(0,g.getRequestMeta)(a,"incrementalCache")||await v.getIncrementalCache(a,z,J,C,T);null==U||U.resetRequestCache(),globalThis.__incrementalCache=U;let V={params:y,previewProps:J,renderOpts:{experimental:{authInterrupts:!!z.experimental.authInterrupts,useCacheTimeout:z.experimental.useCacheTimeout,durableUseCacheEntries:!!z.experimental.durableUseCacheEntries},cacheComponents:!!z.cacheComponents,validationLevel:z.experimental.instantInsights.validationLevel,isDraftMode:B,incrementalCache:U,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:z.cacheLife,staticPageGenerationTimeout:z.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0},sharedContext:{buildId:w,deploymentId:x}},W=new k.NodeNextRequest(a),X=new k.NodeNextResponse(b),Y=l.NextRequestAdapter.fromNodeNextRequest(W,(0,l.signalFromNodeResponse)(b)),Z=async({previousCacheEntry:e})=>{try{if(!T&&E&&F&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=null===O?await v.handle(Y,V):await v.prerender(Y,V);a.fetchMetrics=V.renderOpts.fetchMetrics;let f=V.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=V.renderOpts.collectedTags;if(!M)return await (0,o.I)(W,X,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,e=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?z.expireTime:void 0:V.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==e?void 0:e.isStale)&&await v.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),b}},$=async(d,f)=>{try{var g,i;let d=await v.handleResponse({req:a,nextConfig:z,cacheKey:O,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,previewProps:J,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:E,revalidateOnlyGenerated:F,responseGenerator:Z,waitUntil:c.waitUntil,isMinimalMode:T});if(null!==d&&"error"in d)throw d.error;if(!M)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==u.CachedRouteKind.APP_ROUTE)throw Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`);T||b.setHeader("x-nextjs-cache",E?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),B&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);T&&M||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(W,X,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(c){if(c instanceof s.NoFallbackError||await v.onRequestError(a,c,{routerKind:"App Router",routePath:K,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:null!==O,isOnDemandRevalidate:E})},!1,D),M)throw c;if(b.headersSent){if(d){let a=c instanceof Error?c:Error("Unknown app route error");d.recordException(a),d.setStatus({code:h.SpanStatusCode.ERROR,message:a.message}),d.setAttribute("error.type",a.name)}b.writableEnded||b.destroyed||b.end()}else await (0,o.I)(W,X,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=Q.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||K,g=`${P} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(S&&R)await $(R,void 0);else{let b=Q.getActiveScopeSpan();await Q.withPropagatedContext(a.headers,()=>Q.trace(m.BaseServerSpan.handleRequest,{spanName:`${P} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":P,"http.target":a.url}},a=>$(a,b)),void 0,!S)}}},92280:(a,b,c)=>{Object.defineProperty(b,"I",{enumerable:!0,get:function(){return g}});let d=c(28208),e=c(47617),f=c(62018);async function g(a,b,c,g){if((0,d.isNodeNextResponse)(b)){var h;b.statusCode=c.status,b.statusMessage=c.statusText;let d=["set-cookie","www-authenticate","proxy-authenticate","vary"];null==(h=c.headers)||h.forEach((a,c)=>{if("x-middleware-set-cookie"!==c.toLowerCase())if("set-cookie"===c.toLowerCase())for(let d of(0,f.splitCookiesString)(a))b.appendHeader(c,d);else{let e=void 0!==b.getHeader(c);(d.includes(c.toLowerCase())||!e)&&b.appendHeader(c,a)}});let{originalResponse:i}=b;c.body&&"HEAD"!==a.method?await (0,e.pipeToNodeResponse)(c.body,i,g):i.end()}}},94735:a=>{a.exports=require("events")},94755:(a,b,c)=>{c.d(b,{A:()=>i});var d=c(77598);let e={randomUUID:d.randomUUID},f=new Uint8Array(256),g=f.length;var h=c(50122);let i=function(a,b,c){if(e.randomUUID&&!b&&!a)return e.randomUUID();var i=a,j=c;let k=(i=i||{}).random??i.rng?.()??(g>f.length-16&&((0,d.randomFillSync)(f),g=0),f.slice(g,g+=16));if(k.length<16)throw Error("Random bytes length must be >= 16");if(k[6]=15&k[6]|64,k[8]=63&k[8]|128,b){if((j=j||0)<0||j+16>b.length)throw RangeError(`UUID byte range ${j}:${j+15} is out of buffer bounds`);for(let a=0;a<16;++a)b[j+a]=k[a];return b}return(0,h.k)(k)}}};var b=require("../../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[2970,9100,866,6070,9609,3943,7187,8416,7828,9604,238],()=>b(b.s=92141));module.exports=c})();