@rabbi696/ezrouter 0.6.9 → 0.6.11

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 (1233) hide show
  1. package/app/.next-cli-build/BUILD_ID +1 -1
  2. package/app/.next-cli-build/app-path-routes-manifest.json +4 -3
  3. package/app/.next-cli-build/build-manifest.json +2 -2
  4. package/app/.next-cli-build/routes-manifest.json +6 -0
  5. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js +2 -2
  6. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page.js.nft.json +1 -1
  7. package/app/.next-cli-build/server/app/(dashboard)/dashboard/basic-chat/page_client-reference-manifest.js +1 -1
  8. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js +3 -3
  9. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page.js.nft.json +1 -1
  10. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/[toolId]/page_client-reference-manifest.js +1 -1
  11. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js +2 -2
  12. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page.js.nft.json +1 -1
  13. package/app/.next-cli-build/server/app/(dashboard)/dashboard/cli-tools/page_client-reference-manifest.js +1 -1
  14. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js +2 -2
  15. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page.js.nft.json +1 -1
  16. package/app/.next-cli-build/server/app/(dashboard)/dashboard/combos/page_client-reference-manifest.js +1 -1
  17. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js +2 -2
  18. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page.js.nft.json +1 -1
  19. package/app/.next-cli-build/server/app/(dashboard)/dashboard/console-log/page_client-reference-manifest.js +1 -1
  20. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js +2 -2
  21. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page.js.nft.json +1 -1
  22. package/app/.next-cli-build/server/app/(dashboard)/dashboard/convoy/page_client-reference-manifest.js +1 -1
  23. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js +2 -2
  24. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page.js.nft.json +1 -1
  25. package/app/.next-cli-build/server/app/(dashboard)/dashboard/endpoint/page_client-reference-manifest.js +1 -1
  26. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js +2 -2
  27. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page.js.nft.json +1 -1
  28. package/app/.next-cli-build/server/app/(dashboard)/dashboard/error-log/page_client-reference-manifest.js +1 -1
  29. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js +2 -2
  30. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page.js.nft.json +1 -1
  31. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/keys/page_client-reference-manifest.js +1 -1
  32. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js +2 -2
  33. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page.js.nft.json +1 -1
  34. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/page_client-reference-manifest.js +1 -1
  35. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js +2 -2
  36. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page.js.nft.json +1 -1
  37. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mcp-gateway/servers/page_client-reference-manifest.js +1 -1
  38. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js +3 -3
  39. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page.js.nft.json +1 -1
  40. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/[id]/page_client-reference-manifest.js +1 -1
  41. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js +2 -2
  42. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page.js.nft.json +1 -1
  43. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/[kind]/page_client-reference-manifest.js +1 -1
  44. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js +3 -3
  45. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page.js.nft.json +1 -1
  46. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/combo/[id]/page_client-reference-manifest.js +1 -1
  47. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js +2 -2
  48. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page.js.nft.json +1 -1
  49. package/app/.next-cli-build/server/app/(dashboard)/dashboard/media-providers/web/page_client-reference-manifest.js +1 -1
  50. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js +2 -2
  51. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page.js.nft.json +1 -1
  52. package/app/.next-cli-build/server/app/(dashboard)/dashboard/mitm/page_client-reference-manifest.js +1 -1
  53. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js +2 -2
  54. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page.js.nft.json +1 -1
  55. package/app/.next-cli-build/server/app/(dashboard)/dashboard/page_client-reference-manifest.js +1 -1
  56. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js +2 -2
  57. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page.js.nft.json +1 -1
  58. package/app/.next-cli-build/server/app/(dashboard)/dashboard/profile/page_client-reference-manifest.js +1 -1
  59. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js +6 -6
  60. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page.js.nft.json +1 -1
  61. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/[id]/page_client-reference-manifest.js +1 -1
  62. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js +2 -2
  63. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page.js.nft.json +1 -1
  64. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/new/page_client-reference-manifest.js +1 -1
  65. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js +2 -2
  66. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page.js.nft.json +1 -1
  67. package/app/.next-cli-build/server/app/(dashboard)/dashboard/providers/page_client-reference-manifest.js +1 -1
  68. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js +3 -3
  69. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page.js.nft.json +1 -1
  70. package/app/.next-cli-build/server/app/(dashboard)/dashboard/proxy-pools/page_client-reference-manifest.js +1 -1
  71. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js +2 -2
  72. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page.js.nft.json +1 -1
  73. package/app/.next-cli-build/server/app/(dashboard)/dashboard/pxpipe/page_client-reference-manifest.js +1 -1
  74. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js +2 -2
  75. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page.js.nft.json +1 -1
  76. package/app/.next-cli-build/server/app/(dashboard)/dashboard/quota/page_client-reference-manifest.js +1 -1
  77. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js +2 -2
  78. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page.js.nft.json +1 -1
  79. package/app/.next-cli-build/server/app/(dashboard)/dashboard/routing-health/page_client-reference-manifest.js +1 -1
  80. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js +2 -2
  81. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page.js.nft.json +1 -1
  82. package/app/.next-cli-build/server/app/(dashboard)/dashboard/skills/page_client-reference-manifest.js +1 -1
  83. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js +2 -2
  84. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page.js.nft.json +1 -1
  85. package/app/.next-cli-build/server/app/(dashboard)/dashboard/token-saver/page_client-reference-manifest.js +1 -1
  86. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js +2 -2
  87. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page.js.nft.json +1 -1
  88. package/app/.next-cli-build/server/app/(dashboard)/dashboard/translator/page_client-reference-manifest.js +1 -1
  89. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js +2 -2
  90. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page.js.nft.json +1 -1
  91. package/app/.next-cli-build/server/app/(dashboard)/dashboard/usage/page_client-reference-manifest.js +1 -1
  92. package/app/.next-cli-build/server/app/_global-error/page.js +3 -3
  93. package/app/.next-cli-build/server/app/_global-error/page.js.nft.json +1 -1
  94. package/app/.next-cli-build/server/app/_global-error/page_client-reference-manifest.js +1 -1
  95. package/app/.next-cli-build/server/app/_global-error.html +1 -1
  96. package/app/.next-cli-build/server/app/_global-error.rsc +1 -1
  97. package/app/.next-cli-build/server/app/_global-error.segments/_full.segment.rsc +1 -1
  98. package/app/.next-cli-build/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  99. package/app/.next-cli-build/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  100. package/app/.next-cli-build/server/app/_global-error.segments/_head.segment.rsc +1 -1
  101. package/app/.next-cli-build/server/app/_global-error.segments/_index.segment.rsc +1 -1
  102. package/app/.next-cli-build/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  103. package/app/.next-cli-build/server/app/_not-found/page.js +2 -2
  104. package/app/.next-cli-build/server/app/_not-found/page.js.nft.json +1 -1
  105. package/app/.next-cli-build/server/app/_not-found/page_client-reference-manifest.js +1 -1
  106. package/app/.next-cli-build/server/app/_not-found.html +1 -1
  107. package/app/.next-cli-build/server/app/_not-found.rsc +4 -4
  108. package/app/.next-cli-build/server/app/_not-found.segments/_full.segment.rsc +4 -4
  109. package/app/.next-cli-build/server/app/_not-found.segments/_head.segment.rsc +1 -1
  110. package/app/.next-cli-build/server/app/_not-found.segments/_index.segment.rsc +4 -4
  111. package/app/.next-cli-build/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  112. package/app/.next-cli-build/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  113. package/app/.next-cli-build/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  114. package/app/.next-cli-build/server/app/api/auth/login/route.js +2 -2
  115. package/app/.next-cli-build/server/app/api/auth/login/route.js.nft.json +1 -1
  116. package/app/.next-cli-build/server/app/api/auth/logout/route.js +1 -1
  117. package/app/.next-cli-build/server/app/api/auth/logout/route.js.nft.json +1 -1
  118. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js +1 -1
  119. package/app/.next-cli-build/server/app/api/auth/oidc/callback/route.js.nft.json +1 -1
  120. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js +1 -1
  121. package/app/.next-cli-build/server/app/api/auth/oidc/start/route.js.nft.json +1 -1
  122. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js +1 -1
  123. package/app/.next-cli-build/server/app/api/auth/oidc/test/route.js.nft.json +1 -1
  124. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js +1 -1
  125. package/app/.next-cli-build/server/app/api/auth/reset-password/route.js.nft.json +1 -1
  126. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js +1 -1
  127. package/app/.next-cli-build/server/app/api/auth/saml/acs/route.js.nft.json +1 -1
  128. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js +1 -1
  129. package/app/.next-cli-build/server/app/api/auth/saml/metadata/route.js.nft.json +1 -1
  130. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js +1 -1
  131. package/app/.next-cli-build/server/app/api/auth/saml/start/route.js.nft.json +1 -1
  132. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js +1 -1
  133. package/app/.next-cli-build/server/app/api/auth/saml/test/route.js.nft.json +1 -1
  134. package/app/.next-cli-build/server/app/api/auth/status/route.js +1 -1
  135. package/app/.next-cli-build/server/app/api/auth/status/route.js.nft.json +1 -1
  136. package/app/.next-cli-build/server/app/api/changelog/route.js +1 -1
  137. package/app/.next-cli-build/server/app/api/changelog/route.js.nft.json +1 -1
  138. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js +1 -1
  139. package/app/.next-cli-build/server/app/api/cli/providers/codex/route.js.nft.json +1 -1
  140. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js +2 -2
  141. package/app/.next-cli-build/server/app/api/cli-tools/all-statuses/route.js.nft.json +1 -1
  142. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js +1 -1
  143. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/alias/route.js.nft.json +1 -1
  144. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js +1 -1
  145. package/app/.next-cli-build/server/app/api/cli-tools/antigravity-mitm/route.js.nft.json +1 -1
  146. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js +2 -2
  147. package/app/.next-cli-build/server/app/api/cli-tools/claude-settings/route.js.nft.json +1 -1
  148. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js +2 -2
  149. package/app/.next-cli-build/server/app/api/cli-tools/cline-settings/route.js.nft.json +1 -1
  150. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js +1 -1
  151. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/models/route.js.nft.json +1 -1
  152. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js +1 -1
  153. package/app/.next-cli-build/server/app/api/cli-tools/codex-native/readiness/route.js.nft.json +1 -1
  154. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js +1 -1
  155. package/app/.next-cli-build/server/app/api/cli-tools/codex-settings/route.js.nft.json +1 -1
  156. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js +2 -2
  157. package/app/.next-cli-build/server/app/api/cli-tools/copilot-settings/route.js.nft.json +1 -1
  158. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js +2 -2
  159. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-registry/route.js.nft.json +1 -1
  160. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js +1 -1
  161. package/app/.next-cli-build/server/app/api/cli-tools/cowork-mcp-tools/route.js.nft.json +1 -1
  162. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js +1 -1
  163. package/app/.next-cli-build/server/app/api/cli-tools/cowork-settings/route.js.nft.json +1 -1
  164. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js +2 -2
  165. package/app/.next-cli-build/server/app/api/cli-tools/deepseek-tui-settings/route.js.nft.json +1 -1
  166. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js +1 -1
  167. package/app/.next-cli-build/server/app/api/cli-tools/devin-settings/route.js.nft.json +1 -1
  168. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js +2 -2
  169. package/app/.next-cli-build/server/app/api/cli-tools/droid-settings/route.js.nft.json +1 -1
  170. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js +2 -2
  171. package/app/.next-cli-build/server/app/api/cli-tools/grok-build-settings/route.js.nft.json +1 -1
  172. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js +1 -1
  173. package/app/.next-cli-build/server/app/api/cli-tools/hermes-settings/route.js.nft.json +1 -1
  174. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js +3 -3
  175. package/app/.next-cli-build/server/app/api/cli-tools/jcode-settings/route.js.nft.json +1 -1
  176. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js +1 -1
  177. package/app/.next-cli-build/server/app/api/cli-tools/kilo-settings/route.js.nft.json +1 -1
  178. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js +2 -2
  179. package/app/.next-cli-build/server/app/api/cli-tools/openclaw-settings/route.js.nft.json +1 -1
  180. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js +2 -2
  181. package/app/.next-cli-build/server/app/api/cli-tools/opencode-settings/route.js.nft.json +1 -1
  182. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js +1 -1
  183. package/app/.next-cli-build/server/app/api/cli-tools/pi-settings/route.js.nft.json +1 -1
  184. package/app/.next-cli-build/server/app/api/combos/[id]/route.js +1 -1
  185. package/app/.next-cli-build/server/app/api/combos/[id]/route.js.nft.json +1 -1
  186. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js +1 -1
  187. package/app/.next-cli-build/server/app/api/combos/[id]/test/route.js.nft.json +1 -1
  188. package/app/.next-cli-build/server/app/api/combos/export/route.js +1 -1
  189. package/app/.next-cli-build/server/app/api/combos/export/route.js.nft.json +1 -1
  190. package/app/.next-cli-build/server/app/api/combos/import/route.js +1 -1
  191. package/app/.next-cli-build/server/app/api/combos/import/route.js.nft.json +1 -1
  192. package/app/.next-cli-build/server/app/api/combos/route.js +1 -1
  193. package/app/.next-cli-build/server/app/api/combos/route.js.nft.json +1 -1
  194. package/app/.next-cli-build/server/app/api/combos/test/route.js +1 -1
  195. package/app/.next-cli-build/server/app/api/combos/test/route.js.nft.json +1 -1
  196. package/app/.next-cli-build/server/app/api/convoy/rules/route.js +2 -2
  197. package/app/.next-cli-build/server/app/api/convoy/rules/route.js.nft.json +1 -1
  198. package/app/.next-cli-build/server/app/api/headroom/extras/route.js +1 -1
  199. package/app/.next-cli-build/server/app/api/headroom/extras/route.js.nft.json +1 -1
  200. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js +1 -1
  201. package/app/.next-cli-build/server/app/api/headroom/proxy/[...path]/route.js.nft.json +1 -1
  202. package/app/.next-cli-build/server/app/api/headroom/restart/route.js +1 -1
  203. package/app/.next-cli-build/server/app/api/headroom/restart/route.js.nft.json +1 -1
  204. package/app/.next-cli-build/server/app/api/headroom/start/route.js +1 -1
  205. package/app/.next-cli-build/server/app/api/headroom/start/route.js.nft.json +1 -1
  206. package/app/.next-cli-build/server/app/api/headroom/status/route.js +1 -1
  207. package/app/.next-cli-build/server/app/api/headroom/status/route.js.nft.json +1 -1
  208. package/app/.next-cli-build/server/app/api/headroom/stop/route.js +1 -1
  209. package/app/.next-cli-build/server/app/api/headroom/stop/route.js.nft.json +1 -1
  210. package/app/.next-cli-build/server/app/api/health/route.js +1 -1
  211. package/app/.next-cli-build/server/app/api/health/route.js.nft.json +1 -1
  212. package/app/.next-cli-build/server/app/api/init/route.js +1 -1
  213. package/app/.next-cli-build/server/app/api/init/route.js.nft.json +1 -1
  214. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js +1 -1
  215. package/app/.next-cli-build/server/app/api/internal/codex-native/lease/[action]/route.js.nft.json +1 -1
  216. package/app/.next-cli-build/server/app/api/keys/[id]/route.js +1 -1
  217. package/app/.next-cli-build/server/app/api/keys/[id]/route.js.nft.json +1 -1
  218. package/app/.next-cli-build/server/app/api/keys/route.js +1 -1
  219. package/app/.next-cli-build/server/app/api/keys/route.js.nft.json +1 -1
  220. package/app/.next-cli-build/server/app/api/locale/route.js +1 -1
  221. package/app/.next-cli-build/server/app/api/locale/route.js.nft.json +1 -1
  222. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js +1 -1
  223. package/app/.next-cli-build/server/app/api/mcp/[plugin]/message/route.js.nft.json +1 -1
  224. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js +2 -2
  225. package/app/.next-cli-build/server/app/api/mcp/[plugin]/sse/route.js.nft.json +1 -1
  226. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js +1 -1
  227. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/route.js.nft.json +1 -1
  228. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js +1 -1
  229. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/[id]/test/route.js.nft.json +1 -1
  230. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js +1 -1
  231. package/app/.next-cli-build/server/app/api/mcp-gateway/instances/route.js.nft.json +1 -1
  232. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js +1 -1
  233. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/[id]/route.js.nft.json +1 -1
  234. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js +1 -1
  235. package/app/.next-cli-build/server/app/api/mcp-gateway/keys/route.js.nft.json +1 -1
  236. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js +2 -2
  237. package/app/.next-cli-build/server/app/api/mcp-gateway/message/route.js.nft.json +1 -1
  238. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js +2 -2
  239. package/app/.next-cli-build/server/app/api/mcp-gateway/oauth/[id]/[action]/route.js.nft.json +1 -1
  240. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js +1 -1
  241. package/app/.next-cli-build/server/app/api/mcp-gateway/route.js.nft.json +1 -1
  242. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js +2 -2
  243. package/app/.next-cli-build/server/app/api/mcp-gateway/sse/route.js.nft.json +1 -1
  244. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js +1 -1
  245. package/app/.next-cli-build/server/app/api/media-providers/tts/deepgram/voices/route.js.nft.json +1 -1
  246. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js +1 -1
  247. package/app/.next-cli-build/server/app/api/media-providers/tts/elevenlabs/voices/route.js.nft.json +1 -1
  248. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js +1 -1
  249. package/app/.next-cli-build/server/app/api/media-providers/tts/inworld/voices/route.js.nft.json +1 -1
  250. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js +1 -1
  251. package/app/.next-cli-build/server/app/api/media-providers/tts/minimax/voices/route.js.nft.json +1 -1
  252. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js +1 -1
  253. package/app/.next-cli-build/server/app/api/media-providers/tts/voices/route.js.nft.json +1 -1
  254. package/app/.next-cli-build/server/app/api/models/alias/route.js +1 -1
  255. package/app/.next-cli-build/server/app/api/models/alias/route.js.nft.json +1 -1
  256. package/app/.next-cli-build/server/app/api/models/availability/route.js +1 -1
  257. package/app/.next-cli-build/server/app/api/models/availability/route.js.nft.json +1 -1
  258. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js +1 -1
  259. package/app/.next-cli-build/server/app/api/models/catalog-sync/route.js.nft.json +1 -1
  260. package/app/.next-cli-build/server/app/api/models/custom/route.js +1 -1
  261. package/app/.next-cli-build/server/app/api/models/custom/route.js.nft.json +1 -1
  262. package/app/.next-cli-build/server/app/api/models/disabled/route.js +1 -1
  263. package/app/.next-cli-build/server/app/api/models/disabled/route.js.nft.json +1 -1
  264. package/app/.next-cli-build/server/app/api/models/enabled/route.js +1 -0
  265. package/app/.next-cli-build/server/app/api/models/enabled/route.js.nft.json +1 -0
  266. package/app/.next-cli-build/server/app/api/models/enabled/route_client-reference-manifest.js +1 -0
  267. package/app/.next-cli-build/server/app/api/models/route.js +1 -1
  268. package/app/.next-cli-build/server/app/api/models/route.js.nft.json +1 -1
  269. package/app/.next-cli-build/server/app/api/models/test/route.js +1 -1
  270. package/app/.next-cli-build/server/app/api/models/test/route.js.nft.json +1 -1
  271. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js +1 -1
  272. package/app/.next-cli-build/server/app/api/oauth/[provider]/[action]/route.js.nft.json +1 -1
  273. package/app/.next-cli-build/server/app/api/oauth/callback/route.js +1 -1
  274. package/app/.next-cli-build/server/app/api/oauth/callback/route.js.nft.json +1 -1
  275. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js +1 -1
  276. package/app/.next-cli-build/server/app/api/oauth/codex/bulk-import/route.js.nft.json +1 -1
  277. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js +1 -1
  278. package/app/.next-cli-build/server/app/api/oauth/codex/import-token/route.js.nft.json +1 -1
  279. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js +2 -2
  280. package/app/.next-cli-build/server/app/api/oauth/cursor/auto-import/route.js.nft.json +1 -1
  281. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js +1 -1
  282. package/app/.next-cli-build/server/app/api/oauth/cursor/import/route.js.nft.json +1 -1
  283. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js +1 -1
  284. package/app/.next-cli-build/server/app/api/oauth/gitlab/pat/route.js.nft.json +1 -1
  285. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js +1 -1
  286. package/app/.next-cli-build/server/app/api/oauth/grok-cli/bulk-import/route.js.nft.json +1 -1
  287. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js +1 -1
  288. package/app/.next-cli-build/server/app/api/oauth/iflow/cookie/route.js.nft.json +1 -1
  289. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js +1 -1
  290. package/app/.next-cli-build/server/app/api/oauth/kiro/api-key/route.js.nft.json +1 -1
  291. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js +1 -1
  292. package/app/.next-cli-build/server/app/api/oauth/kiro/auto-import/route.js.nft.json +1 -1
  293. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js +1 -1
  294. package/app/.next-cli-build/server/app/api/oauth/kiro/import/route.js.nft.json +1 -1
  295. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js +1 -1
  296. package/app/.next-cli-build/server/app/api/oauth/kiro/import-cli-proxy/route.js.nft.json +1 -1
  297. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js +1 -1
  298. package/app/.next-cli-build/server/app/api/oauth/kiro/social-authorize/route.js.nft.json +1 -1
  299. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js +1 -1
  300. package/app/.next-cli-build/server/app/api/oauth/kiro/social-exchange/route.js.nft.json +1 -1
  301. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js +1 -1
  302. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/api-key/route.js.nft.json +1 -1
  303. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js +2 -2
  304. package/app/.next-cli-build/server/app/api/oauth/xiaomi-mimo/auto-import/route.js.nft.json +1 -1
  305. package/app/.next-cli-build/server/app/api/pricing/route.js +1 -1
  306. package/app/.next-cli-build/server/app/api/pricing/route.js.nft.json +1 -1
  307. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js +1 -1
  308. package/app/.next-cli-build/server/app/api/provider-nodes/[id]/route.js.nft.json +1 -1
  309. package/app/.next-cli-build/server/app/api/provider-nodes/route.js +1 -1
  310. package/app/.next-cli-build/server/app/api/provider-nodes/route.js.nft.json +1 -1
  311. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js +1 -1
  312. package/app/.next-cli-build/server/app/api/provider-nodes/validate/route.js.nft.json +1 -1
  313. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js +1 -1
  314. package/app/.next-cli-build/server/app/api/providers/[id]/models/route.js.nft.json +1 -1
  315. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js +1 -1
  316. package/app/.next-cli-build/server/app/api/providers/[id]/refresh-profile/route.js.nft.json +1 -1
  317. package/app/.next-cli-build/server/app/api/providers/[id]/route.js +1 -1
  318. package/app/.next-cli-build/server/app/api/providers/[id]/route.js.nft.json +1 -1
  319. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js +1 -1
  320. package/app/.next-cli-build/server/app/api/providers/[id]/test/route.js.nft.json +1 -1
  321. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js +1 -1
  322. package/app/.next-cli-build/server/app/api/providers/[id]/test-models/route.js.nft.json +1 -1
  323. package/app/.next-cli-build/server/app/api/providers/client/route.js +1 -1
  324. package/app/.next-cli-build/server/app/api/providers/client/route.js.nft.json +1 -1
  325. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js +1 -1
  326. package/app/.next-cli-build/server/app/api/providers/kilo/free-models/route.js.nft.json +1 -1
  327. package/app/.next-cli-build/server/app/api/providers/route.js +1 -1
  328. package/app/.next-cli-build/server/app/api/providers/route.js.nft.json +1 -1
  329. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js +1 -1
  330. package/app/.next-cli-build/server/app/api/providers/suggested-models/route.js.nft.json +1 -1
  331. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js +1 -1
  332. package/app/.next-cli-build/server/app/api/providers/test-batch/route.js.nft.json +1 -1
  333. package/app/.next-cli-build/server/app/api/providers/validate/route.js +1 -1
  334. package/app/.next-cli-build/server/app/api/providers/validate/route.js.nft.json +1 -1
  335. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js +1 -1
  336. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/route.js.nft.json +1 -1
  337. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js +1 -1
  338. package/app/.next-cli-build/server/app/api/proxy-pools/[id]/test/route.js.nft.json +1 -1
  339. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js +14 -14
  340. package/app/.next-cli-build/server/app/api/proxy-pools/cloudflare-deploy/route.js.nft.json +1 -1
  341. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js +14 -14
  342. package/app/.next-cli-build/server/app/api/proxy-pools/deno-deploy/route.js.nft.json +1 -1
  343. package/app/.next-cli-build/server/app/api/proxy-pools/route.js +1 -1
  344. package/app/.next-cli-build/server/app/api/proxy-pools/route.js.nft.json +1 -1
  345. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js +3 -3
  346. package/app/.next-cli-build/server/app/api/proxy-pools/vercel-deploy/route.js.nft.json +1 -1
  347. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js +2 -2
  348. package/app/.next-cli-build/server/app/api/pxpipe/health/route.js.nft.json +1 -1
  349. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js +2 -2
  350. package/app/.next-cli-build/server/app/api/pxpipe/install/route.js.nft.json +1 -1
  351. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js +2 -2
  352. package/app/.next-cli-build/server/app/api/pxpipe/logs/route.js.nft.json +1 -1
  353. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js +2 -2
  354. package/app/.next-cli-build/server/app/api/pxpipe/restart/route.js.nft.json +1 -1
  355. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js +2 -2
  356. package/app/.next-cli-build/server/app/api/pxpipe/start/route.js.nft.json +1 -1
  357. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js +2 -2
  358. package/app/.next-cli-build/server/app/api/pxpipe/stats/route.js.nft.json +1 -1
  359. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js +2 -2
  360. package/app/.next-cli-build/server/app/api/pxpipe/status/route.js.nft.json +1 -1
  361. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js +2 -2
  362. package/app/.next-cli-build/server/app/api/pxpipe/stop/route.js.nft.json +1 -1
  363. package/app/.next-cli-build/server/app/api/routing-health/route.js +1 -1
  364. package/app/.next-cli-build/server/app/api/routing-health/route.js.nft.json +1 -1
  365. package/app/.next-cli-build/server/app/api/settings/database/route.js +1 -1
  366. package/app/.next-cli-build/server/app/api/settings/database/route.js.nft.json +1 -1
  367. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js +1 -1
  368. package/app/.next-cli-build/server/app/api/settings/proxy-test/route.js.nft.json +1 -1
  369. package/app/.next-cli-build/server/app/api/settings/require-login/route.js +1 -1
  370. package/app/.next-cli-build/server/app/api/settings/require-login/route.js.nft.json +1 -1
  371. package/app/.next-cli-build/server/app/api/settings/route.js +1 -1
  372. package/app/.next-cli-build/server/app/api/settings/route.js.nft.json +1 -1
  373. package/app/.next-cli-build/server/app/api/shutdown/route.js +1 -1
  374. package/app/.next-cli-build/server/app/api/shutdown/route.js.nft.json +1 -1
  375. package/app/.next-cli-build/server/app/api/tags/route.js +1 -1
  376. package/app/.next-cli-build/server/app/api/tags/route.js.nft.json +1 -1
  377. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js +1 -1
  378. package/app/.next-cli-build/server/app/api/token-saver/stats/route.js.nft.json +1 -1
  379. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js +2 -2
  380. package/app/.next-cli-build/server/app/api/token-saver/stream/route.js.nft.json +1 -1
  381. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js +1 -1
  382. package/app/.next-cli-build/server/app/api/tool-disclosure/stats/route.js.nft.json +1 -1
  383. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js +1 -1
  384. package/app/.next-cli-build/server/app/api/translator/console-logs/route.js.nft.json +1 -1
  385. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js +2 -2
  386. package/app/.next-cli-build/server/app/api/translator/console-logs/stream/route.js.nft.json +1 -1
  387. package/app/.next-cli-build/server/app/api/translator/load/route.js +1 -1
  388. package/app/.next-cli-build/server/app/api/translator/load/route.js.nft.json +1 -1
  389. package/app/.next-cli-build/server/app/api/translator/save/route.js +1 -1
  390. package/app/.next-cli-build/server/app/api/translator/save/route.js.nft.json +1 -1
  391. package/app/.next-cli-build/server/app/api/translator/send/route.js +1 -1
  392. package/app/.next-cli-build/server/app/api/translator/send/route.js.nft.json +1 -1
  393. package/app/.next-cli-build/server/app/api/translator/translate/route.js +1 -1
  394. package/app/.next-cli-build/server/app/api/translator/translate/route.js.nft.json +1 -1
  395. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js +1 -1
  396. package/app/.next-cli-build/server/app/api/tunnel/disable/route.js.nft.json +1 -1
  397. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js +1 -1
  398. package/app/.next-cli-build/server/app/api/tunnel/enable/route.js.nft.json +1 -1
  399. package/app/.next-cli-build/server/app/api/tunnel/status/route.js +1 -1
  400. package/app/.next-cli-build/server/app/api/tunnel/status/route.js.nft.json +1 -1
  401. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js +1 -1
  402. package/app/.next-cli-build/server/app/api/tunnel/tailscale-check/route.js.nft.json +1 -1
  403. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js +1 -1
  404. package/app/.next-cli-build/server/app/api/tunnel/tailscale-disable/route.js.nft.json +1 -1
  405. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js +1 -1
  406. package/app/.next-cli-build/server/app/api/tunnel/tailscale-enable/route.js.nft.json +1 -1
  407. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js +2 -2
  408. package/app/.next-cli-build/server/app/api/tunnel/tailscale-install/route.js.nft.json +1 -1
  409. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js +1 -1
  410. package/app/.next-cli-build/server/app/api/usage/[connectionId]/codex-reset-credits/route.js.nft.json +1 -1
  411. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js +1 -1
  412. package/app/.next-cli-build/server/app/api/usage/[connectionId]/route.js.nft.json +1 -1
  413. package/app/.next-cli-build/server/app/api/usage/chart/route.js +1 -1
  414. package/app/.next-cli-build/server/app/api/usage/chart/route.js.nft.json +1 -1
  415. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js +2 -2
  416. package/app/.next-cli-build/server/app/api/usage/error-logs/route.js.nft.json +1 -1
  417. package/app/.next-cli-build/server/app/api/usage/history/route.js +1 -1
  418. package/app/.next-cli-build/server/app/api/usage/history/route.js.nft.json +1 -1
  419. package/app/.next-cli-build/server/app/api/usage/logs/route.js +1 -1
  420. package/app/.next-cli-build/server/app/api/usage/logs/route.js.nft.json +1 -1
  421. package/app/.next-cli-build/server/app/api/usage/providers/route.js +1 -1
  422. package/app/.next-cli-build/server/app/api/usage/providers/route.js.nft.json +1 -1
  423. package/app/.next-cli-build/server/app/api/usage/request-details/route.js +1 -1
  424. package/app/.next-cli-build/server/app/api/usage/request-details/route.js.nft.json +1 -1
  425. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js +1 -1
  426. package/app/.next-cli-build/server/app/api/usage/request-logs/route.js.nft.json +1 -1
  427. package/app/.next-cli-build/server/app/api/usage/stats/route.js +1 -1
  428. package/app/.next-cli-build/server/app/api/usage/stats/route.js.nft.json +1 -1
  429. package/app/.next-cli-build/server/app/api/usage/stream/route.js +2 -2
  430. package/app/.next-cli-build/server/app/api/usage/stream/route.js.nft.json +1 -1
  431. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js +1 -1
  432. package/app/.next-cli-build/server/app/api/v1/alpha/search/route.js.nft.json +1 -1
  433. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js +1 -1
  434. package/app/.next-cli-build/server/app/api/v1/api/chat/route.js.nft.json +1 -1
  435. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js +1 -1
  436. package/app/.next-cli-build/server/app/api/v1/audio/speech/route.js.nft.json +1 -1
  437. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js +1 -1
  438. package/app/.next-cli-build/server/app/api/v1/audio/transcriptions/route.js.nft.json +1 -1
  439. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js +1 -1
  440. package/app/.next-cli-build/server/app/api/v1/audio/voices/route.js.nft.json +1 -1
  441. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js +1 -1
  442. package/app/.next-cli-build/server/app/api/v1/chat/completions/route.js.nft.json +1 -1
  443. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js +1 -1
  444. package/app/.next-cli-build/server/app/api/v1/codex/alpha/search/route.js.nft.json +1 -1
  445. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js +1 -1
  446. package/app/.next-cli-build/server/app/api/v1/codex/images/edits/route.js.nft.json +1 -1
  447. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js +1 -1
  448. package/app/.next-cli-build/server/app/api/v1/codex/images/generations/route.js.nft.json +1 -1
  449. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js +1 -1
  450. package/app/.next-cli-build/server/app/api/v1/codex/memories/trace_summarize/route.js.nft.json +1 -1
  451. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js +1 -1
  452. package/app/.next-cli-build/server/app/api/v1/codex/models/route.js.nft.json +1 -1
  453. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js +1 -1
  454. package/app/.next-cli-build/server/app/api/v1/codex/responses/compact/route.js.nft.json +1 -1
  455. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js +1 -1
  456. package/app/.next-cli-build/server/app/api/v1/codex/responses/route.js.nft.json +1 -1
  457. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js +1 -1
  458. package/app/.next-cli-build/server/app/api/v1/embeddings/route.js.nft.json +1 -1
  459. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js +2 -2
  460. package/app/.next-cli-build/server/app/api/v1/images/generations/route.js.nft.json +1 -1
  461. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js +1 -1
  462. package/app/.next-cli-build/server/app/api/v1/messages/count_tokens/route.js.nft.json +1 -1
  463. package/app/.next-cli-build/server/app/api/v1/messages/route.js +1 -1
  464. package/app/.next-cli-build/server/app/api/v1/messages/route.js.nft.json +1 -1
  465. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js +1 -1
  466. package/app/.next-cli-build/server/app/api/v1/models/[...model]/route.js.nft.json +1 -1
  467. package/app/.next-cli-build/server/app/api/v1/models/info/route.js +1 -1
  468. package/app/.next-cli-build/server/app/api/v1/models/info/route.js.nft.json +1 -1
  469. package/app/.next-cli-build/server/app/api/v1/models/route.js +1 -1
  470. package/app/.next-cli-build/server/app/api/v1/models/route.js.nft.json +1 -1
  471. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js +1 -1
  472. package/app/.next-cli-build/server/app/api/v1/responses/compact/route.js.nft.json +1 -1
  473. package/app/.next-cli-build/server/app/api/v1/responses/route.js +1 -1
  474. package/app/.next-cli-build/server/app/api/v1/responses/route.js.nft.json +1 -1
  475. package/app/.next-cli-build/server/app/api/v1/route.js +1 -1
  476. package/app/.next-cli-build/server/app/api/v1/route.js.nft.json +1 -1
  477. package/app/.next-cli-build/server/app/api/v1/search/route.js +1 -1
  478. package/app/.next-cli-build/server/app/api/v1/search/route.js.nft.json +1 -1
  479. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js +1 -1
  480. package/app/.next-cli-build/server/app/api/v1/videos/[id]/route.js.nft.json +1 -1
  481. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js +1 -1
  482. package/app/.next-cli-build/server/app/api/v1/videos/edits/route.js.nft.json +1 -1
  483. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js +1 -1
  484. package/app/.next-cli-build/server/app/api/v1/videos/extensions/route.js.nft.json +1 -1
  485. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js +1 -1
  486. package/app/.next-cli-build/server/app/api/v1/videos/generations/route.js.nft.json +1 -1
  487. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js +1 -1
  488. package/app/.next-cli-build/server/app/api/v1/web/fetch/route.js.nft.json +1 -1
  489. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js +1 -1
  490. package/app/.next-cli-build/server/app/api/v1beta/models/[...path]/route.js.nft.json +1 -1
  491. package/app/.next-cli-build/server/app/api/v1beta/models/route.js +1 -1
  492. package/app/.next-cli-build/server/app/api/v1beta/models/route.js.nft.json +1 -1
  493. package/app/.next-cli-build/server/app/api/version/route.js +1 -1
  494. package/app/.next-cli-build/server/app/api/version/route.js.nft.json +1 -1
  495. package/app/.next-cli-build/server/app/api/version/shutdown/route.js +1 -1
  496. package/app/.next-cli-build/server/app/api/version/shutdown/route.js.nft.json +1 -1
  497. package/app/.next-cli-build/server/app/api/version/update/route.js +1 -1
  498. package/app/.next-cli-build/server/app/api/version/update/route.js.nft.json +1 -1
  499. package/app/.next-cli-build/server/app/callback/page.js +2 -2
  500. package/app/.next-cli-build/server/app/callback/page.js.nft.json +1 -1
  501. package/app/.next-cli-build/server/app/callback/page_client-reference-manifest.js +1 -1
  502. package/app/.next-cli-build/server/app/callback.html +1 -1
  503. package/app/.next-cli-build/server/app/callback.rsc +4 -4
  504. package/app/.next-cli-build/server/app/callback.segments/_full.segment.rsc +4 -4
  505. package/app/.next-cli-build/server/app/callback.segments/_head.segment.rsc +1 -1
  506. package/app/.next-cli-build/server/app/callback.segments/_index.segment.rsc +4 -4
  507. package/app/.next-cli-build/server/app/callback.segments/_tree.segment.rsc +2 -2
  508. package/app/.next-cli-build/server/app/callback.segments/callback/__PAGE__.segment.rsc +1 -1
  509. package/app/.next-cli-build/server/app/callback.segments/callback.segment.rsc +1 -1
  510. package/app/.next-cli-build/server/app/dashboard/basic-chat.html +1 -1
  511. package/app/.next-cli-build/server/app/dashboard/basic-chat.rsc +6 -6
  512. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat/__PAGE__.segment.rsc +2 -2
  513. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard/basic-chat.segment.rsc +1 -1
  514. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  515. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  516. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_full.segment.rsc +6 -6
  517. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_head.segment.rsc +1 -1
  518. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_index.segment.rsc +4 -4
  519. package/app/.next-cli-build/server/app/dashboard/basic-chat.segments/_tree.segment.rsc +2 -2
  520. package/app/.next-cli-build/server/app/dashboard/cli-tools.html +1 -1
  521. package/app/.next-cli-build/server/app/dashboard/cli-tools.rsc +6 -6
  522. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools/__PAGE__.segment.rsc +2 -2
  523. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard/cli-tools.segment.rsc +1 -1
  524. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  525. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  526. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_full.segment.rsc +6 -6
  527. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_head.segment.rsc +1 -1
  528. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_index.segment.rsc +4 -4
  529. package/app/.next-cli-build/server/app/dashboard/cli-tools.segments/_tree.segment.rsc +2 -2
  530. package/app/.next-cli-build/server/app/dashboard/combos.html +1 -1
  531. package/app/.next-cli-build/server/app/dashboard/combos.rsc +6 -6
  532. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos/__PAGE__.segment.rsc +2 -2
  533. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard/combos.segment.rsc +1 -1
  534. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  535. package/app/.next-cli-build/server/app/dashboard/combos.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  536. package/app/.next-cli-build/server/app/dashboard/combos.segments/_full.segment.rsc +6 -6
  537. package/app/.next-cli-build/server/app/dashboard/combos.segments/_head.segment.rsc +1 -1
  538. package/app/.next-cli-build/server/app/dashboard/combos.segments/_index.segment.rsc +4 -4
  539. package/app/.next-cli-build/server/app/dashboard/combos.segments/_tree.segment.rsc +2 -2
  540. package/app/.next-cli-build/server/app/dashboard/convoy.html +1 -1
  541. package/app/.next-cli-build/server/app/dashboard/convoy.rsc +6 -6
  542. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy/__PAGE__.segment.rsc +2 -2
  543. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard/convoy.segment.rsc +1 -1
  544. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  545. package/app/.next-cli-build/server/app/dashboard/convoy.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  546. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_full.segment.rsc +6 -6
  547. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_head.segment.rsc +1 -1
  548. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_index.segment.rsc +4 -4
  549. package/app/.next-cli-build/server/app/dashboard/convoy.segments/_tree.segment.rsc +2 -2
  550. package/app/.next-cli-build/server/app/dashboard/endpoint.html +1 -1
  551. package/app/.next-cli-build/server/app/dashboard/endpoint.rsc +6 -6
  552. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint/__PAGE__.segment.rsc +2 -2
  553. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard/endpoint.segment.rsc +1 -1
  554. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  555. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  556. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_full.segment.rsc +6 -6
  557. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_head.segment.rsc +1 -1
  558. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_index.segment.rsc +4 -4
  559. package/app/.next-cli-build/server/app/dashboard/endpoint.segments/_tree.segment.rsc +2 -2
  560. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.html +1 -1
  561. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.rsc +6 -6
  562. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys/__PAGE__.segment.rsc +2 -2
  563. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/keys.segment.rsc +1 -1
  564. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  565. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  566. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  567. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_full.segment.rsc +6 -6
  568. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_head.segment.rsc +1 -1
  569. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_index.segment.rsc +4 -4
  570. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/keys.segments/_tree.segment.rsc +2 -2
  571. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.html +1 -1
  572. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.rsc +6 -6
  573. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers/__PAGE__.segment.rsc +2 -2
  574. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/servers.segment.rsc +1 -1
  575. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  576. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  577. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  578. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_full.segment.rsc +6 -6
  579. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_head.segment.rsc +1 -1
  580. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_index.segment.rsc +4 -4
  581. package/app/.next-cli-build/server/app/dashboard/mcp-gateway/servers.segments/_tree.segment.rsc +2 -2
  582. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.html +1 -1
  583. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.rsc +6 -6
  584. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway/__PAGE__.segment.rsc +2 -2
  585. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard/mcp-gateway.segment.rsc +1 -1
  586. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  587. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  588. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_full.segment.rsc +6 -6
  589. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_head.segment.rsc +1 -1
  590. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_index.segment.rsc +4 -4
  591. package/app/.next-cli-build/server/app/dashboard/mcp-gateway.segments/_tree.segment.rsc +2 -2
  592. package/app/.next-cli-build/server/app/dashboard/media-providers/web.html +1 -1
  593. package/app/.next-cli-build/server/app/dashboard/media-providers/web.rsc +6 -6
  594. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web/__PAGE__.segment.rsc +2 -2
  595. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers/web.segment.rsc +1 -1
  596. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard/media-providers.segment.rsc +1 -1
  597. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  598. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  599. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_full.segment.rsc +6 -6
  600. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_head.segment.rsc +1 -1
  601. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_index.segment.rsc +4 -4
  602. package/app/.next-cli-build/server/app/dashboard/media-providers/web.segments/_tree.segment.rsc +2 -2
  603. package/app/.next-cli-build/server/app/dashboard/mitm.html +1 -1
  604. package/app/.next-cli-build/server/app/dashboard/mitm.rsc +6 -6
  605. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm/__PAGE__.segment.rsc +2 -2
  606. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard/mitm.segment.rsc +1 -1
  607. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  608. package/app/.next-cli-build/server/app/dashboard/mitm.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  609. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_full.segment.rsc +6 -6
  610. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_head.segment.rsc +1 -1
  611. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_index.segment.rsc +4 -4
  612. package/app/.next-cli-build/server/app/dashboard/mitm.segments/_tree.segment.rsc +2 -2
  613. package/app/.next-cli-build/server/app/dashboard/profile.html +1 -1
  614. package/app/.next-cli-build/server/app/dashboard/profile.rsc +6 -6
  615. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile/__PAGE__.segment.rsc +2 -2
  616. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard/profile.segment.rsc +1 -1
  617. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  618. package/app/.next-cli-build/server/app/dashboard/profile.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  619. package/app/.next-cli-build/server/app/dashboard/profile.segments/_full.segment.rsc +6 -6
  620. package/app/.next-cli-build/server/app/dashboard/profile.segments/_head.segment.rsc +1 -1
  621. package/app/.next-cli-build/server/app/dashboard/profile.segments/_index.segment.rsc +4 -4
  622. package/app/.next-cli-build/server/app/dashboard/profile.segments/_tree.segment.rsc +2 -2
  623. package/app/.next-cli-build/server/app/dashboard/providers/new.html +1 -1
  624. package/app/.next-cli-build/server/app/dashboard/providers/new.rsc +6 -6
  625. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new/__PAGE__.segment.rsc +2 -2
  626. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers/new.segment.rsc +1 -1
  627. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  628. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  629. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  630. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_full.segment.rsc +6 -6
  631. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_head.segment.rsc +1 -1
  632. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_index.segment.rsc +4 -4
  633. package/app/.next-cli-build/server/app/dashboard/providers/new.segments/_tree.segment.rsc +2 -2
  634. package/app/.next-cli-build/server/app/dashboard/providers.html +1 -1
  635. package/app/.next-cli-build/server/app/dashboard/providers.rsc +6 -6
  636. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers/__PAGE__.segment.rsc +2 -2
  637. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard/providers.segment.rsc +1 -1
  638. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  639. package/app/.next-cli-build/server/app/dashboard/providers.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  640. package/app/.next-cli-build/server/app/dashboard/providers.segments/_full.segment.rsc +6 -6
  641. package/app/.next-cli-build/server/app/dashboard/providers.segments/_head.segment.rsc +1 -1
  642. package/app/.next-cli-build/server/app/dashboard/providers.segments/_index.segment.rsc +4 -4
  643. package/app/.next-cli-build/server/app/dashboard/providers.segments/_tree.segment.rsc +2 -2
  644. package/app/.next-cli-build/server/app/dashboard/proxy-pools.html +1 -1
  645. package/app/.next-cli-build/server/app/dashboard/proxy-pools.rsc +6 -6
  646. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools/__PAGE__.segment.rsc +2 -2
  647. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard/proxy-pools.segment.rsc +1 -1
  648. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  649. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  650. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_full.segment.rsc +6 -6
  651. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_head.segment.rsc +1 -1
  652. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_index.segment.rsc +4 -4
  653. package/app/.next-cli-build/server/app/dashboard/proxy-pools.segments/_tree.segment.rsc +2 -2
  654. package/app/.next-cli-build/server/app/dashboard/pxpipe.html +1 -1
  655. package/app/.next-cli-build/server/app/dashboard/pxpipe.rsc +6 -6
  656. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe/__PAGE__.segment.rsc +2 -2
  657. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard/pxpipe.segment.rsc +1 -1
  658. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  659. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  660. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_full.segment.rsc +6 -6
  661. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_head.segment.rsc +1 -1
  662. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_index.segment.rsc +4 -4
  663. package/app/.next-cli-build/server/app/dashboard/pxpipe.segments/_tree.segment.rsc +2 -2
  664. package/app/.next-cli-build/server/app/dashboard/quota.html +2 -2
  665. package/app/.next-cli-build/server/app/dashboard/quota.rsc +7 -7
  666. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota/__PAGE__.segment.rsc +3 -3
  667. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard/quota.segment.rsc +1 -1
  668. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  669. package/app/.next-cli-build/server/app/dashboard/quota.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  670. package/app/.next-cli-build/server/app/dashboard/quota.segments/_full.segment.rsc +7 -7
  671. package/app/.next-cli-build/server/app/dashboard/quota.segments/_head.segment.rsc +1 -1
  672. package/app/.next-cli-build/server/app/dashboard/quota.segments/_index.segment.rsc +4 -4
  673. package/app/.next-cli-build/server/app/dashboard/quota.segments/_tree.segment.rsc +2 -2
  674. package/app/.next-cli-build/server/app/dashboard/routing-health.html +1 -1
  675. package/app/.next-cli-build/server/app/dashboard/routing-health.rsc +6 -6
  676. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health/__PAGE__.segment.rsc +2 -2
  677. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard/routing-health.segment.rsc +1 -1
  678. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  679. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  680. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_full.segment.rsc +6 -6
  681. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_head.segment.rsc +1 -1
  682. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_index.segment.rsc +4 -4
  683. package/app/.next-cli-build/server/app/dashboard/routing-health.segments/_tree.segment.rsc +2 -2
  684. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js +2 -2
  685. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page.js.nft.json +1 -1
  686. package/app/.next-cli-build/server/app/dashboard/settings/pricing/page_client-reference-manifest.js +1 -1
  687. package/app/.next-cli-build/server/app/dashboard/settings/pricing.html +1 -1
  688. package/app/.next-cli-build/server/app/dashboard/settings/pricing.rsc +4 -4
  689. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_full.segment.rsc +4 -4
  690. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_head.segment.rsc +1 -1
  691. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_index.segment.rsc +4 -4
  692. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/_tree.segment.rsc +2 -2
  693. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing/__PAGE__.segment.rsc +1 -1
  694. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings/pricing.segment.rsc +1 -1
  695. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard/settings.segment.rsc +1 -1
  696. package/app/.next-cli-build/server/app/dashboard/settings/pricing.segments/dashboard.segment.rsc +1 -1
  697. package/app/.next-cli-build/server/app/dashboard/skills.html +1 -1
  698. package/app/.next-cli-build/server/app/dashboard/skills.rsc +6 -6
  699. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills/__PAGE__.segment.rsc +2 -2
  700. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard/skills.segment.rsc +1 -1
  701. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  702. package/app/.next-cli-build/server/app/dashboard/skills.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  703. package/app/.next-cli-build/server/app/dashboard/skills.segments/_full.segment.rsc +6 -6
  704. package/app/.next-cli-build/server/app/dashboard/skills.segments/_head.segment.rsc +1 -1
  705. package/app/.next-cli-build/server/app/dashboard/skills.segments/_index.segment.rsc +4 -4
  706. package/app/.next-cli-build/server/app/dashboard/skills.segments/_tree.segment.rsc +2 -2
  707. package/app/.next-cli-build/server/app/dashboard/token-saver.html +1 -1
  708. package/app/.next-cli-build/server/app/dashboard/token-saver.rsc +6 -6
  709. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver/__PAGE__.segment.rsc +2 -2
  710. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard/token-saver.segment.rsc +1 -1
  711. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  712. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  713. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_full.segment.rsc +6 -6
  714. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_head.segment.rsc +1 -1
  715. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_index.segment.rsc +4 -4
  716. package/app/.next-cli-build/server/app/dashboard/token-saver.segments/_tree.segment.rsc +2 -2
  717. package/app/.next-cli-build/server/app/dashboard/translator.html +1 -1
  718. package/app/.next-cli-build/server/app/dashboard/translator.rsc +6 -6
  719. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator/__PAGE__.segment.rsc +2 -2
  720. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard/translator.segment.rsc +1 -1
  721. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  722. package/app/.next-cli-build/server/app/dashboard/translator.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  723. package/app/.next-cli-build/server/app/dashboard/translator.segments/_full.segment.rsc +6 -6
  724. package/app/.next-cli-build/server/app/dashboard/translator.segments/_head.segment.rsc +1 -1
  725. package/app/.next-cli-build/server/app/dashboard/translator.segments/_index.segment.rsc +4 -4
  726. package/app/.next-cli-build/server/app/dashboard/translator.segments/_tree.segment.rsc +2 -2
  727. package/app/.next-cli-build/server/app/dashboard/usage.html +1 -1
  728. package/app/.next-cli-build/server/app/dashboard/usage.rsc +6 -6
  729. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage/__PAGE__.segment.rsc +2 -2
  730. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard/usage.segment.rsc +1 -1
  731. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  732. package/app/.next-cli-build/server/app/dashboard/usage.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  733. package/app/.next-cli-build/server/app/dashboard/usage.segments/_full.segment.rsc +6 -6
  734. package/app/.next-cli-build/server/app/dashboard/usage.segments/_head.segment.rsc +1 -1
  735. package/app/.next-cli-build/server/app/dashboard/usage.segments/_index.segment.rsc +4 -4
  736. package/app/.next-cli-build/server/app/dashboard/usage.segments/_tree.segment.rsc +2 -2
  737. package/app/.next-cli-build/server/app/dashboard.html +1 -1
  738. package/app/.next-cli-build/server/app/dashboard.rsc +6 -6
  739. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard/__PAGE__.segment.rsc +2 -2
  740. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk/dashboard.segment.rsc +1 -1
  741. package/app/.next-cli-build/server/app/dashboard.segments/!KGRhc2hib2FyZCk.segment.rsc +2 -2
  742. package/app/.next-cli-build/server/app/dashboard.segments/_full.segment.rsc +6 -6
  743. package/app/.next-cli-build/server/app/dashboard.segments/_head.segment.rsc +1 -1
  744. package/app/.next-cli-build/server/app/dashboard.segments/_index.segment.rsc +4 -4
  745. package/app/.next-cli-build/server/app/dashboard.segments/_tree.segment.rsc +2 -2
  746. package/app/.next-cli-build/server/app/favicon.ico/route.js +1 -1
  747. package/app/.next-cli-build/server/app/favicon.ico/route.js.nft.json +1 -1
  748. package/app/.next-cli-build/server/app/index.html +1 -1
  749. package/app/.next-cli-build/server/app/index.rsc +4 -4
  750. package/app/.next-cli-build/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  751. package/app/.next-cli-build/server/app/index.segments/_full.segment.rsc +4 -4
  752. package/app/.next-cli-build/server/app/index.segments/_head.segment.rsc +1 -1
  753. package/app/.next-cli-build/server/app/index.segments/_index.segment.rsc +4 -4
  754. package/app/.next-cli-build/server/app/index.segments/_tree.segment.rsc +2 -2
  755. package/app/.next-cli-build/server/app/landing/page.js +2 -2
  756. package/app/.next-cli-build/server/app/landing/page.js.nft.json +1 -1
  757. package/app/.next-cli-build/server/app/landing/page_client-reference-manifest.js +1 -1
  758. package/app/.next-cli-build/server/app/landing.html +1 -1
  759. package/app/.next-cli-build/server/app/landing.rsc +4 -4
  760. package/app/.next-cli-build/server/app/landing.segments/_full.segment.rsc +4 -4
  761. package/app/.next-cli-build/server/app/landing.segments/_head.segment.rsc +1 -1
  762. package/app/.next-cli-build/server/app/landing.segments/_index.segment.rsc +4 -4
  763. package/app/.next-cli-build/server/app/landing.segments/_tree.segment.rsc +2 -2
  764. package/app/.next-cli-build/server/app/landing.segments/landing/__PAGE__.segment.rsc +1 -1
  765. package/app/.next-cli-build/server/app/landing.segments/landing.segment.rsc +1 -1
  766. package/app/.next-cli-build/server/app/login/page.js +2 -2
  767. package/app/.next-cli-build/server/app/login/page.js.nft.json +1 -1
  768. package/app/.next-cli-build/server/app/login/page_client-reference-manifest.js +1 -1
  769. package/app/.next-cli-build/server/app/login.html +1 -1
  770. package/app/.next-cli-build/server/app/login.rsc +5 -5
  771. package/app/.next-cli-build/server/app/login.segments/_full.segment.rsc +5 -5
  772. package/app/.next-cli-build/server/app/login.segments/_head.segment.rsc +1 -1
  773. package/app/.next-cli-build/server/app/login.segments/_index.segment.rsc +4 -4
  774. package/app/.next-cli-build/server/app/login.segments/_tree.segment.rsc +2 -2
  775. package/app/.next-cli-build/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
  776. package/app/.next-cli-build/server/app/login.segments/login.segment.rsc +1 -1
  777. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js +2 -2
  778. package/app/.next-cli-build/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  779. package/app/.next-cli-build/server/app/page.js +2 -2
  780. package/app/.next-cli-build/server/app/page.js.nft.json +1 -1
  781. package/app/.next-cli-build/server/app/page_client-reference-manifest.js +1 -1
  782. package/app/.next-cli-build/server/app-paths-manifest.json +4 -3
  783. package/app/.next-cli-build/server/chunks/1764.js +12 -12
  784. package/app/.next-cli-build/server/chunks/2021.js +1 -1
  785. package/app/.next-cli-build/server/chunks/2348.js +1 -1
  786. package/app/.next-cli-build/server/chunks/2898.js +1 -1
  787. package/app/.next-cli-build/server/chunks/3252.js +1 -1
  788. package/app/.next-cli-build/server/chunks/3267.js +40 -0
  789. package/app/.next-cli-build/server/chunks/3433.js +4 -4
  790. package/app/.next-cli-build/server/chunks/3583.js +1 -1
  791. package/app/.next-cli-build/server/chunks/369.js +2 -2
  792. package/app/.next-cli-build/server/chunks/3886.js +1 -1
  793. package/app/.next-cli-build/server/chunks/3977.js +1 -1
  794. package/app/.next-cli-build/server/chunks/4208.js +18 -18
  795. package/app/.next-cli-build/server/chunks/4485.js +1 -1
  796. package/app/.next-cli-build/server/chunks/4574.js +1 -1
  797. package/app/.next-cli-build/server/chunks/4827.js +1 -1
  798. package/app/.next-cli-build/server/chunks/4878.js +1 -1
  799. package/app/.next-cli-build/server/chunks/5011.js +1 -1
  800. package/app/.next-cli-build/server/chunks/5130.js +1 -1
  801. package/app/.next-cli-build/server/chunks/5875.js +1 -1
  802. package/app/.next-cli-build/server/chunks/5948.js +1 -1
  803. package/app/.next-cli-build/server/chunks/6502.js +3 -3
  804. package/app/.next-cli-build/server/chunks/7239.js +1 -1
  805. package/app/.next-cli-build/server/chunks/7353.js +1 -1
  806. package/app/.next-cli-build/server/chunks/7362.js +1 -1
  807. package/app/.next-cli-build/server/chunks/7774.js +7 -7
  808. package/app/.next-cli-build/server/chunks/7775.js +1 -1
  809. package/app/.next-cli-build/server/chunks/8243.js +3 -3
  810. package/app/.next-cli-build/server/chunks/8251.js +2 -2
  811. package/app/.next-cli-build/server/chunks/8306.js +1 -1
  812. package/app/.next-cli-build/server/chunks/9062.js +1 -1
  813. package/app/.next-cli-build/server/chunks/9718.js +1 -1
  814. package/app/.next-cli-build/server/middleware-build-manifest.js +1 -1
  815. package/app/.next-cli-build/server/middleware.js +3 -3
  816. package/app/.next-cli-build/server/pages/404.html +1 -1
  817. package/app/.next-cli-build/server/pages/500.html +1 -1
  818. package/app/.next-cli-build/static/5WoZ9O2i6m7EB5bVhSiW3/_buildManifest.js +1 -0
  819. package/app/.next-cli-build/static/chunks/{1321-dbf1d5923ed96850.js → 1321-28c50cf30d629b3c.js} +1 -1
  820. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/combos/{page-69c121887e473261.js → page-490c54665b2cfe56.js} +1 -1
  821. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-254fb1375ad58196.js +27 -0
  822. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-ac9b5a7d5710870d.js +1 -0
  823. package/app/.next-cli-build/static/chunks/app/_global-error/page-539411a7543bc680.js +1 -0
  824. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-539411a7543bc680.js +1 -0
  825. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-539411a7543bc680.js +1 -0
  826. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-539411a7543bc680.js +1 -0
  827. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-539411a7543bc680.js +1 -0
  828. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-539411a7543bc680.js +1 -0
  829. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-539411a7543bc680.js +1 -0
  830. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-539411a7543bc680.js +1 -0
  831. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-539411a7543bc680.js +1 -0
  832. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-539411a7543bc680.js +1 -0
  833. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-539411a7543bc680.js +1 -0
  834. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-539411a7543bc680.js +1 -0
  835. package/app/.next-cli-build/static/chunks/app/api/changelog/route-539411a7543bc680.js +1 -0
  836. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-539411a7543bc680.js +1 -0
  837. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-539411a7543bc680.js +1 -0
  838. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-539411a7543bc680.js +1 -0
  839. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-539411a7543bc680.js +1 -0
  840. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-539411a7543bc680.js +1 -0
  841. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-539411a7543bc680.js +1 -0
  842. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-539411a7543bc680.js +1 -0
  843. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-539411a7543bc680.js +1 -0
  844. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-539411a7543bc680.js +1 -0
  845. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-539411a7543bc680.js +1 -0
  846. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-539411a7543bc680.js +1 -0
  847. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-539411a7543bc680.js +1 -0
  848. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-539411a7543bc680.js +1 -0
  849. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-539411a7543bc680.js +1 -0
  850. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-539411a7543bc680.js +1 -0
  851. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-539411a7543bc680.js +1 -0
  852. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-539411a7543bc680.js +1 -0
  853. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-539411a7543bc680.js +1 -0
  854. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-539411a7543bc680.js +1 -0
  855. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-539411a7543bc680.js +1 -0
  856. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-539411a7543bc680.js +1 -0
  857. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-539411a7543bc680.js +1 -0
  858. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-539411a7543bc680.js +1 -0
  859. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-539411a7543bc680.js +1 -0
  860. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-539411a7543bc680.js +1 -0
  861. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-539411a7543bc680.js +1 -0
  862. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-539411a7543bc680.js +1 -0
  863. package/app/.next-cli-build/static/chunks/app/api/combos/route-539411a7543bc680.js +1 -0
  864. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-539411a7543bc680.js +1 -0
  865. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-539411a7543bc680.js +1 -0
  866. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-539411a7543bc680.js +1 -0
  867. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-539411a7543bc680.js +1 -0
  868. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-539411a7543bc680.js +1 -0
  869. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-539411a7543bc680.js +1 -0
  870. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-539411a7543bc680.js +1 -0
  871. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-539411a7543bc680.js +1 -0
  872. package/app/.next-cli-build/static/chunks/app/api/health/route-539411a7543bc680.js +1 -0
  873. package/app/.next-cli-build/static/chunks/app/api/init/route-539411a7543bc680.js +1 -0
  874. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-539411a7543bc680.js +1 -0
  875. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-539411a7543bc680.js +1 -0
  876. package/app/.next-cli-build/static/chunks/app/api/keys/route-539411a7543bc680.js +1 -0
  877. package/app/.next-cli-build/static/chunks/app/api/locale/route-539411a7543bc680.js +1 -0
  878. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-539411a7543bc680.js +1 -0
  879. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-539411a7543bc680.js +1 -0
  880. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-539411a7543bc680.js +1 -0
  881. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-539411a7543bc680.js +1 -0
  882. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-539411a7543bc680.js +1 -0
  883. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-539411a7543bc680.js +1 -0
  884. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-539411a7543bc680.js +1 -0
  885. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-539411a7543bc680.js +1 -0
  886. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-539411a7543bc680.js +1 -0
  887. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-539411a7543bc680.js +1 -0
  888. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-539411a7543bc680.js +1 -0
  889. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-539411a7543bc680.js +1 -0
  890. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-539411a7543bc680.js +1 -0
  891. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-539411a7543bc680.js +1 -0
  892. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-539411a7543bc680.js +1 -0
  893. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-539411a7543bc680.js +1 -0
  894. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-539411a7543bc680.js +1 -0
  895. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-539411a7543bc680.js +1 -0
  896. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-539411a7543bc680.js +1 -0
  897. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-539411a7543bc680.js +1 -0
  898. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-539411a7543bc680.js +1 -0
  899. package/app/.next-cli-build/static/chunks/app/api/models/enabled/route-539411a7543bc680.js +1 -0
  900. package/app/.next-cli-build/static/chunks/app/api/models/route-539411a7543bc680.js +1 -0
  901. package/app/.next-cli-build/static/chunks/app/api/models/test/route-539411a7543bc680.js +1 -0
  902. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-539411a7543bc680.js +1 -0
  903. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-539411a7543bc680.js +1 -0
  904. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-539411a7543bc680.js +1 -0
  905. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-539411a7543bc680.js +1 -0
  906. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-539411a7543bc680.js +1 -0
  907. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-539411a7543bc680.js +1 -0
  908. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-539411a7543bc680.js +1 -0
  909. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-539411a7543bc680.js +1 -0
  910. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-539411a7543bc680.js +1 -0
  911. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-539411a7543bc680.js +1 -0
  912. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-539411a7543bc680.js +1 -0
  913. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-539411a7543bc680.js +1 -0
  914. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-539411a7543bc680.js +1 -0
  915. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-539411a7543bc680.js +1 -0
  916. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-539411a7543bc680.js +1 -0
  917. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-539411a7543bc680.js +1 -0
  918. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-539411a7543bc680.js +1 -0
  919. package/app/.next-cli-build/static/chunks/app/api/pricing/route-539411a7543bc680.js +1 -0
  920. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-539411a7543bc680.js +1 -0
  921. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-539411a7543bc680.js +1 -0
  922. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-539411a7543bc680.js +1 -0
  923. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-539411a7543bc680.js +1 -0
  924. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-539411a7543bc680.js +1 -0
  925. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-539411a7543bc680.js +1 -0
  926. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-539411a7543bc680.js +1 -0
  927. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-539411a7543bc680.js +1 -0
  928. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-539411a7543bc680.js +1 -0
  929. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-539411a7543bc680.js +1 -0
  930. package/app/.next-cli-build/static/chunks/app/api/providers/route-539411a7543bc680.js +1 -0
  931. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-539411a7543bc680.js +1 -0
  932. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-539411a7543bc680.js +1 -0
  933. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-539411a7543bc680.js +1 -0
  934. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-539411a7543bc680.js +1 -0
  935. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-539411a7543bc680.js +1 -0
  936. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-539411a7543bc680.js +1 -0
  937. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-539411a7543bc680.js +1 -0
  938. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-539411a7543bc680.js +1 -0
  939. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-539411a7543bc680.js +1 -0
  940. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-539411a7543bc680.js +1 -0
  941. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-539411a7543bc680.js +1 -0
  942. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-539411a7543bc680.js +1 -0
  943. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-539411a7543bc680.js +1 -0
  944. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-539411a7543bc680.js +1 -0
  945. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-539411a7543bc680.js +1 -0
  946. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-539411a7543bc680.js +1 -0
  947. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-539411a7543bc680.js +1 -0
  948. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-539411a7543bc680.js +1 -0
  949. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-539411a7543bc680.js +1 -0
  950. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-539411a7543bc680.js +1 -0
  951. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-539411a7543bc680.js +1 -0
  952. package/app/.next-cli-build/static/chunks/app/api/settings/route-539411a7543bc680.js +1 -0
  953. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-539411a7543bc680.js +1 -0
  954. package/app/.next-cli-build/static/chunks/app/api/tags/route-539411a7543bc680.js +1 -0
  955. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-539411a7543bc680.js +1 -0
  956. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-539411a7543bc680.js +1 -0
  957. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-539411a7543bc680.js +1 -0
  958. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-539411a7543bc680.js +1 -0
  959. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-539411a7543bc680.js +1 -0
  960. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-539411a7543bc680.js +1 -0
  961. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-539411a7543bc680.js +1 -0
  962. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-539411a7543bc680.js +1 -0
  963. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-539411a7543bc680.js +1 -0
  964. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-539411a7543bc680.js +1 -0
  965. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-539411a7543bc680.js +1 -0
  966. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-539411a7543bc680.js +1 -0
  967. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-539411a7543bc680.js +1 -0
  968. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-539411a7543bc680.js +1 -0
  969. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-539411a7543bc680.js +1 -0
  970. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-539411a7543bc680.js +1 -0
  971. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-539411a7543bc680.js +1 -0
  972. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-539411a7543bc680.js +1 -0
  973. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-539411a7543bc680.js +1 -0
  974. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-539411a7543bc680.js +1 -0
  975. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-539411a7543bc680.js +1 -0
  976. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-539411a7543bc680.js +1 -0
  977. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-539411a7543bc680.js +1 -0
  978. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-539411a7543bc680.js +1 -0
  979. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-539411a7543bc680.js +1 -0
  980. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-539411a7543bc680.js +1 -0
  981. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-539411a7543bc680.js +1 -0
  982. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-539411a7543bc680.js +1 -0
  983. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-539411a7543bc680.js +1 -0
  984. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-539411a7543bc680.js +1 -0
  985. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-539411a7543bc680.js +1 -0
  986. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-539411a7543bc680.js +1 -0
  987. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-539411a7543bc680.js +1 -0
  988. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-539411a7543bc680.js +1 -0
  989. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-539411a7543bc680.js +1 -0
  990. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-539411a7543bc680.js +1 -0
  991. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-539411a7543bc680.js +1 -0
  992. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-539411a7543bc680.js +1 -0
  993. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-539411a7543bc680.js +1 -0
  994. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-539411a7543bc680.js +1 -0
  995. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-539411a7543bc680.js +1 -0
  996. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-539411a7543bc680.js +1 -0
  997. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-539411a7543bc680.js +1 -0
  998. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-539411a7543bc680.js +1 -0
  999. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-539411a7543bc680.js +1 -0
  1000. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-539411a7543bc680.js +1 -0
  1001. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-539411a7543bc680.js +1 -0
  1002. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-539411a7543bc680.js +1 -0
  1003. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-539411a7543bc680.js +1 -0
  1004. package/app/.next-cli-build/static/chunks/app/api/v1/route-539411a7543bc680.js +1 -0
  1005. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-539411a7543bc680.js +1 -0
  1006. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-539411a7543bc680.js +1 -0
  1007. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-539411a7543bc680.js +1 -0
  1008. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-539411a7543bc680.js +1 -0
  1009. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-539411a7543bc680.js +1 -0
  1010. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-539411a7543bc680.js +1 -0
  1011. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-539411a7543bc680.js +1 -0
  1012. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-539411a7543bc680.js +1 -0
  1013. package/app/.next-cli-build/static/chunks/app/api/version/route-539411a7543bc680.js +1 -0
  1014. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-539411a7543bc680.js +1 -0
  1015. package/app/.next-cli-build/static/chunks/app/api/version/update/route-539411a7543bc680.js +1 -0
  1016. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-539411a7543bc680.js +1 -0
  1017. package/app/.next-cli-build/static/chunks/app/page-539411a7543bc680.js +1 -0
  1018. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-539411a7543bc680.js +1 -0
  1019. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-539411a7543bc680.js +1 -0
  1020. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-539411a7543bc680.js +1 -0
  1021. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-539411a7543bc680.js +1 -0
  1022. package/app/.next-cli-build/static/css/b15914d61d9425a2.css +1 -0
  1023. package/app/CHANGELOG.md +23 -0
  1024. package/app/package.json +1 -1
  1025. package/app/public/CHANGELOG.md +22 -0
  1026. package/hooks/packageManager.js +4 -1
  1027. package/hooks/trayRuntime.js +31 -1
  1028. package/package.json +1 -1
  1029. package/src/cli/tray/tray.js +9 -2
  1030. package/app/.next-cli-build/server/chunks/6816.js +0 -40
  1031. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/providers/[id]/page-470053d319956aa3.js +0 -27
  1032. package/app/.next-cli-build/static/chunks/app/(dashboard)/dashboard/quota/page-358e8cfbab53f6f1.js +0 -1
  1033. package/app/.next-cli-build/static/chunks/app/_global-error/page-116cfb93931e646f.js +0 -1
  1034. package/app/.next-cli-build/static/chunks/app/api/auth/login/route-116cfb93931e646f.js +0 -1
  1035. package/app/.next-cli-build/static/chunks/app/api/auth/logout/route-116cfb93931e646f.js +0 -1
  1036. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/callback/route-116cfb93931e646f.js +0 -1
  1037. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/start/route-116cfb93931e646f.js +0 -1
  1038. package/app/.next-cli-build/static/chunks/app/api/auth/oidc/test/route-116cfb93931e646f.js +0 -1
  1039. package/app/.next-cli-build/static/chunks/app/api/auth/reset-password/route-116cfb93931e646f.js +0 -1
  1040. package/app/.next-cli-build/static/chunks/app/api/auth/saml/acs/route-116cfb93931e646f.js +0 -1
  1041. package/app/.next-cli-build/static/chunks/app/api/auth/saml/metadata/route-116cfb93931e646f.js +0 -1
  1042. package/app/.next-cli-build/static/chunks/app/api/auth/saml/start/route-116cfb93931e646f.js +0 -1
  1043. package/app/.next-cli-build/static/chunks/app/api/auth/saml/test/route-116cfb93931e646f.js +0 -1
  1044. package/app/.next-cli-build/static/chunks/app/api/auth/status/route-116cfb93931e646f.js +0 -1
  1045. package/app/.next-cli-build/static/chunks/app/api/changelog/route-116cfb93931e646f.js +0 -1
  1046. package/app/.next-cli-build/static/chunks/app/api/cli/providers/codex/route-116cfb93931e646f.js +0 -1
  1047. package/app/.next-cli-build/static/chunks/app/api/cli-tools/all-statuses/route-116cfb93931e646f.js +0 -1
  1048. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/alias/route-116cfb93931e646f.js +0 -1
  1049. package/app/.next-cli-build/static/chunks/app/api/cli-tools/antigravity-mitm/route-116cfb93931e646f.js +0 -1
  1050. package/app/.next-cli-build/static/chunks/app/api/cli-tools/claude-settings/route-116cfb93931e646f.js +0 -1
  1051. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cline-settings/route-116cfb93931e646f.js +0 -1
  1052. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/models/route-116cfb93931e646f.js +0 -1
  1053. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-native/readiness/route-116cfb93931e646f.js +0 -1
  1054. package/app/.next-cli-build/static/chunks/app/api/cli-tools/codex-settings/route-116cfb93931e646f.js +0 -1
  1055. package/app/.next-cli-build/static/chunks/app/api/cli-tools/copilot-settings/route-116cfb93931e646f.js +0 -1
  1056. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-registry/route-116cfb93931e646f.js +0 -1
  1057. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-mcp-tools/route-116cfb93931e646f.js +0 -1
  1058. package/app/.next-cli-build/static/chunks/app/api/cli-tools/cowork-settings/route-116cfb93931e646f.js +0 -1
  1059. package/app/.next-cli-build/static/chunks/app/api/cli-tools/deepseek-tui-settings/route-116cfb93931e646f.js +0 -1
  1060. package/app/.next-cli-build/static/chunks/app/api/cli-tools/devin-settings/route-116cfb93931e646f.js +0 -1
  1061. package/app/.next-cli-build/static/chunks/app/api/cli-tools/droid-settings/route-116cfb93931e646f.js +0 -1
  1062. package/app/.next-cli-build/static/chunks/app/api/cli-tools/grok-build-settings/route-116cfb93931e646f.js +0 -1
  1063. package/app/.next-cli-build/static/chunks/app/api/cli-tools/hermes-settings/route-116cfb93931e646f.js +0 -1
  1064. package/app/.next-cli-build/static/chunks/app/api/cli-tools/jcode-settings/route-116cfb93931e646f.js +0 -1
  1065. package/app/.next-cli-build/static/chunks/app/api/cli-tools/kilo-settings/route-116cfb93931e646f.js +0 -1
  1066. package/app/.next-cli-build/static/chunks/app/api/cli-tools/openclaw-settings/route-116cfb93931e646f.js +0 -1
  1067. package/app/.next-cli-build/static/chunks/app/api/cli-tools/opencode-settings/route-116cfb93931e646f.js +0 -1
  1068. package/app/.next-cli-build/static/chunks/app/api/cli-tools/pi-settings/route-116cfb93931e646f.js +0 -1
  1069. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/route-116cfb93931e646f.js +0 -1
  1070. package/app/.next-cli-build/static/chunks/app/api/combos/[id]/test/route-116cfb93931e646f.js +0 -1
  1071. package/app/.next-cli-build/static/chunks/app/api/combos/export/route-116cfb93931e646f.js +0 -1
  1072. package/app/.next-cli-build/static/chunks/app/api/combos/import/route-116cfb93931e646f.js +0 -1
  1073. package/app/.next-cli-build/static/chunks/app/api/combos/route-116cfb93931e646f.js +0 -1
  1074. package/app/.next-cli-build/static/chunks/app/api/combos/test/route-116cfb93931e646f.js +0 -1
  1075. package/app/.next-cli-build/static/chunks/app/api/convoy/rules/route-116cfb93931e646f.js +0 -1
  1076. package/app/.next-cli-build/static/chunks/app/api/headroom/extras/route-116cfb93931e646f.js +0 -1
  1077. package/app/.next-cli-build/static/chunks/app/api/headroom/proxy/[...path]/route-116cfb93931e646f.js +0 -1
  1078. package/app/.next-cli-build/static/chunks/app/api/headroom/restart/route-116cfb93931e646f.js +0 -1
  1079. package/app/.next-cli-build/static/chunks/app/api/headroom/start/route-116cfb93931e646f.js +0 -1
  1080. package/app/.next-cli-build/static/chunks/app/api/headroom/status/route-116cfb93931e646f.js +0 -1
  1081. package/app/.next-cli-build/static/chunks/app/api/headroom/stop/route-116cfb93931e646f.js +0 -1
  1082. package/app/.next-cli-build/static/chunks/app/api/health/route-116cfb93931e646f.js +0 -1
  1083. package/app/.next-cli-build/static/chunks/app/api/init/route-116cfb93931e646f.js +0 -1
  1084. package/app/.next-cli-build/static/chunks/app/api/internal/codex-native/lease/[action]/route-116cfb93931e646f.js +0 -1
  1085. package/app/.next-cli-build/static/chunks/app/api/keys/[id]/route-116cfb93931e646f.js +0 -1
  1086. package/app/.next-cli-build/static/chunks/app/api/keys/route-116cfb93931e646f.js +0 -1
  1087. package/app/.next-cli-build/static/chunks/app/api/locale/route-116cfb93931e646f.js +0 -1
  1088. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/message/route-116cfb93931e646f.js +0 -1
  1089. package/app/.next-cli-build/static/chunks/app/api/mcp/[plugin]/sse/route-116cfb93931e646f.js +0 -1
  1090. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/route-116cfb93931e646f.js +0 -1
  1091. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/[id]/test/route-116cfb93931e646f.js +0 -1
  1092. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/instances/route-116cfb93931e646f.js +0 -1
  1093. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/[id]/route-116cfb93931e646f.js +0 -1
  1094. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/keys/route-116cfb93931e646f.js +0 -1
  1095. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/message/route-116cfb93931e646f.js +0 -1
  1096. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/oauth/[id]/[action]/route-116cfb93931e646f.js +0 -1
  1097. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/route-116cfb93931e646f.js +0 -1
  1098. package/app/.next-cli-build/static/chunks/app/api/mcp-gateway/sse/route-116cfb93931e646f.js +0 -1
  1099. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/deepgram/voices/route-116cfb93931e646f.js +0 -1
  1100. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/elevenlabs/voices/route-116cfb93931e646f.js +0 -1
  1101. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/inworld/voices/route-116cfb93931e646f.js +0 -1
  1102. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/minimax/voices/route-116cfb93931e646f.js +0 -1
  1103. package/app/.next-cli-build/static/chunks/app/api/media-providers/tts/voices/route-116cfb93931e646f.js +0 -1
  1104. package/app/.next-cli-build/static/chunks/app/api/models/alias/route-116cfb93931e646f.js +0 -1
  1105. package/app/.next-cli-build/static/chunks/app/api/models/availability/route-116cfb93931e646f.js +0 -1
  1106. package/app/.next-cli-build/static/chunks/app/api/models/catalog-sync/route-116cfb93931e646f.js +0 -1
  1107. package/app/.next-cli-build/static/chunks/app/api/models/custom/route-116cfb93931e646f.js +0 -1
  1108. package/app/.next-cli-build/static/chunks/app/api/models/disabled/route-116cfb93931e646f.js +0 -1
  1109. package/app/.next-cli-build/static/chunks/app/api/models/route-116cfb93931e646f.js +0 -1
  1110. package/app/.next-cli-build/static/chunks/app/api/models/test/route-116cfb93931e646f.js +0 -1
  1111. package/app/.next-cli-build/static/chunks/app/api/oauth/[provider]/[action]/route-116cfb93931e646f.js +0 -1
  1112. package/app/.next-cli-build/static/chunks/app/api/oauth/callback/route-116cfb93931e646f.js +0 -1
  1113. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/bulk-import/route-116cfb93931e646f.js +0 -1
  1114. package/app/.next-cli-build/static/chunks/app/api/oauth/codex/import-token/route-116cfb93931e646f.js +0 -1
  1115. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/auto-import/route-116cfb93931e646f.js +0 -1
  1116. package/app/.next-cli-build/static/chunks/app/api/oauth/cursor/import/route-116cfb93931e646f.js +0 -1
  1117. package/app/.next-cli-build/static/chunks/app/api/oauth/gitlab/pat/route-116cfb93931e646f.js +0 -1
  1118. package/app/.next-cli-build/static/chunks/app/api/oauth/grok-cli/bulk-import/route-116cfb93931e646f.js +0 -1
  1119. package/app/.next-cli-build/static/chunks/app/api/oauth/iflow/cookie/route-116cfb93931e646f.js +0 -1
  1120. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/api-key/route-116cfb93931e646f.js +0 -1
  1121. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/auto-import/route-116cfb93931e646f.js +0 -1
  1122. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import/route-116cfb93931e646f.js +0 -1
  1123. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/import-cli-proxy/route-116cfb93931e646f.js +0 -1
  1124. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-authorize/route-116cfb93931e646f.js +0 -1
  1125. package/app/.next-cli-build/static/chunks/app/api/oauth/kiro/social-exchange/route-116cfb93931e646f.js +0 -1
  1126. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/api-key/route-116cfb93931e646f.js +0 -1
  1127. package/app/.next-cli-build/static/chunks/app/api/oauth/xiaomi-mimo/auto-import/route-116cfb93931e646f.js +0 -1
  1128. package/app/.next-cli-build/static/chunks/app/api/pricing/route-116cfb93931e646f.js +0 -1
  1129. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/[id]/route-116cfb93931e646f.js +0 -1
  1130. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/route-116cfb93931e646f.js +0 -1
  1131. package/app/.next-cli-build/static/chunks/app/api/provider-nodes/validate/route-116cfb93931e646f.js +0 -1
  1132. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/models/route-116cfb93931e646f.js +0 -1
  1133. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/refresh-profile/route-116cfb93931e646f.js +0 -1
  1134. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/route-116cfb93931e646f.js +0 -1
  1135. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test/route-116cfb93931e646f.js +0 -1
  1136. package/app/.next-cli-build/static/chunks/app/api/providers/[id]/test-models/route-116cfb93931e646f.js +0 -1
  1137. package/app/.next-cli-build/static/chunks/app/api/providers/client/route-116cfb93931e646f.js +0 -1
  1138. package/app/.next-cli-build/static/chunks/app/api/providers/kilo/free-models/route-116cfb93931e646f.js +0 -1
  1139. package/app/.next-cli-build/static/chunks/app/api/providers/route-116cfb93931e646f.js +0 -1
  1140. package/app/.next-cli-build/static/chunks/app/api/providers/suggested-models/route-116cfb93931e646f.js +0 -1
  1141. package/app/.next-cli-build/static/chunks/app/api/providers/test-batch/route-116cfb93931e646f.js +0 -1
  1142. package/app/.next-cli-build/static/chunks/app/api/providers/validate/route-116cfb93931e646f.js +0 -1
  1143. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/route-116cfb93931e646f.js +0 -1
  1144. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/[id]/test/route-116cfb93931e646f.js +0 -1
  1145. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/cloudflare-deploy/route-116cfb93931e646f.js +0 -1
  1146. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/deno-deploy/route-116cfb93931e646f.js +0 -1
  1147. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/route-116cfb93931e646f.js +0 -1
  1148. package/app/.next-cli-build/static/chunks/app/api/proxy-pools/vercel-deploy/route-116cfb93931e646f.js +0 -1
  1149. package/app/.next-cli-build/static/chunks/app/api/pxpipe/health/route-116cfb93931e646f.js +0 -1
  1150. package/app/.next-cli-build/static/chunks/app/api/pxpipe/install/route-116cfb93931e646f.js +0 -1
  1151. package/app/.next-cli-build/static/chunks/app/api/pxpipe/logs/route-116cfb93931e646f.js +0 -1
  1152. package/app/.next-cli-build/static/chunks/app/api/pxpipe/restart/route-116cfb93931e646f.js +0 -1
  1153. package/app/.next-cli-build/static/chunks/app/api/pxpipe/start/route-116cfb93931e646f.js +0 -1
  1154. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stats/route-116cfb93931e646f.js +0 -1
  1155. package/app/.next-cli-build/static/chunks/app/api/pxpipe/status/route-116cfb93931e646f.js +0 -1
  1156. package/app/.next-cli-build/static/chunks/app/api/pxpipe/stop/route-116cfb93931e646f.js +0 -1
  1157. package/app/.next-cli-build/static/chunks/app/api/routing-health/route-116cfb93931e646f.js +0 -1
  1158. package/app/.next-cli-build/static/chunks/app/api/settings/database/route-116cfb93931e646f.js +0 -1
  1159. package/app/.next-cli-build/static/chunks/app/api/settings/proxy-test/route-116cfb93931e646f.js +0 -1
  1160. package/app/.next-cli-build/static/chunks/app/api/settings/require-login/route-116cfb93931e646f.js +0 -1
  1161. package/app/.next-cli-build/static/chunks/app/api/settings/route-116cfb93931e646f.js +0 -1
  1162. package/app/.next-cli-build/static/chunks/app/api/shutdown/route-116cfb93931e646f.js +0 -1
  1163. package/app/.next-cli-build/static/chunks/app/api/tags/route-116cfb93931e646f.js +0 -1
  1164. package/app/.next-cli-build/static/chunks/app/api/token-saver/stats/route-116cfb93931e646f.js +0 -1
  1165. package/app/.next-cli-build/static/chunks/app/api/token-saver/stream/route-116cfb93931e646f.js +0 -1
  1166. package/app/.next-cli-build/static/chunks/app/api/tool-disclosure/stats/route-116cfb93931e646f.js +0 -1
  1167. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/route-116cfb93931e646f.js +0 -1
  1168. package/app/.next-cli-build/static/chunks/app/api/translator/console-logs/stream/route-116cfb93931e646f.js +0 -1
  1169. package/app/.next-cli-build/static/chunks/app/api/translator/load/route-116cfb93931e646f.js +0 -1
  1170. package/app/.next-cli-build/static/chunks/app/api/translator/save/route-116cfb93931e646f.js +0 -1
  1171. package/app/.next-cli-build/static/chunks/app/api/translator/send/route-116cfb93931e646f.js +0 -1
  1172. package/app/.next-cli-build/static/chunks/app/api/translator/translate/route-116cfb93931e646f.js +0 -1
  1173. package/app/.next-cli-build/static/chunks/app/api/tunnel/disable/route-116cfb93931e646f.js +0 -1
  1174. package/app/.next-cli-build/static/chunks/app/api/tunnel/enable/route-116cfb93931e646f.js +0 -1
  1175. package/app/.next-cli-build/static/chunks/app/api/tunnel/status/route-116cfb93931e646f.js +0 -1
  1176. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-check/route-116cfb93931e646f.js +0 -1
  1177. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-disable/route-116cfb93931e646f.js +0 -1
  1178. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-enable/route-116cfb93931e646f.js +0 -1
  1179. package/app/.next-cli-build/static/chunks/app/api/tunnel/tailscale-install/route-116cfb93931e646f.js +0 -1
  1180. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/codex-reset-credits/route-116cfb93931e646f.js +0 -1
  1181. package/app/.next-cli-build/static/chunks/app/api/usage/[connectionId]/route-116cfb93931e646f.js +0 -1
  1182. package/app/.next-cli-build/static/chunks/app/api/usage/chart/route-116cfb93931e646f.js +0 -1
  1183. package/app/.next-cli-build/static/chunks/app/api/usage/error-logs/route-116cfb93931e646f.js +0 -1
  1184. package/app/.next-cli-build/static/chunks/app/api/usage/history/route-116cfb93931e646f.js +0 -1
  1185. package/app/.next-cli-build/static/chunks/app/api/usage/logs/route-116cfb93931e646f.js +0 -1
  1186. package/app/.next-cli-build/static/chunks/app/api/usage/providers/route-116cfb93931e646f.js +0 -1
  1187. package/app/.next-cli-build/static/chunks/app/api/usage/request-details/route-116cfb93931e646f.js +0 -1
  1188. package/app/.next-cli-build/static/chunks/app/api/usage/request-logs/route-116cfb93931e646f.js +0 -1
  1189. package/app/.next-cli-build/static/chunks/app/api/usage/stats/route-116cfb93931e646f.js +0 -1
  1190. package/app/.next-cli-build/static/chunks/app/api/usage/stream/route-116cfb93931e646f.js +0 -1
  1191. package/app/.next-cli-build/static/chunks/app/api/v1/alpha/search/route-116cfb93931e646f.js +0 -1
  1192. package/app/.next-cli-build/static/chunks/app/api/v1/api/chat/route-116cfb93931e646f.js +0 -1
  1193. package/app/.next-cli-build/static/chunks/app/api/v1/audio/speech/route-116cfb93931e646f.js +0 -1
  1194. package/app/.next-cli-build/static/chunks/app/api/v1/audio/transcriptions/route-116cfb93931e646f.js +0 -1
  1195. package/app/.next-cli-build/static/chunks/app/api/v1/audio/voices/route-116cfb93931e646f.js +0 -1
  1196. package/app/.next-cli-build/static/chunks/app/api/v1/chat/completions/route-116cfb93931e646f.js +0 -1
  1197. package/app/.next-cli-build/static/chunks/app/api/v1/codex/alpha/search/route-116cfb93931e646f.js +0 -1
  1198. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/edits/route-116cfb93931e646f.js +0 -1
  1199. package/app/.next-cli-build/static/chunks/app/api/v1/codex/images/generations/route-116cfb93931e646f.js +0 -1
  1200. package/app/.next-cli-build/static/chunks/app/api/v1/codex/memories/trace_summarize/route-116cfb93931e646f.js +0 -1
  1201. package/app/.next-cli-build/static/chunks/app/api/v1/codex/models/route-116cfb93931e646f.js +0 -1
  1202. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/compact/route-116cfb93931e646f.js +0 -1
  1203. package/app/.next-cli-build/static/chunks/app/api/v1/codex/responses/route-116cfb93931e646f.js +0 -1
  1204. package/app/.next-cli-build/static/chunks/app/api/v1/embeddings/route-116cfb93931e646f.js +0 -1
  1205. package/app/.next-cli-build/static/chunks/app/api/v1/images/generations/route-116cfb93931e646f.js +0 -1
  1206. package/app/.next-cli-build/static/chunks/app/api/v1/messages/count_tokens/route-116cfb93931e646f.js +0 -1
  1207. package/app/.next-cli-build/static/chunks/app/api/v1/messages/route-116cfb93931e646f.js +0 -1
  1208. package/app/.next-cli-build/static/chunks/app/api/v1/models/[...model]/route-116cfb93931e646f.js +0 -1
  1209. package/app/.next-cli-build/static/chunks/app/api/v1/models/info/route-116cfb93931e646f.js +0 -1
  1210. package/app/.next-cli-build/static/chunks/app/api/v1/models/route-116cfb93931e646f.js +0 -1
  1211. package/app/.next-cli-build/static/chunks/app/api/v1/responses/compact/route-116cfb93931e646f.js +0 -1
  1212. package/app/.next-cli-build/static/chunks/app/api/v1/responses/route-116cfb93931e646f.js +0 -1
  1213. package/app/.next-cli-build/static/chunks/app/api/v1/route-116cfb93931e646f.js +0 -1
  1214. package/app/.next-cli-build/static/chunks/app/api/v1/search/route-116cfb93931e646f.js +0 -1
  1215. package/app/.next-cli-build/static/chunks/app/api/v1/videos/[id]/route-116cfb93931e646f.js +0 -1
  1216. package/app/.next-cli-build/static/chunks/app/api/v1/videos/edits/route-116cfb93931e646f.js +0 -1
  1217. package/app/.next-cli-build/static/chunks/app/api/v1/videos/extensions/route-116cfb93931e646f.js +0 -1
  1218. package/app/.next-cli-build/static/chunks/app/api/v1/videos/generations/route-116cfb93931e646f.js +0 -1
  1219. package/app/.next-cli-build/static/chunks/app/api/v1/web/fetch/route-116cfb93931e646f.js +0 -1
  1220. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/[...path]/route-116cfb93931e646f.js +0 -1
  1221. package/app/.next-cli-build/static/chunks/app/api/v1beta/models/route-116cfb93931e646f.js +0 -1
  1222. package/app/.next-cli-build/static/chunks/app/api/version/route-116cfb93931e646f.js +0 -1
  1223. package/app/.next-cli-build/static/chunks/app/api/version/shutdown/route-116cfb93931e646f.js +0 -1
  1224. package/app/.next-cli-build/static/chunks/app/api/version/update/route-116cfb93931e646f.js +0 -1
  1225. package/app/.next-cli-build/static/chunks/app/manifest.webmanifest/route-116cfb93931e646f.js +0 -1
  1226. package/app/.next-cli-build/static/chunks/app/page-116cfb93931e646f.js +0 -1
  1227. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/app-error-116cfb93931e646f.js +0 -1
  1228. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/forbidden-116cfb93931e646f.js +0 -1
  1229. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/not-found-116cfb93931e646f.js +0 -1
  1230. package/app/.next-cli-build/static/chunks/next/dist/client/components/builtin/unauthorized-116cfb93931e646f.js +0 -1
  1231. package/app/.next-cli-build/static/css/0eff34602d3e892b.css +0 -1
  1232. package/app/.next-cli-build/static/oyS1XiDjniuGAbO4WH-Hr/_buildManifest.js +0 -1
  1233. /package/app/.next-cli-build/static/{oyS1XiDjniuGAbO4WH-Hr → 5WoZ9O2i6m7EB5bVhSiW3}/_ssgManifest.js +0 -0
@@ -50,7 +50,7 @@ ${c}
50
50
  `.replace(/'/g,"'\\''");await t(`printf '%s' '${e}' | tee ${q} > /dev/null`,b),await u(b)}i(`🌐 DNS ${a}: ✅ added ${d.join(", ")}`)}catch(a){throw Error(a.message?.includes("incorrect password")?"Wrong sudo password":`Failed to add DNS entry: ${a.message}`)}}async function x(a,b){let c=k[a];if(!c)throw Error(`Unknown tool: ${a}`);let d=c.filter(a=>v(a));if(0===d.length)return void i(`🌐 DNS ${a}: already inactive`);try{if(o){let a=g.readFileSync(q,"utf8"),b=a.split(/\r?\n/).filter(a=>!d.some(b=>a.includes(b))).join("\r\n").replace(/[\r\n\s]+$/g,"")+"\r\n";n(q,a,b),await l("ipconfig /flushdns | Out-Null")}else{let a=(g.readFileSync(q,"utf8").split(/\r?\n/).filter(a=>!d.some(b=>a.includes(b))).join("\n").replace(/[\r\n\s]+$/g,"")+"\n").replace(/'/g,"'\\''");await t(`printf '%s' '${a}' | tee ${q} > /dev/null`,b),await u(b)}i(`🌐 DNS ${a}: ✅ removed ${d.join(", ")}`)}catch(a){throw Error(a.message?.includes("incorrect password")?"Wrong sudo password":`Failed to remove DNS entry: ${a.message}`)}}async function y(a){for(let b of Object.keys(k))try{await x(b,a)}catch(a){j(`DNS ${b}: failed to remove — ${a.message}`)}}a.exports={TOOL_HOSTS:k,addDNSEntry:w,removeDNSEntry:x,removeAllDNSEntries:y,removeAllDNSEntriesSync:function(){try{if(!g.existsSync(q))return;let a=Object.values(k).flat(),b=g.readFileSync(q,"utf8"),c=o?"\r\n":"\n",d=b.split(/\r?\n/).filter(b=>!a.some(a=>b.includes(a))).join(c).replace(/[\r\n\s]+$/g,"")+c;if(d===b)return;try{g.writeFileSync(q,d,"utf8")}catch(b){if(o)try{let b=`$h='${q}'; $t=@(${a.map(a=>`'${a}'`).join(",")}); $c=(Get-Content -LiteralPath $h | Where-Object { $l=$_; -not ($t | Where-Object { $l -match [regex]::Escape($_) }) }); Set-Content -LiteralPath $h -Value $c; ipconfig /flushdns`,c=Buffer.from(b,"utf16le").toString("base64");f(`powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -EncodedCommand ${c}`,{windowsHide:!0,stdio:"ignore"})}catch{}}if(o)try{f("ipconfig /flushdns",{windowsHide:!0,stdio:"ignore"})}catch{}else if(p)try{f("dscacheutil -flushcache && killall -HUP mDNSResponder",{stdio:"ignore"})}catch{}else try{f("resolvectl flush-caches 2>/dev/null || true",{stdio:"ignore"})}catch{}}catch{}},execWithPassword:t,isSudoAvailable:r,canRunSudoWithoutPassword:s,isSudoPasswordRequired:function(){return!o&&r()&&!s()},checkDNSEntry:v,checkAllDNSStatus:function(){try{let a=g.readFileSync(q,"utf8"),b={};for(let[c,d]of Object.entries(k))b[c]=d.every(b=>a.includes(b));return b}catch{return Object.fromEntries(Object.keys(k).map(a=>[a,!1]))}}}},78335:()=>{},82193:(a,b,c)=>{"use strict";let d=c(29021),e=c(33873),f=c(21820),g="ezrouter";function h(){return"win32"===process.platform?e.join(process.env.APPDATA||e.join(f.homedir(),"AppData","Roaming"),g):e.join(f.homedir(),`.${g}`)}let i=function(){let a=process.env.DATA_DIR;if(!a)return h();try{return d.mkdirSync(a,{recursive:!0}),a}catch(b){if(b?.code==="EACCES"||b?.code==="EPERM")return console.warn(`[DATA_DIR] '${a}' not writable → fallback ~/.${g}`),h();throw b}}(),j=e.join(i,"mitm");a.exports={DATA_DIR:i,MITM_DIR:j}},85341:a=>{"use strict";a.exports={TOOL_HOSTS:{antigravity:["daily-cloudcode-pa.googleapis.com","cloudcode-pa.googleapis.com"],copilot:["api.individual.githubcopilot.com"],kiro:["runtime.us-east-1.kiro.dev","q.us-east-1.amazonaws.com","codewhisperer.us-east-1.amazonaws.com"],cursor:["api2.cursor.sh"]}}},87777:(a,b,c)=>{"use strict";let d=c(29021),e=c(33873),f=c(74075),{DATA_DIR:g}=c(82193),{LOG_BLACKLIST_URL_PARTS:h}=c(17511);function i(){return new Date().toLocaleTimeString("en-US",{hour12:!1})}let j=e.join(g,"logs","mitm");d.existsSync(j)||d.mkdirSync(j,{recursive:!0});let k=/^\s*(\{\s*\}|\[\s*\]|null)?\s*$/;function l(a,b=80){return String(a).replace(/[^a-zA-Z0-9]/g,"_").substring(0,b)}function m(a){return!!a&&h.some(b=>a.includes(b))}a.exports={log:a=>console.log(`[${i()}] [MITM] ${a}`),err:a=>console.error(`[${i()}] ❌ [MITM] ${a}`),dumpRequest:function(a,b,c="raw"){if(m(a.url))return null;try{let f=new Date().toISOString().replace(/[:.]/g,"-"),g=l((a.headers.host||"")+a.url),h=e.join(j,`${f}_${c}_${g}.req.json`),i=null;try{i=JSON.parse(b.toString())}catch{}return d.writeFileSync(h,JSON.stringify({method:a.method,url:a.url,host:a.headers.host,headers:a.headers,body:i??b.toString("utf8")},null,2)),h}catch{return null}},createResponseDumper:function(a,b="raw"){if(m(a.url))return null;let c=new Date().toISOString().replace(/[:.]/g,"-"),g=l((a.headers.host||"")+a.url),h=e.join(j,`${c}_${b}_${g}.res.txt`),i=0,n={},o=[];return{writeHeader:(a,b)=>{i=a,n=b||{}},writeChunk:a=>{null!=a&&o.push(Buffer.isBuffer(a)?a:Buffer.from(a))},end:()=>{try{let a=Buffer.concat(o),b=n["content-encoding"]||n["Content-Encoding"],c=(function(a,b){if(!a||0===a.length)return a;try{let c=(b||"").toLowerCase();if(c.includes("gzip"))return f.gunzipSync(a);if(c.includes("br"))return f.brotliDecompressSync(a);if(c.includes("deflate"))return f.inflateSync(a)}catch{}return a})(a,b).toString("utf8");if(k.test(c))return;let e={...n};delete e["content-encoding"],delete e["Content-Encoding"];let g=`STATUS: ${i}
51
51
  HEADERS: ${JSON.stringify(e,null,2)}
52
52
  ---BODY---
53
- ${c}`;d.writeFileSync(h,g)}catch{}},file:h}},clearDumpDir:function(){try{if(!d.existsSync(j))return;for(let a of d.readdirSync(j))try{d.rmSync(e.join(j,a),{recursive:!0,force:!0})}catch{}}catch{}}}},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,bI:()=>d.bI,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(6816)},96182:(a,b,c)=>{"use strict";let{exec:d,spawn:e,execSync:f}=c(79646),g=c(33873),h=c(29021),i=c(21820),j=c(91645),k=c(55591),l=c(55511),{addDNSEntry:m,removeDNSEntry:n,removeAllDNSEntries:o,removeAllDNSEntriesSync:p,checkAllDNSStatus:q,TOOL_HOSTS:r,isSudoAvailable:s,isSudoPasswordRequired:t}=c(66936),{isAdmin:u}=c(64809),v="win32"===process.platform,w="darwin"===process.platform,{generateCert:x}=c(26033),{installCert:y,uninstallCert:z}=c(9631),{isCertExpired:A}=c(8578),{DATA_DIR:B,MITM_DIR:C}=c(82193),{log:D,err:E}=c(87777),{LSOF_BIN:F}=c(17511),G="http://localhost:20126";function H(a){return null==a||""===a?"''":`'${String(a).replace(/'/g,"'\\''")}'`}async function I(){if(!aa)return G;try{let a=await aa(),b=a&&null!=a.mitmRouterBaseUrl?String(a.mitmRouterBaseUrl).trim():"";if(!b)return G;let c=new URL(b);if("http:"!==c.protocol&&"https:"!==c.protocol)return G;return b.replace(/\/+$/,"")}catch{return G}}let J=g.join(C,".mitm.pid"),K=g.join(C,".mitm.lock"),L=[5e3,1e4,2e4,3e4,6e4],M=0,N=0,O=!1;function P(){if(process.env.MITM_SERVER_PATH)return process.env.MITM_SERVER_PATH;let a=g.join(__dirname,"server.js");if(h.existsSync(a))return a;let b=g.join(process.cwd(),"src","mitm","server.js");if(h.existsSync(b))return b;let c=g.join(process.cwd(),"..","src","mitm","server.js");return h.existsSync(c)?c:b}function Q(a){try{if(!a||!h.existsSync(a)||!a.includes(`${g.sep}node_modules${g.sep}`))return a;let b=g.join(B,"runtime","mitm"),c=g.join(b,"server.js");if(h.existsSync(c))try{if(h.statSync(a).size===h.statSync(c).size)return c}catch{}return h.mkdirSync(b,{recursive:!0}),h.copyFileSync(a,c),c}catch(b){try{D(`[MITM] runtime copy failed: ${b.message}`)}catch{}return a}}let R=Q(P()),S="aes-256-gcm",T="9router-mitm-pwd",U=null,V=null;function W(){return globalThis.__mitmSudoPassword||null}function X(a){globalThis.__mitmSudoPassword=a}function Y(a){try{return process.kill(a,0),!0}catch(a){return"EACCES"===a.code}}function Z(a,b=!1,e=null){if(v)d(`taskkill ${b?"/F ":""}/PID ${a}`,{windowsHide:!0},()=>{});else{let f=b?"SIGKILL":"SIGTERM",g=`pkill -${f} -P ${a} 2>/dev/null; kill -${f} ${a} 2>/dev/null`;if(e||s()){let{execWithPassword:a}=c(66936);a(g,e||"").catch(()=>d(g,{windowsHide:!0},()=>{}))}else d(g,{windowsHide:!0},()=>{})}}let $=null;function _(){if($)return $;try{let{machineIdSync:a}=c(19713),b=a();$=l.createHash("sha256").update(b+T).digest()}catch{$=l.createHash("sha256").update(T).digest()}return $}let aa=null,ab=null;async function ac(a,b){if(ab)try{let c,d,e,f,g,h={mitmEnabled:a};b&&(c=_(),d=l.randomBytes(12),e=l.createCipheriv(S,c,d),f=Buffer.concat([e.update(b,"utf8"),e.final()]),g=e.getAuthTag(),h.mitmSudoEncrypted=`${d.toString("hex")}:${g.toString("hex")}:${f.toString("hex")}`),await ab(h)}catch(a){E(`Failed to save settings: ${a.message}`)}}async function ad(){if(ab)try{await ab({mitmSudoEncrypted:null})}catch(a){E(`Failed to clear encrypted password: ${a.message}`)}}async function ae(){if(!aa)return null;try{let a=await aa();if(!a.mitmSudoEncrypted)return null;return function(a){try{let[b,c,d]=a.split(":");if(!b||!c||!d)return null;let e=_(),f=l.createDecipheriv(S,e,Buffer.from(b,"hex"));return f.setAuthTag(Buffer.from(c,"hex")),f.update(Buffer.from(d,"hex"))+f.final("utf8")}catch{return null}}(a.mitmSudoEncrypted)}catch{return null}}async function af(a,b){if(ab&&aa)try{let c={...(await aa()).dnsToolEnabled||{},[a]:b};await ab({dnsToolEnabled:c})}catch(a){E(`Failed to save DNS state: ${a.message}`)}}async function ag(){if(!aa)return{};try{return(await aa()).dnsToolEnabled||{}}catch{return{}}}async function ah(a){let b=await al();if(!b?.running){try{p()}catch{}D("DNS restore: MITM server is not running, skipping tool DNS restoration & cleaning hosts");return}let c=await ag(),d=a||W()||await ae();for(let[a,b]of Object.entries(c))if(b&&r[a])try{await m(a,d)}catch(b){E(`DNS ${a}: restore failed — ${b.message}`)}}async function ai(){return v?u():!(!u()&&t())||!!(W()||await ae())}function aj(a){return new Promise(a=>{v?d('powershell -NonInteractive -WindowStyle Hidden -Command "$c = Get-NetTCPConnection -LocalPort 443 -State Listen -ErrorAction SilentlyContinue | Select-Object -First 1; if ($c) { $c.OwningProcess } else { 0 }"',{windowsHide:!0},(b,c)=>{if(b)return a(null);let e=parseInt(c.trim(),10);if(!e||e<=4)return a(null);d(`tasklist /FI "PID eq ${e}" /FO CSV /NH`,{windowsHide:!0},(b,c)=>{let d=c?.match(/"([^"]+)"/);a({pid:e,name:d?d[1]:"unknown"})})}):d(`${F} -nP -iTCP:443 -sTCP:LISTEN -t`,{windowsHide:!0},(b,c)=>{if(b||!c?.trim())return a(null);let e=parseInt(c.trim().split("\n")[0],10);if(!e||isNaN(e))return a(null);d(`ps -p ${e} -o comm=`,{windowsHide:!0},(b,c)=>{a({pid:e,name:c?.trim()||"unknown"})})})})}async function ak(a){if(U&&!U.killed){try{U.kill("SIGKILL")}catch{}U=null,V=null}try{if(h.existsSync(J)){let b=parseInt(h.readFileSync(J,"utf-8").trim(),10);b&&Y(b)&&(Z(b,!0,a),await new Promise(a=>setTimeout(a,500))),h.unlinkSync(J)}}catch{}if(!v&&R)try{let b=R.replace(/'/g,"'\\''");if(a||s()){let{execWithPassword:d}=c(66936);await d(`pkill -SIGKILL -f "${b}" 2>/dev/null || true`,a||"").catch(()=>{})}else d(`pkill -SIGKILL -f "${b}" 2>/dev/null || true`,{windowsHide:!0},()=>{});await new Promise(a=>setTimeout(a,500))}catch{}}async function al(){let a=null!==U&&!U.killed,b=V;if(!a)try{if(h.existsSync(J)){let c=parseInt(h.readFileSync(J,"utf-8").trim(),10);c&&Y(c)?(a=!0,b=c):h.unlinkSync(J)}}catch{}let d=q(),e=g.join(C,"rootCA.crt"),f=h.existsSync(e),{checkCertInstalled:i}=c(9631),j=!!f&&await i(e);return{running:a,pid:b,certExists:f,certTrusted:j,dnsStatus:d}}async function am(a){if(O)return;if(O=!0,Date.now()-N>=6e4&&(M=0),M>=5){E("Max restart attempts reached. Giving up."),O=!1;return}let b=L[Math.min(M,L.length-1)];M++,D(`Restarting in ${b/1e3}s... (${M}/5)`),await new Promise(a=>setTimeout(a,b));try{let b=aa?await aa():null;if(b&&!b.mitmEnabled){D("MITM disabled, skipping restart"),O=!1;return}let c=W()||await ae();if(!c&&!v){E("No cached password, cannot auto-restart"),O=!1;return}await ao(a,c),D("\uD83D\uDD04 Restarted successfully"),M=0,O=!1}catch(b){E(`Restart attempt ${M}/5 failed: ${b.message}`),O=!1,am(a)}}async function an(a,b){if(a&&a.pid){if(v)try{f(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${a.pid} -Force -ErrorAction SilentlyContinue"`,{windowsHide:!0})}catch{}else try{let{execWithPassword:d}=c(66936);b||s()?await d(`kill -9 ${a.pid}`,b||""):f(`kill -9 ${a.pid}`,{windowsHide:!0})}catch{}await new Promise(a=>setTimeout(a,800))}}async function ao(a,b,l=!1){if(!U||U.killed)try{if(h.existsSync(J)){let a=parseInt(h.readFileSync(J,"utf-8").trim(),10);if(a&&Y(a))return V=a,D(`♻️ Reusing existing process (PID: ${a})`),await ac(!0,b),b&&X(b),{running:!0,pid:a};h.unlinkSync(J)}}catch{}if(U&&!U.killed)throw Error("MITM server is already running");try{h.writeFileSync(K,String(process.pid),{flag:"wx"})}catch(a){if("EEXIST"===a.code){let a=!1;try{let b=parseInt(h.readFileSync(K,"utf-8").trim(),10);a=!b||!Y(b)}catch{a=!0}if(!a)throw Error("MITM server is already starting (lock contention)");try{h.unlinkSync(K)}catch{}h.writeFileSync(K,String(process.pid),{flag:"wx"})}else throw a}try{if(await ak(b),!v){let a=await new Promise(a=>{let b=j.createServer();b.once("error",b=>{"EADDRINUSE"===b.code?a("in-use"):a("no-permission")}),b.once("listening",()=>{b.close(()=>a("free"))}),b.listen(443,"127.0.0.1")});if("in-use"===a||"no-permission"===a){let a=await aj(b);if(a){let c=a.name.includes("/")?a.name.split("/").filter(Boolean).pop():a.name;if(l)D(`Killing process on port 443 (PID ${a.pid}, name=${c})...`),await an(a,b);else{let b=Error(`Port 443 is already in use by "${c}" (PID ${a.pid}).`);throw b.code="PORT_443_BUSY",b.portOwner={pid:a.pid,name:c},b}}}}let m=g.join(C,"rootCA.crt"),n=g.join(C,"rootCA.key"),o=h.existsSync(m)&&h.existsSync(n);if(!o||A(m)){if(o){D("\uD83D\uDD10 Cert expired — uninstalling old cert...");let a=b||W()||await ae();try{await z(a,m)}catch{}}D("\uD83D\uDD10 Generating Root CA..."),await x()}let{checkCertInstalled:r}=c(9631),u=await r(m),B=!v&&!w&&!s();if(u)D("\uD83D\uDD10 Cert: already trusted ✅");else{D("\uD83D\uDD10 Cert: not trusted → installing...");let a=b||W()||await ae();if(B)D(`🔐 Cert: skipping system trust (no sudo). Install ${m} as a trusted CA on machines that use this proxy.`);else{if(!a&&t())throw Error("Sudo password required to install Root CA certificate");try{await y(a,m),D("\uD83D\uDD10 Cert: ✅ trusted")}catch(a){throw Error(`Failed to trust certificate: ${a.message}`)}}}let G=R;if((!G||!h.existsSync(G))&&(D(`[MITM] server.js missing at ${G} → recopying`),!(G=Q(P()))||!h.existsSync(G)))throw Error(`MITM server.js not found at ${G}. Reinstall EzRouter.`);let L=await I();if(D(`🚀 Starting server... (router: ${L})`),v){let c=await aj(b);if(c)if(l)D(`Killing process on port 443 (PID ${c.pid}, name=${c.name})...`),await an(c,b);else{let a=Error(`Port 443 is already in use by "${c.name}" (PID ${c.pid}).`);throw a.code="PORT_443_BUSY",a.portOwner={pid:c.pid,name:c.name},a}U=e(process.execPath,[G],{detached:!1,windowsHide:!0,cwd:i.tmpdir(),stdio:["ignore","pipe","pipe"],env:{...process.env,ROUTER_API_KEY:a,NODE_ENV:"production",MITM_ROUTER_BASE:L}}),ab&&await ab({mitmCertInstalled:!0}).catch(()=>{})}else if(s()){let c=[`HOME=${H(i.homedir())}`,`ROUTER_API_KEY=${H(a)}`,`MITM_ROUTER_BASE=${H(L)}`,"NODE_ENV=production",H(process.execPath),H(G)].join(" ");(U=e("sudo",["-S","-E","sh","-c",c],{detached:!1,windowsHide:!0,stdio:["pipe","pipe","pipe"]})).stdin.write(`${b}
53
+ ${c}`;d.writeFileSync(h,g)}catch{}},file:h}},clearDumpDir:function(){try{if(!d.existsSync(j))return;for(let a of d.readdirSync(j))try{d.rmSync(e.join(j,a),{recursive:!0,force:!0})}catch{}}catch{}}}},89718:(a,b,c)=>{"use strict";c.d(b,{$e:()=>d.$e,CF:()=>d.CF,CG:()=>d.CG,Dj:()=>d.Dj,Fh:()=>d.Fh,Iq:()=>d.Iq,K1:()=>d.K1,KJ:()=>d.KJ,Ko:()=>d.Ko,L:()=>d.L,L9:()=>d.L9,Lh:()=>d.Lh,Mc:()=>d.Mc,OM:()=>d.OM,PX:()=>d.PX,Pc:()=>d.Pc,Q6:()=>d.Q6,Q_:()=>d.Q_,Qu:()=>d.Qu,RT:()=>d.RT,S8:()=>d.S8,Uv:()=>d.Uv,VT:()=>d.VT,XW:()=>d.XW,Xx:()=>d.Xx,Yd:()=>d.Yd,ZO:()=>d.ZO,__:()=>d.__,aQ:()=>d.aQ,bI:()=>d.bI,c:()=>d.c,dA:()=>d.dA,ek:()=>d.ek,fK:()=>d.fK,fv:()=>d.fv,getProviderConnections:()=>d.P,ho:()=>d.ho,hr:()=>d.hr,i0:()=>d.i0,iE:()=>d.iE,jd:()=>d.jd,lk:()=>d.lk,mV:()=>d.mV,mt:()=>d.mt,o5:()=>d.o5,oG:()=>d.oG,op:()=>d.op,pO:()=>d.pO,qr:()=>d.qr,r4:()=>d.r4,sZ:()=>d.sZ,t$:()=>d.t$,uL:()=>d.uL,ui:()=>d.ui,updateProviderConnection:()=>d.rj,uv:()=>d.uv,xN:()=>d.xN,y7:()=>d.y7,yF:()=>d.yF,yg:()=>d.yg,zP:()=>d.zP});var d=c(53267)},96182:(a,b,c)=>{"use strict";let{exec:d,spawn:e,execSync:f}=c(79646),g=c(33873),h=c(29021),i=c(21820),j=c(91645),k=c(55591),l=c(55511),{addDNSEntry:m,removeDNSEntry:n,removeAllDNSEntries:o,removeAllDNSEntriesSync:p,checkAllDNSStatus:q,TOOL_HOSTS:r,isSudoAvailable:s,isSudoPasswordRequired:t}=c(66936),{isAdmin:u}=c(64809),v="win32"===process.platform,w="darwin"===process.platform,{generateCert:x}=c(26033),{installCert:y,uninstallCert:z}=c(9631),{isCertExpired:A}=c(8578),{DATA_DIR:B,MITM_DIR:C}=c(82193),{log:D,err:E}=c(87777),{LSOF_BIN:F}=c(17511),G="http://localhost:20126";function H(a){return null==a||""===a?"''":`'${String(a).replace(/'/g,"'\\''")}'`}async function I(){if(!aa)return G;try{let a=await aa(),b=a&&null!=a.mitmRouterBaseUrl?String(a.mitmRouterBaseUrl).trim():"";if(!b)return G;let c=new URL(b);if("http:"!==c.protocol&&"https:"!==c.protocol)return G;return b.replace(/\/+$/,"")}catch{return G}}let J=g.join(C,".mitm.pid"),K=g.join(C,".mitm.lock"),L=[5e3,1e4,2e4,3e4,6e4],M=0,N=0,O=!1;function P(){if(process.env.MITM_SERVER_PATH)return process.env.MITM_SERVER_PATH;let a=g.join(__dirname,"server.js");if(h.existsSync(a))return a;let b=g.join(process.cwd(),"src","mitm","server.js");if(h.existsSync(b))return b;let c=g.join(process.cwd(),"..","src","mitm","server.js");return h.existsSync(c)?c:b}function Q(a){try{if(!a||!h.existsSync(a)||!a.includes(`${g.sep}node_modules${g.sep}`))return a;let b=g.join(B,"runtime","mitm"),c=g.join(b,"server.js");if(h.existsSync(c))try{if(h.statSync(a).size===h.statSync(c).size)return c}catch{}return h.mkdirSync(b,{recursive:!0}),h.copyFileSync(a,c),c}catch(b){try{D(`[MITM] runtime copy failed: ${b.message}`)}catch{}return a}}let R=Q(P()),S="aes-256-gcm",T="9router-mitm-pwd",U=null,V=null;function W(){return globalThis.__mitmSudoPassword||null}function X(a){globalThis.__mitmSudoPassword=a}function Y(a){try{return process.kill(a,0),!0}catch(a){return"EACCES"===a.code}}function Z(a,b=!1,e=null){if(v)d(`taskkill ${b?"/F ":""}/PID ${a}`,{windowsHide:!0},()=>{});else{let f=b?"SIGKILL":"SIGTERM",g=`pkill -${f} -P ${a} 2>/dev/null; kill -${f} ${a} 2>/dev/null`;if(e||s()){let{execWithPassword:a}=c(66936);a(g,e||"").catch(()=>d(g,{windowsHide:!0},()=>{}))}else d(g,{windowsHide:!0},()=>{})}}let $=null;function _(){if($)return $;try{let{machineIdSync:a}=c(19713),b=a();$=l.createHash("sha256").update(b+T).digest()}catch{$=l.createHash("sha256").update(T).digest()}return $}let aa=null,ab=null;async function ac(a,b){if(ab)try{let c,d,e,f,g,h={mitmEnabled:a};b&&(c=_(),d=l.randomBytes(12),e=l.createCipheriv(S,c,d),f=Buffer.concat([e.update(b,"utf8"),e.final()]),g=e.getAuthTag(),h.mitmSudoEncrypted=`${d.toString("hex")}:${g.toString("hex")}:${f.toString("hex")}`),await ab(h)}catch(a){E(`Failed to save settings: ${a.message}`)}}async function ad(){if(ab)try{await ab({mitmSudoEncrypted:null})}catch(a){E(`Failed to clear encrypted password: ${a.message}`)}}async function ae(){if(!aa)return null;try{let a=await aa();if(!a.mitmSudoEncrypted)return null;return function(a){try{let[b,c,d]=a.split(":");if(!b||!c||!d)return null;let e=_(),f=l.createDecipheriv(S,e,Buffer.from(b,"hex"));return f.setAuthTag(Buffer.from(c,"hex")),f.update(Buffer.from(d,"hex"))+f.final("utf8")}catch{return null}}(a.mitmSudoEncrypted)}catch{return null}}async function af(a,b){if(ab&&aa)try{let c={...(await aa()).dnsToolEnabled||{},[a]:b};await ab({dnsToolEnabled:c})}catch(a){E(`Failed to save DNS state: ${a.message}`)}}async function ag(){if(!aa)return{};try{return(await aa()).dnsToolEnabled||{}}catch{return{}}}async function ah(a){let b=await al();if(!b?.running){try{p()}catch{}D("DNS restore: MITM server is not running, skipping tool DNS restoration & cleaning hosts");return}let c=await ag(),d=a||W()||await ae();for(let[a,b]of Object.entries(c))if(b&&r[a])try{await m(a,d)}catch(b){E(`DNS ${a}: restore failed — ${b.message}`)}}async function ai(){return v?u():!(!u()&&t())||!!(W()||await ae())}function aj(a){return new Promise(a=>{v?d('powershell -NonInteractive -WindowStyle Hidden -Command "$c = Get-NetTCPConnection -LocalPort 443 -State Listen -ErrorAction SilentlyContinue | Select-Object -First 1; if ($c) { $c.OwningProcess } else { 0 }"',{windowsHide:!0},(b,c)=>{if(b)return a(null);let e=parseInt(c.trim(),10);if(!e||e<=4)return a(null);d(`tasklist /FI "PID eq ${e}" /FO CSV /NH`,{windowsHide:!0},(b,c)=>{let d=c?.match(/"([^"]+)"/);a({pid:e,name:d?d[1]:"unknown"})})}):d(`${F} -nP -iTCP:443 -sTCP:LISTEN -t`,{windowsHide:!0},(b,c)=>{if(b||!c?.trim())return a(null);let e=parseInt(c.trim().split("\n")[0],10);if(!e||isNaN(e))return a(null);d(`ps -p ${e} -o comm=`,{windowsHide:!0},(b,c)=>{a({pid:e,name:c?.trim()||"unknown"})})})})}async function ak(a){if(U&&!U.killed){try{U.kill("SIGKILL")}catch{}U=null,V=null}try{if(h.existsSync(J)){let b=parseInt(h.readFileSync(J,"utf-8").trim(),10);b&&Y(b)&&(Z(b,!0,a),await new Promise(a=>setTimeout(a,500))),h.unlinkSync(J)}}catch{}if(!v&&R)try{let b=R.replace(/'/g,"'\\''");if(a||s()){let{execWithPassword:d}=c(66936);await d(`pkill -SIGKILL -f "${b}" 2>/dev/null || true`,a||"").catch(()=>{})}else d(`pkill -SIGKILL -f "${b}" 2>/dev/null || true`,{windowsHide:!0},()=>{});await new Promise(a=>setTimeout(a,500))}catch{}}async function al(){let a=null!==U&&!U.killed,b=V;if(!a)try{if(h.existsSync(J)){let c=parseInt(h.readFileSync(J,"utf-8").trim(),10);c&&Y(c)?(a=!0,b=c):h.unlinkSync(J)}}catch{}let d=q(),e=g.join(C,"rootCA.crt"),f=h.existsSync(e),{checkCertInstalled:i}=c(9631),j=!!f&&await i(e);return{running:a,pid:b,certExists:f,certTrusted:j,dnsStatus:d}}async function am(a){if(O)return;if(O=!0,Date.now()-N>=6e4&&(M=0),M>=5){E("Max restart attempts reached. Giving up."),O=!1;return}let b=L[Math.min(M,L.length-1)];M++,D(`Restarting in ${b/1e3}s... (${M}/5)`),await new Promise(a=>setTimeout(a,b));try{let b=aa?await aa():null;if(b&&!b.mitmEnabled){D("MITM disabled, skipping restart"),O=!1;return}let c=W()||await ae();if(!c&&!v){E("No cached password, cannot auto-restart"),O=!1;return}await ao(a,c),D("\uD83D\uDD04 Restarted successfully"),M=0,O=!1}catch(b){E(`Restart attempt ${M}/5 failed: ${b.message}`),O=!1,am(a)}}async function an(a,b){if(a&&a.pid){if(v)try{f(`powershell -NonInteractive -WindowStyle Hidden -Command "Stop-Process -Id ${a.pid} -Force -ErrorAction SilentlyContinue"`,{windowsHide:!0})}catch{}else try{let{execWithPassword:d}=c(66936);b||s()?await d(`kill -9 ${a.pid}`,b||""):f(`kill -9 ${a.pid}`,{windowsHide:!0})}catch{}await new Promise(a=>setTimeout(a,800))}}async function ao(a,b,l=!1){if(!U||U.killed)try{if(h.existsSync(J)){let a=parseInt(h.readFileSync(J,"utf-8").trim(),10);if(a&&Y(a))return V=a,D(`♻️ Reusing existing process (PID: ${a})`),await ac(!0,b),b&&X(b),{running:!0,pid:a};h.unlinkSync(J)}}catch{}if(U&&!U.killed)throw Error("MITM server is already running");try{h.writeFileSync(K,String(process.pid),{flag:"wx"})}catch(a){if("EEXIST"===a.code){let a=!1;try{let b=parseInt(h.readFileSync(K,"utf-8").trim(),10);a=!b||!Y(b)}catch{a=!0}if(!a)throw Error("MITM server is already starting (lock contention)");try{h.unlinkSync(K)}catch{}h.writeFileSync(K,String(process.pid),{flag:"wx"})}else throw a}try{if(await ak(b),!v){let a=await new Promise(a=>{let b=j.createServer();b.once("error",b=>{"EADDRINUSE"===b.code?a("in-use"):a("no-permission")}),b.once("listening",()=>{b.close(()=>a("free"))}),b.listen(443,"127.0.0.1")});if("in-use"===a||"no-permission"===a){let a=await aj(b);if(a){let c=a.name.includes("/")?a.name.split("/").filter(Boolean).pop():a.name;if(l)D(`Killing process on port 443 (PID ${a.pid}, name=${c})...`),await an(a,b);else{let b=Error(`Port 443 is already in use by "${c}" (PID ${a.pid}).`);throw b.code="PORT_443_BUSY",b.portOwner={pid:a.pid,name:c},b}}}}let m=g.join(C,"rootCA.crt"),n=g.join(C,"rootCA.key"),o=h.existsSync(m)&&h.existsSync(n);if(!o||A(m)){if(o){D("\uD83D\uDD10 Cert expired — uninstalling old cert...");let a=b||W()||await ae();try{await z(a,m)}catch{}}D("\uD83D\uDD10 Generating Root CA..."),await x()}let{checkCertInstalled:r}=c(9631),u=await r(m),B=!v&&!w&&!s();if(u)D("\uD83D\uDD10 Cert: already trusted ✅");else{D("\uD83D\uDD10 Cert: not trusted → installing...");let a=b||W()||await ae();if(B)D(`🔐 Cert: skipping system trust (no sudo). Install ${m} as a trusted CA on machines that use this proxy.`);else{if(!a&&t())throw Error("Sudo password required to install Root CA certificate");try{await y(a,m),D("\uD83D\uDD10 Cert: ✅ trusted")}catch(a){throw Error(`Failed to trust certificate: ${a.message}`)}}}let G=R;if((!G||!h.existsSync(G))&&(D(`[MITM] server.js missing at ${G} → recopying`),!(G=Q(P()))||!h.existsSync(G)))throw Error(`MITM server.js not found at ${G}. Reinstall EzRouter.`);let L=await I();if(D(`🚀 Starting server... (router: ${L})`),v){let c=await aj(b);if(c)if(l)D(`Killing process on port 443 (PID ${c.pid}, name=${c.name})...`),await an(c,b);else{let a=Error(`Port 443 is already in use by "${c.name}" (PID ${c.pid}).`);throw a.code="PORT_443_BUSY",a.portOwner={pid:c.pid,name:c.name},a}U=e(process.execPath,[G],{detached:!1,windowsHide:!0,cwd:i.tmpdir(),stdio:["ignore","pipe","pipe"],env:{...process.env,ROUTER_API_KEY:a,NODE_ENV:"production",MITM_ROUTER_BASE:L}}),ab&&await ab({mitmCertInstalled:!0}).catch(()=>{})}else if(s()){let c=[`HOME=${H(i.homedir())}`,`ROUTER_API_KEY=${H(a)}`,`MITM_ROUTER_BASE=${H(L)}`,"NODE_ENV=production",H(process.execPath),H(G)].join(" ");(U=e("sudo",["-S","-E","sh","-c",c],{detached:!1,windowsHide:!0,stdio:["pipe","pipe","pipe"]})).stdin.write(`${b}
54
54
  `),U.stdin.end()}else U=e(process.execPath,[G],{detached:!1,windowsHide:!0,cwd:i.tmpdir(),stdio:["ignore","pipe","pipe"],env:{...process.env,ROUTER_API_KEY:a,NODE_ENV:"production",MITM_ROUTER_BASE:L}});if(U&&(V=U.pid,h.writeFileSync(J,String(V)),N=Date.now()),w){let a=g.join(C,"rootCA.crt");h.existsSync(a)&&d(`launchctl setenv NODE_EXTRA_CA_CERTS "${a}"`,{windowsHide:!0},b=>{b?D(`[launchctl] Failed to set NODE_EXTRA_CA_CERTS: ${b.message}`):D(`[launchctl] NODE_EXTRA_CA_CERTS set to ${a}`)})}else if(v){let a=g.join(C,"rootCA.crt");h.existsSync(a)&&d(`setx NODE_EXTRA_CA_CERTS "${a}"`,{windowsHide:!0},a=>{a?D(`[setx] Failed to set NODE_EXTRA_CA_CERTS: ${a.message}`):D("[setx] NODE_EXTRA_CA_CERTS set for current user")})}let M=null;U&&(U.stdout.on("data",a=>{process.stdout.write(a)}),U.stderr.on("data",a=>{let b=a.toString().trim();b&&(v||!b.includes("Password:")&&!b.includes("password for"))&&(E(b),M=b),!v&&(b.includes("incorrect password")||b.includes("no password was provided"))&&(X(null),ad(),O=!0)}),U.on("exit",b=>{try{p()}catch{}D(`Server exited (code: ${b})`),U=null,V=null;try{h.unlinkSync(J)}catch{}try{h.unlinkSync(K)}catch{}0===b||O||am(a)}));let S=await function(a=443){return new Promise(b=>{let c=Date.now()+8e3,d=()=>{let e=k.request({hostname:"127.0.0.1",port:a,path:"/_mitm_health",method:"GET",rejectUnauthorized:!1},a=>{let c="";a.on("data",a=>{c+=a}),a.on("end",()=>{try{let a=JSON.parse(c);b(!0===a.ok?{ok:!0,pid:a.pid||null}:null)}catch{b(null)}})});e.on("error",()=>{Date.now()<c?setTimeout(d,500):b(null)}),e.end()};d()})}(443);if(!S){try{p()}catch{}if(U&&!U.killed){try{U.kill()}catch{}U=null}let a=function(){try{if(v){let a=f('powershell -NonInteractive -WindowStyle Hidden -Command "$c = Get-NetTCPConnection -LocalPort 443 -State Listen -ErrorAction SilentlyContinue | Select-Object -First 1; if ($c) { $c.OwningProcess } else { 0 }"',{encoding:"utf8",windowsHide:!0}).trim(),b=parseInt(a,10);if(b&&b>4){let a=f(`tasklist /FI "PID eq ${b}" /FO CSV /NH`,{encoding:"utf8",windowsHide:!0}).match(/"([^"]+)"/);if(a)return a[1].replace(".exe","")}}else{let a=f(`${F} -i :443`,{encoding:"utf8",windowsHide:!0}).trim().split("\n");if(a.length>1)return a[1].split(/\s+/)[0]}}catch{}return null}(),b=a?` Port 443 already in use by ${a}.`:"",c=M||`Check sudo password or port 443 access.${b}`;throw Error(`MITM server failed to start. ${c}`)}ab&&await ab({mitmCertInstalled:!0}).catch(()=>{}),D(`✅ Server healthy (PID: ${V||S.pid})`);let T=q();for(let[a,b]of Object.entries(T))D(`🌐 DNS ${a}: ${b?"✅ active":"❌ inactive"}`);await ac(!0,b),b&&X(b);try{h.unlinkSync(K)}catch{}return{running:!0,pid:V}}catch(a){try{h.unlinkSync(K)}catch{}throw a}}async function ap(a){O=!0,M=0,D("⏹ Stopping server...");let b=U,e=b&&!b.killed?b.pid:(()=>{try{return parseInt(h.readFileSync(J,"utf-8").trim(),10)}catch{return null}})();if(e&&Y(e)&&(D(`Killing server (PID: ${e})...`),Z(e,!1,a),await new Promise(a=>setTimeout(a,1e3)),Y(e)&&Z(e,!0,a)),U=null,V=null,v){let a=g.join(process.env.SystemRoot||"C:\\Windows","System32","drivers","etc","hosts"),b=Object.values(r).flat();try{let{isAdmin:d,runElevatedPowerShell:e,quotePs:f}=c(64809);if(d()){let d=h.readFileSync(a,"utf8"),e=d.split(/\r?\n/).filter(a=>!b.some(b=>a.includes(b))).join("\r\n").replace(/[\r\n\s]+$/g,"")+"\r\n";e!==d&&h.writeFileSync(a,e,"utf8");try{c(79646).execSync("ipconfig /flushdns",{windowsHide:!0,stdio:"ignore"})}catch{}D("\uD83C\uDF10 DNS: ✅ all tool hosts removed")}else{let c=b.map(f).join(","),d=`
55
55
  $hosts = @(${c})
56
56
  $lines = Get-Content -LiteralPath ${f(a)}
@@ -1 +1 @@
1
- "use strict";exports.id=7353,exports.ids=[7353],exports.modules={4739:(a,b,c)=>{c.d(b,{R:()=>e,z:()=>d});let d={USER:"user",ASSISTANT:"assistant",TOOL:"tool",SYSTEM:"system",DEVELOPER:"developer"},e={USER:"user",MODEL:"model"}},18226:(a,b,c)=>{c.d(b,{R4:()=>e.R4,BY:()=>h,a_:()=>f.a_,RV:()=>d.R,rP:()=>g,x4:()=>e.x4,bC:()=>f.bC,Du:()=>e.Du,z7:()=>d.z,m8:()=>e.m8});var d=c(4739),e=c(87694),f=c(57642);let g="unknown",h="image/png"},19956:(a,b,c)=>{c.d(b,{h:()=>d,t:()=>e});let d={OPENAI:"openai",OPENAI_RESPONSES:"openai-responses",OPENAI_RESPONSE:"openai-response",CLAUDE:"claude",GEMINI:"gemini",GEMINI_CLI:"gemini-cli",VERTEX:"vertex",CODEX:"codex",ANTIGRAVITY:"antigravity",KIRO:"kiro",CURSOR:"cursor",OLLAMA:"ollama",COMMANDCODE:"commandcode"};function e(a,b){return a.includes("/v1/responses")?d.OPENAI_RESPONSES:a.includes("/v1/messages")?d.CLAUDE:a.includes("/v1/chat/completions")&&Array.isArray(b?.input)?d.OPENAI:null}},27980:(a,b,c)=>{c.d(b,{N:()=>d});function d(a,b){if("string"!=typeof a)return a;try{return JSON.parse(a)}catch{return b}}},48644:(a,b,c)=>{c.d(b,{$J:()=>t,KZ:()=>l,S6:()=>i,Yr:()=>s,f6:()=>m,fc:()=>h,kU:()=>j,pT:()=>k,w_:()=>n});var d=c(27980),e=c(18226);let f=["minLength","maxLength","exclusiveMinimum","exclusiveMaximum","minItems","maxItems","format","multipleOf","uniqueItems","contains","unevaluatedProperties","unevaluatedItems","contentSchema","prefixItems","additionalItems","default","examples","example","$schema","$defs","definitions","const","$ref","$comment","$id","deprecated","readOnly","writeOnly","additionalProperties","propertyNames","patternProperties","enumDescriptions","strict","anyOf","oneOf","allOf","not","dependencies","dependentSchemas","dependentRequired","title","optional","if","then","else","contentMediaType","contentEncoding","encrypted","cache_control","cornerRadius","fillColor","fontFamily","fontSize","fontWeight","gap","padding","strokeColor","strokeThickness","textColor"],g=new Set(["value"]),h=[{category:"HARM_CATEGORY_HATE_SPEECH",threshold:"OFF"},{category:"HARM_CATEGORY_DANGEROUS_CONTENT",threshold:"OFF"},{category:"HARM_CATEGORY_SEXUALLY_EXPLICIT",threshold:"OFF"},{category:"HARM_CATEGORY_HARASSMENT",threshold:"OFF"},{category:"HARM_CATEGORY_CIVIC_INTEGRITY",threshold:"OFF"}];function i(a){let b=[];if("string"==typeof a)b.push({text:a});else if(Array.isArray(a)){for(let c of a)if(c.type===e.x4.TEXT)b.push({text:c.text});else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url?.startsWith("data:")){let a=c.image_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url&&(c.image_url.url.startsWith("http://")||c.image_url.url.startsWith("https://")))b.push({fileData:{fileUri:c.image_url.url,mimeType:"image/*"}});else if(c.type===e.x4.INPUT_AUDIO&&c.input_audio?.data){let a=c.input_audio.format||"wav",d="mp3"===a?"audio/mpeg":`audio/${a}`;b.push({inlineData:{mime_type:d,data:c.input_audio.data}})}else if(c.type===e.x4.AUDIO_URL&&c.audio_url?.url?.startsWith("data:")){let a=c.audio_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.FILE&&c.file?.file_data?.startsWith("data:")){let a=c.file.file_data,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d).split(";")[0],e=a.substring(d+1);b.push({inlineData:{mime_type:c,data:e}})}}}return b}function j(a,b=""){return"string"==typeof a?a:Array.isArray(a)?a.filter(a=>a.type===e.x4.TEXT).map(a=>a.text).join(b):""}function k(a){let b=(0,d.N)(a,null);return null!==b?function a(b){if(b&&"object"==typeof b){if(Array.isArray(b))return b.map(a);let c={};for(let[d,e]of Object.entries(b))(d.startsWith("$")||"definitions"===d||d.includes("/")||d.includes("#"))&&(d=d.replace(/^[$#\/]+/,"_").replace(/[\/#$]/g,"_")),c[d]=a(e);return c}return b}(b):null}function l(){return`agent-${crypto.randomUUID()}`}function m(){return crypto.randomUUID()+Date.now().toString()}function n(){let a=["useful","bright","swift","calm","bold"],b=["fuze","wave","spark","flow","core"],c=a[Math.floor(Math.random()*a.length)],d=b[Math.floor(Math.random()*b.length)];return`${c}-${d}-${crypto.randomUUID().slice(0,5)}`}function o(a){let b=0,c=-1;for(let d=0;d<a.length;d++){let e=a[d],f=0,g=e.type;"object"===g||e.properties?f=3:"array"===g||e.items?f=2:g&&"null"!==g&&(f=1),f>c&&(c=f,b=d)}return b}let p=["properties","patternProperties","$defs","definitions","dependentSchemas"];function q(a,b){for(let[c,d]of Object.entries(a))if(d&&"object"==typeof d)if(p.includes(c))for(let a of Object.values(d))a&&"object"==typeof a&&b(a);else if(Array.isArray(d))for(let a of d)a&&"object"==typeof a&&b(a);else b(d)}let r=["items","additionalItems","contains","if","then","else","not","propertyNames","unevaluatedItems","contentSchema"];function s(a){return a&&"object"==typeof a&&(!function a(b){if(!b||"object"!=typeof b)return;let c=a=>"string"==typeof a?{type:a}:a;for(let a of r)"string"==typeof b[a]&&(b[a]=c(b[a]));for(let a of p){let d=b[a];if(!(!d||"object"!=typeof d||Array.isArray(d)))for(let[a,b]of Object.entries(d))"string"==typeof b&&(d[a]=c(b))}"string"==typeof b.additionalProperties&&(b.additionalProperties=c(b.additionalProperties)),q(b,a)}(a),!function a(b){b&&"object"==typeof b&&(void 0===b.const||b.enum||(b.enum=[b.const],delete b.const),q(b,a))}(a),!function a(b){b&&"object"==typeof b&&(b.enum&&Array.isArray(b.enum)&&(b.enum=b.enum.map(a=>String(a)),b.type||(b.type="string")),q(b,a))}(a),!function a(b){if(b&&"object"==typeof b){if(Array.isArray(b)){for(let c of b)a(c);return}if(b.properties&&"object"==typeof b.properties&&!Array.isArray(b.properties))for(let[a,c]of Object.entries(b.properties))"string"==typeof c&&(b.properties[a]={type:"object"===c?"object":c});for(let c of Object.values(b))c&&"object"==typeof c&&a(c)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.allOf&&Array.isArray(b.allOf)){let a={};for(let c of b.allOf)if(c.properties&&(a.properties||(a.properties={}),Object.assign(a.properties,c.properties)),c.required&&Array.isArray(c.required))for(let b of(a.required||(a.required=[]),c.required))a.required.includes(b)||a.required.push(b);delete b.allOf,a.properties&&(b.properties={...b.properties,...a.properties}),a.required&&(b.required=[...b.required||[],...a.required])}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(Array.isArray(b.prefixItems)&&b.prefixItems.length>0){let a=b.prefixItems.filter(a=>a&&"null"!==a.type);b.items||1!==a.length?!b.items&&a.length>1&&(b.items={anyOf:a}):b.items=a[0],delete b.prefixItems}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.anyOf&&Array.isArray(b.anyOf)&&b.anyOf.length>0){let a=b.anyOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=o(a),d=a[c];delete b.anyOf,Object.assign(b,d)}}if(b.oneOf&&Array.isArray(b.oneOf)&&b.oneOf.length>0){let a=b.oneOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=o(a),d=a[c];delete b.oneOf,Object.assign(b,d)}}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.type&&Array.isArray(b.type)){let a=b.type.filter(a=>"null"!==a);b.type=a.length>0?a[0]:"string"}q(b,a)}}(a),!function a(b){b&&"object"==typeof b&&(b.properties&&!b.type&&(b.type="object"),q(b,a))}(a),!function a(b){b&&"object"==typeof b&&("array"!==b.type||b.items||(b.items={type:"string"}),q(b,a))}(a),!function a(b,c){if(b&&"object"==typeof b){if(Array.isArray(b)){for(let d of b)a(d,c);return}if(b.properties&&"object"==typeof b.properties&&!Array.isArray(b.properties))for(let d of Object.values(b.properties))a(d,c);for(let d of Object.keys(b)){if("properties"===d)continue;if((void 0!==b.type||void 0!==b.properties||void 0!==b.items)&&g.has(d)||c.includes(d)||d.startsWith("x-")){delete b[d];continue}let e=b[d];e&&"object"==typeof e&&a(e,c)}}}(a,f),!function a(b){if(b&&"object"==typeof b){if(b.required&&Array.isArray(b.required)&&b.properties){let a=b.required.filter(a=>Object.prototype.hasOwnProperty.call(b.properties,a));0===a.length?delete b.required:b.required=a}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(0===Object.keys(b).length){b.type="object",b.properties={reason:{type:"string",description:"Brief explanation of why you are calling this tool"}},b.required=["reason"];return}"object"===b.type&&(!b.properties||"object"!=typeof b.properties||Array.isArray(b.properties)||0===Object.keys(b.properties).length)&&(b.properties={reason:{type:"string",description:"Brief explanation of why you are calling this tool"}},b.required=["reason"]),q(b,a)}}(a)),a}function t(a){let b=[];for(let c of a||[]){if(!c?.role||!Array.isArray(c.parts))continue;let a=c.parts.filter(a=>a&&Object.keys(a).length>0);if(0===a.length)continue;let d=b.at(-1);if(d?.role===c.role){let e=d.parts.some(a=>a?.functionResponse),f=a.some(a=>a?.functionResponse),g=d.parts.some(a=>a?.text),h=a.some(a=>a?.text);"user"===c.role&&(e&&h||g&&f)?b.push({...c,parts:[...a]}):d.parts.push(...a)}else b.push({...c,parts:[...a]})}if(b.length>0&&"user"!==b[0].role&&b.unshift({role:"user",parts:[{text:"..."}]}),b.length>0&&"model"===b.at(-1).role){let a=b.at(-1).parts.filter(a=>a?.functionCall);if(a.length>0){let c=a.map(a=>({functionResponse:{...a.functionCall.id?{id:a.functionCall.id}:{},name:a.functionCall.name,response:{result:"No response provided"}}}));b.push({role:"user",parts:c})}else b.push({role:"user",parts:[{text:"Continue"}]})}return b}},57642:(a,b,c)=>{c.d(b,{Ut:()=>e,a_:()=>f,bC:()=>d,lW:()=>g,zh:()=>h});let d={STOP:"stop",LENGTH:"length",TOOL_CALLS:"tool_calls",CONTENT_FILTER:"content_filter",ERROR:"error"},e={END_TURN:"end_turn",MAX_TOKENS:"max_tokens",TOOL_USE:"tool_use",STOP_SEQUENCE:"stop_sequence"},f={STOP:"STOP",MAX_TOKENS:"MAX_TOKENS",SAFETY:"SAFETY",RECITATION:"RECITATION",BLOCKLIST:"BLOCKLIST",PROHIBITED_CONTENT:"PROHIBITED_CONTENT",SPII:"SPII",IMAGE_SAFETY:"IMAGE_SAFETY",MALFORMED_FUNCTION_CALL:"MALFORMED_FUNCTION_CALL",UNEXPECTED_TOOL_CALL:"UNEXPECTED_TOOL_CALL",FINISH_REASON_UNSPECIFIED:"FINISH_REASON_UNSPECIFIED",OTHER:"OTHER",LANGUAGE:"LANGUAGE",NO_IMAGE:"NO_IMAGE"},g=new Set([f.MALFORMED_FUNCTION_CALL,f.UNEXPECTED_TOOL_CALL,f.FINISH_REASON_UNSPECIFIED,f.OTHER,f.LANGUAGE,f.NO_IMAGE]),h=new Set([f.SAFETY,f.RECITATION,f.BLOCKLIST,f.SPII,f.IMAGE_SAFETY,f.PROHIBITED_CONTENT])},87694:(a,b,c)=>{c.d(b,{Du:()=>f,R4:()=>e,m8:()=>g,x4:()=>d});let d={TEXT:"text",IMAGE_URL:"image_url",IMAGE:"image",INPUT_AUDIO:"input_audio",AUDIO_URL:"audio_url",FILE:"file",FUNCTION:"function",EXTRA_CONTENT:"extra_content"},e={TEXT:"text",IMAGE:"image",DOCUMENT:"document",TOOL_USE:"tool_use",TOOL_RESULT:"tool_result",THINKING:"thinking",REDACTED_THINKING:"redacted_thinking",SERVER_TOOL_USE:"server_tool_use",WEB_SEARCH_TOOL_RESULT:"web_search_tool_result"},f={MESSAGE:"message",FUNCTION_CALL:"function_call",FUNCTION_CALL_OUTPUT:"function_call_output",CUSTOM_TOOL_CALL:"custom_tool_call",CUSTOM_TOOL_CALL_OUTPUT:"custom_tool_call_output",ADDITIONAL_TOOLS:"additional_tools",REASONING:"reasoning",OUTPUT_TEXT:"output_text",INPUT_TEXT:"input_text",INPUT_IMAGE:"input_image",SUMMARY_TEXT:"summary_text"},g=[d.TEXT,d.IMAGE_URL,d.IMAGE,d.INPUT_AUDIO,d.AUDIO_URL,d.FILE];d.TEXT,d.IMAGE_URL,d.IMAGE,e.TOOL_RESULT}};
1
+ "use strict";exports.id=7353,exports.ids=[7353],exports.modules={4739:(a,b,c)=>{c.d(b,{R:()=>e,z:()=>d});let d={USER:"user",ASSISTANT:"assistant",TOOL:"tool",SYSTEM:"system",DEVELOPER:"developer"},e={USER:"user",MODEL:"model"}},18226:(a,b,c)=>{c.d(b,{R4:()=>e.R4,BY:()=>h,a_:()=>f.a_,RV:()=>d.R,rP:()=>g,x4:()=>e.x4,bC:()=>f.bC,Du:()=>e.Du,z7:()=>d.z,m8:()=>e.m8});var d=c(4739),e=c(87694),f=c(57642);let g="unknown",h="image/png"},19956:(a,b,c)=>{c.d(b,{h:()=>d,t:()=>e});let d={OPENAI:"openai",OPENAI_RESPONSES:"openai-responses",OPENAI_RESPONSE:"openai-response",CLAUDE:"claude",GEMINI:"gemini",GEMINI_CLI:"gemini-cli",VERTEX:"vertex",CODEX:"codex",ANTIGRAVITY:"antigravity",KIRO:"kiro",CURSOR:"cursor",OLLAMA:"ollama",COMMANDCODE:"commandcode"};function e(a,b){return a.includes("/v1/responses")?d.OPENAI_RESPONSES:a.includes("/v1/messages")?d.CLAUDE:a.includes("/v1/chat/completions")&&Array.isArray(b?.input)?d.OPENAI:null}},27980:(a,b,c)=>{c.d(b,{N:()=>d});function d(a,b){if("string"!=typeof a)return a;try{return JSON.parse(a)}catch{return b}}},48644:(a,b,c)=>{c.d(b,{$J:()=>t,KZ:()=>l,S6:()=>i,Yr:()=>s,f6:()=>m,fc:()=>h,kU:()=>j,pT:()=>k,w_:()=>n});var d=c(27980),e=c(18226);let f=["minLength","maxLength","exclusiveMinimum","exclusiveMaximum","minItems","maxItems","format","multipleOf","uniqueItems","contains","unevaluatedProperties","unevaluatedItems","contentSchema","prefixItems","additionalItems","default","examples","example","$schema","$defs","definitions","const","$ref","$comment","$id","deprecated","readOnly","writeOnly","additionalProperties","propertyNames","patternProperties","enumDescriptions","strict","anyOf","oneOf","allOf","not","dependencies","dependentSchemas","dependentRequired","title","optional","if","then","else","contentMediaType","contentEncoding","encrypted","cache_control","cornerRadius","fillColor","fontFamily","fontSize","fontWeight","gap","padding","strokeColor","strokeThickness","textColor"],g=new Set(["value"]),h=[{category:"HARM_CATEGORY_HATE_SPEECH",threshold:"OFF"},{category:"HARM_CATEGORY_DANGEROUS_CONTENT",threshold:"OFF"},{category:"HARM_CATEGORY_SEXUALLY_EXPLICIT",threshold:"OFF"},{category:"HARM_CATEGORY_HARASSMENT",threshold:"OFF"},{category:"HARM_CATEGORY_CIVIC_INTEGRITY",threshold:"OFF"}];function i(a){let b=[];if("string"==typeof a)b.push({text:a});else if(Array.isArray(a)){for(let c of a)if(c.type===e.x4.TEXT)b.push({text:c.text});else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url?.startsWith("data:")){let a=c.image_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.IMAGE_URL&&c.image_url?.url&&(c.image_url.url.startsWith("http://")||c.image_url.url.startsWith("https://")))b.push({fileData:{fileUri:c.image_url.url,mimeType:"image/*"}});else if(c.type===e.x4.INPUT_AUDIO&&c.input_audio?.data){let a=c.input_audio.format||"wav",d="mp3"===a?"audio/mpeg":`audio/${a}`;b.push({inlineData:{mime_type:d,data:c.input_audio.data}})}else if(c.type===e.x4.AUDIO_URL&&c.audio_url?.url?.startsWith("data:")){let a=c.audio_url.url,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d),e=a.substring(d+1),f=c.split(";")[0];b.push({inlineData:{mime_type:f,data:e}})}}else if(c.type===e.x4.FILE&&c.file?.file_data?.startsWith("data:")){let a=c.file.file_data,d=a.indexOf(",");if(-1!==d){let c=a.substring(5,d).split(";")[0],e=a.substring(d+1);b.push({inlineData:{mime_type:c,data:e}})}}}return b}function j(a,b=""){return"string"==typeof a?a:Array.isArray(a)?a.filter(a=>a.type===e.x4.TEXT).map(a=>a.text).join(b):""}function k(a){let b=(0,d.N)(a,null);return null!==b?function a(b){if(b&&"object"==typeof b){if(Array.isArray(b))return b.map(a);let c={};for(let[d,e]of Object.entries(b))(d.startsWith("$")||"definitions"===d||d.includes("/")||d.includes("#"))&&(d=d.replace(/^[$#\/]+/,"_").replace(/[\/#$]/g,"_")),c[d]=a(e);return c}return b}(b):null}function l(){return`agent-${crypto.randomUUID()}`}function m(){return crypto.randomUUID()+Date.now().toString()}function n(){let a=["useful","bright","swift","calm","bold"],b=["fuze","wave","spark","flow","core"],c=a[Math.floor(Math.random()*a.length)],d=b[Math.floor(Math.random()*b.length)];return`${c}-${d}-${crypto.randomUUID().slice(0,5)}`}function o(a){let b=0,c=-1;for(let d=0;d<a.length;d++){let e=a[d],f=0,g=e.type;"object"===g||e.properties?f=3:"array"===g||e.items?f=2:g&&"null"!==g&&(f=1),f>c&&(c=f,b=d)}return b}let p=["properties","patternProperties","$defs","definitions","dependentSchemas"];function q(a,b){for(let[c,d]of Object.entries(a))if(d&&"object"==typeof d)if(p.includes(c))for(let a of Object.values(d))a&&"object"==typeof a&&b(a);else if(Array.isArray(d))for(let a of d)a&&"object"==typeof a&&b(a);else b(d)}let r=["items","additionalItems","contains","if","then","else","not","propertyNames","unevaluatedItems","contentSchema"];function s(a){return a&&"object"==typeof a&&(!function a(b){if(!b||"object"!=typeof b)return;let c=a=>"string"==typeof a?{type:a}:a;for(let a of r)"string"==typeof b[a]&&(b[a]=c(b[a]));for(let a of p){let d=b[a];if(!(!d||"object"!=typeof d||Array.isArray(d)))for(let[a,b]of Object.entries(d))"string"==typeof b&&(d[a]=c(b))}"string"==typeof b.additionalProperties&&(b.additionalProperties=c(b.additionalProperties)),q(b,a)}(a),!function a(b){b&&"object"==typeof b&&(void 0===b.const||b.enum||(b.enum=[b.const],delete b.const),q(b,a))}(a),!function a(b){b&&"object"==typeof b&&(b.enum&&Array.isArray(b.enum)&&(b.enum=b.enum.map(a=>String(a)),b.type||(b.type="string")),q(b,a))}(a),!function a(b){if(b&&"object"==typeof b){if(b.properties&&"object"==typeof b.properties&&!Array.isArray(b.properties))for(let[a,c]of Object.entries(b.properties))"string"==typeof c&&(b.properties[a]={type:"object"===c?"object":c});q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.allOf&&Array.isArray(b.allOf)){let a={};for(let c of b.allOf)if(c.properties&&(a.properties||(a.properties={}),Object.assign(a.properties,c.properties)),c.required&&Array.isArray(c.required))for(let b of(a.required||(a.required=[]),c.required))a.required.includes(b)||a.required.push(b);delete b.allOf,a.properties&&(b.properties={...b.properties,...a.properties}),a.required&&(b.required=[...b.required||[],...a.required])}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(Array.isArray(b.prefixItems)&&b.prefixItems.length>0){let a=b.prefixItems.filter(a=>a&&"null"!==a.type);b.items||1!==a.length?!b.items&&a.length>1&&(b.items={anyOf:a}):b.items=a[0],delete b.prefixItems}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.anyOf&&Array.isArray(b.anyOf)&&b.anyOf.length>0){let a=b.anyOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=o(a),d=a[c];delete b.anyOf,Object.assign(b,d)}}if(b.oneOf&&Array.isArray(b.oneOf)&&b.oneOf.length>0){let a=b.oneOf.filter(a=>a&&"null"!==a.type);if(a.length>0){let c=o(a),d=a[c];delete b.oneOf,Object.assign(b,d)}}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(b.type&&Array.isArray(b.type)){let a=b.type.filter(a=>"null"!==a);b.type=a.length>0?a[0]:"string"}q(b,a)}}(a),!function a(b){b&&"object"==typeof b&&(b.properties&&!b.type&&(b.type="object"),q(b,a))}(a),!function a(b){b&&"object"==typeof b&&("array"!==b.type||b.items||(b.items={type:"string"}),q(b,a))}(a),!function a(b,c){if(b&&"object"==typeof b){if(Array.isArray(b)){for(let d of b)a(d,c);return}if(b.properties&&"object"==typeof b.properties&&!Array.isArray(b.properties))for(let d of Object.values(b.properties))a(d,c);for(let d of Object.keys(b)){if("properties"===d)continue;if((void 0!==b.type||void 0!==b.properties||void 0!==b.items)&&g.has(d)||c.includes(d)||d.startsWith("x-")){delete b[d];continue}let e=b[d];e&&"object"==typeof e&&a(e,c)}}}(a,f),!function a(b){if(b&&"object"==typeof b){if(b.required&&Array.isArray(b.required)&&b.properties){let a=b.required.filter(a=>Object.prototype.hasOwnProperty.call(b.properties,a));0===a.length?delete b.required:b.required=a}q(b,a)}}(a),!function a(b){if(b&&"object"==typeof b){if(0===Object.keys(b).length){b.type="object",b.properties={reason:{type:"string",description:"Brief explanation of why you are calling this tool"}},b.required=["reason"];return}"object"===b.type&&(!b.properties||"object"!=typeof b.properties||Array.isArray(b.properties)||0===Object.keys(b.properties).length)&&(b.properties={reason:{type:"string",description:"Brief explanation of why you are calling this tool"}},b.required=["reason"]),q(b,a)}}(a)),a}function t(a){let b=[];for(let c of a||[]){if(!c?.role||!Array.isArray(c.parts))continue;let a=c.parts.filter(a=>a&&Object.keys(a).length>0);if(0===a.length)continue;let d=b.at(-1);if(d?.role===c.role){let e=d.parts.some(a=>a?.functionResponse),f=a.some(a=>a?.functionResponse),g=d.parts.some(a=>a?.text),h=a.some(a=>a?.text);"user"===c.role&&(e&&h||g&&f)?b.push({...c,parts:[...a]}):d.parts.push(...a)}else b.push({...c,parts:[...a]})}if(b.length>0&&"user"!==b[0].role&&b.unshift({role:"user",parts:[{text:"..."}]}),b.length>0&&"model"===b.at(-1).role){let a=b.at(-1).parts.filter(a=>a?.functionCall);if(a.length>0){let c=a.map(a=>({functionResponse:{...a.functionCall.id?{id:a.functionCall.id}:{},name:a.functionCall.name,response:{result:"No response provided"}}}));b.push({role:"user",parts:c})}else b.push({role:"user",parts:[{text:"Continue"}]})}return b}},57642:(a,b,c)=>{c.d(b,{Ut:()=>e,a_:()=>f,bC:()=>d,lW:()=>g,zh:()=>h});let d={STOP:"stop",LENGTH:"length",TOOL_CALLS:"tool_calls",CONTENT_FILTER:"content_filter",ERROR:"error"},e={END_TURN:"end_turn",MAX_TOKENS:"max_tokens",TOOL_USE:"tool_use",STOP_SEQUENCE:"stop_sequence",REFUSAL:"refusal"},f={STOP:"STOP",MAX_TOKENS:"MAX_TOKENS",SAFETY:"SAFETY",RECITATION:"RECITATION",BLOCKLIST:"BLOCKLIST",PROHIBITED_CONTENT:"PROHIBITED_CONTENT",SPII:"SPII",IMAGE_SAFETY:"IMAGE_SAFETY",MALFORMED_FUNCTION_CALL:"MALFORMED_FUNCTION_CALL",UNEXPECTED_TOOL_CALL:"UNEXPECTED_TOOL_CALL",FINISH_REASON_UNSPECIFIED:"FINISH_REASON_UNSPECIFIED",OTHER:"OTHER",LANGUAGE:"LANGUAGE",NO_IMAGE:"NO_IMAGE"},g=new Set([f.MALFORMED_FUNCTION_CALL,f.UNEXPECTED_TOOL_CALL,f.FINISH_REASON_UNSPECIFIED,f.OTHER,f.LANGUAGE,f.NO_IMAGE]),h=new Set([f.SAFETY,f.RECITATION,f.BLOCKLIST,f.SPII,f.IMAGE_SAFETY,f.PROHIBITED_CONTENT])},87694:(a,b,c)=>{c.d(b,{Du:()=>f,R4:()=>e,m8:()=>g,x4:()=>d});let d={TEXT:"text",IMAGE_URL:"image_url",IMAGE:"image",INPUT_AUDIO:"input_audio",AUDIO_URL:"audio_url",FILE:"file",FUNCTION:"function",EXTRA_CONTENT:"extra_content"},e={TEXT:"text",IMAGE:"image",DOCUMENT:"document",TOOL_USE:"tool_use",TOOL_RESULT:"tool_result",THINKING:"thinking",REDACTED_THINKING:"redacted_thinking",SERVER_TOOL_USE:"server_tool_use",WEB_SEARCH_TOOL_RESULT:"web_search_tool_result"},f={MESSAGE:"message",FUNCTION_CALL:"function_call",FUNCTION_CALL_OUTPUT:"function_call_output",CUSTOM_TOOL_CALL:"custom_tool_call",CUSTOM_TOOL_CALL_OUTPUT:"custom_tool_call_output",ADDITIONAL_TOOLS:"additional_tools",REASONING:"reasoning",OUTPUT_TEXT:"output_text",INPUT_TEXT:"input_text",INPUT_IMAGE:"input_image",SUMMARY_TEXT:"summary_text"},g=[d.TEXT,d.IMAGE_URL,d.IMAGE,d.INPUT_AUDIO,d.AUDIO_URL,d.FILE];d.TEXT,d.IMAGE_URL,d.IMAGE,e.TOOL_RESULT}};
@@ -1,2 +1,2 @@
1
- "use strict";exports.id=7362,exports.ids=[7362],exports.modules={47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(6816)},57362:(a,b,c)=>{c.d(b,{t8:()=>A,Vu:()=>D,Ao:()=>B,Pr:()=>E,vt:()=>G,UP:()=>C});var d=c(49263),e=c(89865),f=c(11847),g=c(60290),h=c(48644),i=c(47370);function j(a,b){if(!a||"object"!=typeof a||!b)return!1;let c=a.name||a.function?.name;return"string"==typeof c&&c===b}async function k(a,b){let c;if(!a?.body||!a.headers.get("content-type")?.toLowerCase().includes("text/event-stream"))return a;let{firstActionTimeoutMs:d,maxBytes:e}=(0,g.Ur)(),f=a.body.getReader(),h=new TextDecoder,i=[],k=0,l="",m=function(a){let b=a?.tool_choice;if(!b||"object"!=typeof b||Array.isArray(b)||!["custom","function","tool"].includes(b.type))return"";let c=b.name||b.function?.name;return"string"==typeof c?c.trim():""}(b),n=new Promise(a=>{c=setTimeout(()=>a({timedOut:!0}),d)});try{for(;;){let b=await Promise.race([f.read(),n]);if(b.timedOut)return await f.cancel("combo first-action timeout").catch(()=>{}),null;if(b.done)return await f.cancel("combo response ended before first action").catch(()=>{}),null;i.push(b.value),k+=b.value.byteLength,l+=h.decode(b.value,{stream:!0});let c=function(a,b=""){let c=/\r\n\r\n|\n\n|\r\r/g,d=0,e=!1;for(let f=c.exec(a);f;f=c.exec(a))e||=function(a,b=""){if(b)return function(a,b){let{event:c="",payload:d}=a||{};return!!d&&!!b&&("response.output_item.added"===c||"response.output_item.done"===c?j(d.item,b):"content_block_start"===c?j(d.content_block,b):"response.completed"===c?d.response?.output?.some(a=>j(a,b))===!0:d.choices?.some(a=>j(a?.delta?.function_call,b)||a?.delta?.tool_calls?.some(a=>j(a,b)))===!0)}(a,b);let{event:c="",payload:d}=a||{};return!!(("response.output_text.delta"===c||"response.refusal.delta"===c)&&d?.delta||"response.output_item.added"===c&&["function_call","custom_tool_call"].includes(d?.item?.type)||"content_block_start"===c&&d?.content_block?.type==="tool_use"||"content_block_delta"===c&&(d?.delta?.type==="text_delta"&&d.delta.text||d?.delta?.type==="input_json_delta"&&d.delta.partial_json||d?.delta?.type==="thinking_delta"&&d.delta.thinking||d?.delta?.thinking)||d?.candidates?.[0]?.content?.parts?.some(a=>a?.text||a?.functionCall||a?.inlineData)||d?.message?.content||d?.response||d?.message?.tool_calls?.length||d?.usage?.completion_tokens>0||d?.usage?.output_tokens>0||d?.response?.usage?.output_tokens>0)||d?.choices?.some(a=>"string"==typeof a?.delta?.content&&a.delta.content.length>0||"string"==typeof a?.delta?.reasoning_content&&a.delta.reasoning_content.length>0||"string"==typeof a?.delta?.reasoning&&a.delta.reasoning.length>0||Array.isArray(a?.delta?.tool_calls)&&a.delta.tool_calls.length>0||!!a?.delta?.function_call)===!0}(function(a){let b="",c=[];for(let d of a.split(/\r\n|\n|\r/))d.startsWith("event:")&&(b=d.slice(6).trim()),d.startsWith("data:")&&c.push(d.slice(5).trimStart());if(0===c.length||"[DONE]"===c.join("\n"))return null;try{let a=JSON.parse(c.join("\n"));return{event:b||a?.type||"",payload:a}}catch{return null}}(a.slice(d,f.index)),b),d=f.index+f[0].length;return{actionable:e,remainder:a.slice(d)}}(l,m);if(l=c.remainder,c.actionable||k>e)return function(a,b,c){let d=!1;return new Response(new ReadableStream({start(a){for(let b of c)a.enqueue(b)},async pull(a){if(!d)try{let{done:c,value:e}=await b.read();c?(d=!0,a.close()):a.enqueue(e)}catch(b){d=!0,a.error(b)}},async cancel(a){d=!0,await b.cancel(a)}}),{status:a.status,statusText:a.statusText,headers:a.headers})}(a,f,i)}}catch{return await f.cancel("combo pre-action read failed").catch(()=>{}),null}finally{clearTimeout(c)}}let l=Object.values(g.Qn.headers);function m(a){return String(a||"").trim().replace(/[^A-Za-z0-9._:/-]+/g,"-").slice(0,g.Qn.maxTokenLength)}function n(a){return String(a||"").split(",").map(m).filter(Boolean)}function o(a){return[...new Set(a.filter(Boolean))].slice(0,g.Qn.maxAttempts)}c(67677);let p=new Set(["vision","pdf","audioInput","videoInput"]),q="[Called tools: ",r="[Tool result: ";function s(a){let b;if(!a.startsWith("data:"))return!1;let c=a.slice(5).trim();if(!c||"[DONE]"===c)return!1;try{b=JSON.parse(c)}catch{return!1}if(u(b.usage)||u(b.response?.usage))return!0;let d=b.choices?.[0]?.delta;if(t(d?.content)||t(d?.reasoning_content)||t(d?.reasoning)||d?.tool_calls?.length||d?.function_call)return!0;if("content_block_delta"===b.type){let a=b.delta;if(t(a?.text)||t(a?.partial_json)||t(a?.thinking))return!0}if("content_block_start"===b.type&&b.content_block?.type==="tool_use"||"string"==typeof b.type&&b.type.endsWith(".delta")&&t(b.delta))return!0;let e=b.candidates?.[0]?.content?.parts;return!!(Array.isArray(e)&&e.some(a=>t(a?.text)||a?.functionCall||a?.inlineData)||t(b.message?.content)||t(b.response)||b.message?.tool_calls?.length)}function t(a){return"string"==typeof a&&a.length>0}function u(a){if(!a||"object"!=typeof a)return!1;let b=Number(a.completion_tokens??a.output_tokens??a.candidatesTokenCount??0);return Number.isFinite(b)&&b>0}async function v(a,b=g.Z1){if(!(a.headers.get("content-type")||"").toLowerCase().includes("text/event-stream")||!a.body)return{hasContent:!0,body:null};let c=a.body.getReader(),d=new TextDecoder("utf-8",{fatal:!1}),e=[],f=0,h="",i=!1,j=!1,k=Date.now()+b,l=null,m=new Promise(a=>{l=setTimeout(()=>a({timedOut:!0}),b)});try{for(;!i;){let a;if(Date.now()>=k)break;let b=await Promise.race([c.read(),m]);if(b?.timedOut)break;let{done:g,value:l}=b;if(g){j=!0,(h+=d.decode()).trim()&&s(h.trim())&&(i=!0);break}for(e.push(l),f+=l.byteLength,h+=d.decode(l,{stream:!0});-1!==(a=h.indexOf("\n"));){let b=h.slice(0,a).trim();if(h=h.slice(a+1),s(b)){i=!0;break}}if(i)break;if(f>=262144){i=!0;break}}}catch{i=!1}finally{l&&clearTimeout(l)}return i?{hasContent:!0,body:new ReadableStream({start(a){for(let b of e)a.enqueue(b);e.length=0,j&&a.close()},async pull(a){if(!j)try{let{done:b,value:d}=await c.read();if(b){j=!0,a.close();return}a.enqueue(d)}catch(b){a.error(b)}},cancel(a){c.cancel(a).catch(()=>{})}})}:(await c.cancel().catch(()=>{}),{hasContent:!1,body:null})}function w(a){let b=a[a.length-1];return b?.role!=="assistant"&&b?.role!=="model"?a:[...a,{role:"user",content:"Continue from where the previous assistant message left off."}]}function x(a){return a.filter(a=>a).map(a=>{if("tool"===a.role||"function"===a.role)return{role:"user",content:`${r}${(0,h.kU)(a.content)||String(a.content??"")}]`};if("assistant"===a.role&&Array.isArray(a.tool_calls)){let{tool_calls:b,...c}=a,d=b.map(a=>a?.function?.name||a?.name||"tool").join(", "),e=(0,h.kU)(c.content)||("string"==typeof c.content?c.content:"");return{...c,content:`${e}${e?"\n":""}${q}${d}]`}}if(Array.isArray(a.content)){let b=a.content.some(a=>"tool_use"===a.type),c=a.content.some(a=>"tool_result"===a.type);if(b||c){let b=[],c=[],d=[];for(let e of a.content)"text"===e.type&&e.text&&b.push(e.text),"tool_use"===e.type&&c.push(e.name||"tool"),"tool_result"===e.type&&d.push((0,h.kU)(e.content)||String(e.content??""));let{...e}=a,f=b.join("\n");return c.length>0&&(f=`${f}${f?"\n":""}${q}${c.join(", ")}]`),d.length>0&&(f=`${f}${f?"\n":""}${r}${d.join("\n")}]`),{...e,content:f}}}return a})}let y=new Map;function z(a){if(!Array.isArray(a)||0===a.length)return[];let b=a=>"assistant"===a||"model"===a,c=a.length-1;for(;c>=0&&!b(a[c]?.role);)c--;return a.slice(c+1)}function A(a){let b=new Set;if(!a||"object"!=typeof a)return b;let c=a=>{"string"==typeof a&&(a.startsWith("image/")?b.add("vision"):a.startsWith("audio/")?b.add("audioInput"):"application/pdf"===a&&b.add("pdf"))},d=a=>{if(!a||"object"!=typeof a)return;let c=a.type;("image_url"===c||"image"===c||"input_image"===c)&&b.add("vision"),("file"===c||"document"===c||"input_file"===c)&&b.add("pdf");let d=a.inlineData?.mimeType||a.fileData?.mimeType;"string"==typeof d&&d.startsWith("image/")&&b.add("vision"),"application/pdf"===d&&b.add("pdf")},e=a=>{if(Array.isArray(a))for(let b of a)d(b)},f=a=>{if(!a||"object"!=typeof a)return;Array.isArray(a.images)&&a.images.length>0&&b.add("vision");let d=a.experimental_attachments||a.attachments;if(Array.isArray(d))for(let a of d){if(!a)continue;let d=a.contentType||a.mediaType||"string"==typeof a.url&&a.url.match(/^data:([^;,]+)/)?.[1];d?c(d):(a.url||a.data)&&b.add("vision")}(a.image_url||a.image)&&b.add("vision"),(a.audio_url||a.audio)&&b.add("audioInput"),e(a.content),"string"==typeof a.content&&(a.content.includes("data:image/")?b.add("vision"):a.content.includes("data:audio/")?b.add("audioInput"):a.content.includes("data:application/pdf")&&b.add("pdf"))};for(let b of z(a.messages))f(b);for(let b of z(a.input))e(b.content);for(let b of z(a.contents||a.request?.contents))e(b.parts);return b}function B(a,b,c,d=1,e=null){let f;if("weighted"===c&&Array.isArray(e)&&e.length>1)return e.map(a=>({m:a,key:Math.pow(Math.random(),1/(a.weight||1))})).sort((a,b)=>b.key-a.key).map(a=>a.m).map(a=>a.id);if("weighted"===c&&a&&a.length>1)return[...a].sort(()=>Math.random()-.5);if(!a||a.length<=1||"round-robin"!==c)return a;let g=b||"__default__",h=Number.isFinite(f=Number.parseInt(d,10))&&f>0?f:1,i=y.get(g),j="number"==typeof i?{index:i,consecutiveUseCount:0}:i||{index:0,consecutiveUseCount:0},k=j.index%a.length,l=function(a,b){let c=[...a];for(let a=0;a<b;a++){let a=c.shift();c.push(a)}return c}(a,k),m=j.consecutiveUseCount+1;return m>=h?y.set(g,{index:(k+1)%a.length,consecutiveUseCount:0}):y.set(g,{index:k,consecutiveUseCount:m}),l}function C(a){a?y.delete(a):y.clear()}function D(a,b){if(a.includes("/"))return null;let c=(Array.isArray(b)?b:b?.combos||[]).find(b=>b.name===a);return c&&c.models&&c.models.length>0?c.models:null}async function E({body:a,models:b,members:c,policy:h,handleSingleModel:j,log:q,comboName:r,comboStrategy:s,comboStickyLimit:t=1,autoSwitch:u=!0}){let w=Array.isArray(c)&&c.length>0?c.map(a=>"string"==typeof a?{id:a,weight:1}:a&&"string"==typeof a.id?{id:a.id,weight:Number.isFinite(a.weight)&&a.weight>0?a.weight:1,retryOn:a.retryOn,skipOn:a.skipOn,timeoutMs:a.timeoutMs}:null).filter(Boolean):Array.isArray(b)?b.map(a=>({id:a,weight:1})):[],x=B(w.length?w.map(a=>a.id):b,r,s,h?.sticky??t,w.length?w:null),y=null;if(w.length){let a=new Map(w.map(a=>[a.id,a]));y=x.map(b=>a.get(b)).filter(Boolean)}if(u){let b=A(a);if(b.size>0){let a=function(a,b){if(!b||0===b.size||!Array.isArray(a)||a.length<=1)return a;let c=[...b].filter(a=>p.has(a)),d=[...b].filter(a=>!p.has(a));return a.map((a,b)=>{let e,g,h,i;return{m:a,i:b,t:(g=(e="string"==typeof a?a.indexOf("/"):-1)>0?a.slice(0,e):"",h=e>0?a.slice(e+1):a,i=(0,f.getCapabilitiesForModel)(g,h),c.every(a=>!0===i[a])?+!d.every(a=>!0===i[a]):2)}}).sort((a,b)=>a.t-b.t||a.i-b.i).map(a=>a.m)}(x,b);a[0]!==x[0]&&q.info("COMBO",`auto-switch for [${[...b].join(",")}] → ${a[0]}`),x=a}}let z=null,C=null,D=null;for(let b=0;b<x.length;b++){let c=x[b];q.info("COMBO",`Trying model ${b+1}/${x.length}: ${c}`);try{let e=await j(a,c);if(e.ok){let{hasContent:d,body:f}=await v(e);if(!d){z="provider returned an empty stream",D||(D=503),q.warn("COMBO",`Model ${c} returned an empty stream, trying next`);continue}let h=f?new Response(f,{status:e.status,statusText:e.statusText,headers:e.headers}):e,i="fallback"===s||void 0===s&&Array.isArray(a?.tools)&&a.tools.length>0?await k(h,a):h;if(i)return q.info("COMBO",`Model ${c} succeeded`),function({comboName:a,selectedModel:b,attemptedModels:c=[]},d){let e,f;if(!(d instanceof Response))return d;let h=g.Qn.headers,i=m(a),j=(f=(e=m(b)).indexOf("/"))>0?{leaf:e,provider:e.slice(0,f),model:e.slice(f+1)}:{leaf:e,provider:"",model:e},k=n(d.headers.get(h.routePath)),p=m(d.headers.get(h.resolvedProvider))||j.provider||"unknown",q=m(d.headers.get(h.resolvedModel))||j.model,r=o(c.map(m)),s=n(d.headers.get(h.attemptedModels)),t=Number.parseInt(d.headers.get(h.fallbackCount)||"0",10);var u={[h.requestedModel]:i,[h.routePath]:o([i,...k.length?k:[j.leaf]]).join(","),[h.resolvedProvider]:p,[h.resolvedModel]:q,[h.fallbackCount]:Math.max(0,Number.isFinite(t)?t:0)+Math.max(0,r.length-1),[h.attemptedModels]:o([...r,...s]).join(",")};if(!(d instanceof Response))return d;let v=new Headers(d.headers);for(let[a,b]of Object.entries(u))v.set(a,String(b));return v.set("Access-Control-Expose-Headers",o([...n(v.get("Access-Control-Expose-Headers")),...l]).join(", ")),new Response(d.body,{status:d.status,statusText:d.statusText,headers:v})}({comboName:r||a?.model,selectedModel:c,attemptedModels:x.slice(0,b+1)},i);z="Response ended before its first actionable event",D||(D=502),q.warn("COMBO",`Model ${c} produced no action, trying next`);continue}let f=e.statusText||"",p=null;try{let a=await e.clone().json();f=a?.error?.message||a?.error||a?.message||f,p=a?.retryAfter||null}catch{}if(p&&(!C||new Date(p)<new Date(C))&&(C=p),"string"!=typeof f)try{f=JSON.stringify(f)}catch{f=String(f)}let t=y?y[b]:null,{shouldFallback:u,cooldownMs:w}=function(a,b,c,e){let f=(b||"").toLowerCase();if(e?.skipOn){let b=e.skipOn;if(Array.isArray(b.statuses)&&b.statuses.includes(a)||Array.isArray(b.texts)&&b.texts.some(a=>f.includes(String(a).toLowerCase())))return{shouldFallback:!1,cooldownMs:0}}if(e?.retryOn){let c=e.retryOn;if(Array.isArray(c.statuses)&&c.statuses.includes(a)||Array.isArray(c.texts)&&c.texts.some(a=>f.includes(String(a).toLowerCase())))return(0,d.hk)(a,b);if(c.statuses&&c.statuses.length||c.texts&&c.texts.length)return{shouldFallback:!1,cooldownMs:0}}if(c?.triggers){let e=c.triggers;if(e.fatal&&(Array.isArray(e.fatal.statuses)&&e.fatal.statuses.includes(a)||Array.isArray(e.fatal.texts)&&e.fatal.texts.some(a=>f.includes(String(a).toLowerCase()))))return{shouldFallback:!1,cooldownMs:0};if(e.retryable){if(Array.isArray(e.retryable.statuses)&&e.retryable.statuses.includes(a)||Array.isArray(e.retryable.texts)&&e.retryable.texts.some(a=>f.includes(String(a).toLowerCase())))return(0,d.hk)(a,b);if(e.retryable.statuses&&e.retryable.statuses.length||e.retryable.texts&&e.retryable.texts.length)return{shouldFallback:!1,cooldownMs:0}}}return(0,d.hk)(a,b)}(e.status,f,h,t),A=w;if(h?.perHopCooldownMs&&Number.isFinite(h.perHopCooldownMs)&&(A=Math.min(A,h.perHopCooldownMs)),h?.maxHops&&b+1>=h.maxHops)return q.warn("COMBO",`Model ${c} failed - maxHops ${h.maxHops} reached`,{status:e.status}),e;if(!u)return q.warn("COMBO",`Model ${c} failed (no fallback)`,{status:e.status}),e;A&&A>0&&A<=5e3&&(503===e.status||502===e.status||504===e.status)&&(q.info("COMBO",`Model ${c} transient ${e.status}, waiting ${A}ms before next`),await new Promise(a=>setTimeout(a,A))),z=f||String(e.status),D=e.status,q.warn("COMBO",`Model ${c} failed, trying next`,{status:e.status});let B=c.includes("/")?c.slice(0,c.indexOf("/")):"unknown",E=c.includes("/")?c.slice(c.indexOf("/")+1):c;(0,i.QB)({endpoint:"/v1/chat/completions",provider:B,model:E,connectionId:`combo-${r||c}`,comboName:r||null,statusCode:e.status,errorMessage:f||e.statusText,request:null,providerRequest:null,providerResponse:null,meta:{fallback:!0,retryAfter:p,retryAfterHuman:p?(0,d.Qo)(p):null,latency:{}}}).catch(()=>{})}catch(a){z=a.message||String(a),D=500,q.warn("COMBO",`Model ${c} threw error, trying next`,{error:z})}}let F=z&&z.toLowerCase().includes("no credentials")?503:(0,e.fP)(D||503,z),G=z||"All combo models unavailable";if(C){let a=(0,d.Qo)(C);return q.warn("COMBO",`All models failed | ${F} | ${G} (${a})`),(0,e.wO)(F,G,C,a)}return q.warn("COMBO",`All models failed | ${G}`),new Response(JSON.stringify({error:{message:G}}),{status:F,headers:{"Content-Type":"application/json"}})}let F={minPanel:2,stragglerGraceMs:8e3,panelHardTimeoutMs:9e4};async function G({body:a,models:b,handleSingleModel:c,log:d,comboName:e,judgeModel:f,tuning:g}){var i;let j,k,l=Array.isArray(b)?b.filter(Boolean):[];if(0===l.length)return new Response(JSON.stringify({error:{message:"Fusion combo has no models"}}),{status:400,headers:{"Content-Type":"application/json"}});if(1===l.length)return c(a,l[0]);let m={...F,...g||{}},n=Math.min(Math.max(2,m.minPanel),l.length),o=f&&f.trim()?f.trim():l[0];d.info("FUSION",`Combo "${e}" | panel=${l.length} [${l.join(", ")}] | judge=${o} | quorum=${n}`);let{tools:p,tool_choice:q,stream_options:r,...s}=a,t={...s,stream:!1};Array.isArray(t.messages)?t.messages=w(x(t.messages)):Array.isArray(t.input)&&(t.input=w(x(t.input)));let u=Date.now(),v=l.map(a=>{var b,d;return b=c(t,a,!0),d=m.panelHardTimeoutMs,new Promise(a=>{let c=setTimeout(()=>a({__timeout:!0}),d);Promise.resolve(b).then(b=>{clearTimeout(c),a(b)}).catch(b=>{clearTimeout(c),a({__error:b})})})}),y=await function(a,{minPanel:b,stragglerGraceMs:c,panelHardTimeoutMs:d}){return new Promise(e=>{let f=Array(a.length),g=0,h=0,i=!1,j=null,k=()=>{i||(i=!0,clearTimeout(l),j&&clearTimeout(j),e(f))},l=setTimeout(k,d);a.forEach((d,e)=>{Promise.resolve(d).then(a=>{f[e]=a}).catch(a=>{f[e]={__error:a}}).finally(()=>{if(g++,f[e]&&f[e].ok&&h++,g===a.length)return k();h>=b&&!j&&(j=setTimeout(k,c))})})})}(v,{...m,minPanel:n});d.info("FUSION",`fan-out collected in ${Date.now()-u}ms`);let z=[];for(let a=0;a<y.length;a++){let b=y[a],c=l[a];if(!b){d.warn("FUSION",`Panel ${c} dropped (straggler/timeout)`);continue}if(b.__timeout){d.warn("FUSION",`Panel ${c} timed out`);continue}if(b.__error){d.warn("FUSION",`Panel ${c} threw`,{error:b.__error?.message||String(b.__error)});continue}if(!b.ok){d.warn("FUSION",`Panel ${c} failed`,{status:b.status});continue}try{let a=await b.clone().json(),e=function(a){if(!a||"object"!=typeof a)return"";let b=a.choices?.[0];if(b){let a=b.message??b.delta??{},c=(0,h.kU)(a.content);if(c.trim())return c;if("string"==typeof b.text&&b.text.trim())return b.text}let c=(0,h.kU)(a.content);if(c.trim())return c;let d=a.candidates?.[0]?.content?.parts;if(Array.isArray(d)){let a=d.map(a=>a?.text||"").join("");if(a.trim())return a}if(Array.isArray(a.output)){let b=a.output.flatMap(a=>Array.isArray(a.content)?a.content.map(a=>a?.text||""):[]).join("");if(b.trim())return b}return""}(a);e?(z.push({model:c,text:e}),d.info("FUSION",`Panel ${c} ok (${e.length} chars)`)):d.warn("FUSION",`Panel ${c} returned empty content`)}catch(a){d.warn("FUSION",`Panel ${c} unparseable`,{error:a.message||String(a)})}}if(0===z.length)return d.warn("FUSION","All panel models failed"),new Response(JSON.stringify({error:{message:"All fusion panel models failed"}}),{status:503,headers:{"Content-Type":"application/json"}});if(1===z.length)return d.info("FUSION",`Only ${z[0].model} succeeded — answering directly (no fusion)`),c(a,z[0].model);let A=(j=z.map((a,b)=>`[Source ${b+1}]
1
+ "use strict";exports.id=7362,exports.ids=[7362],exports.modules={47370:(a,b,c)=>{c.d(b,{BY:()=>d.BY,E5:()=>d.E5,QB:()=>d.QB,SL:()=>d.SL,Zx:()=>d.Zx,_V:()=>d._V,j$:()=>d.j$,ox:()=>d.ox,rg:()=>d.rg,sZ:()=>d.sZ,uw:()=>d.uw,wV:()=>d.wV});var d=c(53267)},57362:(a,b,c)=>{c.d(b,{t8:()=>A,Vu:()=>D,Ao:()=>B,Pr:()=>E,vt:()=>G,UP:()=>C});var d=c(49263),e=c(89865),f=c(11847),g=c(60290),h=c(48644),i=c(47370);function j(a,b){if(!a||"object"!=typeof a||!b)return!1;let c=a.name||a.function?.name;return"string"==typeof c&&c===b}async function k(a,b){let c;if(!a?.body||!a.headers.get("content-type")?.toLowerCase().includes("text/event-stream"))return a;let{firstActionTimeoutMs:d,maxBytes:e}=(0,g.Ur)(),f=a.body.getReader(),h=new TextDecoder,i=[],k=0,l="",m=function(a){let b=a?.tool_choice;if(!b||"object"!=typeof b||Array.isArray(b)||!["custom","function","tool"].includes(b.type))return"";let c=b.name||b.function?.name;return"string"==typeof c?c.trim():""}(b),n=new Promise(a=>{c=setTimeout(()=>a({timedOut:!0}),d)});try{for(;;){let b=await Promise.race([f.read(),n]);if(b.timedOut)return await f.cancel("combo first-action timeout").catch(()=>{}),null;if(b.done)return await f.cancel("combo response ended before first action").catch(()=>{}),null;i.push(b.value),k+=b.value.byteLength,l+=h.decode(b.value,{stream:!0});let c=function(a,b=""){let c=/\r\n\r\n|\n\n|\r\r/g,d=0,e=!1;for(let f=c.exec(a);f;f=c.exec(a))e||=function(a,b=""){if(b)return function(a,b){let{event:c="",payload:d}=a||{};return!!d&&!!b&&("response.output_item.added"===c||"response.output_item.done"===c?j(d.item,b):"content_block_start"===c?j(d.content_block,b):"response.completed"===c?d.response?.output?.some(a=>j(a,b))===!0:d.choices?.some(a=>j(a?.delta?.function_call,b)||a?.delta?.tool_calls?.some(a=>j(a,b)))===!0)}(a,b);let{event:c="",payload:d}=a||{};return!!(("response.output_text.delta"===c||"response.refusal.delta"===c)&&d?.delta||"response.output_item.added"===c&&["function_call","custom_tool_call"].includes(d?.item?.type)||"content_block_start"===c&&d?.content_block?.type==="tool_use"||"content_block_delta"===c&&(d?.delta?.type==="text_delta"&&d.delta.text||d?.delta?.type==="input_json_delta"&&d.delta.partial_json||d?.delta?.type==="thinking_delta"&&d.delta.thinking||d?.delta?.thinking)||d?.candidates?.[0]?.content?.parts?.some(a=>a?.text||a?.functionCall||a?.inlineData)||d?.message?.content||d?.response||d?.message?.tool_calls?.length||d?.usage?.completion_tokens>0||d?.usage?.output_tokens>0||d?.response?.usage?.output_tokens>0)||d?.choices?.some(a=>"string"==typeof a?.delta?.content&&a.delta.content.length>0||"string"==typeof a?.delta?.reasoning_content&&a.delta.reasoning_content.length>0||"string"==typeof a?.delta?.reasoning&&a.delta.reasoning.length>0||Array.isArray(a?.delta?.tool_calls)&&a.delta.tool_calls.length>0||!!a?.delta?.function_call)===!0}(function(a){let b="",c=[];for(let d of a.split(/\r\n|\n|\r/))d.startsWith("event:")&&(b=d.slice(6).trim()),d.startsWith("data:")&&c.push(d.slice(5).trimStart());if(0===c.length||"[DONE]"===c.join("\n"))return null;try{let a=JSON.parse(c.join("\n"));return{event:b||a?.type||"",payload:a}}catch{return null}}(a.slice(d,f.index)),b),d=f.index+f[0].length;return{actionable:e,remainder:a.slice(d)}}(l,m);if(l=c.remainder,c.actionable||k>e)return function(a,b,c){let d=!1;return new Response(new ReadableStream({start(a){for(let b of c)a.enqueue(b)},async pull(a){if(!d)try{let{done:c,value:e}=await b.read();c?(d=!0,a.close()):a.enqueue(e)}catch(b){d=!0,a.error(b)}},async cancel(a){d=!0,await b.cancel(a)}}),{status:a.status,statusText:a.statusText,headers:a.headers})}(a,f,i)}}catch{return await f.cancel("combo pre-action read failed").catch(()=>{}),null}finally{clearTimeout(c)}}let l=Object.values(g.Qn.headers);function m(a){return String(a||"").trim().replace(/[^A-Za-z0-9._:/-]+/g,"-").slice(0,g.Qn.maxTokenLength)}function n(a){return String(a||"").split(",").map(m).filter(Boolean)}function o(a){return[...new Set(a.filter(Boolean))].slice(0,g.Qn.maxAttempts)}c(67677);let p=new Set(["vision","pdf","audioInput","videoInput"]),q="[Called tools: ",r="[Tool result: ";function s(a){let b;if(!a.startsWith("data:"))return!1;let c=a.slice(5).trim();if(!c||"[DONE]"===c)return!1;try{b=JSON.parse(c)}catch{return!1}if(u(b.usage)||u(b.response?.usage))return!0;let d=b.choices?.[0]?.delta;if(t(d?.content)||t(d?.reasoning_content)||t(d?.reasoning)||d?.tool_calls?.length||d?.function_call)return!0;if("content_block_delta"===b.type){let a=b.delta;if(t(a?.text)||t(a?.partial_json)||t(a?.thinking))return!0}if("content_block_start"===b.type&&b.content_block?.type==="tool_use"||"string"==typeof b.type&&b.type.endsWith(".delta")&&t(b.delta))return!0;let e=b.candidates?.[0]?.content?.parts;return!!(Array.isArray(e)&&e.some(a=>t(a?.text)||a?.functionCall||a?.inlineData)||t(b.message?.content)||t(b.response)||b.message?.tool_calls?.length)}function t(a){return"string"==typeof a&&a.length>0}function u(a){if(!a||"object"!=typeof a)return!1;let b=Number(a.completion_tokens??a.output_tokens??a.candidatesTokenCount??0);return Number.isFinite(b)&&b>0}async function v(a,b=g.Z1){if(!(a.headers.get("content-type")||"").toLowerCase().includes("text/event-stream")||!a.body)return{hasContent:!0,body:null};let c=a.body.getReader(),d=new TextDecoder("utf-8",{fatal:!1}),e=[],f=0,h="",i=!1,j=!1,k=Date.now()+b,l=null,m=new Promise(a=>{l=setTimeout(()=>a({timedOut:!0}),b)});try{for(;!i;){let a;if(Date.now()>=k)break;let b=await Promise.race([c.read(),m]);if(b?.timedOut)break;let{done:g,value:l}=b;if(g){j=!0,(h+=d.decode()).trim()&&s(h.trim())&&(i=!0);break}for(e.push(l),f+=l.byteLength,h+=d.decode(l,{stream:!0});-1!==(a=h.indexOf("\n"));){let b=h.slice(0,a).trim();if(h=h.slice(a+1),s(b)){i=!0;break}}if(i)break;if(f>=262144){i=!0;break}}}catch{i=!1}finally{l&&clearTimeout(l)}return i?{hasContent:!0,body:new ReadableStream({start(a){for(let b of e)a.enqueue(b);e.length=0,j&&a.close()},async pull(a){if(!j)try{let{done:b,value:d}=await c.read();if(b){j=!0,a.close();return}a.enqueue(d)}catch(b){a.error(b)}},cancel(a){c.cancel(a).catch(()=>{})}})}:(await c.cancel().catch(()=>{}),{hasContent:!1,body:null})}function w(a){let b=a[a.length-1];return b?.role!=="assistant"&&b?.role!=="model"?a:[...a,{role:"user",content:"Continue from where the previous assistant message left off."}]}function x(a){return a.filter(a=>a).map(a=>{if("tool"===a.role||"function"===a.role)return{role:"user",content:`${r}${(0,h.kU)(a.content)||String(a.content??"")}]`};if("assistant"===a.role&&Array.isArray(a.tool_calls)){let{tool_calls:b,...c}=a,d=b.map(a=>a?.function?.name||a?.name||"tool").join(", "),e=(0,h.kU)(c.content)||("string"==typeof c.content?c.content:"");return{...c,content:`${e}${e?"\n":""}${q}${d}]`}}if(Array.isArray(a.content)){let b=a.content.some(a=>"tool_use"===a.type),c=a.content.some(a=>"tool_result"===a.type);if(b||c){let b=[],c=[],d=[];for(let e of a.content)"text"===e.type&&e.text&&b.push(e.text),"tool_use"===e.type&&c.push(e.name||"tool"),"tool_result"===e.type&&d.push((0,h.kU)(e.content)||String(e.content??""));let{...e}=a,f=b.join("\n");return c.length>0&&(f=`${f}${f?"\n":""}${q}${c.join(", ")}]`),d.length>0&&(f=`${f}${f?"\n":""}${r}${d.join("\n")}]`),{...e,content:f}}}return a})}let y=new Map;function z(a){if(!Array.isArray(a)||0===a.length)return[];let b=a=>"assistant"===a||"model"===a,c=a.length-1;for(;c>=0&&!b(a[c]?.role);)c--;return a.slice(c+1)}function A(a){let b=new Set;if(!a||"object"!=typeof a)return b;let c=a=>{"string"==typeof a&&(a.startsWith("image/")?b.add("vision"):a.startsWith("audio/")?b.add("audioInput"):"application/pdf"===a&&b.add("pdf"))},d=a=>{if(!a||"object"!=typeof a)return;let c=a.type;("image_url"===c||"image"===c||"input_image"===c)&&b.add("vision"),("file"===c||"document"===c||"input_file"===c)&&b.add("pdf");let d=a.inlineData?.mimeType||a.fileData?.mimeType;"string"==typeof d&&d.startsWith("image/")&&b.add("vision"),"application/pdf"===d&&b.add("pdf")},e=a=>{if(Array.isArray(a))for(let b of a)d(b)},f=a=>{if(!a||"object"!=typeof a)return;Array.isArray(a.images)&&a.images.length>0&&b.add("vision");let d=a.experimental_attachments||a.attachments;if(Array.isArray(d))for(let a of d){if(!a)continue;let d=a.contentType||a.mediaType||"string"==typeof a.url&&a.url.match(/^data:([^;,]+)/)?.[1];d?c(d):(a.url||a.data)&&b.add("vision")}(a.image_url||a.image)&&b.add("vision"),(a.audio_url||a.audio)&&b.add("audioInput"),e(a.content),"string"==typeof a.content&&(a.content.includes("data:image/")?b.add("vision"):a.content.includes("data:audio/")?b.add("audioInput"):a.content.includes("data:application/pdf")&&b.add("pdf"))};for(let b of z(a.messages))f(b);for(let b of z(a.input))e(b.content);for(let b of z(a.contents||a.request?.contents))e(b.parts);return b}function B(a,b,c,d=1,e=null){let f;if("weighted"===c&&Array.isArray(e)&&e.length>1)return e.map(a=>({m:a,key:Math.pow(Math.random(),1/(a.weight||1))})).sort((a,b)=>b.key-a.key).map(a=>a.m).map(a=>a.id);if("weighted"===c&&a&&a.length>1)return[...a].sort(()=>Math.random()-.5);if(!a||a.length<=1||"round-robin"!==c)return a;let g=b||"__default__",h=Number.isFinite(f=Number.parseInt(d,10))&&f>0?f:1,i=y.get(g),j="number"==typeof i?{index:i,consecutiveUseCount:0}:i||{index:0,consecutiveUseCount:0},k=j.index%a.length,l=function(a,b){let c=[...a];for(let a=0;a<b;a++){let a=c.shift();c.push(a)}return c}(a,k),m=j.consecutiveUseCount+1;return m>=h?y.set(g,{index:(k+1)%a.length,consecutiveUseCount:0}):y.set(g,{index:k,consecutiveUseCount:m}),l}function C(a){a?y.delete(a):y.clear()}function D(a,b){if(a.includes("/"))return null;let c=(Array.isArray(b)?b:b?.combos||[]).find(b=>b.name===a);return c&&c.models&&c.models.length>0?c.models:null}async function E({body:a,models:b,members:c,policy:h,handleSingleModel:j,log:q,comboName:r,comboStrategy:s,comboStickyLimit:t=1,autoSwitch:u=!0}){let w=Array.isArray(c)&&c.length>0?c.map(a=>"string"==typeof a?{id:a,weight:1}:a&&"string"==typeof a.id?{id:a.id,weight:Number.isFinite(a.weight)&&a.weight>0?a.weight:1,retryOn:a.retryOn,skipOn:a.skipOn,timeoutMs:a.timeoutMs}:null).filter(Boolean):Array.isArray(b)?b.map(a=>({id:a,weight:1})):[],x=B(w.length?w.map(a=>a.id):b,r,s,h?.sticky??t,w.length?w:null),y=null;if(w.length){let a=new Map(w.map(a=>[a.id,a]));y=x.map(b=>a.get(b)).filter(Boolean)}if(u){let b=A(a);if(b.size>0){let a=function(a,b){if(!b||0===b.size||!Array.isArray(a)||a.length<=1)return a;let c=[...b].filter(a=>p.has(a)),d=[...b].filter(a=>!p.has(a));return a.map((a,b)=>{let e,g,h,i;return{m:a,i:b,t:(g=(e="string"==typeof a?a.indexOf("/"):-1)>0?a.slice(0,e):"",h=e>0?a.slice(e+1):a,i=(0,f.getCapabilitiesForModel)(g,h),c.every(a=>!0===i[a])?+!d.every(a=>!0===i[a]):2)}}).sort((a,b)=>a.t-b.t||a.i-b.i).map(a=>a.m)}(x,b);a[0]!==x[0]&&q.info("COMBO",`auto-switch for [${[...b].join(",")}] → ${a[0]}`),x=a}}let z=null,C=null,D=null;for(let b=0;b<x.length;b++){let c=x[b];q.info("COMBO",`Trying model ${b+1}/${x.length}: ${c}`);try{let e=await j(a,c);if(e.ok){let{hasContent:d,body:f}=await v(e);if(!d){z="provider returned an empty stream",D||(D=503),q.warn("COMBO",`Model ${c} returned an empty stream, trying next`);continue}let h=f?new Response(f,{status:e.status,statusText:e.statusText,headers:e.headers}):e,i="fallback"===s||void 0===s&&Array.isArray(a?.tools)&&a.tools.length>0?await k(h,a):h;if(i)return q.info("COMBO",`Model ${c} succeeded`),function({comboName:a,selectedModel:b,attemptedModels:c=[]},d){let e,f;if(!(d instanceof Response))return d;let h=g.Qn.headers,i=m(a),j=(f=(e=m(b)).indexOf("/"))>0?{leaf:e,provider:e.slice(0,f),model:e.slice(f+1)}:{leaf:e,provider:"",model:e},k=n(d.headers.get(h.routePath)),p=m(d.headers.get(h.resolvedProvider))||j.provider||"unknown",q=m(d.headers.get(h.resolvedModel))||j.model,r=o(c.map(m)),s=n(d.headers.get(h.attemptedModels)),t=Number.parseInt(d.headers.get(h.fallbackCount)||"0",10);var u={[h.requestedModel]:i,[h.routePath]:o([i,...k.length?k:[j.leaf]]).join(","),[h.resolvedProvider]:p,[h.resolvedModel]:q,[h.fallbackCount]:Math.max(0,Number.isFinite(t)?t:0)+Math.max(0,r.length-1),[h.attemptedModels]:o([...r,...s]).join(",")};if(!(d instanceof Response))return d;let v=new Headers(d.headers);for(let[a,b]of Object.entries(u))v.set(a,String(b));return v.set("Access-Control-Expose-Headers",o([...n(v.get("Access-Control-Expose-Headers")),...l]).join(", ")),new Response(d.body,{status:d.status,statusText:d.statusText,headers:v})}({comboName:r||a?.model,selectedModel:c,attemptedModels:x.slice(0,b+1)},i);z="Response ended before its first actionable event",D||(D=502),q.warn("COMBO",`Model ${c} produced no action, trying next`);continue}let f=e.statusText||"",p=null;try{let a=await e.clone().json();f=a?.error?.message||a?.error||a?.message||f,p=a?.retryAfter||null}catch{}if(p&&(!C||new Date(p)<new Date(C))&&(C=p),"string"!=typeof f)try{f=JSON.stringify(f)}catch{f=String(f)}let t=y?y[b]:null,{shouldFallback:u,cooldownMs:w}=function(a,b,c,e){let f=(b||"").toLowerCase();if(e?.skipOn){let b=e.skipOn;if(Array.isArray(b.statuses)&&b.statuses.includes(a)||Array.isArray(b.texts)&&b.texts.some(a=>f.includes(String(a).toLowerCase())))return{shouldFallback:!1,cooldownMs:0}}if(e?.retryOn){let c=e.retryOn;if(Array.isArray(c.statuses)&&c.statuses.includes(a)||Array.isArray(c.texts)&&c.texts.some(a=>f.includes(String(a).toLowerCase())))return(0,d.hk)(a,b);if(c.statuses&&c.statuses.length||c.texts&&c.texts.length)return{shouldFallback:!1,cooldownMs:0}}if(c?.triggers){let e=c.triggers;if(e.fatal&&(Array.isArray(e.fatal.statuses)&&e.fatal.statuses.includes(a)||Array.isArray(e.fatal.texts)&&e.fatal.texts.some(a=>f.includes(String(a).toLowerCase()))))return{shouldFallback:!1,cooldownMs:0};if(e.retryable){if(Array.isArray(e.retryable.statuses)&&e.retryable.statuses.includes(a)||Array.isArray(e.retryable.texts)&&e.retryable.texts.some(a=>f.includes(String(a).toLowerCase())))return(0,d.hk)(a,b);if(e.retryable.statuses&&e.retryable.statuses.length||e.retryable.texts&&e.retryable.texts.length)return{shouldFallback:!1,cooldownMs:0}}}return(0,d.hk)(a,b)}(e.status,f,h,t),A=w;if(h?.perHopCooldownMs&&Number.isFinite(h.perHopCooldownMs)&&(A=Math.min(A,h.perHopCooldownMs)),h?.maxHops&&b+1>=h.maxHops)return q.warn("COMBO",`Model ${c} failed - maxHops ${h.maxHops} reached`,{status:e.status}),e;if(!u)return q.warn("COMBO",`Model ${c} failed (no fallback)`,{status:e.status}),e;A&&A>0&&A<=5e3&&(503===e.status||502===e.status||504===e.status)&&(q.info("COMBO",`Model ${c} transient ${e.status}, waiting ${A}ms before next`),await new Promise(a=>setTimeout(a,A))),z=f||String(e.status),D=e.status,q.warn("COMBO",`Model ${c} failed, trying next`,{status:e.status});let B=c.includes("/")?c.slice(0,c.indexOf("/")):"unknown",E=c.includes("/")?c.slice(c.indexOf("/")+1):c;(0,i.QB)({endpoint:"/v1/chat/completions",provider:B,model:E,connectionId:`combo-${r||c}`,comboName:r||null,statusCode:e.status,errorMessage:f||e.statusText,request:null,providerRequest:null,providerResponse:null,meta:{fallback:!0,retryAfter:p,retryAfterHuman:p?(0,d.Qo)(p):null,latency:{}}}).catch(()=>{})}catch(a){z=a.message||String(a),D=500,q.warn("COMBO",`Model ${c} threw error, trying next`,{error:z})}}let F=z&&z.toLowerCase().includes("no credentials")?503:(0,e.fP)(D||503,z),G=z||"All combo models unavailable";if(C){let a=(0,d.Qo)(C);return q.warn("COMBO",`All models failed | ${F} | ${G} (${a})`),(0,e.wO)(F,G,C,a)}return q.warn("COMBO",`All models failed | ${G}`),new Response(JSON.stringify({error:{message:G}}),{status:F,headers:{"Content-Type":"application/json"}})}let F={minPanel:2,stragglerGraceMs:8e3,panelHardTimeoutMs:9e4};async function G({body:a,models:b,handleSingleModel:c,log:d,comboName:e,judgeModel:f,tuning:g}){var i;let j,k,l=Array.isArray(b)?b.filter(Boolean):[];if(0===l.length)return new Response(JSON.stringify({error:{message:"Fusion combo has no models"}}),{status:400,headers:{"Content-Type":"application/json"}});if(1===l.length)return c(a,l[0]);let m={...F,...g||{}},n=Math.min(Math.max(2,m.minPanel),l.length),o=f&&f.trim()?f.trim():l[0];d.info("FUSION",`Combo "${e}" | panel=${l.length} [${l.join(", ")}] | judge=${o} | quorum=${n}`);let{tools:p,tool_choice:q,stream_options:r,...s}=a,t={...s,stream:!1};Array.isArray(t.messages)?t.messages=w(x(t.messages)):Array.isArray(t.input)&&(t.input=w(x(t.input)));let u=Date.now(),v=l.map(a=>{var b,d;return b=c(t,a,!0),d=m.panelHardTimeoutMs,new Promise(a=>{let c=setTimeout(()=>a({__timeout:!0}),d);Promise.resolve(b).then(b=>{clearTimeout(c),a(b)}).catch(b=>{clearTimeout(c),a({__error:b})})})}),y=await function(a,{minPanel:b,stragglerGraceMs:c,panelHardTimeoutMs:d}){return new Promise(e=>{let f=Array(a.length),g=0,h=0,i=!1,j=null,k=()=>{i||(i=!0,clearTimeout(l),j&&clearTimeout(j),e(f))},l=setTimeout(k,d);a.forEach((d,e)=>{Promise.resolve(d).then(a=>{f[e]=a}).catch(a=>{f[e]={__error:a}}).finally(()=>{if(g++,f[e]&&f[e].ok&&h++,g===a.length)return k();h>=b&&!j&&(j=setTimeout(k,c))})})})}(v,{...m,minPanel:n});d.info("FUSION",`fan-out collected in ${Date.now()-u}ms`);let z=[];for(let a=0;a<y.length;a++){let b=y[a],c=l[a];if(!b){d.warn("FUSION",`Panel ${c} dropped (straggler/timeout)`);continue}if(b.__timeout){d.warn("FUSION",`Panel ${c} timed out`);continue}if(b.__error){d.warn("FUSION",`Panel ${c} threw`,{error:b.__error?.message||String(b.__error)});continue}if(!b.ok){d.warn("FUSION",`Panel ${c} failed`,{status:b.status});continue}try{let a=await b.clone().json(),e=function(a){if(!a||"object"!=typeof a)return"";let b=a.choices?.[0];if(b){let a=b.message??b.delta??{},c=(0,h.kU)(a.content);if(c.trim())return c;if("string"==typeof b.text&&b.text.trim())return b.text}let c=(0,h.kU)(a.content);if(c.trim())return c;let d=a.candidates?.[0]?.content?.parts;if(Array.isArray(d)){let a=d.map(a=>a?.text||"").join("");if(a.trim())return a}if(Array.isArray(a.output)){let b=a.output.flatMap(a=>Array.isArray(a.content)?a.content.map(a=>a?.text||""):[]).join("");if(b.trim())return b}return""}(a);e?(z.push({model:c,text:e}),d.info("FUSION",`Panel ${c} ok (${e.length} chars)`)):d.warn("FUSION",`Panel ${c} returned empty content`)}catch(a){d.warn("FUSION",`Panel ${c} unparseable`,{error:a.message||String(a)})}}if(0===z.length)return d.warn("FUSION","All panel models failed"),new Response(JSON.stringify({error:{message:"All fusion panel models failed"}}),{status:503,headers:{"Content-Type":"application/json"}});if(1===z.length)return d.info("FUSION",`Only ${z[0].model} succeeded — answering directly (no fusion)`),c(a,z[0].model);let A=(j=z.map((a,b)=>`[Source ${b+1}]
2
2
  ${a.text}`).join("\n\n"),i=[`You are the JUDGE in a model-fusion panel. ${z.length} expert models independently answered the user's most recent request. Their responses are below, anonymized by source.`,"\nDo NOT mention that multiple models were used, and do NOT refer to the sources. Produce ONE authoritative final answer addressed directly to the user.\n\nFirst, internally analyze the panel along these dimensions: consensus (points most sources agree on — treat as higher-confidence), contradictions (where they disagree — resolve with your own judgment), partial coverage, unique insights only one source surfaced, and blind spots every source missed. Then write the best possible final answer grounded in that analysis — more complete and correct than any single response, with no filler.\n\n=== PANEL RESPONSES ===",j,"=== END PANEL RESPONSES ===\n\nNow write the final answer to the user's original request."].join("\n"),k={...a},Array.isArray(a.messages)?k.messages=[...a.messages,{role:"user",content:i}]:Array.isArray(a.input)?k.input=[...a.input,{role:"user",content:i}]:Array.isArray(a.contents)?k.contents=[...a.contents,{role:"user",parts:[{text:i}]}]:k.messages=[{role:"user",content:i}],k);return d.info("FUSION",`Judging ${z.length} answers with ${o}`),c(A,o)}}};