9router 0.5.116 → 0.5.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. package/README.md +2 -2
  2. package/app/.next-cli-build/BUILD_ID +1 -1
  3. package/app/.next-cli-build/app-path-routes-manifest.json +4 -4
  4. package/app/.next-cli-build/build-manifest.json +2 -2
  5. package/app/.next-cli-build/prerender-manifest.json +3 -3
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +12 -12
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +3 -3
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  75. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  78. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  79. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  80. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  81. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  82. package/app/.next-cli-build/server/app/_not-found/page.js +1 -1
  83. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  84. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  85. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  86. package/app/.next-cli-build/server/app/_not-found.rsc +3 -3
  87. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +3 -3
  88. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +3 -3
  89. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  90. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  92. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  93. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  95. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  96. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  97. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  98. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  99. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  100. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  101. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +1 -1
  102. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  103. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  104. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  106. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  107. package/app/.next-cli-build/server/app/api/cli-tools/codewhale-settings/route.js.nft.json +1 -1
  108. package/app/.next-cli-build/server/app/api/cli-tools/codex-profiles/route.js.nft.json +1 -1
  109. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  110. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  111. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  112. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  113. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  114. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  115. package/app/.next-cli-build/server/app/api/cli-tools/crush-settings/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  117. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  119. package/app/.next-cli-build/server/app/api/cli-tools/forge-settings/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  121. package/app/.next-cli-build/server/app/api/cli-tools/hermes-profiles/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  123. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  125. package/app/.next-cli-build/server/app/api/cli-tools/omp-settings/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  127. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  128. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  129. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/cli-tools/smelt-settings/route.js.nft.json +1 -1
  131. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  132. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  133. package/app/.next-cli-build/server/app/api/combos/presets/route.js +1 -1
  134. package/app/.next-cli-build/server/app/api/combos/presets/route.js.nft.json +1 -1
  135. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  137. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  139. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  141. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  143. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  145. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  147. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  149. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  153. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  157. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  159. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  163. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  164. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  165. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  166. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  167. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  168. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  169. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  170. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  171. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  172. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  173. package/app/.next-cli-build/server/app/api/oauth/commandcode/auto-import/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  175. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  176. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  177. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  179. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  181. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  183. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  184. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  185. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  191. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +1 -1
  192. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  193. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/start/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/login/status/route.js.nft.json +1 -1
  195. package/app/.next-cli-build/server/app/api/oauth/zed/auto-import/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js +1 -1
  197. package/app/.next-cli-build/server/app/api/oauth/zed/import/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  199. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  203. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  204. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  205. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js +1 -1
  206. package/app/.next-cli-build/server/app/api/providers/[id]/overrides/route.js.nft.json +1 -1
  207. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  208. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  209. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  210. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  211. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  212. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  213. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  214. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  215. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  219. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  220. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  221. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  222. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  223. package/app/.next-cli-build/server/app/api/providers/web-login/route.js +1 -1
  224. package/app/.next-cli-build/server/app/api/providers/web-login/route.js.nft.json +1 -1
  225. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  227. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  229. package/app/.next-cli-build/server/app/api/proxy-pools/netlify-deploy/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  231. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  233. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  235. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  237. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  239. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  241. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  243. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  244. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  245. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  247. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  248. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  249. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +1 -1
  250. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  251. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  253. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  254. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  255. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  256. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  257. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  258. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  259. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  260. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  261. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  263. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  264. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  265. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  266. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  267. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  268. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js +1 -1
  269. package/app/.next-cli-build/server/app/api/usage/[connectionId]/claude-reset/route.js.nft.json +1 -1
  270. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  271. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  272. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  273. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  274. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  276. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  280. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  282. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +4 -4
  288. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +3 -3
  296. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  298. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  299. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  300. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  301. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  302. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  303. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  304. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  305. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  306. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  307. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  308. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  309. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  310. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  311. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  312. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  313. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  314. package/app/.next-cli-build/server/app/api/v1/systemone/route.js +1 -1
  315. package/app/.next-cli-build/server/app/api/v1/systemone/route.js.nft.json +1 -1
  316. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  317. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  318. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  319. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  320. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  321. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  322. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  323. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  324. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  325. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  326. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  327. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  328. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  329. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  330. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  331. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  332. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  333. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  334. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  335. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  336. package/app/.next-cli-build/server/app/callback/page.js +1 -1
  337. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  338. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  339. package/app/.next-cli-build/server/app/callback.html +1 -1
  340. package/app/.next-cli-build/server/app/callback.rsc +3 -3
  341. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +3 -3
  342. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +1 -1
  343. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +3 -3
  344. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  345. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +3 -3
  346. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +3 -3
  347. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +3 -3
  348. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +1 -1
  349. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  350. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  351. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +6 -6
  352. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  353. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +1 -1
  354. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  355. package/app/.next-cli-build/server/app/dashboard/combos.rsc +3 -3
  356. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +3 -3
  357. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +3 -3
  358. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +1 -1
  359. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  360. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +3 -3
  361. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +3 -3
  362. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +3 -3
  363. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +1 -1
  364. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  365. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +3 -3
  366. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +3 -3
  367. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +3 -3
  368. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +1 -1
  369. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  370. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  371. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +6 -6
  372. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  373. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +1 -1
  374. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  375. package/app/.next-cli-build/server/app/dashboard/profile.rsc +3 -3
  376. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +3 -3
  377. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +3 -3
  378. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +1 -1
  379. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  380. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +3 -3
  381. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +3 -3
  382. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +3 -3
  383. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +1 -1
  384. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  385. package/app/.next-cli-build/server/app/dashboard/providers.rsc +3 -3
  386. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +3 -3
  387. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +3 -3
  388. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +1 -1
  389. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  390. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +5 -5
  391. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +5 -5
  392. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +5 -5
  393. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +1 -1
  394. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  395. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +3 -3
  396. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +3 -3
  397. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +3 -3
  398. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +1 -1
  399. package/app/.next-cli-build/server/app/dashboard/quota.html +1 -1
  400. package/app/.next-cli-build/server/app/dashboard/quota.rsc +4 -4
  401. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +4 -4
  402. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +4 -4
  403. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +1 -1
  404. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +1 -1
  405. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  406. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  407. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  408. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +3 -3
  409. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +3 -3
  410. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +1 -1
  411. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +3 -3
  412. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  413. package/app/.next-cli-build/server/app/dashboard/skills.rsc +3 -3
  414. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +3 -3
  415. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +3 -3
  416. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +1 -1
  417. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  418. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +3 -3
  419. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +3 -3
  420. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +3 -3
  421. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +1 -1
  422. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  423. package/app/.next-cli-build/server/app/dashboard/translator.rsc +3 -3
  424. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +3 -3
  425. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +3 -3
  426. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +1 -1
  427. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  428. package/app/.next-cli-build/server/app/dashboard/usage.rsc +5 -5
  429. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +5 -5
  430. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +5 -5
  431. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +1 -1
  432. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  433. package/app/.next-cli-build/server/app/dashboard.rsc +3 -3
  434. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +3 -3
  435. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +3 -3
  436. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +1 -1
  437. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  438. package/app/.next-cli-build/server/app/index.html +1 -1
  439. package/app/.next-cli-build/server/app/index.rsc +3 -3
  440. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +3 -3
  441. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +3 -3
  442. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +1 -1
  443. package/app/.next-cli-build/server/app/landing/page.js +1 -1
  444. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  446. package/app/.next-cli-build/server/app/landing.html +1 -1
  447. package/app/.next-cli-build/server/app/landing.rsc +3 -3
  448. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +3 -3
  449. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +1 -1
  450. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +3 -3
  451. package/app/.next-cli-build/server/app/login/page.js +1 -1
  452. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  454. package/app/.next-cli-build/server/app/login.html +1 -1
  455. package/app/.next-cli-build/server/app/login.rsc +3 -3
  456. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +3 -3
  457. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +1 -1
  458. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +3 -3
  459. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  460. package/app/.next-cli-build/server/app/page.js +1 -1
  461. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  462. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  463. package/app/.next-cli-build/server/app-paths-manifest.json +4 -4
  464. package/app/.next-cli-build/server/chunks/1051.js +1 -1
  465. package/app/.next-cli-build/server/chunks/1133.js +1 -1
  466. package/app/.next-cli-build/server/chunks/{2380.js → 1297.js} +3 -53
  467. package/app/.next-cli-build/server/chunks/1356.js +1 -1
  468. package/app/.next-cli-build/server/chunks/{2365.js → 1866.js} +1 -1
  469. package/app/.next-cli-build/server/chunks/24.js +1 -1
  470. package/app/.next-cli-build/server/chunks/2598.js +1 -1
  471. package/app/.next-cli-build/server/chunks/2840.js +1 -0
  472. package/app/.next-cli-build/server/chunks/3225.js +1 -1
  473. package/app/.next-cli-build/server/chunks/3697.js +1 -1
  474. package/app/.next-cli-build/server/chunks/3943.js +1 -1
  475. package/app/.next-cli-build/server/chunks/412.js +5 -5
  476. package/app/.next-cli-build/server/chunks/4123.js +1 -1
  477. package/app/.next-cli-build/server/chunks/4279.js +1 -1
  478. package/app/.next-cli-build/server/chunks/4882.js +1 -1
  479. package/app/.next-cli-build/server/chunks/{3783.js → 5299.js} +3 -3
  480. package/app/.next-cli-build/server/chunks/5330.js +34 -34
  481. package/app/.next-cli-build/server/chunks/5615.js +1 -1
  482. package/app/.next-cli-build/server/chunks/6070.js +1 -1
  483. package/app/.next-cli-build/server/chunks/615.js +1 -1
  484. package/app/.next-cli-build/server/chunks/6297.js +1 -0
  485. package/app/.next-cli-build/server/chunks/6576.js +1 -0
  486. package/app/.next-cli-build/server/chunks/6690.js +1 -1
  487. package/app/.next-cli-build/server/chunks/6724.js +1 -1
  488. package/app/.next-cli-build/server/chunks/6763.js +1 -1
  489. package/app/.next-cli-build/server/chunks/6877.js +1 -1
  490. package/app/.next-cli-build/server/chunks/7187.js +1 -1
  491. package/app/.next-cli-build/server/chunks/7247.js +1 -1
  492. package/app/.next-cli-build/server/chunks/7373.js +1 -1
  493. package/app/.next-cli-build/server/chunks/7525.js +1 -1
  494. package/app/.next-cli-build/server/chunks/7552.js +1 -1
  495. package/app/.next-cli-build/server/chunks/7716.js +1 -1
  496. package/app/.next-cli-build/server/chunks/7843.js +51 -0
  497. package/app/.next-cli-build/server/chunks/8251.js +1 -1
  498. package/app/.next-cli-build/server/chunks/8271.js +1 -1
  499. package/app/.next-cli-build/server/chunks/8402.js +1 -1
  500. package/app/.next-cli-build/server/chunks/8416.js +1 -1
  501. package/app/.next-cli-build/server/chunks/8623.js +1 -1
  502. package/app/.next-cli-build/server/chunks/866.js +1 -0
  503. package/app/.next-cli-build/server/chunks/869.js +1 -1
  504. package/app/.next-cli-build/server/chunks/8895.js +3 -3
  505. package/app/.next-cli-build/server/chunks/8896.js +1 -1
  506. package/app/.next-cli-build/server/chunks/8920.js +1 -1
  507. package/app/.next-cli-build/server/chunks/9128.js +1 -1
  508. package/app/.next-cli-build/server/chunks/9198.js +1 -0
  509. package/app/.next-cli-build/server/chunks/9489.js +1 -1
  510. package/app/.next-cli-build/server/chunks/9604.js +1 -1
  511. package/app/.next-cli-build/server/chunks/9609.js +1 -1
  512. package/app/.next-cli-build/server/instrumentation.js +1 -1
  513. package/app/.next-cli-build/server/instrumentation.js.nft.json +1 -1
  514. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  515. package/app/.next-cli-build/server/middleware.js +1 -1
  516. package/app/.next-cli-build/server/middleware.js.nft.json +1 -1
  517. package/app/.next-cli-build/server/pages/404.html +1 -1
  518. package/app/.next-cli-build/server/pages/500.html +1 -1
  519. package/app/.next-cli-build/static/chunks/1321-2fde166305caeddb.js +1 -0
  520. package/app/.next-cli-build/static/chunks/5497-2d39b4ce6857f490.js +7 -0
  521. package/app/.next-cli-build/static/chunks/{9134-07842c4023ec2223.js → 761-4ab39a76a6565658.js} +10 -10
  522. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/[toolId]/{page-dde07454165b542e.js → page-9fe240988c674585.js} +1 -1
  523. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/cli-tools/{page-0e889b3c170b388d.js → page-2e6e4ef7c270a4ff.js} +1 -1
  524. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/media-providers/[kind]/[id]/{page-0688449cf035f993.js → page-899c85a4a09b87cc.js} +11 -11
  525. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/mitm/{page-38924c451fb16b6e.js → page-2f96a614dc53d80f.js} +1 -1
  526. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-c13b42f0dbad8fcd.js +27 -0
  527. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-8f7c68a9ddffe74b.js +4 -0
  528. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/{page-9782a8d4c3075073.js → page-6923bda560bbc869.js} +1 -1
  529. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-3b1b5d8e342d932f.js +1 -0
  530. package/app/cli/.build-home/.9router/db/data.sqlite +0 -0
  531. package/app/node_modules/undici/README.md +28 -115
  532. package/app/node_modules/undici/docs/docs/api/Agent.md +42 -249
  533. package/app/node_modules/undici/docs/docs/api/BalancedPool.md +48 -246
  534. package/app/node_modules/undici/docs/docs/api/CacheStorage.md +13 -171
  535. package/app/node_modules/undici/docs/docs/api/CacheStore.md +98 -309
  536. package/app/node_modules/undici/docs/docs/api/Client.md +164 -412
  537. package/app/node_modules/undici/docs/docs/api/ClientStats.md +14 -80
  538. package/app/node_modules/undici/docs/docs/api/Connector.md +35 -118
  539. package/app/node_modules/undici/docs/docs/api/ContentType.md +25 -65
  540. package/app/node_modules/undici/docs/docs/api/Cookies.md +71 -122
  541. package/app/node_modules/undici/docs/docs/api/Debug.md +18 -34
  542. package/app/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +167 -368
  543. package/app/node_modules/undici/docs/docs/api/Dispatcher.md +1056 -502
  544. package/app/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +93 -105
  545. package/app/node_modules/undici/docs/docs/api/Errors.md +28 -603
  546. package/app/node_modules/undici/docs/docs/api/EventSource.md +13 -326
  547. package/app/node_modules/undici/docs/docs/api/Fetch.md +30 -691
  548. package/app/node_modules/undici/docs/docs/api/GlobalInstallation.md +96 -78
  549. package/app/node_modules/undici/docs/docs/api/H2CClient.md +176 -299
  550. package/app/node_modules/undici/docs/docs/api/MockAgent.md +314 -333
  551. package/app/node_modules/undici/docs/docs/api/MockCallHistory.md +98 -272
  552. package/app/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +26 -189
  553. package/app/node_modules/undici/docs/docs/api/MockClient.md +33 -151
  554. package/app/node_modules/undici/docs/docs/api/MockErrors.md +5 -56
  555. package/app/node_modules/undici/docs/docs/api/MockPool.md +258 -321
  556. package/app/node_modules/undici/docs/docs/api/Pool.md +41 -235
  557. package/app/node_modules/undici/docs/docs/api/PoolStats.md +13 -119
  558. package/app/node_modules/undici/docs/docs/api/ProxyAgent.md +160 -179
  559. package/app/node_modules/undici/docs/docs/api/RedirectHandler.md +55 -241
  560. package/app/node_modules/undici/docs/docs/api/RetryAgent.md +27 -113
  561. package/app/node_modules/undici/docs/docs/api/RetryHandler.md +79 -161
  562. package/app/node_modules/undici/docs/docs/api/RoundRobinPool.md +72 -166
  563. package/app/node_modules/undici/docs/docs/api/SnapshotAgent.md +517 -262
  564. package/app/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +196 -177
  565. package/app/node_modules/undici/docs/docs/api/Util.md +11 -68
  566. package/app/node_modules/undici/docs/docs/api/WebSocket.md +80 -475
  567. package/app/node_modules/undici/docs/docs/api/api-lifecycle.md +32 -100
  568. package/app/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -2
  569. package/app/node_modules/undici/docs/docs/best-practices/crawling.md +1 -3
  570. package/app/node_modules/undici/docs/docs/best-practices/mocking-request.md +7 -9
  571. package/app/node_modules/undici/docs/docs/best-practices/proxy.md +1 -3
  572. package/app/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +8 -10
  573. package/app/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -2
  574. package/app/node_modules/undici/index.js +2 -4
  575. package/app/node_modules/undici/lib/api/api-connect.js +11 -13
  576. package/app/node_modules/undici/lib/api/api-pipeline.js +13 -26
  577. package/app/node_modules/undici/lib/api/api-request.js +21 -51
  578. package/app/node_modules/undici/lib/api/api-stream.js +20 -81
  579. package/app/node_modules/undici/lib/api/api-upgrade.js +11 -21
  580. package/app/node_modules/undici/lib/api/readable.js +11 -46
  581. package/app/node_modules/undici/lib/cache/memory-cache-store.js +15 -50
  582. package/app/node_modules/undici/lib/cache/sqlite-cache-store.js +7 -85
  583. package/app/node_modules/undici/lib/core/connect.js +7 -46
  584. package/app/node_modules/undici/lib/core/constants.js +23 -11
  585. package/app/node_modules/undici/lib/core/errors.js +3 -60
  586. package/app/node_modules/undici/lib/core/request.js +19 -116
  587. package/app/node_modules/undici/lib/core/symbols.js +0 -5
  588. package/app/node_modules/undici/lib/core/util.js +88 -110
  589. package/app/node_modules/undici/lib/dispatcher/agent.js +32 -51
  590. package/app/node_modules/undici/lib/dispatcher/balanced-pool.js +27 -23
  591. package/app/node_modules/undici/lib/dispatcher/client-h1.js +88 -163
  592. package/app/node_modules/undici/lib/dispatcher/client-h2.js +373 -1249
  593. package/app/node_modules/undici/lib/dispatcher/client.js +34 -114
  594. package/app/node_modules/undici/lib/dispatcher/dispatcher-base.js +8 -10
  595. package/app/node_modules/undici/lib/dispatcher/dispatcher.js +5 -15
  596. package/app/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +13 -57
  597. package/app/node_modules/undici/lib/dispatcher/h2c-client.js +4 -4
  598. package/app/node_modules/undici/lib/dispatcher/pool-base.js +27 -160
  599. package/app/node_modules/undici/lib/dispatcher/pool.js +16 -127
  600. package/app/node_modules/undici/lib/dispatcher/proxy-agent.js +29 -128
  601. package/app/node_modules/undici/lib/dispatcher/retry-agent.js +0 -13
  602. package/app/node_modules/undici/lib/dispatcher/round-robin-pool.js +15 -47
  603. package/app/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +63 -153
  604. package/app/node_modules/undici/lib/global.js +14 -37
  605. package/app/node_modules/undici/lib/handler/cache-handler.js +358 -133
  606. package/app/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -10
  607. package/app/node_modules/undici/lib/handler/decorator-handler.js +3 -8
  608. package/app/node_modules/undici/lib/handler/deduplication-handler.js +38 -74
  609. package/app/node_modules/undici/lib/handler/redirect-handler.js +103 -93
  610. package/app/node_modules/undici/lib/handler/retry-handler.js +45 -227
  611. package/app/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  612. package/app/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  613. package/app/node_modules/undici/lib/interceptor/cache.js +140 -76
  614. package/app/node_modules/undici/lib/interceptor/decompress.js +5 -12
  615. package/app/node_modules/undici/lib/interceptor/deduplicate.js +4 -5
  616. package/app/node_modules/undici/lib/interceptor/dns.js +1 -23
  617. package/app/node_modules/undici/lib/interceptor/redirect.js +3 -3
  618. package/app/node_modules/undici/lib/interceptor/response-error.js +28 -72
  619. package/app/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  620. package/app/node_modules/undici/lib/llhttp/llhttp-wasm.js +1 -1
  621. package/app/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +1 -1
  622. package/app/node_modules/undici/lib/mock/mock-agent.js +9 -32
  623. package/app/node_modules/undici/lib/mock/mock-call-history.js +1 -1
  624. package/app/node_modules/undici/lib/mock/mock-interceptor.js +7 -25
  625. package/app/node_modules/undici/lib/mock/mock-utils.js +47 -281
  626. package/app/node_modules/undici/lib/mock/snapshot-agent.js +7 -25
  627. package/app/node_modules/undici/lib/mock/snapshot-recorder.js +5 -41
  628. package/app/node_modules/undici/lib/mock/snapshot-utils.js +2 -3
  629. package/app/node_modules/undici/lib/util/cache.js +14 -69
  630. package/app/node_modules/undici/lib/util/promise.js +28 -0
  631. package/app/node_modules/undici/lib/util/runtime-features.js +34 -3
  632. package/app/node_modules/undici/lib/web/cache/cache.js +16 -23
  633. package/app/node_modules/undici/lib/web/cache/cachestorage.js +5 -11
  634. package/app/node_modules/undici/lib/web/cookies/index.js +6 -16
  635. package/app/node_modules/undici/lib/web/cookies/parse.js +4 -7
  636. package/app/node_modules/undici/lib/web/cookies/util.js +1 -1
  637. package/app/node_modules/undici/lib/web/eventsource/eventsource.js +23 -66
  638. package/app/node_modules/undici/lib/web/eventsource/util.js +1 -32
  639. package/app/node_modules/undici/lib/web/fetch/body.js +25 -70
  640. package/app/node_modules/undici/lib/web/fetch/constants.js +1 -1
  641. package/app/node_modules/undici/lib/web/fetch/data-url.js +6 -6
  642. package/app/node_modules/undici/lib/web/fetch/formdata-parser.js +4 -12
  643. package/app/node_modules/undici/lib/web/fetch/formdata.js +26 -39
  644. package/app/node_modules/undici/lib/web/fetch/headers.js +33 -36
  645. package/app/node_modules/undici/lib/web/fetch/index.js +250 -294
  646. package/app/node_modules/undici/lib/web/fetch/request.js +75 -99
  647. package/app/node_modules/undici/lib/web/fetch/response.js +47 -44
  648. package/app/node_modules/undici/lib/web/fetch/util.js +9 -17
  649. package/app/node_modules/undici/lib/web/infra/index.js +14 -15
  650. package/app/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +2 -2
  651. package/app/node_modules/undici/lib/web/webidl/index.js +21 -7
  652. package/app/node_modules/undici/lib/web/websocket/connection.js +5 -16
  653. package/app/node_modules/undici/lib/web/websocket/events.js +26 -43
  654. package/app/node_modules/undici/lib/web/websocket/frame.js +7 -1
  655. package/app/node_modules/undici/lib/web/websocket/receiver.js +3 -13
  656. package/app/node_modules/undici/lib/web/websocket/stream/websocketerror.js +10 -13
  657. package/app/node_modules/undici/lib/web/websocket/stream/websocketstream.js +14 -29
  658. package/app/node_modules/undici/lib/web/websocket/websocket.js +40 -65
  659. package/app/node_modules/undici/package.json +13 -15
  660. package/app/node_modules/undici/types/agent.d.ts +2 -0
  661. package/app/node_modules/undici/types/api.d.ts +1 -1
  662. package/app/node_modules/undici/types/cache-interceptor.d.ts +0 -10
  663. package/app/node_modules/undici/types/client.d.ts +27 -64
  664. package/app/node_modules/undici/types/connector.d.ts +0 -1
  665. package/app/node_modules/undici/types/cookies.d.ts +1 -1
  666. package/app/node_modules/undici/types/diagnostics-channel.d.ts +1 -2
  667. package/app/node_modules/undici/types/dispatcher.d.ts +29 -7
  668. package/app/node_modules/undici/types/errors.d.ts +1 -26
  669. package/app/node_modules/undici/types/fetch.d.ts +1 -5
  670. package/app/node_modules/undici/types/formdata.d.ts +6 -0
  671. package/app/node_modules/undici/types/h2c-client.d.ts +7 -7
  672. package/app/node_modules/undici/types/handlers.d.ts +0 -2
  673. package/app/node_modules/undici/types/header.d.ts +0 -5
  674. package/app/node_modules/undici/types/index.d.ts +1 -3
  675. package/app/node_modules/undici/types/interceptors.d.ts +2 -7
  676. package/app/node_modules/undici/types/mock-agent.d.ts +10 -11
  677. package/app/node_modules/undici/types/mock-interceptor.d.ts +1 -5
  678. package/app/node_modules/undici/types/pool.d.ts +2 -0
  679. package/app/node_modules/undici/types/proxy-agent.d.ts +2 -9
  680. package/app/node_modules/undici/types/round-robin-pool.d.ts +2 -0
  681. package/app/node_modules/undici/types/snapshot-agent.d.ts +0 -4
  682. package/app/node_modules/undici/types/socks5-proxy-agent.d.ts +2 -4
  683. package/app/node_modules/undici/types/utility.d.ts +4 -4
  684. package/app/node_modules/undici/types/webidl.d.ts +8 -13
  685. package/app/package.json +5 -2
  686. package/app/public/providers/sensenova-intl.png +0 -0
  687. package/app/src/shared/services/quotaAutoPing.js +17 -2
  688. package/package.json +2 -2
  689. package/app/.next-cli-build/server/chunks/1004.js +0 -1
  690. package/app/.next-cli-build/server/chunks/4480.js +0 -1
  691. package/app/.next-cli-build/server/chunks/7573.js +0 -1
  692. package/app/.next-cli-build/server/chunks/8499.js +0 -1
  693. package/app/.next-cli-build/server/chunks/9102.js +0 -1
  694. package/app/.next-cli-build/static/chunks/1321-93eb6ca56f8fcb1e.js +0 -1
  695. package/app/.next-cli-build/static/chunks/5497-870732fd9d818574.js +0 -7
  696. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-f98f1e29fd6fc471.js +0 -27
  697. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/proxy-pools/page-e5d73ba422004783.js +0 -4
  698. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/usage/page-888c58ee93724e20.js +0 -1
  699. package/app/node_modules/undici/docs/docs/api/Interceptors.md +0 -439
  700. package/app/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +0 -233
  701. package/app/node_modules/undici/docs/docs/getting-started.md +0 -281
  702. package/app/node_modules/undici/docs/docs/index.md +0 -793
  703. package/app/node_modules/undici/docs/docs/site.json +0 -125
  704. package/app/node_modules/undici/docs/docs/type-map.json +0 -79
  705. package/app/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +0 -127
  706. package/app/node_modules/undici/lib/dispatcher/parser-h1.js +0 -1064
  707. package/app/node_modules/undici/lib/milo/LICENSE.md +0 -7
  708. package/app/node_modules/undici/lib/milo/no-simd.js +0 -1002
  709. package/app/node_modules/undici/lib/milo/simd.js +0 -1002
  710. package/app/node_modules/undici/types/dispatcher1-wrapper.d.ts +0 -7
  711. /package/app/.next-cli-build/static/{Z4ZIksyhEDiaIj7-73igf → 5PG9DiG39fbvOpgKSnR7p}/_buildManifest.js +0 -0
  712. /package/app/.next-cli-build/static/{Z4ZIksyhEDiaIj7-73igf → 5PG9DiG39fbvOpgKSnR7p}/_ssgManifest.js +0 -0
@@ -9,7 +9,7 @@ const {
9
9
  kGetNetConnect,
10
10
  kTotalDispatchCount
11
11
  } = require('./mock-symbols')
12
- const { serializePathWithQuery, parseHeaders } = require('../core/util')
12
+ const { serializePathWithQuery } = require('../core/util')
13
13
  const { STATUS_CODES } = require('node:http')
14
14
  const {
15
15
  types: {
@@ -17,7 +17,6 @@ const {
17
17
  }
18
18
  } = require('node:util')
19
19
  const { InvalidArgumentError } = require('../core/errors')
20
- const requestAborted = Symbol('request aborted')
21
20
 
22
21
  function matchValue (match, value) {
23
22
  if (typeof match === 'string') {
@@ -154,11 +153,6 @@ function getResponseData (data) {
154
153
  return data
155
154
  } else if (data instanceof ArrayBuffer) {
156
155
  return data
157
- } else if (ArrayBuffer.isView(data)) {
158
- // A DataView, or any non-Uint8Array typed array, is a byte container
159
- // rather than a plain object. Buffer.from() cannot read one directly, so
160
- // expose the bytes it covers instead of letting it reach JSON.stringify.
161
- return new Uint8Array(data.buffer, data.byteOffset, data.byteLength)
162
156
  } else if (typeof data === 'object') {
163
157
  return JSON.stringify(data)
164
158
  } else if (data) {
@@ -231,15 +225,9 @@ function deleteMockDispatch (mockDispatches, key) {
231
225
  }
232
226
 
233
227
  /**
234
- * @param {string|RegExp|Function} path Path, or path matcher, to remove trailing slash from
228
+ * @param {string} path Path to remove trailing slash from
235
229
  */
236
230
  function removeTrailingSlash (path) {
237
- // Registered path matchers may be a RegExp or a function, which have no
238
- // trailing slash to strip; hand those back for matchValue to apply.
239
- if (typeof path !== 'string') {
240
- return path
241
- }
242
-
243
231
  while (path.endsWith('/')) {
244
232
  path = path.slice(0, -1)
245
233
  }
@@ -304,69 +292,26 @@ function mockDispatch (opts, handler) {
304
292
  // Get mock dispatch from built key
305
293
  const key = buildKey(opts)
306
294
  const mockDispatch = getMockDispatch(this[kDispatches], key)
307
- const mockDispatches = this[kDispatches]
308
295
 
309
296
  mockDispatch.timesInvoked++
310
297
 
311
- const { timesInvoked, times } = mockDispatch
312
-
313
- // If it's used up and not persistent, mark as consumed
314
- mockDispatch.consumed = !mockDispatch.persist && timesInvoked >= times
315
- mockDispatch.pending = timesInvoked < times
316
-
317
- const hasBodyHooks = typeof handler.onBodySent === 'function' ||
318
- typeof handler.onRequestSent === 'function'
319
-
320
298
  // Here's where we resolve a callback if a callback is present for the dispatch data.
321
- if (mockDispatch.data.callback && (!hasBodyHooks || opts.body == null)) {
322
- const { callback, ...responseDefaults } = mockDispatch.data
323
- const callbackResult = callback(opts)
324
-
325
- // An asynchronous reply options callback resolves to the reply data, so
326
- // the dispatch can only continue once the returned promise settles.
327
- // A rejection cannot be thrown synchronously from the dispatch at that
328
- // point, so it is surfaced as a response error instead.
329
- if (isPromise(callbackResult)) {
330
- callbackResult.then(
331
- (resolvedData) => {
332
- if (resolvedData == null || typeof resolvedData !== 'object') {
333
- handler.onResponseError(null, new InvalidArgumentError('reply options callback must return an object'))
334
- return
335
- }
336
- dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler, { ...responseDefaults, ...resolvedData })
337
- },
338
- (error) => {
339
- handler.onResponseError(null, error)
340
- }
341
- )
342
- return true
343
- }
344
-
345
- if (callbackResult == null || typeof callbackResult !== 'object') {
346
- throw new InvalidArgumentError('reply options callback must return an object')
347
- }
348
-
349
- return dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler, { ...responseDefaults, ...callbackResult })
299
+ if (mockDispatch.data.callback) {
300
+ mockDispatch.data = { ...mockDispatch.data, ...mockDispatch.data.callback(opts) }
350
301
  }
351
302
 
352
- return dispatchMockReply(mockDispatches, mockDispatch, key, opts, handler)
353
- }
303
+ // Parse mockDispatch data
304
+ const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch
305
+ const { timesInvoked, times } = mockDispatch
354
306
 
355
- /**
356
- * Replies to a request once the mock dispatch data is fully resolved
357
- */
358
- function dispatchMockReply (mockDispatches, mockDispatch, key, opts, handler, resolvedResponse) {
359
- // Parse mockDispatch data. When a reply callback has already been resolved
360
- // in mockDispatch() (i.e. no body lifecycle hooks are involved), the resolved
361
- // response is passed in here, leaving mockDispatch.data untouched so the
362
- // callback can be re-invoked for persistent / times() replies.
363
- const { data: responseData, delay } = mockDispatch
364
- const response = resolvedResponse ?? responseData
307
+ // If it's used up and not persistent, mark as consumed
308
+ mockDispatch.consumed = !persist && timesInvoked >= times
309
+ mockDispatch.pending = timesInvoked < times
365
310
 
366
311
  // If specified, trigger dispatch error
367
- if (response.error !== null) {
368
- deleteMockDispatch(mockDispatches, key)
369
- handler.onResponseError(null, response.error)
312
+ if (error !== null) {
313
+ deleteMockDispatch(this[kDispatches], key)
314
+ handler.onError(error)
370
315
  return true
371
316
  }
372
317
 
@@ -374,132 +319,48 @@ function dispatchMockReply (mockDispatches, mockDispatch, key, opts, handler, re
374
319
  let aborted = false
375
320
  let timer = null
376
321
 
377
- // Create the controller early so abort can use it
378
- const controller = {
379
- paused: false,
380
- rawHeaders: null,
381
- rawTrailers: null,
382
- pause () {
383
- this.paused = true
384
- },
385
- resume () {
386
- this.paused = false
387
- },
388
- abort: (reason) => {
389
- if (aborted) {
390
- return
391
- }
392
- aborted = true
393
-
394
- // Clear the pending delayed response if any
395
- if (timer !== null) {
396
- clearTimeout(timer)
397
- timer = null
398
- }
399
-
400
- handler.onResponseError?.(controller, reason)
322
+ function abort (err) {
323
+ if (aborted) {
324
+ return
401
325
  }
402
- }
403
-
404
- let replyOpts = opts
405
- const dispatches = mockDispatches
406
-
407
- // Call onRequestStart to allow the handler to receive the controller
408
- handler.onRequestStart?.(controller, null)
409
-
410
- if (aborted) {
411
- return true
412
- }
413
-
414
- const requestBody = dispatchRequestBody(opts.body, handler, controller, () => aborted)
415
-
416
- if (isPromise(requestBody)) {
417
- requestBody.then((body) => {
418
- if (body === requestAborted) {
419
- return
420
- }
421
-
422
- if (body !== opts.body) {
423
- replyOpts = { ...opts, body }
424
- }
326
+ aborted = true
425
327
 
426
- sendReply()
427
- }, (error) => controller.abort(error))
428
- return true
429
- }
430
-
431
- if (requestBody === requestAborted) {
432
- return true
433
- }
328
+ // Clear the pending delayed response if any
329
+ if (timer !== null) {
330
+ clearTimeout(timer)
331
+ timer = null
332
+ }
434
333
 
435
- if (requestBody !== opts.body) {
436
- replyOpts = { ...opts, body: requestBody }
334
+ // Notify the handler of the abort
335
+ handler.onError(err)
437
336
  }
438
337
 
439
- sendReply()
338
+ // Call onConnect to allow the handler to register the abort callback
339
+ handler.onConnect?.(abort, null)
440
340
 
441
- function sendReply () {
442
- if (response.callback) {
443
- const { callback, ...responseDefaults } = response
444
- let callbackResult
445
- try {
446
- callbackResult = callback(replyOpts)
447
- } catch (err) {
448
- deleteMockDispatch(mockDispatches, key)
449
- handler.onResponseError(null, err)
450
- return
451
- }
452
-
453
- if (isPromise(callbackResult)) {
454
- callbackResult.then(
455
- (resolvedData) => {
456
- if (resolvedData == null || typeof resolvedData !== 'object') {
457
- handler.onResponseError(null, new InvalidArgumentError('reply options callback must return an object'))
458
- return
459
- }
460
- handleReply(dispatches, { ...responseDefaults, ...resolvedData })
461
- },
462
- (err) => {
463
- handler.onResponseError(null, err)
464
- }
465
- )
466
- return
467
- }
468
-
469
- if (callbackResult == null || typeof callbackResult !== 'object') {
470
- throw new InvalidArgumentError('reply options callback must return an object')
471
- }
472
-
473
- handleReply(dispatches, { ...responseDefaults, ...callbackResult })
474
- return
475
- }
476
-
477
- // Handle the request with a delay if necessary
478
- if (typeof delay === 'number' && delay > 0) {
479
- timer = setTimeout(() => {
480
- timer = null
481
- handleReply(dispatches)
482
- }, delay)
483
- } else {
484
- handleReply(dispatches)
485
- }
341
+ // Handle the request with a delay if necessary
342
+ if (typeof delay === 'number' && delay > 0) {
343
+ timer = setTimeout(() => {
344
+ timer = null
345
+ handleReply(this[kDispatches])
346
+ }, delay)
347
+ } else {
348
+ handleReply(this[kDispatches])
486
349
  }
487
350
 
488
- function handleReply (mockDispatches, _response = response) {
351
+ function handleReply (mockDispatches, _data = data) {
489
352
  // Don't send response if the request was aborted
490
353
  if (aborted) {
491
354
  return
492
355
  }
493
356
 
494
- const { statusCode, data, headers, trailers } = _response
495
-
496
357
  // fetch's HeadersList is a 1D string array
497
358
  const optsHeaders = Array.isArray(opts.headers)
498
359
  ? buildHeadersFromArray(opts.headers)
499
360
  : opts.headers
500
- const body = typeof data === 'function'
501
- ? data({ ...replyOpts, headers: optsHeaders })
502
- : data
361
+ const body = typeof _data === 'function'
362
+ ? _data({ ...opts, headers: optsHeaders })
363
+ : _data
503
364
 
504
365
  // util.types.isPromise is likely needed for jest.
505
366
  if (isPromise(body)) {
@@ -508,7 +369,7 @@ function dispatchMockReply (mockDispatches, mockDispatch, key, opts, handler, re
508
369
  // synchronously throw the error, which breaks some tests.
509
370
  // Rather, we wait for the callback to resolve if it is a
510
371
  // promise, and then re-run handleReply with the new body.
511
- return body.then((newData) => handleReply(mockDispatches, { ..._response, data: newData }))
372
+ return body.then((newData) => handleReply(mockDispatches, newData))
512
373
  }
513
374
 
514
375
  // Check again if aborted after async body resolution
@@ -517,111 +378,18 @@ function dispatchMockReply (mockDispatches, mockDispatch, key, opts, handler, re
517
378
  }
518
379
 
519
380
  const responseData = getResponseData(body)
520
- const responseHeaders = generateKeyValues(headers ?? {})
521
- const responseTrailers = generateKeyValues(trailers ?? {})
522
-
523
- // Update the controller with response data
524
- controller.rawHeaders = responseHeaders
525
- controller.rawTrailers = responseTrailers
381
+ const responseHeaders = generateKeyValues(headers)
382
+ const responseTrailers = generateKeyValues(trailers)
526
383
 
527
- handler.onResponseStart?.(controller, statusCode, parseHeaders(responseHeaders), getStatusText(statusCode))
528
- handler.onResponseData?.(controller, Buffer.from(responseData))
529
- handler.onResponseEnd?.(controller, parseHeaders(responseTrailers))
384
+ handler.onHeaders?.(statusCode, responseHeaders, resume, getStatusText(statusCode))
385
+ handler.onData?.(Buffer.from(responseData))
386
+ handler.onComplete?.(responseTrailers)
530
387
  deleteMockDispatch(mockDispatches, key)
531
388
  }
532
389
 
533
- return true
534
- }
535
-
536
- function dispatchRequestBody (body, handler, controller, isAborted) {
537
- if (typeof handler.onBodySent !== 'function' && typeof handler.onRequestSent !== 'function') {
538
- return body
539
- }
540
-
541
- if (body == null) {
542
- return callOnRequestSent(handler, controller, isAborted) ? body : requestAborted
543
- }
544
-
545
- if (body && typeof body[Symbol.asyncIterator] === 'function') {
546
- return dispatchAsyncIterableBody(body, handler, controller, isAborted)
547
- }
548
-
549
- if (isIterableBody(body)) {
550
- const chunks = []
551
-
552
- for (const chunk of body) {
553
- if (isAborted()) {
554
- return requestAborted
555
- }
556
- chunks.push(chunk)
557
- if (!callOnBodySent(handler, controller, chunk) || isAborted()) {
558
- return requestAborted
559
- }
560
- }
561
-
562
- return callOnRequestSent(handler, controller, isAborted) ? chunks : requestAborted
563
- }
564
-
565
- if (isAborted()) {
566
- return requestAborted
567
- }
568
-
569
- if (!callOnBodySent(handler, controller, body)) {
570
- return requestAborted
571
- }
572
-
573
- return callOnRequestSent(handler, controller, isAborted) ? body : requestAborted
574
- }
575
-
576
- async function dispatchAsyncIterableBody (body, handler, controller, isAborted) {
577
- const chunks = []
578
-
579
- for await (const chunk of body) {
580
- if (isAborted()) {
581
- return requestAborted
582
- }
583
- chunks.push(chunk)
584
- if (!callOnBodySent(handler, controller, chunk) || isAborted()) {
585
- return requestAborted
586
- }
587
- }
588
-
589
- if (!callOnRequestSent(handler, controller, isAborted)) {
590
- return requestAborted
591
- }
592
-
593
- return {
594
- async * [Symbol.asyncIterator] () {
595
- yield * chunks
596
- }
597
- }
598
- }
599
-
600
- function callOnBodySent (handler, controller, chunk) {
601
- try {
602
- handler.onBodySent?.(chunk)
603
- return true
604
- } catch (error) {
605
- controller.abort(error)
606
- return false
607
- }
608
- }
609
-
610
- function callOnRequestSent (handler, controller, isAborted) {
611
- try {
612
- handler.onRequestSent?.()
613
- return !isAborted()
614
- } catch (error) {
615
- controller.abort(error)
616
- return false
617
- }
618
- }
390
+ function resume () {}
619
391
 
620
- function isIterableBody (body) {
621
- return typeof body !== 'string' &&
622
- !Buffer.isBuffer(body) &&
623
- !ArrayBuffer.isView(body) &&
624
- typeof body[Symbol.iterator] === 'function'
392
+ return true
625
393
  }
626
394
 
627
395
  function buildMockDispatch () {
@@ -643,9 +411,7 @@ function buildMockDispatch () {
643
411
  throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)${interceptsMessage}`)
644
412
  }
645
413
  if (checkNetConnect(netConnect, origin)) {
646
- originalDispatch.call(this, '__mockAgentBodyForDispatch' in opts
647
- ? { ...opts, body: opts.__mockAgentBodyForDispatch }
648
- : opts, handler)
414
+ originalDispatch.call(this, opts, handler)
649
415
  } else {
650
416
  throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)${interceptsMessage}`)
651
417
  }
@@ -3,8 +3,8 @@
3
3
  const Agent = require('../dispatcher/agent')
4
4
  const MockAgent = require('./mock-agent')
5
5
  const { SnapshotRecorder } = require('./snapshot-recorder')
6
+ const WrapHandler = require('../handler/wrap-handler')
6
7
  const { InvalidArgumentError, UndiciError } = require('../core/errors')
7
- const util = require('../core/util')
8
8
  const { validateSnapshotMode } = require('./snapshot-utils')
9
9
 
10
10
  const kSnapshotRecorder = Symbol('kSnapshotRecorder')
@@ -55,9 +55,7 @@ class SnapshotAgent extends MockAgent {
55
55
  ignoreHeaders: opts.ignoreHeaders,
56
56
  excludeHeaders: opts.excludeHeaders,
57
57
  matchBody: opts.matchBody,
58
- normalizeBody: opts.normalizeBody,
59
58
  matchQuery: opts.matchQuery,
60
- normalizeQuery: opts.normalizeQuery,
61
59
  caseSensitive: opts.caseSensitive,
62
60
  shouldRecord: opts.shouldRecord,
63
61
  shouldPlayback: opts.shouldPlayback,
@@ -81,6 +79,7 @@ class SnapshotAgent extends MockAgent {
81
79
  }
82
80
 
83
81
  dispatch (opts, handler) {
82
+ handler = WrapHandler.wrap(handler)
84
83
  const mode = this[kSnapshotMode]
85
84
 
86
85
  // Check if URL should be excluded (pass through without mocking/recording)
@@ -108,8 +107,8 @@ class SnapshotAgent extends MockAgent {
108
107
  } else {
109
108
  // Playback mode but no snapshot found
110
109
  const error = new UndiciError(`No snapshot found for ${opts.method || 'GET'} ${opts.path}`)
111
- if (handler.onResponseError) {
112
- handler.onResponseError(null, error)
110
+ if (handler.onError) {
111
+ handler.onError(error)
113
112
  return
114
113
  }
115
114
  throw error
@@ -174,10 +173,6 @@ class SnapshotAgent extends MockAgent {
174
173
  })
175
174
  .then(() => handler.onResponseEnd(controller, trailers))
176
175
  .catch((error) => handler.onResponseError(controller, error))
177
- },
178
-
179
- onResponseError (controller, error) {
180
- return handler.onResponseError(controller, error)
181
176
  }
182
177
  }
183
178
 
@@ -197,12 +192,7 @@ class SnapshotAgent extends MockAgent {
197
192
  try {
198
193
  const { response } = snapshot
199
194
 
200
- const rawHeaders = response.headers ? util.toRawHeaders(response.headers) : []
201
- const rawTrailers = response.trailers ? util.toRawHeaders(response.trailers) : []
202
-
203
195
  const controller = {
204
- rawHeaders,
205
- rawTrailers,
206
196
  pause () { },
207
197
  resume () { },
208
198
  abort (reason) {
@@ -216,7 +206,7 @@ class SnapshotAgent extends MockAgent {
216
206
 
217
207
  handler.onRequestStart(controller)
218
208
 
219
- handler.onResponseStart(controller, response.statusCode, response.headers, response.statusMessage)
209
+ handler.onResponseStart(controller, response.statusCode, response.headers)
220
210
 
221
211
  // Body is always stored as base64 string
222
212
  const body = Buffer.from(response.body, 'base64')
@@ -224,7 +214,7 @@ class SnapshotAgent extends MockAgent {
224
214
 
225
215
  handler.onResponseEnd(controller, response.trailers)
226
216
  } catch (error) {
227
- handler.onResponseError?.(null, error)
217
+ handler.onError?.(error)
228
218
  }
229
219
  }
230
220
 
@@ -354,15 +344,7 @@ class SnapshotAgent extends MockAgent {
354
344
  * @returns {Promise<void>}
355
345
  */
356
346
  async close () {
357
- // In playback mode the recorder must not persist to disk. findSnapshot()
358
- // mutates each matched snapshot's callCount, so saving on close would
359
- // rewrite the snapshot file even though nothing new was recorded. Only
360
- // record/update modes should write snapshots; playback just cleans up.
361
- if (this[kSnapshotMode] === 'playback') {
362
- this[kSnapshotRecorder].destroy()
363
- } else {
364
- await this[kSnapshotRecorder].close()
365
- }
347
+ await this[kSnapshotRecorder].close()
366
348
  await this[kRealAgent]?.close()
367
349
  await super.close()
368
350
  }
@@ -4,7 +4,6 @@ const { writeFile, readFile, mkdir } = require('node:fs/promises')
4
4
  const { dirname, resolve } = require('node:path')
5
5
  const { setTimeout, clearTimeout } = require('node:timers')
6
6
  const { InvalidArgumentError, UndiciError } = require('../core/errors')
7
- const { setHeader } = require('../core/util')
8
7
  const { hashId, isUrlExcludedFactory, normalizeHeaders, createHeaderFilters } = require('./snapshot-utils')
9
8
 
10
9
  /**
@@ -47,9 +46,7 @@ const { hashId, isUrlExcludedFactory, normalizeHeaders, createHeaderFilters } =
47
46
  * @property {Array<string>} [ignoreHeaders=[]] - Headers to ignore for matching
48
47
  * @property {Array<string>} [excludeHeaders=[]] - Headers to exclude from matching
49
48
  * @property {boolean} [matchBody=true] - Whether to match request body
50
- * @property {(body: string|Buffer|null|undefined) => string} [normalizeBody] - Function to normalize the body before matching (e.g. strip timestamps)
51
- * @property {boolean} [matchQuery=true] - Whether to match query parameters
52
- * @property {(query: URLSearchParams) => string} [normalizeQuery] - Function to normalize query parameters before matching (e.g. strip volatile params)
49
+ * @property {boolean} [matchQuery=true] - Whether to match query properties
53
50
  * @property {boolean} [caseSensitive=false] - Whether header matching is case-sensitive
54
51
  */
55
52
 
@@ -82,37 +79,6 @@ const { hashId, isUrlExcludedFactory, normalizeHeaders, createHeaderFilters } =
82
79
  * @property {string} timestamp - ISO timestamp of when the snapshot was created
83
80
  */
84
81
 
85
- /**
86
- * Normalizes the URL string used for request matching.
87
- *
88
- * @param {URL} url - Parsed request URL
89
- * @param {boolean} matchQuery - Whether to include query parameters in matching
90
- * @param {((query: URLSearchParams) => string)|undefined} normalizeQuery - Optional normalization function
91
- * @returns {string} - URL string for hashing
92
- */
93
- function normalizeUrlForMatching (url, matchQuery, normalizeQuery) {
94
- if (matchQuery === false) return `${url.origin}${url.pathname}`
95
- if (normalizeQuery) {
96
- const normalized = String(normalizeQuery(url.searchParams) ?? '')
97
- return normalized ? `${url.origin}${url.pathname}?${normalized}` : `${url.origin}${url.pathname}`
98
- }
99
- return url.toString()
100
- }
101
-
102
- /**
103
- * Normalizes the body value used for request matching.
104
- *
105
- * @param {string|Buffer|null|undefined} body - Raw request body
106
- * @param {boolean} matchBody - Whether to include the body in matching
107
- * @param {((body: string|Buffer|null|undefined) => string)|undefined} normalizeBody - Optional normalization function
108
- * @returns {string} - Body string for hashing
109
- */
110
- function normalizeBodyForMatching (body, matchBody, normalizeBody) {
111
- if (matchBody === false) return ''
112
- if (normalizeBody) return String(normalizeBody(body) ?? '')
113
- return body ? String(body) : ''
114
- }
115
-
116
82
  /**
117
83
  * Formats a request for consistent snapshot storage
118
84
  * Caches normalized headers to avoid repeated processing
@@ -133,9 +99,9 @@ function formatRequestKey (opts, headerFilters, matchOptions = {}) {
133
99
 
134
100
  return {
135
101
  method: opts.method || 'GET',
136
- url: normalizeUrlForMatching(url, matchOptions.matchQuery, matchOptions.normalizeQuery),
102
+ url: matchOptions.matchQuery !== false ? url.toString() : `${url.origin}${url.pathname}`,
137
103
  headers: filterHeadersForMatching(normalized, headerFilters, matchOptions),
138
- body: normalizeBodyForMatching(opts.body, matchOptions.matchBody, matchOptions.normalizeBody)
104
+ body: matchOptions.matchBody !== false && opts.body ? String(opts.body) : ''
139
105
  }
140
106
  }
141
107
 
@@ -170,7 +136,7 @@ function filterHeadersForMatching (headers, headerFilters, matchOptions = {}) {
170
136
  if (!match.has(headerKey)) continue
171
137
  }
172
138
 
173
- setHeader(filtered, headerKey, value)
139
+ filtered[headerKey] = value
174
140
  }
175
141
 
176
142
  return filtered
@@ -199,7 +165,7 @@ function filterHeadersForStorage (headers, headerFilters, matchOptions = {}) {
199
165
  // Skip if in exclude list (for security)
200
166
  if (excludeSet.has(headerKey)) continue
201
167
 
202
- setHeader(filtered, headerKey, value)
168
+ filtered[headerKey] = value
203
169
  }
204
170
 
205
171
  return filtered
@@ -284,9 +250,7 @@ class SnapshotRecorder {
284
250
  ignoreHeaders: options.ignoreHeaders || [],
285
251
  excludeHeaders: options.excludeHeaders || [],
286
252
  matchBody: options.matchBody !== false, // default: true
287
- normalizeBody: options.normalizeBody || undefined,
288
253
  matchQuery: options.matchQuery !== false, // default: true
289
- normalizeQuery: options.normalizeQuery || undefined,
290
254
  caseSensitive: options.caseSensitive || false
291
255
  }
292
256
 
@@ -1,7 +1,6 @@
1
1
  'use strict'
2
2
 
3
3
  const { InvalidArgumentError } = require('../core/errors')
4
- const { setHeader } = require('../core/util')
5
4
  const { runtimeFeatures } = require('../util/runtime-features.js')
6
5
 
7
6
  /**
@@ -117,7 +116,7 @@ function normalizeHeaders (headers) {
117
116
  // Convert Buffers to strings if needed
118
117
  const keyStr = Buffer.isBuffer(key) ? key.toString() : key
119
118
  const valueStr = Buffer.isBuffer(value) ? value.toString() : value
120
- setHeader(normalizedHeaders, keyStr.toLowerCase(), valueStr)
119
+ normalizedHeaders[keyStr.toLowerCase()] = valueStr
121
120
  }
122
121
  }
123
122
  return normalizedHeaders
@@ -127,7 +126,7 @@ function normalizeHeaders (headers) {
127
126
  if (headers && typeof headers === 'object') {
128
127
  for (const [key, value] of Object.entries(headers)) {
129
128
  if (key && typeof key === 'string') {
130
- setHeader(normalizedHeaders, key.toLowerCase(), Array.isArray(value) ? value.join(', ') : String(value))
129
+ normalizedHeaders[key.toLowerCase()] = Array.isArray(value) ? value.join(', ') : String(value)
131
130
  }
132
131
  }
133
132
  }