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,746 @@
1
+ 'use strict'
2
+
3
+ const assert = require('node:assert')
4
+ const { Readable } = require('node:stream')
5
+ const util = require('../core/util')
6
+ const CacheHandler = require('../handler/cache-handler')
7
+ const MemoryCacheStore = require('../cache/memory-cache-store')
8
+ const CacheRevalidationHandler = require('../handler/cache-revalidation-handler')
9
+ const {
10
+ assertCacheStore,
11
+ assertCacheMethods,
12
+ makeCacheKey,
13
+ normalizeHeaders,
14
+ parseCacheControlHeader,
15
+ isInvalidOrWildcardVaryHeader,
16
+ parseVaryHeader,
17
+ isEtagUsable
18
+ } = require('../util/cache.js')
19
+ const { AbortError } = require('../core/errors.js')
20
+ const { parseHttpDate } = require('../util/date.js')
21
+
22
+ /**
23
+ * @param {(string | RegExp)[] | undefined} origins
24
+ * @param {string} name
25
+ */
26
+ function assertCacheOrigins (origins, name) {
27
+ if (origins === undefined) return
28
+ if (!Array.isArray(origins)) {
29
+ throw new TypeError(`expected ${name} to be an array or undefined, got ${typeof origins}`)
30
+ }
31
+ for (let i = 0; i < origins.length; i++) {
32
+ const origin = origins[i]
33
+ if (typeof origin !== 'string' && !(origin instanceof RegExp)) {
34
+ throw new TypeError(`expected ${name}[${i}] to be a string or RegExp, got ${typeof origin}`)
35
+ }
36
+ }
37
+ }
38
+
39
+ const nop = () => {}
40
+
41
+ function trimOWS (value) {
42
+ return value.replace(/^[\t ]+|[\t ]+$/g, '')
43
+ }
44
+
45
+ function arrayIncludes (array, value) {
46
+ for (let i = 0; i < array.length; i++) {
47
+ if (array[i] === value) {
48
+ return true
49
+ }
50
+ }
51
+
52
+ return false
53
+ }
54
+
55
+ function hasPragmaNoCache (headers) {
56
+ const pragma = headers?.pragma
57
+ if (!pragma) {
58
+ return false
59
+ }
60
+
61
+ const values = Array.isArray(pragma) ? pragma : [pragma]
62
+ for (let i = 0; i < values.length; i++) {
63
+ const value = values[i]
64
+ if (typeof value !== 'string') {
65
+ continue
66
+ }
67
+
68
+ const directives = value.split(',')
69
+ for (let j = 0; j < directives.length; j++) {
70
+ if (trimOWS(directives[j]).toLowerCase() === 'no-cache') {
71
+ return true
72
+ }
73
+ }
74
+ }
75
+
76
+ return false
77
+ }
78
+
79
+ /**
80
+ * @typedef {(options: import('../../types/dispatcher.d.ts').default.DispatchOptions, handler: import('../../types/dispatcher.d.ts').default.DispatchHandler) => void} DispatchFn
81
+ */
82
+
83
+ /**
84
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
85
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives | undefined} cacheControlDirectives
86
+ * @param {import('../../types/dispatcher.d.ts').default.RequestOptions} opts
87
+ * @returns {boolean}
88
+ */
89
+ function needsRevalidation (result, cacheControlDirectives, { headers = {} }) {
90
+ // Always revalidate requests with the no-cache request directive.
91
+ if (cacheControlDirectives?.['no-cache']) {
92
+ return true
93
+ }
94
+
95
+ // Always revalidate requests with unqualified no-cache response directive.
96
+ if (result.cacheControlDirectives?.['no-cache'] && !Array.isArray(result.cacheControlDirectives['no-cache'])) {
97
+ return true
98
+ }
99
+
100
+ // Always revalidate requests with conditional headers.
101
+ if (headers['if-modified-since'] || headers['if-none-match']) {
102
+ return true
103
+ }
104
+
105
+ return false
106
+ }
107
+
108
+ /**
109
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
110
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions['type']} cacheType
111
+ * @returns {boolean}
112
+ */
113
+ function staleResponseRequiresRevalidation (result, cacheType) {
114
+ return result.cacheControlDirectives?.['must-revalidate'] === true ||
115
+ (cacheType === 'shared' && (
116
+ result.cacheControlDirectives?.['proxy-revalidate'] === true ||
117
+ // https://www.rfc-editor.org/rfc/rfc9111.html#section-5.2.2.10
118
+ // s-maxage implies proxy-revalidate for shared caches.
119
+ result.cacheControlDirectives?.['s-maxage'] !== undefined
120
+ ))
121
+ }
122
+
123
+ /**
124
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions['type']} cacheType
125
+ * @param {import('../../types/header.d.ts').IncomingHttpHeaders} headers
126
+ * @returns {boolean}
127
+ */
128
+ function revalidationResponseDisallowsCachedReuse (cacheType, headers) {
129
+ if (
130
+ (headers.vary && isInvalidOrWildcardVaryHeader(headers.vary)) ||
131
+ (cacheType === 'shared' && Object.hasOwn(headers, 'set-cookie'))
132
+ ) {
133
+ return true
134
+ }
135
+
136
+ const cacheControl = headers['cache-control']
137
+ if (!cacheControl) {
138
+ return false
139
+ }
140
+
141
+ const cacheControlDirectives = parseCacheControlHeader(cacheControl)
142
+ return cacheControlDirectives['no-store'] === true ||
143
+ (cacheType === 'shared' && cacheControlDirectives.private === true)
144
+ }
145
+
146
+ function revalidationResponseUpdatesCacheControl (headers) {
147
+ return headers['cache-control'] !== undefined
148
+ }
149
+
150
+ /**
151
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
152
+ * @param {Record<string, string | string[] | null> | undefined} varyDirectives
153
+ * @returns {boolean}
154
+ */
155
+ function revalidationResponseAddsVary (result, varyDirectives) {
156
+ if (!varyDirectives) {
157
+ return false
158
+ }
159
+
160
+ for (const key in varyDirectives) {
161
+ if (result.vary == null || !Object.hasOwn(result.vary, key)) {
162
+ return true
163
+ }
164
+ }
165
+
166
+ return false
167
+ }
168
+
169
+ function deleteCachedValue (store, cacheKey) {
170
+ try {
171
+ store.delete(cacheKey)?.catch?.(nop)
172
+ } catch {
173
+ // Fail silently
174
+ }
175
+ }
176
+
177
+ function getUsableLastModified (headers) {
178
+ const lastModified = headers?.['last-modified']
179
+ if (typeof lastModified === 'string' && parseHttpDate(lastModified)) {
180
+ return lastModified
181
+ }
182
+ }
183
+
184
+ function makeRevalidationHeaders (opts, result) {
185
+ const headers = {
186
+ ...opts.headers,
187
+ 'if-modified-since': getUsableLastModified(result.headers) ?? new Date(result.cachedAt).toUTCString()
188
+ }
189
+
190
+ if (result.etag) {
191
+ headers['if-none-match'] = result.etag
192
+ }
193
+
194
+ if (result.vary) {
195
+ for (const key in result.vary) {
196
+ if (result.vary[key] != null) {
197
+ headers[key] = result.vary[key]
198
+ }
199
+ }
200
+ }
201
+
202
+ return headers
203
+ }
204
+
205
+ function revalidationTargetMatchesCacheKey (cacheKey, context) {
206
+ const history = context?.history
207
+ if (!Array.isArray(history) || history.length === 0) {
208
+ return true
209
+ }
210
+
211
+ try {
212
+ const cachedUrl = new URL(cacheKey.path, cacheKey.origin)
213
+ const responseUrl = history[history.length - 1]
214
+ return responseUrl.origin === cachedUrl.origin &&
215
+ responseUrl.pathname === cachedUrl.pathname &&
216
+ responseUrl.search === cachedUrl.search
217
+ } catch {
218
+ return false
219
+ }
220
+ }
221
+
222
+ function revalidationEtagMatchesCachedValue (result, headers) {
223
+ if (!Object.hasOwn(headers, 'etag')) {
224
+ return true
225
+ }
226
+
227
+ const responseEtag = headers.etag
228
+ const cachedEtag = result.etag
229
+ if (
230
+ typeof responseEtag !== 'string' ||
231
+ typeof cachedEtag !== 'string' ||
232
+ !isEtagUsable(responseEtag) ||
233
+ !isEtagUsable(cachedEtag)
234
+ ) {
235
+ return false
236
+ }
237
+
238
+ if (!responseEtag.startsWith('W/')) {
239
+ return responseEtag === cachedEtag
240
+ }
241
+
242
+ const cachedOpaqueTag = cachedEtag.startsWith('W/') ? cachedEtag.slice(2) : cachedEtag
243
+ return responseEtag.slice(2) === cachedOpaqueTag
244
+ }
245
+
246
+ /**
247
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
248
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives | undefined} cacheControlDirectives
249
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions['type']} cacheType
250
+ * @returns {boolean}
251
+ */
252
+ function isStale (result, cacheControlDirectives, cacheType) {
253
+ const now = Date.now()
254
+ if (now > result.staleAt) {
255
+ // Response is stale
256
+ if (!staleResponseRequiresRevalidation(result, cacheType) && cacheControlDirectives?.['max-stale']) {
257
+ // There's a threshold where we can serve stale responses, let's see if
258
+ // we're in it
259
+ // https://www.rfc-editor.org/rfc/rfc9111.html#name-max-stale
260
+ const gracePeriod = result.staleAt + (cacheControlDirectives['max-stale'] * 1000)
261
+ return now > gracePeriod
262
+ }
263
+
264
+ return true
265
+ }
266
+
267
+ if (cacheControlDirectives?.['min-fresh']) {
268
+ // https://www.rfc-editor.org/rfc/rfc9111.html#section-5.2.1.3
269
+
270
+ // At this point, staleAt is always > now
271
+ const timeLeftTillStale = result.staleAt - now
272
+ const threshold = cacheControlDirectives['min-fresh'] * 1000
273
+
274
+ return timeLeftTillStale <= threshold
275
+ }
276
+
277
+ return false
278
+ }
279
+
280
+ /**
281
+ * Check if we're within the stale-while-revalidate window for a stale response
282
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
283
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions['type']} cacheType
284
+ * @returns {boolean}
285
+ */
286
+ function withinStaleWhileRevalidateWindow (result, cacheType) {
287
+ const staleWhileRevalidate = result.cacheControlDirectives?.['stale-while-revalidate']
288
+ if (!staleWhileRevalidate || staleResponseRequiresRevalidation(result, cacheType)) {
289
+ return false
290
+ }
291
+
292
+ const now = Date.now()
293
+ const staleWhileRevalidateExpiry = result.staleAt + (staleWhileRevalidate * 1000)
294
+ return now <= staleWhileRevalidateExpiry
295
+ }
296
+
297
+ /**
298
+ * @param {DispatchFn} dispatch
299
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts
300
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} cacheKey
301
+ * @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler
302
+ * @param {import('../../types/dispatcher.d.ts').default.RequestOptions} opts
303
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives | undefined} reqCacheControl
304
+ */
305
+ function handleUncachedResponse (
306
+ dispatch,
307
+ globalOpts,
308
+ cacheKey,
309
+ handler,
310
+ opts,
311
+ reqCacheControl
312
+ ) {
313
+ if (reqCacheControl?.['only-if-cached']) {
314
+ let aborted = false
315
+ try {
316
+ if (typeof handler.onConnect === 'function') {
317
+ handler.onConnect(() => {
318
+ aborted = true
319
+ })
320
+
321
+ if (aborted) {
322
+ return
323
+ }
324
+ }
325
+
326
+ if (typeof handler.onHeaders === 'function') {
327
+ handler.onHeaders(504, [], nop, 'Gateway Timeout')
328
+ if (aborted) {
329
+ return
330
+ }
331
+ }
332
+
333
+ if (typeof handler.onComplete === 'function') {
334
+ handler.onComplete([])
335
+ }
336
+ } catch (err) {
337
+ if (typeof handler.onError === 'function') {
338
+ handler.onError(err)
339
+ }
340
+ }
341
+
342
+ return true
343
+ }
344
+
345
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
346
+ }
347
+
348
+ /**
349
+ * @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler
350
+ * @param {import('../../types/dispatcher.d.ts').default.RequestOptions} opts
351
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult} result
352
+ * @param {number} age
353
+ * @param {any} context
354
+ * @param {boolean} isStale
355
+ */
356
+ function sendCachedValue (handler, opts, result, age, context, isStale) {
357
+ // TODO (perf): Readable.from path can be optimized...
358
+ const stream = util.isStream(result.body)
359
+ ? result.body
360
+ : Readable.from(result.body ?? [])
361
+
362
+ assert(!stream.destroyed, 'stream should not be destroyed')
363
+ assert(!stream.readableDidRead, 'stream should not be readableDidRead')
364
+
365
+ const controller = {
366
+ resume () {
367
+ stream.resume()
368
+ },
369
+ pause () {
370
+ stream.pause()
371
+ },
372
+ get paused () {
373
+ return stream.isPaused()
374
+ },
375
+ get aborted () {
376
+ return stream.destroyed
377
+ },
378
+ get reason () {
379
+ return stream.errored
380
+ },
381
+ abort (reason) {
382
+ stream.destroy(reason ?? new AbortError())
383
+ }
384
+ }
385
+
386
+ stream
387
+ .on('error', function (err) {
388
+ // Never rethrow: this runs from a stream event on a later tick, where a
389
+ // throw would crash the process. Like core's Request.onResponseError,
390
+ // the error is dropped if the handler has no onResponseError.
391
+ if (!this.readableEnded) {
392
+ handler.onResponseError?.(controller, err)
393
+ }
394
+ })
395
+ .on('close', function () {
396
+ if (!this.errored) {
397
+ try {
398
+ handler.onResponseEnd?.(controller, {})
399
+ } catch (err) {
400
+ // The stream is already closed, so the error can't be routed
401
+ // through it; report it to the handler directly instead.
402
+ handler.onResponseError?.(controller, err)
403
+ }
404
+ }
405
+ })
406
+
407
+ // Downstream handler calls below run outside the dispatcher's own error
408
+ // handling (on later ticks for the body, or inside a promise callback for
409
+ // async stores), so a throw must be converged to a per-request error
410
+ // instead of escaping as an uncaught exception.
411
+ try {
412
+ handler.onRequestStart?.(controller, context)
413
+ } catch (err) {
414
+ stream.destroy(err)
415
+ return
416
+ }
417
+
418
+ if (stream.destroyed) {
419
+ return
420
+ }
421
+
422
+ // Add the age header
423
+ // https://www.rfc-editor.org/rfc/rfc9111.html#name-age
424
+ const headers = { ...result.headers, age: String(age) }
425
+
426
+ if (isStale) {
427
+ // Add warning header
428
+ // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Warning
429
+ headers.warning = '110 - "response is stale"'
430
+ }
431
+
432
+ controller.rawHeaders = util.toRawHeaders(headers)
433
+
434
+ try {
435
+ handler.onResponseStart?.(controller, result.statusCode, headers, result.statusMessage)
436
+ } catch (err) {
437
+ stream.destroy(err)
438
+ return
439
+ }
440
+
441
+ if (opts.method === 'HEAD') {
442
+ stream.destroy()
443
+ } else {
444
+ stream.on('data', function (chunk) {
445
+ try {
446
+ handler.onResponseData?.(controller, chunk)
447
+ } catch (err) {
448
+ stream.destroy(err)
449
+ }
450
+ })
451
+ }
452
+ }
453
+
454
+ /**
455
+ * @param {DispatchFn} dispatch
456
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheHandlerOptions} globalOpts
457
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheKey} cacheKey
458
+ * @param {import('../../types/dispatcher.d.ts').default.DispatchHandler} handler
459
+ * @param {import('../../types/dispatcher.d.ts').default.RequestOptions} opts
460
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheControlDirectives | undefined} reqCacheControl
461
+ * @param {import('../../types/cache-interceptor.d.ts').default.GetResult | undefined} result
462
+ */
463
+ function handleResult (
464
+ dispatch,
465
+ globalOpts,
466
+ cacheKey,
467
+ handler,
468
+ opts,
469
+ reqCacheControl,
470
+ result
471
+ ) {
472
+ if (!result) {
473
+ return handleUncachedResponse(dispatch, globalOpts, cacheKey, handler, opts, reqCacheControl)
474
+ }
475
+
476
+ // Shared stores may outlive the Undici version that wrote them. Do not
477
+ // re-serve a Set-Cookie header from an existing shared-cache entry.
478
+ if (globalOpts.type === 'shared' && Object.hasOwn(result.headers, 'set-cookie')) {
479
+ if (util.isStream(result.body)) {
480
+ result.body.on('error', nop).destroy()
481
+ }
482
+
483
+ deleteCachedValue(globalOpts.store, cacheKey)
484
+ return handleUncachedResponse(dispatch, globalOpts, cacheKey, handler, opts, reqCacheControl)
485
+ }
486
+
487
+ const now = Date.now()
488
+ if (now > result.deleteAt) {
489
+ // Response is expired, cache store shouldn't have given this to us
490
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
491
+ }
492
+
493
+ const age = Math.round((now - result.cachedAt) / 1000)
494
+ const requestMaxAgeExpired = reqCacheControl?.['max-age'] !== undefined && age >= reqCacheControl['max-age']
495
+
496
+ const stale = requestMaxAgeExpired || isStale(result, reqCacheControl, globalOpts.type)
497
+ const revalidate = requestMaxAgeExpired || needsRevalidation(result, reqCacheControl, opts)
498
+
499
+ // Check if the response is stale
500
+ if (stale || revalidate) {
501
+ if (util.isStream(opts.body) && util.bodyLength(opts.body) !== 0) {
502
+ // If body is a stream we can't revalidate...
503
+ // TODO (fix): This could be less strict...
504
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
505
+ }
506
+
507
+ // RFC 5861: If we're within stale-while-revalidate window, serve stale immediately
508
+ // and revalidate in background, unless immediate revalidation is necessary
509
+ if (!revalidate && withinStaleWhileRevalidateWindow(result, globalOpts.type)) {
510
+ // Serve stale response immediately
511
+ sendCachedValue(handler, opts, result, age, null, true)
512
+
513
+ // Start background revalidation (fire-and-forget)
514
+ queueMicrotask(() => {
515
+ const headers = makeRevalidationHeaders(opts, result)
516
+
517
+ // Background revalidation - update cache if we get new data
518
+ dispatch(
519
+ {
520
+ ...opts,
521
+ headers
522
+ },
523
+ new CacheHandler(globalOpts, cacheKey, {
524
+ // Silent handler that just updates the cache
525
+ onRequestStart () {},
526
+ onRequestUpgrade () {},
527
+ onResponseStart () {},
528
+ onResponseData () {},
529
+ onResponseEnd () {},
530
+ onResponseError () {}
531
+ })
532
+ )
533
+ })
534
+
535
+ return true
536
+ }
537
+
538
+ let withinStaleIfErrorThreshold = false
539
+ if (!staleResponseRequiresRevalidation(result, globalOpts.type)) {
540
+ const staleIfErrorExpiry = result.cacheControlDirectives['stale-if-error'] ?? reqCacheControl?.['stale-if-error']
541
+ if (staleIfErrorExpiry) {
542
+ withinStaleIfErrorThreshold = now < (result.staleAt + (staleIfErrorExpiry * 1000))
543
+ }
544
+ }
545
+
546
+ const headers = makeRevalidationHeaders(opts, result)
547
+ const refetch = () => {
548
+ if (util.isStream(result.body)) {
549
+ result.body.on('error', nop).destroy()
550
+ }
551
+
552
+ deleteCachedValue(globalOpts.store, cacheKey)
553
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
554
+ }
555
+
556
+ // We need to revalidate the response
557
+ return dispatch(
558
+ {
559
+ ...opts,
560
+ headers
561
+ },
562
+ new CacheRevalidationHandler(
563
+ (success, context, statusCode, headers) => {
564
+ if (success) {
565
+ if (statusCode === 304) {
566
+ if (
567
+ !revalidationTargetMatchesCacheKey(cacheKey, context) ||
568
+ !revalidationEtagMatchesCachedValue(result, headers) ||
569
+ revalidationResponseDisallowsCachedReuse(globalOpts.type, headers)
570
+ ) {
571
+ return refetch()
572
+ }
573
+
574
+ if (revalidationResponseUpdatesCacheControl(headers)) {
575
+ deleteCachedValue(globalOpts.store, cacheKey)
576
+ } else if (revalidationResponseAddsVary(result, headers.vary ? parseVaryHeader(headers.vary, opts.headers) : undefined)) {
577
+ return refetch()
578
+ }
579
+ }
580
+
581
+ // TODO: successful revalidation should be considered fresh (not give stale warning).
582
+ sendCachedValue(handler, opts, result, age, context, stale)
583
+ } else if (util.isStream(result.body)) {
584
+ result.body.on('error', nop).destroy()
585
+ }
586
+ },
587
+ new CacheHandler(globalOpts, cacheKey, handler),
588
+ withinStaleIfErrorThreshold
589
+ )
590
+ )
591
+ }
592
+
593
+ // Dump request body.
594
+ if (util.isStream(opts.body)) {
595
+ opts.body.on('error', nop).destroy()
596
+ }
597
+
598
+ sendCachedValue(handler, opts, result, age, null, false)
599
+ }
600
+
601
+ /**
602
+ * @param {import('../../types/cache-interceptor.d.ts').default.CacheOptions} [opts]
603
+ * @returns {import('../../types/dispatcher.d.ts').default.DispatcherComposeInterceptor}
604
+ */
605
+ module.exports = (opts = {}) => {
606
+ const {
607
+ store = new MemoryCacheStore(),
608
+ methods = ['GET'],
609
+ cacheByDefault = undefined,
610
+ type = 'shared',
611
+ origins = undefined
612
+ } = opts
613
+
614
+ if (typeof opts !== 'object' || opts === null) {
615
+ throw new TypeError(`expected type of opts to be an Object, got ${opts === null ? 'null' : typeof opts}`)
616
+ }
617
+
618
+ assertCacheStore(store, 'opts.store')
619
+ assertCacheMethods(methods, 'opts.methods')
620
+ assertCacheOrigins(origins, 'opts.origins')
621
+
622
+ if (typeof cacheByDefault !== 'undefined' && typeof cacheByDefault !== 'number') {
623
+ throw new TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof cacheByDefault}`)
624
+ }
625
+
626
+ if (typeof type !== 'undefined' && type !== 'shared' && type !== 'private') {
627
+ throw new TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof type}`)
628
+ }
629
+
630
+ const globalOpts = {
631
+ store,
632
+ methods,
633
+ cacheByDefault,
634
+ type
635
+ }
636
+
637
+ const safeMethodsToNotCache = []
638
+ for (let i = 0; i < util.safeHTTPMethods.length; i++) {
639
+ const method = util.safeHTTPMethods[i]
640
+ if (!arrayIncludes(methods, method)) {
641
+ safeMethodsToNotCache.push(method)
642
+ }
643
+ }
644
+
645
+ return dispatch => {
646
+ return (opts, handler) => {
647
+ if (!opts.origin || arrayIncludes(safeMethodsToNotCache, opts.method)) {
648
+ // Not a method we want to cache or we don't have the origin, skip
649
+ return dispatch(opts, handler)
650
+ }
651
+
652
+ // Check if origin is in whitelist
653
+ if (origins !== undefined) {
654
+ const requestOrigin = opts.origin.toString().toLowerCase()
655
+ let isAllowed = false
656
+
657
+ for (let i = 0; i < origins.length; i++) {
658
+ const allowed = origins[i]
659
+ if (typeof allowed === 'string') {
660
+ if (allowed.toLowerCase() === requestOrigin) {
661
+ isAllowed = true
662
+ break
663
+ }
664
+ } else if (allowed.test(requestOrigin)) {
665
+ isAllowed = true
666
+ break
667
+ }
668
+ }
669
+
670
+ if (!isAllowed) {
671
+ return dispatch(opts, handler)
672
+ }
673
+ }
674
+
675
+ opts = {
676
+ ...opts,
677
+ headers: normalizeHeaders(opts)
678
+ }
679
+
680
+ const reqCacheControl = opts.headers?.['cache-control']
681
+ ? parseCacheControlHeader(opts.headers['cache-control'])
682
+ : hasPragmaNoCache(opts.headers)
683
+ ? { 'no-cache': true }
684
+ : undefined
685
+
686
+ if (reqCacheControl?.['no-store']) {
687
+ return dispatch(opts, handler)
688
+ }
689
+
690
+ /**
691
+ * @type {import('../../types/cache-interceptor.d.ts').default.CacheKey}
692
+ */
693
+ const cacheKey = makeCacheKey(opts)
694
+
695
+ if (!arrayIncludes(util.safeHTTPMethods, opts.method)) {
696
+ return dispatch(opts, new CacheHandler(globalOpts, cacheKey, handler))
697
+ }
698
+
699
+ const result = store.get(cacheKey)
700
+
701
+ if (result && typeof result.then === 'function') {
702
+ return result
703
+ .then(result => handleResult(dispatch,
704
+ globalOpts,
705
+ cacheKey,
706
+ handler,
707
+ opts,
708
+ reqCacheControl,
709
+ result
710
+ ))
711
+ .catch((err) => {
712
+ // Any throw escaping handleResult on the async-store path (e.g. a
713
+ // rejection from store.get() itself, or a throw in a code path not
714
+ // converged by sendCachedValue) would otherwise surface as an
715
+ // unhandled promise rejection and crash the process. Route it to
716
+ // the handler instead, matching the synchronous store path where
717
+ // the error propagates to the request() call site.
718
+ if (typeof handler.onResponseError === 'function') {
719
+ handler.onResponseError({
720
+ rawHeaders: [],
721
+ rawTrailers: [],
722
+ pause () {},
723
+ resume () {},
724
+ get paused () { return false },
725
+ get aborted () { return false },
726
+ get reason () { return null },
727
+ abort () {}
728
+ }, err)
729
+ } else {
730
+ throw err
731
+ }
732
+ })
733
+ } else {
734
+ return handleResult(
735
+ dispatch,
736
+ globalOpts,
737
+ cacheKey,
738
+ handler,
739
+ opts,
740
+ reqCacheControl,
741
+ result
742
+ )
743
+ }
744
+ }
745
+ }
746
+ }