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
@@ -0,0 +1,504 @@
1
+ 'use strict'
2
+ const assert = require('node:assert')
3
+
4
+ const { kRetryHandlerDefaultRetry } = require('../core/symbols')
5
+ const { RequestRetryError } = require('../core/errors')
6
+ const WrapHandler = require('./wrap-handler')
7
+ const {
8
+ isDisturbed,
9
+ parseRangeHeader,
10
+ wrapRequestBody
11
+ } = require('../core/util')
12
+
13
+ function calculateRetryAfterHeader (retryAfter) {
14
+ const retryTime = new Date(retryAfter).getTime()
15
+ return isNaN(retryTime) ? 0 : retryTime - Date.now()
16
+ }
17
+
18
+ function validatePartialResponseContentLength (headers, range, statusCode, retryCount) {
19
+ const contentLength = headers['content-length']
20
+ if (contentLength == null) {
21
+ return
22
+ }
23
+
24
+ if (!Number.isFinite(range.start) || !Number.isFinite(range.end)) {
25
+ return
26
+ }
27
+
28
+ const length = Number(contentLength)
29
+ const expectedLength = range.end - range.start + 1
30
+ if (!Number.isFinite(length) || length !== expectedLength) {
31
+ throw new RequestRetryError('Content-Length mismatch', statusCode, {
32
+ headers,
33
+ data: { count: retryCount }
34
+ })
35
+ }
36
+ }
37
+
38
+ // A stable controller handed to the downstream handler for the lifetime of the
39
+ // request. Each transparent retry/resume is a separate dispatch with its own
40
+ // connection controller. The proxy always forwards to the active connection
41
+ // while preserving a downstream pause across controller replacement.
42
+ class RetryController {
43
+ #paused = false
44
+ #target = null
45
+
46
+ set target (target) {
47
+ this.#target = target
48
+ if (this.#paused) {
49
+ target?.pause()
50
+ }
51
+ }
52
+
53
+ get target () { return this.#target }
54
+
55
+ pause () {
56
+ this.#paused = true
57
+ this.#target?.pause()
58
+ }
59
+
60
+ resume () {
61
+ this.#paused = false
62
+ this.#target?.resume()
63
+ }
64
+
65
+ abort (reason) {
66
+ this.#target?.abort(reason)
67
+ }
68
+
69
+ get paused () { return this.#paused || (this.#target?.paused ?? false) }
70
+ get aborted () { return this.#target?.aborted ?? false }
71
+ get reason () { return this.#target?.reason ?? null }
72
+ get rawHeaders () { return this.#target?.rawHeaders ?? null }
73
+ set rawHeaders (value) {
74
+ if (this.#target) {
75
+ this.#target.rawHeaders = value
76
+ }
77
+ }
78
+
79
+ get rawTrailers () { return this.#target?.rawTrailers ?? null }
80
+ set rawTrailers (value) {
81
+ if (this.#target) {
82
+ this.#target.rawTrailers = value
83
+ }
84
+ }
85
+ }
86
+
87
+ class RetryHandler {
88
+ constructor (opts, { dispatch, handler }) {
89
+ const { retryOptions, ...dispatchOpts } = opts
90
+ const {
91
+ // Retry scoped
92
+ retry: retryFn,
93
+ maxRetries,
94
+ maxTimeout,
95
+ minTimeout,
96
+ timeoutFactor,
97
+ // Response scoped
98
+ methods,
99
+ errorCodes,
100
+ retryAfter,
101
+ statusCodes,
102
+ throwOnError
103
+ } = retryOptions ?? {}
104
+
105
+ this.error = null
106
+ this.dispatch = dispatch
107
+ this.handler = WrapHandler.wrap(handler)
108
+ this.opts = { ...dispatchOpts, body: wrapRequestBody(opts.body) }
109
+ this.retryOpts = {
110
+ throwOnError: throwOnError ?? true,
111
+ retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry],
112
+ retryAfter: retryAfter ?? true,
113
+ maxTimeout: maxTimeout ?? 30 * 1000, // 30s,
114
+ minTimeout: minTimeout ?? 500, // .5s
115
+ timeoutFactor: timeoutFactor ?? 2,
116
+ maxRetries: maxRetries ?? 5,
117
+ // What errors we should retry
118
+ methods: methods ?? ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],
119
+ // Indicates which errors to retry
120
+ statusCodes: statusCodes ?? [500, 502, 503, 504, 429],
121
+ // List of errors to retry
122
+ errorCodes: errorCodes ?? [
123
+ 'ECONNRESET',
124
+ 'ECONNREFUSED',
125
+ 'ENOTFOUND',
126
+ 'ENETDOWN',
127
+ 'ENETUNREACH',
128
+ 'EHOSTDOWN',
129
+ 'EHOSTUNREACH',
130
+ 'EPIPE',
131
+ 'UND_ERR_SOCKET'
132
+ ]
133
+ }
134
+
135
+ this.retryCount = 0
136
+ this.retryCountCheckpoint = 0
137
+ this.headersSent = false
138
+ this.start = 0
139
+ this.end = null
140
+ this.etag = null
141
+ this.controllerProxy = new RetryController()
142
+ }
143
+
144
+ onResponseStartWithRetry (controller, statusCode, headers, statusMessage, err) {
145
+ if (this.retryOpts.throwOnError) {
146
+ // Preserve old behavior for status codes that are not eligible for retry
147
+ if (this.retryOpts.statusCodes.includes(statusCode) === false) {
148
+ if (this.headersSent) {
149
+ // The downstream handler already received the response from an
150
+ // earlier attempt. Forwarding this response would replace the
151
+ // downstream body and leave the original body pending forever.
152
+ this.handler.onResponseError?.(this.controllerProxy, err)
153
+ } else {
154
+ this.headersSent = true
155
+ this.checkpointResponseEnd(headers)
156
+ this.handler.onResponseStart?.(this.controllerProxy, statusCode, headers, statusMessage)
157
+ }
158
+ } else {
159
+ this.error = err
160
+ }
161
+
162
+ return
163
+ }
164
+
165
+ if (isDisturbed(this.opts.body)) {
166
+ this.headersSent = true
167
+ this.checkpointResponseEnd(headers)
168
+ this.handler.onResponseStart?.(this.controllerProxy, statusCode, headers, statusMessage)
169
+ return
170
+ }
171
+
172
+ function shouldRetry (passedErr) {
173
+ if (passedErr) {
174
+ if (this.headersSent) {
175
+ // The downstream handler already received the response from an
176
+ // earlier attempt. Forwarding this response would replace the
177
+ // downstream body and leave the original body pending forever.
178
+ this.handler.onResponseError?.(this.controllerProxy, passedErr)
179
+ } else {
180
+ this.headersSent = true
181
+ this.checkpointResponseEnd(headers)
182
+ this.handler.onResponseStart?.(this.controllerProxy, statusCode, headers, statusMessage)
183
+ }
184
+ controller.resume()
185
+ return
186
+ }
187
+
188
+ this.error = err
189
+ controller.resume()
190
+ }
191
+
192
+ controller.pause()
193
+ this.retryOpts.retry(
194
+ err,
195
+ {
196
+ state: { counter: this.retryCount },
197
+ opts: { retryOptions: this.retryOpts, ...this.opts }
198
+ },
199
+ shouldRetry.bind(this)
200
+ )
201
+ }
202
+
203
+ checkpointResponseEnd (headers) {
204
+ if (this.end == null && this.opts.method !== 'HEAD') {
205
+ const contentLength = headers['content-length']
206
+ this.end = contentLength != null ? Number(contentLength) - 1 : null
207
+
208
+ assert(
209
+ this.end == null || Number.isFinite(this.end),
210
+ 'invalid content-length'
211
+ )
212
+
213
+ this.resume = this.end != null
214
+ }
215
+ }
216
+
217
+ onRequestStart (controller, context) {
218
+ this.controllerProxy.target = controller
219
+ if (!this.headersSent) {
220
+ this.handler.onRequestStart?.(this.controllerProxy, context)
221
+ }
222
+ }
223
+
224
+ onRequestUpgrade (_controller, statusCode, headers, socket) {
225
+ this.handler.onRequestUpgrade?.(this.controllerProxy, statusCode, headers, socket)
226
+ }
227
+
228
+ static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {
229
+ const { statusCode, code, headers } = err
230
+ const { method, retryOptions } = opts
231
+ const {
232
+ maxRetries,
233
+ minTimeout,
234
+ maxTimeout,
235
+ timeoutFactor,
236
+ statusCodes,
237
+ errorCodes,
238
+ methods
239
+ } = retryOptions
240
+ const { counter } = state
241
+
242
+ // Any code that is not a Undici's originated and allowed to retry
243
+ if (code && code !== 'UND_ERR_REQ_RETRY' && !errorCodes.includes(code)) {
244
+ cb(err)
245
+ return
246
+ }
247
+
248
+ // If a set of method are provided and the current method is not in the list
249
+ if (Array.isArray(methods) && !methods.includes(method)) {
250
+ cb(err)
251
+ return
252
+ }
253
+
254
+ // If a set of status code are provided and the current status code is not in the list
255
+ if (
256
+ statusCode != null &&
257
+ Array.isArray(statusCodes) &&
258
+ !statusCodes.includes(statusCode)
259
+ ) {
260
+ cb(err)
261
+ return
262
+ }
263
+
264
+ // If we reached the max number of retries
265
+ if (counter > maxRetries) {
266
+ cb(err)
267
+ return
268
+ }
269
+
270
+ let retryAfterHeader = headers?.['retry-after']
271
+ if (retryAfterHeader) {
272
+ retryAfterHeader = Number(retryAfterHeader)
273
+ retryAfterHeader = Number.isNaN(retryAfterHeader)
274
+ ? calculateRetryAfterHeader(headers['retry-after'])
275
+ : retryAfterHeader * 1e3 // Retry-After is in seconds
276
+ }
277
+
278
+ const retryTimeout =
279
+ retryAfterHeader > 0
280
+ ? Math.min(retryAfterHeader, maxTimeout)
281
+ : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)
282
+
283
+ setTimeout(() => cb(null), retryTimeout)
284
+ }
285
+
286
+ onResponseStart (controller, statusCode, headers, statusMessage) {
287
+ this.error = null
288
+ this.retryCount += 1
289
+
290
+ if (statusCode >= 300) {
291
+ const err = new RequestRetryError('Request failed', statusCode, {
292
+ headers,
293
+ data: {
294
+ count: this.retryCount
295
+ }
296
+ })
297
+
298
+ this.onResponseStartWithRetry(controller, statusCode, headers, statusMessage, err)
299
+ return
300
+ }
301
+
302
+ // Checkpoint for resume from where we left it
303
+ if (this.headersSent) {
304
+ // Only Partial Content 206 supposed to provide Content-Range,
305
+ // any other status code that partially consumed the payload
306
+ // should not be retried because it would result in downstream
307
+ // wrongly concatenate multiple responses.
308
+ if (statusCode !== 206 && (this.start > 0 || statusCode !== 200)) {
309
+ throw new RequestRetryError('server does not support the range header and the payload was partially consumed', statusCode, {
310
+ headers,
311
+ data: { count: this.retryCount }
312
+ })
313
+ }
314
+
315
+ const contentRange = parseRangeHeader(headers['content-range'])
316
+ // If no content range
317
+ if (!contentRange) {
318
+ // We always throw here as we want to indicate that we entred unexpected path
319
+ throw new RequestRetryError('Content-Range mismatch', statusCode, {
320
+ headers,
321
+ data: { count: this.retryCount }
322
+ })
323
+ }
324
+
325
+ // Let's start with a weak etag check
326
+ if (this.etag != null && this.etag !== headers.etag) {
327
+ // We always throw here as we want to indicate that we entred unexpected path
328
+ throw new RequestRetryError('ETag mismatch', statusCode, {
329
+ headers,
330
+ data: { count: this.retryCount }
331
+ })
332
+ }
333
+
334
+ validatePartialResponseContentLength(headers, contentRange, statusCode, this.retryCount)
335
+
336
+ const { start, size, end = size ? size - 1 : null } = contentRange
337
+
338
+ if (this.start !== start || (this.end != null && this.end !== end)) {
339
+ throw new RequestRetryError('Content-Range mismatch', statusCode, {
340
+ headers,
341
+ data: { count: this.retryCount }
342
+ })
343
+ }
344
+
345
+ return
346
+ }
347
+
348
+ if (this.end == null) {
349
+ if (statusCode === 206) {
350
+ // First time we receive 206
351
+ const range = parseRangeHeader(headers['content-range'])
352
+
353
+ if (range == null) {
354
+ this.headersSent = true
355
+ this.handler.onResponseStart?.(
356
+ this.controllerProxy,
357
+ statusCode,
358
+ headers,
359
+ statusMessage
360
+ )
361
+ return
362
+ }
363
+
364
+ validatePartialResponseContentLength(headers, range, statusCode, this.retryCount)
365
+
366
+ const { start, size, end = size ? size - 1 : null } = range
367
+ assert(
368
+ start != null && Number.isFinite(start),
369
+ 'content-range mismatch'
370
+ )
371
+ assert(end != null && Number.isFinite(end), 'invalid content-length')
372
+
373
+ this.start = start
374
+ this.end = end
375
+ }
376
+
377
+ // We make our best to checkpoint the body for further range headers
378
+ if (this.end == null) {
379
+ const contentLength = headers['content-length']
380
+ this.end = contentLength != null ? Number(contentLength) - 1 : null
381
+ }
382
+
383
+ assert(Number.isFinite(this.start))
384
+ assert(
385
+ this.end == null || Number.isFinite(this.end),
386
+ 'invalid content-length'
387
+ )
388
+
389
+ this.resume = true
390
+ this.etag = headers.etag != null ? headers.etag : null
391
+
392
+ // Weak etags are not useful for comparison nor cache
393
+ // for instance not safe to assume if the response is byte-per-byte
394
+ // equal
395
+ if (
396
+ this.etag != null &&
397
+ this.etag[0] === 'W' &&
398
+ this.etag[1] === '/'
399
+ ) {
400
+ this.etag = null
401
+ }
402
+
403
+ this.headersSent = true
404
+ this.handler.onResponseStart?.(
405
+ this.controllerProxy,
406
+ statusCode,
407
+ headers,
408
+ statusMessage
409
+ )
410
+ } else {
411
+ throw new RequestRetryError('Request failed', statusCode, {
412
+ headers,
413
+ data: { count: this.retryCount }
414
+ })
415
+ }
416
+ }
417
+
418
+ onResponseData (_controller, chunk) {
419
+ if (this.error) {
420
+ return
421
+ }
422
+
423
+ this.start += chunk.length
424
+
425
+ this.handler.onResponseData?.(this.controllerProxy, chunk)
426
+ }
427
+
428
+ onResponseEnd (_controller, trailers) {
429
+ if (this.error && this.retryOpts.throwOnError) {
430
+ throw this.error
431
+ }
432
+
433
+ if (!this.error) {
434
+ this.retryCount = 0
435
+ return this.handler.onResponseEnd?.(this.controllerProxy, trailers)
436
+ }
437
+
438
+ this.retry()
439
+ }
440
+
441
+ retry () {
442
+ if (this.start !== 0) {
443
+ const headers = { range: `bytes=${this.start}-${this.end ?? ''}` }
444
+
445
+ // Weak etag check - weak etags will make comparison algorithms never match
446
+ if (this.etag != null) {
447
+ headers['if-match'] = this.etag
448
+ }
449
+
450
+ this.opts = {
451
+ ...this.opts,
452
+ headers: {
453
+ ...this.opts.headers,
454
+ ...headers
455
+ }
456
+ }
457
+ }
458
+
459
+ try {
460
+ this.retryCountCheckpoint = this.retryCount
461
+ this.dispatch(this.opts, this)
462
+ } catch (err) {
463
+ this.handler.onResponseError?.(this.controllerProxy, err)
464
+ }
465
+ }
466
+
467
+ onResponseError (controller, err) {
468
+ if (controller?.aborted || isDisturbed(this.opts.body) || (this.headersSent && !this.resume)) {
469
+ this.handler.onResponseError?.(this.controllerProxy, err)
470
+ return
471
+ }
472
+
473
+ function shouldRetry (returnedErr) {
474
+ if (!returnedErr) {
475
+ this.retry()
476
+ return
477
+ }
478
+
479
+ this.handler?.onResponseError?.(this.controllerProxy, returnedErr)
480
+ }
481
+
482
+ // We reconcile in case of a mix between network errors
483
+ // and server error response
484
+ if (this.retryCount - this.retryCountCheckpoint > 0) {
485
+ // We count the difference between the last checkpoint and the current retry count
486
+ this.retryCount =
487
+ this.retryCountCheckpoint +
488
+ (this.retryCount - this.retryCountCheckpoint)
489
+ } else {
490
+ this.retryCount += 1
491
+ }
492
+
493
+ this.retryOpts.retry(
494
+ err,
495
+ {
496
+ state: { counter: this.retryCount },
497
+ opts: { retryOptions: this.retryOpts, ...this.opts }
498
+ },
499
+ shouldRetry.bind(this)
500
+ )
501
+ }
502
+ }
503
+
504
+ module.exports = RetryHandler
@@ -0,0 +1,106 @@
1
+ 'use strict'
2
+
3
+ const { parseHeaders } = require('../core/util')
4
+ const { InvalidArgumentError } = require('../core/errors')
5
+
6
+ const kResume = Symbol('resume')
7
+
8
+ class UnwrapController {
9
+ #paused = false
10
+ #reason = null
11
+ #aborted = false
12
+ #abort
13
+
14
+ [kResume] = null
15
+
16
+ rawHeaders = null
17
+ rawTrailers = null
18
+
19
+ constructor (abort) {
20
+ this.#abort = abort
21
+ }
22
+
23
+ pause () {
24
+ this.#paused = true
25
+ }
26
+
27
+ resume () {
28
+ if (this.#paused) {
29
+ this.#paused = false
30
+ this[kResume]?.()
31
+ }
32
+ }
33
+
34
+ abort (reason) {
35
+ if (!this.#aborted) {
36
+ this.#aborted = true
37
+ this.#reason = reason
38
+ this.#abort(reason)
39
+ }
40
+ }
41
+
42
+ get aborted () {
43
+ return this.#aborted
44
+ }
45
+
46
+ get reason () {
47
+ return this.#reason
48
+ }
49
+
50
+ get paused () {
51
+ return this.#paused
52
+ }
53
+ }
54
+
55
+ module.exports = class UnwrapHandler {
56
+ #handler
57
+ #controller
58
+
59
+ constructor (handler) {
60
+ this.#handler = handler
61
+ }
62
+
63
+ static unwrap (handler) {
64
+ // TODO (fix): More checks...
65
+ return !handler.onRequestStart ? handler : new UnwrapHandler(handler)
66
+ }
67
+
68
+ onConnect (abort, context) {
69
+ this.#controller = new UnwrapController(abort)
70
+ this.#handler.onRequestStart?.(this.#controller, context)
71
+ }
72
+
73
+ onResponseStarted () {
74
+ return this.#handler.onResponseStarted?.()
75
+ }
76
+
77
+ onUpgrade (statusCode, rawHeaders, socket) {
78
+ this.#controller.rawHeaders = rawHeaders
79
+ this.#handler.onRequestUpgrade?.(this.#controller, statusCode, parseHeaders(rawHeaders), socket)
80
+ }
81
+
82
+ onHeaders (statusCode, rawHeaders, resume, statusMessage) {
83
+ this.#controller[kResume] = resume
84
+ this.#controller.rawHeaders = rawHeaders
85
+ this.#handler.onResponseStart?.(this.#controller, statusCode, parseHeaders(rawHeaders), statusMessage)
86
+ return !this.#controller.paused
87
+ }
88
+
89
+ onData (data) {
90
+ this.#handler.onResponseData?.(this.#controller, data)
91
+ return !this.#controller.paused
92
+ }
93
+
94
+ onComplete (rawTrailers) {
95
+ this.#controller.rawTrailers = rawTrailers
96
+ this.#handler.onResponseEnd?.(this.#controller, parseHeaders(rawTrailers))
97
+ }
98
+
99
+ onError (err) {
100
+ if (!this.#handler.onResponseError) {
101
+ throw new InvalidArgumentError('invalid onError method')
102
+ }
103
+
104
+ this.#handler.onResponseError?.(this.#controller, err)
105
+ }
106
+ }
@@ -0,0 +1,105 @@
1
+ 'use strict'
2
+
3
+ const { InvalidArgumentError } = require('../core/errors')
4
+
5
+ module.exports = class WrapHandler {
6
+ #handler
7
+
8
+ constructor (handler) {
9
+ this.#handler = handler
10
+ }
11
+
12
+ static wrap (handler) {
13
+ // TODO (fix): More checks...
14
+ return handler.onRequestStart ? handler : new WrapHandler(handler)
15
+ }
16
+
17
+ // Unwrap Interface
18
+
19
+ onConnect (abort, context) {
20
+ return this.#handler.onConnect?.(abort, context)
21
+ }
22
+
23
+ onResponseStarted () {
24
+ return this.#handler.onResponseStarted?.()
25
+ }
26
+
27
+ onHeaders (statusCode, rawHeaders, resume, statusMessage) {
28
+ return this.#handler.onHeaders?.(statusCode, rawHeaders, resume, statusMessage)
29
+ }
30
+
31
+ onUpgrade (statusCode, rawHeaders, socket) {
32
+ return this.#handler.onUpgrade?.(statusCode, rawHeaders, socket)
33
+ }
34
+
35
+ onData (data) {
36
+ return this.#handler.onData?.(data)
37
+ }
38
+
39
+ onComplete (trailers) {
40
+ return this.#handler.onComplete?.(trailers)
41
+ }
42
+
43
+ onError (err) {
44
+ if (!this.#handler.onError) {
45
+ throw err
46
+ }
47
+
48
+ return this.#handler.onError?.(err)
49
+ }
50
+
51
+ // Wrap Interface
52
+
53
+ onRequestStart (controller, context) {
54
+ this.#handler.onConnect?.((reason) => controller.abort(reason), context)
55
+ }
56
+
57
+ onRequestUpgrade (controller, statusCode, headers, socket) {
58
+ const rawHeaders = []
59
+ for (const [key, val] of Object.entries(headers)) {
60
+ rawHeaders.push(Buffer.from(key, 'latin1'), toRawHeaderValue(val))
61
+ }
62
+
63
+ this.#handler.onUpgrade?.(statusCode, rawHeaders, socket)
64
+ }
65
+
66
+ onResponseStart (controller, statusCode, headers, statusMessage) {
67
+ const rawHeaders = []
68
+ for (const [key, val] of Object.entries(headers)) {
69
+ rawHeaders.push(Buffer.from(key, 'latin1'), toRawHeaderValue(val))
70
+ }
71
+
72
+ if (this.#handler.onHeaders?.(statusCode, rawHeaders, () => controller.resume(), statusMessage) === false) {
73
+ controller.pause()
74
+ }
75
+ }
76
+
77
+ onResponseData (controller, data) {
78
+ if (this.#handler.onData?.(data) === false) {
79
+ controller.pause()
80
+ }
81
+ }
82
+
83
+ onResponseEnd (controller, trailers) {
84
+ const rawTrailers = []
85
+ for (const [key, val] of Object.entries(trailers)) {
86
+ rawTrailers.push(Buffer.from(key, 'latin1'), toRawHeaderValue(val))
87
+ }
88
+
89
+ this.#handler.onComplete?.(rawTrailers)
90
+ }
91
+
92
+ onResponseError (controller, err) {
93
+ if (!this.#handler.onError) {
94
+ throw new InvalidArgumentError('invalid onError method')
95
+ }
96
+
97
+ this.#handler.onError?.(err)
98
+ }
99
+ }
100
+
101
+ function toRawHeaderValue (value) {
102
+ return Array.isArray(value)
103
+ ? value.map((item) => Buffer.from(item, 'latin1'))
104
+ : Buffer.from(value, 'latin1')
105
+ }