9router 0.5.111 → 0.5.116

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 (1241) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +10 -9
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/prerender-manifest.json +6 -6
  5. package/app/.next-cli-build/required-server-files.json +7 -1
  6. package/app/.next-cli-build/routes-manifest.json +6 -0
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +8 -8
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +2 -2
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +4 -4
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +2 -2
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page.js +2 -2
  77. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  78. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  83. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  86. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  87. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  88. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  89. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  90. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +4 -4
  91. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  92. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  93. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  101. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  102. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  103. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  105. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +2 -2
  107. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  109. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  111. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  113. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +5 -5
  115. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +2 -2
  117. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  121. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js +2 -2
  125. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  131. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  133. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +2 -2
  135. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js +2 -2
  139. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +3 -3
  141. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +2 -2
  143. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  145. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js +2 -2
  147. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +1 -1
  149. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js +2 -2
  151. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +2 -2
  155. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js +3 -3
  159. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  161. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  163. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js +2 -2
  167. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  169. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  171. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  175. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  179. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +2 -2
  197. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  225. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js +4 -0
  231. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -0
  232. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route_client-reference-manifest.js +1 -0
  233. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +1 -1
  234. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  236. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  238. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  240. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  242. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  246. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  252. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  258. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js +1 -1
  262. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js +2 -2
  264. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  280. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +2 -2
  306. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js +2 -2
  308. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  313. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  315. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  317. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  319. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  321. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  323. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  325. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  327. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  337. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  339. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  340. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  341. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  342. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  343. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  344. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  345. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  346. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  347. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  348. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  349. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  350. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  351. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  352. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  353. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  354. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  355. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  356. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  357. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  358. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  359. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  360. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  361. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  362. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  363. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  364. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  365. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  366. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  367. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  368. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  369. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  370. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  371. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  372. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  373. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  374. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  375. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  376. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  377. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  378. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  379. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  380. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  381. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  382. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  383. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  384. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  385. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  386. package/app/.next-cli-build/server/app/api/usage/stream/route.js +1 -1
  387. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  388. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  389. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  390. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  391. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  392. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +2 -2
  393. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  394. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  395. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  396. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  397. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  398. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  399. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  400. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +6 -3
  401. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  402. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  403. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  404. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  405. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  407. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  408. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  409. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  410. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  411. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  412. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  413. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  414. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  415. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  416. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  417. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  418. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  419. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  420. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  421. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  422. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  423. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  424. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  425. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  426. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  427. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  428. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  429. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  430. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  432. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  433. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  434. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  435. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  436. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  437. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  439. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  440. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  441. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  442. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  443. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  444. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  445. package/app/.next-cli-build/server/app/callback.html +1 -1
  446. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  447. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  448. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  449. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +4 -4
  450. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  451. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +4 -4
  452. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +4 -4
  453. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +4 -4
  454. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  455. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  456. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +7 -7
  457. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +7 -7
  458. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +7 -7
  459. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  460. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  461. package/app/.next-cli-build/server/app/dashboard/combos.rsc +4 -4
  462. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +4 -4
  463. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +4 -4
  464. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  465. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  466. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +4 -4
  467. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +4 -4
  468. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +4 -4
  469. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  470. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  471. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +4 -4
  472. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +4 -4
  473. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +4 -4
  474. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  475. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  476. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +7 -7
  477. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +7 -7
  478. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +7 -7
  479. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  480. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  481. package/app/.next-cli-build/server/app/dashboard/profile.rsc +4 -4
  482. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +4 -4
  483. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +4 -4
  484. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  485. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  486. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +4 -4
  487. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +4 -4
  488. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +4 -4
  489. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  490. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  491. package/app/.next-cli-build/server/app/dashboard/providers.rsc +4 -4
  492. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +4 -4
  493. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +4 -4
  494. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  495. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  496. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +4 -4
  497. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +4 -4
  498. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +4 -4
  499. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  500. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  501. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +4 -4
  502. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +4 -4
  503. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +4 -4
  504. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  505. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  506. package/app/.next-cli-build/server/app/dashboard/quota.rsc +5 -5
  507. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +5 -5
  508. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +5 -5
  509. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  510. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  512. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  513. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  515. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  516. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  517. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +4 -4
  518. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  519. package/app/.next-cli-build/server/app/dashboard/skills.rsc +4 -4
  520. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +4 -4
  521. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +4 -4
  522. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +4 -4
  525. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +4 -4
  526. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +4 -4
  527. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  528. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  529. package/app/.next-cli-build/server/app/dashboard/translator.rsc +4 -4
  530. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +4 -4
  531. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +4 -4
  532. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/usage.rsc +4 -4
  535. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +4 -4
  536. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +4 -4
  537. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  538. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  539. package/app/.next-cli-build/server/app/dashboard.rsc +4 -4
  540. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +4 -4
  541. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +4 -4
  542. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  544. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  545. package/app/.next-cli-build/server/app/index.html +1 -1
  546. package/app/.next-cli-build/server/app/index.rsc +4 -4
  547. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +4 -4
  548. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  549. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  551. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  552. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  553. package/app/.next-cli-build/server/app/landing.html +1 -1
  554. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  555. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  556. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  557. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +4 -4
  558. package/app/.next-cli-build/server/app/login/page.js +1 -1
  559. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  560. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  561. package/app/.next-cli-build/server/app/login.html +1 -1
  562. package/app/.next-cli-build/server/app/login.rsc +4 -4
  563. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +4 -4
  564. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  565. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +4 -4
  566. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  567. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  568. package/app/.next-cli-build/server/app/page.js +1 -1
  569. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  570. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  571. package/app/.next-cli-build/server/app-paths-manifest.json +10 -9
  572. package/app/.next-cli-build/server/chunks/1004.js +1 -0
  573. package/app/.next-cli-build/server/chunks/1051.js +1 -1
  574. package/app/.next-cli-build/server/chunks/1350.js +1 -1
  575. package/app/.next-cli-build/server/chunks/1356.js +1 -1
  576. package/app/.next-cli-build/server/chunks/1757.js +1 -1
  577. package/app/.next-cli-build/server/chunks/2365.js +1 -1
  578. package/app/.next-cli-build/server/chunks/238.js +1 -1
  579. package/app/.next-cli-build/server/chunks/2380.js +10 -10
  580. package/app/.next-cli-build/server/chunks/24.js +1 -1
  581. package/app/.next-cli-build/server/chunks/2598.js +1 -1
  582. package/app/.next-cli-build/server/chunks/2822.js +1 -1
  583. package/app/.next-cli-build/server/chunks/3697.js +1 -1
  584. package/app/.next-cli-build/server/chunks/{5299.js → 3783.js} +3 -3
  585. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  586. package/app/.next-cli-build/server/chunks/412.js +1 -1
  587. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  588. package/app/.next-cli-build/server/chunks/4279.js +1 -1
  589. package/app/.next-cli-build/server/chunks/4480.js +1 -0
  590. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  591. package/app/.next-cli-build/server/chunks/5330.js +23 -23
  592. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  593. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  594. package/app/.next-cli-build/server/chunks/615.js +1 -1
  595. package/app/.next-cli-build/server/chunks/6690.js +1 -0
  596. package/app/.next-cli-build/server/chunks/6724.js +1 -1
  597. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  598. package/app/.next-cli-build/server/chunks/7187.js +1 -1
  599. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  600. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  601. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  602. package/app/.next-cli-build/server/chunks/{2132.js → 7573.js} +1 -1
  603. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  604. package/app/.next-cli-build/server/chunks/8251.js +1 -1
  605. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  606. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  607. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  608. package/app/.next-cli-build/server/chunks/8499.js +1 -0
  609. package/app/.next-cli-build/server/chunks/8623.js +1 -1
  610. package/app/.next-cli-build/server/chunks/869.js +1 -1
  611. package/app/.next-cli-build/server/chunks/8895.js +3 -3
  612. package/app/.next-cli-build/server/chunks/8896.js +1 -0
  613. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  614. package/app/.next-cli-build/server/chunks/9102.js +1 -0
  615. package/app/.next-cli-build/server/chunks/9128.js +1 -1
  616. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  617. package/app/.next-cli-build/server/chunks/9604.js +1 -1
  618. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  619. package/app/.next-cli-build/server/chunks/9696.js +1 -1
  620. package/app/.next-cli-build/server/instrumentation.js +1 -1
  621. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  622. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  623. package/app/.next-cli-build/server/middleware.js +14 -14
  624. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  625. package/app/.next-cli-build/server/pages/404.html +1 -1
  626. package/app/.next-cli-build/server/pages/500.html +1 -1
  627. package/app/.next-cli-build/server/preview-props.json +3 -3
  628. package/app/.next-cli-build/server/server-reference-manifest.js +1 -1
  629. package/app/.next-cli-build/server/server-reference-manifest.json +1 -1
  630. package/app/.next-cli-build/server/webpack-runtime.js +1 -1
  631. package/app/.next-cli-build/static/Z4ZIksyhEDiaIj7-73igf/_buildManifest.js +1 -0
  632. package/app/.next-cli-build/static/chunks/1321-93eb6ca56f8fcb1e.js +1 -0
  633. package/app/.next-cli-build/static/chunks/{5497-09541f53986a9e0d.js → 5497-870732fd9d818574.js} +1 -1
  634. package/app/.next-cli-build/static/chunks/{761-f671b0371daf6356.js → 9134-07842c4023ec2223.js} +11 -11
  635. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-9fe240988c674585.js → page-dde07454165b542e.js} +1 -1
  636. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-2e6e4ef7c270a4ff.js → page-0e889b3c170b388d.js} +1 -1
  637. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0f55372821920062.js → page-0688449cf035f993.js} +6 -6
  638. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-2f96a614dc53d80f.js → page-38924c451fb16b6e.js} +1 -1
  639. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f98f1e29fd6fc471.js +27 -0
  640. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-9782a8d4c3075073.js +1 -0
  641. package/app/.next-cli-build/static/chunks/app/_global-error/{page-a70f643786fb402f.js → page-4e22949b210a2492.js} +1 -1
  642. package/app/.next-cli-build/static/chunks/app/api/auth/login/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  643. package/app/.next-cli-build/static/chunks/app/api/auth/logout/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  644. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/{route-a70f643786fb402f.js → route-4e22949b210a2492.js} +1 -1
  645. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-4e22949b210a2492.js +1 -0
  646. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-4e22949b210a2492.js +1 -0
  647. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-4e22949b210a2492.js +1 -0
  648. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-4e22949b210a2492.js +1 -0
  649. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-4e22949b210a2492.js +1 -0
  650. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-4e22949b210a2492.js +1 -0
  651. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-4e22949b210a2492.js +1 -0
  652. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-4e22949b210a2492.js +1 -0
  653. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-4e22949b210a2492.js +1 -0
  654. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-4e22949b210a2492.js +1 -0
  655. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-4e22949b210a2492.js +1 -0
  656. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-4e22949b210a2492.js +1 -0
  657. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-4e22949b210a2492.js +1 -0
  658. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-4e22949b210a2492.js +1 -0
  659. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-4e22949b210a2492.js +1 -0
  660. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-4e22949b210a2492.js +1 -0
  661. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-4e22949b210a2492.js +1 -0
  662. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-4e22949b210a2492.js +1 -0
  663. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-4e22949b210a2492.js +1 -0
  664. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-4e22949b210a2492.js +1 -0
  665. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-4e22949b210a2492.js +1 -0
  666. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-4e22949b210a2492.js +1 -0
  667. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-4e22949b210a2492.js +1 -0
  668. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-4e22949b210a2492.js +1 -0
  669. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-4e22949b210a2492.js +1 -0
  670. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-4e22949b210a2492.js +1 -0
  671. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-4e22949b210a2492.js +1 -0
  672. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-4e22949b210a2492.js +1 -0
  673. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-4e22949b210a2492.js +1 -0
  674. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-4e22949b210a2492.js +1 -0
  675. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-4e22949b210a2492.js +1 -0
  676. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-4e22949b210a2492.js +1 -0
  677. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-4e22949b210a2492.js +1 -0
  678. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-4e22949b210a2492.js +1 -0
  679. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-4e22949b210a2492.js +1 -0
  680. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-4e22949b210a2492.js +1 -0
  681. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-4e22949b210a2492.js +1 -0
  682. package/app/.next-cli-build/static/chunks/app/api/combos/route-4e22949b210a2492.js +1 -0
  683. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-4e22949b210a2492.js +1 -0
  684. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-4e22949b210a2492.js +1 -0
  685. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-4e22949b210a2492.js +1 -0
  686. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-4e22949b210a2492.js +1 -0
  687. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-4e22949b210a2492.js +1 -0
  688. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-4e22949b210a2492.js +1 -0
  689. package/app/.next-cli-build/static/chunks/app/api/health/route-4e22949b210a2492.js +1 -0
  690. package/app/.next-cli-build/static/chunks/app/api/init/route-4e22949b210a2492.js +1 -0
  691. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-4e22949b210a2492.js +1 -0
  692. package/app/.next-cli-build/static/chunks/app/api/keys/route-4e22949b210a2492.js +1 -0
  693. package/app/.next-cli-build/static/chunks/app/api/locale/route-4e22949b210a2492.js +1 -0
  694. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-4e22949b210a2492.js +1 -0
  695. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-4e22949b210a2492.js +1 -0
  696. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-4e22949b210a2492.js +1 -0
  697. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-4e22949b210a2492.js +1 -0
  698. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-4e22949b210a2492.js +1 -0
  699. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-4e22949b210a2492.js +1 -0
  700. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-4e22949b210a2492.js +1 -0
  701. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-4e22949b210a2492.js +1 -0
  702. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-4e22949b210a2492.js +1 -0
  703. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-4e22949b210a2492.js +1 -0
  704. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-4e22949b210a2492.js +1 -0
  705. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-4e22949b210a2492.js +1 -0
  706. package/app/.next-cli-build/static/chunks/app/api/models/route-4e22949b210a2492.js +1 -0
  707. package/app/.next-cli-build/static/chunks/app/api/models/test/route-4e22949b210a2492.js +1 -0
  708. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-4e22949b210a2492.js +1 -0
  709. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-4e22949b210a2492.js +1 -0
  710. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-4e22949b210a2492.js +1 -0
  711. package/app/.next-cli-build/static/chunks/app/api/oauth/commandcode/auto-import/route-4e22949b210a2492.js +1 -0
  712. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-4e22949b210a2492.js +1 -0
  713. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-4e22949b210a2492.js +1 -0
  714. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-4e22949b210a2492.js +1 -0
  715. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-4e22949b210a2492.js +1 -0
  716. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-4e22949b210a2492.js +1 -0
  717. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-4e22949b210a2492.js +1 -0
  718. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-4e22949b210a2492.js +1 -0
  719. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-4e22949b210a2492.js +1 -0
  720. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-4e22949b210a2492.js +1 -0
  721. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-4e22949b210a2492.js +1 -0
  722. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-4e22949b210a2492.js +1 -0
  723. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-4e22949b210a2492.js +1 -0
  724. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-4e22949b210a2492.js +1 -0
  725. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-4e22949b210a2492.js +1 -0
  726. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-4e22949b210a2492.js +1 -0
  727. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-4e22949b210a2492.js +1 -0
  728. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-4e22949b210a2492.js +1 -0
  729. package/app/.next-cli-build/static/chunks/app/api/pricing/route-4e22949b210a2492.js +1 -0
  730. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-4e22949b210a2492.js +1 -0
  731. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-4e22949b210a2492.js +1 -0
  732. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-4e22949b210a2492.js +1 -0
  733. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-4e22949b210a2492.js +1 -0
  734. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-4e22949b210a2492.js +1 -0
  735. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-4e22949b210a2492.js +1 -0
  736. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-4e22949b210a2492.js +1 -0
  737. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-4e22949b210a2492.js +1 -0
  738. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-4e22949b210a2492.js +1 -0
  739. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-4e22949b210a2492.js +1 -0
  740. package/app/.next-cli-build/static/chunks/app/api/providers/route-4e22949b210a2492.js +1 -0
  741. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-4e22949b210a2492.js +1 -0
  742. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-4e22949b210a2492.js +1 -0
  743. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-4e22949b210a2492.js +1 -0
  744. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-4e22949b210a2492.js +1 -0
  745. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-4e22949b210a2492.js +1 -0
  746. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-4e22949b210a2492.js +1 -0
  747. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-4e22949b210a2492.js +1 -0
  748. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-4e22949b210a2492.js +1 -0
  749. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-4e22949b210a2492.js +1 -0
  750. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-4e22949b210a2492.js +1 -0
  751. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-4e22949b210a2492.js +1 -0
  752. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-4e22949b210a2492.js +1 -0
  753. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-4e22949b210a2492.js +1 -0
  754. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-4e22949b210a2492.js +1 -0
  755. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-4e22949b210a2492.js +1 -0
  756. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-4e22949b210a2492.js +1 -0
  757. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-4e22949b210a2492.js +1 -0
  758. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-4e22949b210a2492.js +1 -0
  759. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-4e22949b210a2492.js +1 -0
  760. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-4e22949b210a2492.js +1 -0
  761. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-4e22949b210a2492.js +1 -0
  762. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-4e22949b210a2492.js +1 -0
  763. package/app/.next-cli-build/static/chunks/app/api/settings/route-4e22949b210a2492.js +1 -0
  764. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-4e22949b210a2492.js +1 -0
  765. package/app/.next-cli-build/static/chunks/app/api/tags/route-4e22949b210a2492.js +1 -0
  766. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-4e22949b210a2492.js +1 -0
  767. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-4e22949b210a2492.js +1 -0
  768. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-4e22949b210a2492.js +1 -0
  769. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-4e22949b210a2492.js +1 -0
  770. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-4e22949b210a2492.js +1 -0
  771. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-4e22949b210a2492.js +1 -0
  772. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-4e22949b210a2492.js +1 -0
  773. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-4e22949b210a2492.js +1 -0
  774. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-4e22949b210a2492.js +1 -0
  775. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-4e22949b210a2492.js +1 -0
  776. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-4e22949b210a2492.js +1 -0
  777. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-4e22949b210a2492.js +1 -0
  778. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-4e22949b210a2492.js +1 -0
  779. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-4e22949b210a2492.js +1 -0
  780. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-4e22949b210a2492.js +1 -0
  781. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-4e22949b210a2492.js +1 -0
  782. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-4e22949b210a2492.js +1 -0
  783. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-4e22949b210a2492.js +1 -0
  784. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-4e22949b210a2492.js +1 -0
  785. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-4e22949b210a2492.js +1 -0
  786. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-4e22949b210a2492.js +1 -0
  787. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-4e22949b210a2492.js +1 -0
  788. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-4e22949b210a2492.js +1 -0
  789. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-4e22949b210a2492.js +1 -0
  790. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-4e22949b210a2492.js +1 -0
  791. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-4e22949b210a2492.js +1 -0
  792. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-4e22949b210a2492.js +1 -0
  793. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-4e22949b210a2492.js +1 -0
  794. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-4e22949b210a2492.js +1 -0
  795. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-4e22949b210a2492.js +1 -0
  796. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-4e22949b210a2492.js +1 -0
  797. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-4e22949b210a2492.js +1 -0
  798. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-4e22949b210a2492.js +1 -0
  799. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-4e22949b210a2492.js +1 -0
  800. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-4e22949b210a2492.js +1 -0
  801. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-4e22949b210a2492.js +1 -0
  802. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-4e22949b210a2492.js +1 -0
  803. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-4e22949b210a2492.js +1 -0
  804. package/app/.next-cli-build/static/chunks/app/api/v1/route-4e22949b210a2492.js +1 -0
  805. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-4e22949b210a2492.js +1 -0
  806. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-4e22949b210a2492.js +1 -0
  807. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-4e22949b210a2492.js +1 -0
  808. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-4e22949b210a2492.js +1 -0
  809. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-4e22949b210a2492.js +1 -0
  810. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-4e22949b210a2492.js +1 -0
  811. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-4e22949b210a2492.js +1 -0
  812. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-4e22949b210a2492.js +1 -0
  813. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-4e22949b210a2492.js +1 -0
  814. package/app/.next-cli-build/static/chunks/app/api/version/route-4e22949b210a2492.js +1 -0
  815. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-4e22949b210a2492.js +1 -0
  816. package/app/.next-cli-build/static/chunks/app/api/version/update/route-4e22949b210a2492.js +1 -0
  817. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-4e22949b210a2492.js +1 -0
  818. package/app/.next-cli-build/static/chunks/app/page-4e22949b210a2492.js +1 -0
  819. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-4e22949b210a2492.js +1 -0
  820. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-4e22949b210a2492.js +1 -0
  821. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-4e22949b210a2492.js +1 -0
  822. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-4e22949b210a2492.js +1 -0
  823. package/app/.next-cli-build/static/css/836344dc90be2bb4.css +1 -0
  824. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  825. package/app/node_modules/undici/LICENSE +21 -0
  826. package/app/node_modules/undici/README.md +828 -0
  827. package/app/node_modules/undici/docs/docs/api/Agent.md +291 -0
  828. package/app/node_modules/undici/docs/docs/api/BalancedPool.md +297 -0
  829. package/app/node_modules/undici/docs/docs/api/CacheStorage.md +188 -0
  830. package/app/node_modules/undici/docs/docs/api/CacheStore.md +375 -0
  831. package/app/node_modules/undici/docs/docs/api/Client.md +538 -0
  832. package/app/node_modules/undici/docs/docs/api/ClientStats.md +93 -0
  833. package/app/node_modules/undici/docs/docs/api/Connector.md +198 -0
  834. package/app/node_modules/undici/docs/docs/api/ContentType.md +97 -0
  835. package/app/node_modules/undici/docs/docs/api/Cookies.md +179 -0
  836. package/app/node_modules/undici/docs/docs/api/Debug.md +78 -0
  837. package/app/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +518 -0
  838. package/app/node_modules/undici/docs/docs/api/Dispatcher.md +839 -0
  839. package/app/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +171 -0
  840. package/app/node_modules/undici/docs/docs/api/Errors.md +624 -0
  841. package/app/node_modules/undici/docs/docs/api/EventSource.md +358 -0
  842. package/app/node_modules/undici/docs/docs/api/Fetch.md +721 -0
  843. package/app/node_modules/undici/docs/docs/api/GlobalInstallation.md +121 -0
  844. package/app/node_modules/undici/docs/docs/api/H2CClient.md +386 -0
  845. package/app/node_modules/undici/docs/docs/api/Interceptors.md +439 -0
  846. package/app/node_modules/undici/docs/docs/api/MockAgent.md +622 -0
  847. package/app/node_modules/undici/docs/docs/api/MockCallHistory.md +371 -0
  848. package/app/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +206 -0
  849. package/app/node_modules/undici/docs/docs/api/MockClient.md +199 -0
  850. package/app/node_modules/undici/docs/docs/api/MockErrors.md +63 -0
  851. package/app/node_modules/undici/docs/docs/api/MockPool.md +618 -0
  852. package/app/node_modules/undici/docs/docs/api/Pool.md +278 -0
  853. package/app/node_modules/undici/docs/docs/api/PoolStats.md +141 -0
  854. package/app/node_modules/undici/docs/docs/api/ProxyAgent.md +248 -0
  855. package/app/node_modules/undici/docs/docs/api/RedirectHandler.md +279 -0
  856. package/app/node_modules/undici/docs/docs/api/RetryAgent.md +136 -0
  857. package/app/node_modules/undici/docs/docs/api/RetryHandler.md +200 -0
  858. package/app/node_modules/undici/docs/docs/api/RoundRobinPool.md +239 -0
  859. package/app/node_modules/undici/docs/docs/api/SnapshotAgent.md +361 -0
  860. package/app/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +256 -0
  861. package/app/node_modules/undici/docs/docs/api/Util.md +82 -0
  862. package/app/node_modules/undici/docs/docs/api/WebSocket.md +536 -0
  863. package/app/node_modules/undici/docs/docs/api/api-lifecycle.md +159 -0
  864. package/app/node_modules/undici/docs/docs/best-practices/client-certificate.md +66 -0
  865. package/app/node_modules/undici/docs/docs/best-practices/crawling.md +60 -0
  866. package/app/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +233 -0
  867. package/app/node_modules/undici/docs/docs/best-practices/mocking-request.md +192 -0
  868. package/app/node_modules/undici/docs/docs/best-practices/proxy.md +129 -0
  869. package/app/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +226 -0
  870. package/app/node_modules/undici/docs/docs/best-practices/writing-tests.md +65 -0
  871. package/app/node_modules/undici/docs/docs/getting-started.md +281 -0
  872. package/app/node_modules/undici/docs/docs/index.md +793 -0
  873. package/app/node_modules/undici/docs/docs/site.json +125 -0
  874. package/app/node_modules/undici/docs/docs/type-map.json +79 -0
  875. package/app/node_modules/undici/index-fetch.js +65 -0
  876. package/app/node_modules/undici/index.d.ts +3 -0
  877. package/app/node_modules/undici/index.js +236 -0
  878. package/app/node_modules/undici/lib/api/abort-signal.js +59 -0
  879. package/app/node_modules/undici/lib/api/api-connect.js +112 -0
  880. package/app/node_modules/undici/lib/api/api-pipeline.js +265 -0
  881. package/app/node_modules/undici/lib/api/api-request.js +244 -0
  882. package/app/node_modules/undici/lib/api/api-stream.js +270 -0
  883. package/app/node_modules/undici/lib/api/api-upgrade.js +121 -0
  884. package/app/node_modules/undici/lib/api/index.js +7 -0
  885. package/app/node_modules/undici/lib/api/readable.js +615 -0
  886. package/app/node_modules/undici/lib/cache/memory-cache-store.js +314 -0
  887. package/app/node_modules/undici/lib/cache/sqlite-cache-store.js +547 -0
  888. package/app/node_modules/undici/lib/core/connect.js +198 -0
  889. package/app/node_modules/undici/lib/core/constants.js +131 -0
  890. package/app/node_modules/undici/lib/core/diagnostics.js +227 -0
  891. package/app/node_modules/undici/lib/core/errors.js +534 -0
  892. package/app/node_modules/undici/lib/core/request.js +582 -0
  893. package/app/node_modules/undici/lib/core/socks5-client.js +422 -0
  894. package/app/node_modules/undici/lib/core/socks5-utils.js +212 -0
  895. package/app/node_modules/undici/lib/core/symbols.js +81 -0
  896. package/app/node_modules/undici/lib/core/tree.js +160 -0
  897. package/app/node_modules/undici/lib/core/util.js +1035 -0
  898. package/app/node_modules/undici/lib/dispatcher/agent.js +181 -0
  899. package/app/node_modules/undici/lib/dispatcher/balanced-pool.js +217 -0
  900. package/app/node_modules/undici/lib/dispatcher/client-h1.js +1844 -0
  901. package/app/node_modules/undici/lib/dispatcher/client-h2.js +1932 -0
  902. package/app/node_modules/undici/lib/dispatcher/client.js +749 -0
  903. package/app/node_modules/undici/lib/dispatcher/dispatcher-base.js +198 -0
  904. package/app/node_modules/undici/lib/dispatcher/dispatcher.js +58 -0
  905. package/app/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +127 -0
  906. package/app/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +190 -0
  907. package/app/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  908. package/app/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  909. package/app/node_modules/undici/lib/dispatcher/parser-h1.js +1064 -0
  910. package/app/node_modules/undici/lib/dispatcher/pool-base.js +347 -0
  911. package/app/node_modules/undici/lib/dispatcher/pool.js +229 -0
  912. package/app/node_modules/undici/lib/dispatcher/proxy-agent.js +418 -0
  913. package/app/node_modules/undici/lib/dispatcher/retry-agent.js +48 -0
  914. package/app/node_modules/undici/lib/dispatcher/round-robin-pool.js +169 -0
  915. package/app/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +350 -0
  916. package/app/node_modules/undici/lib/encoding/index.js +33 -0
  917. package/app/node_modules/undici/lib/global.js +82 -0
  918. package/app/node_modules/undici/lib/handler/cache-handler.js +956 -0
  919. package/app/node_modules/undici/lib/handler/cache-revalidation-handler.js +134 -0
  920. package/app/node_modules/undici/lib/handler/decorator-handler.js +72 -0
  921. package/app/node_modules/undici/lib/handler/deduplication-handler.js +540 -0
  922. package/app/node_modules/undici/lib/handler/redirect-handler.js +263 -0
  923. package/app/node_modules/undici/lib/handler/retry-handler.js +686 -0
  924. package/app/node_modules/undici/lib/interceptor/cache.js +682 -0
  925. package/app/node_modules/undici/lib/interceptor/decompress.js +574 -0
  926. package/app/node_modules/undici/lib/interceptor/deduplicate.js +118 -0
  927. package/app/node_modules/undici/lib/interceptor/dns.js +593 -0
  928. package/app/node_modules/undici/lib/interceptor/dump.js +99 -0
  929. package/app/node_modules/undici/lib/interceptor/redirect.js +21 -0
  930. package/app/node_modules/undici/lib/interceptor/response-error.js +139 -0
  931. package/app/node_modules/undici/lib/interceptor/retry.js +19 -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/milo/LICENSE.md +7 -0
  939. package/app/node_modules/undici/lib/milo/no-simd.js +1002 -0
  940. package/app/node_modules/undici/lib/milo/simd.js +1002 -0
  941. package/app/node_modules/undici/lib/mock/mock-agent.js +255 -0
  942. package/app/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  943. package/app/node_modules/undici/lib/mock/mock-client.js +68 -0
  944. package/app/node_modules/undici/lib/mock/mock-errors.js +29 -0
  945. package/app/node_modules/undici/lib/mock/mock-interceptor.js +227 -0
  946. package/app/node_modules/undici/lib/mock/mock-pool.js +68 -0
  947. package/app/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  948. package/app/node_modules/undici/lib/mock/mock-utils.js +720 -0
  949. package/app/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  950. package/app/node_modules/undici/lib/mock/snapshot-agent.js +371 -0
  951. package/app/node_modules/undici/lib/mock/snapshot-recorder.js +624 -0
  952. package/app/node_modules/undici/lib/mock/snapshot-utils.js +159 -0
  953. package/app/node_modules/undici/lib/util/cache.js +764 -0
  954. package/app/node_modules/undici/lib/util/date.js +670 -0
  955. package/app/node_modules/undici/lib/util/runtime-features.js +93 -0
  956. package/app/node_modules/undici/lib/util/stats.js +32 -0
  957. package/app/node_modules/undici/lib/util/timers.js +425 -0
  958. package/app/node_modules/undici/lib/web/cache/cache.js +871 -0
  959. package/app/node_modules/undici/lib/web/cache/cachestorage.js +158 -0
  960. package/app/node_modules/undici/lib/web/cache/util.js +45 -0
  961. package/app/node_modules/undici/lib/web/cookies/constants.js +12 -0
  962. package/app/node_modules/undici/lib/web/cookies/index.js +211 -0
  963. package/app/node_modules/undici/lib/web/cookies/parse.js +318 -0
  964. package/app/node_modules/undici/lib/web/cookies/util.js +371 -0
  965. package/app/node_modules/undici/lib/web/eventsource/eventsource-stream.js +575 -0
  966. package/app/node_modules/undici/lib/web/eventsource/eventsource.js +547 -0
  967. package/app/node_modules/undici/lib/web/eventsource/util.js +60 -0
  968. package/app/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  969. package/app/node_modules/undici/lib/web/fetch/body.js +563 -0
  970. package/app/node_modules/undici/lib/web/fetch/constants.js +131 -0
  971. package/app/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  972. package/app/node_modules/undici/lib/web/fetch/formdata-parser.js +594 -0
  973. package/app/node_modules/undici/lib/web/fetch/formdata.js +272 -0
  974. package/app/node_modules/undici/lib/web/fetch/global.js +40 -0
  975. package/app/node_modules/undici/lib/web/fetch/headers.js +722 -0
  976. package/app/node_modules/undici/lib/web/fetch/index.js +2457 -0
  977. package/app/node_modules/undici/lib/web/fetch/request.js +1139 -0
  978. package/app/node_modules/undici/lib/web/fetch/response.js +638 -0
  979. package/app/node_modules/undici/lib/web/fetch/util.js +1530 -0
  980. package/app/node_modules/undici/lib/web/infra/index.js +244 -0
  981. package/app/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  982. package/app/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  983. package/app/node_modules/undici/lib/web/webidl/index.js +992 -0
  984. package/app/node_modules/undici/lib/web/websocket/connection.js +350 -0
  985. package/app/node_modules/undici/lib/web/websocket/constants.js +126 -0
  986. package/app/node_modules/undici/lib/web/websocket/events.js +348 -0
  987. package/app/node_modules/undici/lib/web/websocket/frame.js +127 -0
  988. package/app/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  989. package/app/node_modules/undici/lib/web/websocket/receiver.js +530 -0
  990. package/app/node_modules/undici/lib/web/websocket/sender.js +109 -0
  991. package/app/node_modules/undici/lib/web/websocket/stream/websocketerror.js +107 -0
  992. package/app/node_modules/undici/lib/web/websocket/stream/websocketstream.js +511 -0
  993. package/app/node_modules/undici/lib/web/websocket/util.js +347 -0
  994. package/app/node_modules/undici/lib/web/websocket/websocket.js +783 -0
  995. package/app/node_modules/undici/package.json +154 -0
  996. package/app/node_modules/undici/scripts/strip-comments.js +10 -0
  997. package/app/node_modules/undici/types/README.md +6 -0
  998. package/app/node_modules/undici/types/agent.d.ts +30 -0
  999. package/app/node_modules/undici/types/api.d.ts +43 -0
  1000. package/app/node_modules/undici/types/balanced-pool.d.ts +30 -0
  1001. package/app/node_modules/undici/types/cache-interceptor.d.ts +189 -0
  1002. package/app/node_modules/undici/types/cache.d.ts +36 -0
  1003. package/app/node_modules/undici/types/client-stats.d.ts +15 -0
  1004. package/app/node_modules/undici/types/client.d.ts +190 -0
  1005. package/app/node_modules/undici/types/connector.d.ts +37 -0
  1006. package/app/node_modules/undici/types/content-type.d.ts +21 -0
  1007. package/app/node_modules/undici/types/cookies.d.ts +30 -0
  1008. package/app/node_modules/undici/types/diagnostics-channel.d.ts +75 -0
  1009. package/app/node_modules/undici/types/dispatcher.d.ts +253 -0
  1010. package/app/node_modules/undici/types/dispatcher1-wrapper.d.ts +7 -0
  1011. package/app/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  1012. package/app/node_modules/undici/types/errors.d.ts +202 -0
  1013. package/app/node_modules/undici/types/eventsource.d.ts +66 -0
  1014. package/app/node_modules/undici/types/fetch.d.ts +235 -0
  1015. package/app/node_modules/undici/types/formdata.d.ts +108 -0
  1016. package/app/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  1017. package/app/node_modules/undici/types/global-origin.d.ts +7 -0
  1018. package/app/node_modules/undici/types/h2c-client.d.ts +73 -0
  1019. package/app/node_modules/undici/types/handlers.d.ts +16 -0
  1020. package/app/node_modules/undici/types/header.d.ts +165 -0
  1021. package/app/node_modules/undici/types/index.d.ts +93 -0
  1022. package/app/node_modules/undici/types/interceptors.d.ts +87 -0
  1023. package/app/node_modules/undici/types/mock-agent.d.ts +69 -0
  1024. package/app/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1025. package/app/node_modules/undici/types/mock-client.d.ts +27 -0
  1026. package/app/node_modules/undici/types/mock-errors.d.ts +12 -0
  1027. package/app/node_modules/undici/types/mock-interceptor.d.ts +98 -0
  1028. package/app/node_modules/undici/types/mock-pool.d.ts +27 -0
  1029. package/app/node_modules/undici/types/patch.d.ts +29 -0
  1030. package/app/node_modules/undici/types/pool-stats.d.ts +19 -0
  1031. package/app/node_modules/undici/types/pool.d.ts +39 -0
  1032. package/app/node_modules/undici/types/proxy-agent.d.ts +36 -0
  1033. package/app/node_modules/undici/types/readable.d.ts +68 -0
  1034. package/app/node_modules/undici/types/retry-agent.d.ts +8 -0
  1035. package/app/node_modules/undici/types/retry-handler.d.ts +125 -0
  1036. package/app/node_modules/undici/types/round-robin-pool.d.ts +39 -0
  1037. package/app/node_modules/undici/types/snapshot-agent.d.ts +113 -0
  1038. package/app/node_modules/undici/types/socks5-proxy-agent.d.ts +27 -0
  1039. package/app/node_modules/undici/types/util.d.ts +18 -0
  1040. package/app/node_modules/undici/types/utility.d.ts +7 -0
  1041. package/app/node_modules/undici/types/webidl.d.ts +352 -0
  1042. package/app/node_modules/undici/types/websocket.d.ts +188 -0
  1043. package/app/open-sse/lib/deepseek-pow-hash.js +136 -0
  1044. package/app/package.json +2 -2
  1045. package/app/public/providers/nace.png +0 -0
  1046. package/app/server.js +1 -1
  1047. package/cli.js +112 -55
  1048. package/hooks/sqliteRuntime.js +2 -1
  1049. package/package.json +1 -1
  1050. package/src/cli/tray/tray.js +88 -9
  1051. package/src/cli/utils/launcherProcess.js +186 -0
  1052. package/app/.next-cli-build/server/chunks/436.js +0 -1
  1053. package/app/.next-cli-build/server/chunks/618.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/7786.js +0 -1
  1057. package/app/.next-cli-build/server/chunks/7918.js +0 -1
  1058. package/app/.next-cli-build/server/chunks/7995.js +0 -120
  1059. package/app/.next-cli-build/static/chunks/1321-337f26c35a89cccd.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-bcda8e5062f1ebc9.js +0 -27
  1061. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-2b2fe8a972d455af.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-a70f643786fb402f.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-a70f643786fb402f.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-a70f643786fb402f.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-a70f643786fb402f.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-a70f643786fb402f.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-a70f643786fb402f.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-a70f643786fb402f.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-a70f643786fb402f.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-a70f643786fb402f.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-a70f643786fb402f.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-a70f643786fb402f.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-a70f643786fb402f.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-a70f643786fb402f.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codewhale-settings/route-a70f643786fb402f.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-profiles/route-a70f643786fb402f.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-a70f643786fb402f.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-a70f643786fb402f.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-a70f643786fb402f.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-a70f643786fb402f.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-a70f643786fb402f.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/cli-tools/crush-settings/route-a70f643786fb402f.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-a70f643786fb402f.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-a70f643786fb402f.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-a70f643786fb402f.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/cli-tools/forge-settings/route-a70f643786fb402f.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-a70f643786fb402f.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-profiles/route-a70f643786fb402f.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-a70f643786fb402f.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-a70f643786fb402f.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-a70f643786fb402f.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/cli-tools/omp-settings/route-a70f643786fb402f.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-a70f643786fb402f.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-a70f643786fb402f.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-a70f643786fb402f.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/cli-tools/smelt-settings/route-a70f643786fb402f.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-a70f643786fb402f.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/combos/presets/route-a70f643786fb402f.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/combos/route-a70f643786fb402f.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-a70f643786fb402f.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-a70f643786fb402f.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-a70f643786fb402f.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-a70f643786fb402f.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-a70f643786fb402f.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-a70f643786fb402f.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/health/route-a70f643786fb402f.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/init/route-a70f643786fb402f.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-a70f643786fb402f.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/keys/route-a70f643786fb402f.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/locale/route-a70f643786fb402f.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-a70f643786fb402f.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-a70f643786fb402f.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-a70f643786fb402f.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-a70f643786fb402f.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-a70f643786fb402f.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-a70f643786fb402f.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-a70f643786fb402f.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-a70f643786fb402f.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-a70f643786fb402f.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-a70f643786fb402f.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-a70f643786fb402f.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-a70f643786fb402f.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/models/route-a70f643786fb402f.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/models/test/route-a70f643786fb402f.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-a70f643786fb402f.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-a70f643786fb402f.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-a70f643786fb402f.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-a70f643786fb402f.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-a70f643786fb402f.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-a70f643786fb402f.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-a70f643786fb402f.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-a70f643786fb402f.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-a70f643786fb402f.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-a70f643786fb402f.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-a70f643786fb402f.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-a70f643786fb402f.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-a70f643786fb402f.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-a70f643786fb402f.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-a70f643786fb402f.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-a70f643786fb402f.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/start/route-a70f643786fb402f.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/login/status/route-a70f643786fb402f.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/auto-import/route-a70f643786fb402f.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/oauth/zed/import/route-a70f643786fb402f.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/pricing/route-a70f643786fb402f.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-a70f643786fb402f.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-a70f643786fb402f.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-a70f643786fb402f.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-a70f643786fb402f.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/overrides/route-a70f643786fb402f.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-a70f643786fb402f.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-a70f643786fb402f.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-a70f643786fb402f.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-a70f643786fb402f.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-a70f643786fb402f.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/providers/route-a70f643786fb402f.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-a70f643786fb402f.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-a70f643786fb402f.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-a70f643786fb402f.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/providers/web-login/route-a70f643786fb402f.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-a70f643786fb402f.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-a70f643786fb402f.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-a70f643786fb402f.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-a70f643786fb402f.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/netlify-deploy/route-a70f643786fb402f.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-a70f643786fb402f.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-a70f643786fb402f.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-a70f643786fb402f.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-a70f643786fb402f.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-a70f643786fb402f.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-a70f643786fb402f.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-a70f643786fb402f.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-a70f643786fb402f.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-a70f643786fb402f.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-a70f643786fb402f.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-a70f643786fb402f.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-a70f643786fb402f.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-a70f643786fb402f.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/settings/route-a70f643786fb402f.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-a70f643786fb402f.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/tags/route-a70f643786fb402f.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-a70f643786fb402f.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-a70f643786fb402f.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-a70f643786fb402f.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-a70f643786fb402f.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-a70f643786fb402f.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-a70f643786fb402f.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-a70f643786fb402f.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-a70f643786fb402f.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-a70f643786fb402f.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-a70f643786fb402f.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-a70f643786fb402f.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-a70f643786fb402f.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-a70f643786fb402f.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/claude-reset/route-a70f643786fb402f.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-a70f643786fb402f.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-a70f643786fb402f.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-a70f643786fb402f.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-a70f643786fb402f.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-a70f643786fb402f.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-a70f643786fb402f.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-a70f643786fb402f.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-a70f643786fb402f.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-a70f643786fb402f.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-a70f643786fb402f.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-a70f643786fb402f.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-a70f643786fb402f.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-a70f643786fb402f.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-a70f643786fb402f.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-a70f643786fb402f.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-a70f643786fb402f.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-a70f643786fb402f.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-a70f643786fb402f.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-a70f643786fb402f.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-a70f643786fb402f.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-a70f643786fb402f.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-a70f643786fb402f.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-a70f643786fb402f.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-a70f643786fb402f.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/v1/route-a70f643786fb402f.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-a70f643786fb402f.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/v1/systemone/route-a70f643786fb402f.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-a70f643786fb402f.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-a70f643786fb402f.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-a70f643786fb402f.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-a70f643786fb402f.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-a70f643786fb402f.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-a70f643786fb402f.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-a70f643786fb402f.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/app/api/version/route-a70f643786fb402f.js +0 -1
  1231. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-a70f643786fb402f.js +0 -1
  1232. package/app/.next-cli-build/static/chunks/app/api/version/update/route-a70f643786fb402f.js +0 -1
  1233. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-a70f643786fb402f.js +0 -1
  1234. package/app/.next-cli-build/static/chunks/app/page-a70f643786fb402f.js +0 -1
  1235. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-a70f643786fb402f.js +0 -1
  1236. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-a70f643786fb402f.js +0 -1
  1237. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-a70f643786fb402f.js +0 -1
  1238. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-a70f643786fb402f.js +0 -1
  1239. package/app/.next-cli-build/static/css/eca85123800ee802.css +0 -1
  1240. package/app/.next-cli-build/static/tTnLO7OGDvjEJ5mfmRKqj/_buildManifest.js +0 -1
  1241. /package/app/.next-cli-build/static/{tTnLO7OGDvjEJ5mfmRKqj → Z4ZIksyhEDiaIj7-73igf}/_ssgManifest.js +0 -0
@@ -0,0 +1,1530 @@
1
+ 'use strict'
2
+
3
+ const { Transform } = require('node:stream')
4
+ const zlib = require('node:zlib')
5
+ const { redirectStatusSet, referrerPolicyTokens, badPortsSet } = require('./constants')
6
+ const { getGlobalOrigin } = require('./global')
7
+ const { collectAnHTTPQuotedString, parseMIMEType } = require('./data-url')
8
+ const { performance } = require('node:perf_hooks')
9
+ const { isValidHTTPToken, normalizedMethodRecordsBase } = require('../../core/util')
10
+ const assert = require('node:assert')
11
+ const { isUint8Array } = require('node:util/types')
12
+ const { webidl } = require('../webidl')
13
+ const { isomorphicEncode, collectASequenceOfCodePoints, removeChars } = require('../infra')
14
+
15
+ function responseURL (response) {
16
+ // https://fetch.spec.whatwg.org/#responses
17
+ // A response has an associated URL. It is a pointer to the last URL
18
+ // in response’s URL list and null if response’s URL list is empty.
19
+ const urlList = response.urlList
20
+ const length = urlList.length
21
+ return length === 0 ? null : urlList[length - 1].toString()
22
+ }
23
+
24
+ // https://fetch.spec.whatwg.org/#concept-response-location-url
25
+ function responseLocationURL (response, requestFragment) {
26
+ // 1. If response’s status is not a redirect status, then return null.
27
+ if (!redirectStatusSet.has(response.status)) {
28
+ return null
29
+ }
30
+
31
+ // 2. Let location be the result of extracting header list values given
32
+ // `Location` and response’s header list.
33
+ let location = response.headersList.get('location', true)
34
+
35
+ // 3. If location is a header value, then set location to the result of
36
+ // parsing location with response’s URL.
37
+ if (location !== null && isValidHeaderValue(location)) {
38
+ if (!isValidEncodedURL(location)) {
39
+ // Some websites respond location header in UTF-8 form without encoding them as ASCII
40
+ // and major browsers redirect them to correctly UTF-8 encoded addresses.
41
+ // Here, we handle that behavior in the same way.
42
+ location = normalizeBinaryStringToUtf8(location)
43
+ }
44
+ location = new URL(location, responseURL(response))
45
+ }
46
+
47
+ // 4. If location is a URL whose fragment is null, then set location’s
48
+ // fragment to requestFragment.
49
+ if (location && !location.hash) {
50
+ location.hash = requestFragment
51
+ }
52
+
53
+ // 5. Return location.
54
+ return location
55
+ }
56
+
57
+ /**
58
+ * @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2
59
+ * @param {string} url
60
+ * @returns {boolean}
61
+ */
62
+ function isValidEncodedURL (url) {
63
+ for (let i = 0; i < url.length; ++i) {
64
+ const code = url.charCodeAt(i)
65
+
66
+ if (
67
+ code > 0x7E || // Non-US-ASCII + DEL
68
+ code < 0x20 // Control characters NUL - US
69
+ ) {
70
+ return false
71
+ }
72
+ }
73
+ return true
74
+ }
75
+
76
+ /**
77
+ * If string contains non-ASCII characters, assumes it's UTF-8 encoded and decodes it.
78
+ * Since UTF-8 is a superset of ASCII, this will work for ASCII strings as well.
79
+ * @param {string} value
80
+ * @returns {string}
81
+ */
82
+ function normalizeBinaryStringToUtf8 (value) {
83
+ return Buffer.from(value, 'binary').toString('utf8')
84
+ }
85
+
86
+ /** @returns {URL} */
87
+ function requestCurrentURL (request) {
88
+ return request.urlList[request.urlList.length - 1]
89
+ }
90
+
91
+ function requestBadPort (request) {
92
+ // 1. Let url be request’s current URL.
93
+ const url = requestCurrentURL(request)
94
+
95
+ // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port,
96
+ // then return blocked.
97
+ if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {
98
+ return 'blocked'
99
+ }
100
+
101
+ // 3. Return allowed.
102
+ return 'allowed'
103
+ }
104
+
105
+ function isErrorLike (object) {
106
+ return object instanceof Error || (
107
+ object?.constructor?.name === 'Error' ||
108
+ object?.constructor?.name === 'DOMException'
109
+ )
110
+ }
111
+
112
+ // Check whether |statusText| is a ByteString and
113
+ // matches the Reason-Phrase token production.
114
+ // RFC 2616: https://tools.ietf.org/html/rfc2616
115
+ // RFC 7230: https://tools.ietf.org/html/rfc7230
116
+ // "reason-phrase = *( HTAB / SP / VCHAR / obs-text )"
117
+ // https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116
118
+ function isValidReasonPhrase (statusText) {
119
+ for (let i = 0; i < statusText.length; ++i) {
120
+ const c = statusText.charCodeAt(i)
121
+ if (
122
+ !(
123
+ (
124
+ c === 0x09 || // HTAB
125
+ (c >= 0x20 && c <= 0x7e) || // SP / VCHAR
126
+ (c >= 0x80 && c <= 0xff)
127
+ ) // obs-text
128
+ )
129
+ ) {
130
+ return false
131
+ }
132
+ }
133
+ return true
134
+ }
135
+
136
+ /**
137
+ * @see https://fetch.spec.whatwg.org/#header-name
138
+ * @param {string} potentialValue
139
+ */
140
+ const isValidHeaderName = isValidHTTPToken
141
+
142
+ /**
143
+ * @see https://fetch.spec.whatwg.org/#header-value
144
+ * @param {string} potentialValue
145
+ */
146
+ function isValidHeaderValue (potentialValue) {
147
+ // - Has no leading or trailing HTTP tab or space bytes.
148
+ // - Contains no 0x00 (NUL) or HTTP newline bytes.
149
+ return (
150
+ potentialValue[0] === '\t' ||
151
+ potentialValue[0] === ' ' ||
152
+ potentialValue[potentialValue.length - 1] === '\t' ||
153
+ potentialValue[potentialValue.length - 1] === ' ' ||
154
+ potentialValue.includes('\n') ||
155
+ potentialValue.includes('\r') ||
156
+ potentialValue.includes('\0')
157
+ ) === false
158
+ }
159
+
160
+ /**
161
+ * Parse a referrer policy from a Referrer-Policy header
162
+ * @see https://w3c.github.io/webappsec-referrer-policy/#parse-referrer-policy-from-header
163
+ */
164
+ function parseReferrerPolicy (actualResponse) {
165
+ // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.
166
+ const policyHeader = (actualResponse.headersList.get('referrer-policy', true) ?? '').split(',')
167
+
168
+ // 2. Let policy be the empty string.
169
+ let policy = ''
170
+
171
+ // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.
172
+
173
+ // Note: As the referrer-policy can contain multiple policies
174
+ // separated by comma, we need to loop through all of them
175
+ // and pick the first valid one.
176
+ // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy
177
+ if (policyHeader.length) {
178
+ // The right-most policy takes precedence.
179
+ // The left-most policy is the fallback.
180
+ for (let i = policyHeader.length; i !== 0; i--) {
181
+ const token = policyHeader[i - 1].trim()
182
+ if (referrerPolicyTokens.has(token)) {
183
+ policy = token
184
+ break
185
+ }
186
+ }
187
+ }
188
+
189
+ // 4. Return policy.
190
+ return policy
191
+ }
192
+
193
+ /**
194
+ * Given a request request and a response actualResponse, this algorithm
195
+ * updates request’s referrer policy according to the Referrer-Policy
196
+ * header (if any) in actualResponse.
197
+ * @see https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect
198
+ * @param {import('./request').Request} request
199
+ * @param {import('./response').Response} actualResponse
200
+ */
201
+ function setRequestReferrerPolicyOnRedirect (request, actualResponse) {
202
+ // 1. Let policy be the result of executing § 8.1 Parse a referrer policy
203
+ // from a Referrer-Policy header on actualResponse.
204
+ const policy = parseReferrerPolicy(actualResponse)
205
+
206
+ // 2. If policy is not the empty string, then set request’s referrer policy to policy.
207
+ if (policy !== '') {
208
+ request.referrerPolicy = policy
209
+ }
210
+ }
211
+
212
+ // https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check
213
+ function crossOriginResourcePolicyCheck () {
214
+ // TODO
215
+ return 'allowed'
216
+ }
217
+
218
+ // https://fetch.spec.whatwg.org/#concept-cors-check
219
+ function corsCheck () {
220
+ // TODO
221
+ return 'success'
222
+ }
223
+
224
+ // https://fetch.spec.whatwg.org/#concept-tao-check
225
+ function TAOCheck () {
226
+ // TODO
227
+ return 'success'
228
+ }
229
+
230
+ // https://w3c.github.io/webappsec-fetch-metadata/#abstract-opdef-append-the-fetch-metadata-headers-for-a-request
231
+ function appendFetchMetadata (httpRequest) {
232
+ // 1. If r’s url is not a potentially trustworthy URL, return.
233
+ if (!isURLPotentiallyTrustworthy(requestCurrentURL(httpRequest))) {
234
+ return
235
+ }
236
+
237
+ // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header
238
+ // TODO
239
+
240
+ // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header
241
+
242
+ // 1. Assert: r’s url is a potentially trustworthy URL.
243
+
244
+ // 2. Let header be a Structured Header whose value is a token.
245
+ let header = null
246
+
247
+ // 3. Set header’s value to r’s mode.
248
+ header = httpRequest.mode
249
+
250
+ // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list.
251
+ httpRequest.headersList.set('sec-fetch-mode', header, true)
252
+
253
+ // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header
254
+ // TODO
255
+
256
+ // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header
257
+ // TODO
258
+ }
259
+
260
+ // https://fetch.spec.whatwg.org/#append-a-request-origin-header
261
+ function appendRequestOriginHeader (request) {
262
+ // 1. Let serializedOrigin be the result of byte-serializing a request origin
263
+ // with request.
264
+ // TODO: implement "byte-serializing a request origin"
265
+ let serializedOrigin = request.origin
266
+
267
+ // - "'client' is changed to an origin during fetching."
268
+ // This doesn't happen in undici (in most cases) because undici, by default,
269
+ // has no concept of origin.
270
+ // - request.origin can also be set to request.client.origin (client being
271
+ // an environment settings object), which is undefined without using
272
+ // setGlobalOrigin.
273
+ if (serializedOrigin === 'client' || serializedOrigin === undefined) {
274
+ return
275
+ }
276
+
277
+ // 2. If request’s response tainting is "cors" or request’s mode is "websocket",
278
+ // then append (`Origin`, serializedOrigin) to request’s header list.
279
+ // 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then:
280
+ if (request.responseTainting === 'cors' || request.mode === 'websocket') {
281
+ request.headersList.append('origin', serializedOrigin, true)
282
+ } else if (request.method !== 'GET' && request.method !== 'HEAD') {
283
+ // 1. Switch on request’s referrer policy:
284
+ switch (request.referrerPolicy) {
285
+ case 'no-referrer':
286
+ // Set serializedOrigin to `null`.
287
+ serializedOrigin = null
288
+ break
289
+ case 'no-referrer-when-downgrade':
290
+ case 'strict-origin':
291
+ case 'strict-origin-when-cross-origin':
292
+ // If request’s origin is a tuple origin, its scheme is "https", and
293
+ // request’s current URL’s scheme is not "https", then set
294
+ // serializedOrigin to `null`.
295
+ if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {
296
+ serializedOrigin = null
297
+ }
298
+ break
299
+ case 'same-origin':
300
+ // If request’s origin is not same origin with request’s current URL’s
301
+ // origin, then set serializedOrigin to `null`.
302
+ if (!sameOrigin(request, requestCurrentURL(request))) {
303
+ serializedOrigin = null
304
+ }
305
+ break
306
+ default:
307
+ // Do nothing.
308
+ }
309
+
310
+ // 2. Append (`Origin`, serializedOrigin) to request’s header list.
311
+ request.headersList.append('origin', serializedOrigin, true)
312
+ }
313
+ }
314
+
315
+ // https://w3c.github.io/hr-time/#dfn-coarsen-time
316
+ function coarsenTime (timestamp, crossOriginIsolatedCapability) {
317
+ // TODO
318
+ return timestamp
319
+ }
320
+
321
+ // https://fetch.spec.whatwg.org/#clamp-and-coarsen-connection-timing-info
322
+ function clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability) {
323
+ if (!connectionTimingInfo?.startTime || connectionTimingInfo.startTime < defaultStartTime) {
324
+ return {
325
+ domainLookupStartTime: defaultStartTime,
326
+ domainLookupEndTime: defaultStartTime,
327
+ connectionStartTime: defaultStartTime,
328
+ connectionEndTime: defaultStartTime,
329
+ secureConnectionStartTime: defaultStartTime,
330
+ ALPNNegotiatedProtocol: connectionTimingInfo?.ALPNNegotiatedProtocol
331
+ }
332
+ }
333
+
334
+ return {
335
+ domainLookupStartTime: coarsenTime(connectionTimingInfo.domainLookupStartTime, crossOriginIsolatedCapability),
336
+ domainLookupEndTime: coarsenTime(connectionTimingInfo.domainLookupEndTime, crossOriginIsolatedCapability),
337
+ connectionStartTime: coarsenTime(connectionTimingInfo.connectionStartTime, crossOriginIsolatedCapability),
338
+ connectionEndTime: coarsenTime(connectionTimingInfo.connectionEndTime, crossOriginIsolatedCapability),
339
+ secureConnectionStartTime: coarsenTime(connectionTimingInfo.secureConnectionStartTime, crossOriginIsolatedCapability),
340
+ ALPNNegotiatedProtocol: connectionTimingInfo.ALPNNegotiatedProtocol
341
+ }
342
+ }
343
+
344
+ // https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time
345
+ function coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {
346
+ return coarsenTime(performance.now(), crossOriginIsolatedCapability)
347
+ }
348
+
349
+ // https://fetch.spec.whatwg.org/#create-an-opaque-timing-info
350
+ function createOpaqueTimingInfo (timingInfo) {
351
+ return {
352
+ startTime: timingInfo.startTime ?? 0,
353
+ redirectStartTime: 0,
354
+ redirectEndTime: 0,
355
+ postRedirectStartTime: timingInfo.startTime ?? 0,
356
+ finalServiceWorkerStartTime: 0,
357
+ finalNetworkResponseStartTime: 0,
358
+ finalNetworkRequestStartTime: 0,
359
+ endTime: 0,
360
+ encodedBodySize: 0,
361
+ decodedBodySize: 0,
362
+ finalConnectionTimingInfo: null
363
+ }
364
+ }
365
+
366
+ // https://html.spec.whatwg.org/multipage/origin.html#policy-container
367
+ function makePolicyContainer () {
368
+ // Note: the fetch spec doesn't make use of embedder policy or CSP list
369
+ return {
370
+ referrerPolicy: 'strict-origin-when-cross-origin'
371
+ }
372
+ }
373
+
374
+ // https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container
375
+ function clonePolicyContainer (policyContainer) {
376
+ return {
377
+ referrerPolicy: policyContainer.referrerPolicy
378
+ }
379
+ }
380
+
381
+ /**
382
+ * Determine request’s Referrer
383
+ *
384
+ * @see https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer
385
+ */
386
+ function determineRequestsReferrer (request) {
387
+ // Given a request request, we can determine the correct referrer information
388
+ // to send by examining its referrer policy as detailed in the following
389
+ // steps, which return either no referrer or a URL:
390
+
391
+ // 1. Let policy be request's referrer policy.
392
+ const policy = request.referrerPolicy
393
+
394
+ // Note: policy cannot (shouldn't) be null or an empty string.
395
+ assert(policy)
396
+
397
+ // 2. Let environment be request’s client.
398
+
399
+ let referrerSource = null
400
+
401
+ // 3. Switch on request’s referrer:
402
+
403
+ // "client"
404
+ if (request.referrer === 'client') {
405
+ // Note: node isn't a browser and doesn't implement document/iframes,
406
+ // so we bypass this step and replace it with our own.
407
+
408
+ const globalOrigin = getGlobalOrigin()
409
+
410
+ if (!globalOrigin || globalOrigin.origin === 'null') {
411
+ return 'no-referrer'
412
+ }
413
+
414
+ // Note: we need to clone it as it's mutated
415
+ referrerSource = new URL(globalOrigin)
416
+ // a URL
417
+ } else if (webidl.is.URL(request.referrer)) {
418
+ // Let referrerSource be request’s referrer.
419
+ referrerSource = request.referrer
420
+ }
421
+
422
+ // 4. Let request’s referrerURL be the result of stripping referrerSource for
423
+ // use as a referrer.
424
+ let referrerURL = stripURLForReferrer(referrerSource)
425
+
426
+ // 5. Let referrerOrigin be the result of stripping referrerSource for use as
427
+ // a referrer, with the origin-only flag set to true.
428
+ const referrerOrigin = stripURLForReferrer(referrerSource, true)
429
+
430
+ // 6. If the result of serializing referrerURL is a string whose length is
431
+ // greater than 4096, set referrerURL to referrerOrigin.
432
+ if (referrerURL.toString().length > 4096) {
433
+ referrerURL = referrerOrigin
434
+ }
435
+
436
+ // 7. The user agent MAY alter referrerURL or referrerOrigin at this point
437
+ // to enforce arbitrary policy considerations in the interests of minimizing
438
+ // data leakage. For example, the user agent could strip the URL down to an
439
+ // origin, modify its host, replace it with an empty string, etc.
440
+
441
+ // 8. Execute the switch statements corresponding to the value of policy:
442
+ switch (policy) {
443
+ case 'no-referrer':
444
+ // Return no referrer
445
+ return 'no-referrer'
446
+ case 'origin':
447
+ // Return referrerOrigin
448
+ if (referrerOrigin != null) {
449
+ return referrerOrigin
450
+ }
451
+ return stripURLForReferrer(referrerSource, true)
452
+ case 'unsafe-url':
453
+ // Return referrerURL.
454
+ return referrerURL
455
+ case 'strict-origin': {
456
+ const currentURL = requestCurrentURL(request)
457
+
458
+ // 1. If referrerURL is a potentially trustworthy URL and request’s
459
+ // current URL is not a potentially trustworthy URL, then return no
460
+ // referrer.
461
+ if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {
462
+ return 'no-referrer'
463
+ }
464
+ // 2. Return referrerOrigin
465
+ return referrerOrigin
466
+ }
467
+ case 'strict-origin-when-cross-origin': {
468
+ const currentURL = requestCurrentURL(request)
469
+
470
+ // 1. If the origin of referrerURL and the origin of request’s current
471
+ // URL are the same, then return referrerURL.
472
+ if (sameOrigin(referrerURL, currentURL)) {
473
+ return referrerURL
474
+ }
475
+
476
+ // 2. If referrerURL is a potentially trustworthy URL and request’s
477
+ // current URL is not a potentially trustworthy URL, then return no
478
+ // referrer.
479
+ if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {
480
+ return 'no-referrer'
481
+ }
482
+
483
+ // 3. Return referrerOrigin.
484
+ return referrerOrigin
485
+ }
486
+ case 'same-origin':
487
+ // 1. If the origin of referrerURL and the origin of request’s current
488
+ // URL are the same, then return referrerURL.
489
+ if (sameOrigin(request, referrerURL)) {
490
+ return referrerURL
491
+ }
492
+ // 2. Return no referrer.
493
+ return 'no-referrer'
494
+ case 'origin-when-cross-origin':
495
+ // 1. If the origin of referrerURL and the origin of request’s current
496
+ // URL are the same, then return referrerURL.
497
+ if (sameOrigin(request, referrerURL)) {
498
+ return referrerURL
499
+ }
500
+ // 2. Return referrerOrigin.
501
+ return referrerOrigin
502
+ case 'no-referrer-when-downgrade': {
503
+ const currentURL = requestCurrentURL(request)
504
+
505
+ // 1. If referrerURL is a potentially trustworthy URL and request’s
506
+ // current URL is not a potentially trustworthy URL, then return no
507
+ // referrer.
508
+ if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {
509
+ return 'no-referrer'
510
+ }
511
+ // 2. Return referrerURL.
512
+ return referrerURL
513
+ }
514
+ }
515
+ }
516
+
517
+ /**
518
+ * Certain portions of URLs must not be included when sending a URL as the
519
+ * value of a `Referer` header: a URLs fragment, username, and password
520
+ * components must be stripped from the URL before it’s sent out. This
521
+ * algorithm accepts a origin-only flag, which defaults to false. If set to
522
+ * true, the algorithm will additionally remove the URL’s path and query
523
+ * components, leaving only the scheme, host, and port.
524
+ *
525
+ * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url
526
+ * @param {URL} url
527
+ * @param {boolean} [originOnly=false]
528
+ */
529
+ function stripURLForReferrer (url, originOnly = false) {
530
+ // 1. Assert: url is a URL.
531
+ assert(webidl.is.URL(url))
532
+
533
+ // Note: Create a new URL instance to avoid mutating the original URL.
534
+ url = new URL(url)
535
+
536
+ // 2. If url’s scheme is a local scheme, then return no referrer.
537
+ if (urlIsLocal(url)) {
538
+ return 'no-referrer'
539
+ }
540
+
541
+ // 3. Set url’s username to the empty string.
542
+ url.username = ''
543
+
544
+ // 4. Set url’s password to the empty string.
545
+ url.password = ''
546
+
547
+ // 5. Set url’s fragment to null.
548
+ url.hash = ''
549
+
550
+ // 6. If the origin-only flag is true, then:
551
+ if (originOnly === true) {
552
+ // 1. Set url’s path to « the empty string ».
553
+ url.pathname = ''
554
+
555
+ // 2. Set url’s query to null.
556
+ url.search = ''
557
+ }
558
+
559
+ // 7. Return url.
560
+ return url
561
+ }
562
+
563
+ const isPotentialleTrustworthyIPv4 = RegExp.prototype.test
564
+ .bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/)
565
+
566
+ const isPotentiallyTrustworthyIPv6 = RegExp.prototype.test
567
+ .bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/)
568
+
569
+ /**
570
+ * Check if host matches one of the CIDR notations 127.0.0.0/8 or ::1/128.
571
+ *
572
+ * @param {string} origin
573
+ * @returns {boolean}
574
+ */
575
+ function isOriginIPPotentiallyTrustworthy (origin) {
576
+ // IPv6
577
+ if (origin.includes(':')) {
578
+ // Remove brackets from IPv6 addresses
579
+ if (origin[0] === '[' && origin[origin.length - 1] === ']') {
580
+ origin = origin.slice(1, -1)
581
+ }
582
+ return isPotentiallyTrustworthyIPv6(origin)
583
+ }
584
+
585
+ // IPv4
586
+ return isPotentialleTrustworthyIPv4(origin)
587
+ }
588
+
589
+ /**
590
+ * A potentially trustworthy origin is one which a user agent can generally
591
+ * trust as delivering data securely.
592
+ *
593
+ * Return value `true` means `Potentially Trustworthy`.
594
+ * Return value `false` means `Not Trustworthy`.
595
+ *
596
+ * @see https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy
597
+ * @param {string} origin
598
+ * @returns {boolean}
599
+ */
600
+ function isOriginPotentiallyTrustworthy (origin) {
601
+ // 1. If origin is an opaque origin, return "Not Trustworthy".
602
+ if (origin == null || origin === 'null') {
603
+ return false
604
+ }
605
+
606
+ // 2. Assert: origin is a tuple origin.
607
+ origin = new URL(origin)
608
+
609
+ // 3. If origin’s scheme is either "https" or "wss",
610
+ // return "Potentially Trustworthy".
611
+ if (origin.protocol === 'https:' || origin.protocol === 'wss:') {
612
+ return true
613
+ }
614
+
615
+ // 4. If origin’s host matches one of the CIDR notations 127.0.0.0/8 or
616
+ // ::1/128 [RFC4632], return "Potentially Trustworthy".
617
+ if (isOriginIPPotentiallyTrustworthy(origin.hostname)) {
618
+ return true
619
+ }
620
+
621
+ // 5. If the user agent conforms to the name resolution rules in
622
+ // [let-localhost-be-localhost] and one of the following is true:
623
+
624
+ // origin’s host is "localhost" or "localhost."
625
+ if (origin.hostname === 'localhost' || origin.hostname === 'localhost.') {
626
+ return true
627
+ }
628
+
629
+ // origin’s host ends with ".localhost" or ".localhost."
630
+ if (origin.hostname.endsWith('.localhost') || origin.hostname.endsWith('.localhost.')) {
631
+ return true
632
+ }
633
+
634
+ // 6. If origin’s scheme is "file", return "Potentially Trustworthy".
635
+ if (origin.protocol === 'file:') {
636
+ return true
637
+ }
638
+
639
+ // 7. If origin’s scheme component is one which the user agent considers to
640
+ // be authenticated, return "Potentially Trustworthy".
641
+
642
+ // 8. If origin has been configured as a trustworthy origin, return
643
+ // "Potentially Trustworthy".
644
+
645
+ // 9. Return "Not Trustworthy".
646
+ return false
647
+ }
648
+
649
+ /**
650
+ * A potentially trustworthy URL is one which either inherits context from its
651
+ * creator (about:blank, about:srcdoc, data) or one whose origin is a
652
+ * potentially trustworthy origin.
653
+ *
654
+ * Return value `true` means `Potentially Trustworthy`.
655
+ * Return value `false` means `Not Trustworthy`.
656
+ *
657
+ * @see https://www.w3.org/TR/secure-contexts/#is-url-trustworthy
658
+ * @param {URL} url
659
+ * @returns {boolean}
660
+ */
661
+ function isURLPotentiallyTrustworthy (url) {
662
+ // Given a URL record (url), the following algorithm returns "Potentially
663
+ // Trustworthy" or "Not Trustworthy" as appropriate:
664
+ if (!webidl.is.URL(url)) {
665
+ return false
666
+ }
667
+
668
+ // 1. If url is "about:blank" or "about:srcdoc",
669
+ // return "Potentially Trustworthy".
670
+ if (url.href === 'about:blank' || url.href === 'about:srcdoc') {
671
+ return true
672
+ }
673
+
674
+ // 2. If url’s scheme is "data", return "Potentially Trustworthy".
675
+ if (url.protocol === 'data:') return true
676
+
677
+ // Note: The origin of blob: URLs is the origin of the context in which they
678
+ // were created. Therefore, blobs created in a trustworthy origin will
679
+ // themselves be potentially trustworthy.
680
+ if (url.protocol === 'blob:') return true
681
+
682
+ // 3. Return the result of executing § 3.1 Is origin potentially trustworthy?
683
+ // on url’s origin.
684
+ return isOriginPotentiallyTrustworthy(url.origin)
685
+ }
686
+
687
+ // https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request
688
+ function tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {
689
+ // TODO
690
+ }
691
+
692
+ /**
693
+ * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}
694
+ * @param {URL} A
695
+ * @param {URL} B
696
+ */
697
+ function sameOrigin (A, B) {
698
+ // 1. If A and B are the same opaque origin, then return true.
699
+ if (A.origin === B.origin && A.origin === 'null') {
700
+ return true
701
+ }
702
+
703
+ // 2. If A and B are both tuple origins and their schemes,
704
+ // hosts, and port are identical, then return true.
705
+ if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {
706
+ return true
707
+ }
708
+
709
+ // 3. Return false.
710
+ return false
711
+ }
712
+
713
+ function isAborted (fetchParams) {
714
+ return fetchParams.controller.state === 'aborted'
715
+ }
716
+
717
+ function isCancelled (fetchParams) {
718
+ return fetchParams.controller.state === 'aborted' ||
719
+ fetchParams.controller.state === 'terminated'
720
+ }
721
+
722
+ /**
723
+ * @see https://fetch.spec.whatwg.org/#concept-method-normalize
724
+ * @param {string} method
725
+ */
726
+ function normalizeMethod (method) {
727
+ return normalizedMethodRecordsBase[method.toLowerCase()] ?? method
728
+ }
729
+
730
+ // https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object
731
+ const esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))
732
+
733
+ /**
734
+ * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
735
+ * @param {string} name name of the instance
736
+ * @param {((target: any) => any)} kInternalIterator
737
+ * @param {string | number} [keyIndex]
738
+ * @param {string | number} [valueIndex]
739
+ */
740
+ function createIterator (name, kInternalIterator, keyIndex = 0, valueIndex = 1) {
741
+ class FastIterableIterator {
742
+ /** @type {any} */
743
+ #target
744
+ /** @type {'key' | 'value' | 'key+value'} */
745
+ #kind
746
+ /** @type {number} */
747
+ #index
748
+
749
+ /**
750
+ * @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object
751
+ * @param {unknown} target
752
+ * @param {'key' | 'value' | 'key+value'} kind
753
+ */
754
+ constructor (target, kind) {
755
+ this.#target = target
756
+ this.#kind = kind
757
+ this.#index = 0
758
+ }
759
+
760
+ next () {
761
+ // 1. Let interface be the interface for which the iterator prototype object exists.
762
+ // 2. Let thisValue be the this value.
763
+ // 3. Let object be ? ToObject(thisValue).
764
+ // 4. If object is a platform object, then perform a security
765
+ // check, passing:
766
+ // 5. If object is not a default iterator object for interface,
767
+ // then throw a TypeError.
768
+ if (typeof this !== 'object' || this === null || !(#target in this)) {
769
+ throw new TypeError(
770
+ `'next' called on an object that does not implement interface ${name} Iterator.`
771
+ )
772
+ }
773
+
774
+ // 6. Let index be object’s index.
775
+ // 7. Let kind be object’s kind.
776
+ // 8. Let values be object’s target's value pairs to iterate over.
777
+ const index = this.#index
778
+ const values = kInternalIterator(this.#target)
779
+
780
+ // 9. Let len be the length of values.
781
+ const len = values.length
782
+
783
+ // 10. If index is greater than or equal to len, then return
784
+ // CreateIterResultObject(undefined, true).
785
+ if (index >= len) {
786
+ return {
787
+ value: undefined,
788
+ done: true
789
+ }
790
+ }
791
+
792
+ // 11. Let pair be the entry in values at index index.
793
+ const { [keyIndex]: key, [valueIndex]: value } = values[index]
794
+
795
+ // 12. Set object’s index to index + 1.
796
+ this.#index = index + 1
797
+
798
+ // 13. Return the iterator result for pair and kind.
799
+
800
+ // https://webidl.spec.whatwg.org/#iterator-result
801
+
802
+ // 1. Let result be a value determined by the value of kind:
803
+ let result
804
+ switch (this.#kind) {
805
+ case 'key':
806
+ // 1. Let idlKey be pair’s key.
807
+ // 2. Let key be the result of converting idlKey to an
808
+ // ECMAScript value.
809
+ // 3. result is key.
810
+ result = key
811
+ break
812
+ case 'value':
813
+ // 1. Let idlValue be pair’s value.
814
+ // 2. Let value be the result of converting idlValue to
815
+ // an ECMAScript value.
816
+ // 3. result is value.
817
+ result = value
818
+ break
819
+ case 'key+value':
820
+ // 1. Let idlKey be pair’s key.
821
+ // 2. Let idlValue be pair’s value.
822
+ // 3. Let key be the result of converting idlKey to an
823
+ // ECMAScript value.
824
+ // 4. Let value be the result of converting idlValue to
825
+ // an ECMAScript value.
826
+ // 5. Let array be ! ArrayCreate(2).
827
+ // 6. Call ! CreateDataProperty(array, "0", key).
828
+ // 7. Call ! CreateDataProperty(array, "1", value).
829
+ // 8. result is array.
830
+ result = [key, value]
831
+ break
832
+ }
833
+
834
+ // 2. Return CreateIterResultObject(result, false).
835
+ return {
836
+ value: result,
837
+ done: false
838
+ }
839
+ }
840
+ }
841
+
842
+ // https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
843
+ // @ts-ignore
844
+ delete FastIterableIterator.prototype.constructor
845
+
846
+ Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype)
847
+
848
+ Object.defineProperties(FastIterableIterator.prototype, {
849
+ [Symbol.toStringTag]: {
850
+ writable: false,
851
+ enumerable: false,
852
+ configurable: true,
853
+ value: `${name} Iterator`
854
+ },
855
+ next: { writable: true, enumerable: true, configurable: true }
856
+ })
857
+
858
+ /**
859
+ * @param {unknown} target
860
+ * @param {'key' | 'value' | 'key+value'} kind
861
+ * @returns {IterableIterator<any>}
862
+ */
863
+ return function (target, kind) {
864
+ return new FastIterableIterator(target, kind)
865
+ }
866
+ }
867
+
868
+ /**
869
+ * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object
870
+ * @param {string} name name of the instance
871
+ * @param {any} object class
872
+ * @param {(target: any) => any} kInternalIterator
873
+ * @param {string | number} [keyIndex]
874
+ * @param {string | number} [valueIndex]
875
+ * @param {import('../../../types/webidl').WebidlIsFunction} brandCheck
876
+ */
877
+ function iteratorMixin (name, object, kInternalIterator, keyIndex = 0, valueIndex = 1, brandCheck) {
878
+ const makeIterator = createIterator(name, kInternalIterator, keyIndex, valueIndex)
879
+
880
+ const properties = {
881
+ keys: {
882
+ writable: true,
883
+ enumerable: true,
884
+ configurable: true,
885
+ value: function keys () {
886
+ webidl.brandCheck(this, brandCheck)
887
+ return makeIterator(this, 'key')
888
+ }
889
+ },
890
+ values: {
891
+ writable: true,
892
+ enumerable: true,
893
+ configurable: true,
894
+ value: function values () {
895
+ webidl.brandCheck(this, brandCheck)
896
+ return makeIterator(this, 'value')
897
+ }
898
+ },
899
+ entries: {
900
+ writable: true,
901
+ enumerable: true,
902
+ configurable: true,
903
+ value: function entries () {
904
+ webidl.brandCheck(this, brandCheck)
905
+ return makeIterator(this, 'key+value')
906
+ }
907
+ },
908
+ forEach: {
909
+ writable: true,
910
+ enumerable: true,
911
+ configurable: true,
912
+ value: function forEach (callbackfn, thisArg = globalThis) {
913
+ webidl.brandCheck(this, brandCheck)
914
+ webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`)
915
+ if (typeof callbackfn !== 'function') {
916
+ throw new TypeError(
917
+ `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.`
918
+ )
919
+ }
920
+ for (const { 0: key, 1: value } of makeIterator(this, 'key+value')) {
921
+ callbackfn.call(thisArg, value, key, this)
922
+ }
923
+ }
924
+ }
925
+ }
926
+
927
+ return Object.defineProperties(object.prototype, {
928
+ ...properties,
929
+ [Symbol.iterator]: {
930
+ writable: true,
931
+ enumerable: false,
932
+ configurable: true,
933
+ value: properties.entries.value
934
+ }
935
+ })
936
+ }
937
+
938
+ /**
939
+ * @param {import('./body').ExtractBodyResult} body
940
+ * @param {(bytes: Uint8Array) => void} processBody
941
+ * @param {(error: Error) => void} processBodyError
942
+ * @returns {void}
943
+ *
944
+ * @see https://fetch.spec.whatwg.org/#body-fully-read
945
+ */
946
+ function fullyReadBody (body, processBody, processBodyError) {
947
+ // 1. If taskDestination is null, then set taskDestination to
948
+ // the result of starting a new parallel queue.
949
+
950
+ // 2. Let successSteps given a byte sequence bytes be to queue a
951
+ // fetch task to run processBody given bytes, with taskDestination.
952
+ const successSteps = processBody
953
+
954
+ // 3. Let errorSteps be to queue a fetch task to run processBodyError,
955
+ // with taskDestination.
956
+ const errorSteps = processBodyError
957
+
958
+ try {
959
+ // 4. Let reader be the result of getting a reader for body’s stream.
960
+ // If that threw an exception, then run errorSteps with that
961
+ // exception and return.
962
+ const reader = body.stream.getReader()
963
+
964
+ // 5. Read all bytes from reader, given successSteps and errorSteps.
965
+ readAllBytes(reader, successSteps, errorSteps)
966
+ } catch (e) {
967
+ errorSteps(e)
968
+ }
969
+ }
970
+
971
+ /**
972
+ * @param {ReadableStreamController<Uint8Array>} controller
973
+ */
974
+ function readableStreamClose (controller) {
975
+ try {
976
+ controller.close()
977
+ controller.byobRequest?.respond(0)
978
+ } catch (err) {
979
+ // TODO: add comment explaining why this error occurs.
980
+ if (!err.message.includes('Controller is already closed') && !err.message.includes('ReadableStream is already closed')) {
981
+ throw err
982
+ }
983
+ }
984
+ }
985
+
986
+ /**
987
+ * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes
988
+ * @see https://streams.spec.whatwg.org/#read-loop
989
+ * @param {ReadableStream<Uint8Array<ArrayBuffer>>} reader
990
+ * @param {(bytes: Uint8Array) => void} successSteps
991
+ * @param {(error: Error) => void} failureSteps
992
+ * @returns {Promise<void>}
993
+ */
994
+ async function readAllBytes (reader, successSteps, failureSteps) {
995
+ try {
996
+ const bytes = []
997
+ let byteLength = 0
998
+
999
+ do {
1000
+ const { done, value: chunk } = await reader.read()
1001
+
1002
+ if (done) {
1003
+ // 1. Call successSteps with bytes.
1004
+ successSteps(Buffer.concat(bytes, byteLength))
1005
+ return
1006
+ }
1007
+
1008
+ // 1. If chunk is not a Uint8Array object, call failureSteps
1009
+ // with a TypeError and abort these steps.
1010
+ if (!isUint8Array(chunk)) {
1011
+ failureSteps(new TypeError('Received non-Uint8Array chunk'))
1012
+ return
1013
+ }
1014
+
1015
+ // 2. Append the bytes represented by chunk to bytes.
1016
+ bytes.push(chunk)
1017
+ byteLength += chunk.length
1018
+
1019
+ // 3. Read-loop given reader, bytes, successSteps, and failureSteps.
1020
+ } while (true)
1021
+ } catch (e) {
1022
+ // 1. Call failureSteps with e.
1023
+ failureSteps(e)
1024
+ }
1025
+ }
1026
+
1027
+ /**
1028
+ * @see https://fetch.spec.whatwg.org/#is-local
1029
+ * @param {URL} url
1030
+ * @returns {boolean}
1031
+ */
1032
+ function urlIsLocal (url) {
1033
+ assert('protocol' in url) // ensure it's a url object
1034
+
1035
+ const protocol = url.protocol
1036
+
1037
+ // A URL is local if its scheme is a local scheme.
1038
+ // A local scheme is "about", "blob", or "data".
1039
+ return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'
1040
+ }
1041
+
1042
+ /**
1043
+ * @param {string|URL} url
1044
+ * @returns {boolean}
1045
+ */
1046
+ function urlHasHttpsScheme (url) {
1047
+ return (
1048
+ (
1049
+ typeof url === 'string' &&
1050
+ url[5] === ':' &&
1051
+ url[0] === 'h' &&
1052
+ url[1] === 't' &&
1053
+ url[2] === 't' &&
1054
+ url[3] === 'p' &&
1055
+ url[4] === 's'
1056
+ ) ||
1057
+ url.protocol === 'https:'
1058
+ )
1059
+ }
1060
+
1061
+ /**
1062
+ * @see https://fetch.spec.whatwg.org/#http-scheme
1063
+ * @param {URL} url
1064
+ */
1065
+ function urlIsHttpHttpsScheme (url) {
1066
+ assert('protocol' in url) // ensure it's a url object
1067
+
1068
+ const protocol = url.protocol
1069
+
1070
+ return protocol === 'http:' || protocol === 'https:'
1071
+ }
1072
+
1073
+ /**
1074
+ * @typedef {Object} RangeHeaderValue
1075
+ * @property {number|null} rangeStartValue
1076
+ * @property {number|null} rangeEndValue
1077
+ */
1078
+
1079
+ /**
1080
+ * @see https://fetch.spec.whatwg.org/#simple-range-header-value
1081
+ * @param {string} value
1082
+ * @param {boolean} allowWhitespace
1083
+ * @return {RangeHeaderValue|'failure'}
1084
+ */
1085
+ function simpleRangeHeaderValue (value, allowWhitespace) {
1086
+ // 1. Let data be the isomorphic decoding of value.
1087
+ // Note: isomorphic decoding takes a sequence of bytes (ie. a Uint8Array) and turns it into a string,
1088
+ // nothing more. We obviously don't need to do that if value is a string already.
1089
+ const data = value
1090
+
1091
+ // 2. If data does not start with "bytes", then return failure.
1092
+ if (!data.startsWith('bytes')) {
1093
+ return 'failure'
1094
+ }
1095
+
1096
+ // 3. Let position be a position variable for data, initially pointing at the 5th code point of data.
1097
+ const position = { position: 5 }
1098
+
1099
+ // 4. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,
1100
+ // from data given position.
1101
+ if (allowWhitespace) {
1102
+ collectASequenceOfCodePoints(
1103
+ (char) => char === '\t' || char === ' ',
1104
+ data,
1105
+ position
1106
+ )
1107
+ }
1108
+
1109
+ // 5. If the code point at position within data is not U+003D (=), then return failure.
1110
+ if (data.charCodeAt(position.position) !== 0x3D) {
1111
+ return 'failure'
1112
+ }
1113
+
1114
+ // 6. Advance position by 1.
1115
+ position.position++
1116
+
1117
+ // 7. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space, from
1118
+ // data given position.
1119
+ if (allowWhitespace) {
1120
+ collectASequenceOfCodePoints(
1121
+ (char) => char === '\t' || char === ' ',
1122
+ data,
1123
+ position
1124
+ )
1125
+ }
1126
+
1127
+ // 8. Let rangeStart be the result of collecting a sequence of code points that are ASCII digits,
1128
+ // from data given position.
1129
+ const rangeStart = collectASequenceOfCodePoints(
1130
+ (char) => {
1131
+ const code = char.charCodeAt(0)
1132
+
1133
+ return code >= 0x30 && code <= 0x39
1134
+ },
1135
+ data,
1136
+ position
1137
+ )
1138
+
1139
+ // 9. Let rangeStartValue be rangeStart, interpreted as decimal number, if rangeStart is not the
1140
+ // empty string; otherwise null.
1141
+ const rangeStartValue = rangeStart.length ? Number(rangeStart) : null
1142
+
1143
+ // 10. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,
1144
+ // from data given position.
1145
+ if (allowWhitespace) {
1146
+ collectASequenceOfCodePoints(
1147
+ (char) => char === '\t' || char === ' ',
1148
+ data,
1149
+ position
1150
+ )
1151
+ }
1152
+
1153
+ // 11. If the code point at position within data is not U+002D (-), then return failure.
1154
+ if (data.charCodeAt(position.position) !== 0x2D) {
1155
+ return 'failure'
1156
+ }
1157
+
1158
+ // 12. Advance position by 1.
1159
+ position.position++
1160
+
1161
+ // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab
1162
+ // or space, from data given position.
1163
+ // Note from Khafra: its the same step as in #8 again lol
1164
+ if (allowWhitespace) {
1165
+ collectASequenceOfCodePoints(
1166
+ (char) => char === '\t' || char === ' ',
1167
+ data,
1168
+ position
1169
+ )
1170
+ }
1171
+
1172
+ // 14. Let rangeEnd be the result of collecting a sequence of code points that are
1173
+ // ASCII digits, from data given position.
1174
+ // Note from Khafra: you wouldn't guess it, but this is also the same step as #8
1175
+ const rangeEnd = collectASequenceOfCodePoints(
1176
+ (char) => {
1177
+ const code = char.charCodeAt(0)
1178
+
1179
+ return code >= 0x30 && code <= 0x39
1180
+ },
1181
+ data,
1182
+ position
1183
+ )
1184
+
1185
+ // 15. Let rangeEndValue be rangeEnd, interpreted as decimal number, if rangeEnd
1186
+ // is not the empty string; otherwise null.
1187
+ // Note from Khafra: THE SAME STEP, AGAIN!!!
1188
+ // Note: why interpret as a decimal if we only collect ascii digits?
1189
+ const rangeEndValue = rangeEnd.length ? Number(rangeEnd) : null
1190
+
1191
+ // 16. If position is not past the end of data, then return failure.
1192
+ if (position.position < data.length) {
1193
+ return 'failure'
1194
+ }
1195
+
1196
+ // 17. If rangeEndValue and rangeStartValue are null, then return failure.
1197
+ if (rangeEndValue === null && rangeStartValue === null) {
1198
+ return 'failure'
1199
+ }
1200
+
1201
+ // 18. If rangeStartValue and rangeEndValue are numbers, and rangeStartValue is
1202
+ // greater than rangeEndValue, then return failure.
1203
+ // Note: ... when can they not be numbers?
1204
+ // Note: rangeStartValue or rangeEndValue may be null for open-ended ranges
1205
+ // such as `bytes=5-` or `bytes=-5`. A null value must not be coerced to 0
1206
+ // in the comparison, so this check only applies when both are numbers.
1207
+ if (rangeStartValue !== null && rangeEndValue !== null && rangeStartValue > rangeEndValue) {
1208
+ return 'failure'
1209
+ }
1210
+
1211
+ // 19. Return (rangeStartValue, rangeEndValue).
1212
+ return { rangeStartValue, rangeEndValue }
1213
+ }
1214
+
1215
+ /**
1216
+ * @see https://fetch.spec.whatwg.org/#build-a-content-range
1217
+ * @param {number} rangeStart
1218
+ * @param {number} rangeEnd
1219
+ * @param {number} fullLength
1220
+ */
1221
+ function buildContentRange (rangeStart, rangeEnd, fullLength) {
1222
+ // 1. Let contentRange be `bytes `.
1223
+ let contentRange = 'bytes '
1224
+
1225
+ // 2. Append rangeStart, serialized and isomorphic encoded, to contentRange.
1226
+ contentRange += isomorphicEncode(`${rangeStart}`)
1227
+
1228
+ // 3. Append 0x2D (-) to contentRange.
1229
+ contentRange += '-'
1230
+
1231
+ // 4. Append rangeEnd, serialized and isomorphic encoded to contentRange.
1232
+ contentRange += isomorphicEncode(`${rangeEnd}`)
1233
+
1234
+ // 5. Append 0x2F (/) to contentRange.
1235
+ contentRange += '/'
1236
+
1237
+ // 6. Append fullLength, serialized and isomorphic encoded to contentRange.
1238
+ contentRange += isomorphicEncode(`${fullLength}`)
1239
+
1240
+ // 7. Return contentRange.
1241
+ return contentRange
1242
+ }
1243
+
1244
+ // A Stream, which pipes the response to zlib.createInflate() or
1245
+ // zlib.createInflateRaw() depending on the first byte of the Buffer.
1246
+ // If the lower byte of the first byte is 0x08, then the stream is
1247
+ // interpreted as a zlib stream, otherwise it's interpreted as a
1248
+ // raw deflate stream.
1249
+ class InflateStream extends Transform {
1250
+ #zlibOptions
1251
+
1252
+ /** @param {zlib.ZlibOptions} [zlibOptions] */
1253
+ constructor (zlibOptions) {
1254
+ super()
1255
+ this.#zlibOptions = zlibOptions
1256
+ }
1257
+
1258
+ _transform (chunk, encoding, callback) {
1259
+ if (!this._inflateStream) {
1260
+ if (chunk.length === 0) {
1261
+ callback()
1262
+ return
1263
+ }
1264
+ this._inflateStream = (chunk[0] & 0x0F) === 0x08
1265
+ ? zlib.createInflate(this.#zlibOptions)
1266
+ : zlib.createInflateRaw(this.#zlibOptions)
1267
+
1268
+ this._inflateStream.on('data', this.push.bind(this))
1269
+ this._inflateStream.on('end', () => this.push(null))
1270
+ this._inflateStream.on('error', (err) => this.destroy(err))
1271
+ }
1272
+
1273
+ this._inflateStream.write(chunk, encoding, callback)
1274
+ }
1275
+
1276
+ _final (callback) {
1277
+ if (this._inflateStream) {
1278
+ this._inflateStream.end()
1279
+ this._inflateStream = null
1280
+ }
1281
+ callback()
1282
+ }
1283
+ }
1284
+
1285
+ /**
1286
+ * @param {zlib.ZlibOptions} [zlibOptions]
1287
+ * @returns {InflateStream}
1288
+ */
1289
+ function createInflate (zlibOptions) {
1290
+ return new InflateStream(zlibOptions)
1291
+ }
1292
+
1293
+ /**
1294
+ * @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type
1295
+ * @param {import('./headers').HeadersList} headers
1296
+ */
1297
+ function extractMimeType (headers) {
1298
+ // 1. Let charset be null.
1299
+ let charset = null
1300
+
1301
+ // 2. Let essence be null.
1302
+ let essence = null
1303
+
1304
+ // 3. Let mimeType be null.
1305
+ let mimeType = null
1306
+
1307
+ // 4. Let values be the result of getting, decoding, and splitting `Content-Type` from headers.
1308
+ const values = getDecodeSplit('content-type', headers)
1309
+
1310
+ // 5. If values is null, then return failure.
1311
+ if (values === null) {
1312
+ return 'failure'
1313
+ }
1314
+
1315
+ // 6. For each value of values:
1316
+ for (const value of values) {
1317
+ // 6.1. Let temporaryMimeType be the result of parsing value.
1318
+ const temporaryMimeType = parseMIMEType(value)
1319
+
1320
+ // 6.2. If temporaryMimeType is failure or its essence is "*/*", then continue.
1321
+ if (temporaryMimeType === 'failure' || temporaryMimeType.essence === '*/*') {
1322
+ continue
1323
+ }
1324
+
1325
+ // 6.3. Set mimeType to temporaryMimeType.
1326
+ mimeType = temporaryMimeType
1327
+
1328
+ // 6.4. If mimeType’s essence is not essence, then:
1329
+ if (mimeType.essence !== essence) {
1330
+ // 6.4.1. Set charset to null.
1331
+ charset = null
1332
+
1333
+ // 6.4.2. If mimeType’s parameters["charset"] exists, then set charset to
1334
+ // mimeType’s parameters["charset"].
1335
+ if (mimeType.parameters.has('charset')) {
1336
+ charset = mimeType.parameters.get('charset')
1337
+ }
1338
+
1339
+ // 6.4.3. Set essence to mimeType’s essence.
1340
+ essence = mimeType.essence
1341
+ } else if (!mimeType.parameters.has('charset') && charset !== null) {
1342
+ // 6.5. Otherwise, if mimeType’s parameters["charset"] does not exist, and
1343
+ // charset is non-null, set mimeType’s parameters["charset"] to charset.
1344
+ mimeType.parameters.set('charset', charset)
1345
+ }
1346
+ }
1347
+
1348
+ // 7. If mimeType is null, then return failure.
1349
+ if (mimeType == null) {
1350
+ return 'failure'
1351
+ }
1352
+
1353
+ // 8. Return mimeType.
1354
+ return mimeType
1355
+ }
1356
+
1357
+ /**
1358
+ * @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split
1359
+ * @param {string|null} value
1360
+ */
1361
+ function gettingDecodingSplitting (value) {
1362
+ // 1. Let input be the result of isomorphic decoding value.
1363
+ const input = value
1364
+
1365
+ // 2. Let position be a position variable for input, initially pointing at the start of input.
1366
+ const position = { position: 0 }
1367
+
1368
+ // 3. Let values be a list of strings, initially empty.
1369
+ const values = []
1370
+
1371
+ // 4. Let temporaryValue be the empty string.
1372
+ let temporaryValue = ''
1373
+
1374
+ // 5. While position is not past the end of input:
1375
+ while (position.position < input.length) {
1376
+ // 5.1. Append the result of collecting a sequence of code points that are not U+0022 (")
1377
+ // or U+002C (,) from input, given position, to temporaryValue.
1378
+ temporaryValue += collectASequenceOfCodePoints(
1379
+ (char) => char !== '"' && char !== ',',
1380
+ input,
1381
+ position
1382
+ )
1383
+
1384
+ // 5.2. If position is not past the end of input, then:
1385
+ if (position.position < input.length) {
1386
+ // 5.2.1. If the code point at position within input is U+0022 ("), then:
1387
+ if (input.charCodeAt(position.position) === 0x22) {
1388
+ // 5.2.1.1. Append the result of collecting an HTTP quoted string from input, given position, to temporaryValue.
1389
+ temporaryValue += collectAnHTTPQuotedString(
1390
+ input,
1391
+ position
1392
+ )
1393
+
1394
+ // 5.2.1.2. If position is not past the end of input, then continue.
1395
+ if (position.position < input.length) {
1396
+ continue
1397
+ }
1398
+ } else {
1399
+ // 5.2.2. Otherwise:
1400
+
1401
+ // 5.2.2.1. Assert: the code point at position within input is U+002C (,).
1402
+ assert(input.charCodeAt(position.position) === 0x2C)
1403
+
1404
+ // 5.2.2.2. Advance position by 1.
1405
+ position.position++
1406
+ }
1407
+ }
1408
+
1409
+ // 5.3. Remove all HTTP tab or space from the start and end of temporaryValue.
1410
+ temporaryValue = removeChars(temporaryValue, true, true, (char) => char === 0x9 || char === 0x20)
1411
+
1412
+ // 5.4. Append temporaryValue to values.
1413
+ values.push(temporaryValue)
1414
+
1415
+ // 5.6. Set temporaryValue to the empty string.
1416
+ temporaryValue = ''
1417
+ }
1418
+
1419
+ // 6. Return values.
1420
+ return values
1421
+ }
1422
+
1423
+ /**
1424
+ * @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split
1425
+ * @param {string} name lowercase header name
1426
+ * @param {import('./headers').HeadersList} list
1427
+ */
1428
+ function getDecodeSplit (name, list) {
1429
+ // 1. Let value be the result of getting name from list.
1430
+ const value = list.get(name, true)
1431
+
1432
+ // 2. If value is null, then return null.
1433
+ if (value === null) {
1434
+ return null
1435
+ }
1436
+
1437
+ // 3. Return the result of getting, decoding, and splitting value.
1438
+ return gettingDecodingSplitting(value)
1439
+ }
1440
+
1441
+ function hasAuthenticationEntry (request) {
1442
+ return false
1443
+ }
1444
+
1445
+ /**
1446
+ * @see https://url.spec.whatwg.org/#include-credentials
1447
+ * @param {URL} url
1448
+ */
1449
+ function includesCredentials (url) {
1450
+ // A URL includes credentials if its username or password is not the empty string.
1451
+ return !!(url.username || url.password)
1452
+ }
1453
+
1454
+ /**
1455
+ * @see https://html.spec.whatwg.org/multipage/document-sequences.html#traversable-navigable
1456
+ * @param {object|string} navigable
1457
+ */
1458
+ function isTraversableNavigable (navigable) {
1459
+ // Returns true only if we have an actual traversable navigable object
1460
+ // that can prompt the user for credentials. In Node.js, this will always
1461
+ // be false since there's no Window object or navigable.
1462
+ return navigable != null && navigable !== 'client' && navigable !== 'no-traversable'
1463
+ }
1464
+
1465
+ class EnvironmentSettingsObjectBase {
1466
+ get baseUrl () {
1467
+ return getGlobalOrigin()
1468
+ }
1469
+
1470
+ get origin () {
1471
+ return this.baseUrl?.origin
1472
+ }
1473
+
1474
+ policyContainer = makePolicyContainer()
1475
+ }
1476
+
1477
+ class EnvironmentSettingsObject {
1478
+ settingsObject = new EnvironmentSettingsObjectBase()
1479
+ }
1480
+
1481
+ const environmentSettingsObject = new EnvironmentSettingsObject()
1482
+
1483
+ module.exports = {
1484
+ isAborted,
1485
+ isCancelled,
1486
+ isValidEncodedURL,
1487
+ tryUpgradeRequestToAPotentiallyTrustworthyURL,
1488
+ clampAndCoarsenConnectionTimingInfo,
1489
+ coarsenedSharedCurrentTime,
1490
+ determineRequestsReferrer,
1491
+ makePolicyContainer,
1492
+ clonePolicyContainer,
1493
+ appendFetchMetadata,
1494
+ appendRequestOriginHeader,
1495
+ TAOCheck,
1496
+ corsCheck,
1497
+ crossOriginResourcePolicyCheck,
1498
+ createOpaqueTimingInfo,
1499
+ setRequestReferrerPolicyOnRedirect,
1500
+ isValidHTTPToken,
1501
+ requestBadPort,
1502
+ requestCurrentURL,
1503
+ responseURL,
1504
+ responseLocationURL,
1505
+ isURLPotentiallyTrustworthy,
1506
+ isValidReasonPhrase,
1507
+ sameOrigin,
1508
+ normalizeMethod,
1509
+ iteratorMixin,
1510
+ createIterator,
1511
+ isValidHeaderName,
1512
+ isValidHeaderValue,
1513
+ isErrorLike,
1514
+ fullyReadBody,
1515
+ readableStreamClose,
1516
+ urlIsLocal,
1517
+ urlHasHttpsScheme,
1518
+ urlIsHttpHttpsScheme,
1519
+ readAllBytes,
1520
+ simpleRangeHeaderValue,
1521
+ buildContentRange,
1522
+ createInflate,
1523
+ extractMimeType,
1524
+ getDecodeSplit,
1525
+ environmentSettingsObject,
1526
+ isOriginIPPotentiallyTrustworthy,
1527
+ hasAuthenticationEntry,
1528
+ includesCredentials,
1529
+ isTraversableNavigable
1530
+ }